* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--road); -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.5; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--sign-blue); text-decoration: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sign-blue); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- 设备外框 ---------- */
.device { position: relative; width: 100vw; height: 100vh; overflow: hidden; background: var(--road); display: flex; flex-direction: column; }
@media (min-width: 520px) {
  body { background: #DADDD6; display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; }
  .device { width: 390px; height: 844px; border-radius: 54px; border: 11px solid #1E2125; box-shadow: 0 40px 70px -30px rgba(30,33,37,.55); }
}
.statusbar { height: 44px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 4px 24px 0 32px; font-size: 15px; font-weight: 600; }
.statusbar .sb-r { display: flex; gap: 5px; align-items: center; }
.statusbar .batt { width: 24px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; opacity: .9; }
.statusbar .batt::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: currentColor; border-radius: 1px; }
.navbar { height: 44px; flex: none; display: grid; grid-template-columns: 96px 1fr 96px; align-items: center; padding: 0 8px; }
.nav-back { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.nav-title { text-align: center; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.capsule { justify-self: end; width: 87px; height: 32px; border-radius: 16px; border: 1px solid rgba(0,0,0,.1); background: rgba(255,255,255,.7); display: flex; align-items: center; }
.capsule span { flex: 1; display: flex; justify-content: center; }
.capsule em { width: 1px; height: 18px; background: rgba(0,0,0,.14); }
.device[data-top="dark"] .statusbar, .device[data-top="dark"] .navbar { background: var(--asphalt); color: #fff; }
.device[data-top="dark"] .capsule { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.device[data-top="dark"] .capsule em { background: rgba(255,255,255,.25); }
.device[data-top="light"] .statusbar, .device[data-top="light"] .navbar { background: #fff; }

.view { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.view::-webkit-scrollbar { display: none; }
.view-pad { height: 20px; }

/* ---------- 底部 tab ---------- */
.tabbar { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 6px 0 22px; }
.tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--ink-3); }
.tabbar button.on { color: var(--asphalt); font-weight: 600; }
.tabbar button.on .ico { stroke-width: 2.2; }
.tabbar .tab-promo .ico-wrap { width: 26px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.tabbar .tab-promo.on .ico-wrap { background: var(--plate); }

.actionbar { flex: none; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px 28px; display: flex; gap: 10px; align-items: center; }
.actionbar .ab-icon { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--ink-2); width: 44px; }
.actionbar .ab-total { flex: 1; }
.actionbar .ab-total small { color: var(--ink-3); font-size: 12px; display: block; }
.actionbar .ab-total b { font-family: var(--font-num); font-size: 26px; line-height: 1; }

/* ---------- 按钮 ---------- */
.btn { height: 44px; border-radius: 22px; padding: 0 20px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: transform .12s, filter .12s; white-space: nowrap; }
.btn:active { transform: scale(.97); filter: brightness(.95); }
.btn-plate { background: var(--plate); color: var(--plate-ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-dark { background: var(--asphalt); color: #fff; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-block { width: 100%; }
.btn.sm { height: 34px; font-size: 13px; padding: 0 14px; border-radius: 17px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- 通用块 ---------- */
.sec { padding: 22px 16px 4px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.sec-head h2 { font-size: 18px; font-weight: 700; }
.sec-head h3 { font-size: 16px; font-weight: 700; }
.sec-head a { font-size: 13px; display: inline-flex; align-items: center; }
.card { background: var(--card); border-radius: var(--r-md); margin: 12px 16px 0; padding: 16px; }
.card > .sec-head { margin-bottom: 10px; }
.muted { color: var(--ink-3); font-size: 12px; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 11px; background: var(--road); color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.pill.online { background: var(--sign-blue-bg); color: var(--sign-blue); }
.pill.offline { background: #EDE7DA; color: #7A5A1C; }
.pill.none { background: var(--road); color: var(--ink-3); }
.pill.settled { background: var(--money-bg); color: var(--money); }
.pill.frozen, .pill.waiting { background: var(--amber-bg); color: #8A6A00; }
.pill.cancel { background: var(--warn-bg); color: var(--warn); }
.pill.paid { background: var(--road); color: var(--ink-2); }
.pill.pending { background: var(--amber-bg); color: #8A6A00; }
.lic { width: 42px; height: 42px; border-radius: 8px; background: var(--sign-blue); color: #fff; font-family: var(--font-num); font-size: 21px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: inset 0 0 0 2px var(--sign-blue), inset 0 0 0 3.5px #fff; }
.chev { color: var(--ink-3); }
.money { color: var(--money); }

/* 原型批注（非界面元素） */
.note { margin: 14px 16px 0; padding: 10px 12px; border: 1.5px dashed #7A62C4; background: #F4F0FF; color: #4B3A8C; border-radius: 8px; font-size: 12px; line-height: 1.55; }
.note b { font-weight: 700; }
.note button { color: #4B3A8C; text-decoration: underline; font-weight: 600; font-size: 12px; }

/* ---------- 首页 ---------- */
.hero { background: var(--asphalt); color: #fff; padding: 10px 16px 0; overflow: hidden; }
.hero-place { display: flex; align-items: center; gap: 4px; font-size: 11px; color: rgba(255,255,255,.6); }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 6px; }
.hero-h { font-size: 15px; font-weight: 600; line-height: 1; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; }
.hero-h small { flex-basis: 100%; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 4px; }
.hero-h .num { font-size: 44px; font-weight: 700; color: var(--plate); line-height: .9; }
.hero-cta { display: flex; flex-direction: column; gap: 6px; }
.hero-cta .btn { height: 32px; min-width: 92px; }
.hero-sub { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.7); }
.hero-art { margin: 10px -16px 0; height: 30px; }
.road-art { display: block; width: 100%; height: 100%; }
.invite-strip { margin: 12px 16px 0; position: relative; background: #fff; border-radius: var(--r-md); padding: 14px 14px 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; box-shadow: 0 8px 20px -12px rgba(38,42,48,.35); }
.invite-strip b { font-size: 15px; display: block; }
.invite-strip p { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.course-row { display: flex; gap: 12px; align-items: center; background: #fff; padding: 14px; border-radius: var(--r-md); margin-bottom: 10px; cursor: pointer; }
.course-row .cr-main { flex: 1; min-width: 0; }
.course-row h4 { font-size: 15px; font-weight: 600; }
.course-row .cr-tags { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.course-row .cr-price { text-align: right; }
.course-row .cr-price b { font-family: var(--font-num); font-size: 24px; font-weight: 700; line-height: 1; display: block; }
.course-row .cr-price small { font-size: 11px; color: var(--ink-3); }

.facts { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--r-md); }
.facts div { padding: 14px 16px; }
.facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.facts b { font-family: var(--font-num); font-size: 30px; font-weight: 700; line-height: 1.05; display: block; }
.facts span { font-size: 12px; color: var(--ink-2); }

.steps { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; }
.steps::-webkit-scrollbar { display: none; }
.step { flex: none; width: 92px; position: relative; padding-top: 30px; }
.step::before { content: ""; position: absolute; top: 12px; left: 22px; right: -2px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 10px); }
.step:last-child::before { display: none; }
.step i { position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--asphalt); color: #fff; font-style: normal; font-family: var(--font-num); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.step:last-child i { background: var(--plate); color: var(--plate-ink); }
.step b { font-size: 13px; display: block; }
.step span { font-size: 11px; color: var(--ink-3); line-height: 1.4; display: block; padding-right: 8px; }

.feed { background: #fff; border-radius: var(--r-md); padding: 4px 14px; }
.feed li { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.feed li:last-child { border-bottom: 0; }
.feed li .f-main { flex: 1; }
.feed li .muted { flex: none; }

.addr { background: #fff; border-radius: var(--r-md); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.addr .a-main { flex: 1; }
.addr b { font-size: 15px; display: block; }
.addr p { font-size: 12px; color: var(--ink-2); }
.addr .a-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--road); display: flex; align-items: center; justify-content: center; }

/* ---------- 班型 ---------- */
.chips { display: flex; gap: 8px; padding: 12px 16px; background: #fff; position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.chip { height: 30px; padding: 0 14px; border-radius: 15px; background: var(--road); font-size: 13px; color: var(--ink-2); flex: none; }
.chip.on { background: var(--asphalt); color: #fff; font-weight: 600; }
.ccard { background: #fff; border-radius: var(--r-md); overflow: hidden; margin: 12px 16px 0; cursor: pointer; }
.ccard .cc-img { height: 110px; position: relative; }
.ccard .cc-img .tag-on { position: absolute; left: 12px; top: 12px; }
.ccard .cc-body { padding: 12px 14px 14px; }
.ccard .cc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ccard h4 { font-size: 16px; }
.ccard .cc-fit { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.ccard .cc-price { font-family: var(--font-num); font-size: 26px; font-weight: 700; line-height: 1; }
.ccard .cc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ccard .cc-earn { font-size: 12px; color: var(--money); display: flex; align-items: center; gap: 4px; }

/* 班型详情 */
.d-img { height: 190px; }
.d-head { background: #fff; padding: 16px 16px 18px; }
.d-price { display: flex; align-items: baseline; gap: 10px; }
.d-price b { font-family: var(--font-num); font-size: 40px; font-weight: 700; line-height: 1; }
.d-price span { font-size: 12px; color: var(--ink-3); }
.d-head h1 { font-size: 20px; margin-top: 6px; }
.d-head .cr-tags { display: flex; gap: 5px; margin-top: 8px; }
.inc { list-style: none; }
.inc li { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; font-size: 14px; }
.inc li .ico { color: var(--money); margin-top: 2px; }
.inc li.no .ico { color: var(--ink-3); }
.inc li.no { color: var(--ink-2); }
.vsteps { list-style: none; counter-reset: s; }
.vsteps li { position: relative; padding: 0 0 16px 36px; }
.vsteps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--asphalt); color: #fff; font-family: var(--font-num); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.vsteps li::after { content: ""; position: absolute; left: 11px; top: 28px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 5px, transparent 5px 9px); }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li:last-child::after { display: none; }
.vsteps b { font-size: 14px; display: block; }
.vsteps span { font-size: 12px; color: var(--ink-2); }
.share-earn { flex: 1; height: 44px; border-radius: 22px; box-shadow: inset 0 0 0 1.5px var(--money); color: var(--money); font-weight: 600; font-size: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.share-earn small { font-size: 11px; font-weight: 400; }

/* ---------- 报名表单 ---------- */
.inviter { margin: 12px 16px 0; background: var(--asphalt); color: #fff; border-radius: var(--r-md); padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.inviter .i-main { flex: 1; min-width: 0; }
.inviter b { font-size: 14px; display: block; }
.inviter p { font-size: 12px; color: rgba(255,255,255,.65); }
.form { background: #fff; border-radius: var(--r-md); margin: 12px 16px 0; padding: 4px 16px; }
.form h3 { font-size: 15px; padding: 14px 0 4px; }
.field { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); gap: 10px; }
.field:last-child { border-bottom: 0; }
.field label { width: 76px; flex: none; font-size: 14px; }
.field label em { color: var(--warn); font-style: normal; margin-left: 2px; }
.field input, .field select { flex: 1; min-width: 0; border: 0; outline: 0; height: 44px; background: transparent; font-size: 14px; }
.field input::placeholder { color: var(--ink-3); }
.field select { appearance: none; color: var(--ink); }
.field .code-btn { font-size: 13px; color: var(--sign-blue); flex: none; padding: 6px 0 6px 10px; border-left: 1px solid var(--line); }
.field.err input { color: var(--warn); }
.field-err { font-size: 12px; color: var(--warn); padding: 0 0 8px 86px; margin-top: -6px; }
.opts { display: flex; flex-direction: column; gap: 8px; padding: 8px 0 14px; }
.opt { display: flex; align-items: center; gap: 10px; border-radius: 10px; padding: 11px 12px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; text-align: left; }
.opt.on { box-shadow: inset 0 0 0 2px var(--asphalt); background: #FAFAF8; }
.opt .o-dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; }
.opt.on .o-dot { box-shadow: inset 0 0 0 5px var(--asphalt); }
.opt .o-main { flex: 1; }
.opt .o-main b { font-size: 14px; font-weight: 600; }
.opt .o-main small { display: block; font-size: 11px; color: var(--ink-3); }
.opt .o-price { font-family: var(--font-num); font-weight: 700; font-size: 18px; }
.chips-in { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px 0 14px; }
.chips-in .chip { box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.chips-in .chip.on { background: var(--asphalt); box-shadow: none; }
.agree { display: flex; gap: 8px; align-items: flex-start; margin: 14px 18px 0; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.agree .box { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; margin-top: 1px; display: flex; align-items: center; justify-content: center; background: #fff; }
.agree.on .box { background: var(--asphalt); box-shadow: none; color: #fff; }

/* ---------- 弹层 ---------- */
.mask { position: absolute; inset: 0; background: rgba(20,22,26,.5); z-index: 20; opacity: 0; pointer-events: none; transition: opacity .2s; }
.mask.show { opacity: 1; pointer-events: auto; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 18px 18px 0 0; z-index: 21; transform: translateY(105%); transition: transform .26s cubic-bezier(.2,.8,.2,1); padding: 18px 20px 34px; }
.sheet.show { transform: none; }
.sheet .sh-close { position: absolute; right: 14px; top: 14px; color: var(--ink-3); }
.pay-amt { text-align: center; padding: 16px 0 20px; }
.pay-amt small { font-size: 13px; color: var(--ink-2); }
.pay-amt b { font-family: var(--font-num); font-size: 44px; font-weight: 700; display: block; line-height: 1.1; }
.pay-line { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pay-line span:first-child { color: var(--ink-2); }
.btn-wx { background: #07C160; color: #fff; }
.toast { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) scale(.96); background: rgba(30,33,37,.92); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; z-index: 30; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; max-width: 260px; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- 报名成功 ---------- */
.done { text-align: center; padding: 36px 24px 20px; background: #fff; }
.done .d-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--money); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.done h1 { font-size: 22px; margin-top: 14px; }
.done p { color: var(--ink-2); font-size: 13px; margin-top: 6px; }
.kv { list-style: none; }
.kv li { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; gap: 12px; }
.kv li span:first-child { color: var(--ink-2); flex: none; }
.kv li span:last-child { text-align: right; }

/* ---------- 推广中心 ---------- */
.earn { background: var(--asphalt); color: #fff; padding: 10px 20px 22px; position: relative; overflow: hidden; }
.earn .e-top { display: flex; justify-content: space-between; align-items: flex-end; }
.earn small { font-size: 12px; color: rgba(255,255,255,.6); }
.earn .e-big { font-family: var(--font-num); font-size: 48px; font-weight: 700; line-height: 1; margin-top: 4px; }
.earn .e-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.earn .e-row b { font-family: var(--font-num); font-size: 20px; font-weight: 600; display: block; line-height: 1.2; }
.code-card { background: #fff; margin: 12px 16px 0; border-radius: var(--r-lg); padding: 18px 16px 16px; text-align: center; }
.code-card .cc-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.code-card .cc-h b { font-size: 15px; }
.role-badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 600; background: var(--road); color: var(--ink-2); }
.role-badge.merchant { background: var(--asphalt); color: var(--plate); }
.code-card .muted { margin-top: 14px; }
.btn-row { display: flex; gap: 10px; margin-top: 14px; }
.btn-row .btn { flex: 1; }
.tiers { list-style: none; }
.tier { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.tier:last-child { border-bottom: 0; }
.tier .t-lv { width: 34px; height: 34px; border-radius: 8px; background: var(--road); font-family: var(--font-num); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.tier:first-child .t-lv { background: var(--plate); }
.tier b { font-size: 14px; display: block; }
.tier .t-rate { text-align: right; }
.tier .t-rate b { font-family: var(--font-num); font-size: 24px; font-weight: 700; line-height: 1; }
.upsell { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--road); font-size: 12px; color: var(--ink-2); cursor: pointer; }
.upsell .ico { color: var(--asphalt); }
.upsell span { flex: 1; }
.team3 { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.team3 div { padding: 4px 0; }
.team3 div + div { border-left: 1px solid var(--line); }
.team3 b { font-family: var(--font-num); font-size: 28px; font-weight: 700; display: block; line-height: 1.1; }
.team3 span { font-size: 12px; color: var(--ink-2); }
.erow { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.erow:last-child { border-bottom: 0; }
.erow .e-main { flex: 1; min-width: 0; }
.erow .e-main b { font-size: 14px; font-weight: 600; }
.erow .e-main p { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.erow .e-amt { text-align: right; }
.erow .e-amt b { font-family: var(--font-num); font-size: 19px; font-weight: 700; display: block; line-height: 1.15; }
.erow .e-amt b.neg { color: var(--ink); }
.erow .e-amt b.pos { color: var(--money); }
.erow .e-amt b.dim { color: var(--ink-3); text-decoration: line-through; }

/* 海报 */
.poster-stage { padding: 18px 0 6px; display: flex; justify-content: center; }
.poster { width: 290px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px -20px rgba(38,42,48,.5); }
.poster h2 { font-size: 24px; line-height: 1.25; font-weight: 800; }
.p-pad { padding: 18px 18px 0; }
.p-who { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.8); }
.p-who.dark { color: var(--ink-2); }
.p-list { list-style: none; padding: 14px 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: 12px; color: var(--ink-2); }
.p-list li { display: flex; gap: 4px; align-items: center; }
.p-list .ico { color: var(--money); }
.p-foot { display: flex; align-items: center; gap: 12px; padding: 14px 18px 18px; margin-top: 14px; border-top: 1px dashed var(--line-2); background: #fff; }
.p-foot .pf-main { flex: 1; }
.p-foot small { font-size: 11px; color: var(--ink-3); display: block; margin-top: 6px; line-height: 1.4; }
.sc-sub { font-size: 12px; color: var(--ink-2); margin-top: 6px; }

/* 道路：文字在上，插画单独成带 */
.pt-road { background: var(--asphalt); color: #fff; }
.pt-road h2 { margin-top: 14px; }
.pt-road .p-price { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.75); }
.pt-road .p-price b { font-family: var(--font-num); font-size: 34px; color: var(--plate); font-weight: 700; margin-right: 2px; }
.pt-road .p-art { height: 96px; margin-top: 16px; }

/* 黄牌：整张上半部做成一块号牌 */
.pt-plate { background: var(--plate); padding: 12px; }
.pp-frame { position: relative; border: 3px solid var(--plate-ink); border-radius: 10px; padding: 14px 14px 16px; overflow: hidden; color: var(--plate-ink); }
.pp-frame h2 { margin-top: 14px; position: relative; }
.pp-price { display: flex; align-items: center; gap: 6px; margin-top: 12px; position: relative; }
.pp-price .num { font-size: 44px; font-weight: 700; line-height: 1; }
.pp-price small { font-size: 12px; line-height: 1.3; font-weight: 600; }
.pp-xue { position: absolute; right: -8px; top: -18px; font-style: normal; font-size: 112px; font-weight: 900; line-height: 1; color: rgba(31,34,38,.07); }
.pt-plate .p-who.dark { color: rgba(31,34,38,.75); position: relative; }

/* 路牌：指路标志 */
.pt-sign { padding: 16px; background: #F3F4F1; }
.ps-board { background: var(--sign-blue); color: #fff; border-radius: 10px; padding: 12px 14px 12px; box-shadow: inset 0 0 0 3px var(--sign-blue), inset 0 0 0 5px #fff; }
.ps-name { font-size: 12px; font-weight: 600; opacity: .85; padding: 2px 2px 8px; border-bottom: 2px solid rgba(255,255,255,.85); }
.ps-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 6px; padding: 8px 2px; }
.ps-row + .ps-row { border-top: 1px solid rgba(255,255,255,.3); }
.ps-row b { font-size: 16px; }
.ps-row span { font-size: 12px; opacity: .85; }
.ps-row.big b { font-size: 22px; }
.ps-row.big span { font-size: 14px; opacity: 1; }
.ps-row.big span .num { font-size: 32px; line-height: 1; }
.ps-foot { font-size: 12px; text-align: center; padding-top: 8px; border-top: 2px solid rgba(255,255,255,.85); }

/* 驾照卡 */
.pt-license { background: #E4ECE3; padding: 18px 16px 4px; }
.pt-license h2 { color: #22402A; }
.lc-card { margin-top: 14px; background: #F7FAF5; border-radius: 10px; box-shadow: 0 0 0 1px #C5D4C3, 0 10px 18px -14px rgba(34,64,42,.6); overflow: hidden; }
.lc-head { display: flex; justify-content: space-between; padding: 8px 12px; background: #2F5D3A; color: #fff; font-size: 12px; font-weight: 600; }
.lc-head span:last-child { opacity: .8; font-weight: 400; }
.lc-body { display: flex; gap: 12px; padding: 12px; }
.lc-photo { width: 62px; height: 80px; flex: none; border-radius: 4px; border: 1.5px dashed #9DB59A; color: #7E9A7B; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; }
.lc-body dl { flex: 1; display: grid; gap: 5px; }
.lc-body dl div { display: grid; grid-template-columns: 56px 1fr; font-size: 12px; align-items: baseline; }
.lc-body dt { color: #6C8269; }
.lc-body dd { font-weight: 600; color: #22402A; }
.lc-body dd.lc-lic { font-size: 22px; line-height: 1; }
.lc-ref { padding: 7px 12px; border-top: 1px dashed #C5D4C3; font-size: 11px; color: #6C8269; }

/* 成绩单 */
.pt-score { padding: 16px 18px 0; background: #fff; background-image: linear-gradient(#EEF0EC 1px, transparent 1px); background-size: 100% 22px; }
.sc-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); padding-bottom: 8px; border-bottom: 2px solid var(--ink); background: #fff; }
.sc-head span:first-child { font-weight: 700; color: var(--ink); }
.sc-main { display: flex; align-items: center; gap: 14px; padding: 10px 0 6px; }
.sc-main b { font-size: 76px; font-weight: 700; line-height: 1; color: var(--ink); }
.sc-stamp { width: 70px; height: 70px; border-radius: 50%; border: 3px solid var(--warn); color: var(--warn); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; transform: rotate(-14deg); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px var(--warn); letter-spacing: 2px; }
.sc-tb { width: 100%; border-collapse: collapse; font-size: 11px; text-align: center; background: #fff; }
.sc-tb td { border: 1px solid var(--line-2); padding: 4px 2px; }
.sc-tb tr:first-child td { color: var(--ink-2); }
.sc-tb tr:last-child td { color: var(--money); font-weight: 600; }
.pt-score h2 { margin-top: 14px; font-size: 22px; }

/* 倒计时日历 */
.pt-cal { padding: 22px 18px 0; background: #F6F3EE; text-align: center; }
.cal-page { position: relative; width: 150px; margin: 0 auto; background: #fff; border-radius: 10px; box-shadow: 0 10px 18px -12px rgba(38,42,48,.45), 0 0 0 1px var(--line); overflow: hidden; padding-bottom: 10px; }
.cal-rings { position: absolute; top: -6px; left: 0; right: 0; display: flex; justify-content: space-around; padding: 0 30px; }
.cal-rings i { width: 8px; height: 16px; border-radius: 4px; background: var(--asphalt-3); }
.cal-top { background: var(--warn); color: #fff; font-size: 13px; font-weight: 700; padding: 12px 0 6px; }
.cal-num { font-size: 72px; font-weight: 700; line-height: 1; margin-top: 6px; }
.cal-unit { font-size: 11px; color: var(--ink-2); }
.pt-cal h2 { margin-top: 18px; font-size: 22px; }
.pt-cal + .p-list { background: #F6F3EE; padding-bottom: 2px; }

/* 简洁 */
.pt-plain { padding: 22px 18px 0; }
.pl-school { font-size: 12px; font-weight: 600; color: var(--ink-2); padding-bottom: 10px; border-bottom: 3px solid var(--ink); display: inline-block; }
.pt-plain h2 { margin-top: 16px; font-size: 26px; }
.pl-price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 14px; font-size: 13px; color: var(--ink-2); }
.pl-price .num { font-size: 36px; font-weight: 700; color: var(--ink); }

/* 样式选择 */
.tpl-label { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px 0; font-size: 15px; font-weight: 700; }
.tpl-label span { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.tpls { display: flex; gap: 10px; padding: 10px 16px 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 16px; }
.tpls::-webkit-scrollbar { display: none; }
.tpls button { flex: none; width: 58px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-2); scroll-snap-align: start; }
.tpls .sw { position: relative; width: 50px; height: 66px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; background: #fff; }
.tpls .sw i { position: absolute; inset: 0 0 34% 0; }
.tpls .sw b { position: absolute; left: 0; right: 0; }
.tpls .sw::after { content: ""; position: absolute; left: 6px; right: 18px; bottom: 7px; height: 4px; border-radius: 2px; background: var(--line-2); box-shadow: 30px -6px 0 -1px var(--line-2); }
.tpls .sw-t { position: absolute; left: 0; right: 0; top: 33%; transform: translateY(-50%); text-align: center; font-style: normal; font-weight: 800; font-size: 16px; line-height: 1; }
.tpls button.on { color: var(--ink); font-weight: 600; }
.tpls button.on .sw { box-shadow: 0 0 0 2px var(--asphalt); }

/* 团队 */
.tabs { display: flex; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.tabs button { flex: 1; height: 46px; font-size: 14px; color: var(--ink-2); position: relative; }
.tabs button.on { color: var(--ink); font-weight: 700; }
.tabs button.on::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 28px; height: 3px; margin-left: -14px; border-radius: 2px; background: var(--plate); box-shadow: 0 0 0 .5px var(--plate-deep); }
.tabs button small { font-family: var(--font-num); font-size: 15px; margin-left: 3px; }
.mrow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.mrow .m-main { flex: 1; min-width: 0; }
.mrow .m-main b { font-size: 15px; font-weight: 600; }
.mrow .m-main p { font-size: 12px; color: var(--ink-3); }
.mrow .m-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.mrow .m-side small { font-size: 12px; color: var(--money); font-family: var(--font-num); font-weight: 600; font-size: 15px; }
.summary-bar { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 12px; color: var(--ink-2); }
.empty { text-align: center; padding: 48px 32px; color: var(--ink-2); font-size: 13px; }
.empty .btn { margin-top: 14px; }

/* 提现 */
.wd { background: #fff; margin: 12px 16px 0; border-radius: var(--r-md); padding: 16px; }
.wd .wd-to { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.wd .wx { width: 28px; height: 28px; border-radius: 6px; background: #07C160; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.wd .wd-input { display: flex; align-items: center; gap: 6px; padding: 16px 0 10px; border-bottom: 1px solid var(--line); }
.wd .wd-input span { font-family: var(--font-num); font-size: 34px; font-weight: 700; }
.wd .wd-input input { flex: 1; min-width: 0; border: 0; outline: 0; font-family: var(--font-num); font-size: 40px; font-weight: 700; }
.wd .wd-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); padding-top: 10px; }

/* 规则 */
.rule-tree { padding: 6px 0 2px; }
.rt-node { display: flex; align-items: center; gap: 10px; }
.rt-node .ava { box-shadow: 0 0 0 3px #fff; }
.rt-node b { font-size: 14px; }
.rt-node .rt-r { margin-left: auto; font-family: var(--font-num); font-weight: 700; font-size: 18px; color: var(--money); }
.rt-link { margin-left: 17px; border-left: 2px dashed var(--line-2); padding: 6px 0 6px 20px; font-size: 12px; color: var(--ink-3); }
.rtable { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 4px; }
.rtable th, .rtable td { padding: 9px 4px; text-align: center; border-bottom: 1px solid var(--line); }
.rtable th { font-weight: 600; color: var(--ink-2); font-size: 12px; }
.rtable td:first-child, .rtable th:first-child { text-align: left; }
.rtable td.num { font-size: 17px; font-weight: 700; }
.faq dt { font-weight: 600; font-size: 14px; margin-top: 12px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { font-size: 13px; color: var(--ink-2); margin-top: 3px; }

/* 我的 */
.me-head { background: #fff; padding: 12px 20px 20px; display: flex; align-items: center; gap: 14px; }
.me-head .mh-main { flex: 1; }
.me-head b { font-size: 19px; display: block; }
.me-head p { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.menu { background: #fff; border-radius: var(--r-md); margin: 12px 16px 0; padding: 0 14px; }
.menu button { width: 100%; display: flex; align-items: center; gap: 12px; height: 52px; border-bottom: 1px solid var(--line); font-size: 15px; text-align: left; }
.menu button:last-child { border-bottom: 0; }
.menu button span { flex: 1; }
.menu button em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.myenroll { background: #fff; border-radius: var(--r-md); margin: 12px 16px 0; padding: 14px 16px; }
.progress { display: flex; gap: 4px; margin-top: 12px; }
.progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress i.on { background: var(--asphalt); }
.progress-l { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.upload { width: 96px; height: 72px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--ink-3); gap: 2px; margin: 10px 0 14px; }
.benefit { list-style: none; display: grid; gap: 10px; }
.benefit li { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); }
.benefit li b { color: var(--ink); display: block; font-size: 14px; }
.benefit .ico { color: var(--asphalt); margin-top: 2px; }

/* 列表检索与加载更多 */
.team-tools { background: #fff; padding: 10px 16px 0; border-bottom: 1px solid var(--line); }
.m-search { display: flex; align-items: center; gap: 6px; height: 36px; border-radius: 18px; background: var(--road); padding: 0 12px; color: var(--ink-3); }
.m-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); }
.team-tools .chips-in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 10px !important; }
.mrow .m-hint { font-size: 11px; color: var(--ink-3); }
.load-more { display: block; width: calc(100% - 32px); margin: 12px 16px 0; height: 40px; border-radius: 20px; background: #fff; color: var(--ink-2); font-size: 13px; box-shadow: inset 0 0 0 1px var(--line); }
.list-end { text-align: center; font-size: 12px; color: var(--ink-3); padding: 14px 0 0; }

/* 试学入口 */
.trial-card { margin: 12px 16px 0; background: #fff; border-radius: var(--r-md); padding: 12px 14px; display: flex; align-items: center; gap: 12px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--money); }
.trial-card > div { flex: 1; }
.trial-card b { font-size: 15px; }
.trial-card p { font-size: 12px; color: var(--ink-2); }
.trial-card .tc-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--money-bg); color: var(--money); display: flex; align-items: center; justify-content: center; flex: none; }
.trial-card > .ico { color: var(--ink-3); }

/* 授权手机号弹层 */
.ask { text-align: center; padding-top: 6px; }
.ask-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--road); display: inline-flex; align-items: center; justify-content: center; color: var(--asphalt); }
.ask h3 { font-size: 18px; margin-top: 10px; }
.ask > .muted { font-size: 13px; margin: 4px 0 14px; }
.ask .btn-block { margin-top: 6px; }
.ask-f { text-align: left; margin-bottom: 8px; }
.ask-f small { font-size: 12px; color: var(--ink-2); }
.ask-f .chips-in { padding: 6px 0 10px; }
.ask-alt { display: block; margin: 12px auto 0; font-size: 13px; color: var(--sign-blue); }
.ask-privacy { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: var(--ink-3); margin-top: 14px; }
.ask-known { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--road); margin-bottom: 8px; text-align: left; }
.ask-known span { font-size: 13px; color: var(--ink-2); }
.ask-known b { flex: 1; font-size: 20px; }
.ask-known button { font-size: 13px; color: var(--sign-blue); }
.ask .field { text-align: left; }
.wx-auth { padding-top: 4px; }
.wx-h { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.wx-logo { width: 26px; height: 26px; border-radius: 50%; background: var(--plate); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.wx-auth h3 { font-size: 18px; margin: 14px 0 12px; }
.wx-opt { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wx-opt b { font-size: 20px; display: block; }
.wx-opt small { font-size: 12px; color: var(--ink-3); }
.wx-opt i { color: #07C160; }
.wx-btns { display: flex; gap: 12px; margin-top: 20px; }
.wx-btns .btn { flex: 1; }

/* 好友邀请落地页 */
.inv-head { background: var(--asphalt); color: #fff; padding: 16px 16px 18px; }
.inv-who { display: flex; align-items: center; gap: 12px; }
.inv-who b { font-size: 17px; }
.inv-who p { font-size: 13px; color: rgba(255,255,255,.7); }
.inv-quote { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.9); padding-left: 12px; border-left: 3px solid var(--plate); }
.ticket { margin: 14px 16px 0; display: flex; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 20px -14px rgba(38,42,48,.5); }
.tk-l { width: 96px; background: var(--plate); color: var(--plate-ink); display: flex; align-items: baseline; justify-content: center; padding-top: 22px; position: relative; flex: none; }
.tk-l::after { content: ""; position: absolute; right: -1px; top: 8px; bottom: 8px; border-right: 2px dashed #fff; }
.tk-l b { font-size: 44px; font-weight: 700; line-height: 1; }
.tk-l small { font-size: 13px; font-weight: 700; margin-left: 2px; }
.tk-r { flex: 1; padding: 12px 14px; }
.tk-r b { font-size: 15px; }
.tk-r p { font-size: 12px; color: var(--ink-2); margin-bottom: 8px; }
.tk-done { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--money); font-weight: 600; }
.ticket.got .tk-l { background: #E9E2BF; }
.coupon-tip { margin: 10px 16px 0; padding: 10px 12px; border-radius: 10px; background: var(--amber-bg); display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; color: #6E5500; }
.coupon-tip span { flex: 1; }
.coupon-tip .ct-go { font-size: 13px; color: var(--plate-ink); background: var(--plate); padding: 3px 10px; border-radius: 12px; }

/* ================= 认筹 / 刷题 / 免费学车 / 排行榜 ================= */
.persona { display: flex; align-items: center; gap: 6px; padding: 7px 12px; background: #F4F0FF; color: #4B3A8C; font-size: 11px; border-bottom: 1px dashed #7A62C4; }
.persona span { flex: 1; }
.persona button { color: #4B3A8C; font-weight: 700; text-decoration: underline; font-size: 11px; }

.cr-price small { display: block; font-size: 11px; color: var(--ink-3); line-height: 1.2; }
.cr-price .cr-after { color: var(--money); font-weight: 600; }
.cc-price small { display: block; font-size: 11px; color: var(--ink-3); font-family: var(--font); font-weight: 400; text-align: right; }
.d-price small { font-size: 12px; color: var(--ink-3); }
.d-deduct { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: var(--amber-bg); color: #6E5500; font-size: 13px; }
.d-deduct b { font-size: 18px; color: var(--ink); }

.quiz-card { margin: 12px 16px 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--sign-blue); color: #fff; display: flex; align-items: center; gap: 12px; cursor: pointer; box-shadow: inset 0 0 0 3px var(--sign-blue), inset 0 0 0 4.5px rgba(255,255,255,.7); }
.quiz-card .qc-l { flex: 1; }
.quiz-card b { font-size: 15px; }
.quiz-card p { font-size: 12px; color: rgba(255,255,255,.8); margin-top: 2px; }
.qc-go { flex: none; height: 30px; padding: 0 14px; border-radius: 15px; background: #fff; color: var(--sign-blue); font-size: 13px; font-weight: 700; display: flex; align-items: center; }

.rs-hero { margin: 12px 16px 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 12px; border-radius: var(--r-lg); background: var(--plate); color: var(--plate-ink); box-shadow: inset 0 0 0 4px var(--plate), inset 0 0 0 6.5px var(--plate-ink); }
.rs-hero small { display: block; font-size: 12px; font-weight: 600; }
.rs-hero b { font-size: 44px; font-weight: 700; line-height: 1; }
.rs-r b { font-size: 52px; }
.rs-arrow { opacity: .6; }
.rs-rules .inc li { font-size: 13px; }
.rs-banner { margin: 12px 16px 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--asphalt); color: #fff; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.rs-banner > div { flex: 1; }
.rs-banner b { font-size: 15px; }
.rs-banner p { font-size: 12px; color: rgba(255,255,255,.7); }

.voucher { margin: 14px 16px 0; border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: 0 12px 28px -18px rgba(38,42,48,.6); }
.vc-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px; background: var(--plate); color: var(--plate-ink); }
.vc-top small { font-size: 12px; font-weight: 600; }
.vc-top b { display: block; font-size: 52px; font-weight: 700; line-height: 1; }
.vc-qr { background: #fff; padding: 5px; border-radius: 8px; }
.voucher.expired .vc-top, .voucher.void .vc-top { background: #E4E5E1; color: var(--ink-3); }
.voucher.confirmed .vc-top { background: var(--money); color: #fff; }
.vc-mid { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px dashed var(--line-2); position: relative; }
.vc-mid::before, .vc-mid::after { content: ""; position: absolute; bottom: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--road); }
.vc-mid::before { left: -9px; } .vc-mid::after { right: -9px; }
.vc-mid span { font-size: 12px; color: var(--ink-3); }
.vc-mid b { font-size: 20px; letter-spacing: .04em; }
.vc-info { display: flex; align-items: center; gap: 8px; padding: 14px 18px 4px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.vc-info b { font-size: 18px; color: var(--warn); }
.vc-st { height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.vc-st.pending { background: var(--amber-bg); color: #8A6A00; }
.vc-st.ok { background: var(--money-bg); color: var(--money); }
.vc-st.off { background: var(--road); color: var(--ink-3); }
.vc-meta { padding: 4px 18px 14px; font-size: 12px; color: var(--ink-3); }
.remind { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.remind > div { flex: 1; }
.remind b { font-size: 14px; }

/* 刷题首页 */
.q-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px 0; }
.q-seg button { background: #fff; border-radius: 12px; padding: 10px 12px; text-align: left; box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; font-weight: 700; }
.q-seg button small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-seg button.on { background: var(--asphalt); color: #fff; box-shadow: none; }
.q-seg button.on small { color: rgba(255,255,255,.65); }
.q-stat { margin: 12px 16px 0; background: #fff; border-radius: var(--r-md); padding: 14px 16px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; align-items: end; gap: 4px; }
.q-stat > div b { font-size: 26px; font-weight: 700; display: block; line-height: 1.05; }
.q-stat > div b small { font-size: 14px; }
.q-stat .qs-main b { font-size: 36px; }
.q-stat > div span { font-size: 11px; color: var(--ink-3); }
.qs-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--road); overflow: hidden; margin-top: 10px; }
.qs-bar i { display: block; height: 100%; background: var(--plate); border-radius: 3px; }
.qs-bar.sm { height: 4px; margin-top: 6px; }
.qs-note { grid-column: 1 / -1; font-size: 11px; color: var(--ink-3); }
.q-ready { margin: 10px 16px 0; padding: 8px 12px; border-radius: 8px; background: var(--money-bg); color: var(--money); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.q-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 16px 0; }
.q-grid button { background: #fff; border-radius: 12px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; }
.q-grid button b { font-weight: 600; }
.q-grid button span { font-size: 11px; color: var(--ink-3); }
.q-grid .q-big { grid-column: span 2; align-items: flex-start; padding: 14px; text-align: left; }
.q-grid .q-big b { font-size: 17px; font-weight: 700; margin-top: 6px; }
.q-grid .q-big.exam { background: var(--plate); color: var(--plate-ink); }
.q-grid .q-big.exam span { color: rgba(31,34,38,.7); }
.q-ch { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.q-ch:last-child { border-bottom: 0; }
.q-ch > div { flex: 1; min-width: 0; }
.q-ch b { font-size: 14px; font-weight: 500; }
.q-chn { width: 24px; height: 24px; border-radius: 6px; background: var(--road); font-family: var(--font-num); font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }

/* 刷题门槛 */
.qa-hero { background: var(--asphalt); color: #fff; padding: 20px 16px 22px; text-align: center; }
.qa-signs { display: flex; justify-content: center; gap: 12px; }
.qa-signs svg { width: 48px; height: 48px; }
.qa-hero h2 { font-size: 22px; margin-top: 12px; }
.qa-hero p { font-size: 13px; color: rgba(255,255,255,.7); }
.qa-feat { list-style: none; margin: 12px 16px 0; background: #fff; border-radius: var(--r-md); padding: 6px 14px; }
.qa-feat li { display: flex; gap: 10px; padding: 8px 0; font-size: 12px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.qa-feat li:last-child { border-bottom: 0; }
.qa-feat b { display: block; font-size: 14px; color: var(--ink); }
.qa-feat .ico { color: var(--sign-blue); margin-top: 2px; }

/* 做题 */
.p-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); font-size: 14px; }
.p-top .num { color: var(--ink-3); font-size: 15px; }
.p-mode { margin-left: auto; display: flex; background: var(--road); border-radius: 15px; padding: 2px; }
.p-mode button { height: 26px; padding: 0 12px; border-radius: 13px; font-size: 12px; color: var(--ink-2); }
.p-mode button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.pq { background: #fff; margin: 12px 16px 0; border-radius: var(--r-md); padding: 16px; }
.pq-tags { display: flex; align-items: center; gap: 8px; }
.pq-type { height: 20px; padding: 0 7px; border-radius: 4px; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; color: #fff; background: var(--sign-blue); }
.pq-type.judge { background: var(--money); }
.pq-type.multi { background: var(--warn); }
.pq-q { font-size: 17px; line-height: 1.55; font-weight: 600; margin-top: 10px; }
.pq-img { display: flex; justify-content: center; padding: 14px 0 4px; }
.pq-opts { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pq-opt { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; font-size: 15px; }
.pq-opt i { width: 28px; height: 28px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.pq-opt.sel { box-shadow: inset 0 0 0 2px var(--asphalt); }
.pq-opt.sel i { background: var(--asphalt); color: #fff; box-shadow: none; }
.pq-opt.right { box-shadow: inset 0 0 0 2px var(--money); background: var(--money-bg); }
.pq-opt.right i { background: var(--money); color: #fff; box-shadow: none; }
.pq-opt.wrong { box-shadow: inset 0 0 0 2px var(--warn); background: var(--warn-bg); }
.pq-opt.wrong i { background: var(--warn); color: #fff; box-shadow: none; }
.pq-opt[disabled] { cursor: default; }
.pq-exp { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--road); font-size: 14px; line-height: 1.6; }
.pq-exp.ok { background: var(--money-bg); }
.pq-exp.no { background: var(--warn-bg); }
.pe-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; font-size: 13px; }
.pq-exp.ok .pe-head > b:first-child { color: var(--money); font-size: 15px; }
.pq-exp.no .pe-head > b:first-child { color: var(--warn); font-size: 15px; }
.pe-tip { display: flex; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(0,0,0,.12); color: #6E5500; font-size: 13px; }
.p-auto { display: flex; align-items: center; gap: 6px; margin: 12px 18px 0; font-size: 12px; color: var(--ink-2); }
.ab-icon.fav-on { color: #C08A00; }
.ac-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 12px; max-height: 300px; overflow: auto; }
.ac-grid button { height: 38px; border-radius: 8px; background: var(--road); font-family: var(--font-num); font-weight: 600; font-size: 15px; }
.ac-grid button.ok { background: var(--money-bg); color: var(--money); }
.ac-grid button.no { background: var(--warn-bg); color: var(--warn); }
.ac-grid button.done { background: var(--asphalt); color: #fff; }
.ac-grid button.cur { box-shadow: 0 0 0 2px var(--plate-deep); }

/* 考试 */
.ex-intro { background: #fff; margin: 12px 16px 0; border-radius: var(--r-md); padding: 18px 16px; }
.ex-intro h2 { font-size: 20px; }
.ex-intro .kv { margin-top: 10px; }
.ex-tip { display: flex; gap: 6px; font-size: 12px; color: var(--ink-2); background: var(--road); padding: 10px; border-radius: 8px; margin-top: 10px; }
.ex-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--asphalt); color: #fff; font-size: 14px; }
.ex-top .muted { color: rgba(255,255,255,.6); }
.ex-timer { font-family: var(--font-num); font-size: 24px; font-weight: 700; color: var(--plate); }
.ex-timer.warn { color: #FF7A6E; }
.qr-sheet { margin: 14px 16px 0; padding: 16px 18px 14px; background: #fff; border-radius: var(--r-md); background-image: linear-gradient(#EEF0EC 1px, transparent 1px); background-size: 100% 22px; }
.qr-sheet .sc-main b { font-size: 84px; }
.sc-stamp.fail { border-color: var(--ink-3); color: var(--ink-3); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px var(--ink-3); font-size: 16px; }
.sc-tb td.bad { color: var(--warn); }
.qr-say { margin-top: 12px; font-size: 14px; font-weight: 600; }
.share-score { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.share-score > div { flex: 1; }
.share-score b { font-size: 15px; }
.ss-poster { margin: 4px auto 16px; width: 240px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); text-align: center; }
.ss-top { background: var(--asphalt); color: #fff; padding: 16px; display: flex; flex-direction: column; align-items: center; }
.ss-top span { font-size: 12px; color: rgba(255,255,255,.7); }
.ss-top b { font-size: 64px; color: var(--plate); line-height: 1.05; }
.ss-top b small { font-size: 18px; }
.ss-poster p { font-size: 13px; padding: 10px 12px 0; }
.ss-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 14px; }
.rec-score { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; flex: none; }
.rec-score.ok { background: var(--money-bg); color: var(--money); }
.rec-score.no { background: var(--warn-bg); color: var(--warn); }

/* 推广：收益预计、免费学车、排行榜入口 */
.earn .e-est { margin-top: 12px; font-size: 12px; color: var(--plate); display: flex; align-items: center; gap: 5px; }
.erow.est { opacity: .85; }
.erow .e-amt b.dim2 { color: var(--ink-3); }
.pill.converted, .pill.converting { background: var(--sign-blue-bg); color: var(--sign-blue); }
.free-card { margin: 12px 16px 0; padding: 14px 16px; border-radius: var(--r-md); background: #fff; cursor: pointer; box-shadow: inset 0 0 0 2px var(--plate); }
.fc-h { display: flex; justify-content: space-between; align-items: baseline; }
.fc-h b { font-size: 16px; }
.fc-h span { font-size: 12px; color: var(--warn); font-weight: 600; }
.fc-dots { display: flex; gap: 8px; margin: 10px 0 6px; }
.fc-dots i { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line-2); font-family: var(--font-num); }
.fc-dots i.on { box-shadow: 0 0 0 2px var(--plate); }
.rank-entry { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.rank-entry > div { flex: 1; }
.rank-entry b { font-size: 15px; }
.re-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--amber-bg); color: #8A6A00; display: flex; align-items: center; justify-content: center; }
.team4 { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.team4 div { cursor: pointer; padding: 2px 0; }
.team4 div + div { border-left: 1px solid var(--line); }
.team4 b { font-size: 26px; font-weight: 700; display: block; line-height: 1.1; }
.team4 span { font-size: 12px; color: var(--ink-2); }

.fr-hero { background: var(--plate); color: var(--plate-ink); text-align: center; padding: 22px 16px 20px; }
.fr-hero h2 { font-size: 22px; line-height: 1.35; }
.fr-dots { display: flex; justify-content: center; gap: 10px; margin: 16px 0 10px; }
.fr-dots i { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; font-style: normal; box-shadow: inset 0 0 0 2px rgba(31,34,38,.25); }
.fr-dots i span { font-family: var(--font-num); font-size: 18px; font-weight: 700; opacity: .45; }
.fr-dots i.on { box-shadow: 0 0 0 3px var(--plate-ink); background: #fff; }
.fr-hero p { font-size: 14px; }
.fr-hero p b { font-size: 24px; }
.fr-lack { font-size: 14px; margin-bottom: 12px; }
.fr-lack b { font-size: 22px; color: var(--warn); }
.fr-choice { display: grid; gap: 10px; }
.fr-opt { text-align: left; padding: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.fr-opt b { font-size: 16px; }
.fr-opt span { font-size: 13px; color: var(--ink-2); }
.fr-opt small { font-size: 11px; color: var(--ink-3); }
.fr-opt.main { background: var(--asphalt); color: #fff; box-shadow: none; }
.fr-opt.main span { color: var(--plate); font-weight: 600; }
.fr-opt.main small { color: rgba(255,255,255,.6); }
.fr-opt[disabled] { opacity: .45; }
.fr-done { display: flex; gap: 12px; align-items: flex-start; color: var(--money); }
.fr-done.wait { color: #8A6A00; }
.fr-done b { font-size: 16px; color: var(--ink); }
.fr-done p { font-size: 13px; color: var(--ink-2); }
.rule-list li { font-size: 13px; }

.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; padding: 18px 16px 0; background: var(--asphalt); }
.pd { display: flex; flex-direction: column; align-items: center; color: #fff; position: relative; text-align: center; }
.pd b { font-size: 13px; margin-top: 6px; }
.pd p { font-size: 10px; color: var(--plate); min-height: 14px; }
.pd .pd-n { display: flex; align-items: baseline; gap: 2px; }
.pd .pd-n b { font-size: 26px; color: var(--plate); margin: 0; }
.pd .pd-n span { font-size: 11px; color: rgba(255,255,255,.7); }
.pd small { font-size: 11px; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.pd-medal { position: absolute; top: -6px; left: calc(50% + 14px); width: 22px; height: 22px; border-radius: 50%; background: var(--plate); color: var(--plate-ink); font-family: var(--font-num); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.pd1 .pd-medal { left: calc(50% + 18px); }
.pd2 .pd-medal { background: #D6D9DE; } .pd3 .pd-medal { background: #E2B38A; }
.pd-base { width: 100%; border-radius: 8px 8px 0 0; background: rgba(255,255,255,.12); }
.pd1 .pd-base { height: 34px; background: var(--plate); } .pd2 .pd-base { height: 22px; } .pd3 .pd-base { height: 14px; }
.rank-list { background: #fff; margin: 12px 16px 0; border-radius: var(--r-md); }
.rl-head, .rl-row { display: grid; grid-template-columns: 38px 1fr 44px 44px 72px; align-items: center; gap: 4px; padding: 10px 12px; font-size: 13px; text-align: center; }
.rl-head { font-size: 11px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.rl-head span:nth-child(2), .rl-u { text-align: left; }
.rl-row { border-bottom: 1px solid var(--line); }
.rl-row .num { font-size: 16px; font-weight: 600; }
.rl-n { color: var(--ink-3); }
.rl-u { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rl-u b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-row.me { background: var(--amber-bg); }
.rank-me { flex: 1; min-width: 0; }
.rank-me .rl-row { border: 0; padding: 4px 0; border-radius: 8px; }
.mv { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.mv-l { width: 64px; height: 52px; border-radius: 8px; background: var(--plate); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.mv-l small { font-size: 10px; font-weight: 600; }
.mv-l b { font-size: 22px; line-height: 1; }
.switch { width: 40px; height: 24px; border-radius: 12px; background: var(--line-2); position: relative; transition: background .15s; flex: none; display: inline-block; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch.on { background: var(--money); }
.switch.on::after { transform: translateX(16px); }

/* ---- 首页「免费学驾照」广告 ---- */
.free-ad { margin: 12px 16px 0; position: relative; display: flex; align-items: center; gap: 4px; padding: 14px 6px 14px 16px; border-radius: var(--r-md); cursor: pointer; overflow: hidden;
  background: var(--plate); color: var(--plate-ink); box-shadow: 0 10px 22px -14px rgba(38,42,48,.55); }
.free-ad::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(38,42,48,.045) 0 10px, transparent 10px 24px); pointer-events: none; }
.fa-l { flex: 1; min-width: 0; position: relative; }
.fa-k { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 4px; background: var(--asphalt); color: var(--plate); }
.free-ad h3 { font-size: 26px; font-weight: 900; line-height: 1.15; margin-top: 6px; letter-spacing: .02em; }
.free-ad p { font-size: 12.5px; margin-top: 4px; line-height: 1.45; }
.free-ad p b { font-family: var(--font-num); font-size: 16px; font-weight: 700; }
.fa-go { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px; height: 26px; padding: 0 10px 0 12px; border-radius: 13px; background: var(--asphalt); color: #fff; font-size: 12px; font-weight: 600; }
.fa-art { width: 118px; height: 94px; flex: none; position: relative; }

/* ---- 推广页说明 ---- */
.pm-hero { margin: 12px 16px 0; padding: 18px 16px 16px; border-radius: var(--r-md); background: #fff; position: relative; overflow: hidden; box-shadow: 0 8px 20px -14px rgba(38,42,48,.35); }
.pm-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--plate) 0 22px, var(--asphalt) 22px 36px); }
.pm-k { font-size: 12px; color: var(--ink-3); }
.pm-hero h2 { font-size: 21px; line-height: 1.35; margin-top: 4px; font-weight: 800; }
.pm-hero h2 em { font-style: normal; background: linear-gradient(transparent 58%, var(--plate) 58% 92%, transparent 92%); }
.pm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pm-way { background: var(--road); border-radius: 10px; padding: 10px 11px 11px; }
.pm-way.hot { background: var(--plate); color: var(--plate-ink); cursor: pointer; }
.pm-way i { font-style: normal; font-family: var(--font-num); font-weight: 700; font-size: 13px; opacity: .5; }
.pm-way b { display: block; font-size: 14px; margin-top: 1px; }
.pm-way p { font-size: 12px; line-height: 1.45; margin-top: 3px; color: var(--ink-2); }
.pm-way.hot p { color: rgba(31,34,38,.78); }
.pm-way em { font-style: normal; font-family: var(--font-num); font-weight: 700; font-size: 15px; color: var(--money); }
.pm-prog { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0; cursor: pointer; }
.pm-prog .fc-dots { margin: 0; gap: 6px; }
.pm-prog .fc-dots i { width: 28px; height: 28px; }
.pm-prog > span { display: inline-flex; align-items: center; font-size: 12px; color: var(--warn); font-weight: 600; text-align: right; }
.pm-hero .btn-block { margin-top: 2px; gap: 6px; }
.earn.as-card { margin: 12px 16px 0; border-radius: var(--r-md); padding-top: 16px; }
.pm-steps span { font-size: 12.5px; }
.pm-fee tr { cursor: pointer; }
.pm-fee .money-c { color: var(--money); font-weight: 700; }

/* ---- 济南驾考常见题型 ---- */
.jn-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; margin-right: 6px; border-radius: 4px; background: var(--warn); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 2px; flex: none; }
.pq-tags .jn-tag { margin: 0; vertical-align: 0; }
.jn-badge { display: inline-block; margin-top: 10px; padding: 2px 10px; border-radius: 11px; background: var(--plate); color: var(--plate-ink); font-size: 12px; font-weight: 700; }
.qa-hero .jn-badge + h2 { margin-top: 6px; line-height: 1.3; }
.jn-card { margin: 12px 16px 0; padding: 14px 14px 12px 16px; border-radius: 12px; background: #fff; display: flex; align-items: center; gap: 12px; cursor: pointer; box-shadow: inset 4px 0 0 var(--warn); }
.jn-l { flex: 1; min-width: 0; }
.jn-l b { font-size: 16px; }
.jn-l p { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.jn-bar { height: 4px; border-radius: 2px; background: var(--road); margin-top: 8px; overflow: hidden; }
.jn-bar i { display: block; height: 100%; background: var(--warn); border-radius: 2px; }
.jn-l small { font-size: 11px; color: var(--ink-3); }
.jn-go { flex: none; height: 32px; padding: 0 14px; border-radius: 16px; background: var(--warn); color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; }
