/* ==========================================================================
   N7 · applicant experience
   A light, quiet page. Type does the talking, one grain-shaded picture per
   screen carries the colour, and every game takes its accent from its own
   poster (--g and --g-soft). All rules are scoped to .n7c and class names
   carry a c- or g- prefix, so the whole thing can be mounted inside another
   page (the bank console does exactly that) without either side leaking.
   ========================================================================== */
.n7c {
  --paper: #F5F5F7; --card: #FFFFFF; --ink: #0E1B2B; --ink-2: #47566B; --ink-3: #66758A;
  --line: rgba(14, 27, 43, .12); --line-2: rgba(14, 27, 43, .07); --wash: rgba(14, 27, 43, .05);
  --blue: #01A2EB; --blue-deep: #0A68DC; --pink: #E84891; --ember: #F0562C; --navy: #0A101E; --good: #0B7E69;
  --g: var(--blue-deep); --g-soft: #DFF1FE;
  --f-d: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-b: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-m: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --spring: cubic-bezier(.2, .9, .25, 1.2); --out: cubic-bezier(.2, .8, .2, 1);
  position: relative; min-height: 100%; color: var(--ink); font: 500 16px/1.5 var(--f-b); text-align: left;
  background: radial-gradient(1100px 620px at 108% -12%, rgba(1, 162, 235, .09), transparent 62%), radial-gradient(900px 560px at -12% 108%, rgba(232, 72, 145, .07), transparent 62%), var(--paper);
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; color-scheme: light;
}
.n7c.is-embed { min-height: 0; }
.n7c *, .n7c *::before, .n7c *::after { box-sizing: border-box; }
.n7c h1, .n7c h2, .n7c h3, .n7c p, .n7c ol, .n7c ul, .n7c dl, .n7c dd { margin: 0; padding: 0; }
.n7c h1, .n7c h2, .n7c h3 { font-family: var(--f-d); font-weight: 600; text-wrap: balance; outline: none; }
.n7c button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; }
.n7c button:disabled { cursor: default; }
.n7c :focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; border-radius: 8px; }
.n7c [tabindex="-1"]:focus, .n7c [tabindex="-1"]:focus-visible { outline: none; }
.n7c canvas { display: block; }
.n7c .c-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; display: block; }
.n7c .c-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.n7c .c-fx { position: fixed; inset: 0; pointer-events: none; z-index: 400; }
.n7c .c-fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

@keyframes c-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes c-pop { 0% { opacity: 0; transform: scale(.5); } 100% { opacity: 1; transform: none; } }
@keyframes c-fade { from { opacity: 0; } }
.n7c [data-rise] { animation: c-rise .75s var(--out) both; animation-delay: calc(var(--i, 0) * 65ms + 60ms); }

/* ---------- type ---------- */
.n7c .c-eyebrow { font: 500 11.5px/1.2 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.n7c .c-mono { font: 500 11.5px/1.2 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.n7c .c-h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: .98; letter-spacing: -.048em; }
.n7c .c-h1--md { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; }
.n7c .c-h1-soft { background: linear-gradient(100deg, #0A68DC 5%, #7C73E6 50%, #E84891 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.n7c .c-h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -.038em; }
.n7c .c-lead { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.n7c .c-small { font-size: 13.5px; color: var(--ink-3); max-width: 60ch; }
.n7c .c-hint { font: 500 11.5px/1.3 var(--f-m); letter-spacing: .06em; color: var(--ink-3); text-align: center; }
@media (hover: none) { .n7c .c-hint { display: none; } }

/* ---------- buttons ---------- */
.n7c .c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
  background: var(--ink); color: #fff; font: 600 15px/1 var(--f-d); letter-spacing: -.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 24px -14px rgba(14, 27, 43, .7);
  transition: transform .18s var(--out), box-shadow .18s var(--out), background .18s, opacity .18s;
}
.n7c .c-btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 18px 30px -16px rgba(14, 27, 43, .75); }
.n7c .c-btn:active { transform: translateY(1px) scale(.985); }
.n7c .c-btn:disabled { opacity: .35; transform: none; box-shadow: none; }
.n7c .c-btn--lg { height: 58px; padding: 0 30px; font-size: 16.5px; }
.n7c .c-btn--game { background: var(--g); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 26px -14px var(--g); }
.n7c .c-btn--game:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 32px -16px var(--g); }
.n7c .c-btn--soft { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 8px 18px -14px rgba(14, 27, 43, .4); }
.n7c .c-btn--soft:hover { box-shadow: inset 0 0 0 1px var(--ink), 0 12px 22px -14px rgba(14, 27, 43, .45); }
.n7c .c-btn--ghost { background: none; color: var(--ink-2); box-shadow: none; padding: 0 14px; }
.n7c .c-btn--ghost:hover { background: var(--wash); box-shadow: none; transform: none; color: var(--ink); }
.n7c .c-btn-sub { font: 500 12.5px var(--f-m); opacity: .75; }
.n7c .c-btn b { font-weight: 600; }
.n7c .c-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.n7c .c-row--center { justify-content: center; }
.n7c .c-link { color: var(--blue-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.n7c .c-link:hover { text-decoration: underline; }
.n7c .c-link .c-ic { width: 15px; height: 15px; }

/* ---------- chrome ---------- */
.n7c .c-top {
  position: sticky; top: 0; z-index: 30; height: 64px; padding: 0 clamp(16px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: color-mix(in srgb, var(--paper) 84%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line-2);
}
.n7c .c-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.n7c .c-brand img { height: 20px; width: auto; display: block; }
.n7c .c-brand-sep { width: 1px; height: 18px; background: var(--line); }
.n7c .c-brand-bank { font: 600 13.5px var(--f-b); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n7c .c-tag { font: 500 10.5px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: #0A55B8; background: rgba(1, 162, 235, .13); padding: 5px 9px; border-radius: 99px; }
.n7c .c-top-r { display: flex; align-items: center; gap: 14px; }
.n7c .c-steps { display: flex; align-items: center; gap: 4px; }
.n7c .c-steps i { width: 16px; height: 6px; border-radius: 99px; background: rgba(14, 27, 43, .13); transition: background .4s; }
.n7c .c-steps i.is-done { background: var(--g); }
.n7c .c-steps span { font: 500 11.5px var(--f-m); color: var(--ink-2); margin-left: 8px; white-space: nowrap; }
.n7c .c-top-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px; border-radius: 99px; font: 600 13px var(--f-b); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
.n7c .c-top-btn:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.n7c .c-top-btn .c-ic { width: 16px; height: 16px; }
.n7c .c-view { max-width: 1180px; margin: 0 auto; padding: clamp(24px, 4.5vw, 56px) clamp(16px, 4vw, 40px) 96px; }
.n7c .c-card { background: var(--card); border-radius: 24px; border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(14, 27, 43, .03), 0 28px 50px -36px rgba(14, 27, 43, .3); }
.n7c .c-narrow { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }

/* ---------- welcome ---------- */
.n7c .c-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(20px, 4vw, 56px); align-items: center; min-height: min(640px, 72vh); }
.n7c .c-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.n7c .c-hero-act { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.n7c .c-hero-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.n7c .c-hero-meta .c-ic { width: 17px; height: 17px; }
.n7c .c-hero-art canvas { width: 100%; aspect-ratio: 1.06; max-height: 580px; }
.n7c .c-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 14px; }
.n7c .c-facts dt { font: 600 clamp(28px, 3vw, 38px)/1 var(--f-d); letter-spacing: -.04em; }
.n7c .c-facts dt small { font: 500 13px var(--f-m); letter-spacing: .04em; color: var(--ink-3); margin-left: 4px; }
.n7c .c-facts dd { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); margin-top: 8px; max-width: 22ch; }
.n7c .c-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 6vw, 72px); }
.n7c .c-how-i { background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.n7c .c-how-n { font: 500 12px var(--f-m); letter-spacing: .1em; color: var(--blue-deep); }
.n7c .c-how-i b { font: 600 19px/1.2 var(--f-d); letter-spacing: -.02em; }
.n7c .c-how-i p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- consent ---------- */
.n7c .c-consent { padding: 4px 24px; }
.n7c .c-consent-row { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-2); align-items: flex-start; }
.n7c .c-consent-row:first-child { border-top: 0; }
.n7c .c-consent-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--g-soft); color: var(--blue-deep); display: grid; place-items: center; flex: none; }
.n7c .c-consent-row b { font: 600 16.5px var(--f-d); letter-spacing: -.01em; }
.n7c .c-consent-row p { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.n7c .c-check { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-size: 15px; font-weight: 600; transition: box-shadow .2s; }
.n7c .c-check:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.n7c .c-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.n7c .c-check-box { width: 26px; height: 26px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px var(--ink-3); display: grid; place-items: center; flex: none; color: transparent; transition: background .18s, box-shadow .18s, transform .25s var(--spring); }
.n7c .c-check-box .c-ic { width: 17px; height: 17px; stroke-width: 2.6; }
.n7c .c-check input:checked + .c-check-box { background: var(--ink); box-shadow: none; color: #fff; transform: scale(1.06); }
.n7c .c-check input:focus-visible + .c-check-box { outline: 2px solid var(--blue-deep); outline-offset: 3px; }

.n7c .c-field { display: flex; flex-direction: column; gap: 8px; font: 600 13.5px var(--f-b); color: var(--ink-2); }
.n7c .c-field input { height: 54px; padding: 0 18px; border-radius: 18px; border: 0; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font: 600 16.5px var(--f-b); color: var(--ink); outline: none; transition: box-shadow .2s; }
.n7c .c-field input:focus { box-shadow: inset 0 0 0 2px var(--blue-deep); }
.n7c .c-read { width: 100%; background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 6px 20px; text-align: left; }
.n7c .c-read-row { display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line-2); }
.n7c .c-read-row:first-child { border-top: 0; }
.n7c .c-read-row span { font-size: 14px; color: var(--ink-2); }
.n7c .c-read-row b { font: 600 17px var(--f-d); letter-spacing: -.02em; white-space: nowrap; }
.n7c .c-read-row em { font: 500 11px var(--f-m); font-style: normal; letter-spacing: .04em; color: var(--ink-3); text-align: right; }
.n7c .c-read-row em.is-ok { color: var(--good); } .n7c .c-read-row em.is-off { color: #B45309; }

/* ---------- library ---------- */
.n7c .c-hub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(20px, 3vw, 32px); }
.n7c .c-hub-head > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.n7c .c-hub-ring { position: relative; width: 78px; height: 78px; flex: none; }
.n7c .c-hub-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.n7c .c-ring-bg { fill: none; stroke: rgba(14, 27, 43, .09); stroke-width: 6; }
.n7c .c-ring-fg { fill: none; stroke: var(--blue-deep); stroke-width: 6; stroke-linecap: round; transition: stroke-dasharray .8s var(--out); }
.n7c .c-hub-ring b { position: absolute; inset: 0; display: grid; place-content: center; grid-auto-flow: column; align-items: baseline; font: 600 22px var(--f-d); letter-spacing: -.03em; }
.n7c .c-hub-ring small { font: 500 12px var(--f-m); color: var(--ink-3); }
.n7c .c-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.n7c .c-grid[data-n="6"], .n7c .c-grid[data-n="5"], .n7c .c-grid[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.n7c .c-game { display: flex; flex-direction: column; text-align: left; background: var(--card); border-radius: 26px; padding: 8px; border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(14, 27, 43, .03), 0 26px 44px -34px rgba(14, 27, 43, .34); transition: transform .3s var(--out), box-shadow .3s var(--out); min-width: 0; }
.n7c .c-game:hover { transform: translateY(-5px); box-shadow: 0 1px 0 rgba(14, 27, 43, .03), 0 34px 50px -30px color-mix(in srgb, var(--g) 55%, rgba(14, 27, 43, .3)); }
.n7c .c-game-art { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 19px; overflow: hidden; background: var(--g); }
.n7c .c-game-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--out); }
.n7c .c-game:hover .c-game-art canvas { transform: scale(1.04); }
.n7c .c-game-no { position: absolute; top: 13px; left: 15px; font: 500 11px var(--f-m); letter-spacing: .1em; color: rgba(255, 255, 255, .9); }
.n7c .c-game-done { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; animation: c-pop .5s var(--spring) both; }
.n7c .c-game-done .c-ic { width: 17px; height: 17px; stroke-width: 2.6; }
.n7c .c-game-body { display: flex; flex-direction: column; padding: 16px 12px 10px; flex: 1; }
.n7c .c-game-body > b { font: 600 19px/1.2 var(--f-d); letter-spacing: -.025em; }
.n7c .c-game-tag { font-size: 14px; line-height: 1.4; color: var(--ink-2); margin-top: 5px; flex: 1; }
.n7c .c-game-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.n7c .c-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 15px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 13px var(--f-d); transition: background .2s, padding .2s; }
.n7c .c-pill .c-ic { width: 15px; height: 15px; }
.n7c .c-game.is-next .c-pill { background: var(--g); }
.n7c .c-pill.is-done { background: var(--wash); color: var(--ink-2); }
.n7c .c-game.is-done { cursor: default; box-shadow: none; }
.n7c .c-game.is-done:hover { transform: none; box-shadow: none; }
.n7c .c-game.is-done .c-game-art canvas { filter: saturate(.4) brightness(1.05); opacity: .68; transform: none; }
.n7c .c-game.is-done .c-game-body > b, .n7c .c-game.is-done .c-game-tag { color: var(--ink-3); }
.n7c .c-demo { margin-top: 26px; text-align: center; font: 500 12px var(--f-m); letter-spacing: .06em; color: var(--ink-3); display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.n7c .c-demo .c-link { font: 600 13px var(--f-b); letter-spacing: 0; }
.n7c .c-bar { position: sticky; bottom: 16px; z-index: 5; margin-top: 28px; background: var(--ink); color: #fff; border-radius: 26px; padding: 14px 14px 14px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; box-shadow: 0 30px 50px -24px rgba(14, 27, 43, .7); }
.n7c .c-bar b { font: 600 18px var(--f-d); letter-spacing: -.02em; display: block; }
.n7c .c-bar span { font-size: 14px; opacity: .72; }
.n7c .c-bar .c-btn { background: #fff; color: var(--ink); box-shadow: none; }

/* ---------- the game frame ---------- */
.n7c .c-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; min-height: min(600px, 70vh); }
.n7c .c-intro-art { border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--g); box-shadow: 0 50px 70px -50px var(--g); }
.n7c .c-intro-art canvas { width: 100%; height: 100%; }
.n7c .c-intro-copy { display: flex; flex-direction: column; gap: 16px; }
.n7c .c-steps-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.n7c .c-steps-list li { display: flex; gap: 14px; align-items: flex-start; }
.n7c .c-steps-list li > span { width: 28px; height: 28px; border-radius: 50%; background: var(--g-soft); color: var(--g); font: 600 13px var(--f-d); display: grid; place-items: center; flex: none; }
.n7c .c-steps-list p { font-size: 15.5px; padding-top: 2px; }
.n7c .c-note { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: var(--ink-2); background: var(--wash); padding: 11px 14px; border-radius: 13px; align-self: flex-start; }
.n7c .c-note .c-ic { width: 16px; height: 16px; color: var(--g); }
.n7c .c-playing { max-width: 780px; margin: 0 auto; animation: c-fade .4s both; }
.n7c .c-hud { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.n7c .c-hud-back { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); flex: none; }
.n7c .c-hud-back:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.n7c .c-hud-mid { min-width: 0; }
.n7c .c-hud-mid b { font: 600 16px/1.2 var(--f-d); letter-spacing: -.02em; display: block; }
.n7c .c-hud-mid span { font: 500 11.5px var(--f-m); letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.n7c .c-hud-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.n7c .c-hud-score { text-align: right; }
.n7c .c-hud-score span { display: block; font: 500 10.5px var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.n7c .c-hud-score b { font: 600 19px/1.15 var(--f-d); letter-spacing: -.02em; }
.n7c .c-hud-skip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; font: 600 12.5px var(--f-b); color: var(--ink-2); border: 1px dashed var(--ink-3); }
.n7c .c-hud-skip:hover { color: var(--ink); border-color: var(--ink); }
.n7c .c-hud-skip .c-ic { width: 14px; height: 14px; }
.n7c .c-hud-bar { height: 4px; border-radius: 99px; background: rgba(14, 27, 43, .09); overflow: hidden; }
.n7c .c-hud-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--g); transition: width .5s var(--out); }
.n7c .c-stage { position: relative; margin-top: 18px; background: var(--card); border-radius: 30px; border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(14, 27, 43, .03), 0 40px 60px -44px rgba(14, 27, 43, .35); padding: clamp(18px, 3.4vw, 34px); min-height: min(560px, 72vh); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; overflow: hidden; }
.n7c .c-outro { max-width: 580px; margin: clamp(16px, 7vh, 80px) auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.n7c .c-outro-mark { width: 88px; height: 88px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; animation: c-pop .6s var(--spring) both; box-shadow: 0 24px 40px -20px var(--g); }
.n7c .c-outro-mark .c-ic { width: 40px; height: 40px; stroke-width: 2.4; }
.n7c .c-outro-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 6px 0; }
.n7c .c-outro-facts div { background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; padding: 16px 18px; text-align: left; }
.n7c .c-outro-facts span { font: 500 11px var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: block; }
.n7c .c-outro-facts b { font: 600 26px/1.2 var(--f-d); letter-spacing: -.03em; }

/* ---------- finish ---------- */
.n7c .c-finish { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.n7c .c-finish-copy { display: flex; flex-direction: column; gap: 18px; }
.n7c .c-sent canvas { width: 150px; height: 120px; margin-left: -18px; }
.n7c .c-next { list-style: none; display: flex; flex-direction: column; gap: 18px; margin: 8px 0; position: relative; }
.n7c .c-next::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
.n7c .c-next li { display: flex; gap: 16px; align-items: flex-start; position: relative; }
.n7c .c-next li > span { width: 31px; height: 31px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; font: 600 13px var(--f-d); color: var(--ink-2); flex: none; }
.n7c .c-next li:first-child > span { background: var(--ink); color: #fff; box-shadow: none; }
.n7c .c-next li .c-ic { width: 16px; height: 16px; stroke-width: 2.6; }
.n7c .c-next b { font: 600 16px var(--f-d); letter-spacing: -.01em; }
.n7c .c-next p { font-size: 13.5px; color: var(--ink-3); }
.n7c .c-style { padding: 26px; }
.n7c .c-style-sub { font-size: 14px; color: var(--ink-2); margin: 8px 0 12px; }
.n7c .c-style-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.n7c .c-style-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 5px var(--g-soft); flex: none; margin: 0 5px; }
.n7c .c-style-row div { flex: 1; min-width: 0; }
.n7c .c-style-row b { font: 600 16.5px var(--f-d); letter-spacing: -.02em; }
.n7c .c-style-row p { font-size: 13.5px; color: var(--ink-2); }
.n7c .c-style-row .c-mono { text-align: right; font-size: 10.5px; }

/* ---------- dialog ---------- */
.n7c .c-dialog { position: fixed; inset: 0; z-index: 300; background: rgba(10, 16, 30, .46); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); display: grid; place-items: center; padding: 20px; animation: c-fade .18s both; }
.n7c .c-dialog-card { background: var(--card); border-radius: 26px; padding: 26px; max-width: 420px; width: 100%; display: flex; flex-direction: column; gap: 10px; animation: c-rise .35s var(--out) both; box-shadow: 0 40px 80px -30px rgba(10, 16, 30, .6); }
.n7c .c-dialog-card h3 { font-size: 22px; letter-spacing: -.03em; }
.n7c .c-dialog-card p { color: var(--ink-2); font-size: 15px; }
.n7c .c-dialog-act { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Games
   ========================================================================== */
.n7c .g-q { font: 600 clamp(20px, 2.6vw, 25px)/1.2 var(--f-d); letter-spacing: -.03em; text-align: center; }
.n7c .g-pips { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; }
.n7c .g-pips i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(14, 27, 43, .22); transition: background .3s, box-shadow .3s, transform .4s var(--spring); }
.n7c .g-pips i.is-kept { background: var(--g); box-shadow: none; transform: scale(1.15); }
.n7c .g-pips i.is-pop { background: rgba(240, 86, 44, .18); box-shadow: inset 0 0 0 1.5px var(--ember); }
.n7c .g-pips--wide i { width: 24px; height: 8px; border-radius: 99px; }
.n7c .g-pips i.is-later { background: #0B9493; box-shadow: none; }
.n7c .g-pips i.is-now { background: #FF9440; box-shadow: none; }
.n7c .g-ctrl { display: flex; gap: 12px; width: 100%; max-width: 480px; }
.n7c .g-ctrl .c-btn { flex: 1; }
.n7c .g-rolling { font: 500 12px var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); animation: c-fade .3s both; }
.n7c .g-gain { font: 600 26px var(--f-d); letter-spacing: -.03em; color: var(--g); animation: c-pop .45s var(--spring) both; }
.n7c .g-timer { width: 100%; max-width: 440px; height: 4px; border-radius: 99px; background: rgba(14, 27, 43, .09); overflow: hidden; margin: 0 auto; }
.n7c .g-timer i { display: block; height: 100%; width: 100%; border-radius: 99px; background: var(--g); }
.n7c .c-range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; margin: 0; }
.n7c .c-range::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--g) var(--p, 50%), rgba(14, 27, 43, .1) var(--p, 50%)); }
.n7c .c-range::-moz-range-track { height: 8px; border-radius: 99px; background: rgba(14, 27, 43, .1); }
.n7c .c-range::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--g); }
.n7c .c-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; margin-top: -10px; box-shadow: 0 0 0 2px var(--g), 0 6px 14px -4px rgba(14, 27, 43, .4); }
.n7c .c-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--g); }

/* --- Balloon Run --- */
.n7c .g-bal-sky { position: relative; width: 100%; height: clamp(280px, 46vh, 410px); border-radius: 22px; background: radial-gradient(70% 55% at 50% 104%, rgba(232, 72, 145, .16), transparent 70%), var(--paper); overflow: hidden; }
.n7c .g-bal-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: #E84891; opacity: .2; -webkit-mask: var(--ht-y) 0 100% / 51px auto repeat-x; mask: var(--ht-y) 0 100% / 51px auto repeat-x; transform: scaleY(-1); }
.n7c .g-bal-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.n7c .g-bal-val { position: absolute; top: 16px; left: 20px; z-index: 2; }
.n7c .g-bal-val b { font: 600 46px/1 var(--f-d); letter-spacing: -.05em; display: block; }
.n7c .g-bal-val span { font: 500 10.5px var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.n7c .g-bal-msg { position: absolute; top: 20px; right: 20px; z-index: 2; font: 600 14.5px var(--f-d); }
.n7c .g-bal-msg.is-pop { color: #C2410C; animation: c-rise .3s var(--out) both; }
.n7c .g-bal-msg.is-kept { color: var(--good); animation: c-rise .3s var(--out) both; }

/* --- Wait & Grow --- */
.n7c .g-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; width: 100%; transition: opacity .17s, transform .17s; }
.n7c .g-pair.is-out { opacity: 0; transform: translateY(8px); }
.n7c .g-offer { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 22px; min-height: 236px; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .25s var(--out), box-shadow .2s, background .2s, opacity .25s; --o: #0B9493; --o-soft: #DDF6EF; }
.n7c .g-offer--now { --o: #E8662A; --o-soft: #FFEDE0; }
.n7c .g-offer:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.n7c .g-amt { font: 600 clamp(30px, 5vw, 46px)/1.05 var(--f-d); letter-spacing: -.045em; margin-top: 8px; }
.n7c .g-when { font-size: 15px; color: var(--ink-2); font-weight: 600; }
.n7c .g-cal { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 18px; }
.n7c .g-cal i { width: 10px; height: 10px; border-radius: 50%; background: rgba(14, 27, 43, .13); }
.n7c .g-cal i.is-pay { background: var(--o); box-shadow: 0 0 0 4px var(--o-soft); }
.n7c .g-more { font: 500 11.5px var(--f-m); letter-spacing: .04em; color: var(--o); margin-top: 10px; }
.n7c .g-offer.is-picked { background: var(--o-soft); box-shadow: inset 0 0 0 2px var(--o); transform: scale(1.02); }
.n7c .g-offer.is-dim { opacity: .32; transform: scale(.98); }
.n7c .g-or { align-self: center; font: 500 11px var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* --- Honest Dice --- */
.n7c .g-dice-scene { position: relative; width: 100%; height: 236px; perspective: 900px; display: grid; place-items: center; }
.n7c .g-die-lift { transform-style: preserve-3d; }
.n7c .g-die { position: relative; width: 112px; height: 112px; transform-style: preserve-3d; transform: rotateX(-20deg) rotateY(-26deg) rotateX(0deg) rotateY(0deg); transition: transform 1.15s cubic-bezier(.2, .75, .2, 1); }
.n7c .g-face { position: absolute; inset: 0; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(140deg, #FFFDF8, #F8E6C8); box-shadow: inset 0 0 0 1px rgba(14, 27, 43, .09), inset 0 -12px 22px -12px rgba(201, 159, 102, .6); }
.n7c .g-f1 { transform: translateZ(56px); } .n7c .g-f6 { transform: rotateY(180deg) translateZ(56px); }
.n7c .g-f2 { transform: rotateY(90deg) translateZ(56px); } .n7c .g-f5 { transform: rotateY(-90deg) translateZ(56px); }
.n7c .g-f3 { transform: rotateX(90deg) translateZ(56px); } .n7c .g-f4 { transform: rotateX(-90deg) translateZ(56px); }
.n7c .g-pipgrid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); width: 66%; height: 66%; gap: 8%; }
.n7c .g-pipgrid i { border-radius: 50%; }
.n7c .g-pipgrid i.on { background: #0A3FA6; }
.n7c .g-die-shadow { position: absolute; bottom: 14px; left: 50%; width: 170px; height: 30px; margin-left: -85px; background: radial-gradient(circle, rgba(10, 63, 166, .55) 1.1px, transparent 1.5px) 0 0 / 5px 5px; -webkit-mask: radial-gradient(closest-side, #000 15%, transparent); mask: radial-gradient(closest-side, #000 15%, transparent); }
@keyframes g-hop { 0% { transform: translateY(0); } 30% { transform: translateY(-74px); } 62% { transform: translateY(0); } 78% { transform: translateY(-13px); } 100% { transform: translateY(0); } }
@keyframes g-hop-sh { 0%, 62%, 100% { transform: scale(1); opacity: 1; } 30% { transform: scale(.55); opacity: .4; } 78% { transform: scale(.9); opacity: .85; } }
.n7c .g-die-lift.is-roll { animation: g-hop 1.15s cubic-bezier(.3, .6, .3, 1); }
.n7c .g-die-shadow.is-roll { animation: g-hop-sh 1.15s cubic-bezier(.3, .6, .3, 1); }
.n7c .g-dice-panel { min-height: 164px; display: grid; place-items: center; width: 100%; }
.n7c .g-ask { text-align: center; animation: c-rise .35s var(--out) both; }
.n7c .g-ask > b { font: 600 22px var(--f-d); letter-spacing: -.03em; display: block; }
.n7c .g-ask > span { font-size: 14px; color: var(--ink-2); }
.n7c .g-faces { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.n7c .g-facebtn { width: 58px; padding: 9px 0 7px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .2s var(--out), box-shadow .2s; }
.n7c .g-facebtn:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.n7c .g-facebtn .g-pipgrid { width: 34px; height: 34px; gap: 3px; }
.n7c .g-facebtn .g-pipgrid i.on { background: var(--ink); }
.n7c .g-facebtn em { font: 500 10.5px var(--f-m); font-style: normal; color: var(--ink-3); }

/* --- Trust Bridge --- */
.n7c .g-trust-stage { position: relative; width: 100%; height: clamp(230px, 36vh, 300px); }
.n7c .g-trust-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.n7c .g-who { position: absolute; bottom: 0; width: 40%; text-align: center; }
.n7c .g-who--you { left: 0; } .n7c .g-who--them { right: 0; }
.n7c .g-who b { font: 600 14.5px var(--f-d); display: block; }
.n7c .g-who span { font: 500 11px var(--f-m); letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.n7c .g-x3 { position: absolute; top: 6px; left: 50%; transform: translateX(-50%) scale(.5); opacity: 0; font: 600 16px var(--f-d); color: #C2410C; background: #FFEDE0; padding: 5px 13px; border-radius: 99px; transition: transform .4s var(--spring), opacity .25s; }
.n7c .g-x3.is-on { transform: translateX(-50%) scale(1); opacity: 1; }
.n7c .g-trust-ctl { width: 100%; max-width: 480px; min-height: 236px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.n7c .g-lbl { font: 600 16px/1.35 var(--f-d); letter-spacing: -.015em; text-align: center; }
.n7c .g-amount { display: flex; align-items: center; gap: 20px; }
.n7c .g-amount output { font: 600 56px/1 var(--f-d); letter-spacing: -.05em; min-width: 84px; text-align: center; }
.n7c .g-step { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.n7c .g-step:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.n7c .g-result { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; animation: c-rise .4s var(--out) both; }
.n7c .g-result div { background: var(--paper); border-radius: 16px; padding: 12px 6px; text-align: center; }
.n7c .g-result span { font: 500 10.5px var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); display: block; }
.n7c .g-result b { font: 600 26px/1.2 var(--f-d); letter-spacing: -.03em; }
.n7c .g-result .is-total { background: var(--g-soft); } .n7c .g-result .is-total b { color: var(--g); }

/* --- Budget Week --- */
.n7c .g-budget { justify-content: flex-start; align-items: stretch; }
.n7c .g-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.n7c .g-week span { font: 500 11px var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.n7c .g-week i { display: block; height: 6px; border-radius: 99px; background: rgba(14, 27, 43, .1); margin-bottom: 7px; transition: background .4s; }
.n7c .g-week .is-done i { background: var(--g); }
.n7c .g-week .is-on { color: var(--ink); } .n7c .g-week .is-on i { background: var(--ink); }
.n7c .g-money { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.n7c .g-tank { background: var(--paper); border-radius: 20px; padding: 15px 18px 17px; }
.n7c .g-tank b { font: 600 clamp(24px, 3.4vw, 30px)/1.2 var(--f-d); letter-spacing: -.04em; display: block; margin-top: 5px; }
.n7c .g-meter { height: 12px; border-radius: 99px; background: rgba(14, 27, 43, .08); overflow: hidden; margin-top: 10px; }
.n7c .g-meter i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .6s var(--out); background: radial-gradient(circle, rgba(255, 255, 255, .6) .75px, transparent 1.05px) 0 0 / 4px 4px, linear-gradient(90deg, #0A68DC, #01A2EB); }
.n7c .g-tank--jar .g-meter i { background: radial-gradient(circle, rgba(255, 255, 255, .6) .75px, transparent 1.05px) 0 0 / 4px 4px, linear-gradient(90deg, #F0562C, #FFB23E); }
.n7c .g-day { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.n7c .g-day.is-in { animation: c-rise .4s var(--out) both; }
.n7c .g-day > .c-btn { align-self: flex-end; margin-top: auto; }
.n7c .g-ledger { list-style: none; }
.n7c .g-ledger li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); }
.n7c .g-ledger b { color: var(--ink); font-weight: 700; } .n7c .g-ledger b.is-in { color: var(--good); }
.n7c .g-warn { font-size: 13.5px; color: #9A3412; background: #FFEDE0; padding: 10px 14px; border-radius: 13px; }
.n7c .g-shock { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; background: var(--navy); color: #fff; }
.n7c .g-shock-ic { width: 42px; height: 42px; border-radius: 50%; background: #FFD45A; color: var(--navy); display: grid; place-items: center; flex: none; }
.n7c .g-shock b { font: 600 17.5px var(--f-d); letter-spacing: -.02em; } .n7c .g-shock p { font-size: 13.5px; opacity: .75; }
.n7c .g-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.n7c .g-opt { text-align: left; padding: 15px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .2s var(--out), box-shadow .2s; }
.n7c .g-opt:hover:not(:disabled) { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.n7c .g-opt:disabled { opacity: .42; }
.n7c .g-opt b { font: 600 15.5px var(--f-d); display: block; } .n7c .g-opt span { font-size: 12.5px; color: var(--ink-3); }
.n7c .g-want, .n7c .g-save { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 18px; border-radius: 20px; background: var(--paper); flex-wrap: wrap; }
.n7c .g-want > div:first-child, .n7c .g-save > div:first-child { flex: 1; min-width: 150px; }
.n7c .g-want b, .n7c .g-save b { font: 600 15.5px var(--f-d); letter-spacing: -.015em; display: block; margin-top: 3px; }
.n7c .g-want em { font: 600 19px var(--f-d); font-style: normal; letter-spacing: -.02em; }
.n7c .g-toggle, .n7c .g-chips { display: inline-flex; padding: 4px; border-radius: 99px; background: rgba(14, 27, 43, .07); gap: 2px; }
.n7c .g-toggle button, .n7c .g-chips button { height: 36px; padding: 0 15px; border-radius: 99px; font: 600 13.5px var(--f-b); color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.n7c .g-toggle button.is-on, .n7c .g-chips button.is-on { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px -2px rgba(14, 27, 43, .25); }
.n7c .g-toggle button:disabled, .n7c .g-chips button:disabled { opacity: .38; }

/* --- Storm Fund: the one dark stage --- */
.n7c .c-stage.g-storm { background: radial-gradient(120% 90% at 85% -10%, #1B2A63, transparent 60%), var(--navy); color: #fff; border-color: transparent; justify-content: space-between; transition: background-color 1s; }
.n7c .c-stage.g-storm::before { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 80% at 20% 0%, #4A2470, transparent 65%); opacity: 0; transition: opacity 1.2s; }
.n7c .g-storm.is-storm::before { opacity: 1; } .n7c .g-storm.is-clear::before { opacity: .35; }
.n7c .g-storm > * { position: relative; }
.n7c .g-storm .c-eyebrow { color: rgba(255, 255, 255, .55); }
.n7c .g-rain { position: absolute !important; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s; pointer-events: none; }
.n7c .g-storm.is-storm .g-rain { opacity: 1; } .n7c .g-storm.is-clear .g-rain { opacity: .2; }
@keyframes g-fall { from { transform: translateY(-40px) rotate(12deg); } to { transform: translateY(720px) rotate(12deg); } }
.n7c .g-rain i { position: absolute; top: 0; width: 1.5px; height: 26px; border-radius: 2px; background: rgba(255, 255, 255, .26); animation: g-fall .9s linear infinite; }
@keyframes g-flash { 0%, 100% { opacity: 0; } 8% { opacity: .85; } 20% { opacity: .08; } 32% { opacity: .55; } 55% { opacity: 0; } }
.n7c .g-flash { position: absolute !important; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 3; }
.n7c .g-flash.on { animation: g-flash .75s both; }
@keyframes g-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.n7c .g-storm.is-shake .g-fund { animation: g-shake .5s; }
.n7c .g-fund { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.n7c .g-fund b { font: 600 clamp(34px, 6vw, 54px)/1.05 var(--f-d); letter-spacing: -.05em; display: block; margin-top: 6px; }
.n7c .g-fund em { font: 500 12px var(--f-m); font-style: normal; letter-spacing: .06em; min-height: 16px; display: block; }
.n7c .g-fund em.is-up { color: #6BE3B0; } .n7c .g-fund em.is-flat { color: rgba(255, 255, 255, .5); }
.n7c .g-bars { display: flex; align-items: flex-end; gap: 5px; height: 92px; flex: 1; max-width: 360px; }
.n7c .g-bars span { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.n7c .g-bars i { display: block; width: 100%; min-height: 3px; border-radius: 5px 5px 2px 2px; background: rgba(255, 255, 255, .1); transition: height .6s var(--out); }
.n7c .g-bars .is-set i { background: radial-gradient(circle, rgba(255, 255, 255, .5) .7px, transparent 1px) 0 0 / 4px 4px, linear-gradient(180deg, #9BDAFB, #0A68DC); }
.n7c .g-bars .is-hit i { background: radial-gradient(circle, rgba(255, 255, 255, .45) .7px, transparent 1px) 0 0 / 4px 4px, linear-gradient(180deg, #FF9C8A, #D9391A); }
.n7c .g-ask2 { width: 100%; text-align: center; }
.n7c .g-storm .g-timer { background: rgba(255, 255, 255, .13); margin: 16px auto 20px; } .n7c .g-storm .g-timer i { background: #fff; }
.n7c .g-sums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-height: 132px; }
.n7c .g-sums.is-in { animation: c-rise .3s var(--out) both; }
.n7c .g-sum { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 22px 10px; border-radius: 22px; color: #fff; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); font: 600 clamp(20px, 3.6vw, 28px)/1.15 var(--f-d); letter-spacing: -.03em; transition: background .2s, box-shadow .2s, transform .2s var(--out), opacity .2s; }
.n7c .g-sum i { font: 500 13px var(--f-m); font-style: normal; opacity: .5; }
.n7c .g-sum:hover:not(:disabled) { background: rgba(255, 255, 255, .11); box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-2px); }
.n7c .g-sum.is-right { box-shadow: inset 0 0 0 2px #6BE3B0; background: rgba(107, 227, 176, .13); }
.n7c .g-sum.is-wrong { box-shadow: inset 0 0 0 2px #FF8A6E; background: rgba(255, 138, 110, .13); }
.n7c .g-sum.is-dim { opacity: .4; }
.n7c .g-event { position: absolute !important; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 4; padding: 20px; }
.n7c .g-event-card { background: rgba(10, 16, 30, .84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); border-radius: 26px; padding: 26px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; animation: c-pop .45s var(--spring) both; }
.n7c .g-event-ic { width: 50px; height: 50px; border-radius: 50%; background: #FFD45A; color: var(--navy); display: grid; place-items: center; margin-bottom: 6px; }
.n7c .g-event-card b { font: 600 22px var(--f-d); letter-spacing: -.03em; }
.n7c .g-event-card em { font: 600 42px/1.1 var(--f-d); font-style: normal; letter-spacing: -.05em; color: #FF8A6E; }
.n7c .g-event-card p { font-size: 13.5px; opacity: .7; }

/* --- Last Mile --- */
.n7c .g-climb { position: relative; display: flex; align-items: flex-end; gap: 8px; width: 100%; max-width: 420px; height: 124px; }
.n7c .g-climb span { position: relative; flex: 1; height: var(--h); }
.n7c .g-climb span i { position: absolute; inset: 0; border-radius: 12px 12px 4px 4px; background: rgba(14, 27, 43, .07); transition: background .4s; }
.n7c .g-climb span em { position: absolute; left: 0; right: 0; bottom: 7px; text-align: center; font: 500 11px var(--f-m); font-style: normal; color: var(--ink-3); }
.n7c .g-climb .is-done i { background: radial-gradient(circle, rgba(255, 255, 255, .5) .7px, transparent 1px) 0 0 / 4px 4px, linear-gradient(180deg, #01A2EB, #0A4FC0); }
.n7c .g-climb .is-done em { color: #fff; }
.n7c .g-climb .is-on i { background: var(--g-soft); box-shadow: inset 0 0 0 1.5px var(--g); }
.n7c .g-climber { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #FFD080, #F0562C 70%); transform: translateX(-50%); transition: left .7s var(--spring), bottom .7s var(--spring); box-shadow: 0 6px 12px -4px rgba(217, 57, 26, .7); }
.n7c .g-status { font: 600 17px var(--f-d); letter-spacing: -.02em; color: var(--ink-2); min-height: 26px; text-align: center; }
.n7c .g-status.is-go { color: var(--g); }
.n7c .g-pads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: min(300px, 74vw); }
.n7c .g-pad { aspect-ratio: 1; border-radius: 26px; filter: saturate(.75) brightness(.9); opacity: .55; transition: transform .14s var(--out), filter .14s, opacity .14s, box-shadow .14s; }
.n7c .g-pad:not(:disabled) { opacity: .92; filter: saturate(.95) brightness(.96); }
.n7c .g-pad:not(:disabled):hover { opacity: 1; }
.n7c .g-pad:not(:disabled):active { transform: scale(.97); }
.n7c .g-pad--0 { background: var(--grain), linear-gradient(140deg, #9BDAFB, #0A68DC); --glow: #0A68DC; }
.n7c .g-pad--1 { background: var(--grain), linear-gradient(140deg, #FFC6DD, #E84891); --glow: #E84891; }
.n7c .g-pad--2 { background: var(--grain), linear-gradient(140deg, #FFD080, #FF6238); --glow: #FF6238; }
.n7c .g-pad--3 { background: var(--grain), linear-gradient(140deg, #B4EFDF, #0B9493); --glow: #0B9493; }
.n7c .g-pad.is-lit { filter: brightness(1.12) saturate(1.1) !important; opacity: 1 !important; transform: scale(1.06); box-shadow: 0 0 0 4px #fff, 0 18px 36px -8px var(--glow); }
.n7c .g-last.is-miss .g-pads { animation: g-shake .4s; }
.n7c .g-last-ctl { display: flex; gap: 10px; min-height: 58px; flex-wrap: wrap; justify-content: center; }

/* --- Pattern Sprint --- */
.n7c .g-puz { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 22px; min-height: 330px; justify-content: center; }
.n7c .g-puz.is-in { animation: c-rise .35s var(--out) both; }
.n7c .g-seq { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.n7c .g-seq span { width: 66px; height: 66px; border-radius: 18px; background: var(--paper); display: grid; place-items: center; font: 600 25px var(--f-d); letter-spacing: -.03em; }
.n7c .g-seq svg, .n7c .g-answers svg { width: 34px; height: 34px; display: block; }
.n7c .g-seq .is-blank { background: var(--g-soft); color: var(--g); box-shadow: inset 0 0 0 2px var(--g); }
.n7c .g-story { font: 600 clamp(17px, 2.2vw, 20px)/1.4 var(--f-d); letter-spacing: -.02em; text-align: center; max-width: 44ch; color: var(--ink-2); }
.n7c .g-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 500px; }
.n7c .g-ans { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font: 600 20px var(--f-d); letter-spacing: -.02em; transition: transform .2s var(--out), box-shadow .2s, background .2s, opacity .2s; }
.n7c .g-ans em { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); font: 500 11px var(--f-m); font-style: normal; color: var(--ink-3); display: grid; place-items: center; flex: none; }
.n7c .g-ans:hover:not(:disabled) { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.n7c .g-ans.is-picked { background: var(--g-soft); box-shadow: inset 0 0 0 2px var(--g); }
.n7c .g-ans.is-dim { opacity: .38; }


/* ---------- narration: sound control, language step, the Listen bar, what is being said ---------- */
.n7c .c-vol { display: flex; align-items: center; gap: 8px; }
.n7c .c-vol-btn { width: 36px; padding: 0; justify-content: center; }
.n7c .c-vol-btn.is-live { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.n7c .c-vol-btn.is-off { color: var(--ink-3); background: var(--wash); }
.n7c .c-vol-range { -webkit-appearance: none; appearance: none; width: 72px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--v, 100%), var(--line) var(--v, 100%)); cursor: pointer; }
.n7c .c-vol-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink), 0 2px 6px rgba(14, 27, 43, .2); }
.n7c .c-vol-range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }

.n7c .c-lang { max-width: 640px; margin: 0 auto; padding-top: clamp(8px, 4vh, 48px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.n7c .c-lang .c-h2 { line-height: 1.12; }
.n7c .c-lang-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; margin-top: 8px; }
.n7c .c-lang-opt { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 18px 22px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -32px rgba(14, 27, 43, .35); transition: transform .2s var(--out), box-shadow .2s, background .2s; }
.n7c .c-lang-opt:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ink), 0 28px 44px -30px rgba(14, 27, 43, .4); }
.n7c .c-lang-opt:active { transform: translateY(1px) scale(.985); }
.n7c .c-lang-glyph { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--g-soft); color: var(--g); font: 600 38px/1 var(--f-d); transition: background .25s, color .25s; }
.n7c .c-lang-opt b { font: 700 clamp(22px, 3vw, 27px)/1.1 var(--f-d); letter-spacing: -.02em; }
.n7c .c-lang-opt .c-mono { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.n7c .c-lang-opt.is-said { background: var(--g-soft); box-shadow: inset 0 0 0 2px var(--g); transform: scale(1.02); }
.n7c .c-lang-opt.is-said .c-lang-glyph { background: var(--g); color: #fff; }

.n7c .c-voice { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.n7c .c-voice-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px; border-radius: 99px; background: var(--g-soft); color: var(--ink); font: 600 14.5px var(--f-b); transition: box-shadow .2s, transform .18s var(--out); }
.n7c .c-voice-btn:hover { box-shadow: inset 0 0 0 1.5px var(--g); }
.n7c .c-voice-btn:active { transform: scale(.97); }
.n7c .c-voice-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: #fff; }
.n7c .c-voice-ic .c-ic { width: 17px; height: 17px; }
.n7c .c-voice-btn.is-on { box-shadow: inset 0 0 0 2px var(--g); }
.n7c .c-voice-lang { position: relative; display: inline-flex; align-items: center; }
.n7c .c-voice-lang select { -webkit-appearance: none; appearance: none; height: 46px; padding: 0 38px 0 18px; border-radius: 99px; border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 600 14.5px var(--f-b); color: var(--ink); cursor: pointer; }
.n7c .c-voice-lang select:hover, .n7c .c-voice-lang select:focus-visible { box-shadow: inset 0 0 0 1.5px var(--ink); outline: none; }
.n7c .c-voice-lang .c-ic { position: absolute; right: 14px; width: 15px; height: 15px; pointer-events: none; color: var(--ink-2); }

/* the line being spoken: pale accent fill, accent outline, no looping */
.n7c [data-say] { transition: background .3s, box-shadow .3s, color .3s; }
.n7c .c-lead.is-said { color: var(--ink); }
.n7c .c-steps-list li { margin: -6px -10px; padding: 6px 10px; border-radius: 14px; transition: background .3s, box-shadow .3s; }
.n7c .c-steps-list li.is-said { background: var(--g-soft); box-shadow: inset 0 0 0 1.5px var(--g); }
.n7c .c-steps-list li.is-said > span { background: var(--g); color: #fff; }
.n7c .c-note.is-said { background: var(--g-soft); box-shadow: inset 0 0 0 1.5px var(--g); color: var(--ink); }
.n7c .c-btn.is-said { box-shadow: 0 0 0 4px var(--paper), 0 0 0 6.5px var(--g), 0 14px 26px -14px var(--g); }
.n7c .c-stage .c-btn.is-said { box-shadow: 0 0 0 4px var(--card), 0 0 0 6.5px var(--g), 0 14px 26px -14px var(--g); }
.n7c .c-stage .c-btn--soft.is-said { box-shadow: inset 0 0 0 1.5px var(--g), 0 0 0 4px var(--card), 0 0 0 6.5px var(--g); }
.n7c .c-btn.is-said:disabled { opacity: 1; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .n7c .c-hero, .n7c .c-intro, .n7c .c-finish { grid-template-columns: minmax(0, 1fr); }
  .n7c .c-hero { min-height: 0; }
  .n7c .c-hero-art { order: -1; margin: -8px 0 -4px; }
  .n7c .c-hero-art canvas { aspect-ratio: 1.5; max-height: 300px; }
  .n7c .c-how { grid-template-columns: minmax(0, 1fr); }
  .n7c .c-intro { min-height: 0; }
  .n7c .c-intro-art { aspect-ratio: 16 / 9; }
  .n7c .c-grid, .n7c .c-grid[data-n] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .n7c .c-top { height: 56px; }
  .n7c .c-brand-bank { display: none; } .n7c .c-brand-sep { display: none; }
  .n7c .c-top-btn span { display: none; } .n7c .c-top-btn { padding: 0 10px; }
  .n7c .c-vol-range { display: none; } .n7c .c-top-r { gap: 10px; }
  .n7c .c-lang-opt { padding: 22px 12px 18px; } .n7c .c-lang-glyph { width: 62px; height: 62px; font-size: 31px; }
  .n7c .c-facts { gap: 12px; }
  .n7c .c-btn--lg { height: 54px; padding: 0 24px; }
  .n7c .c-hero-act .c-btn, .n7c .c-narrow .c-row .c-btn--lg, .n7c .c-bar .c-btn { flex: 1 1 100%; }
  .n7c .c-hub-ring { width: 62px; height: 62px; } .n7c .c-hub-ring b { font-size: 18px; }
  .n7c .c-grid, .n7c .c-grid[data-n] { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .n7c .c-game { flex-direction: row; align-items: stretch; border-radius: 22px; }
  .n7c .c-game-art { width: 112px; aspect-ratio: auto; flex: none; border-radius: 16px; }
  .n7c .c-game-body { padding: 8px 6px 6px 14px; }
  .n7c .c-game-body > b { font-size: 17px; } .n7c .c-game-tag { font-size: 13px; }
  .n7c .c-game-foot { margin-top: 10px; } .n7c .c-game-no { top: 9px; left: 11px; }
  .n7c .c-stage { border-radius: 24px; min-height: 0; padding: 18px 16px 20px; }
  .n7c .c-hud-score span { display: none; }
  .n7c .g-pair { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .n7c .g-offer { min-height: 0; padding: 18px; } .n7c .g-cal { padding-top: 12px; } .n7c .g-or { justify-self: center; }
  .n7c .g-opts { grid-template-columns: minmax(0, 1fr); }
  .n7c .g-fund { flex-direction: column; align-items: stretch; gap: 12px; } .n7c .g-bars { max-width: none; height: 60px; flex: none; }
  .n7c .g-result span { font-size: 9.5px; letter-spacing: 0; } .n7c .g-result b { font-size: 22px; }
  .n7c .g-seq span { width: 52px; height: 52px; font-size: 20px; border-radius: 15px; }
  .n7c .g-facebtn { width: 46px; } .n7c .g-faces { gap: 6px; }
  .n7c .g-chips button, .n7c .g-toggle button { padding: 0 11px; font-size: 13px; }
  .n7c .c-style-row .c-mono { display: none; }
}
@media (prefers-reduced-motion: reduce) { .n7c *, .n7c *::before, .n7c *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; } }

/* ---------- consent, notice and finish: narrated parts and the help card ---------- */
.n7c [hidden] { display: none !important; }
.n7c .c-consent-row { transition: background .25s, box-shadow .25s; }
.n7c .c-consent-row.is-said { background: var(--g-soft); box-shadow: 0 0 0 12px var(--g-soft); border-radius: 4px; }
.n7c .c-check.is-said { box-shadow: inset 0 0 0 2px var(--g); background: var(--g-soft); }
.n7c .c-next.is-said li > div b { color: var(--blue-deep); }
.n7c .c-small .c-link { font: 600 13.5px var(--f-b); }
.n7c .c-notice { padding: 6px 24px; }
.n7c .c-notice-sec { padding: 18px 0; border-top: 1px solid var(--line-2); }
.n7c .c-notice-sec:first-child { border-top: 0; }
.n7c .c-notice-sec b { display: block; font: 600 16px var(--f-d); letter-spacing: -.01em; margin-bottom: 6px; }
.n7c .c-notice-sec p, .n7c .c-notice-sec li { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.n7c .c-notice-sec p + p { margin-top: 6px; }
.n7c .c-notice-sec ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.n7c .c-help { padding: 16px 18px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; transition: box-shadow .25s, background .25s; }
.n7c .c-help b { font: 600 15px var(--f-d); }
.n7c .c-help p { font-size: 14px; color: var(--ink-2); }
.n7c .c-help.is-said { background: var(--g-soft); box-shadow: inset 0 0 0 1.5px var(--g); }
/* Devanagari breaks apart under letter-spacing and mono type: small labels in Hindi use the body face */
.n7c .c-eyebrow:lang(hi) { font-family: var(--f-b); letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 600; }
