.sh-table{--surface:#22323d;--sunk:#15212a;--ink:#e8eef2;--muted:#9fb2c0;--line:#3a4f60;--accent:#38e08c;--accent-ink:#052014;--sun:#f2c14e;--good:#38e08c;--bad:#ff6b57;--info:#8cc4ff;--good-tint:#173d2c;--bad-tint:#4a2320;--warn-tint:#4a3d1c;--info-tint:#1e3a56;--shadow:0 1px 0 #0003, 0 12px 24px -12px #000000b3;--sh-red:#e2402c;--sh-peg:#f2f2ea;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--ink);background-color:#1a262f;background-image:linear-gradient(#8cc4ff0d 1px,#0000 1px),linear-gradient(90deg,#8cc4ff0d 1px,#0000 1px),radial-gradient(120% 80% at 50% 0,#50789638,#0000 70%);background-size:48px 48px,48px 48px,auto;border-radius:12px;max-width:1040px;margin-block:18px 28px;box-shadow:inset 0 0 0 1px #a0bed21f,inset 0 0 80px #00000073,0 18px 40px -22px #0009}.sh-table .play-bar .backlink,.sh-table .play-bar .title small,.sh-table .hint{color:var(--muted)}.sh-table .panel{background:var(--surface);border-color:var(--line)}:where(.sh-table) .sh-opts{align-items:center}.sh-start{margin-left:auto}:where(.sh-table) .sh-log{max-width:100%;font-family:var(--f-mono);color:#2a2a2a;background:#ede8d8;border-radius:4px;align-self:center;padding:6px 14px;font-size:14px;font-weight:600;box-shadow:0 1px #0000004d,0 6px 12px -8px #000c}:where(.sh-table) .sh-log:empty{display:none}:where(.sh-table) .sh-win{max-width:420px;margin-inline:auto}:where(.sh-table) .sh-seas{flex-wrap:wrap;justify-content:center;gap:18px 28px;display:flex}:where(.play-screen:not(.sh-table)) .sh-wrap{flex-direction:column;gap:4px;width:min(100%,420px,max(240px,100svh - 360px));margin:0 auto;display:flex}:where(.sh-table) .sh-wrap{--sz:min(100%, 440px, max(290px, calc(100svh - 300px)));width:var(--sz);flex-direction:column;gap:6px;display:flex}@media (min-width:900px){:where(.sh-table) .sh-seas:not(.setup) .sh-wrap{--sz:min(calc(50% - 14px), 460px, max(300px, calc(100svh - 260px)))}}:where(.sh-table) .sh-title{font-family:var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);align-items:baseline;gap:6px;margin:0;font-size:13px;font-weight:700;display:flex}:where(.sh-table) .sh-title small{letter-spacing:.04em;margin-left:auto;font-weight:500}:where(.sh-table) .sh-wrap.live .sh-title{color:var(--ink)}:where(.sh-table) .sh-radar.live .sh-title:before{content:"●";color:#38e08c}:where(.sh-table) .sh-chart{background:linear-gradient(#33444f,#26343e);border-radius:10px;grid-template-rows:18px auto;grid-template-columns:18px 1fr;padding:6px 8px 8px 4px;display:grid;box-shadow:inset 0 1px #ffffff14,0 2px #00000059,0 12px 22px -10px #000c}:where(.sh-table) .sh-cols,:where(.sh-table) .sh-rows{font-family:var(--f-mono);color:#a9bbc8;text-align:center;font-size:11px;display:grid}:where(.sh-table) .sh-cols{grid-column:2;grid-template-columns:repeat(10,1fr);align-items:center}:where(.sh-table) .sh-rows{grid-area:2/1;grid-template-rows:repeat(10,1fr);align-items:center}:where(.play-screen:not(.sh-table)) .sh-grid{background:var(--ink);border:2px solid var(--ink);aspect-ratio:1;border-radius:6px;grid-template-columns:repeat(10,1fr);gap:1px;display:grid;overflow:hidden}:where(.sh-table) .sh-grid{aspect-ratio:1;border-radius:4px;grid-area:2/2;grid-template-rows:repeat(10,1fr);grid-template-columns:repeat(10,1fr);display:grid;position:relative;overflow:hidden}:where(.sh-table) .sh-hulls{pointer-events:none;grid-template-rows:repeat(10,1fr);grid-template-columns:repeat(10,1fr);display:grid;position:absolute;inset:0}:where(.sh-table) .sh-radar .sh-grid{background-color:#0b2a1e;background-image:linear-gradient(#38e08c47 1px,#0000 1px),linear-gradient(90deg,#38e08c47 1px,#0000 1px),radial-gradient(circle,#38e08c29,#0000 70%);background-size:10% 10%,10% 10%,auto;box-shadow:inset 0 0 0 1px #38e08c66,inset 0 0 30px #000000b3}:where(.sh-table) .sh-radar .sh-grid:before{content:"";pointer-events:none;opacity:0;background:conic-gradient(#38e08c2e,#38e08c00 60deg,#0000 360deg);transition:opacity .4s;position:absolute;inset:-42%}:where(.sh-table) .sh-radar.live .sh-grid:before{opacity:1;animation:6s linear infinite sh-sweep}@keyframes sh-sweep{to{transform:rotate(360deg)}}:where(.sh-table) .sh-fleet .sh-grid{background-color:#1e3a5f;background-image:linear-gradient(#c8dcf029 1px,#0000 1px),linear-gradient(90deg,#c8dcf029 1px,#0000 1px),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18' viewBox='0 0 36 18'%3E%3Cpath d='M2 12 q4 -4 8 0 t8 0' fill='none' stroke='%238FA3B8' stroke-opacity='.22' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E"),linear-gradient(160deg,#24466f,#183150);background-size:10% 10%,10% 10%,36px 18px,auto;box-shadow:inset 0 0 0 1px #8fa3b859,inset 0 0 24px #00000073}:where(.sh-table) .sh-fleet.live .sh-grid{box-shadow:inset 0 0 0 2px #ff6b578c,inset 0 0 24px #00000073}:where(.sh-table) .sh-hull{background:linear-gradient(#a9b6c2,#7c8b98 55%,#5e6c78);border-radius:999px 40% 40% 999px;margin:clamp(4px,1vw,8px) 3px;position:relative;box-shadow:inset 0 0 0 1px #00000059,0 2px 3px #00000073}:where(.sh-table) .sh-hull.down{background:linear-gradient(90deg,#a9b6c2,#7c8b98 55%,#5e6c78);border-radius:999px 999px 40% 40%;margin:3px clamp(4px,1vw,8px)}:where(.sh-table) .sh-hull:after{content:"";background:#28343e8c;border-radius:3px;position:absolute}:where(.sh-table) .sh-hull.across:after{height:16%;top:42%;left:22%;right:22%}:where(.sh-table) .sh-hull.down:after{width:16%;top:22%;bottom:22%;left:42%}:where(.sh-table) .sh-hull.sunk{background:linear-gradient(#7a3a30,#4e2620);box-shadow:inset 0 0 0 1px #00000080}:where(.sh-table) .sh-hull.down.sunk{background:linear-gradient(90deg,#7a3a30,#4e2620)}:where(.sh-table) .sh-radar .sh-hull.sunk{opacity:.9}:where(.sh-table) .sh-hull.ghost{box-shadow:none;outline-offset:-2px;background:0 0;outline:2px dashed #f2f2eab3}:where(.sh-table) .sh-hull.ghost:after{display:none}:where(.play-screen:not(.sh-table)) .sh-cell{color:var(--ink);cursor:pointer;min-width:0;min-height:0;font-size:clamp(10px,3.4vw,16px);line-height:1;font-family:var(--f-body);background:#bfe3ff;border:0;justify-content:center;align-items:center;margin:0;padding:0;display:flex}:where(.sh-table) .sh-cell{cursor:default;min-width:0;min-height:0;font:inherit;color:inherit;background:0 0;border:0;margin:0;padding:0;position:relative}:where(.sh-table) button.sh-cell:not(:disabled){cursor:crosshair}:where(.sh-table) .sh-radar button.sh-cell:not(:disabled):hover{background:#38e08c38;box-shadow:inset 0 0 0 1px #38e08ccc}:where(.play-screen:not(.sh-table)) .sh-cell:focus-visible{outline:3px solid var(--accent);outline-offset:-3px;z-index:1}:where(.sh-table) .sh-cell:focus-visible{outline-offset:-3px;z-index:2;outline:3px solid #f2c14e}:where(.sh-table) .sh-cell.miss:after,:where(.sh-table) .sh-cell.hit:after{content:"";z-index:1;border-radius:50%;position:absolute;inset:30%}:where(.sh-table) .sh-cell.miss:after{background:radial-gradient(circle at 35% 30%, #fff, var(--sh-peg) 40%, #b9b9ae);box-shadow:0 1px 2px #0009}:where(.sh-table) .sh-cell.hit:after{background:radial-gradient(circle at 35% 30%, #ff9a88, var(--sh-red) 45%, #8e1f12);inset:26%;box-shadow:0 1px 2px #0009,0 0 8px #e2402c99}:where(.sh-table) .sh-cell.hit.last:before{content:"";z-index:1;pointer-events:none;background:radial-gradient(circle,#ffd278d9,#e2402c66 40%,#0000 70%);border-radius:50%;animation:.7s ease-out forwards sh-flash;position:absolute;inset:-20%}:where(.sh-table) .sh-cell.last{border-radius:3px;box-shadow:inset 0 0 0 2px #f2c14e}@keyframes sh-flash{0%{opacity:1;transform:scale(.4)}to{opacity:0;transform:scale(1.4)}}:where(.sh-table) .sh-cell.sh-turn{cursor:pointer}:where(.sh-table) .sh-cell.sh-turn:hover{background:#f2c14e2e}:where(.sh-table) .sh-roster{color:var(--ink);flex-wrap:wrap;gap:4px 12px;margin:2px 0 0;padding:0;font-size:13px;list-style:none;display:flex}:where(.sh-table) .sh-roster li{align-items:center;gap:5px;display:inline-flex}:where(.sh-table) .sh-pips{gap:2px;display:inline-flex}:where(.sh-table) .sh-pips i{background:#8fa3b8;border-radius:2px;width:7px;height:7px}:where(.sh-table) .sh-roster li.gone{color:var(--muted);text-decoration:line-through;-webkit-text-decoration-color:var(--sh-red);text-decoration-color:var(--sh-red);text-decoration-thickness:2px}:where(.sh-table) .sh-roster li.gone .sh-pips i{background:var(--sh-red);opacity:.7}.sh-online{flex-direction:column;align-items:stretch;gap:12px;display:flex}@media (max-width:760px){.sh-table{width:auto;margin-inline:8px;padding-inline:10px}}@media (prefers-reduced-motion:reduce){:where(.sh-table) .sh-radar.live .sh-grid:before{animation:none}:where(.sh-table) .sh-cell.hit.last:before{opacity:0;animation:none}}@media (max-width:360px){.sh-table{margin-inline:0;padding-inline:4px}.sh-chart{grid-template-rows:12px auto;grid-template-columns:12px 1fr;padding:3px}.sh-cols,.sh-rows{font-size:9px}}:where(.play-screen:not(.sh-table)) .sh-wrap .h3{margin:0}:where(.play-screen:not(.sh-table)) .sh-cell:disabled{cursor:default}:where(.play-screen:not(.sh-table)) .sh-cell:not(:disabled):hover{background:#98cdf6}:where(.play-screen:not(.sh-table)) .sh-cell.miss{color:#6a8aa6;background:#dff0fb}:where(.play-screen:not(.sh-table)) .sh-cell.hit{color:#fff;background:#f08a24;font-weight:700}:where(.play-screen:not(.sh-table)) .sh-cell.sunk{color:#fff;background:#b0381f}:where(.play-screen:not(.sh-table)) .sh-cell.reveal{background:#9aa6b2}:where(.play-screen:not(.sh-table)) .sh-grid.mine .sh-cell{cursor:default}:where(.play-screen:not(.sh-table)) .sh-cell.ship{background:#6b7b8c}:where(.play-screen:not(.sh-table)) .sh-cell.ship.hit{background:#b0381f}.sh-grid.placing{touch-action:none;-webkit-user-select:none;user-select:none}.sh-grid.placing .sh-cell.ship{cursor:grab}.sh-grid.placing:active .sh-cell.ship{cursor:grabbing}:where(.sh-table) .sh-hull{transition:opacity .15s,outline-color .15s}:where(.sh-table) .sh-hull.lifted{opacity:.3}:where(.sh-table) .sh-hull.sel{outline-offset:1px;outline:2px solid #f2c14e}:where(.sh-table) .sh-hull.preview{z-index:2;background:#38e08c59;box-shadow:0 0 0 2px #38e08c,0 6px 14px #00000080}:where(.sh-table) .sh-hull.preview.bad{background:#ff6b5766;box-shadow:0 0 0 2px #ff6b57}:where(.sh-table) .sh-hull.preview:after{display:none}:where(.play-screen:not(.sh-table)) .sh-cell.sel{outline:2px solid var(--accent);outline-offset:-2px}:where(.play-screen:not(.sh-table)) .sh-cell.pv{background:#9fd8a8}:where(.play-screen:not(.sh-table)) .sh-cell.pv.bad{background:#f4a0a0}.sh-place-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.sh-place-tip{color:var(--muted);text-align:center;margin:0;font-size:13px}
