/* ============================================================
   LCQ 乱斗答题库 — 严格参考 Supercell Brawl Stars 收件箱风格
   参考 https://brawlstars.inbox.supercell.com/en/#news
   关键视觉特征：
     · 页面底色：亮蓝 Brawl 蓝 (#0252cc)
     · 标题/按钮文字：Lilita One 大写下三角形圆体，黑色描边 + 黑投影（签名式勾边字）
     · 卡片：深灰底、1px 黑边、顶部亮内高光 + 底部深内影 + 硬黑下落投影的 3D 立体卡片
     · 按钮：蓝/绿渐变 + 黑边 + 上下内阴影 + 硬外投影 的立体按键
   ============================================================ */
@font-face {
    font-family: 'Lilita One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('./fonts/lilita-one.woff2') format('woff2');
}
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('./fonts/nunito-semibold.woff2') format('woff2');
}

:root {
    /* Brawl 品牌色 */
    --brawl-blue: #0252cc;          /* rgb(2,82,204) 页面底 */
    --brawl-blue-deep: #0140a3;
    --brawl-blue-dark: #012e7a;
    --brawl-blue-lite: #2c7cf0;

    --brawl-black: #000;
    --brawl-white: #ffffff;

    /* 参考站卡片/面板用色(深配, 不刺眼, 对齐原站) */
    --brawl-card: #1b2133;        /* 深蓝卡片 */
    --brawl-card-lite: #252c41;
    --brawl-card-deep: #141a2a;
    --brawl-panel: #262d3f;       /* 选项/按钮面板 */

    /* 强调色对齐原站 */
    --brawl-orange: #ffab18;       /* 参考 --color-brawl-orange */
    --brawl-orange-deep: #e8890a;
    --brawl-red: #f11013;          /* 参考 --color-brawl-live-red */
    --brawl-red-deep: #a80c0e;
    --brawl-green: #3fae4a;
    --brawl-green-deep: #2c8c3f;

    /* 旧引用颜色名 → 对齐橙色强调色 */
    --brawl-yellow: var(--brawl-orange);
    --brawl-yellow-deep: var(--brawl-orange-deep);

    --text-dim: rgba(255, 255, 255, 0.70);
    --text-inactive: #b3bccc;      /* 参考非激活态文字色 rgb(178,189,204) */

    /* 描边文字: 不用 -webkit-text-stroke(移动端会把文字涂成全黑/描边过粗),
       改用 em 比例的 8 向 text-shadow 描边 + 连续实心阶梯投影, 兼容所有浏览器。
       --ol       = 细黑勾边(比字身本身细很多)
       --extrude-*= 底部连续多级实心填充 => 真正带厚度的立体字嗓(无断档) */
    --ol: /* 四角 */ 0.045em  0.045em 0 #000,  0.045em -0.045em 0 #000,
                    -0.045em  0.045em 0 #000, -0.045em -0.045em 0 #000,
          /* 横竖 */ 0.065em  0        0 #000, -0.065em  0        0 #000,
                     0        0.065em  0 #000,  0       -0.065em  0 #000;
    /* 标题级立体：多重连续实心, 形成连贯的厚字身(间隙0.06em 无断档) */
    --extrude-title: 0 0.06em 0 #000, 0 0.12em 0 #000, 0 0.18em 0 #000,
                     0 0.24em 0 #000, 0 0.30em 0 #000;
    /* 小字/按钮级立体：三级连续实心 */
    --extrude-sm:    0 0.06em 0 #000, 0 0.12em 0 #000, 0 0.18em 0 #000;

    --radius: 12px;
    --font-title: 'Lilita One', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-body: 'Nunito', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--brawl-white);
    background:
        radial-gradient(1200px 600px at 50% -8%, rgba(90, 180, 255, 0.28) 0%, transparent 55%),
        radial-gradient(900px 500px at 90% 110%, rgba(160, 90, 255, 0.22) 0%, transparent 50%),
        var(--brawl-blue);
    background-attachment: fixed;
    min-height: 100vh;
    isolation: isolate;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

/* ---- 参考站同款动态背景：柔和的顶部/四周光晕呼吸(不着瓦片印花) ---- */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 45% at 50% 12%, rgba(255, 255, 255, 0.10) 0%, transparent 60%),
        radial-gradient(50% 40% at 85% 92%, rgba(255, 200, 80, 0.08) 0%, transparent 60%),
        radial-gradient(45% 40% at 10% 88%, rgba(140, 210, 255, 0.08) 0%, transparent 60%);
    animation: glowDrift 12s ease-in-out infinite alternate;
}
@keyframes glowDrift {
    0%   { opacity: 0.7; transform: translate(0, 0); }
    100% { opacity: 1;   transform: translate(0, -14px); }
}

button { font-family: var(--font-title); }
.hidden { display: none !important; }

/* ---- 签名式描边标题字(参考站的 ._title 描边 + 实心立体) ---- */
.title-font {
    font-family: var(--font-title);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brawl-white);
    text-shadow: var(--ol), var(--extrude-title);
}
.title-font.dark {
    color: var(--brawl-black);
    text-shadow: none;
}
.title-font.yellow { color: var(--brawl-yellow); }

/* ===================== 顶部标题 ===================== */
.hero {
    padding: 36px 20px 30px;
    text-align: center;
    position: relative;
}
.hero-inner { position: relative; }
.hero-logo {
    display: block;
    margin: 0 auto 18px;
    width: min(42vw, 300px);
    height: auto;
    max-height: 132px;
    object-fit: contain;
    filter: drop-shadow(0 4px 0 rgba(0,0,0,0.28)) drop-shadow(0 10px 18px rgba(0,0,0,0.35));
    animation: heroFloat 4.5s ease-in-out infinite;
}
/* 参考站风格：logo 轻微上下浮动，增加顶部活力 */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-logo { animation: none; }
}
.hero-stats {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 15px;
    letter-spacing: 0.5px;
    color: var(--brawl-white);
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(0,0,0,0.30));
    border: 1px solid var(--brawl-black);
    border-radius: 999px;
    text-shadow: var(--ol), var(--extrude-sm);
    line-height: 1.2;
    box-shadow:
        inset 0 2px rgba(255,255,255,0.20),
        inset 0 -4px rgba(0,0,0,0.38),
        0 3px 0 rgba(0,0,0,0.25);
    padding: 9px 22px;
}
.hero-stats b { color: var(--brawl-yellow-deep); }

/* ===================== 分段导航 ===================== */
.tabs-wrap {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(0, 46, 122, 0.92);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(0,0,0,0.4);
    border-bottom: 2px solid rgba(0,0,0,0.6);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}
.tabs {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.tab {
    border: 1px solid var(--brawl-black);
    background: linear-gradient(180deg, var(--brawl-panel), var(--brawl-card-deep));
    color: var(--brawl-white);
    border-radius: var(--radius);
    box-shadow: inset 0 3px rgba(255,255,255,0.14), inset 0 -5px rgba(0,0,0,0.28), 0 3px #04000066;
    font-size: 15px;
    padding: 12px 26px;
    cursor: pointer;
    transition: transform 0.08s, filter 0.12s;
    text-shadow: var(--ol), var(--extrude-sm);
}
.tab:hover { filter: brightness(1.15); }
.tab:active { transform: translateY(2px); }
.tab.active {
    background: linear-gradient(180deg, var(--brawl-orange), var(--brawl-orange-deep), #b07100);
    box-shadow: inset 0 3px rgba(255,255,255,0.4), inset 0 -5px rgba(0,0,0,0.28), 0 3px #04000066;
    color: var(--brawl-white);
    text-shadow: var(--ol), var(--extrude-sm);
}

/* ===================== 布局 ===================== */
.app {
    max-width: 880px;
    margin: 26px auto 46px;
    padding: 0 16px;
}
.tab-panel { display: none; animation: fadeIn 0.25s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- 立体卡片(参考 .article) ---- */
.card {
    background: linear-gradient(180deg, var(--brawl-card-lite), var(--brawl-card));
    border: 1px solid var(--brawl-black);
    border-radius: var(--radius);
    box-shadow:
        inset 0 3px rgba(255, 255, 255, 0.16),
        inset 0 -8px rgba(0, 0, 0, 0.30),
        0 4px #04000066;
    padding: 24px;
}
.card-title {
    font-family: var(--font-title);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 18px;
    color: var(--brawl-white);
    text-shadow: var(--ol), var(--extrude-title);
}

/* ===================== 按钮系统 ===================== */
.btn {
    border: 1px solid var(--brawl-black);
    border-radius: 10px;
    font-weight: 400;
    cursor: pointer;
    padding: 12px 24px;
    font-size: 16px;
    color: var(--brawl-white);
    text-shadow: var(--ol), var(--extrude-sm);
    transition: filter 0.1s, transform 0.06s;
}
.btn:hover:not(:disabled) { filter: brightness(1.08); }
.btn:active:not(:disabled) { transform: translateY(2px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }

/* 次要按钮(参考 brawl 深灰蓝面板) */
.btn-primary {
    background: linear-gradient(180deg, #39476b, #2a3550 50%, #1d2740);
    box-shadow: inset 0 3px rgba(255,255,255,0.16), inset 0 -6px rgba(0,0,0,0.32), 0 3px #04000066;
}
/* 主操作按钮: 参考站橙色 CTA */
.btn-go {
    background: linear-gradient(180deg, var(--brawl-orange) 0%, var(--brawl-orange-deep) 55%, #b07100);
    box-shadow: inset 0 3px rgba(255,255,255,0.35), inset 0 -6px rgba(0,0,0,0.32), 0 3px #04000066;
}
/* 灰色辅助 */
.btn-ghost {
    background: linear-gradient(180deg, var(--brawl-panel), var(--brawl-card-deep));
    box-shadow: inset 0 3px rgba(255,255,255,0.14), inset 0 -6px rgba(0,0,0,0.3), 0 3px #04000066;
}
/* 蓝色信息按钮(反馈 / 贡献链接) */
.btn-info {
    background: linear-gradient(180deg, #2c7cf0 0%, #1a5fd0 55%, #12479e);
    box-shadow: inset 0 3px rgba(255,255,255,0.35), inset 0 -6px rgba(0,0,0,0.32), 0 3px #04000066;
}
a.btn { text-decoration: none; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 18px; }

/* ===================== 设置 ===================== */
.setup-card { max-width: 560px; margin: 0 auto; }
.setup-row { margin-bottom: 22px; }
.setup-label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dim);
    font-size: 15px;
    letter-spacing: 0.5px;
}
.slider-row { display: flex; align-items: center; gap: 14px; }
.slider-row input[type="range"] { flex: 1; min-width: 0; accent-color: var(--brawl-yellow); cursor: pointer; }
.slider-row b { font-family: var(--font-title); font-size: 28px; font-weight: 400; color: var(--brawl-yellow); min-width: 44px; text-align: center; text-shadow: var(--ol), var(--extrude-title); }
.slider-row .unit { color: var(--text-dim); font-weight: 700; }
.hint { color: var(--text-dim); font-size: 13px; margin-top: 8px; }
.check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-weight: 700;
    cursor: pointer;
}
.check input { accent-color: var(--brawl-yellow); width: 18px; height: 18px; }

/* ===================== 答题进行 ===================== */
.test-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.progress-label, .score-label {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 400;
    color: var(--brawl-white);
    text-shadow: var(--ol), var(--extrude-sm);
}
.score-label { color: var(--brawl-yellow); }
.progress-track {
    height: 14px;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--brawl-black);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: inset 0 3px rgba(0,0,0,0.4), inset 0 -2px rgba(255,255,255,0.1);
}
.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(180deg, var(--brawl-orange), var(--brawl-orange-deep));
    border-radius: 20px;
    box-shadow: inset 0 2px rgba(255,255,255,0.5);
    transition: width 0.3s;
}
.question-card { min-height: 300px; display: flex; flex-direction: column; }
.q-badge {
    align-self: flex-start;
    font-family: var(--font-title);
    font-size: 13px;
    color: #fff;
    background: linear-gradient(180deg, var(--brawl-green), var(--brawl-green-deep));
    border: 1px solid var(--brawl-black);
    border-radius: 20px;
    box-shadow: inset 0 2px rgba(255,255,255,0.35), inset 0 -3px rgba(0,0,0,0.25), 0 2px #04000066;
    padding: 4px 16px;
    margin-bottom: 16px;
    text-shadow: var(--ol), var(--extrude-sm);
}
.q-text {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 22px;
    color: var(--brawl-white);
    text-shadow: var(--ol), var(--extrude-title);
}

.answer-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.answer-list button {
    text-align: left;
    padding: 15px 18px;
    background: linear-gradient(180deg, var(--brawl-panel), var(--brawl-card-deep));
    border: 1px solid var(--brawl-black);
    border-radius: 10px;
    box-shadow: inset 0 3px rgba(255,255,255,0.14), inset 0 -6px rgba(0,0,0,0.28), 0 3px #04000066;
    font-size: 16px;
    font-weight: 700;
    color: var(--brawl-white);
    cursor: pointer;
    transition: all 0.12s;
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
.answer-list button .ol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(255,255,255,0.16);
    margin-right: 14px;
    font-family: var(--font-title);
    font-size: 15px;
    text-shadow: var(--ol), var(--extrude-sm);
}
.answer-list button:hover:not(:disabled) { filter: brightness(1.15); }
.answer-list button.selected {
    background: linear-gradient(180deg, #2c4a7a, #16305a);
    box-shadow: inset 0 3px rgba(255,255,255,0.18), inset 0 -6px rgba(0,0,0,0.3), 0 3px #04000066;
}
.answer-list button.selected .ol { background: rgba(255,255,255,0.2); }
.answer-list button:disabled { cursor: default; }
.answer-list button.correct {
    background: linear-gradient(180deg, #2f9b41, var(--brawl-green-deep) 60%, #1c6527);
    box-shadow: inset 0 3px rgba(255,255,255,0.18), inset 0 -6px rgba(0,0,0,0.3), 0 3px #04000066;
}
.answer-list button.wrong {
    background: linear-gradient(180deg, #d83a3c, var(--brawl-red) 55%, #7a0c0e);
    box-shadow: inset 0 3px rgba(255,255,255,0.18), inset 0 -6px rgba(0,0,0,0.3), 0 3px #04000066;
}
.answer-list button.neutral:disabled { opacity: 0.5; }

/* 底部确认条 */
.action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.action-feedback {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 400;
    color: var(--brawl-white);
    text-shadow: var(--ol), var(--extrude-sm);
}
.action-feedback.fb-ok { color: #8ef29a; }
.action-feedback.fb-no { color: #ffb0b7; }
.action-buttons { display: flex; gap: 12px; }

/* ===================== 结果 ===================== */
.result-card { text-align: center; }
.result-score-wrap { margin: 10px 0 6px; }
.result-big {
    font-family: var(--font-title);
    font-size: 64px;
    font-weight: 400;
    color: var(--brawl-yellow);
    text-shadow: var(--ol), var(--extrude-title);
    line-height: 1;
    display: block;
}
.result-sub {
    color: var(--text-dim);
    font-weight: 700;
    font-size: 18px;
}
.result-msg {
    color: #8ed6ff;
    font-weight: 700;
    margin: 8px 0 20px;
    font-size: 16px;
}
.result-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.review-list { margin-top: 24px; text-align: left; }
.review-card {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--brawl-black);
    border-radius: 10px;
    box-shadow: inset 0 2px rgba(255,255,255,0.08), inset 0 -4px rgba(0,0,0,0.2);
    padding: 14px 16px;
    margin-bottom: 12px;
}
.review-card .r-q {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    text-shadow: var(--ol), var(--extrude-sm);
}
.review-card .r-line {
    padding: 4px 8px;
    margin: 4px 0;
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 14px;
}
.review-card .r-line.r-correct { background: rgba(0,163,73,0.35); color: #8ef29a; font-weight: 700; }
.review-card .r-line.r-wrong { background: rgba(230,57,70,0.35); color: #ffb0b7; font-weight: 700; }
.review-card .r-yours { color: var(--text-dim); font-size: 13px; margin-top: 8px; border-top: 1px dashed rgba(255,255,255,0.15); padding-top: 6px; }
.review-row { display: flex; align-items: baseline; gap: 6px; }

/* ===================== 题库 / 卡片 ===================== */
.browse-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.count-label {
    font-family: var(--font-title);
    color: var(--brawl-yellow);
    font-size: 15px;
    text-shadow: var(--ol), var(--extrude-sm);
}
.card-list { display: flex; flex-direction: column; gap: 14px; }

.quiz-card {
    background: linear-gradient(180deg, var(--brawl-card-lite), var(--brawl-card));
    border: 1px solid var(--brawl-black);
    border-radius: var(--radius);
    box-shadow:
        inset 0 3px rgba(255, 255, 255, 0.16),
        inset 0 -8px rgba(0, 0, 0, 0.30),
        0 4px #04000066;
    padding: 18px 20px;
}
.quiz-card { position: relative; }
/* 有问题的题：题干右侧预留感叹号按钮空间 */
.quiz-card.has-issue .q-title-row { padding-right: 30px; }
.issue-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #5e0707;
    background: linear-gradient(180deg, #f8333a, #c70f16 70%, #8a0709);
    box-shadow: inset 0 2px rgba(255,255,255,0.35), 0 2px #04000066;
    color: var(--brawl-white);
    font-family: var(--font-title);
    font-size: 17px;
    font-weight: 700;
    text-shadow: var(--ol), 0 0.12em 0 #000;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.08s, filter 0.12s;
    z-index: 3;
}
.issue-btn:hover { filter: brightness(1.15); transform: scale(1.06); }
.issue-btn:active { transform: scale(0.94); }
.issue-note {
    position: absolute;
    top: 46px;
    right: 12px;
    max-width: 300px;
    z-index: 4;
    display: none;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--brawl-black);
    background: linear-gradient(180deg, #fff7f3, #ffebe1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.45), inset 0 2px rgba(255,255,255,0.6);
    color: #000;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    white-space: pre-line;
    text-align: left;
}
.issue-note .note-lead {
    color: #c70f16;
    font-weight: 700;
}
.issue-note .note-body {
    color: #000;
    font-weight: 600;
    margin-top: 4px;
    white-space: pre-line;
}
.issue-note.open { display: block; }
/* 答题界面的异议题横幅：静态展示在卡片内 */
.issue-note.answer-banner {
    position: static;
    display: block;
    margin-top: 14px;
    max-width: none;
}
.quiz-card .q-title-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
}
.quiz-card .q-title-row .q-id {
    flex: 0 0 auto;
    line-height: 1;
    margin-top: 0;   /* 与题目首行文字顶部对齐 */
}
.q-id {
    font-family: var(--font-title);
    font-size: 12px;
    color: var(--brawl-orange);
    text-shadow: var(--ol), var(--extrude-sm);
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--brawl-black);
    border-radius: 20px;
    padding: 5px 12px;
}
.q-id.cor { color: #7ef29a; }
/* 题库题目: 加粗描边保证可读, 去掉过重的立体投影 */
.quiz-card .q-text {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.22;
    color: var(--brawl-white);
    text-shadow: var(--ol), var(--extrude-sm);
}
/* 选项: 统一一行两个, 避免文字长时换行错位 */
.q-answers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}
.answer-chip {
    display: flex;
    align-items: flex-start;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(0,0,0,0.45);
    box-shadow: inset 0 2px rgba(255,255,255,0.08), inset 0 -3px rgba(0,0,0,0.2);
    font-size: 14px;
    line-height: 1.3;
    color: var(--text-dim);
}
.answer-chip.correct {
    background: rgba(0,163,73,0.35);
    border-color: var(--brawl-green);
    color: #7cf29a;
    font-weight: 700;
}
.correct-line { margin-top: 12px; color: #7cf29a; font-size: 14px; font-weight: 700; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 22px 0; flex-wrap: wrap; }
.pagination button {
    border: 1px solid var(--brawl-black);
    background: linear-gradient(180deg, var(--brawl-panel), var(--brawl-card-deep));
    border-radius: 8px;
    box-shadow: inset 0 2px rgba(255,255,255,0.12), inset 0 -4px rgba(0,0,0,0.25), 0 2px #04000066;
    font-family: var(--font-title);
    font-size: 14px;
    padding: 8px 14px;
    color: var(--brawl-white);
    cursor: pointer;
    text-shadow: var(--ol), var(--extrude-sm);
}
.pagination button:hover:not([disabled]) { filter: brightness(1.15); }
.pagination button[disabled] { opacity: 0.4; cursor: not-allowed; }
.pagination button.active {
    background: linear-gradient(180deg, var(--brawl-yellow), var(--brawl-yellow-deep));
    color: #4a2e00;
    text-shadow: none;
}
.pagination .dots { color: var(--text-dim); align-self: center; padding: 0 4px; font-family: var(--font-title); }

/* 搜索 */
.search-box { display: flex; gap: 10px; margin-bottom: 12px; }
.search-box input {
    flex: 1;
    padding: 13px 18px;
    background: rgba(255,255,255,0.10);
    border: 1px solid var(--brawl-black);
    border-radius: 10px;
    box-shadow: inset 0 3px rgba(0,0,0,0.25), inset 0 -2px rgba(255,255,255,0.08);
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--brawl-white);
}
.search-box input::placeholder { color: var(--text-dim); }
.search-box input:focus { outline: 2px solid var(--brawl-yellow); background: rgba(255,255,255,0.16); }
.search-desc { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; }

.empty-tip { color: var(--text-dim); text-align: center; padding: 46px 0; font-size: 15px; }

.footer {
    text-align: center;
    color: var(--text-dim);
    padding: 28px 16px 40px;
    font-size: 13px;
    letter-spacing: 0.2px;
    opacity: 0.92;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer .credit-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.footer-note {
    max-width: 560px;
    line-height: 1.7;
}
.footer-copy {
    color: var(--text-inactive);
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* ===================== 响应式 ===================== */
@media (max-width: 640px) {
    .tabs { gap: 6px; padding: 8px 12px; }
    .tab { flex: 1; min-width: 0; padding: 11px 10px; font-size: 13px; }
    .card { padding: 18px; }
    .q-text { font-size: 19px; }
    .result-big { font-size: 50px; }
    .result-btns { flex-direction: column; }
    .result-btns .btn { width: 100%; }
}