:root{--sea: #cdeef5;--aqua: #90e0ef;--navy: #023e8a;--ink: #012a5e;--night: #011a3b;--paper: #fbf6e9;--land: #f1dcaa;--ship: #e63946;--gold: #f0b429;--gilt: #c99a2e;--chart: "PT Serif Caption", "Sitka Small", "Droid Serif", Cambria, serif}html,body{background:var(--night);color:var(--ink);font-family:var(--chart)}.hud{position:absolute;left:0;right:0;top:0;padding:calc(10px + var(--safe-t)) calc(14px + var(--safe-r)) 0 calc(14px + var(--safe-l));display:flex;align-items:flex-start;justify-content:space-between;pointer-events:none;z-index:3}.btn{pointer-events:auto}.seal{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;padding:0;text-decoration:none;color:var(--paper);background:radial-gradient(circle at 40% 35%,#0a56b8 0%,var(--navy) 55%,var(--ink) 100%);border:2px solid var(--paper);box-shadow:0 0 0 1.5px var(--navy),0 3px 8px #011a3b59}.seal svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.seal:active{transform:scale(.93)}.mute .off,.mute[aria-pressed=true] .wav{display:none}.mute[aria-pressed=true] .off{display:inline}.mute[aria-pressed=true]{background:#5d6f8a}.board{text-align:center;line-height:1;margin-top:0}.board .score{display:inline-block;min-width:72px;padding:4px 14px 5px;font-size:26px;font-weight:700;color:var(--ink);background:#fbf6e9eb;border:1.5px solid var(--navy);font-variant-numeric:lining-nums tabular-nums;transition:transform .18s ease-out}.board .score.pop{transform:scale(1.1)}.board .mult{display:block;width:max-content;margin:4px auto 0;padding:1px 10px 2px;font-size:13px;font-style:italic;color:var(--paper);background:var(--navy);transition:transform .25s ease-out,background .3s}.board .mult.hot{background:var(--ship)}.board .mult.pop{transform:scale(1.3)}section.title,section.card,section.paused,section.gallery{position:absolute;inset:0;display:grid;place-items:center;z-index:5;padding:calc(20px + var(--safe-t)) 16px calc(20px + var(--safe-b))}section.title,section.card,section.paused{pointer-events:none}section.title{transition:opacity .38s}section.title.fade{opacity:0}section.card{background:#011a3b40;opacity:0;transition:opacity .45s}section.card.show{opacity:1}section.paused{background:#011a3b73}section.gallery{background:#011a3be0;z-index:7}.sheet{position:relative;width:min(320px,100%);text-align:center;padding:24px 22px 18px;color:var(--ink);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cg fill='none' stroke='%23012a5e' stroke-width='.5' opacity='.09'%3E%3Ccircle r='46'/%3E%3Ccircle r='42'/%3E%3Ccircle r='20'/%3E%3Cpath d='M0-46V46M-46 0H46M-32-32L32 32M-32 32L32-32'/%3E%3C/g%3E%3Cg fill='%23012a5e' opacity='.07'%3E%3Cpath d='M0-40L5 0L0 40L-5 0Z'/%3E%3Cpath d='M-40 0L0-5L40 0L0 5Z'/%3E%3C/g%3E%3C/svg%3E") center 46% / 230px 230px no-repeat,radial-gradient(circle at 18% 12%,rgba(150,100,40,.07) 0 3px,transparent 7px),radial-gradient(circle at 84% 78%,rgba(150,100,40,.06) 0 4px,transparent 9px),radial-gradient(circle at 70% 18%,rgba(150,100,40,.05) 0 2px,transparent 5px),radial-gradient(ellipse at 50% 45%,#fbf4e2,#f5ead0 62%,#e9d8b2);border:2px solid var(--navy);outline:1px solid var(--navy);outline-offset:-8px;box-shadow:inset 0 0 26px #78501e38,0 18px 44px #011a3b73,0 2px #011a3b59}.sheet:before{content:"";position:absolute;inset:2px;pointer-events:none;background:repeating-linear-gradient(90deg,var(--navy) 0 14px,transparent 14px 28px) top / 100% 3px no-repeat,repeating-linear-gradient(90deg,var(--navy) 0 14px,transparent 14px 28px) bottom / 100% 3px no-repeat;opacity:.85}.sheet.small{width:min(220px,100%);padding:18px}.sheet.wide{width:min(370px,100%);max-height:calc(100% - 10px);overflow:auto}.kicker{font-style:italic;letter-spacing:.04em;font-size:14px;color:var(--navy)}h1{font-weight:700;font-size:38px;margin:0;line-height:1.1;letter-spacing:.05em;text-transform:uppercase;color:var(--ink)}.sub{font-style:italic;color:#012a5eb3;margin:6px 0;font-size:15px}.emblem{width:168px;height:120px;display:block;margin:10px auto 4px;overflow:visible}.emblem .sea{fill:var(--sea);stroke:var(--navy);stroke-width:1.5;filter:drop-shadow(0 1px 0 rgba(120,80,30,.25))}.emblem .grat{fill:none;stroke:#023e8a4d;stroke-width:1}.emblem .rhumb{fill:none;stroke:#012a5e66;stroke-width:1;stroke-dasharray:2 3}.emblem .gc{fill:none;stroke:var(--ship);stroke-width:2;stroke-dasharray:5 4;animation:dash 1.6s linear infinite}@keyframes dash{to{stroke-dashoffset:-18}}.emblem .port{fill:var(--gold);stroke:var(--ink);stroke-width:1.2}.emblem .ship{fill:var(--ship);stroke:var(--ink);stroke-width:.8;offset-path:path("M18 82Q46 8 122 20");offset-rotate:auto;animation:sail 4.2s cubic-bezier(.45,0,.55,1) infinite}@keyframes sail{0%{offset-distance:0%}to{offset-distance:100%}}.cta{font-style:italic;font-size:17px;color:var(--ship);margin:8px 0 2px;animation:breathe 2.4s ease-in-out infinite}@keyframes breathe{50%{opacity:.5}}.best{font-size:14px;color:var(--navy);letter-spacing:.06em}.row-btns{display:flex;justify-content:center;gap:10px;margin-top:10px}.pill{pointer-events:auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:0;background:var(--navy);color:var(--paper);border:2px solid var(--paper);box-shadow:0 0 0 1.5px var(--navy);font-family:var(--chart);font-style:italic;font-size:16px}.pill svg{width:18px;height:18px;fill:none;stroke:var(--aqua);stroke-width:1.4;stroke-linecap:round}.pill:active{transform:scale(.96)}.big{font-size:48px;font-weight:700;line-height:1.1;margin:4px 0 0;font-variant-numeric:lining-nums}.newbest{display:inline-block;margin:0 0 4px;padding:2px 12px;font-style:italic;font-size:15px;color:var(--paper);background:var(--ship);animation:glow 1.3s ease-in-out infinite alternate}@keyframes glow{to{box-shadow:0 0 14px #e63946b3}}.keep{margin:6px auto 4px;width:150px}.keep img{width:150px;height:225px;display:block;background:var(--paper);box-shadow:0 0 0 1.5px var(--navy),0 4px 12px #011a3b4d}.rows{display:grid;grid-template-columns:1fr 1fr;gap:1px 14px;margin:6px 2px 0}.row{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px dashed rgba(2,62,138,.35);padding:3px 0;font-size:14px}.row:last-child{grid-column:1 / -1}.row span{color:#012a5eb3;font-style:italic}.row b{font-weight:700;color:var(--ink);font-size:16px;font-variant-numeric:lining-nums}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 10px;margin:14px 0 4px}.grid figure{margin:0}.grid img{width:100%;aspect-ratio:2 / 3;object-fit:cover;display:block;box-shadow:0 0 0 1.5px var(--navy),0 3px 10px #011a3b4d}.grid figcaption{font-size:14px;color:var(--navy);margin-top:4px;font-variant-numeric:lining-nums}@media(max-height:700px){h1{font-size:32px}.emblem{width:130px;height:93px}.keep,.keep img{width:112px}.keep img{height:168px}.big{font-size:40px}}@media(prefers-reduced-motion:reduce){.cta,.emblem .gc,.emblem .ship,.newbest{animation:none}}.grid figure{cursor:pointer}.grid figure.pinned img{outline:2px solid var(--ship);outline-offset:2px}.grid figure.pinned figcaption:before{content:"★";color:var(--ship)}.big-keep{display:block;width:min(220px,58vw);aspect-ratio:2 / 3;object-fit:cover;margin:14px auto 6px;box-shadow:0 0 0 1.5px var(--navy),0 4px 12px #011a3b4d}.btns{flex-wrap:wrap;gap:8px}.btns .pill{padding:0 14px}.pill.ad:after{content:"AD";margin-left:2px;padding:1px 4px;font-size:9px;letter-spacing:.08em;background:#7f7f7f40}
