.verb-battleship{position:relative;overflow:clip;border:5px solid #d0a768;border-radius:20px;margin:1rem auto;background:radial-gradient(ellipse at 48% 40%,#65ded6,#259cac 50%,#134c77 100%);color:#fff;box-shadow:0 15px 30px #082e4440}.verb-battleship:before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.2;background-image:repeating-radial-gradient(ellipse at 30% 30%,transparent 0 21px,#d1ffed 23px 25px,transparent 28px 53px);background-size:145px 115px;animation:battle-water 12s linear infinite}.battle-command,.battle-oceans,.battle-placement,.battle-welcome,.battle-instructions,.battle-message,.battle-ending,.battle-pause-banner{position:relative;z-index:1}.adventure-arcade .battle-command{display:grid;grid-template-columns:1fr 150px 1fr;gap:8px;background:linear-gradient(130deg,#6e1739,#b83149 50%,#671c42);padding:.6rem;border-bottom:7px solid #e8c78e}.battle-captain{position:relative;min-height:125px;padding:.6rem .5rem .5rem 95px;border:5px ridge #f5d29a;border-radius:10px;background:linear-gradient(#a84347,#7b213a);text-align:center}.enemy-captain{padding:.6rem 95px .5rem .5rem}.battle-captain-art{position:absolute;left:0;bottom:0;width:100px}.enemy-captain .battle-captain-art{left:auto;right:0;transform:scaleX(-1)}.adventure-arcade .battle-captain h5{color:#fff8dd;font-size:clamp(.9rem,2vw,1.35rem);text-shadow:2px 3px #3e1730;margin:.2rem 0 .6rem;font-family:system-ui,sans-serif;font-weight:950}.battle-frog-head{transform-origin:80px 110px;animation:battle-captain-bob 4s ease-in-out infinite}.battle-frog-eyes{transform-origin:80px 57px;animation:battle-captain-blink 5s infinite}.battle-center-command{display:flex;flex-direction:column;align-items:stretch;gap:.35rem}.battle-timer{background:#fff4ce;border:5px ridge #dfb471;color:#182d34;padding:.5rem;text-align:center;font:900 1.8rem ui-monospace,monospace;border-radius:6px}.verb-battleship .battle-small{font-size:.75rem;padding:.35rem;background:#164b5c;color:#fff;border:2px solid #efd59b;border-radius:8px}.battle-dock{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;background:#f1c17c;padding:.5rem;border:3px ridge #f2d9b3;border-radius:8px}.battle-mini-ship{display:block;width:calc(12px + var(--ship-length)*9px);border-radius:50%;height:18px;background:linear-gradient(#d47551,#87432d);border:3px solid #fff0ba;font-size:0;box-shadow:0 3px #692838}.battle-mini-ship.is-sunk{font-size:16px;line-height:14px;background:#54454b;opacity:.7}.battle-welcome{text-align:center;padding:1.2rem;background:radial-gradient(ellipse at center,#ffc961aa,transparent 70%)}.adventure-arcade .battle-welcome h5{font:1000 clamp(2rem,5.7vw,4.5rem)/1.05 system-ui,sans-serif;color:#ffeab2;text-shadow:0 5px #a85820,0 9px #6e263b;margin:.7rem 0}.battle-welcome>p:first-child{font-weight:900;letter-spacing:.15em;font-size:.75rem}.battle-showdown{display:flex;max-width:580px;margin:auto;align-items:center;justify-content:center;gap:2rem}.battle-showdown>div{width:200px;filter:drop-shadow(0 8px 3px #164d5680)}.battle-showdown>strong{font:950 2.3rem system-ui;color:#fff6ce;text-shadow:3px 3px #802a42}.battle-showdown>div:last-child{transform:scaleX(-1)}.verb-battleship .battle-play-button,.battle-question-dialog button:not(.battle-secondary){background:linear-gradient(#e942d0,#aa16a4);color:#fff;border:5px ridge #f4d49b;border-radius:13px;font-weight:900;box-shadow:0 4px #65234c;padding:.65rem 1rem}.battle-welcome .battle-play-button{font-size:1.35rem;min-width:250px;margin:.8rem}.battle-message{background:#731b40;border:4px ridge #efcc91;border-radius:9px;padding:.7rem 1rem;margin:.6rem .8rem;font-weight:800;color:#fff9dc;min-height:1.4em}.battle-placement{padding:.7rem .8rem;background:#12485bd9}.battle-ship-choices{display:flex;gap:.4rem;flex-wrap:wrap;margin:.5rem 0}.verb-battleship .battle-ship-choices button{background:#8c3442;color:#fff1cf;border:3px ridge #e6bd83;padding:.4rem .7rem;font-size:.85rem;border-radius:9px}.verb-battleship .battle-ship-choices button[aria-pressed=true]{background:#ce27b0;outline:2px solid #fff2ac}.verb-battleship .battle-secondary{background:#145467;color:#fff8dc;border:2px solid #e3c28d;border-radius:8px;padding:.5rem .7rem;margin:.2rem;font-size:.8rem}.battle-placement>.battle-play-button{margin:.3rem;font-size:.9rem}.battle-oceans{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem;padding:.6rem .8rem 1rem}.battle-ocean-panel{min-width:0}.battle-ocean-panel h6{font-size:.9rem;color:#fff6d7;margin:.3rem 0 .6rem;text-align:center}.battle-grid{display:grid;grid-template-columns:minmax(70px,1.4fr) repeat(6,minmax(0,1fr));border-right:2px solid #a5fff0;border-bottom:2px solid #a5fff0;background:#21c4cb33}.battle-subject,.battle-verb,.battle-grid-corner{display:flex;align-items:center;justify-content:center;background:#07364bc7;text-align:center;font-size:clamp(.62rem,1vw,.85rem);font-weight:850;padding:.25rem;min-height:41px;line-height:1.1;color:#fff}.battle-subject{border-right:1px solid #7ee0e2;overflow-wrap:anywhere}.battle-verb{min-height:35px;justify-content:flex-end;padding-right:.5rem;overflow-wrap:anywhere}.battle-grid-corner{font-size:.6rem;letter-spacing:.1em}.verb-battleship .battle-cell{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:38px;height:100%;padding:0;border:1px solid #96e9e4;border-radius:0;background:#72e3df44;box-shadow:none;margin:0;cursor:crosshair;overflow:visible}.verb-battleship .battle-cell:disabled{opacity:1;cursor:default}.verb-battleship .battle-cell:not(:disabled):hover,.verb-battleship .battle-cell:not(:disabled):focus-visible{background:#fff5b688;z-index:2;outline:2px solid #fff5b6;outline-offset:-3px}.battle-boat-segment{position:absolute;inset:8px -1px;background:linear-gradient(#f0a184 0 18%,#ad5340 22% 63%,#75423e 65%);border-top:4px solid #ffdfac;border-bottom:4px solid #ebc5ad;pointer-events:none;z-index:1}.boat-bow{border-radius:70% 0 0 70%}.boat-stern{border-radius:0 70% 70% 0}.boat-bow.boat-stern{border-radius:50%}.boat-vertical{transform:rotate(90deg);inset:10px -4px}.battle-shot-marker{position:relative;z-index:2;color:#fff;font-size:1.45rem;font-weight:1000;text-shadow:0 2px #15536c}.battle-hit{background:#0c526b!important}.battle-hit .battle-shot-marker{animation:battle-fire .8s ease-in-out infinite alternate}.battle-miss{background:#11536599!important}.battle-sunk .battle-boat-segment{background:linear-gradient(30deg,#332e38,#b25f50 40%,#302e37 45%,#97614b 65%,#302e37 70%);opacity:.8;transform:rotate(-8deg)}.verb-battleship .battle-cell.battle-preview{background:#b8ff9b99}.verb-battleship .battle-cell.battle-invalid{background:#ff778dbb}.battle-instructions{background:#0a3b53df;margin:.6rem .8rem;padding:.8rem;border:3px ridge #e4ca9a;border-radius:8px;font-size:.9rem}.battle-instructions summary{font-weight:850;cursor:pointer;color:#fff8cf}.battle-ending{background:#761f46;border:6px ridge #e9c68b;text-align:center;padding:1.2rem;margin:1rem}.adventure-arcade .battle-ending h5{color:#fff4c1;font-size:1.5rem}.battle-pause-banner{text-align:center;background:#fff1bf;color:#513222;padding:.8rem;font-weight:900}.battle-question-dialog{color:#fff4dc;background:linear-gradient(135deg,#892043,#5e1639);border:10px ridge #efcc97;border-radius:9px;width:min(480px,calc(100vw - 50px));max-height:85vh;box-sizing:border-box;padding:1.3rem;box-shadow:0 15px 60px #001a30aa}.battle-question-dialog::backdrop{background:#002d44ad}.battle-question-dialog h5{color:#fff0c0!important;font:900 1.4rem system-ui;margin:.1rem 0 .8rem}.battle-question-dialog input{display:block;box-sizing:border-box;width:100%;background:#fff;color:#172d3c;border:3px solid #eecb91;padding:.75rem;font-size:1.2rem;margin:.5rem 0}.battle-question-dialog label{font-weight:850}.battle-question-dialog details{font-size:.85rem;margin:.5rem 0;padding:.5rem;background:#49152d66;border:1px solid #bd8c68}.battle-question-dialog summary{cursor:pointer;color:#fff4c7;font-weight:800}.battle-question-dialog table{width:100%;border-collapse:collapse}.battle-question-dialog th,.battle-question-dialog td{padding:.35rem;border:1px solid #bf8f74;text-align:left;font-size:.8rem}.battle-question-dialog .character-keys button{padding:.2rem .4rem;border-width:1px;font-size:.85rem;background:#164a61}.battle-dialog-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1rem}.battle-question-dialog .battle-secondary{background:#536673;color:white;border:2px solid #e3ca9c;border-radius:7px}.battle-question-dialog .character-help{font-size:.75rem}.battle-question-dialog .character-heading{margin:.3rem 0}.battle-question-dialog .character-keys{display:flex;gap:.2rem;flex-wrap:wrap}.battle-question-dialog .character-status{font-size:.75rem}@keyframes battle-water{to{background-position:145px 115px}}@keyframes battle-captain-bob{50%{transform:rotate(-3deg)}}@keyframes battle-captain-blink{0%,45%,49%,100%{transform:scaleY(1)}47%{transform:scaleY(.1)}}@keyframes battle-fire{to{transform:scale(1.1) rotate(8deg)}}@media(max-width:800px){.battle-oceans{grid-template-columns:1fr;max-width:540px;margin:auto}.battle-command{grid-template-columns:1fr 115px 1fr!important;gap:4px}.battle-captain,.enemy-captain{padding:.3rem;min-height:100px}.battle-captain-art{width:65px;position:relative;margin:auto}.enemy-captain .battle-captain-art{right:auto}.battle-dock{gap:3px;padding:.2rem}.battle-mini-ship{width:calc(6px + var(--ship-length)*5px);height:11px}.battle-timer{font-size:1.3rem}.battle-grid{grid-template-columns:90px repeat(6,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.verb-battleship *,.verb-battleship:before{animation:none!important}}

.battle-vowel-keys{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin:.6rem 0}.battle-vowel-keys button{font-size:1.1rem;padding:.3rem .6rem!important;border-width:2px!important;border-radius:6px!important}

.battle-boat-segment.boat-vertical{inset:-1px auto -1px calc(50% - 11px);width:22px;transform:none;border-top:0;border-bottom:0;border-left:4px solid #ffdfac;border-right:4px solid #ebc5ad;background:linear-gradient(90deg,#f0a184,#ad5340 40%,#75423e);box-sizing:border-box}.boat-vertical.boat-bow{border-radius:70% 70% 0 0}.boat-vertical.boat-stern{border-radius:0 0 70% 70%}.boat-vertical.boat-bow.boat-stern{border-radius:50%}.adventure-arcade .verb-battleship .battle-instructions{background:#0a3b53;color:#fff6dc}.adventure-arcade .verb-battleship .battle-instructions summary{color:#fff4c7}.adventure-arcade .battle-question-dialog details{background:#4c1835;color:#fff6dc}.adventure-arcade .battle-question-dialog summary,.adventure-arcade .battle-question-dialog label{color:#fff6dc}
.battle-question-choices{display:grid;gap:8px;margin:12px 0}.battle-question-choices>button{width:100%;text-align:left;white-space:normal}.battle-question-choices>button[aria-pressed=true]{background:#d7f4da;color:#153f33;border-color:#b9ef7b}
