/* 学霸星球·英语听力王 —— 视觉对齐「数学题霸」设计语言
   灰蓝紫渐变底 · 蓝紫渐变主按钮 · 毛玻璃白卡 · 渐变竖条标题 */
:root {
  --brand: #1f5fd6;
  --brand-dark: #1d4ed8;
  --brand-soft: #eef4ff;
  --violet: #8b5cf6;
  --grad: linear-gradient(135deg, #1f5fd6, #8b5cf6);
  --grad-btn: linear-gradient(135deg, #1f5fd6, #3b82f6);
  --bg: #eef1f5;
  --card: #ffffff;
  --text: #1a1d21;
  --muted: #8b9199;
  --sub: #4b5563;
  --line: #e5e7eb;
  --danger: #e11d48;
  --warn: #f59e0b;
  --radius: 14px;
  --shadow: 0 4px 28px rgba(16,24,40,.07), 0 1px 4px rgba(16,24,40,.04);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font: 15px/1.6 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
  background: linear-gradient(165deg, #e3edfd 0%, #ece7fc 48%, #e4f0fd 100%);
  background-attachment: fixed;
  color: var(--text);
}
/* 背景装饰光晕：左上蓝、右下紫，让页面有"品牌色氛围"而不是白板 */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 360px at 12% -4%, rgba(31,95,214,.14), transparent 62%),
    radial-gradient(640px 420px at 96% 30%, rgba(139,92,246,.12), transparent 65%),
    radial-gradient(520px 380px at 50% 108%, rgba(59,130,246,.10), transparent 60%);
}
#app { max-width: 640px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.hidden { display: none !important; }

/* 顶栏 */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(229,231,235,.8); box-shadow: 0 2px 12px rgba(16,24,40,.04); }
.topbar-title { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; letter-spacing: -.2px; min-width: 0; }
.topbar-title span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logo-dot { width: 27px; height: 27px; border-radius: 9px; background: var(--grad); box-shadow: 0 3px 8px rgba(31,95,214,.35); flex: none; position: relative; }
.logo-dot::after { content: '听'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 800; }
.icon-btn { border: none; background: none; font-size: 20px; line-height: 1; padding: 6px 10px; border-radius: 10px; cursor: pointer; color: var(--text); }
.icon-btn:active { background: rgba(31,95,214,.08); }
.view { flex: 1; padding: 14px 14px 90px; }
.foot { position: fixed; bottom: 0; left: 0; right: 0; max-width: 640px; margin: 0 auto; display: flex; justify-content: space-between; padding: 8px 16px; font-size: 12px; color: var(--muted); background: rgba(238,241,245,.92); backdrop-filter: blur(8px); }
.foot a { color: var(--brand); text-decoration: none; font-weight: 600; }
.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); background: rgba(15,20,28,.92); color: #fff; padding: 9px 16px; border-radius: 10px; font-size: 14px; z-index: 300; max-width: 80%; box-shadow: 0 8px 24px rgba(15,20,28,.3); }

/* 通用卡片：毛玻璃白卡 + 柔和大阴影 */
.card { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(229,231,235,.8); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.card h2 { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.card h3::before { content: ''; width: 3px; height: 14px; border-radius: 2px; background: var(--grad); flex: none; }
.sub { color: var(--muted); font-size: 13px; }

/* 首页 hero：蓝紫渐变大卡（首屏品牌锚点）+ 白字数据胶囊 */
.hero { text-align: left; background: linear-gradient(135deg, #1f5fd6 0%, #6d4fd8 55%, #8b5cf6 100%); border: none; color: #fff; box-shadow: 0 10px 30px rgba(31,95,214,.30); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -46px; top: -46px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.10); }
.hero::before { content: ''; position: absolute; right: 34px; bottom: -58px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.07); }
.hero h2 { font-size: 23px; margin-bottom: 8px; color: #fff; letter-spacing: -.3px; position: relative; z-index: 1; }
.hero .hero-bar { width: 72px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.85); margin-bottom: 12px; position: relative; z-index: 1; }
.hero .sub { color: rgba(255,255,255,.88); line-height: 1.8; position: relative; z-index: 1; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; position: relative; z-index: 1; }
.hchip { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.30); border-radius: 999px; padding: 4px 12px; font-size: 12px; color: #fff; backdrop-filter: blur(4px); }
.hchip b { font-size: 14px; color: #fff; margin-right: 2px; font-weight: 800; }

/* 首页年级格 */
.grade-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grade-card { position: relative; overflow: hidden; background: rgba(255,255,255,.92); border: 1px solid rgba(229,231,235,.9); border-radius: var(--radius); padding: 16px 14px 14px; text-align: center; box-shadow: var(--shadow); cursor: pointer; transition: .15s; }
.grade-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3.5px; background: var(--grad); opacity: .9; }
.grade-card:hover { border-color: #a5c0ea; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31,95,214,.16); }
.grade-card:active { border-color: var(--brand); }
.grade-card.locked { opacity: .55; cursor: not-allowed; }
.grade-card.locked::before { background: #cbd2dc; }
.grade-card.locked .g-ico { background: #c7cdd6; box-shadow: none; }
.grade-card.locked .g-badge { background: #eef0f2; color: var(--muted); box-shadow: none; }
.g-ico { width: 42px; height: 42px; margin: 0 auto 9px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(31,95,214,.28); }
.grade-card .g-name { font-weight: 800; font-size: 16px; }
.grade-card .g-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.grade-card .g-badge { display: inline-block; margin-top: 9px; font-size: 11px; background: var(--grad-btn); color: #fff; border: none; padding: 4px 13px; border-radius: 999px; font-weight: 600; box-shadow: 0 2px 6px rgba(31,95,214,.25); }
@media (min-width: 560px) { .grade-grid { grid-template-columns: repeat(3, 1fr); } }
/* v0.12.16 右下角双浮窗已取消（家族四站统一老板令）：客服/渠道入口收进左栏底部 sn-foot */

/* ===== 首页营销 hero（对照题霸主站 .hero：浅色光晕底 + 徽标 + 渐变标题 + 统计 + 卖点卡 + 主张 + 价格卡） ===== */
.hero2 { background: radial-gradient(120% 120% at 50% 0%, #eef3ff 0%, #f6f3ff 45%, #fff 100%); border: 1px solid #e3e8f5; border-radius: 20px; padding: 24px 20px 20px; text-align: center; box-shadow: 0 10px 34px rgba(31,95,214,.08); position: relative; overflow: hidden; margin-bottom: 14px; }
.hero2::before { content: ''; position: absolute; top: -70px; right: -40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.16), transparent 70%); }
.hero2::after { content: ''; position: absolute; bottom: -80px; left: -30px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(31,95,214,.13), transparent 70%); }
.hero2 > * { position: relative; z-index: 1; }
.hbadge { display: inline-block; font-size: 11px; letter-spacing: .08em; color: var(--brand); background: #fff; border: 1px solid #d9e4f8; border-radius: 20px; padding: 4px 12px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(31,95,214,.08); }
.hero2 h2 { font-size: 24px; line-height: 1.3; margin: 0 0 10px; letter-spacing: .3px; font-weight: 800; color: var(--text); }
.hero2 h2 b { background: linear-gradient(120deg, #1f5fd6, #8b5cf6 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .hsub { font-size: 13px; color: #5b6472; margin: 0 0 16px; line-height: 1.95; }
.hstat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 auto 14px; max-width: 560px; }
.hstat div { background: rgba(255,255,255,.86); border: 1px solid #e6ecf7; border-radius: 12px; padding: 10px 4px; }
.hstat b { display: block; font-size: 20px; font-weight: 800; color: var(--brand); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hstat span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.hloop { display: flex; gap: 6px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 0 0 16px; }
.hloop b { font-size: 12px; font-weight: 800; color: #1f3a5f; background: #fff; border: 1.5px solid #c7d4ec; border-radius: 99px; padding: 5px 13px; box-shadow: 0 2px 8px rgba(16,24,40,.05); }
.hloop i { font-style: normal; color: var(--brand); font-weight: 900; font-size: 13px; }
.hpts { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 16px; text-align: left; }
.hp { background: #fff; border: 1px solid #e9eef8; border-radius: 14px; padding: 13px 14px; box-shadow: 0 2px 10px rgba(16,24,40,.04); }
.hp .hi { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 7px; }
.hp b { display: block; font-size: 13.5px; color: #1f2b3d; margin-bottom: 4px; }
.hp span { display: block; font-size: 11.5px; color: #6b7280; line-height: 1.75; }
.cred { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 16px; background: linear-gradient(135deg, #f7faff, #fdf8ff); border: 1px solid #e8eefb; border-radius: 12px; padding: 12px 14px; }
.cred-i { text-align: center; }
.cred-t { font-size: 10px; letter-spacing: .18em; color: #94a3b8; margin-bottom: 3px; }
.cred-v { font-size: 12px; color: #334155; font-weight: 600; line-height: 1.5; }
.hbig { margin: 0 0 14px; text-align: center; font-size: 20px; line-height: 1.55; font-weight: 900; letter-spacing: -.3px; color: #7c2d12; background: linear-gradient(135deg, #fff7ed, #ffe4e6); border: 1.5px solid #fecdd3; border-radius: 14px; padding: 14px 16px; box-shadow: 0 10px 26px rgba(225,29,72,.13); }
.hbig b { color: #dc2626; background: linear-gradient(180deg, transparent 58%, #fde68a 58%); padding: 0 3px; border-radius: 3px; animation: bigPulse 1.8s ease-in-out infinite; }
@keyframes bigPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.hbig em { display: inline-block; margin-top: 8px; font-style: normal; font-size: 15px; font-weight: 900; background: linear-gradient(90deg, #1d4ed8, #7c3aed, #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; background-size: 200% auto; }
@keyframes shine { to { background-position: 200% center; } }
.hero2 .price { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; }
.hero2 .price > div { border-radius: 14px; padding: 14px 10px; font-size: 12px; line-height: 1.7; color: #fff; text-align: center; cursor: pointer; transition: .18s; }
.hero2 .price span { display: block; font-size: 11.5px; opacity: .92; }
.hero2 .price b { display: block; font-size: 26px; font-weight: 800; margin: 4px 0 2px; letter-spacing: -.5px; }
.hero2 .price b i { font-size: 12px; font-weight: 500; font-style: normal; opacity: .85; }
.hero2 .price .pj { background: linear-gradient(135deg, #1f5fd6, #3b82f6); box-shadow: 0 8px 20px rgba(31,95,214,.25); }
.hero2 .price .js { background: linear-gradient(135deg, #6d28d9, #a855f7); box-shadow: 0 8px 20px rgba(124,58,237,.25); }
.hero2 .price > div:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31,95,214,.28); }
.hbuy { font-size: 12px; color: #7c2d12; background: #fff8e8; border: 1px solid #f3e3bf; border-radius: 9px; padding: 9px 12px; line-height: 1.8; }
.hbuy b { color: #b45309; letter-spacing: .3px; user-select: all; }
.hcta { margin-top: 10px; font-size: 12px; color: #1e3a8a; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 10px 12px; line-height: 1.8; }
@media (max-width: 480px) {
  .hero2 { padding: 18px 13px 14px; }
  .hero2 h2 { font-size: 19px; }
  .hstat { grid-template-columns: repeat(2, 1fr); }
  .hstat b { font-size: 17px; }
  .cred { grid-template-columns: 1fr; gap: 6px; padding: 10px; }
  .cred-i { text-align: left; display: flex; gap: 8px; align-items: baseline; }
  .cred-t { flex: 0 0 auto; letter-spacing: .1em; }
  .hbig { font-size: 16px; }
}

/* ===== 弹层：微信客服 / 渠道合作（对照题霸 .ov / .ovbox / .cs-*） ===== */
.ov { position: fixed; inset: 0; background: rgba(15,20,28,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: 200; display: none; align-items: flex-start; justify-content: center; padding: 28px 16px; overflow-y: auto; }
.ov.on { display: flex; }
.ovbox { background: #fff; border-radius: 16px; max-width: 420px; width: 100%; padding: 20px 18px; box-shadow: 0 24px 64px rgba(15,20,28,.28); margin: auto; }
.ovbox h3 { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.cs-sub { font-size: 12px; color: #64748b; margin: 0 0 12px; line-height: 1.8; }
.cs-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f7f9fc; border: 1px solid #e6ecf5; border-radius: 9px; padding: 9px 12px; margin: 8px 0; font-size: 13px; }
.cs-row b { user-select: all; }
.cs-form { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 12px; }
.cs-t { font-size: 12px; color: #334155; font-weight: 600; margin-bottom: 8px; }
.cs-form input, .cs-form textarea { width: 100%; border: 1px solid #dbe3ee; border-radius: 8px; padding: 9px 10px; font-size: 13px; margin-bottom: 8px; font-family: inherit; outline: none; background: #fff; color: var(--text); }
.cs-form input:focus, .cs-form textarea:focus { border-color: var(--brand); }
.cs-form textarea { height: 60px; resize: vertical; }
.cs-send { width: 100%; border: none; border-radius: 8px; padding: 11px; background: #07c160; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; }
.cs-send:hover { filter: brightness(1.05); }
.cs-tip { font-size: 10.5px; color: #94a3b8; margin-top: 6px; text-align: center; line-height: 1.7; }
.ag-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #475569; line-height: 1.6; margin: 4px 0; cursor: pointer; }
.ag-agree input { margin-top: 2px; flex: none; accent-color: var(--brand); }
.ovbtn { margin-top: 12px; }
.badge-gray { background: #eef0f2 !important; color: var(--muted) !important; border-color: #e5e7eb !important; }

/* 单元列表 */
.unit-item { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.88); border: 1px solid rgba(229,231,235,.8); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; cursor: pointer; box-shadow: var(--shadow); transition: .12s; }
.unit-item:hover { border-color: #a5c0ea; }
.unit-item:active { background: var(--brand-soft); }
.unit-no { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); border: 1px solid #d7e2f5; color: var(--brand); font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.unit-item .u-t { font-weight: 600; }
.unit-item .u-s { font-size: 12px; color: var(--muted); }
.unit-item .arrow { margin-left: auto; color: #9aa1ab; }

/* 篇目列表 */
.piece-item { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.88); border: 1px solid rgba(229,231,235,.7); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; box-shadow: 0 1px 3px rgba(16,24,40,.05); transition: .12s; }
.piece-item:hover { border-color: #a5c0ea; }
.piece-item:active { background: var(--brand-soft); }
.piece-item .p-idx { font-size: 12px; color: #9aa5b5; font-weight: 600; width: 30px; flex: none; font-variant-numeric: tabular-nums; }
.piece-item .p-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.p-done { color: var(--brand); font-size: 13px; flex: none; }
.p-lock { color: var(--muted); font-size: 13px; flex: none; }

/* 播放器 */
.player-card { position: sticky; top: 56px; z-index: 10; }
.p-title { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.player-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.play-btn { width: 52px; height: 52px; border-radius: 50%; border: none; background: var(--grad-btn); color: #fff; font-size: 22px; cursor: pointer; flex: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(31,95,214,.28); }
.play-btn.playing { background: #1a1d21; box-shadow: 0 3px 10px rgba(16,24,40,.3); }
.rate-group, .mini-group { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid #d8dce2; background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; color: var(--sub); }
.chip.on { background: var(--grad-btn); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(31,95,214,.25); }
.prog { height: 5px; background: #e8ecf1; border-radius: 999px; margin-top: 12px; overflow: hidden; }
.prog > div { height: 100%; background: var(--grad); width: 0; transition: width .2s; }
.seek-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.seek-row input[type=range] { flex: 1; margin: 0; accent-color: var(--brand); height: 22px; }
.seek-time { font-size: 11px; color: var(--muted); min-width: 78px; text-align: right; font-variant-numeric: tabular-nums; }

/* 原文逐句 */
.sent { padding: 9px 10px; border-radius: 10px; margin-bottom: 6px; cursor: pointer; border: 1px solid transparent; }
.sent.cur { background: var(--brand-soft); border-color: #a5c0ea; }
.sent .sp { display: inline-block; font-size: 11px; color: var(--brand); background: var(--brand-soft); border: 1px solid #d7e2f5; border-radius: 6px; padding: 0 6px; margin-right: 6px; vertical-align: 1px; }
.sent.cur .sp { background: #fff; }
.sent .zh { color: var(--muted); font-size: 13px; }
/* 遮罩盲听：文本级遮罩（原文不进 DOM，只渲染圆点占位），无 blur 可绕过面 */
.masked .en { color: #b6bfcc; letter-spacing: 1px; }
.word-tag { color: #b45309; border-bottom: 2px dotted #f0d9b8; cursor: help; font-weight: 600; }
.word-tag.nw { border-bottom-color: #fb923c; }
.word-tag.nw .star { font-style: normal; font-size: 11px; margin-left: 1px; }
.word-tag.kn { color: #15803d; border-bottom: 2px dotted #86efac; }
.word-tag.kn .knk { font-style: normal; font-size: 11px; margin-left: 1px; }
/* 词卡条（试卷/做题页） */
.wc-strip { margin: 2px 0 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.wc-strip .lbl { color: var(--muted); font-size: 12px; margin-right: 2px; }
.wc-chip { display: inline-flex; align-items: baseline; gap: 4px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 2px 8px; cursor: pointer; font-weight: 600; color: #b45309; }
.wc-chip i { font-style: normal; color: var(--muted); font-weight: 400; font-size: 11px; }
.wc-chip:active { transform: scale(.96); }
.wc-mini { flex: none; border: 1.5px dashed #93b4f5; color: var(--brand-dark); background: #f5f8ff; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; margin-left: 4px; }
.wc-mini:active { transform: scale(.96); background: var(--brand); color: #fff; }
/* 词卡四件套浮层（朗读/释义/例句/收生词本），播放不中断 */
#wordcard { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%) translateY(8px); z-index: 90; opacity: 0; pointer-events: none; transition: all .18s; }
#wordcard.on { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.wc-x { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border: 1px solid #d7e2f3; background: #fff; color: #6b7280; border-radius: 50%; font-size: 12px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(30,60,120,.15); padding: 0; }
.wc-x:active { background: #eff3fa; }
.wc-box { background: #fff; border-radius: 14px; box-shadow: 0 8px 28px rgba(30, 60, 120, .22); padding: 12px 14px; min-width: 220px; max-width: 340px; border: 1px solid #e3ebf7; }
.wc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.wc-hl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.wc-img { width: 64px; height: 64px; border-radius: 12px; background: #f2f6fc; flex: none; object-fit: cover; }
.wc-en { font-size: 18px; color: #1e3a5f; }
.wc-audio { border: none; background: #eff6ff; border-radius: 8px; font-size: 15px; padding: 2px 8px; cursor: pointer; }
.wc-new { font-size: 11px; color: #c2410c; background: #ffedd5; border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.wc-zh { color: #b45309; font-weight: 600; margin-top: 4px; }
.wc-sent { color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.5; }
.wc-add { margin-top: 8px; width: 100%; border: none; background: var(--brand); color: #fff; border-radius: 10px; padding: 7px 0; font-size: 14px; cursor: pointer; font-weight: 600; }
.wc-add[disabled] { background: #c7d4ea; }
/* 富词卡：音标/徽章/多义项/搭配/小贴士/署名（941 词数据包） */
.wc-ipa { color: var(--muted); font-size: 13px; margin-top: 3px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.wc-b { display: inline-block; font-size: 10px; font-weight: 700; color: #1d4ed8; background: #dbeafe; border-radius: 5px; padding: 1px 6px; white-space: nowrap; }
.wc-b.zk { color: #c2410c; background: #ffedd5; }
.wc-b.star { color: #b45309; background: #fef3c7; letter-spacing: 1px; }
.wc-src a, .cred-src a { color: #2563eb; text-decoration: underline; }
.rd-priv { font-size: 11px; color: #98a2b3; text-align: center; margin-top: 10px; line-height: 1.6; }
.wc-note { display: inline-block; font-size: 11px; font-weight: 600; color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 6px; padding: 1px 7px; }
.wc-sense { font-size: 13px; color: #374151; margin-top: 5px; line-height: 1.5; }
.wc-sense i { font-style: normal; color: #9a3412; background: #ffedd5; border-radius: 4px; font-size: 11px; padding: 0 4px; margin-right: 5px; }
.wc-sense.main { font-weight: 600; color: #b45309; }
.wc-col { margin-top: 7px; font-size: 12px; color: var(--muted); line-height: 1.55; }
.wc-col b { color: #1e3a5f; font-weight: 600; }
.wc-tip { margin-top: 7px; font-size: 12px; color: #7c2d12; background: #fffbeb; border-radius: 8px; padding: 5px 8px; line-height: 1.5; }
.wc-src { margin-top: 6px; font-size: 10px; color: #b9c5d8; text-align: right; }
.cred-src { margin-top: 8px; font-size: 11px; color: var(--muted); }
.mode-note { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* 题目 */
.q-card { border-left: 4px solid; border-image: linear-gradient(180deg, #1f5fd6, #8b5cf6) 1; border-image-slice: 1; }
.q-stem { font-weight: 600; margin-bottom: 10px; }
.opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid #d8dce2; border-radius: 12px; padding: 12px; margin-bottom: 8px; cursor: pointer; background: #fff; font-size: 15px; transition: .12s; }
.opt:hover { border-color: #a8b3c2; }
.opt .opt-emoji { font-size: 26px; }
.opt.sel-right { border-color: var(--brand); background: var(--brand-soft); }
.opt.sel-wrong { border-color: var(--danger); background: #fff1f2; }
.opt.reveal { border-color: var(--brand); }
.opt.disabled { pointer-events: none; }
.tf-en { font-style: italic; }
.q-feedback { font-size: 13px; margin-top: 4px; }
.q-feedback.ok { color: var(--brand-dark); }
.q-feedback.bad { color: var(--danger); }
/* #9 听音填空 / 连词成句 */
.fill-sent { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.q-audio { align-self: flex-start; border: none; background: #eef3ff; color: var(--brand-dark); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.q-audio:active { transform: scale(.96); }
.fill-text { font-size: 16px; line-height: 1.7; font-weight: 600; }
.fill-blank { display: inline-block; min-width: 84px; text-align: center; border-bottom: 2.5px solid var(--brand); color: var(--brand-dark); font-weight: 800; padding: 0 6px; }
.fill-blank.ok { color: var(--brand-dark); border-color: var(--brand-dark); }
.fill-blank.bad { color: var(--danger); border-color: var(--danger); }
.fill-row { display: flex; gap: 8px; margin-top: 6px; }
.fill-input { flex: 1; border: 2px solid var(--brand); border-radius: 12px; padding: 9px 12px; font-size: 16px; font-weight: 700; outline: none; background: #fff; }
.fill-input:focus { border-color: var(--brand-dark); }
.fill-input:disabled { background: #f4f6fa; color: var(--ink2); }
.order-built { min-height: 44px; border: 2px dashed #c9d8f7; border-radius: 12px; padding: 6px; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; background: #fafbff; }
.order-pool { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.wd-block { display: inline-block; border: 2px solid var(--brand); background: #fff; color: var(--brand-dark); border-radius: 10px; padding: 6px 12px; font-size: 15px; font-weight: 700; cursor: pointer; user-select: none; }
.wd-block.used { background: var(--brand); color: #fff; }
.wd-block.reveal { border-color: var(--brand-dark); background: #eef3ff; color: var(--brand-dark); cursor: default; }
.wd-block.disabled { pointer-events: none; }
.wd-block.seq-block { width: 100%; box-sizing: border-box; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.score-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.score-num { font-size: 22px; font-weight: 800; color: var(--brand-dark); }

/* 按钮：蓝渐变主按钮（题霸 .btn） */
.btn { display: inline-block; border: none; border-radius: 10px; padding: 12px 18px; font-size: 14px; font-weight: 600; cursor: pointer; background: var(--grad-btn); color: #fff; text-align: center; box-shadow: 0 3px 10px rgba(31,95,214,.28); transition: .15s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 5px 14px rgba(31,95,214,.34); }
.btn:active { filter: brightness(.96); transform: none; }
.btn.ghost { background: #fff; color: var(--sub); border: 1px solid #d8dce2; box-shadow: none; }
.btn.small { padding: 9px 14px; font-size: 13px; box-shadow: none; flex: none; }
.btn.ghost:hover { border-color: #a8b3c2; background: #f5f6f8; }
.btn.gray { background: #eef0f2; color: var(--muted); box-shadow: none; }
.btn.full { display: block; width: 100%; }
.btn-row { display: flex; gap: 10px; margin-top: 12px; }
.btn-row .btn { flex: 1; }

/* 锁定提示 */
.lock-box { text-align: center; padding: 26px 16px; }
.lock-emoji { font-size: 40px; }
.lock-box h3 { margin: 10px 0 4px; justify-content: center; }
.lock-box h3::before { display: none; }

/* 辨音特训 */
.pair-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.pair-item { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.88); border: 1px solid rgba(229,231,235,.7); padding: 10px 14px; border-radius: 12px; box-shadow: 0 1px 3px rgba(16,24,40,.05); font-size: 14px; }
.pair-item .hint { color: var(--muted); font-size: 12px; margin-left: auto; }
.dict-quiz .big-word { font-size: 30px; font-weight: 800; text-align: center; margin: 14px 0; letter-spacing: 1px; }
.dict-quiz .ipa { text-align: center; color: var(--muted); font-size: 13px; }

/* 我的 */
.me-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #eef0f3; }
.me-row:last-child { border-bottom: none; }
.me-row .m-t { flex: 1; }
.me-row .m-v { color: var(--muted); font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.stat-grid .num { font-size: 22px; font-weight: 800; color: var(--brand); }
.stat-grid .lbl { font-size: 12px; color: var(--muted); }
/* 家长学习周报 */
.wk-days { display: flex; gap: 6px; margin-top: 12px; }
.wk-day { flex: 1; text-align: center; padding: 8px 0 6px; border-radius: 10px; background: #f4f5f7; }
.wk-day span { display: block; font-size: 11px; color: var(--muted); }
.wk-day i { font-style: normal; font-size: 12px; color: #c9ccd2; }
.wk-day.on { background: #eef4ff; }
.wk-day.on i { color: var(--brand); }
.wk-day.today { box-shadow: inset 0 0 0 2px var(--brand); }
.wk-grid4 { grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
.wk-grid4 .num { font-size: 18px; }
.wk-note { font-size: 14px; line-height: 1.7; color: #444; }
.lic-input { width: 100%; border: 1.5px solid #d8dce2; border-radius: 12px; padding: 12px; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.lic-input:focus { outline: none; border-color: var(--brand); }
.word-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.word-item:last-child { border-bottom: none; }
.word-item .del { color: var(--danger); cursor: pointer; font-size: 13px; margin-left: auto; }
.w-ok { color: #15803d; font-size: 12px; font-weight: 700; white-space: nowrap; }
.w-lv { color: #b45309; font-size: 12px; white-space: nowrap; }

/* 生词复习（SRS 听音选义） */
.rv-card { text-align: center; }
.rv-word { font-size: 30px; font-weight: 800; margin: 14px 0 6px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.rv-lvl { font-size: 12px; font-weight: 600; color: #b45309; background: #fef3c7; border-radius: 999px; padding: 2px 10px; }
.rv-sent { font-size: 14px; color: var(--sub); background: #f8fafc; border-radius: 10px; padding: 8px 12px; margin: 0 0 14px; }
.rv-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.rv-opt { padding: 14px 8px; }
@media (max-width: 420px) { .rv-opts { grid-template-columns: 1fr; } }

/* 默写单词 & 跟读单词 */
.dict-in { width: 100%; border: 1.5px solid #d8dce2; border-radius: 12px; padding: 12px; font-size: 18px; text-align: center; letter-spacing: 2px; }
.dict-in:focus { outline: none; border-color: var(--brand); }
.dict-in:disabled { background: #f8fafc; color: var(--brand-dark); font-weight: 700; }
.dt-count { font-size: 12px; font-weight: 600; color: #b45309; background: #fef3c7; border-radius: 999px; padding: 2px 10px; }
.dt-count.warn { color: #b91c1c; background: #fee2e2; }
.rd-status { font-size: 13px; color: var(--sub); min-height: 18px; }
.rd-score { font-size: 26px; font-weight: 800; min-height: 32px; margin: 2px 0 4px; }
.rd-score.good { color: #15803d; }
.rd-score.mid { color: #b45309; }
.rd-score.bad { color: var(--danger); }

.wrong-item { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.88); border: 1px solid rgba(229,231,235,.7); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.wrong-item .w-t { flex: 1; min-width: 0; font-size: 14px; }
.empty-tip { text-align: center; color: var(--muted); padding: 40px 0; font-size: 14px; }

/* 考试模式 */
.exam-entry { border: 1.5px dashed #a5c0ea; background: linear-gradient(180deg, #f2f7ff, rgba(255,255,255,.9)); }
.exam-card { border-top: 4px solid; border-image: var(--grad) 1; border-image-slice: 1; border-left: none; border-right: none; }
.exam-progress { font-size: 12px; color: var(--muted); letter-spacing: 1px; margin-bottom: 10px; }
.exam-big { font-size: 26px; font-weight: 800; line-height: 1.3; }
.exam-note { font-size: 13px; color: var(--sub); margin-top: 8px; }
.exam-rate { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.rate-pill { border: 1px solid #d8dce2; background: #fff; border-radius: 999px; padding: 4px 14px; font-size: 13px; cursor: pointer; color: var(--sub); }
.rate-pill.on { background: var(--grad-btn); border-color: transparent; color: #fff; font-weight: 600; }
.exam-score { font-size: 56px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: center; line-height: 1.2; }
.exam-score span { font-size: 20px; font-weight: 600; margin-left: 4px; -webkit-text-fill-color: initial; }
.exam-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }

/* 考试：试卷 / 答题卡 / 讲评 */
.paper-card h3 { margin-bottom: 10px; }
.opt.picked { border-color: var(--warn); background: #fffbeb; box-shadow: 0 0 0 1px var(--warn); }
.btn:disabled { opacity: .45; pointer-events: none; }
.as-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.as-chip { text-align: center; padding: 8px 0; border-radius: 8px; background: #eef0f2; font-size: 13px; cursor: pointer; color: var(--muted); transition: .12s; }
.as-chip.done { background: var(--brand-soft); color: var(--brand); border: 1px solid #a5c0ea; font-weight: 700; }
.rev-q { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.rev-q:last-child { border-bottom: none; }
.rev-stem { font-weight: 600; margin-bottom: 6px; }
.rev-ok { color: var(--brand-dark); font-weight: 700; }
.rev-bad { color: var(--danger); font-weight: 700; }
.rev-replay { font-size: 12px; color: var(--brand); font-weight: 400; margin-left: 6px; }
.rev-opt { padding: 7px 10px; border: 1px solid #d8dce2; border-radius: 10px; margin-bottom: 6px; font-size: 14px; }
.rev-opt.rev-right { border-color: var(--brand); background: var(--brand-soft); }
.rev-opt.rev-wrong { border-color: var(--danger); background: #fff1f2; }
.rev-tag { font-size: 12px; color: var(--muted); margin-left: 6px; }

/* 购买页（题霸结构：扎心钩子 → 价值点卡 → 正文 → 微信行） */
.buy-card h2 { text-align: center; font-size: 20px; }
.bhook { background: #fff5f5; border-left: 3px solid var(--danger); border-radius: 0 8px 8px 0; padding: 9px 12px; margin: 12px 0; font-size: 12.5px; line-height: 1.9; color: #7f1d1d; }
.bpts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0 0 12px; }
.bp { background: #f7faff; border: 1px solid #e4edfb; border-radius: 9px; padding: 8px 10px; }
.bp b { display: block; font-size: 12.5px; color: var(--brand-dark); margin-bottom: 2px; }
.bp span { font-size: 11px; color: #64748b; line-height: 1.5; }
.bline { font-size: 12.5px; line-height: 1.9; color: var(--sub); }
.bprice { display: flex; gap: 10px; margin: 10px 0; }
.bprice > div { flex: 1; text-align: center; border: 1.5px solid #d7e2f5; background: #f7faff; border-radius: 12px; padding: 12px 8px; }
.bprice .p-n { font-size: 22px; font-weight: 800; color: var(--brand-dark); }
.bprice .p-t { font-size: 12px; color: var(--sub); font-weight: 600; margin-top: 2px; }
.bprice .p-s { font-size: 11px; color: var(--muted); margin-top: 2px; }
.buyrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f7f9fc; border: 1px solid #e6ecf5; border-radius: 9px; padding: 9px 12px; margin: 8px 0 0; font-size: 13px; }
.buyrow.wx { background: #f2fbf5; border-color: #d5eedd; }
.buyrow b { font-size: 15px; letter-spacing: .4px; color: #0f172a; }
.mini { border: 1px solid #cfdcf3; background: #fff; color: var(--brand); border-radius: 7px; padding: 3px 9px; font-size: 11.5px; cursor: pointer; white-space: nowrap; }
.mini:hover { background: #eef4ff; }
.buytip { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin: 10px 0 0; }
@media (max-width: 480px) { .bpts { grid-template-columns: 1fr 1fr; } .bprice { flex-direction: column; } }

/* ===== 新手引导（#7）：激活分步引导 / 首访购买引导，复用 .ov / .ovbox ===== */
.gu-body { font-size: 14px; line-height: 1.9; color: #334155; margin: 4px 0 14px; }
.gu-body b { color: var(--brand-dark); }
.gu-dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 4px; }
.gu-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d8dce2; transition: .2s; }
.gu-dots i.on { background: var(--brand); width: 18px; border-radius: 4px; }

/* ===== v-lw-sn01a 桌面左栏（照搬化学站/题霸家族版面：品牌+授权卡+六步导航+脚注；≤1199px 隐藏） ===== */
.sidenav { display: none; }
@media (min-width: 1101px) {
  .sidenav {
    display: flex; flex-direction: column;
    position: fixed; top: 10px; bottom: 10px; z-index: 90;
    left: max(10px, calc(50% - 566px)); /* 640 内容列左缘再往左 246px（216 栏宽 + 30 间距） */
    width: 216px; padding: 14px 11px 12px; overflow-y: auto;
    background: rgba(255, 255, 255, .92); border: 1px solid #e5e7eb; border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .08);
  }
}
/* v-lw-sn01b 窄屏客服浮钮（家族四站统一）：≤1100px 右下角单钮开客服弹层，≥1101px 隐藏（入口在左栏 sn-foot） */
.m-fab {
  display: flex; align-items: center; justify-content: center;
  position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 150;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  background: linear-gradient(135deg, #1f5fd6, #3b82f6); color: #fff; font-size: 19px;
  box-shadow: 0 6px 20px rgba(31, 95, 214, .35);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.m-fab:active { transform: scale(.94); }
@media (min-width: 1101px) { .m-fab { display: none; } }
.sn-brand { display: flex; align-items: center; gap: 9px; padding: 2px 4px 12px; border-bottom: 1px solid #e5e7eb; margin-bottom: 10px; }
.sn-brand .logo {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1f5fd6, #8b5cf6); color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 2px 10px rgba(31, 95, 214, .35);
}
.sn-brand .tt b { font-size: 14.5px; display: block; color: #1a1d21; }
.sn-brand .tt span { font-size: 10.5px; color: #8b9199; }
/* 授权卡（同化学站 lic 版面） */
.lic { margin: 0 0 9px; padding: 11px 10px 10px; border-radius: 14px; background: linear-gradient(160deg, rgba(31, 95, 214, .13), rgba(139, 92, 246, .06)); border: 1px solid rgba(31, 95, 214, .22); }
.lic-h { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 9px; }
.lic-h b { font-size: 12.5px; color: #1a1d21; }
.lic-h i { font-style: normal; font-size: 10px; color: #b45309; white-space: nowrap; background: rgba(217, 119, 6, .12); border: 1px solid rgba(217, 119, 6, .32); padding: 2px 7px; border-radius: 999px; }
.lic-cta { display: flex; flex-direction: column; gap: 7px; margin-bottom: 9px; }
.cta-primary {
  width: 100%; padding: 10px 8px; border: none; border-radius: 11px; cursor: pointer;
  background: linear-gradient(135deg, #1f5fd6, #3b82f6); color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(31, 95, 214, .35);
}
.cta-kf {
  width: 100%; padding: 9px 8px; border-radius: 11px; cursor: pointer;
  background: rgba(7, 193, 96, .10); border: 1px solid rgba(7, 193, 96, .35);
  color: #0a8f4d; font-size: 12px; font-weight: 600;
}
.licchips { display: flex; flex-direction: column; gap: 6px; }
/* v-lw-sn01c 两行布局：b+状态灯一行、描述整行第二行——216px 窄栏下描述不再被挤成竖排细条 */
.licchip { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; padding: 8px 9px; border-radius: 11px; cursor: pointer; background: rgba(255, 255, 255, .72); border: 1px solid rgba(31, 95, 214, .16); }
.licchip b { font-size: 12px; color: #1a1d21; flex: 1; }
.licchip span { flex: 1 1 100%; font-size: 10px; color: #8b9199; line-height: 1.4; }
.licchip i { font-style: normal; font-size: 10px; color: #9f1239; white-space: nowrap; background: rgba(225, 29, 72, .08); border: 1px solid rgba(225, 29, 72, .28); padding: 1px 6px; border-radius: 999px; }
/* 导航项 */
.sn-item { display: flex; gap: 9px; align-items: center; padding: 9px 10px; border-radius: 11px; cursor: pointer; color: #1a1d21; text-decoration: none; }
.sn-item i { font-style: normal; width: 22px; height: 22px; flex: none; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 11px; background: #f4f6fa; color: #8b9199; }
.sn-item b { font-size: 13px; display: block; }
.sn-item div span { font-size: 10.5px; color: #8b9199; display: block; }
.sn-item:hover { background: rgba(31, 95, 214, .08); }
.sn-item.on { background: linear-gradient(135deg, rgba(31, 95, 214, .14), rgba(139, 92, 246, .10)); }
.sn-item.on i { background: linear-gradient(135deg, #1f5fd6, #8b5cf6); color: #fff; }
.sn-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid #e5e7eb; display: flex; flex-direction: column; gap: 4px; }
.sn-foot a { font-size: 12px; color: #4b5563; padding: 8px 10px; border-radius: 9px; cursor: pointer; text-decoration: none; }
.sn-foot a:hover { background: rgba(31, 95, 214, .10); color: #1f5fd6; }
