.board-grid { position: relative; }
.fleet-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.fleet-vessel { position: absolute; pointer-events: none; filter: drop-shadow(0 3px 1px #003c6873); }
.ship-top-view { display: block; width: 100%; height: 100%; overflow: visible; }
.vessel-hull { stroke: #ffb23e; stroke-width: 7; paint-order: stroke fill; }
.fleet-vessel.is-preview { opacity: .62; filter: drop-shadow(0 0 3px #fff6c9); }
.fleet-vessel.is-preview .ship-top-view { outline: 2px dashed #c2ff7c; outline-offset: -2px; border-radius: 14px; }
.fleet-vessel.is-invalid { opacity: .45; filter: sepia(.6) saturate(2) hue-rotate(320deg); }
.fleet-vessel.is-invalid .ship-top-view { outline-color: #b13b32; }
.fleet-vessel.is-sunk .ship-top-view { filter: grayscale(.85); opacity: .65; }
.ship-damage { position: absolute; display: grid; place-items: center; width: 32px; height: 32px; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 1px #102f4680); }
.ship-damage .result-icon { width: 100%; height: 100%; }
#naval-effects { position: fixed; inset: 0; z-index: 2000; pointer-events: none; overflow: hidden; }
.naval-particle { position: absolute; display: block; width: var(--particle-size); height: var(--particle-size); margin: -5px; border-radius: 50%; background: #c4fff2; border: 1px solid #fff9e7; color: #ffdf71; font: 900 24px/1 system-ui, sans-serif; animation: naval-pop 780ms cubic-bezier(.16,.64,.38,1) both; }
.naval-particle.effect-water, .naval-particle.effect-placement { border-radius: 60% 40% 70% 30%; background: #7ee8ff; box-shadow: 0 1px 0 #005483; }
.naval-particle.effect-hit, .naval-particle.effect-sunk, .naval-particle.effect-victory { background: transparent; border: 0; width: auto; height: auto; text-shadow: 0 2px #c2613f; }
.naval-particle.effect-hit:nth-child(2n), .naval-particle.effect-victory:nth-child(2n) { color: #fff4cb; }
.placement-ripple { position: absolute; width: 24px; height: 24px; margin: -12px; border: 3px solid #f7ffdf; border-radius: 50%; animation: naval-ripple 650ms ease-out both; }
@keyframes naval-pop { 0% { transform: translate(0,0) scale(.4); opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--turn)) scale(.3); opacity: 0; } }
@keyframes naval-ripple { from { transform: scale(.2); opacity: .9; } to { transform: scale(5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .naval-particle, .placement-ripple { display: none; animation: none; } }
