/* =========================================================
   XENOVIA — The Reconciliation
   ========================================================= */
:root {
  --ink: #13201b;
  --ink-2: #1a2b24;
  --ink-3: #22362e;
  --cream: #f3ece0;
  --cream-2: #e9e0cf;
  --paper: #fbf7f0;
  --sage: #8fa58c;
  --green: #3f6152;
  --green-d: #2f4a3f;
  --gold: #c9a66b;
  --gold-l: #e2c48f;
  --red: #e0664c;
  --line: rgba(243, 236, 224, 0.26);
  --line-2: rgba(243, 236, 224, 0.12);
  --txt: #f3ece0;
  --txt-dim: rgba(243, 236, 224, 0.64);
  --txt-faint: rgba(243, 236, 224, 0.4);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --fw: min(94vw, 880px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --bgblur: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--txt);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.locked { overflow: hidden; height: 100dvh; }
body.locked .site { display: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
img { display: block; max-width: 100%; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none; opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(5) infinite; mix-blend-mode: overlay;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Shared type ---------- */
.kicker {
  margin: 0 0 18px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-l); font-weight: 500;
}
.kicker.dark { color: var(--green); }
.display {
  margin: 0; font-family: var(--serif); font-weight: 400; line-height: 0.92; letter-spacing: -0.02em;
  font-size: clamp(64px, 13vw, 168px); color: var(--txt);
}
.display em { color: var(--gold-l); }
.lede { margin: 26px auto 0; max-width: 460px; font-size: 15px; color: var(--txt-dim); line-height: 1.6; }

.pill-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 10px;
  background: var(--paper); color: var(--ink); font-weight: 500; font-size: 16px;
  box-shadow: 0 0 0 1px rgba(243, 236, 224, 0.5), 0 0 0 7px rgba(243, 236, 224, 0.12), 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pill-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(243, 236, 224, 0.7), 0 0 0 10px rgba(243, 236, 224, 0.14), 0 26px 50px -12px rgba(0, 0, 0, 0.6); }
.pill-btn:active { transform: translateY(1px) scale(0.98); }
.link-btn {
  font-size: 15px; color: var(--txt); padding: 10px 4px; border-bottom: 1px solid var(--txt); letter-spacing: 0.02em;
  transition: gap 0.3s, opacity 0.3s; display: inline-flex; gap: 8px;
}
.link-btn:hover { gap: 14px; }
.txt-btn { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt-dim); padding: 8px 10px; }
.txt-btn:hover { color: var(--txt); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--txt-dim); }
.icon-btn:hover { color: var(--txt); border-color: var(--txt-dim); }
.icon-btn .snd-off { display: none; }
.icon-btn.muted .snd-off { display: block; }
.icon-btn.muted .snd-on { display: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 8000; background: var(--ink); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loaded .loader { opacity: 0; visibility: hidden; }
.loader-mark { width: 150px; animation: breathe 2.4s ease-in-out infinite; }
.loader-word { font-size: 13px; letter-spacing: 0.6em; padding-left: 0.6em; color: var(--txt-dim); }
.loader-bar { width: 160px; height: 1px; background: var(--line-2); margin-top: 18px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--gold); }
.loader-pct { font-size: 11px; letter-spacing: 0.12em; color: var(--txt-faint); font-family: var(--mono); }
@keyframes breathe { 50% { transform: scale(1.05); opacity: 0.85; } }

/* =========================================================
   STAGE
   ========================================================= */
.stage {
  position: fixed; inset: 0; height: 100dvh; z-index: 100; overflow: hidden; background: var(--ink);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s;
}
.stage.leaving { opacity: 0; transform: scale(1.06); filter: blur(6px); pointer-events: none; }
.stage.gone { display: none; }

.stage-bg { position: absolute; inset: 0; overflow: hidden; }
.bg-dash {
  position: absolute; left: 50%; top: 50%; width: 1280px;
  transform: translate(-50%, -50%) scale(1.12);
  filter: blur(var(--bgblur)) saturate(0.85); transition: filter 0.9s var(--ease); will-change: filter;
}
.stage-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(19, 32, 27, 0.55), rgba(19, 32, 27, 0.9) 70%),
    linear-gradient(180deg, rgba(19, 32, 27, 0.3), rgba(19, 32, 27, 0.75));
  transition: opacity 1s;
}
.stage[data-screen='scrResult'] .stage-shade { opacity: 0.82; }
.stage.urgent .stage-shade { background: radial-gradient(ellipse at 50% 40%, rgba(60, 24, 18, 0.55), rgba(19, 32, 27, 0.92) 70%); }

/* court lines */
.court { position: absolute; top: 64px; bottom: 16px; left: 50%; width: var(--fw); transform: translateX(-50%); pointer-events: none; }
.court i { position: absolute; display: block; }
.court .l-out { inset: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.court .l-svc { left: 0; right: 0; height: 1px; background: var(--line); }
.court .l-svc-t { top: 22%; } .court .l-svc-b { bottom: 22%; }
.court .l-mid { left: 50%; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.court .l-net { top: 50%; height: 1px; width: 7%; background: var(--line); }
.court .l-net-l { left: -3%; } .court .l-net-r { right: -3%; }
.stage.in-game .court .l-mid { top: 0; bottom: 0; }
.stage.in-game .court .l-svc, .stage.in-game .court .l-net { opacity: 0.45; }
.stage[data-screen='scrRegime'] .court .l-mid { opacity: 0.35; }

.stage-top {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: var(--fw); height: 64px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; padding: 0 2px;
}
.brand-mini { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.42em; color: var(--txt); }
.brand-mini img { width: 46px; }
.stage-top-r { display: flex; align-items: center; gap: 8px; }

/* screens */
.screen {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px 40px; opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), visibility 0.7s;
}
.screen.active { opacity: 1; visibility: visible; transform: none; }
.intro { margin-top: auto; }
#scrIntro .pill-btn { margin: auto 0 9vh; }
#scrIntro .display em { display: inline-block; }

.vs { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: auto; }
.vs-name { font-family: var(--serif); font-style: italic; font-size: clamp(48px, 10vw, 112px); line-height: 1; }
.vs-x { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--txt-dim); }
#scrVs .link-btn { margin: auto 0 9vh; }

.rules { max-width: 560px; text-align: left; margin-top: auto; }
.rules .kicker { text-align: center; }
.rule { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.rule:last-of-type { border-bottom: 1px solid var(--line-2); }
.rule-n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold-l); }
.rule h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.rule p { margin: 0; color: var(--txt-dim); font-size: 14.5px; }
.rule b { color: var(--txt); font-weight: 600; }
.rules-tip { margin: 18px 0 0; font-size: 14px; color: var(--txt-dim); text-align: center; }
.rules-tip b { color: var(--gold-l); }
.rules-screen .pill-btn { margin: auto 0 6vh; }

/* ---------- GAME ---------- */
#scrGame, .game-screen {
  top: 64px; bottom: 16px; left: 50%; right: auto; width: var(--fw); padding: 0;
  transform: translateX(-50%) translateY(16px); justify-content: flex-start; align-items: stretch;
}
.game-screen.active { transform: translateX(-50%); }
.count-overlay { z-index: 60; }

.bignum { position: absolute; font-family: var(--serif); font-size: clamp(110px, 22vw, 220px); line-height: 0.8; pointer-events: none; z-index: 0; opacity: 0.16; }
.bignum-dept { left: 6%; top: 25%; color: var(--red); opacity: 0.2; }
.bignum-you { right: 6%; bottom: 14%; }
.side-label { position: absolute; font-size: 10px; letter-spacing: 0.3em; color: var(--txt-faint); writing-mode: vertical-rl; z-index: 0; }
.side-label-l { left: -18px; top: 26%; transform: rotate(180deg); }
.side-label-r { right: -18px; bottom: 16%; }
.day-ring {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: 160px; height: 160px; border-radius: 50%;
  border: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 0; pointer-events: none;
}
.day-ring span { font-family: var(--serif); font-style: italic; font-size: 92px; line-height: 0.9; opacity: 0.22; }
.day-ring small { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--txt-faint); }
.urgent .day-ring { border-color: rgba(224, 102, 76, 0.4); animation: ringpulse 1s ease-in-out infinite; }
.urgent .day-ring span { color: var(--red); opacity: 0.5; }
@keyframes ringpulse { 50% { box-shadow: 0 0 0 14px rgba(224, 102, 76, 0.06); } }

.hud { position: relative; z-index: 3; padding: 14px 14px 0; }
.hud-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; }
.hud-k { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--txt-faint); margin-bottom: 6px; }
.hud-notices .dots { display: flex; gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--txt-faint); transition: background 0.3s, border-color 0.3s, transform 0.3s; }
.dots i.on { background: var(--red); border-color: var(--red); transform: scale(1.12); box-shadow: 0 0 14px rgba(224, 102, 76, 0.7); }
.hud-round { font-family: var(--serif); font-style: italic; font-size: 20px; text-align: center; white-space: nowrap; }
.hud-credit { text-align: right; }
.hud-v { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--gold-l); display: inline-block; }
.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); color: #fff; } }

.timeline { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--mono); font-size: 10.5px; color: var(--txt-dim); }
.tl-track { flex: 1; height: 2px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.tl-track span { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--sage), var(--gold), var(--red)); }
.col-heads { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.col-heads div { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--txt); text-align: center; }

.board { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 12px; min-height: 0; }
.col {
  position: relative; overflow: hidden; touch-action: manipulation;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22px, #000 calc(100% - 10px), transparent);
          mask-image: linear-gradient(180deg, transparent 0, #000 22px, #000 calc(100% - 10px), transparent);
}

/* cards */
.card {
  position: absolute; left: 0; right: 0; top: 0; padding: 10px 12px 10px; border-radius: 10px; cursor: pointer;
  background: var(--paper); color: var(--ink); user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 26px -12px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.2s, outline-color 0.2s, opacity 0.35s, filter 0.35s, background 0.3s;
  outline: 2px solid transparent; outline-offset: 2px; will-change: transform;
}
#colR .card { background: #e8eee6; }
#colR .card::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--green); }
#colL .card::before { content: ''; position: absolute; right: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px 0 0 3px; background: var(--gold); }
.card:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 16px 32px -12px rgba(0, 0, 0, 0.8); }
.card.sel { outline-color: var(--gold-l); box-shadow: 0 0 0 6px rgba(226, 196, 143, 0.25), 0 18px 34px -10px rgba(0, 0, 0, 0.8); }
.card.ai { outline-color: #b8d4ff; box-shadow: 0 0 0 6px rgba(160, 200, 255, 0.3), 0 0 30px rgba(160, 200, 255, 0.5); }
.c-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.c-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; padding: 2px 6px; border-radius: 4px; background: var(--green); color: var(--paper); }
.c-tag.tds { background: var(--gold); color: var(--ink); }
.c-src { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(19, 32, 27, 0.5); }
.c-party { font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-meta { font-family: var(--mono); font-size: 10px; color: rgba(19, 32, 27, 0.62); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-amt { font-family: var(--serif); font-size: 24px; line-height: 1.05; margin-top: 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.c-amt small { font-family: var(--sans); font-size: 9.5px; color: rgba(19, 32, 27, 0.5); white-space: nowrap; }
.c-stamp {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg) scale(1.6); opacity: 0;
  padding: 4px 10px; border: 2px solid currentColor; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; white-space: nowrap; transition: transform 0.28s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s; pointer-events: none;
  background: rgba(251, 247, 240, 0.85);
}
.card.matched, .card.flagged, .card.noticed { cursor: default; }
.card.matched .c-stamp, .card.flagged .c-stamp, .card.noticed .c-stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
.card.matched { background: #dfeadb !important; }
.card.matched .c-stamp { color: var(--green); }
.card.flagged { background: #f3e6cc !important; }
.card.flagged .c-stamp { color: #9a6f25; }
.card.noticed { background: #f6d8cf !important; }
.card.noticed .c-stamp { color: #b23b22; }
.card.gone { opacity: 0; filter: blur(6px); }
.shake { animation: shake 0.42s; }
.card.shake { outline-color: var(--red); }
@keyframes shake { 20% { translate: -7px 0; } 40% { translate: 6px 0; } 60% { translate: -4px 0; } 80% { translate: 2px 0; } }

/* controls */
.controls { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 12px 12px 4px; }
.ctl {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 12px; font-size: 15px; font-weight: 500;
  border: 1px solid var(--line); background: rgba(19, 32, 27, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s, transform 0.15s, color 0.25s;
}
.ctl:active { transform: scale(0.97); }
.ctl-flag.armed { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.ctl-ai { color: #cfe0ff; }
.ctl-ai:disabled { opacity: 0.35; cursor: not-allowed; }
.ai-count { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 5px; background: rgba(207, 224, 255, 0.16); }
.streak { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-l); min-width: 70px; text-align: center; opacity: 0; transition: opacity 0.3s; }
.streak.on { opacity: 1; }

.toast {
  position: absolute; left: 50%; bottom: 84px; z-index: 6; transform: translate(-50%, 10px); max-width: min(92%, 520px); width: max-content;
  padding: 10px 16px; border-radius: 10px; font-size: 13.5px; text-align: center; line-height: 1.35;
  background: rgba(19, 32, 27, 0.92); border: 1px solid var(--line); opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.3s var(--ease); backdrop-filter: blur(6px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.good { border-color: rgba(143, 165, 140, 0.8); color: #d8ecd3; }
.toast.flag { border-color: var(--gold); color: var(--gold-l); }
.toast.bad { border-color: var(--red); color: #ffd6cc; background: rgba(60, 20, 14, 0.94); }
.toast.ai { border-color: #9fc2ff; color: #d9e7ff; }

.flash { position: absolute; inset: -20px; z-index: 1; pointer-events: none; opacity: 0; }
.flash.good { animation: fl 0.5s; background: radial-gradient(ellipse at 50% 60%, rgba(143, 165, 140, 0.18), transparent 60%); }
.flash.bad { animation: fl 0.7s; box-shadow: inset 0 0 120px rgba(224, 102, 76, 0.55); }
@keyframes fl { 0% { opacity: 1; } 100% { opacity: 0; } }

.overlay {
  position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(19, 32, 27, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; text-align: center; padding: 20px;
}
.overlay.show { opacity: 1; visibility: visible; }
.banner-k { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-l); }
.banner-t { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 13vw, 132px); line-height: 1; margin: 10px 0; }
.banner-s { font-size: 15px; color: var(--txt-dim); }
.overlay.show .banner-t { animation: rise 0.7s var(--ease); }
@keyframes rise { from { transform: translateY(30px); opacity: 0; filter: blur(8px); } }
.count-ring { width: 170px; height: 170px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 0 0 26px rgba(243, 236, 224, 0.04); }
.count-ring span { font-family: var(--serif); font-style: italic; font-size: 110px; line-height: 1; }
.count-ring.pulse { animation: cpulse 0.75s var(--ease); }
@keyframes cpulse { from { transform: scale(1.25); opacity: 0.2; } }

/* result */
.result { margin-top: auto; }
.result .display { font-size: clamp(60px, 12vw, 150px); }
#scrResult.lost .display { color: var(--txt); }
#scrResult.lost .display em { color: var(--red); }
#scrResult.lost .kicker { color: #f0a08e; }
.res-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 0; margin-top: 34px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.res-stats div { padding: 16px 22px; border-left: 1px solid var(--line-2); }
.res-stats div:first-child { border-left: 0; }
.res-stats span { display: block; font-family: var(--serif); font-size: 38px; line-height: 1; }
.res-stats small { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--txt-faint); }
.res-actions { margin: auto 0 7vh; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.res-links { display: flex; gap: 26px; }

/* ---------- PICKER ---------- */
.pick { width: 100%; max-width: 1040px; margin: auto 0; }
.pick-h { margin: 0 0 34px; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -0.015em; }
.pick-h em { color: var(--gold-l); }
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.pick-card {
  display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; border-radius: 18px; min-width: 0;
  border: 1px solid var(--line); background: rgba(19, 32, 27, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s;
}
.pick-card:hover, .pick-card:focus-visible { background: var(--paper); color: var(--ink); transform: translateY(-4px); border-color: var(--paper); outline: none; }
.pick-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pick-tags i { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; background: var(--green); color: var(--paper); }
.pick-tags i + i { background: var(--gold); color: var(--ink); }
.pick-card[data-pick='regime'] .pick-tags i, .pick-card[data-pick='scrutiny'] .pick-tags i { background: var(--gold); color: var(--ink); }
.pick-tags b { margin-left: auto; font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--txt-faint); }
.pick-card:hover .pick-tags b { color: rgba(19, 32, 27, 0.5); }
.pick-name { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); line-height: 1; }
.pick-name em { color: var(--gold-l); }
.pick-card:hover .pick-name em { color: var(--green); }
.pick-desc { font-size: 14px; color: var(--txt-dim); line-height: 1.5; }
.pick-card:hover .pick-desc { color: rgba(19, 32, 27, 0.7); }
.pick-go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; transition: gap 0.3s; }
.pick-card:hover .pick-go { gap: 14px; }

/* ---------- OLD OR NEW ---------- */
.rg-side { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-style: italic; font-size: clamp(90px, 15vw, 190px); line-height: 1; opacity: 0.1; pointer-events: none; z-index: 0; }
.rg-side-old { left: 2%; }
.rg-side-new { right: 2%; }
.rg-stage { position: relative; z-index: 2; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 12px 0; }
.rg-deck { position: relative; width: min(430px, 100%); display: grid; }
.pcard {
  grid-area: 1 / 1; position: relative; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 18px 20px 14px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease); --old: 0; --new: 0;
}
.pcard.drag { transition: none; cursor: grabbing; }
.pcard.enter { transform: translateY(40px) scale(0.92); opacity: 0; }
.pcard.fly-old { transform: translate(-130%, -20px) rotate(-16deg); opacity: 0; }
.pcard.fly-new { transform: translate(130%, -20px) rotate(16deg); opacity: 0; }
.pc-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(19, 32, 27, 0.12); }
.pc-av { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--paper); display: grid; place-items: center; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.pc-who { min-width: 0; }
.pc-name { font-family: var(--serif); font-size: 26px; line-height: 1.05; }
.pc-sub { font-size: 12px; color: rgba(19, 32, 27, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-sub span { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; background: rgba(19, 32, 27, 0.08); }
.pc-no { font-family: var(--mono); font-size: 11px; color: rgba(19, 32, 27, 0.45); align-self: start; }
.pc-rows { margin: 4px 0 0; }
.pc-r { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(19, 32, 27, 0.12); }
.pc-r:last-child { border-bottom: 0; }
.pc-r dt { font-size: 13px; color: rgba(19, 32, 27, 0.7); }
.pc-r dd { margin: 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-r dd small { font-weight: 400; font-size: 11px; color: rgba(19, 32, 27, 0.5); margin-left: 2px; }
.pc-r.nil dd { color: rgba(19, 32, 27, 0.3); font-weight: 400; }
.pc-ai { margin-top: 8px; padding: 8px 10px; border-radius: 9px; background: #e3ecfb; color: #23406f; font-size: 12.5px; }
.pc-lbl { position: absolute; top: 18px; font-size: 20px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 12px; border: 3px solid currentColor; border-radius: 8px; pointer-events: none; }
.pc-lbl-old { left: 16px; color: #9a6f25; transform: rotate(-10deg); opacity: var(--old); }
.pc-lbl-new { right: 16px; color: var(--green); transform: rotate(10deg); opacity: var(--new); }
.pc-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg) scale(1.5); opacity: 0; padding: 6px 14px; border: 3px solid currentColor; border-radius: 8px; font-size: 18px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; background: rgba(251, 247, 240, 0.9); transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s; pointer-events: none; }
.pcard.right .pc-stamp, .pcard.wrong .pc-stamp { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
.pcard.right .pc-stamp { color: var(--green); }
.pcard.wrong .pc-stamp { color: #b23b22; }
.rg-verdict { min-height: 54px; margin-top: 14px; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity 0.25s, transform 0.3s var(--ease); }
.rg-verdict.show { opacity: 1; transform: none; }
.rg-verdict span { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.rg-verdict .v-ok { color: #cfe6c9; }
.rg-verdict .v-bad { color: #ffb8a6; }
.rg-verdict small { font-family: var(--mono); font-size: 11.5px; color: var(--txt-dim); }
.rg-controls .ctl-old, .rg-controls .ctl-new { font-size: 15px; }
.ctl-old:hover { border-color: var(--gold); color: var(--gold-l); }
.ctl-new:hover { border-color: var(--sage); color: #d8ecd3; }
.rg-controls .ctl-ai { padding: 0 16px; }
.rg-streak { position: absolute; right: 16px; bottom: 76px; z-index: 3; }

/* ---------- THE SCRUTINY ---------- */
.sc-case { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: rgba(243, 236, 224, 0.07); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--txt-dim); }
.sc-case b { color: var(--txt); font-weight: 600; }
.sc-count b { color: var(--gold-l); font-family: var(--mono); }
.sc-board { position: relative; z-index: 2; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 12px 12px 0; overflow-y: auto; }
.sc-col { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sc-h { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.sc-h small { letter-spacing: 0.04em; text-transform: none; font-size: 11px; color: var(--txt-faint); }
.sc-list { display: flex; flex-direction: column; gap: 6px; }
.sc-row {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; text-align: left;
  padding: 9px 12px; border-radius: 10px; background: var(--paper); color: var(--ink);
  box-shadow: 0 10px 20px -14px rgba(0, 0, 0, 0.8); outline: 2px solid transparent; outline-offset: 2px;
  transition: outline-color 0.2s, background 0.3s, transform 0.15s;
}
#scItr .sc-row:hover, #scItr .sc-row:focus-visible { outline-color: var(--gold-l); }
#scItr .sc-row:active { transform: scale(0.985); }
.sc-col-ais .sc-row { background: #e8eee6; cursor: default; }
.sc-l { font-size: 13.5px; font-weight: 600; line-height: 1.2; min-width: 0; }
.sc-l small { display: block; font-weight: 400; font-size: 11px; color: rgba(19, 32, 27, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-a { font-family: var(--serif); font-size: 21px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-row.found { background: #f3e6cc !important; }
.sc-row.found::after { content: 'Caught'; position: absolute; right: 8px; top: -8px; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: var(--gold); color: var(--ink); }
.sc-row.miss { outline-color: var(--red) !important; background: #f6d8cf; }
.sc-row.ai { outline-color: #b8d4ff; box-shadow: 0 0 0 6px rgba(160, 200, 255, 0.3); }
.sc-hint { font-size: 12px; color: var(--txt-faint); }
.sc-controls .ctl-ai { justify-self: end; padding: 0 18px; }

/* =========================================================
   SITE
   ========================================================= */
.site { position: relative; }
.reveal { opacity: 0; transform: translateY(42px); filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500; display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 48px); transition: background 0.4s, padding 0.4s, border-color 0.4s; border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(19, 32, 27, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; border-color: var(--line-2); }
.nav-brand { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.42em; }
.nav-brand img { width: 52px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--txt-dim); }
.nav-links a:hover { color: var(--txt); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.solid-btn, .ghost-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 500;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, gap 0.3s;
}
.solid-btn { background: var(--cream); color: var(--ink); }
.solid-btn:hover { background: #fff; transform: translateY(-2px); }
.ghost-btn { border: 1px solid var(--line); color: var(--txt); }
.ghost-btn:hover { border-color: var(--txt-dim); gap: 12px; }
.solid-btn.lg, .ghost-btn.lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 12px; }

.hero { position: relative; padding: 170px clamp(16px, 5vw, 64px) 0; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(63, 97, 82, 0.55), transparent 70%), var(--ink); }
.hero-bg {
  position: absolute; left: 0; right: 0; top: 0; height: min(112vh, 1040px); z-index: 0; pointer-events: none; will-change: transform;
  background:
    linear-gradient(180deg, rgba(19, 32, 27, 0.72) 0%, rgba(19, 32, 27, 0.38) 34%, rgba(19, 32, 27, 0.55) 62%, var(--ink) 100%),
    radial-gradient(ellipse 58% 46% at 50% 44%, rgba(19, 32, 27, 0.7), rgba(19, 32, 27, 0) 72%),
    url('../assets/hero-photo.jpg') 68% 40% / cover no-repeat;
}
.hero > *:not(.hero-bg) { position: relative; z-index: 1; }
.hero-p { text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55); color: rgba(243, 236, 224, 0.82) !important; }
.hero-h { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero-h { margin: 0 auto; max-width: 1100px; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8.4vw, 124px); line-height: 0.95; letter-spacing: -0.02em; }
.hero-h em { color: var(--gold-l); }
.hero-p { max-width: 620px; margin: 28px auto 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--txt-dim); font-weight: 300; }
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-dash { margin: 80px auto 0; max-width: 1180px; perspective: 1600px; --tilt: 14deg; }
.dash-host { transform: rotateX(var(--tilt)); transform-origin: 50% 100%; transition: transform 0.2s linear; }
.hero-dash::after { content: ''; display: block; height: 1px; }

/* dashboard mock */
.dash { border-radius: 16px 16px 0 0; overflow: hidden; background: #f7f3ec; color: var(--ink); text-align: left; box-shadow: 0 -30px 120px -20px rgba(143, 165, 140, 0.35), 0 0 0 1px rgba(243, 236, 224, 0.2); font-size: 13px; }
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #ece5d9; border-bottom: 1px solid #ddd3c2; }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4c9b6; }
.dash-bar span { margin-left: 10px; font-weight: 600; font-size: 12px; }
.dash-bar em { margin-left: auto; font-style: normal; font-size: 11px; color: #7b7466; }
.dash-body { display: grid; grid-template-columns: 210px 1fr; min-height: 560px; }
.dash-side { background: var(--ink-2); color: var(--txt-dim); padding: 18px 14px; display: flex; flex-direction: column; gap: 3px; }
.ds-brand img { width: 64px; margin: 0 0 14px 4px; }
.ds-grp { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--txt-faint); margin: 12px 8px 6px; }
.ds-i { padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.ds-i.on { background: rgba(243, 236, 224, 0.1); color: var(--txt); }
.ds-user { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px; border-top: 1px solid var(--line-2); }
.ds-user b { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 12px; }
.ds-user span { color: var(--txt); font-size: 13px; line-height: 1.2; }
.ds-user small { display: block; color: var(--txt-faint); font-size: 11px; }
.dash-main { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.dm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.dm-head h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; }
.dm-head p { margin: 2px 0 0; color: #7b7466; font-size: 13px; }
.dm-chips { display: flex; gap: 6px; }
.dm-chips span { padding: 6px 10px; border-radius: 8px; border: 1px solid #ddd3c2; font-size: 12px; }
.dm-chips span:first-child { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.dm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { background: #fff; border: 1px solid #e6dece; border-radius: 12px; padding: 14px; }
.tile small { display: block; font-size: 11px; color: #7b7466; letter-spacing: 0.04em; }
.tile b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.tile span { font-size: 11px; color: #7b7466; }
.tile .ok { color: var(--green); } .tile .warn { color: #b0702a; }
.dm-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.panel { background: #fff; border: 1px solid #e6dece; border-radius: 12px; padding: 14px; }
.p-h { font-weight: 600; font-size: 13px; display: flex; justify-content: space-between; margin-bottom: 10px; }
.p-h span { font-weight: 400; color: #7b7466; font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--sage), var(--green)); }
.bars i:nth-child(3n) { background: linear-gradient(180deg, var(--gold-l), var(--gold)); }
.fi { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid #f0eadf; font-size: 12.5px; }
.fi:last-child { border: 0; }
.fi i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.fi .g { background: var(--green); } .fi .y { background: var(--gold); } .fi .r { background: var(--red); } .fi .b { background: #6d8fd6; }
.fi small { margin-left: auto; color: #9a9384; }
.tr { display: grid; grid-template-columns: 1.1fr 1.1fr 0.8fr 0.9fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0eadf; font-size: 12.5px; }
.tr:last-child { border: 0; }
.th { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #9a9384; }
.st { font-weight: 600; } .st.ok { color: var(--green); } .st.warn { color: #b0702a; }

/* your result */
.yours { background: var(--cream); color: var(--ink); padding: 90px clamp(16px, 5vw, 64px); position: relative; z-index: 2; }
.yours-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: end; }
.sec-h { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.015em; }
.sec-h em { color: var(--gold-l); }
.sec-h.dark { color: var(--ink); }
.sec-h.dark em { color: var(--green); }
.sec-p { margin: 20px 0 0; font-size: 18px; color: var(--txt-dim); max-width: 520px; font-weight: 300; }
.yours-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(19, 32, 27, 0.15); border-bottom: 1px solid rgba(19, 32, 27, 0.15); margin-bottom: 18px; }
.yours-stats div { padding: 14px 10px; border-left: 1px solid rgba(19, 32, 27, 0.15); }
.yours-stats div:first-child { border-left: 0; padding-left: 0; }
.yours-stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.yours-stats span { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(19, 32, 27, 0.55); }
.yours-r p { margin: 0; color: rgba(19, 32, 27, 0.72); font-size: 16px; }

/* platform */
.platform { background: var(--cream); color: var(--ink); padding: 60px clamp(16px, 5vw, 64px) 130px; }
.sec-head { max-width: 1180px; margin: 0 auto 56px; }
.caps { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cap { background: var(--paper); border-radius: 22px; overflow: hidden; border: 1px solid rgba(19, 32, 27, 0.08); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.cap:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(19, 32, 27, 0.4); }
.cap:nth-child(2), .cap:nth-child(4) { transition-delay: 0.08s; }
.cap-art { height: auto; aspect-ratio: 1600 / 1005; max-width: 100%; position: relative; overflow: hidden; background-color: var(--ink); }
.cap-art::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(243, 236, 224, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 236, 224, 0.08) 1px, transparent 1px); background-size: 26px 26px; }
.cap-art::after { content: ''; position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.cap:hover .cap-art::after { transform: scale(1.15) rotate(4deg); }
.art-1::after { background: radial-gradient(circle at 80% 10%, rgba(143, 165, 140, 0.95), transparent 55%), radial-gradient(circle at 10% 100%, rgba(63, 97, 82, 0.9), transparent 60%); }
.art-2::after { background: radial-gradient(circle at 15% 15%, rgba(201, 166, 107, 0.9), transparent 55%), radial-gradient(circle at 90% 90%, rgba(63, 97, 82, 0.9), transparent 60%); }
.art-3::after { background: radial-gradient(circle at 85% 85%, rgba(224, 102, 76, 0.75), transparent 55%), radial-gradient(circle at 10% 10%, rgba(201, 166, 107, 0.7), transparent 60%); }
.art-4::after { background: radial-gradient(circle at 15% 85%, rgba(226, 196, 143, 0.85), transparent 55%), radial-gradient(circle at 90% 10%, rgba(143, 165, 140, 0.8), transparent 60%); }
.cap-art::after { z-index: 0; }
.cap-art::before { z-index: 2; background: linear-gradient(to top, rgba(19, 32, 27, 0.78), rgba(19, 32, 27, 0) 42%) !important; background-size: auto !important; pointer-events: none; }
.cap-shot {
  position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: top left; display: block;
  transition: transform 1.2s var(--ease); transform-origin: 30% 20%;
}
.cap:hover .cap-shot { transform: scale(1.035); }
.cap-n { position: absolute; left: 26px; bottom: 16px; z-index: 3; font-size: 64px !important; font-family: var(--serif); font-style: italic; font-size: 72px; line-height: 1; color: var(--cream); }
.cap-body { padding: 26px 28px 32px; }
.cap-body h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.cap-body p { margin: 0; color: rgba(19, 32, 27, 0.7); font-size: 16px; }

/* flow */
.flow { padding: 130px clamp(16px, 5vw, 64px); background: var(--ink); position: relative; overflow: hidden; }
.flow::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(63, 97, 82, 0.45), transparent 70%); }
.flow > * { position: relative; }
.steps { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; padding-top: 70px; }
.steps-line { position: absolute; left: 0; right: 0; top: 104px; height: 1px; background: var(--line-2); }
.steps-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--sage), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(201, 166, 107, 0.6); }
.step-n { font-family: var(--mono); font-size: 12px; color: var(--txt-faint); margin-bottom: 16px; }
.step-dot { display: block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink); position: relative; transition: background 0.5s, border-color 0.5s, box-shadow 0.5s; }
.step.lit .step-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(201, 166, 107, 0.18); }
.step h3 { margin: 26px 0 8px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.05; }
.step p { margin: 0; color: var(--txt-dim); font-size: 16px; font-weight: 300; }

/* taxation */
.tax { background: var(--cream); color: var(--ink); padding: 130px clamp(16px, 5vw, 64px); }
.war { max-width: 1180px; margin: 0 auto 26px; background: var(--ink); color: var(--txt); border-radius: 22px; padding: 26px 28px; }
.war-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.war-h span { font-family: var(--serif); font-size: 28px; }
.war-h small { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--txt-faint); }
.war-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.wd { border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; }
.wd b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 46px; line-height: 1; }
.wd span { font-size: 13px; color: var(--txt-dim); }
.wd small { display: block; font-size: 11px; color: var(--txt-faint); }
.wd.hot { border-color: var(--gold); background: rgba(201, 166, 107, 0.12); }
.wd.hot b { color: var(--gold-l); }
.tax-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tax-col { background: var(--paper); border-radius: 22px; padding: 28px; border: 1px solid rgba(19, 32, 27, 0.08); }
.tax-col:nth-child(2) { transition-delay: 0.08s; } .tax-col:nth-child(3) { transition-delay: 0.16s; }
.tax-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--green); color: var(--paper); }
.tax-col:nth-child(2) .tax-tag { background: var(--gold); color: var(--ink); }
.tax-col:nth-child(3) .tax-tag { background: var(--ink); color: var(--cream); }
.tax-col h3 { margin: 16px 0 14px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.tax-col ul { list-style: none; margin: 0; padding: 0; }
.tax-col li { padding: 10px 0 10px 22px; border-top: 1px solid rgba(19, 32, 27, 0.1); position: relative; font-size: 15px; color: rgba(19, 32, 27, 0.8); }
.tax-col li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--green); }

/* auditron */
.auditron { padding: 130px clamp(16px, 5vw, 64px); background: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1308px; margin: 0 auto; }
.aud-chat { background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.chat-top { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.08em; color: var(--txt-dim); padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 10px var(--sage); }
.msg { max-width: 86%; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.msg.me { align-self: flex-end; background: var(--cream); color: var(--ink); border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--ink-3); border-bottom-left-radius: 4px; }
.msg.ai b { color: var(--gold-l); font-weight: 600; }
.chat-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.chat-actions span { font-size: 12px; padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); color: var(--txt-dim); }
.typing { display: flex; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--txt-dim); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 30% { transform: translateY(-4px); opacity: 0.4; } }
.chat-note { margin: 0; font-size: 11px; color: var(--txt-faint); text-align: right; }

/* cta */
.cta { position: relative; overflow: hidden; text-align: center; padding: 170px clamp(16px, 5vw, 64px) 40px; background: var(--ink); border-top: 1px solid var(--line-2); }
.cta-glow { position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.28), rgba(63, 97, 82, 0.25) 40%, transparent 68%); animation: glow 8s ease-in-out infinite; }
@keyframes glow { 50% { transform: translate(-50%, -50%) scale(1.12); } }
.cta > * { position: relative; }
.cta-mark { width: 180px; margin: 0 auto 26px; }
.cta-h { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 11vw, 160px); line-height: 0.95; letter-spacing: -0.02em; }
.cta-h em { color: var(--gold-l); }
.cta-p { max-width: 560px; margin: 26px auto 0; font-size: clamp(17px, 1.8vw, 22px); color: var(--txt-dim); font-weight: 300; }
.foot { margin-top: 140px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--txt-faint); }
.foot p { margin: 0; }
.foot div { display: flex; gap: 22px; }
.foot a:hover { color: var(--txt); }

/* jelly headlines */
.hero-h, .sec-h, .cta-h, .cap-body h3, .step h3, .tax-col h3, .war-h span, .wd b, .yours-stats b, .dm-head h4, .tile b { position: relative; }
.war-h span { display: inline-block; }
.jelly-live { transition-property: opacity, filter, box-shadow, background, border-color !important; will-change: transform; }
.jelly-on { -webkit-text-fill-color: transparent; }
.jelly-canvas { position: absolute; pointer-events: none; z-index: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .yours-in, .auditron { grid-template-columns: 1fr; gap: 36px; }
  .tax-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps-line { display: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}

@media (max-width: 640px) {
  .stage-top { height: 54px; }
  .court { top: 54px; bottom: 8px; }
  .game-screen { top: 54px; bottom: 8px; }
  .brand-mini img { width: 38px; }
  .brand-mini span { font-size: 10px; }
  .bg-dash { transform: translate(-50%, -50%) scale(1.3); }
  .lede { font-size: 14px; }
  .rule { grid-template-columns: 44px 1fr; gap: 10px; padding: 13px 0; }
  .rule-n { font-size: 32px; }
  .rule h3 { font-size: 23px; }
  .rule p { font-size: 13.5px; }
  .screen { padding: 64px 18px 24px; }

  .hud { padding: 10px 6px 0; }
  .hud-round { font-size: 15px; }
  .hud-v { font-size: 22px; }
  .hud-k { font-size: 9px; letter-spacing: 0.14em; margin-bottom: 4px; }
  .dots i { width: 11px; height: 11px; }
  .col-heads { gap: 10px; margin-top: 10px; }
  .col-heads div { font-size: 9.5px; letter-spacing: 0.12em; }
  .board { gap: 10px; padding: 0 4px; }
  .card { padding: 8px 9px; border-radius: 9px; }
  .c-party { font-size: 12.5px; }
  .c-meta { font-size: 8.6px; }
  .c-amt { font-size: 19px; flex-direction: column; align-items: flex-start; gap: 0; }
  .c-amt small { font-size: 8.5px; }
  .c-src, .c-tag { font-size: 8px; }
  .c-stamp { font-size: 10px; padding: 3px 7px; }
  .controls { padding: 8px 4px 2px; gap: 6px; }
  .ctl { height: 48px; font-size: 14px; }
  .streak { min-width: 52px; font-size: 16px; }
  .toast { bottom: 72px; font-size: 12.5px; }
  .day-ring { width: 120px; height: 120px; }
  .day-ring span { font-size: 70px; }
  .side-label { display: none; }

  .pick-h { font-size: 40px; margin-bottom: 18px; }
  .pick-grid { grid-template-columns: 1fr; gap: 10px; }
  .pick-card { padding: 14px 16px; gap: 6px; }
  .pick-name { font-size: 28px; }
  .pick-desc { font-size: 13px; }
  .pick-go { display: none; }
  .rg-side { font-size: 80px; opacity: 0.07; }
  .rg-stage { padding: 6px 4px 0; }
  .pcard { padding: 14px 14px 10px; }
  .pc-name { font-size: 22px; }
  .pc-av { width: 38px; height: 38px; font-size: 12px; }
  .pc-r { padding: 5px 0; }
  .pc-r dt { font-size: 12px; }
  .pc-r dd { font-size: 14px; }
  .rg-verdict { margin-top: 8px; min-height: 46px; }
  .rg-verdict span { font-size: 21px; }
  .rg-controls .ctl-old, .rg-controls .ctl-new { font-size: 13.5px; }
  .rg-controls .ai-txt { display: none; }
  .rg-controls .ctl-ai { padding: 0 12px; }
  .rg-streak { bottom: 66px; right: 8px; }
  .sc-case { font-size: 10.5px; padding: 6px 9px; margin-top: 8px; row-gap: 2px; }
  .sc-board { gap: 8px; padding: 8px 2px 0; }
  .sc-h { font-size: 9.5px; letter-spacing: 0.12em; }
  .sc-h small { font-size: 9.5px; }
  .sc-row { padding: 6px 8px; flex-direction: column; align-items: flex-start; gap: 1px; }
  .sc-list { gap: 5px; }
  .sc-l { font-size: 11.5px; }
  .sc-l small { font-size: 9.5px; }
  .sc-a { font-size: 16px; line-height: 1.1; }
  .sc-hint { font-size: 10.5px; }
  .res-links { gap: 18px; }
  .res-stats { grid-template-columns: repeat(2, auto); }
  .res-stats div:nth-child(3) { border-left: 0; }
  .res-stats div:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .res-stats span { font-size: 30px; }

  .nav-cta .ghost-btn { display: none; }
  .nav-brand img { width: 42px; }
  .nav-brand span { font-size: 11px; }
  .solid-btn { height: 38px; padding: 0 14px; font-size: 13px; }
  .hero { padding-top: 130px; }
  .hero-bg { height: 900px; background:
    linear-gradient(180deg, rgba(19, 32, 27, 0.72) 0%, rgba(19, 32, 27, 0.62) 40%, rgba(19, 32, 27, 0.78) 70%, var(--ink) 100%),
    url('../assets/hero-photo-sm.jpg') 78% 30% / cover no-repeat; }
  .hero-dash { margin-top: 56px; }
  .dash { font-size: 12px; }
  .dash-main { padding: 14px; }
  .dm-chips { display: none; }
  .dm-tiles { grid-template-columns: 1fr 1fr; }
  .dm-grid { grid-template-columns: 1fr; }
  .tr { grid-template-columns: 1fr 1fr; }
  .tr span:nth-child(2), .tr span:nth-child(4) { display: none; }
  .caps { grid-template-columns: 1fr; }
  .cap-n { font-size: 46px !important; left: 16px; }
  .steps { grid-template-columns: 1fr; }
  .war-days { grid-template-columns: repeat(2, 1fr); }
  .war-h { flex-direction: column; gap: 4px; }
  .war { padding: 22px 18px; }
  .wd.hot { grid-column: span 2; }
  .yours-stats b { font-size: 26px; }
  .foot { margin-top: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .reveal { transition-duration: 0.01s; transform: none; filter: none; }
  .cta-glow { animation: none; }
}

/* =========================================================
   LEAF SECTION — result strip + platform (light, editorial)
   ========================================================= */
.leafwrap { position: relative; background: #f6efe3 url('../assets/leaf-bg.jpg') center top / cover no-repeat; }
.leafwrap::after { content: ''; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(to bottom, rgba(246, 239, 227, 0), #f3ece0); pointer-events: none; }
.leafwrap > section { background: transparent !important; position: relative; z-index: 1; }
.leafwrap .yours { padding: 120px clamp(16px, 5vw, 64px) 40px; }
.leafwrap .yours-in { grid-template-columns: 1fr auto 1.05fr; gap: 0 48px; align-items: center; }
.leafwrap .yours-in::before { content: ''; grid-column: 2; grid-row: 1; align-self: stretch; width: 1px; background: rgba(19, 32, 27, 0.18); }
.leafwrap .yours-l { grid-column: 1; grid-row: 1; }
.leafwrap .yours-r { grid-column: 3; grid-row: 1; }
.yours-h { font-size: clamp(52px, 7.4vw, 104px) !important; line-height: 0.92 !important; }
.yours-h em { display: block; }
.leafwrap .yours-stats { border-top: 0; border-bottom: 1px solid rgba(19, 32, 27, 0.15); margin-bottom: 22px; }
.leafwrap .yours-stats div { padding: 4px 16px 18px; border-left: 1px solid rgba(19, 32, 27, 0.15); }
.leafwrap .yours-stats div:first-child { padding-left: 0; border-left: 0; }
.leafwrap .yours-stats b { font-size: clamp(36px, 3.6vw, 52px); margin-bottom: 6px; }
.leafwrap .yours-stats span { font-family: var(--serif); font-size: 16px; letter-spacing: 0; text-transform: none; color: rgba(19, 32, 27, 0.68); }
.leafwrap .yours-r p { font-size: 16px; line-height: 1.6; max-width: 470px; }

.leafwrap .platform { padding: 50px clamp(16px, 5vw, 64px) 130px; }
.plat-head { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.plat-head .sec-h { max-width: 820px; }
.plat-head .sec-h em { display: block; }
.plat-note { width: 300px; padding: 6px 0 8px 32px; border-left: 1px solid rgba(19, 32, 27, 0.18); }
.plat-note .kicker { margin-bottom: 14px; }
.plat-note .kicker::after { content: ''; display: block; width: 70px; height: 1px; margin-top: 14px; background: rgba(19, 32, 27, 0.3); }
.plat-note p:last-child { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(19, 32, 27, 0.68); }

.leafwrap .caps { max-width: 1280px; gap: 18px; }
.leafwrap .cap {
  display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.5fr); gap: 22px; padding: 22px; align-items: stretch;
  background: rgba(251, 247, 240, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(19, 32, 27, 0.07); border-radius: 22px; box-shadow: 0 20px 50px -34px rgba(19, 32, 27, 0.45);
}
.cap-text { display: flex; flex-direction: column; padding: 6px 4px 6px 8px; min-width: 0; }
.cap-text .cap-n {
  position: static !important; font-family: var(--serif); font-style: italic; font-size: 58px !important; line-height: 1;
  color: rgba(19, 32, 27, 0.42); padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(19, 32, 27, 0.18); align-self: flex-start;
}
.cap-text h3 { position: relative; margin: 0 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.05; text-wrap: balance; }
.cap-text p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(19, 32, 27, 0.68); }
.leafwrap .cap-art {
  aspect-ratio: 16 / 11; height: auto; border-radius: 14px; background: #fff;
  box-shadow: 0 18px 40px -22px rgba(19, 32, 27, 0.55), 0 0 0 1px rgba(19, 32, 27, 0.08);
}
.leafwrap .cap-art::before, .leafwrap .cap-art::after { display: none; }
.leafwrap .cap-shot { object-fit: cover; object-position: top left; }

@media (max-width: 1100px) {
  .leafwrap .cap { grid-template-columns: 1fr; }
  .cap-text .cap-n { font-size: 46px !important; }
}
@media (max-width: 960px) {
  .leafwrap .yours-in { grid-template-columns: 1fr; gap: 32px; }
  .leafwrap .yours-in::before { display: none; }
  .leafwrap .yours-l, .leafwrap .yours-r { grid-column: 1; grid-row: auto; }
  .plat-head { grid-template-columns: 1fr; gap: 24px; }
  .plat-note { width: auto; }
}
@media (max-width: 640px) {
  .leafwrap { background-position: 20% top; }
  .leafwrap .yours { padding-top: 80px; }
  .leafwrap .yours-stats div { padding: 4px 8px 14px; }
  .leafwrap .yours-stats span { font-size: 13px; }
  .leafwrap .cap { padding: 16px; gap: 16px; }
}
.site { overflow-x: clip; }

/* =========================================================
   PICKER (9 games) + SIX MORE GAMES
   ========================================================= */
#scrPick { justify-content: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-top: 84px; padding-bottom: 28px; }
#scrPick .pick { margin: auto 0; max-width: 1120px; }
#scrPick .pick-h { margin-bottom: 22px; font-size: clamp(40px, 5.6vw, 72px); }
.pick-grid { gap: 12px; }
.pick-card { padding: 16px 18px 15px; gap: 8px; }
.pick-name { font-size: clamp(24px, 2.4vw, 32px); }
.pick-desc { font-size: 13px; }
.pick-go { padding-top: 2px; font-size: 13px; }
.pick-tags i { background: var(--gold); color: var(--ink); }
.pick-tags i.t-gst, .pick-card .pick-tags i:first-child { background: var(--green); color: var(--paper); }

.g6-body { position: relative; z-index: 2; flex: 1; min-height: 0; padding: 12px 12px 0; display: flex; flex-direction: column; }
.g6-controls { grid-template-columns: 1fr; justify-items: center; }
.g6-streak { position: absolute; right: 16px; bottom: 80px; z-index: 3; }
.ctl kbd { font-family: var(--mono); font-size: 9px; opacity: 0.5; margin-left: 2px; }

/* Section Sniper */
.sn-field { position: relative; flex: 1; min-height: 0; overflow: hidden; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  background: repeating-linear-gradient(180deg, transparent 0 calc(33.33% - 1px), var(--line-2) calc(33.33% - 1px) 33.33%); }
.sn-card { position: absolute; left: 0; width: min(260px, 62%); height: calc(33.3% - 12px); max-height: 120px; padding: 10px 14px; border-radius: 12px; background: var(--paper); color: var(--ink);
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.8); display: flex; flex-direction: column; justify-content: center; gap: 2px; transition: opacity 0.4s, filter 0.4s, box-shadow 0.2s; will-change: transform; outline: 2px solid transparent; outline-offset: 2px; }
.sn-card.target { outline-color: var(--gold-l); box-shadow: 0 0 0 6px rgba(226, 196, 143, 0.22), 0 14px 28px -14px rgba(0, 0, 0, 0.8); }
.sn-t { font-weight: 600; font-size: 14px; line-height: 1.2; }
.sn-p { font-size: 11.5px; color: rgba(19, 32, 27, 0.6); }
.sn-a { font-family: var(--serif); font-size: 24px; line-height: 1.05; }
.sn-a small { font-family: var(--sans); font-size: 11px; color: rgba(19, 32, 27, 0.55); margin-left: 3px; }
.sn-stamp { position: absolute; right: 10px; top: 50%; transform: translateY(-50%) rotate(-8deg) scale(1.4); opacity: 0; padding: 3px 8px; border: 2px solid currentColor; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(251, 247, 240, 0.9); transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s; }
.sn-card.hit .sn-stamp, .sn-card.miss .sn-stamp { opacity: 1; transform: translateY(-50%) rotate(-8deg) scale(1); }
.sn-card.hit { background: #dfeadb; } .sn-card.hit .sn-stamp { color: var(--green); }
.sn-card.miss { background: #f6d8cf; } .sn-card.miss .sn-stamp { color: #b23b22; }
.sn-btns { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: 100%; }
.sn-btn { flex-direction: column; gap: 0; height: 58px; line-height: 1.1; }
.sn-btn b { font-size: 16px; font-weight: 600; }
.sn-btn small { font-size: 10.5px; color: var(--txt-dim); }
.sn-btn:hover { border-color: var(--gold); }

/* Due Date Memory */
.mm-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 10px; max-width: 760px; width: 100%; margin: 0 auto; padding-bottom: 6px; }
.mm-card { perspective: 900px; min-height: 0; padding: 0; }
.mm-in { position: relative; display: block; width: 100%; height: 100%; transition: transform 0.45s var(--ease); transform-style: preserve-3d; }
.mm-card.up .mm-in { transform: rotateY(180deg); }
.mm-back, .mm-front { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6px; text-align: center; }
.mm-back { background: rgba(243, 236, 224, 0.06); border: 1px solid var(--line); }
.mm-back img { width: 44%; max-width: 70px; opacity: 0.55; }
.mm-card:hover .mm-back { border-color: var(--gold); }
.mm-front { transform: rotateY(180deg); background: var(--paper); color: var(--ink); }
.mm-front b { font-family: var(--serif); font-weight: 400; font-size: clamp(17px, 2.2vw, 26px); line-height: 1.05; }
.mm-front small { font-size: 10.5px; color: rgba(19, 32, 27, 0.6); margin-top: 3px; }
.mm-date .mm-front { background: #e8eee6; }
.mm-date .mm-front b { font-style: italic; color: var(--green-d); }
.mm-card.done .mm-front { box-shadow: 0 0 0 2px var(--sage) inset; }
.mm-card.done { opacity: 0.85; }

/* Notice Defuser */
.nd-wrap { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; align-items: start; overflow-y: auto; }
.nd-notice { position: relative; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 18px 18px 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8); border-top: 5px solid var(--red); }
.nd-notice.in { animation: rise 0.6s var(--ease); }
.nd-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(19, 32, 27, 0.55); }
.nd-form { font-weight: 700; color: #b23b22; }
.nd-text { margin: 12px 0 14px; font-family: var(--serif); font-size: clamp(20px, 2.3vw, 26px); line-height: 1.2; }
.nd-fuse { height: 6px; border-radius: 6px; background: rgba(19, 32, 27, 0.1); overflow: hidden; }
.nd-fuse span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transform-origin: 0 50%; }
.nd-att { margin-top: 10px; font-size: 13px; color: rgba(19, 32, 27, 0.65); }
.nd-att b { color: var(--green); }
.nd-stamp { position: absolute; right: 16px; top: 40%; transform: rotate(-10deg) scale(1.5); opacity: 0; padding: 6px 14px; border: 3px solid var(--green); color: var(--green); border-radius: 8px; font-size: 22px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(251, 247, 240, 0.9); transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s; }
.nd-notice.defused .nd-stamp { opacity: 1; transform: rotate(-10deg) scale(1); }
.nd-vh { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--txt-dim); margin-bottom: 8px; }
.nd-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nd-doc { display: flex; align-items: center; gap: 8px; text-align: left; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(19, 32, 27, 0.55); font-size: 13.5px; line-height: 1.2; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.nd-doc i { flex: none; width: 14px; height: 17px; border: 1.5px solid currentColor; border-radius: 2px; opacity: 0.6; }
.nd-doc:hover { border-color: var(--gold); }
.nd-doc.ok { background: var(--paper); color: var(--green-d); border-color: var(--paper); }
.nd-doc.ok i { background: var(--sage); border-color: var(--sage); opacity: 1; }
.nd-doc.no { border-color: var(--red); color: #ffb8a6; opacity: 0.6; }

/* HSN Hunter */
.hh-product { text-align: center; padding: 4px 0 10px; }
.hh-product span { display: block; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--txt-faint); }
.hh-product b { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; color: var(--gold-l); }
.hh-product.in b { animation: rise 0.5s var(--ease); display: inline-block; }
.hh-field { position: relative; flex: 1; min-height: 0; overflow: hidden; border-bottom: 2px solid rgba(224, 102, 76, 0.5);
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--line-2) calc(25% - 1px) 25%); }
.hh-block { position: absolute; top: 0; width: calc(25% - 12px); padding: 10px 6px; border-radius: 12px; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 0; box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.8); will-change: transform; transition: opacity 0.3s, background 0.2s; touch-action: manipulation; }
.hh-block small { font-size: 9px; letter-spacing: 0.16em; color: rgba(19, 32, 27, 0.5); }
.hh-block b { font-family: var(--mono); font-weight: 500; font-size: clamp(15px, 2vw, 20px); }
.hh-block span { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1; color: var(--green-d); }
.hh-block:hover { box-shadow: 0 0 0 3px var(--gold-l), 0 14px 26px -14px rgba(0, 0, 0, 0.8); }
.hh-block.hit { background: #dfeadb; box-shadow: 0 0 0 3px var(--sage); }
.hh-block.miss { background: #f6d8cf; }
.hh-block.fade:not(.miss) { opacity: 0.25; }

/* Capital Gains Dash */
.g6-gains .g6-body { justify-content: center; align-items: center; }
.cg-card { position: relative; width: min(480px, 100%); background: var(--paper); color: var(--ink); border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85); transition: transform 0.45s var(--ease), background 0.3s; touch-action: none; user-select: none; }
.cg-card.in { animation: rise 0.5s var(--ease); }
.cg-card.up { transform: translateY(-14px); }
.cg-card.down { transform: translateY(14px); }
.cg-card.ok { background: #dfeadb; } .cg-card.bad { background: #f6d8cf; }
.cg-asset b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 38px); line-height: 1.05; }
.cg-asset small { font-size: 12.5px; color: rgba(19, 32, 27, 0.6); }
.cg-dates { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0 12px; border-top: 1px solid rgba(19, 32, 27, 0.12); border-bottom: 1px solid rgba(19, 32, 27, 0.12); }
.cg-dates div { padding: 10px 8px; border-left: 1px solid rgba(19, 32, 27, 0.12); }
.cg-dates div:first-child { border-left: 0; padding-left: 0; }
.cg-dates span { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(19, 32, 27, 0.5); }
.cg-dates b { font-size: 15px; font-variant-numeric: tabular-nums; }
.cg-step { font-size: 13px; color: var(--green-d); font-weight: 600; }
.cg-stamp { position: absolute; right: 18px; top: 18px; transform: rotate(-8deg) scale(1.4); opacity: 0; padding: 4px 10px; border: 2px solid currentColor; border-radius: 7px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.2s; }
.cg-card.ok .cg-stamp { opacity: 1; transform: rotate(-8deg) scale(1); color: var(--green); }
.cg-card.bad .cg-stamp { opacity: 1; transform: rotate(-8deg) scale(1); color: #b23b22; }
.cg-btns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; width: min(480px, 100%); }
.cg-btns[hidden] { display: none; }
.cg-btns .ctl:hover { border-color: var(--gold); color: var(--gold-l); }

/* Month-End Rush */
.mr-inbox { margin-bottom: 12px; }
.mr-h { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--txt-dim); margin-bottom: 8px; }
.mr-h small { letter-spacing: 0.04em; text-transform: none; color: var(--txt-faint); margin-left: 6px; }
.mr-tasks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; min-height: 86px; }
.mr-task { position: relative; text-align: left; padding: 9px 10px 8px; border-radius: 10px; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; gap: 1px; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.8); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 0.15s, transform 0.15s; min-width: 0; }
.mr-task b { font-size: 13px; line-height: 1.15; }
.mr-task small { font-size: 11px; color: rgba(19, 32, 27, 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-task.sel { outline-color: var(--gold-l); transform: translateY(-3px); }
.mr-task.hot { box-shadow: 0 0 0 2px var(--red); }
.mr-tag { align-self: flex-start; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; margin-bottom: 3px; }
.k-gst .mr-tag { background: var(--green); color: var(--paper); }
.k-it .mr-tag { background: var(--gold); color: var(--ink); }
.k-aud .mr-tag { background: var(--ink); color: var(--cream); }
.mr-time { position: absolute; right: 8px; top: 8px; font-family: var(--mono); font-size: 11px; color: rgba(19, 32, 27, 0.6); }
.hot .mr-time { color: #b23b22; font-weight: 600; }
.mr-empty { margin: 0; font-size: 12px; color: var(--txt-faint); align-self: center; }
.mr-team { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mr-member { text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(19, 32, 27, 0.55); min-height: 0; overflow: hidden; transition: border-color 0.2s; min-width: 0; }
.mr-member:hover { border-color: var(--gold); }
.mr-member.busy { border-color: rgba(224, 102, 76, 0.6); }
.mr-who { display: flex; align-items: center; gap: 8px; }
.mr-who b { font-size: 15px; }
.mr-who small { font-size: 11px; color: var(--txt-faint); margin-left: auto; }
.mr-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 13px; }
.mr-q { display: flex; flex-direction: column; gap: 6px; }
.mr-qi { position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 6px; padding: 7px 9px; border-radius: 8px; background: rgba(243, 236, 224, 0.08); font-size: 12px; }
.mr-qi .mr-time { position: static; color: var(--txt-dim); }
.mr-qi.hot .mr-time { color: #ffb8a6; }
.mr-qi i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--sage); }
.mr-qi span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 900px) {
  .pick-grid { grid-template-columns: repeat(2, 1fr); }
  .nd-wrap { grid-template-columns: 1fr; }
  .mr-tasks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  #scrPick { padding-top: 64px; }
  #scrPick .pick-h { font-size: 36px; margin-bottom: 14px; }
  .pick-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pick-card { padding: 11px 12px; gap: 5px; }
  .pick-name { font-size: 21px; }
  .pick-desc { display: none; }
  .pick-tags b { font-size: 10px; }
  .g6-body { padding: 8px 4px 0; }
  .sn-btns { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .sn-btn { height: 46px; }
  .sn-btn small, .ctl kbd { display: none; }
  .sn-card { width: 70%; padding: 8px 10px; }
  .sn-t { font-size: 12.5px; } .sn-a { font-size: 20px; }
  .mm-grid { gap: 6px; }
  .mm-front small { display: none; }
  .nd-text { font-size: 18px; margin: 8px 0 10px; }
  .nd-notice { padding: 14px; }
  .nd-doc { padding: 9px; font-size: 12px; }
  .hh-block { padding: 8px 2px; width: calc(25% - 6px); }
  .hh-block b { font-size: 13px; }
  .cg-card { padding: 16px; }
  .cg-dates b { font-size: 13px; }
  .mr-tasks { grid-template-columns: repeat(2, 1fr); min-height: 70px; }
  .mr-team { gap: 6px; }
  .mr-member { padding: 8px; }
  .mr-who small { display: none; }
  .mr-qi { font-size: 10.5px; padding: 6px; }
  .g6-streak { bottom: 70px; right: 8px; }
}
.g6-body { text-align: left; }
.sn-card { text-align: left; padding-right: 70px; }
.cg-card.in { animation: cgin 0.4s var(--ease); }
@keyframes cgin { from { transform: translateY(18px) scale(0.98); opacity: 0.2; } }
@media (max-width: 640px) {
  .g6-sniper .toast { bottom: 132px; }
  .g6-gains .toast, .g6-rush .toast { bottom: 76px; }
  .pick-card:last-child:nth-child(odd) { grid-column: span 2; }
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing { background: var(--cream); color: var(--ink); padding: 130px clamp(16px, 5vw, 64px) 120px; }
.price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.price-head .sec-h em { display: block; }
.bill-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(19, 32, 27, 0.07); border: 1px solid rgba(19, 32, 27, 0.1); }
.bt-opt { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(19, 32, 27, 0.65); display: inline-flex; align-items: center; gap: 8px; transition: background 0.25s, color 0.25s; }
.bt-opt span { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: rgba(63, 97, 82, 0.14); color: var(--green); }
.bt-opt.on { background: var(--ink); color: var(--cream); }
.bt-opt.on span { background: var(--gold); color: var(--ink); }
.bt-opt:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.plans { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 32px; border-radius: 22px; background: var(--paper); border: 1px solid rgba(19, 32, 27, 0.09); min-width: 0; }
.plan:nth-child(2) { transition-delay: 0.08s; } .plan:nth-child(3) { transition-delay: 0.16s; }
.plan-top h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.plan-silver h3 { color: #6f7a76; }
.plan-plat h3 { color: var(--green-d); }
.plan-for { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; color: rgba(19, 32, 27, 0.65); min-height: 44px; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-top: 26px; font-variant-numeric: tabular-nums; }
.plan-price .cur { font-family: var(--serif); font-size: 30px; }
.plan-price .amt { font-family: var(--serif); font-size: clamp(54px, 5.4vw, 68px); line-height: 0.9; letter-spacing: -0.02em; }
.plan-price .per { font-size: 14px; color: rgba(19, 32, 27, 0.55); margin-left: 6px; }
.plan-bill { margin: 8px 0 0; font-size: 13px; color: rgba(19, 32, 27, 0.55); }
.plan-limits { list-style: none; margin: 20px 0 0; padding: 14px 0; display: flex; gap: 22px; border-top: 1px solid rgba(19, 32, 27, 0.1); border-bottom: 1px solid rgba(19, 32, 27, 0.1); font-size: 14px; color: rgba(19, 32, 27, 0.7); }
.plan-limits b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); margin-right: 4px; }
.plan-cta { margin-top: 22px; display: flex; justify-content: center; align-items: center; height: 50px; border-radius: 12px; font-weight: 500; font-size: 15px; border: 1px solid rgba(19, 32, 27, 0.25); transition: background 0.25s, color 0.25s, transform 0.25s var(--ease); }
.plan-cta:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.plan-plus { margin: 24px 0 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(19, 32, 27, 0.5); }
.plan-feat { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.plan-silver .plan-feat { margin-top: 24px; }
.plan-feat li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.45; color: rgba(19, 32, 27, 0.8); }
.plan-feat svg { margin-top: 3px; color: var(--green); }
.plan-feat b { font-weight: 600; color: var(--ink); }

.plan-gold { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 0 40px 80px -40px rgba(19, 32, 27, 0.7); }
.plan-gold h3 { color: var(--gold-l); }
.plan-gold .plan-for, .plan-gold .plan-bill, .plan-gold .plan-price .per, .plan-gold .plan-plus { color: rgba(243, 236, 224, 0.62); }
.plan-gold .plan-limits { border-color: rgba(243, 236, 224, 0.14); color: rgba(243, 236, 224, 0.7); }
.plan-gold .plan-limits b, .plan-gold .plan-feat b { color: var(--cream); }
.plan-gold .plan-feat li { color: rgba(243, 236, 224, 0.82); }
.plan-gold .plan-feat svg { color: var(--gold-l); }
.plan-gold .plan-cta { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.plan-gold .plan-cta:hover { background: var(--gold-l); color: var(--ink); }
.plan-badge { position: absolute; top: 26px; right: 24px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); }
.amt.flip { animation: amtflip 0.4s var(--ease); }
@keyframes amtflip { 0% { opacity: 0; transform: translateY(10px); } }
.price-note { max-width: 1180px; margin: 30px auto 0; font-size: 13.5px; color: rgba(19, 32, 27, 0.6); text-align: center; }

@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plan-for { min-height: 0; }
}
@media (max-width: 640px) {
  .pricing { padding-top: 90px; padding-bottom: 90px; }
  .plan { padding: 24px 20px 26px; }
  .bt-opt { padding: 8px 14px; font-size: 13px; }
}
