/* The team video sits beside the existing title, above the intact player lineup. */
.athletes .athletes__head > .athletes-video { position:absolute; top:0; right:0; left:auto; width:300px; max-width:36%; pointer-events:auto; }
.athletes-video-button { position:relative; display:block; width:100%; aspect-ratio:16/9; border:1px solid #adc5d3; padding:0; overflow:hidden; background:#102b3c; color:white; cursor:pointer; text-align:left; }
.athletes-video-button img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 12%; }
.athletes-video-button::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,#071d30d9,transparent 65%); pointer-events:none; }
.athletes-video-play { position:absolute; z-index:1; top:42%; left:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:46px; height:32px; background:#f00; border-radius:8px; color:#fff; font:12px Arial; }
.athletes-video-label { position:absolute; left:15px; right:15px; bottom:13px; z-index:1; color:#fff; font:600 12px/1.4 Arial,"Microsoft YaHei",sans-serif; letter-spacing:.015em; }
.athletes-video-label small { display:block; color:#afd9eb; font:500 8px/1.5 Arial; letter-spacing:.14em; margin-bottom:4px; }
.athletes-video-button:hover { border-color:#139fc9; }
.athletes-video-button:focus-visible,.athlete-video-window button:focus-visible,.athlete-video-window a:focus-visible { outline:2px solid #37c6f0; outline-offset:3px; }
.athlete-video-window { background:#fff; color:#233847; }
.athlete-video-dialog { padding:0; border:1px solid #fff; border-radius:15px; width:min(960px,94vw); max-width:none; max-height:94dvh; overflow:auto; box-shadow:0 18px 60px #07152230; }
.athlete-video-dialog::backdrop { background:#071522b8; backdrop-filter:blur(8px); }
.athlete-video-window-head { display:flex; align-items:center; justify-content:space-between; padding:12px 18px; min-height:46px; font:600 11px/1.4 Arial; letter-spacing:.12em; color:#536b79; }
.athlete-video-window-head button { display:grid; place-items:center; width:36px; height:36px; background:transparent; border:0; padding:0; color:#304d5e; font:28px/1 Arial; cursor:pointer; }
.athlete-video-screen { position:relative; width:100%; aspect-ratio:16/9; min-height:200px; background:#000; }
.athlete-video-screen iframe { width:100%; height:100%; min-height:200px; display:block; border:0; }
.athlete-video-window-foot { display:flex; justify-content:flex-end; padding:15px 18px; font:14px/1.4 Arial; }
.athlete-video-window-foot a { display:inline-flex; align-items:center; justify-content:center; gap:11px; min-height:46px; padding:11px 18px; border:1px solid #f0aaa5; border-radius:11px; background:#fff3f1; color:#24333e; text-decoration:none; font-weight:700; box-shadow:0 4px 14px #0002; transition:background .2s,transform .2s; }
.athlete-video-window-foot a::before { content:'▶'; display:grid; place-items:center; width:29px; height:21px; flex:none; border-radius:6px; background:#f00; color:white; font:10px/1 Arial; }
.athlete-video-window-foot a:hover { background:#ffe3df; transform:translateY(-1px); }
body.athlete-video-modal-open { overflow:hidden; }
.athlete-video-dialog[data-mode="theater"][open] { display:flex; flex-direction:column; width:100vw; height:100dvh; max-height:none; margin:0; inset:0; border:0; border-radius:0; background:#fff; }
.athlete-video-dialog[data-mode="theater"] .athlete-video-screen { width:min(1280px,100%,calc((100dvh - 118px)*16/9)); margin:auto; }
.athlete-video-dialog[data-mode="theater"] .athlete-video-window-head { padding:18px 4vw; }
.athlete-video-dialog[data-mode="theater"] .athlete-video-window-foot { padding:18px 4vw; }
.athlete-video-inline { margin:0 auto 24px; max-width:1100px; border:1px solid #e0e7eb; }
.athletes.has-athlete-video-inline { min-height:0; padding:38px 4vw 32px; }
.athletes.has-athlete-video-inline .athletes__head { position:relative; left:auto; right:auto; top:auto; display:flex; justify-content:space-between; align-items:center; width:100%; height:auto; margin:0 0 24px; pointer-events:auto; }
.athletes.has-athlete-video-inline .athletes__head > div { position:relative; left:auto; top:auto; width:min(520px,52%); }
.athletes.has-athlete-video-inline .athletes__head > .athletes-video { position:relative; right:auto; top:auto; left:auto; width:300px; max-width:36%; }
.athletes.has-athlete-video-inline .athlete-lineup { height:680px; width:100%; }
@media(max-width:980px) {
 .athletes .athletes__head > .athletes-video { position:relative; left:auto; right:auto; top:auto; width:min(100%,340px); max-width:none; margin:20px 0 0; }
 .athletes.has-athlete-video-inline .athletes__head { display:block; }
 .athletes.has-athlete-video-inline .athletes__head > div { width:100%; }
 .athletes.has-athlete-video-inline .athletes__head > .athletes-video { width:min(100%,340px); max-width:none; margin-top:20px; }
 .athletes.has-athlete-video-inline .athlete-lineup { height:610px; }
 .athlete-video-window-head { padding:9px 12px; }
 .athlete-video-window-foot { padding:12px; font-size:13px; }
 .athlete-video-dialog { border-radius:12px; }
}
@media(prefers-reduced-motion:reduce) { .athlete-video-window * { scroll-behavior:auto!important; transition:none!important; } }
