/* R55 fixed subtitle panel geometry: sentence length never resizes the panel.
   Full text and optional details scroll; no shrinking text or clipped controls. */
html body #battleCinematic{font-family:var(--ui-font,'KW Sans',system-ui,sans-serif);align-items:flex-end}
html body #battleCinematic .bc-box{box-sizing:border-box;width:min(1100px,100%);height:min(432px,100dvh);max-height:100dvh;flex:none;padding:26px 36px max(26px,env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(90deg,#0c1614eb,#0c1614c9 75%,#0c161466);border-top:1px solid #cbb77c44;scrollbar-gutter:stable}
html body #battleCinematic .bc-top,html body #battleCinematic .bc-operation{font-size:13px;font-weight:500;line-height:1.5;letter-spacing:0;margin:0;word-break:keep-all;overflow-wrap:anywhere;color:#d8c698}
html body #battleCinematic .bc-operation{margin-top:5px;max-height:3em;overflow-y:auto;color:#c8c3b4}
html body #battleCinematic h2{font-family:inherit;font-size:32px;font-weight:700;line-height:1.25;letter-spacing:-.025em;margin:12px 0 16px;color:#f4eedc;word-break:keep-all;overflow-wrap:anywhere}
html body #battleCinematic .bc-caption{box-sizing:border-box;width:100%;max-width:46em;height:4.95em;min-height:4.95em;max-height:4.95em;margin:0;font-size:20px;font-weight:500;line-height:1.65;letter-spacing:-.015em;text-align:left;word-break:keep-all;overflow-wrap:anywhere;overflow-y:auto;overscroll-behavior:contain;color:#f1ead7;text-shadow:0 2px 6px #0008;scrollbar-gutter:stable}
html body #battleCinematic .bc-progress{margin:14px 0;height:3px}
html body #battleCinematic .bc-actions{gap:10px;margin-top:0;flex-wrap:wrap}
html body #battleCinematic button{font-family:inherit;font-size:14px;font-weight:600;line-height:1.35;min-height:44px;padding:10px 16px;letter-spacing:0}
html body #battleCinematic details{font-family:inherit;font-size:15px;line-height:1.65;margin:10px 0 0}
html body #battleCinematic details p{margin:6px 0 10px;word-break:keep-all;overflow-wrap:anywhere}
html body #battleCinematic .bc-small{font-size:12px;line-height:1.5;margin:10px 0 0}
html body #battleCinematic .bc-small[hidden]{display:none}
@media(max-width:600px){html body #battleCinematic .bc-box{height:min(510px,100dvh);padding:22px max(22px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(22px,env(safe-area-inset-left))}html body #battleCinematic h2{font-size:28px;margin:12px 0 14px}html body #battleCinematic .bc-caption{font-size:18px;height:6.6em;min-height:6.6em;max-height:6.6em}html body #battleCinematic .bc-actions{gap:8px}}
@media(max-height:520px) and (orientation:landscape){html body #battleCinematic .bc-box{height:min(350px,100dvh);padding:16px max(24px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left))}html body #battleCinematic h2{font-size:27px;margin:8px 0 10px}html body #battleCinematic .bc-caption{font-size:17px;height:3.3em;min-height:3.3em;max-height:3.3em}html body #battleCinematic .bc-top,html body #battleCinematic .bc-operation{font-size:12px}html body #battleCinematic .bc-progress{margin:10px 0}}
html body #battleCinematic .bc-caption:focus-visible{outline:2px solid #e4ce9d;outline-offset:3px}
