/* PC only; official video geometry and all mobile/final-result rules stay intact. */
@media(min-width:768px){
 body.pc-battle{background:#000;overflow:hidden}body.pc-battle .home-header,body.pc-battle .layout>.ad,body.pc-battle .slot{display:none!important}body.pc-battle .layout{display:block!important;padding:0!important;margin:0;max-width:none}body.pc-battle main{padding:0!important;margin:0;max-width:none}
 body.pc-battle #play{position:fixed;inset:0;width:100vw;height:100dvh;background:#000;margin:0;padding:0;border:0;z-index:1000}body.pc-battle #play .vs-stage{display:block;height:100%;margin:0;padding:0}body.pc-battle #play .vs-ad,body.pc-battle #play .vs{display:none!important}body.pc-battle #play .arena{height:100%;width:100%;gap:0!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important}
 body.pc-battle #play .bar{position:absolute;inset:0 0 auto;min-height:62px;height:62px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;gap:16px;padding:12px 76px;background:#0009;color:#fff;z-index:8;margin:0;border:0;font:700 clamp(18px,2vw,32px)/1.2 system-ui}body.pc-battle #play .bar>#round,body.pc-battle #play .bar>#count{display:none}body.pc-battle #quit{position:absolute;left:16px;top:10px;background:#080c12d9;color:#fff;border:0;border-radius:50%;width:44px;height:44px;display:grid;place-items:center}body.pc-battle .pc-battle-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:65%}body.pc-battle .pc-battle-progress{white-space:nowrap}
 body.pc-battle #play .candidate-shell{border:0;border-radius:0;background:#000}body.pc-battle #play .candidate-shell[data-kind=photo]{grid-template-rows:minmax(0,1fr) 82px}body.pc-battle #play .candidate-shell[data-kind=photo]>.candidate-heading{position:absolute;bottom:82px;left:0;right:0;z-index:2;min-height:120px;align-items:flex-end;justify-content:center;padding:40px 24px 14px;background:linear-gradient(transparent,#000c);pointer-events:none}body.pc-battle #play .candidate-shell[data-kind=photo] .candidate-title{font:800 clamp(22px,3vw,48px)/1.2 system-ui;text-align:center;background:none;border:0;padding:0;max-width:100%}body.pc-battle #play .candidate-select{min-height:72px;border-radius:8px;margin:5px 8px;width:calc(100% - 16px);height:72px;font-size:32px}body.pc-battle #play .candidate-shell[data-kind=photo]>.candidate-media{grid-row:1}body.pc-battle #play .candidate-shell[data-kind=photo]>.candidate-select{grid-row:2}
 body.pc-battle #play.pc-photo-victory .arena{visibility:hidden!important;pointer-events:none}body.pc-battle .pc-photo-interlude{position:absolute;inset:0;overflow:hidden;background:#000;z-index:6;display:grid;place-items:center}body.pc-battle .pc-victory-photo{display:block;max-width:none;max-height:none;pointer-events:none}body.pc-battle .pc-victory-caption{position:absolute;bottom:0;left:0;right:0;padding:80px 32px 65px;text-align:center;color:white;font:800 clamp(24px,3.5vw,54px)/1.25 system-ui;background:linear-gradient(transparent,#000d);overflow-wrap:anywhere}
}
@media(max-width:767px){.pc-battle-title,.pc-battle-progress,.pc-photo-interlude{display:none!important}}

@media(min-width:768px){body.pc-battle #play{max-width:none!important;padding:0!important}body.pc-battle #play .vs-stage,body.pc-battle #play .arena{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important}}

@media(min-width:768px){body.pc-battle #play .candidate-shell:not([data-kind=photo]){padding-top:62px;box-sizing:border-box}}

/* v2.5: image labels; video players retain their existing heading. */
@media(min-width:768px){
 body.pc-battle #play .candidate-shell:is([data-kind=animation],[data-kind=giphy]){padding-top:62px;grid-template-rows:minmax(0,1fr) 82px}
 body.pc-battle #play .candidate-shell:is([data-kind=animation],[data-kind=giphy])>.candidate-heading{position:absolute;bottom:82px;left:0;right:0;z-index:2;min-height:120px;align-items:flex-end;justify-content:center;padding:40px 24px 14px;background:linear-gradient(transparent,#000c);pointer-events:none}
 body.pc-battle #play .candidate-shell:is([data-kind=animation],[data-kind=giphy]) .candidate-title{font:800 clamp(22px,3vw,48px)/1.2 system-ui;color:#fff;text-align:center;background:none;border:0;padding:0;max-width:100%}
 body.pc-battle #play .candidate-shell:is([data-kind=animation],[data-kind=giphy])>.candidate-media{grid-row:1}
 body.pc-battle #play .candidate-shell:is([data-kind=animation],[data-kind=giphy])>.candidate-select{grid-row:2}
 body.pc-battle #play.pc-photo-victory{background:#000!important}
 body.pc-battle #play .pc-victory-frame{position:relative;overflow:hidden;max-width:100%;max-height:100%;background:#000;animation:pc-winner-center 380ms ease-out both}
 @keyframes pc-winner-center{from{transform:translate(var(--winner-from-x),var(--winner-from-y))}to{transform:translate(0,0)}}
}
@media(prefers-reduced-motion:reduce){.pc-victory-frame{animation:none!important}}

/* Video-only: reserve the unchanged72px SELECT plus its5px top/bottom margins.
   Existing video rows allocated56px (Shorts48px), which clipped the82px control. */
@media(min-width:768px){
 body.pc-battle #play .candidate-shell[data-kind=youtube]{grid-template-rows:54px minmax(0,1fr) 82px}
 body.pc-battle #play .candidate-shell[data-kind=youtube][data-playback=shorts]{grid-template-rows:44px minmax(0,1fr) 82px}
 body.pc-battle #play .candidate-shell[data-kind=youtube] .mixed-player{justify-self:center;align-self:center}
}
