/* ShuffleClaim reseller web panel. Same look as the Reseller Kit; dark only on purpose
   (the holo foil only reads on a dark ground). */
/* Self-hosted Google Fonts (OFL), latin subset, variable weights. */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/instrument-sans.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/jetbrains-mono.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('fonts/unbounded.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: one long night-scroll on a moving "signal" field; a centred 1160px column,
   hero = headline | holographic reseller pass, everything stacks to one column on phones.
   Single dark world on purpose (holo foil only reads on a dark ground). */
:root {
  --ground: #0e0a15;
  --ground-2: #130e1d;
  --panel: #18122a;
  --panel-2: #211936;
  --line: rgba(240, 228, 255, 0.11);
  --line-2: rgba(240, 228, 255, 0.2);
  --text: #f5effc;
  --muted: #ab9fc0;
  --dim: #7d7194;
  --gold: #ffc94d;
  --coral: #ff6b4f;
  --rose: #f0509c;
  --cyan: #5cd8e8;
  --mint: #5be3a3;
  --on-gold: #1b1206;
  --foil: linear-gradient(105deg, var(--gold) 0%, var(--coral) 30%, var(--rose) 55%, var(--cyan) 85%, var(--gold) 100%);
  --f-display: "Unbounded", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--ground);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ground);
}
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.75; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(240, 80, 156, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(92, 216, 232, 0.08), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(255, 201, 77, 0.08), transparent 60%);
}
main, header.top, footer { position: relative; z-index: 2; }

.wrap {
  max-width: 1160px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.mono { font-family: var(--f-mono); }
.foil-text {
  background: var(--foil); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foilshift 9s linear infinite;
}
@keyframes foilshift { to { background-position: -220% 0; } }

/* ---------- top bar ---------- */
header.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--foil); background-size: 200% 100%; animation: foilshift 7s linear infinite; position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 4px; background: var(--ground); }
.brand b { font-family: var(--f-display); font-weight: 800; font-size: 14px; letter-spacing: 0.01em; }
.brand span { color: var(--muted); font-size: 13px; }
nav.sections { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; }
nav.sections::-webkit-scrollbar { display: none; }
nav.sections a {
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500;
  padding: 6px 10px; border-radius: 99px; white-space: nowrap;
}
nav.sections a:hover { color: var(--text); background: var(--panel); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--f-body); border-radius: 99px; padding: 14px 22px;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--text);
  cursor: pointer; text-decoration: none; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--panel-2); color: var(--text); }
.btn.primary {
  border: 0; color: var(--on-gold); background: var(--foil); background-size: 200% 100%;
  box-shadow: 0 8px 30px -8px rgba(255, 107, 79, 0.6);
  animation: foilshift 8s linear infinite;
}
.btn.primary:hover { color: var(--on-gold); box-shadow: 0 12px 40px -8px rgba(240, 80, 156, 0.7); }
.btn.small { padding: 9px 14px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
@media (max-width: 720px) { .bar .btn .long { display: none; } .brand span { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: 72px 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.eyebrow {
  font: 600 12px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.hero h1 { font-weight: 900; font-size: clamp(42px, 7.2vw, 92px); line-height: 0.95; margin-top: 22px; letter-spacing: -0.035em; }
.hero h1 .line { display: block; }
.hero .lede { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); max-width: 34em; margin-top: 26px; }
.hero .lede strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.hero-facts div { padding: 16px 16px 0 0; }
.hero-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-facts b { display: block; font: 800 clamp(22px, 2.6vw, 30px)/1.1 var(--f-display); letter-spacing: -0.02em; }
.hero-facts span { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; margin-top: 6px; }

/* the holographic pass */
.pass-stage { perspective: 1100px; display: grid; place-items: center; }
.pass {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  width: min(100%, 400px); aspect-ratio: 0.63; max-width: 100%;
  border-radius: 26px; position: relative; overflow: hidden; isolation: isolate;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .25s ease-out;
  background: linear-gradient(160deg, #241a3a 0%, #120d1f 55%, #1d1230 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 90px -30px rgba(240, 80, 156, 0.55), 0 20px 60px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 26px; display: flex; flex-direction: column;
  animation: passin 1.1s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes passin { from { transform: rotateX(18deg) rotateY(-28deg) translateY(30px) scale(.94); opacity: .0; } }
.pass::before { /* foil sheen that follows the pointer */
  content: ""; position: absolute; inset: -40%; z-index: -1; opacity: .55; mix-blend-mode: color-dodge;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.55), transparent 32%),
    conic-gradient(from 210deg at var(--mx) var(--my), var(--gold), var(--coral), var(--rose), var(--cyan), var(--mint), var(--gold));
  filter: blur(18px);
  transition: opacity .3s;
}
.pass::after { /* fine guilloche lines */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22;
  background: repeating-radial-gradient(circle at 110% -10%, transparent 0 9px, rgba(255, 255, 255, 0.5) 9px 10px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.pass-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pass-label { font: 600 11px/1.3 var(--f-mono); letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.72); text-transform: uppercase; }
.chip-svg { width: 52px; height: 40px; flex-shrink: 0; }
.pass-rate { margin-top: auto; }
.pass-rate small { font: 600 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pass-rate .num { font: 900 clamp(76px, 10vw, 112px)/0.9 var(--f-display); letter-spacing: -0.05em; display: flex; align-items: flex-start; margin-top: 8px; }
.pass-rate .num sup { font-size: 0.42em; margin-top: .14em; margin-left: .04em; }
.pass-steps { display: flex; gap: 6px; margin-top: 16px; }
.pass-steps span { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); position: relative; overflow: hidden; }
.pass-steps span i { position: absolute; inset: 0; background: var(--foil); background-size: 300% 100%; transform-origin: left; animation: fillstep 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.pass-steps span:nth-child(2) i { animation-delay: .35s; background-position: 50% 0; }
.pass-steps span:nth-child(3) i { animation-delay: .7s; background-position: 100% 0; }
@keyframes fillstep { from { transform: scaleX(0); } }
.pass-ticks { display: flex; justify-content: space-between; margin-top: 8px; font: 600 11px/1 var(--f-mono); color: rgba(255, 255, 255, .62); }
.pass-link {
  margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .32);
  border: 1px solid rgba(255, 255, 255, .1); font: 400 12px/1.4 var(--f-mono); color: rgba(255, 255, 255, .82);
  overflow-wrap: anywhere;
}
.pass-link em { color: var(--gold); font-style: normal; }
.pass-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; gap: 12px; }
.pass-foot b { font: 800 15px/1 var(--f-display); }
.pass-foot span { font: 400 11px/1.3 var(--f-mono); color: rgba(255, 255, 255, .55); text-align: right; }
.holo-stamp { width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--gold), var(--coral), var(--rose), var(--cyan), var(--mint), var(--gold)); opacity: .85; position: relative; animation: spin 12s linear infinite; flex-shrink: 0; }
.holo-stamp::after { content: "R"; position: absolute; inset: 5px; border-radius: 50%; background: #150f22; display: grid; place-items: center; font: 900 16px/1 var(--f-display); color: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }
.pass-caption { margin-top: 18px; text-align: center; font-size: 12px; color: var(--dim); }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--ground-2) 70%, transparent); overflow: hidden; padding-block: 18px; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { padding-right: 48px; font: 800 clamp(22px, 3vw, 34px)/1 var(--f-display); letter-spacing: -0.01em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.marquee-track span:nth-child(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee-track span.dot { color: var(--gold); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section.block { padding-block: 96px 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 44px; }
.sec-head h2 { font-weight: 800; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; margin-top: 16px; }
.sec-head p { color: var(--muted); font-size: 17px; max-width: 36em; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* start steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 24px 22px 26px; border-radius: var(--r-m); background: color-mix(in srgb, var(--panel) 78%, transparent); border: 1px solid var(--line); min-width: 0; }
.step::before {
  counter-increment: s; content: counter(s);
  font: 900 54px/1 var(--f-display); letter-spacing: -0.04em; display: block; margin-bottom: 18px;
  background: var(--foil); background-size: 400% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step:nth-child(2)::before { background-position: 33% 0; }
.step:nth-child(3)::before { background-position: 66% 0; }
.step:nth-child(4)::before { background-position: 100% 0; }
.step h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.step p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.kbd { font: 600 13px/1 var(--f-mono); padding: 3px 7px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text); white-space: nowrap; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* product */
.product { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; }
.feat-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.feat svg { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.feat:nth-child(2n) svg { color: var(--rose); }
.feat:nth-child(3n) svg { color: var(--cyan); }
.feat h3 { font: 700 16px/1.3 var(--f-body); letter-spacing: 0; }
.feat p { color: var(--muted); font-size: 15px; margin-top: 3px; }
.price-card { border-radius: var(--r-l); background: linear-gradient(170deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); padding: 26px; min-width: 0; align-self: start; }
.price-card h3 { font-size: 20px; font-weight: 800; }
.price-card .sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.table-scroll { overflow-x: auto; margin-top: 18px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 420px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 600 11px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
td:first-child { font-weight: 600; }
td.big { font: 800 18px/1 var(--f-display); letter-spacing: -0.01em; }
td.soft { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.price-card .note { color: var(--muted); font-size: 13px; margin-top: 14px; }
@media (max-width: 900px) { .product { grid-template-columns: minmax(0, 1fr); } }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tier {
  --glow: var(--cyan);
  position: relative; border-radius: var(--r-l); padding: 30px; overflow: hidden; min-width: 0;
  background: linear-gradient(165deg, var(--panel-2) 0%, var(--panel) 60%);
  border: 1px solid var(--line-2);
}
.tier.trusted { --glow: var(--gold); }
.tier::before { content: ""; position: absolute; width: 420px; height: 420px; left: var(--px, 80%); top: var(--py, -20%); transform: translate(-50%, -50%); background: radial-gradient(circle, color-mix(in srgb, var(--glow) 26%, transparent), transparent 65%); pointer-events: none; transition: left .2s, top .2s; }
.tier > * { position: relative; }
.tier-tag { display: inline-flex; gap: 8px; align-items: center; font: 600 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--glow); padding: 7px 11px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--glow) 45%, transparent); }
.tier h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; margin-top: 18px; }
.tier .who { color: var(--muted); margin-top: 6px; }
.tier .rate { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding-block: 18px; border-block: 1px solid var(--line); }
.tier .rate b { font: 900 46px/1 var(--f-display); letter-spacing: -0.04em; color: var(--glow); }
.tier .rate span { color: var(--muted); font-size: 14px; }
.tier ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.tier li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; }
.tier li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--glow); }
.tier li.no { color: var(--muted); }
.tier li.no::before { border-color: var(--dim); background: linear-gradient(45deg, transparent 45%, var(--dim) 45% 55%, transparent 55%); }
.tier-foot { margin-top: 18px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 860px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

/* ladder */
.ladder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.stairs { position: relative; border-radius: var(--r-l); border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 70%, transparent); padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.stair-row { display: flex; align-items: flex-end; gap: 10px; height: 300px; margin-top: auto; }
.stair { flex: 1; border-radius: 16px 16px 6px 6px; position: relative; display: flex; flex-direction: column; justify-content: flex-start; padding: 14px 10px; min-width: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 34%, var(--panel-2)), color-mix(in srgb, var(--c) 8%, var(--panel)));
  border: 1px solid color-mix(in srgb, var(--c) 50%, transparent);
  animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom;
}
.stair:nth-child(1) { --c: var(--cyan); height: 42%; }
.stair:nth-child(2) { --c: var(--rose); height: 68%; animation-delay: .12s; }
.stair:nth-child(3) { --c: var(--gold); height: 100%; animation-delay: .24s; }
@keyframes rise { from { transform: scaleY(.3); } }
.stair b { font: 900 clamp(24px, 3.4vw, 46px)/1 var(--f-display); letter-spacing: -0.05em; color: var(--c); }
.stair-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.stair-labels div { min-width: 0; }
.stair-labels span { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; }
.stair-labels small { display: block; font: 400 11px/1.35 var(--f-mono); color: var(--muted); margin-top: 3px; }
.stairs .fine { color: var(--muted); font-size: 14px; margin-top: 18px; }
.stairs h3 { font-size: 20px; font-weight: 800; }

.calc { border-radius: var(--r-l); border: 1px solid var(--line-2); background: linear-gradient(170deg, var(--panel-2), var(--panel)); padding: 28px; min-width: 0; }
.calc h3 { font-size: 20px; font-weight: 800; }
.calc .hint { color: var(--muted); font-size: 14px; margin-top: 6px; }
.seg { display: inline-flex; padding: 4px; border-radius: 18px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.seg button { font: 600 13px/1 var(--f-body); color: var(--muted); background: transparent; border: 0; border-radius: 99px; padding: 9px 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--ground); }
.calc-row { display: grid; gap: 10px; margin-top: 20px; }
.calc-row label { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
input[type="range"] { width: 100%; accent-color: var(--rose); height: 28px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-top output { font: 800 22px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.ticks { display: grid; grid-template-columns: repeat(50, minmax(0, 1fr)); gap: 3px; margin-top: 18px; }
.ticks i { height: 18px; border-radius: 2px; background: rgba(255, 255, 255, .07); transition: background .25s, transform .25s; }
.ticks i.on { transform: scaleY(1); }
.ticks i.r10 { background: var(--cyan); }
.ticks i.r15 { background: var(--rose); }
.ticks i.r20 { background: var(--gold); }
.tick-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--muted); }
.tick-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: var(--k); }
.result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.result div { padding: 16px 12px 0 0; min-width: 0; }
.result div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.result b { display: block; font: 900 clamp(24px, 3vw, 34px)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.result b.money { color: var(--mint); }
.result span { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.35; }
.calc .small-note { color: var(--dim); font-size: 12px; margin-top: 16px; }
@media (max-width: 900px) { .ladder-grid { grid-template-columns: minmax(0, 1fr); } .stair-row { height: 200px; } }

/* flows */
.flows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.flow { border-radius: var(--r-l); border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 75%, transparent); padding: 28px; min-width: 0; }
.flow h3 { font-size: 22px; font-weight: 800; }
.flow .for { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.flow.cash .for { color: var(--gold); }
.flow ol { list-style: none; padding: 0; margin: 22px 0 0; position: relative; }
.flow ol::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: dash 1.2s linear infinite; }
@keyframes dash { to { background-position: 0 12px; } }
.flow li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; }
.flow li:last-child { padding-bottom: 0; }
.flow li .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--ground); border: 2px solid var(--cyan); display: grid; place-items: center; font: 800 12px/1 var(--f-display); color: var(--cyan); position: relative; z-index: 1; }
.flow.cash li .dot { border-color: var(--gold); color: var(--gold); }
.flow li > div > b { display: block; font-size: 16px; }
.flow li p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.dm { margin-top: 8px; display: inline-block; max-width: 100%; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: #24304a; color: #e9f1ff; font-size: 13.5px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 900px) { .flows { grid-template-columns: minmax(0, 1fr); } }

/* trials */
.trial-band { border-radius: var(--r-l); border: 1px solid var(--line-2); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); background: linear-gradient(120deg, color-mix(in srgb, var(--rose) 14%, var(--panel)), var(--panel) 50%, color-mix(in srgb, var(--gold) 12%, var(--panel))); }
.trial-band > div { padding: 28px; min-width: 0; }
.trial-band > div + div { border-left: 1px solid var(--line); }
.trial-band h3 { font-size: 19px; font-weight: 800; }
.trial-band .k { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: block; }
.trial-band p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.trial-band .big1d { font: 900 64px/0.9 var(--f-display); letter-spacing: -0.05em; }
@media (max-width: 900px) { .trial-band { grid-template-columns: minmax(0, 1fr); } .trial-band > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* panel tour */
.tour { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: center; }
.phone { width: 100%; max-width: 340px; margin-inline: auto; border-radius: 42px; padding: 12px; background: linear-gradient(160deg, #2d2442, #120d1c); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(92, 216, 232, .35), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.screen { border-radius: 32px; background: #17212b; overflow: hidden; color: #f5f5f5; font-family: var(--f-body); }
.tg-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 10px; font-size: 13px; color: #aab6c3; }
.tg-head b { color: #f5f5f5; font-size: 15px; }
.app { padding: 4px 14px 14px; display: grid; gap: 10px; }
.mini-card { background: #232e3c; border-radius: 14px; padding: 13px 14px; }
.mini-card .lbl { font-size: 11px; color: #8a9aab; text-transform: uppercase; letter-spacing: .06em; }
.mini-card .val { font: 800 26px/1.1 var(--f-display); margin-top: 4px; letter-spacing: -0.02em; }
.mini-card .val.plus { color: #6ee3a6; }
.mini-card .sub { font-size: 12px; color: #9fb0c1; margin-top: 4px; }
.mini-bar { height: 7px; border-radius: 4px; background: #33404f; margin-top: 10px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: 5%; border-radius: 4px; background: linear-gradient(90deg, #5cd8e8, #f0509c); }
.mini-link { font: 400 11px/1.4 var(--f-mono); color: #cfe3ff; margin-top: 6px; overflow-wrap: anywhere; }
.mini-btns { display: flex; gap: 6px; margin-top: 10px; }
.mini-btns span { flex: 1; text-align: center; font-size: 12px; font-weight: 600; padding: 8px; border-radius: 9px; background: #2f6ea5; color: #fff; }
.mini-btns span + span { background: #33404f; }
.badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 3px 7px; border-radius: 99px; background: rgba(92, 216, 232, .15); color: #8de6f1; vertical-align: 3px; margin-left: 6px; }
.mini-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #2b3846; }
.mini-tabs span { text-align: center; font-size: 12px; padding: 11px 0 14px; color: #8a9aab; }
.mini-tabs span.on { color: #5cb8ff; font-weight: 600; }
.example-tag { text-align: center; font-size: 12px; color: var(--dim); margin-top: 12px; }
.tour-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tour-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.tour-item h3 { font-size: 15px; font-weight: 800; }
.tour-item p { color: var(--muted); font-size: 15px; }
.tour-item p b { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .tour { grid-template-columns: minmax(0, 1fr); gap: 32px; } .tour-item { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* rules */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rule { border-radius: var(--r-m); padding: 22px; background: color-mix(in srgb, var(--panel) 75%, transparent); border: 1px solid var(--line); min-width: 0; }
.rule h3 { font: 700 16px/1.3 var(--f-body); letter-spacing: 0; display: flex; gap: 10px; align-items: baseline; }
.rule h3 i { font-style: normal; font: 800 11px/1 var(--f-mono); color: var(--ground); background: var(--gold); padding: 4px 6px; border-radius: 5px; flex-shrink: 0; }
.rule.money h3 i { background: var(--mint); }
.rule.safety h3 i { background: var(--cyan); }
.rule p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
@media (max-width: 960px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rules { grid-template-columns: minmax(0, 1fr); } }

/* AI brief */
.brief-wrap { border-radius: var(--r-l); padding: 2px; background: var(--foil); background-size: 300% 100%; animation: foilshift 14s linear infinite; }
.brief { border-radius: calc(var(--r-l) - 2px); background: var(--ground-2); padding: 28px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; }
.brief h3 { font-size: 24px; font-weight: 800; }
.brief .steps-mini { margin: 16px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; font-size: 15px; }
.brief .steps-mini b { color: var(--text); }
.field { display: grid; gap: 8px; margin-top: 22px; }
.field label { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.field input[type="text"] { width: 100%; font: 400 14px/1.3 var(--f-mono); color: var(--text); background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; }
.field input[type="text"]::placeholder { color: var(--dim); }
.field .msg { font-size: 13px; color: var(--muted); min-height: 1.3em; }
.field .msg.bad { color: var(--coral); }
.field .msg.good { color: var(--mint); }
.brief-out { display: flex; flex-direction: column; min-width: 0; }
.brief-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.brief-bar > span { font: 600 12px/1 var(--f-mono); color: var(--dim); }
textarea#brief { width: 100%; flex: 1; min-height: 420px; resize: vertical; font: 400 12.5px/1.6 var(--f-mono); color: #dcd2ea; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.copied { color: var(--mint) !important; }
@media (max-width: 900px) { .brief { grid-template-columns: minmax(0, 1fr); padding: 22px; } textarea#brief { min-height: 360px; } }

/* do / don't */
.dd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dd > div { border-radius: var(--r-l); padding: 28px; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 75%, transparent); min-width: 0; }
.dd h3 { font-size: 20px; font-weight: 800; }
.dd ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.dd li { padding-left: 26px; position: relative; font-size: 15px; color: var(--text); }
.dd li::before { content: "+"; position: absolute; left: 0; top: -1px; font: 800 16px/1.5 var(--f-display); color: var(--mint); }
.dd .dont li::before { content: "×"; color: var(--coral); }
.dd .dont li { color: var(--muted); }
.sample { margin-top: 18px; padding: 16px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px dashed var(--line-2); font-size: 14.5px; line-height: 1.55; white-space: pre-line; }
.sample small { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
@media (max-width: 860px) { .dd { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 600 17px/1.4 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 26px/1 var(--f-display); color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 62ch; }

/* footer */
footer { margin-top: 110px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--ground-2) 80%, transparent); }
.foot { padding-block: 44px; display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot h3 { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot .big { font: 900 clamp(28px, 4vw, 44px)/1 var(--f-display); letter-spacing: -0.03em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.foot p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 40ch; }
.legal { padding-block: 18px 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
@media (max-width: 760px) { .foot { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 900px) {
  .hero { padding-block: 44px 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .pass { width: min(100%, 360px); }
  section.block { padding-block: 72px 0; }
}
@media (max-width: 480px) {
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 14px; }
  .result { grid-template-columns: minmax(0, 1fr); }
  .result div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
  .tier, .flow, .calc, .stairs, .dd > div { padding: 22px; }
  .ticks { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* ================= Web panel: login + dashboard ================= */
body[data-state="boot"] [data-auth] { display: none !important; }
body[data-state="out"] [data-auth="in"], body[data-state="in"] [data-auth="out"] { display: none !important; }
.me-box { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.me-name { color: var(--muted); font-size: 13px; white-space: nowrap; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .me-name { display: none; } }
.sr-copy { position: fixed; left: -9999px; top: 0; opacity: 0; }

.login-band { padding-block: 72px 0; }
.login-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: center;
  border-radius: var(--r-l); padding: 36px; border: 1px solid var(--line-2);
  background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 11%, var(--panel)), var(--panel) 55%, color-mix(in srgb, var(--rose) 11%, var(--panel)));
}
.login-card h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05; margin-top: 14px; }
.login-card .copy > p { color: var(--muted); margin-top: 14px; max-width: 38em; }
.login-box { border-radius: var(--r-m); background: rgba(0, 0, 0, .3); border: 1px solid var(--line); padding: 24px; display: grid; gap: 14px; justify-items: start; min-width: 0; }
.tg-login { min-height: 48px; display: flex; align-items: center; color: var(--muted); font-size: 14px; }
.fine { color: var(--muted); font-size: 13.5px; }
.login-msg { margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--coral) 55%, transparent); background: color-mix(in srgb, var(--coral) 13%, transparent); color: var(--text); font-size: 15px; max-width: 38em; }
.login-msg.ok { border-color: color-mix(in srgb, var(--mint) 50%, transparent); background: color-mix(in srgb, var(--mint) 10%, transparent); }
@media (max-width: 860px) { .login-card { grid-template-columns: minmax(0, 1fr); padding: 24px; } }

.dash { padding-block: 44px 0; }
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.dash-head h1 { font-weight: 900; font-size: clamp(34px, 5vw, 60px); line-height: 1; margin-top: 14px; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.admin-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 8px 8px 16px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--panel); max-width: 100%; }
.admin-bar label { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.admin-bar select { font: 600 14px/1.2 var(--f-body); color: var(--text); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 99px; padding: 9px 12px; max-width: 100%; min-width: 0; }
.ro-pill { font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); padding: 7px 10px; border-radius: 99px; }
.error-box { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--coral) 55%, transparent); background: color-mix(in srgb, var(--coral) 12%, transparent); }
.dash-top { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 22px; align-items: start; }
.dash-stack { display: grid; gap: 16px; min-width: 0; }
.dash-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 22px; margin-top: 22px; align-items: start; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { border-radius: var(--r-l); border: 1px solid var(--line-2); background: linear-gradient(170deg, var(--panel-2), var(--panel)); padding: 24px; min-width: 0; }
.card h3 { font-size: 20px; font-weight: 800; margin-top: 4px; }
.cap { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: block; }
.field-lbl { margin-top: 18px; }
.card .sub { color: var(--muted); font-size: 14px; margin-top: 8px; }
.bad-text { color: var(--coral) !important; }
.money-big { font: 900 clamp(34px, 4.2vw, 50px)/1 var(--f-display); letter-spacing: -0.04em; margin-top: 12px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.money-big.plus { color: var(--mint); }
.money-big.minus { color: var(--coral); }
.bar-track { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 14px; }
.bar-track i { display: block; height: 100%; border-radius: 4px; background: var(--foil); background-size: 300% 100%; }
.link-text { font: 400 13px/1.45 var(--f-mono); padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .32); border: 1px solid var(--line); overflow-wrap: anywhere; margin-top: 12px; color: var(--text); }
.link-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font: 600 13px/1 var(--f-body); color: var(--muted); background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); border-radius: 99px; padding: 10px 13px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--ground); border-color: var(--text); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.stepper .ctl { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: 700 18px/1 var(--f-body); cursor: pointer; }
.stepper button[disabled] { opacity: .4; cursor: not-allowed; }
.stepper output { min-width: 44px; text-align: center; font: 800 18px/1 var(--f-display); }
.input { width: 100%; font: 400 15px/1.3 var(--f-body); color: var(--text); background: rgba(0, 0, 0, .28); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; margin-top: 8px; }
.input::placeholder { color: var(--dim); }
.facts { display: grid; grid-template-columns: auto auto; justify-content: space-between; gap: 8px 16px; margin: 16px 0 0; padding: 14px 0; border-block: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.divider { height: 1px; background: var(--line); margin: 26px 0 20px; }
.list { display: grid; margin-top: 8px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row .main { display: block; font-weight: 600; overflow-wrap: anywhere; }
.row .meta { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
.row .amt { font: 800 16px/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.amt.plus { color: var(--mint); }
.amt.minus { color: var(--coral); }
.status { font: 700 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.status.active, .status.approved { color: var(--mint); border-color: color-mix(in srgb, var(--mint) 45%, transparent); }
.status.pending { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.status.revoked, .status.declined, .status.expired { color: var(--coral); border-color: color-mix(in srgb, var(--coral) 45%, transparent); }
.linkish { background: none; border: 0; padding: 0; margin-top: 6px; color: var(--gold); font: 600 13px/1.2 var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.empty { color: var(--muted); padding: 18px 0 6px; }
.keyline { font: 600 15px/1.3 var(--f-mono); letter-spacing: .02em; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .32); border: 1px dashed var(--line-2); margin-top: 10px; overflow-wrap: anywhere; }
.result-card { border-color: color-mix(in srgb, var(--mint) 55%, transparent); box-shadow: 0 20px 60px -30px color-mix(in srgb, var(--mint) 60%, transparent); }
.card table { min-width: 0; }
.card td.plus-cell { color: var(--mint); font-weight: 700; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; margin-top: 16px; }
.ro-note { color: var(--gold); font-size: 13px; margin-top: 12px; }
.pass.static, .pass.static .pass-steps span i { animation: none; }
.dash .pass-stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
.guide-band { padding-block: 104px 0; }
.guide-band h2 { font-weight: 800; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.02; margin-top: 16px; }
.guide-band p { color: var(--muted); margin-top: 12px; max-width: 40em; }
.skeleton { height: 260px; border-radius: var(--r-l); background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(5, 3, 10, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.modal { width: min(440px, 100%); border-radius: var(--r-l); border: 1px solid var(--line-2); background: var(--panel); padding: 26px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); }
.modal h3 { font-size: 22px; font-weight: 800; }
.modal p { color: var(--muted); margin-top: 10px; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 110; padding: 12px 18px; border-radius: 99px; background: var(--text); color: var(--ground); font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .7); max-width: calc(100% - 32px); text-align: center; }
.toast.bad { background: var(--coral); color: var(--on-gold); }
@media (max-width: 960px) { .dash-top, .dash-row { grid-template-columns: minmax(0, 1fr); } .dash .pass-stage { position: static; } }
@media (max-width: 520px) { .two { grid-template-columns: minmax(0, 1fr); } .card { padding: 20px; } .login-box { padding: 18px; } }

[hidden] { display: none !important; }
.dash-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; max-width: 100%; }
.pass-col { align-self: stretch; min-width: 0; }
#dPassMeta { white-space: pre-line; }
.card:empty { min-height: 150px; background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.mono-main { font-family: var(--f-mono); font-size: 14px; letter-spacing: .02em; }
@media (max-width: 960px) { .dash .pass { width: min(100%, 340px); } }
@media (max-width: 600px) { .dash .pass { aspect-ratio: auto; } .dash .pass-rate { margin-top: 40px; } }
.more-row { padding-top: 12px; border-top: 1px solid var(--line); }
