.PrywmG_root{--bn-sea:#123a5c;--bn-sea-deep:#0d2d49;--bn-line:#96c8f03d;--bn-hull:#8197ac;--bn-hull-edge:#c3d3e1;--bn-deck:#aebfce;--bn-detail:#566c80;--bn-sunk-hull:#8c3a3a;--bn-sunk-deck:#b45151;--bn-sunk-detail:#5e2323;--bn-hit:#ec4a4f;--bn-foam:#e8f3fb;--bn-ok:#3ddc97;--bn-bad:#ef6a78;flex-direction:column;align-items:center;gap:1rem;width:100%;display:flex}:root[data-theme=light] .PrywmG_root{--bn-sea:#cfe5f4;--bn-sea-deep:#b9d8ec;--bn-line:#1955874d;--bn-hull:#5d7489;--bn-hull-edge:#34495c;--bn-deck:#8aa1b6;--bn-detail:#3b5063;--bn-sunk-hull:#a24646;--bn-sunk-deck:#c96a6a;--bn-sunk-detail:#6d2626;--bn-hit:#d2323a;--bn-foam:#fff;--bn-ok:#14724a;--bn-bad:#b4234b}@media (prefers-color-scheme:light){:root:not([data-theme]) .PrywmG_root{--bn-sea:#cfe5f4;--bn-sea-deep:#b9d8ec;--bn-line:#1955874d;--bn-hull:#5d7489;--bn-hull-edge:#34495c;--bn-deck:#8aa1b6;--bn-detail:#3b5063;--bn-sunk-hull:#a24646;--bn-sunk-deck:#c96a6a;--bn-sunk-detail:#6d2626;--bn-hit:#d2323a;--bn-foam:#fff;--bn-ok:#14724a;--bn-bad:#b4234b}}.PrywmG_setup{flex-direction:column;gap:.85rem;width:min(560px,100%);display:flex}.PrywmG_setupGroup,.PrywmG_statsCard{background:var(--color-surface);border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);flex-direction:column;gap:.6rem;padding:.9rem 1rem;display:flex}.PrywmG_groupTitle{letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-secondary);margin:0;font-size:.78rem;font-weight:700}.PrywmG_groupNote{color:var(--color-text-secondary);margin:0;font-size:.86rem;line-height:1.45}.PrywmG_fleetPreview{flex-wrap:wrap;gap:.35rem .9rem;margin:0;padding:0;list-style:none;display:flex}.PrywmG_fleetPreview li{align-items:center;gap:.3rem;display:inline-flex}.PrywmG_fleetPreviewLen{color:var(--color-text-secondary);font-variant-numeric:tabular-nums;font-size:.75rem;font-weight:700}.PrywmG_statsGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:0;display:grid}.PrywmG_statsGrid>div{background:var(--color-surface-elevated);border-radius:var(--radius-sm);flex-direction:column;align-items:center;gap:.15rem;padding:.55rem .25rem;display:flex}.PrywmG_statsGrid dt{text-transform:uppercase;letter-spacing:.03em;color:var(--color-text-secondary);text-align:center;font-size:.68rem}.PrywmG_statsGrid dd{color:var(--color-text-primary);font-variant-numeric:tabular-nums;margin:0;font-size:1.3rem;font-weight:800}.PrywmG_actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:.6rem;display:flex}.PrywmG_primaryBtn{background:var(--color-accent);color:var(--color-on-accent);border-radius:var(--radius-md);cursor:pointer;border:none;min-height:44px;padding:.65rem 1.4rem;font-size:.95rem;font-weight:700}.PrywmG_primaryBtn:hover:not(:disabled){background:var(--color-accent-hover)}.PrywmG_primaryBtn:disabled{opacity:.45;cursor:not-allowed}.PrywmG_ghostBtn{border:1px solid var(--color-border-subtle);color:var(--color-text-secondary);border-radius:var(--radius-md);cursor:pointer;background:0 0;align-items:center;gap:.4rem;min-height:44px;padding:.55rem .95rem;font-size:.86rem;font-weight:600;display:inline-flex}.PrywmG_ghostBtn:hover:not(:disabled){border-color:var(--color-accent);color:var(--color-accent)}.PrywmG_ghostBtn:disabled{opacity:.45;cursor:not-allowed}.PrywmG_dangerBtn{border:1px solid var(--color-error);color:var(--color-error);border-radius:var(--radius-md);cursor:pointer;background:0 0;min-height:44px;padding:.55rem .95rem;font-size:.86rem;font-weight:700}.PrywmG_linkBtn{color:var(--color-text-secondary);cursor:pointer;background:0 0;border:none;align-self:flex-start;padding:.25rem 0;font-size:.8rem;text-decoration:underline}.PrywmG_linkBtn:hover{color:var(--color-accent)}.PrywmG_confirmText{color:var(--color-text-secondary);font-size:.86rem}.PrywmG_kbd{border:1px solid var(--color-border-strong);color:var(--color-text-secondary);border-radius:4px;padding:.05rem .35rem;font-family:inherit;font-size:.7rem}.PrywmG_primaryBtn:focus-visible,.PrywmG_ghostBtn:focus-visible,.PrywmG_dangerBtn:focus-visible,.PrywmG_linkBtn:focus-visible,.PrywmG_chip:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}.PrywmG_boardBlock{--lab:1.15rem;grid-template-columns:var(--lab) minmax(0, 1fr);grid-template-rows:var(--lab) auto;width:min(100%,460px);display:grid}.PrywmG_boardBlock[data-compact]{--lab:.95rem;width:min(100%,270px)}.PrywmG_colLabels,.PrywmG_rowLabels{color:var(--color-text-secondary);-webkit-user-select:none;user-select:none;font-size:.7rem;font-weight:700;display:grid}.PrywmG_boardBlock[data-compact] .PrywmG_colLabels,.PrywmG_boardBlock[data-compact] .PrywmG_rowLabels{font-size:.6rem}.PrywmG_colLabels{text-align:center;grid-area:1/2;grid-template-columns:repeat(10,1fr);align-items:center}.PrywmG_rowLabels{grid-area:2/1;grid-template-rows:repeat(10,1fr);place-items:center}.PrywmG_field{aspect-ratio:1;border:1px solid var(--bn-line);border-radius:6px;grid-area:2/2;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0a}.PrywmG_water{width:100%;height:100%;display:block;position:absolute;inset:0}.PrywmG_sea{fill:var(--bn-sea)}.PrywmG_gridLine{stroke:var(--bn-line);stroke-width:.025px}.PrywmG_cellHint{fill:var(--bn-ok);opacity:.18}.PrywmG_hull{fill:var(--bn-hull);stroke:var(--bn-hull-edge);stroke-width:.04px;stroke-linejoin:round}.PrywmG_deck{fill:var(--bn-deck);opacity:.85}.PrywmG_detail{fill:var(--bn-detail)}.PrywmG_runway{stroke:var(--bn-hull);stroke-width:.06px;stroke-dasharray:.22 .16;stroke-linecap:round}.PrywmG_ship[data-tone=selected] .PrywmG_hull{stroke:var(--color-accent);stroke-width:.1px}.PrywmG_ship[data-tone=sunk] .PrywmG_hull{fill:var(--bn-sunk-hull);stroke:var(--bn-sunk-detail)}.PrywmG_ship[data-tone=sunk] .PrywmG_deck{fill:var(--bn-sunk-deck)}.PrywmG_ship[data-tone=sunk] .PrywmG_detail{fill:var(--bn-sunk-detail)}.PrywmG_ship[data-tone=revealed] .PrywmG_hull{fill:none;stroke:var(--bn-hull-edge);stroke-width:.06px;stroke-dasharray:.16 .1}.PrywmG_ship[data-tone=revealed] .PrywmG_deck,.PrywmG_ship[data-tone=revealed] .PrywmG_detail{opacity:.35}.PrywmG_ship[data-tone=ghostOk] .PrywmG_hull{fill:var(--bn-ok);stroke:var(--bn-ok);opacity:.7}.PrywmG_ship[data-tone=ghostBad] .PrywmG_hull{fill:var(--bn-bad);stroke:var(--bn-bad);opacity:.7}.PrywmG_ship[data-tone=ghostOk] .PrywmG_deck,.PrywmG_ship[data-tone=ghostBad] .PrywmG_deck,.PrywmG_ship[data-tone=ghostOk] .PrywmG_detail,.PrywmG_ship[data-tone=ghostBad] .PrywmG_detail{opacity:.35}.PrywmG_shipIcon{flex:none;display:block}.PrywmG_shipIcon .PrywmG_hull{stroke-width:.08px}.PrywmG_hitDisc{fill:var(--bn-hit);stroke:#00000059;stroke-width:.03px;transform-box:fill-box;transform-origin:50%;animation:PrywmG_bnPop .28s var(--ease-spring,ease-out)}.PrywmG_hitCross{stroke:#fff;stroke-width:.07px;stroke-linecap:round;fill:none}.PrywmG_missDot{fill:var(--bn-foam);opacity:.9}.PrywmG_ripple{fill:none;stroke:var(--bn-foam);stroke-width:.05px;opacity:.45;transform-box:fill-box;transform-origin:50%;animation:.7s ease-out PrywmG_bnRipple}.PrywmG_lastShot{fill:none;stroke:var(--color-accent);stroke-width:.07px;animation:1.4s ease-in-out infinite PrywmG_bnPulse}@keyframes PrywmG_bnPop{0%{opacity:0;transform:scale(.2)}to{opacity:1;transform:scale(1)}}@keyframes PrywmG_bnRipple{0%{opacity:.95;transform:scale(.3)}to{opacity:.45;transform:scale(1)}}@keyframes PrywmG_bnPulse{0%,to{opacity:1}50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.PrywmG_hitDisc,.PrywmG_ripple,.PrywmG_lastShot{animation:none}}.PrywmG_cells{grid-template-rows:repeat(10,1fr);grid-template-columns:repeat(10,1fr);display:grid;position:absolute;inset:0}.PrywmG_cell{appearance:none;cursor:crosshair;-webkit-tap-highlight-color:transparent;background:0 0;border:none;min-width:0;min-height:0;margin:0;padding:0}.PrywmG_cell[data-drag]{cursor:grab;touch-action:none}.PrywmG_cell[aria-disabled=true]{cursor:default}.PrywmG_cell:hover:not([aria-disabled=true]){background:color-mix(in srgb, var(--color-accent) 22%, transparent)}.PrywmG_cell:focus-visible{outline:2px solid var(--color-focus);outline-offset:-2px;background:color-mix(in srgb, var(--color-accent) 18%, transparent)}.PrywmG_placement{flex-direction:column;align-items:center;gap:.9rem;width:100%;display:flex}.PrywmG_hint{text-align:center;max-width:60ch;color:var(--color-text-secondary);margin:0;font-size:.92rem;line-height:1.5}.PrywmG_placeLayout{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:1.1rem 1.5rem;width:100%;display:flex}.PrywmG_placeLayout>.PrywmG_boardBlock{flex:300px;max-width:460px}.PrywmG_dock{flex-direction:column;flex:250px;gap:.7rem;max-width:360px;display:flex}.PrywmG_dockTitle{letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-secondary);margin:0;font-size:.78rem;font-weight:700}.PrywmG_chips{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.PrywmG_chip{text-align:left;background:var(--color-surface);border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);width:100%;min-height:44px;color:var(--color-text-primary);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;gap:.6rem;padding:.35rem .7rem;display:flex}.PrywmG_chip[data-placed]{opacity:.7}.PrywmG_chip[data-selected]{border-color:var(--color-accent);background:var(--color-accent-soft);opacity:1}.PrywmG_chipName{flex:1;font-size:.88rem;font-weight:600}.PrywmG_chipLen{color:var(--color-text-secondary);font-size:.74rem}.PrywmG_toolRow{flex-wrap:wrap;gap:.45rem;display:flex}.PrywmG_toolRow .PrywmG_ghostBtn{flex:auto;justify-content:center}.PrywmG_liveMsg{text-align:center;min-height:1.5em;color:var(--color-text-primary);margin:0;font-size:.9rem;font-weight:600}.PrywmG_battle{flex-direction:column;align-items:center;gap:.9rem;width:100%;display:flex}.PrywmG_statusBar{text-align:center;background:var(--color-surface);border:1px solid var(--color-border-subtle);border-left:4px solid var(--color-accent);border-radius:var(--radius-md);width:min(560px,100%);padding:.6rem .9rem}.PrywmG_statusBar[data-turn=cpu]{border-left-color:var(--color-warning)}.PrywmG_statusBar[data-over]{border-left-color:var(--color-error)}.PrywmG_statusBar[data-over][data-won]{border-left-color:var(--color-accent)}.PrywmG_srOnly{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.PrywmG_status{color:var(--color-text-primary);margin:0;font-size:1.05rem;font-weight:700}.PrywmG_lastEvent{min-height:1.4em;color:var(--color-text-secondary);margin:.15rem 0 0;font-size:.86rem}.PrywmG_boards{grid-template-columns:minmax(0,1fr);place-items:start center;gap:1.2rem 1.8rem;width:100%;display:grid}@media (min-width:860px){.PrywmG_boards{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);max-width:900px}}.PrywmG_boardCol{flex-direction:column;align-items:center;gap:.5rem;width:100%;display:flex}.PrywmG_boardTitle{letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-secondary);margin:0;font-size:.8rem;font-weight:700}.PrywmG_fleetStatus{flex-direction:column;align-items:center;gap:.35rem;display:flex}.PrywmG_fleetStatusTitle{color:var(--color-text-secondary);margin:0;font-size:.78rem;font-weight:600}.PrywmG_fleetStatusCount{color:var(--color-text-primary);margin-left:.3rem;font-weight:800}.PrywmG_statusList{flex-wrap:wrap;justify-content:center;gap:.35rem .8rem;margin:0;padding:0;list-style:none;display:flex}.PrywmG_statusList li{display:inline-flex;position:relative}.PrywmG_statusList li[data-sunk]{opacity:.8}.PrywmG_statusList li[data-sunk]:after{content:"";background:var(--bn-hit);height:2px;position:absolute;top:50%;left:-2px;right:-2px;transform:rotate(-8deg)}.PrywmG_history{width:min(560px,100%);color:var(--color-text-secondary);font-size:.84rem}.PrywmG_history summary{cursor:pointer;padding:.3rem 0;font-weight:600}.PrywmG_history ol{flex-direction:column;gap:.15rem;margin:.3rem 0 0;padding-left:1.3rem;display:flex}.PrywmG_history li[data-by=cpu]{color:var(--color-text-secondary)}.PrywmG_history li[data-by=me]{color:var(--color-text-primary)}.PrywmG_result{background:var(--color-surface);border:1px solid var(--color-border-subtle);border-top:4px solid var(--color-error);border-radius:var(--radius-md);width:min(560px,100%);animation:PrywmG_bnPop .3s var(--ease-spring,ease-out);flex-direction:column;gap:.7rem;padding:1rem 1.1rem;display:flex}.PrywmG_result[data-won]{border-top-color:var(--color-accent)}.PrywmG_resultTitle{color:var(--color-text-primary);margin:0;font-size:1.35rem;font-weight:800}.PrywmG_resultText{color:var(--color-text-secondary);margin:0;font-size:.95rem;line-height:1.5}@media (prefers-reduced-motion:reduce){.PrywmG_result{animation:none}}@media (max-width:420px){.PrywmG_statsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
