#scrDive{overflow-y:auto;overflow-x:hidden}#scrDive .enemy-wrap{flex:1 0 auto;padding:6px 0;min-height:0}#scrDive .b-log,#scrDive .player-wrap,#scrDive .controls,#scrDive .battle-auto-controls{flex-shrink:0}#scrDive .enemy-hint{max-width:100%;overflow-wrap:anywhere;line-height:1.4}#scrDive .b-log{height:auto;line-height:1.4;padding-block:3px}#scrDive .battle-damage-feedback{display:block;min-height:17px;font-size:11px;line-height:1.4;color:#ffae9d;font-weight:800}#scrDive .battle-damage-feedback.enemy-critical{min-height:30px;padding:5px 7px;border:1px solid #ff885a;border-radius:8px;background:#491b22;color:#fff3c4;font-size:12px;box-shadow:0 0 15px #ff652555;animation:enemy-critical-glow .48s ease-out 1}@keyframes enemy-critical-glow{0%{box-shadow:0 0 24px #ff9f78aa;transform:scale(1.03)}to{box-shadow:0 0 15px #ff652555;transform:scale(1)}}@media(prefers-reduced-motion:reduce){#scrDive .battle-damage-feedback.enemy-critical{animation:none}}#scrDive .controls{z-index:12}#scrDive .battle-item-tray{position:absolute;display:flex;flex-direction:column;inset-inline-end:10px;bottom:calc(100% + 6px);width:min(350px,calc(100vw - 24px));max-height:min(52dvh,430px);overflow:hidden;padding:12px;border:1px solid #5b9bac;border-radius:16px;background:#081725;box-shadow:0 14px 32px #000b;color:#e7f5ff}#scrDive .battle-item-tray[hidden]{display:none}#scrDive .battle-item-tray header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;font-size:14px}#scrDive .battle-item-tray button{font:inherit;min-height:40px;border-radius:9px;color:inherit;background:#102b3a;border:1px solid #396375}#scrDive .battle-item-list{display:grid;grid-auto-rows:max-content;align-content:start;flex:1 1 auto;min-height:0;overflow-y:auto;gap:12px;margin:12px 0;overscroll-behavior:contain;padding:2px 2px 8px;scroll-padding-block:8px}#scrDive .battle-item-choice{box-sizing:border-box;text-align:start;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;width:100%;height:auto;min-height:max-content;padding:12px 14px;overflow:visible;white-space:normal}#scrDive .battle-item-choice b{display:block;line-height:1.4;overflow-wrap:anywhere}#scrDive .battle-item-choice[aria-pressed=true]{border-color:#ffd166;background:#263438}#scrDive .battle-item-choice small{display:block;min-height:1.55em;font-size:11px;line-height:1.55;color:#b8cdda;white-space:normal;overflow-wrap:anywhere}#scrDive .battle-item-tray button:disabled{opacity:.5;cursor:not-allowed}#scrDive .battle-item-tray .battle-item-confirm{flex:none;width:100%;background:#16423b}#scrDive .battle-item-tray .battle-item-reason{flex:none;font-size:12px;line-height:1.45;margin:9px 0;overflow-wrap:anywhere}body>.battle-retreat-note{position:fixed;inset-inline:15px;bottom:24px;max-width:420px;margin-inline:auto;padding:10px;text-align:center;background:#082032ed;color:#e7f5ff;border:1px solid #6ebbd2;border-radius:12px;z-index:40;pointer-events:none}#scrDive .psub-view[role=button]:focus-visible,#scrDive .battle-item-tray button:focus-visible{outline:2px solid #ffd166;outline-offset:3px}@media(max-width:600px){#scrDive .enemy-img{width:min(174px,23dvh);margin-top:6px;margin-bottom:3px}#scrDive .enemy-name{font-size:18px}#scrDive .enemy-card{width:92%;max-width:310px}#scrDive .enemy-hint{font-size:11px;padding:4px 8px}#scrDive .b-log{font-size:12px}#scrDive .player-wrap{gap:9px;padding:4px 10px}#scrDive .player-wrap .psub-view{width:100px;height:84px;flex:none}#scrDive .player-wrap .pl-tags{gap:3px}#scrDive .player-wrap .pl-tag{font-size:10px;padding:3px 5px;letter-spacing:0}#scrDive .player-wrap .pl-tag b{font-size:13px}#scrDive .controls{padding-top:6px;gap:6px}}@media(max-height:500px){#scrDive .enemy-img{width:105px}#scrDive .enemy-wrap{flex:0 0 auto}#scrDive .battle-item-tray{position:fixed;bottom:10px;max-height:calc(100dvh - 20px)}}.battle-item-state{flex:none;margin:3px 12px;color:#c7f5f4;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.battle-buoy-notice{position:fixed;z-index:12000;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(90vw,460px);padding:22px;border:2px solid #8ce7e5;border-radius:18px;background:#071e2c;box-shadow:0 0 0 100vmax #001018e8;color:#edffff;font-weight:700;text-align:center;overflow-wrap:anywhere}.battle-buoy-notice button{margin-top:12px;min-height:44px;width:100%}
