:root {
    --bg: #f2f4f7;
    --bg-light: #eef1f5;
    --card: #ffffff;
    --card-hover: #ffffff;
    --border: #e2e6ee;
    --border-light: #d0d6e2;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.22);
    --text: #1f2933;
    --text-sub: #5b6472;
    --text-dim: #8a92a3;
    --radius: 12px;
    --shadow: 0 2px 10px rgba(31, 41, 51, .06);
    --shadow-hover: 0 12px 30px rgba(31, 41, 51, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #f2f4f7; }
::-webkit-scrollbar-thumb { background: #c9cfda; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #aab2c1; }
::selection { background: rgba(245, 158, 11, .28); color: #1f2933; }

body {
    background: #fbf8f1;
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, "Segoe UI", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* ===== 顶部导航 ===== */
.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 6px rgba(31, 41, 51, .05);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; position: relative; }
.logo {
    font-size: 22px; font-weight: 800; letter-spacing: 1px; flex-shrink: 0;
    background: linear-gradient(120deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex; align-items: center; gap: 8px;
}
.logo::before {
    content: "🎮";
    font-size: 20px;
    -webkit-text-fill-color: initial;
}
.main-nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.main-nav a {
    padding: 7px 15px; border-radius: 8px; color: var(--text-sub);
    font-size: 15px; white-space: nowrap; transition: all .2s; position: relative;
}
.main-nav a:hover { color: var(--text); background: rgba(31, 41, 51, .05); }
.main-nav a.active { color: var(--accent); background: rgba(245, 158, 11, .1); font-weight: 600; }
.main-nav a.active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; border-radius: 1px; background: var(--accent);
}
.header-right { flex-shrink: 0; display: flex; align-items: center; }
.btn-login {
    display: inline-block; padding: 8px 20px; border-radius: 20px;
    background: linear-gradient(135deg, var(--accent), #fbbf24); color: #fff; font-weight: 700; font-size: 14px;
    box-shadow: 0 3px 10px rgba(37, 99, 235, .3);
    transition: all .2s;
}
.btn-login:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(245, 158, 11, .42); color: #fff; }

/* 导航搜索框 */
.search-box { display: inline-flex; align-items: center; background: var(--bg-light); border: 1px solid var(--border); border-radius: 18px; padding: 0 4px 0 14px; margin-right: 12px; transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: rgba(245, 158, 11, .55); box-shadow: 0 0 0 3px rgba(245, 158, 11, .12); background: #fff; }
.search-input { background: none; border: none; outline: none; color: var(--text); font-size: 13px; width: 120px; height: 32px; }
.search-input::placeholder { color: var(--text-dim); }
.search-btn { background: none; border: none; cursor: pointer; padding: 6px 8px; display: flex; align-items: center; }
.icon-search { width: 13px; height: 13px; border: 2px solid var(--text-sub); border-radius: 50%; position: relative; display: inline-block; transition: border-color .2s; }
.icon-search:after { content: ''; position: absolute; width: 2px; height: 6px; background: var(--text-sub); transform: rotate(-45deg); bottom: -6px; right: -4px; transition: background .2s; }
.search-btn:hover .icon-search { border-color: var(--accent); }
.search-btn:hover .icon-search:after { background: var(--accent); }

.btn-reg {
    display: inline-block; padding: 8px 18px; border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, .55); color: var(--accent);
    font-weight: 600; font-size: 14px; margin-right: 10px; transition: all .2s;
}
.btn-reg:hover { background: rgba(245, 158, 11, .08); border-color: var(--accent); }

/* ===== 主布局 ===== */
.main-layout {
    display: grid; grid-template-columns: 1fr 280px; gap: 24px;
    padding-top: 26px; padding-bottom: 56px; align-items: start;
}

/* ===== 主布局修复：grid 子项允许收缩 ===== */
.main-layout > * { min-width: 0; }
.config-val { overflow-wrap: break-word; min-width: 0; }

/* ===== 板块标题 ===== */
.section-head {
    width: 100vw; margin-left: calc(50% - 50vw); margin-bottom: 22px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: linear-gradient(160deg, #dc2626 0%, #ef4444 55%, #f87171 100%);
    border-radius: 0; padding: 12px 0;
    box-shadow: 0 4px 14px rgba(232, 89, 12, .25);
}
.section-head .section-title { padding-left: 0; font-size: 24px !important; font-weight: 800 !important; color: #fff !important; margin: 0 !important; }
.section-head .section-title::before { display: none; }
.section-title {
    font-size: 28px; font-weight: 800; color: #fff;
    position: relative; padding: 0; background: none; box-shadow: none;
    letter-spacing: 2px;
}
.section-title::before { display: none; }
.section-desc { color: var(--text-dim); font-size: 13px; }

/* ===== 筛选栏 ===== */
.filter-bar {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 16px 18px; margin-bottom: 22px;
    display: flex; flex-direction: column; gap: 12px;
    box-shadow: var(--shadow);
}
.filter-row { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.filter-label { color: var(--text-dim); font-size: 13px; padding-top: 6px; flex-shrink: 0; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tabs .tab {
    padding: 5px 15px; border-radius: 16px; font-size: 13px;
    color: var(--text-sub); background: transparent; border: 1px solid transparent;
    transition: all .2s; cursor: pointer;
}
.filter-tabs .tab:hover { color: var(--text); background: var(--bg-light); }
.filter-tabs .tab.active { color: #2563eb; background: rgba(37, 99, 235, .1); border-color: rgba(37, 99, 235, .4); font-weight: 600; }


/* 首页无侧栏：主区全宽 */
.home-layout { grid-template-columns: 1fr; }

/* ===== 右下角悬浮快捷导航 ===== */
.float-nav {
    position: fixed; right: 14px; bottom: 70px; z-index: 999;
    display: flex; flex-direction: column; gap: 4px;
    background: rgba(248, 249, 251, .97); border: 1px solid #e4e7ee;
    border-radius: 12px; padding: 5px; box-shadow: 0 6px 20px rgba(30, 40, 60, .10);
}
.fn-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 3px; border-radius: 8px; background: #fff; color: #444c5c;
    font-size: 10px; line-height: 1; text-decoration: none; transition: all .2s;
    min-width: 40px;
}
.fn-item:hover { color: var(--accent); background: #fff6ea; }
.fn-item svg { width: 17px; height: 17px; }
.fn-toggle {
    border: none; background: #fff; border-radius: 8px; padding: 5px 0 4px;
    cursor: pointer; color: #8a93a5; font-size: 11px; line-height: 1; transition: all .2s;
}
.fn-toggle:hover { color: var(--accent); }
.float-nav.collapsed .fn-item { display: none; }

/* ===== 首页轮播推荐 ===== */
.banner-wrap {
    position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 26px;
    box-shadow: 0 8px 24px rgba(30, 40, 60, .10); background: #f4f6f9;
}
.banner-track { display: flex; transition: transform .5s ease; }
.banner-slide {
    position: relative; min-width: 100%; display: block; height: 300px; overflow: hidden;
}
.banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-ph {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 80px; font-weight: 800; color: rgba(245, 158, 11, .55);
    background: linear-gradient(135deg, #f5e9d3, #eef1f5);
}
.banner-mask {
    position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15, 20, 30, .72));
    display: flex; align-items: flex-end; padding: 22px 26px;
}
.banner-info { display: flex; align-items: center; gap: 12px; }
.banner-title {
    color: #fff; font-size: 22px; font-weight: 800; margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .4); letter-spacing: .5px;
}
.banner-price {
    background: #ffb93c; color: #5b3a00; font-size: 13px; font-weight: 800;
    padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.banner-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255, 255, 255, .85); color: #333; font-size: 20px; line-height: 1;
    display: flex; align-items: center; justify-content: center; transition: all .2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.banner-btn:hover { background: #fff; color: var(--accent); }
.banner-btn.prev { left: 14px; }
.banner-btn.next { right: 14px; }
.banner-dots {
    position: absolute; left: 0; right: 0; bottom: 12px;
    display: flex; justify-content: center; gap: 7px;
}
.bdot {
    width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .55);
    cursor: pointer; transition: all .25s;
}
.bdot.on { width: 22px; background: #fff; }

/* ===== 热门榜单 ===== */
.hot-section {
    margin-top: 40px; background: #fff; border: 1px solid #eef0f4; border-radius: 16px;
    padding: 22px 22px 20px; box-shadow: 0 2px 12px rgba(30, 40, 60, .05);
}
.hot-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.hot-title {
    display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800;
    color: var(--text); margin: 0; letter-spacing: .5px;
}
.hot-title svg { color: var(--accent); }
.hot-more {
    font-size: 12px; color: #98a0b0; text-decoration: none; padding: 4px 10px;
    border-radius: 999px; background: #f6f7f9; transition: all .2s;
}
.hot-more:hover { color: var(--accent); background: #fff4e4; }
.hot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; }
.hot-item {
    display: flex; align-items: center; gap: 12px; padding: 9px 12px;
    background: #fff; border: 1px solid #f0f2f6; border-radius: 12px;
    text-decoration: none; transition: all .22s; box-shadow: 0 1px 3px rgba(30, 40, 60, .03);
}
.hot-item:hover {
    border-color: #ffd9a0; box-shadow: 0 6px 16px rgba(245, 158, 11, .13);
    transform: translateY(-2px);
}
.hot-rank {
    width: 25px; height: 25px; line-height: 25px; text-align: center; border-radius: 8px;
    background: #f2f4f7; font-size: 13px; font-weight: 800; color: #98a0b0; flex-shrink: 0;
}
.hot-rank.top {
    background: linear-gradient(135deg, #ffc24d, #ff9d2e); color: #fff;
    box-shadow: 0 2px 6px rgba(255, 157, 46, .35);
}
.hot-img { width: 70px; height: 46px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #f4f6f9; }
.hot-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.hot-item:hover .hot-img img { transform: scale(1.08); }
.hot-img .cover-placeholder { font-size: 14px; }
.hot-info { min-width: 0; flex: 1; }
.hot-name {
    font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px;
}
.hot-item:hover .hot-name { color: var(--accent); }
.hot-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text-dim); }
.hot-cat { background: rgba(90, 140, 255, .1); color: #4a78e8; padding: 1px 7px; border-radius: 4px; }
.hot-view { color: #8a93a5; }
@media (max-width: 1024px) {
    .hot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .hot-grid { grid-template-columns: 1fr; }
}
/* ===== 游戏卡片 ===== */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.game-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: all .28s; display: flex; flex-direction: column; position: relative;
    box-shadow: var(--shadow);
}
.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, .45);
    box-shadow: var(--shadow-hover), 0 0 0 1px rgba(245, 158, 11, .1);
}
.game-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-light); position: relative; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.game-card:hover .game-cover img { transform: scale(1.07); }
.game-cover::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20, 26, 36, .35));
    opacity: 0; transition: opacity .3s; pointer-events: none;
}
.game-card:hover .game-cover::after { opacity: 1; }
.cover-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 44px; font-weight: 800; color: rgba(245, 158, 11, .6);
    background: linear-gradient(135deg, #f5e9d3, #eef1f5);
}
.cover-placeholder.big { font-size: 72px; }
/* 卡片价格标签 */
.card-price {
    background: linear-gradient(135deg, rgba(245, 158, 11, .95), rgba(240, 180, 41, .95));
    color: #fff; font-size: 11.5px; font-weight: 800; padding: 2px 9px;
    border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    white-space: nowrap;
}
.game-right { display: flex; align-items: center; gap: 10px; }
.game-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.game-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
    padding: 1px 9px; border-radius: 4px; font-size: 11px; font-weight: 600;
    line-height: 18px; white-space: nowrap;
}
.tag-sub { background: rgba(245, 158, 11, .12); color: var(--accent); }
.tag-cat { background: rgba(90, 140, 255, .1); color: #4a78e8; }
.tag-custom { background: rgba(80, 200, 120, .12); color: #2f9e63; }
.game-title {
    font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 20px; transition: color .2s;
}
.game-card:hover .game-title { color: var(--accent); }
.game-config {
    color: var(--text-dim); font-size: 12px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.game-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 9px; border-top: 1px solid var(--border);
}
.game-time { color: var(--text-dim); font-size: 12px; }
.game-stats { display: flex; gap: 12px; color: var(--text-sub); font-size: 12px; }
.ico { display: inline-block; margin-right: 3px; font-style: normal; }

/* ===== 空状态 ===== */
.empty-state {
    background: var(--card); border: 1px dashed var(--border-light); border-radius: var(--radius);
    padding: 80px 20px; text-align: center; box-shadow: var(--shadow);
}
.empty-icon { font-size: 54px; margin-bottom: 14px; opacity: .55; }
.empty-title { font-size: 18px; font-weight: 700; color: var(--text-sub); }
.empty-sub { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* ===== 分页 ===== */
.pager { margin-top: 32px; display: flex; justify-content: center; }
.pager ul.pagination { display: flex; gap: 6px; list-style: none; }
.pager ul.pagination li a, .pager ul.pagination li span {
    display: inline-block; padding: 7px 14px; border-radius: 8px;
    background: var(--card); border: 1px solid var(--border);
    color: var(--text-sub); font-size: 13px; transition: all .2s;
}
.pager ul.pagination li.active span, .pager ul.pagination li:hover a {
    background: var(--accent); color: #fff; border-color: var(--accent);
}
.pager ul.pagination li.disabled span { opacity: .4; }

/* ===== 侧边栏 ===== */
.sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.side-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.side-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
    display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px;
    color: var(--text-sub); transition: all .2s;
}
.side-nav a:hover { color: var(--accent); background: rgba(245, 158, 11, .07); padding-left: 16px; }

/* ===== 页脚（浅色，参考风格） ===== */
.site-footer {
    border-top: 1px solid #e8e8e8;
    background: #f7f8fa;
    padding: 30px 0 34px; margin-top: 20px;
}
.site-footer p { text-align: center; color: #666; font-size: 13px; line-height: 2.1; }
.site-footer a { color: #666; }
.site-footer a:hover { color: #1677ff; }

/* ===== layout 页脚（浅色，参考风格） ===== */
.footer { border-top: 1px solid #e8e8e8; background: #f7f8fa; padding: 30px 0 34px; margin-top: 20px; }
.footer .copyright { text-align: center; color: #666; font-size: 13px; line-height: 2.1; }
.footer .copyright a { color: #666; }
.footer .copyright a:hover { color: #1677ff; }

/* ===== 右下角蓝色返回顶部 ===== */
.backtop {
    position: fixed; right: 22px; bottom: 96px; z-index: 998;
    width: 44px; height: 44px; border-radius: 10px;
    background: linear-gradient(135deg, #1677ff, #4096ff);
    box-shadow: 0 6px 16px rgba(22, 119, 255, .35);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.backtop:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(22, 119, 255, .45); }
.backtop svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.backtop .tip {
    position: absolute; right: 54px; top: 50%; transform: translateY(-50%) scale(.9);
    background: rgba(0,0,0,.72); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 6px;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
}
.backtop:hover .tip { opacity: 1; transform: translateY(-50%) scale(1); }

/* ===== 面包屑 ===== */
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-sub); margin-bottom: 16px; }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-nav .sep { color: var(--text-dim); }
.breadcrumb-nav .current { color: var(--text); }

/* ===== 详情页 ===== */
.detail-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); }
.detail-top { display: grid; grid-template-columns: 340px 1fr; gap: 26px; }
.detail-cover { border-radius: 10px; overflow: hidden; background: var(--bg-light); border: 1px solid var(--border); }
.detail-cover img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.detail-info { display: flex; flex-direction: column; gap: 14px; }
.detail-title { font-size: 24px; font-weight: 800; line-height: 1.4; margin: 0 0 22px; padding-bottom: 16px; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-stats { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--text-sub); padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.detail-stats .stat b { color: var(--accent); font-weight: 700; }
.detail-actions { margin-top: 6px; }
.btn-download {
    display: inline-block; padding: 12px 36px; border-radius: 24px;
    background: linear-gradient(135deg, var(--accent), #fbbf24); color: #fff;
    font-size: 16px; font-weight: 800; transition: all .2s;
    box-shadow: 0 4px 14px rgba(245, 158, 11, .32);
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(245, 158, 11, .45); color: #fff; }
.detail-block { margin-top: 26px; }
.block-title { font-size: 17px; font-weight: 700; margin-bottom: 12px; padding-left: 12px; position: relative; }
.block-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: var(--accent); }
.block-content { color: var(--text-sub); font-size: 14px; background: transparent; border-radius: 8px; padding: 16px; }
.block-content.article-content { background: transparent; border: none; padding: 0; }
.config-content { font-size: 13px; line-height: 1.0; }
.config-row { display: flex; align-items: baseline; }
.config-row + .config-row { margin-top: 4px; }
.config-lb { flex: 0 0 84px; color: var(--text-dim); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .main-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 640px) {
    .game-grid { grid-template-columns: 1fr; }
    .detail-top { grid-template-columns: 1fr; }
    .header-inner { gap: 12px; }
    .main-nav a { font-size: 14px; padding: 5px 10px; }
    .search-input { width: 80px; }
    .detail-title { font-size: 18px; line-height: 1.5; margin: 0 0 14px; padding-bottom: 12px; }
}

.btn-download.disabled {
    background: #e4e7ee; color: #9aa2b1; cursor: not-allowed;
    box-shadow: none; pointer-events: none;
}

/* 游戏截图图集 */
.screenshot-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.screenshot-grid .shot { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); display: block; background: var(--bg-light); transition: all .2s; }
.screenshot-grid .shot:hover { border-color: rgba(245, 158, 11, .5); transform: translateY(-2px); }
.screenshot-grid .shot img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .screenshot-grid { grid-template-columns: 1fr; } }

/* 声明区块 */
.statement-block { margin-top: 26px; }
.statement-content { color: var(--text-dim); font-size: 13px; line-height: 1.9; background: transparent; border: none; border-radius: 0; padding: 0; }
.statement-content p { margin: 0 0 6px; }
.statement-content p:last-child { margin-bottom: 0; }
.statement-content strong { color: var(--text); font-weight: 700; }

/* 点赞收藏按钮 */
.stat-btn { cursor: pointer; transition: color .2s; }
.stat-btn:hover { color: var(--accent); text-decoration: none; }
.stat-btn.active { color: var(--accent); }
.stat-btn.active b { color: var(--accent); }

.btn-download.btn-buy { background: linear-gradient(135deg, #f0563e, #ff8a4d); box-shadow: 0 4px 14px rgba(240, 86, 62, .3); }

/* 右侧购买卡片 */
.buy-side-card { padding: 0 !important; overflow: hidden; }
.buy-side-top { background: linear-gradient(135deg, #fdf3e0, #fff8ec); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f0e2c8; }
.buy-side-gold { color: var(--accent); font-size: 13px; font-weight: 700; }
.buy-side-gold b { font-size: 22px; }
.buy-side-dl { color: var(--text-dim); font-size: 13px; }
.buy-side-dl .icon-dl { display: inline-block; width: 10px; height: 12px; border: 2px solid var(--accent); border-top: none; border-radius: 0 0 3px 3px; margin-right: 5px; vertical-align: -1px; position: relative; }
.buy-side-dl .icon-dl:before { content: ''; position: absolute; left: 2px; top: -6px; width: 2px; height: 6px; background: var(--accent); }
.buy-side-tabs { display: flex; gap: 8px; padding: 14px 14px 8px; }
.buy-side-tab { flex: 1; text-align: center; padding: 10px 0; border-radius: 8px; background: var(--bg-light); border: 1px solid var(--border); }
.buy-side-tab.on { border-color: rgba(245, 158, 11, .55); background: rgba(245, 158, 11, .08); }
.buy-side-tab.vip { border-color: rgba(92, 184, 92, .45); background: rgba(92, 184, 92, .07); }
.buy-side-tab .t-label { display: block; color: var(--text-dim); font-size: 11px; margin-bottom: 3px; }
.buy-side-tab b { color: var(--text); font-size: 14px; }
.buy-side-tab.vip b { color: #2f9e63; }
.buy-side-btn { display: block; margin: 12px 14px 8px; text-align: center; padding: 12px 0; border-radius: 8px; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f0563e, #ff8a4d); transition: filter .2s; box-shadow: 0 3px 10px rgba(240, 86, 62, .25); }
.buy-side-btn:hover { filter: brightness(1.05); color: #fff; text-decoration: none; }
.buy-side-btn.disabled { background: #e4e7ee; color: #9aa2b1; cursor: default; box-shadow: none; }
.buy-side-btn.disabled:hover { filter: none; }
.buy-side-meta { display: flex; justify-content: space-between; padding: 2px 16px 14px; color: var(--text-dim); font-size: 12px; }

.buy-side-btn.buy-side-login { background: linear-gradient(135deg, #3a7afe, #5a9cff); box-shadow: 0 3px 10px rgba(58, 122, 254, .25); }

/* 导航图标 */
.nav-ico { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; flex-shrink: 0; display: inline-block; }

/* 首页侧栏：与左侧筛选栏卡片顶部对齐 */
.home-side { margin-top: 60px; }
@media (max-width: 1024px) {
    .home-side { margin-top: 0; }
}

/* 详情页侧栏：与左侧详情卡片顶部对齐 */
.detail-side { margin-top: 36px !important; }
@media (max-width: 1024px) {
    .detail-side { margin-top: 0; }
}

/* logo 图片版 */
a.logo-pic { background: none; -webkit-text-fill-color: initial; gap: 0; }
a.logo-pic::before { content: none; }
a.logo-pic img { height: 42px; width: auto; display: block; }

/* ===== 新版购买卡片（扁平白底） ===== */
.buy-side-card { padding: 0 !important; overflow: hidden; }
.buy-tag {
    background: #2b2f36; border-radius: 8px; margin: 14px 14px 0;
    padding: 11px 14px; display: flex; align-items: center; justify-content: center; gap: 9px; position: relative;
}
.ic-coin { width: 22px; height: 22px; flex-shrink: 0; }
.buy-tag-price { color: #fff; font-size: 15px; font-weight: 700; }
.buy-tag-price b { font-size: 18px; color: #ffd36e; }
.buy-tag-dl {
    position: absolute; top: -1px; right: -1px;
    background: #f5cf63; color: #2b2f36; font-size: 10px; font-weight: 700;
    padding: 1px 9px; border-radius: 0 8px 0 8px; letter-spacing: 1px;
}
.buy-vip-bar {
    margin: 10px 14px 0; background: #fdf6e3; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 0; color: #8a6d1d; font-size: 14px; font-weight: 600;
}
.ic-dia { width: 16px; height: 16px; }
.buy-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 12px 14px 0; padding: 12px 0; border-radius: 10px;
    font-size: 15px; font-weight: 700; color: #fff; text-decoration: none; transition: filter .2s, transform .2s;
}
.buy-btn:hover { color: #fff; text-decoration: none; }
.buy-btn-blue { background: linear-gradient(135deg, #3a7afe, #5a9cff); box-shadow: 0 4px 14px rgba(58, 122, 254, .35); }
.buy-btn-red { background: linear-gradient(135deg, #f0563e, #ff8a4d); box-shadow: 0 4px 14px rgba(240, 86, 62, .3); }
.buy-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.ic-user { width: 17px; height: 17px; }
.buy-info { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 5px; color: #8a92a3; font-size: 12px; }
.buy-info a { color: #5a9cff; }
.buy-info a:hover { text-decoration: underline; }

/* 导航已登录用户信息 */
.user-chip {
    display: flex; align-items: center; gap: 8px; margin-right: 10px;
    padding: 5px 12px 5px 6px; border-radius: 20px;
    background: #f2f4f7; border: 1px solid var(--border); transition: all .2s;
}
.user-chip:hover { border-color: rgba(245,158,11,.5); }
.user-avatar {
    width: 28px; height: 28px; border-radius: 50%; overflow: hidden;
    background: #f2f4f7; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-avatar svg { width: 16px; height: 16px; }
.user-name { color: var(--text); font-size: 13px; font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-tag {
    display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px; border-radius: 9px;
    font-size: 11px; color: var(--text-sub); background: #e8ebf0; font-weight: 600;
}
.user-tag.vip { color: #fff; background: linear-gradient(135deg, #f0a31c, #f5cf63); }
.ic-dia-sm { width: 10px; height: 10px; }
.btn-logout {
    display: inline-block; padding: 7px 14px; border-radius: 20px;
    border: 1px solid var(--border); color: var(--text-sub); font-size: 13px; transition: all .2s;
}
.btn-logout:hover { border-color: rgba(245,158,11,.5); color: var(--accent); }


/* ================================================================
   全站 UI 精致化覆盖层 v2
   ================================================================ */
:root {
    --radius: 14px;
    --shadow: 0 2px 12px rgba(31, 41, 51, .05);
    --shadow-hover: 0 16px 36px rgba(31, 41, 51, .13);
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --border: #e8ebf1;
}
body { letter-spacing: .2px; }

/* ----- 顶部导航 ----- */
.site-header {
    box-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 4px 18px rgba(31, 41, 51, .06);
}
.header-inner { height: 66px; }
.main-nav a { border-radius: 999px; padding: 7px 16px; font-weight: 500; }
.main-nav a:hover { background: rgba(37, 99, 235, .08); color: #2563eb; }
.main-nav a.active {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff; box-shadow: 0 3px 10px rgba(245, 158, 11, .35);
}
.main-nav a.active::after { display: none; }
.search-box { border-radius: 999px; background: #f4f6f9; }

/* ----- 板块标题 ----- */
.section-title { font-size: 24px; }
.section-title::before {
    background: linear-gradient(180deg, #f59e0b, #fbbf24);
    border-radius: 3px;
}

/* ----- 筛选栏 ----- */
.filter-bar {
    border-radius: 14px; padding: 14px 18px; border-color: #eef0f5;
    box-shadow: 0 2px 10px rgba(31, 41, 51, .04);
}
.filter-tabs .tab { border-radius: 999px; font-weight: 500; }
.filter-tabs .tab:hover:not(.active) { background: rgba(37, 99, 235, .08); color: #2563eb; }
.filter-tabs .tab.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff;
    border-color: transparent; box-shadow: 0 3px 10px rgba(37, 99, 235, .3);
}


/* 首页筛选标签居中 */
.filter-bar.home .filter-row { justify-content: center; }
.filter-bar.home .filter-label { display: none; }
/* ----- 游戏卡片 ----- */
.game-card {
    border-radius: 16px; border-color: #eef0f5;
    box-shadow: 0 2px 8px rgba(31, 41, 51, .04);
    transition: all .32s cubic-bezier(.22, .61, .36, 1);
}
.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, .5);
    box-shadow: 0 16px 34px rgba(245, 158, 11, .16);
}
.game-cover { border-radius: 16px 16px 0 0; }
.card-price {
    background: linear-gradient(135deg, #ffc24d, #ff9d2e);
    color: #fff; border: none;
    box-shadow: 0 3px 10px rgba(255, 157, 46, .4);
    font-weight: 800;
}
.tag { border-radius: 6px; }
.tag-cat { background: rgba(90, 140, 255, .12); color: #3d6fe0; }
.tag-sub { background: rgba(245, 158, 11, .12); color: #d97706; }
.game-meta { font-size: 12px; }
.game-time { color: #98a0b0; }

/* ----- 分页 ----- */
.pager ul.pagination li a, .pager ul.pagination li span {
    border-radius: 10px; border: 1px solid #eef0f5; color: var(--text-sub);
    padding: 7px 15px; transition: all .2s;
}
.pager ul.pagination li.active span {
    background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff;
    border-color: transparent; box-shadow: 0 3px 10px rgba(37, 99, 235, .3);
}
.pager ul.pagination li:hover a { border-color: rgba(245, 158, 11, .5); color: var(--accent); }

/* ----- 详情页 ----- */
.detail-card { border-radius: 16px; border-color: #eef0f5; box-shadow: 0 2px 12px rgba(31, 41, 51, .05); }
.detail-cover { border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(31, 41, 51, .1); }
.detail-title { font-size: 24px; }
    @media (max-width: 640px) {
        .detail-card .detail-title { font-size: 18px; line-height: 1.5; margin: 0 0 14px; padding-bottom: 12px; }
    }
.detail-stats { background: #f8fafc; border-radius: 10px; padding: 10px 14px; }
.btn-download {
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 6px 18px rgba(245, 158, 11, .38);
    transition: all .25s;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(245, 158, 11, .5); }
.btn-download.btn-buy {
    background: linear-gradient(135deg, #f0563e, #ff8a4d);
    box-shadow: 0 6px 18px rgba(240, 86, 62, .35);
}
.statement-block {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 15px 18px;
    margin: 20px 0;
}
.screenshot-grid .shot { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(31, 41, 51, .06); }
.buy-btn { border-radius: 10px; }
.buy-btn-blue { box-shadow: 0 5px 16px rgba(58, 122, 254, .32); }
.buy-btn-red { box-shadow: 0 5px 16px rgba(240, 86, 62, .3); }

/* ----- 会员中心 ----- */
.uc-card { border-radius: 16px; border-color: #eef0f5; box-shadow: 0 2px 12px rgba(31, 41, 51, .05); }
.uc-gold-num { color: #d97706; }
.uc-sign-btn {
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff; border: none; box-shadow: 0 3px 10px rgba(245, 158, 11, .35);
}
.uc-sign-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(245, 158, 11, .45); }
.uc-stat .v { color: #d97706; font-weight: 800; }
.uc-badge { border-radius: 999px; }

/* ----- 页脚 ----- */


/* ----- 空状态 ----- */
.empty-state { background: #fff; border: 1px dashed #e3e7ee; border-radius: 16px; padding: 60px 20px; }
.empty-icon {
    width: 72px; height: 72px; border-radius: 24px; margin: 0 auto 16px;
    background: linear-gradient(135deg, #fff4e0, #ffe9c4); display: flex; align-items: center; justify-content: center;
    font-size: 36px; box-shadow: 0 6px 16px rgba(245, 158, 11, .15);
}

/* ----- 悬浮导航微调 ----- */
.float-nav { border-radius: 16px; box-shadow: 0 8px 26px rgba(31, 41, 51, .14); }
.fn-item:hover { color: var(--accent); background: #fff6ea; }


/* ===== 详情页右侧热门榜单 ===== */
.hot-card { margin-top: 18px; background: #fff; border: 1px solid #eef0f5; border-radius: 14px; padding: 16px; box-shadow: 0 2px 10px rgba(31, 41, 51, .04); }
.side-hot-title {
    display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800;
    color: var(--text); margin: 0 0 12px;
}
.side-hot-title::before { content: ""; width: 4px; height: 15px; border-radius: 3px; background: var(--accent); }
.side-hot-list { display: flex; flex-direction: column; }
.side-hot-item {
    display: flex; align-items: center; gap: 10px; padding: 8px 0;
    border-bottom: 1px dashed #f0f2f6; text-decoration: none; transition: all .2s;
}
.side-hot-item:last-child { border-bottom: none; }
.side-hot-rank {
    width: 20px; flex-shrink: 0; text-align: center;
    font-size: 13px; font-weight: 800; color: #c0c6d0; font-style: italic;
}
.side-hot-rank.top { color: #f0563e; font-size: 14px; }
.side-hot-name {
    flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.5;
}
.side-hot-item:hover .side-hot-name { color: var(--accent); }


/* ===== 导航放大镜搜索 ===== */
.search-wrap { display: inline-flex; margin-right: 12px; }
.search-icon-btn {
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: #f4f6f9; color: var(--text-sub); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.search-icon-btn:hover { background: #eef4ff; color: #2563eb; box-shadow: none; }
.search-icon-btn .icon-search { width: 16px; height: 16px; }
.search-pop {
    position: absolute; left: 0; right: 0; top: 50%;
    transform: translateY(-50%); z-index: 1000; width: auto;
    background: rgba(255, 255, 255, .68);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .9); border-radius: 24px;
    box-shadow: 0 18px 48px rgba(31, 41, 51, .22); padding: 8px 16px;
    display: none;
}
.search-pop.open {
    display: block;
    animation: navSearchDown .28s cubic-bezier(.22, .9, .3, 1);
}
@keyframes navSearchDown {
    from { opacity: 0; transform: translateY(calc(-50% - 10px)); }
    to { opacity: 1; transform: translateY(-50%); }
}
.search-pop-form { display: flex; align-items: center; gap: 8px; }
.search-pop-scope {
    display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: #64748b;
    padding: 8px 12px; background: rgba(255, 255, 255, .9); border-radius: 16px; white-space: nowrap;
}
.search-pop-scope i { font-style: normal; font-size: 10px; color: #b0b7c4; }
.search-pop-input {
    flex: 1; min-width: 0; border: none; background: transparent; border-radius: 0; padding: 8px 4px;
    font-size: 14px; outline: none; color: var(--text); transition: border-color .2s;
}
.search-pop-input:focus { box-shadow: none; }
.search-pop-btn {
    width: 38px; height: 38px; border: none; border-radius: 50%; cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff;
    display: flex; align-items: center; justify-content: center; transition: all .2s;
    flex-shrink: 0;
}
.search-pop-btn:hover { box-shadow: 0 3px 10px rgba(245, 158, 11, .4); }
.search-pop-btn .icon-search { border-color: #fff; }
.search-pop-btn .icon-search:after { background: #fff; }


/* ===== 导航图标按钮 ===== */
.icon-btn {
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: #f4f6f9; color: var(--text-sub); cursor: pointer;
    display: flex; align-items: center; justify-content: center; margin-right: 6px;
    transition: all .2s;
}
.icon-btn:hover { background: #eef4ff; color: #2563eb; box-shadow: none; }
.icon-btn svg { width: 16px; height: 16px; }

/* ===== 公告弹窗 ===== */
.notice-mask {
    position: fixed; inset: 0; z-index: 500; background: rgba(15, 20, 30, .45);
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.notice-modal {
    width: 420px; max-width: 94%; background: #fff; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25); overflow: hidden;
}
.notice-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; border-bottom: 1px solid #eef0f5;
    background: linear-gradient(135deg, #fffaf0, #fef6e6);
}
.notice-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--text); }
.notice-close {
    width: 28px; height: 28px; border: none; border-radius: 50%; background: rgba(0, 0, 0, .05);
    color: var(--text-sub); font-size: 18px; line-height: 1; cursor: pointer; transition: all .2s;
}
.notice-close:hover { background: rgba(240, 86, 62, .12); color: #f0563e; }
.notice-body { padding: 18px 20px 22px; color: var(--text-sub); font-size: 13.5px; line-height: 1.9; }
.notice-body p { margin: 0 0 10px; }
.notice-body p:last-child { margin-bottom: 0; }

/* ===== 夜间模式 ===== */
body.dark {
    --bg: #12161d;
    --bg-light: #1a212b;
    --card: #1c232e;
    --card-hover: #212a37;
    --border: #2a3442;
    --border-light: #3a4657;
    --text: #e6e9ef;
    --text-sub: #aab3c2;
    --text-dim: #7d8798;
    --shadow: 0 2px 12px rgba(0, 0, 0, .35);
    --shadow-hover: 0 16px 36px rgba(0, 0, 0, .45);
    background: #141920;
}
body.dark .site-header {
    background: rgba(28, 35, 46, .95); border-bottom-color: var(--border);
}
body.dark .search-pop, body.dark .notice-modal { background: var(--card); }
body.dark .notice-head { background: linear-gradient(135deg, #242b36, #1f2732); border-bottom-color: var(--border); }
body.dark .game-card, body.dark .filter-bar, body.dark .detail-card,
body.dark .hot-section, body.dark .hot-card, body.dark .side-card,
body.dark .uc-card, body.dark .empty-state, body.dark .buy-side-card,
body.dark .detail-stats, body.dark .fn-item, body.dark .fn-toggle { background: var(--card); }
body.dark .search-box, body.dark .search-icon-btn, body.dark .icon-btn,
body.dark .user-chip, body.dark .user-avatar, body.dark .hot-more,
body.dark .hot-rank, body.dark .hot-cat { background: var(--bg-light); }
body.dark .search-pop-scope, body.dark .filter-tabs .tab:hover:not(.active) { background: var(--bg-light); }
body.dark .cover-placeholder {
    background: linear-gradient(135deg, #2a3342, #222a35);
    color: rgba(245, 158, 11, .5);
}
body.dark .game-cover, body.dark .hot-img, body.dark .side-hot-img,
body.dark .banner-ph, body.dark .screenshot-grid .shot { background: var(--bg-light); }
body.dark .statement-block {
    background: linear-gradient(135deg, #262419, #242219);
    border-color: #3a3523;
}
body.dark .game-config, body.dark .game-time, body.dark .buy-info { color: var(--text-dim); }
body.dark .tag-cat { background: rgba(90, 140, 255, .15); }
body.dark .tag-sub { background: rgba(245, 158, 11, .15); }
body.dark .icon-search { border-color: var(--text-sub); }
body.dark .icon-search:after { background: var(--text-sub); }


/* ===== 图标按钮去边框（纯图标） ===== */
.search-icon-btn, .icon-btn {
    border: none; background: transparent;
}
.search-icon-btn:hover, .icon-btn:hover {
    border: none; background: rgba(245, 158, 11, .1); box-shadow: none;
}
body.dark .search-icon-btn, body.dark .icon-btn { background: transparent; }
body.dark .search-icon-btn:hover, body.dark .icon-btn:hover { background: rgba(245, 158, 11, .16); }


/* ===== 用户信息去边框 ===== */
.user-chip { background: transparent; border: none; padding: 5px 12px 5px 6px; }
.user-chip:hover { border-color: transparent; }
.user-avatar { background: transparent; }
body.dark .user-chip, body.dark .user-avatar { background: transparent; }
/* 未登录：蓝色登录按钮卡片 */
.user-chip-guest {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: none; border-radius: 999px;
    gap: 0;
    padding: 5px 16px 5px 3px;
    box-shadow: 0 4px 16px rgba(59, 130, 246, .45);
    margin-right: 0;
}
.user-chip-guest:hover { background: linear-gradient(135deg, #1d4ed8, #2563eb); border-color: transparent; }
.user-chip-guest .user-avatar { background: transparent; margin-right: -5px; }
.user-chip-guest .user-avatar svg { width: 14px; height: 14px; }
.user-chip-guest .user-name { color: #fff; font-weight: 400; }
body.dark .user-chip-guest { background: linear-gradient(135deg, #2563eb, #3b82f6); }
body.dark .user-chip-guest .user-name { color: #fff; }
body.dark .user-chip-guest .user-name { color: #fff; }



/* ===== 图标统一尺寸 ===== */
.search-icon-btn svg { width: 16px; height: 16px; }


/* ===== 图标间距收紧 ===== */
.search-wrap { margin-right: 4px; }
.icon-btn { margin-right: 4px; }


/* ===== 图标间距还原 ===== */
.search-wrap { margin-right: 4px; }
.icon-btn { margin-right: 4px; }


/* ===== 未登录头像入口 ===== */
.user-chip-guest .user-avatar img { width: 28px; height: 28px; }
.user-chip-guest .user-name { color: #fff; }
.user-chip-guest .user-name:hover { color: #fff; }


/* ===== 下载信息弹窗 ===== */
.down-mask {
    position: fixed; inset: 0; z-index: 600; background: rgba(15, 20, 30, .45);
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.down-modal {
    width: 420px; max-width: 94%; background: #fff; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25); overflow: hidden;
}
.down-head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; border-bottom: 1px solid #eef0f5;
    background: linear-gradient(135deg, #f4fdf7, #e9f9f0);
}
.down-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: #16a34a; }
.down-close {
    width: 28px; height: 28px; border: none; border-radius: 50%; background: rgba(0, 0, 0, .05);
    color: var(--text-sub); font-size: 18px; line-height: 1; cursor: pointer; transition: all .2s;
}
.down-close:hover { background: rgba(240, 86, 62, .12); color: #f0563e; }
.down-body { padding: 18px 20px 22px; }
.down-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13.5px; }
.down-label { flex-shrink: 0; color: var(--text-sub); font-size: 13px; }
.down-link { color: #2f7cf6; word-break: break-all; text-decoration: none; }
.down-link:hover { text-decoration: underline; }
.down-code { color: #f0563e; font-size: 15px; letter-spacing: 1px; }
.down-go {
    display: block; text-align: center; padding: 11px 0; border-radius: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff;
    font-size: 15px; font-weight: 700; text-decoration: none; margin: 6px 0 12px; transition: opacity .2s;
}
.down-go:hover { opacity: .92; color: #fff; }
.down-tip { text-align: center; font-size: 12px; color: #98a0b0; }
body.dark .down-modal { background: var(--card); }
body.dark .down-head { background: linear-gradient(135deg, #1c2a22, #18251d); border-bottom-color: var(--border); }
body.dark .down-head h3 { color: #4ade80; }


.down-go.disabled { background: linear-gradient(135deg, #c3c9d4, #aab2c0); cursor: not-allowed; }
.down-go.disabled:hover { opacity: 1; }


/* ===== 金币无边框统一 ===== */
.card-price {
    background: none; border: none; box-shadow: none; padding: 0;
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--text-sub); font-size: 12px; font-weight: 400; white-space: nowrap;
}
.card-price .ico-gold { width: 14px; height: 14px; color: var(--text-sub); flex-shrink: 0; }


/* ===== 购买角标改普通文字 ===== */
.buy-tag-dl {
    position: absolute; top: -1px; right: -1px;
    background: #f5cf63; color: #2b2f36; font-size: 10px; font-weight: 700;
    padding: 1px 9px; border-radius: 0 8px 0 8px; letter-spacing: 1px;
}


/* ===== 会员中心（参考图布局） ===== */
.uc-page { padding: 24px 0 40px; }
.uc-layout { display: flex; gap: 20px; align-items: flex-start; }
.uc-side { width: 280px; flex-shrink: 0; }
.uc-info-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 14px;
    padding: 22px 18px 16px; text-align: center; box-shadow: var(--shadow);
}
.uc-avatar {
    width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 10px; overflow: hidden;
    background: #eef1f5; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.uc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-uname { font-size: 16px; font-weight: 800; color: var(--text); }
.uc-level {
    display: inline-flex; align-items: center; gap: 4px; margin: 6px auto 4px;
    font-size: 12px; color: #8a94a6; background: #f0f2f6; padding: 2px 10px; border-radius: 10px;
}
.uc-level.vip { color: #8a6d1d; background: linear-gradient(135deg, #fdf3d0, #fbeab4); }
.uc-level svg { width: 12px; height: 12px; }
.uc-reg { font-size: 12px; color: var(--text-dim); margin-bottom: 14px; }
.uc-daily {
    background: #f0fdf4; border: 1px solid #d3f0dc; border-radius: 10px; padding: 12px;
}
.uc-daily-title { color: #1f9d55; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.uc-daily-tags { display: flex; gap: 8px; justify-content: center; }
.uc-daily-tags span {
    background: #dff3ff; color: #2f7cf6; font-size: 11.5px; padding: 3px 10px; border-radius: 12px;
}
.uc-menu { margin-top: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); }
.uc-menu-item {
    display: block; padding: 11px 16px; border-radius: 9px; color: var(--text-sub);
    font-size: 14px; text-decoration: none; transition: all .2s; border-left: 3px solid transparent;
}
.uc-menu-item:hover { background: rgba(245, 158, 11, .07); color: var(--accent); }
.uc-menu-item.active { background: rgba(245, 158, 11, .1); color: var(--accent); font-weight: 700; border-left-color: var(--accent); }
.uc-main { flex: 1; min-width: 0; }
.uc-panel { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.uc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.uc-head h2, .uc-panel-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--text); }
.uc-panel-head { margin: 28px 0 16px; padding-top: 22px; border-top: 1px dashed var(--border); }
.uc-form-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.uc-form-row label { width: 92px; flex-shrink: 0; font-size: 14px; color: var(--text-sub); text-align: right; }
.uc-form-row input, .uc-form-row textarea {
    flex: 1; max-width: 360px; border: 1px solid var(--border); border-radius: 9px;
    padding: 9px 13px; font-size: 14px; color: var(--text); outline: none; background: var(--bg-light);
    transition: border-color .2s; resize: none;
}
.uc-form-row input:focus, .uc-form-row textarea:focus { border-color: rgba(245, 158, 11, .55); box-shadow: 0 0 0 3px rgba(245, 158, 11, .1); }
.uc-form-row input:disabled { background: #f5f6f8; color: #9aa2b0; }
.uc-avatar-row { align-items: flex-start; }
.uc-avatar-big {
    width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    margin-left: 108px; background: #eef1f5; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.uc-avatar-big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-avatar-op { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.uc-upload-btn {
    display: inline-block; padding: 8px 20px; border-radius: 8px; border: 1px solid var(--border);
    background: var(--bg-light); color: var(--text); font-size: 13px; cursor: pointer; transition: all .2s;
}
.uc-upload-btn:hover { border-color: rgba(245, 158, 11, .5); color: var(--accent); }
.uc-upload-tip { font-size: 12px; color: var(--text-dim); }
.uc-save-row { margin-top: 22px; }
.uc-save-btn {
    margin-left: 108px; padding: 10px 44px; border: none; border-radius: 9px;
    background: #2b2f36; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.uc-save-btn:hover { background: #1f242b; }
.uc-bind { padding-bottom: 6px; }
.uc-link-btn {
    display: inline-block; padding: 7px 18px; border-radius: 8px; background: rgba(245, 158, 11, .1);
    color: var(--accent); font-size: 13px; text-decoration: none;
}
.uc-link-btn:hover { background: rgba(245, 158, 11, .18); }
/* 余额 */
.uc-balance-card { display: flex; gap: 14px; margin-bottom: 20px; }
.uc-balance-item {
    flex: 1; background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px;
    padding: 20px 16px; text-align: center;
}
.uc-balance-num { font-size: 24px; font-weight: 800; color: var(--text); }
.uc-balance-num span { font-size: 12px; color: var(--text-sub); font-weight: 400; margin-left: 3px; }
.uc-balance-label { font-size: 12.5px; color: var(--text-dim); margin-top: 6px; }
.uc-sign-area {
    background: linear-gradient(135deg, #fffaf0, #fef4e0); border: 1px solid #f5e2b8;
    border-radius: 12px; padding: 20px; text-align: center;
}
.uc-sign-btn {
    padding: 11px 40px; border: none; border-radius: 10px; cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff;
    font-size: 15px; font-weight: 700; box-shadow: 0 4px 14px rgba(245, 158, 11, .35); transition: all .2s;
}
.uc-sign-btn:hover { box-shadow: 0 6px 20px rgba(245, 158, 11, .45); transform: translateY(-1px); }
.uc-signed {
    display: inline-block; padding: 11px 30px; border-radius: 10px; background: #e8f9ee;
    color: #1f9d55; font-size: 15px; font-weight: 700;
}
.uc-signed i { font-style: normal; }
.uc-sign-tip { font-size: 12.5px; color: #9a7b35; margin-top: 12px; }
/* 会员 */
.uc-vip-info { display: flex; align-items: center; gap: 18px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.uc-vip-badge {
    width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #eef1f5; color: #b8c0cd;
}
.uc-vip-badge svg { width: 34px; height: 34px; }
.uc-vip-badge.on { background: linear-gradient(135deg, #f5cf63, #e8b53a); color: #fff; box-shadow: 0 6px 18px rgba(232, 181, 58, .4); }
.uc-vip-title { font-size: 20px; font-weight: 800; color: var(--text); }
.uc-vip-expire { font-size: 13px; color: var(--text-dim); margin-top: 4px; }
.uc-vip-desc { margin-top: 18px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.uc-vip-desc p { margin: 0 0 10px; font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }
.uc-vip-desc p:last-child { margin-bottom: 0; }
/* 空状态 */
.uc-empty { text-align: center; padding: 50px 0; color: #b0b8c6; }
.uc-empty svg { width: 52px; height: 52px; }
.uc-empty p { margin-top: 12px; font-size: 14px; }
/* 列表 */
.uc-list { display: flex; flex-direction: column; }
.uc-list-item {
    display: flex; align-items: center; justify-content: space-between; padding: 13px 4px;
    border-bottom: 1px dashed var(--border); text-decoration: none;
}
.uc-list-item:last-child { border-bottom: none; }
.uc-list-title { font-size: 14px; color: var(--text); }
.uc-list-item:hover .uc-list-title { color: var(--accent); }
.uc-list-time { font-size: 12.5px; color: var(--text-dim); }
/* 收藏 */
.uc-fav-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.uc-fav-item {
    display: flex; align-items: center; gap: 12px; padding: 10px;
    background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; transition: all .2s;
}
.uc-fav-item:hover { border-color: rgba(245, 158, 11, .4); }
.uc-fav-img { width: 72px; height: 48px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #eef1f5; display: flex; align-items: center; justify-content: center; }
.uc-fav-img img { width: 100%; height: 100%; object-fit: cover; }
.uc-fav-img i { font-style: normal; color: rgba(245, 158, 11, .55); font-weight: 800; }
.uc-fav-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.uc-fav-title { font-size: 13.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-fav-meta { font-size: 12px; color: var(--text-dim); }
/* 夜间 */
body.dark .uc-info-card, body.dark .uc-menu, body.dark .uc-panel { background: var(--card); }
body.dark .uc-avatar, body.dark .uc-avatar-big { background: var(--bg-light); }
body.dark .uc-daily { background: rgba(31, 157, 85, .12); border-color: rgba(31, 157, 85, .3); }
body.dark .uc-daily-title { color: #4ade80; }
body.dark .uc-daily-tags span { background: rgba(47, 124, 246, .18); color: #7ab2ff; }
body.dark .uc-sign-area { background: linear-gradient(135deg, #2a2416, #251f12); border-color: #46391c; }
body.dark .uc-signed { background: rgba(31, 157, 85, .18); color: #4ade80; }
body.dark .uc-sign-tip { color: #c9a64f; }
body.dark .uc-save-btn { background: #3a4150; }
body.dark .uc-save-btn:hover { background: #2b323f; }
body.dark .uc-vip-badge { background: var(--bg-light); color: #6b7484; }
body.dark .uc-empty { color: #6b7484; }
body.dark .uc-fav-img { background: var(--bg-light); }

body { overflow-x: hidden; }


/* ===== 网站动态 ===== */
.news-bar { background: #fff; border: 1px solid var(--border); border-radius: 10px; width: calc(100% - 40px); max-width: 1240px; margin: 18px auto 0; box-shadow: 0 4px 14px rgba(15,23,42,.04); }
.news-inner { display: flex; align-items: center; gap: 16px; height: 46px; overflow: hidden; }
.news-label {
    display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
    color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 12px;
    background: linear-gradient(135deg, #1e6fd9, #38bdf8);
}
.news-label svg { width: 11px; height: 11px; }
.news-slider { flex: 1; min-width: 0; position: relative; height: 46px; }
.news-item {
    position: absolute; top: 0; left: 0; right: 0; line-height: 46px;
    font-size: 13px; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    opacity: 0; transition: opacity .5s; pointer-events: none;
}
.news-item.on { opacity: 1; }
.news-item b { color: var(--text); font-weight: 700; }
.news-time { margin-left: 10px; color: var(--text-dim); font-size: 12px; }
/* ===== 四模块 ===== */
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 24px 0 4px; }
.mod-card {
    display: flex; align-items: center; gap: 14px; text-decoration: none;
    background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 16px;
    box-shadow: var(--shadow); transition: all .25s;
}
.mod-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31, 41, 51, .12); border-color: rgba(245, 158, 11, .35); }
.mod-ico {
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    color: #fff; transition: transform .6s ease;
}
.mod-card:hover .mod-ico { transform: rotate(360deg); }
.mod-ico svg { width: 26px; height: 26px; }
.mod-ico.c1 { background: linear-gradient(135deg, #667eea, #8b5cf6); }
.mod-ico.c2 { background: linear-gradient(135deg, #667eea, #8b5cf6); }
.mod-ico.c3 { background: linear-gradient(135deg, #667eea, #8b5cf6); }
.mod-ico.c4 { background: linear-gradient(135deg, #667eea, #8b5cf6); }
.mod-info { min-width: 0; }
.mod-info h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 800; color: var(--text); }
.mod-info p { margin: 0; font-size: 12px; color: var(--text-dim); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .mod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mod-grid { grid-template-columns: 1fr; } }
body.dark .news-bar { background: var(--card); }
body.dark .mod-card { background: var(--card); }


/* 首页板块标题：纯文字（参考站"最新推荐"样式） */
.section-head.plain {
    background: none; box-shadow: none; padding: 0 20px; margin: 28px auto 20px;
    width: auto; max-width: 1280px; box-sizing: border-box;
}
.section-head.plain .section-title {
    font-size: 24px; color: var(--text); letter-spacing: 0;
    position: relative; padding-left: 0;
}
.section-head.plain .section-title::before { display: none; }


/* 首页筛选栏：参考图标签样式（仅首页） */
.filter-bar.home {
    background: transparent; border: none; box-shadow: none;
    padding: 0 20px; margin-bottom: 22px;
}
.filter-bar.home .filter-label { display: none; }
.filter-bar.home .filter-tabs .tab {
    padding: 5px 14px; border-radius: 999px; font-size: 13px;
    color: #666; background: #fff; border: 1px solid #eef0f5;
    box-shadow: 0 1px 3px rgba(31, 41, 51, .04);
}
.filter-bar.home .filter-tabs .tab:hover { color: #1677ff; background: #f5f8ff; border-color: #bcd4ff; }
.filter-bar.home .filter-tabs .tab.active {
    background: #1677ff; color: #fff; border-color: #1677ff; font-weight: 600;
    box-shadow: 0 3px 10px rgba(22, 119, 255, .3);
}
body.dark .filter-bar.home .filter-tabs .tab { background: var(--bg-light); border-color: var(--border); color: var(--text-sub); }
body.dark .filter-bar.home .filter-tabs .tab.active { background: #1677ff; color: #fff; border-color: #1677ff; }

/* ===== 导航头像悬停用户卡片 ===== */
.user-card-wrap { position: relative; display: inline-flex; align-items: center; }
.user-card-wrap::after {
    content: ""; position: absolute; top: 100%; right: 0; left: -20px; height: 16px;
}
.user-card {
    display: none; position: absolute; top: calc(100% + 14px); right: -8px; z-index: 999;
    width: 310px; background: #fff; border: 1px solid #e9edf2; border-radius: 14px;
    box-shadow: 0 16px 44px rgba(31, 41, 51, .16); padding: 16px;
}
.user-card-wrap:hover .user-card, .user-card:hover { display: block; }
.user-card::before {
    content: ""; position: absolute; top: -7px; right: 26px; width: 13px; height: 13px;
    background: #fff; border-left: 1px solid #e9edf2; border-top: 1px solid #e9edf2;
    transform: rotate(45deg);
}
.uc-head { display: flex; align-items: center; gap: 10px; }
.uc-ava { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #f1f3f5; }
.uc-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-meta { flex: 1; min-width: 0; }
.uc-lvl {
    display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600;
    color: #868e96; background: #f1f3f5; padding: 2px 10px; border-radius: 999px;
}
.uc-lvl svg { width: 12px; height: 12px; fill: currentColor; }
.uc-lvl.vip { color: #b45309; background: #fef3c7; }
.uc-acc {
    font-size: 14px; font-weight: 700; color: #212529; margin-top: 4px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.uc-ops { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.uc-op { font-size: 12px; color: #868e96; text-decoration: none; white-space: nowrap; }
.uc-op:hover { color: #d97706; }
.uc-sign-area { margin-top: 14px; }
.uc-sign-btn {
    width: 100%; padding: 10px 0; border: none; border-radius: 10px; cursor: pointer;
    background: linear-gradient(135deg, #fa5252, #f03e3e); color: #fff;
    font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px rgba(240, 62, 62, .3);
}
.uc-sign-btn:hover { opacity: .92; }
.uc-signed {
    display: block; text-align: center; padding: 10px 0; border-radius: 10px;
    background: #f1f3f5; color: #51cf66; font-size: 14px; font-weight: 600;
}
.uc-signed i { font-style: normal; }
.uc-bal {
    display: flex; align-items: center; gap: 8px; margin-top: 12px;
    background: #f8f9fa; border-radius: 10px; padding: 10px 12px;
}
.uc-bal-label { font-size: 13px; color: #868e96; }
.uc-bal-num { font-size: 18px; font-weight: 800; color: #212529; }
.uc-bal-num::after { content: " 金币"; font-size: 12px; font-weight: 500; color: #adb5bd; }
.uc-recharge {
    margin-left: auto; font-size: 13px; color: #fff; background: linear-gradient(135deg, #1e6fd9, #38bdf8);
    padding: 4px 16px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.uc-vip-btns { display: flex; gap: 8px; margin-top: 12px; }
.uc-vip-btn {
    flex: 1; text-align: center; font-size: 13px; font-weight: 600; text-decoration: none;
    color: #b45309; background: linear-gradient(135deg, #fff7e6, #fef3c7); border: 1px solid #fcd34d;
    padding: 8px 0; border-radius: 10px;
}
.uc-vip-btn:hover { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.uc-nav5 {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
    margin-top: 14px; padding-top: 14px; border-top: 1px dashed #e9edf2;
}
.uc-nav5 a { text-align: center; font-size: 12px; color: #868e96; text-decoration: none; }
.uc-nav5 a:hover { color: #d97706; }
body.dark .user-card { background: #242c3a; border-color: #333d4f; }
body.dark .user-card::before { background: #242c3a; border-color: #333d4f; }
body.dark .uc-ava { background: #2a3342; }
body.dark .uc-lvl { background: #2a3342; color: #aab4c4; }
body.dark .uc-lvl.vip { color: #fbbf24; background: #3a2f14; }
body.dark .uc-acc { color: #f1f3f5; }
body.dark .uc-op { color: #aab4c4; }
body.dark .uc-signed { background: #2a3342; }
body.dark .uc-bal { background: #2a3342; }
body.dark .uc-bal-num { color: #f1f3f5; }
body.dark .uc-nav5 { border-color: #333d4f; }
body.dark .uc-nav5 a { color: #aab4c4; }



/* ===== 三档VIP会员卡（参考图样式） ===== */
.vip-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }

.vip-plan {
    background: #fff; border-radius: 18px; overflow: hidden;
    border: 1px solid #e6eaf0; box-shadow: 0 6px 24px rgba(31, 41, 51, .08);
    position: relative; display: flex; flex-direction: column;
}
.vip-plan.forever { border-color: #f0e2bd; }
.vip-plan.current { border-color: #f59e0b; box-shadow: 0 0 0 2px rgba(245, 158, 11, .55); }

.vip-plan { transition: transform .25s ease, box-shadow .25s ease; }
.vip-plan:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(31, 41, 51, .14); }

.vp-hd {
    padding: 26px 16px 22px; text-align: center; color: #fff;
    background: linear-gradient(135deg, #55c4ab, #53d68f);
}
.vip-plan:nth-child(2) .vp-hd { background: linear-gradient(135deg, #4cb8a8, #4ad488); }
.vip-plan.forever .vp-hd { background: linear-gradient(135deg, #dbb06c, #d0c552); }

.vp-name { font-size: 28px; font-weight: 800; letter-spacing: 3px; }

.vp-dur { font-size: 13.5px; opacity: .92; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.vp-dur svg { width: 14px; height: 14px; opacity: .98; }

.vp-bd { padding: 24px 24px 26px; text-align: center; display: flex; flex-direction: column; flex: 1; }

.vp-price { font-size: 56px; font-weight: 800; color: #f97316; line-height: 1; letter-spacing: -1px; }
.vp-price b { font-weight: 800; }
.vp-price i { font-style: normal; font-size: 15px; font-weight: 500; color: #9aa4b2; margin-left: 6px; }

.vp-sub { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: #ea580c; font-weight: 600; margin-top: 20px; }

.vp-feats { list-style: none; margin: 12px 0 22px; padding: 0; text-align: left; }
.vp-feats li { font-size: 14px; color: #374151; padding: 9px 0; display: flex; align-items: center; gap: 8px; border-bottom: 1px dashed #eef1f5; }
.vp-feats li:last-child { border-bottom: none; }
.vp-feats li::before { content: "\2713"; color: #22c55e; font-weight: 800; flex-shrink: 0; }

.vp-state { display: block; width: 100%; margin-top: auto; padding: 14px 0; border-radius: 999px; background: #fef3c7; color: #b45309; font-size: 15px; font-weight: 700; text-align: center; }

.vp-btn {
    display: block; width: 100%; margin-top: auto; padding: 14px 0; border: none; border-radius: 999px;
    background: linear-gradient(135deg, #0fb07b, #17c98f); color: #fff;
    font-size: 16px; font-weight: 700; cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 176, 123, .35);
}
.vip-plan:nth-child(2) .vp-btn { background: linear-gradient(135deg, #35c9c0, #0fb8d0); box-shadow: 0 4px 14px rgba(15, 184, 208, .35); }
.vip-plan.forever .vp-btn { background: linear-gradient(135deg, #f19b0b, #fbbf24); box-shadow: 0 4px 14px rgba(241, 155, 11, .35); }
.vp-btn-no { background: #e4e7ee !important; color: #9aa2b1 !important; box-shadow: none !important; cursor: not-allowed; }

body.dark .vip-plan { background: linear-gradient(165deg, #1e293b, #0f172a); border-color: #2d3a4d; }
body.dark .vip-plan.forever { background: linear-gradient(165deg, #2a2310, #1f1a0d); border-color: #4a3d1a; }
body.dark .vp-sub { color: #fb923c; }
body.dark .vp-feats li { color: #cbd5e1; }

/* 透明logo夜间适配（白底圆角容器） */

/* 手机端组件默认隐藏，仅窄屏显示 */
.m-nav, .m-mask, .m-drawer { display: none; }

/* ===== 手机端底部导航 + 四卡片两列（仅窄屏） ===== */
@media (max-width: 768px) {
    .m-nav {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 450;
        background: #fff; border-top: 1px solid #eef0f5;
        padding: 7px 0 calc(7px + env(safe-area-inset-bottom));
        justify-content: space-around; box-shadow: 0 -2px 12px rgba(31, 41, 51, .06);
    }
    .m-nav a {
        display: flex; flex-direction: column; align-items: center; gap: 3px;
        font-size: 10.5px; color: #8a94a6; text-decoration: none;
    }
    .m-nav a.on { color: #f59e0b; }
    .m-nav svg { width: 22px; height: 22px; }
    body { padding-bottom: 58px; }
    .mod-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px 0 2px; }
    .mod-card { flex-direction: column; justify-content: center; aspect-ratio: 1/1; padding: 14px 8px; gap: 8px; border-radius: 12px; text-align: center; }
    .mod-ico { width: 44px; height: 44px; }
    .mod-ico svg { width: 22px; height: 22px; }
    .mod-info { display: flex; flex-direction: column; align-items: center; }
    .mod-info h3 { font-size: 13px; margin: 0 0 3px; }
    .mod-info p { font-size: 10px; }
}
body.dark .m-nav { background: var(--card); border-top-color: var(--border); }

/* ===== 手机端登录态只显示头像 ===== */
@media (max-width: 768px) {
    .user-chip:not(.user-chip-guest) .user-name,
    .user-chip:not(.user-chip-guest) .user-tag { display: none !important; }
}

/* ===== 手机端汉堡菜单 + 分类抽屉 ===== */
.m-menu-btn { display: none; }
@media (max-width: 768px) {
    .m-menu-btn {
        display: flex; width: 34px; height: 34px; border-radius: 50%; border: none;
        background: #f4f6f9; color: var(--text-sub); cursor: pointer;
        align-items: center; justify-content: center; margin-left: 6px; transition: all .2s;
    }
    .m-menu-btn:hover { background: #eef4ff; color: #2563eb; }
    .m-menu-btn svg { width: 18px; height: 18px; }
    .m-mask { position: fixed; inset: 0; z-index: 460; background: rgba(15, 20, 30, .45); }
    .m-drawer {
        display: block; position: fixed; top: 0; right: 0; bottom: 0; width: 78%; max-width: 300px; z-index: 470;
        background: #fff; box-shadow: -8px 0 24px rgba(31, 41, 51, .14); padding: 18px 16px 30px;
        transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
    }
    .m-drawer.open { transform: translateX(0); }
    .m-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #eef0f5; margin-bottom: 10px; }
    .m-drawer-title { font-size: 15px; font-weight: 700; color: var(--text); }
    .m-drawer-close { border: none; background: none; font-size: 16px; color: var(--text-dim); cursor: pointer; padding: 4px; }
    .m-drawer-body { display: flex; flex-direction: column; }
    .m-drawer-item { display: flex; align-items: center; gap: 10px; padding: 12px 4px; font-size: 14px; color: var(--text); text-decoration: none; border-bottom: 1px solid #f3f5f9; }
    .m-drawer-item:hover { color: var(--accent); }
    .m-drawer-item svg { width: 18px; height: 18px; flex-shrink: 0; }
    .m-drawer-item:first-child { font-weight: 700; }
}
body.dark .m-drawer { background: var(--card); }

/* ===== 手机端隐藏右下角悬浮导航 ===== */
@media (max-width: 768px) {
    .float-nav { display: none !important; }
}

/* ===== 手机端隐藏头像悬停卡片 ===== */
@media (max-width: 768px) {
    .user-card-wrap .user-card { display: none !important; }
}

/* ===== 手机端游戏列表两列 ===== */
@media (max-width: 768px) {
    .game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .game-card .game-body { padding: 8px; }
    .game-title { font-size: 13px; -webkit-line-clamp: 1; }
    .game-tags .tag { font-size: 10px; padding: 1px 6px; }
    .game-meta { flex-wrap: nowrap; gap: 4px; }
    .game-meta .game-time { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .game-meta .game-right { flex-shrink: 0; }
    .game-card .stat-fav, .game-card .stat-like { display: none; }
    .game-stats { gap: 5px; font-size: 10.5px; }
    .game-time { font-size: 10.5px; }
    .card-price { font-size: 10.5px; padding: 1px 6px; }
}

/* ===== 手机端头像与汉堡拉近 ===== */
@media (max-width: 768px) {
    .user-chip { margin-right: 0; }
    .m-menu-btn { margin-left: -12px; }
}

/* ===== 手机端会员中心（参考图） ===== */
.uc-mhead { display: none; }
.uc-mtabs { display: none; }
@media (max-width: 768px) {
    .uc-mhead { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
    .uc-mline { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
    .uc-mtag { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: #f1f5f9; color: #64748b; font-weight: 600; }
    .uc-mtag.vip { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
    .uc-macc { font-size: 15px; font-weight: 700; color: var(--text); }
    .uc-mreg { font-size: 12px; color: var(--text-dim); margin-bottom: 12px; }
    .uc-mstats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .uc-mstat { background: var(--bg-light); border-radius: 12px; padding: 12px; text-align: center; }
    .uc-mstat b { display: block; font-size: 20px; font-weight: 800; color: var(--accent); }
    .uc-mstat span { font-size: 12px; color: var(--text-sub); }
    .uc-side { display: none; }
    .uc-layout { flex-direction: column; }
    .uc-main { width: 100%; }
    .uc-mtabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 12px; -webkit-overflow-scrolling: touch; }
    .uc-mtab { flex-shrink: 0; font-size: 13px; padding: 6px 14px; border-radius: 999px; background: var(--bg-light); color: var(--text-sub); border: 1px solid var(--border); font-weight: 600; }
    .uc-mtab.active { background: var(--accent); color: #fff; border-color: transparent; }
    .uc-panel { padding: 14px; }
}

/* ===== 手机端会员卡单列竖排 ===== */
@media (max-width: 768px) {
    .vip-plans { grid-template-columns: 1fr; gap: 12px; }
    .vip-plan { padding: 0; }
    .vip-plan .vp-bd { padding: 20px 16px 22px; }
    .vp-feats li { font-size: 13px; padding: 4px 0; }
}

/* ===== 手机端隐藏会员中心 tab 条 ===== */
@media (max-width: 768px) {
    .uc-mtabs { display: none !important; }
}

/* ===== 手机端隐藏分类导航 ===== */
@media (max-width: 768px) {
    .main-nav { display: none !important; }
}

/* ===== 手机端顶部图标：均匀间隙 + 整体左移 ===== */
@media (max-width: 768px) {
    .header-inner { gap: 8px; padding-right: 8px; }
    .header-right { margin-right: 0; margin-left: auto; }
    .header-right .search-wrap,
    .header-right .icon-btn { margin-right: 1px; }
    .header-right .m-menu-btn { margin-left: 8px; }
}
/* ===== Hero 首屏 ===== */
.hero-search {
    position: relative;
    overflow: hidden;
    background: #0d1735;
    min-height: 100vh;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(8, 14, 36, .16), rgba(8, 14, 36, .36)),
        url('/assets/img/hero_bg.png') center/cover no-repeat;
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 60px;
}
.hero-title {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
    letter-spacing: 1px;
    margin: 0;
}
.hero-sub {
    color: rgba(255, 255, 255, .94);
    font-size: 15px;
    margin: 14px 0 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.hero-form {
    display: flex;
    align-items: center;
    max-width: 640px;
    width: 100%;
    margin: 30px auto 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .32);
    overflow: hidden;
    padding: 0 6px;
}
.hero-scope {
    flex: none;
    padding: 0 10px 0 16px;
    color: #555;
    font-size: 14px;
    cursor: default;
    white-space: nowrap;
}
.hero-scope i { font-style: normal; font-size: 11px; color: #999; }
.hero-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 14px 6px;
    background: transparent;
    color: #1f2933;
}
.hero-btn {
    flex: none;
    background: #1677ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 11px 28px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background .2s;
}
.hero-btn:hover { background: #0f63e0; }
.hero-btn svg { width: 15px; height: 15px; }
.hero-hot {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hero-hot-label { color: rgba(255,255,255,.95); font-size: 13px; margin-right: 2px; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.hero-hot a {
    color: #fff;
    background: rgba(255, 255, 255, .26);
    border-radius: 13px;
    padding: 5px 13px;
    font-size: 13px;
    transition: background .2s;
    backdrop-filter: blur(4px);
}
.hero-hot a:hover { background: rgba(255, 255, 255, .42); }
@media (max-width: 768px) {
    .hero-search, .hero-inner { min-height: 0; }
    .hero-inner { padding: 36px 14px 28px; }
    .hero-title { font-size: 21px; }
    .hero-sub { display: none; }
    .hero-form { max-width: none; border-radius: 4px; }
    .hero-scope { display: none; }
    .hero-input { padding: 11px 8px; font-size: 13px; }
    .hero-btn { padding: 9px 16px; font-size: 13px; }
    .hero-hot { gap: 6px; }
    .hero-hot a { padding: 4px 10px; font-size: 12px; }
}


/* ===== 首页透明导航（仅电脑端、仅首页） ===== */
@media (min-width: 769px) {
    .site-header.home-header {
        background: transparent !important;
        border-bottom: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .site-header.home-header .main-nav a { color: rgba(255, 255, 255, .94); }
    .site-header.home-header .main-nav a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
    .site-header.home-header .main-nav a.active { background: rgba(255, 255, 255, .26); color: #fff; box-shadow: none; }
    .site-header.home-header .main-nav a.active::after { background: rgba(255, 255, 255, .95); }
    .site-header.home-header .nav-ico { color: rgba(255, 255, 255, .95); }
    .site-header.home-header .header-right .icon-btn,
    .site-header.home-header .header-right .search-icon-btn,
    .site-header.home-header .m-menu-btn { color: #fff; }
    .site-header.home-header .user-chip-guest { color: #fff; }
    .site-header.home-header .user-chip-guest .user-name { color: #fff; }
    .site-header.home-header .user-chip-guest .user-avatar svg { stroke: #fff; }
}

/* ===== 首页背景图与页面顶端对齐 ===== */
@media (min-width: 769px) {
    .site-header.home-header ~ .hero-search { margin-top: -64px; }
    .site-header.home-header ~ .hero-search .hero-inner { padding-top: 44px; }
}

/* ===== 首页已登录用户名白色 ===== */
.site-header.home-header .user-chip .user-name { color: #fff !important; }

/* ===== 首页 Hero 参考小仙元码：1900x600 整幅背景 ===== */
@media (min-width: 769px) {
    .hero-search { min-height: 600px; }
    .hero-inner { min-height: 600px; }
    .hero-title { font-size: 34px; }
    .hero-sub { font-size: 15px; margin-top: 12px; }
    .hero-form { margin-top: 24px; }
    .hero-hot { margin-top: 16px; }
}

/* ===== 首页搜索框：参考小仙元码一体式圆角样式 ===== */
@media (min-width: 769px) {
    .hero-form {
        background: rgba(255, 255, 255, .14);
        border-radius: 999px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, .28);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        height: 46px;
        padding: 0 6px;
        max-width: 600px;
        margin-top: 24px;
    }
    .hero-scope {
        color: rgba(255, 255, 255, .92);
        padding: 0 14px 0 20px;
        border-right: 1px solid rgba(255, 255, 255, .22);
        height: 100%;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .hero-scope i { color: rgba(255, 255, 255, .75); }
    .hero-input {
        color: #fff;
        font-size: 14px;
        padding: 0 14px;
    }
    .hero-input::placeholder { color: rgba(255, 255, 255, .72); }
    .hero-btn {
        background: rgba(255, 255, 255, .22);
        color: #fff;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        flex: none;
        transition: background .2s;
    }
    .hero-btn:hover { background: rgba(255, 255, 255, .34); }
    .hero-btn svg { width: 17px; height: 17px; }
    .hero-hot a {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ===== 导航栏缩放稳定性修复 ===== */
@media (min-width: 769px) {
    .site-header.home-header .main-nav,
    .home-header .main-nav {
        overflow: visible !important;
        flex-wrap: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .site-header.home-header .main-nav a,
    .home-header .main-nav a {
        flex: none;
        white-space: nowrap;
    }
}
/* 窄屏(769-1400)压缩导航间距，保证一行放下不换行不错位 */
@media (min-width: 769px) and (max-width: 1400px) {
    .home-header .header-inner { gap: 10px; }
    .home-header .main-nav { gap: 2px; }
    .home-header .main-nav a { padding: 7px 11px; font-size: 14px; }
    .home-header .header-right .icon-btn { padding: 6px; }
    .home-header .header-right .user-chip-guest { padding-left: 8px; }
}
@media (min-width: 769px) and (max-width: 1150px) {
    .home-header .main-nav a { padding: 6px 8px; font-size: 13.5px; }
    .home-header .header-inner { gap: 6px; }
    .home-header .nav-ico { width: 14px; height: 14px; }
    .home-header .logo img, .home-header .site-logo img { max-height: 38px; }
}
/* 背景上移与导航实际高度对齐：消除顶部衔接白线 */
.site-header.home-header ~ .hero-search,
.home-header ~ .hero-search { margin-top: -68px !important; }

/* ===== 所有页面导航：去白线/多余边框 + 缩放稳定 ===== */
.site-header {
    border-bottom: none !important;
    box-shadow: none !important;
}
.main-nav {
    overflow: visible !important;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.main-nav a {
    flex: none;
    white-space: nowrap;
}
@media (min-width: 769px) and (max-width: 1400px) {
    .header-inner { gap: 10px; }
    .main-nav { gap: 2px; }
    .main-nav a { padding: 7px 11px; font-size: 14px; }
    .header-right .icon-btn { padding: 6px; }
}
@media (min-width: 769px) and (max-width: 1150px) {
    .main-nav a { padding: 6px 8px; font-size: 13.5px; }
    .header-inner { gap: 6px; }
    .nav-ico { width: 14px; height: 14px; }
    .logo img, .site-logo img { max-height: 38px; }
}

/* ===== 四模块卡片：grid 均分不被内容撑破 ===== */
.mod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mod-card { min-width: 0; }
.mod-info { min-width: 0; }
@media (max-width: 900px) {
    .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .mod-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== 手机端四卡片：2x2 田字格 ===== */
@media (max-width: 520px) {
    .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
}

/* ===== 页面背景浅灰白 ===== */
body { background: #f5f5f5; }

/* ===== 导航菜单：纯文字，悬浮文字变色 ===== */
.main-nav a { background: transparent !important; box-shadow: none !important; border: none !important; }
.main-nav a:hover { background: transparent !important; color: #f59e0b !important; }
.site-header.home-header .main-nav a:hover { background: transparent !important; color: #ffc94d !important; }

/* ===== 导航菜单文字颜色（纯文字版） ===== */
.main-nav a { color: #2d333b !important; }
.main-nav a.active { color: #f59e0b !important; }
.site-header.home-header .main-nav a { color: #fff !important; }
.site-header.home-header .main-nav a.active { color: #ffc94d !important; }
body.dark .main-nav a { color: #e6e9ef !important; }
body.dark .main-nav a.active { color: #fbbf24 !important; }

/* ===== 分类页横幅与导航无缝 ===== */
.site-header:not(.home-header) ~ .container.main-layout { padding-top: 0 !important; }

/* ===== 分类页横幅高度 52px ===== */
.section-head { padding: 14px 0; }

/* ===== 分类页横幅渐变（橙金质感） ===== */
.section-head {
    background: linear-gradient(120deg, #f76808 0%, #fa8c16 45%, #ffb53d 100%) !important;
}

/* ===== 分类页横幅渐变（蓝紫科技） ===== */
.section-head {
    background: linear-gradient(120deg, #2f5ef0 0%, #4b7dff 50%, #8a5cf6 100%) !important;
}

/* ===== 分类页横幅渐变（淡雅浅色） ===== */
.section-head {
    background: linear-gradient(120deg, #a5c0ff 0%, #c3d4ff 50%, #e0d0ff 100%) !important;
}
.section-head:not(.plain) .section-title { color: #2f4477 !important; }

/* ===== 分类页横幅标题白色 ===== */
.section-head:not(.plain) .section-title { color: #fff !important; }

/* ===== 分类页横幅背景（深蓝紫渐变 + 白字） ===== */
.section-head {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%) !important;
}
.section-head:not(.plain) .section-title { color: #fff !important; }

/* ===== 横幅副标题白色 ===== */
.section-head .section-desc { color: rgba(255, 255, 255, .92) !important; }

/* ===== 横幅标题统一白色（含首页最新推荐） ===== */
.section-head .section-title { color: #fff !important; }
.section-head.plain .section-title { color: #fff !important; }

/* ===== 首页 Hero 高度 500px ===== */
.hero-search, .hero-inner { min-height: 500px !important; }

/* ===== 手机端 Hero 高度自适应 ===== */
@media (max-width: 768px) {
    .hero-search, .hero-inner { min-height: 0 !important; }
}

/* ===== 手机端 Hero：标题+搜索+热词紧凑浮背景（参考站样式） ===== */
@media (max-width: 768px) {
    .hero-search { margin-top: -52px !important; }
    .hero-inner { padding-top: 62px !important; padding-bottom: 18px !important; justify-content: flex-start; }
    .hero-title { display: block !important; font-size: 21px !important; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
    .hero-sub { display: none !important; }
    .hero-form { margin-top: 12px !important; height: 42px !important; }
    .hero-hot { margin-top: 10px !important; }
    .hero-hot-label { font-size: 12px !important; }
}

/* ===== 手机端搜索框：一体胶囊 + 全站下拉 + 圆形放大镜 ===== */
@media (max-width: 768px) {
    .hero-form {
        background: rgba(255, 255, 255, .14);
        border-radius: 999px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, .28);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        height: 44px;
        padding: 0 5px;
        max-width: none;
        margin-top: 12px;
    }
    .hero-scope {
        display: flex !important;
        color: rgba(255, 255, 255, .92);
        padding: 0 11px 0 16px;
        border-right: 1px solid rgba(255, 255, 255, .22);
        height: 100%;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
        font-size: 12px;
    }
    .hero-scope i { color: rgba(255, 255, 255, .75); font-size: 10px; }
    .hero-input { color: #fff; font-size: 13px; padding: 0 10px; }
    .hero-input::placeholder { color: rgba(255, 255, 255, .72); }
    .hero-btn {
        background: rgba(255, 255, 255, .22);
        color: #fff;
        border-radius: 50%;
        width: 34px;
        height: 34px;
        padding: 0;
        justify-content: center;
        flex: none;
    }
    .hero-btn:hover { background: rgba(255, 255, 255, .34); }
    .hero-btn svg { width: 16px; height: 16px; }
}

/* ===== 手机端首页导航透明（全局，浮在背景图上） ===== */
.site-header.home-header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* ===== 手机端导航图标白色 ===== */
.site-header.home-header .header-right .icon-btn,
.site-header.home-header .header-right .search-icon-btn,
.site-header.home-header .m-menu-btn,
.site-header.home-header .header-right svg { color: #fff !important; }
.site-header.home-header .user-chip-guest .user-avatar svg { stroke: #fff; }

/* ===== 手机端首页菜单按钮去圆形底（纯图标） ===== */
.site-header.home-header .m-menu-btn {
    background: transparent !important;
}
.site-header.home-header .m-menu-btn:hover {
    background: rgba(255, 255, 255, .14) !important;
}

/* ===== 全部页面菜单按钮去圆形底（纯图标） ===== */
.m-menu-btn {
    background: transparent !important;
}
.m-menu-btn:hover {
    background: rgba(0, 0, 0, .06) !important;
}



/* ===== 登录/注册美化 ===== */
.auth-wrap { display: flex; justify-content: center; padding: 48px 16px 72px; }
.auth-card { width: 100%; max-width: 430px; background: #fff; border-radius: 18px; box-shadow: 0 12px 44px rgba(15,23,42,.10); overflow: hidden; }
.auth-head { padding: 36px 32px 26px; text-align: center; background: #fff; }
.auth-head .auth-logo { display: block; height: 46px; margin: 0 auto 12px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.18)); }
.auth-title { color: #0f172a; font-size: 23px; font-weight: 800; letter-spacing: 1px; margin: 0; }
.auth-sub { color: #64748b; font-size: 13px; margin: 7px 0 0; }
.auth-tabs { display: flex; margin: 0 32px; border-bottom: 1px solid #eef2f7; }
.auth-tabs a { flex: 1; text-align: center; padding: 15px 0; color: #94a3b8; font-size: 15px; font-weight: 600; border-bottom: 2px solid transparent; text-decoration: none; transition: color .2s; }
.auth-tabs a.active { color: #2563eb; border-bottom-color: #2563eb; }
.auth-form { padding: 26px 32px 32px; }
.auth-field { position: relative; margin-bottom: 16px; }
.auth-field > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #94a3b8; pointer-events: none; }
.auth-field input { width: 100%; height: 47px; padding: 0 14px 0 44px; border: 1.5px solid #e2e8f0; border-radius: 11px; font-size: 14px; outline: none; background: #f8fafc; color: inherit; transition: border-color .2s, box-shadow .2s, background .2s; box-sizing: border-box; }
.auth-field input::placeholder { color: #a8b3c4; }
.auth-field input:focus { border-color: #2563eb; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.auth-captcha input { padding-right: 122px; }
.auth-captcha .captcha-img { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); height: 34px; width: auto; border-radius: 7px; cursor: pointer; border: 1px solid #e2e8f0; }
.auth-extra { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 20px; font-size: 13px; color: #64748b; }
.auth-extra label { display: flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; color: #64748b; }
.auth-extra input { accent-color: #2563eb; }
.auth-extra a { color: #2563eb; text-decoration: none; }
.auth-btn { width: 100%; height: 49px; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; letter-spacing: 8px; text-indent: 8px; color: #fff; background: linear-gradient(135deg, #2563eb, #60a5fa); cursor: pointer; transition: transform .15s, box-shadow .15s; box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,99,235,.36); }
.auth-btn:active { transform: translateY(0); }
.auth-switch { display: block; text-align: center; margin-top: 16px; color: #64748b; font-size: 13px; text-decoration: none; }
.auth-switch b { color: #2563eb; font-weight: 600; }
.dark .auth-card { background: #1e293b; box-shadow: 0 12px 44px rgba(0,0,0,.4); }
.dark .auth-tabs { border-bottom-color: #334155; }
.dark .auth-tabs a { color: #7c8ba1; }
.dark .auth-tabs a.active { color: #60a5fa; border-bottom-color: #60a5fa; }
.dark .auth-field input { background: #0f172a; border-color: #334155; color: #e2e8f0; }
.dark .auth-field input:focus { border-color: #60a5fa; background: #0f172a; box-shadow: 0 0 0 3px rgba(96,165,250,.15); }
.dark .auth-extra, .dark .auth-extra label, .dark .auth-switch { color: #94a3b8; }
@media (max-width: 767px) {
    .auth-wrap { padding: 18px 12px 44px; }
    .auth-head { padding: 30px 20px 22px; }
    .auth-head .auth-logo { height: 40px; }
    .auth-form { padding: 22px 20px 26px; }
    .auth-tabs { margin: 0 20px; }
    .auth-card { border-radius: 15px; }
}

.dark .auth-head { background: #1e293b; }
.dark .auth-title { color: #fff; }
.dark .auth-sub { color: #94a3b8; }

.auth-captcha .captcha-get { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); height: 34px; padding: 0 16px; border: none; border-radius: 7px; background: #eef1f6; color: #475569; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s; }
.auth-captcha .captcha-get:hover { background: #e2e8f0; }
.dark .auth-captcha .captcha-get { background: #334155; color: #cbd5e1; }
.dark .auth-captcha .captcha-get:hover { background: #475569; }

/* 登录/注册悬浮弹窗 */
.auth-modal-mask { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.auth-modal { position: relative; width: 420px; max-width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(15, 23, 42, .35); padding: 34px 36px 28px; }
.auth-modal-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: none; background: #f1f5f9; border-radius: 50%; color: #64748b; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.auth-modal-close:hover { background: #e2e8f0; }
.auth-modal-close svg { width: 16px; height: 16px; }
.auth-modal .auth-tabs { display: flex; background: #f1f5f9; border-radius: 10px; padding: 4px; margin: 0 0 20px; }
.auth-modal .auth-tab { flex: 1; height: 38px; border: none; background: transparent; border-radius: 8px; color: #64748b; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; }
.auth-modal .auth-tab.active { background: #fff; color: #1d4ed8; box-shadow: 0 2px 8px rgba(15, 23, 42, .08); }
.auth-msg { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-bottom: 14px; }
.auth-form .auth-extra { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 18px; font-size: 13px; }
.auth-form .auth-remember { display: flex; align-items: center; gap: 6px; color: #64748b; cursor: pointer; }
.auth-form .auth-remember input { accent-color: #2563eb; }
.auth-form .auth-forgot { color: #2563eb; text-decoration: none; }
.auth-form .auth-forgot:hover { text-decoration: underline; }
.dark .auth-modal { background: #1e293b; }
.dark .auth-modal-close { background: #334155; color: #cbd5e1; }
.dark .auth-modal .auth-tabs { background: #0f172a; }
.dark .auth-modal .auth-tab { color: #94a3b8; }
.dark .auth-modal .auth-tab.active { background: #334155; color: #fff; box-shadow: none; }
@media (max-width: 767px) {
    .auth-modal { padding: 24px 20px; border-radius: 14px; }
}
@media (max-width: 767px) {
    .search-pop {
        position: fixed;
        top: 56px;
        left: 12px;
        right: 12px;
        width: auto;
    }
}

body.dark .search-pop { background: rgba(30, 41, 59, .74); border-color: rgba(148, 163, 184, .3); }
@media (max-width: 767px) {
    .search-pop { left: 8px; right: 8px; border-radius: 12px; padding: 6px 8px; }
}

/* ===== 会员专属 ===== */
.tag-vip { background: linear-gradient(135deg, var(--accent), #fbbf24); color: #fff; border: 0; font-weight: 600; }
.btn-download.btn-vip-only { background: linear-gradient(135deg, var(--accent), #fbbf24); color: #fff; }
.buy-btn.buy-btn-gold { background: linear-gradient(135deg, var(--accent), #fbbf24); color: #fff; box-shadow: 0 6px 16px rgba(245, 158, 11, .35); }
/* 首页板块标题：取消横幅背景 */
.section-head.plain { background: none !important; box-shadow: none !important; }
/* 西瓜整理标题黑色 */
.section-head.plain .section-title { color: #111827 !important; }
/* 首页搜索区：白色880px小圆角 + 纯放大镜 */
.hero-form {
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .28) !important;
    max-width: 880px !important;
    height: 48px !important;
    padding: 0 6px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.hero-scope {
    display: flex !important;
    color: #555 !important;
    border-right: 1px solid #e2e8f0 !important;
    padding: 0 11px 0 16px !important;
    height: 100%;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-size: 13px !important;
}
.hero-scope i { color: #999 !important; }
.hero-input {
    color: #1f2933 !important;
    font-size: 14px !important;
    padding: 0 14px !important;
}
.hero-input::placeholder { color: #9aa5b1 !important; }
.hero-btn {
    background: transparent !important;
    color: #9aa5b1 !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    justify-content: center;
    flex: none;
    transition: background .2s, color .2s;
}
.hero-btn:hover { background: #f1f5f9 !important; color: #475569 !important; }
.hero-btn svg { width: 17px !important; height: 17px !important; }
/* 手机端搜索区：热词一行 + 间距拉松 */
@media (max-width: 768px) {
    .hero-form { height: 42px !important; }
    .hero-input { font-size: 13px !important; padding: 0 10px !important; }
    .hero-scope { font-size: 12px !important; padding: 0 9px 0 12px !important; }
    .hero-hot { margin-top: 12px !important; gap: 5px !important; }
    .hero-hot-label { font-size: 12px !important; margin-right: 1px !important; }
    .hero-hot a { font-size: 11.5px !important; padding: 3px 8px !important; max-width: none !important; }
}
/* hero 标题上方留白加大 */
.hero-search .hero-inner { padding-top: 100px !important; }
@media (max-width: 768px) {
    .hero-search .hero-inner { padding-top: 84px !important; }
}
/* 电脑端侧边栏图标 */
.uc-menu-item { display: flex; align-items: center; gap: 10px; }
.uc-menu-ic { width: 16px; height: 16px; flex-shrink: 0; opacity: .9; }

/* 上一篇/下一篇 */
.pn-row { display: flex; gap: 15px; margin: 20px 0 25px 0; }
.pn-card { flex: 1; background: #fff; border-radius: 10px; padding: 18px 20px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: #333; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: box-shadow .2s; }
.pn-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.pn-card.disabled { opacity: .5; }
.pn-arrow { font-size: 18px; color: #999; flex-shrink: 0; }
.pn-body { flex: 1; min-width: 0; }
.pn-label { display: block; font-size: 12px; color: #999; margin-bottom: 3px; }
.pn-title { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-next { text-align: right; }
.pn-next .pn-body { order: 1; }
.pn-next .pn-arrow { order: 2; }
@media (max-width: 768px) {
    .pn-row { flex-direction: column; }
}

/* 上一篇/下一篇 */
.pn-row { display: flex; gap: 15px; margin: 15px 0 0 0; }
.pn-card { flex: 1; background: #fff; border-radius: 10px; padding: 18px 20px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: #333; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: box-shadow .2s; }
.pn-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.pn-card.disabled { opacity: .5; }
.pn-arrow { font-size: 18px; color: #999; flex-shrink: 0; }
.pn-body { flex: 1; min-width: 0; }
.pn-label { display: block; font-size: 12px; color: #999; margin-bottom: 3px; }
.pn-title { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-next { text-align: right; }
.pn-next .pn-body { order: 1; }
.pn-next .pn-arrow { order: 2; }
@media (max-width: 768px) {
    .pn-row { flex-direction: column; }
}

.content-left { flex: 1; min-width: 0; }

.content-left { flex: 1; min-width: 0; }

/* 上一篇/下一篇 */
.pn-row { display: flex; gap: 15px; margin: 20px 0 0 0; }
.pn-card { flex: 1; background: #fff; border-radius: 10px; padding: 18px 20px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: #333; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: box-shadow .2s; }
.pn-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.pn-card.disabled { opacity: .5; }
.pn-arrow { font-size: 18px; color: #999; flex-shrink: 0; }
.pn-body { flex: 1; min-width: 0; }
.pn-label { display: block; font-size: 12px; color: #999; margin-bottom: 3px; }
.pn-title { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-next { text-align: right; }
.pn-next .pn-body { order: 1; }
.pn-next .pn-arrow { order: 2; }
@media (max-width: 768px) {
    .pn-row { flex-direction: column; }
}

.detail-top { display: flex; gap: 24px; margin-bottom: 24px; }
.detail-top .detail-cover { flex: 0 0 380px; }
.detail-top .detail-info { flex: 1; }
@media (max-width: 768px) {
    .detail-top { flex-direction: column; }
    .detail-top .detail-cover { flex: none; }
}



/* 分享弹窗 */
.share-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); z-index: 9999; justify-content: center; align-items: center; }
.share-modal.show { display: flex; }
.share-modal-content { position: relative; }
.share-card { background: #fff; border-radius: 16px; padding: 20px; width: 360px; max-width: 90vw; }
.share-thumb { width: 100%; height: 180px; border-radius: 10px; overflow: hidden; margin-bottom: 15px; }
.share-thumb img { width: 100%; height: 100%; object-fit: cover; }
.share-thumb-placeholder { width: 100%; height: 100%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 48px; color: #ccc; }
.share-title { font-size: 16px; font-weight: 600; margin: 0 0 15px; line-height: 1.4; }
.share-source { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.share-site { display: flex; align-items: center; gap: 10px; }
.share-site-logo { width: 40px; height: 40px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.share-site-name { font-size: 14px; font-weight: 600; }
.share-site-desc { font-size: 12px; color: #999; }
.share-qrcode { width: 100px; height: 100px; }
.share-link { background: #667eea; color: #fff; padding: 12px; border-radius: 8px; font-size: 13px; text-align: center; margin-bottom: 10px; word-break: break-all; }
.share-tip { text-align: center; font-size: 12px; color: #999; }
.share-close { position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; border: none; background: #fff; font-size: 24px; cursor: pointer; line-height: 1; }

/* 底部操作栏 */
.detail-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.actions-left .site-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #666; }
.site-badge-logo { width: 32px; height: 32px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; }
.actions-right { display: flex; gap: 10px; }
.action-btn { background: #f8f9fa; border: 1px solid #e9ecef; padding: 8px 16px; border-radius: 20px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; color: #666; }
.action-btn:hover { background: #e9ecef; }
.share-btn { background: #eef2ff; border-color: #e0e7ff; color: #6366f1; }
.share-btn:hover { background: #e0e7ff; }

.action-btn { background: #eef2ff; border: 1px solid #e0e7ff; padding: 8px 16px; border-radius: 20px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; color: #6366f1; }
.action-btn:hover { background: #e0e7ff; }

/* 回到顶部按钮 */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 40px; height: 40px; border-radius: 4px; background: #409eff; color: #fff; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(64, 158, 255, .3); z-index: 999; transition: all .4s cubic-bezier(.4, 0, .2, 1); }
.back-to-top:hover { border-radius: 50%; background: #337ecc; }

/* 上一篇/下一篇 */
.pn-row { display: flex; gap: 15px; margin: 15px 0 0 0; }
.pn-card { flex: 1; background: #fff; border-radius: 10px; padding: 18px 20px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: #333; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: box-shadow .2s; }
.pn-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.pn-card.disabled { opacity: .5; }
.pn-arrow { font-size: 18px; color: #999; flex-shrink: 0; }
.pn-body { flex: 1; min-width: 0; }
.pn-label { display: block; font-size: 12px; color: #999; margin-bottom: 3px; }
.pn-title { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-next { text-align: right; }
.pn-next .pn-body { order: 1; }
.pn-next .pn-arrow { order: 2; }
@media (max-width: 768px) {
    .pn-row { flex-direction: column; }
}

/* 上一篇/下一篇 */
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.prev-card, .next-card { background: #fff; border-radius: 12px; padding: 20px; }
.prev-link, .next-link { display: flex; align-items: center; gap: 12px; color: #333; text-decoration: none; }
.prev-link svg, .next-link svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; flex-shrink: 0; color: #409eff; transition: all .3s ease; background: transparent; }
.prev-card:hover .prev-link svg, .next-card:hover .next-link svg { background: #409eff; color: #fff; }
.prev-link:hover, .next-link:hover { color: #667eea; }
.prev-text, .next-text { flex: 1; overflow: hidden; position: relative; }
.prev-label, .next-label { font-size: 12px; color: #999; position: absolute; top: 0; right: 0; }
.prev-title, .next-title { font-size: 14px; display: block; margin-top: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prev-title { text-align: right; }
.next-title { text-align: left; }

.next-label { left: 0; right: auto; }

/* 上一篇/下一篇 */
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.prev-card, .next-card { background: #fff; border-radius: 12px; padding: 20px; transition: all .2s; }
.prev-card:hover, .next-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: translateY(-2px); }
.prev-link, .next-link { display: flex; align-items: center; gap: 12px; color: #333; text-decoration: none; }
.prev-link:hover, .next-link:hover { color: #667eea; }
.prev-link.disabled, .next-link.disabled { color: #ccc; cursor: default; }
.prev-card:hover .prev-link, .next-card:hover .next-link { color: #333; }
.prev-text, .next-text { flex: 1; overflow: hidden; }
.prev-label, .next-label { font-size: 12px; color: #999; display: block; }
.prev-title, .next-title { font-size: 14px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next-link { text-align: left; }

/* 相关文章 */
.related-section { margin-top: 24px; }
.section-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; color: #333; }
.section-icon { color: #667eea; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card .game-meta { white-space: nowrap; }
.related-card .game-time { font-size: 11px; }
.related-card .game-stats { font-size: 11px; gap: 8px; }
.related-card .card-price { font-size: 10px; padding: 1px 6px; }
.related-card:hover .game-cover img { transform: none !important; }

/* 相关文章 */
.related-section { margin-top: 24px; }
.section-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.section-icon { color: #667eea; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card { background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: #333; transition: all .2s; }
.related-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: translateY(-2px); }
.related-thumb { width: 100%; height: 120px; overflow: hidden; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-thumb-placeholder { width: 100%; height: 100%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #ccc; }
.related-info { padding: 12px; }
.related-tags { margin-bottom: 8px; }
.related-tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-right: 4px; }
.related-tag.free { background: #e8f5e9; color: #4caf50; }
.related-title { font-size: 13px; margin: 0 0 8px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.related-meta { font-size: 12px; color: #999; }


@media (max-width: 768px) {
    .related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .related-card .game-title { font-size: 13px !important; }
    .related-card .game-time { font-size: 10px !important; }
    .related-card .game-stats { font-size: 10px !important; gap: 6px !important; }
    .related-card .card-price { font-size: 9px !important; padding: 1px 5px !important; }
}


@media (max-width: 768px) {
    .container { padding: 0 12px !important; }
}


@media (max-width: 768px) {
    .container { padding: 0 12px !important; }
    .breadcrumb-nav { display: none !important; }
    .detail-card { margin-top: 16px !important; }
    .related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .related-card .game-title { font-size: 13px !important; }
    .related-card .game-time { font-size: 10px !important; }
    .related-card .game-stats { font-size: 10px !important; gap: 6px !important; }
    .related-card .card-price { font-size: 9px !important; padding: 1px 5px !important; }
}


/* ===== 首页 VIP 会员板块 ===== */
.vip-section { background: #f5f7fa; padding: 40px 0; margin-top: 40px; }
.vip-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.vip-title { text-align: center; font-size: 28px; font-weight: 800; color: #1e293b; margin-bottom: 12px; }
.vip-subtitle { text-align: center; font-size: 14px; color: #64748b; max-width: 800px; margin: 0 auto 32px; line-height: 1.6; }
.vip-cards { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.vip-card { flex: 1; min-width: 270px; background: #fff; border-radius: 18px; box-shadow: 0 14px 36px rgba(15,23,42,.12); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.vip-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15,23,42,.18); }
.vip-card .vc-hd { padding: 26px 16px 22px; color: #fff; text-align: center; }
.vip-card .vc-hd .vc-nm { font-size: 28px; font-weight: 800; letter-spacing: 3px; }
.vip-card .vc-hd .vc-dur { font-size: 13.5px; opacity: .92; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.vip-card .vc-hd .vc-dur svg { width: 14px; height: 14px; }
.vip-card .vc-bd { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.vip-card .vc-price { font-size: 56px; font-weight: 800; color: #f97316; line-height: 1; letter-spacing: -1px; display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.vip-card .vc-price small { font-size: 15px; color: #9aa4b2; font-weight: 500; }
.vip-card .vc-sub { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: left; font-size: 12.5px; color: #ea580c; font-weight: 600; margin-top: 20px; }
.vip-card ul { list-style: none; margin: 12px 0 22px; padding: 0; display: flex; flex-direction: column; }
.vip-card li { font-size: 14px; color: #374151; padding: 9px 0; display: flex; gap: 8px; align-items: center; text-align: left; border-bottom: 1px dashed #eef1f5; }
.vip-card li:last-child { border-bottom: none; }
.vip-card li svg { width: 15px; height: 15px; flex-shrink: 0; }
.vip-card .vc-btn { display: block; text-align: center; margin: auto 24px 24px; padding: 14px 0; border-radius: 999px; font-size: 16px; font-weight: 700; color: #fff; text-decoration: none; cursor: pointer; border: none; width: auto; }
.vc-a .vc-hd { background: linear-gradient(135deg, #55c4ab, #53d68f); }
.vc-a .vc-btn { background: linear-gradient(135deg, #0fb07b, #17c98f); box-shadow: 0 6px 18px rgba(15,176,123,.35); }
.vc-b .vc-hd { background: linear-gradient(135deg, #4cb8a8, #4ad488); }
.vc-b { box-shadow: 0 20px 46px rgba(15,23,42,.16); }
.vc-b .vc-btn { background: linear-gradient(135deg, #35c9c0, #0fb8d0); box-shadow: 0 6px 18px rgba(15,184,208,.35); }
.vc-c .vc-hd { background: linear-gradient(135deg, #dbb06c, #d0c552); }
.vc-c .vc-btn { background: linear-gradient(135deg, #f19b0b, #fbbf24); box-shadow: 0 6px 18px rgba(241,155,11,.35); }
.vc-hot { position: absolute; right: 14px; top: 12px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 10px; z-index: 2; }
@media(max-width: 760px) { .vip-cards { gap: 14px; padding: 0 4px; } .vip-card { min-width: 100%; } .vip-title { font-size: 24px; } }


/* ===== 首页 VIP 会员板块 ===== */
.vip-section { background: transparent; padding: 40px 0; margin-top: 0; }
.vip-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.vip-title { text-align: center; font-size: 28px; font-weight: 800; color: #1e293b; margin-bottom: 12px; }
.vip-subtitle { text-align: center; font-size: 14px; color: #64748b; max-width: 800px; margin: 0 auto 32px; line-height: 1.6; }
.vip-cards { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.vip-card { flex: 1; min-width: 270px; background: #fff; border-radius: 18px; box-shadow: 0 14px 36px rgba(15,23,42,.12); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.vip-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15,23,42,.18); }
.vip-card .vc-hd { padding: 26px 16px 22px; color: #fff; text-align: center; }
.vip-card .vc-hd .vc-nm { font-size: 28px; font-weight: 800; letter-spacing: 3px; }
.vip-card .vc-hd .vc-dur { font-size: 13.5px; opacity: .92; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.vip-card .vc-hd .vc-dur svg { width: 14px; height: 14px; }
.vip-card .vc-bd { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.vip-card .vc-price { font-size: 56px; font-weight: 800; color: #f97316; line-height: 1; letter-spacing: -1px; display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.vip-card .vc-price small { font-size: 15px; color: #9aa4b2; font-weight: 500; }
.vip-card .vc-sub { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: left; font-size: 12.5px; color: #ea580c; font-weight: 600; margin-top: 20px; }
.vip-card ul { list-style: none; margin: 12px 0 22px; padding: 0; display: flex; flex-direction: column; }
.vip-card li { font-size: 14px; color: #374151; padding: 9px 0; display: flex; gap: 8px; align-items: center; text-align: left; border-bottom: 1px dashed #eef1f5; }
.vip-card li:last-child { border-bottom: none; }
.vip-card li svg { width: 15px; height: 15px; flex-shrink: 0; }
.vip-card .vc-btn { display: block; text-align: center; margin: auto 24px 24px; padding: 14px 0; border-radius: 999px; font-size: 16px; font-weight: 700; color: #fff; text-decoration: none; cursor: pointer; border: none; width: auto; }
.vc-a .vc-hd { background: linear-gradient(135deg, #55c4ab, #53d68f); }
.vc-a .vc-btn { background: linear-gradient(135deg, #0fb07b, #17c98f); box-shadow: 0 6px 18px rgba(15,176,123,.35); }
.vc-b .vc-hd { background: linear-gradient(135deg, #4cb8a8, #4ad488); }
.vc-b { box-shadow: 0 20px 46px rgba(15,23,42,.16); }
.vc-b .vc-btn { background: linear-gradient(135deg, #35c9c0, #0fb8d0); box-shadow: 0 6px 18px rgba(15,184,208,.35); }
.vc-c .vc-hd { background: linear-gradient(135deg, #dbb06c, #d0c552); }
.vc-c .vc-btn { background: linear-gradient(135deg, #f19b0b, #fbbf24); box-shadow: 0 6px 18px rgba(241,155,11,.35); }
.vc-hot { position: absolute; right: 14px; top: 12px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 10px; z-index: 2; }
@media(max-width: 760px) { .vip-cards { gap: 14px; padding: 0 4px; } .vip-card { min-width: 100%; } .vip-title { font-size: 24px; } }


/* ===== 手机端优化 ===== */
@media (max-width: 768px) {
    .container { padding: 0 12px !important; }
    .game-grid { gap: 12px !important; }
    .game-card { border-radius: 12px !important; }
    .game-body { padding: 10px 12px !important; }
    .game-title { font-size: 14px !important; line-height: 1.4 !important; }
    .game-meta { font-size: 11px !important; gap: 8px !important; }
    .mod-grid { gap: 10px !important; padding: 12px 0 4px !important; }
    .mod-card { border-radius: 12px !important; padding: 12px 8px !important; }
    .section-head { padding: 10px 0 !important; margin-bottom: 12px !important; }
    .section-title { font-size: 16px !important; }
    .vip-section { padding: 24px 0 !important; }
    .vip-title { font-size: 20px !important; margin-bottom: 8px !important; }
    .vip-subtitle { font-size: 12px !important; margin-bottom: 20px !important; }
    .vip-cards { gap: 12px !important; }
    .vip-card { border-radius: 12px !important; }
    .site-footer { padding: 20px 0 24px !important; }
    .site-footer p { font-size: 12px !important; }
}


/* ===== 电脑端优化 ===== */
@media (min-width: 1025px) {
    .game-grid { gap: 24px !important; }
    .game-card { border-radius: 16px !important; }
    .game-body { padding: 14px 16px !important; }
    .game-title { font-size: 15px !important; line-height: 1.5 !important; }
    .game-meta { font-size: 12px !important; gap: 12px !important; }
    .mod-grid { gap: 20px !important; padding: 28px 0 8px !important; }
    .mod-card { border-radius: 16px !important; padding: 20px 18px !important; }
    .section-head { padding: 16px 0 !important; margin-bottom: 24px !important; }
    .section-title { font-size: 20px !important; }
    .vip-section { padding: 48px 0 !important; }
    .vip-title { font-size: 30px !important; margin-bottom: 16px !important; }
    .vip-subtitle { font-size: 15px !important; margin-bottom: 36px !important; }
    .vip-cards { gap: 24px !important; }
    .vip-card { border-radius: 20px !important; }
    .site-footer { padding: 36px 0 40px !important; }
    .site-footer p { font-size: 14px !important; }
}


/* ===== 手机端隐藏 VIP 卡片特权列表 ===== */
@media (max-width: 768px) {
    .vip-card ul { display: none !important; }
    .vip-card .vc-sub { margin-top: 16px !important; }
}


/* ===== 手机端横幅高度 260px ===== */
@media (max-width: 768px) {
    .hero-search { 
        min-height: 260px !important; 
    }
}


/* ===== 详情页 tab 切换 ===== */
.detail-tabs {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 25px;
    border: 1px solid #2563eb;
    background: #fff;
    color: #2563eb;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.tab-btn svg {
    width: 16px;
    height: 16px;
}
.tab-btn.active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}


/* ===== 调小游戏截图和声明之间的间距 ===== */
.detail-block {
    margin-bottom: 15px !important;
}


/* ===== 上一篇下一篇上下排列 ===== */
.prev-next {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* ===== 上一篇下一篇上下排列 ===== */
.prev-next {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}


/* ===== 手机端上一篇下一篇上下排列 ===== */
@media (max-width: 768px) {
    .prev-next {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
}


/* ===== 强制左右排列 ===== */
.prev-next {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
}


/* ===== 手机端上下排列 ===== */
@media (max-width: 768px) {
    .prev-next {
        grid-template-columns: 1fr !important;
    }
}


/* ===== 让标题超出的部分省略 ===== */
.prev-title, .next-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 200px !important;
}


/* ===== 右侧悬浮导航栏垂直位置 ===== */
.float-nav {
    bottom: 88px !important;
}

/* 副标题样式 */
.section-subtitle {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 8px;
}
