@charset "UTF-8";
:root { color-scheme: dark; --bg:#0e1118; --panel:#171c27; --panel-soft:#111621; --line:#2b3243; --text:#edf1f8; --muted:#a0abbe; --accent:#bda8ff; --accent-dark:#30264b; --green:#89e9c1; --red:#ffb1b1; font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--text); }
button,input,select { font:inherit; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { opacity:.42; cursor:not-allowed; }
a { color:var(--accent); }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
[hidden] { display:none !important; }
.skip-link { position:fixed; z-index:20; top:-5rem; left:1rem; background:var(--accent); color:var(--bg); padding:.75rem; }
.skip-link:focus { top:1rem; }
.preview-banner { min-height:2.5rem; padding:.5rem 1.5rem; background:#242136; border-bottom:1px solid #423953; display:flex; gap:1rem; justify-content:center; font-size:.8125rem; color:#ccc1e9; }
.preview-banner strong { color:#eee5ff; font-weight:600; }
.shell { display:grid; grid-template-columns:240px minmax(0,1fr); min-height:calc(100vh - 2.5rem); }
.sidebar { display:flex; flex-direction:column; padding:2rem 1.25rem 1.25rem; border-right:1px solid var(--line); background:#11151e; }
.brand { display:flex; gap:.75rem; align-items:center; text-decoration:none; color:var(--text); font-size:1.25rem; font-weight:650; }
.brand-mark { width:2.75rem; height:2.75rem; display:grid; place-items:center; background:var(--accent); color:#201735; border-radius:.85rem .85rem .85rem .2rem; font-weight:850; font-size:1.7rem; }
.brand small { display:block; font-size:.625rem; letter-spacing:.12em; color:var(--muted); margin-top:.1rem; }
.sidebar-heading { display:flex; justify-content:space-between; align-items:center; margin:3rem .6rem .8rem; font-size:.75rem; letter-spacing:.12em; color:var(--muted); }
.icon-button { display:grid; place-items:center; width:2.25rem; height:2.25rem; border:1px solid var(--line); border-radius:.6rem; background:transparent; color:var(--text); font-size:1.4rem; }
#channel-list { display:grid; gap:.5rem; }
.channel-button { display:flex; width:100%; gap:.75rem; align-items:center; padding:.8rem; border:1px solid transparent; border-radius:.8rem; color:var(--muted); background:transparent; text-align:left; }
.channel-button.active { background:#242036; border-color:#44385f; color:#eee7ff; }
.channel-button:hover { background:#202534; }
.channel-avatar { width:2.3rem; height:2.3rem; border-radius:.6rem; background:#313044; color:#ded2ff; display:grid; place-items:center; font-weight:600; }
.channel-text { min-width:0; }
.channel-text strong { font-size:.9375rem; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:125px; }
.channel-text small { display:block; font-size:.75rem; color:var(--muted); }
.sidebar-bottom { border-top:1px solid var(--line); margin-top:auto; padding-top:1.25rem; display:flex; align-items:center; gap:.65rem; font-size:.9375rem; }
.owner-avatar { display:grid; place-items:center; border-radius:50%; width:2.2rem; height:2.2rem; background:#283837; color:#aee0ce; }
.sidebar-bottom small { display:block; color:var(--muted); font-size:.75rem; }
.owner-label { margin-left:auto; color:var(--muted); font-size:.625rem; letter-spacing:.08em; }
main { width:100%; max-width:1460px; margin:0 auto; padding:2.25rem clamp(1.25rem,3.5vw,4rem) 1.25rem; }
.page-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:2rem; }
.eyebrow { color:var(--muted); letter-spacing:.13em; font-size:.6875rem; font-weight:650; margin:0 0 .5rem; }
h1 { margin:0 0 .35rem; font-size:clamp(1.9rem,3vw,2.6rem); font-weight:600; letter-spacing:-.045em; line-height:1.2; overflow-wrap:anywhere; }
h2 { font-size:1.0625rem; font-weight:600; letter-spacing:-.015em; margin:0; }
h3 { margin:.8rem 0 .4rem; font-size:clamp(1.25rem,2.3vw,1.8rem); font-weight:500; letter-spacing:-.025em; }
p { margin:.5rem 0; }
.muted { color:var(--muted); font-size:.9375rem; }
.button { border:1px solid var(--line); padding:.65rem 1rem; border-radius:.6rem; font-size:.875rem; font-weight:600; white-space:nowrap; min-height:2.75rem; }
.button.secondary { background:#1d2330; color:var(--text); }
.button.secondary:hover { background:#2b3140; border-color:#58617a; }
.button.primary { background:var(--accent); border-color:var(--accent); color:#241936; }
.button.primary:hover { background:#d0c0ff; }
.button.compact { padding:.45rem .65rem; font-size:.8125rem; }
.workspace { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr); gap:1.5rem; align-items:start; }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:.6rem; margin-bottom:1rem; }
.status,.link-badge { padding:.25rem .6rem; background:#242c39; border:1px solid #384153; color:#bfcbdd; border-radius:2rem; font-size:.75rem; white-space:nowrap; }
.status[data-state="live"] { background:#163a2f; border-color:#2b6853; color:var(--green); }
.status[data-state="connecting"],.status[data-state="reconnecting"] { background:#3c3221; color:#f5ce86; border-color:#675335; }
.status[data-state="error"],.status[data-state="unknown"] { background:#39252b; color:var(--red); border-color:#68414c; }
.screen { min-height:300px; aspect-ratio:16/10; border:1px solid #32384c; border-radius:1rem; position:relative; overflow:hidden; display:grid; place-items:center; background:radial-gradient(ellipse at 70% 10%,#34304c 0,transparent 55%),radial-gradient(ellipse at 10% 100%,#152f35 0,transparent 45%),#151b27; }
.screen-grid { position:absolute; inset:0; opacity:.25; background-image:linear-gradient(#62657b30 1px,transparent 1px),linear-gradient(90deg,#62657b30 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(transparent,#000); }
.screen[data-state="live"] { background:radial-gradient(ellipse at 85% 25%,#61459b 0,transparent 55%),radial-gradient(ellipse at 15% 100%,#256159 0,transparent 55%),#26213a; }
.screen-content { text-align:center; z-index:1; padding:4rem 1rem; max-width:28rem; }
.screen-content p { color:#b0bdd0; font-size:.875rem; max-width:22rem; margin:.5rem auto; }
.screen-corner { position:absolute; top:1rem; left:1rem; display:flex; align-items:center; gap:.6rem; color:#c4cadd; font-size:.875rem; }
.screen-monogram { color:#171124; background:#ac9aca; border-radius:.25rem; padding:0 .35rem; font-weight:800; font-size:.8rem; }
.screen-footer { position:absolute; bottom:1rem; left:1rem; right:1rem; display:flex; justify-content:space-between; font-size:.6875rem; color:#a8b0c1; letter-spacing:.06em; }
.sample-label { display:inline-block; margin-top:1rem; font-size:.625rem; letter-spacing:.15em; color:#a89aba; }
.signal-icon { height:2.2rem; display:flex; align-items:center; justify-content:center; gap:5px; }
.signal-icon i { display:block; width:5px; border-radius:5px; background:#afa2cf; height:12px; }
.signal-icon i:nth-child(2),.signal-icon i:nth-child(4) { height:22px; }
.signal-icon i:nth-child(3) { height:33px; }
.screen[data-state="live"] .signal-icon i { background:#d4c3ff; animation:wave 1.5s ease-in-out infinite alternate; }
.screen[data-state="live"] .signal-icon i:nth-child(2n) { animation-delay:-.8s; }
@keyframes wave { to { transform:scaleY(.35); } }
.readiness { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:1.2rem 0; gap:1rem; border-bottom:1px solid var(--line); }
.readiness div+div { border-left:1px solid var(--line); padding-left:1rem; }
.metric-label { display:block; font-size:.75rem; color:var(--muted); margin-bottom:.3rem; }
.readiness strong { font-size:.8125rem; font-weight:500; }
.demo-controls { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-top:1rem; }
.demo-controls label { margin:0; font-size:.8125rem; color:var(--muted); }
.demo-controls select { width:auto; max-width:13rem; }
.share-column { display:grid; gap:1.25rem; }
.card { padding:1.25rem; background:var(--panel); border:1px solid var(--line); border-radius:1rem; min-width:0; }
.step-label { color:var(--muted); letter-spacing:.1em; font-size:.625rem; }
.audience-options { display:grid; grid-template-columns:1fr 1fr; gap:.6rem; }
.mode-button { text-align:left; padding:.85rem .8rem; background:var(--panel-soft); color:var(--text); border:1px solid var(--line); border-radius:.65rem; }
.mode-button.selected { background:#2c2440; border-color:#9b82d3; }
.mode-button:hover { border-color:var(--accent); }
.mode-symbol { display:block; font-size:1.4rem; color:var(--accent); line-height:1; margin-bottom:.7rem; }
.mode-button strong { display:block; font-size:.875rem; font-weight:600; }
.mode-button small { display:block; color:#b2adc0; font-size:.75rem; margin-top:.2rem; }
.audience-note { font-size:.8125rem; color:var(--muted); line-height:1.6; margin:.8rem 0 0; }
.link-badge { border:0; padding:.15rem .4rem; color:#b8a7df; background:#2c263c; border-radius:.25rem; font-size:.5625rem; letter-spacing:.05em; }
label { display:block; font-size:.8125rem; color:#c5cddd; margin:.7rem 0 .4rem; }
input,select { width:100%; background:var(--panel-soft); color:var(--text); border:1px solid #3c455a; border-radius:.5rem; padding:.6rem .7rem; font-size:.875rem; min-height:2.65rem; }
select { appearance:none; padding-right:2.25rem; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23bac5d9' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .6rem center; }
.link-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--line); }
.link-row strong { font-size:.875rem; font-weight:600; }
.link-row small { display:block; color:var(--muted); font-size:.75rem; margin-top:.15rem; }
.sample-url input { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:.75rem; color:#b6c0d1; }
.sample-url label { font-size:.6875rem; }
.text-button { border:0; padding:.7rem 0 .2rem; background:transparent; font-size:.8125rem; text-decoration:underline; text-underline-offset:4px; }
.danger { color:var(--red); }
.small-note,.field-help { color:var(--muted); font-size:.75rem; line-height:1.65; margin:.8rem 0 0; }
.expiry-warning { font-size:.8125rem; color:#f5ce86; }
.routing-card { grid-column:1/-1; display:grid; grid-template-columns:1fr 1.3fr; gap:2rem; margin-top:.1rem; background:#131822; }
.routing-card h2 { max-width:18rem; font-size:1.1rem; }
.routing-card .muted { font-size:.8125rem; max-width:21rem; }
.routing-items { display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; }
.routing-items>div { display:flex; gap:.65rem; align-items:start; }
.route-number { color:#8c7aaa; font-size:.6875rem; padding-top:.25rem; }
.routing-items strong { display:block; font-size:.8125rem; font-weight:500; }
.routing-items code,.routing-items div>span:not(.route-number) { display:block; font-size:.8125rem; color:#d4c3f0; margin:.25rem 0; }
.routing-items small { display:block; color:var(--muted); font-size:.6875rem; }
.page-footer { display:flex; justify-content:space-between; gap:1rem; color:var(--muted); font-size:.75rem; margin-top:1.5rem; padding:.5rem 0; }
.page-footer a { text-underline-offset:4px; }
.toast { position:fixed; bottom:1.5rem; left:50%; transform:translateX(-50%); z-index:30; max-width:min(90vw,36rem); border:1px solid #6d5b8e; background:#292237; padding:.9rem 1.25rem; border-radius:.8rem; font-size:.875rem; box-shadow:0 1rem 3rem #0005; }
dialog { color:var(--text); background:#171c27; border:1px solid #424c65; border-radius:1.25rem; padding:1.75rem; width:min(92vw,520px); box-shadow:0 2rem 8rem #0009; }
dialog::backdrop { background:#080b13bd; backdrop-filter:blur(5px); }
dialog h2 { font-size:1.4rem; line-height:1.35; }
.dialog-heading { display:flex; align-items:start; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.dialog-actions { display:flex; gap:.75rem; justify-content:flex-end; margin-top:1.5rem; }
.form-error { color:var(--red); font-size:.8125rem; min-height:1.25rem; }
.obs-settings { display:flex; flex-wrap:wrap; gap:1rem; padding:1rem 0 .2rem; font-size:.8125rem; color:var(--muted); }
.obs-settings strong { display:block; color:var(--text); font-weight:500; }
@media(min-width:1500px) { .screen { aspect-ratio:16/9; } }
@media(max-width:1120px) { .shell { grid-template-columns:200px minmax(0,1fr); } .sidebar { padding:1.5rem .85rem; } .brand { font-size:1.1rem; gap:.6rem; } .brand small { font-size:.55rem; } main { padding:2rem 1.25rem 1rem; } .workspace { grid-template-columns:minmax(0,1.2fr) minmax(290px,1fr); gap:1rem; } .routing-card { grid-template-columns:1fr; gap:1.25rem; } .routing-card h2,.routing-card .muted { max-width:none; } .channel-text strong { max-width:100px; } }
@media(max-width:900px) { .workspace { grid-template-columns:1fr; } .share-column { grid-template-columns:1fr 1fr; align-items:start; } .screen { aspect-ratio:16/9; min-height:260px; } .routing-card { grid-column:auto; } .link-row { flex-wrap:wrap; gap:.6rem; } .link-row .button { width:100%; } }
@media(max-width:680px) { .preview-banner { flex-direction:column; align-items:center; gap:0; font-size:.6875rem; text-align:center; padding:.55rem; } .shell { display:block; } .sidebar { border-right:0; border-bottom:1px solid var(--line); padding:1rem; } .brand { font-size:1.1rem; } .brand-mark { width:2.25rem; height:2.25rem; font-size:1.4rem; } .brand small { display:none; } .sidebar-heading { margin:1rem 0 .5rem; } #channel-list { display:flex; overflow-x:auto; gap:.5rem; padding:0 0 .25rem; } .channel-button { width:auto; min-width:145px; padding:.55rem; flex-shrink:0; } .channel-avatar { width:1.8rem; height:1.8rem; } .channel-text strong { max-width:130px; font-size:.8125rem; } .channel-text small { font-size:.6875rem; } .sidebar-bottom { display:none; } main { padding:1.5rem 1rem 1rem; } .page-header { margin-bottom:1.5rem; } .page-header .muted { font-size:.8125rem; } .page-header .button { font-size:.8125rem; padding:.55rem .75rem; } .share-column { grid-template-columns:1fr; } .link-row { flex-wrap:nowrap; } .link-row .button { width:auto; } .screen { min-height:255px; } .screen-content { padding:3rem .75rem; } .screen-content p { font-size:.8125rem; } .readiness { gap:.5rem; } .readiness div+div { padding-left:.5rem; } .readiness strong { font-size:.75rem; } .routing-items { grid-template-columns:1fr; gap:1rem; } .routing-items>div { gap:1rem; } .routing-items strong { font-size:.875rem; } .routing-items small { font-size:.75rem; } .page-footer { flex-direction:column; gap:.5rem; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; } }

.simple-page{min-height:100vh;padding:3rem 1rem}.simple-page main{max-width:960px;padding:0;margin:0 auto}.simple-page .brand{margin-bottom:3rem}.simple-page .login-card{max-width:430px}.wide{width:100%;margin-top:1rem}.mt{margin-top:1.25rem}.notice{color:#d2c2f8;padding:1rem 0;overflow-wrap:anywhere}.public-channels{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:2rem 0}.public-channel{text-decoration:none;display:grid;gap:1rem;color:var(--text)}.public-channel>span:last-child{color:var(--accent);font-size:.875rem}.watch-page video{width:100%;aspect-ratio:16/9;background:#000;border:1px solid var(--line);border-radius:.8rem;margin-top:1rem}.watch-controls{display:flex;align-items:center;gap:1rem;margin:1rem 0}.watch-page #direct-link{margin-bottom:1rem}.simple-page .eyebrow{margin-top:1rem}.form-error{overflow-wrap:anywhere}

.broadcast,.page-header>div,.link-row>div{min-width:0}.dialog-actions{flex-wrap:wrap}.link-row>div{overflow-wrap:anywhere}#grant-list strong{overflow-wrap:anywhere}@media(max-width:680px){.page-header{align-items:flex-start}.page-header>.button{white-space:normal;max-width:8rem}.dialog-actions>.button{flex:1 1 auto}}

label{font-size:.875rem}.status,.small-note,.link-row small{font-size:.8125rem}

.screen{width:100%;max-width:100%;min-width:0}.screen-content{min-width:0;max-width:100%;overflow-wrap:anywhere}
