/* passno style lab. Shared layout first, then one block per candidate ([data-s="a"] … "e").
   Every candidate fills the same variables, so the markup never changes between styles. */

:root {
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "PingFang SC", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;
  --serif: "Iowan Old Style", "Palatino", "Songti SC", "STSong", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: var(--sans); color: #15171a; background: #f4f4f2; }
.i { width: 1em; height: 1em; flex: none; }

/* ---------- Lab chrome (picker, intro, notes) ---------- */
.picker { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; height: 56px; padding: 0 24px;
  background: rgb(250 250 248 / .82); backdrop-filter: blur(18px) saturate(1.6); border-bottom: 1px solid #e6e6e2; }
.picker .brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #15171a; text-decoration: none; white-space: nowrap; }
.picker .brand b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #2f6a5c; color: #fff; font-size: 13px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chips a { white-space: nowrap; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; color: #3b3f44; text-decoration: none; background: #fff; border: 1px solid #e3e3df; transition: background .15s, color .15s; }
.chips a:hover { background: #15171a; color: #fff; border-color: #15171a; }

.intro { max-width: 1180px; margin: 0 auto; padding: 64px 24px 40px; }
.kicker { margin: 0; color: #2f6a5c; font-weight: 600; font-size: 14px; }
.intro h1 { margin: 10px 0 0; font-family: var(--display); font-size: 48px; line-height: 1.1; letter-spacing: -.03em; }
.intro .lead { max-width: 760px; color: #5c6066; font-size: 17px; line-height: 1.75; }
.findings { margin-top: 28px; padding: 24px 28px; border-radius: 20px; background: #fff; border: 1px solid #e6e6e2; }
.findings h2 { margin: 0 0 8px; font-size: 17px; }
.findings ol { margin: 0; padding-left: 20px; color: #3b3f44; font-size: 15px; line-height: 1.8; }
.findings b { color: #15171a; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-top: 32px; }
.ov { display: block; color: inherit; text-decoration: none; }
.ovshot { height: 210px; overflow: hidden; border-radius: 16px; border: 1px solid #e3e3df; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.ov:hover .ovshot { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .35); }
.ovshot.now { background: #eceeed; }
.ovshot.now img { width: 100%; display: block; }
.ovshot .stage.mini { padding: 18px; height: 100%; }
.ov p { margin: 10px 2px 0; font-size: 15px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ov p b { color: #2f6a5c; }
.ov p small { color: #8a8e93; font-size: 12.5px; width: 100%; }

.style { border-top: 1px solid #e3e3df; }
.meta { max-width: 1180px; margin: 0 auto; padding: 44px 24px 28px; display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.meta .tag { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; display: flex; flex-direction: column; gap: 4px; }
.meta .tag b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #15171a; color: #fff; font-size: 20px; margin-bottom: 8px; }
.meta .tag small { font-size: 13px; font-weight: 500; color: #8a8e93; letter-spacing: 0; }
.meta dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 8px 16px; font-size: 15px; line-height: 1.65; }
.meta dt { color: #8a8e93; }
.meta dd { margin: 0; color: #2a2d31; }
.foot { padding: 40px 24px 60px; text-align: center; color: #8a8e93; font-size: 13px; }

/* ---------- Stage: the marketing hero + product shot ---------- */
.stage { position: relative; overflow: hidden; padding: 88px 24px 120px; background: var(--st-bg); color: var(--st-fg); isolation: isolate; }
.stage .deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--deco, none); }
.style.now .stage { background: #0d1311; padding: 56px 24px; }
.style.now .shot img { width: 100%; display: block; border-radius: 14px; }

.hero { max-width: 860px; margin: 0 auto; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; font-size: 13.5px;
  background: var(--badge-bg); color: var(--badge-fg); border: 1px solid var(--badge-bd); }
.badge .dot { width: 7px; height: 7px; border-radius: 99px; background: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 20%, transparent); }
.hero h2 { margin: 22px 0 0; font-family: var(--h-font, var(--display)); font-weight: var(--h-weight, 700); font-size: clamp(38px, 6vw, 72px); line-height: 1.06; letter-spacing: var(--h-track, -.035em); }
.hero h2 span { display: block; }
.hero h2 .hl { background: var(--hl-bg, none); -webkit-background-clip: text; background-clip: text; color: var(--hl-fg, inherit); }
.hlead { max-width: 680px; margin: 22px auto 0; font-size: 18px; line-height: 1.7; color: var(--st-fg2); }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.ctas span { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: var(--cta-r, 999px); font-size: 16px; font-weight: 600; white-space: nowrap; cursor: default; transition: transform .15s ease, filter .15s ease; }
.ctas span:hover { transform: translateY(-1px); filter: brightness(1.06); }
.ctas .i { width: 19px; height: 19px; }
.cta1 { background: var(--cta1-bg); color: var(--cta1-fg); box-shadow: var(--cta1-shadow, none); }
.cta2 { background: var(--cta2-bg); color: var(--cta2-fg); border: 1px solid var(--cta2-bd); }
.req { margin: 14px 0 0; font-size: 13px; color: var(--st-fg3, var(--st-fg2)); opacity: .8; }

.shot { position: relative; max-width: 1100px; margin: 64px auto 0; }
.scale { position: relative; }
.scale > .win { position: absolute; top: 0; left: 0; transform: scale(var(--k, 1)); transform-origin: top left; }
.floats .appr { position: absolute; right: -36px; bottom: -64px; width: 360px; }
.floats .notif { position: absolute; right: -24px; top: -34px; width: 330px; }
.termrow { max-width: 1100px; margin: 110px auto 0; display: flex; justify-content: flex-start; }
.term { width: min(620px, 100%); }
@media (max-width: 1240px) { .floats .appr { right: 8px; } .floats .notif { right: 8px; } }
@media (max-width: 860px) {
  .meta { grid-template-columns: 1fr; }
  .floats { display: grid; gap: 16px; margin-top: 18px; }
  .floats .appr, .floats .notif { position: static; width: 100%; }
  .termrow { margin-top: 40px; }
}

/* ---------- The app window (1180 x 720, scaled to fit) ---------- */
.win { width: 1180px; height: 720px; display: flex; flex-direction: column; overflow: hidden; font-size: 14px; color: var(--tx);
  background: var(--w-bg); border-radius: var(--w-r, 14px); border: 1px solid var(--w-bd); box-shadow: var(--w-shadow); text-align: left; }
.tb { flex: none; height: 58px; display: flex; align-items: center; gap: 16px; padding: 0 18px; background: var(--tb-bg); border-bottom: 1px solid var(--tb-bd); }
.lights { display: flex; gap: 8px; width: 214px; }
.lights i { width: 12px; height: 12px; border-radius: 99px; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.search { display: flex; align-items: center; gap: 8px; width: 380px; height: 34px; padding: 0 13px; border-radius: var(--search-r, 999px); background: var(--search-bg); color: var(--tx3); font-size: 13.5px; border: 1px solid var(--search-bd, transparent); }
.tbr { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.new { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-weight: 600; font-size: 13.5px; box-shadow: var(--new-shadow, none); }
.ibtn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--tx2); font-size: 18px; }
.ibtn.on { color: var(--star, var(--tx)); }
.ibtn.on svg { fill: currentColor; }

.body { flex: 1; min-height: 0; display: grid; grid-template-columns: 236px 336px 1fr; }
.side { padding: 12px 10px; background: var(--side-bg); border-right: 1px solid var(--side-bd, var(--tb-bd)); display: flex; flex-direction: column; color: var(--side-fg, var(--tx)); }
.srow { display: flex; align-items: center; gap: 10px; height: 31px; padding: 0 10px; border-radius: 9px; font-size: 14px; }
.srow.on { background: var(--side-on); color: var(--side-on-fg, inherit); font-weight: 600; }
.srow .sl { flex: 1; }
.srow .sc { color: var(--tx3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.srow.warn .sc { color: #d9480f; font-weight: 600; }
.ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: var(--tx3); font-size: 16px; }
.sh { margin: 14px 10px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--tx3); }
.sfoot { margin-top: auto; }

.list { background: var(--list-bg); border-right: 1px solid var(--tb-bd); overflow: hidden; padding: var(--list-pad, 0); }
.row { display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 16px; border-bottom: 1px solid var(--row-bd); border-radius: var(--row-r, 0); }
.row.sel { background: var(--row-sel); box-shadow: var(--row-sel-shadow, none); }
.rt { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.rt b { font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt small { color: var(--tx2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav { display: inline-grid; color: var(--star, var(--tx3)); font-size: 12px; }
.fav svg { fill: currentColor; }

/* Monogram avatars: neutral by default; candidates pick a treatment. */
.av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .02em; background: var(--av-bg, #eeefee); color: var(--tx2); }
.av.big { width: 56px; height: 56px; font-size: 18px; }
.av.xs { width: 20px; height: 20px; font-size: 8.5px; margin-right: 7px; display: inline-grid; vertical-align: -5px; }

.detail { background: var(--det-bg); padding: 22px 28px; overflow: hidden; position: relative; }
.dh { display: flex; align-items: center; gap: 14px; position: relative; }
.dt h3 { margin: 0; font-family: var(--dh-font, var(--display)); font-size: var(--dh-size, 22px); font-weight: 700; letter-spacing: -.02em; }
.dt p { margin: 3px 0 0; color: var(--tx2); font-size: 13.5px; }
.dact { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.pbtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--card-bd); background: var(--card-bg); font-size: 13.5px; }
.chips-row { display: none; gap: 6px; margin-top: 14px; position: relative; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; background: var(--chip-bg, #f1f2f1); color: var(--tx2); }
.chip.good { background: color-mix(in srgb, var(--acc) 12%, transparent); color: var(--acc); }
.card { margin-top: 16px; border-radius: var(--card-r, 16px); background: var(--card-bg); border: 1px solid var(--card-bd); box-shadow: var(--card-shadow, none); overflow: hidden; position: relative; }
.field { position: relative; padding: 11px 18px; border-bottom: 1px solid var(--card-bd); }
.field:last-child { border-bottom: 0; }
.field label { display: block; font-size: 12px; color: var(--tx2); }
.field .v { margin-top: 3px; font-size: 15px; }
.field.one .v { margin: 0; }
.fa { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 12px; color: var(--tx3); font-size: 16px; }
.dots { letter-spacing: .12em; }
.meter { display: none; position: absolute; right: 86px; top: 50%; transform: translateY(-50%); gap: 3px; }
.meter i { width: 18px; height: 4px; border-radius: 9px; background: var(--acc); }
.totp { display: flex; align-items: center; gap: 10px; font-family: var(--mono); }
.totp .code { font-size: 17px; letter-spacing: .08em; font-weight: 600; color: var(--totp, var(--tx)); }
.ring { width: 18px; height: 18px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.4; stroke: var(--card-bd); }
.ring .arc { stroke: var(--acc); stroke-dasharray: 100; stroke-linecap: round; transition: stroke-dashoffset .9s linear; }
.sec { font-family: var(--sans); color: var(--tx2); font-size: 12.5px; }
.dlabel { margin: 18px 0 0; font-size: 12.5px; color: var(--tx2); font-weight: 500; }
.dlabel + .card, .dlabel + .tags { margin-top: 8px; }
.tags { display: flex; gap: 6px; }
.tags span { padding: 3px 11px; border-radius: 999px; font-size: 12.5px; background: var(--chip-bg, #f1f2f1); color: var(--tx2); border: 1px solid var(--card-bd); }
.card.note { padding: 12px 18px; font-size: 14px; }

/* ---------- Approval card, iPhone notification, terminal ---------- */
.appr { padding: 20px; border-radius: 22px; background: var(--ap-bg, var(--card-bg)); color: var(--tx); border: 1px solid var(--ap-bd, var(--card-bd)); box-shadow: var(--ap-shadow, 0 30px 60px -20px rgb(0 0 0 / .4)); backdrop-filter: var(--ap-blur, none); text-align: left; font-size: 13.5px; }
.ah { display: flex; gap: 12px; align-items: center; }
.ah .agent { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--agent-bg, #15171a); color: var(--agent-fg, #fff); font-size: 18px; flex: none; }
.ah b { display: block; font-size: 16px; }
.ah small { color: var(--tx2); font-size: 12.5px; }
.appr dl { margin: 14px 0 0; display: grid; grid-template-columns: 52px 1fr; gap: 7px 10px; padding: 12px 14px; border-radius: 14px; background: var(--ap-inner, color-mix(in srgb, var(--tx) 4%, transparent)); }
.appr dt { color: var(--tx2); }
.appr dd { margin: 0; }
.appr dd.m { font-family: var(--mono); font-size: 12.5px; }
.dur { display: flex; gap: 6px; margin-top: 12px; }
.dur span { flex: 1; text-align: center; padding: 7px 0; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--card-bd); white-space: nowrap; }
.dur .on { background: var(--acc); color: var(--on-acc); border-color: transparent; }
.af { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 14px; }
.af .deny { color: var(--tx2); }
.af .allow { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 18px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-weight: 600; box-shadow: var(--new-shadow, none); }

.notif { display: flex; gap: 11px; padding: 12px 14px; border-radius: 22px; background: var(--nt-bg, rgb(255 255 255 / .78)); color: #111; border: 1px solid rgb(255 255 255 / .5); backdrop-filter: blur(24px) saturate(1.8); box-shadow: 0 20px 44px -16px rgb(0 0 0 / .4); text-align: left; animation: drop 1s cubic-bezier(.2,.8,.2,1) .6s both; }
.napp { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #2f6a5c; color: #fff; font-weight: 700; flex: none; }
.notif p { margin: 0; font-size: 13px; line-height: 1.35; }
.notif p:first-child { display: flex; justify-content: space-between; font-size: 12px; color: #555; }
.notif small { color: #777; }
.notif .nt { font-weight: 600; }
.notif .nb { color: #444; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }

.term { border-radius: 16px; overflow: hidden; background: var(--term-bg, #0d0f10); border: 1px solid var(--term-bd, rgb(255 255 255 / .1)); box-shadow: 0 30px 60px -24px rgb(0 0 0 / .6); text-align: left; }
.tt { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: rgb(255 255 255 / .04); border-bottom: 1px solid rgb(255 255 255 / .07); }
.tt i { width: 10px; height: 10px; border-radius: 99px; background: #3a3d40; }
.tt span { margin-left: 8px; color: #8b9096; font-size: 12px; }
.term pre { margin: 0; padding: 16px 18px; font: 13px/1.75 var(--mono); color: #d8dde0; white-space: pre-wrap; }
.term .p { color: var(--acc); } .term .d { color: #8b9096; } .term .c { color: #e9eef0; }
.term .w { color: #f0b94a; } .term .ok { color: var(--acc); }

/* =================================================================
   A · 原生彩色 — light, colored sidebar tiles, colored squircle monograms
   ================================================================= */
[data-s="a"] {
  --st-bg: #f7f7f5; --st-fg: #0d0f12; --st-fg2: #5a5f66;
  --deco: radial-gradient(50rem 26rem at 18% 72%, #c9e7ff 0%, transparent 60%), radial-gradient(44rem 24rem at 85% 70%, #ffd9ec 0%, transparent 62%), radial-gradient(40rem 22rem at 55% 100%, #d4f5e3 0%, transparent 60%);
  --badge-bg: #fff; --badge-fg: #2a2e33; --badge-bd: #e6e6e2;
  --hl-bg: linear-gradient(90deg, #127a63, #2f7cf6 55%, #a352e0); --hl-fg: transparent;
  --cta1-bg: #0d0f12; --cta1-fg: #fff; --cta1-shadow: 0 12px 30px -12px rgb(0 0 0 / .5);
  --cta2-bg: #fff; --cta2-fg: #0d0f12; --cta2-bd: #e1e1dc;
  --acc: #127a63; --on-acc: #fff; --star: #f5a623;
  --w-bg: #fff; --w-bd: rgb(0 0 0 / .1); --w-r: 16px; --w-shadow: 0 50px 100px -30px rgb(30 40 60 / .45), 0 0 0 .5px rgb(0 0 0 / .08);
  --tb-bg: #fbfbfa; --tb-bd: #eeeeec; --search-bg: #f1f1ef;
  --side-bg: rgb(244 245 247 / .9); --side-on: rgb(0 0 0 / .07);
  --list-bg: #fff; --row-bd: #f1f1ef; --row-sel: #eef6f3;
  --det-bg: #fff; --card-bg: #fafaf9; --card-bd: #ececea;
  --tx: #111316; --tx2: #6b7077; --tx3: #9a9ea4; --agent-bg: #d97757;
  --new-shadow: 0 6px 16px -6px color-mix(in srgb, #127a63 70%, transparent);
}
[data-s="a"] .ico { background: var(--h); color: #fff; font-size: 14px; }
[data-s="a"] .srow.on .ico { box-shadow: 0 2px 6px -2px var(--h); }
[data-s="a"] .av { border-radius: 11px; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--h) 78%, white), var(--h)); box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .1); }
[data-s="a"] .av.big { border-radius: 16px; }
[data-s="a"] .av.xs { border-radius: 5px; }
[data-s="a"] .dt h3 { font-size: 26px; }

/* =================================================================
   B · 夜行开发者 — near-black, mint glow, tinted letter tiles, terminal
   ================================================================= */
[data-s="b"] {
  --st-bg: #060808; --st-fg: #f2f5f4; --st-fg2: #9aa3a0;
  --deco: radial-gradient(46rem 22rem at 50% -4%, rgb(52 211 153 / .28), transparent 70%), radial-gradient(30rem 20rem at 92% 60%, rgb(56 189 248 / .12), transparent 70%),
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 56px 56px;
  --badge-bg: rgb(255 255 255 / .04); --badge-fg: #c9d2cf; --badge-bd: rgb(255 255 255 / .12);
  --hl-bg: linear-gradient(92deg, #ffffff 0%, #a7f3d0 45%, #34d399 100%); --hl-fg: transparent;
  --cta1-bg: #34d399; --cta1-fg: #04140d; --cta1-shadow: 0 0 0 1px rgb(52 211 153 / .5), 0 14px 44px -10px rgb(52 211 153 / .7);
  --cta2-bg: rgb(255 255 255 / .04); --cta2-fg: #e8eeec; --cta2-bd: rgb(255 255 255 / .14);
  --acc: #34d399; --on-acc: #04140d; --star: #fbbf24;
  --w-bg: #0e1112; --w-bd: rgb(255 255 255 / .1); --w-r: 14px;
  --w-shadow: 0 0 0 1px rgb(52 211 153 / .08), 0 -20px 80px -30px rgb(52 211 153 / .45), 0 60px 120px -30px rgb(0 0 0 / .9);
  --tb-bg: #0c0f10; --tb-bd: rgb(255 255 255 / .07); --search-bg: rgb(255 255 255 / .05); --search-bd: rgb(255 255 255 / .07); --search-r: 10px;
  --side-bg: #0a0d0e; --side-on: rgb(52 211 153 / .1); --side-on-fg: #d1fae5;
  --list-bg: #0e1112; --row-bd: rgb(255 255 255 / .05); --row-sel: rgb(255 255 255 / .05); --row-sel-shadow: inset 2px 0 0 #34d399;
  --det-bg: #111415; --card-bg: rgb(255 255 255 / .03); --card-bd: rgb(255 255 255 / .08); --chip-bg: rgb(255 255 255 / .05);
  --tx: #eef2f1; --tx2: #8d9693; --tx3: #5f6865; --totp: #6ee7b7;
  --ap-bg: rgb(17 20 21 / .92); --ap-bd: rgb(52 211 153 / .35); --ap-blur: blur(20px);
  --ap-shadow: 0 0 0 1px rgb(52 211 153 / .15), 0 0 60px -10px rgb(52 211 153 / .35), 0 40px 80px -20px rgb(0 0 0 / .9);
  --agent-bg: #d97757; --new-shadow: 0 0 24px -4px rgb(52 211 153 / .7);
}
[data-s="b"] .hero { text-align: left; max-width: 1100px; }
[data-s="b"] .hlead { margin-left: 0; }
[data-s="b"] .ctas { justify-content: flex-start; }
[data-s="b"] .badge { font-family: var(--mono); font-size: 12.5px; }
[data-s="b"] .ico { color: var(--h); font-size: 16px; filter: saturate(.9) brightness(1.25); }
[data-s="b"] .av { border-radius: 10px; background: color-mix(in srgb, var(--h) 22%, #0e1112); color: color-mix(in srgb, var(--h) 40%, white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--h) 45%, transparent); font-family: var(--mono); font-size: 12px; }
[data-s="b"] .av.big { border-radius: 15px; font-size: 17px; }
[data-s="b"] .av.xs { border-radius: 5px; font-size: 7.5px; }
[data-s="b"] .termrow { justify-content: flex-start; }
[data-s="b"] .term { --acc: #34d399; }

/* =================================================================
   C · 鲜明卡片 — saturated brand band, colored detail banner, status chips
   ================================================================= */
[data-s="c"] {
  --st-bg: #f3f6f9; --st-fg: #fff; --st-fg2: rgb(255 255 255 / .82);
  --deco: radial-gradient(60rem 30rem at 80% 0%, #22d3ee55, transparent 60%), linear-gradient(160deg, #0b5e4f 0%, #0f8a72 38%, #14a37f 60%, #1e66d0 100%) top / 100% 62% no-repeat;
  --badge-bg: rgb(255 255 255 / .16); --badge-fg: #fff; --badge-bd: rgb(255 255 255 / .28);
  --hl-fg: #c9fff0;
  --cta1-bg: #fff; --cta1-fg: #0b5e4f; --cta1-shadow: 0 14px 34px -12px rgb(0 0 0 / .45);
  --cta2-bg: rgb(0 0 0 / .18); --cta2-fg: #fff; --cta2-bd: rgb(255 255 255 / .35);
  --acc: #0f8a72; --on-acc: #fff; --star: #f5a623;
  --w-bg: #fff; --w-bd: rgb(0 0 0 / .08); --w-r: 18px; --w-shadow: 0 60px 120px -40px rgb(8 40 60 / .6);
  --tb-bg: #fff; --tb-bd: #edf0f2; --search-bg: #f2f4f6; --search-r: 10px;
  --side-bg: #f6f8fa; --side-on: #0f8a72; --side-on-fg: #fff;
  --list-bg: #fff; --row-bd: transparent; --row-sel: #e8f5f1; --row-r: 12px; --list-pad: 8px;
  --det-bg: #fff; --card-bg: #fff; --card-bd: #e7ebee; --card-shadow: 0 1px 2px rgb(16 24 40 / .05); --chip-bg: #f2f4f6;
  --tx: #101828; --tx2: #667085; --tx3: #98a2b3;
}
[data-s="c"] .srow.on .ico { color: #fff; }
[data-s="c"] .ico { color: var(--h); }
[data-s="c"] .srow.on .sc { color: rgb(255 255 255 / .8); }
[data-s="c"] .av { border-radius: 12px; color: #fff; background: var(--h); font-size: 14px; }
[data-s="c"] .av.big { width: 64px; height: 64px; border-radius: 18px; font-size: 20px; box-shadow: 0 0 0 4px #fff, 0 10px 24px -8px rgb(0 0 0 / .4); }
[data-s="c"] .av.xs { border-radius: 5px; }
[data-s="c"] .detail::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 78px; background: linear-gradient(120deg, #24292f, #3d4650 60%, #0f8a72); }
[data-s="c"] .dh { margin-top: 40px; align-items: flex-end; }
[data-s="c"] .dt { padding-top: 40px; }
[data-s="c"] .dact { position: absolute; right: 0; top: -44px; }
[data-s="c"] .dt h3 { font-size: 26px; }
[data-s="c"] .dact .ibtn, [data-s="c"] .dact .pbtn { color: #fff; border-color: rgb(255 255 255 / .3); background: rgb(255 255 255 / .12); }
[data-s="c"] .chips-row { display: flex; }
[data-s="c"] .meter { display: flex; }
[data-s="c"] .row { margin-bottom: 2px; }

/* =================================================================
   D · 温暖纸感 — cream, serif display, warm monograms, soft shadows
   ================================================================= */
[data-s="d"] {
  --st-bg: #f5efe3; --st-fg: #2b2118; --st-fg2: #6e5f50;
  --deco: radial-gradient(40rem 22rem at 15% 20%, #fff8ea, transparent 70%), radial-gradient(40rem 26rem at 90% 90%, #efe0c6, transparent 70%);
  --badge-bg: #fffaf0; --badge-fg: #6e5f50; --badge-bd: #e7dcc7;
  --h-font: var(--serif); --h-weight: 600; --h-track: -.02em; --hl-fg: #1f5c4a;
  --cta1-bg: #1f5c4a; --cta1-fg: #fffaf0; --cta1-shadow: 0 10px 24px -10px rgb(31 92 74 / .7); --cta-r: 14px;
  --cta2-bg: #fffaf0; --cta2-fg: #2b2118; --cta2-bd: #e1d4bd;
  --acc: #1f5c4a; --on-acc: #fffaf0; --star: #d08a2e;
  --w-bg: #fffdf8; --w-bd: #e8dfcf; --w-r: 14px; --w-shadow: 0 40px 80px -30px rgb(90 60 20 / .35), 0 2px 0 #fff inset;
  --tb-bg: #fbf7ee; --tb-bd: #efe6d6; --search-bg: #f3ecdf;
  --side-bg: #f7f1e6; --side-on: #ebe0cc;
  --list-bg: #fffdf8; --row-bd: #f2ebde; --row-sel: #f6eedf;
  --det-bg: #fffdf8; --card-bg: #fffaf1; --card-bd: #eee4d3; --chip-bg: #f6eedf;
  --tx: #2b2118; --tx2: #85745f; --tx3: #b0a08a; --dh-font: var(--serif); --dh-size: 28px;
  --agent-bg: #d97757;
}
[data-s="d"] .hero h2 .hl { font-style: italic; }
[data-s="d"] .ico { color: color-mix(in srgb, var(--h) 75%, #5a4632); }
[data-s="d"] .av { background: color-mix(in srgb, var(--h) 18%, #fff6e6); color: color-mix(in srgb, var(--h) 70%, #3b2a1a); font-family: var(--serif); font-size: 15px; font-weight: 600; }
[data-s="d"] .av.xs { font-size: 9px; }
[data-s="d"] .appr { font-family: var(--sans); }
[data-s="d"] .ah b { font-family: var(--serif); font-size: 18px; }

/* =================================================================
   E · 极光玻璃 — aurora backdrop, frosted window, glossy monograms
   ================================================================= */
[data-s="e"] {
  --st-bg: #0a0820; --st-fg: #fff; --st-fg2: rgb(255 255 255 / .78);
  --deco: radial-gradient(34rem 26rem at 22% 58%, #7c3aed 0%, transparent 66%), radial-gradient(36rem 28rem at 80% 48%, #06b6d4 0%, transparent 66%),
    radial-gradient(42rem 26rem at 55% 98%, #f97316 0%, transparent 64%), radial-gradient(30rem 22rem at 8% 96%, #10b981 0%, transparent 62%),
    radial-gradient(34rem 20rem at 62% 8%, #db277799 0%, transparent 66%), #120d33;
  --badge-bg: rgb(255 255 255 / .14); --badge-fg: #fff; --badge-bd: rgb(255 255 255 / .3);
  --hl-bg: linear-gradient(90deg, #fff, #c4f1ff 40%, #ffd6a8); --hl-fg: transparent;
  --cta1-bg: #fff; --cta1-fg: #120d33; --cta1-shadow: 0 16px 40px -12px rgb(0 0 0 / .5);
  --cta2-bg: rgb(255 255 255 / .16); --cta2-fg: #fff; --cta2-bd: rgb(255 255 255 / .35);
  --acc: #0e8f78; --on-acc: #fff; --star: #ffb020;
  --w-bg: rgb(255 255 255 / .58); --w-bd: rgb(255 255 255 / .55); --w-r: 22px; --w-shadow: 0 50px 120px -30px rgb(10 0 40 / .7), inset 0 1px 0 rgb(255 255 255 / .8);
  --tb-bg: rgb(255 255 255 / .35); --tb-bd: rgb(255 255 255 / .45); --search-bg: rgb(255 255 255 / .55);
  --side-bg: rgb(255 255 255 / .28); --side-on: rgb(255 255 255 / .7); --side-bd: rgb(255 255 255 / .45);
  --list-bg: rgb(255 255 255 / .4); --row-bd: rgb(255 255 255 / .5); --row-sel: rgb(255 255 255 / .8);
  --det-bg: rgb(255 255 255 / .62); --card-bg: rgb(255 255 255 / .7); --card-bd: rgb(255 255 255 / .9); --chip-bg: rgb(255 255 255 / .7);
  --tx: #15122b; --tx2: #4f4b66; --tx3: #6f6b88;
  --ap-bg: rgb(255 255 255 / .62); --ap-bd: rgb(255 255 255 / .8); --ap-blur: blur(30px) saturate(1.8); --ap-inner: rgb(255 255 255 / .55);
  --agent-bg: #d97757;
}
[data-s="e"] .stage .deco { animation: drift 18s ease-in-out infinite alternate; background-size: 120% 120%; }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-2%, 2%); } }
[data-s="e"] .win { backdrop-filter: blur(40px) saturate(1.8); }
[data-s="e"] .ico { background: linear-gradient(160deg, color-mix(in srgb, var(--h) 70%, white), var(--h)); color: #fff; font-size: 14px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .5); }
[data-s="e"] .av { border-radius: 12px; color: #fff; background: radial-gradient(120% 120% at 30% 10%, color-mix(in srgb, var(--h) 55%, white), var(--h) 70%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 4px 10px -4px var(--h); }
[data-s="e"] .av.big { border-radius: 17px; }
[data-s="e"] .av.xs { border-radius: 5px; }
[data-s="e"] .termrow { justify-content: flex-end; }
[data-s="e"] .term { --acc: #6ee7b7; background: rgb(10 8 32 / .6); backdrop-filter: blur(20px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .notif, [data-s="e"] .stage .deco { animation: none; }
}

/* E needs something bright right behind the glass, or frosted glass over navy just reads grey. */
[data-s="e"] .shot::before { content: ""; position: absolute; inset: -10% -8% -14%; z-index: -1; filter: blur(36px); opacity: .95;
  background: radial-gradient(40% 50% at 18% 30%, #a855f7, transparent 70%), radial-gradient(40% 50% at 84% 28%, #22d3ee, transparent 70%),
    radial-gradient(45% 45% at 55% 92%, #fb923c, transparent 70%), radial-gradient(35% 40% at 22% 88%, #34d399, transparent 70%), radial-gradient(30% 35% at 55% 40%, #f472b6, transparent 70%); }
