/* SOL Survivor — "Pool Party" (BRAND_SPEC.md §6d, Chris, Sep 27 2026).
 *
 * Every value here is one of the §6d tokens, which were themselves taken from
 * existing assets (the pool scene's sand and sky, the Summit card's ink and
 * pool blue, the pylon's orange and its shaded face). Nothing is invented. The
 * design source is website-vision/sol-survivor-new-look/_source/b_common.py —
 * change a token there and here together, and record it in BRAND_SPEC.md.
 *
 * Light theme only: the page continues the pool scene down the whole screen.
 */
:root {
  --sand:#fcdaa1; --sky:#8ed9f4; --ink:#16241a; --ink2:#3b4a40; --pool:#0E5E80;
  --orange:#FF7426; --orange-shade:#D9591A;
  --alive:#0b6b47; --alive-bg:#d8f6ee; --out:#b8433c; --out-bg:#fde3e0;
  --tile:#eef8fb; --peach:#ffe6d6; --tg-ink:#9e4314;
  --row:#fffaf1; --row-line:#f1e2c4; --field-line:#e8d3ab; --disabled:#f5f1ea;
  --shadow:0 8px 24px rgba(14,94,128,.12);
  --sol-grad:linear-gradient(90deg,#9945FF,#8752F3,#5497D5,#43B4CA,#28E0B9,#19FB9B);
  color-scheme: light;
}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--sand);color:var(--ink);font-family:'Inter',system-ui,sans-serif;font-size:15px;
  -webkit-font-smoothing:antialiased;min-height:100vh}
a{color:var(--pool)} a:hover{color:#0a4660}
button{font-family:inherit}
[hidden]{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- the column. Designed at 390px; on a wide screen it stays a phone-width
   column centred on the sand, so the page reads the same everywhere. ---- */
.col{max-width:520px;margin:0 auto;padding:0 16px}

/* ---- header + nav, in the scene's sky ---------------------------------- */
.sky{background:var(--sky);padding-top:env(safe-area-inset-top,0px)}
.sky .bar{max-width:520px;margin:0 auto;height:56px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.wordmark{font-family:'Poppins',sans-serif;font-size:21px;letter-spacing:-0.03em;text-decoration:none;white-space:nowrap}
.wordmark .p{font-weight:700;color:var(--orange)} .wordmark .q{font-weight:400;color:var(--ink)}
.tabs{max-width:520px;margin:0 auto;padding:0 12px 8px;display:flex;gap:6px}
.tabs a{flex:1;height:40px;display:flex;align-items:center;justify-content:center;border-radius:999px;
  background:rgba(255,255,255,.7);color:var(--ink);text-decoration:none;font:800 13px 'Inter',sans-serif}
.tabs a[aria-current="page"]{background:var(--ink);color:#fff}
.back{height:40px;display:inline-flex;align-items:center;gap:4px;color:var(--ink);text-decoration:none;font:800 14px 'Inter',sans-serif}
.back svg{width:18px;height:18px}

/* ---- the pool scene. NEVER CROP THE ART (BRAND_SPEC, Sep 23): it keeps its
   exact ratio, capped by width, and any spare width is filled in the scene's
   own sky / horizon / sand so the edges continue. Stops measured off
   scene_pool.webp by render_page_scene.py. ---- */
.sceneband{background:linear-gradient(to bottom,#8ed9f4 0 28.1%,#eec07b 28.1% 30.2%,#fcdaa1 30.2% 100%)}
.scene{width:100%;max-width:min(1400px,calc(64vh * 2342 / 1100));margin:0 auto;aspect-ratio:2342/1100;
  background:url(/assets/survivor/scene_pool.webp) center/100% 100% no-repeat}

/* ---- type ---------------------------------------------------------------- */
.lockup{font-family:'Poppins',sans-serif;font-weight:800;letter-spacing:-0.03em;line-height:1;
  font-size:clamp(38px,12vw,56px);display:flex;gap:.26em;justify-content:center;flex-wrap:wrap}
.lockup .sol{background-image:var(--sol-grad);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.h1{margin:0;font-family:'Poppins',sans-serif;font-weight:800;letter-spacing:-0.03em;line-height:1.02;color:var(--ink)}
.h2{margin:0;font-family:'Poppins',sans-serif;font-weight:800;font-size:21px;letter-spacing:-0.02em;color:var(--ink)}
.big{font-family:'Poppins',sans-serif;font-weight:800;letter-spacing:-0.03em}
.kick{font:800 11px 'Inter',sans-serif;letter-spacing:.16em;color:var(--pool);text-transform:uppercase}
.dim{color:var(--ink2)}
.lede{margin:0;font-size:15px;line-height:1.5;color:var(--ink2)}
.small{font-size:12.5px;line-height:1.45;color:var(--ink2)}

/* ---- surfaces -------------------------------------------------------------- */
.card{padding:16px;border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.card.soft{background:rgba(255,255,255,.5);box-shadow:none}
.stack{display:flex;flex-direction:column;gap:12px}
.row{display:flex;align-items:center;gap:10px}
.between{display:flex;align-items:center;justify-content:space-between;gap:10px}
.section{margin-top:18px}
.band{background:var(--sky);position:relative;overflow:hidden}
.band .col{padding-top:18px;padding-bottom:22px}
.band .art{position:absolute;pointer-events:none}

/* ---- buttons: "pool-toy" — fully rounded, INK text (never white on orange;
   it fails contrast), a solid 6px drop in the shaded pylon face. ---- */
.btn{height:58px;display:flex;align-items:center;justify-content:center;width:100%;border:0;border-radius:999px;
  background:var(--orange);color:var(--ink);text-decoration:none;font-family:'Poppins',sans-serif;font-weight:800;
  font-size:18px;box-shadow:0 6px 0 var(--orange-shade);cursor:pointer;padding:0 20px;text-align:center}
.btn:hover{color:var(--ink);filter:brightness(1.04)}
.btn:active{transform:translateY(3px);box-shadow:0 3px 0 var(--orange-shade)}
.btn:disabled{opacity:.55;cursor:default;transform:none}
.btn.dark{height:50px;background:var(--ink);color:#fff;font:800 14px 'Inter',sans-serif;box-shadow:none}
.btn.dark:hover{color:#fff}
.btn.ghost{height:48px;background:transparent;border:2px solid var(--ink);color:var(--ink);font:800 14px 'Inter',sans-serif;box-shadow:none}
.btn.mini{width:auto;height:36px;padding:0 14px;font:800 12px 'Inter',sans-serif;flex-shrink:0}
.link{font:700 14px 'Inter',sans-serif;text-align:center;padding:6px 0;display:block}
:focus-visible{outline:3px solid var(--pool);outline-offset:2px}

/* ---- chips -------------------------------------------------------------- */
.chip{display:inline-block;padding:4px 10px;border-radius:999px;font:900 10px 'Inter',sans-serif;letter-spacing:.1em;white-space:nowrap}
.chip.alive{background:var(--alive-bg);color:var(--alive)}
.chip.out{background:var(--out-bg);color:var(--out)}
.chip.open{background:var(--peach);color:var(--tg-ink)}
.chip.saved{background:var(--tile);color:var(--pool)}
.chip.tg{background:var(--peach);color:var(--tg-ink)}
.chip.xmas{background:var(--alive-bg);color:var(--alive)}
.chip.wait{background:#fff3c4;color:#7a5a00}
.chips{display:flex;gap:6px;flex-wrap:wrap}

/* ---- counters ------------------------------------------------------------ */
.counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.counter{padding:12px 6px;border-radius:18px;background:#fff;text-align:center;display:flex;flex-direction:column;gap:2px}
.counter .n{font-family:'Poppins',sans-serif;font-weight:800;font-size:22px}
.counter .l{font:900 10px 'Inter',sans-serif;letter-spacing:.1em}
.counter .s{font-size:11px;line-height:1.3;color:var(--ink2)}
.counter.out .n{color:var(--out)} .counter.alive .n{color:var(--alive)}

/* ---- the pot ------------------------------------------------------------- */
.pot{padding:18px;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(14,94,128,.14);display:flex;align-items:center;justify-content:space-between;gap:10px}
.pot .amt{white-space:nowrap;font-family:'Poppins',sans-serif;font-weight:800;font-size:38px;letter-spacing:-0.03em;line-height:1}
.pot img{width:72px;height:72px;flex-shrink:0}

/* ---- history tiles (hub) ------------------------------------------------ */
.hist{display:flex;gap:6px;flex-wrap:wrap}
.hist span{flex:1;min-width:64px;padding:8px 4px;border-radius:12px;text-align:center;font:800 12px 'Inter',sans-serif;white-space:nowrap}
.hist .won{background:var(--tile);color:var(--pool)}
.hist .lost{background:var(--out-bg);color:var(--out)}
.hist .open{border:2px dashed var(--orange);color:var(--tg-ink);padding:6px 4px}
.hist .saved{background:var(--orange);color:var(--ink)}
.hist .gone{background:var(--disabled);color:var(--ink2)}

/* ---- steps --------------------------------------------------------------- */
.step{display:flex;align-items:center;gap:12px}
.step b{flex-shrink:0;width:38px;height:38px;border-radius:50%;background:var(--orange);color:var(--ink);display:flex;
  align-items:center;justify-content:center;font-family:'Poppins',sans-serif;font-weight:800;font-size:17px}
.step span{font:700 15px 'Inter',sans-serif;line-height:1.35}

/* ---- forms --------------------------------------------------------------- */
.field-l{font:800 13px 'Inter',sans-serif;color:var(--ink)}
.field{height:52px;padding:0 16px;border-radius:14px;border:2px solid var(--field-line);background:#fff;color:var(--ink);
  font:600 16px 'Inter',sans-serif;width:100%}
.field:focus{border-color:var(--pool);outline:none}
.mono{font-family:ui-monospace,Menlo,Consolas,monospace}
.keybox{padding:10px 12px;border-radius:12px;background:var(--tile);font:600 13px ui-monospace,Menlo,Consolas,monospace;word-break:break-all;color:var(--ink)}

/* ---- notices ------------------------------------------------------------- */
.note{padding:12px 14px;border-radius:16px;font-size:13.5px;line-height:1.45}
.note.peach{background:var(--peach);color:#7a3410}
.note.green{background:var(--alive-bg);color:var(--ink)}
.note.red{background:var(--out-bg);color:var(--ink)}
.note.wait{background:#fff3c4;color:#7a5a00}

/* ---- week strip ---------------------------------------------------------- */
.weeks{display:flex;gap:6px;overflow-x:auto;white-space:nowrap;padding-bottom:12px;scrollbar-width:none}
.weeks::-webkit-scrollbar{display:none}
.wk{flex-shrink:0;padding:7px 12px;border-radius:999px;font:800 11px 'Inter',sans-serif;background:rgba(255,255,255,.6);color:var(--ink2)}
.wk.won{background:var(--tile);color:var(--pool)}
.wk.lost{background:var(--out-bg);color:var(--out)}
.wk.now{background:var(--orange);color:var(--ink);font-weight:900}
.wk.tg{background:var(--peach);color:var(--tg-ink)}
.wk.xmas{background:var(--alive-bg);color:var(--alive)}

/* ---- pick page ------------------------------------------------------------ */
.rules1{display:flex;flex-wrap:wrap;gap:6px}
.rules1 span{padding:6px 12px;border-radius:999px;background:#fff;font:700 12px 'Inter',sans-serif}
.day{font:900 11px 'Inter',sans-serif;letter-spacing:.16em;color:var(--pool);text-transform:uppercase}
.game{padding:10px;border-radius:20px;background:#fff;box-shadow:0 6px 18px rgba(14,94,128,.10);display:flex;flex-direction:column;gap:6px}
.game .meta{display:flex;justify-content:space-between;padding:0 4px;font:800 11px 'Inter',sans-serif;letter-spacing:.04em;color:var(--ink2)}
.game .meta .locked{color:var(--out)}
/* The WHOLE row is the tap target — Splash's radio-circle-only target is a trap. */
.team{width:100%;min-height:62px;display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:16px;
  border:2px solid var(--row-line);background:var(--row);text-align:left;cursor:pointer;color:var(--ink)}
.team:hover:not(:disabled){border-color:var(--orange)}
.team.sel{border-color:var(--orange);background:#fff3ea}
.team.mine{border-color:var(--orange);background:var(--peach);box-shadow:0 4px 0 var(--orange-shade)}
.team:disabled{cursor:default;border-color:transparent;background:var(--disabled);opacity:.62}
.team.mine:disabled{opacity:1;background:var(--peach);border-color:var(--orange)}
.abbr{flex-shrink:0;width:44px;height:44px;border-radius:50%;background:var(--tile);display:flex;align-items:center;justify-content:center;
  font-family:'Poppins',sans-serif;font-weight:800;font-size:13px;color:var(--pool)}
.team .nm{flex-grow:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.team .nm b{font:800 15px 'Inter',sans-serif}
.tag{padding:1px 7px;border-radius:999px;font:900 9.5px 'Inter',sans-serif;letter-spacing:.06em}
.tag.tg{background:var(--peach);color:var(--tg-ink)} .tag.xmas{background:var(--alive-bg);color:var(--alive)}
/* On a saved pick the row is peach too — give the TG tag a white ground so it stays visible. */
.team.mine .tag.tg{background:#fff}
.team .rt{flex-shrink:0;text-align:right;font:800 12px 'Inter',sans-serif;color:var(--ink2)}
.team .rt.pct.fav{color:var(--ink);font-weight:900}
.team .rt.why{font:900 11px 'Inter',sans-serif;letter-spacing:.06em}
.team .rt.yours{font-weight:900;color:var(--tg-ink)}

/* the sticky pick bar */
.pickbar{position:sticky;bottom:0;z-index:5;background:#fff;box-shadow:0 -6px 18px rgba(14,94,128,.10);
  padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px))}
.pickbar .col{padding:0;display:flex;align-items:center;gap:12px}
.dot{flex-shrink:0;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.dot.ok{background:var(--alive)} .dot.q{border:2px dashed var(--orange);color:var(--tg-ink);font-family:'Poppins',sans-serif;font-weight:800}
.dot svg{width:20px;height:20px}

/* the confirm sheet */
.scrim{position:fixed;inset:0;z-index:20;background:rgba(22,36,26,.55);display:flex;flex-direction:column;justify-content:flex-end}
.sheet{max-width:520px;width:100%;margin:0 auto;padding:24px 18px calc(26px + env(safe-area-inset-bottom,0px));border-radius:28px 28px 0 0;background:#fff;
  display:flex;flex-direction:column;gap:14px}
.sheet .abbr{width:58px;height:58px;background:var(--orange);color:var(--ink);font-size:16px}

/* ---- standings ----------------------------------------------------------- */
.bars .bar{display:grid;grid-template-columns:44px minmax(0,1fr) 40px 58px;align-items:center;gap:8px;height:34px}
.bars .track{height:12px;border-radius:6px;background:var(--tile);overflow:hidden}
.bars .fill{display:block;height:100%;border-radius:6px;background:var(--pool)}
.bars .fill.won{background:var(--alive)} .bars .fill.lost{background:var(--out)}
.pills{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}
.pills button{flex-shrink:0;height:40px;padding:0 16px;border-radius:999px;border:0;background:#fff;color:var(--ink);font:800 12px 'Inter',sans-serif;cursor:pointer}
.pills button[aria-pressed="true"]{background:var(--ink);color:#fff}
.pills button.live{background:var(--alive-bg);color:var(--alive)}
.pills button.live[aria-pressed="true"]{background:var(--ink);color:#fff}
.tablewrap{overflow-x:auto}
table.board{border-collapse:collapse;width:100%;min-width:100%}
.board th{font:900 10px 'Inter',sans-serif;letter-spacing:.1em;color:var(--ink2);text-align:center;padding:8px 4px;border-bottom:2px solid var(--row-line);white-space:nowrap}
.board th:first-child,.board td:first-child{text-align:left}
.board td{height:50px;border-bottom:1px solid var(--row-line);text-align:center;padding:0 4px;font-family:'Poppins',sans-serif;font-weight:800;font-size:12px;color:var(--pool);white-space:nowrap}
.board td.nm{font:800 14px 'Inter',sans-serif;color:var(--ink);max-width:150px;overflow:hidden;text-overflow:ellipsis}
.board td.lost{color:var(--out)} .board td.st{text-align:right}
.board tr.dead td{opacity:.6}

/* ---- rules --------------------------------------------------------------- */
.season{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.season span{height:36px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;font:900 11px 'Inter',sans-serif}
.season .tg{background:var(--peach);color:var(--tg-ink)} .season .xmas{background:var(--alive-bg);color:var(--alive)}
.season .now{background:var(--orange);color:var(--ink)}
.when{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:50px;border-bottom:1px solid var(--row-line)}
.when:last-child{border-bottom:0}
.when span:first-child{font:700 14px 'Inter',sans-serif;line-height:1.35}
.kv{display:flex;justify-content:space-between;align-items:center;min-height:42px;border-bottom:1px solid var(--row-line);gap:12px}
.kv:last-child{border-bottom:0}
.kv span:first-child{font:800 12px 'Inter',sans-serif;letter-spacing:.04em;color:var(--ink2)}
.kv span:last-child{font:800 14px 'Inter',sans-serif;text-align:right}

/* ---- footer + toast ------------------------------------------------------ */
footer.foot{padding:26px 16px calc(26px + env(safe-area-inset-bottom,0px));display:flex;justify-content:center;gap:16px;font:700 12px 'Inter',sans-serif;flex-wrap:wrap}
footer.foot a{color:var(--ink2);text-decoration:none}
.toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:30;max-width:min(440px,calc(100vw - 32px));
  padding:12px 16px;border-radius:16px;background:var(--ink);color:#fff;font:700 14px 'Inter',sans-serif;line-height:1.4;box-shadow:var(--shadow)}
.toast.ok{background:var(--alive)}
.toast.err{background:var(--out)}
.spacer{height:24px}
/* The pick-reminder opt-in (Part A): unticked by default, said plainly. */
.optin{display:flex;gap:10px;align-items:flex-start;font:600 13px/1.4 'Inter',sans-serif;color:var(--ink2);cursor:pointer}
.optin input{width:20px;height:20px;margin:0;flex-shrink:0;accent-color:var(--orange)}

/* ======================================================================
   HOLIDAY TRAPS (Part B, Oct 1 — mockup website-vision/sol-survivor-new-look/
   HolidayLegs_mock.html). Tokens only from §6d.
   ====================================================================== */
/* While a holiday leg is live the scene swaps to its holiday art. The pool
   scene is the layer underneath, so a missing holiday file shows the pool. */
.scene.tg{background-image:url(/assets/survivor/scene_thanksgiving.webp),url(/assets/survivor/scene_pool.webp);background-size:100% 100%,100% 100%}
.scene.xm{background-image:url(/assets/survivor/scene_christmas.webp),url(/assets/survivor/scene_pool.webp);background-size:100% 100%,100% 100%}
.hleg{background:#fff;border-radius:22px;box-shadow:var(--shadow);padding:16px 16px 22px;position:relative;overflow:hidden}
.hleg + .hleg{margin-top:16px}
.hhead{display:flex;align-items:flex-start;gap:10px;margin-bottom:6px}
.hbadge{flex-shrink:0;width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:26px;animation:wobble 3.2s ease-in-out infinite}
.hleg.tg .hbadge{background:var(--peach)} .hleg.xm .hbadge{background:var(--alive-bg);animation-delay:1.1s}
.hlock{font:700 12.5px/1.4 'Inter',sans-serif;color:var(--tg-ink)} .hleg.xm .hlock{color:var(--alive)}
.hleft{display:inline-block;margin-top:6px;font:800 12px 'Inter',sans-serif;background:var(--tile);color:var(--pool);border-radius:999px;padding:6px 10px}
.hgame{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;padding:9px 4px;border-top:1px dashed #e6eef1}
.hhead + .hgame{border-top:0}
.tm{display:flex;flex-direction:column;align-items:center;gap:2px;font:800 12px 'Inter',sans-serif;position:relative}
.tm img{width:46px;height:46px;object-fit:contain}
.tm .nm{font-weight:700;color:var(--ink2);font-size:11.5px}
.hgame .at{font:800 12px 'Inter',sans-serif;color:#9aa7ad;text-align:center}
.hgame .at .when{display:block;font:700 10.5px 'Inter',sans-serif;color:var(--pool);margin-top:2px;white-space:nowrap}
.dbl::after{content:"×2";position:absolute;top:-4px;right:calc(50% - 34px);background:var(--orange);color:var(--ink);font:800 10px 'Inter',sans-serif;border-radius:999px;padding:2px 5px;box-shadow:0 2px 0 var(--orange-shade)}
/* Used teams sit a little lower and float less (Part C). */
.tm.used img{filter:grayscale(1);opacity:.35;animation:sink 2.4s ease-in-out infinite}
.tm.used .nm{text-decoration:line-through}
.tm .why{position:absolute;top:14px;font:800 9.5px 'Inter',sans-serif;background:var(--out-bg);color:var(--out);border-radius:6px;padding:1px 5px;white-space:nowrap}
.waves{position:absolute;left:0;right:0;bottom:-6px;height:14px;background:repeating-radial-gradient(circle at 10px -4px,transparent 0 9px,rgba(142,217,244,.55) 10px 12px,transparent 13px 20px);animation:drift 6s linear infinite}
.hkey{display:flex;flex-wrap:wrap;gap:8px;font:700 12px 'Inter',sans-serif;color:var(--ink2)}
.hkey span{background:#fff;border-radius:999px;padding:5px 10px;box-shadow:0 2px 8px rgba(14,94,128,.08)}
.htip{background:var(--tile);border-radius:16px;padding:12px 14px;font-size:13.5px;color:var(--pool);font-weight:600}
.minilogos{display:flex;gap:4px;flex-wrap:wrap;margin-top:8px}
.minilogos img{width:30px;height:30px;object-fit:contain}
.minilogos img.gone{filter:grayscale(1);opacity:.3}

/* The holiday-pick alert sheet: the tapped team bobbing in a swim ring. */
.sheet.sand{background:var(--sand)}
.grab{width:44px;height:5px;border-radius:9px;background:rgba(22,36,26,.2);margin:0 auto 2px}
.ring{width:84px;height:84px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle,#fff 0 46%,transparent 47%),conic-gradient(var(--orange) 0 12.5%,#fff 0 25%,var(--orange) 0 37.5%,#fff 0 50%,var(--orange) 0 62.5%,#fff 0 75%,var(--orange) 0 87.5%,#fff 0);
  box-shadow:0 6px 0 rgba(14,94,128,.18);animation:bob 2.6s ease-in-out infinite}
.ring img{width:50px;height:50px;object-fit:contain}
.mini{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mini.one{grid-template-columns:1fr}
.mc{background:#fff;border-radius:16px;padding:10px;box-shadow:var(--shadow)}
.mc h4{margin:0 0 6px;font:800 13px 'Inter',sans-serif}
.mc.tg h4{color:var(--tg-ink)} .mc.xm h4{color:var(--alive)}
.mc.zero{background:#fff;outline:3px solid var(--out)} .mc.zero h4{color:var(--out)}
.logos{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.logos img{width:100%;aspect-ratio:1;object-fit:contain}
.logos .hit{border-radius:50%;background:var(--peach);animation:pulse 1.2s ease-in-out infinite}
.logos .gone{filter:grayscale(1);opacity:.25}
.after{font:800 13px 'Inter',sans-serif;margin-top:6px}
.after .down{color:var(--out)}
.sheet.danger{background:var(--out-bg)}

/* ======================================================================
   LIGHT TOUCHES (Part C). One or two per screen; all off under reduced motion.
   ====================================================================== */
.chip.tg,.chip.xmas{animation:wobble 4.5s ease-in-out infinite}
.chip.xmas{animation-delay:1.6s}
.wk .ico,.hist .ico{display:inline-block;width:13px;height:13px;vertical-align:-2px;margin-right:3px}
/* Pick saved: the swim ring bounces up out of the bar with a few droplets. */
.splash{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));width:76px;margin-left:-38px;z-index:25;pointer-events:none;animation:splashUp 1.3s ease-out forwards}
.splash img{width:100%}
.splash i{position:absolute;top:38%;width:7px;height:7px;border-radius:50%;background:var(--sky);opacity:0;animation:drop 1s ease-out .15s forwards}
.splash i:nth-of-type(1){left:-6px;--dx:-26px} .splash i:nth-of-type(2){left:20px;--dx:-8px} .splash i:nth-of-type(3){right:20px;--dx:8px} .splash i:nth-of-type(4){right:-6px;--dx:26px}
/* You're out: the logo sinks into a little pool, bubbles rising. */
.sinkpool{position:relative;width:150px;height:118px}
.sinkpool .water{position:absolute;left:0;right:0;bottom:0;height:56px;border-radius:0 0 28px 28px;background:linear-gradient(#8ed9f4,#0E5E80);opacity:.6}
.sinkpool img{position:absolute;left:43px;top:6px;width:64px;height:64px;object-fit:contain;animation:sinkDown 3.2s ease-in forwards}
.sinkpool b{position:absolute;bottom:20px;width:8px;height:8px;border-radius:50%;border:2px solid #fff;opacity:0;animation:bubble 2.4s ease-in infinite}
.sinkpool b:nth-of-type(1){left:58px;animation-delay:1.2s} .sinkpool b:nth-of-type(2){left:80px;animation-delay:1.9s} .sinkpool b:nth-of-type(3){left:70px;animation-delay:2.6s}
/* The Wipeout Report (Part D). */
.wipe .sinkpool{width:96px;height:84px;flex-shrink:0}
.wipe .sinkpool img{left:22px;top:2px;width:52px;height:52px;animation-name:sinkHalf}
@keyframes sinkHalf{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(20px) rotate(-12deg);opacity:.75}}
.wipe .sinkpool .water{height:40px;opacity:.55}

@keyframes wobble{0%,100%{transform:rotate(0)}10%{transform:rotate(-8deg)}20%{transform:rotate(6deg)}30%{transform:rotate(0)}}
@keyframes sink{0%,100%{transform:translateY(2px)}50%{transform:translateY(5px)}}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-6px) rotate(3deg)}}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(255,116,38,.55)}50%{box-shadow:0 0 0 6px rgba(255,116,38,0)}}
@keyframes drift{from{background-position:0 0}to{background-position:40px 0}}
@keyframes up{from{transform:translateY(100%)}to{transform:none}}
@keyframes splashUp{0%{transform:translateY(30px) scale(.6);opacity:0}30%{transform:translateY(-36px) scale(1.05);opacity:1}55%{transform:translateY(-14px) scale(.97)}75%{transform:translateY(-24px)}100%{transform:translateY(-10px);opacity:0}}
@keyframes drop{0%{opacity:0;transform:translate(0,0)}20%{opacity:1}100%{opacity:0;transform:translate(var(--dx),40px)}}
@keyframes sinkDown{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(44px) rotate(-14deg);opacity:.35}}
@keyframes bubble{0%{opacity:0;transform:translateY(0)}20%{opacity:.9}100%{opacity:0;transform:translateY(-60px)}}
.scrim .sheet{animation:up .4s cubic-bezier(.2,1.2,.4,1)}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .splash{display:none}
  .sinkpool img{transform:translateY(40px) rotate(-14deg);opacity:.4}
  .wipe .sinkpool img{transform:translateY(20px) rotate(-12deg);opacity:.75}
}
