main:has(>.schiffe-table){padding-bottom:22px}.schiffe-table{flex-direction:column;flex:auto;min-height:0;padding:18px;display:flex;position:relative;overflow:hidden;container-type:size}.sea-sheets{flex:auto;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);place-items:center;gap:22px;min-height:0;display:grid}.sea-sheet{--grid:#a9bfd9;--pen:#2d5097;background:var(--paper) var(--noise);width:100%;color:var(--ink);border-radius:4px;gap:8px;padding:12px 16px 12px 12px;transition:opacity .3s;display:grid;position:relative;transform:rotate(-.5deg);box-shadow:0 1px #d8ccb0,0 12px 26px #10291a59}.sea-sheet.big{max-width:calc(96cqh - 126.72px)}:root[data-theme=dark] .sea-sheet{--grid:#526b70;--pen:#a9c7eb}:root[data-theme=dark] .sea-mark.hit{stroke:#f3a28c}:root[data-theme=dark] .sea-mark.sunk{stroke:#ffb19b}.sea-sheet.small{max-width:calc(66cqh - 87.12px);transform:rotate(.7deg)}.sea-sheets.laying .sea-sheet.small{opacity:.62}.sea-sheets.laying .sea-sheet.big{max-width:calc(96cqh - 182.4px)}.sea-sheet-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 10px;padding-left:1.5em;display:flex}.sea-sheet-head h2{color:var(--forest-ink);font:20px/1.15 var(--display);margin:0}.sea-sheet-head span{color:var(--soft-ink);font:italic 14px/1.2 var(--display)}.sea-sheet.small .sea-sheet-head h2{font-size:17px}.sea-grid{grid-template-rows:1.4em auto;grid-template-columns:1.5em minmax(0,1fr);display:grid}.sea-cols{grid-column:2;grid-template-columns:repeat(10,1fr);display:grid}.sea-rows{grid-area:2/1;grid-template-rows:repeat(10,1fr);display:grid}.sea-cols span,.sea-rows span{color:var(--pen);font:600 13px/1 var(--sans);place-items:center;display:grid}.sea-sheet.small :is(.sea-cols,.sea-rows) span{font-size:max(var(--type-floor), 11px)}.sea-waters{aspect-ratio:1;background-color:var(--field);background-image:linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);box-shadow:inset 0 0 0 1.5px var(--pen), 0 0 0 1px #2d509733;touch-action:manipulation;background-size:10% 10%;grid-area:2/2;grid-template-rows:repeat(10,1fr);grid-template-columns:repeat(10,1fr);display:grid;position:relative}.sea-row{display:contents}.sea-cell{min-width:0;position:relative}.sea-cell button{cursor:default;background:0 0;border:0;border-radius:2px;width:100%;height:100%;padding:0;position:absolute;inset:0}.sea-cell button:focus-visible{z-index:1;outline:3px solid var(--focus);outline-offset:-1px}.sea-waters.aim .sea-cell button.live{cursor:crosshair}.sea-waters.aim .sea-cell button.live:hover{box-shadow:inset 0 0 0 2px var(--brick);background:#ad44301a}.sea-waters.place .sea-cell button{cursor:pointer}.sea-waters.place .sea-cell button:hover{background:#2b523314}.sea-drawing{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.sea-hull path{fill:#62788d;stroke:#2c3c4f;stroke-width:.7px;stroke-linejoin:round}.sea-hull .bridge{fill:#d3dbe2;stroke:#2c3c4f;stroke-width:.5px}.sea-hull .porthole{fill:#eef2f5}.sea-hull.chosen path{fill:#7d97ae;stroke:var(--gold);stroke-width:1.6px}.sea-hull.sunk path{stroke:var(--brick-dark);stroke-width:.8px}.sea-hull.sunk :is(.bridge,.porthole){opacity:.35}.sea-hatch-ground{fill:#ead9d1}.sea-hatch-line{stroke:#b4685a;stroke-width:.8px}.sea-hull.ghost path{fill:#2b523326;stroke:var(--forest-ink);stroke-width:.8px;stroke-dasharray:2 1.4}.sea-hull.ghost.bad path{fill:#ad443026;stroke:var(--brick)}.sea-hull.ghost :is(.bridge,.porthole){display:none}.sea-mark.miss{fill:var(--pen)}.sea-mark.water{fill:#9fb4d0}.sea-mark.hit{fill:none;stroke:#c0392b;stroke-width:1.6px;stroke-linecap:round}.sea-mark.sunk{fill:none;stroke:#7a2116;stroke-width:1.8px;stroke-linecap:round}.sea-aim{fill:none;stroke:var(--brick);stroke-width:1px;transform-box:fill-box;transform-origin:50%;animation:.6s ease-in-out infinite alternate sea-aim-pulse}@keyframes sea-aim-pulse{0%{opacity:.6;transform:scale(.75)}to{opacity:1;transform:scale(1.1)}}.sea-fx.splash circle{fill:none;stroke:var(--pen);stroke-width:.7px;opacity:0;transform-box:fill-box;transform-origin:50%;animation:.95s ease-out forwards sea-splash}.sea-fx.splash circle:nth-child(2){animation-delay:.14s}.sea-fx.splash circle:nth-child(3){animation-delay:.28s}@keyframes sea-splash{0%{opacity:.9;transform:scale(.4)}to{opacity:0;transform:scale(3.4)}}.sea-fx.burst :is(polygon,circle){transform-box:fill-box;transform-origin:50%;animation:.75s ease-out forwards sea-burst}.sea-fx.burst polygon{fill:var(--gold)}.sea-fx.burst circle{fill:var(--cream)}.sea-fx.burst.sunk polygon{fill:#e07b2a;animation-duration:1.05s}@keyframes sea-burst{0%{opacity:1;transform:scale(.2)}55%{opacity:.95;transform:scale(1.15)}to{opacity:0;transform:scale(1.35)}}.sea-banner{z-index:2;background:var(--surface-translucent);color:var(--brick-ink);font:600 24px/1.2 var(--display);white-space:nowrap;pointer-events:none;opacity:0;border-radius:999px;margin:0;padding:6px 18px;animation:1.1s ease-out forwards sea-banner-pop;position:absolute;top:50%;left:50%;box-shadow:0 8px 20px #10291a40}.sea-banner.sunk{background:var(--brick);color:var(--cream);animation-duration:1.4s}.sea-sheet.small .sea-banner{font-size:18px}@keyframes sea-banner-pop{0%{opacity:0;transform:translate(-50%,-30%)scale(.92)}15%{opacity:1;transform:translate(-50%,-50%)scale(1)}75%{opacity:1;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-60%)scale(1)}}.sea-fleet{flex-wrap:wrap;align-items:center;gap:4px 9px;margin:0;padding:0 0 0 1.5em;font-size:15px;list-style:none;display:flex}.sea-fleet li{display:flex}.sea-fleet svg{height:.8em;display:block;overflow:visible}.sea-fleet li.gone{opacity:.6}.sea-hull.legend.sunk path{fill:#ead9d1;stroke:var(--brick-dark)}.sea-hull.legend.sunk :is(.bridge,.porthole){display:none}.sea-hull .strike{stroke:#7a2116;stroke-width:1.4px;stroke-linecap:round}.sea-tools{flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-top:2px;display:flex}.sea-switch{background:#10291a59;border-radius:999px;align-self:center;gap:4px;margin-bottom:10px;padding:4px;display:none}.sea-switch button{min-height:44px;color:var(--cream);font:600 15px var(--sans);background:0 0;border:0;border-radius:999px;padding:0 18px}.sea-switch button[aria-pressed=true]{background:var(--paper);color:var(--forest-ink)}.swatch.blue{background:radial-gradient(circle at 35% 30%,#6f8fd0,#2d5097)}.swatch.red{background:radial-gradient(circle at 35% 30%,#dc7468,#b0352c)}.result-ship{width:170px;height:34px}@container (orientation:portrait) and (width<=599px){.sea-sheets{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr);align-content:center;gap:16px}.sea-sheet.big,.sea-sheets.laying .sea-sheet.big{max-width:min(100%,60cqh - 110px)}.sea-sheet.small{max-width:min(78%,36cqh - 90px)}}@container (width>=600px) and (width<=900px){.sea-sheets{grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:16px}}@media (width<=760px),(height<=520px){main:has(>.schiffe-table){padding-bottom:6px}.schiffe-table{padding:10px 8px;container-type:normal}.sea-switch{display:flex}.sea-sheets{display:block}.sea-sheet{padding:10px 10px 10px 6px;display:none;transform:none}.sea-sheet.big,.sea-sheet.small,.sea-sheets.laying .sea-sheet.big{max-width:none}.sea-sheet.shown{display:grid}.sea-sheets.laying .sea-sheet.small{opacity:1}.sea-sheet-head h2,.sea-sheet.small .sea-sheet-head h2{font-size:18px}.sea-sheet.small :is(.sea-cols,.sea-rows) span{font-size:max(var(--type-floor), 12px)}}@media (prefers-reduced-motion:reduce){.sea-fx,.sea-aim{animation:none;display:none}.sea-banner{animation-duration:1.6s}}@media (width<=760px),(height<=520px){.sea-switch{flex:none;margin-bottom:6px}.sea-sheets{container-type:size}.sea-sheet.shown{gap:6px;width:100%;padding:8px}.sea-grid{justify-self:center;width:min(100%,100cqh - 92px)}.sea-sheets.laying .sea-sheet:has(.sea-tools) .sea-grid{width:min(100%,100cqh - 142px)}.sea-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0;display:grid}.sea-tools button{min-width:0;min-height:44px;padding:4px 6px;font-size:14px;line-height:1.15}@container (orientation:landscape){.sea-sheet.shown{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(140px,.65fr);align-items:start;height:100%}.sea-sheet .sea-grid{grid-area:1/1/-1;align-self:center;width:min(100%,100cqh - 20px)}.sea-sheets.laying .sea-sheet:has(.sea-tools) .sea-grid{grid-area:1/1/-1;align-self:center;width:min(100%,100cqh - 20px)}.sea-sheet-head,.sea-fleet{grid-column:2;padding:0}.sea-tools{grid-column:2;grid-template-columns:1fr;align-self:end}}}
