/* ---- Fonte original: v31-controls-youtube.css ---- */
/* V31: menos controles expostos, menus com os botoes originais, sem duplicar acao. */
.v26-actions:has(#v31More){position:relative;overflow:visible!important;flex-wrap:wrap!important;align-items:stretch;max-height:none!important}
.v26-actions>.v31-room-more{position:relative;min-width:0;margin-left:auto;z-index:24}
.v26-actions>.v31-room-more>summary{display:flex;align-items:center;justify-content:center;min-height:35px;box-sizing:border-box;cursor:pointer;list-style:none;background:#30263e;color:#f2e9ff;border:1px solid #9f75b25e;border-radius:9px;padding:8px 11px;font-size:12px;font-weight:750;white-space:nowrap}
.v31-room-more>summary::-webkit-details-marker{display:none}
.v31-room-more[open]>summary{background:#644087;border-color:#be91ec}
.v31-more-panel{position:absolute;z-index:48;right:0;top:calc(100% + 8px);width:min(300px,calc(100vw - 24px));max-height:min(65dvh,570px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:12px;background:#1c1529;border:1px solid #a87dd075;box-shadow:0 20px 60px #000b;border-radius:16px;color:#f8edff;display:flex;flex-direction:column;gap:10px}
.v31-more-panel>strong{font-size:12px;color:#d9b8f7}
.v31-more-actions,.v31-more-panel .room-aux-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:6px!important;padding:0!important;margin:0!important}
.v31-danger-zone{display:flex;flex-direction:column}
.v31-more-panel .v31-danger-button{width:100%!important;flex:1 1 100%!important;max-width:none!important;justify-content:center!important;white-space:normal!important;text-align:center!important}
.v31-more-actions button,.v31-more-panel .room-aux-actions button,.v31-more-actions select{flex:1 1 130px!important;white-space:normal!important;width:auto!important;min-width:0!important;max-width:none!important;font-size:12px!important;min-height:38px!important;margin:0!important}
.v31-more-panel #qualityNote{margin:0!important;font-size:11px!important;color:#c5b6d8!important}
.v31-more-panel .room-details{width:100%;margin:0!important}
.v31-more-panel .room-details summary{padding:10px!important}
.cinema-room-header button[hidden],.room-toolbar button[hidden]{display:none!important}
.v31-yt-help{position:absolute;z-index:26;left:50%;top:50%;transform:translate(-50%,-50%);width:min(92%,420px);box-sizing:border-box;padding:16px;background:#171021ed;color:#fff;border:1px solid #cc9cff;border-radius:15px;box-shadow:0 14px 50px #000b;text-align:center;font-size:13px;backdrop-filter:blur(10px)}
.v31-yt-help p{margin:0 0 12px;line-height:1.5;font-size:13px}
.v31-yt-help-actions{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}
.v31-yt-help button,.v31-yt-help a{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:9px;background:#7351ac;border:1px solid #bd95e5;color:#fff;padding:9px 12px;font-size:12px;line-height:1.2;text-decoration:none;cursor:pointer}
@media(max-width:680px){
 .room-toolbar{gap:5px!important}
 .v26-actions:has(#v31More)>button{flex:1 1 90px!important;min-width:0!important;max-width:none!important;font-size:11px!important;padding:8px 7px!important}
 .v26-actions>.v31-room-more{flex:1 1 auto}
 .v26-actions>.v31-room-more>summary{font-size:11px;padding:7px 9px}
 .v31-more-panel{right:0;left:auto;max-height:70dvh;width:min(286px,calc(100vw - 16px));padding:10px}
 .v31-more-actions,.v31-more-panel .room-aux-actions{display:grid;grid-template-columns:1fr!important}
 .v31-more-actions button,.v31-more-actions select,.v31-more-panel .room-aux-actions button{width:100%!important;max-width:none!important;justify-content:flex-start!important;text-align:left!important;padding:11px 12px!important}
 .v31-more-panel .v31-danger-button{justify-content:center!important;text-align:center!important}
 .cinema-room-header h1{font-size:17px!important;max-width:min(70vw,250px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 .v31-yt-help{padding:12px;width:93%;max-height:95%;overflow:auto}
 .v31-yt-help p{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.v31-yt-help{backdrop-filter:none}}

.premium-topbar #leaveTop[hidden]{display:none!important}

.v26-actions>#v31More{max-width:none!important;flex:1 0 auto!important}
.v26-actions>#v31More>summary{height:100%;min-height:46px;box-sizing:border-box}
.v31-more-actions #v26More[hidden]{display:none!important}
#roomColumns:is(:fullscreen,.v26-pseudo-stage) .v31-more-panel{position:fixed;top:auto;bottom:60px;right:12px;z-index:2147483600;max-height:calc(100dvh - 90px)}
#roomColumns:is(:fullscreen,.v26-pseudo-stage) .v26-actions:has(#v31More){overflow:visible!important}
@media(max-width:680px){.v31-more-panel{left:auto;right:0}}


/* V32: menu compacto no celular e acao destrutiva destacada. */
.cinema-room-header{align-items:flex-start!important}
.cinema-room-header > div{min-width:0}
.cinema-room-header h1{overflow-wrap:anywhere}
.v31-more-panel select#quality{width:100%!important}
.v31-more-panel .room-details summary{white-space:normal!important}

/* ---- Fonte original: v33-chat-scroll.css ---- */
/* V33: chat da sala sempre rolavel no Android em modo normal.
   Mantem intactos os modos cinema/paisagem, os dados e a transmissao. */
@media (max-width:850px) {
  #roomColumns.cinema-stage:not(.cinema-mode):not(.v26-pseudo-stage):not(:fullscreen) > .cinema-chat-panel {
    flex:0 0 auto!important;
    width:100%!important;
    height:clamp(295px,37dvh,350px)!important;
    min-height:295px!important;
    max-height:350px!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
  }
  #roomColumns.cinema-stage:not(.cinema-mode):not(.v26-pseudo-stage):not(:fullscreen) > .cinema-chat-panel .cinema-chat-head {
    flex:0 0 auto!important;
  }
  #roomColumns.cinema-stage:not(.cinema-mode):not(.v26-pseudo-stage):not(:fullscreen) > .cinema-chat-panel .chat {
    flex:1 1 0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch;
  }
  #roomColumns.cinema-stage:not(.cinema-mode):not(.v26-pseudo-stage):not(:fullscreen) > .cinema-chat-panel #chatForm {
    flex:0 0 auto!important;
    min-width:0!important;
    width:100%!important;
    z-index:2;
  }
  #roomColumns.cinema-stage:not(.cinema-mode):not(.v26-pseudo-stage):not(:fullscreen) > .cinema-chat-panel #chatForm input[name="text"] {
    min-width:0!important;
    width:100%;
    font-size:16px!important; /* evita zoom involuntario no iOS */
  }
  html:has(#roomColumns.cinema-stage) {scroll-padding-bottom:max(24px,env(safe-area-inset-bottom));}
  body:has(#roomColumns.cinema-stage):not(.v26-lock-scroll) {overflow-y:auto!important;touch-action:pan-y;}
}
@media (max-width:850px) and (max-height:680px) {
  #roomColumns.cinema-stage:not(.cinema-mode):not(.v26-pseudo-stage):not(:fullscreen) > .cinema-chat-panel {
    height:290px!important;min-height:290px!important;max-height:290px!important;
  }
}

/* ---- Fonte original: v34-cinema-ui.css ---- */
/* V34 – interface aprovada: fundo violeta premium, clapper e controles mínimos.
   Prioridade: touch mobile; sem sobrescrever fullscreen/cinema legado. */
:root{--v34-border:rgba(208,154,255,.23);--v34-glow:#c34fff;--v34-card:#241730}
body{background:radial-gradient(ellipse at 85% 7%,#34154144,transparent 36%),radial-gradient(ellipse at 10% 60%,#2911373d,transparent 40%),#0e0818}
.premium-topbar{background:rgba(17,9,30,.96)!important;border-bottom:1px solid #bd80ff10!important;box-shadow:0 5px 25px #05010a30;padding:12px clamp(15px,3.6vw,36px)!important}
.premium-topbar .brand-home{display:flex;align-items:center;gap:10px;font-weight:800}
.premium-topbar .brand-home span{font-size:clamp(15px,2.4vw,21px)!important;letter-spacing:-.035em}
.premium-topbar .brand-home small{font-size:10px!important;color:#d69cff!important;border:1px solid #a477ce55;border-radius:20px;padding:3px 5px}
body:has(.v34-home) #adminNav,body:has(.v34-home) #supportNav,body:has(.v34-home) #logout{display:none!important}
body:has(.v34-home) #menuNav{font-size:20px!important}
.v34-notices-top{width:40px!important;height:40px!important;border-radius:13px!important;background:#332342!important;border:1px solid #ffffff25!important;color:#eacbff!important;box-shadow:none!important;padding:5px!important}
/* Home */
.v34-home{max-width:1060px;margin:auto}
.v34-home .v34-hero{min-height:0!important;padding:clamp(24px,5vw,50px)!important;display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(165px,.7fr)!important;align-items:center!important;gap:12px!important;border-radius:26px!important;border:1px solid #b774ed81!important;box-shadow:0 25px 64px #11031e9c,inset 0 1px #fff3!important;background:radial-gradient(circle at 93% 2%,#721ba6a1,transparent 49%),linear-gradient(120deg,#341449,#1a112c 70%,#25123a)!important;margin:9px 0 24px!important;overflow:hidden}
.v34-hero .eyebrow{color:#d688fb!important;letter-spacing:.17em;font-weight:800;font-size:clamp(10px,1.3vw,14px)!important}
.v34-hero .eyebrow:before{width:29px;background:#d888fc}
.v34-hero h1{margin:22px 0 12px!important;font-size:clamp(27px,4.3vw,52px)!important;line-height:1.14!important;max-width:650px!important;letter-spacing:-.045em;font-weight:850}
.v34-hero h1 em{color:#c56cff!important}
.v34-hero p{margin:0!important;font-size:clamp(13px,1.6vw,16px)!important;max-width:450px;line-height:1.65!important;color:#d9c5e6!important}
.v34-hero-art{min-height:120px;display:grid;place-items:center;position:relative}
.v34-hero-art:before{content:"";position:absolute;inset:12%;background:radial-gradient(circle,#d23fff70,transparent 69%);filter:blur(22px)}
.v34-hero-art img{max-width:100%;width:250px;height:auto;filter:drop-shadow(0 13px 23px #ae44d679);position:relative}
.v34-home-search{display:grid;gap:12px;margin:0 0 22px}
.v34-home-search #create,.v34-empty #v34EmptyCreate{border:1px solid #eb7dff!important;background:linear-gradient(107deg,#ab42eb,#c437b5)!important;color:#fff!important;font-size:18px!important;font-weight:800;letter-spacing:-.03em;min-height:53px;border-radius:18px!important;box-shadow:0 16px 32px #8c22ca35!important}
.v34-search-field{width:100%;display:flex;align-items:center;gap:10px;background:linear-gradient(120deg,#292335,#241b2e);border:1px solid #a68ab56b;border-radius:18px;padding:0 16px;min-height:52px;font-weight:400!important}
.v34-search-field span{font-size:24px;color:#d8a6fa}
.v34-search-field #search{width:100%!important;min-width:0;flex:1;max-width:none!important;background:transparent!important;border:0!important;outline:none!important;box-shadow:none!important;font-size:15px!important;padding:14px 0!important;color:#eee4f6}
.v34-explore-title{font-size:clamp(24px,3.5vw,36px)!important;margin:34px 0 23px!important;letter-spacing:-.035em;position:relative}
.v34-explore-title:after{content:"";width:48px;height:3px;background:#ca5ef8;border-radius:4px;display:block;margin-top:9px}
.v34-home .v22-shortcuts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:17px 0 25px!important;overflow:visible!important}
.v34-home .v22-shortcuts button{width:100%!important;min-width:0!important;max-width:none!important;padding:13px 5px!important;border-radius:14px!important;background:linear-gradient(140deg,#32223d,#231b32)!important;border:1px solid #a97cb358!important;color:#eee1fb!important;font-size:clamp(10px,1.8vw,14px)!important;white-space:normal!important;line-height:1.25!important;box-shadow:none!important}
.v34-home .v34-empty{grid-column:1/-1;min-height:240px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:15px;border-radius:24px;border:1px solid #bd74dd75;background:radial-gradient(circle at 50% 100%,#582274a2,transparent 68%),linear-gradient(150deg,#2c163f,#181021 85%);padding:25px;box-shadow:inset 0 1px #ffffff22}
.v34-home .v34-empty img{width:130px;max-width:40%;filter:drop-shadow(0 8px 17px #a64bfc75)}
.v34-home .v34-empty strong{font-size:clamp(18px,2.8vw,28px);color:#fff;text-align:center}
.v34-home .v34-empty span{font-size:clamp(12px,2vw,15px);color:#dac9e8;text-align:center;line-height:1.6}
.v34-home .v34-empty #v34EmptyCreate{width:auto!important;min-width:170px;min-height:44px;font-size:14px!important;margin-top:3px}
/* Sala */
.v34-room-head{margin:0 0 14px!important;padding:0 4px!important}
.v34-room-head h1{font-size:clamp(19px,3vw,25px)!important;margin:2px 0 5px!important}
.v34-room-head .cinema-kicker{display:none!important}
.v34-room-head #back{font-size:12px!important;white-space:nowrap!important;border-radius:12px!important;padding:8px 11px!important}
#roomColumns.v34-room-stage{display:flex!important;flex-direction:column!important;gap:12px!important}
#roomColumns.v34-room-stage .cinema-player-panel{display:contents!important}
#roomColumns.v34-room-stage .cinema-video-wrap{order:1!important;max-width:100%!important;border:1px solid #bc7be260!important;border-radius:19px!important;box-shadow:0 15px 45px #0008!important;background:#070411 url('/assets/v34-cinema-fantasy.jpg') center/cover no-repeat!important;overflow:hidden!important}
#roomColumns.v34-room-stage .cinema-video-wrap #preview{background:transparent!important}
#roomColumns.v34-room-stage .cinema-video-wrap #linkPlayer:not(.hidden){background:#09050f!important}
#roomColumns.v34-room-stage .cinema-video-wrap .video-float{font-size:0!important;width:34px!important;height:34px!important;border-radius:12px!important;padding:5px!important}
#roomColumns.v34-room-stage .cinema-video-wrap .video-float:after{content:'⛶';font-size:19px!important}
#roomColumns.v34-room-stage .version-stamp{display:none!important}
#roomColumns.v34-room-stage .v26-actions{order:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:0!important;padding:0!important;min-height:48px;max-height:none!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
#roomColumns.v34-room-stage .v26-actions>*{min-width:0!important;width:100%!important;max-width:none!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;margin:0!important;padding:8px 7px!important;background:linear-gradient(155deg,#31253e,#272031)!important;color:#fff!important;border:1px solid #ab85c052!important;border-radius:16px!important;box-shadow:inset 0 1px #ffffff13!important;font-size:clamp(11px,1.5vw,14px)!important;font-weight:740!important}
#roomColumns.v34-room-stage .v26-actions>#v34MoreOpen{background:linear-gradient(130deg,#693884,#4a275f)!important;border-color:#be66e9b0!important}
#roomColumns.v34-room-stage .v26-actions>*:not(#toggleSound):not(#v22CopyRoom):not(#shareLink):not(#v34MoreOpen){display:none!important}
#roomColumns.v34-room-stage #streamStatus{order:3!important;color:#aa9db5!important;font-size:11px!important;margin:0 3px!important;padding:0!important}
#roomColumns.v34-room-stage #v34SafetyStatus{order:4!important;background:#21183266;border:1px solid #9371a63b;border-radius:12px;padding:7px 10px;font-size:11px;color:#c0aacc}
#roomColumns.v34-room-stage .cinema-chat-panel{order:5!important;width:100%!important;min-height:290px!important;height:clamp(315px,37dvh,420px)!important;max-height:430px!important;display:flex!important;flex-direction:column!important;padding:0!important;margin:4px 0 0!important;border:1px solid #9273ae60!important;border-radius:21px!important;overflow:hidden!important;background:linear-gradient(160deg,#21192c,#110e1d)!important}
#roomColumns.v34-room-stage .cinema-chat-panel .cinema-chat-head{padding:13px 17px!important;margin:0!important;flex:0 0 auto!important;background:linear-gradient(130deg,#281f30,#1d1829)!important;border-bottom:1px solid #ad87b347}
#roomColumns.v34-room-stage .cinema-chat-head h2{font-size:clamp(16px,2.5vw,21px)!important;margin:0!important}
#roomColumns.v34-room-stage .cinema-chat-head .cinema-kicker{display:none!important}
#roomColumns.v34-room-stage .cinema-chat-panel .chat{flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:auto!important;overscroll-behavior:auto!important;touch-action:pan-y!important;padding:10px!important;border:0!important;border-radius:0!important;background:#120f1b!important}
#roomColumns.v34-room-stage .cinema-chat-panel #chatForm{position:relative;flex:0 0 auto!important;display:flex!important;gap:7px!important;margin:0!important;width:100%!important;min-width:0!important;padding:10px 11px!important;background:#1d1526!important;border-top:1px solid #ab88ce3c!important}
#roomColumns.v34-room-stage #chatForm .v34-chat-react{font-size:21px!important;color:#d5a5ff!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:4px!important;min-width:28px!important;width:28px!important;flex:0 0 28px!important}
#roomColumns.v34-room-stage #chatForm input[name=text]{min-width:0!important;flex:1!important;font-size:15px!important;padding:10px 12px!important;border-radius:28px!important;background:#32223d!important;border:1px solid #9e6aaf88!important}
#roomColumns.v34-room-stage #chatForm button[type=submit]{flex:0 0 43px!important;width:43px!important;height:43px!important;min-width:43px!important;border-radius:50%!important;background:#9250db!important;color:white!important;padding:7px!important;font-size:18px!important}
.v34-emoji-picker{display:flex;position:absolute;z-index:15;gap:4px;bottom:64px;left:16px;border:1px solid #b58ad8;background:#23172e;padding:8px;border-radius:15px;box-shadow:0 14px 26px #000a}
.v34-emoji-picker button{background:transparent!important;box-shadow:none!important;padding:6px!important;font-size:21px!important}
#roomColumns.v34-room-stage .v34-room-extras{order:6;display:grid;gap:9px;width:100%;padding:4px 0 25px}
#roomColumns.v34-room-stage .v34-room-extras details{width:100%;margin:0!important;border:1px solid #a481c045!important;background:linear-gradient(155deg,#201826,#161020)!important;border-radius:14px!important}
#roomColumns.v34-room-stage .v34-room-extras details>summary{padding:11px 13px!important;font-size:14px!important}
#roomColumns.v34-room-stage .v31-more-panel,#roomColumns.v34-room-stage .room-toolbar{display:none!important}
/* Menu inferior que reproduz a referência aprovada, rolável mesmo em telas baixas. */
.v34-room-sheet{position:fixed;inset:0;z-index:9993;display:flex;align-items:flex-end;justify-content:center;touch-action:auto}
.v34-room-sheet.hidden{display:none!important}
.v34-sheet-shade{position:absolute;inset:0;background:rgba(3,1,9,.74);backdrop-filter:blur(5px)}
.v34-sheet-card{position:relative;width:min(100%,760px);max-height:min(87dvh,860px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:12px 15px max(22px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 20% 0,#4f2a6187,transparent 68%),#1d142a;border:1px solid #ac79c455;border-radius:25px 25px 0 0;box-shadow:0 -25px 70px #000b}
.v34-sheet-grip{width:40px;height:5px;border-radius:10px;background:#8e749c;margin:0 auto 9px;opacity:.7}
.v34-sheet-header{padding:0 1px 12px!important;background:none!important;border:0!important;display:flex!important;align-items:center;justify-content:space-between}
.v34-sheet-header h2{font-size:21px!important;margin:0!important}
.v34-sheet-header button{width:33px;height:33px;min-width:33px;padding:0!important;border-radius:50%!important;color:#fff!important;background:#ffffff14!important;border:1px solid #bba0ca44!important;font-size:22px!important}
.v34-sheet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.v34-sheet-grid>.v34-option{height:82px!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:9px 5px!important;background:linear-gradient(140deg,#342440,#221a2c)!important;border:1px solid #ae89c26b!important;border-radius:14px!important;color:#f3defa!important;font-size:12px!important;font-weight:650!important;white-space:normal!important;overflow-wrap:anywhere;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:none!important}
.v34-sheet-danger{margin-top:14px}
.v34-sheet-danger .danger{width:100%!important;min-height:51px!important;border-radius:15px!important;background:#642542!important;color:#ffe6f3!important;border:1px solid #bd597e56!important;font-size:14px!important}
.v34-sheet-secondary{font-size:11px;color:#b4a0bd}
.v34-sheet-secondary select,.v34-sheet-secondary p{display:none!important}
body.v34-sheet-open{overflow:hidden!important}
/* Resolução somente na primeira etapa da transmissão. */
.v34-capture-dialog{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:16px;background:#07020dc9;backdrop-filter:blur(8px)}
.v34-capture-card{width:min(100%,420px);padding:22px;border-radius:22px;border:1px solid #b789d9;background:linear-gradient(135deg,#34203e,#17101e);box-shadow:0 25px 85px #0009}
.v34-capture-card h2{margin:0 0 12px;font-size:24px}.v34-capture-card p{font-size:13px;color:#cbb9d4;line-height:1.5;margin-bottom:18px}.v34-capture-card label{font-size:13px;color:#e2cff5;display:grid;gap:8px}.v34-capture-card select{width:100%;background:#24192d;border:1px solid #af82c5}.v34-capture-actions{display:flex;gap:9px;margin-top:18px}.v34-capture-actions button{flex:1}
@media(max-width:600px){
 main{padding:16px 12px 60px!important}
 .v34-home .v34-hero{padding:23px 19px!important;grid-template-columns:minmax(0,1fr) 115px!important;gap:0!important;margin:0 0 15px!important;border-radius:22px!important}
 .v34-hero .eyebrow{font-size:9px!important;letter-spacing:.11em}
 .v34-hero h1{font-size:clamp(22px,6.2vw,31px)!important;margin:16px 0 11px!important}
 .v34-hero p{font-size:12px!important;line-height:1.55!important}
 .v34-hero-art{min-height:100px;margin-right:-8px}
 .v34-home-search #create{font-size:16px!important;min-height:52px}
 .v34-explore-title{margin-top:28px!important}
 .v34-home .v34-empty{min-height:240px!important;padding:22px 14px!important}
 .v34-home .v34-empty img{width:92px!important}
 .premium-topbar .brand-home span{max-width:calc(100vw - 177px)!important;font-size:14px!important}
 #roomColumns.v34-room-stage .cinema-chat-panel{height:clamp(300px,40dvh,360px)!important;max-height:360px!important}
 #roomColumns.v34-room-stage .v26-actions{gap:6px!important}
 #roomColumns.v34-room-stage .v26-actions>*{min-height:44px!important;font-size:11px!important}
 .v34-sheet-card{padding:10px 12px max(16px,env(safe-area-inset-bottom))}
 .v34-sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .v34-sheet-grid>.v34-option{height:72px!important;font-size:11px!important}
}
@media(max-width:350px){.v34-hero-art{display:none}.v34-home .v34-hero{grid-template-columns:1fr!important}.v34-sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.v34-sheet-shade{backdrop-filter:none}}
/* V34: cabeçalho sem largura excedente em Android de 320 px. */
.premium-topbar .brand-home{min-width:0!important;flex:0 1 auto!important;overflow:hidden!important}
.premium-topbar .brand-home span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.premium-topbar .top-actions{min-width:0!important;flex:0 0 auto!important}
body:has(.v34-room-stage) #supportNav,body:has(.v34-room-stage) #adminNav,body:has(.v34-room-stage) #logout{display:none!important}
@media(max-width:430px){.premium-topbar .brand-home span{max-width:104px!important}.premium-topbar{padding-inline:10px!important}.premium-topbar #menuNav{min-width:38px!important;width:38px!important;padding:6px!important}.premium-topbar #menuNav span{display:none!important}}

/* Não permitir que regras legadas revelem botões marcados como hidden. */
#roomColumns.v34-room-stage .v26-actions #shareLink[hidden],#roomColumns.v34-room-stage .v26-actions #capture[hidden]{display:none!important}
#roomColumns.v34-room-stage .v26-actions #toggleSound{order:1!important}
#roomColumns.v34-room-stage .v26-actions #v22CopyRoom{order:2!important}
#roomColumns.v34-room-stage .v26-actions #v34MoreOpen{order:3!important}
#roomColumns.v34-room-stage .v34-room-extras details{order:0!important}
@media(max-width:430px){
 body:has(.v34-home) .premium-topbar .brand-home small,body:has(.v34-room-stage) .premium-topbar .brand-home small{display:none!important}
 body:has(.v34-home) .premium-topbar .brand-home span,body:has(.v34-room-stage) .premium-topbar .brand-home span{max-width:calc(100vw - 153px)!important;font-size:14px!important}
}

/* ---- Fonte original: v35-room-controls.css ---- */
/* V35: barra 6 ações para master, 4 para convidado; sem duplicar Copiar link. */
#roomColumns.v34-room-stage.v35-room-stage .v26-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;max-height:none!important;overflow:visible!important;align-items:stretch!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>*{display:none!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#toggleSound,
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v35StartStream,
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v35Pause,
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v35VoiceButton,
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v35Fullscreen,
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v34MoreOpen{display:flex!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v35StartStream{order:2!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#toggleSound{order:1!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v35Pause{order:3!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v35VoiceButton{order:4!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v35Fullscreen{order:5!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v34MoreOpen{order:6!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions>#v35Pause[aria-pressed="true"]{background:linear-gradient(135deg,#55305f,#5e2349)!important;border-color:#db91bb!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions button{min-height:50px!important;font-size:clamp(10px,1.7vw,14px)!important;white-space:normal!important;text-align:center!important;padding:10px 5px!important;line-height:1.3!important}
#roomColumns.v34-room-stage.v35-room-stage .v26-actions button:disabled{opacity:.62!important;cursor:wait}
#roomColumns.v34-room-stage.v35-room-stage .cinema-video-wrap{position:relative}
#v35PauseOverlay{position:absolute;inset:0;z-index:18;display:none;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;background:linear-gradient(160deg,rgba(8,3,16,.86),rgba(28,12,42,.9));color:#fff;padding:18px;pointer-events:none}
#v35PauseOverlay.v35-pause-visible{display:flex!important}
#v35PauseOverlay>span{font-size:clamp(24px,5vw,42px);color:#cd92ff;line-height:1}
#v35PauseOverlay strong{font-size:clamp(13px,2.6vw,21px);max-width:90%}
#v35PauseOverlay small{color:#d6bfdc;font-size:clamp(10px,1.7vw,13px)}
.v35-voice-toast{position:fixed;z-index:9991;right:max(14px,env(safe-area-inset-right));top:calc(75px + env(safe-area-inset-top));width:min(340px,calc(100vw - 28px));box-sizing:border-box;padding:20px 16px 15px;border:1px solid #cb93f7;background:linear-gradient(145deg,#382242,#20152e);box-shadow:0 18px 55px #000a;border-radius:19px;color:#fff}
.v35-voice-toast>strong{display:block;font-size:17px;margin:0 25px 10px 0}.v35-voice-toast p{font-size:14px;color:#dfd0e9;margin:0 0 13px;overflow-wrap:anywhere}
.v35-voice-toast>div{display:flex;gap:9px}.v35-voice-toast>div button{flex:1;padding:10px!important;min-height:40px!important}
.v35-voice-toast>.v35-voice-dismiss{position:absolute;right:10px;top:7px;min-width:26px;width:29px;height:29px;padding:1px!important;background:transparent!important;color:#fff;border:0!important;box-shadow:none!important;font-size:23px}
.v35-audio-guide{position:fixed;z-index:10020;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(6,3,13,.88);padding:12px;box-sizing:border-box;overflow:auto}
.v35-audio-guide-card{width:min(100%,780px);max-height:96dvh;overflow:auto;padding:16px;box-sizing:border-box;background:linear-gradient(135deg,#281333,#1a1124);border:1px solid #ae7cdb;border-radius:19px;box-shadow:0 22px 65px #000b;text-align:center}
.v35-audio-guide-card h2{font-size:clamp(17px,3vw,24px);margin:4px 0 8px}.v35-audio-guide-card p{font-size:13px;color:#e6d4ed;margin:0 auto 12px;line-height:1.6;max-width:620px}
.v35-audio-guide-card img{display:block;width:100%;height:auto;max-height:min(64dvh,560px);object-fit:contain;object-position:center;margin:auto;border-radius:12px;border:1px solid #a077ba59}
.v35-audio-guide-card button{margin:15px auto 0;background:linear-gradient(115deg,#b547ed,#df4ead)!important;color:#fff!important;min-height:43px;padding:9px 20px!important}
@media(max-width:400px){#roomColumns.v34-room-stage.v35-room-stage .v26-actions{gap:6px!important}#roomColumns.v34-room-stage.v35-room-stage .v26-actions button{font-size:11px!important;padding:8px 4px!important;min-height:49px!important}.v35-audio-guide-card{padding:12px}.v35-voice-toast{top:65px}}

/* ---- Fonte original: v36-personalizacao.css ---- */
/* Nem de Gatas Doidas V36: identidade, microfone em 1 clique, 6 ações por perfil,
   enquetes no chat e avatar visível para quem envia. Compatível com dados V35. */
.v36-style-default{font-family:inherit!important}
.v36-style-neon-violet{font-family:'Trebuchet MS','Arial Rounded MT Bold',sans-serif!important;color:#e8bbff!important;font-weight:900!important;letter-spacing:.035em!important;text-shadow:0 0 3px #ce79ff,0 0 10px #b43ffc,0 0 22px #8728e6!important}
.v36-style-neon-cyan{font-family:'Trebuchet MS',Verdana,sans-serif!important;color:#b6ffff!important;font-weight:900!important;letter-spacing:.04em!important;text-shadow:0 0 3px #6efafa,0 0 10px #20bbef,0 0 19px #00a6ff!important}
.v36-style-gold{font-family:Georgia,serif!important;color:#ffe3a6!important;font-weight:900!important;text-shadow:0 1px 1px #74421d,0 0 9px #c68c21,0 0 15px #d1983f99!important}
.v36-style-retro{font-family:Georgia,'Times New Roman',serif!important;color:#f9cce6!important;font-weight:800!important;font-style:italic!important;letter-spacing:.045em!important;text-shadow:1px 2px 1px #6e3254,0 0 9px #b45786!important}
.v36-room-title{overflow-wrap:anywhere;max-width:100%}
.v36-room-header-info{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.v36-room-header-info>div{min-width:0}
.v36-header-avatar{display:flex;align-items:center;flex:0 0 auto}
.v36-room-master-avatar{width:55px!important;height:55px!important;min-width:55px!important;flex:0 0 55px!important;border-radius:50%!important;object-fit:cover!important;border:2px solid #bd7fff;box-shadow:0 0 0 3px #301645,0 0 14px #ae4af986;font-size:23px!important}
.v36-master-home .cinema-avatar{width:54px!important;height:54px!important;min-width:54px!important;flex:0 0 54px!important;border-radius:50%!important;object-fit:cover!important;font-size:22px!important}
.v36-master-home strong{font-size:clamp(12px,2vw,15px)!important}
#roomColumns.v36-theme-room{background-image:linear-gradient(180deg,rgba(15,7,25,.4),rgba(15,7,25,.85) 64%,rgba(15,7,25,.93)),var(--v36-room-theme)!important;background-position:center top;background-size:cover;background-repeat:no-repeat;border:1px solid #8d50b553;border-radius:22px;padding:clamp(6px,1.7vw,16px)!important;isolation:isolate}
#roomColumns.v36-theme-room .v34-room-extras{background:#190f29ba;border-radius:14px;padding:10px!important}
#roomColumns.v36-theme-room .v26-actions{background:#130c1b80!important;padding:5px!important;border-radius:15px!important}
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>*{display:none!important}
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#toggleSound,
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#v35VoiceButton,
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#v35Fullscreen,
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#v36Reconnect,
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#v36CopyInvite,
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#v34MoreOpen{display:flex!important;min-width:0!important}
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#toggleSound{order:1!important}
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#v35VoiceButton{order:2!important}
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#v35Fullscreen{order:3!important}
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#v36Reconnect{order:4!important}
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#v36CopyInvite{order:5!important}
#roomColumns.v34-room-stage.v35-room-stage.v36-guest-stage .v26-actions>#v34MoreOpen{order:6!important}
/* Chat: os dois lados mostram a foto do participante, com uma leitura confortável. */
.cinema-chat-panel .chat .cinema-message .cinema-avatar{display:block!important;width:36px!important;height:36px!important;min-width:36px!important;flex:0 0 36px!important;object-fit:cover!important;border-radius:50%!important;margin:0!important;font-size:14px!important}
.cinema-chat-panel .chat .cinema-message.v27-mine .cinema-avatar{display:block!important}
.cinema-chat-panel .chat .cinema-message .cinema-bubble strong{max-width:100%;overflow-wrap:anywhere;font-size:13px!important}
/* Enquete incorporada ao chat, com voto imediatamente disponível. */
.cinema-chat-panel .v36-chat-poll{flex:0 0 auto;margin:5px 10px!important;border:1px solid #c880f477;border-radius:14px;background:linear-gradient(145deg,#402750,#271c37);max-height:min(235px,36dvh);overflow-y:auto;color:#f9ecff}
.cinema-chat-panel .v36-chat-poll[hidden]{display:none!important}
.cinema-chat-panel .v36-chat-poll summary{cursor:pointer;position:sticky;top:0;padding:8px 12px;font-weight:800;font-size:13px;background:#372344;z-index:1}
.cinema-chat-panel .v36-chat-poll .v27-poll-body{padding:5px 12px 12px!important;font-size:12px;line-height:1.35}
.cinema-chat-panel .v36-chat-poll .v27-poll-option{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:6px 0}
.cinema-chat-panel .v36-chat-poll .v27-poll-option>button{min-width:0;flex:1;text-align:left;padding:6px 9px!important;font-size:12px!important;border-radius:10px!important}
.cinema-chat-panel .v36-chat-poll .v27-poll-option>span{white-space:nowrap;font-size:10px}
.cinema-chat-panel .v36-chat-poll .v27-poll-create{margin:5px 10px 7px!important;font-size:12px!important;padding:7px 10px!important}
.cinema-chat-panel .chat{min-height:80px!important}
.v36-participants[open]{box-shadow:0 0 0 1px #b576e71c!important}
/* Perfil: prévia de fundo, incluindo GIF de tamanho compacto. */
#v22ProfileForm .v36-theme-field{display:grid;gap:9px;min-width:0}
#v22ProfileForm .v36-theme-field input{min-width:0}
#v36ThemePreview{min-height:120px;border-radius:15px;border:1px solid #bb86df70;background:#1f152a center/cover no-repeat;display:grid;place-items:center;text-align:center;color:#e9d4f2;font-size:13px;padding:12px;box-sizing:border-box;overflow-wrap:anywhere}
#v36ThemeStatus{font-size:12px;color:#d5b9ea}
#v36RemoveTheme{font-size:13px;width:max-content;max-width:100%}
@media(max-width:430px){.v36-room-header-info{gap:9px}.v36-room-master-avatar{width:47px!important;height:47px!important;min-width:47px!important;flex-basis:47px!important}.v36-master-home .cinema-avatar{width:49px!important;height:49px!important;min-width:49px!important;flex-basis:49px!important}.cinema-chat-panel .chat .cinema-message .cinema-avatar{width:34px!important;height:34px!important;min-width:34px!important;flex-basis:34px!important}.cinema-chat-panel .v36-chat-poll{max-height:195px}}
@media(prefers-reduced-motion:reduce){.v36-style-neon-violet,.v36-style-neon-cyan{transition:none!important}}

/* ---- Fonte original: v37-card-admin.css ---- */
/* V37: o tema escolhido no perfil aparece NO CARD, abaixo da capa, sem cobrir o filme. */
.room-card.cinema-card .v37-room-info{position:relative!important;isolation:isolate;overflow:hidden;background-color:#18131f!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;transition:background-color .2s ease}
.room-card.cinema-card .v37-room-info.v37-has-theme{background-image:linear-gradient(180deg,rgba(11,7,17,.65),rgba(10,7,17,.79) 50%,rgba(10,7,17,.87)),var(--v37-card-theme)!important}
.room-card.cinema-card .v37-room-info>*{position:relative;z-index:1}
.room-card.cinema-card .v37-room-info .v36-room-title{font-size:clamp(19px,3vw,27px)!important;overflow-wrap:anywhere;line-height:1.25;max-width:100%;display:block}
.room-card.cinema-card .v37-room-info .v36-style-neon-violet,.room-card.cinema-card .v37-room-info .v36-style-neon-cyan{filter:none!important}
/* O perfil também mostra o tema, sem alterar a imagem de perfil e sem perder contraste. */
#v28ProfilePreview.v37-profile-themed{background-image:linear-gradient(120deg,rgba(16,8,24,.7),rgba(16,8,24,.84)),var(--v37-profile-theme)!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;border-radius:16px!important;padding:14px!important}
#v28ProfilePreview.v37-profile-themed strong{position:relative;z-index:1}
.v37-admin-shield{min-width:40px!important;min-height:38px!important;background:#382248!important;color:#f1d9ff!important;border:1px solid #a27db2!important;border-radius:10px!important;cursor:pointer}
.v37-admin-shield:focus-visible{outline:3px solid #d28dfd}
@media (max-width:430px){.room-card.cinema-card .v37-room-info .v36-room-title{font-size:21px!important}}

/* ---- Fonte original: v37-splash.css ---- */
/* V37 splash de abertura, isolado da interface e do PWA. */
.v37-splash-screen{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;background:#10091c;animation:v37SplashIn .22s ease both;overflow:hidden}
.v37-splash-screen>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.v37-splash-close{position:absolute;right:calc(14px + env(safe-area-inset-right));top:calc(16px + env(safe-area-inset-top));border:1px solid #ffffff6e;border-radius:24px;padding:10px 19px;background:#211431dd;color:#fff;font-weight:700;cursor:pointer;min-height:44px}
.v37-splash-out{opacity:0;transition:opacity .24s ease;pointer-events:none}
@keyframes v37SplashIn{from{opacity:0}to{opacity:1}}
.v37-splash-admin-preview{width:100%;max-width:560px;aspect-ratio:16/9;background:#120b21;display:flex;align-items:center;justify-content:center;border:1px dashed #9064af;border-radius:14px;color:#cbb9d8;overflow:hidden;margin:12px 0}
.v37-splash-admin-preview img{width:100%;height:100%;object-fit:contain}
.v37-splash-admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}
.v37-splash-toggle{display:flex;align-items:center;gap:10px}
.v37-splash-toggle input{width:20px;height:20px;flex-shrink:0}
#v37SplashStatus{color:#d2bce7;min-height:1.5em}
@media(prefers-reduced-motion:reduce){.v37-splash-screen{animation:none}.v37-splash-out{transition:none}}

/* ---- Fonte original: v38-effects-chat.css ---- */
/* V38: preservar visual V37; novas animações somente para perfis que escolherem estilo.
   Sem CSS externo, sem bibliotecas pagas; respeita reduzir movimento e economia de dados. */
:root{--v38-purple:#b25ef6}
.v38-effect-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin:12px 0}
.v38-effect-pick{display:flex;flex-direction:column;gap:12px;text-align:left;min-height:120px;padding:14px!important;border:1px solid #9352af!important;background:linear-gradient(120deg,#1a102b,#26132d)!important;border-radius:18px!important;color:#f9edff!important;overflow:hidden}
.v38-effect-pick.selected{outline:2px solid #dd8dff;box-shadow:0 0 18px #c85be990}
.v38-fx-preview{display:flex;align-items:center;gap:14px;min-width:0}
.v38-fx-preview strong{font-size:clamp(14px,2.4vw,20px);overflow-wrap:anywhere}
.v38-fx-avatar{width:65px;height:65px;border-radius:50%;object-fit:cover}
.v38-avatar-shell{position:relative;display:inline-grid;flex:none;place-items:center;isolation:isolate;border-radius:50%;vertical-align:middle;min-width:0}
.v38-avatar-shell>img,.v38-avatar-shell>.profile-fallback{position:relative;z-index:1}
.v38-avatar-shell::before{content:"";pointer-events:none;position:absolute;inset:-5px;border-radius:50%;background:conic-gradient(from var(--v38-rotation,0deg),transparent 0deg,currentColor 31deg,transparent 52deg,currentColor 134deg,transparent 155deg,currentColor 230deg,transparent 260deg);filter:blur(3px);opacity:.92;animation:v38-arcspin 2.2s linear infinite;z-index:0}
.v38-avatar-shell::after{content:"";pointer-events:none;position:absolute;inset:-9px;border-radius:50%;background:conic-gradient(transparent 3%,currentColor 11%,transparent 15%,transparent 45%,currentColor 52%,transparent 56%,transparent 87%,currentColor 91%,transparent 96%);filter:blur(2px);opacity:.55;animation:v38-shock 1.15s steps(4,end) infinite alternate;z-index:0}
.v38-avatar-shell.frame-neon-roxo,.frame-neon-roxo{color:#c77cff}
.v38-avatar-shell.frame-raios-azuis,.frame-raios-azuis{color:#3ccfff}
.v38-avatar-shell.frame-arco-iris,.frame-arco-iris{color:#cd55ff}
.v38-avatar-shell.frame-plasma-rosa,.frame-plasma-rosa{color:#ff4ab8}
.v38-avatar-shell.frame-ouro-eletrico,.frame-ouro-eletrico{color:#ffd05f}
.v38-avatar-shell.frame-gelo-neon,.frame-gelo-neon{color:#7decff}
.v38-avatar-shell.frame-inferno-eletrico,.frame-inferno-eletrico{color:#ff6639}
.v38-avatar-shell.frame-cyber-rgb,.frame-cyber-rgb{color:#34e5fa}
.v38-avatar-shell.frame-arco-iris::before,.v38-avatar-shell.frame-cyber-rgb::before{background:conic-gradient(#ff368f,#ffdd3f,#28eaae,#3689ff,#ab53fa,#ff368f)}
.v38-avatar-shell.frame-gelo-neon::after{clip-path:polygon(50% 0,61% 21%,88% 9%,79% 38%,100% 50%,79% 63%,88% 90%,61% 79%,50% 100%,39% 79%,11% 90%,21% 61%,0 50%,21% 38%,11% 9%,39% 21%)}
.v38-avatar-shell.frame-inferno-eletrico::before{background:conic-gradient(transparent,#ff6419,#fff39d,#ff3613,transparent,#ff9a17,#fb2c38,transparent)}
.v38-avatar-shell.frame-ouro-eletrico::after{filter:drop-shadow(0 0 5px #ffcb4e)}
.v38-avatar-shell.frame-cyber-rgb::after{clip-path:polygon(0 10%,20% 5%,30% 0,90% 10%,100% 30%,97% 90%,85% 100%,10% 97%,0 75%)}
.v38-avatar-shell.frame-raios-azuis::after,.v38-avatar-shell.frame-plasma-rosa::after{clip-path:polygon(0 25%,37% 15%,47% 0%,56% 31%,100% 9%,61% 59%,81% 100%,46% 71%,0 88%,30% 53%)}
.v38-avatar-shell.frame-neon-roxo::before{filter:blur(4px)}
.v38-avatar-shell.frame-plasma-rosa::before{filter:blur(5px)}
.v38-avatar-shell.frame-ouro-eletrico::before{filter:blur(2px)}
/* IDs são listas fechadas; não aceitar valores de estilo livres do Firestore no HTML. */
.v36-style-neon-roxo,.v36-style-raios-azuis,.v36-style-arco-iris,.v36-style-plasma-rosa,.v36-style-ouro-eletrico,.v36-style-gelo-neon,.v36-style-inferno-eletrico,.v36-style-cyber-rgb{font-family:'Trebuchet MS',Verdana,sans-serif!important;font-weight:900!important;letter-spacing:.02em!important;display:inline-block;max-width:100%;text-shadow:0 0 4px currentColor,0 0 13px currentColor!important;animation:v38-name-pulse 2s ease-in-out infinite alternate}
.v36-style-neon-roxo{color:#edc8ff!important;--v38-shadow:#ae4eff}
.v36-style-raios-azuis{color:#adf4ff!important;--v38-shadow:#02b7ff;animation:v38-spark 1.4s steps(3,end) infinite}
.v36-style-arco-iris{background:linear-gradient(105deg,#f37,#ffda4c,#18ffc2,#20adff,#e468ff,#f37);background-size:250% 100%;background-clip:text;-webkit-background-clip:text;color:transparent!important;animation:v38-rainbow 3.5s linear infinite}
.v36-style-plasma-rosa{color:#ffc4ef!important;--v38-shadow:#ff3cbb;animation:v38-spark 1.7s steps(4,end) infinite}
.v36-style-ouro-eletrico{color:#ffe5a1!important;--v38-shadow:#ffc84b;animation:v38-spark 2s steps(5,end) infinite}
.v36-style-gelo-neon{color:#e8fbff!important;--v38-shadow:#4cceff}
.v36-style-inferno-eletrico{color:#ffd2a0!important;--v38-shadow:#ff4a21;animation:v38-spark 1.5s steps(4,end) infinite}
.v36-style-cyber-rgb{background:linear-gradient(90deg,#18eeff,#b34cfc,#ff53ca,#18eeff);background-size:230%;background-clip:text;-webkit-background-clip:text;color:transparent!important;animation:v38-rainbow 2.3s steps(20,end) infinite}
@keyframes v38-arcspin{to{transform:rotate(360deg)}}
@keyframes v38-shock{0%,100%{opacity:.2;transform:rotate(0deg) scale(.95)}35%{opacity:1;transform:rotate(16deg) scale(1.09)}68%{opacity:.65;transform:rotate(-12deg) scale(1.05)}}
@keyframes v38-name-pulse{from{filter:drop-shadow(0 0 2px var(--v38-shadow,#9b57ff));opacity:.92}to{filter:drop-shadow(0 0 11px var(--v38-shadow,#9b57ff));opacity:1}}
@keyframes v38-spark{0%,100%{filter:drop-shadow(0 0 2px var(--v38-shadow))}20%,65%{filter:drop-shadow(0 0 12px var(--v38-shadow)) drop-shadow(2px 0 3px var(--v38-shadow))}}
@keyframes v38-rainbow{to{background-position:250% 0}}
.v38-is-speaking{outline:3px solid #4dfbb1!important;outline-offset:2px;box-shadow:0 0 0 4px #27da8a40,0 0 20px #36fcb7!important;animation:v38-speaking-pulse .6s ease-in-out infinite alternate!important}
@keyframes v38-speaking-pulse{to{outline-width:5px;box-shadow:0 0 0 5px #27da8a60,0 0 23px #36fcb7}}
.v38-reaction-float{position:absolute;z-index:12;right:7%;bottom:14%;width:45px;height:40%;pointer-events:none;overflow:visible}
.v38-reaction-float>span{position:absolute;bottom:0;right:var(--v38-offset,8px);font-size:34px;animation:v38-emoji-up 2.4s ease-out forwards;filter:drop-shadow(0 2px 4px #0c0520)}
@keyframes v38-emoji-up{to{transform:translateY(-180px) rotate(18deg);opacity:0}}
.v38-room-notices{position:absolute;bottom:15px;left:8px;z-index:15;max-width:min(330px,70%);pointer-events:none;display:grid;gap:5px}
.v38-room-notices p{padding:6px 10px;border-radius:12px;background:#1e1733db;border:1px solid #b172db80;color:#fff;font-size:12px;box-shadow:0 1px 8px #13031c}
.v38-reply-notice{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 12px;font-size:12px;border-left:3px solid #c788fa;background:#2d1d39;color:#eadaff;min-width:0;overflow-wrap:anywhere}
.v38-reply-notice button{padding:0 9px!important;min-width:26px!important}
.v38-reply-quote{border-left:3px solid #bd82e7;margin:4px 0!important;padding:3px 7px;color:#d7bced;background:#301b3b;font-size:11px;overflow-wrap:anywhere}
.v38-pinned-label{display:block;font-size:10px;color:#efd28f}
.cinema-message .cinema-bubble.v38-pinned{box-shadow:inset 3px 0 #e7b6f3!important}
.v38-mention-list{display:flex;flex-wrap:wrap;gap:5px;padding:7px;background:#271c37}
.v38-mention-list button{font-size:12px!important;padding:5px!important}
#v38Mention{padding:4px 8px!important;min-width:30px!important;font-weight:800!important;border-radius:12px!important}
.v38-compact-toggle{margin-left:auto!important;font-size:12px!important;min-width:0;padding:6px 8px!important;background:#332545!important;color:#f1d0ff!important;border-radius:10px!important}
#roomColumns.v38-compact-chat .cinema-chat-panel{height:clamp(195px,27dvh,275px)!important;min-height:195px!important;max-height:275px!important}
#roomColumns.v38-compact-chat .cinema-chat-panel .chat{min-height:55px!important}
#roomColumns.v38-compact-chat .v36-chat-poll{max-height:130px!important}
@media(max-width:420px){.v38-compact-toggle{font-size:11px!important}.v38-fx-preview strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.v38-avatar-shell::before,.v38-avatar-shell::after,.v36-style-neon-roxo,.v36-style-raios-azuis,.v36-style-arco-iris,.v36-style-plasma-rosa,.v36-style-ouro-eletrico,.v36-style-gelo-neon,.v36-style-inferno-eletrico,.v36-style-cyber-rgb,.v38-is-speaking,.v38-reaction-float>span{animation:none!important}}
body.v38-reduced-effects .v38-avatar-shell::before,body.v38-reduced-effects .v38-avatar-shell::after,body.v38-reduced-effects .v36-style-neon-roxo,body.v38-reduced-effects .v36-style-raios-azuis,body.v38-reduced-effects .v36-style-arco-iris,body.v38-reduced-effects .v36-style-plasma-rosa,body.v38-reduced-effects .v36-style-ouro-eletrico,body.v38-reduced-effects .v36-style-gelo-neon,body.v38-reduced-effects .v36-style-inferno-eletrico,body.v38-reduced-effects .v36-style-cyber-rgb{animation:none!important;filter:none!important}

.v38-reaction-summary{display:block;font-size:12px;color:#eed3ff;margin-top:5px;white-space:normal}
/* Os estilos V27 aplicavam flex:1 a todo span direto da lista. O avatar animado não pode crescer horizontalmente. */
.v27-member-row > .v38-avatar-shell,.v27-admin-self > .v38-avatar-shell,.cinema-members > .v38-avatar-shell,.cinema-message > .v38-avatar-shell{flex:0 0 auto!important;min-width:0!important;width:max-content!important;height:max-content!important;overflow:visible!important;max-width:max-content!important}
.v38-avatar-shell > .cinema-avatar{flex:none!important;display:inline-grid!important;aspect-ratio:1!important}
.v38-avatar-shell > .v38-fx-avatar{flex:none!important;display:inline-grid!important;aspect-ratio:1!important}
