: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%; }
}
#intro h1{ font-size:clamp(44px, 12.5vw, 76px); }
#intro .eyebrow{ letter-spacing:.08em; }
.pill.store{ gap:4px; padding:4px 10px 4px 8px; flex-wrap:wrap; max-width:100%; }
.pill.store .stl{ font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-right:4px; }
.pill.store .si{ position:relative; display:inline-grid; place-items:center; width:26px; height:26px; }
.pill.store .si img{ width:26px; height:26px; object-fit:contain; }
.pill.store .si b{ position:absolute; right:-4px; bottom:-3px; min-width:14px; height:14px; padding:0 3px; border-radius:7px; background:var(--paint); color:#13202B; font-size:12px; font-weight:900; display:grid; place-items:center; }
.card.tr{ padding:12px 12px 10px; }
.trhead{ display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.isl{ display:grid; grid-template-columns:12px auto; column-gap:7px; align-items:center; min-width:0; }
.isl i{ width:12px; height:12px; border-radius:50%; box-shadow:0 0 0 2px rgba(0,0,0,.25); }
.isl b{ font-size:19px; font-weight:900; letter-spacing:-.01em; line-height:1.1; }
.isl span{ grid-column:2; font-size:13px; color:var(--muted); font-weight:700; line-height:1.25; }
.trn{ font-size:12.5px; font-weight:800; color:var(--muted); white-space:nowrap; padding-top:3px; font-variant-numeric:tabular-nums; }
.badges{ display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex:none; }
.badges:empty{ display:none; }
.bdg{ display:inline-flex; align-items:center; gap:4px; height:24px; padding:0 9px 0 6px; border-radius:999px; font-size:12px; font-weight:800; }
.bdg svg{ width:15px; height:15px; }
.bdg.need{ background:rgba(242,178,74,.18); color:#FFCB78; box-shadow:inset 0 0 0 1.5px rgba(242,178,74,.6); }
.bdg.you{ background:rgba(156,192,247,.16); color:#BFD6FA; box-shadow:inset 0 0 0 1.5px rgba(156,192,247,.55); }
.bdg.cheat{ background:rgba(226,87,74,.18); color:#FF9C90; box-shadow:inset 0 0 0 1.5px rgba(226,87,74,.6); }
.bdg.seal{ background:rgba(237,234,227,.08); color:var(--paint); box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.3); }
.trq{ font-size:14.5px; line-height:1.38; color:#E4DFD3; margin:7px 0 8px; }
.deals{ display:grid; gap:5px; }
.dleg{ display:grid; grid-template-columns:auto 14px auto 1fr; align-items:end; gap:4px; font-size:12px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); padding:0 8px; }
.dleg .lg{ text-align:right; letter-spacing:.02em; text-transform:none; font-size:12px; }
.deal{ position:relative; display:grid; grid-template-columns:1fr minmax(118px, 40%); grid-template-rows:auto auto; column-gap:8px; row-gap:3px; align-items:center; text-align:left; width:100%; padding:7px 9px 6px; border-radius:13px; border:0; background:rgba(237,234,227,.07); color:var(--paint); cursor:pointer; box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.08); transition:background .15s, box-shadow .15s, transform .1s; }
.deal:hover{ background:rgba(237,234,227,.12); }
.deal:active{ transform:scale(.985); }
.deal.hi, .deal:focus-visible{ background:rgba(242,178,74,.16); box-shadow:inset 0 0 0 2px var(--sodium); outline:none; }
.deal .dl{ grid-column:1 / 3; font-size:14.5px; font-weight:800; line-height:1.2; }
.deal .dx{ display:flex; align-items:center; gap:4px; min-width:0; }
.deal .gv, .deal .gt{ display:flex; gap:3px; align-items:flex-end; }
.ga{ display:inline-grid; place-items:center; color:var(--muted); } .ga svg{ width:16px; height:16px; }
.gi{ display:grid; justify-items:center; gap:0; }
.gim{ position:relative; width:30px; height:30px; display:grid; place-items:center; border-radius:8px; background:radial-gradient(circle at 50% 45%, rgba(237,234,227,.30), rgba(237,234,227,.10) 70%); }
.gim img{ width:30px; height:30px; object-fit:contain; }
.gim em{ position:absolute; right:-5px; top:-5px; min-width:15px; height:15px; padding:0 3px; border-radius:8px; background:var(--paint); color:#13202B; font-style:normal; font-size:12px; font-weight:900; display:grid; place-items:center; }
.gi small{ font-size:12px; font-weight:800; color:var(--muted); line-height:1.15; font-variant-numeric:tabular-nums; }
.gnone{ font-size:12px; font-weight:700; color:var(--muted); font-style:italic; padding:0 2px 8px; white-space:nowrap; }
.tw{ display:grid; grid-template-columns:30px 1fr 30px; align-items:center; gap:4px; }
.tw .tv{ font-size:12.5px; font-weight:900; font-variant-numeric:tabular-nums; text-align:right; color:#FFCB78; }
.tw .tv:last-child{ text-align:left; color:#BFD6FA; }
.tw .tb{ position:relative; height:14px; border-radius:5px; background:rgba(237,234,227,.07); }
.tw .tb i{ position:absolute; top:0; bottom:0; display:block; }
.tw .tb i.l{ right:50%; background:#F2B24A; border-radius:5px 0 0 5px; }
.tw .tb i.r{ left:50%; background:#9CC0F7; border-radius:0 5px 5px 0; }
.tw .tb i.neg{ background:repeating-linear-gradient(135deg, #E2574A 0 4px, rgba(226,87,74,.45) 4px 8px); }
.tw .tb i.mid{ left:50%; width:2px; margin-left:-1px; top:-3px; bottom:-3px; background:rgba(237,234,227,.55); border-radius:1px; }
.tw.big{ grid-template-columns:52px 1fr 52px; gap:8px; } .tw.big .tb{ height:26px; border-radius:8px; } .tw.big .tv{ font-size:20px; }
.chdeal{ display:flex; align-items:center; justify-content:center; gap:7px; margin:9px 0 2px; padding:8px; border-radius:13px; background:rgba(237,234,227,.05); }
.chdeal[hidden]{ display:none; }
.chdeal .cdl{ font-size:12.5px; font-weight:800; color:var(--muted); max-width:9ch; line-height:1.15; }
.chdeal .gim{ width:38px; height:38px; } .chdeal .gim img{ width:38px; height:38px; }
.gi small.hrt{ color:#ff8aa8; } .gi small.hrt svg{ width:12px; height:12px; vertical-align:-2px; }
.opts4{ display:grid; gap:6px; }
.opt{ display:grid; grid-template-columns:88px 1fr; align-items:center; gap:10px; width:100%; min-height:52px; padding:7px 12px 7px 9px; border-radius:13px; border:0; background:rgba(237,234,227,.07); color:var(--paint); text-align:left; font-size:15.5px; font-weight:800; line-height:1.2; cursor:pointer; box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.08); transition:background .15s, box-shadow .15s, transform .1s; }
.opt:hover{ background:rgba(237,234,227,.12); } .opt:active{ transform:scale(.985); }
.opt.hi, .opt:focus-visible{ background:rgba(242,178,74,.16); box-shadow:inset 0 0 0 2px var(--sodium); outline:none; }
.opt .oa{ display:flex; align-items:center; gap:3px; color:var(--muted); }
.opt .oa svg{ width:16px; height:16px; flex:none; } .opt .oa svg.ta{ width:84px; height:32px; }
.opt .oa .gim{ width:28px; height:28px; } .opt .oa .gim img{ width:28px; height:28px; }
.opt .oa small{ font-size:12px; font-weight:800; }
.opt .oa .gnone{ padding:0; font-size:12px; white-space:normal; line-height:1.1; }
.opt.txt{ grid-template-columns:30px 1fr; min-height:54px; font-size:16.5px; }
.opt.alb{ grid-template-columns:112px 1fr; } .opt.alb .oa{ gap:4px; }
.opt .rn{ display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:rgba(237,234,227,.1); font-size:13px; font-weight:900; color:var(--sand); }
.card.ch .trq{ font-size:15px; }
.revbar{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:8px; margin:6px 0 10px; font-size:12px; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; }
#reveal .card{ max-width:520px; }
.bigbar{ display:grid; gap:6px; margin:6px 0 2px; }
.bbl{ display:flex; justify-content:space-between; font-size:12.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; } .bbl span:first-child{ color:#FFCB78; } .bbl span:last-child{ color:#BFD6FA; }
.bbs{ display:grid; gap:6px; margin-top:12px; } .bbs p{ margin:0; font-size:14px; color:var(--muted); } .bbs p b{ color:var(--sodium); font-size:17px; }
.sl .tw.big{ animation:rise .7s var(--ease) .4s both; }
.sbw{ position:relative; display:block; height:16px; animation:rise .5s var(--ease) both; }
.sbw.big{ height:24px; }
.sb{ position:absolute; inset:0; display:flex; border-radius:5px; overflow:hidden; background:rgba(237,234,227,.07); }
.sb i{ display:block; height:100%; }
.sb i.y{ background:#F2B24A; } .sb i.t{ background:#9CC0F7; }
.sb.gift i.t{ background:repeating-linear-gradient(135deg, #9CC0F7 0 5px, #7aa6e8 5px 10px); }
.sb.none{ display:grid; place-items:center; font-size:12px; font-weight:800; color:var(--muted); font-style:normal; }
.sbw .fair{ position:absolute; left:50%; top:-3px; bottom:-3px; border-left:2px dashed rgba(13,20,28,.85); margin-left:-1px; }
.sbw .fair::after{ content:""; position:absolute; left:-2px; top:0; bottom:0; border-left:2px dashed rgba(237,234,227,.75); transform:translateX(0); clip-path:inset(0 0 0 0); }
.tstrip{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:8px 6px; margin-top:8px; }
.tc{ position:relative; display:grid; gap:4px; padding:8px 7px 7px; border-radius:12px; background:rgba(237,234,227,.06); animation:rise .55s var(--ease) both; cursor:default; }
.tc .tn{ font-size:12px; font-weight:900; color:var(--muted); }
.tc b{ font-size:12px; font-weight:900; line-height:1.15; }
.tc.sp .ti{ height:20px; display:flex; align-items:center; } .tc.sp .ti svg{ height:22px; width:auto; } .tc.sp .ti img{ width:22px; height:22px; margin:-3px 0; }
.tc.sp b{ color:var(--sand); }
.calls{ display:flex; flex-wrap:wrap; gap:6px; margin:4px 0; }
.calls span{ display:inline-flex; align-items:center; gap:6px; padding:6px 10px 6px 6px; border-radius:999px; background:rgba(237,234,227,.07); font-size:13px; animation:rise .5s var(--ease) both; }
.calls span svg{ width:20px; height:20px; } .calls span.hit{ box-shadow:inset 0 0 0 1.5px rgba(63,203,126,.55); } .calls span.miss{ box-shadow:inset 0 0 0 1.5px rgba(242,178,74,.55); }
.spec{ position:relative; padding:34px 0 36px; margin:4px 0 6px; }
.spec .sline{ position:absolute; left:12.5%; right:12.5%; top:40px; height:4px; border-radius:2px; background:linear-gradient(90deg, #3FCB7E, #9CC0F7 35%, #F2B24A 68%, #E2574A); opacity:.75; }
.spec .sprow{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); }
.spec .sr{ display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; }
.spec .sr i{ position:relative; width:16px; height:16px; border-radius:50%; background:#1b2833; box-shadow:0 0 0 3px rgba(237,234,227,.35); z-index:1; }
.spec .sr span{ font-size:12px; font-weight:800; color:var(--muted); line-height:1.15; padding:0 2px; }
.spec .sr.said i{ box-shadow:0 0 0 3px #9CC0F7; background:#9CC0F7; } .spec .sr.did i{ box-shadow:0 0 0 3px var(--sodium); background:var(--sodium); }
.spec .sr.said span, .spec .sr.did span{ color:var(--paint); }
.spec .smk{ position:absolute; width:0; height:0; }
.spec .smk.said{ top:6px; } .spec .smk.did{ bottom:26px; }
.spec .smk b{ position:absolute; left:0; transform:translateX(-50%); white-space:nowrap; font-size:12px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; padding:3px 8px; border-radius:999px; color:#13202B; }
.spec .smk.said b{ top:0; background:#9CC0F7; } .spec .smk.did b{ top:0; background:var(--sodium); }
.spec .smk.said b::after, .spec .smk.did b::after{ content:""; position:absolute; left:50%; margin-left:-5px; border:5px solid transparent; }
.spec .smk.said b::after{ top:100%; border-top-color:#9CC0F7; } .spec .smk.did b::after{ bottom:100%; border-bottom-color:var(--sodium); }
.spec .smk.did{ bottom:0; } .spec .smk.did b{ top:auto; bottom:6px; }
.spec.anim .smk.said{ animation:rise .6s var(--ease) .5s both; } .spec.anim .smk.did{ animation:rise .6s var(--ease) .9s both; }
.stamp.const{ position:relative; right:auto; top:auto; justify-self:center; align-self:center; margin-top:6px; width:max-content; }
.sl .said{ margin-top:4px; }
.trows{ display:grid; gap:6px; }
.trow{ display:grid; grid-template-columns:minmax(120px, 38%) 1fr 64px; align-items:center; gap:10px; padding:7px 8px; border-radius:11px; background:rgba(237,234,227,.04); cursor:default; }
.trow.head, .trow.foot{ background:none; padding:0 8px; font-size:12px; color:var(--muted); }
.trow.head span:nth-child(2){ font-weight:700; }
.trow .tl{ display:grid; gap:3px; } .trow .tl b{ font-size:13.5px; } .trow .tl em{ font-style:normal; display:flex; flex-wrap:wrap; gap:4px; font-size:12px; color:var(--muted); }
.trow .bd{ font-style:normal; padding:1px 6px; border-radius:999px; font-size:12px; font-weight:800; }
.trow .bd.need{ background:rgba(242,178,74,.2); color:#FFCB78; } .trow .bd.you{ background:rgba(156,192,247,.18); color:#BFD6FA; } .trow .bd.cheat{ background:rgba(226,87,74,.2); color:#FF9C90; }
.trow .td{ font-size:12.5px; text-align:right; font-variant-numeric:tabular-nums; }
.trow .tword{ font-size:13px; color:#E4DFD3; line-height:1.3; }
.trow.foot .fl{ display:flex; align-items:center; gap:6px; } .trow.foot .fl i{ width:0; height:14px; border-left:2px dashed rgba(237,234,227,.7); }
.wts{ display:grid; gap:8px; }
.wt{ display:grid; grid-template-columns:minmax(120px, 36%) 1fr; align-items:center; gap:10px; font-size:13.5px; font-weight:700; cursor:default; }
.wtr{ display:grid; grid-template-columns:62px 1fr 62px; align-items:center; gap:6px; }
.wtr em{ font-style:normal; font-size:12px; color:var(--muted); font-weight:700; } .wtr em:first-child{ text-align:right; }
.wk{ position:relative; height:14px; border-radius:7px; background:rgba(237,234,227,.08); }
.wk .z{ position:absolute; left:50%; top:-2px; bottom:-2px; width:2px; margin-left:-1px; background:rgba(237,234,227,.35); }
.wk .band{ position:absolute; top:2px; bottom:2px; border-radius:5px; background:rgba(242,178,74,.3); }
.wk .dot{ position:absolute; top:50%; width:14px; height:14px; margin:-7px 0 0 -7px; border-radius:50%; background:var(--sodium); box-shadow:0 0 0 2px #13202B; }
@media (max-width:420px){ .trow{ grid-template-columns:104px 1fr 54px; gap:7px; } .wt{ grid-template-columns:1fr; gap:4px; } .wtr{ grid-template-columns:56px 1fr 56px; } }
@media (max-width:520px){
  .card.tr{ padding:9px 9px 7px; border-radius:18px; }
  .isl b{ font-size:17px; } .isl span{ font-size:12px; }
  .bdg{ height:22px; font-size:12px; padding:0 8px 0 5px; } .bdg svg{ width:13px; height:13px; }
  .trq{ font-size:13.5px; line-height:1.32; margin:5px 0 5px; }
  .deals{ gap:4px; } .dleg{ font-size:12px; }
  .deal{ padding:5px 8px 4px; grid-template-columns:1fr 108px; row-gap:2px; border-radius:11px; }
  .deal .dl{ font-size:13.5px; }
  .gim, .gim img{ width:24px; height:24px; } .gim{ border-radius:7px; } .gim em{ min-width:14px; height:14px; font-size:12px; right:-4px; top:-4px; }
  .gi small{ font-size:12px; }
  .tw{ grid-template-columns:24px 1fr 24px; gap:3px; } .tw .tv{ font-size:12px; } .tw .tb{ height:12px; }
  .opt{ min-height:46px; font-size:14.5px; grid-template-columns:84px 1fr; padding:5px 10px 5px 8px; }
  .opt.txt{ grid-template-columns:30px 1fr; font-size:15.5px; min-height:48px; }
  .opt.alb{ grid-template-columns:104px 1fr; }
  .card.ch .trq{ font-size:14px; }
  .chdeal{ margin:7px 0 0; padding:6px; } .chdeal .gim, .chdeal .gim img{ width:32px; height:32px; }
  .tstrip{ gap:6px 5px; }
}
@media (max-width:370px){ .deal{ grid-template-columns:1fr 96px; } .gim, .gim img{ width:22px; height:22px; } }
@media (min-width:900px) and (min-aspect-ratio:5/4){
  #trade, #choice{ top:0; bottom:0; padding:0; }
  #trade .card.tr, #choice .card.tr{ position:absolute; right:18px; top:86px; width:min(470px, 38vw); max-width:none; margin:0; max-height:calc(100% - 104px); overflow:auto; }
  #reveal{ top:0; bottom:0; padding:0; } #reveal .card{ position:absolute; right:18px; bottom:18px; width:min(470px, 38vw); margin:0; }
  .tstrip{ grid-template-columns:repeat(8, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce){ .sbw, .tc, .calls span, .spec.anim .sm{ animation:none !important; } }
html.capture .fade, html.capture #title > div{ transition:none !important; }
#hud .bar{ background:linear-gradient(180deg, rgba(8,14,20,.62), rgba(8,14,20,.38)); border-radius:14px; padding:6px 8px 6px 12px; margin:-4px -6px 0; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
#hud .count{ color:var(--paint); font-weight:800; }
.camp{ position:relative; pointer-events:auto; }
.campbar{ display:flex; align-items:center; gap:8px; width:100%; min-height:38px; padding:6px 10px 6px 12px; border-radius:12px; border:1px solid var(--line); background:rgba(10,17,24,.78); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); color:var(--paint); cursor:pointer; text-align:left; }
.campbar b{ font-size:12px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; color:var(--sand); white-space:nowrap; }
.campbar .cw{ flex:1; min-width:0; font-size:13px; font-weight:700; display:flex; align-items:center; gap:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.campbar .cw i{ flex:none; width:9px; height:9px; border-radius:50%; }
.campbar .chev{ width:18px; height:18px; flex:none; transition:transform .25s; }
.campbody{ display:none; }
.camp.open .campbody{ display:grid; position:absolute; left:0; right:0; top:calc(100% + 6px); z-index:20; max-height:62vh; overflow:auto; gap:12px; padding:12px 14px 14px; border-radius:16px; border:1px solid var(--line); background:rgba(10,17,24,.95); box-shadow:0 18px 40px rgba(0,0,0,.45); }
.csec h5{ margin:0 0 6px; font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; color:var(--sand); }
.csec h5 small{ font-weight:700; letter-spacing:0; text-transform:none; color:var(--muted); margin-left:4px; }
.cn{ display:flex; align-items:flex-start; gap:8px; font-size:13.5px; line-height:1.3; padding:3px 0; }
.cn i{ flex:none; width:9px; height:9px; border-radius:50%; margin-top:5px; }
.cn.urgent span{ color:#FFB3A8; font-weight:800; } .cn.warn span{ color:#FFD49A; font-weight:700; }
.cs{ display:grid; grid-template-columns:26px 1fr auto auto; align-items:center; gap:8px; font-size:13.5px; padding:2px 0; }
.cs img{ width:26px; height:26px; object-fit:contain; }
.cs .q{ font-weight:900; font-variant-numeric:tabular-nums; } .cs .d{ font-size:12px; color:var(--muted); min-width:84px; text-align:right; }
.cg{ display:grid; grid-template-columns:10px 1fr auto; align-items:center; gap:8px; font-size:13.5px; padding:2px 0; } .cg > i{ width:10px; height:10px; border-radius:50%; }
.gwm{ display:inline-flex; gap:3px; vertical-align:middle; } .gwm i{ width:11px; height:11px; border-radius:50%; background:rgba(237,234,227,.16); box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.3); }
.gwm i.on{ background:var(--sodium); box-shadow:none; } .gwm.sm i{ width:9px; height:9px; }
.isl b em{ font-style:normal; font-weight:700; font-size:13px; color:var(--muted); }
.they{ display:grid; grid-template-columns:1fr 1fr auto; gap:2px 10px; margin:6px 0 0; padding:6px 9px; border-radius:11px; background:rgba(237,234,227,.05); font-size:12.5px; line-height:1.25; }
.they .th{ display:grid; gap:1px; min-width:0; } .they .th > span{ font-size:12px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.they .th b{ font-weight:800; } .they .th b small{ font-weight:700; color:var(--muted); font-size:12px; }
.they .th.gw{ justify-items:end; } .they .th.gw small{ font-size:12px; color:var(--muted); font-weight:700; }
.they[hidden]{ display:none; }
.rule{ margin:-2px 0 6px; font-size:12.5px; font-weight:700; color:#BFD6FA; line-height:1.3; }
.rule[hidden]{ display:none; }
.deal{ position:relative; display:grid; grid-template-columns:1fr minmax(112px, 36%); grid-template-rows:auto auto; column-gap:10px; row-gap:3px; align-items:center; text-align:left; width:100%; padding:7px 10px 7px; border-radius:13px; background:rgba(237,234,227,.07); color:var(--paint); cursor:pointer; box-shadow:inset 0 0 0 1.5px rgba(237,234,227,.08); transition:background .15s, box-shadow .15s, opacity .2s; }
.deal .dl{ grid-column:1 / 2; font-size:14px; font-weight:800; line-height:1.22; }
.deal .go, .opt .go{ display:none; justify-self:end; align-self:start; align-items:center; gap:2px; height:28px; padding:0 10px 0 12px; border-radius:9px; background:var(--paint); color:#13202B; font-size:13px; font-weight:900; white-space:nowrap; cursor:pointer; }
.deal .go kbd, .opt .go kbd{ height:18px; min-width:18px; margin-left:6px; }
.deal.hi .go, .opt.hi .go{ display:inline-flex; }
.deal .dx{ display:grid; gap:1px; font-size:12.5px; line-height:1.3; color:#E4DFD3; }
.deal .dx .ln em{ font-style:normal; font-weight:900; font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); margin-right:4px; }
.deal .dx small{ color:var(--muted); font-size:12px; }
.deal .dv{ display:grid; gap:3px; }
.deal .ww{ display:flex; justify-content:space-between; gap:6px; font-size:12px; font-weight:800; } .deal .ww .you{ color:#FFCB78; } .deal .ww .them{ color:#BFD6FA; text-align:right; }
.deal .tw .tv{ display:none; } .deal .tw{ grid-template-columns:1fr; }
.deal.na, .deal.ref, .opt.na, .opt.ref{ opacity:.42; cursor:not-allowed; }
.deal .tag, .opt .tag{ font-style:normal; font-size:12px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; padding:1px 6px; border-radius:6px; background:rgba(226,87,74,.25); color:#FF9C90; margin-left:4px; vertical-align:1px; position:static; display:inline-block; }
.deal.chosen, .opt.chosen{ box-shadow:inset 0 0 0 2px var(--paint); }
.opt{ position:relative; grid-template-columns:84px 1fr auto; cursor:pointer; }
.opt.alb{ grid-template-columns:112px 1fr auto; }
.card.tr{ position:relative; }
.stampw{ position:absolute; inset:0; display:grid; place-items:center; pointer-events:none; z-index:3; border-radius:inherit; background:rgba(8,14,20,.38); }
.stampw[hidden]{ display:none; }
.stampbox{ width:min(86%, 380px); text-align:center; padding:14px 16px 12px; border-radius:16px; background:rgba(10,17,24,.94); box-shadow:0 14px 40px rgba(0,0,0,.5); animation:stampIn .35s cubic-bezier(.2,1.4,.4,1) both; }
.stampbox b{ display:inline-block; font-size:30px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; padding:2px 16px; border:4px solid currentColor; border-radius:10px; transform:rotate(-4deg); }
.stampbox.ok b{ color:#3FCB7E; } .stampbox.no b{ color:#FF6B5B; } .stampbox.nd b{ color:var(--muted); }
.stampbox p{ margin:10px 0 0; font-size:15px; font-weight:700; line-height:1.35; }
.stampbox .gwl{ font-size:13px; font-weight:800; color:var(--muted); margin-top:6px; display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; } .stampbox .gwl.up{ color:#7FE0A8; } .stampbox .gwl.down{ color:#FF9C90; }
@keyframes stampIn{ from{ transform:scale(1.4); opacity:0; } to{ transform:none; opacity:1; } }
html.capture .stampbox{ animation:none; }
.isls{ display:grid; gap:10px; margin-top:8px; }
.il{ padding:12px 14px; border-radius:14px; background:rgba(237,234,227,.06); animation:rise .6s var(--ease) both; }
.il .ih{ display:flex; align-items:center; gap:8px; } .il .ih > i{ width:11px; height:11px; border-radius:50%; } .il .ih b{ font-size:16px; flex:1; } .il .ih small{ font-size:12px; color:var(--muted); font-weight:700; }
.il p{ margin:6px 0 0; font-size:14.5px; line-height:1.4; color:#E4DFD3; }
.tc b .rf, .trow .bd.ref{ font-style:normal; } .tc b .rf{ display:block; font-size:12px; color:#FF9C90; }
.trow .bd.ref{ background:rgba(226,87,74,.22); color:#FF9C90; } .trow .bd.lb{ background:rgba(237,234,227,.06); }
@media (max-width:520px){
  .they{ grid-template-columns:1fr auto; font-size:12px; padding:5px 8px; margin-top:5px; } .they .th:nth-child(2){ grid-row:2; } .they .th.gw{ grid-row:1 / 3; grid-column:2; align-self:center; }
  .deal{ grid-template-columns:1fr 104px; padding:6px 8px; column-gap:8px; } .deal .dl{ font-size:13.5px; } .deal .dx{ font-size:12px; } .deal .ww{ font-size:12px; flex-direction:column; gap:0; } .deal .ww .them{ text-align:left; }
  .rule{ font-size:12px; margin-bottom:5px; }
  .stampbox b{ font-size:26px; } .stampbox p{ font-size:14px; }
  .opt .go{ position:absolute; right:8px; top:50%; transform:translateY(-50%); } .opt.hi .ol{ padding-right:96px; }
}
.deal.hi .go{ grid-column:2; grid-row:1; }
@media (min-width:900px) and (min-aspect-ratio:5/4){
  .camp{ position:fixed; left:18px; top:76px; width:260px; max-height:calc(100% - 96px); overflow:auto; border-radius:16px; border:1px solid var(--line); background:rgba(10,17,24,.82); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
  .campbar{ display:none; } .campbody, .camp.open .campbody{ display:grid; position:static; gap:12px; padding:12px 14px 14px; max-height:none; border:0; background:none; box-shadow:none; }
}
.deal .dl{ grid-column:1; grid-row:1; } .deal .dx{ grid-column:1; grid-row:2; } .deal .dv{ grid-column:2; grid-row:2; } .deal .go{ grid-column:2; grid-row:1; }
.they{ grid-template-columns:1fr auto; } .they .th{ display:block; } .they .th > span{ margin-right:4px; } .they .th.gw{ grid-column:2; grid-row:1 / 3; align-self:center; display:grid; justify-items:end; gap:3px; }
@media (max-width:520px){
  #trade .trq:not(.keep){ display:none; }
  .isl b{ font-size:16px; } .isl span{ font-size:12px; }
  .they{ font-size:12px; line-height:1.3; padding:5px 8px; } .they .th > span{ font-size:12px; }
  .rule{ font-size:12px; margin:5px 0 5px; }
  .deal{ padding:5px 8px; row-gap:2px; } .deal .dl{ font-size:13px; line-height:1.2; } .deal .dx{ font-size:12px; line-height:1.25; } .deal .dx .ln em{ font-size:12px; } .deal .dx small{ font-size:12px; }
  .deals{ gap:4px; }
}
.deal .dv{ grid-column:2; grid-row:1 / 3; align-self:center; } .deal .go{ grid-column:1 / 3; grid-row:3; justify-self:end; margin-top:3px; }
.deal.hi .go{ grid-column:1 / 3; grid-row:3; }
.deal.nd{ grid-template-columns:1fr auto; padding-top:6px; padding-bottom:6px; background:rgba(237,234,227,.035); }
.deal.nd .dl{ grid-column:1; grid-row:1; font-weight:700; color:#D9D3C6; }
.deal.nd .go, .deal.nd.hi .go{ grid-column:2; grid-row:1; margin-top:0; justify-self:end; }
.deal .tk{ font-size:12px; font-weight:900; letter-spacing:.03em; color:#C9C2B4; }
.deal .ln2, .opt .ln2{ display:block; font-style:normal; font-size:12px; font-weight:800; margin-top:2px; letter-spacing:.01em; } .ln2.no{ color:#FF9C90; } .ln2.must{ color:#F2B24A; }
.wt .wl{ display:block; font-size:12.5px; color:#E4DFD3; margin:2px 0 0; }
body.campOpen #hud{ z-index:50; }
body.campOpen #trade .card, body.campOpen #choice .card{ opacity:.28; filter:saturate(.5); pointer-events:none; transition:opacity .2s; }
.camp.open .campbody{ position:fixed; left:10px; right:10px; top:var(--campTop, 120px); bottom:max(10px, env(safe-area-inset-bottom)); max-height:none; z-index:51; }
@media (min-width:600px){ .camp.open .campbody{ left:auto; right:auto; width:min(440px, calc(100vw - 20px)); } }
.deal .ww{ flex-direction:column; gap:0; } .deal .ww .them{ text-align:left; }
#gl{ transition:filter .3s ease; }
body.staged #gl{ filter:blur(10px) brightness(.55) saturate(.85); }
body.staged.stfast #gl, html.capture #gl{ transition:none; }
body.staged.peek #gl{ filter:none; }
#trade.stage, #choice.stage, #reveal.stage{ top:0; bottom:0; display:grid; place-items:center; padding:var(--stTop, 72px) 12px 12px; z-index:6; }
#trade.stage > .card.stg, #choice.stage > .card.stg, #reveal.stage > .card.stg{ position:relative; inset:auto; right:auto; top:auto; width:min(92vw, 640px); max-width:none; max-height:calc(100dvh - var(--stTop, 72px) - 12px); overflow:auto; margin:0; border-radius:24px; padding:24px; display:block; }
@media (max-width:520px){ #trade.stage, #choice.stage, #reveal.stage{ padding-left:10px; padding-right:10px; } #trade.stage > .card.stg, #choice.stage > .card.stg, #reveal.stage > .card.stg{ padding:18px 16px; width:100%; } }
.sthead{ display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:start; margin-bottom:16px; }
.sthead .thumb{ width:64px; height:64px; border-radius:16px; object-fit:cover; background:rgba(237,234,227,.08); }
.sthead .thumb[hidden]{ display:none; }
.stq{ min-width:0; }
.stq h2{ margin:2px 0 10px; font-size:24px; line-height:1.25; font-weight:700; color:#F4F1EA; letter-spacing:-.005em; }
.stq .ctx{ margin:10px 0 0; font-size:15px; line-height:1.35; color:#C9C2B4; }
.stq .ctx[hidden]{ display:none; }
.chips{ display:flex; flex-wrap:wrap; gap:6px; }
.chip{ display:inline-flex; align-items:center; gap:6px; min-height:28px; padding:3px 10px; border-radius:999px; background:rgba(237,234,227,.09); border:1px solid rgba(237,234,227,.14); font-size:13px; font-weight:700; color:#EDEAE3; line-height:1.2; }
.chip img{ width:20px; height:20px; } .chip svg{ width:14px; height:14px; }
.chip.rule{ cursor:pointer; font-family:inherit; } .chip.rule b{ display:inline-grid; place-items:center; width:18px; height:18px; border-radius:50%; background:rgba(237,234,227,.22); font-size:13px; font-style:italic; font-family:inherit; }
.chip.warn{ background:rgba(226,87,74,.22); border-color:rgba(226,87,74,.4); color:#FFB4AA; } .chip.you{ background:rgba(242,178,74,.18); border-color:rgba(242,178,74,.4); color:#FFD58F; }
.chip .gwm{ margin:0; }
.peek{ width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:rgba(237,234,227,.08); border:1px solid rgba(237,234,227,.16); color:#EDEAE3; cursor:pointer; padding:0; }
.peek svg{ width:22px; height:22px; } .peek[aria-pressed="true"]{ background:var(--paint); color:#13202B; }
.rulebox{ margin:-6px 0 16px; padding:12px 14px; border-radius:14px; background:rgba(237,234,227,.06); border:1px solid rgba(237,234,227,.1); font-size:14px; line-height:1.4; color:#E4DFD3; }
.rulebox[hidden]{ display:none; } .rulebox p{ margin:0; }
.rulebox .have{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:10px; } .rulebox .have > span:first-child{ font-size:13px; color:#C9C2B4; margin-right:2px; }
.stage .deals, .stage .opts4{ display:grid; gap:12px; margin:0; }
.stage .deal, .stage .opt{ position:relative; display:grid; grid-template-columns:30px 1fr auto; grid-template-rows:auto; column-gap:12px; row-gap:8px; align-items:center; min-height:60px; padding:12px 14px; border-radius:16px; text-align:left; width:100%; background:rgba(237,234,227,.06); border:1px solid rgba(237,234,227,.1); color:#EDEAE3; cursor:pointer; font:inherit; }
.stage .deal:hover, .stage .opt:hover{ background:rgba(237,234,227,.11); }
.stage .deal.hi, .stage .opt.hi{ background:rgba(242,178,74,.15); box-shadow:inset 0 0 0 2px var(--sodium); }
.stage .bd{ grid-column:1; grid-row:1; width:30px; height:30px; border-radius:9px; display:grid; place-items:center; font-weight:800; font-size:14px; background:rgba(237,234,227,.1); color:#EDEAE3; }
.stage .dt{ grid-column:2; grid-row:1; display:block; min-width:0; }
.stage .act{ font-size:19px; line-height:1.25; font-weight:650; color:#F4F1EA; }
.stage .sub{ display:block; font-size:14px; line-height:1.3; color:#C9C2B4; margin-top:3px; }
.stage .tag{ display:inline-block; vertical-align:2px; margin-left:8px; font-style:normal; font-size:13px; font-weight:800; padding:1px 8px; border-radius:999px; letter-spacing:0; text-transform:none; position:static; }
.stage .tag.no{ background:rgba(226,87,74,.25); color:#FFB0A6; } .stage .tag.must{ background:rgba(242,178,74,.22); color:#FFD58F; }
.stage .deal .go, .stage .opt .go{ grid-column:3; grid-row:1; display:none; position:static; transform:none; margin:0; justify-self:end; }
.stage .deal.hi .go, .stage .opt.hi .go{ display:inline-flex; grid-column:3; grid-row:1; }
.stage .deal.hi .dbar{ visibility:visible; }
.stage .dvis{ grid-column:1 / 3; grid-row:2; display:flex; align-items:center; gap:8px; min-width:0; overflow:hidden; }
.stage .dbar{ grid-column:3; grid-row:2; display:grid; gap:4px; width:128px; justify-items:stretch; }
.stage .dbar em{ font-style:normal; font-size:13px; font-weight:800; white-space:nowrap; text-align:right; } .dbar .y{ color:#FFCB78; } .dbar .t{ color:#BFD6FA; }
.stage .deal.nd{ grid-template-columns:30px 1fr auto; background:rgba(237,234,227,.035); }
.stage .deal.na, .stage .deal.ref, .stage .opt.na, .stage .opt.ref{ opacity:.45; cursor:not-allowed; }
.it{ position:relative; display:inline-grid; justify-items:center; gap:1px; } .it img{ width:30px; height:30px; object-fit:contain; } .it.sm img{ width:26px; height:26px; }
.it i{ position:absolute; top:-5px; right:-9px; font-style:normal; font-size:13px; font-weight:800; color:#F4F1EA; text-shadow:0 1px 2px #000; }
.it small{ font-size:13px; color:#C9C2B4; line-height:1; font-weight:700; }
.gv{ display:flex; gap:12px; align-items:flex-end; } .gv .none{ font-size:13px; color:#C9C2B4; }
.dvis .arr{ width:18px; height:18px; color:#C9C2B4; flex:none; }
.stage .opt .oa{ grid-column:1; grid-row:1; display:grid; place-items:center; } .stage .opt .oa svg.ta{ width:30px; height:auto; } .stage .opt.alb .oa{ display:none; } .stage .opt.alb .dt{ grid-column:1 / 3; }
.stage .opt.txt .bd{ grid-column:1; }
.stage .chdeal{ display:flex; gap:14px; align-items:center; justify-content:center; margin:0 0 14px; } .stage .chdeal[hidden]{ display:none; } .chdeal .ga svg{ width:22px; height:22px; color:#C9C2B4; }
.stage .hint{ font-size:13px; margin:12px 0 0; color:#C9C2B4; }
.stage .stampw{ border-radius:24px; }
@media (min-width:900px){ .stq h2{ font-size:30px; } .stage .act{ font-size:21px; } }
@media (max-width:520px){
  .sthead{ gap:12px; margin-bottom:14px; } .sthead .thumb{ width:56px; height:56px; border-radius:14px; }
  .stage .deal, .stage .opt{ padding:10px 12px; column-gap:10px; row-gap:6px; }
  .stage .dbar{ width:112px; } .it img{ width:26px; height:26px; } .gv{ gap:9px; } .stage .dvis{ gap:6px; }
}
body.peek #trade.stage, body.peek #choice.stage, body.peek #reveal.stage{ place-items:end center; }
body.peek .stage > .card.stg{ max-height:72px !important; overflow:hidden !important; padding:10px 12px !important; cursor:pointer; }
body.peek .stage .card.stg > :not(.sthead){ display:none !important; }
body.peek .sthead{ margin:0; align-items:center; } body.peek .sthead .thumb{ width:48px; height:48px; }
body.peek .stq h2{ font-size:17px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin:0; } body.peek .stq .chips, body.peek .stq .ctx{ display:none; }
.sl .sh{ font-size:28px; line-height:1.2; } .sl .sp{ font-size:17px; line-height:1.45; }
@media (min-width:900px){ .sl .sh{ font-size:36px; } }
.sl .chips{ margin-top:8px; } .il .chips{ margin-top:8px; } .il .chip b{ color:#F4F1EA; margin-right:2px; }
details.more summary{ cursor:pointer; color:#C9C2B4; font-size:13px; font-weight:700; margin:4px 0; } details.more p{ margin-top:4px; }
.sthead{ row-gap:10px; } .stq{ display:contents; }
.sthead .thumb{ grid-column:1; grid-row:1; } .sthead .peek{ grid-column:3; grid-row:1; }
.stq h2{ grid-column:2; grid-row:1; align-self:center; margin:0; }
.stq .chips{ grid-column:1 / 4; grid-row:2; } .stq .ctx{ grid-column:1 / 4; grid-row:3; margin:0; }
.sthead .thumb[hidden] + .stq h2{ grid-column:1 / 3; }
.stage .dt{ grid-column:2 / 4; } .stage .deal.hi .dt, .stage .opt.hi .dt{ grid-column:2; }
.stage .opt.alb .dt{ grid-column:1 / 4; } .stage .opt.alb.hi .dt{ grid-column:1 / 3; }
body.peek .stq h2{ grid-column:2; }
@media (max-width:520px){
  .stage .deal, .stage .opt{ padding:8px 12px; row-gap:4px; min-height:60px; }
  .it img{ width:24px; height:24px; } .gv{ gap:8px; } .dvis .arr{ width:16px; height:16px; }
  .sthead .thumb{ width:52px; height:52px; } .sthead{ row-gap:8px; margin-bottom:12px; } .chips{ gap:5px; } .chip{ min-height:26px; padding:2px 9px; }
  #trade.stage > .card.stg, #choice.stage > .card.stg, #reveal.stage > .card.stg{ padding:16px 14px; }
}
.sthead .peek{ grid-column:3; grid-row:2; align-self:start; } .stq h2{ grid-column:2 / 4; } .stq .chips{ grid-column:1 / 3; align-self:center; }
.stage .dvis .tag{ margin-left:4px; flex:none; }
@media (max-width:520px){ .it img{ width:22px; height:22px; } .it{ gap:0; } .stage .deal, .stage .opt{ padding:7px 12px; } }
.stage .dvis{ flex-wrap:wrap; row-gap:2px; } .stage .opt.alb .dt{ grid-column:2 / 4; } .stage .opt.alb.hi .dt{ grid-column:2; }
@media (min-width:900px){
  .stage .deal{ grid-template-columns:30px minmax(170px, 1fr) auto 128px; row-gap:6px; }
  .stage .deal .dt{ grid-column:2; grid-row:1; } .stage .deal .dvis{ grid-column:3; grid-row:1; flex-wrap:nowrap; } .stage .deal .dbar{ grid-column:4; grid-row:1; }
  .stage .deal.hi .go{ grid-column:2 / 5; grid-row:2; justify-self:end; }
  .stage .deal.nd .dt{ grid-column:2 / 5; } .stage .deal.nd.hi .dt{ grid-column:2 / 4; } .stage .deal.nd.hi .go{ grid-column:4; grid-row:1; }
}
@media (min-width:900px){ .stage .deal, .stage .opt{ padding:8px 14px; } .sthead{ margin-bottom:14px; } #trade.stage > .card.stg, #choice.stage > .card.stg{ padding:20px 22px; } }
a.mark { color: inherit; text-decoration: none; }
small { font-size: max(12px, .83em); }
