/* ============================================================
   盘来了 v3 — 游戏风主题层 (gaming.css) · 浅色版
   在 common.css 之后加载：整体浅色 + 霓虹渐变点缀 + 游戏组件 + 鼠标互动
   ============================================================ */

/* ----- 浅色游戏设计 Tokens ----- */
:root {
    --accent: #8b5cf6;
    --accent-hover: #7c3aed;
    --accent-light: rgba(139, 92, 246, 0.10);
    --accent-glow: rgba(139, 92, 246, 0.22);
    --accent-grad: linear-gradient(135deg, #8b5cf6, #06b6d4);

    --accent-2: #0891b2;
    --accent-3: #ec4899;
    --neon-green: #10b981;

    --bg-body: #eef1f8;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9ff;
    --bg-input: #eef1f8;
    --bg-overlay: rgba(15, 23, 42, 0.35);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-dim: #cbd5e1;

    --border: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(139, 92, 246, 0.42);

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 14px 40px rgba(15, 23, 42, 0.10);
    --shadow-xl: 0 22px 60px rgba(15, 23, 42, 0.14);
}

/* ----- 字体：游戏感标题 ----- */
.g-hero h1, .g-section-head h2, .g-slide-info h3, .hero h1, .gd-header h1, .all-topics-header h1 {
    font-family: 'Rajdhani', 'Orbitron', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    letter-spacing: 1px;
}

/* ----- 基础背景：浅色 + 霓虹光晕 + 网格纹理 ----- */
body {
    color: var(--text-primary);
    background:
        radial-gradient(1000px 520px at 82% -8%, rgba(139, 92, 246, 0.10), transparent 60%),
        radial-gradient(820px 460px at 8% 0%, rgba(6, 182, 212, 0.10), transparent 60%),
        var(--bg-body);
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.6), transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.6), transparent 80%);
}

/* ===== 交互层元素 ===== */
#spotlight {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(380px circle at var(--mx, 50vw) var(--my, 40vh), rgba(139, 92, 246, 0.09), transparent 65%);
}
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ===== 导航栏（浅色毛玻璃） ===== */
.site-header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--border);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}
.logo-icon { box-shadow: 0 4px 14px var(--accent-glow); }
.logo-text {
    font-family: 'Rajdhani', 'Orbitron', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 700;
    background: var(--accent-grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-link { color: var(--text-secondary); font-weight: 600; }
.nav-link:hover { color: var(--text-primary); background: var(--accent-light); }
.nav-link.active { color: var(--text-primary); background: transparent; font-weight: 800; }
.nav-link.active::after {
    content: '';
    position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px;
    background: var(--accent-grad); border-radius: 3px; box-shadow: 0 2px 10px var(--accent-glow);
}
.header-search { background: var(--bg-input); border: 1px solid var(--border); }
.header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15), 0 4px 18px var(--accent-glow); }
.header-search input { color: var(--text-primary); }
.nav-mobile { background: var(--bg-card); }
.nav-toggle span { background: var(--text-secondary); }

/* ===== Hero（栏目页横幅） ===== */
.hero { background: linear-gradient(180deg, rgba(139, 92, 246, 0.08), transparent 70%); border-bottom-color: var(--border); }
.hero h1 {
    background: linear-gradient(120deg, #7c3aed, #0891b2, #ec4899, #7c3aed);
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(139, 92, 246, 0.25));
    animation: g-flow 8s linear infinite;
}
@keyframes g-flow { to { background-position: 300% 0; } }
.hero p { color: var(--text-secondary); }

/* ===== 搜索框 / 分类 / 按钮 ===== */
.search-box { background: var(--bg-card); border-color: var(--border); box-shadow: var(--shadow-md); }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14), 0 8px 28px var(--accent-glow); }
.search-box input { color: var(--text-primary); }

.cat-tab { background: var(--bg-card); color: var(--text-secondary); border-color: var(--border); }
.cat-tab:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.cat-tab.active { background: var(--accent-grad); color: #fff; box-shadow: 0 4px 16px var(--accent-glow); }
.cat-clear { background: var(--accent-light); }

.search-btn, .download-btn { box-shadow: 0 4px 16px var(--accent-glow); }
.search-btn:hover, .download-btn:hover { filter: brightness(1.06); box-shadow: 0 6px 24px var(--accent-glow); }

/* ===== 卡片 ===== */
.card { background: var(--bg-card); border-color: var(--border); box-shadow: var(--shadow-sm); will-change: transform; }
.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14), 0 0 24px var(--accent-glow);
}
.card-name { color: var(--text-primary); }
.card-tag { background: var(--accent-light); color: var(--accent); border-color: rgba(139, 92, 246, 0.3); }
.card-size, .card-year { color: var(--text-muted); }

/* 3D 倾斜支持 */
.tilt { transform-style: preserve-3d; }
.glare {
    position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
    background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.55), transparent 45%);
    z-index: 2;
}
.tilt:hover .glare { opacity: 1; }

/* 工具卡片 */
.tool-card { background: var(--bg-card); border-color: var(--border); box-shadow: var(--shadow-sm); }
.tool-card:hover { border-color: rgba(16, 185, 129, 0.5); box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12), 0 0 22px rgba(16, 185, 129, 0.18); }
.tool-name { color: var(--text-primary); }
.tool-link-text { color: var(--text-muted); }
.tool-icon-wrap { background: var(--bg-input); }
.group-header { background: linear-gradient(90deg, var(--accent-light), transparent); }
.group-name { color: var(--text-primary); }
.group-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; display: inline-block; }

/* 专题卡 */
.topic-card-link:hover { box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16), 0 0 24px rgba(8, 145, 178, 0.2); }
.topic-more-btn { background: var(--accent-light); }

/* ===== 分页 ===== */
.pg-btn { background: var(--bg-card); color: var(--text-secondary); border-color: var(--border); }
.pg-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-light); }
.pg-btn.active { background: var(--accent-grad); color: #fff; box-shadow: 0 2px 12px var(--accent-glow); }
.pg-info { color: var(--text-muted); }

/* ===== 详情页按钮发光 ===== */
.gd-dl-btn { box-shadow: 0 4px 18px var(--accent-glow); }

/* ===== 专题列表页（all-topic-*） ===== */
.all-topics-page { padding: 28px 20px 48px; max-width: var(--max-width); margin: 0 auto; }
.all-topics-header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.all-topics-header h1 { font-size: 26px; font-weight: 800; color: var(--text-primary); }
.all-topics-back { color: var(--accent); font-weight: 600; font-size: 14px; }
.all-topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.all-topic-card {
    position: relative; display: block; border-radius: var(--radius-md); overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border); text-decoration: none; color: inherit;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}
.all-topic-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: 0 14px 38px rgba(15, 23, 42, 0.14), 0 0 22px var(--accent-glow); }
.all-topic-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.all-topic-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.all-topic-card:hover .all-topic-img-wrap img { transform: scale(1.08); }
.all-topic-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.75)); }
.all-topic-no-cover { aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(135deg, #eef1f8, #f3e8ff); color: var(--text-muted); }
.all-topic-no-icon { font-size: 40px; }
.all-topic-no-label { font-size: 12px; }
.all-topic-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.all-topic-name { font-size: 17px; font-weight: 800; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.all-topic-desc { font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.all-topic-meta { margin-top: 4px; }
.all-topic-count { font-size: 12px; color: #fff; background: rgba(139, 92, 246, 0.55); padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); }
.all-topics-empty { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.all-topics-empty-icon { font-size: 56px; margin-bottom: 14px; }

/* ============================================================
   游戏首页专用组件（index_safe.php）
   ============================================================ */
.g-wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Hero */
.g-hero { position: relative; padding: 72px 20px 56px; text-align: center; overflow: hidden; }
.g-hero-badge {
    display: inline-block; padding: 6px 16px; border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 999px; color: var(--accent); font-size: 12px; letter-spacing: 2px;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    background: var(--accent-light); box-shadow: inset 0 0 18px rgba(139, 92, 246, 0.1); margin-bottom: 22px;
}
.g-hero h1 {
    font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.12; margin: 0 0 14px;
    color: var(--text-primary);
}
.g-hero h1 .grad {
    background: linear-gradient(90deg, #7c3aed, #0891b2, #ec4899, #7c3aed); background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: g-flow 6s linear infinite;
    filter: drop-shadow(0 3px 12px rgba(139, 92, 246, 0.25));
}
.g-hero p { color: var(--text-secondary); margin: 0 auto 28px; max-width: 560px; font-size: 17px; }
.g-search { display: flex; max-width: 560px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); transition: border-color .2s, box-shadow .2s; }
.g-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14), 0 8px 28px var(--accent-glow); }
.g-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); padding: 16px 20px; font-size: 16px; }
.g-search input::placeholder { color: var(--text-muted); }
.g-search button { background: var(--accent-grad); border: none; color: #fff; padding: 0 28px; font-size: 16px; font-weight: 700; }
.g-stats { display: flex; justify-content: center; gap: 40px; margin-top: 34px; color: var(--text-muted); font-size: 14px; flex-wrap: wrap; }
.g-stats b { display: block; font-size: 28px; color: var(--text-primary); font-weight: 800; font-family: 'Orbitron', 'Rajdhani', sans-serif; text-shadow: 0 2px 12px rgba(139, 92, 246, 0.2); }

/* 区块 */
.g-section { margin: 54px auto; }
.g-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.g-section-head h2 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 12px; color: var(--text-primary); }
.g-section-head h2::before { content: ''; width: 5px; height: 24px; border-radius: 3px; background: var(--accent-grad); box-shadow: var(--accent-glow); }
.g-section-head a { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 700; }
.g-section-head a:hover { text-shadow: 0 0 12px var(--accent-glow); }

/* 轮播 */
.g-carousel { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #0f172a; }
.g-slides { display: flex; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.g-slide { min-width: 100%; position: relative; aspect-ratio: 21/8; background: #0f172a; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 8%, rgba(15, 23, 42, 0.2) 55%, transparent); }
.g-slide-info { position: absolute; left: 38px; bottom: 30px; z-index: 2; max-width: 62%; }
.g-slide-info .tag { display: inline-block; padding: 4px 12px; border-radius: 6px; background: rgba(139, 92, 246, 0.85); color: #fff; font-size: 12px; margin-bottom: 12px; letter-spacing: 1px; }
.g-slide-info h3 { font-size: 28px; font-weight: 800; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); margin: 0 0 6px; }
.g-slide-info p { color: rgba(255, 255, 255, 0.85); margin: 0 0 16px; font-size: 14px; }
.g-btn { display: inline-block; padding: 12px 26px; border-radius: 12px; border: none; font-weight: 700; font-size: 15px; color: #fff; background: var(--accent-grad); text-decoration: none; position: relative; overflow: hidden; box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4); transition: transform .15s, box-shadow .2s; will-change: transform; }
.g-btn:hover { box-shadow: 0 10px 30px rgba(139, 92, 246, 0.55); }
.g-car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(15, 23, 42, 0.5); color: #fff; font-size: 20px; backdrop-filter: blur(6px); transition: border-color .2s, box-shadow .2s, background .2s; }
.g-car-btn:hover { border-color: #fff; background: rgba(15, 23, 42, 0.7); box-shadow: 0 0 18px rgba(139, 92, 246, 0.5); }
.g-car-btn.prev { left: 16px; } .g-car-btn.next { right: 16px; }
.g-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.g-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); cursor: pointer; transition: all .2s; }
.g-dots i.on { width: 24px; border-radius: 6px; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); }

/* 游戏卡片网格 */
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.g-card {
    position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
    overflow: hidden; text-decoration: none; color: inherit; transform-style: preserve-3d;
    transition: border-color .25s, box-shadow .25s; will-change: transform;
}
.g-card:hover { border-color: var(--border-hover); box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16), 0 0 26px var(--accent-glow); }
.g-card .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.g-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.g-card:hover .thumb img { transform: scale(1.08); }
.g-card .thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.65)); }
.g-card .size { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 3px 10px; border-radius: 8px; font-size: 11px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--border); color: var(--text-secondary); }
.g-card .g-body { padding: 14px 16px 16px; position: relative; z-index: 2; }
.g-card .g-body h4 { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.g-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.g-chip { padding: 3px 10px; border-radius: 999px; font-size: 11px; color: var(--accent); border: 1px solid rgba(139, 92, 246, 0.3); background: var(--accent-light); }

/* 软件工具带 */
.g-band { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.g-tool { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 14px; text-align: center; text-decoration: none; color: var(--text-primary); box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s, box-shadow .2s; }
.g-tool:hover { transform: translateY(-6px); border-color: rgba(16, 185, 129, 0.5); box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12), 0 0 22px rgba(16, 185, 129, 0.18); }
.g-tool .ic { height: 40px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; font-size: 32px; }
.g-tool .ic .sp-icon { display: inline-block; }
.g-tool b { font-size: 14px; color: var(--text-primary); }
.g-tool small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 4px; }

/* 声明 */
.g-statement { max-width: 900px; margin: 20px auto 50px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 14px; font-size: 13px; color: var(--text-secondary); line-height: 2; background: var(--bg-card); }
.g-statement strong { color: var(--text-primary); }

/* ============================================================
   游戏详情留言模块 (.gc-*)
   ============================================================ */
.gc-section { margin-top: 36px; border-top: 1px solid var(--border); padding-top: 28px; }
.gc-title { font-size: 20px; font-weight: 800; color: var(--text-primary); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.gc-title::before { content: ''; width: 4px; height: 22px; background: var(--accent); border-radius: 2px; }
.gc-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.gc-row { display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.gc-row input, .gc-row textarea {
    background: var(--bg-input); border: 1px solid var(--border); border-radius: 10px;
    color: var(--text-primary); padding: 11px 14px; font-size: 14px; font-family: inherit; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.gc-row input:focus, .gc-row textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14); }
.gc-row input { width: 220px; }
.gc-row textarea { flex: 1; min-width: 100%; min-height: 90px; resize: vertical; }
.gc-submit { padding: 11px 28px; border-radius: 10px; background: var(--accent-grad); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--accent-glow); transition: filter .2s, transform .15s; }
.gc-submit:hover { filter: brightness(1.06); }
.gc-hp { display: none; }
.gc-msg { font-size: 13px; margin-bottom: 12px; }
.gc-msg.ok { color: #059669; }
.gc-msg.err { color: #dc2626; }
.gc-list { display: flex; flex-direction: column; gap: 14px; }
.gc-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
.gc-item-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gc-nick { font-weight: 700; color: var(--accent); font-size: 14px; }
.gc-reply { margin-top: 12px; padding: 12px 14px; background: var(--accent-light); border: 1px solid rgba(139, 92, 246, 0.18); border-left: 3px solid var(--accent); border-radius: 10px; }
.gc-reply-tag { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.gc-reply-content { font-size: 14px; color: var(--text-secondary); line-height: 1.7; word-break: break-word; }
.gc-time { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.gc-content { font-size: 14px; color: var(--text-secondary); line-height: 1.8; word-break: break-word; }
.gc-empty { text-align: center; color: var(--text-muted); padding: 30px; font-size: 14px; }

/* ===== 滚动 reveal + 涟漪 ===== */
/* 默认可见，JS 启用后才做入场动画（防止无 JS 时内容消失） */
.reveal { opacity: 1; transform: none; }
html.js-gaming .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
html.js-gaming .reveal.in { opacity: 1; transform: none; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.6); transform: scale(0); animation: g-rip .6s ease-out; pointer-events: none; }
@keyframes g-rip { to { transform: scale(4); opacity: 0; } }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .g-hero { padding: 48px 16px 40px; }
    .g-slide-info { left: 18px; bottom: 16px; max-width: 82%; }
    .g-slide-info h3 { font-size: 20px; }
    .g-stats { gap: 22px; }
    .g-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .all-topics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gc-row input { width: 100%; }
}
@media (max-width: 480px) {
    .g-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .g-band { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .all-topics-grid { grid-template-columns: 1fr; }
    .g-slide { aspect-ratio: 16/9; }
}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
