: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:#0c1517; --panel:rgba(12,20,23,.88); --signal:#c8352b; --brass:#c9a24a; --seag:#5f9a7e; --sand:#e2cf9e; }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --panel:rgba(12,20,23,.88); } }
:root[data-theme="dark"]{ --panel:rgba(12,20,23,.88); }
body{ background:var(--deep); }
#loading{ background:radial-gradient(ellipse at 50% 30%, #1d3a40, #071012 70%); }
.ld-light{ width:92px; height:92px; position:relative; }
.ld-light i{ position:absolute; left:40px; top:26px; width:12px; height:52px; border-radius:3px; background:linear-gradient(180deg, #eeebe4 0 40%, #c8352b 40% 58%, #eeebe4 58%); }
.ld-light i::before{ content:""; position:absolute; left:-2px; top:-12px; width:16px; height:12px; border-radius:8px 8px 2px 2px; background:#ffd88a; box-shadow:0 0 18px #ffd88a; }
.ld-light b{ position:absolute; left:46px; top:20px; width:64px; height:14px; margin-left:-32px; background:linear-gradient(90deg, rgba(255,232,170,0), rgba(255,232,170,.55) 45%, rgba(255,232,170,.55) 55%, rgba(255,232,170,0)); transform-origin:50% 50%; animation:sweep 2.4s linear infinite; filter:blur(2px); }
@keyframes sweep{ 0%{ transform:scaleX(.15); opacity:.2 } 50%{ transform:scaleX(1.4); opacity:1 } 100%{ transform:scaleX(.15); opacity:.2 } }
#intro .eyebrow{ color:var(--sand); }
#lostPill svg{ color:#ff9a5a; } #dayPill svg{ color:var(--sodium); } #handPill svg{ color:var(--sea-hi); }
#lostPill b, #dayPill b{ font-weight:900; }
.card.gc{ padding:12px 12px 10px; }
.card.gc.swap > *{ animation:bIn .45s var(--ease) both; }
.ghead{ display:flex; align-items:center; gap:10px; margin:0 0 8px; }
.gic{ width:40px; height:40px; border-radius:11px; background:rgba(237,234,227,.08); display:grid; place-items:center; flex-shrink:0; }
.gic svg{ width:30px; height:30px; }
.gic.art3{ font-weight:900; font-size:15px; letter-spacing:.04em; color:var(--brass); box-shadow:inset 0 0 0 1.5px rgba(201,162,74,.6); }
.gtt{ display:flex; flex-direction:column; min-width:0; flex:1; }
.gk{ font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--sand); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gtt b{ font-size:19px; font-weight:900; letter-spacing:-.015em; line-height:1.15; }
.gdots{ display:flex; gap:4px; margin-left:auto; }
.gdots i{ width:8px; height:8px; border-radius:50%; background:rgba(237,234,227,.2); }
.gdots i.d{ background:var(--sea-hi); } .gdots i.c{ background:var(--sodium); }
.gq{ font-size:15px; line-height:1.4; margin:0 0 10px; color:#DDD8CC; }
.gq b{ color:var(--paint); }
.gq.big{ font-size:17.5px; line-height:1.35; color:var(--paint); font-weight:700; letter-spacing:-.005em; }
.opts4{ display:grid; gap:7px; }
.opt4{ display:flex; align-items:center; gap:10px; min-height:50px; padding:8px 12px; border-radius:13px; border:1px solid rgba(237,234,227,.18); background:rgba(237,234,227,.06); color:var(--paint); font-family:inherit; text-align:left; cursor:pointer; transition:background .15s, border-color .15s, transform .12s; }
.opt4:hover{ background:rgba(237,234,227,.11); }
.opt4:active{ transform:scale(.985); }
.opt4.hi{ border-color:var(--paint); background:rgba(237,234,227,.16); box-shadow:0 0 0 1.5px var(--paint) inset; }
.opt4.was{ border-color:var(--sodium); }
.opt4 .ot{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.opt4 .ot b{ font-size:15.5px; font-weight:800; line-height:1.25; display:flex; align-items:center; gap:10px; }
.opt4 .ot small{ font-size:12.5px; color:var(--muted); font-weight:600; display:flex; align-items:center; gap:5px; line-height:1.3; }
.opt4 .ot small svg{ width:13px; height:13px; color:#ff9a5a; flex-shrink:0; }
.opt4 .on{ font-size:12px; color:var(--muted); font-weight:800; margin-left:auto; padding-left:6px; }
.opt4.del{ background:rgba(156,192,247,.07); border-color:rgba(156,192,247,.22); }
.opt4.del.hi{ border-color:var(--sea-hi); box-shadow:0 0 0 1.5px var(--sea-hi) inset; }
.lad{ display:inline-flex; gap:3px; align-items:flex-end; flex-shrink:0; }
.lad i{ width:6px; border-radius:2px; background:rgba(237,234,227,.22); }
.lad i:nth-child(1){ height:8px; } .lad i:nth-child(2){ height:11px; } .lad i:nth-child(3){ height:14px; } .lad i:nth-child(4){ height:17px; }
.lad i.on{ background:var(--sodium); }
.backlink{ justify-self:start; width:auto; min-height:44px; height:44px; padding:0 14px; margin-top:2px; font-size:14px; color:var(--muted); border-color:rgba(237,234,227,.22); }
.backlink kbd{ margin:0 6px 0 0; }
.sealed{ display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:800; color:var(--sea-hi); white-space:nowrap; margin-left:auto; padding:4px 8px; border-radius:8px; background:rgba(156,192,247,.12); cursor:help; }
.sealed svg{ width:16px; height:16px; }
.stakes{ display:flex; align-items:center; gap:10px; margin:0 0 10px; flex-wrap:wrap; }
.stk{ display:flex; align-items:center; gap:8px; flex:1; min-width:190px; }
.stk .sl2{ font-size:12px; font-weight:800; color:var(--muted); white-space:nowrap; }
.sbar{ flex:1; height:8px; border-radius:4px; background:rgba(237,234,227,.12); overflow:hidden; min-width:60px; }
.sbar i{ display:block; height:100%; border-radius:4px; background:linear-gradient(90deg, #e9cf9c, var(--sodium)); }
.stk b{ font-size:14px; font-weight:900; white-space:nowrap; font-variant-numeric:tabular-nums; }
.irr{ display:inline-flex; align-items:center; gap:5px; font-size:12.5px; font-weight:800; padding:4px 9px 4px 7px; border-radius:8px; white-space:nowrap; }
.irr svg{ width:15px; height:15px; }
.irr.y{ background:rgba(200,53,43,.2); color:#ffb0a4; } .irr.n{ background:rgba(237,234,227,.08); color:var(--muted); }
.evs{ display:grid; gap:7px; }
.evlead{ margin:0 0 2px; font-size:13.5px; color:var(--muted); }
.ev{ display:flex; align-items:center; gap:10px; padding:8px 8px 8px 9px; border-radius:13px; border:1px solid rgba(237,234,227,.16); background:rgba(237,234,227,.05); color:var(--paint); font-family:inherit; text-align:left; cursor:pointer; }
.ev.hi{ border-color:var(--paint); box-shadow:0 0 0 1.5px var(--paint) inset; }
.ev.on{ background:rgba(242,178,74,.12); border-color:rgba(242,178,74,.6); }
.evi{ width:30px; height:30px; flex-shrink:0; } .evi svg{ width:30px; height:30px; }
.evt{ display:flex; flex-direction:column; gap:3px; min-width:0; flex:1; }
.evt b{ font-size:14px; line-height:1.3; font-weight:800; }
.evd{ font-size:12.5px; color:var(--muted); line-height:1.35; }
.evd em{ font-style:normal; color:#d8d2c4; }
.evc{ width:52px; flex-shrink:0; display:flex; flex-direction:column; align-items:center; gap:3px; }
.evc::before{ content:""; display:block; width:28px; height:28px; border-radius:8px; border:2px solid rgba(237,234,227,.45); box-sizing:border-box; }
.evc svg{ position:absolute; width:22px; height:22px; margin-top:3px; color:#13202B; }
.evc{ position:relative; }
.ev.on .evc::before{ background:var(--sodium); border-color:var(--sodium); }
.evc small{ font-size:12px; font-weight:800; color:var(--muted); white-space:nowrap; }
.ev.on .evc small{ color:var(--sodium); }
#tGo{ margin-top:10px; }
#tGo.hi{ box-shadow:0 0 0 3px var(--sodium); }
#reveal .head{ font-size:21px; }
.job{ display:grid; grid-template-columns:64px 1fr; gap:14px; align-items:start; }
.job img{ width:64px; height:75px; border-radius:14px; object-fit:cover; background:#1a2a30; }
.jl{ display:grid; gap:9px; }
.jline{ border-left:3px solid var(--cc); padding:1px 0 1px 10px; min-height:22px; }
.jline .jt{ display:block; font-size:16px; font-weight:800; line-height:1.3; }
.jline .jt.on::after{ content:"▍"; color:var(--sodium); animation:blink .7s steps(2) infinite; }
@keyframes blink{ 50%{ opacity:0; } }
.jline small{ display:block; font-size:12px; color:var(--muted); margin-top:2px; }
.pcats{ display:grid; gap:10px; }
.pc{ display:grid; grid-template-columns:76px 1fr 64px; gap:10px; align-items:center; animation:rise .7s var(--ease) both; }
.pc span{ font-size:14px; font-weight:800; }
.pc b{ font-size:14px; font-weight:900; text-align:right; white-space:nowrap; }
.pt{ position:relative; height:16px; border-radius:8px; background:rgba(237,234,227,.08); }
.pt .band{ position:absolute; top:3px; height:10px; border-radius:5px; background:rgba(242,178,74,.3); }
.pt .dot{ position:absolute; top:0; width:16px; height:16px; margin-left:-8px; border-radius:50%; background:var(--cc); box-shadow:0 0 0 3px rgba(10,17,20,.9); }
.pscale{ display:grid; grid-template-columns:76px 1fr 64px; gap:0 10px; font-size:12px; color:var(--muted); }
.pscale > div{ position:relative; height:16px; }
.pscale span{ position:absolute; transform:translateX(-50%); white-space:nowrap; }
.sl .stamp{ position:relative; right:auto; top:auto; align-self:flex-end; margin:2px 4px 0 0; font-size:clamp(22px, 6vw, 32px); }
.logs{ display:flex; gap:6px; flex-wrap:wrap; }
.logs i{ width:28px; height:34px; display:grid; place-items:center; border-radius:8px; animation:pop2 .4s cubic-bezier(.2,1.2,.4,1) both; }
.logs i svg{ width:20px; height:20px; }
.logs i.lit{ background:rgba(242,138,58,.2); color:#ff9a4a; } .logs i.out{ background:rgba(237,234,227,.06); color:#55606a; }
.seals, .hinds{ display:grid; gap:8px; }
.seal, .hind{ display:flex; gap:10px; align-items:flex-start; background:rgba(237,234,227,.06); border-radius:14px; padding:9px 12px 9px 10px; animation:rise .7s var(--ease) both; }
.seal svg{ width:22px; height:22px; flex-shrink:0; margin-top:1px; }
.seal span, .hind span:last-child{ display:flex; flex-direction:column; gap:3px; }
.seal b, .hind b{ font-size:14.5px; line-height:1.3; }
.seal small, .hind small{ font-size:12.5px; color:var(--muted); line-height:1.35; }
.hind.r{ box-shadow:inset 3px 0 0 #ff8a70; }
.hi2 svg{ width:28px; height:28px; }
.rline{ position:relative; margin:14px 4px 4px; }
.rtrack{ position:relative; height:40px; }
.rtrack::before{ content:""; position:absolute; left:6%; right:6%; top:26px; height:4px; border-radius:2px; background:linear-gradient(90deg, #9CC0F7, #F2B24A); opacity:.6; }
.rtrack > i{ position:absolute; top:22px; width:12px; height:12px; margin-left:-6px; border-radius:50%; background:#0d1a1e; border:2px solid rgba(237,234,227,.5); }
.rm{ position:absolute; top:12px; width:0; height:0; }
.rm::after{ content:""; position:absolute; left:-11px; top:4px; width:22px; height:22px; border-radius:50%; box-shadow:0 0 0 3px rgba(10,17,20,.9); }
.rm.did::after{ background:var(--sodium); } .rm.said::after{ background:transparent; border:3px solid var(--paint); left:-12px; top:3px; width:24px; height:24px; box-sizing:border-box; box-shadow:none; }
.rm em{ position:absolute; top:-16px; left:0; transform:translateX(-50%); font-style:normal; font-size:12px; font-weight:800; white-space:nowrap; }
.rm.said em{ top:34px; }
.rm.did em{ color:var(--sodium); }
.rline.anim .rm{ animation:pop2 .5s cubic-bezier(.2,1.2,.4,1) both; } .rline.anim .rm.did{ animation-delay:.9s; } .rline.anim .rm.said{ animation-delay:.5s; }
.rlabs{ position:relative; height:34px; margin-top:20px; }
.rlabs span{ position:absolute; transform:translateX(-50%); font-size:12px; color:var(--muted); text-align:center; width:76px; line-height:1.2; }
.rends{ display:flex; justify-content:space-between; font-size:12px; color:var(--muted); opacity:.7; margin-top:2px; }
.joblist{ display:grid; gap:8px; }
.joblist > div{ display:flex; gap:10px; align-items:flex-start; padding:9px 12px 9px 9px; border-radius:14px; background:rgba(237,234,227,.05); border-left:3px solid var(--cc); }
.joblist .ji svg{ width:28px; height:28px; }
.joblist span:last-child{ display:flex; flex-direction:column; gap:3px; }
.joblist b{ font-size:14.5px; line-height:1.3; } .joblist small{ font-size:12.5px; color:var(--muted); }
.rtable{ display:grid; gap:6px; }
.rr{ display:grid; grid-template-columns:22px 1fr 26px; gap:8px; align-items:center; padding:8px 10px; border-radius:12px; background:rgba(237,234,227,.04); }
.rr.a{ background:rgba(237,234,227,.08); }
.rr .rn{ font-size:12px; color:var(--muted); font-weight:800; text-align:center; }
.rr .rq{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.rr .rq b{ font-size:13.5px; line-height:1.3; } .rr .rq small{ font-size:12px; color:var(--muted); }
.rr .rs svg{ width:22px; height:22px; }
.params{ display:grid; gap:8px; }
.params > div{ display:grid; grid-template-columns:1fr auto auto; gap:8px; align-items:baseline; padding:9px 12px; border-radius:12px; background:rgba(237,234,227,.05); }
.params span{ font-size:13.5px; } .params b{ font-size:16px; font-variant-numeric:tabular-nums; } .params small{ font-size:12px; color:var(--muted); }
#frontier{ margin:0 -2px; }
.sec.ai{ background:rgba(201,162,74,.08); border:1px solid rgba(201,162,74,.28); border-radius:16px; padding:14px; }
.sec.ai p{ font-size:15px; line-height:1.5; margin:0; color:#E4DFD3; }
.sp.ai{ color:#e9cf9c; }
@media (prefers-reduced-motion: reduce){ .pc, .seal, .hind, .logs i, .rline .rm, .card.gc.swap > *{ animation:none !important; } .ld-light b{ animation:none; } }
#title, #title > div{ pointer-events:none !important; }
#toast{ top:calc(env(safe-area-inset-top,0px) + 112px); bottom:auto; }
.oscale{ margin:-2px 2px 4px; }
.oscale .ol{ font-size:12px; font-weight:800; color:var(--muted); letter-spacing:.04em; text-transform:uppercase; }
.otrack{ position:relative; height:8px; border-radius:4px; margin:16px 0 0; background:linear-gradient(90deg, #e9cf9c, var(--sodium) 60%, #ff8a5a); opacity:.85; }
.omark{ position:absolute; top:-5px; width:3px; height:18px; margin-left:-1.5px; border-radius:2px; background:var(--paint); }
.omark b{ position:absolute; bottom:19px; left:50%; transform:translateX(-50%); font-size:12px; white-space:nowrap; }
.oticks{ position:relative; height:15px; margin-top:3px; }
.oticks span{ position:absolute; transform:translateX(-50%); font-size:12px; color:var(--muted); white-space:nowrap; }
.oticks span:first-child{ transform:none; left:0 !important; } .oticks span:last-child{ transform:translateX(-100%); }
.ogrp{ display:flex; align-items:baseline; gap:6px; font-size:12.5px; margin:2px 2px -1px; }
.ogrp svg{ width:13px; height:13px; color:#ff9a5a; align-self:center; }
.ogrp.d{ margin-top:6px; } .ogrp.d svg{ color:var(--sea-hi); }
.ogrp b{ font-weight:900; } .ogrp span{ color:var(--muted); font-weight:600; }
.evc{ width:66px; } .evc small{ white-space:normal; text-align:center; line-height:1.15; font-size:12px; }
.rnote{ margin:0 0 8px; padding:7px 10px; border-radius:10px; background:rgba(156,192,247,.12); border:1px solid rgba(156,192,247,.32); color:#cfe0fb; font-size:13.5px; line-height:1.35; font-weight:700; }
.evgrp{ font-size:12px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--sand); margin:4px 2px 2px; }
.evnone{ font-size:14.5px; line-height:1.45; color:#DDD8CC; margin:2px 2px 10px; }
.evnone b{ color:var(--paint); }
.prow{ display:grid; grid-template-columns:70px 1fr 86px; align-items:center; gap:8px; }
.ptk{ position:relative; height:16px; border-radius:8px; background:rgba(237,234,227,.07); }
.ptk i{ position:absolute; top:50%; width:11px; height:11px; margin:-5.5px 0 0 -5.5px; border-radius:50%; border:2px solid #9CC0F7; background:transparent; }
.ptk i.a{ background:#EDEAE3; border-color:#EDEAE3; }
.ptk u{ position:absolute; top:-4px; bottom:-4px; width:3px; margin-left:-1.5px; border-radius:2px; background:var(--cc); text-decoration:none; }
.archclose{ font-size:15px; font-weight:800; color:var(--sand); margin:-4px 0 8px; }
#rArch small{ display:block; font-size:15px; font-weight:800; color:var(--sand); letter-spacing:0; margin-top:4px; }
.stamp.close{ color:var(--sand); }
.sl .sh.sm{ font-size:clamp(20px, 5.4vw, 28px); line-height:1.15; letter-spacing:-.02em; }
.sl .sp.dear{ color:var(--paint); font-weight:800; }
.sec p.lead{ font-size:15.5px; font-weight:800; line-height:1.4; margin:0 0 8px; color:var(--paint); }
.prow b{ font-size:13px; }
#titleS{ width:fit-content; max-width:min(40ch, 92vw); padding:7px 16px; border-radius:14px; background:rgba(8,14,18,.58); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); color:#F4F0E6; font-weight:700; text-shadow:0 1px 3px rgba(0,0,0,.9); }
#titleS:empty{ display:none; }
:root{ --ada:#6f9fd8; --ask:#e2b24a; }
#gl{ transition:filter .3s ease; }
body.staged #gl{ filter:blur(10px) brightness(.55) saturate(.85); }
body.staged.snapstage #gl{ transition:none; }
body.staged.peek #gl{ filter:none; }
.sheet.game{ top:0; bottom:0; left:0; right:0; display:flex; align-items:center; justify-content:center; padding:calc(env(safe-area-inset-top,0px) + 12px) 12px calc(env(safe-area-inset-bottom,0px) + 12px); }
.sheet.game .card.stage{ width:min(92vw, 640px); max-width:none; max-height:92vh; overflow:auto; overscroll-behavior:contain; margin:0; border-radius:24px; padding:20px; pointer-events:auto; transition:transform .3s var(--ease), max-height .3s var(--ease); }
@media (min-width:600px){ .sheet.game .card.stage{ padding:24px; } }
.shead{ display:flex; align-items:flex-start; gap:14px; margin:0 0 14px; }
.thumb{ width:60px; height:70px; border-radius:16px; object-fit:cover; flex-shrink:0; background:#1a2a30; display:grid; place-items:center; }
.thumb.art3{ font-weight:900; font-size:20px; letter-spacing:.04em; color:var(--brass); box-shadow:inset 0 0 0 2px rgba(201,162,74,.6); height:60px; }
.sq{ flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.skick{ font-size:13px; font-weight:800; letter-spacing:.04em; color:var(--sand); display:flex; align-items:center; gap:8px; }
.skick.check{ color:#cfe0fb; letter-spacing:0; font-weight:700; }
.skick .gdots{ margin-left:2px; }
.sqt{ margin:0; font-size:24px; line-height:1.25; font-weight:700; letter-spacing:-.01em; color:var(--paint); text-wrap:balance; }
@media (min-width:900px){ .sqt{ font-size:30px; } .thumb{ width:72px; height:84px; } .thumb.art3{ height:72px; } }
.peekb{ width:44px; height:44px; flex-shrink:0; margin:-6px -8px 0 0; border-radius:14px; border:1px solid rgba(237,234,227,.18); background:rgba(237,234,227,.06); color:var(--muted); display:grid; place-items:center; cursor:pointer; }
.peekb svg{ width:22px; height:22px; }
.peekb[aria-pressed="true"]{ color:var(--sodium); border-color:var(--sodium); }
.chips{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
.chip{ display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:800; padding:6px 11px 6px 8px; border-radius:999px; background:rgba(237,234,227,.08); color:var(--paint); white-space:nowrap; }
.chip svg{ width:16px; height:16px; flex-shrink:0; }
.chip.stake svg{ color:#ff9a5a; } .chip.irr{ background:rgba(200,53,43,.22); color:#ffb8ad; } .chip.und{ color:var(--muted); }
.sctx{ font-size:15px; line-height:1.4; color:var(--muted); margin:-2px 0 12px; }
.card.stage .opts4{ gap:12px; }
.card.stage .opt4{ min-height:60px; padding:10px 14px; gap:14px; border-radius:16px; }
.obadge{ width:32px; height:32px; flex-shrink:0; border-radius:10px; display:grid; place-items:center; font-size:15px; font-weight:900; background:rgba(237,234,227,.1); color:var(--paint); }
.opt4.hi .obadge{ background:var(--paint); color:#13202B; }
.card.stage .opt4 .ot b{ font-size:19px; font-weight:650; line-height:1.25; letter-spacing:-.005em; }
.card.stage .opt4 .ot small{ font-size:14px; line-height:1.3; font-weight:500; color:var(--muted); }
@media (min-width:900px){ .card.stage .opt4 .ot b{ font-size:21px; } }
.card.stage .ogrp{ font-size:13px; margin:2px 2px -4px; color:var(--muted); }
.card.stage .ogrp b{ font-weight:800; color:var(--sand); }
.card.stage .hint{ font-size:13px; }
.card.stage .backlink{ font-size:15px; }
.oscale{ margin:0 0 12px; }
.otrack2{ display:flex; align-items:center; gap:10px; }
.ocap svg{ width:28px; height:28px; display:block; }
.obar{ flex:1; height:10px; border-radius:5px; background:linear-gradient(90deg, rgba(237,234,227,.25), rgba(237,234,227,.7)); }
.oends{ display:flex; justify-content:space-between; font-size:13px; font-weight:700; color:var(--muted); margin:4px 0 0 38px; }
.rpic{ position:relative; width:44px; height:12px; border-radius:6px; flex-shrink:0; margin:0 2px; box-shadow:0 0 0 1px rgba(0,0,0,.25) inset; }
.opt4 .obadge:has(.rpic){ width:52px; background:transparent; }
.rtell{ position:absolute; right:-5px; top:-4px; width:10px; height:10px; border-radius:50%; background:var(--paint); box-shadow:0 0 0 2px #13202B; }
.card.stage .opt4.was{ border-color:var(--sodium); }
.card.stage .ev{ padding:10px 10px 10px 12px; border-radius:16px; }
.card.stage .evt b{ font-size:17px; line-height:1.3; font-weight:700; }
.card.stage .evd{ font-size:14px; line-height:1.35; }
.card.stage .evc small{ font-size:13px; }
.card.stage .evgrp{ font-size:13px; }
.card.stage .evnone{ font-size:15px; }
.card.stage .called{ font-size:15px; margin:0 0 12px; }
.card.stage .exoffer p{ font-size:15px; }
#tGo, #revNext{ margin-top:14px; min-height:54px; font-size:17px; }
body.peek .sheet.game{ align-items:flex-end; }
body.peek .sheet.game .card.stage{ max-height:64px; overflow:hidden; padding:10px 14px; }
body.peek .card.stage > :not(.shead){ display:none; }
body.peek .card.stage .shead{ margin:0; align-items:center; }
body.peek .card.stage .thumb, body.peek .card.stage .skick{ display:none; }
body.peek .card.stage .sqt{ font-size:17px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.peek .card.stage .peekb{ margin:0; }
#story .sl .sh{ font-size:28px; line-height:1.15; }
#story .sl .sh.sm{ font-size:28px; }
#story .sl .sp{ font-size:17px; line-height:1.45; }
@media (min-width:900px){ #story .sl .sh, #story .sl .sh.sm{ font-size:36px; } }
.sec details.more summary{ font-size:13.5px; color:var(--muted); cursor:pointer; margin-top:6px; }
.sec details.more p{ font-size:13.5px; color:var(--muted); line-height:1.45; margin:6px 0 0; }
.aibox{ margin-top:14px; padding:12px 14px; border-radius:14px; background:rgba(201,162,74,.1); border:1px solid rgba(201,162,74,.3); display:flex; flex-direction:column; gap:4px; animation:rise .7s var(--ease) both; animation-delay:var(--d, 1s); }
.aibox span{ font-size:13px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--sand); }
.aibox b{ font-size:18px; line-height:1.35; color:var(--paint); }
.seal small, .hind small{ font-size:14px; } .seal b, .hind b{ font-size:16px; }
.jline .jt{ font-size:17px; }
.shead{ display:block; }
.shead::after{ content:""; display:block; clear:both; }
.shead .thumb{ float:left; margin:2px 14px 6px 0; }
.shead .peekb{ float:right; margin:-6px -8px 6px 10px; }
.shead .sq{ display:block; }
.shead .skick{ margin:0 0 4px; min-height:20px; }
@media (max-width:599px){ .shead .thumb{ width:56px; height:64px; border-radius:14px; } .shead .thumb.art3{ height:56px; } .chips{ gap:6px; } .chip{ padding:5px 9px 5px 7px; } .chip svg{ width:14px; height:14px; } }
body.capture .fade, body.capture #gl, body.capture .card.stage{ transition:none !important; }
@media (max-width:599px){ .sheet.game{ padding-top:calc(env(safe-area-inset-top,0px) + 112px); } .sheet.game .card.stage{ max-height:calc(100vh - 124px); } }
.card.stage .evc{ width:40px; }
.card.stage .evd strong{ color:var(--paint); font-weight:700; }
@media (max-width:599px){ .card.stage .evi{ display:none; } }
a.mark { color: inherit; text-decoration: none; }
small { font-size: max(12px, .83em); }
