/* TMVDG modern console layout. Load after studio.css and all legacy styles. */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@600&family=Plus+Jakarta+Sans:wght@400;500;600&family=Space+Grotesk:wght@600;700&display=swap');
:root{--bg:#0a0c0b;--panel:#121514;--soft:#121514;--edge:#222725;--line:#222725;--paper:#f2f5f3;--muted:#a6b2ab;--accent:#f59e0b!important;--lime:#f59e0b;--mint:#22c55e;--purple:#f59e0b;--studio-lime:#f59e0b;--studio-surface:#1e2321;--studio-edge:#363f3b;--studio-heading:'Space Grotesk',sans-serif;--studio-ui:'Plus Jakarta Sans',sans-serif;--studio-numeric:'JetBrains Mono',monospace}
body{background:#0a0c0b;color:#f2f5f3;font-family:var(--studio-ui)}
body>header{background:#0a0c0b;border-bottom:1px solid #222725;box-shadow:none}
.accent-picker{display:none!important}
header .logo{background:#f59e0b;color:#0a0c0b;box-shadow:none}header .beta{color:#f59e0b;border-color:#604719}
header #connection{color:#86dba4;background:#102017;border-color:#1d5130;box-shadow:none}
.room-bar i,.room-label i{background:#22c55e;box-shadow:0 0 8px #22c55e26}
/* Center the entire three-column group so sidebars stay close to the console. */
body[data-room-layout=desktop].in-room{--camera-width:clamp(240px,15vw,280px);--queue-width:clamp(300px,19vw,360px)}
body[data-room-layout=desktop].in-room main{max-width:2264px;width:100%;margin-inline:auto;padding:14px 16px 16px}
body[data-room-layout=desktop] .layout{width:100%;max-width:2232px;margin-inline:auto;gap:16px;grid-template-columns:var(--camera-width) minmax(0,1560px) var(--queue-width);align-items:stretch}
body[data-room-layout=desktop] .layout>.watch-together{width:100%;max-width:1560px;margin:0 auto;padding:0 2px 10px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#344036 transparent}
body[data-room-layout] .watch-together{max-width:1560px;margin-inline:auto}
.in-room .room-bar{border:1px solid #222725;border-radius:12px;background:#121514;margin-bottom:14px;padding:10px 14px}
.watch-together .watch-heading{padding:2px 0 14px;min-height:40px}
.watch-together .watch-heading h2{font:700 clamp(20px,1.65vw,30px)/1.25 var(--studio-heading);letter-spacing:-.035em;color:#f2f5f3}
.watch-together .speaker-stage{max-width:1560px;margin:0 auto;grid-template-columns:minmax(72px,15%) minmax(0,1fr) minmax(72px,15%);gap:14px;padding:8px 0;background:radial-gradient(ellipse at 50% 45%,#24312825,transparent 72%)}
body[data-room-layout] .watch-together .speaker-stage .stage{width:100%;min-width:0;aspect-ratio:16/9;min-height:200px;height:auto;border:1px solid #262b29;border-radius:12px!important;background:#0e1310;box-shadow:0 12px 35px #0003}
.watch-together .studio-speaker svg{width:100%;max-width:none;height:100%}
#empty{background:radial-gradient(ellipse at 50% 40%,#26332c 0%,#151d18 45%,#0e1310 85%);border:1px solid #262b29;border-radius:11px;padding:24px}
#empty h2{font:700 clamp(23px,2.8cqw,44px)/1.18 var(--studio-heading);letter-spacing:-.035em;margin:10px 0 0;text-align:center;text-transform:none}
#empty p{color:#aebcb2;font:400 clamp(11px,1.05cqw,14px)/1.75 var(--studio-ui);margin:14px 0 0;max-width:38ch;text-align:center}
#empty .empty-mark{border:1px solid #435043;background:#18231b;color:#f59e0b;border-radius:50%;margin-bottom:10px;box-shadow:0 0 34px #f59e0b09}
/* Layered surfaces and a single amber action color. */
body[data-room-layout] .layout>.camera-column,body[data-room-layout] .layout>aside{background:#121514;border:1px solid #222725;border-radius:12px!important;padding:14px;box-shadow:0 8px 30px #0002}
.person,.person:nth-child(2n),.person:nth-child(3n),.person.waiting{background:#181f1a!important;border:1px solid #2e3532;border-radius:10px!important}
.person .avatar{background:#28342c;border:1px solid #46584b;box-shadow:none}.person>span:last-child{color:#ecf2ed;background:#0a0c0be8;border:1px solid #344137;border-radius:5px}
.participant-volume,.turn-panel,.ritual,.external-playback{background:#161c18;border:1px solid #29332d;border-radius:10px}
input:not([type=range]):not([type=checkbox]),select,textarea,#room-format,.room-actions input{background:#1a1e1c;color:#f2f5f3;border:1px solid #2e3532;box-shadow:inset 0 1px 0 #ffffff04}
input::placeholder,textarea::placeholder{color:#97a39b;opacity:1}
button.primary,.room-actions .primary,.now #play,.now #next,#addform button[type=submit],#chat-send,.room-share>summary,#copy-room-link{background:#f59e0b;border:1px solid #f59e0b;color:#0a0c0b;font-weight:600;box-shadow:inset 0 1px 0 #ffffff20,0 3px 10px #0002}
button.primary:hover:not(:disabled),.room-actions .primary:hover:not(:disabled),.now #play:hover:not(:disabled),.now #next:hover:not(:disabled),#addform button[type=submit]:hover:not(:disabled),#chat-send:hover:not(:disabled),.room-share>summary:hover,#copy-room-link:hover{background:#fbbf24;border-color:#fbbf24;color:#0a0c0b}
.room-share[open]>summary{color:#0a0c0b}
button:disabled{cursor:not-allowed;opacity:.4;box-shadow:none}
.camera-column{container-type:inline-size}
.camera-column .people-heading{padding:0 0 12px;border-bottom:1px solid #222725;margin-bottom:14px}
.camera-column .people-heading h3{font-size:18px;letter-spacing:-.025em}
.camera-column .call-controls #mic,.camera-column .call-controls #camoff,.camera-column .camera-effects>summary{background:#1e2321;border:1px solid #363f3b;color:#fff;box-shadow:inset 0 1px 0 #ffffff0e,0 3px 7px #0004;padding:12px 14px}
.camera-column .call-controls #mic:hover:not(:disabled),.camera-column .call-controls #camoff:hover:not(:disabled),.camera-column .camera-effects>summary:hover{background:#2b302e;border-color:#b98232;box-shadow:inset 0 1px 0 #ffffff16,0 0 0 2px #f59e0b0c,0 4px 10px #0004}
.camera-column .call-controls #mic[aria-pressed=true],.camera-column .call-controls #camoff[aria-pressed=true]{background:#dc2626;border-color:#ef4444;color:#fff}
.camera-column .call-controls #mic[aria-pressed=true]:hover,.camera-column .call-controls #camoff[aria-pressed=true]:hover{background:#b91c1c;border-color:#f87171}
.camera-column .camera-effects>summary>.studio-icon:first-child{color:#f59e0b}
.camera-column .camera-effects .effects-controls{background:#161b18;border-color:#363f3b}
.camera-column .camera-setup{border-top-color:#29322c}
.camera-column .camera-setup h2{font-size:16px}.camera-column .camera-setup p,.camera-column .footnote{color:#a6b2ab;line-height:1.7}
.mic-input-control{order:4;display:grid;gap:7px;margin-top:14px;min-width:0}.mic-input-control label{font:500 11px var(--studio-ui);color:#d9e3dc}.mic-input-control #mic-input{width:100%;min-width:0;max-width:100%;font-size:11px;padding:10px;min-height:40px;text-overflow:ellipsis}.camera-column #mic-processing-status{font-size:10px;color:#d3b880}
.camera-column>#leave{background:transparent;color:#a6b2ab;border:1px solid #333c36;margin-top:24px;box-shadow:none}
.camera-column>#leave:hover{background:#1a1e1c;color:#eef4ef;border-color:#69766d}
/* Balanced cards under the player. */
.watch-together .now,.watch-together .studio-mixer{background:#121514;border:1px solid #222725;border-radius:12px!important;padding:14px 20px;gap:20px;box-shadow:inset 0 1px 0 #ffffff03}
.watch-together .now{margin:10px 0 0;display:flex;align-items:center;justify-content:space-between}
.now>div:first-child{min-width:0}.now #tracktitle{font:600 clamp(14px,1.5cqw,21px)/1.45 var(--studio-heading);margin:0 0 5px;letter-spacing:-.025em}.now #picked{font-size:11px;color:#a6b2ab;line-height:1.6}
.now .buttons{display:flex;gap:9px;align-items:center}.now .buttons button{min-height:40px;white-space:nowrap;padding:10px 15px;font-size:11px}
.watch-together .studio-mixer{margin-top:10px;grid-template-columns:minmax(130px,.8fr) repeat(2,minmax(130px,1fr));align-items:center}
.studio-mixer h3{font-size:12px;letter-spacing:.06em;line-height:1.5;margin:0 0 5px}.studio-mixer p{font-size:10px;line-height:1.6;color:#a6b2ab}
.studio-volume{gap:7px 12px}.studio-volume label{font:500 11px/1.5 var(--studio-ui);color:#e6ede8}.studio-volume output{font:600 12px/1.5 var(--studio-numeric);font-variant-numeric:tabular-nums;color:#f3f6f4}
.studio-volume input[type=range]{appearance:none;-webkit-appearance:none;height:28px;min-height:28px;padding:0;border:0;background:transparent;accent-color:#f59e0b}
.studio-volume input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:99px;background:linear-gradient(to right,#f59e0b 0 var(--range-fill,0%),#354038 var(--range-fill,0%) 100%)}
.studio-volume input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:17px;height:17px;border-radius:50%;border:2px solid #f8c96b;background:#f59e0b;margin-top:-6px;box-shadow:0 2px 5px #0004}
.studio-volume input[type=range]::-moz-range-track{height:5px;border-radius:99px;background:#354038}.studio-volume input[type=range]::-moz-range-progress{height:5px;border-radius:99px;background:#f59e0b}.studio-volume input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;border:2px solid #f8c96b;background:#f59e0b}
.studio-stage-tools{font-size:10px;padding:3px 2px 9px}.studio-stage-tools input{accent-color:#f59e0b}.studio-time{color:#b8c5bc;font-size:10px}
/* Queue and chat each scroll inside the rail; composer stays at its bottom. */
body[data-room-layout=desktop] .layout>aside{overflow:hidden;min-height:0}
.room-tabs{background:#121514;border-bottom:1px solid #29322c;gap:0;border-radius:12px 12px 0 0}
.room-tabs button{font:600 14px var(--studio-heading);color:#bac7be}.room-tabs button[aria-selected=true]{background:#1a1e1c;color:#f59e0b;border-color:#f59e0b}
.room-tabs #chat-tab::before{display:none}.room-tabs .chat-tab-label{position:static;width:auto;height:auto;overflow:visible;clip-path:none}
.queue-head{padding:16px 0 8px;gap:10px}.queue-head h2{font:600 18px var(--studio-heading);color:#f0f5f1}.queue-head>span{color:#bc985a;font-size:8px;letter-spacing:.06em}
.queue-explainer,.turn-panel p{color:#a6b5ab;line-height:1.7;font-size:11px}.turn-panel{padding:13px}.turn-panel strong{color:#f4c469}
#addform{padding:13px 0;border-color:#29322c;gap:8px}#addform label{color:#d5dfd8}#addform input{min-height:44px;padding:12px;font-size:12px}#addform button{min-height:42px}#title-status{font-size:10px;color:#a7b4ab;line-height:1.6}
body[data-room-layout=desktop] .layout>aside[data-panels=both] #queue-panel{flex:1 1 48%;min-height:210px;padding-right:4px;border-bottom:1px solid #2b352e}
body[data-room-layout=desktop] .layout>aside[data-panels=both] #chat-panel{flex:1 1 52%;min-height:280px;overflow:hidden}
body[data-room-layout=desktop] .layout>aside #chat-panel:not([hidden]){flex-grow:1;overflow:hidden}body[data-room-layout=desktop] .layout>aside #queue-panel:not([hidden]){flex-grow:1;overflow-y:auto}
#chat-panel{min-width:0}#chat-panel:not([hidden]){display:flex;flex-direction:column}.chat-heading{flex-shrink:0;padding:14px 0 10px;gap:8px}.chat-heading h2{font:600 18px var(--studio-heading);margin:0}.chat-heading #chat-presence{font-size:10px;color:#a6b7ac}
#chat-messages{background:#0e1210;border:1px solid #26312a;border-radius:10px;padding:12px;gap:14px;scrollbar-color:#394b3e #0e1210}
body[data-room-layout=desktop] #chat-messages{min-height:70px;flex:1 1 auto;height:auto}
.chat-empty{color:#a6b8ab;font-size:12px;line-height:1.9}.chat-message p{font-family:var(--studio-ui);font-size:12px;background:#1b241e;border:1px solid #2e3b32;color:#edf4ef}.chat-message.own p{background:#292317;border-color:#534025}.chat-meta strong{color:#e4eee7}.chat-meta time{font-family:var(--studio-numeric);font-size:9px}
#chat-form{flex:0 0 auto;padding:12px 0 0;background:#121514;border-top:1px solid #222725;margin-top:10px}
#chat-input{background:#1a1e1c;color:#f3f7f4;border:1px solid #3b4840;min-height:52px;max-height:120px;font:400 12px/1.6 var(--studio-ui);padding:11px 12px;resize:vertical}
body[data-room-layout=desktop] .layout>aside[data-panels=both] #chat-input{height:52px;min-height:52px}
.chat-compose-bottom{gap:10px;align-items:center;margin-top:9px}#chat-send{min-height:40px;padding:10px 18px;box-shadow:inset 0 1px 0 #ffffff20}#chat-gif-toggle{background:#1a1e1c;border-color:#354138;color:#edbd6a;min-height:40px}#chat-help{color:#9eafa3;font-size:9px}#chat-status{color:#9eafa3;font-size:10px;line-height:1.5}
.chat-floating{background:#121514!important;border-color:#36443a!important;border-radius:12px!important}.chat-window-controls button{background:#1a1e1c;border:1px solid #354138;color:#d6e3da}
.room-actions{background:#121514;color:#f2f5f3;border:1px solid #29332c;border-top:3px solid #f59e0b;border-radius:12px;box-shadow:0 15px 45px #0003}.room-actions h2{color:#f2f5f3}.room-actions label,.room-actions p,.room-actions small,.room-actions summary{color:#aebdb3}.room-actions #join{background:#1a1e1c;border:1px solid #3a473e;color:#e8f0eb}
body .room-actions #entry-instructions,body .room-actions #roomstatus,body .room-actions #join-details summary{color:#b4c0b8!important}
.room-actions .eyebrow,.hero-copy>.eyebrow{color:#edbd6a}.hero-copy h1 em{color:#f59e0b}.hero-tags span{background:#151c17;border-color:#303e34;color:#cfdbd2}
@container(max-width:230px){.call-controls{grid-template-columns:1fr!important}}
@container(max-width:700px){.watch-together .studio-mixer{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 16px;gap:12px}.studio-mixer>div:first-child{grid-column:1/-1}.watch-together .now{flex-wrap:wrap;padding:14px 16px;gap:12px}.now .buttons button{padding:10px 12px}}
@container(max-width:540px){.watch-together .speaker-stage{grid-template-columns:minmax(0,1fr);gap:0}.watch-together .studio-speaker{display:none}}
body[data-room-layout=phone] .in-room{overflow:visible}body[data-room-layout=phone].in-room main{max-width:600px;width:100%;padding:10px;margin-inline:auto}body[data-room-layout=phone] .layout{gap:14px}body[data-room-layout=phone] .layout>.watch-together{width:100%;padding:0}body[data-room-layout=phone] .watch-together .speaker-stage{display:block;padding:4px 0}.camera-column .camera-setup>div{min-width:0}
body[data-room-layout=phone] .watch-together .studio-mixer,body[data-room-layout=phone] .watch-together .now{padding:14px 16px}body[data-room-layout=phone] #chat-messages{height:280px;flex:none}body[data-room-layout=phone] #chat-panel{min-height:0}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}
