/* Modal only: the existing Fleet preview has no visual overrides. */
.fv-dialog{box-sizing:border-box;width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #a98c4f;border-radius:14px;background:#001e19;color:#fff;box-shadow:0 22px 80px #0009;overflow:auto}
.fv-dialog::backdrop{background:#000d}
.fv-dialog .fv-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;background:linear-gradient(120deg,#083d31,#001e19)}
.fv-dialog .fv-heading h2{font:inherit;font-size:17px;font-weight:600;line-height:1.5;letter-spacing:0;margin:0;color:#f6df9c}
.fv-dialog .fv-close{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #c5a75f66;border-radius:50%;background:#ffffff09;color:#fff;font-size:29px;cursor:pointer}
.fv-dialog .fv-stage{position:relative;aspect-ratio:16/9;background:#000;display:grid;place-items:center;min-height:150px}
.fv-dialog video{display:block;width:100%;height:100%;max-height:calc(100dvh - 104px);object-fit:contain;aspect-ratio:16/9;background:#000}
.fv-dialog .fv-loading,.fv-dialog .fv-play,.fv-dialog .fv-error{position:absolute;inset-inline:20px;text-align:center;margin:auto;max-width:650px}
.fv-dialog .fv-loading{pointer-events:none;color:#e9e4d8;font-size:16px;padding:16px;background:#001e19d9;border-radius:10px}
.fv-dialog .fv-play{display:flex;align-items:center;justify-content:center;gap:12px;width:max-content;max-width:calc(100% - 40px);min-height:48px;padding:12px 24px;border:1px solid #e8c56b;border-radius:9px;background:linear-gradient(#ffdf85,#eeb744);color:#00372c;font:inherit;cursor:pointer}
.fv-dialog .fv-error{position:relative;inset:auto;padding:28px;color:#f3eee1;font-size:17px;line-height:1.65}
.fv-dialog .fv-error p{margin:0 0 18px}
.fv-dialog .fv-error button{min-height:44px;padding:10px 20px;border:1px solid #b59b59;border-radius:8px;background:#133e32;color:#f6df9c;font:inherit;cursor:pointer}
.fv-dialog [hidden]{display:none!important}
.fv-dialog button:focus-visible,.fv-dialog video:focus-visible{outline:3px solid #ffda78;outline-offset:3px}
.fv-dialog .fv-close:hover,.fv-dialog .fv-error button:hover{background:#22533f}
.fv-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:560px){.fv-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:10px}.fv-dialog .fv-heading{padding:8px 12px}.fv-dialog .fv-heading h2{font-size:14px}.fv-dialog .fv-error{padding:20px;font-size:15px}.fv-dialog .fv-loading{font-size:14px}}
/* The close action stays reachable even when landscape height is constrained. */
.fv-dialog .fv-heading{position:sticky;top:0;z-index:2}
@media(max-height:500px){
 .fv-dialog .fv-stage{aspect-ratio:auto;min-height:0}
 .fv-dialog video{height:auto;max-height:calc(100dvh - 112px)}
 .fv-dialog .fv-error{padding:12px;font-size:14px}
}
