:root{--bg:#f7f5f0;--ink:#27352d;--line:#dddcd2;--brand:#2f483a;--muted:#697361;--accent:#9b8452;--success:#708768;--eyebrow:#74795f;--soft:#eeeede;--ornament:#89947a;--heading:#354d3c;--primary:#34523f;--onPrimary:#fff;--primaryHover:#284332;--ink2:#4f584d;--soft2:#f0f2ea;--surface:#fffefa;--badge:#e9edde;--subtle:#727b6c;--input:#fbfcf8;--focus:#9cae8d;--link:#637957;--error:#a3473e;--heading-font:Georgia,serif;--card-radius:10px}
@font-face{font-family:system;src:local("Segoe UI")}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 system,Arial,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid var(--focus);outline-offset:3px}[hidden]{display:none!important}.site-header{max-width:1440px;margin:auto;padding:25px 48px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{font-family:var(--heading-font);font-size:38px;color:var(--brand);text-decoration:none;letter-spacing:1px;line-height:1}.brand span{display:block;font:9px system,Arial,sans-serif;letter-spacing:2.4px;margin-top:9px}.connection{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.connection>span:first-child{width:7px;height:7px;background:var(--accent);border-radius:50%}.connection.connected>span:first-child{background:var(--success)}.room-shell{max-width:1440px;margin:auto;padding:35px 48px 20px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;color:var(--eyebrow);margin:0 0 9px}.intro{margin-bottom:25px}.intro h1{font:normal clamp(26px,3vw,38px)/1.2 var(--heading-font);margin:0 0 12px;letter-spacing:-.6px}.muted{color:var(--muted);margin:0;font-size:14px}.room-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:24px;align-items:start}.presentation{min-width:0}.waiting-card,.end-card{background:var(--soft);border:1px solid var(--line);border-radius:10px;min-height:462px;padding:40px 28px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;overflow:hidden}.waiting-card h2,.end-card h2{font:normal 32px/1.2 var(--heading-font);margin:10px 0 12px}.waiting-card>p:not(.eyebrow),.end-card>p:not(.eyebrow){max-width:390px;color:var(--muted);margin:6px auto}.waiting-card .small{font-size:12px;margin-top:26px!important}.enso{width:76px;height:76px;border:5px solid var(--ornament);border-right-width:2px;border-bottom-color:transparent;border-radius:49% 53% 47% 52%;transform:rotate(-25deg);margin:0 0 22px;opacity:.6}.countdown{font-size:36px;font-weight:350;font-variant-numeric:tabular-nums;letter-spacing:5px;margin:20px 0 0;color:var(--heading)}.video-frame{position:relative;min-height:120px;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#111a15}.video-frame>div:first-child{width:100%;height:100%}.player-loading{position:absolute;inset:0;display:grid;place-items:center;background:#111a15;color:var(--soft);pointer-events:none}.video-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:15px 0}.video-actions p{font-size:12px;color:var(--muted);margin:0;flex:1 1 160px}.primary{border:1px solid var(--primary);background:var(--primary);color:var(--onPrimary);padding:10px 17px;border-radius:6px;font-size:13px;min-height:42px}.primary:hover{background:var(--primaryHover)}.quiet{background:transparent;border:1px solid var(--line);border-radius:6px;padding:10px 13px;font-size:12px;color:var(--ink2)}.quiet:hover{background:var(--soft2)}.chat-card{border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden;display:flex;flex-direction:column;height:525px}.chat-heading{padding:20px 22px 15px;display:flex;justify-content:space-between;align-items:center}.chat-heading .eyebrow{font-size:9px;margin-bottom:4px}.chat-heading h2{font:normal 23px var(--heading-font);margin:0}.chat-mark{font-size:30px;color:var(--accent)}.chat-notice{font-size:11px;margin:0;background:var(--soft2);padding:10px 22px;color:var(--muted)}.messages{padding:20px 22px;overflow-y:auto;flex:1;min-height:100px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.empty-chat{font-size:13px;color:var(--muted);text-align:center;margin-top:55px;line-height:1.9}.chat-message{margin-bottom:18px}.message-heading{display:flex;gap:7px;align-items:baseline;margin-bottom:3px}.message-name{font-size:12px;font-weight:650;overflow-wrap:anywhere}.message-badge{font-size:9px;background:var(--badge);border-radius:3px;color:var(--muted);padding:1px 4px}.message-time{font-size:10px;color:var(--subtle);margin-left:auto}.message-text{font-size:13px;color:var(--ink2);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:0}.chat-message.team,.chat-message.scheduled{padding-left:10px;border-left:2px solid var(--ornament)}.chat-bottom{border-top:1px solid var(--line);padding:15px 18px;background:var(--surface)}.chat-bottom label{font-size:12px;display:block;margin-bottom:8px}.input-row{display:flex;gap:8px;align-items:stretch}input,textarea,select{width:100%;min-width:0;border:1px solid var(--line);background:var(--input);color:var(--ink);border-radius:5px;padding:10px 12px;font-size:13px}textarea{resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid var(--focus);outline-offset:1px}.input-row textarea{resize:none}.sender{font-size:11px;display:flex;justify-content:space-between;margin-bottom:8px;color:var(--muted)}.text-button{border:0;background:none;color:var(--link);padding:0;font-size:11px;text-decoration:underline}.error{color:var(--error);font-size:12px;margin:7px 0 0;min-height:0}.error:empty{display:none}.room-footer{display:flex;justify-content:space-between;gap:12px;color:var(--subtle);font-size:11px;padding-top:25px}.end-icon{font-size:38px;color:var(--accent);margin-bottom:20px}.room-grid.chat-only{grid-template-columns:minmax(0,1fr) minmax(350px,1.2fr)}.chat-only .end-card{min-height:330px}.room-grid.no-chat{grid-template-columns:minmax(0,1000px);justify-content:center}.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}.admin-shell{max-width:1000px;padding:30px 32px;margin:auto}.admin-title{font:normal 32px var(--heading-font);margin:0}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.admin-card{border:1px solid var(--line);border-radius:9px;padding:24px;background:var(--surface);margin-bottom:22px}.admin-card h2{font:normal 22px var(--heading-font);margin:0 0 20px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-grid label{font-size:12px;display:flex;flex-direction:column;gap:6px}.full-width{grid-column:1/-1}.admin-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.admin-help{font-size:12px;color:var(--muted);margin:8px 0}.admin-status{color:var(--link);font-size:13px;white-space:pre-line}.admin-card .messages{max-height:350px;padding:0}.admin-card details{margin-top:20px}.admin-card summary{cursor:pointer;font-size:13px}.admin-card details textarea{margin-top:10px;min-height:90px}.moderate{display:flex;gap:12px;margin-top:4px}.danger{color:var(--error)}#admin-password{max-width:350px}.test-note{font-size:12px;background:var(--soft);padding:10px 13px;border-radius:5px}.admin-chat{margin-top:15px}
@media(min-width:1600px){.site-header,.room-shell{max-width:1500px}.room-grid{grid-template-columns:minmax(0,1fr) 380px}.chat-card{height:570px}.waiting-card{min-height:510px}}
@media(max-width:1000px){.site-header{padding:20px 25px}.room-shell{padding:28px 25px}.room-grid{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.waiting-card{min-height:430px}.waiting-card h2{font-size:28px}}
@media(max-width:760px){.site-header{padding:18px 20px}.brand{font-size:31px}.brand span{font-size:8px;letter-spacing:1.6px}.room-shell{padding:25px 16px}.room-grid,.room-grid.chat-only{grid-template-columns:1fr}.intro{padding:0 4px;margin-bottom:20px}.intro h1{font-size:28px}.waiting-card{min-height:330px;padding:30px 20px}.enso{width:52px;height:52px;margin-bottom:15px}.waiting-card h2,.end-card h2{font-size:27px}.waiting-card .small{margin-top:15px!important}.chat-card{height:440px}.chat-only .end-card{min-height:210px}.end-icon{margin-bottom:5px;font-size:27px}.room-footer{flex-direction:column;text-align:center;font-size:10px}.connection{font-size:11px}.video-actions{gap:8px}.video-actions p{flex-basis:100%}.admin-shell{padding:22px 16px}.admin-grid{grid-template-columns:1fr}.full-width{grid-column:auto}.admin-card{padding:18px}.admin-top{align-items:flex-start}.admin-title{font-size:27px}}
#player-mount{pointer-events:none;user-select:none}.video-frame{touch-action:pan-y}
.player-loading{color:#eeeede}
[data-theme="night"]{--bg:#14191d;--ink:#f0eade;--line:#394248;--brand:#e3c58b;--muted:#c0c8c6;--accent:#d8ba7e;--success:#98ba9d;--eyebrow:#dbc08c;--soft:#20292c;--ornament:#a89266;--heading:#eee1c7;--primary:#dfc58f;--onPrimary:#1c2529;--primaryHover:#ecd5a7;--ink2:#e2e3d9;--soft2:#283236;--surface:#1c2428;--badge:#394447;--subtle:#a7b4b4;--input:#172025;--focus:#dfc58f;--link:#dec697;--error:#ffada7;--heading-font:Georgia,serif;--card-radius:8px}
[data-theme="minimal"]{--bg:#fafafa;--ink:#202326;--line:#d9dce0;--brand:#1f2428;--muted:#60666d;--accent:#646d77;--success:#4a806a;--eyebrow:#59636e;--soft:#f0f1f3;--ornament:#979da6;--heading:#23282e;--primary:#252b32;--onPrimary:#fff;--primaryHover:#414a54;--ink2:#424951;--soft2:#f1f3f5;--surface:#fff;--badge:#e9edf1;--subtle:#69717a;--input:#fff;--focus:#737e8c;--link:#495565;--error:#b03b36;--heading-font:system,Arial,sans-serif;--card-radius:3px}
[data-theme="rose"]{--bg:#fbf4f2;--ink:#4d303a;--line:#e5cfd2;--brand:#803f56;--muted:#85626b;--accent:#a56870;--success:#708768;--eyebrow:#9b5b6c;--soft:#f1dfe0;--ornament:#b88b93;--heading:#723e51;--primary:#8b435d;--onPrimary:#fff;--primaryHover:#713448;--ink2:#694451;--soft2:#f8eaeb;--surface:#fffafa;--badge:#f0dce3;--subtle:#8a646f;--input:#fffafb;--focus:#bc7c92;--link:#8a435c;--error:#b13b32;--heading-font:Georgia,serif;--card-radius:22px}
[data-theme="ocean"]{--bg:#f0f5fa;--ink:#193952;--line:#cbdce9;--brand:#124b73;--muted:#52718a;--accent:#397999;--success:#39877b;--eyebrow:#39728e;--soft:#dceaf4;--ornament:#7da7c0;--heading:#174f75;--primary:#1a5b88;--onPrimary:#fff;--primaryHover:#10466d;--ink2:#365d79;--soft2:#e8f1f7;--surface:#fff;--badge:#dcecf6;--subtle:#54748b;--input:#f9fcff;--focus:#639ebf;--link:#25668c;--error:#b13b32;--heading-font:system,Arial,sans-serif;--card-radius:14px}
.waiting-card,.end-card,.video-frame,.chat-card{border-radius:var(--card-radius)}
.brand b{display:block;font:inherit}.brand{max-width:65%;overflow-wrap:anywhere}.brand span{line-height:1.5}
.intro h1,.waiting-card h2,.end-card h2,.chat-heading h2,.waiting-card p,.end-card p,.room-footer span{overflow-wrap:anywhere}
.waiting-card>p,.end-card>p,.video-actions p,.chat-notice,.empty-chat{white-space:pre-line}
.chat-heading>div{min-width:0}.chat-mark{flex-shrink:0}.message-heading{flex-wrap:wrap}.message-time{white-space:nowrap}
.room-footer span{max-width:100%}.input-row button{white-space:nowrap;flex-shrink:0;max-width:45%}
[data-theme="night"] .waiting-card{background:radial-gradient(ellipse at top,#34413b,var(--soft) 70%)}
[data-theme="rose"] .waiting-card{background:linear-gradient(135deg,#f6e7e4,var(--soft))}
[data-theme="ocean"] .waiting-card{background:linear-gradient(125deg,#e4f3f6,var(--soft))}
[data-theme="minimal"] .enso{border-radius:50%;border-width:2px}
.theme-fieldset{border:0;padding:0;margin:24px 0}.theme-fieldset legend,.editor-heading,.preview-toolbar>label{font-size:14px;font-weight:650}
.theme-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.theme-option{position:relative;cursor:pointer;min-width:0}.theme-option>input{position:absolute;top:12px;right:12px;width:16px;height:16px;margin:0;z-index:1;accent-color:#34523f}
.theme-card{display:flex;flex-direction:column;height:100%;padding:10px;border:2px solid var(--line);background:var(--bg);color:var(--ink);border-radius:10px}
.theme-option>input:checked+.theme-card{outline:3px solid #637957;outline-offset:2px}.theme-option>input:focus-visible+.theme-card{outline:3px solid #b58c35;outline-offset:3px}
.theme-card strong{font:600 12px/1.4 system,Arial,sans-serif;margin-top:10px}.theme-card small{font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px}
.theme-swatch{display:flex;gap:6px;height:76px;padding:20px 6px 7px;background:var(--surface);border-radius:5px;border:1px solid var(--line)}
.swatch-stage{flex:2;background:var(--soft);border-radius:var(--card-radius);border:1px solid var(--line);position:relative}.swatch-stage:after{content:'';position:absolute;top:40%;left:35%;width:25%;height:5px;background:var(--primary);border-radius:4px}
.swatch-chat{flex:1;background:var(--input);border:1px solid var(--line);border-radius:4px}
.preview-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:22px 0 12px}.preview-toolbar select{width:auto;max-width:100%}.preview-toolbar>label{margin-right:auto}
.preview-container{background:#e4e6e1;padding:10px;border:1px solid #cdd2c6;border-radius:10px;display:flex;justify-content:center;overflow:hidden}
.preview-container iframe{display:block;width:100%;height:580px;background:#f7f5f0;border:0;border-radius:6px;min-width:0}.preview-container.mobile-preview iframe{max-width:390px}
.copy-fields{margin-top:18px}.copy-fields textarea{min-height:72px!important;margin-top:0!important}.editor-heading{margin:28px 0 12px}
#copy-editor details{border:1px solid var(--line);padding:14px 16px;border-radius:8px;margin-top:10px}#copy-editor summary{font-size:13px;font-weight:600}
.appearance-save{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.preview-room .site-header{padding:18px 20px}.preview-room .room-shell{padding:24px 20px}.preview-room .waiting-card{min-height:330px}.preview-room .player-loading{padding:20px;text-align:center;color:#eeeede}.preview-room .brand{cursor:default}
@media(max-width:760px){.theme-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-card strong{font-size:13px}.preview-container{padding:5px}.preview-toolbar select{flex:1}.preview-container iframe{height:520px}.appearance-save .primary{width:100%}.brand{max-width:58%}.connection{max-width:38%;overflow-wrap:anywhere;text-align:right}.room-footer span{width:100%}}
.yugen-black-bussola{box-sizing:border-box;width:100%;max-width:960px;margin:12px auto;padding:clamp(18px,3vw,28px);display:flex;flex-wrap:wrap;align-items:center;gap:16px;border:1px solid #a58b56;border-radius:16px;background:radial-gradient(ellipse at top right,#294c3d 0%,#112c24 65%);color:#fff9eb;font-family:Arial,Helvetica,sans-serif;text-align:left}
.offer-copy{flex:1.4 1 260px;min-width:0}.offer-eyebrow{margin:0 0 8px;color:#e7ce97;font-size:11px;line-height:1.5;font-weight:700;letter-spacing:1.4px;text-transform:uppercase}.yugen-black-bussola h2{margin:0;color:#fff9eb;font:400 clamp(25px,3vw,32px)/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.4px;overflow-wrap:anywhere}.offer-description{margin:8px 0 0;color:#d6e0d8;font-size:14px;line-height:1.5}.offer-action{flex:1 1 220px;min-width:0;text-align:center}.yugen-cta-pulse{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:14px 16px;border:1px solid #f1dcab;border-radius:10px;background:linear-gradient(135deg,#f2deb0,#d9b774);color:#183127;font:700 16px/1.3 Arial,Helvetica,sans-serif;text-align:center;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.15);cursor:pointer;animation:yugen-bussola-pulse 2.4s ease-in-out infinite;transform-origin:center;overflow-wrap:anywhere}.offer-footer{margin:8px 0 0;color:#c4d2c8;font-size:11px;line-height:1.5}.yugen-cta-pulse:hover,.yugen-cta-pulse:focus-visible{animation:none;filter:brightness(1.05)}.yugen-cta-pulse:focus-visible{outline:2px solid #fff9eb;outline-offset:4px}.offer-enable{display:flex;align-items:center;gap:9px;font-size:13px;margin:0 0 18px}.offer-enable input{width:18px;height:18px;margin:0}.preview-room .yugen-cta-pulse{cursor:default}
@keyframes yugen-bussola-pulse{0%,100%{transform:scale(1);box-shadow:0 4px 14px rgba(0,0,0,.15),0 0 0 0 rgba(231,206,151,0)}50%{transform:scale(1.02);box-shadow:0 6px 20px rgba(0,0,0,.18),0 0 0 6px rgba(231,206,151,.16)}}
@media(prefers-reduced-motion:reduce){.yugen-cta-pulse{animation:none}}

/* Textos opcionais não deixam faixas ou margens vazias. */
[data-copy]:empty,.room-shell #title:empty,.room-shell #subtitle:empty,#session-label:empty,#waiting-text:empty,#player-status:empty,#end-text:empty,#chat-notice:empty,#sender-name:empty,#offer-eyebrow:empty,#offer-title:empty,#offer-description:empty,#offer-footer:empty,#offer-buttonLabel:empty,.empty-chat:empty,.message-name:empty,.message-badge:empty{display:none}
.brand:has([data-copy="brand"]:empty):has([data-copy="tagline"]:empty),.room-footer:has([data-copy="footerLeft"]:empty):has([data-copy="footerRight"]:empty),.connection:has(#connection:empty),.intro:has(#title:empty):has(#subtitle:empty):has(#session-label:empty),.offer-copy:has(#offer-eyebrow:empty):has(#offer-title:empty):has(#offer-description:empty){display:none}
.copy-search-label{display:block;font-size:12px;margin:18px 0 7px}.admin-buttons a{text-decoration:none}#class-settings,#offer-settings{scroll-margin-top:16px}

.scheduled-row{display:flex;align-items:flex-start;gap:16px;border-bottom:1px solid var(--line);padding:14px 0}.scheduled-row>div{flex:1;min-width:0}.scheduled-row strong{font-size:12px;color:var(--heading)}.scheduled-row p{font-size:13px;margin:5px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}.scheduled-row button{flex-shrink:0}.scheduled-item-editor{padding:18px;background:var(--soft);border:1px solid var(--line);border-radius:8px;margin:18px 0}.scheduled-item-editor h3{margin:0 0 15px;font-size:16px}#scheduled-settings{scroll-margin-top:20px}#scheduled-search{margin-top:8px}.copy-field-help{font-size:11px;color:var(--muted);font-weight:normal}

/* Sala de exibição: vídeo horizontal e conversa lado a lado. Escopo exclusivo
   da sala; cadastro e painel mantêm seus próprios componentes. */
.watch-room .site-header{padding:16px 24px;max-width:1500px}
.watch-room .brand{font-size:30px}.watch-room .brand span{font-size:9px;letter-spacing:1.5px;margin-top:5px}
.watch-room .room-shell{max-width:1500px;padding:24px}
.watch-room .room-grid{grid-template-columns:minmax(0,1fr) clamp(310px,27vw,370px);gap:22px}
.watch-room .room-grid.no-chat{grid-template-columns:minmax(0,1120px)}
.watch-room .room-grid.chat-only:not(.no-chat){grid-template-columns:minmax(0,1fr) minmax(350px,1.2fr)}
.watch-room .video-frame{aspect-ratio:16/9;border-radius:12px;min-height:0;background:#101314}
.watch-room .video-actions{padding:8px 0;gap:12px;flex-wrap:nowrap;min-height:52px}
.watch-room .video-actions p{flex:1;min-width:0;font-size:12px}
.watch-room #toggle-audio{min-height:36px;padding:7px 14px;border-radius:20px;flex-shrink:0}
.watch-room .watch-details{padding:12px 0 16px}
.watch-room .intro{margin:0;padding:0}
.watch-room .intro h1{font:650 22px/1.35 system,Arial,sans-serif;letter-spacing:-.3px;margin:0 0 5px}
.watch-room #subtitle{font-size:14px;color:var(--muted);margin:0;overflow-wrap:anywhere}
.watch-room .intro:has(#title:empty):has(#subtitle:empty){display:none}
.watch-room .watch-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.watch-room #session-label{font-size:12px;overflow-wrap:anywhere}
.watch-room .watch-meta:has(#session-label:empty):has(#toggle-chat[hidden]){display:none}
.watch-room .chat-toggle,.watch-room .chat-close{border:0;background:var(--soft2);color:var(--ink);min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:24px;padding:8px 14px;font-size:12px;flex-shrink:0}
.watch-room .chat-toggle:hover,.watch-room .chat-close:hover{background:var(--soft)}
.watch-room .chat-toggle-icon{font-size:16px;line-height:1}
.watch-room .chat-close{width:36px;height:36px;min-height:36px;padding:0;background:transparent;font:26px/1 Arial,sans-serif}
.watch-room .waiting-card,.watch-room .end-card{min-height:350px;aspect-ratio:16/9;border-radius:12px;padding:32px}
.watch-room .waiting-card h2,.watch-room .end-card h2{font-size:30px}
.watch-room .enso{width:52px;height:52px;margin-bottom:12px}
.watch-room .chat-card{height:clamp(500px,calc(100dvh - 125px),780px);border-radius:12px;position:sticky;top:16px}
.watch-room .chat-heading{padding:15px 16px 12px;gap:12px;border-bottom:1px solid var(--line)}
.watch-room .chat-heading h2{font:650 16px/1.4 system,Arial,sans-serif}
.watch-room .chat-heading .eyebrow{font-size:10px;letter-spacing:1.1px;margin-bottom:3px}
.watch-room .chat-notice{font-size:12px;line-height:1.5;padding:10px 16px}
.watch-room .chat-ended{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:36px 24px;text-align:center}
.watch-room .chat-ended svg{width:42px;height:42px;color:var(--muted)}
.watch-room .chat-ended h2{margin:0;font-size:21px;font-weight:600}
.watch-room .chat-ended p{margin:0;max-width:300px;color:var(--muted);white-space:pre-line}
.watch-room .messages{padding:14px 16px;min-height:0;overscroll-behavior-y:contain}
.watch-room .empty-chat{margin:35px 0;font-size:13px}
.watch-room .chat-message{display:flex;align-items:flex-start;gap:9px;margin:0 0 13px;padding:0;border:0}
.watch-room .message-avatar{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:50%;background:var(--badge);color:var(--heading);font-size:10px;font-weight:650;margin-top:2px}
.watch-room .is-team .message-avatar{background:var(--primary);color:var(--onPrimary)}
.watch-room .message-body{min-width:0;line-height:1.5}
.watch-room .message-heading{display:inline;margin:0}
.watch-room .message-name{font-size:13px;margin-right:6px;color:var(--muted)}
.watch-room .is-team .message-name{color:var(--heading)}
.watch-room .message-time{font-size:10px;margin:0 6px 0 0}
.watch-room .message-badge{margin-right:6px}
.watch-room .message-text{display:inline;font-size:14px;line-height:1.55;color:var(--ink);overflow-wrap:anywhere}
.watch-room .chat-bottom{padding:12px 14px}
.watch-room .chat-bottom input,.watch-room .chat-bottom textarea{min-height:44px;font-size:14px;border-radius:20px;padding:10px 13px}
.watch-room .chat-bottom .primary{border-radius:22px;min-height:44px;padding:9px 13px}
.watch-room .sender{font-size:12px;gap:8px}.watch-room .text-button{font-size:12px}
.watch-room .yugen-black-bussola{max-width:none;margin:0 0 16px;padding:16px;gap:18px;border-radius:12px}
.watch-room .offer-copy{flex:1 1 210px}.watch-room .offer-action{flex:0 1 250px}
.watch-room .offer-eyebrow{font-size:10px;letter-spacing:1px;margin-bottom:4px}
.watch-room .yugen-black-bussola h2{font:650 20px/1.3 system,Arial,sans-serif;letter-spacing:0}
.watch-room .offer-description{font-size:13px;margin-top:5px}
.watch-room .yugen-cta-pulse{min-height:46px;font-size:14px;padding:11px 14px;animation:none;box-shadow:none}
.watch-room .offer-footer{font-size:11px;margin-top:6px}
.watch-room .room-footer{padding-top:18px;font-size:11px}
@media(max-width:1000px) and (min-width:761px){
  .watch-room .site-header{padding:14px 18px}.watch-room .room-shell{padding:20px 18px}
  .watch-room .room-grid{gap:16px;grid-template-columns:minmax(0,1fr) 310px}
  .watch-room .yugen-black-bussola{gap:12px}.watch-room .offer-action{flex:1 1 220px}
}
@media(max-width:760px){
  .watch-room .site-header{padding:12px 16px;gap:12px}
  .watch-room .brand{font-size:26px}.watch-room .brand span{font-size:8px;letter-spacing:1px}
  .watch-room .connection{font-size:11px}
  .watch-room .room-shell{padding:0 0 16px}
  .watch-room .room-grid,.watch-room .room-grid.chat-only,.watch-room .room-grid.no-chat{display:flex;flex-direction:column;gap:0;align-items:stretch}
  .watch-room .presentation{display:contents}
  .watch-room #live{position:sticky;top:0;z-index:3;background:var(--bg)}
  .watch-room .video-frame{border-radius:0}
  .watch-room .video-actions{padding:7px 12px;min-height:50px;gap:8px}
  .watch-room .video-actions p{font-size:11px;flex:1}
  .watch-room #toggle-audio{font-size:12px;min-height:36px;max-width:45%;white-space:normal}
  .watch-room .watch-details{padding:14px 16px}
  .watch-room .intro h1{font-size:18px;margin-bottom:4px}
  .watch-room #subtitle{font-size:13px}
  .watch-room .watch-meta{margin-top:10px;gap:10px}
  .watch-room #session-label{font-size:11px}
  .watch-room .chat-toggle{font-size:11px;padding:8px 12px;min-height:36px}
  .watch-room .waiting-card,.watch-room .end-card{aspect-ratio:auto;min-height:300px;border-radius:0;border-left:0;border-right:0;padding:28px 20px}
  .watch-room .waiting-card h2,.watch-room .end-card h2{font-size:27px}
  .watch-room .chat-only .end-card{min-height:230px}
  .watch-room .chat-card{position:static;height:clamp(390px,60svh,650px);border-radius:14px 14px 0 0;border-left:0;border-right:0}
  .watch-room .chat-heading{padding:12px 16px}
  .watch-room .chat-notice{font-size:12px;padding:9px 16px}
  .watch-room .chat-bottom input,.watch-room .chat-bottom textarea{font-size:16px}
  .watch-room .messages{padding:14px 16px}
  .watch-room .yugen-black-bussola{margin:0 12px 14px;width:auto;padding:13px;gap:12px;flex-wrap:nowrap}
  .watch-room .offer-copy{flex:1 1 50%}.watch-room .offer-action{flex:1 1 45%}
  .watch-room .offer-eyebrow{font-size:9px;letter-spacing:.7px}
  .watch-room .yugen-black-bussola h2{font-size:16px}
  .watch-room .offer-description{font-size:12px}
  .watch-room .yugen-cta-pulse{font-size:13px;min-height:44px;padding:10px;gap:5px}
  .watch-room .offer-footer{font-size:10px}
  .watch-room[data-phase="live"] .yugen-black-bussola{position:sticky;top:var(--watch-player-height,calc(56.25vw + 50px));z-index:2}
  .watch-room .room-footer{padding:18px 16px 0;gap:5px}
}
@media(max-width:760px) and (max-height:500px){
  .watch-room #live,.watch-room[data-phase="live"] .yugen-black-bussola{position:static}
}
