:root{--navy:#102b50;--deep:#071a34;--orange:#ff7417;--paper:#f5f7fb;--ink:#142d4c;--muted:#65758c;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}header{background:linear-gradient(115deg,#071a34,#133c6c);padding:16px 5vw;display:flex;justify-content:space-between;align-items:center;min-height:90px;border-bottom:3px solid var(--orange)}.brand{display:flex;align-items:center;gap:24px;text-decoration:none;color:white}.brand img{width:155px;height:56px;object-fit:contain}.brand span{border-left:1px solid #ffffff35;padding-left:24px;font-size:12px;letter-spacing:2px;font-weight:800}.back{color:#cbd9ec;text-decoration:none;font-size:13px}main{max-width:1380px;margin:auto;padding:48px 4vw 60px}.eyebrow,.step{font-size:11px;letter-spacing:2px;font-weight:800;color:#bd5109}.eyebrow{margin-bottom:18px}h1{font-size:clamp(36px,5vw,66px);line-height:1.12;letter-spacing:-2px;margin:0 0 24px}h1 span{color:#db5a07}h2{font-size:26px;letter-spacing:-.7px;line-height:1.3}h3{font-size:18px}p{line-height:1.75}.lead{font-size:18px;max-width:710px;color:var(--muted)}.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:32px 0}.panel{background:white;border:1px solid #dce4ed;border-radius:18px;padding:26px}.navy{background:linear-gradient(125deg,#102b50,#174778);color:white;border-color:#1a4673}.navy .step{color:#ffb477}.navy p:not(.step){color:#cbd9eb}button,.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:13px 18px;font:700 14px system-ui;background:var(--orange);color:white;text-decoration:none;cursor:pointer;min-height:44px}button:hover,.button:hover{filter:brightness(.95)}button:disabled{opacity:.6;cursor:wait}.secondary{color:var(--navy);background:#e9eef6}.stop{background:#fff0e6;color:#ad3b00;border:1px solid #ffc79d}.tiny,.footnote{font-size:12px;color:var(--muted)}.how{display:flex;gap:28px;flex-wrap:wrap;margin:25px 0}.how span{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:650}.how b{display:inline-flex;justify-content:center;align-items:center;width:28px;height:28px;background:#ffeadb;color:#b84700;border-radius:50%}.title-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.title-row h2{margin:0}.title-row .eyebrow{margin:0 0 5px}.buttons{display:flex;gap:8px;flex-wrap:wrap}.buttons button,.buttons a{font-size:12px;padding:10px 13px}.workspace{display:grid;grid-template-columns:245px minmax(0,1fr);gap:24px}.workspace aside{align-self:start;text-align:center}.room-code{display:block;font-size:38px;letter-spacing:6px;color:var(--navy);line-height:1.3;margin:18px 0}#qr{margin:0 auto;max-width:185px;padding:6px;background:white}#qr svg{width:100%;height:auto;display:block}.muted{color:var(--muted);font-size:13px}.screen{background:linear-gradient(145deg,#071a34,#15375a);border:1px solid #173c64;border-radius:18px;height:59vh;min-height:360px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;color:white}.screen img{max-width:100%;max-height:100%;object-fit:contain}.placeholder{text-align:center;padding:35px}.placeholder p{font-size:14px;color:#b9cbe2}.placeholder h2{font-size:24px}.screen-icon{font-size:60px;color:#ff9141}.status-row{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:12px;padding:16px 3px 23px}.dot{width:8px;height:8px;border-radius:50%;background:#8fa1b7}.dot.on{background:#f87516;box-shadow:0 0 0 4px #ff741720}.rate{margin-left:auto}.device{padding:15px 0;border-top:1px solid #e1e8f1;overflow-wrap:anywhere;font-size:12px;text-align:left}.device button{padding:8px 12px;min-height:34px;font-size:12px;margin-top:8px}.device strong{display:block}.approved{color:#326040;font-size:11px}#broadcastBadge{position:absolute;left:16px;top:15px;background:#071a34dd;border:1px solid #ffffff30;border-radius:50px;padding:6px 13px;font-size:11px;backdrop-filter:blur(8px);max-width:90%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#broadcastBadge span{display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:#ff7417}.mobile-panel{max-width:650px;margin:20px auto}.mobile-panel .button{display:flex;margin:14px 0}.screen:fullscreen{width:100vw;height:100vh;border-radius:0;background:#000}.screen:fullscreen #broadcastBadge{left:24px;top:20px}#notice{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:90vw;padding:14px 22px;color:white;background:var(--navy);border-radius:12px;box-shadow:0 8px 30px #0003;z-index:100}#notice:empty{display:none}footer{border-top:1px solid #dce4ed;display:flex;align-items:center;justify-content:space-between;padding:24px 5vw;gap:20px;font-size:12px;color:var(--muted)}footer strong{color:var(--navy)}footer a{color:var(--navy);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #ff9b54;outline-offset:3px}[hidden]{display:none!important}@media(max-width:850px){.brand span{display:none}.brand img{width:135px}.intro-grid{grid-template-columns:1fr}main{padding:30px 20px}.workspace{grid-template-columns:1fr}.workspace aside{display:flex;gap:15px;align-items:center;flex-wrap:wrap;text-align:left}.workspace aside .step{width:100%;margin:0}#qr{max-width:110px;margin:0}.room-code{font-size:34px}.workspace aside .muted,#devices{width:100%}.title-row{align-items:flex-start;flex-direction:column}.screen{height:44vh;min-height:280px}.buttons{width:100%}.buttons>*{flex:1}.how{gap:16px}footer{flex-wrap:wrap}.mobile-panel h1{font-size:34px}.placeholder{padding:22px}.placeholder h2{font-size:20px}}
.brand img{background:#fff;border-radius:10px;padding:7px;width:190px;height:65px}@media(max-width:850px){.brand img{width:155px;height:56px}}

.quality-panel select{display:block;width:100%;padding:12px;margin-top:10px;border:1px solid #ccd6e5;border-radius:10px;background:#fff;color:#102b50;font:inherit}.quality-panel label{font-weight:700}.quality-panel>button{width:100%}

/* HEP LIVE RESPONSIVE FRAME V2 */
#screen.screen > #frame{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;object-fit:contain;object-position:center}
#screen.screen.hep-fill > #frame{object-fit:cover}
#screen.screen:fullscreen{width:100vw;height:100vh;height:100dvh;min-height:0;max-width:none;max-height:none;padding:0;margin:0;border:0;border-radius:0;background:#000}
#screen.screen:-webkit-full-screen{width:100vw;height:100vh;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:#000}
.hep-fit-overlay{display:none;position:absolute;right:16px;bottom:16px;z-index:5;background:#102b50e8;color:#fff;border:1px solid #ffffff55}
#screen:fullscreen .hep-fit-overlay{display:inline-flex}
