:root{color-scheme:dark;font-family:Inter,Segoe UI,system-ui,sans-serif;color:#f4ffe9;background:#040904;--green:#65ff1b;--muted:#a8b6a3}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.22) 44%,#040904 94%),url('/background.png') center top/max(100%,1100px) auto no-repeat}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid var(--green);outline-offset:5px}header{display:flex;justify-content:space-between;align-items:center;padding:24px 4%;gap:20px;background:linear-gradient(#000b,transparent)}.wordmark{font-weight:900;letter-spacing:-.8px;font-size:19px}.wordmark span{color:var(--green)}.ims{padding:10px 16px;border:1px solid #ffffff38;border-radius:8px;font-size:12px;background:#071007c9}.brand-space{height:clamp(225px,32vw,490px)}main{max-width:1520px;padding:0 4%;margin:auto}.broadcast-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px}.panel{border:1px solid #8eff343c;background:#071007ed;border-radius:15px;overflow:hidden;box-shadow:0 22px 70px #000a;min-width:0}.panel-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:17px 20px;border-bottom:1px solid #ffffff12;letter-spacing:1.7px;font-size:10px;font-weight:800}.badge{color:#a8b6a3;font-size:10px;letter-spacing:.8px;border:1px solid #ffffff25;border-radius:20px;padding:6px 9px}.badge.live{color:var(--green);border-color:#65ff1b70}.stream{aspect-ratio:16/9;display:grid;place-items:center;background:radial-gradient(ellipse at center,#142a0b99,#030603);min-height:290px}.offline{padding:26px;text-align:center;max-width:470px;margin:auto}.offline h2{font-size:clamp(20px,2.1vw,30px);letter-spacing:-.8px;margin:18px 0 10px}.offline p{color:var(--muted);font-size:14px;line-height:1.6}.play-icon,.chat-icon{font-size:37px;color:var(--green);display:block}.primary{display:inline-block;background:var(--green);color:#091202;font-size:12px;font-weight:800;padding:14px 22px;border-radius:8px;margin-top:16px}.stream-footer{padding:15px 20px;display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.stream-footer>span:first-child{color:#e0edda}.community{display:flex;flex-direction:column}.chat{flex:1;min-height:330px;display:grid;place-items:center}.chat .offline h2{font-size:19px;line-height:1.35}.chat .offline p{font-size:12px}.stream iframe,.chat iframe{width:100%;height:100%;border:0;display:block}.stream:has(iframe),.chat:has(iframe){display:block}footer{max-width:1520px;margin:30px auto;padding:0 4% 24px;display:flex;justify-content:space-between;color:#b4c6a4;font-size:10px;letter-spacing:1px}footer span{color:#72806d;letter-spacing:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.broadcast-layout{grid-template-columns:1fr}.community{min-height:360px}.brand-space{height:285px}.chat{min-height:290px}}@media(max-width:500px){header{padding:20px 5%}.wordmark{font-size:15px}.ims{padding:9px;font-size:10px}.brand-space{height:250px}main{padding:0 4%}.stream-footer{flex-direction:column}.stream{min-height:300px}.panel-heading{padding:14px}.offline{padding:22px}}

/* The broadcast fits the viewport; only the embedded chat scrolls its messages. */
html,body{height:100%;overflow:hidden}
body{height:100vh;height:100dvh;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#040904;isolation:isolate}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#0002,#0007),url('/background.png') center center/cover no-repeat}
header{padding:16px 4%}
.brand-space{height:0}
main{width:100%;max-width:1520px;margin:0 auto;min-height:0;padding:0 4%}
.broadcast-layout{height:100%;min-height:0;grid-template-columns:minmax(0,1fr) minmax(250px,340px)}
.panel{min-height:0}
.broadcast{display:flex;flex-direction:column}
.stream{flex:1;aspect-ratio:auto;min-height:0;overflow:auto}
.chat{min-height:0;overflow:auto}
.community{min-height:0}
.panel-heading,.stream-footer{flex-shrink:0}
footer{width:100%;margin:0 auto;padding:12px 4%;flex-shrink:0}
@media(max-width:900px){.broadcast-layout{grid-template-columns:minmax(0,1fr) minmax(220px,30%);gap:12px}.offline{padding:14px}.offline h2{font-size:23px}}
@media(max-width:600px){header{padding:12px 4%}.broadcast-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1.4fr) minmax(0,1fr);gap:10px}.panel-heading{padding:9px 12px}.stream-footer{padding:8px 12px;flex-direction:row;font-size:9px}.offline{padding:10px}.offline h2,.chat .offline h2{font-size:18px;margin:8px 0}.offline p{font-size:12px;margin:6px 0}.play-icon,.chat-icon{font-size:25px}.primary{padding:10px 15px;margin-top:8px}footer{padding:9px 4%;font-size:9px}}
@media(max-height:500px){header{padding:8px 4%}.panel-heading{padding:8px 12px}.play-icon,.chat-icon{display:none}.offline h2{margin:6px 0}.offline p{margin:4px 0}.primary{margin-top:6px;padding:9px 14px}footer{padding:6px 4%}.stream-footer{padding:7px 12px}}
.live-video{width:100%;height:100%;min-height:0;object-fit:contain;background:#000}.stream:has(.live-video){display:block;overflow:hidden}
.live-player{position:relative;width:100%;height:100%;background:#000}.live-controls{position:absolute;bottom:12px;right:12px;display:flex;gap:8px}.live-controls button{padding:10px 14px;border:1px solid #ffffff60;border-radius:6px;background:#071007e8;color:#fff;cursor:pointer}.live-controls button:focus-visible{outline:3px solid var(--green);outline-offset:3px}.live-player:fullscreen{width:100vw;height:100vh}
.live-controls{flex-wrap:wrap;max-width:calc(100% - 24px);align-items:center}.live-controls label{font-size:12px;background:#071007e8;padding:6px;border-radius:6px}.live-controls select{background:#071007;color:#fff;border:1px solid #ffffff60;border-radius:4px;padding:8px}.live-controls select:focus-visible{outline:3px solid var(--green)}
.discord-feed{width:100%;height:100%;overflow-y:auto;box-sizing:border-box;padding:16px}.discord-feed article{padding:10px 0;border-bottom:1px solid #ffffff20;font-size:13px;overflow-wrap:anywhere}.discord-feed article p{white-space:pre-wrap;margin:5px 0}.chat-hint{font-size:12px;color:var(--muted)}.discord-links{display:flex;flex-wrap:wrap;gap:10px;padding:14px 0}.discord-links a{padding:9px;border:1px solid #65ff1b70;border-radius:6px;font-size:12px}.chat:has(.discord-feed){display:block;overflow:hidden}
.live-controls button.player-icon{width:44px;height:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.player-expanded{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:10000}.player-expanded .live-controls,.live-player:fullscreen .live-controls{bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right))}
.relay-composer{padding:14px 16px;border-top:1px solid #344b26;flex-shrink:0;font-size:12px}
.relay-composer textarea{box-sizing:border-box;width:100%;resize:vertical;background:#091105;color:#fff;border:1px solid #688750;border-radius:6px;padding:8px;margin:8px 0}
.relay-composer button,.relay-login{display:inline-block;padding:9px 12px;margin:4px 6px 4px 0;border:1px solid #688750;border-radius:6px;background:#112209;color:#fff}
.relay-composer [hidden]{display:none!important}
.relay-composer textarea:disabled,.relay-composer button:disabled{opacity:.5;cursor:not-allowed}
.chat-filters{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 12px}.chat-filters button{background:#122009;color:#d7e6ce;border:1px solid #456231;border-radius:12px;padding:5px 9px;cursor:pointer}.chat-filters button[aria-pressed=true]{background:#8ded27;color:#081000}.chat-source{display:block;color:#9cac90;font-size:10px;margin-bottom:3px}
.community .chat{flex:1 1 180px;min-height:120px}.relay-composer{max-height:48%;overflow:auto}
.chat-toolbar{padding:0 16px;flex-shrink:0}.chat-toolbar:empty,.chat-links-fixed:empty{display:none}.chat-links-fixed{padding:10px 16px;flex-shrink:0;border-top:1px solid #ffffff20}.discord-feed{overflow-anchor:none}.chat-toolbar .chat-hint{margin:8px 0}.chat-toolbar .chat-filters{margin:6px 0}.relay-profile[hidden]{display:none}
@media(max-width:600px){html,body{height:auto;min-height:100dvh;overflow:auto}body{display:block}main{height:auto}.broadcast-layout{height:auto;grid-template-rows:minmax(300px,45dvh) auto}.community{height:80dvh;min-height:620px}.relay-composer{max-height:48%}footer{margin-top:12px}}
