/* =========================================================
   解忧美食榜 (Leaderboard) 样式
   ========================================================= */
.lb-container {
    max-width: 1400px; /* ✅ 从 1000px 大幅放宽至 1400px，利用桌面端的大屏空间 */
    margin: 60px auto 0 auto; /* ✅ 顶部留出足够的空间避开 toolbar */
    padding: 0 24px;
    color: var(--text-primary);
}

.lb-section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
    font-weight: 800;
}

/* 列表容器 */
.lb-list-wrap {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-sm);
    min-height: 200px;
}

.lb-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px dashed var(--border-glass);
    transition: background 0.2s;
    position: relative;
}
.lb-item:last-child { border-bottom: none; }
.lb-item:hover { background: rgba(255, 138, 92, 0.05); }

/* 排名徽章 */
.lb-rank {
    font-size: 1.2rem;
    font-weight: 800;
    width: 40px;
    color: var(--text-light);
    text-align: center;
    flex-shrink: 0;
}
.lb-rank-1 .lb-rank { color: #FFD700; font-size: 1.5rem; }
.lb-rank-2 .lb-rank { color: #C0C0C0; font-size: 1.3rem; }
.lb-rank-3 .lb-rank { color: #CD7F32; font-size: 1.3rem; }

/* 图片与信息 */
.lb-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 15px;
    background: #eee;
    flex-shrink: 0;
}
.lb-info {
    flex: 1;
    min-width: 0;
}
.lb-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lb-addr {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 星星数 */
.lb-stars {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-mango);
    white-space: nowrap;
    margin-left: 10px;
}

/* 快速投星按钮 */
.lb-quick-vote {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-mango));
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 138, 92, 0.3);
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.lb-quick-vote:hover { transform: scale(1.1); }

/* 左右双榜 */
.lb-split-section {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
.lb-half {
    flex: 1;
    min-width: 0;
}
.lb-current-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 15px 0;
    color: var(--accent-coral);
}

/* 下拉菜单 */
.lb-dropdown-wrap {
    position: relative;
    text-align: center;
}
.lb-dropdown-trigger {
    display: inline-block;
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    user-select: none;
}
.lb-dropdown-trigger:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}
.lb-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 100;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}
.lb-dropdown-menu.is-active {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
.lb-dropdown-item {
    padding: 10px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-glass);
}
.lb-dropdown-item:hover {
    background: rgba(255, 138, 92, 0.1);
    color: var(--accent-orange);
}

/* 底部按钮区 */
.lb-action-section {
    margin-top: 50px;
    text-align: center;
}
.lb-main-btn {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-mango));
    color: #2D2A24;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 15px 40px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 138, 92, 0.4);
    transition: transform 0.2s;
}
.lb-main-btn:hover { transform: scale(1.05); }

/* 投星面板 */
.lb-cast-area {
margin-top: 20px;
background: var(--card-bg);
padding: 25px;
border-radius: 16px;
border: 1px solid var(--border-glass);
max-width: 600px;
margin-left: auto;
margin-right: auto;
box-shadow: var(--shadow-sm);
text-align: left;
animation: lbCastIn 0.3s ease-out;
}
/* ✅ 投星面板专用：只做垂直淡入，不带任何横向位移 */
@keyframes lbCastIn {
from { opacity: 0; transform: translateY(-10px); }
to   { opacity: 1; transform: translateY(0); }
}
.lb-cast-title {
    text-align: center;
    color: var(--accent-orange);
    margin-top: 0;
    margin-bottom: 20px;
}
.lb-form-group {
    margin-bottom: 15px;
}
.lb-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

/* 其他通用弹窗样式保持不变 (略) */
.lb-info-section {
    margin-top: 30px;
    text-align: center;
    margin-bottom: 50px;
}
.lb-outline-btn {
    background: transparent;
    border: 1px solid var(--accent-mango);
    color: var(--accent-mango);
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
}
.lb-outline-btn:hover { background: var(--accent-mango); color: #2D2A24; }

.lb-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 9999; }
.lb-modal-overlay.is-active { display: flex; }
.lb-modal-box { background: var(--card-bg); width: 90%; max-width: 500px; border-radius: 16px; padding: 30px; border: 1px solid var(--border-glass); box-shadow: 0 20px 50px rgba(0,0,0,0.3); position: relative; animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lb-modal-close { position: absolute; top: 15px; right: 20px; font-size: 1.8rem; background: none; border: none; cursor: pointer; color: var(--text-light); }
.lb-modal-content { margin: 20px 0; line-height: 1.7; color: var(--text-secondary); }
.lb-modal-content ul { padding-left: 20px; margin-bottom: 15px; }
.lb-modal-confirm { width: 100%; padding: 12px; background: var(--accent-orange); color: #2D2A24; font-weight: 700; border: none; border-radius: 10px; cursor: pointer; }

.lb-loading, .lb-empty { text-align: center; padding: 40px 20px; color: var(--text-light); font-size: 0.95rem; }

@media (max-width: 768px) {
    .lb-split-section { flex-direction: column; }
    .lb-section-title { font-size: 1.4rem; }
    .lb-item { padding: 10px 5px; }
    .lb-thumb { width: 50px; height: 50px; margin: 0 10px; }
    .lb-name { font-size: 1rem; }
    .lb-quick-vote { width: 28px; height: 28px; font-size: 0.9rem; margin-left: 5px; }
}

/* =========================================================
   页眉标题 (新增)
   ========================================================= */
.lb-header {
    text-align: center;
    margin-bottom: 40px;
}
.lb-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.lb-subhead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================================
   底部导航 (复用寻味博文的设计)
   ========================================================= */
.xunwei-bottom-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 32px;
    margin: 50px 0 30px;
    padding: 18px 28px;
    background: var(--card-bg, #ffffff);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 60px;
    border: 1px solid var(--border-glass, rgba(0,0,0,0.06));
    box-shadow: var(--shadow-sm);
}
.xunwei-bottom-nav a {
    color: var(--text-primary, #2D2A24);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    padding: 6px 10px;
    border-radius: 40px;
}
.xunwei-bottom-nav a i {
    color: #FF8A5C;
}
.xunwei-bottom-nav a:hover {
    color: #FF8A5C;
    background: rgba(255, 138, 92, 0.08);
}
.xunwei-bottom-nav a.active {
    color: #FF8A5C;
    background: rgba(255, 138, 92, 0.12);
}
[data-theme="dark"] .xunwei-bottom-nav {
    background: var(--card-bg, #2a241f);
    border-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .xunwei-bottom-nav a {
    color: #e0d8d0;
}
[data-theme="dark"] .xunwei-bottom-nav a:hover {
    color: #FF8A5C;
    background: rgba(255,138,92,0.15);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .lb-main-title { font-size: 2rem; }
    .lb-subhead { font-size: 0.95rem; }
    .xunwei-bottom-nav {
        gap: 10px 16px;
        padding: 14px 16px;
        border-radius: 40px;
    }
    .xunwei-bottom-nav a {
        font-size: 0.9rem;
    }
}

/* =========================================================
✅ 第2期：赛季标签 / 归档横幅 / 归档网格 / 图片占位
========================================================= */
.lb-season-tag {
display: inline-block;
margin-top: 10px;
padding: 5px 16px;
font-size: 0.85rem;
font-weight: 600;
color: var(--text-secondary, #666);
background: var(--card-bg, #fff);
border: 1px solid var(--border-glass, rgba(0,0,0,0.08));
border-radius: 30px;
}
.lb-archive-banner {
max-width: 900px;
margin: 0 auto 30px auto;
padding: 14px 22px;
text-align: center;
font-size: 0.95rem;
background: linear-gradient(135deg, rgba(255,138,92,0.12), rgba(249,199,79,0.12));
border: 1px solid var(--accent-orange, #FF8A5C);
border-radius: 14px;
color: var(--text-primary, #2D2A24);
}
.lb-archive-banner a {
margin-left: 10px;
font-weight: 700;
color: var(--accent-orange, #FF8A5C);
text-decoration: none;
}
.lb-archive-banner a:hover { text-decoration: underline; }
.lb-archive-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
gap: 20px;
margin-top: 16px;
}
.lb-archive-board { min-width: 0; }
.lb-archive-title {
font-weight: 700;
font-size: 1rem;
margin-bottom: 8px;
padding-left: 10px;
border-left: 4px solid var(--accent-orange, #FF8A5C);
color: var(--text-primary, #2D2A24);
}
.lb-archive .lb-list-wrap { min-height: 120px; padding: 10px; }
.lb-archive .lb-item { padding: 8px 6px; }
.lb-archive .lb-thumb { width: 44px; height: 44px; margin: 0 10px; }
.lb-archive .lb-name { font-size: 0.95rem; }
.lb-archive .lb-stars { font-size: 1rem; }
.lb-thumb-empty {
display: flex;
align-items: center;
justify-content: center;
font-size: 1.4rem;
background: rgba(255,138,92,0.10);
}
@media (max-width: 768px) {
.lb-archive-grid { grid-template-columns: 1fr; }
.lb-archive-banner { font-size: 0.88rem; padding: 12px 16px; }
}

/* ===== 赛季 / 归档 ===== */
.lb-season-tag{display:inline-block;margin-top:10px;padding:5px 16px;font-size:.85rem;font-weight:600;color:var(--text-secondary,#666);background:var(--card-bg,#fff);border:1px solid var(--border-glass,rgba(0,0,0,.08));border-radius:30px}
.lb-archive-banner{max-width:900px;margin:0 auto 30px;padding:14px 22px;text-align:center;font-size:.95rem;background:linear-gradient(135deg,rgba(255,138,92,.12),rgba(249,199,79,.12));border:1px solid var(--accent-orange,#FF8A5C);border-radius:14px;color:var(--text-primary,#2D2A24)}
.lb-archive-banner a{margin-left:10px;font-weight:700;color:var(--accent-orange,#FF8A5C);text-decoration:none}
.lb-archive-banner a:hover{text-decoration:underline}
.lb-archive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:20px;margin-top:16px}
.lb-archive-board{min-width:0}
.lb-archive-title{font-weight:700;font-size:1rem;margin-bottom:8px;padding-left:10px;border-left:4px solid var(--accent-orange,#FF8A5C);color:var(--text-primary,#2D2A24)}
.lb-archive .lb-list-wrap{min-height:120px;padding:10px}
.lb-archive .lb-item{padding:8px 6px}
.lb-archive .lb-thumb{width:44px;height:44px;margin:0 10px}
.lb-archive .lb-name{font-size:.95rem}
.lb-archive .lb-stars{font-size:1rem}

/* ===== 榜单条目 ===== */
.lb-thumb-empty{display:flex;align-items:center;justify-content:center;font-size:1.4rem;background:rgba(255,138,92,.10)}
.lb-name-link{display:block;width:100%;text-align:left;background:none;border:none;padding:0;font-family:inherit;font-size:1.1rem;font-weight:700;color:var(--text-primary,#2D2A24);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb-name-link:hover{color:var(--accent-orange,#FF8A5C);text-decoration:underline}

/* ===== 投星表单 ===== */
.lb-quota-bar{background:rgba(255,138,92,.08);border-radius:10px;padding:10px 14px;margin-bottom:16px;font-size:.9rem;text-align:center}
.lb-quota-bar strong{color:var(--accent-orange,#FF8A5C);font-size:1.05rem}
.lb-input,.lb-textarea{width:100%;padding:10px 12px;border:1px solid rgba(0,0,0,.15);border-radius:10px;font-family:inherit;font-size:.95rem;background:#F3E9DC!important;color:#2D2A24!important;box-sizing:border-box}
.lb-input:focus,.lb-textarea:focus{outline:none;border-color:var(--accent-orange,#FF8A5C);box-shadow:0 0 0 2px rgba(255,138,92,.25)}
.lb-textarea{resize:vertical;min-height:76px}
.lb-btn-primary{width:100%;padding:12px;border:none;border-radius:12px;background:linear-gradient(135deg,#FF8A5C,#F9C74F);color:#2D2A24;font-weight:700;font-size:1rem;font-family:inherit;cursor:pointer;transition:transform .2s,box-shadow .2s}
.lb-btn-primary:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(255,138,92,.4)}
.lb-btn-primary:disabled{opacity:.6;cursor:wait;transform:none}
.lb-new-toggle-wrap{text-align:center;margin-top:16px}
.lb-new-toggle{cursor:pointer;color:var(--accent-orange,#FF8A5C);font-size:.88rem;font-weight:600;text-decoration:underline}
.lb-new-area{margin-top:14px;padding:16px;border:1px dashed var(--accent-orange,#FF8A5C);border-radius:12px;background:rgba(255,138,92,.04)}
.lb-mini{font-size:.8rem;color:var(--text-light,#999);margin:0 0 10px}

/* ===== 餐厅资料卡（对齐抽签结果卡）===== */
.lb-card-box{max-width:520px;padding:22px}
.lb-rst-card{text-align:center;animation:lbCardIn .45s cubic-bezier(.175,.885,.32,1.275)}
@keyframes lbCardIn{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}
.lb-rst-imgwrap{width:100%;max-width:340px;margin:0 auto 16px;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.lb-rst-imgwrap img{width:100%;display:block;aspect-ratio:4/3;object-fit:cover}
.lb-rst-name{font-size:1.55rem;font-weight:700;line-height:1.3;margin-bottom:10px;color:var(--text-primary,#2D2A24)}
.lb-rst-desc{font-size:.98rem;color:var(--text-secondary,#666);line-height:1.6;margin-bottom:18px}
.lb-rst-row{display:flex;align-items:flex-start;gap:6px;padding:8px 12px;margin:6px 0;background:rgba(255,138,92,.06);border-left:3px solid var(--accent-orange,#FF8A5C);border-radius:8px;font-size:.9rem;line-height:1.5;text-align:left;color:var(--text-primary,#2D2A24)}
.lb-rst-row:last-of-type{margin-bottom:14px}
.lb-rst-ico{flex-shrink:0;font-size:1rem;line-height:1.5}
.lb-rst-label{flex-shrink:0;font-weight:700;color:var(--accent-orange,#FF8A5C)}
.lb-rst-val{flex:1;min-width:0;word-break:break-word}
.lb-rst-must{border-left-color:#d63638;background:rgba(214,54,56,.06)}
.lb-rst-must .lb-rst-label{color:#d63638}
.lb-rst-hours{border-left-color:#2271b1;background:rgba(34,113,177,.06)}
.lb-rst-hours .lb-rst-label{color:#2271b1}
.lb-rst-map{display:inline-flex;align-items:center;margin-top:14px;padding:10px 22px;background:linear-gradient(135deg,#FF8A5C,#F9C74F);color:#2D2A24!important;font-weight:700;border-radius:40px;text-decoration:none;font-size:.95rem;box-shadow:0 6px 16px rgba(255,138,92,.28);transition:all .3s ease}
.lb-rst-map:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(255,138,92,.4)}
[data-theme="dark"] .lb-rst-name{color:#F3E9DC}
[data-theme="dark"] .lb-rst-desc{color:#B8A893}
[data-theme="dark"] .lb-rst-row{color:#F3E9DC;background:rgba(255,138,92,.10)}
[data-theme="dark"] .lb-rst-hours{background:rgba(74,144,226,.12)}
[data-theme="dark"] .lb-rst-must{background:rgba(214,54,56,.12)}

/* ===== Toast 兜底 ===== */
.lb-toast{position:fixed;top:100px;left:50%;transform:translateX(-50%) translateY(-20px);background:var(--card-bg,#fff);color:var(--text-primary,#333);padding:12px 24px;border-radius:50px;box-shadow:0 10px 30px rgba(0,0,0,.15);border:1px solid var(--border-glass,rgba(0,0,0,.1));font-size:.95rem;font-weight:600;z-index:100001;opacity:0;pointer-events:none;transition:all .35s cubic-bezier(.175,.885,.32,1.275);text-align:center;max-width:90vw}
.lb-toast.on{opacity:1;transform:translateX(-50%) translateY(0)}

@media (max-width:768px){
.lb-archive-grid{grid-template-columns:1fr}
.lb-archive-banner{font-size:.88rem;padding:12px 16px}
.lb-card-box{padding:18px}
.lb-rst-name{font-size:1.25rem}
.lb-rst-map{padding:9px 18px;font-size:.9rem}
.lb-name-link{font-size:1rem}
}

/* =========================================================
📱 移动端适配加固
========================================================= */
.lb-container, .lb-container *, .lb-modal-box, .lb-modal-box * { box-sizing: border-box; }
.lb-container { width: 100%; max-width: 1400px; margin: 60px auto 0 auto; padding: 0 24px; overflow-x: hidden; }
.lb-half, .lb-info, .lb-archive-board, .lb-item { min-width: 0; }
.lb-thumb, .lb-stars, .lb-quick-vote, .lb-rank { flex-shrink: 0; }
.lb-name-link { max-width: 100%; }
.lb-dropdown-menu { max-width: calc(100vw - 32px); }
.lb-archive-grid { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.lb-rst-imgwrap img { max-width: 100%; height: auto; }

@media (max-width: 768px) {
.lb-container { margin-top: 80px; padding: 0 14px; }
.lb-main-title { font-size: 1.9rem; }
.lb-subhead { font-size: .92rem; }
.lb-section-title { font-size: 1.3rem; margin-bottom: 14px; }
.lb-season-tag { font-size: .78rem; padding: 4px 12px; }
.lb-split-section { flex-direction: column; gap: 26px; margin-top: 28px; }
.lb-archive-grid { grid-template-columns: 1fr; }
.lb-list-wrap { padding: 10px; min-height: 140px; }
.lb-item { padding: 10px 4px; }
.lb-rank { width: 30px; font-size: 1rem; }
.lb-rank-1 .lb-rank { font-size: 1.2rem; }
.lb-rank-2 .lb-rank, .lb-rank-3 .lb-rank { font-size: 1.05rem; }
.lb-thumb { width: 46px; height: 46px; margin: 0 8px; }
.lb-name, .lb-name-link { font-size: .95rem; }
.lb-addr { font-size: .74rem; }
.lb-stars { font-size: .95rem; margin-left: 6px; }
.lb-quick-vote { width: 28px; height: 28px; font-size: .85rem; margin-left: 6px; }
.lb-dropdown-trigger { font-size: .9rem; padding: 9px 16px; }
.lb-current-title { font-size: 1rem; margin: 12px 0; }
.lb-main-btn { font-size: 1rem; padding: 13px 20px; width: 100%; }
.lb-cast-area { padding: 16px; margin-top: 16px; }
.lb-cast-title { font-size: 1.05rem; margin-bottom: 14px; }
.lb-quota-bar { font-size: .84rem; padding: 9px 10px; }
.lb-input, .lb-textarea { font-size: .9rem; padding: 9px 10px; }
.lb-btn-primary { font-size: .95rem; padding: 11px; }
.lb-new-area { padding: 12px; }
.lb-outline-btn { font-size: .92rem; padding: 9px 18px; }
.lb-modal-box { width: 94%; padding: 20px 16px; max-height: 88vh; overflow-y: auto; }
.lb-card-box { padding: 16px; }
.lb-rst-name { font-size: 1.2rem; }
.lb-rst-desc { font-size: .9rem; }
.lb-rst-row { font-size: .84rem; padding: 7px 10px; }
.lb-rst-map { font-size: .88rem; padding: 9px 16px; }
.lb-archive-banner { font-size: .86rem; padding: 12px 14px; }
.lb-archive-banner a { display: inline-block; margin: 6px 0 0; }
.lb-toast { font-size: .86rem; padding: 10px 18px; top: 80px; }
.xunwei-bottom-nav { gap: 8px 14px; padding: 12px 14px; border-radius: 28px; }
.xunwei-bottom-nav a { font-size: .85rem; padding: 5px 8px; }
}

@media (max-width: 400px) {
.lb-main-title { font-size: 1.6rem; }
.lb-thumb { width: 40px; height: 40px; margin: 0 6px; }
.lb-rank { width: 26px; font-size: .9rem; }
.lb-name, .lb-name-link { font-size: .88rem; }
.lb-stars { font-size: .88rem; }
}

/* =========================================================
🎠 顶部轮播卡片 + TOP10 弹窗
========================================================= */
.lb-rotator { position: relative; margin: 0 auto 10px; max-width: 1000px; }
.lb-rot-slide {
display: none; background: var(--card-bg); border: 1px solid var(--border-glass);
border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm);
cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.lb-rot-slide:first-child { display: block; }
.lb-rot-slide:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.lb-rot-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; font-weight:700; font-size:1.05rem; color:var(--text-primary); }
.lb-rot-more { font-size:.78rem; font-weight:600; color:var(--accent-orange); }
.lb-rot-row { display:flex; align-items:center; gap:10px; padding:7px 4px; border-bottom:1px dashed var(--border-glass); }
.lb-rot-row:last-child { border-bottom:none; }
.lb-rot-rank { width:30px; text-align:center; font-weight:800; color:var(--text-light); flex-shrink:0; }
.lb-rot-row:nth-child(1) .lb-rot-rank { color:#FFD700; }
.lb-rot-row:nth-child(2) .lb-rot-rank { color:#C0C0C0; }
.lb-rot-row:nth-child(3) .lb-rot-rank { color:#CD7F32; }
.lb-rot-name { flex:1; min-width:0; font-weight:600; color:var(--text-primary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lb-rot-stars { font-weight:700; color:var(--accent-mango); white-space:nowrap; }
.lb-rot-ad { display:flex; gap:16px; align-items:center; }
.lb-rot-ad-img { width:120px; height:120px; object-fit:cover; border-radius:12px; flex-shrink:0; }
.lb-rot-ad-title { font-weight:700; font-size:1.1rem; color:var(--text-primary); margin-bottom:6px; }
.lb-rot-ad-text { font-size:.9rem; color:var(--text-secondary); line-height:1.5; }
.lb-rot-dots { display:flex; justify-content:center; gap:8px; margin-top:14px; }
.lb-rot-dot { width:9px; height:9px; border-radius:50%; background:var(--border-glass); cursor:pointer; transition:all .2s ease; }
.lb-rot-dot.is-active { background:var(--accent-orange); transform:scale(1.2); }
/* TOP10 弹窗 */
.lb-top-box { max-width:560px; padding:22px; }
.lb-top-title { text-align:center; color:var(--accent-orange); margin:0 0 14px; font-size:1.3rem; }
@media (max-width:768px) {
.lb-rot-ad { flex-direction:column; }
.lb-rot-ad-img { width:100%; height:160px; }
.lb-rot-head { font-size:.95rem; }
}

/* =========================================================
🎠 轮播标题升级 + 第一名冠军图
========================================================= */
.lb-rot-head {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 14px;
}
.lb-rot-title {
font-size: 1.3rem;
font-weight: 800;
letter-spacing: .5px;
line-height: 1.25;
color: var(--accent-orange, #FF8A5C);
display: inline-flex;
align-items: center;
gap: 8px;
}
.lb-rot-more {
font-size: .78rem;
font-weight: 600;
color: var(--accent-orange, #FF8A5C);
white-space: nowrap;
flex-shrink: 0;
}
/* 支持渐变文字时才上渐变，老浏览器保留纯色 */
@supports ((-webkit-background-clip:text) or (background-clip:text)) {
.lb-rot-title {
background: linear-gradient(120deg, var(--accent-orange,#FF8A5C), var(--accent-coral,#FF6B6B));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
filter: drop-shadow(0 2px 6px rgba(255,138,92,.22));
}
}
/* 总榜标题：更大 + 金色流光 */
.lb-rot-global .lb-rot-title {
font-size: 1.8rem;
}
@supports ((-webkit-background-clip:text) or (background-clip:text)) {
.lb-rot-global .lb-rot-title {
background: linear-gradient(120deg, #FFD700, #FF8A5C 45%, #FF6B6B);
background-size: 200% auto;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
animation: lbTitleShine 3.5s linear infinite;
filter: drop-shadow(0 3px 10px rgba(255,180,60,.35));
}
}
@keyframes lbTitleShine {
to { background-position: 200% center; }
}
/* 第一名冠军图 */
.lb-rot-champion {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 14px;
padding: 10px;
border-radius: 14px;
background: linear-gradient(135deg, rgba(255,215,0,.10), rgba(255,138,92,.06));
border: 1px solid rgba(255,215,0,.35);
}
.lb-rot-champ-img {
width: 84px;
height: 84px;
object-fit: cover;
border-radius: 12px;
border: 2px solid #FFD700;
box-shadow: 0 4px 14px rgba(255,180,60,.35);
flex-shrink: 0;
background: #eee;
}
.lb-rot-champ-info {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
}
.lb-rot-champ-badge {
font-size: .8rem;
font-weight: 800;
color: #2D2A24;
background: linear-gradient(135deg, #FFD700, #FFB300);
padding: 3px 12px;
border-radius: 20px;
width: fit-content;
box-shadow: 0 2px 8px rgba(255,180,60,.35);
}
.lb-rot-champ-name {
font-size: 1.05rem;
font-weight: 700;
color: var(--text-primary, #2D2A24);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* 深色模式 */
[data-theme="dark"] .lb-rot-champion {
background: linear-gradient(135deg, rgba(255,215,0,.12), rgba(255,138,92,.08));
}
[data-theme="dark"] .lb-rot-champ-name { color: #F3E9DC; }
/* 移动端 */
@media (max-width: 768px) {
.lb-rot-title { font-size: 1.1rem; }
.lb-rot-global .lb-rot-title { font-size: 1.45rem; }
.lb-rot-champ-img { width: 64px; height: 64px; }
.lb-rot-champ-name { font-size: .95rem; }
.lb-rot-champ-badge { font-size: .72rem; padding: 2px 10px; }
}