@font-face{font-family:'Open Sans';src:url('fonts/open-sans-latin-wght-normal.woff2') format('woff2');font-weight:300 800;font-display:swap}
@font-face{font-family:'Open Sans';src:url('fonts/open-sans-latin-ext-wght-normal.woff2') format('woff2');font-weight:300 800;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF}
@font-face{font-family:Oswald;src:url('fonts/oswald-latin-wght-normal.woff2') format('woff2');font-weight:200 700;font-display:swap}
@font-face{font-family:Oswald;src:url('fonts/oswald-latin-ext-wght-normal.woff2') format('woff2');font-weight:200 700;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF}
:root{color-scheme:light;--bg:#edf3f8;--surface:#fff;--surface-soft:#f1f5f9;--text:#12253c;--muted:#526c87;--line:#dde6ef;--accent:#ffc600;--shadow:0 10px 35px #133b5b14}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;font-family:'Open Sans',Arial,sans-serif;color:var(--text);background:transparent;-webkit-tap-highlight-color:transparent}
button,a{font:inherit;-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:focus-visible,a:focus-visible{outline:3px solid #1689ca;outline-offset:2px}
[hidden]{display:none!important}
svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.satellite{display:flex;flex-direction:column;width:100%;height:100vh;height:100dvh;min-height:340px;max-width:1200px;margin:auto;background:var(--surface);border:1px solid var(--line);border-radius:13px;overflow:hidden;isolation:isolate}
.layer-bar{height:51px;min-height:51px;display:flex;align-items:center;gap:15px;justify-content:space-between;padding:0 16px;background:var(--surface);border-bottom:1px solid var(--line);position:relative;z-index:10}
.layer-buttons{display:flex;gap:21px;align-items:center;height:100%}
.layer-button{display:inline-flex;align-items:center;gap:8px;position:relative;height:100%;font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap;text-decoration:none}
.layer-button svg{width:20px;height:20px}
.layer-button.active{color:var(--text)}
.layer-button.active:after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--accent);border-radius:3px 3px 0 0}
a.layer-button:hover{color:var(--text)}
.toolbar-actions{display:flex;align-items:center;margin-left:auto;gap:5px}
.icon-button{display:grid;place-items:center;width:38px;height:38px;border:1px solid transparent;background:transparent;border-radius:10px;color:var(--text)}
.icon-button:hover,.icon-button[aria-expanded=true]{background:var(--surface-soft);border-color:var(--line)}
.fullscreen-button{border-left:1px solid var(--line);border-radius:0 9px 9px 0;margin-left:3px}
.source-panel{position:absolute;right:12px;top:calc(100% + 6px);width:min(340px,calc(100vw - 24px));padding:15px 17px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);font-size:11px;line-height:1.65;z-index:12}
.source-panel strong{font-weight:800;font-size:13px}
.source-panel p{margin:9px 0 0;color:var(--muted)}
.source-panel a{color:#196eae;text-decoration:underline;text-underline-offset:2px}
.screen{flex:1;min-height:0;position:relative;overflow:hidden;background:#13232b}
.screen video,.screen img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.screen video{z-index:1}
.screen img{z-index:2}
.message{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:24px;text-align:center;color:#d9e9f1;font-size:13px;font-weight:650;z-index:3;background:#14252e}
.spinner{width:27px;height:27px;border:3px solid #ffffff55;border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.player{flex:none;background:var(--surface);padding:13px 17px 14px;border-top:1px solid var(--line);box-shadow:0 -5px 20px #203f5b16;position:relative;z-index:2}
.player-heading{display:flex;align-items:center;justify-content:space-between;gap:11px;min-height:22px;margin-bottom:11px}
.time-heading{display:flex;align-items:center;gap:9px;min-width:0}
.period{font-size:12px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;min-width:0}
.live-badge{padding:4px 7px;background:#e5f6eb;color:#15703c;border-radius:6px;font-size:9px;letter-spacing:.45px;font-weight:800;flex:none}
.status{font-size:10px;color:var(--muted);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right;max-width:39%;flex-shrink:1}
.status.warn{color:#bd6812}
.player-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
.play-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:42px;min-width:118px;padding:0 16px;border:1px solid #d4a500;border-radius:11px;background:var(--accent);color:#1b2939;font-size:12px;font-weight:800;box-shadow:0 0 0 4px #ffc60016}
.play-button:hover{filter:brightness(.98)}
.play-button svg{width:19px;height:19px;stroke-width:2.8}
.play-button .icon-play{display:none}
.play-button[data-paused=true] .icon-play{display:block}
.play-button[data-paused=true] .icon-pause{display:none}
.download-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.download{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;border:1px solid var(--line);background:var(--surface-soft);color:var(--text);border-radius:9px;min-height:36px;min-width:74px;padding:7px 12px;font-size:11px;font-weight:800;white-space:nowrap}
.download.primary{border-color:#d4e2ef;background:#edf5fc;color:#20638a}
.download svg{width:15px;height:15px}
.download:hover{background:#e4edf5}
.satellite:fullscreen{height:100vh;max-width:none;border:0;border-radius:0}
.satellite:fullscreen .screen{background:#07121d}
@media(max-width:680px){
 .satellite{border-radius:0;border-left:0;border-right:0}
 .layer-bar{height:49px;min-height:49px;padding:0 12px;gap:7px}
 .layer-buttons{gap:14px}
 .layer-button{font-size:11px;gap:6px}
 .layer-button svg{width:18px;height:18px}
 .toolbar-actions{gap:3px}
 .icon-button{width:35px;height:35px}
 .player{padding:12px 12px 13px}
 .period{font-size:11px}
 .live-badge{font-size:8px;padding:4px 6px}
 .status{font-size:9px;max-width:32%}
 .player-heading{margin-bottom:10px}
 .play-button{height:40px;min-width:106px;padding:0 12px}
 .download{min-width:65px;padding:7px 10px;min-height:34px}
}
@media(max-width:360px){
 .layer-bar{padding:0 9px}
 .layer-buttons{gap:10px}
 .layer-button{font-size:10px}
 .layer-button svg{width:17px;height:17px}
 .player{padding:10px 10px 12px}
 .player-heading{gap:6px}
 .period{font-size:10px}
 .status{max-width:30%;font-size:8px}
 .play-button{min-width:97px;font-size:11px;gap:6px;padding:0 10px}
 .download-actions{gap:5px}
 .download{min-width:56px;padding:6px 7px;font-size:10px;gap:4px}
 .download svg{width:13px;height:13px}
}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}}
