/* Go Kaptai pre-registration (docs/MARKETING_PREREG.md). Palette B "Teak and brass", refined (docs/CODEX_REVIEW_2026-11-23.md §3),
   and the B2 rules from src/ui/kit/tokens.css: panels told apart by depth, fill, light and shadow, never by an outline
   (keyboard focus too: the focused control fills with pale brass and dark ink, no ring).
   Victory Day (16 December) is carried by the words, the date, the bottle-green event badge and the flag beside it; the
   flag's red and green appear nowhere else. Brass is the celebration. Nothing on the page loops but the timelapse.
   Behind it all: Reserve Bazar ghat from our own engine, morning to night (app.js crossfades the frames). */
/* page-only subsets of the game's self-hosted fonts (scripts/prereg-fonts.py; OFL 1.1, see CREDITS.md). Two static Anek
   cuts, 400 and 600; the 600 file answers every heavier request too, so no weight is ever faux-bolded. */
@font-face { font-family: 'Anek Bangla'; src: url(fonts/anek-400.woff2) format('woff2'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Anek Bangla'; src: url(fonts/anek-600.woff2) format('woff2'); font-weight: 600 800; font-display: swap; }
/* display lettering, for the headline, the launch date and the wordmark only */
@font-face { font-family: 'Galada'; src: url(fonts/galada.woff2) format('woff2'); font-display: swap; }
/* the game's Latin display face, for the English page only (it loads only when English text is set in it) */
@font-face { font-family: 'River Adventurer'; src: url(/assets/ui/fonts/RiverAdventurer.woff) format('woff'); font-display: swap; unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201D, U+2026; }

:root {
  /* refined palette B (the same values as the game's tokens) */
  --surface-0: #100d0a; --surface-1: #1b1713; --surface-2: #27211b; --surface-3: #342c24; --surface-4: #43392f;
  --surface0-rgb: 16 13 10; --shade-rgb: 2 1 0; --ink-rgb: 245 238 220; --accent-rgb: 214 180 101;
  --ink-1: #f5eedc; --ink-2: #d7cbb6; --ink-3: #b9ad99;
  --accent: #d6b465; --accent-hi: #f0dda5; --accent-lo: #b58e45; --accent-deep: #806329; --on-accent: #1b140a;
  --plaque: #b83b32; --plaque-hi: #be4137; --plaque-lo: #742a25; --on-plaque: #fff1dd;
  --ok: #81c99d; --ok-rgb: 129 201 157; --warn: #e7ba69; --danger: #f18d83; --danger-rgb: 241 141 131; --info: #9cbad0;
  --pearl: #f1ecf6; --gold: var(--accent);
  /* Victory Day: the event badge and the flag only (ivory on bottle green 5.72:1; never ivory text on the red, 3.45:1) */
  --event-surface: #006a4e; --on-event: #f5eedc; --event-mark: #f42a41; --v-red: #f42a41; --v-green: #006a4e;
  --focus: var(--accent-hi);
  --brass-text: linear-gradient(180deg, #f8ecc6 0%, var(--accent-hi) 38%, var(--accent) 100%);
  --depth-1: 0 6px 14px rgb(var(--shade-rgb) / .45);
  --depth-2: 0 14px 32px -8px rgb(var(--shade-rgb) / .55);
  --depth-3: 0 4px 10px -3px rgb(var(--shade-rgb) / .4);
  /* the one text shadow for words over the lake (the scrim carries the contrast; this only settles the edges) */
  --ts: 0 1px 3px rgb(var(--shade-rgb) / .85);
  /* quiet lacquer: warmth and depth, no grain, no coloured light */
  --teak: none;
  --grain: none;
  --lac:
    radial-gradient(120% 90% at 15% 0%, rgb(240 221 165 / .035), transparent 65%),
    linear-gradient(160deg, var(--surface-2), var(--surface-1) 72%);
  --lac-shadow:
    inset 0 12px 24px -18px rgb(245 238 220 / .10),
    inset 0 -18px 28px -22px rgb(2 1 0 / .55),
    0 14px 36px -10px rgb(2 1 0 / .60);
  --lac-s: linear-gradient(165deg, var(--surface-3), var(--surface-2));
  --lac-s-shadow: 0 5px 12px -4px rgb(2 1 0 / .50);
  /* recessed wells inside the lacquer: one soft inner shadow */
  --well: inset 0 2px 8px rgb(var(--shade-rgb) / .5);
  /* a শাপলা (water lily, the national flower) beside the sign-up heading: brass petals on a lily-pad green */
  --shapla: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cellipse cx='16' cy='21.6' rx='11' ry='2' fill='%234f7458'/%3E%3Cpath fill='%23b58e45' d='M16 19.5C10 19.5 4 16.6 1 11.5c6 0 11 3 15 8zM16 19.5c6 0 12-2.9 15-8-6 0-11 3-15 8z'/%3E%3Cpath fill='%23d6b465' d='M16 19C11 17 8 12 8 5.5c4.5 2 7.5 7 8 13.5zM16 19c5-2 8-7 8-13.5-4.5 2-7.5 7-8 13.5z'/%3E%3Cpath fill='%23f0dda5' d='M16 1c3.2 5 3.4 12.5 0 18-3.4-5.5-3.2-13 0-18z'/%3E%3C/svg%3E");
  --f-display: 'Galada', 'Anek Bangla', cursive;
  --f-body: 'Anek Bangla', 'Hind Siliguri', 'Noto Sans Bengali', 'Nirmala UI', system-ui, sans-serif;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
html:lang(en) { --f-display: 'River Adventurer', 'Anek Bangla', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--surface-0); font-synthesis-weight: none; }
body {
  position: relative; margin: 0; min-height: 100vh; min-height: 100svh; background: transparent; color: var(--ink-1);
  font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html:lang(en) body { line-height: 1.5; }
[hidden] { display: none !important; }
a { color: var(--accent-hi); }
button, input { font: inherit; color: inherit; }
b, strong { font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 9; padding: 10px 16px; border-radius: 12px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
h1, h2, h3, .hook, .lede, .muted, .terms, .foot p, .story { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

/* ---- keyboard focus: no ring. The focused control fills with pale brass and takes dark ink, lifted a little. */
:focus, :focus-visible { outline: none; }
.lang:focus-visible, .btn:focus-visible, .chip:focus-visible, .link:focus-visible, .poster:focus-visible, .skip:focus-visible, .row input:focus-visible {
  background: var(--accent-hi); color: var(--on-accent); text-shadow: none; text-decoration-color: currentColor;
  box-shadow: 0 10px 22px -6px rgb(var(--shade-rgb) / .8);
}
.btn:focus-visible { transform: translateY(-1px); }
.chip:focus-visible svg { color: var(--on-accent); }
.chip:focus-visible .hole { fill: var(--accent-hi); }
.row input:focus-visible::placeholder { color: rgb(27 20 10 / .7); }

/* ---- the timelapse: fixed behind everything; the frames crossfade (opacity only, on the compositor) */
.tl { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: #2a2433; }
.tl .f { position: absolute; inset: 0; opacity: 0; transition: opacity 3.2s ease-in-out; }
.tl .f.on { opacity: 1; }
.tl img, .tl video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.tl video.f { transition-duration: 1.6s; }
/* the scrim: the header and the headline read on any frame; under the hero the page sinks into the teak */
.scrim {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(var(--surface0-rgb) / .7) 0, rgb(var(--surface0-rgb) / .6) 30%, rgb(var(--surface0-rgb) / .56) 60%, rgb(var(--surface0-rgb) / .6) 80%, rgb(var(--surface0-rgb) / .7) 100%);
}
@media (max-width: 899px) {
  /* below the hero: about 60% teak, rising to 88% at the foot of the page (over the fixed scrim) */
  main { position: relative; }
  main::before {
    content: ''; position: absolute; z-index: -1; grid-row: 2 / auto; left: 0; right: 0; top: -36px; bottom: -26px; pointer-events: none;
    background: linear-gradient(180deg, transparent 0, rgb(var(--surface0-rgb) / .1) 36px, rgb(var(--surface0-rgb) / .62) 100%);
  }
  .foot { background: rgb(var(--surface0-rgb) / .62); margin-top: 0 !important; padding-top: 26px !important; max-width: none !important; }
}
@media (min-width: 900px) {
  .scrim { background:
    linear-gradient(90deg, rgb(var(--surface0-rgb) / .84) 0, rgb(var(--surface0-rgb) / .66) 40%, rgb(var(--surface0-rgb) / .2) 64%, rgb(var(--surface0-rgb) / .3) 100%),
    linear-gradient(180deg, rgb(var(--surface0-rgb) / .5) 0, transparent 22%, transparent 60%, rgb(var(--surface0-rgb) / .85) 100%); }
}

/* ---- Victory Day: one small, still brass burst over the lake, away from words and controls (desktop only) */
.sky { display: none; }
@media (min-width: 900px) {
  .sky { display: block; position: absolute; z-index: -1; top: 96px; left: calc(50% + 236px); width: 72px; height: 72px; color: var(--accent); opacity: .18; pointer-events: none; }
}
.lite .sky { display: none; }

/* ---- header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1160px; margin: 0 auto; padding: 10px 16px 0; padding-top: max(10px, env(safe-area-inset-top)); }
.mark { font: 400 30px/1.2 var(--f-display); color: var(--accent-hi); text-shadow: var(--ts); }
html:lang(en) .mark { font-size: 26px; letter-spacing: .02em; }
.lang {
  border: 0; cursor: pointer; padding: 8px 18px; min-height: 44px; min-width: 44px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: rgb(27 23 19 / .82); color: var(--ink-1); box-shadow: var(--depth-1);
}
.lang:hover { background: var(--surface-4); }

main { max-width: 1160px; margin: 0 auto; padding: 0 16px; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }

/* ---- hero: the headline, the launch date, the offer */
.hero { padding: 14px 0 2px; }
.hero-title, .hook, .lede, .story, .date-m, .clock-label { text-shadow: var(--ts); }
.eyebrow { display: inline-block; margin: 0 0 10px; padding: 4px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: rgb(27 23 19 / .82); box-shadow: var(--depth-3); text-shadow: none; }
h1 { margin: 0; font: 400 clamp(36px, 10vw, 64px)/1.18 var(--f-display); color: var(--ink-1); }
html:lang(en) h1 { font-size: clamp(34px, 9.2vw, 62px); line-height: 1.08; letter-spacing: .01em; }

/* the date: ১৬ ডিসেম্বর ২০২৬, the only other display lettering; the event badge and the flag under it; one line of invitation */
.vday { margin-top: 14px; }
.vday p { margin: 0; }
.date { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; line-height: 1.15; }
.date-d, .date-m { font-family: var(--f-display); font-weight: 400; }
.date-d { font-size: 56px; line-height: 1; padding: 0 2px; background: var(--brass-text); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 2px rgb(var(--shade-rgb) / .85)); }
.date-m { font-size: 30px; color: var(--ink-1); }
html:lang(en) .date-d { font-size: 50px; }
html:lang(en) .date-m { font-size: 28px; letter-spacing: .02em; }
.date-tag { display: flex; align-items: center; gap: 10px; margin-top: 10px !important; }
.event { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--on-event); background: var(--event-surface); box-shadow: var(--depth-3); }
.flag { display: block; flex: none; width: 30px; height: 18px; border-radius: 2px; box-shadow: 0 2px 6px rgb(var(--shade-rgb) / .6); }
.story { margin-top: 8px !important; max-width: 30em; font-size: 16px; font-weight: 500; color: var(--ink-1); }

/* the offer, the pearl in its shell beside it */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; margin-top: 16px; }
.hook { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--ink-1); }
.hook-n { display: block; font-size: 40px; line-height: 1.1; margin-top: 2px; font-variant-numeric: tabular-nums; }
.hook-b { display: block; font-size: 20px; line-height: 1.25; }
.hook b { font-weight: 600; color: var(--accent-hi); }
.pearl-art { margin: 0 -4px 0 0; width: 112px; }
.pearl-art img { display: block; width: 100%; height: auto; }

/* ---- countdown: quiet tiles */
.clock { min-width: 0; }
.clock-label { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.cd li { position: relative; padding: 8px 2px 6px; text-align: center; background: var(--lac-s); background-size: auto; box-shadow: var(--lac-s-shadow); border-radius: 12px; min-width: 0; }
.cd b { display: block; font-size: 26px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; background: none; color: var(--accent-hi); filter: none; }
.cd span { display: block; margin-top: 1px; font-size: 13px; font-weight: 400; color: var(--ink-2); white-space: nowrap; }
.launched { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--lac-s); box-shadow: var(--lac-s-shadow); font-weight: 600; color: var(--accent-hi); }

.lede { margin: 0; max-width: 34em; font-size: 16px; color: var(--ink-1); }

/* ---- cards: quiet lacquer, lit softly from above; depth, never lines */
.card { position: relative; isolation: isolate; padding: 24px 18px 20px; background: var(--lac); background-size: auto; background-repeat: no-repeat; box-shadow: var(--lac-shadow); border-radius: 22px; }
.card::after { display: none; }
.card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 600 22px/1.3 var(--f-body); color: var(--accent-hi); }
.join-h::before { content: ''; flex: none; width: 34px; height: 26px; background: var(--shapla) center / contain no-repeat; }
.card h3 { margin: 0 0 2px; font-size: 18px; font-weight: 600; }
.muted { margin: 4px 0; color: var(--ink-2); font-size: 15px; }
.join:focus { outline: none; }

/* the live count under the sign-up heading: support for the action, not a rival to it */

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px;
  border: 0; border-radius: 14px; cursor: pointer; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, #e2c681, var(--accent) 45%, var(--accent-lo)); color: var(--on-accent);
  box-shadow: inset 0 10px 14px -10px rgb(255 246 220 / .55), inset 0 -10px 14px -10px rgb(var(--shade-rgb) / .35), var(--depth-1);
  transition: transform .12s var(--ease-out), filter .12s, box-shadow .12s;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); filter: brightness(.94); box-shadow: inset 0 10px 14px -10px rgb(255 246 220 / .4), inset 0 -10px 14px -10px rgb(var(--shade-rgb) / .35), var(--depth-3); }
.btn:disabled { cursor: default; filter: grayscale(.5) brightness(.88); }
.btn.ghost { background: var(--surface-3); color: var(--ink-1); box-shadow: var(--depth-3); }
.btn.ghost:hover { background: var(--surface-4); }
/* the registration button: the strongest brass on the page */
.google { width: 100%; min-height: 60px; font-size: 18px; box-shadow: inset 0 12px 16px -12px rgb(255 246 220 / .6), inset 0 -12px 16px -12px rgb(var(--shade-rgb) / .4), 0 12px 26px -8px rgb(var(--shade-rgb) / .7); }
.google .g { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(var(--shade-rgb) / .35); }
.link { display: inline-flex; align-items: center; border: 0; margin: 0 -10px; padding: 8px 10px; border-radius: 10px; background: none; cursor: pointer; color: var(--accent-hi); text-decoration: underline; text-underline-offset: 4px; font-size: 15px; min-height: 44px; text-align: left; }
.link.small { font-size: 14px; }

.email { margin-top: 6px; }
.email-form label { display: block; margin: 2px 0 6px; font-size: 14px; color: var(--ink-2); }
.row { display: flex; gap: 8px; align-items: stretch; }
.row input {
  flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; border: 0; border-radius: 12px; font-size: 16px;
  background: var(--surface-0); color: var(--ink-1); box-shadow: var(--well);
}
.row input::placeholder { color: var(--ink-3); }
.ts { margin-top: 10px; min-height: 65px; }
.terms, #note-text, .invite, .items li, .pack-top, .ms .ic { box-shadow: var(--well); }
.terms { display: flex; gap: 8px; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: rgb(0 0 0 / .26); font-size: 14px; color: var(--ink-2); }
.terms::before { content: '✦'; color: var(--accent); }
/* the consent line under the Google button: quiet, but its two links are real tap targets */
.consent { margin: 10px 2px 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.consent a, .foot a { color: var(--accent-hi); text-underline-offset: 3px; border-radius: 6px; }
.consent a:focus-visible, .foot a:focus-visible { background: var(--accent-hi); color: var(--on-accent); text-decoration: none; }

/* link sent */
.sent { text-align: center; padding: 4px 0 0; }
.sent-ic { width: 64px; height: 64px; filter: drop-shadow(0 6px 10px rgb(var(--shade-rgb) / .6)); }
.sent-h { margin: 6px 0 0; font-size: 21px; font-weight: 600; color: var(--accent-hi); }
.sent-to { margin: 2px 0 6px; font-weight: 600; overflow-wrap: anywhere; }
.sent .link { justify-content: center; }

/* signed in */
.founder { display: flex; align-items: center; gap: 14px; }
.seal { width: 76px; height: 76px; flex: none; filter: drop-shadow(0 6px 10px rgb(var(--shade-rgb) / .6)); animation: settle .9s var(--ease-out) both; }
.you { margin: 0; font-size: 17px; color: var(--ink-2); }
.no { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent-hi); }
.in-sub { margin: 10px 0 0; }
.invite { margin-top: 16px; padding: 14px 14px 16px; border-radius: 16px; background: rgb(0 0 0 / .26); }
.pips { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin: 10px 0 4px; }
.pips i { height: 10px; border-radius: 3px; background: var(--surface-0); box-shadow: inset 0 1px 3px rgb(var(--shade-rgb) / .9); }
.pips i:first-child { border-radius: 6px 3px 3px 6px; } .pips i:last-child { border-radius: 3px 6px 6px 3px; }
.pips i.on { background: linear-gradient(180deg, var(--accent-hi), var(--accent) 60%, var(--accent-lo)); box-shadow: none; }
.invited { margin: 2px 0 10px; font-weight: 600; color: var(--ink-1); }
#invite-link { font-size: 14px; }
.signed { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin: 12px 0 0; font-size: 14px; color: var(--ink-3); overflow-wrap: anywhere; }

.note { margin-top: 4px; }
.note p { margin: 0; }
#note-text { padding: 12px 14px; border-radius: 12px; background: rgb(0 0 0 / .3); }
.note.err #note-text { color: var(--ink-1); background: linear-gradient(90deg, rgb(var(--danger-rgb) / .18), rgb(0 0 0 / .3) 40%); }
.note-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.note-actions:empty { display: none; }
#s-out + .note, #s-in + .note, #s-sent + .note { margin-top: 14px; }
.busy { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; color: var(--ink-2); }
.spin { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(var(--accent-hi), transparent 70%); -webkit-mask: radial-gradient(circle, transparent 5px, #000 6px); mask: radial-gradient(circle, transparent 5px, #000 6px); animation: turn .9s linear infinite; }

/* share: set apart by a step down in the lacquer, not a rule */
.share { margin: 18px -18px -20px; padding: 16px 18px 20px; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, rgb(0 0 0 / .24), rgb(0 0 0 / .1)); box-shadow: inset 0 10px 14px -10px rgb(0 0 0 / .55); }
.share-h { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-1); background: var(--surface-3); box-shadow: var(--depth-3); }
.chip:hover { background: var(--surface-4); }
.chip:hover .hole { fill: var(--surface-4); }
.chip svg { width: 20px; height: 20px; flex: none; color: var(--accent-hi); }
.chip .hole { fill: var(--surface-3); }

/* pack: the pearl in its shell, then the four keepsakes */
.pack-top { display: flex; align-items: center; gap: 14px; margin: 10px 0 12px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgb(0 0 0 / .24); }
.pack-pearl { width: 88px; height: auto; flex: none; }
.pack-n { display: block; font-size: 28px; line-height: 1.2; font-weight: 600; color: var(--pearl); }
.pack-when { font-size: 14px; color: var(--ink-2); }
.items { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 8px; }
.items li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 30px 10px 12px; border-radius: 14px; background: rgb(0 0 0 / .22); line-height: 1.35; }
/* ✦ marks the one-time keepsakes (never offered again); the pearls carry no star, they can be earned in play */
.items li::after { content: '✦'; position: absolute; top: 7px; right: 10px; font-size: 14px; line-height: 1; color: var(--accent-hi); text-shadow: 0 0 8px rgb(var(--accent-rgb) / .55); }
.items svg { width: 30px; height: 30px; flex: none; }
.pack-note { display: flex; align-items: center; gap: 8px; color: var(--accent-hi); font-weight: 600; }
.pack-note::before { content: '✦'; flex: none; color: var(--accent); }

/* milestones: a brass line filling toward each goal, a pearl at its head */
.rope { position: relative; height: 10px; margin: 14px 4px 4px; border-radius: 6px; background: var(--surface-0); box-shadow: inset 0 1px 3px rgb(var(--shade-rgb) / .95); }
.rope i { position: relative; display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(180deg, var(--accent-hi), var(--accent) 50%, var(--accent-lo)); transition: width 1.2s var(--ease-out); }
.rope i::after { content: ''; position: absolute; right: -7px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #fff, var(--pearl) 40%, #c8b9cf 100%); box-shadow: 0 2px 4px rgb(0 0 0 / .6); }
.ms { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ms li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: 'ic at state' 'ic what what'; column-gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgb(var(--ink-rgb) / .04); box-shadow: var(--depth-3); }
.ms .ic { grid-area: ic; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(0 0 0 / .3); }
.ms .ic svg, .ms .ic img { width: 30px; height: auto; }
.ms .ic svg.flag { height: 18px; border-radius: 1.5px; box-shadow: none; }
.ms .at { grid-area: at; font-weight: 600; color: var(--accent-hi); font-variant-numeric: tabular-nums; }
.ms .what { grid-area: what; color: var(--ink-1); line-height: 1.35; }
.ms .state { grid-area: state; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.ms li.done { background: linear-gradient(90deg, rgb(var(--ok-rgb) / .16), rgb(var(--ink-rgb) / .03) 70%); }
.ms li.done .state { color: var(--ok); font-weight: 600; }
.ms li.next { background: linear-gradient(90deg, rgb(var(--accent-rgb) / .14), rgb(var(--ink-rgb) / .03) 70%); }
.ms li.next .state { color: var(--accent-hi); font-weight: 600; }

/* trailer */
.poster { position: relative; display: grid; place-items: center; gap: 8px; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; cursor: pointer; color: var(--ink-1); font-weight: 600;
  background: linear-gradient(180deg, rgb(var(--surface0-rgb) / .1), rgb(var(--surface0-rgb) / .7)), url(bazar-3-720.webp) center / cover; box-shadow: var(--depth-1); }
.play { width: 64px; height: 64px; border-radius: 50%; background: var(--plaque); box-shadow: var(--depth-2); position: relative; }
.play::after { content: ''; position: absolute; left: 25px; top: 20px; border: 12px solid transparent; border-left: 18px solid var(--on-plaque); border-right: 0; }
.trailer iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }

.foot { max-width: 1160px; margin: 26px auto 0; padding: 0 16px 36px; padding-bottom: max(36px, env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink-3); }
.foot p { margin: 0 0 10px; max-width: 64em; }
.where { color: var(--ink-2); }
.tod { display: inline-block; margin-right: 6px; padding: 4px 10px; line-height: 1.5; border-radius: 999px; font-weight: 600; color: var(--on-accent); background: var(--accent); }
.demo { color: var(--accent-hi) !important; font-weight: 600; }
/* the legal pages, which stay up after this page gives way to the game */
.legal { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 4px -10px 0; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: 10px; color: var(--ink-1); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(var(--accent-rgb) / .6); text-underline-offset: 4px; }
.legal a:hover { color: var(--accent-hi); }

/* ---- wider screens */
@media (min-width: 600px) {
  .pearl-art { width: 140px; }
  .hero { padding-top: 28px; }
  .hook { font-size: 19px; }
  .hook-n { font-size: 44px; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .date-d { font-size: 72px; }
  .date-m { font-size: 38px; }
  html:lang(en) .date-d { font-size: 62px; }
  html:lang(en) .date-m { font-size: 34px; }
}
@media (min-width: 900px) {
  .top { padding-top: 18px; }
  /* first screen: headline, date, offer, countdown and the lede on the left; the pearl over the sign-up card on the
     right, the card's top level with the offer. Row 6 is a spring: a tall sign-up card stretches it, not the gaps.
     Below it the pack and the milestones side by side. */
  main { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: repeat(5, auto) 1fr auto auto; column-gap: 40px; row-gap: 0; align-items: start; }
  .hero, .offer { display: contents; }
  .hero-title { grid-column: 1; grid-row: 1; padding-top: 64px; }
  .vday { grid-column: 1; grid-row: 2; margin-top: 22px; }
  .hook { grid-column: 1; grid-row: 3; margin-top: 30px; }
  .pearl-art { grid-column: 2; grid-row: 1 / span 2; width: 260px; justify-self: center; align-self: end; margin: 0 0 -40px; position: relative; z-index: 1; }
  .join { grid-column: 2; grid-row: 3 / span 4; align-self: start; margin: 30px 0 44px; }
  .clock { grid-column: 1; grid-row: 4; margin-top: 28px; }
  .lede { grid-column: 1; grid-row: 5; margin: 22px 0 44px; }
  .pack { grid-column: 1; grid-row: 7; }
  .miles { grid-column: 2; grid-row: 7; }
  .pack, .miles { align-self: stretch; }
  .trailer { grid-column: 1 / -1; grid-row: 9; margin-top: 24px; }
  .cd { max-width: 440px; gap: 10px; }
  .cd b { font-size: 30px; }
  .hook { font-size: 21px; }
  .hook-n { font-size: 48px; }
  .hook-b { font-size: 22px; }
  .lede { font-size: 17px; }
  .story { font-size: 17px; }
  .card { padding: 28px 26px 24px; }
  .share { margin: 20px -26px -24px; padding: 18px 26px 24px; }
  .items { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1100px) {
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- motion: only the spinner, the seal settling once, and press feedback; none of it under reduced motion */
@keyframes turn { to { transform: rotate(1turn); } }
@keyframes settle { from { transform: scale(.6) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:focus-visible, .btn:active { transform: none; }
}

/* the waiting count: its own harbour board at the top of the sign-up card */
.live { margin: -4px 0 18px; padding: 14px 16px 14px; border-radius: 16px; background: radial-gradient(120% 140% at 0% 0%, rgb(var(--accent-rgb) / .10), transparent 55%), linear-gradient(165deg, rgb(0 0 0 / .34), rgb(0 0 0 / .18)); box-shadow: inset 0 3px 12px rgb(0 0 0 / .5), inset 0 -10px 18px -14px rgb(var(--accent-rgb) / .25); }
.live.off { display: none; }
.live-fleet { display: flex; gap: 6px; margin: 0 0 6px; color: var(--accent); }
.live-fleet svg { width: 28px; height: 18px; fill: currentColor; }
.live-fleet svg:nth-child(2) { opacity: .8; } .live-fleet svg:nth-child(3) { opacity: .62; } .live-fleet svg:nth-child(4) { opacity: .45; } .live-fleet svg:nth-child(5) { opacity: .3; }
.live-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin: 0; }
.live-n { font-size: 34px; font-weight: 600; line-height: 1.15; color: var(--accent-hi); font-variant-numeric: tabular-nums lining-nums; text-shadow: 0 2px 10px rgb(var(--accent-rgb) / .25); }
.live-t { font-size: 16px; font-weight: 600; color: var(--ink-1); }
.live-next { display: grid; gap: 6px; margin-top: 10px; }
.live-bar { display: block; height: 8px; border-radius: 99px; background: rgb(0 0 0 / .42); box-shadow: inset 0 1px 3px rgb(0 0 0 / .6); overflow: hidden; }
.live-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-lo), var(--accent-hi)); transition: width .8s ease; }
.live-goal { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .live-n { font-size: 40px; } }
@media (prefers-reduced-motion: reduce) { .live-bar i { transition: none; } }

/* the "registration is on" pill: a live dot that blinks (owner, 23 Nov); still under reduced motion */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgb(74 222 128 / .55); animation: gk-live 1.6s ease-in-out infinite; }
@keyframes gk-live {
  0%   { opacity: 1;   box-shadow: 0 0 0 0 rgb(74 222 128 / .55); }
  55%  { opacity: .35; box-shadow: 0 0 0 7px rgb(74 222 128 / 0); }
  100% { opacity: 1;   box-shadow: 0 0 0 0 rgb(74 222 128 / 0); }
}
@media (prefers-reduced-motion: reduce) { .eyebrow::before { animation: none; } }

/* the "registration is on" status lives in the waiting board's top row, beside the fleet: a quiet status line,
   not a floating pill above the headline (owner, 23 Nov) */
.live-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.live-top .live-fleet { margin: 0; }
.live .eyebrow { margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; font-size: 13px; font-weight: 600; letter-spacing: 0; color: #86efac; white-space: nowrap; gap: 7px; }
.live .eyebrow::before { width: 7px; height: 7px; }
@media (max-width: 400px) { .live-top .live-fleet svg:nth-child(n+4) { display: none; } }
@media (max-width: 340px) { .live-top .live-fleet svg:nth-child(n+3) { display: none; } }
.live-top { min-width: 0; } .live-top .live-fleet { flex: 0 1 auto; min-width: 0; overflow: hidden; }

/* ---- the legal popup (app.js docSetup): /privacy/, /terms/ and /delete/ open here, read from those pages themselves.
   A full-screen sheet on phones, a centred lacquer card from 600 px. Its text uses the legal pages' own font cut
   (public/privacy/fonts/, fetched only when the popup opens), since this page's cut holds only this page's words. */
@font-face { font-family: 'Anek Legal'; src: url(/privacy/fonts/anek-400.woff2) format('woff2'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Anek Legal'; src: url(/privacy/fonts/anek-600.woff2) format('woff2'); font-weight: 600 800; font-display: swap; }
html.sheet-on { overflow: hidden; }
.sheet {
  padding: 0; border: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none;
  background: var(--lac), var(--surface-1); color: var(--ink-1); box-shadow: var(--lac-shadow);
}
.sheet::backdrop { background: rgb(var(--shade-rgb) / .72); }
.sheet[open] { display: flex; }
.sheet-in { display: flex; flex-direction: column; width: 100%; min-height: 0; flex: 1; }
.sheet-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: var(--surface-2); box-shadow: 0 8px 18px -10px rgb(var(--shade-rgb) / .8);
}
.sheet-h { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--accent-hi); min-width: 0; }
.sheet-x { flex: none; min-height: 44px; padding: 8px 16px; }
.sheet-body {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: 6px 16px 28px; padding-bottom: max(28px, env(safe-area-inset-bottom));
  font: 400 15.5px/1.7 'Anek Legal', var(--f-body); overflow-wrap: break-word;
}
.sheet-body:focus { outline: none; }
.sheet-wait, .sheet-err { color: var(--ink-2); margin: 18px 0; }
@media (min-width: 600px) {
  .sheet { width: min(760px, calc(100% - 48px)); height: auto; max-height: min(86vh, 900px); margin: auto; border-radius: 22px; }
  .sheet-top { padding: 14px 22px; border-radius: 22px 22px 0 0; }
  .sheet-body { padding: 8px 22px 28px; }
}
/* the copied article: the legal pages' layout, in miniature */
.doc-copy .sub { margin: 10px 0 0; color: var(--ink-2); }
.doc-copy .updated { display: inline-block; margin: 8px 0 0; padding: 3px 12px; border-radius: 999px; background: var(--surface-0); color: var(--ink-2); font-size: 13.5px; box-shadow: var(--well); }
.doc-copy .gist, .doc-copy .toc, .doc-copy .box { margin: 14px 0; padding: 12px 14px; border-radius: 14px; background: rgb(0 0 0 / .26); box-shadow: var(--well); }
.doc-copy .gist h2, .doc-copy .toc h2 { margin: 0 0 4px; font-size: 16px; color: var(--accent-hi); }
.doc-copy .toc ol { columns: 2 200px; column-gap: 24px; }
.doc-copy .toc li { break-inside: avoid; }
.doc-copy section { margin: 22px 0 0; }
.doc-copy section > h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.35; color: var(--accent-hi); }
.doc-copy h3 { margin: 14px 0 4px; font-size: 16px; }
.doc-copy p { margin: 8px 0; }
.doc-copy ul, .doc-copy ol { margin: 8px 0; padding-left: 1.3em; }
.doc-copy li { margin: 4px 0; }
.doc-copy li::marker { color: var(--accent); }
.doc-copy .muted { color: var(--ink-2); }
.doc-copy a { color: var(--accent-hi); text-underline-offset: 3px; border-radius: 6px; }
.doc-copy a:focus-visible { background: var(--accent-hi); color: var(--on-accent); text-decoration: none; }
.doc-copy code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--surface-0); overflow-wrap: anywhere; }
.doc-copy .star { color: var(--accent); }
.doc-copy .contact { font-weight: 600; }
.doc-copy .contact.todo { color: var(--accent-hi); }
.doc-copy .steps { counter-reset: s; list-style: none; padding: 0; }
.doc-copy .steps li { counter-increment: s; position: relative; padding-left: 38px; margin: 10px 0; }
.doc-copy .steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 14px; line-height: 1; background: var(--accent); color: var(--on-accent); }
.doc-copy .tbl { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.doc-copy .tbl th { text-align: left; font-size: 13.5px; color: var(--ink-2); padding: 0 10px; font-weight: 600; }
.doc-copy .tbl td { vertical-align: top; padding: 8px 10px; background: rgb(0 0 0 / .26); }
.doc-copy .tbl td:first-child { border-radius: 10px 0 0 10px; font-weight: 600; }
.doc-copy .tbl td:last-child { border-radius: 0 10px 10px 0; color: var(--ink-2); }
@media (max-width: 599px) {
  .doc-copy .tbl thead { display: none; }
  .doc-copy .tbl, .doc-copy .tbl tbody, .doc-copy .tbl tr, .doc-copy .tbl td { display: block; width: 100%; }
  .doc-copy .tbl tr { margin: 0 0 6px; border-radius: 10px; overflow: hidden; background: rgb(0 0 0 / .26); }
  .doc-copy .tbl td { border-radius: 0 !important; background: none; padding: 6px 10px; }
}

/* the terms tick under the Google button (owner, 23 Nov): a recessed lacquer box that fills brass when ticked; no
   outline anywhere; the whole row is the tap target, the two links inside open their popups without ticking */
.agree { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 12px 2px 0; padding: 8px 0; min-height: 44px; cursor: pointer; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.agree input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.agree .box { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; background: rgb(0 0 0 / .45); box-shadow: inset 0 2px 6px rgb(0 0 0 / .65); transition: background .15s ease, box-shadow .15s ease; }
.agree .box::after { content: '✓'; font-size: 17px; font-weight: 700; line-height: 1; color: var(--on-accent); opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.agree input:checked + .box { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); box-shadow: 0 2px 8px rgb(0 0 0 / .45); }
.agree input:checked + .box::after { opacity: 1; transform: none; }
.agree input:focus-visible + .box { background: var(--accent-hi); }
.agree.need .box { background: rgb(var(--plaque-rgb) / .45); animation: agree-shake .42s ease; }
.agree-need { margin: 0 2px 4px 40px; font-size: 13.5px; font-weight: 600; color: var(--danger); }
@keyframes agree-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .agree.need .box { animation: none; } .agree .box, .agree .box::after { transition: none; } }

/* what the game is (owner, 23 Nov: "you never say it's a game"): a line under the headline, and a section of six tiles */
.what { margin: 10px 0 0; font-size: 16.5px; font-weight: 600; line-height: 1.5; color: var(--ink-1); text-shadow: var(--ts); }
.about h2 { margin: 0 0 6px; }
.about-p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.6; }
.feats { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feats li { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; background: rgb(0 0 0 / .22); box-shadow: var(--well); }
.feats svg { flex: none; width: 34px; height: 34px; }
.feats b { display: block; color: var(--ink-1); font-weight: 600; line-height: 1.35; }
.feats span > span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.about-foot { margin: 14px 2px 0; font-size: 14px; color: var(--ink-3); }
@media (min-width: 600px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .what { font-size: 19px; }
  .about { grid-column: 1; grid-row: 6; align-self: start; margin: 0 0 44px; }
}

/* community (owner, 23 Nov): the Discord for feedback, ideas, problems and questions */
.community { display: grid; gap: 14px; }
.community p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.cm-btn { justify-self: start; text-decoration: none; }
.cm-btn svg { width: 22px; height: 22px; flex: none; }
@media (min-width: 900px) {
  .community { margin-top: 24px; grid-column: 1 / -1; grid-row: 8; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 28px; }
  .cm-btn { justify-self: end; }
}

/* Google's own sign-in button (owner, 23 Nov: the Google window must name Go Kaptai's site, not the Supabase address).
   It stands alone (Google's own look), full width; until the terms are ticked a clear shield over it asks for the tick instead. */
.gsi { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 48px; border-radius: 999px; }
.gsi-btn { display: grid; place-items: center; min-height: 44px; width: 100%; min-width: 0; overflow: hidden; border-radius: 999px; }
.gsi-shield { position: absolute; inset: 0; z-index: 2; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.gsi-shield[hidden] { display: none; }

/* the background's play/pause button: small, quiet, out of the way (bottom right, clear of the home bar) */
.bgplay { position: static; flex: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: var(--ink-1); background: rgb(var(--surface0-rgb) / .72); box-shadow: 0 8px 20px -8px rgb(0 0 0 / .7); backdrop-filter: blur(6px); }
.bgplay svg { width: 20px; height: 20px; }
.bgplay[data-state="play"] .i-pause, .bgplay[data-state="pause"] .i-play { display: none; }
.bgplay:hover { background: rgb(var(--surface0-rgb) / .86); }
.bgplay:focus-visible { background: var(--accent-hi); color: var(--on-accent); }

/* the live view (owner, 24 Nov: "too dark"): while the video plays, the tint over it is much lighter; the dark stays
   only where text sits (the top bar, and the cards, which carry their own lacquer) */
.scrim { transition: background 1.6s ease; }
html.tl-live .scrim {
  background: linear-gradient(180deg, rgb(var(--surface0-rgb) / .5) 0, rgb(var(--surface0-rgb) / .22) 18%, rgb(var(--surface0-rgb) / .1) 45%, rgb(var(--surface0-rgb) / .18) 75%, rgb(var(--surface0-rgb) / .42) 100%);
}
@media (min-width: 900px) {
  /* desktop: the copy is on the left, so the left keeps a soft shade and the lake on the right stays bright */
  html.tl-live .scrim { background: linear-gradient(90deg, rgb(var(--surface0-rgb) / .5) 0, rgb(var(--surface0-rgb) / .3) 38%, rgb(var(--surface0-rgb) / .06) 62%, rgb(var(--surface0-rgb) / .04) 100%), linear-gradient(180deg, rgb(var(--surface0-rgb) / .3) 0, transparent 22%); }
}
html.tl-live h1, html.tl-live .what, html.tl-live .date { text-shadow: 0 2px 14px rgb(0 0 0 / .55), 0 1px 3px rgb(0 0 0 / .5); }

/* "১৬" in the flag's colours (owner, 24 Nov): cream-white digits with a deep flag-green edge, over the flag's red sun */
.date-d { position: relative; isolation: isolate; padding: 0 6px; background: none; -webkit-background-clip: border-box; background-clip: border-box;
  color: #fffaf0; filter: none; -webkit-text-stroke: 0;
  text-shadow: 0 3px 0 #006a4e, 0 -1px 0 #006a4e, 2px 0 0 #006a4e, -2px 0 0 #006a4e, 0 6px 14px rgb(0 0 0 / .55); }
.date-d::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 52%; width: .96em; height: .96em; border-radius: 50%;
  transform: translate(-50%, -50%); background: radial-gradient(circle at 38% 34%, #ff6b78 0%, #f42a41 46%, #b8182b 100%);
  box-shadow: 0 0 0 .06em #006a4e, 0 0 28px 4px rgb(244 42 65 / .4); }

/* Google's button (owner, 24 Nov: "make it colourful"): Google's own white button with its four-colour G, set in a
   warm brass glow that breathes slowly (still under reduced motion), so it is the brightest thing on the card */
.gsi { padding: 6px; background: radial-gradient(120% 160% at 50% 50%, rgb(240 221 165 / .38), rgb(214 180 101 / .16) 55%, transparent 75%);
  box-shadow: 0 0 0 1px rgb(240 221 165 / .0), 0 10px 30px -8px rgb(214 180 101 / .55); }
.gsi::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; pointer-events: none;
  background: conic-gradient(from 0deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4); opacity: .55; filter: blur(10px); }
@property --gk-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.gsi::before { background: conic-gradient(from var(--gk-a), #4285f4, #34a853, #fbbc05, #ea4335, #4285f4); filter: blur(8px); inset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .gsi::before { animation: gk-gsi-glow 6s linear infinite; }
  @keyframes gk-gsi-glow { to { --gk-a: 360deg; } }
}
.gsi { isolation: isolate; overflow: visible; }

/* phones only (owner, 24 Nov: "push the sky up a bit"): the background starts above the top of the screen, so less sky
   and more lake and ghat show behind the headline; desktops are unchanged */
@media (max-aspect-ratio: 1/1) and (max-width: 899px) {
  .tl .f { top: -16%; }
  .tl video.f { height: 116%; }
}
