:root{--yfth-bg:#050a10;--yfth-panel:#0b1520;--yfth-panel2:#101f2d;--yfth-line:#203446;--yfth-gold:#e4bf4b;--yfth-text:#f3f7fa;--yfth-muted:#91a2b1}
.yfth-v1{background:linear-gradient(135deg,#03070b,#07121b 55%,#0b1721);color:var(--yfth-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:720px;border-radius:22px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.35);max-width:1500px;margin:20px auto}.yfth-v1 *{box-sizing:border-box}.yfth-header{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--yfth-line);background:#071019}.yfth-brand{display:flex;gap:12px;align-items:center}.yfth-mark{width:42px;height:42px;border:1px solid var(--yfth-gold);border-radius:12px;display:grid;place-items:center;color:var(--yfth-gold);font-weight:900}.yfth-eyebrow{font-size:11px;letter-spacing:2.2px;color:var(--yfth-gold);font-weight:800}.yfth-brand-title{font-size:18px;font-weight:800}.yfth-live,.yfth-live-label{display:flex;gap:7px;align-items:center;color:#fff;font-weight:800;font-size:12px}.yfth-live{background:#a52323;border-radius:999px;padding:8px 12px}.yfth-live span,.yfth-live-label span{width:7px;height:7px;border-radius:50%;background:#ff5252;display:block}.yfth-nav{display:flex;gap:6px;padding:12px 28px;background:#08121c;border-bottom:1px solid var(--yfth-line)}.yfth-nav a{color:var(--yfth-muted);text-decoration:none;padding:9px 14px;border-radius:9px;font-size:13px}.yfth-nav a.active{background:#15283a;color:#fff}.yfth-room{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px;padding:16px}.yfth-main,.yfth-rail{min-width:0}.yfth-stage-card,.yfth-audience-card,.yfth-join-card,.yfth-tabs,.yfth-panel{background:linear-gradient(180deg,var(--yfth-panel2),var(--yfth-panel));border:1px solid var(--yfth-line);border-radius:18px}.yfth-stage-card{padding:16px}.yfth-stage-top{display:flex;justify-content:space-between;align-items:flex-start}.yfth-stage-top h1{font-size:25px;margin:7px 0 3px}.yfth-stage-top p{margin:0;color:var(--yfth-muted)}.yfth-fullscreen{background:#132638;color:#fff;border:1px solid var(--yfth-line);border-radius:10px;padding:9px 13px;font-size:20px}.yfth-stage{height:390px;margin-top:16px;border-radius:15px;background:radial-gradient(circle at 50% 30%,#20384b,#071018 68%);border:1px solid #263e50;position:relative;display:grid;place-items:center;overflow:hidden}.yfth-stage-placeholder{text-align:center;color:var(--yfth-muted)}.yfth-avatar{width:88px;height:88px;border-radius:50%;border:2px solid var(--yfth-gold);display:grid;place-items:center;margin:auto;color:var(--yfth-gold);font-weight:900;font-size:22px}.yfth-stage-name{color:#fff;font-size:20px;font-weight:800;margin-top:12px}.yfth-stage-note{font-size:13px;margin-top:4px}.yfth-stage-badge{position:absolute;top:14px;right:14px;left:auto;background:rgba(12,30,42,.86);border:1px solid #4f8f63;padding:7px 10px;border-radius:999px;color:#c8efd0;font-size:10px;font-weight:900;letter-spacing:1.35px;z-index:5;backdrop-filter:blur(4px)}.yfth-stage-badge[hidden]{display:none}.yfth-stage-badge span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#63d47b;margin-right:6px;vertical-align:middle}.yfth-stage-participants{padding-top:16px}.yfth-section-title{font-size:11px;letter-spacing:1.7px;color:var(--yfth-gold);font-weight:900}.yfth-section-title span{color:#fff;margin-left:6px;letter-spacing:0}.yfth-mini-grid{margin-top:10px;min-height:58px}.yfth-mini-empty{border:1px dashed #2b4151;border-radius:11px;padding:18px;color:var(--yfth-muted);font-size:13px;text-align:center}.yfth-audience-card{margin-top:16px;padding:18px;display:flex;justify-content:space-between;gap:15px;align-items:center}.yfth-audience-card p{margin:7px 0 0;color:var(--yfth-muted);font-size:13px}.yfth-outline-btn,.yfth-question-btn{background:transparent;border:1px solid #345064;color:#dbe7ef;border-radius:10px;padding:11px 14px}.yfth-controls{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-top:16px}.yfth-controls button{background:#0d1b27;color:#eaf1f5;border:1px solid var(--yfth-line);border-radius:12px;padding:12px 7px;min-height:65px}.yfth-controls b{display:block;font-size:18px;margin-bottom:5px}.yfth-controls span{font-size:11px}.yfth-controls .leave{border-color:#6d3434}.yfth-join-card{padding:20px}.yfth-join-card h2{font-size:24px;margin:8px 0}.yfth-join-card p,.yfth-panel p{color:var(--yfth-muted);font-size:13px;line-height:1.5}.yfth-join-card label,.yfth-join-sheet label{display:block;color:#b9c7d1;font-size:12px;margin-top:16px}.yfth-join-card input,.yfth-join-sheet input{display:block;width:100%;margin-top:7px;padding:14px;border-radius:11px;background:#07121c;border:1px solid #2a4052;color:#fff;outline:none}.yfth-join-primary,.yfth-role{width:100%;margin-top:12px;border:1px solid var(--yfth-gold);background:#10273a;color:#fff;border-radius:13px;padding:15px;text-align:left;font-size:15px;font-weight:800;display:flex;justify-content:space-between}.yfth-join-primary span,.yfth-role span{color:var(--yfth-gold);font-size:25px;line-height:15px}.yfth-status{font-size:12px;color:var(--yfth-muted);margin-top:10px}.yfth-tabs{display:grid;grid-template-columns:repeat(4,1fr);margin-top:16px;overflow:hidden}.yfth-tabs button{border:0;border-right:1px solid var(--yfth-line);background:transparent;color:var(--yfth-muted);padding:13px 6px}.yfth-tabs button.active{color:var(--yfth-gold);background:#0d1a25}.yfth-panel{margin-top:0;border-top-left-radius:0;border-top-right-radius:0;padding:22px;min-height:230px}.yfth-panel h3{font-size:20px;margin:10px 0}.yfth-question-btn{margin-top:10px}.yfth-join-sheet{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:99999;display:grid;align-items:end}.yfth-join-sheet[hidden]{display:none}.yfth-sheet-inner{background:#091723;border:1px solid var(--yfth-gold);border-bottom:0;border-radius:24px 24px 0 0;padding:25px 22px 32px;max-width:650px;width:100%;margin:auto}.yfth-close{float:right;border:1px solid #294052;background:#102435;color:#fff;border-radius:10px;font-size:25px;width:45px;height:45px}.yfth-toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#122a3d;border:1px solid var(--yfth-gold);color:#fff;padding:12px 16px;border-radius:10px;transition:.2s;z-index:100000}.yfth-toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:900px){.yfth-room{grid-template-columns:1fr}.yfth-rail{order:2}.yfth-stage{height:330px}}@media(max-width:600px){.yfth-v1{border-radius:0;margin:0;min-height:100vh}.yfth-header{padding:0 15px;height:66px}.yfth-brand-title{font-size:15px}.yfth-nav{padding:9px 12px;overflow:auto}.yfth-room{padding:10px}.yfth-stage-card{padding:12px}.yfth-stage{height:260px}.yfth-stage-top h1{font-size:20px}.yfth-audience-card{align-items:flex-start;flex-direction:column}.yfth-controls{grid-template-columns:repeat(3,1fr)}.yfth-controls button{min-height:60px}.yfth-join-card{display:none}.yfth-rail{display:flex;flex-direction:column}.yfth-tabs{order:1}.yfth-panel{order:2}.yfth-join-sheet{display:grid}.yfth-live{font-size:10px;padding:7px 9px}}@media(min-width:601px){.yfth-join-sheet{display:none!important}}

.yfth-mobile-join{display:none;width:100%;margin-top:16px;padding:15px 16px;border:1px solid var(--yfth-gold);border-radius:14px;background:#10273a;color:#fff;text-align:left;align-items:center;justify-content:space-between}
.yfth-mobile-join strong{display:block;font-size:16px}
.yfth-mobile-join small{display:block;color:var(--yfth-muted);font-size:12px;margin-top:4px}
.yfth-mobile-join>b{color:var(--yfth-gold);font-size:28px}
@media(max-width:600px){.yfth-mobile-join{display:flex}}

.yfth-session-meta{font-size:12px!important;color:#748999!important}.yfth-detail-line{margin:5px 0!important;font-size:12px!important}.yfth-detail-line strong{color:#dce6ed}

.yfth-role-list{display:grid;gap:9px;margin-top:12px}.yfth-role-list button{margin-top:0!important}.yfth-role-list button[disabled]{opacity:.55}.yfth-status.success{color:#9dd5a9}.yfth-status.error{color:#ff9c9c}

.yfth-presence-list{width:100%;margin-top:14px;border-top:1px solid rgba(255,255,255,.08);padding-top:10px}.yfth-presence-row,.yfth-stage-person{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.06)}.yfth-presence-row strong,.yfth-stage-person strong{font-size:13px}.yfth-presence-row small,.yfth-stage-person small{margin-left:auto;color:#8293a1;text-transform:capitalize}.yfth-presence-dot{width:8px;height:8px;border-radius:50%;background:#8fcf8f;display:inline-block;flex:0 0 auto}.yfth-presence-empty{color:#758797;font-size:13px;padding:8px 0}.yfth-stage-person{border:1px solid rgba(255,255,255,.06);border-radius:10px;padding:10px;margin-bottom:7px;background:rgba(255,255,255,.02)}

/* Stage 5 — Audience Questions */
.yfth-question-note{margin-bottom:14px}
.yfth-question-compose{border:1px solid var(--yfth-line);background:#07121c;border-radius:13px;padding:12px}
.yfth-question-compose textarea{display:block;width:100%;resize:vertical;min-height:96px;max-height:220px;background:#0a1823;color:#fff;border:1px solid #294052;border-radius:10px;padding:12px;font:inherit;font-size:13px;line-height:1.45;outline:none}
.yfth-question-compose textarea:focus{border-color:var(--yfth-gold)}
.yfth-question-compose-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}
.yfth-question-compose-row>span{font-size:11px;color:var(--yfth-muted)}
.yfth-question-compose .yfth-question-btn{margin-top:0;cursor:pointer}
.yfth-question-compose .yfth-question-btn:disabled{opacity:.55;cursor:wait}
.yfth-question-status{min-height:18px;margin-top:8px;color:var(--yfth-muted);font-size:11px}
.yfth-question-feed{margin-top:16px;max-height:410px;overflow:auto;padding-right:2px}
.yfth-question-empty{border:1px dashed #2b4151;border-radius:11px;padding:18px;color:var(--yfth-muted);font-size:13px;text-align:center}
.yfth-question-item{border:1px solid var(--yfth-line);background:#091722;border-radius:12px;padding:12px;margin-bottom:9px}
.yfth-question-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.yfth-question-head strong{font-size:12px;color:#fff}
.yfth-question-head time{font-size:10px;color:var(--yfth-muted)}
.yfth-question-text{margin-top:8px;color:#dce7ee;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){
 .yfth-question-feed{max-height:360px}
 .yfth-question-compose-row{align-items:flex-end}
 .yfth-question-compose .yfth-question-btn{padding:10px 12px}
}

.yfth-speaking-status{padding:10px 12px;border:1px solid rgba(255,255,255,.12);border-radius:10px;margin:10px 0;font-size:13px}.yfth-speaking-queue{display:flex;flex-direction:column;gap:8px}.yfth-speaking-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:11px 12px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:rgba(255,255,255,.025)}.yfth-speaking-row small{display:block;opacity:.65;margin-top:3px}.yfth-speaking-actions{display:flex;gap:6px}.yfth-speaking-actions button{border:0;border-radius:7px;padding:7px 9px;cursor:pointer}.yfth-speaking-actions button+button{opacity:.8}


/* Stage 7 — Live media stage */
.yfth-stage-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;background:#050b10;z-index:1}
.yfth-stage-video[hidden]{display:none}
.yfth-stage-placeholder{position:relative;z-index:2}
.yfth-media-status{position:absolute;left:14px;bottom:14px;z-index:4;background:rgba(5,12,18,.78);border:1px solid rgba(255,255,255,.12);border-radius:9px;padding:7px 10px;font-size:11px;color:#c6d2da}
.yfth-media-status.success{border-color:#4f8f63;color:#bce4c5}.yfth-media-status.error{border-color:#8c4545;color:#ffb2b2}
.yfth-stage-invite{margin-top:10px;border:1px solid var(--yfth-gold);background:#10273a;border-radius:13px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.yfth-stage-invite[hidden]{display:none}.yfth-stage-invite strong{display:block;color:#fff;font-size:13px}.yfth-stage-invite small{display:block;color:var(--yfth-muted);font-size:11px;margin-top:4px}.yfth-stage-invite button{border:1px solid var(--yfth-gold);background:#182f42;color:#fff;border-radius:9px;padding:10px 14px;font-weight:800;white-space:nowrap}
@media(max-width:600px){.yfth-stage-invite{align-items:flex-start;flex-direction:column}.yfth-stage-invite button{width:100%}}

/* Stage 7.1 — participant live thumbnails */
.yfth-stage-person{display:flex;align-items:center;gap:10px;min-height:58px}
.yfth-stage-thumb{width:64px;height:44px;flex:0 0 64px;position:relative;overflow:hidden;border-radius:8px;border:1px solid rgba(255,255,255,.10);background:#050b10;display:flex;align-items:center;justify-content:center}
@media (max-width: 767px){
  .yfth-stage-video{object-fit:cover;}
}
@media (min-width: 768px){
  .yfth-stage-video{object-fit:contain;}
}
/* v1.8.8 — true desktop layout: desktop gets its own landscape stage.
   The stage is desktop-shaped; the camera feed is rendered independently.
   Full-screen rules remain below and are intentionally unchanged. */
@media (min-width: 901px){
  .yfth-room{grid-template-columns:minmax(0,1fr) 350px;gap:18px;}
  .yfth-stage-card{padding:18px;}
  .yfth-stage{height:clamp(500px,68vh,680px);min-height:500px;margin-top:16px;}
  .yfth-stage-video{width:100%;height:100%;object-fit:cover;object-position:center center;}
}
@media (min-width: 901px) and (max-width: 1200px){
  .yfth-room{grid-template-columns:minmax(0,1fr) 330px;gap:14px;}
  .yfth-stage{height:clamp(460px,64vh,590px);min-height:460px;}
}
.yfth-stage:fullscreen{width:100vw;height:100vh;border-radius:0;background:#000;}
.yfth-stage:-webkit-full-screen{width:100vw;height:100vh;border-radius:0;background:#000;}
.yfth-stage:fullscreen .yfth-stage-video,.yfth-stage:-webkit-full-screen .yfth-stage-video{object-fit:cover;object-position:center center;width:100%;height:100%;}
.yfth-stage-thumb video{width:100%;height:100%;display:block;object-fit:cover}
.yfth-stage-thumb-placeholder{color:#d8b83f;font-weight:700;font-size:13px}
.yfth-stage-person strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:520px){.yfth-stage-thumb{width:58px;height:40px;flex-basis:58px}}


/* Stage 8A — Moderator Control Center */
.yfth-moderator-center{margin-top:16px;padding:18px;border:1px solid rgba(214,183,61,.34);border-radius:18px;background:linear-gradient(180deg,#101f2c,#09131d);box-shadow:0 14px 35px rgba(0,0,0,.18)}
.yfth-moderator-center[hidden]{display:none}.yfth-moderator-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.yfth-moderator-head h2{font-size:20px;margin:6px 0}.yfth-moderator-head p{margin:0;color:var(--yfth-muted);font-size:12px}.yfth-mod-pill{border:1px solid #55705c;color:#c8efd0;background:#10251a;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900;letter-spacing:1px}.yfth-mod-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.yfth-mod-stats div{padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.025)}.yfth-mod-stats strong{display:block;color:#fff;font-size:20px}.yfth-mod-stats span{display:block;color:var(--yfth-muted);font-size:10px;margin-top:3px}.yfth-mod-actions{display:flex;gap:8px;margin-top:10px}.yfth-mod-actions button{flex:1;border:1px solid #345064;background:#10273a;color:#fff;border-radius:10px;padding:10px;font-weight:700}.yfth-mod-section{margin-top:16px}.yfth-mod-section>.yfth-section-title{margin-bottom:9px}@media(max-width:600px){.yfth-moderator-head{flex-direction:column}.yfth-mod-pill{align-self:flex-start}.yfth-mod-actions{flex-direction:column}}

/* v1.8.9 — Stage 8C Responsive Presentation Modes
   Mobile/tablet, desktop and large-screen/TV presentations use distinct
   presentation rules while preserving the Stage 8B media/interaction logic. */
@media (min-width: 901px) and (max-width: 1599px){
  .yfth-room{grid-template-columns:minmax(0,1fr) 380px;align-items:start}
  .yfth-stage-card{min-width:0}
  .yfth-stage{min-height:500px;height:clamp(500px,66vh,680px)}
  .yfth-stage-video{object-fit:contain;object-position:center center}
  .yfth-stage-placeholder{max-width:80%;margin:auto}
}

/* Large displays / Smart-TV style presentation */
@media (min-width: 1600px){
  .yfth-v1{max-width:1800px;margin:0 auto;border-radius:0;min-height:100vh}
  .yfth-header{height:88px;padding:0 42px}
  .yfth-brand-title{font-size:21px}
  .yfth-nav{padding:14px 42px}
  .yfth-room{grid-template-columns:minmax(0,1fr) 440px;gap:22px;padding:22px}
  .yfth-stage-card{padding:20px;border-radius:20px}
  .yfth-stage-top h1{font-size:30px}
  .yfth-stage-top p{font-size:15px}
  .yfth-stage{height:calc(100vh - 300px);min-height:620px;max-height:900px;margin-top:18px;border-radius:18px}
  .yfth-stage-video{object-fit:contain;object-position:center center}
  .yfth-stage-badge{top:18px;right:18px;font-size:11px;padding:9px 13px}
  .yfth-stage-participants{padding-top:18px}
  .yfth-section-title{font-size:12px}
  .yfth-audience-card{padding:20px}
  .yfth-join-card{padding:24px}
  .yfth-join-card h2{font-size:28px}
  .yfth-tabs button{padding:16px 8px;font-size:14px}
  .yfth-panel{padding:26px;min-height:280px}
}

/* Touch/tablet presentation: keep the mobile interaction model without
   forcing the narrow-phone dimensions onto larger tablet screens. */
@media (min-width: 601px) and (max-width: 900px){
  .yfth-v1{border-radius:16px;margin:12px auto}
  .yfth-room{grid-template-columns:1fr;padding:14px}
  .yfth-stage-card{padding:15px}
  .yfth-stage{height:clamp(380px,58vh,560px);min-height:380px}
  .yfth-rail{order:2}
  .yfth-stage-video{object-fit:contain;object-position:center center}
  .yfth-controls{grid-template-columns:repeat(6,1fr)}
}

/* v1.8.10 — Stage 8D presentation/state polish */
.yfth-stage{transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.yfth-stage.is-live{border-color:#36546a;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}
.yfth-stage.is-local-live{border-color:#4f8f63;box-shadow:inset 0 0 0 1px rgba(99,212,123,.12),0 0 0 1px rgba(99,212,123,.05)}
.yfth-stage.is-waiting .yfth-stage-placeholder{opacity:.96}
.yfth-stage-video{background:#02070b}
.yfth-stage-video[hidden]{display:none!important}
.yfth-stage-badge{pointer-events:none;white-space:nowrap}
.yfth-stage-participants{overflow-x:auto}
.yfth-mini-grid{display:flex;gap:10px;align-items:center;overflow-x:auto;padding-bottom:2px}
.yfth-stage-person{flex:0 0 auto;min-width:190px;padding:7px 9px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.025)}
.yfth-stage-person small{color:var(--yfth-muted);font-size:10px;margin-left:auto;white-space:nowrap}
.yfth-stage-person .yfth-presence-dot{flex:0 0 7px}
.yfth-stage-thumb{box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}
@media(max-width:600px){.yfth-stage-person{min-width:170px}.yfth-stage-name{font-size:18px}.yfth-stage-note{max-width:280px;margin-left:auto;margin-right:auto}}

/* Stage 9A — Questions & Audience Interaction */
.yfth-question-compose textarea:disabled{opacity:.62;cursor:not-allowed}
.yfth-question-compose .yfth-question-btn:disabled{opacity:.48;cursor:not-allowed}
.yfth-question-published{display:inline-block;margin-top:9px;padding:3px 7px;border:1px solid #315b43;border-radius:999px;color:#9fe0b0;font-size:8px;font-weight:900;letter-spacing:1px}
.yfth-question-item-new{animation:yfthQuestionIn .24s ease-out}
@keyframes yfthQuestionIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}


/* Stage 9C — Live Chat */
.yfth-chat-live-dot{font-size:9px;color:#63d47b;vertical-align:middle;margin-left:5px}
.yfth-chat-feed{margin-top:12px;max-height:390px;min-height:180px;overflow:auto;padding:4px 2px 4px 0;scroll-behavior:smooth}
.yfth-chat-empty{border:1px dashed #2b4151;border-radius:11px;padding:18px;color:var(--yfth-muted);font-size:13px;text-align:center}
.yfth-chat-item{position:relative;border:1px solid var(--yfth-line);background:#091722;border-radius:12px;padding:11px 12px;margin-bottom:8px}
.yfth-chat-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.yfth-chat-head strong{font-size:12px;color:#fff}.yfth-chat-head time{font-size:9px;color:var(--yfth-muted)}
.yfth-chat-text{margin-top:6px;color:#dce7ee;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.yfth-chat-compose{margin-top:12px;border:1px solid var(--yfth-line);background:#07121c;border-radius:13px;padding:10px}
.yfth-chat-compose textarea{display:block;width:100%;resize:none;min-height:58px;max-height:150px;background:#0a1823;color:#fff;border:1px solid #294052;border-radius:10px;padding:10px;font:inherit;font-size:13px;line-height:1.4;outline:none}
.yfth-chat-compose textarea:focus{border-color:var(--yfth-gold)}
.yfth-chat-compose textarea:disabled{opacity:.58;cursor:not-allowed}
.yfth-chat-compose-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}.yfth-chat-compose-row>span{font-size:10px;color:var(--yfth-muted)}
.yfth-chat-compose-row button{margin-top:0;cursor:pointer}.yfth-chat-compose-row button:disabled{opacity:.48;cursor:not-allowed}
.yfth-chat-delete{display:block;margin-top:8px;margin-left:auto;border:1px solid #5b3d3d;background:#241719;color:#f0b7b7;border-radius:7px;padding:5px 8px;font-size:10px;cursor:pointer}
@media(max-width:600px){.yfth-chat-feed{max-height:360px}.yfth-chat-item{padding:10px}.yfth-chat-text{font-size:12px}}
/* Stage 9D — Live Polls */
.yfth-poll-moderator{border:1px solid var(--yfth-line);background:#07121c;border-radius:13px;padding:10px;margin-bottom:12px}.yfth-poll-moderator input{display:block;width:100%;box-sizing:border-box;margin-bottom:7px;background:#0a1823;color:#fff;border:1px solid #294052;border-radius:9px;padding:9px;font:inherit;font-size:12px}.yfth-poll-actions{display:flex;gap:7px;flex-wrap:wrap}.yfth-poll-actions button{margin-top:0}.yfth-poll-card{border:1px solid var(--yfth-line);background:#091722;border-radius:12px;padding:12px;margin-bottom:10px}.yfth-poll-card h4{margin:0 0 11px;color:#fff;font-size:14px}.yfth-poll-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin:7px 0}.yfth-poll-vote{width:100%;text-align:left;background:#0d202d;border:1px solid #294052;color:#e6eef3;border-radius:9px;padding:9px;cursor:pointer}.yfth-poll-vote:hover:not(:disabled){border-color:var(--yfth-gold)}.yfth-poll-vote:disabled{opacity:.72;cursor:not-allowed}.yfth-poll-result{font-size:9px;color:var(--yfth-muted);white-space:nowrap}.yfth-poll-foot{font-size:9px;color:var(--yfth-muted);margin-top:10px}.yfth-poll-voted{margin-top:8px;font-size:10px;color:#9fe0b0}.yfth-poll-options{margin-top:8px}

.yfth-mod-create-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.yfth-mod-create-grid input{min-width:0;padding:11px;border:1px solid #444;border-radius:7px;background:#0b0b0b;color:#fff}
.yfth-mod-create-grid button,.yfth-mod-actions button,.yfth-speaking-actions button{border:1px solid #555;background:#111;color:#fff;border-radius:7px;padding:9px 12px;cursor:pointer}
.yfth-mod-create-grid button:hover,.yfth-mod-actions button:hover,.yfth-speaking-actions button:hover{border-color:#f5b91b}
.yfth-recording-status{padding:12px;border:1px solid #333;border-radius:8px;background:#0d0d0d;color:#bbb}
@media(max-width:700px){.yfth-mod-create-grid{grid-template-columns:1fr}}

/* v1.9.2 Responsive Layout Fix */
.yfth-v1{width:100%;max-width:1500px}
.yfth-room,.yfth-main,.yfth-rail{min-width:0}
@media (max-width:980px){
  .yfth-v1{width:100%;max-width:none;margin:0;border-radius:0;min-height:100vh}
  .yfth-room{grid-template-columns:1fr;gap:12px;padding:12px}
  .yfth-main,.yfth-rail{width:100%;min-width:0}
  .yfth-rail{order:2}
  .yfth-stage{width:100%;height:min(58vw,420px);min-height:280px}
  .yfth-controls{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:600px){
  .yfth-room{padding:8px}
  .yfth-stage-card{padding:10px}
  .yfth-stage{height:58vw;min-height:230px;max-height:340px}
  .yfth-stage-top{gap:8px}
  .yfth-stage-top h1{font-size:20px}
  .yfth-stage-top p{font-size:12px}
  .yfth-audience-card{align-items:flex-start;flex-direction:column}
  .yfth-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .yfth-controls button{min-height:58px;padding:9px 5px}
  .yfth-controls span{font-size:10px}
  .yfth-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
  .yfth-panel{padding:15px}
}
