:root{
  --deep:#0E1720; --panel:rgba(13,20,28,.86); --line:rgba(237,234,227,.14);
  --paint:#EDEAE3; --muted:#B4AFA3; --sodium:#F2B24A; --sea:#2F6FD6; --sea-hi:#9CC0F7; --signal:#D8352A; --go:#3FCB7E; --sand:#E9D2A6;
  --font:var(--site-font, "Urbanist", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  --ease:cubic-bezier(.2,.8,.2,1);
  box-sizing:border-box; color-scheme:dark;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --panel:rgba(13,20,28,.86); } }
:root[data-theme="dark"]{ --panel:rgba(13,20,28,.86); }
html{ height:100%; }
*,*::before,*::after{ box-sizing:border-box; }
body{ margin:0; height:100%; background:var(--deep); color:var(--paint); font-family:var(--font); overflow:hidden; -webkit-font-smoothing:antialiased; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
canvas#gl{ position:fixed; inset:0; width:100vw; height:100%; display:block; transition:filter .9s ease; }
canvas#gl.dim{ filter:saturate(.55) brightness(.75); }
button{ font-family:inherit; }
[hidden]{ display:none !important; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible{ outline:3px solid var(--sodium); outline-offset:3px; }
a{ color:var(--sodium); }
kbd, .key{ display:inline-grid; place-items:center; min-width:22px; height:22px; padding:0 6px; border-radius:6px; border:1px solid currentColor; font:700 12px/1 var(--font); opacity:.8; margin-left:8px; vertical-align:middle; }
.key, .kbd-only{ display:none; } .touch-only{ display:inline; }
@media (hover:hover) and (pointer:fine){ .key{ display:inline-grid; } .kbd-only{ display:inline; } .touch-only{ display:none; } }
.layer{ position:fixed; left:0; right:0; pointer-events:none; z-index:5; }
.layer > *{ pointer-events:auto; }
.fade{ transition:opacity .45s ease, transform .45s var(--ease), visibility .45s; }
.hide{ opacity:0 !important; visibility:hidden !important; transform:translateY(14px) !important; pointer-events:none !important; }
.vignette{ display:none; }
.grain{ display:none; position:fixed; inset:-50%; pointer-events:none; opacity:.06; z-index:3; animation:grain .9s steps(4) infinite; background-size:180px 180px; }
@keyframes grain{ 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }
.shade-t{ position:fixed; left:0; right:0; top:0; height:130px; background:linear-gradient(180deg, rgba(6,12,18,.5), rgba(6,12,18,0)); pointer-events:none; z-index:3; transition:opacity .6s; }
.shade-b{ position:fixed; left:0; right:0; bottom:0; height:48%; background:linear-gradient(180deg, rgba(10,17,24,0), rgba(10,17,24,.72) 78%); pointer-events:none; transition:opacity .6s; z-index:3; }
#flash{ position:fixed; inset:0; background:#fff; opacity:0; pointer-events:none; z-index:4; transition:opacity .7s ease; }
#black{ position:fixed; inset:0; background:#05090d; opacity:0; pointer-events:none; z-index:30; transition:opacity .42s ease; display:grid; place-items:center; }
#blackMsg{ font-size:14px; color:var(--muted); opacity:0; transition:opacity .4s; }
#loading{ position:fixed; inset:0; z-index:40; background:radial-gradient(ellipse at 50% 30%, #1b3446, #08121a 70%); display:grid; place-items:center; transition:opacity .7s; }
.ld{ display:grid; justify-items:center; gap:18px; text-align:center; padding:0 24px; }
.ld-sun{ width:92px; height:92px; position:relative; }
.ld-sun i{ position:absolute; left:50%; top:50%; width:46px; height:46px; margin:-30px 0 0 -23px; border-radius:50%; background:radial-gradient(circle, #ffd9a0, #f2a33b 60%, rgba(242,163,59,0) 72%); }
.ld-sun b{ position:absolute; left:0; right:0; bottom:18px; height:3px; border-radius:2px; background:var(--sea-hi); opacity:.7; animation:swell 1.8s ease-in-out infinite; }
.ld-sun b:nth-child(3){ bottom:10px; left:12px; right:12px; animation-delay:.3s; opacity:.45; }
@keyframes swell{ 0%,100%{ transform:translateY(0) scaleX(1); } 50%{ transform:translateY(-3px) scaleX(.92); } }
.ld-title{ font-size:15px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.ld-line{ font-size:19px; font-weight:700; max-width:30ch; line-height:1.35; min-height:2.7em; transition:opacity .4s; }
.ld-bar{ width:180px; height:3px; border-radius:2px; background:rgba(237,234,227,.12); overflow:hidden; }
.ld-bar i{ display:block; height:100%; width:0; background:var(--sodium); transition:width .3s; }
#hud, #introTop{ top:0; padding:calc(env(safe-area-inset-top,0px) + 12px) 16px 0; display:flex; flex-direction:column; gap:9px; }
.bar{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.mark{ font-weight:900; font-size:18px; letter-spacing:-.01em; display:flex; align-items:center; gap:8px; color:var(--paint); text-decoration:none; }
.mark svg{ width:26px; height:20px; flex-shrink:0; fill:currentColor; }
.mark .mark-word{ font-size:1.2rem; font-weight:500; letter-spacing:-.035em; }
.mark .mark-game{ font-weight:500; opacity:.75; padding-left:9px; border-left:1px solid currentColor; margin-left:1px; }
@media (max-width:480px){ .mark .mark-word{ display:none; } .mark svg{ width:22px; } .mark .mark-game{ border-left:0; padding-left:0; font-size:15px; white-space:nowrap; } .count{ font-size:13px; white-space:nowrap; } }
.lablink{ display:inline-flex; align-items:center; gap:6px; height:40px; padding:0 12px 0 8px; border-radius:12px; background:rgba(237,234,227,.08); color:var(--paint); font-weight:700; font-size:14px; text-decoration:none; }
.lablink svg{ width:18px; height:18px; }
.right{ display:flex; align-items:center; gap:6px; }
.count{ font-size:14px; color:var(--muted); font-variant-numeric:tabular-nums; }
.iconbtn{ width:44px; height:44px; border-radius:12px; border:0; background:rgba(237,234,227,.08); color:var(--paint); display:grid; place-items:center; cursor:pointer; }
.iconbtn svg{ width:20px; height:20px; }
.segs{ display:flex; gap:4px; }
.segs i{ height:3px; flex:1; border-radius:2px; background:rgba(237,234,227,.2); transition:background .4s; }
.segs i.on{ background:var(--paint); } .segs i.cur{ background:var(--sodium); }
.segs i.a{ background:var(--sea-hi); } .segs i.b{ background:var(--sodium); opacity:.85; }
.status{ display:flex; gap:8px; flex-wrap:wrap; }
.pill{ display:inline-flex; align-items:center; gap:7px; padding:6px 11px 5px; border-radius:8px; font-weight:800; font-size:13.5px; background:rgba(8,14,20,.74); }
.pill svg{ width:15px; height:15px; }
#warn{ background:var(--signal); color:#fff; animation:pulse 1.1s ease-in-out infinite; }
#tide{ color:var(--paint); font-variant-numeric:tabular-nums; }
#tide b{ font-weight:900; margin-left:-2px; }
#tide .cm{ display:inline-block; width:44px; height:5px; border-radius:3px; background:rgba(237,234,227,.18); overflow:hidden; margin-left:2px; }
#tide .cm i{ display:block; height:100%; border-radius:3px; background:var(--go); transition:width .8s var(--ease); }
#tide.low svg, #tide.low b{ color:#ff8a7a; } #tide.low .cm i{ background:#ff6a5a; }
#tide.mid svg, #tide.mid b{ color:var(--sodium); } #tide.mid .cm i{ background:var(--sodium); }
#tide.high svg, #tide.high b{ color:var(--go); }
#trade{ color:var(--sodium); font-variant-numeric:tabular-nums; }
@keyframes pulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(216,53,42,.55);} 50%{ box-shadow:0 0 0 10px rgba(216,53,42,0);} }
#labels{ inset:0; pointer-events:none; z-index:4; }
.tag{ position:absolute; left:0; top:0; padding:5px 10px 4px; border-radius:8px; background:rgba(8,14,20,.84); color:var(--paint); font-size:13px; font-weight:800; white-space:nowrap; transition:opacity .35s; pointer-events:none; display:flex; align-items:center; gap:7px; }
.tag.a{ box-shadow:inset 0 0 0 2px var(--sea); } .tag.b{ box-shadow:inset 0 0 0 2px var(--sodium); }
.tag b{ font-variant-numeric:tabular-nums; }
.tag.off{ opacity:0; }
.bubble{ position:absolute; left:0; top:0; transform:translate(-50%,-100%); background:var(--paint); color:#13202B; font-size:13.5px; font-weight:800; padding:7px 11px 6px; border-radius:12px; white-space:nowrap; pointer-events:none; transition:opacity .3s; }
.bubble::after{ content:""; position:absolute; left:50%; bottom:-6px; margin-left:-6px; border:6px solid transparent; border-bottom:0; border-top-color:var(--paint); }
.bubble.off{ opacity:0; }
.sheet{ bottom:0; padding:0 10px calc(env(safe-area-inset-bottom,0px) + 10px); }
.card{ max-width:560px; margin:0 auto; background:var(--panel); backdrop-filter:blur(14px) saturate(1.2); -webkit-backdrop-filter:blur(14px) saturate(1.2); border:1px solid var(--line); border-radius:20px; padding:14px 14px 12px; }
.timer{ height:4px; border-radius:2px; background:rgba(237,234,227,.14); overflow:hidden; margin:2px 0 11px; }
.timer i{ display:block; height:100%; width:100%; background:var(--sodium); transform-origin:left center; }
.q{ font-size:15px; line-height:1.35; margin:0 0 10px; color:#DDD8CC; display:flex; justify-content:space-between; gap:10px; align-items:baseline; }
.q b{ color:var(--paint); }
.q .sealed{ font-size:12.5px; font-weight:800; color:var(--sea-hi); white-space:nowrap; display:inline-flex; align-items:center; gap:5px; }
.q .sealed svg{ width:14px; height:14px; }
.choices{ display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.pack{ border:0; border-radius:16px; padding:11px 10px 10px; text-align:left; cursor:pointer; display:flex; flex-direction:column; gap:8px; transition:transform .15s ease, box-shadow .2s; position:relative; color:#fff; font-family:inherit; }
.pack:active{ transform:scale(.97); }
.pack.pa{ background:linear-gradient(180deg, #3A7BE0, #2A5FB8); }
.pack.pb{ background:linear-gradient(180deg, #F5B54E, #E39A2C); color:#1B1D22; }
.pack .odds{ display:flex; align-items:baseline; gap:6px; }
.pack .odds b{ font-size:30px; font-weight:900; letter-spacing:-.03em; font-variant-numeric:tabular-nums; line-height:1; }
.pack .odds span{ font-size:12px; font-weight:700; opacity:.88; line-height:1.15; }
.pack .meter{ height:6px; border-radius:3px; background:rgba(255,255,255,.22); overflow:hidden; }
.pack.pb .meter{ background:rgba(27,29,34,.16); }
.pack .meter{ position:relative; }
.pack .meter i{ position:absolute; top:0; height:100%; border-radius:3px; transition:width .6s var(--ease); }
.pack .meter i.now{ left:0; background:rgba(255,255,255,.42); }
.pack .meter i.add{ background:#fff; box-shadow:0 0 8px rgba(255,255,255,.7); }
.pack.pb .meter i.now{ background:rgba(27,29,34,.35); }
.pack.pb .meter i.add{ background:#1B1D22; box-shadow:none; }
.it .art .have{ position:absolute; left:3px; top:3px; padding:2px 5px 1px; border-radius:6px; font-size:12px; font-weight:900; letter-spacing:.01em; background:rgba(13,20,28,.82); color:#fff; line-height:1.2; }
.it.dup .art img{ opacity:.62; filter:saturate(.7); }
.pack .items{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:5px; }
.it{ display:flex; flex-direction:column; align-items:center; gap:3px; min-width:0; }
.it .art{ width:100%; aspect-ratio:1; border-radius:10px; background:rgba(255,255,255,.16); display:grid; place-items:center; position:relative; overflow:hidden; }
.pack.pb .it .art{ background:rgba(255,255,255,.34); }
.it .art img{ width:100%; height:100%; object-fit:contain; }
.it.val .art{ box-shadow:inset 0 0 0 2px rgba(255,255,255,.95); background:rgba(255,255,255,.26); }
.pack.pb .it.val .art{ box-shadow:inset 0 0 0 2px #1B1D22; }
.it .art .owner{ position:absolute; right:2px; bottom:2px; width:40%; aspect-ratio:1; border-radius:50%; overflow:hidden; background:#13202B; box-shadow:0 0 0 2px #fff; }
.it .art .owner img{ width:100%; height:100%; object-fit:cover; }
.it span{ font-size:12px; font-weight:800; line-height:1.15; text-align:center; max-width:100%; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.pack .top{ display:flex; align-items:center; justify-content:space-between; font-size:12px; font-weight:800; opacity:.92; }
.pack .top kbd{ margin:0; border-color:currentColor; }
.pack .plea{ display:flex; align-items:center; gap:6px; font-size:12px; font-weight:800; background:rgba(255,255,255,.2); border-radius:999px; padding:3px 9px 3px 3px; align-self:flex-start; }
.pack.pb .plea{ background:rgba(27,29,34,.12); }
.pack .plea img{ width:22px; height:22px; border-radius:50%; object-fit:cover; background:#13202B; }
.hint{ text-align:center; font-size:12.5px; color:var(--muted); margin:9px 0 0; }
.hint kbd{ margin:0 2px; }
@media (max-width:380px){ .pack .odds b{ font-size:25px; } .it span{ font-size:12px; } .pack{ padding:9px 8px 8px; } }
@media (min-width:760px){ .card.decide{ max-width:620px; } }
.head{ font-size:23px; font-weight:900; letter-spacing:-.015em; line-height:1.1; margin:2px 0 8px; display:flex; align-items:center; gap:10px; }
.head .chipc{ width:12px; height:12px; border-radius:4px; flex-shrink:0; }
.crowd{ display:flex; align-items:center; gap:12px; margin:8px 0 4px; }
.crowd .gauge{ position:relative; flex:1; height:10px; border-radius:5px; background:linear-gradient(90deg, var(--sea) 0 var(--w), var(--sodium) var(--w) 100%); }
.crowd b{ font-size:28px; font-weight:900; font-variant-numeric:tabular-nums; min-width:64px; }
.small{ font-size:13px; color:var(--muted); margin:6px 0 0; line-height:1.45; }
.called{ margin-top:10px; padding:9px 12px 8px; border-radius:12px; background:rgba(237,234,227,.07); font-size:14px; display:flex; gap:10px; align-items:center; }
.called svg{ width:22px; height:22px; flex-shrink:0; }
.called.hit{ background:rgba(63,203,126,.12); } .called.miss{ background:rgba(242,178,74,.12); }
.reacts{ display:flex; gap:8px; margin:10px 0 0; flex-wrap:wrap; }
.react{ display:flex; align-items:center; gap:7px; font-size:13px; font-weight:700; background:rgba(237,234,227,.06); padding:4px 10px 4px 4px; border-radius:999px; }
.react img{ width:26px; height:26px; border-radius:50%; object-fit:cover; background:#13202B; }
.primary{ width:100%; height:54px; margin-top:12px; border:0; border-radius:14px; background:var(--paint); color:#13202B; font-size:17px; font-weight:900; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:4px; }
.ghost{ width:100%; height:52px; border-radius:14px; border:1px solid rgba(237,234,227,.35); background:transparent; color:var(--paint); font-size:16px; font-weight:700; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:4px; }
.btnrow{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; }
.btnrow .ghost, .btnrow .primary{ margin:0; height:50px; font-size:15px; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ min-height:44px; padding:0 14px; border-radius:999px; border:1px solid rgba(237,234,227,.3); background:transparent; color:var(--paint); font-size:14.5px; cursor:pointer; font-weight:600; }
.chip[aria-pressed="true"], .chip.hi{ background:var(--paint); color:#13202B; border-color:var(--paint); }
.chip .n{ font-size:12px; opacity:.6; margin-left:6px; }
#intro{ bottom:0; padding:0 20px calc(env(safe-area-inset-bottom,0px) + 18px); }
#intro .inner{ max-width:560px; margin:0 auto; }
#intro .eyebrow{ font-size:13px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--sand); margin:0 0 10px; }
#intro h1{ font-size:clamp(46px, 13.5vw, 80px); line-height:.9; font-weight:900; letter-spacing:-.045em; margin:0 0 14px; text-shadow:0 2px 30px rgba(0,0,0,.45); }
#intro .lede{ font-size:17px; line-height:1.45; color:#E9E4D8; margin:0 0 6px; max-width:34ch; text-shadow:0 1px 14px rgba(0,0,0,.5); }
#intro .meta{ font-size:14px; color:var(--muted); margin:0 0 14px; }
#welcome{ font-size:14px; color:var(--sand); margin:0 0 8px; }
.credit{ font-size:12.5px; color:var(--muted); text-align:center; margin:12px 0 0; line-height:1.5; }
.credit button{ background:none; border:0; color:var(--paint); text-decoration:underline; text-underline-offset:3px; font-size:12.5px; cursor:pointer; padding:6px 2px; }
#setup{ bottom:0; padding:0 10px calc(env(safe-area-inset-bottom,0px) + 10px); }
#setup .card{ max-width:560px; }
.stephead{ display:flex; align-items:center; justify-content:space-between; margin-bottom:4px; }
.stepn{ font-size:12.5px; color:var(--muted); font-weight:700; }
.backbtn{ background:none; border:0; color:var(--muted); font-size:13px; font-weight:700; cursor:pointer; padding:6px 0; }
#setupTitle{ font-size:23px; font-weight:900; letter-spacing:-.015em; margin:2px 0 4px; }
#setupSub{ font-size:14px; color:var(--muted); margin:0 0 12px; }
.opts{ display:grid; gap:7px; max-height:46vh; overflow-y:auto; overscroll-behavior:contain; padding:2px; }
.opts.who{ grid-template-columns:repeat(3, 1fr); max-height:none; }
.srow{ display:flex; align-items:center; gap:10px; min-height:46px; padding:6px 12px; border-radius:12px; border:1px solid var(--line); background:rgba(237,234,227,.04); color:var(--paint); font-size:15.5px; font-weight:700; text-align:left; cursor:pointer; }
.srow .n{ margin-left:auto; font-size:12px; color:var(--muted); }
.srow[aria-pressed="true"]{ background:var(--paint); color:#13202B; border-color:var(--paint); }
.srow[aria-pressed="true"] .n{ color:#13202B; }
.opts.who .srow{ flex-direction:column; justify-content:flex-end; padding:8px 6px 10px; gap:6px; text-align:center; }
.opts.who .srow img{ width:100%; aspect-ratio:330/402; object-fit:cover; border-radius:10px; background:#1a2a36; }
.opts.who .srow .n{ display:none; }
.wmap{ width:100%; height:auto; display:block; }
.wmap .rg{ fill:rgba(237,234,227,.16); stroke:rgba(13,20,28,.9); stroke-width:1; cursor:pointer; transition:fill .2s; }
.wmap .rg:hover{ fill:rgba(237,234,227,.3); }
.wmap .rg.on{ fill:var(--sodium); }
.wmap .rg.pns{ fill:rgba(237,234,227,.06); }
.wmap .pnst{ fill:var(--muted); font-size:15px; font-weight:700; pointer-events:none; }
.mapname{ text-align:center; font-weight:800; font-size:16px; margin:6px 0 4px; min-height:22px; }
.mapchips{ display:flex; flex-wrap:wrap; gap:6px; justify-content:center; }
.mapchips .chip{ min-height:36px; font-size:13px; padding:0 11px; }
.setupnav{ display:grid; grid-template-columns:1fr 2fr; gap:8px; margin-top:10px; }
.setupnav .ghost, .setupnav .primary{ margin:0; height:50px; font-size:15.5px; }
.pairs{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.pairb{ height:54px; border-radius:14px; border:1px solid rgba(237,234,227,.35); background:transparent; color:var(--paint); font-size:16px; font-weight:800; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:2px; }
.pairb.main{ background:var(--paint); color:#13202B; border-color:var(--paint); }
.setupkeys{ text-align:center; font-size:12.5px; color:var(--muted); margin-top:8px; min-height:18px; }
#caption{ left:0; right:0; top:22%; text-align:center; padding:0 24px; z-index:6; }
#caption p{ display:inline-block; max-width:30ch; font-size:clamp(20px, 5.4vw, 30px); font-weight:800; line-height:1.25; letter-spacing:-.015em; text-shadow:0 2px 24px rgba(0,0,0,.7); margin:0; }
#caption small{ display:block; font-size:13px; color:var(--muted); margin-top:12px; font-weight:600; }
#pause, #net, #about{ inset:0; background:rgba(5,10,14,.66); display:grid; place-items:end center; padding:0 10px calc(env(safe-area-inset-bottom,0px) + 10px); z-index:20; }
#pause .card, #net .card, #about .card{ width:100%; }
#about .card{ max-height:84vh; overflow-y:auto; }
#about h3{ font-size:20px; font-weight:900; margin:4px 0 8px; }
#about p{ font-size:14.5px; line-height:1.55; color:#DDD8CC; margin:0 0 10px; }
.menu{ display:grid; gap:8px; margin-top:8px; }
.menu .ghost, .menu .primary{ margin:0; justify-content:space-between; padding:0 16px; }
#hardest .chips{ max-height:44vh; overflow-y:auto; padding:2px; }
#story{ inset:0; z-index:12; background:radial-gradient(ellipse at 50% 20%, rgba(22,40,54,.9), rgba(6,12,18,.97) 70%); display:flex; flex-direction:column; padding:calc(env(safe-area-inset-top,0px) + 12px) 18px calc(env(safe-area-inset-bottom,0px) + 16px); }
.sbars{ display:flex; gap:4px; max-width:560px; width:100%; margin:0 auto; }
.sbars i{ flex:1; height:3px; border-radius:2px; background:rgba(237,234,227,.2); overflow:hidden; }
.sbars i b{ display:block; height:100%; width:0; background:var(--paint); }
.sbars i.done b{ width:100%; }
.sbars i.cur b{ animation:barFill linear forwards; }
@keyframes barFill{ from{ width:0 } to{ width:100% } }
.stop{ display:flex; justify-content:space-between; align-items:center; max-width:560px; width:100%; margin:10px auto 0; }
.stop .skipb{ background:rgba(237,234,227,.08); border:0; color:var(--paint); font-weight:700; font-size:13.5px; height:38px; padding:0 12px; border-radius:10px; cursor:pointer; }
#storyStage{ flex:1; display:flex; flex-direction:column; justify-content:center; max-width:560px; width:100%; margin:0 auto; position:relative; }
.sl{ display:flex; flex-direction:column; gap:12px; }
.sl > *{ animation:rise .75s var(--ease) both; animation-delay:var(--d, 0s); }
@keyframes rise{ from{ opacity:0; transform:translateY(22px); } to{ opacity:1; transform:none; } }
.sk{ font-size:13px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--sand); }
.sbig{ font-size:clamp(84px, 26vw, 140px); line-height:.85; font-weight:900; letter-spacing:-.05em; font-variant-numeric:tabular-nums; }
.sh{ font-size:clamp(26px, 7.4vw, 38px); line-height:1.08; font-weight:900; letter-spacing:-.03em; }
.sp{ font-size:16.5px; line-height:1.5; color:#E4DFD3; }
.sp b{ color:var(--paint); }
.pills{ display:flex; gap:5px; flex-wrap:wrap; }
.pills i{ width:22px; height:34px; border-radius:7px; animation:pop .45s cubic-bezier(.2,1.4,.4,1) both; transform-origin:bottom; }
.pills i.a{ background:var(--sea); } .pills i.b{ background:var(--sodium); } .pills i.t{ background:#55606a; } .pills i.c{ background:linear-gradient(90deg, var(--sea) 50%, var(--sodium) 50%); }
.pills i.v{ box-shadow:inset 0 0 0 2px #fff; }
@keyframes pop{ from{ transform:scaleY(0); } to{ transform:scaleY(1); } }
.campshot{ width:100%; border-radius:16px; aspect-ratio:16/10; object-fit:cover; background:#13202B; box-shadow:0 20px 50px rgba(0,0,0,.4); }
.tiles{ display:flex; gap:8px; flex-wrap:wrap; }
.tile{ width:62px; text-align:center; font-size:12px; font-weight:700; color:var(--muted); animation:pop2 .4s cubic-bezier(.2,1.2,.4,1) both; }
.tile img{ width:62px; height:62px; border-radius:12px; background:rgba(237,234,227,.08); display:block; margin-bottom:4px; }
@keyframes pop2{ from{ opacity:0; transform:scale(.6); } to{ opacity:1; transform:none; } }
.worth{ display:grid; gap:12px; }
.wrow .wn{ display:flex; justify-content:space-between; font-size:14.5px; font-weight:800; margin-bottom:5px; gap:8px; }
.wrow .wn em{ font-style:normal; font-size:12px; font-weight:800; padding:2px 8px; border-radius:6px; background:rgba(237,234,227,.1); color:var(--paint); white-space:nowrap; }
.wrow .wn em.rule, .wrow .wn em.strong{ background:var(--sodium); color:#13202B; }
.wrow .wt{ position:relative; height:14px; border-radius:7px; background:rgba(237,234,227,.08); }
.wrow .wt::after{ content:""; position:absolute; left:30%; top:-3px; bottom:-3px; width:2px; background:rgba(237,234,227,.4); }
.wrow .wb{ position:absolute; top:3px; height:8px; border-radius:4px; background:rgba(242,178,74,.3); transition:left 1s var(--ease), width 1s var(--ease); }
.wrow .wd{ position:absolute; top:0; width:14px; height:14px; margin-left:-7px; border-radius:50%; background:var(--sodium); box-shadow:0 0 0 3px rgba(10,17,24,.9); transition:left 1.1s var(--ease); }
.wrow .wv{ font-size:12.5px; color:var(--muted); margin-top:4px; }
.wscale{ display:flex; justify-content:space-between; font-size:12px; color:var(--muted); }
.stamp{ position:absolute; right:6%; top:38%; font-size:clamp(28px, 8vw, 42px); font-weight:900; letter-spacing:.06em; padding:6px 16px; border:5px solid currentColor; border-radius:10px; transform:rotate(-6deg); animation:stamp .5s cubic-bezier(.2,1.5,.4,1) 1.3s both; }
.stamp.ok{ color:var(--go); } .stamp.no{ color:var(--sodium); }
@keyframes stamp{ from{ opacity:0; transform:scale(2.2) rotate(-10deg); } to{ opacity:1; transform:scale(1) rotate(-6deg); } }
.said{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.said div{ background:rgba(237,234,227,.07); border-radius:14px; padding:12px; }
.said span{ display:block; font-size:12px; color:var(--muted); }
.said b{ display:block; font-size:17px; margin-top:4px; line-height:1.25; }
.said div:first-child{ animation:slideL .6s var(--ease) .3s both; } .said div:last-child{ animation:slideR .6s var(--ease) .6s both; }
@keyframes slideL{ from{ opacity:0; transform:translateX(-30px); } to{ opacity:1; transform:none; } }
@keyframes slideR{ from{ opacity:0; transform:translateX(30px); } to{ opacity:1; transform:none; } }
.archname{ font-size:min(80px, 13vw, calc((100vw - 48px) / (var(--len) * .6))); line-height:.92; font-weight:900; letter-spacing:-.04em; color:var(--sodium); text-shadow:0 0 40px rgba(242,178,74,.35); }
.archname span{ display:inline-block; animation:letter .6s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes letter{ from{ opacity:0; transform:translateY(40px) rotate(8deg); } to{ opacity:1; transform:none; } }
.ticks{ display:flex; gap:8px; flex-wrap:wrap; }
.ticks i{ width:44px; height:44px; border-radius:12px; display:grid; place-items:center; font-style:normal; font-weight:900; font-size:20px; animation:pop2 .4s cubic-bezier(.2,1.2,.4,1) both; }
.ticks i.y{ background:rgba(63,203,126,.2); color:var(--go); } .ticks i.n{ background:rgba(242,178,74,.18); color:var(--sodium); }
.mirror{ display:grid; gap:8px; }
.mirror div{ display:flex; align-items:center; gap:10px; background:rgba(237,234,227,.06); border-radius:14px; padding:8px 12px 8px 8px; font-size:14.5px; line-height:1.35; }
.mirror img{ width:52px; height:52px; border-radius:10px; background:rgba(237,234,227,.08); flex-shrink:0; }
.endbtns{ display:grid; gap:10px; }
#results{ inset:0; overflow-y:auto; -webkit-overflow-scrolling:touch; background:rgba(9,15,21,.96); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); padding:calc(env(safe-area-inset-top,0px) + 18px) 18px calc(env(safe-area-inset-bottom,0px) + 26px); z-index:12; touch-action:pan-y; overscroll-behavior:contain; }
#results .inner{ max-width:600px; margin:0 auto; }
.kicker{ font-size:14px; color:var(--muted); margin:18px 0 2px; }
#rArch{ font-size:clamp(38px, 11vw, 58px); line-height:.95; font-weight:900; letter-spacing:-.035em; margin:2px 0 10px; color:var(--sodium); }
#rDesc{ font-size:17px; line-height:1.45; color:#E4DFD3; margin:0 0 16px; }
.stats{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; margin:6px 0 18px; }
.stat{ background:rgba(237,234,227,.06); border-radius:14px; padding:11px 10px 9px; }
.stat b{ display:block; font-size:22px; font-weight:900; font-variant-numeric:tabular-nums; }
.stat span{ font-size:12px; color:var(--muted); line-height:1.3; display:block; margin-top:2px; }
.sec{ margin:26px 0 0; }
.sec h4{ font-size:18px; font-weight:900; margin:0 0 4px; letter-spacing:-.01em; }
.sec .sub{ font-size:13.5px; color:var(--muted); margin:0 0 12px; line-height:1.45; }
.chart{ display:block; width:100%; height:auto; overflow:visible; }
.chart text{ font-family:var(--font); }
.locked{ position:relative; border-radius:16px; overflow:hidden; border:1px solid var(--line); margin-top:22px; }
.locked .blur{ filter:blur(6px); opacity:.5; padding:16px; }
.locked .over{ position:absolute; inset:0; display:grid; place-items:center; text-align:center; padding:16px; background:linear-gradient(180deg, rgba(9,15,21,.3), rgba(9,15,21,.9)); }
.preview-note{ font-size:12.5px; color:var(--sea-hi); background:rgba(47,111,214,.14); border-radius:10px; padding:8px 11px; margin:16px 0 0; line-height:1.45; }
.lablist{ display:grid; gap:6px; }
.lablist div{ display:flex; justify-content:space-between; gap:10px; font-size:14.5px; padding:8px 12px; border-radius:12px; background:rgba(237,234,227,.05); }
.lablist em{ font-style:normal; font-weight:800; font-size:12.5px; padding:2px 8px; border-radius:6px; background:rgba(237,234,227,.1); }
.lablist em.rule, .lablist em.strong{ background:var(--sodium); color:#13202B; }
details.method{ margin-top:26px; border-top:1px solid var(--line); padding-top:12px; }
details.method summary{ cursor:pointer; font-weight:800; font-size:15px; padding:6px 0; }
details.method p{ font-size:14px; line-height:1.55; color:#DDD8CC; }
.onward{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:16px; }
.onward a{ display:grid; place-items:center; text-align:center; min-height:52px; border-radius:12px; background:rgba(237,234,227,.06); color:var(--paint); font-weight:800; font-size:13.5px; text-decoration:none; padding:6px; }
.privacy{ font-size:12px; color:var(--muted); line-height:1.5; margin-top:16px; }
#tip{ position:fixed; z-index:50; pointer-events:none; background:#F4F1EA; color:#13202B; font-size:12.5px; font-weight:700; line-height:1.35; padding:7px 10px; border-radius:10px; max-width:240px; opacity:0; transition:opacity .15s; box-shadow:0 8px 30px rgba(0,0,0,.35); }
#tip.on{ opacity:1; }
#tip span{ display:block; font-weight:600; color:#3d4a55; }
#toast{ position:fixed; left:50%; bottom:calc(env(safe-area-inset-bottom,0px) + 22px); transform:translateX(-50%); background:var(--paint); color:#13202B; font-weight:800; font-size:14px; padding:10px 16px; border-radius:12px; z-index:60; opacity:0; transition:opacity .3s; pointer-events:none; }
#toast.on{ opacity:1; }
@media (prefers-reduced-motion: reduce){
  .grain, .pills i, .tile, .ticks i, .archname span, .stamp, .sl > *, .said div, .brief-card, #warn, .ld-sun b{ animation:none !important; }
  .fade{ transition:opacity .2s; }
}
#shareView{ inset:0; background:rgba(5,10,14,.8); display:grid; place-items:center; padding:16px; z-index:55; }
#shareView .card{ max-width:420px; width:100%; display:grid; gap:10px; }
#shareView img{ width:100%; border-radius:12px; }
#shareView textarea{ width:100%; min-height:64px; border-radius:10px; border:1px solid var(--line); background:rgba(237,234,227,.06); color:var(--paint); font:600 14px/1.4 var(--font); padding:8px 10px; resize:none; }
#title{ left:0; right:0; bottom:calc(12vh + env(safe-area-inset-bottom,0px)); text-align:center; padding:0 24px; z-index:7; pointer-events:none; }
#title > div{ opacity:0; transform:translateY(16px); }
#title.in > div{ animation:tIn 1s var(--ease) forwards; } #title.in #titleT{ animation-delay:.12s; } #title.in #titleS{ animation-delay:.35s; }
#title.out > div{ animation:tOut .5s ease forwards; }
@keyframes tIn{ from{ opacity:0; transform:translateY(16px); filter:blur(6px); } to{ opacity:1; transform:none; filter:blur(0); } }
@keyframes tOut{ from{ opacity:1; } to{ opacity:0; transform:translateY(-6px); } }
#titleK{ font-size:14px; font-weight:800; letter-spacing:.32em; text-transform:uppercase; color:var(--sand); margin-bottom:8px; text-shadow:0 2px 18px rgba(0,0,0,.7); }
#titleT{ font-size:clamp(32px, 7vw, 64px); font-weight:900; letter-spacing:-.035em; line-height:1; text-shadow:0 4px 40px rgba(0,0,0,.65); text-wrap:balance; }
#titleS{ font-size:clamp(15px, 2.2vw, 19px); font-weight:600; color:#E9E4D8; margin:12px auto 0; max-width:40ch; line-height:1.4; text-shadow:0 2px 20px rgba(0,0,0,.8); text-wrap:balance; }
#skip{ left:auto; right:calc(16px + env(safe-area-inset-right,0px)); top:auto; bottom:calc(16px + env(safe-area-inset-bottom,0px)); z-index:8; height:38px; padding:0 12px; border-radius:10px; border:1px solid rgba(237,234,227,.25); background:rgba(8,14,20,.5); color:var(--paint); font:700 13px var(--font); cursor:pointer; pointer-events:auto; display:flex; align-items:center; }
#skip kbd{ margin-left:8px; }
@media (prefers-reduced-motion: reduce){ #title.in > div{ animation:none; opacity:1; transform:none; } }
#brief{ z-index:7; }
.card.brief{ padding:12px 14px 12px; }
.bsegs{ display:grid; grid-template-columns:repeat(4,1fr); gap:5px; margin:0 0 10px; }
.bsegs i{ --p:0; display:block; height:4px; border-radius:2px; background:rgba(237,234,227,.18); overflow:hidden; position:relative; }
.bsegs i::after{ content:""; position:absolute; inset:0; background:var(--sodium); transform-origin:left; transform:scaleX(var(--p)); }
.bsegs i.done::after{ background:var(--paint); }
.bart{ height:88px; border-radius:14px; background:rgba(237,234,227,.05); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.bart svg{ height:100%; width:auto; max-width:100%; }
#bT{ font-size:25px; font-weight:900; letter-spacing:-.02em; line-height:1.1; margin:12px 0 6px; }
#bS{ font-size:15.5px; line-height:1.45; color:var(--paint); opacity:.86; margin:0; }
.bnav{ display:flex; gap:8px; margin-top:12px; }
.bnav .primary, .bnav .ghost{ margin:0; height:50px; }
.bnav .ghost{ flex:0 0 34%; }
.bnav kbd.key{ margin:0 6px; }
.card.brief.swap > .bart, .card.brief.swap > h2, .card.brief.swap > p{ animation:bIn .5s var(--ease) both; }
.card.brief.swap > h2{ animation-delay:.06s; } .card.brief.swap > p{ animation-delay:.12s; }
@keyframes bIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
@media (max-width:380px){ .bart{ height:72px; } #bT{ font-size:22px; } #bS{ font-size:14.5px; } }
@media (prefers-reduced-motion: reduce){ .card.brief.swap > *{ animation:none !important; } }
.lost{ display:flex; align-items:center; gap:8px; margin:8px 0 0; font-size:13.5px; line-height:1.35; color:var(--muted); }
.lost svg{ width:18px; height:18px; flex-shrink:0; color:var(--sea-hi); }
.lost b{ color:var(--paint); font-weight:700; }
.exoffer{ margin-top:10px; padding:11px 12px 12px; border-radius:14px; background:rgba(47,111,214,.16); border:1px solid rgba(110,150,240,.4); font-size:14px; line-height:1.4; }
.exoffer p{ margin:0 0 9px; }
.exoffer .row{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.exoffer .primary, .exoffer .ghost{ margin-top:0; height:44px; font-size:14.5px; }
.exoffer kbd.key{ margin-left:8px; }
.nightline{ display:flex; justify-content:space-between; gap:10px; align-items:baseline; margin:0 0 8px; padding:7px 10px; border-radius:10px; background:rgba(216,53,42,.16); border:1px solid rgba(255,120,100,.28); font-size:13px; line-height:1.35; color:#f2d6d0; }
.nightline b{ white-space:nowrap; font-weight:900; color:#ff9a8a; font-variant-numeric:tabular-nums; }
.campline{ margin:2px 0 6px; }
.campline .rcl{ display:flex; align-items:baseline; gap:8px; font-variant-numeric:tabular-nums; }
.campline .rcl span{ font-size:13px; color:var(--muted); font-weight:700; }
.campline .rcl b{ font-size:22px; font-weight:900; letter-spacing:-.02em; }
.campline .rcl b.to{ color:var(--go); }
.campline .rcl i{ font-style:normal; color:var(--muted); font-size:13px; }
.campline .rcl em{ font-style:normal; font-size:13px; font-weight:900; color:var(--go); margin-left:auto; }
.campline .rcm{ position:relative; height:7px; border-radius:4px; background:rgba(237,234,227,.12); overflow:hidden; margin-top:6px; }
.campline .rcm i{ position:absolute; top:0; height:100%; }
.campline .rcm i.now{ left:0; background:rgba(237,234,227,.5); }
.campline .rcm i.add{ background:var(--go); }
.campline .rcm i.ghost{ background:repeating-linear-gradient(90deg, rgba(242,178,74,.75) 0 4px, transparent 4px 7px); }
.campline p{ margin:7px 0 0; font-size:13px; color:#e9cf9c; }
.echo{ display:grid; gap:6px; margin:12px 0 6px; }
.echo > div{ display:grid; grid-template-columns:1fr auto; gap:2px 10px; padding:9px 12px; border-radius:12px; background:rgba(237,234,227,.06); }
.echo span{ grid-column:1 / -1; font-size:12px; color:var(--muted); font-weight:700; }
.echo b{ font-size:14.5px; }
.echo em{ font-style:normal; font-size:12.5px; font-weight:900; align-self:center; padding:3px 9px; border-radius:999px; }
.echo em.y{ background:rgba(63,203,126,.18); color:var(--go); } .echo em.n{ background:rgba(237,234,227,.1); color:var(--muted); }
.card.share{ max-width:640px; padding:12px 12px 10px; }
.cross{ display:grid; grid-template-columns:1fr minmax(84px,.62fr) 1fr; grid-template-rows:auto auto auto; gap:7px; grid-template-areas:". up ." "left pile right" ". down ."; }
.cross .up{ grid-area:up; } .cross .left{ grid-area:left; } .cross .right{ grid-area:right; } .cross .down{ grid-area:down; } .cross .pile{ grid-area:pile; }
.cross .up, .cross .down{ grid-column:1 / -1; justify-self:center; width:min(100%, 300px); }
.pp{ --pc:#fff; border:0; border-radius:14px; padding:8px 9px 8px; background:rgba(237,234,227,.07); box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.12); color:var(--paint); font-family:inherit; text-align:left; cursor:pointer; display:flex; flex-direction:column; gap:4px; min-width:0; transition:transform .12s ease, box-shadow .2s, background .2s; position:relative; }
.pp:hover{ background:rgba(237,234,227,.11); }
.pp:active{ transform:scale(.97); }
.pp.full{ opacity:.92; }
.pp .pt{ display:flex; align-items:center; gap:7px; min-width:0; }
.pp .pt img{ width:28px; height:28px; border-radius:50%; object-fit:cover; background:#13202B; box-shadow:0 0 0 2px var(--pc); flex-shrink:0; }
.pp .pt b{ font-size:15px; font-weight:900; }
.pp .pt kbd{ margin-left:auto; border-color:var(--pc); color:var(--pc); }
.pp .pn{ display:flex; align-items:center; gap:6px; font-size:12.5px; font-weight:800; }
.pips{ display:inline-flex; gap:2px; } .pips i{ width:9px; height:9px; border-radius:3px; background:rgba(237,234,227,.16); }
.pp .pe{ font-size:12px; color:var(--muted); line-height:1.25; display:flex; align-items:center; gap:5px; }
.pp .pe.w{ color:#e9d2a6; } .pp .pe .dot{ width:7px; height:7px; border-radius:50%; background:#e9d2a6; flex-shrink:0; }
.pp .pe.r{ font-style:italic; }
.pp .po{ font-size:12px; font-weight:800; color:#ffb8a8; }
.pp .pq{ font-size:12px; color:#DDD8CC; line-height:1.3; font-style:italic; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.pp .pg{ display:flex; align-items:center; gap:8px; margin-top:2px; }
.pp .ask{ font-size:12px; color:var(--muted); font-weight:700; } .pp .ask b{ color:var(--paint); font-size:14px; }
.pp .got{ display:flex; align-items:center; gap:4px; margin-left:auto; padding:2px 8px 2px 8px; border-radius:999px; background:rgba(237,234,227,.08); min-height:26px; }
.pp .got b{ font-size:17px; font-weight:900; font-variant-numeric:tabular-nums; }
.pp .got.on{ background:color-mix(in srgb, var(--pc) 28%, transparent); box-shadow:inset 0 0 0 1.5px var(--pc); }
.pp .minus{ width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:rgba(237,234,227,.12); font-size:18px; font-weight:900; line-height:1; flex-shrink:0; }
.uic{ display:inline-flex; align-items:center; } .uic img{ width:18px; height:18px; object-fit:contain; margin-left:-5px; filter:drop-shadow(0 1px 1px rgba(0,0,0,.4)); } .uic img:first-child{ margin-left:0; } .uic em{ font-style:normal; font-size:12px; font-weight:800; margin-left:2px; }
.pile{ border-radius:14px; background:rgba(242,178,74,.1); box-shadow:inset 0 0 0 1.5px rgba(242,178,74,.35); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:8px 4px; text-align:center; position:relative; min-height:96px; }
.pile > b{ font-size:30px; font-weight:900; line-height:1; color:var(--sodium); font-variant-numeric:tabular-nums; }
.pile > span{ font-size:12px; font-weight:800; color:#e9cf9c; }
.pile .uic{ flex-wrap:wrap; justify-content:center; max-width:90px; } .pile .uic img{ width:20px; height:20px; margin:0 -2px; }
.pile b.done{ font-size:14px; color:var(--go); }
.pile .ring{ --k:1; width:34px; height:34px; border-radius:50%; background:conic-gradient(var(--go) calc(var(--k) * 360deg), rgba(237,234,227,.12) 0); -webkit-mask:radial-gradient(circle, transparent 11px, #000 12px); mask:radial-gradient(circle, transparent 11px, #000 12px); }
.pile .undo{ border:0; background:rgba(237,234,227,.12); color:var(--paint); font:800 12px var(--font); padding:5px 9px; border-radius:8px; cursor:pointer; display:inline-flex; align-items:center; gap:5px; }
#tide .ui{ width:18px; height:18px; object-fit:contain; } #tide .dim{ color:var(--muted); font-weight:700; }
@media (max-width:480px){
  .card.share{ padding:10px 8px 8px; }
  .cross{ grid-template-columns:1fr 74px 1fr; gap:5px; }
  .pp{ padding:7px 7px 7px; gap:3px; } .pp .pq{ display:none; } .pp .pt b{ font-size:14px; } .pp .pt img{ width:24px; height:24px; }
  .pp .pe{ font-size:12px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; } .pp .pe .dot{ display:none; }
  .pp .got .uic{ display:none; } .pile{ min-height:80px; } .pile > b{ font-size:26px; } .pile .uic{ max-width:68px; } .pile .uic img{ width:16px; height:16px; }
}
.tag.ptag{ --pc:#fff; display:flex; align-items:center; gap:5px; padding:3px 8px 3px 4px; border-radius:999px; box-shadow:inset 0 0 0 2px var(--pc); font-size:12px; transition:opacity .25s; }
.tag.ptag b{ display:grid; place-items:center; min-width:20px; height:20px; border-radius:50%; background:var(--pc); color:#13202B; font-size:12.5px; }
#revHead{ justify-content:space-between; } #revHead .sub2{ display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:800; color:var(--muted); }
.revrows{ display:grid; gap:5px; margin:2px 0 8px; }
.rr{ --pc:#fff; display:grid; grid-template-columns:26px 54px 66px 1fr; align-items:center; gap:8px; padding:5px 8px 5px 5px; border-radius:10px; background:rgba(237,234,227,.05); }
.rr img{ width:26px; height:26px; border-radius:50%; object-fit:cover; background:#13202B; box-shadow:0 0 0 2px var(--pc); }
.rr .nm{ font-weight:900; font-size:14px; } .rr .gv b{ font-size:18px; font-weight:900; color:var(--pc); font-variant-numeric:tabular-nums; } .rr .gv em{ font-style:normal; font-size:12px; color:var(--muted); margin-left:4px; }
.rr .ln{ font-size:13px; color:#DDD8CC; line-height:1.3; }
.rbar{ display:flex; height:28px; border-radius:9px; overflow:hidden; margin:14px 0 10px; gap:2px; }
.rbar i{ display:block; width:var(--w); animation:grow .7s var(--ease) both; transform-origin:left center; }
@keyframes grow{ from{ transform:scaleX(0); opacity:0; } to{ transform:none; opacity:1; } }
.rkey{ display:flex; flex-wrap:wrap; gap:6px 14px; font-size:13.5px; font-weight:700; } .rkey span{ display:inline-flex; align-items:center; gap:6px; } .rkey i{ width:11px; height:11px; border-radius:3px; } .rkey b{ font-weight:900; }
.rkey.small{ font-size:12px; margin-top:8px; }
.nstrip{ display:grid; grid-template-columns:repeat(auto-fit, minmax(16px, 1fr)); gap:4px; margin-top:16px; height:96px; }
.nstrip .nn{ display:flex; flex-direction:column; gap:1px; border-radius:5px; overflow:hidden; animation:pop .45s cubic-bezier(.2,1.4,.4,1) both; transform-origin:bottom; }
.nstrip .nn i{ display:block; min-height:0; }
.ql{ display:grid; gap:12px; margin-top:12px; } .ql > div{ display:grid; gap:2px; padding:12px 14px; border-radius:14px; background:rgba(237,234,227,.06); opacity:0; animation:tIn .7s var(--ease) forwards; animation-delay:var(--d); }
.ql span{ font-size:13.5px; color:var(--muted); font-weight:700; } .ql b{ font-size:30px; font-weight:900; color:var(--sodium); } .ql em{ font-style:normal; font-size:14px; }
.sp.ai{ font-size:15px; color:#cfe0f8; }
.sbig small{ font-size:.5em; margin-left:2px; }
.sec.ai{ padding:14px 16px; border-radius:16px; background:rgba(47,111,214,.14); border:1px solid rgba(110,150,240,.35); } .sec.ai p{ margin:6px 0 0; line-height:1.45; }
@media (prefers-reduced-motion: reduce){ .rbar i, .nstrip .nn, .ql > div{ animation:none !important; opacity:1; } }
@media (min-width:900px) and (min-aspect-ratio:5/4){
  #share{ top:0; bottom:0; padding:0; }
  .card.share{ position:absolute; inset:0; max-width:none; margin:0; background:none; border:0; -webkit-backdrop-filter:none; backdrop-filter:none; padding:0; pointer-events:none; }
  .card.share .cross{ display:block; }
  .card.share .pp, .card.share .pile, .card.share .q, .card.share .timer, .card.share .hint{ position:absolute; pointer-events:auto; }
  .card.share .pp{ width:min(25vw, 300px); background:var(--panel); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.14); padding:10px 12px 10px; }
  .card.share .pp:hover{ background:rgba(20,30,40,.92); }
  .card.share .pp.up{ top:84px; left:50%; transform:translateX(-50%); }
  .card.share .pp.up:active{ transform:translateX(-50%) scale(.97); }
  .card.share .pp.left{ left:18px; top:46%; transform:translateY(-50%); }
  .card.share .pp.left:active{ transform:translateY(-50%) scale(.97); }
  .card.share .pp.right{ right:18px; top:46%; transform:translateY(-50%); }
  .card.share .pp.right:active{ transform:translateY(-50%) scale(.97); }
  .card.share .pp.down{ bottom:18px; left:50%; transform:translateX(-50%); }
  .card.share .pp.down:active{ transform:translateX(-50%) scale(.97); }
  .card.share .pile{ right:18px; bottom:18px; width:min(20vw, 230px); min-height:0; background:rgba(30,24,12,.82); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); padding:12px; }
  .card.share .q{ left:18px; bottom:18px; width:min(24vw, 290px); margin:0; padding:12px 14px 14px; border-radius:14px; background:var(--panel); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); flex-direction:column; gap:6px; font-size:15px; }
  .card.share .q > span:first-child{ display:block; }
  .card.share .timer{ left:18px; bottom:8px; width:min(24vw, 290px); margin:0; height:3px; }
  .card.share .hint{ left:50%; transform:translateX(-50%); bottom:-26px; display:none; }
  .card.share .pp .pq{ -webkit-line-clamp:3; }
}
.rrows{ display:grid; gap:10px; }
.rrow{ display:grid; grid-template-columns:118px 1fr 44px; align-items:center; gap:10px; font-size:14px; }
.rrow .nm{ font-weight:800; } .rrow b{ text-align:right; font-weight:900; font-variant-numeric:tabular-nums; }
.rrow .trk{ position:relative; height:14px; border-radius:7px; background:linear-gradient(90deg, transparent calc(25% - 1px), rgba(237,234,227,.1) 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), rgba(237,234,227,.1) 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), rgba(237,234,227,.1) 75%, transparent calc(75% + 1px)), rgba(237,234,227,.05); }
.rrow .band{ position:absolute; top:3px; height:8px; border-radius:4px; opacity:.38; }
.rrow .dot{ position:absolute; top:50%; width:14px; height:14px; margin:-7px 0 0 -7px; border-radius:50%; box-shadow:0 0 0 2px #0d141c; cursor:pointer; }
.rrow.axis .trk{ background:none; height:14px; } .rrow.axis em{ position:absolute; transform:translateX(-50%); font-style:normal; font-size:12px; color:var(--muted); }
.ngrid{ display:grid; gap:4px; font-size:12.5px; }
.nrow{ display:grid; grid-template-columns:52px repeat(4, 1fr); gap:6px; align-items:center; }
.nrow.head span{ font-weight:900; font-size:12.5px; }
.nrow .nl{ display:flex; align-items:center; gap:3px; color:var(--muted); font-weight:700; font-variant-numeric:tabular-nums; } .nrow .nl img{ width:15px; height:15px; object-fit:contain; }
.nrow .cell{ position:relative; height:18px; border-radius:5px; background:rgba(237,234,227,.04); cursor:pointer; }
.nrow .cell .ask{ position:absolute; left:0; top:0; bottom:0; border-radius:5px; box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.28); }
.nrow .cell .got{ position:absolute; left:0; top:3px; bottom:3px; border-radius:3px; opacity:.92; }
.nrow .cell em{ position:absolute; right:4px; top:50%; transform:translateY(-50%); font-style:normal; font-size:12px; font-weight:900; color:var(--paint); text-shadow:0 1px 2px rgba(0,0,0,.6); }
.nrow.to .cell .got{ opacity:.35; }
@media (max-width:420px){ .rrow{ grid-template-columns:96px 1fr 40px; font-size:13px; } .nrow{ grid-template-columns:44px repeat(4, 1fr); gap:4px; } }
.card.pk{ max-width:640px; padding:12px 12px 10px; }
.pkhead{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 10px; margin:0 0 8px; }
.pkhead .k{ font-size:13.5px; color:var(--muted); font-weight:700; width:100%; }
.pkhead .k b{ color:var(--paint); }
.pkhead .t{ font-size:22px; font-weight:900; letter-spacing:-.02em; line-height:1.1; }
.pkhead .sealed{ font-size:12.5px; font-weight:800; color:var(--sea-hi); display:inline-flex; align-items:center; gap:5px; }
.pkhead .sealed svg{ width:14px; height:14px; }
.pkmeter{ display:flex; align-items:center; gap:10px; margin:0 0 10px; }
.pkmeter .blocks{ flex:1; display:grid; grid-template-columns:repeat(var(--n), minmax(0,1fr)); gap:3px; }
.pkmeter .blocks i{ height:12px; border-radius:3px; background:rgba(237,234,227,.14); transition:background .25s; }
.pkmeter .blocks i.f{ background:var(--sodium); }
.pkmeter .blocks i.x{ background:#e2574a; }
.pkmeter .mk{ font-size:14px; font-weight:700; color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums; }
.pkmeter .mk b{ color:var(--paint); font-size:17px; } .pkmeter .mk.over b{ color:#ff7a6a; }
.nudge{ animation:nudge .35s ease; }
@keyframes nudge{ 0%,100%{ transform:translateX(0); } 25%{ transform:translateX(-5px); } 75%{ transform:translateX(5px); } }
.card.pk .tiles{ display:grid; grid-template-columns:repeat(auto-fill, minmax(96px, 1fr)); gap:7px; max-height:min(40vh, 340px); overflow-y:auto; padding:3px; flex-wrap:nowrap; }
.card.pk .tile{ position:relative; width:auto; animation:none; border:0; border-radius:14px; padding:5px 5px 7px; background:rgba(237,234,227,.07); color:var(--paint); display:grid; justify-items:center; align-content:start; gap:1px; cursor:pointer; text-align:center; box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.08); transition:background .2s, box-shadow .2s, transform .15s, opacity .2s; font-family:inherit; }
.card.pk .tile:active{ transform:scale(.96); }
.card.pk .tile .art{ position:relative; width:100%; height:78px; display:flex; align-items:center; justify-content:center; }
.card.pk .tile .art img{ width:100%; height:100%; max-height:100%; object-fit:contain; border-radius:0; background:none; margin:0; }
.card.pk .tile .art img.own{ position:absolute; right:2px; bottom:2px; width:30%; height:auto; aspect-ratio:1; border-radius:50%; object-fit:cover; background:#13202B; box-shadow:0 0 0 2px var(--paint); }
.card.pk .tile .nm{ font-size:12.5px; font-weight:800; line-height:1.12; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.25em; }
.card.pk .tile .kg{ font-size:12px; font-weight:800; color:var(--muted); font-variant-numeric:tabular-nums; }
.card.pk .tile .still{ position:absolute; left:4px; top:4px; font-size:12px; font-weight:900; padding:2px 5px 1px; border-radius:5px; background:rgba(13,20,28,.82); color:var(--sand); }
.card.pk .tile .ck{ position:absolute; right:5px; top:5px; min-width:22px; height:22px; padding:0 6px; border-radius:11px; background:var(--sodium); color:#13202B; font-style:normal; font-weight:900; font-size:13px; display:grid; place-items:center; }
.card.pk .tile .ck.over{ background:#e2574a; color:#fff; font-size:12px; }
.card.pk .tile.on{ background:rgba(242,178,74,.2); box-shadow:inset 0 0 0 2px var(--sodium); }
.card.pk .tile.hi{ box-shadow:inset 0 0 0 2px var(--paint); }
.card.pk .tile.on.hi{ box-shadow:inset 0 0 0 2px var(--paint), 0 0 0 3px rgba(242,178,74,.55); }
.card.pk .tile.heavy{ opacity:.4; }
.card.pk .tile.gone{ background:rgba(226,87,74,.16); box-shadow:inset 0 0 0 2px rgba(226,87,74,.75); }
.card.pk .tile.gone .art{ opacity:.55; }
.card.pk .tile.thrown{ opacity:.28; cursor:default; }
.card.pk .tiles.many{ grid-template-columns:repeat(auto-fill, minmax(86px, 1fr)); }
#pkGo.hi{ box-shadow:0 0 0 3px var(--sodium); }
#pkGo:disabled{ opacity:.5; cursor:default; }
.primary.danger{ background:#e2574a; color:#fff; }
.card.storm .tile.on{ background:rgba(242,178,74,.24); }
@media (max-width:520px){
  .card.pk{ padding:10px 8px 8px; }
  .card.pk .tiles, .card.pk .tiles.many{ grid-template-columns:repeat(4, minmax(0,1fr)); gap:5px; max-height:36vh; }
  .card.pk .tile{ padding:3px 3px 5px; border-radius:12px; }
  .card.pk .tile .art{ height:52px; }
  .card.pk .tile .nm{ font-size:12px; }
  .card.pk .tile .kg{ font-size:12px; }
  .pkhead .t{ font-size:19px; } .pkhead .k{ font-size:12.5px; }
  .card.pk .primary{ height:48px; margin-top:9px; font-size:16px; }
  .card.pk .hint{ font-size:12px; margin-top:7px; }
}
@media (min-width:900px) and (min-aspect-ratio:5/4){
  #pack, #storm{ top:0; bottom:0; padding:0; }
  #pack .card.pk, #storm .card.pk{ position:absolute; right:18px; top:92px; bottom:18px; width:min(420px, 34vw); max-width:none; margin:0; display:flex; flex-direction:column; }
  #pack .card.pk .tiles, #storm .card.pk .tiles{ flex:1; max-height:none; grid-template-columns:repeat(3, minmax(0,1fr)); align-content:start; }
}
.pack .items.n1{ grid-template-columns:1fr; justify-items:center; }
.pack .items.n1 .it{ width:56%; }
.pack .items.n2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
.tag.itag{ display:flex; flex-direction:column; align-items:center; gap:1px; padding:6px 11px 5px; border-radius:10px; box-shadow:inset 0 0 0 2px var(--cc, var(--sodium)); transition:opacity .2s; white-space:nowrap; }
.tag.itag b{ font-size:13.5px; } .tag.itag span{ font-size:12px; color:var(--muted); font-weight:700; }
.pill.inv b{ font-variant-numeric:tabular-nums; } .pill.lostp{ color:#ffb0a6; }
.rv{ display:grid; gap:6px; margin:0 0 10px; }
.rv .lbl{ font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.rv.lost .lbl{ color:#ff8a7a; } .rv.left .lbl{ color:var(--sand); }
.rv .chips{ gap:6px; } .rv .none{ font-size:14px; color:var(--muted); }
.ichip{ display:inline-flex; align-items:center; gap:6px; padding:3px 11px 3px 3px; border-radius:999px; background:rgba(237,234,227,.08); box-shadow:inset 0 0 0 1.5px var(--cc); font-size:13px; font-weight:800; }
.ichip img{ width:30px; height:30px; border-radius:50%; object-fit:contain; background:rgba(237,234,227,.08); }
.ichip em{ font-style:normal; font-weight:700; color:var(--muted); font-size:12px; margin-left:2px; }
.rx{ display:grid; gap:6px; margin:4px 0 6px; }
.rxl{ display:flex; align-items:center; gap:9px; font-size:14px; line-height:1.3; }
.rxl img{ width:34px; height:34px; border-radius:50%; object-fit:cover; background:#13202B; box-shadow:0 0 0 2px var(--pc); flex-shrink:0; }
.revcount{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:13px; color:var(--muted); margin:8px 0 0; }
.revcount svg{ width:15px; height:15px; } .revcount b{ color:var(--paint); }
.revcount .sep{ width:1px; height:12px; background:var(--line); margin:0 3px; }
#reveal .card{ max-height:calc(100vh - 110px); overflow-y:auto; }
.wrows{ display:grid; gap:3px; }
.wrow{ display:grid; grid-template-columns:22px 30px minmax(0, 1.1fr) 2fr 30px; align-items:center; gap:8px; font-size:13.5px; padding:2px 0; animation:rise .6s var(--ease) both; }
.wrow .pl{ color:var(--muted); font-weight:800; text-align:right; font-variant-numeric:tabular-nums; }
.wrow img{ width:30px; height:30px; object-fit:contain; }
.wrow .nm{ font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.wrow .trk{ position:relative; height:14px; border-radius:7px; background:rgba(237,234,227,.06); }
.wrow .trk .band{ position:absolute; top:0; height:100%; border-radius:7px; background:var(--cc); opacity:.25; }
.wrow .trk .bar{ position:absolute; left:0; top:3px; height:8px; border-radius:4px; background:var(--cc); }
.wrow b{ text-align:right; font-variant-numeric:tabular-nums; }
.gap{ display:grid; gap:8px; margin-top:10px; }
.gl{ display:grid; grid-template-columns:minmax(90px, 30%) 1fr; align-items:center; gap:10px; font-size:13.5px; font-weight:700; }
.gb{ display:flex; gap:2px; height:18px; } .gb i{ height:100%; border-radius:4px; }
.crows{ display:grid; gap:7px; }
.crow{ display:grid; grid-template-columns:minmax(110px, 36%) 1fr; align-items:center; gap:10px; font-size:14px; font-weight:700; animation:rise .6s var(--ease) both; }
.crow .trk{ height:12px; border-radius:6px; background:rgba(237,234,227,.06); } .crow .trk i{ display:block; height:100%; border-radius:6px; background:var(--cc); }
.icons{ display:flex; flex-wrap:wrap; gap:4px; } .icons img{ width:44px; height:44px; object-fit:contain; animation:pop2 .4s cubic-bezier(.2,1.2,.4,1) both; }
.lastimg{ width:min(46vw, 220px); height:auto; animation:pop2 .6s cubic-bezier(.2,1.2,.4,1) both; }
.lastsec{ display:flex; gap:14px; align-items:center; } .lastsec img{ width:88px; height:88px; object-fit:contain; flex-shrink:0; } .lastsec p{ margin:4px 0 0; font-size:14.5px; line-height:1.45; }
@media (prefers-reduced-motion: reduce){ .wrow, .crow, .icons img, .lastimg, .nudge{ animation:none !important; } }
.card.so{ max-width:560px; padding:11px 12px 10px; }
.sohead{ display:flex; justify-content:space-between; align-items:center; font-size:13px; font-weight:800; color:var(--muted); margin:0 0 6px; font-variant-numeric:tabular-nums; }
.sonext{ display:flex; align-items:center; gap:4px; } .sonext img{ width:28px; height:28px; object-fit:contain; opacity:.75; border-radius:7px; background:rgba(237,234,227,.06); } .sonext span{ font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; margin-left:3px; }
.socur{ display:flex; align-items:center; gap:12px; margin:0 0 10px; }
.soring{ position:relative; width:84px; height:84px; flex-shrink:0; }
.soring svg{ position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
.soring circle{ fill:none; stroke-width:3.4; } .soring .bg{ stroke:rgba(237,234,227,.12); }
.soring .fg{ stroke:var(--sodium); stroke-linecap:round; stroke-dasharray:138.2; stroke-dashoffset:0; transition:stroke .3s; } .soring .fg.warn{ stroke:#ff6a55; }
.soring img{ position:absolute; inset:10px; width:64px; height:64px; object-fit:contain; animation:pop2 .35s cubic-bezier(.2,1.2,.4,1) both; }
.sotxt{ min-width:0; } .sotxt .nm{ font-size:20px; font-weight:900; letter-spacing:-.02em; line-height:1.12; }
.sotxt .sub{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:4px; font-size:13px; font-weight:700; color:var(--muted); }
.sotxt .sub i{ width:9px; height:9px; border-radius:50%; background:var(--cc); } .sotxt .sub img{ width:20px; height:20px; border-radius:50%; object-fit:cover; background:#13202B; }
.sobtns{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:7px; }
.sob{ border:0; border-radius:14px; padding:10px 6px 9px; display:grid; justify-items:center; gap:2px; cursor:pointer; font-family:inherit; color:#13202B; transition:transform .12s, filter .2s; }
.sob:active{ transform:scale(.96); }
.sob b{ font-size:17px; font-weight:900; } .sob span{ font-size:12px; font-weight:800; opacity:.8; font-variant-numeric:tabular-nums; }
.sob kbd{ margin:0 0 2px; border-color:currentColor; opacity:.7; }
.sob.d{ background:linear-gradient(180deg, #52D88E, #36B26E); } .sob.r{ background:linear-gradient(180deg, #F5B54E, #E39A2C); } .sob.s{ background:linear-gradient(180deg, #5E8FD8, #3F6FB8); color:#fff; }
.sob.full span{ font-weight:900; opacity:1; }
.sopick p{ margin:0 0 8px; font-size:14px; line-height:1.35; color:#DDD8CC; } .sopick p b{ color:var(--paint); }
.sopick .tiles{ display:grid; grid-template-columns:repeat(auto-fill, minmax(78px, 1fr)); gap:6px; }
.sopick .tile{ position:relative; width:auto; animation:none; border:0; border-radius:12px; padding:4px 4px 6px; background:rgba(237,234,227,.07); color:var(--paint); display:grid; justify-items:center; gap:1px; cursor:pointer; box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.08); font-family:inherit; }
.sopick .tile .art{ width:100%; height:54px; display:flex; align-items:center; justify-content:center; } .sopick .tile .art img{ width:100%; height:100%; object-fit:contain; border-radius:0; background:none; margin:0; }
.sopick .tile .nm{ font-size:12px; font-weight:800; line-height:1.1; }
.sopick .tile.hi{ box-shadow:inset 0 0 0 2px #ff8a7a; background:rgba(226,87,74,.16); }
.sopickfoot{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; } .sopickfoot .hint{ margin:0; } .sopickfoot .ghost{ height:38px; padding:0 14px; font-size:14px; }
#soHint{ margin:7px 0 0; text-align:center; } #soHint:empty{ display:none; }
@media (hover:none), (pointer:coarse){ .sob kbd{ display:none; } }
@media (max-width:380px){ .soring{ width:70px; height:70px; } .soring img{ inset:8px; width:54px; height:54px; } .sotxt .nm{ font-size:17px; } .sob b{ font-size:15px; } }
@media (min-width:900px) and (min-aspect-ratio:5/4){
  #sort{ top:0; bottom:0; padding:0; }
  #sort .card.so{ position:absolute; right:18px; bottom:18px; width:min(420px, 34vw); max-width:none; margin:0; }
}
.timer i.warn, .timer i.warn{ background:#ff6a55; }
#dTimer, #smTimer{ transition:background .3s; }
.card.offer .q{ flex-direction:column; align-items:flex-start; gap:6px; }
.card.offer .steps{ display:flex; gap:5px; } .card.offer .steps i{ width:18px; height:5px; border-radius:3px; background:rgba(237,234,227,.18); } .card.offer .steps i.d{ background:var(--muted); } .card.offer .steps i.c{ background:var(--sodium); }
.pack .items.many{ grid-template-columns:repeat(4, minmax(0,1fr)); }
.pack .foot{ font-size:12px; font-weight:800; opacity:.85; margin-top:auto; }
.tboard{ display:grid; gap:8px; margin:12px 0 4px; text-align:left; }
.tb-row{ display:grid; grid-template-columns:62px 1fr; gap:8px; align-items:center; }
.tb-l{ font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); display:grid; } .tb-l b{ font-size:20px; color:var(--paint); letter-spacing:0; }
.tb-row.d .tb-l b{ color:#52D88E; } .tb-row.r .tb-l b{ color:var(--sodium); } .tb-row.s .tb-l b{ color:var(--sea-hi); }
.tb-i{ display:flex; flex-wrap:wrap; gap:4px; }
.tb-t{ position:relative; width:38px; height:38px; border-radius:9px; background:rgba(237,234,227,.07); box-shadow:inset 0 0 0 1.5px var(--cc); display:grid; place-items:center; animation:pop2 .4s cubic-bezier(.2,1.2,.4,1) both; cursor:default; }
.tb-t img{ width:32px; height:32px; object-fit:contain; }
.tb-t.f-storm img, .tb-t.f-sank img, .tb-t.f-sea img, .tb-t.f-traded img{ opacity:.45; filter:saturate(.5); }
.tb-t.f-tide{ box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.18); } .tb-t.f-tide img{ opacity:.3; filter:grayscale(1); }
.tb-t.f-last, .tb-t.f-home{ background:rgba(242,178,74,.22); box-shadow:inset 0 0 0 2px var(--sodium), 0 0 12px rgba(242,178,74,.45); }
.tb-t em{ position:absolute; right:-3px; top:-4px; min-width:15px; height:15px; border-radius:8px; background:#e2574a; color:#fff; font-style:normal; font-size:12px; font-weight:900; display:grid; place-items:center; padding:0 3px; }
.tb-t .star{ position:absolute; left:-4px; top:-4px; width:12px; height:12px; border-radius:50%; background:var(--sodium); box-shadow:0 0 0 2px #13202B; }
.ladder{ display:flex; gap:6px; margin:14px 0 6px; justify-content:center; flex-wrap:wrap; }
.rung{ position:relative; min-width:58px; padding:8px 6px 7px; border-radius:12px; background:rgba(237,234,227,.07); display:grid; justify-items:center; gap:2px; animation:rise .5s var(--ease) both; }
.rung b{ font-size:24px; font-weight:900; line-height:1; } .rung span{ font-size:12px; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.rung.no{ box-shadow:inset 0 0 0 2px #9CC0F7; } .rung.no b{ color:#9CC0F7; }
.rung.yes{ background:rgba(242,178,74,.2); box-shadow:inset 0 0 0 2px var(--sodium); } .rung.yes b{ color:var(--sodium); }
.rung.na{ opacity:.35; } .rung.quiet{ opacity:.6; }
.rung.guess::after{ content:"our guess"; position:absolute; left:50%; bottom:-17px; transform:translateX(-50%); font-size:12px; font-weight:900; color:var(--sea-hi); white-space:nowrap; letter-spacing:.03em; }
.ladder + .sp, .ladder + .sub{ margin-top:22px; }
.krows{ display:grid; gap:7px; margin-top:10px; text-align:left; }
.krow{ display:grid; grid-template-columns:minmax(96px, 32%) 1fr 52px; align-items:center; gap:10px; font-size:14px; font-weight:700; animation:rise .6s var(--ease) both; }
.krow b{ text-align:right; font-size:12.5px; color:var(--muted); font-variant-numeric:tabular-nums; }
.kbar{ display:flex; height:18px; border-radius:6px; overflow:hidden; gap:2px; background:rgba(237,234,227,.05); }
.kbar i{ display:grid; place-items:center; font-style:normal; font-size:12px; font-weight:900; color:#13202B; min-width:0; }
.kd{ background:#52D88E; } .kr{ background:var(--sodium); } .ks{ background:#5E8FD8; color:#fff !important; } .kt{ background:rgba(237,234,227,.22); color:var(--paint) !important; }
.klegend{ display:flex; flex-wrap:wrap; gap:4px 12px; font-size:12px; font-weight:700; color:var(--muted); margin-top:2px; } .klegend i{ display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:5px; vertical-align:-1px; }
.wrow.t-tide .nm, .wrow.t-sea .nm{ color:var(--muted); }
.sl .called{ max-width:440px; margin:14px auto 0; text-align:left; }
@media (prefers-reduced-motion: reduce){ .tb-t, .rung, .krow, .soring img{ animation:none !important; } }
@media (min-width:900px) and (min-aspect-ratio:5/4){
  #decide{ top:0; bottom:0; padding:0; }
  #decide .card.offer{ position:absolute; right:18px; top:92px; width:min(440px, 36vw); max-width:none; margin:0; }
  #decide .card.offer .pack .items.n1 .it{ width:72%; }
}
:root{ --deep:#0B131C; --panel:rgba(12,18,26,.88); --lamp:#F2B24A; --safe:#3FCB7E; --watch:#E8654F; }
#loading{ background:radial-gradient(ellipse at 50% 30%, #1a2a3c, #070d14 70%); }
.ld-lamp{ width:92px; height:92px; position:relative; }
.ld-lamp i{ position:absolute; left:50%; top:50%; width:30px; height:38px; margin:-19px 0 0 -15px; border-radius:9px; background:linear-gradient(180deg, #ffe4b0, #f2a33b); box-shadow:0 0 40px rgba(242,178,74,.6); }
.ld-lamp b{ position:absolute; left:50%; top:50%; width:120px; height:56px; margin:-28px 0 0 14px; background:linear-gradient(90deg, rgba(242,178,74,.45), rgba(242,178,74,0)); clip-path:polygon(0 42%, 100% 0, 100% 100%, 0 58%); transform-origin:0 50%; animation:sweep 3.2s ease-in-out infinite; }
@keyframes sweep{ 0%,100%{ transform:rotate(-14deg); } 50%{ transform:rotate(14deg); } }
@media (prefers-reduced-motion: reduce){ .ld-lamp b{ animation:none; } }
#intro h1{ font-size:clamp(40px, 11.5vw, 74px); }
.segs i.on{ background:var(--paint); opacity:.8; }
.card.nc{ padding:11px 11px 10px; }
.nchead{ margin:0 2px 7px; }
.nchead .k{ display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--sand); }
.nchead .sealed{ display:inline-flex; align-items:center; gap:4px; margin-left:8px; padding:2px 7px 1px 5px; border-radius:999px; background:rgba(91,155,240,.16); font-size:12px; font-weight:800; color:var(--sea-hi); vertical-align:2px; white-space:nowrap; }
.nchead .sealed svg{ width:13px; height:13px; }
.nchead .t{ font-size:17px; font-weight:800; line-height:1.25; letter-spacing:-.01em; margin-bottom:4px; }
.nclegend{ display:flex; gap:10px; font-size:12px; font-weight:700; color:var(--muted); letter-spacing:0; text-transform:none; }
.nclegend span{ display:inline-flex; align-items:center; gap:5px; } .nclegend svg{ width:13px; height:13px; }
.nclegend .s svg{ color:var(--safe); } .nclegend .h svg{ color:var(--watch); }
.ncrows{ display:grid; gap:5px; }
.ncrow{ --pc:#fff; display:grid; grid-template-columns:30px minmax(0,1fr) minmax(100px, 35%); align-items:center; gap:9px; padding:6px 9px 6px 8px; border:0; border-radius:13px; background:rgba(237,234,227,.055); box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.07); color:var(--paint); font-family:inherit; text-align:left; cursor:pointer; transition:background .2s, box-shadow .2s, transform .12s; min-height:49px; }
.ncrow:active{ transform:scale(.985); }
.ncrow .ic{ width:30px; height:30px; color:var(--pc); } .ncrow .ic svg{ width:100%; height:100%; display:block; }
.ncrow .nm{ display:grid; gap:2px; min-width:0; }
.ncrow .nm b{ font-size:14.5px; font-weight:800; line-height:1.15; }
.ncrow .nm em{ font-style:normal; font-size:12px; font-weight:700; color:var(--muted); display:flex; align-items:center; gap:5px; }
.dots{ display:inline-flex; gap:1px; color:var(--watch); opacity:.9; } .dots svg{ width:7px; height:10px; } .dots.none{ display:none; }
.ncrow .bars{ display:grid; gap:5px; }
.vbar{ display:grid; grid-template-columns:13px 1fr; align-items:center; gap:5px; }
.vbar svg{ width:13px; height:13px; } .vbar.s svg{ color:var(--safe); } .vbar.h svg{ color:var(--watch); }
.vbar i{ display:block; height:8px; border-radius:4px; background:rgba(237,234,227,.1); overflow:hidden; }
.vbar i b{ display:block; height:100%; border-radius:4px; transition:width .5s var(--ease); }
.vbar.s i b{ background:var(--safe); } .vbar.h i b{ background:var(--watch); }
.ncrow.on{ background:color-mix(in srgb, var(--pc) 20%, rgba(13,20,28,.6)); box-shadow:inset 0 0 0 2px var(--pc), 0 0 22px color-mix(in srgb, var(--pc) 30%, transparent); }
.card.nc .primary{ height:50px; margin-top:9px; font-size:16px; }
.card.nc .primary:disabled{ opacity:.45; cursor:default; }
.card.nc .hint:empty, .card.cc .hint:empty{ display:none; }
@media (max-width:380px){ .ncrow{ grid-template-columns:26px minmax(0,1fr) 34%; gap:7px; } .ncrow .nm b{ font-size:13.5px; } .nchead .t{ font-size:16px; } }
.card.cc{ padding:12px 12px 10px; }
.cchead{ display:flex; gap:11px; align-items:flex-start; margin:0 2px 10px; }
.cchead img{ width:46px; height:54px; border-radius:12px; object-fit:cover; background:#13202B; flex-shrink:0; box-shadow:0 0 0 2px rgba(237,234,227,.18); }
.cchead .k{ font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--sand); margin-bottom:3px; }
.cchead .t{ font-size:17px; font-weight:800; line-height:1.27; letter-spacing:-.01em; }
@media (max-width:480px){ .cchead .t{ font-size:16px; } .ccb{ min-height:44px; font-size:15px; } .ccgain{ padding:7px 10px; margin-bottom:8px; } }
.ccgain{ display:grid; gap:6px; margin:0 2px 10px; padding:9px 11px; border-radius:12px; background:rgba(237,234,227,.05); }
.ccgain .vbar{ grid-template-columns:14px 104px 1fr; } .ccgain .lbl{ font-size:12.5px; font-weight:700; color:var(--muted); } .ccgain .vbar i{ height:10px; }
.ccopts{ display:grid; gap:6px; }
.ccb{ display:flex; align-items:center; gap:11px; min-height:46px; padding:7px 12px; margin:0; border:0; border-radius:13px; background:rgba(237,234,227,.07); box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.1); color:var(--paint); font:700 15.5px/1.25 var(--font); text-align:left; cursor:pointer; transition:background .18s, box-shadow .18s, transform .12s; }
.ccb:active{ transform:scale(.985); }
.ccb .n{ display:grid; place-items:center; width:24px; height:24px; border-radius:7px; background:rgba(237,234,227,.1); font-size:12.5px; font-weight:900; flex-shrink:0; color:var(--muted); }
.ccb .t{ flex:1; }
.ccb kbd{ opacity:0; margin-left:6px; }
.ccb.hi, .ccb[aria-pressed="true"]{ background:var(--paint); color:#13202B; box-shadow:none; }
.ccb.hi .n{ background:rgba(19,32,43,.12); color:#13202B; } .ccb.hi kbd{ opacity:.7; }
.ccb .pips{ display:inline-grid; grid-template-columns:repeat(4, 7px); gap:2px; align-items:end; flex-shrink:0; }
.ccb .pips i{ display:block; width:7px; height:12px; border-radius:2px; background:rgba(237,234,227,.16); }
.ccb .pips i:nth-child(1){ height:6px; } .ccb .pips i:nth-child(2){ height:9px; } .ccb .pips i:nth-child(3){ height:12px; } .ccb .pips i:nth-child(4){ height:15px; }
.ccb .pips i.f{ background:var(--lamp); } .ccb.hi .pips i{ background:rgba(19,32,43,.18); } .ccb.hi .pips i.f{ background:#b07a1c; }
.card.ar .cchead .t{ font-size:20px; }
.lstrip{ display:flex; gap:10px; flex-wrap:wrap; margin:2px 0 4px; }
.lt{ --pc:#fff; display:grid; justify-items:center; gap:4px; }
.lstrip .lt svg{ width:30px; height:35px; filter:drop-shadow(0 0 10px color-mix(in srgb, var(--pc) 55%, transparent)); }
.lt em{ font-style:normal; font-size:12px; font-weight:800; color:var(--muted); }
.lrow{ display:grid; grid-template-columns:repeat(9, minmax(0,1fr)); gap:6px; align-items:end; margin:16px 0 4px; height:118px; }
.lrow .lt{ align-content:end; animation:pop .5s cubic-bezier(.2,1.3,.4,1) both; transform-origin:bottom; }
.lrow .lt svg{ width:100%; max-width:26px; height:auto; filter:drop-shadow(0 0 8px color-mix(in srgb, var(--pc) 60%, transparent)); }
.lrow .lt i{ display:block; width:8px; border-radius:4px 4px 0 0; background:var(--pc); opacity:.75; }
.lrow .lt em{ font-size:12px; }
.lkey{ display:flex; flex-wrap:wrap; gap:4px 12px; font-size:12px; font-weight:700; color:var(--muted); } .lkey i{ display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:5px; vertical-align:-1px; }
.logs{ display:grid; gap:8px; } .logs > div{ display:grid; gap:2px; padding:11px 13px; border-radius:14px; background:rgba(237,234,227,.06); animation:rise .6s var(--ease) both; animation-delay:var(--d, 0s); }
.logs span{ font-size:13px; color:var(--muted); font-weight:700; line-height:1.35; } .logs b{ font-size:17px; } .logs em{ font-style:normal; font-size:12.5px; color:var(--sand); font-weight:700; }
.logs.flat > div{ animation:none; }
.spectrum{ position:relative; margin:14px 0 6px; padding-top:4px; }
.spectrum .track{ display:grid; grid-template-columns:repeat(4, 1fr); gap:4px; }
.spectrum .rg{ display:grid; gap:6px; } .spectrum .rg i{ display:block; height:12px; border-radius:6px; }
.spectrum .r0 i{ background:#5B9BF0; } .spectrum .r1 i{ background:#7fb3a0; } .spectrum .r2 i{ background:#E9B44C; } .spectrum .r3 i{ background:#E8654F; }
.spectrum .rg span{ font-size:12px; font-weight:700; color:var(--muted); line-height:1.25; text-align:center; }
.spectrum .marks{ position:relative; height:84px; margin-top:6px; }
.spectrum .mk{ position:absolute; left:calc((var(--k) + .5) * 25%); translate:-50% 0; white-space:nowrap; font-size:12.5px; font-weight:900; padding:4px 9px; border-radius:999px; }
.spectrum .mk::before{ content:""; position:absolute; left:var(--ax, 50%); top:-7px; margin-left:-6px; border:6px solid transparent; border-top:0; border-bottom-color:currentColor; }
.spectrum .mk.msaid{ top:0; background:var(--paint); color:#13202B; } .spectrum .mk.msaid::before{ border-bottom-color:var(--paint); }
.spectrum .mk.mdid{ top:30px; background:var(--lamp); color:#13202B; } .spectrum .mk.mdid::before{ border-bottom-color:var(--lamp); }
.spectrum .mk.mself{ top:58px; background:rgba(91,155,240,.22); color:#cfe0f8; box-shadow:inset 0 0 0 1.5px #5B9BF0; font-weight:800; } .spectrum .mk.mself::before{ border-bottom-color:#5B9BF0; }
.spectrum.anim .mk{ animation:rise .6s var(--ease) both; } .spectrum.anim .mk.mdid{ animation-delay:.5s; } .spectrum.anim .mk.mself{ animation-delay:.9s; }
.sl .stamp{ position:relative; top:auto; right:auto; bottom:auto; align-self:flex-end; display:inline-block; margin:14px 4% 6px auto; width:max-content; }
.prows{ display:grid; gap:5px; } .prow{ display:grid; grid-template-columns:1fr 54px 60px; gap:8px; align-items:center; font-size:13.5px; padding:7px 11px; border-radius:10px; background:rgba(237,234,227,.05); } .prow b{ text-align:right; font-variant-numeric:tabular-nums; } .prow em{ font-style:normal; color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; }
.chart .pop{ animation:pop2 .45s cubic-bezier(.2,1.2,.4,1) both; transform-box:fill-box; transform-origin:center; }
@media (prefers-reduced-motion: reduce){ .lrow .lt, .logs > div, .spectrum.anim .mk, .chart .pop{ animation:none !important; } }
@media (min-width:900px) and (min-aspect-ratio:5/4){
  #night, #choice, #article, #reveal{ top:0; bottom:0; padding:0; }
  #night .card.nc, #choice .card.cc, #article .card.cc, #reveal .card{ position:absolute; right:18px; bottom:18px; width:min(440px, 36vw); max-width:none; margin:0; }
  #night .card.nc{ top:auto; }
}
#title, #title > *{ pointer-events:none !important; }
.opts.two{ grid-template-columns:1fr 1fr; max-height:none; }
.opts.two .srow{ min-height:42px; padding:5px 10px; font-size:14.5px; }
#aboutBtn{ padding:12px 10px; min-height:44px; }
#setupBack{ padding:10px 14px; margin:-10px -14px -10px 0; min-height:44px; min-width:64px; }
#storySkip{ min-height:44px; padding-top:10px; padding-bottom:10px; }
#gl{ transition:filter .3s ease; }
body.staged #gl{ filter:blur(10px) brightness(.55) saturate(.85); }
body.staged.nofx #gl{ transition:none; }
body.staged.peek #gl{ filter:none; }
#night, #choice, #article, #reveal{ top:0 !important; bottom:0 !important; left:0 !important; right:0 !important; padding:0 !important; display:grid; place-items:center; }
#night.hide, #choice.hide, #article.hide, #reveal.hide{ display:grid; }
.stagec{ position:relative !important; top:auto !important; right:auto !important; bottom:auto !important; left:auto !important; width:min(92vw, 640px) !important; max-width:none !important; max-height:92vh; overflow-y:auto; margin:0 !important; border-radius:24px !important; padding:24px !important; transition:transform .3s var(--ease); }
@media (max-width:600px){ .stagec{ padding:20px !important; } }
.stagec .mhead{ display:flex; gap:14px; align-items:center; }
.stagec .mthumb{ width:64px; height:64px; border-radius:18px; object-fit:cover; background:#1b2836; box-shadow:0 0 0 2px rgba(237,234,227,.18); flex-shrink:0; }
.stagec .mthumb:not([src]), .stagec .mthumb[src=""]{ visibility:hidden; }
.stagec .mhq{ flex:1; min-width:0; text-align:left; }
.stagec .mname{ display:block; font-size:13px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.stagec .mname:empty{ display:none; }
.stagec .mq{ font-size:24px; line-height:1.25; font-weight:700; margin:3px 0 0; color:var(--paint); letter-spacing:-.01em; text-wrap:balance; }
.peekb{ width:44px; height:44px; flex-shrink:0; align-self:flex-start; border-radius:50%; border:1px solid rgba(237,234,227,.2); background:rgba(237,234,227,.08); color:var(--paint); display:grid; place-items:center; cursor:pointer; padding:0; }
.peekb svg{ width:22px; height:22px; }
.peekb[aria-pressed="true"]{ background:var(--paint); color:#13202B; }
.stagec .mctx{ font-size:15px; line-height:1.35; color:var(--muted); margin:12px 0 0; text-align:left; }
.stagec .mctx[hidden]{ display:none; }
.stagec .mfacts{ display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.stagec .mf{ display:inline-flex; align-items:center; gap:6px; padding:5px 11px 5px 8px; border-radius:999px; background:rgba(237,234,227,.08); font-size:13px; font-weight:700; color:var(--paint); }
.stagec .mf svg{ width:16px; height:16px; } .stagec .mf.s svg{ color:var(--safe); } .stagec .mf.h svg{ color:var(--watch); }
.stagec .mopts{ display:grid; gap:12px; margin-top:16px; }
.stagec .mopt{ position:relative; display:flex; align-items:center; gap:12px; min-height:60px; padding:10px 14px; border-radius:16px; text-align:left; font-family:inherit; }
.stagec .mbadge{ flex:0 0 32px; width:32px; height:32px; display:grid; place-items:center; }
.stagec .mbadge .n{ width:30px; height:30px; border-radius:9px; font-size:14px; }
.stagec .mbody{ display:flex; flex-direction:column; gap:2px; flex:1 1 auto; min-width:0; }
.stagec .mtx{ display:block; font-size:19px; font-weight:650; line-height:1.25; }
.stagec .msub{ display:flex; align-items:center; gap:6px; font-size:14px; line-height:1.3; color:var(--muted); font-weight:500; }
.stagec .ccb.hi .msub, .stagec .ccb[aria-pressed="true"] .msub{ color:#3d4852; }
.stagec .mopt kbd{ position:static; margin-left:6px; }
.stagec .hint{ margin:12px 0 0; font-size:13px; }
.stagec .ncrow{ display:grid; grid-template-columns:36px minmax(0,1fr) minmax(96px, 32%); gap:12px; min-height:64px; padding:10px 14px 10px 12px; }
.stagec .ncrow .ic{ width:34px; height:34px; } .stagec .ncrow .ic svg{ width:34px; height:34px; }
.stagec .ncrow .bars{ gap:7px; } .stagec .ncrow .vbar i{ height:9px; } .stagec .ncrow .vbar svg{ width:14px; height:14px; }
.stagec .ncrow .msub .dots svg{ width:8px; height:11px; }
.card.nc.stagec .primary{ height:54px; margin-top:16px; font-size:17px; width:100%; }
.stagec .ccgain{ margin:14px 0 0; padding:10px 12px; }
.stagec .ccgain .lbl{ font-size:13px; }
.stagec .ccb .pips{ grid-template-columns:repeat(4, 8px); } .stagec .ccb .pips i{ width:8px; }
#reveal .stagec .revrows{ margin-top:14px; } #reveal .stagec .exoffer{ margin:0; padding:0; background:none; border:0; }
@media (min-width:700px){ .stagec .mq{ font-size:30px; } .stagec .mtx{ font-size:21px; } .stagec .mthumb{ width:72px; height:72px; } }
@media (max-width:380px){ .stagec .ncrow{ grid-template-columns:30px minmax(0,1fr) 30%; gap:9px; padding:9px 10px; } .stagec .mtx{ font-size:18px; } }
body.peek .stagec{ position:fixed !important; left:50% !important; bottom:12px !important; transform:translateX(-50%); max-height:64px; overflow:hidden; padding:8px 10px 8px 12px !important; }
body.peek .stagec > :not(.mhead){ display:none !important; }
body.peek .stagec .mthumb{ width:44px; height:44px; border-radius:12px; } body.peek .stagec .mname{ display:none; }
body.peek .stagec .mq{ font-size:16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin:0; }
body.peek .stagec .peekb{ align-self:center; }
.sl .sh{ font-size:28px !important; line-height:1.2 !important; }
.sl .sp{ font-size:17px !important; line-height:1.4 !important; }
@media (min-width:700px){ .sl .sh{ font-size:36px !important; } }
.sl .badges{ display:flex; flex-wrap:wrap; gap:6px; } .sl .badges span{ font-size:13px; padding:5px 11px; border-radius:999px; background:rgba(237,234,227,.1); color:var(--paint); font-weight:700; }
@media (max-width:600px){ .stagec .ncrow{ grid-template-columns:32px minmax(0,1fr) 25%; gap:10px; padding:9px 12px 9px 10px; } .stagec .ncrow .ic, .stagec .ncrow .ic svg{ width:30px; height:30px; } }
a.mark { color: inherit; text-decoration: none; }
small { font-size: max(12px, .83em); }
