:root {
  --bg: #f3f6fb;
  --card: #ffffff;
  --ink: #1b2433;
  --sub: #8d97ab;
  --line: #e8edf5;
  --brand: #2f78ff;
  --brand-2: #1d64f0;
  --soft: #e8f1ff;
  --ok: #16a36a;
  --ok-bg: #e7f8ef;
  --warn: #ff8a22;
  --warn-bg: #fff3e6;
  --danger: #ff5b6c;
  --shadow: 0 10px 28px rgba(31, 52, 94, 0.06);
  --radius: 18px;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
body {
  min-height: 100%;
  background:
    radial-gradient(900px 480px at 8% -10%, #d9e8ff 0%, transparent 60%),
    radial-gradient(700px 420px at 100% 0%, #ffe8d4 0%, transparent 55%),
    #e7eef8;
  color: var(--ink);
}
.stage {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 28px 24px;
}
.poster { width: 300px; color: #24324a; }
.poster .eyebrow { letter-spacing: .18em; font-size: 12px; color: #6d7c99; margin: 0 0 12px; }
.poster h1 { font-size: 40px; line-height: 1.15; margin: 0 0 12px; font-weight: 760; }
.poster p { margin: 0 0 18px; color: #5c6b86; line-height: 1.7; font-size: 15px; }
.poster li { margin: 8px 0; color: #31425f; font-size: 14px; }
.device {
  width: 390px;
  height: 844px;
  max-height: calc(100vh - 40px);
  background: #0e1420;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(22, 36, 68, .28);
  position: relative;
}
#app { height: 100%; border-radius: 32px; overflow: hidden; background: var(--bg); position: relative; }
.screen { height: 100%; display: flex; flex-direction: column; background: var(--bg); position: relative; }
.theme-parent { --brand: #2f78ff; --brand-2: #1d64f0; --soft: #e7f0ff; }
.theme-creator { --brand: #3d5ef5; --brand-2: #2c49db; --soft: #ecefff; }
.theme-merchant { --brand: #6d5efc; --brand-2: #5746f0; --soft: #f1edff; }
.theme-channel { --brand: #0e9b88; --brand-2: #0b7f70; --soft: #e5f7f4; }
.topbar { flex: none; background: #fff; position: relative; z-index: 5; }
.status { height: 42px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 18px 4px; font-size: 14px; font-weight: 650; }
.sys { display: flex; gap: 5px; align-items: center; margin-right: 92px; }
.sys i { display: block; }
.sig { width: 16px; height: 10px; background: linear-gradient(90deg, #1b2433 0 2px, transparent 2px 4px, #1b2433 4px 6px, transparent 6px 8px, #1b2433 8px 10px, transparent 10px 12px, #1b2433 12px 14px); background-size: 16px 10px; }
.wifi { width: 14px; height: 10px; border: 2px solid #1b2433; border-bottom: 0; border-radius: 10px 10px 0 0; position: relative; }
.wifi::after { content: ""; position: absolute; width: 4px; height: 4px; background: #1b2433; border-radius: 50%; left: 3px; bottom: -2px; }
.bat { width: 22px; height: 10px; border: 1.5px solid #1b2433; border-radius: 3px; position: relative; }
.bat::before { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: #1b2433; border-radius: 1px; }
.bat::after { content: ""; position: absolute; right: -3px; top: 2px; width: 2px; height: 4px; background: #1b2433; border-radius: 0 1px 1px 0; }
.nav { height: 44px; display: flex; align-items: center; padding: 0 108px 0 8px; position: relative; }
.nav-title { position: absolute; left: 72px; right: 108px; text-align: center; font-size: 16px; font-weight: 700; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-back, .icon-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.nav-back svg, .icon-btn svg { width: 22px; height: 22px; }
.brand { display: flex; align-items: center; gap: 8px; padding-left: 8px; min-width: 0; }
.logo { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(145deg, #5aa2ff, var(--brand)); display: grid; place-items: center; color: #fff; flex: none; }
.logo svg { width: 16px; height: 16px; }
.brand b { display: block; font-size: 14px; line-height: 1.1; }
.brand small { display: block; color: var(--sub); font-size: 10px; font-weight: 500; }
.nav-side { margin-left: auto; display: flex; align-items: center; position: absolute; right: 96px; top: 6px; }
.dot { position: absolute; width: 7px; height: 7px; background: #ff4d4f; border-radius: 50%; top: 6px; right: 6px; border: 1.5px solid #fff; }
.capsule { position: absolute; right: 8px; top: 48px; height: 32px; width: 86px; border-radius: 16px; border: 1px solid rgba(20, 30, 50, .12); background: rgba(255,255,255,.92); display: flex; align-items: center; z-index: 6; overflow: hidden; }
.capsule button { flex: 1; height: 100%; display: grid; place-items: center; color: #1b2433; }
.cap-line { width: 1px; height: 16px; background: rgba(20,30,50,.12); }
.cap-pop { position: absolute; right: 8px; top: 86px; width: 168px; background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(20,30,50,.16); z-index: 12; padding: 6px; }
.cap-pop button { width: 100%; text-align: left; padding: 11px 12px; border-radius: 10px; font-size: 14px; }
.cap-pop button:hover { background: var(--bg); }
.scroll { flex: 1; overflow: auto; padding: 12px 14px 18px; -webkit-overflow-scrolling: touch; }
.scroll::-webkit-scrollbar { width: 0; }
.tabbar { flex: none; height: 62px; background: #fff; border-top: 1px solid var(--line); display: flex; padding: 4px 6px 8px; position: relative; z-index: 4; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #9aa3b5; font-size: 10px; font-weight: 600; }
.tab svg { width: 22px; height: 22px; }
.tab.on { color: var(--brand); }
.fab { position: absolute; right: 14px; bottom: 76px; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(31,52,94,.16); display: grid; place-items: center; z-index: 7; color: var(--brand); }
.fab svg { width: 24px; height: 24px; }
.hero { border-radius: 18px; padding: 22px 16px 18px; color: #fff; display: flex; align-items: flex-end; min-height: 168px; position: relative; overflow: hidden; background: linear-gradient(115deg, #4ea2ff 0%, #2f78ff 46%, #3d8bff 100%); }
.theme-creator .hero { background: linear-gradient(135deg, #89a0ff, #3d5ef5 55%, #243eb8); }
.theme-merchant .hero { background: linear-gradient(135deg, #b7a6ff, #6d5efc 60%, #4a38d4); }
.hero h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.22; font-weight: 800; position: relative; z-index: 2; letter-spacing: -.3px; }
.hero > div:not(.hero-art) { position: relative; z-index: 2; width: 64%; }
.cover-hero > div:not(.hero-art) { width: 86%; padding: 0 0 16px 16px; text-shadow: 0 2px 10px rgba(10, 30, 70, .45); }
.hero-tag, .pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.22); position: relative; z-index: 2; }
.hero-art { position: absolute; right: 0; bottom: 0; width: 58%; height: 100%; z-index: 1; pointer-events: none; }
.cover-hero { min-height: 176px; padding: 0; align-items: flex-end; }
.cover-hero .hero-art { width: 100%; height: 100%; right: 0; }
.cover-hero .hero-art svg { opacity: .95; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 16px 0 2px; }
.q { background: transparent; border-radius: 0; padding: 4px 0 8px; text-align: center; box-shadow: none; }
.q i, .mk { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 8px; }
.q i svg, .mk svg { width: 22px; height: 22px; }
.mk-book { background: #efe7ff; color: #7b61ff; }
.mk-cup { background: #fff1e6; color: #ff8a22; }
.mk-bag { background: #e7f1ff; color: #2f78ff; }
.mk-star { background: #f4e9ff; color: #8b5cf6; }
.q span { font-size: 12px; color: #3c4860; font-weight: 650; }
.sec { display: flex; align-items: center; justify-content: space-between; margin: 16px 2px 10px; }
.sec b { font-size: 16px; }
.sec button, .link { color: var(--brand); font-size: 12px; font-weight: 650; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.course { display: flex; gap: 10px; align-items: center; padding: 12px; margin-bottom: 10px; text-align: left; }
.course .meta, .split .meta { flex: 1; min-width: 0; }
.split { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; }
.split .price { flex: none; font-size: 16px; }
.course h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.course p { margin: 0; color: #98a2b6; font-size: 12px; line-height: 1.45; }
.thumb { width: 104px; height: 78px; border-radius: 12px; flex: none; overflow: hidden; position: relative; background: #e8f1ff; }
.row-link { color: var(--brand); font-size: 13px; margin-top: 8px; font-weight: 700; }
.banner { height: 132px; border-radius: 18px; overflow: hidden; position: relative; color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; }
.banner svg, .hero-art svg, .thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tab svg { width: 23px; height: 23px; }
.tab.on svg { stroke-width: 2.2; }
.thumb { position: relative; }
.hero-art svg { position: absolute; }
.banner h3 { margin: 0 0 4px; font-size: 18px; position: relative; z-index: 1; }
.banner p { margin: 0; font-size: 12px; opacity: .92; position: relative; z-index: 1; }
.seg { display: flex; background: transparent; border-radius: 0; padding: 0; margin: 2px 0 12px; box-shadow: none; border-bottom: 1px solid #e8edf5; }
.seg button { flex: 1; height: 40px; border-radius: 0; font-size: 14px; color: #8b95a8; font-weight: 700; background: transparent; }
.seg button.on { background: transparent; color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.point { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 8px 0; line-height: 1.45; }
.point i { width: 16px; color: var(--brand); flex: none; margin-top: 2px; }
.kv { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.kv .ic { width: 32px; height: 32px; border-radius: 10px; background: var(--soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.kv .ic svg { width: 16px; height: 16px; }
.kv b { display: block; font-size: 13px; }
.kv span { color: var(--sub); font-size: 12px; }
.cta { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px 16px; background: linear-gradient(180deg, rgba(243,246,251,0), #f3f6fb 28%); z-index: 4; }
.btn { height: 46px; border-radius: 23px; width: 100%; font-size: 15px; font-weight: 700; display: grid; place-items: center; }
.btn.primary { background: linear-gradient(180deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 16px rgba(47,120,255,.25); }
.btn.ghost { background: #fff; color: var(--brand); border: 1px solid #d5e4ff; }
.btn.soft { background: var(--soft); color: var(--brand); }
.btn.danger { background: #fff1f2; color: var(--danger); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.sm { height: 32px; width: auto; padding: 0 12px; border-radius: 16px; font-size: 12px; }
.pad-cta { padding-bottom: 78px; }
.pad-fab { padding-bottom: 72px; }
.chips { display: flex; gap: 8px; overflow: auto; padding-bottom: 2px; margin-bottom: 10px; }
.chips::-webkit-scrollbar { height: 0; }
.chip { flex: none; height: 30px; padding: 0 12px; border-radius: 15px; background: #fff; color: #667389; font-size: 12px; font-weight: 700; box-shadow: var(--shadow); }
.chip.on { background: var(--brand); color: #fff; }
.job { display: flex; gap: 10px; }
.job h3 { margin: 0 0 4px; font-size: 15px; }
.job p { margin: 0; color: var(--sub); font-size: 12px; }
.price { color: #ff5d3a; font-weight: 760; }
.tag { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--soft); color: var(--brand); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.muted { background: #f2f4f8; color: #8b95a7; }
.list-gap { display: flex; flex-direction: column; gap: 10px; }
.progress { height: 6px; background: #e8eef8; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #7eb0ff, var(--brand)); border-radius: 99px; }
.remind { display: flex; gap: 10px; align-items: center; background: linear-gradient(90deg, #eef5ff, #fff); }
.remind .cal { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.who { display: flex; gap: 10px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(145deg, #ffd29a, #8eb6ff); display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.tl { border-left: 2px solid #e4ebf6; margin-left: 8px; padding-left: 14px; }
.tl .it { position: relative; margin: 0 0 14px; }
.tl .it::before { content: ""; position: absolute; left: -19px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.stars { color: #ffb020; letter-spacing: 1px; font-size: 12px; }
.balance { border-radius: 20px; padding: 18px; color: #fff; background: linear-gradient(135deg, #62a4ff, #2f6bff 60%, #4d7dff); position: relative; overflow: hidden; }
.theme-merchant .balance, .balance.purple { background: linear-gradient(135deg, #b7a6ff, #6d5efc 55%, #5a45e6); }
.balance .lbl { opacity: .85; font-size: 13px; }
.balance .num { font-size: 32px; font-weight: 760; margin: 6px 0 12px; letter-spacing: .5px; }
.balance .ops { display: flex; gap: 8px; }
.balance .ops button { height: 32px; padding: 0 14px; border-radius: 16px; background: rgba(255,255,255,.2); color: #fff; font-weight: 700; font-size: 13px; }
.ledger { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ledger b { display: block; font-size: 14px; }
.ledger span { color: var(--sub); font-size: 12px; }
.plus { color: var(--ok); font-weight: 760; }
.minus { color: var(--danger); font-weight: 760; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: #667389; margin-bottom: 6px; font-weight: 650; }
.field input, .field select, .field textarea { width: 100%; background: #f4f7fb; border: 1px solid transparent; border-radius: 12px; padding: 12px; font-size: 16px; outline: none; }
.field textarea { min-height: 84px; resize: vertical; font-size: 14px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #b9d2ff; background: #fff; }
.err { color: var(--danger); font-size: 12px; margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #5c6b86; line-height: 1.5; }
.check input { margin-top: 2px; }
.sheet-mask { position: absolute; inset: 0; background: rgba(16, 22, 36, .46); z-index: 20; display: flex; align-items: flex-end; }
.sheet { width: 100%; background: #fff; border-radius: 20px 20px 0 0; max-height: 74%; display: flex; flex-direction: column; animation: up .28s ease; }
.sheet header { padding: 8px 16px 0; flex: none; }
.handle { width: 36px; height: 4px; border-radius: 4px; background: #e1e6f0; margin: 4px auto 8px; }
.sheet h3 { margin: 0; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.sheet .bd { overflow: auto; padding: 12px 16px 22px; }
@keyframes up { from { transform: translateY(16px); opacity: .6; } to { transform: none; opacity: 1; } }
.toast { position: absolute; left: 50%; top: 96px; transform: translateX(-50%); background: rgba(22, 28, 40, .92); color: #fff; font-size: 13px; padding: 10px 14px; border-radius: 12px; z-index: 30; max-width: 80%; text-align: center; }
.gate-bg { background: linear-gradient(180deg, #eaf3ff 0%, #f7f9fc 38%, #f3f6fb 100%); }
.gate-hero { padding: 8px 6px 14px; }
.gate-hero h2 { margin: 8px 0 6px; font-size: 26px; letter-spacing: -.3px; }
.gate-hero p { margin: 0; color: #66758d; font-size: 13px; line-height: 1.6; }
.portal { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; margin-bottom: 12px; padding: 14px; }
.portal .mark { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: none; background: var(--brand); }
.portal h3 { margin: 0 0 4px; font-size: 16px; }
.portal p { margin: 0; color: var(--sub); font-size: 12px; line-height: 1.45; }
.portal .go { margin-left: auto; color: var(--brand); font-weight: 760; font-size: 13px; flex: none; }
.steps { display: flex; gap: 6px; margin-bottom: 12px; }
.steps span { flex: 1; height: 4px; border-radius: 4px; background: #e5ebf5; }
.steps span.on { background: var(--brand); }
.review-ico { width: 72px; height: 72px; border-radius: 50%; margin: 12px auto; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
.review-ico svg { width: 34px; height: 34px; }
.vstep { display: flex; gap: 10px; margin: 10px 0; }
.vstep .n { width: 22px; height: 22px; border-radius: 50%; background: #e8eef8; color: #8b95a7; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.vstep.on .n { background: var(--brand); color: #fff; }
.vstep.done .n { background: var(--ok); color: #fff; }
.hint { font-size: 12px; color: var(--sub); line-height: 1.6; }
.menu-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.faq { border-radius: 14px; background: #f6f8fc; padding: 10px 12px; margin-top: 8px; font-size: 13px; color: #3d4b66; line-height: 1.55; }
.bubble { background: #fff; border-radius: 16px 16px 16px 4px; padding: 12px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.55; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lv { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.lv.on { color: var(--brand); font-weight: 760; }
.stat { display: flex; gap: 8px; }
.stat .card { flex: 1; text-align: center; padding: 12px 6px; }
.stat b { display: block; font-size: 18px; }
.stat span { color: var(--sub); font-size: 11px; }
.file { display: flex; align-items: center; gap: 8px; background: #f4f7fb; border-radius: 12px; padding: 10px 12px; font-size: 13px; color: #5c6b86; }
.file input { font-size: 12px; }
@media (max-width: 860px) {
  .poster { display: none; }
  .stage { padding: 0; }
  .device { width: 100%; height: 100dvh; max-height: none; border-radius: 0; padding: 0; box-shadow: none; background: transparent; }
  #app { border-radius: 0; }
}
