/* Only the embedded container differs; viewer styling comes from style.css. */
#matchArea .academy-live{display:block;min-width:0;height:auto;font:14px var(--font,'DM Sans',sans-serif);line-height:normal}
#matchArea .academy-live .game-layout{min-width:0;align-items:start}
#matchArea .academy-live .game-layout:not(.sim-fullscreen) .control-panel{gap:8px;max-height:75dvh;overflow:auto}
#matchArea .academy-live .control-panel select{min-width:0;max-width:100%}
#matchArea .academy-live .field-wrap{height:clamp(260px,45vw,580px);min-height:260px;flex:none}
#matchArea .academy-live canvas{height:100%;width:100%;aspect-ratio:auto;object-fit:fill}
#matchArea .academy-live .scoreboard{background:#102e25;margin:0;border-radius:0}
#matchArea .academy-live .scoreboard strong{font:600 20px var(--display);max-width:180px;display:block;overflow-wrap:anywhere}
#matchArea .academy-live .scoreboard .score-team b{font:600 44px/.9 var(--display)}
#matchArea .academy-live .scoreboard .game-clock b{font:600 27px/1 var(--display)}
#matchArea .academy-live .scoreboard .game-clock small{font-size:8px}
#matchArea .academy-live .field-label{margin:8px 0 0}
#matchArea .academy-live .strategy-note{line-height:1.5;margin:6px 0}
#matchArea .academy-live .playback>div{flex-wrap:wrap}
#matchArea .academy-live .playback .kickoff-ready{width:auto;min-width:100px}
#matchArea .academy-live .match-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}
#matchArea .academy-live .match-footer p{flex:1;font-size:12px;line-height:1.5}
/* End-of-match navigation belongs to the screen, never the transport controls. */
#matchArea .academy-return-action{position:fixed;z-index:1100;right:max(20px,env(safe-area-inset-right));top:calc(var(--academy-site-nav-height,56px) + 24px);width:auto;min-height:44px;padding:12px 18px;border:1px solid #e4d7a7;border-radius:12px;background:#fff4c9;color:#183f34;font:700 14px var(--font,sans-serif);box-shadow:0 6px 24px #102d2540}
#matchArea .academy-return-action[hidden]{display:none}
body.sim-fullscreen-active #matchArea .academy-return-action{top:calc(var(--academy-site-nav-height,56px) + 24px)}
@media(max-width:900px){body.sim-fullscreen-active #matchArea .academy-return-action{top:calc(var(--academy-site-nav-height,56px) + 100px + env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}}
#matchArea .academy-live .live-error{color:#942f22}
#matchArea .academy-live .feed{height:140px;overflow:auto}
#matchArea .academy-live .control-panel h3{font:600 22px var(--display);margin:14px 0 0}
#matchArea .academy-live .control-panel .primary{margin-top:8px}
#matchArea .academy-live .game-layout:has(>.arena-panel:first-child){grid-template-columns:minmax(0,1fr)}
#matchArea:has(.academy-live .sim-fullscreen){overflow:visible}
#matchArea .academy-live .sim-fullscreen .field-wrap{height:100%!important;min-height:0}
@media(max-width:800px){
 #matchArea .academy-live .game-layout{display:flex;flex-direction:column}
 #matchArea .academy-live .arena-panel{width:100%;order:-1}
 #matchArea .academy-live .game-layout:not(.sim-fullscreen) .control-panel{display:flex;width:100%;max-height:none}
 #matchArea .academy-live .scoreboard{padding:12px 8px;gap:8px}
 #matchArea .academy-live .scoreboard strong{font-size:13px;max-width:95px}
 #matchArea .academy-live .score-team{gap:5px}
 #matchArea .academy-live .scoreboard .score-team b{font-size:28px;margin:0}
 #matchArea .academy-live .game-clock{padding:0 8px;min-width:80px}
 #matchArea .academy-live .mini-crest{display:none}
 #matchArea .academy-live .field-wrap{height:300px}
 #matchArea .academy-live .arena-topline{padding:12px;font-size:8px}
 #matchArea .academy-live .arena-topline .weather{display:none}
}
