:root {
  --ink: #0b1726;
  --ink-soft: #20334a;
  --muted: #6b7b86;
  --paper: #f4f7f1;
  --paper-2: #e8efe8;
  --white: #fff;
  --lime: #d8f36a;
  --coral: #ff7658;
  --sky: #91bbff;
  --line: rgba(11, 23, 38, .13);
  --shadow: 0 22px 70px rgba(11, 23, 38, .13);
  --radius-lg: 30px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.store-shell { min-height: 100vh; overflow: hidden; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; padding: 16px clamp(18px, 4vw, 58px); border-bottom: 1px solid var(--line); background: rgba(244, 247, 241, .88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: var(--lime); background: var(--ink); font-weight: 900; letter-spacing: -.11em; box-shadow: 4px 4px 0 var(--coral); }
.brand-copy strong, .brand-copy small { display: block; line-height: 1.1; }
.brand-copy strong { font-size: 13px; letter-spacing: .1em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.topnav { display: flex; align-items: center; gap: 8px; }
.topnav a, .nav-button { padding: 10px 12px; border: 0; border-radius: 999px; color: var(--ink-soft); background: transparent; font-size: 13px; font-weight: 800; }
.topnav a:hover, .nav-button:hover { background: rgba(11, 23, 38, .06); }
.nav-button-solid { color: var(--ink); background: var(--lime); }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 16px; max-width: 1400px; margin: 24px auto 0; padding: 0 clamp(18px, 4vw, 58px); }
.hero-main, .hero-side { min-height: 400px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-main { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 52px); color: var(--white); background: radial-gradient(circle at 78% 18%, rgba(145, 187, 255, .28), transparent 24%), radial-gradient(circle at 15% 90%, rgba(216, 243, 106, .14), transparent 30%), var(--ink); }
.hero-main::after { content: ""; position: absolute; right: -166px; bottom: -258px; width: 470px; height: 470px; border: 1px solid rgba(216, 243, 106, .38); border-radius: 50%; box-shadow: 0 0 0 20px rgba(216, 243, 106, .08), 0 0 0 42px rgba(216, 243, 106, .05); }
.eyebrow { margin-bottom: 20px; color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-dark { color: var(--coral); }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(40px, 5.3vw, 72px); line-height: .97; letter-spacing: -.075em; }
.hero h1 span { color: var(--lime); }
.hero-lede { max-width: 520px; margin: 18px 0 24px; color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.65; }
.hero-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 720px; margin-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.hero-step { display: flex; align-items: center; gap: 9px; min-height: 54px; color: rgba(255, 255, 255, .62); font-size: 12px; font-weight: 800; }
.hero-step + .hero-step { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-step b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--ink); background: rgba(255, 255, 255, .78); font-size: 10px; }
.hero-step.is-current { color: var(--white); }
.hero-step.is-current b { background: var(--lime); }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled, .text-button:disabled { cursor: not-allowed; opacity: .52; transform: none; }
.button:focus-visible, .nav-button:focus-visible, .school-card:focus-visible, .service-card:focus-visible, .close-button:focus-visible, .text-button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.button-primary { color: var(--ink); background: var(--lime); box-shadow: 3px 3px 0 rgba(255, 255, 255, .24); }
.button-outline { color: var(--ink); border-color: var(--line); background: var(--white); }
.button-quiet { color: var(--ink); border-color: var(--line); background: transparent; }
.hero-main .button-quiet { color: var(--white); border-color: rgba(255, 255, 255, .24); }
.hero-note, .preview-note { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; margin: 22px 0 0; color: rgba(255, 255, 255, .5); font-size: 11px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(216, 243, 106, .13); }
.hero-side { position: relative; overflow: hidden; padding: 26px; color: var(--ink); background: var(--coral); }
.hero-side::before { content: "SH"; position: absolute; right: -25px; bottom: -22px; color: rgba(255, 255, 255, .23); font-size: 172px; font-weight: 900; letter-spacing: -.16em; transform: rotate(-12deg); }
.side-kicker { position: relative; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hero-side h2 { position: relative; max-width: 280px; margin: 14px 0 22px; font-size: clamp(29px, 3.5vw, 42px); line-height: .98; letter-spacing: -.07em; }
.contact-stamp { position: relative; display: grid; place-items: start; width: 132px; height: 132px; padding: 19px; border: 2px solid var(--ink); border-radius: 50%; transform: rotate(8deg); }
.contact-stamp span, .contact-stamp small { font-size: 11px; font-weight: 800; }
.contact-stamp strong { margin-top: 8px; font-size: 22px; letter-spacing: -.06em; }
.side-rule { position: relative; height: 1px; margin: 28px 0 15px; background: rgba(11, 23, 38, .24); }
.hero-side p { position: relative; max-width: 250px; margin: 0; font-size: 13px; line-height: 1.6; font-weight: 700; }

.section { max-width: 1400px; margin: 0 auto; padding: 52px clamp(18px, 4vw, 58px) 0; }
.run-context { padding-top: 24px; }
.run-context-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 24px; border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: var(--radius-md); background: rgba(255, 255, 255, .72); }
.run-context-copy { max-width: 700px; }
.run-context-copy .eyebrow { margin-bottom: 10px; }
.run-context-copy h2 { margin: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1; letter-spacing: -.065em; }
.run-context-copy p { max-width: 620px; margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.run-context-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; flex: 1 1 600px; max-width: 720px; }
.run-context-options a { display: grid; gap: 7px; min-height: 78px; align-content: center; padding: 12px 14px; border: 1px solid #dbe6dd; border-radius: 14px; color: var(--ink); background: #fff; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.run-context-options a:hover { transform: translateY(-2px); border-color: #b8ccbd; box-shadow: 0 10px 24px rgba(11, 23, 38, .08); }
.run-context-options small { color: var(--muted); font-size: 11px; font-weight: 700; }
.run-context-options strong { font-size: 13px; line-height: 1.35; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.section-head.compact { align-items: center; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: .98; letter-spacing: -.075em; }
.section-head p { max-width: 430px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.section-head .eyebrow { margin-bottom: 14px; }
.search-field { display: flex; align-items: center; gap: 9px; min-width: 260px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .74); }
.search-field span { color: var(--muted); font-size: 19px; line-height: 1; }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.school-picker { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); gap: 14px; margin-bottom: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ink); box-shadow: var(--shadow); }
.school-select-field { display: grid; gap: 9px; }
.school-select-field > span, .selected-school small { color: rgba(255, 255, 255, .56); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.school-select-field select { width: 100%; min-height: 52px; padding: 0 44px 0 15px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 13px; color: var(--ink); background: var(--white); font-size: 15px; font-weight: 800; cursor: pointer; }
.selected-school { display: flex; justify-content: center; flex-direction: column; padding: 13px 15px; border-radius: 13px; background: rgba(255, 255, 255, .08); }
.selected-school strong { margin: 5px 0 4px; color: var(--lime); font-size: 19px; letter-spacing: -.03em; }
.selected-school span { color: rgba(255, 255, 255, .62); font-size: 11px; }
.school-status { margin: -6px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.school-status[data-status="fallback"] { color: var(--coral); font-weight: 800; }
.school-status[data-status="ready"] { color: #32724d; }
.school-loading { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--line); border-radius: var(--radius-md); color: var(--muted); text-align: center; }
.school-retry { grid-column: 1 / -1; justify-self: center; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: var(--white); font-size: 12px; font-weight: 900; cursor: pointer; }
.school-grid, .service-grid, .status-grid { display: grid; gap: 14px; }
.school-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.school-card, .service-card { text-align: left; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, .76); }
.school-card { display: grid; grid-template-columns: 1fr auto; align-content: space-between; min-height: 164px; padding: 19px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.school-card:hover, .service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 23, 38, .1); }
.school-card.is-selected, .service-card.is-selected { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.school-index, .service-icon { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.school-status, .service-tag { justify-self: end; padding: 5px 8px; border-radius: 999px; color: #425500; background: var(--lime); font-size: 10px; font-weight: 900; }
.school-card:not(.is-selected) .school-status { color: var(--muted); background: var(--paper-2); }
.school-card strong { grid-column: 1 / -1; margin-top: 24px; font-size: 21px; letter-spacing: -.05em; }
.school-card small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.empty-state { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.selection-readout { padding: 10px 13px; border-radius: 999px; color: var(--ink-soft); background: var(--paper-2); font-size: 12px; font-weight: 800; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { display: flex; min-height: 220px; flex-direction: column; padding: 20px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card.is-unavailable, .service-card:disabled { cursor: not-allowed; opacity: .68; transform: none; box-shadow: none; }
.service-topline { display: flex; align-items: center; justify-content: space-between; }
.service-card > strong { margin-top: 34px; font-size: 22px; letter-spacing: -.05em; }
.service-card p { min-height: 42px; margin: 11px 0 26px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.service-price { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.service-price b { float: right; color: var(--ink); }
.action-band { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 18px; padding: 21px 23px; border-radius: var(--radius-md); color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.action-band small, .action-band span { display: block; color: rgba(255, 255, 255, .55); font-size: 11px; }
.action-band strong { display: block; margin: 5px 0; font-size: 20px; letter-spacing: -.04em; }
.action-band .button-primary { flex: 0 0 auto; }
.contact-section { padding-top: 28px; }
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr); gap: 22px; align-items: center; padding: 24px; border-radius: var(--radius-lg); color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.contact-copy .eyebrow { margin-bottom: 10px; }
.contact-copy h2 { max-width: 680px; margin: 0; font-size: clamp(26px, 3.5vw, 44px); line-height: .98; letter-spacing: -.07em; }
.contact-copy p { max-width: 620px; margin: 12px 0 18px; color: rgba(255, 255, 255, .62); font-size: 13px; line-height: 1.6; }
.contact-methods { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-method { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 12px; min-width: 220px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; background: rgba(255, 255, 255, .06); }
.contact-method small, .contact-method span { color: rgba(255, 255, 255, .56); font-size: 11px; }
.contact-method strong { color: var(--lime); font-size: 18px; letter-spacing: .02em; }
.contact-method .button { grid-column: 1 / -1; justify-self: start; min-height: 34px; padding: 7px 11px; color: var(--ink); background: var(--white); font-size: 11px; }
.qq-qr-card { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 18px; color: var(--ink); background: var(--white); }
.qq-qr-card img { width: 128px; height: 128px; flex: 0 0 128px; object-fit: cover; border-radius: 12px; }
.qq-qr-card strong, .qq-qr-card span, .qq-qr-card small { display: block; }
.qq-qr-card strong { font-size: 17px; letter-spacing: -.04em; }
.qq-qr-card span { margin-top: 6px; color: var(--ink-soft); font-size: 13px; font-weight: 800; }
.qq-qr-card small { margin-top: 8px; color: var(--muted); font-size: 11px; }
.trust-section { padding-bottom: 60px; }
.status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.status-card { min-height: 112px; padding: 16px; border-top: 3px solid var(--coral); background: rgba(255, 255, 255, .45); }
.status-card span { color: var(--coral); font-size: 11px; font-weight: 900; }
.status-card strong { display: block; margin-top: 16px; font-size: 18px; letter-spacing: -.04em; }
.status-card p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.growth-section { padding-bottom: 60px; }
.growth-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.growth-kpis > div, .growth-card { padding: 19px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, .72); }
.growth-kpis small, .growth-kpis span { display: block; color: var(--muted); font-size: 11px; }
.growth-kpis strong { display: block; margin: 16px 0 8px; font-size: 31px; letter-spacing: -.06em; }
.growth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.card-heading { display: flex; justify-content: space-between; margin-bottom: 22px; }
.card-heading span { color: var(--muted); font-size: 11px; }
.funnel-row { display: grid; grid-template-columns: 100px 1fr 50px; align-items: center; gap: 10px; margin: 17px 0; font-size: 12px; }
.funnel-row i { display: block; height: 9px; border-radius: 99px; background: var(--lime); }
.funnel-row b { text-align: right; font-size: 12px; }
.channel-list { margin: 0; padding: 0; list-style: none; }
.channel-list li { display: grid; grid-template-columns: 1fr auto 50px; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.channel-list em { color: #688400; font-style: normal; font-weight: 900; text-align: right; }
.footer { display: flex; justify-content: space-between; gap: 20px; max-width: 1400px; margin: 0 auto; padding: 21px clamp(18px, 4vw, 58px) 30px; color: var(--muted); font-size: 11px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; max-width: min(420px, calc(100% - 36px)); padding: 12px 16px; border-radius: 999px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.modal-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 18px; background: rgba(11, 23, 38, .62); }
dialog.modal-backdrop { margin: 0; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; color: inherit; box-sizing: border-box; }
dialog.modal-backdrop:not([open]) { display: none; }
dialog.modal-backdrop::backdrop { background: transparent; }
.modal { width: min(620px, 100%); max-height: calc(100vh - 36px); overflow: auto; padding: 26px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 90px rgba(0, 0, 0, .3); }
.modal-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.modal-head .eyebrow { margin-bottom: 12px; }
.modal h2 { margin: 0; font-size: clamp(30px, 5vw, 44px); line-height: .98; letter-spacing: -.07em; }
.close-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); font-size: 25px; line-height: 1; }
.choice-summary { display: grid; gap: 5px; margin-top: 24px; padding: 16px; border-left: 4px solid var(--coral); background: var(--white); }
.choice-summary small, .choice-summary span { color: var(--muted); font-size: 11px; }
.choice-summary strong { font-size: 17px; letter-spacing: -.03em; }
.buyer-fields { display: grid; gap: 7px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, .78); }
.buyer-fields label { color: var(--ink); font-size: 12px; font-weight: 900; }
.buyer-fields input { min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: var(--white); font-size: 13px; }
.buyer-fields input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 23, 38, .08); }
.buyer-fields small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.manual-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.referral-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 0; padding: 13px 15px; border: 1px solid #b8d9c2; border-radius: var(--radius-md); background: #eaf6ed; color: var(--ink); }
.referral-banner strong, .referral-banner span { display: block; }
.referral-banner strong { font-size: 13px; }
.referral-banner span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.referral-banner code { flex: 0 0 auto; color: var(--green); font-size: 11px; }
.timeline-item { display: grid; gap: 8px; min-height: 95px; padding: 12px; border-radius: 14px; background: var(--paper-2); }
.timeline-item b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: var(--ink); background: var(--white); font-size: 11px; }
.timeline-item.is-active b { background: var(--lime); }
.timeline-item strong { display: block; font-size: 12px; }
.timeline-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.contact-panel, .order-panel, .payment-panel, .card-panel { margin-top: 12px; padding: 16px; border-radius: var(--radius-md); }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--coral); }
.contact-panel small, .contact-panel strong, .contact-panel span { display: block; }
.contact-panel small, .contact-panel span { font-size: 11px; }
.contact-panel strong { margin: 5px 0; font-size: 18px; letter-spacing: -.04em; }
.order-panel { background: var(--ink); color: var(--white); }
.order-progress { margin-top: 12px; padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper-2); }
.order-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.order-progress-head strong { font-size: 12px; }
.order-progress-head span { color: var(--muted); font-size: 11px; }
.order-progress-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.order-progress-line { position: absolute; top: 12px; left: 12%; right: 12%; height: 2px; background: #d9e4dc; }
.order-progress-dot { position: relative; z-index: 1; display: grid; justify-items: center; gap: 5px; color: var(--muted); font-size: 10px; text-align: center; }
.order-progress-dot b { display: grid; place-items: center; width: 25px; height: 25px; border: 2px solid #d9e4dc; border-radius: 50%; background: var(--paper-2); color: var(--muted); font-size: 10px; }
.order-progress-dot.is-active, .order-progress-dot.is-done { color: var(--ink); }
.order-progress-dot.is-active b, .order-progress-dot.is-done b { border-color: var(--lime); background: var(--lime); color: #425500; }
.order-status { display: flex; align-items: center; gap: 8px; }
.order-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.order-status strong { font-size: 13px; }
.order-panel p { margin: 8px 0 12px; color: rgba(255, 255, 255, .58); font-size: 12px; line-height: 1.5; }
.order-number-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .18); }
code { font-family: "Cascadia Code", Consolas, monospace; letter-spacing: .04em; }
.order-number-row code { color: var(--lime); font-size: 15px; }
.text-button { padding: 3px 0; border: 0; color: var(--lime); background: transparent; font-size: 11px; font-weight: 900; }
.card-panel { background: var(--lime); }
.card-panel small, .card-panel code, .card-panel p { display: block; }
.card-panel small { font-size: 11px; font-weight: 900; }
.card-panel code { margin: 10px 0; font-size: 20px; font-weight: 900; }
.card-panel p { margin: 0 0 12px; color: rgba(11, 23, 38, .65); font-size: 11px; }
.payment-panel { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #b9d4ec; background: #eef7ff; }
.payment-panel small, .payment-panel strong, .payment-panel p { display: block; }
.payment-panel small { color: var(--muted); font-size: 11px; font-weight: 900; }
.payment-panel strong { margin: 5px 0; color: var(--ink); font-size: 16px; }
.payment-panel p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.wallet-payment-panel { border-color: #b9d9c2; background: #f0faf2; }
.wallet-payment-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.wallet-payment-panel[hidden] { display: none; }
@media (max-width: 620px) { .wallet-payment-panel { align-items: flex-start; flex-direction: column; } .wallet-payment-actions { width: 100%; justify-content: stretch; } .wallet-payment-actions .button { flex: 1; } }
.voucher-redeem-panel { display: grid; gap: 10px; margin-top: 12px; padding: 16px; border: 1px solid #b9d4ec; border-radius: var(--radius-md); background: #f5faff; color: var(--ink); }
.voucher-redeem-panel[hidden] { display: none; }
.voucher-redeem-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.voucher-redeem-head small, .voucher-redeem-head strong { display: block; }
.voucher-redeem-head small { color: var(--muted); font-size: 10px; font-weight: 900; }
.voucher-redeem-head strong { margin-top: 3px; font-size: 16px; }
.voucher-step-badge { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; color: #28435e; background: #deefff; font-size: 10px; font-weight: 900; }
.voucher-redeem-panel ol { display: grid; gap: 5px; margin: 0; padding-left: 20px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.voucher-input-label { color: var(--ink); font-size: 11px; font-weight: 900; }
.voucher-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.voucher-input-row input { min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); font: 600 12px "Cascadia Code", Consolas, monospace; }
.voucher-redeem-status { min-height: 18px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.query-voucher-panel { border-color: rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .06); color: var(--white); }
.query-voucher-panel .voucher-redeem-head small, .query-voucher-panel ol, .query-voucher-panel .voucher-redeem-status { color: rgba(255, 255, 255, .66); }
.query-voucher-panel .voucher-redeem-head strong, .query-voucher-panel .voucher-input-label { color: var(--white); }
.query-voucher-panel .voucher-step-badge { color: #e6f7a3; background: rgba(199, 239, 93, .15); }
.query-voucher-panel .voucher-input-row input { border-color: rgba(255, 255, 255, .18); }
.query-voucher-panel .voucher-redeem-status.is-success { color: var(--lime); font-weight: 800; }
.lookup-panel { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 16px; border: 1px solid rgba(11, 23, 38, .08); border-radius: var(--radius-md); background: var(--paper-2); }
.lookup-panel small, .lookup-panel code, .lookup-panel p { display: block; }
.lookup-panel small { color: var(--muted); font-size: 11px; font-weight: 900; }
.lookup-panel code { margin: 8px 0 5px; color: var(--ink); font-size: 15px; font-weight: 900; word-break: break-all; }
.lookup-panel p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.preview-note { margin-top: 17px; color: var(--muted); }
.preview-note .live-dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 118, 88, .13); }
.query-lede { margin: 18px 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.query-input { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 6px 7px 6px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.query-input span { color: var(--muted); font-size: 11px; font-weight: 900; }
.query-input input { min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-family: "Cascadia Code", Consolas, monospace; font-size: 12px; }
.query-error { min-height: 18px; margin: 8px 6px 0; color: var(--coral); font-size: 12px; font-weight: 900; line-height: 1.45; }
.query-result { margin-top: 18px; padding: 18px; border-radius: var(--radius-md); background: var(--ink); color: var(--white); }
.result-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.result-pill { padding: 5px 8px; border-radius: 999px; color: #425500; background: var(--lime); font-size: 10px; font-weight: 900; }
.result-topline code { color: rgba(255, 255, 255, .7); font-size: 11px; }
.query-result > strong { display: block; margin: 22px 0 7px; font-size: 18px; }
.query-result > p { margin: 0 0 14px; color: rgba(255, 255, 255, .6); font-size: 12px; }
.query-progress { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; color: rgba(255, 255, 255, .52); font-size: 10px; }
.query-progress span.is-done { color: var(--lime); font-weight: 800; }
.query-progress i { color: rgba(255, 255, 255, .3); font-style: normal; }
.query-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; padding: 13px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.query-code small { color: rgba(255, 255, 255, .55); font-size: 11px; }
.query-code code { color: var(--lime); font-size: 15px; }

@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } .hero-side { min-height: 260px; } .school-grid { grid-template-columns: repeat(2, 1fr); } .growth-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .topbar { align-items: flex-start; flex-direction: column; gap: 12px; } .topnav { width: 100%; overflow-x: auto; } .topnav a, .nav-button { white-space: nowrap; } .hero-main, .hero-side { min-height: auto; } .hero-main { padding: 30px 22px; } .hero-steps { grid-template-columns: repeat(2, 1fr); } .hero-step:nth-child(3) { border-left: 0; } .run-context-card { align-items: flex-start; flex-direction: column; gap: 16px; padding: 20px; } .run-context-options { grid-template-columns: 1fr; width: 100%; max-width: none; } .contact-card { grid-template-columns: 1fr; padding: 20px; } .qq-qr-card { max-width: 420px; } .section-head, .section-head.compact, .action-band { align-items: flex-start; flex-direction: column; } .search-field { width: 100%; } .school-picker { grid-template-columns: 1fr; } .service-grid, .status-grid, .growth-grid { grid-template-columns: 1fr; } .action-band { gap: 16px; } .action-band .button { width: 100%; } .footer { flex-direction: column; } }
@media (max-width: 480px) { .school-grid, .growth-kpis { grid-template-columns: 1fr; } .manual-timeline { grid-template-columns: 1fr; } .timeline-item { min-height: auto; grid-template-columns: auto 1fr; align-items: center; } .contact-panel, .lookup-panel { align-items: flex-start; flex-direction: column; } .contact-panel .button, .lookup-panel .button { width: 100%; } .query-input { grid-template-columns: 1fr; border-radius: 16px; padding: 12px; } .query-input .button { width: 100%; } .voucher-input-row { grid-template-columns: 1fr; } .voucher-input-row .button { width: 100%; } .modal { padding: 20px; } .modal-actions { position: sticky; bottom: -20px; z-index: 2; padding: 12px 0 4px; background: linear-gradient(var(--paper), rgba(244, 247, 241, .92)); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ===== 主页优化 ===== */
.school-more {
  display: flex;
  justify-content: center;
  margin: 20px 0 8px;
}
.school-more[hidden] { display: none; }
.school-more .button {
  min-height: 44px;
  padding: 0 26px;
  border-radius: 99px;
  font-weight: 700;
}

/* "库存准备中"服务卡：禁用视觉 */
.service-card.is-unavailable {
  opacity: .55;
  pointer-events: none;
  filter: grayscale(.5);
  position: relative;
}
.service-card.is-unavailable::after {
  content: "暂不可下单";
  position: absolute;
  inset: auto 14px 14px auto;
  font-size: 11px;
  font-weight: 800;
  color: #a8620a;
  background: #fff3e0;
  padding: 2px 9px;
  border-radius: 99px;
}

/* 回到顶部 */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: #0f1f18;
  color: #cdf24a;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:active { transform: scale(.94); }

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #cdf24a, #8fd14f);
  z-index: 60;
  transition: width .08s linear;
}

@media (max-width: 900px) {
  .school-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .school-card {
    padding: 14px 13px !important;
    min-height: 96px;
  }
  .school-more .button { width: 100%; }
  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
@media (max-width: 560px) {
  .school-grid {
    grid-template-columns: 1fr !important;
  }
  .to-top { right: 12px; bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
}

/* ===== 卡密兑换 ===== */
.redeem-section { scroll-margin-top: 90px; }

.balance-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 10px 18px;
  border-radius: 14px;
  background: #0f1f18;
  color: #fff;
}
.balance-chip small { font-size: 11.5px; opacity: .7; }
.balance-chip strong {
  font-size: 22px;
  font-weight: 800;
  color: #cdf24a;
  font-variant-numeric: tabular-nums;
}
.balance-chip[hidden] { display: none; }

.redeem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.redeem-card {
  border: 1px solid #e3e9e4;
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.redeem-card-main {
  border-color: #0f1f18;
  border-width: 2px;
  box-shadow: 0 10px 30px rgba(15,31,24,.08);
}
.redeem-step {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #cdf24a;
  color: #0f1f18;
  font-size: 13px; font-weight: 800;
}
.redeem-card h3 { margin: 0; font-size: 17px; }
.redeem-card p { margin: 0; font-size: 13.5px; color: #5b6b62; line-height: 1.6; }
.redeem-hint { color: #5b6b62; }

.redeem-input-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.redeem-input-row input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #ccd8cf;
  border-radius: 11px;
  font: 700 15px/1 ui-monospace, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.redeem-input-row input:focus {
  outline: 2px solid #8fd14f;
  outline-offset: 1px;
  border-color: #8fd14f;
}
.redeem-input-row .button { flex: 0 0 auto; min-height: 46px; padding: 0 24px; }

.redeem-status { font-size: 13px; min-height: 18px; }
.redeem-status.is-ok { color: #19734d; font-weight: 700; }
.redeem-status.is-err { color: #b64242; font-weight: 700; }

.redeem-result {
  border-radius: 12px;
  padding: 14px 16px;
  background: #f2fbf5;
  border: 1px solid #b7dfc5;
}
.redeem-result[hidden] { display: none; }
.redeem-result .big {
  font-size: 26px; font-weight: 800; color: #19734d;
  font-variant-numeric: tabular-nums;
}
.redeem-result .meta { font-size: 12.5px; color: #5b6b62; margin-top: 3px; }

.redeem-list {
  margin: 0; padding-left: 18px;
  font-size: 13px; color: #5b6b62; line-height: 1.85;
}

.redeem-login-tip { font-size: 12.5px; color: #8a9a90; }
.redeem-login-tip a { color: #19734d; font-weight: 700; }
.redeem-login-tip[hidden] { display: none; }

.redeem-ledger {
  margin-top: 16px;
  border: 1px solid #e3e9e4;
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}
.redeem-ledger[hidden] { display: none; }
.ledger-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.ledger-head strong { font-size: 15px; }
.ledger-item {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f0f4f1;
  font-size: 13px;
}
.ledger-item:last-child { border-bottom: none; }
.ledger-item .l { color: #8a9a90; font-size: 12px; }
.ledger-item .v { font-weight: 800; color: #19734d;
  font-variant-numeric: tabular-nums; }
.empty-mini { color: #8a9a90; font-size: 13px; }

@media (max-width: 900px) {
  .redeem-grid { grid-template-columns: 1fr; }
  .redeem-card { padding: 17px; }
  .redeem-input-row { flex-direction: column; }
  .redeem-input-row .button { width: 100%; }
  .balance-chip { align-items: flex-start; width: 100%; }
}

.home-auth-backdrop { z-index: 40; }
.home-auth-modal { width: min(500px, 100%); }
.home-auth-intro, .home-auth-verify-copy, .home-auth-account-copy { margin: 14px 0 18px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.home-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 17px; padding: 5px; border-radius: 13px; background: var(--paper-2); }
.home-auth-tab { min-height: 40px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.home-auth-tab.is-active { color: var(--ink); background: var(--white); box-shadow: 0 2px 8px rgba(11, 23, 38, .08); }
.home-auth-form { display: grid; gap: 13px; }
.home-auth-field { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 850; }
.home-auth-field span { display: flex; justify-content: space-between; gap: 10px; }
.home-auth-field small, .home-auth-footnote { color: var(--muted); font-size: 11px; font-weight: 500; }
.home-auth-field input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: var(--white); font: inherit; font-size: 14px; }
.home-auth-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11, 23, 38, .08); }
.home-auth-submit { width: 100%; margin-top: 3px; }
.home-auth-footnote { margin: -3px 0 0; text-align: center; line-height: 1.5; }
.home-auth-message, .home-auth-closed { margin: 0 0 14px; padding: 11px 13px; border: 1px solid #d7e2da; border-radius: 12px; color: var(--ink-soft); background: var(--paper-2); font-size: 12px; line-height: 1.55; }
.home-auth-message[data-kind="error"] { border-color: #f1c6bd; color: #8d3024; background: #fff1ee; }
.home-auth-message[data-kind="success"] { border-color: #b7dfc5; color: #276342; background: #f2fbf5; }
.home-auth-turnstile { min-height: 0; }
.home-auth-text-button, .home-auth-inline { padding: 0; border: 0; color: #19734d; background: transparent; font: inherit; font-size: 12px; font-weight: 750; text-decoration: underline; cursor: pointer; }
.home-auth-text-button { margin-top: 15px; }
.home-auth-inline { display: inline; }
.redeem-login-tip .home-auth-inline { margin: 0 3px; }
.wallet-payment-actions .button[hidden] { display: none; }

@media (max-width: 480px) {
  .home-auth-modal { padding: 20px; }
  .home-auth-field span { align-items: baseline; }
}


/* ============ 明码标价 + 购买引导 ============ */
.pricing-section { scroll-margin-top: 92px; }

.price-mini { margin-top: 16px; display: grid; gap: 8px; }
.price-mini-row { display: flex; align-items: baseline; gap: 8px;
  padding: 10px 13px; border-radius: 12px;
  background: rgba(216, 243, 106, .13); }
.price-mini-row span { flex: 1; font-size: 13px; font-weight: 700;
  color: rgba(255, 255, 255, .72); }
.price-mini-row strong { font-size: 22px; font-weight: 900;
  color: var(--lime); letter-spacing: -.02em; }
.price-mini-row small { font-size: 11.5px; color: rgba(255, 255, 255, .5); }

.pricing-grid { display: grid; gap: 18px; margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.pricing-col { border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--white); overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 23, 38, .05); }
.pricing-head { display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(216,243,106,.24),
    rgba(145,187,255,.14)); }
.pricing-badge { padding: 4px 13px; border-radius: 999px; font-size: 12.5px;
  font-weight: 800; color: var(--ink); background: var(--lime); }
.pricing-badge-alt { background: var(--sky); }
.pricing-head small { font-size: 12.5px; font-weight: 700;
  color: var(--ink-soft); }

.pricing-row { display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 12px; width: 100%; padding: 15px 18px;
  border-bottom: 1px solid var(--line); background: transparent;
  text-decoration: none; color: inherit;
  transition: background .16s ease, transform .16s ease; }
.pricing-row:last-child { border-bottom: 0; }
.pricing-row:hover { background: rgba(216, 243, 106, .16); }
.pricing-row:active { background: rgba(216, 243, 106, .26);
  transform: scale(.995); }
.pricing-km { font-size: 15px; font-weight: 800; color: var(--ink); }
.pricing-price { font-size: 20px; font-weight: 900; color: var(--ink);
  letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.pricing-go { font-size: 12.5px; font-weight: 800; color: var(--coral);
  white-space: nowrap; }

.buyflow { margin-top: 24px; padding: 20px; border: 1px solid var(--line);
  border-radius: var(--radius-md); background: rgba(255, 255, 255, .62); }
.buyflow-title { font-size: 14.5px; font-weight: 900; color: var(--ink);
  margin-bottom: 14px; }
.guide-steps { display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.guide-step { position: relative; padding: 16px 16px 16px 58px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--white); }
.guide-step b { position: absolute; left: 16px; top: 16px; display: grid;
  place-items: center; width: 28px; height: 28px; border-radius: 10px;
  font-size: 12.5px; font-weight: 900; color: var(--lime);
  background: var(--ink); }
.guide-step strong { display: block; font-size: 14px; font-weight: 800;
  color: var(--ink); }
.guide-step span { display: block; margin-top: 5px; font-size: 12.5px;
  line-height: 1.65; color: var(--muted); }

.pricing-note { margin-top: 18px; padding: 13px 16px;
  border: 1px dashed var(--line); border-radius: 14px; font-size: 12.5px;
  line-height: 1.75; color: var(--muted); background: rgba(255,255,255,.6); }

@media (max-width: 560px) {
  .pricing-row { grid-template-columns: 1fr auto; gap: 8px; padding: 14px; }
  .pricing-go { display: none; }
  .pricing-price { font-size: 18px; }
  .buyflow { padding: 16px; }
  .guide-step { padding: 14px 14px 14px 52px; }
  .guide-step b { left: 14px; top: 14px; width: 26px; height: 26px;
    font-size: 11.5px; }
  .price-mini-row strong { font-size: 20px; }
}


/* 服务卡作为链接时的样式 */
a.service-card { display: block; text-decoration: none; color: inherit;
  cursor: pointer; }
a.service-card:hover { transform: translateY(-2px); }


/* ============ 结算弹窗：里程抵扣 ============ */
.checkout-mileage-block { margin: 14px 0; padding: 14px 16px;
  border: 1px solid rgba(11,23,38,.14); border-radius: 14px;
  background: linear-gradient(135deg, rgba(216,243,106,.18),
    rgba(145,187,255,.10)); }
.cm-head { display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 10px; }
.cm-head strong { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.cm-balance { font-size: 12.5px; font-weight: 800; color: #19734d;
  padding: 3px 10px; border-radius: 999px; background: rgba(25,115,77,.12); }
.cm-row { display: flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.cm-row input[type=checkbox] { width: 17px; height: 17px; accent-color: #1f5a3a; }
.cm-input { display: flex; align-items: center; gap: 8px; margin-top: 10px;
  flex-wrap: wrap; }
.cm-input input[type=number] { width: 110px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 10px; font: inherit;
  font-size: 14px; font-weight: 700; }
.cm-tip { font-size: 12px; font-weight: 700; color: var(--muted); }
.cm-tip.is-ok { color: #19734d; }
.cm-tip.is-err { color: #b64242; }
#redeem-go-order { margin-top: 8px; display: inline-block;
  text-decoration: none; }


/* 下单结果：里程抵扣提示 */
.order-mileage-note { margin: 10px 0; padding: 10px 14px;
  border-radius: 12px; font-size: 13px; font-weight: 700;
  line-height: 1.6; }
.order-mileage-note.is-ok { color: #19734d;
  background: rgba(25,115,77,.12);
  border: 1px solid rgba(25,115,77,.25); }
.order-mileage-note.is-err { color: #b64242;
  background: rgba(182,66,66,.10);
  border: 1px solid rgba(182,66,66,.25); }


/* 服务卡内的「去买卡」链接 */
.service-buy { display: inline-block; margin-left: 8px; padding: 2px 9px;
  border-radius: 999px; font-size: 11.5px; font-weight: 800;
  color: var(--ink); background: rgba(11,23,38,.06);
  text-decoration: none; white-space: nowrap; vertical-align: middle; }
.service-buy:hover { background: rgba(11,23,38,.12); }
button.service-card { text-align: left; width: 100%; cursor: pointer;
  font: inherit; }
button.service-card.is-selected { outline: 2px solid var(--ink);
  outline-offset: 2px; }
button.service-card.is-unavailable { opacity: .5; cursor: not-allowed; }

/* ================= 信任区 / 数据 / FAQ / 底部 CTA ================= */
.trust-section, .stats-section, .faq-section { padding-top: 10px; }
.trust-head, .faq-head { margin-bottom: 8px; }
.trust-grid { display: grid; gap: 16px; margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.trust-card { padding: 24px 22px; border-radius: 18px;
  background: var(--white); border: 1px solid rgba(11,23,38,.07);
  box-shadow: 0 2px 10px rgba(11,23,38,.04);
  transition: transform .2s ease, box-shadow .2s ease; }
.trust-card:hover { transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11,23,38,.09); }
.trust-icon { font-size: 26px; display: block; margin-bottom: 12px; }
.trust-card h3 { margin: 0 0 8px; font-size: 17px; }
.trust-card p { margin: 0; font-size: 13.5px; line-height: 1.85;
  color: var(--muted); }

.stats-grid { display: grid; gap: 14px; margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 28px 26px; border-radius: 20px;
  background: linear-gradient(135deg, #0b1726, #16304a);
  color: #fff; }
.stat-item { text-align: center; }
.stat-item b { display: block; font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2; letter-spacing: -.02em; }
.stat-item span { font-size: 12.5px; opacity: .72; }

.faq-list { display: grid; gap: 10px; margin-top: 22px; }
.faq-item { border: 1px solid rgba(11,23,38,.08);
  border-radius: 14px; background: var(--white); overflow: hidden; }
.faq-item summary { padding: 16px 20px; cursor: pointer;
  font-weight: 700; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px;
  color: var(--muted); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding: 0 20px 18px; font-size: 13.5px;
  line-height: 1.9; color: var(--muted); }
.faq-item > div p { margin: 0 0 8px; }
.faq-item > div ol, .faq-item > div ul { margin: 0 0 8px;
  padding-left: 20px; }
.faq-item > div li { margin-bottom: 4px; }
.faq-item b { color: var(--ink); }
.faq-contact { color: #c8452f;
  font-family: ui-monospace, SFMono-Regular, monospace; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 40; background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(11,23,38,.08);
  box-shadow: 0 -4px 20px rgba(11,23,38,.06);
  animation: ctaSlide .3s ease; }
@keyframes ctaSlide { from { transform: translateY(100%); } }
.sticky-cta[hidden] { display: none; }
.sticky-cta-inner { max-width: 1180px; margin: 0 auto;
  padding: 12px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sticky-cta-text b { display: block; font-size: 14.5px; }
.sticky-cta-text span { font-size: 12.5px; color: var(--muted); }
.sticky-cta-actions { display: flex; gap: 10px; }
.sticky-cta .button { min-height: 42px; text-decoration: none; }

@media (max-width: 640px) {
  .sticky-cta-text { display: none; }
  .sticky-cta-inner { justify-content: center; }
  .sticky-cta-actions { width: 100%; }
  .sticky-cta-actions .button { flex: 1; justify-content: center; }
  .trust-card { padding: 20px 18px; }
}

/* 卡密输入的即时反馈 */
.voucher-live-tip { font-size: 11.5px; color: var(--muted); }
.voucher-input-row { flex-wrap: wrap; align-items: center; }
#query-credential-hint { font-size: 12px; color: var(--muted);
  margin: 6px 0 0; line-height: 1.6; }

/* 信任项排版修正：粗体标题 + 灰色说明，各占一行 */
.hero-trust { list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-trust li { display: flex; flex-direction: column; gap: 3px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.07); }
.hero-trust li b { display: block; font-size: 13.5px;
  font-weight: 800; line-height: 1.35; }
.hero-trust li span { display: block; font-size: 12px;
  line-height: 1.5; opacity: .68; }

@media (max-width: 640px) {
  .hero-trust { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-trust li { padding: 9px 12px; }
}

/* ================= 新手引导 ================= */
.onboard { position: fixed; inset: 0; z-index: 90; }
.onboard-mask { position: absolute; inset: 0;
  background: rgba(11,23,38,.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px); }
.onboard-box { position: relative; max-width: 460px;
  margin: 0 auto; top: 50%; transform: translateY(-50%);
  background: var(--white); border-radius: 20px;
  padding: 28px 26px 24px;
  box-shadow: 0 20px 60px rgba(11,23,38,.28);
  animation: obIn .26s ease; }
@keyframes obIn { from { opacity: 0; transform: translateY(-46%); } }
.onboard-skip { position: absolute; right: 16px; top: 14px;
  border: 0; background: transparent; cursor: pointer;
  font-size: 12.5px; color: var(--muted); font: inherit;
  padding: 4px 8px; border-radius: 8px; }
.onboard-skip:hover { background: rgba(11,23,38,.06); }
.onboard-num { display: inline-block; font-size: 11.5px;
  font-weight: 800; letter-spacing: .06em; color: #c8452f;
  margin-bottom: 10px; }
.onboard-step h3 { margin: 0 0 10px; font-size: 21px;
  letter-spacing: -.01em; }
.onboard-step p { margin: 0 0 18px; font-size: 13.5px;
  line-height: 1.8; color: var(--muted); }
.onboard-actions { display: flex; gap: 10px; }
.onboard-actions .button { min-height: 44px; flex: 1;
  justify-content: center; }
.onboard-hint { margin: 14px 0 0 !important; font-size: 12px !important;
  color: #19734d !important; min-height: 18px; }
.onboard-highlight { position: relative; z-index: 95 !important;
  box-shadow: 0 0 0 3px #ffd84d, 0 0 0 9999px rgba(11,23,38,.55) !important;
  border-radius: 12px; }
.help-fab { position: fixed; right: 18px; bottom: 92px; z-index: 45;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; cursor: pointer;
  font-size: 19px; font-weight: 800; box-shadow:
  0 6px 20px rgba(11,23,38,.28); }
.help-fab:hover { transform: translateY(-2px); }
@media (max-width: 560px) {
  .onboard-box { margin: 0 14px; padding: 24px 20px 20px; }
  .help-fab { right: 14px; bottom: 86px; }
}

/* 首页：两条清晰入口、三步流程与克制的首屏动效 */
.hero { grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); gap: 12px; margin-top: 16px; }
.hero-main, .hero-side { min-height: 500px; box-shadow: 0 18px 48px rgba(11, 23, 38, .09); }
.hero-main { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(32px, 5vw, 72px); background: radial-gradient(circle at 82% 12%, rgba(145, 187, 255, .15), transparent 32%), #0b1726; }
.hero-main::after { right: -150px; bottom: -285px; opacity: .5; }
.hero-main > * { position: relative; z-index: 1; }
.hero-main .eyebrow { margin-bottom: 24px; color: #d8f36a; letter-spacing: .19em; }
.hero h1 { max-width: 790px; font-size: clamp(48px, 5.6vw, 78px); line-height: 1.06; letter-spacing: -.075em; }
.hero h1 span { display: block; }
.hero-lede { max-width: 580px; margin: 24px 0 30px; color: rgba(255,255,255,.76); font-size: clamp(15px, 1.45vw, 18px); line-height: 1.8; }
.hero-actions { gap: 12px; }
.hero-actions .button { min-height: 52px; padding: 13px 21px; font-size: 14px; }
.hero-actions .button span { margin-left: 10px; font-size: 17px; font-weight: 500; }
.hero-main .button-quiet { background: rgba(255,255,255,.06); }
.hero-footnote { display: flex; align-items: center; gap: 11px; margin-top: 28px; color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.6; }
.hero-side { display: flex; flex-direction: column; padding: clamp(28px, 3.2vw, 45px); background: #e9eee6; border: 1px solid rgba(11,23,38,.08); }
.hero-side::before { display: none; }
.side-kicker { display: flex; justify-content: space-between; gap: 16px; color: #4d6257; letter-spacing: .15em; }
.side-kicker span { color: #88978e; }
.hero-side h2 { max-width: 460px; margin: 30px 0 24px; font-size: clamp(34px, 3.5vw, 49px); line-height: 1.07; letter-spacing: -.06em; }
.hero-route { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.hero-route::before { content: ""; position: absolute; top: 27px; bottom: 27px; left: 19px; width: 1px; background: #b9c8bd; }
.hero-route li { position: relative; display: flex; align-items: center; gap: 18px; min-height: 78px; border-top: 1px solid rgba(11,23,38,.1); }
.hero-route li:last-child { border-bottom: 1px solid rgba(11,23,38,.1); }
.hero-route li > span { z-index: 1; display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border: 1px solid #a2baa5; border-radius: 50%; color: #244e39; background: #e9eee6; font-size: 11px; font-weight: 800; }
.hero-route strong, .hero-route small { display: block; }
.hero-route strong { font-size: 15px; letter-spacing: -.02em; }
.hero-route small { margin-top: 5px; color: #587065; font-size: 12px; line-height: 1.4; }
.side-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; align-self: flex-start; margin-top: auto; padding-top: 22px; color: #244e39; font-size: 13px; font-weight: 800; text-underline-offset: 5px; }
.side-link:hover { text-decoration: underline; }
.side-link:focus-visible, .run-context-options button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.run-context { padding-top: 16px; }
.run-context-card { border-left: 0; border-color: rgba(11,23,38,.08); background: #fff; box-shadow: 0 6px 24px rgba(11,23,38,.035); }
.run-context-copy { max-width: 420px; }
.run-context-copy h2 { font-size: clamp(23px, 2.7vw, 32px); }
.run-context-options { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 500px; flex-basis: 460px; }
.run-context-options button { display: grid; gap: 7px; align-content: center; min-height: 78px; padding: 12px 14px; border: 1px solid #dbe6dd; border-radius: 14px; color: var(--ink); background: #f7faf5; text-align: left; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.run-context-options button:hover { transform: translateY(-2px); border-color: #b8ccbd; box-shadow: 0 10px 24px rgba(11,23,38,.08); }
.run-context-options button small { color: var(--muted); font-size: 11px; font-weight: 700; }
.run-context-options button strong { font-size: 13px; line-height: 1.35; }
.trust-icon { display: inline-grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: #244e39; background: #e6efdf; font-size: 11px; font-weight: 900; letter-spacing: .04em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-main .eyebrow, .hero h1, .hero-lede, .hero-actions, .hero-footnote, .hero-side { animation: home-enter .65s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation-delay: .06s; }
  .hero-lede { animation-delay: .13s; }
  .hero-actions { animation-delay: .2s; }
  .hero-footnote { animation-delay: .27s; }
  .hero-side { animation-delay: .16s; }
}
@keyframes home-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; } .hero-main, .hero-side { min-height: auto; } .hero-side { gap: 0; } .side-link { margin-top: 8px; } }
@media (max-width: 720px) { .hero-main { padding: 36px 25px; } .hero-side { padding: 27px 25px; } .hero h1 { font-size: clamp(42px, 9.5vw, 58px); } .hero-lede { margin: 21px 0 25px; font-size: 15px; } .run-context-options { grid-template-columns: repeat(2, minmax(0,1fr)); flex-basis: auto; } }
@media (max-width: 480px) { .hero-actions { width: 100%; } .hero-actions .button { width: 100%; } .hero-side h2 { margin: 24px 0 17px; } .run-context-options { grid-template-columns: 1fr; } .hero-footnote { align-items: flex-start; } .hero-footnote .live-dot { flex: 0 0 7px; margin-top: 6px; } }

/* 先完成主流程，再展示帮助内容；引导由访客主动打开 */
#schools, #redeem-section, #trust, #faq { scroll-margin-top: 96px; }
.help-fab { width: auto; min-width: 46px; height: 42px; padding: 0 15px; border-radius: 999px; font-size: 12px; letter-spacing: .01em; }
.help-fab:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.trust-section { padding-top: 56px; padding-bottom: 0; }
.faq-section { padding-top: 46px; }
@media (max-width: 720px) {
  .help-fab { right: 14px; bottom: 86px; }
  .trust-section { padding-top: 44px; }
  .faq-section { padding-top: 36px; }
}


/* ===== 移动端可点目标尺寸（_tap_target_v1） =====
   为什么要这个
   ------------
   实测 iPhone 375px 下，商城和面板有 10 个可点元素高度只有 17~38px：
     · 「立即注册」「已有账号登录」h=22
     · 「忘记密码？」h=21
     · 「复制联系人」h=34
     · 「了解怎么使用」h=35
   低于 Apple HIG 的 44px / Material 的 48px 建议值，手指容易点空。

   修法：移动端下给这类元素加最小高度和 padding，
       用 inline-flex 居中，不改变视觉风格。
   ------------------------------------------------------ */
@media (max-width: 767px) {
  .home-auth-inline,
  .home-auth-inline:link,
  .home-auth-inline:visited,
  .forgot-password,
  a.forgot-password,
  .brand-link,
  .text-link,
  button.button-outline,
  .button.button-outline,
  a[href="/panel/?register=1"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  a.visual-next {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* 页脚的小链接也给足点击区 */
  footer a, .footer a, .site-footer a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
}

/* ===== 移动端浮动按钮避让（_fab_avoid_v1） =====
   实测 iPhone 375px 滚到价格区时，右下角「使用引导」FAB
   盖住 6 个价格元素，其中 ¥10.00 被覆盖 72% 面积。
   这里把 FAB 缩小 + 下移 + 半透明，给内容让位。 */
@media (max-width: 767px) {
  .help-fab {
    right: 10px;
    bottom: 58px;
    width: auto;
    min-width: 0;
    height: 34px;
    padding: 0 11px;
    font-size: 11px;
    opacity: .92;
    box-shadow: 0 4px 14px rgba(11, 23, 38, .18);
  }
  .help-fab:active { opacity: 1; }
  #to-top {
    right: 10px;
    bottom: 100px;
    width: 36px;
    height: 36px;
    opacity: .9;
  }
  /* 价格表右侧留出安全距离，避免长文字延伸到 FAB 下面 */
  .pricing-row {
    padding-right: 96px;
  }
  .pricing-go { margin-right: 2px; }
  /* 页脚也给 FAB 留位置 */
  footer, .site-footer { padding-bottom: 96px; }
}

/* ===== 移动端返回顶部按钮避让价格区（_totop_fix_v1） =====
   实测 iPhone 375px 滚到价格区（scrollY≈2400）时，
   「↑」按钮与 80km 那行重叠 2026 px²、盖住 ¥40.00 价格 703 px²。
   它的可见性由 index.html 内联脚本加 .is-visible 控制，
   所以这里用 !important 在移动端把它压掉。 */
@media (max-width: 767px) {
  /* 移到左下角 —— 价格文字全在右侧，从根上避免重叠（_totop_fix_v2） */
  .to-top,
  .to-top.is-visible {
    right: auto;
    left: 12px;
    bottom: 14px;
    width: 36px;
    height: 36px;
    opacity: 0.42;
    font-size: 13px;
    box-shadow: 0 3px 10px rgba(11, 23, 38, .16);
  }
  .to-top:active,
  .to-top.is-visible:active {
    opacity: .9;
    transform: scale(.94);
  }
  /* 浮动按钮也移到左下角上方，栈式排列 */
  .help-fab {
    right: auto;
    left: 12px;
    bottom: 58px;
  }
  /* 价格行右侧不再需要额外留白 */
  .pricing-row { padding-right: 12px; }
}

/* ===== 移动端浮动按钮最终布局（_totop_fix_v3） =====
   历史：
     v1 缩小 FAB      → 仍与价格重叠
     v2 移到左下角    → 挡住「80 公里」文字
   根因：opacity 被 index.html 内联脚本 + experience-guide3.js 双重设置，
        单纯调 CSS 压不住；且左右两侧都有内容。
   方案：
     · 贴在屏幕最底部，做成细长条（不占内容区）
     · 用 !important 压过所有 JS 设置
     · 只在移动端生效。 */
@media (max-width: 767px) {
  .to-top,
  .to-top.is-visible {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    width: 88px !important;
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 !important;
    border-radius: 13px 13px 0 0 !important;
    background: rgba(11, 23, 38, .55) !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 26px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    box-shadow: none !important;
    z-index: 38 !important;
  }
  .to-top.is-visible {
    opacity: .72 !important;
    pointer-events: auto !important;
  }
  .to-top.is-visible:active {
    opacity: 1 !important;
  }
  /* FAB 也贴底部左侧，细长条 */
  .help-fab {
    position: fixed !important;
    left: 12px !important;
    right: auto !important;
    bottom: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 12px !important;
    border-radius: 13px 13px 0 0 !important;
    font-size: 11px !important;
    line-height: 26px !important;
    opacity: .78 !important;
    z-index: 37 !important;
    box-shadow: none !important;
  }
  /* 给底部留出 28px，内容不会被条挡住 */
  body { padding-bottom: 28px !important; }
}

/* ===== 右上角「面板登录」入口（_panel_entry_v1） =====
   需求：未登录访客也能从右上角直接进面板。
   原来只有「我的面板」，而它是登录后才显示（默认 hidden），
   未登录的人在右上角找不到去面板的路。
   ------------------------------------------------------ */
.nav-button-panel-entry {
  color: var(--ink);
  background: rgba(11, 23, 38, .07);
  font-weight: 800;
}
.nav-button-panel-entry:hover {
  background: rgba(11, 23, 38, .12);
}
/* 登录后由「我的面板」接替，两个入口不同时出现（JS 控制） */
.nav-button-panel-entry[hidden] { display: none !important; }

@media (max-width: 720px) {
  /* 移动端顶栏横向滚动时，入口仍然好点 */
  .nav-button-panel-entry {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
}

/* ===== 两个独立余额区块（_two_blocks_css_v1） =====
   刷脸卡 ¥0.50/km、不刷脸卡 ¥0.25/km，
   价格与用途都不同且不能互相抵 —— 分两块各自显示。
   ------------------------------------------------ */
.balance-split {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.balance-split[hidden] { display: none; }

.balance-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 132px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.balance-block small {
  font-size: 11.5px;
  font-weight: 600;
  opacity: .78;
}
.balance-block strong {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.balance-block .balance-unit {
  font-size: 10.5px;
  opacity: .55;
}
/* 余额为 0 的区块弱化，但仍显示（让用户知道有这一类） */
.balance-block.is-empty { opacity: .55; }
.balance-block.is-empty strong { font-weight: 600; }

@media (max-width: 760px) {
  .balance-split {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
  .balance-block {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 12px;
  }
  .balance-block strong { font-size: 19px; }
}
