.tv-orbit-button{position:absolute;left:14%;bottom:8%;z-index:6;border:1px solid #bac7b777;border-radius:24px;background:#091416cc;color:#e0e7dc;padding:10px 15px;font:12px Georgia,serif;letter-spacing:.06em;cursor:pointer;white-space:nowrap}.tv-orbit-button:hover{border-color:#e1d7b6}.tv-orbit-button:focus-visible{outline:1px solid #e0d2a6;outline-offset:4px}
.world-tv-panel{color:#dfe5e4;background:#071012f7;border:1px solid #82949455;border-radius:14px;width:min(560px,94vw);max-height:82svh;padding:26px;box-shadow:0 25px 110px #000c}.world-tv-panel::backdrop{background:#0009;backdrop-filter:blur(5px)}.world-tv-panel h2{font:30px Georgia,serif;letter-spacing:3px;margin:8px 0 4px}.tv-panel-close{float:right;border:0;background:transparent;color:#e8dfc4;font-size:20px;cursor:pointer}.tv-panel-note,.tv-panel-credit{font:12px/1.6 Georgia,serif;color:#9fb0ae}.tv-channel-list{display:grid;gap:8px;margin:18px 0}.tv-channel{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;padding:12px 14px;border:1px solid #a8b7ae44;border-radius:10px;background:#0b1718b8;color:#e3e8e3;cursor:pointer}.tv-channel:hover{border-color:#d8c89477;background:#101d1da8}.tv-channel strong,.tv-channel small{display:block}.tv-channel strong{font:14px/1.3 Georgia,serif}.tv-channel small{margin-top:4px;font:10px/1.4 Georgia,serif;color:#91a4a1}.tv-channel em{font-style:normal;color:#d7c487}
.world-tv-player{position:fixed;right:18px;bottom:18px;z-index:158;width:min(420px,calc(100vw - 36px));background:#061012f5;border:1px solid #c7b57966;border-radius:15px;box-shadow:0 18px 80px #000c;overflow:hidden;color:#e7ebe5;backdrop-filter:blur(12px)}.world-tv-player[hidden]{display:none}.world-tv-player header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #9eafa52b;background:#091416f2}.world-tv-player header>div:first-child{min-width:0}.world-tv-player header strong,.world-tv-player header small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.world-tv-player header strong{font:13px/1.3 Georgia,serif;letter-spacing:.03em}.world-tv-player header small{margin-top:2px;font:9px/1.3 Georgia,serif;color:#91a4a1}.tv-live{display:inline-block;margin-bottom:3px;font:8px/1 Georgia,serif;letter-spacing:.18em;color:#d8c989}.tv-window-actions{display:flex;gap:5px}.tv-window-actions button,.world-tv-player footer button{border:1px solid #9eafa544;background:#0d1a1ccc;color:#e7dfc6;border-radius:7px;min-width:34px;min-height:30px;cursor:pointer}.tv-screen{aspect-ratio:16/9;background:#020506;display:grid;place-items:center}.tv-screen iframe{width:100%;height:100%;border:0;display:block}.tv-idle{font:11px/1.5 Georgia,serif;letter-spacing:.08em;color:#82918f;text-align:center;padding:22px}.world-tv-player footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px}.tv-local-time{font:9px/1.3 Georgia,serif;letter-spacing:.08em;color:#9aaba8}.world-tv-player footer button{padding:6px 9px;font:9px Georgia,serif;letter-spacing:.08em}
.world-tv-player[data-minimized="true"]{width:min(260px,calc(100vw - 24px))}.world-tv-player[data-minimized="true"] footer{display:none}.world-tv-player[data-minimized="true"] header small{display:none}.world-tv-player[data-minimized="true"] .tv-screen{display:grid;aspect-ratio:16/9}body.mc-control-center-open .world-tv-player{opacity:.16;pointer-events:none;transform:translateY(8px) scale(.98);transition:.18s ease}
@media(max-width:600px){.tv-orbit-button{left:28%;bottom:1%;font-size:9px;padding:8px 10px;transform:none}.world-tv-panel{padding:18px}.world-tv-panel h2{font-size:23px}.world-tv-player{right:12px;bottom:82px;width:calc(100vw - 24px);z-index:165}.world-tv-player header{padding:9px 10px}.world-tv-player header strong{font-size:12px}.world-tv-player header small{font-size:8px}.world-tv-player[data-minimized="true"]{right:12px;bottom:82px;width:min(270px,calc(100vw - 24px))}}
@media(prefers-reduced-motion:reduce){body.mc-control-center-open .world-tv-player{transition:none}}
.tv-orbit-button{pointer-events:auto!important}
@media(max-width:600px){.world-tv-player,.world-tv-player[data-minimized="true"]{bottom:136px}}
body.universe-home .world-tv-player>header{position:static!important;inset:auto!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:10px 12px!important;transform:none!important}
@media(max-width:600px){.world-tv-player{left:30px;right:30px;width:auto;bottom:136px}.world-tv-player[data-minimized="true"]{left:auto;right:30px;width:min(240px,calc(100vw - 60px));bottom:136px}.world-tv-player>header{padding:8px 9px!important}}
/* R20 TV3: blinda o cabeçalho do player contra regras globais de header. */
.world-tv-player header{flex-direction:row!important;flex-wrap:nowrap!important;gap:8px!important;justify-content:space-between!important;align-items:center!important}
@media(max-width:600px){.world-tv-player header{gap:7px!important;padding:8px 9px!important}.world-tv-player{width:min(310px,calc(100vw - 36px))}}
/* R20 TV3: player acima dos atores, ainda abaixo do cockpit (170). */
.world-tv-player{z-index:169}
/* R20 TV3: atores continuam vivos, mas não atravessam a TV aberta. */
body.atlas-visual.universe-home.mc-tv-active :is(#astronaut-free,#mc-alien-ship,#mc-alien){z-index:150!important}

/* R21 LAB · TV coexistente: painel não-modal e player leve. */
.world-tv-panel[open]{position:fixed!important;inset:auto 18px 18px auto!important;margin:0!important;z-index:168!important;max-height:min(760px,82svh)!important;overflow:auto!important}
.world-tv-panel::backdrop{display:none!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.world-tv-player[data-minimized="true"] .tv-screen{display:none!important}
@media(max-width:600px){.world-tv-panel[open]{left:12px!important;right:12px!important;top:82px!important;bottom:auto!important;width:auto!important;max-height:calc(100svh - 176px)!important}.world-tv-player{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}
