/* V58.39 | chat vertical sobre filme com desfoque REAL do fundo, sem tocar na midia. */
#roomColumns#roomColumns.v27-mode-overlay #videoWrap.v5839-chat-open>#v27OverlayComposer.v27-compose-open,
#roomColumns#roomColumns.v27-mode-overlay:is(:fullscreen,.v26-pseudo-stage) #videoWrap.v5839-chat-open>#v27OverlayComposer.v27-compose-open,
#roomColumns#roomColumns#roomColumns.v53-room-stage.v53-clean-immersive.v27-mode-overlay:is(:fullscreen,.v26-pseudo-stage) #videoWrap.v5839-chat-open>#v27OverlayComposer.v27-compose-open{
 display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
 box-sizing:border-box!important;position:absolute!important;z-index:920!important;
 top:auto!important;left:0!important;right:0!important;bottom:0!important;
 width:100%!important;max-width:none!important;height:min(67dvh,720px)!important;min-height:220px!important;
 padding:8px clamp(8px,2vw,20px) max(10px,env(safe-area-inset-bottom))!important;
 flex-direction:column!important;gap:7px!important;overflow:hidden!important;
 border-top:1px solid rgba(220,185,255,.36)!important;border-radius:23px 23px 0 0!important;
 background:rgba(11,7,20,.50)!important;
 -webkit-backdrop-filter:blur(25px) saturate(.6)!important;
 backdrop-filter:blur(25px) saturate(.6)!important;
 box-shadow:0 -12px 38px rgba(0,0,0,.4)!important;
 transform:none!important;
}
#roomColumns.v27-mode-overlay #videoWrap.v5839-chat-open>#v27ChatFeed{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
#v27OverlayComposer .v5839-chat-head{display:flex!important;align-items:center;justify-content:space-between;flex:0 0 auto;min-height:35px;color:#fff;padding:3px 4px;gap:8px}
#v27OverlayComposer .v5839-chat-head strong{font-size:13px;letter-spacing:.04em;text-shadow:0 1px 8px #000;white-space:nowrap}
#v27OverlayComposer .v5839-chat-head span{font-size:10px;color:#d6c7e6;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#v27OverlayComposer .v5839-chat-close{background:rgba(31,22,42,.8)!important;border:1px solid #ffffff66!important;border-radius:15px!important;color:white!important;min-width:33px;min-height:33px;cursor:pointer;font-size:20px;line-height:1}
#roomColumns#roomColumns.v27-mode-overlay #v27OverlayComposer #messages{
 display:flex!important;visibility:visible!important;position:relative!important;z-index:1!important;
 flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;
 width:100%!important;margin:0!important;padding:6px 5px 10px!important;
 border:0!important;box-shadow:none!important;border-radius:10px!important;
 background:transparent!important;overflow-y:auto!important;overscroll-behavior:contain!important;
 -webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;
}
#roomColumns.v27-mode-overlay #v27OverlayComposer #messages .cinema-message{max-width:100%;margin:0 0 7px;overflow-wrap:anywhere}
#roomColumns.v27-mode-overlay #v27OverlayComposer #messages .cinema-bubble{background:rgba(19,11,33,.43)!important;box-shadow:none!important;backdrop-filter:blur(3px);border-radius:12px!important}
#roomColumns#roomColumns.v27-mode-overlay #v27OverlayComposer #chatForm{
 display:flex!important;flex:0 0 auto!important;width:100%!important;min-height:44px!important;
 padding:5px!important;background:rgba(13,9,22,.8)!important;
 border:1px solid rgba(218,190,250,.48)!important;border-radius:26px!important;
 box-shadow:0 3px 17px #0007!important;
}
#roomColumns.v27-mode-overlay #v27OverlayComposer #chatForm input{background:transparent!important;border:none!important;box-shadow:none!important;color:#fff!important;min-height:37px!important;font-size:14px!important;outline-offset:1px}
#roomColumns.v27-mode-overlay #v27OverlayComposer #chatForm button{min-width:38px!important}
#roomColumns.v27-mode-overlay #videoWrap.v5839-chat-open #v27TapTarget{pointer-events:none!important}
#roomColumns.v27-mode-overlay #videoWrap.v5839-chat-open #v27ChatToggle{z-index:940!important}
#roomColumns.v27-mode-overlay #videoWrap.v5839-chat-open #v53ModesToolbar{z-index:939!important}
@media (orientation:landscape) and (max-height:580px){
 #roomColumns#roomColumns.v27-mode-overlay #videoWrap.v5839-chat-open>#v27OverlayComposer.v27-compose-open{height:93dvh!important;right:0!important;left:auto!important;width:min(48vw,420px)!important;min-height:0!important;max-height:100%!important;top:0!important;bottom:0!important;border-radius:20px 0 0 20px!important;border-top:0!important;border-left:1px solid #d3b8ef66!important}
}
@media (orientation:portrait) and (max-width:760px){
 #roomColumns#roomColumns.v27-mode-overlay #videoWrap.v5839-chat-open>#v27OverlayComposer.v27-compose-open{height:69dvh!important;max-height:100%!important;min-height:180px!important;border-radius:19px 19px 0 0!important}
}
/* O modal de perfil entra no elemento fullscreen para nao fechar a sessao. */
.v5839-profile-overlay{position:fixed;inset:0;z-index:100500;display:grid;place-items:center;padding:8px;box-sizing:border-box;background:rgba(2,1,9,.86);color:#f8f4ff;overscroll-behavior:contain}
.v5839-profile-dialog{position:relative;box-sizing:border-box;width:min(720px,100%);max-height:calc(100dvh - 16px);overflow:hidden;border:1px solid #7f628e;border-radius:22px;background:#18151e;box-shadow:0 22px 70px #000a;display:flex;flex-direction:column}
.v5839-profile-body{padding:16px 17px 22px;overflow-y:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;min-height:80px}
.v5839-profile-close{position:absolute;z-index:4;right:12px;top:9px;width:37px;height:37px;border-radius:50%!important;color:white!important;background:#39303e!important;border:1px solid #ffffff55!important;font-size:24px!important;line-height:1!important}
.v5839-profile-hero{display:flex;align-items:center;gap:16px;padding:12px 48px 20px 2px;min-height:100px}
.v5839-profile-avatar{flex:0 0 104px;width:104px;height:104px;border-radius:50%;overflow:hidden;background:#352242;display:grid;place-items:center;border:2px solid #c1a0e2}
.v5839-profile-avatar :is(img,.cinema-avatar){height:100%!important;width:100%!important;object-fit:cover!important;border-radius:50%!important}
.v5839-profile-name{min-width:0;display:flex;flex-direction:column;gap:6px}
.v5839-profile-name strong{color:white;display:block;font-size:clamp(19px,5vw,27px)!important;overflow-wrap:anywhere}
.v5839-profile-name span{font-size:13px;color:#c6bbd0}
.v5839-profile-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#2e2932;border-radius:32px;margin-bottom:17px}
.v5839-profile-tabs button{border:0!important;border-radius:26px!important;background:transparent!important;color:#ccc4cf!important;min-height:42px;font-size:15px!important;font-weight:750!important}
.v5839-profile-tabs button.v5839-selected{background:#f4f1f7!important;color:#151117!important}
.v5839-profile-section{padding:9px 2px 15px;scroll-margin-top:24px}
.v5839-profile-section h3{font-size:14px!important;letter-spacing:.09em;color:#d0c5d4;margin:5px 0 18px}
.v5839-profile-bio{font-size:clamp(15px,3.3vw,19px)!important;line-height:1.55;color:#fff;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 7px 8px;text-align:center}
.v5839-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.v5839-gallery-grid button{padding:0!important;margin:0!important;border:0!important;border-radius:15px!important;overflow:hidden!important;background:#2d2432!important;aspect-ratio:3/4;min-width:0;max-width:none!important}
.v5839-gallery-grid img{display:block;object-fit:cover;width:100%;height:100%;max-width:none!important;max-height:none!important}
.v5839-empty-gallery{color:#ad9fba;font-size:13px}
.v5839-gallery-editor{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.v5839-gallery-editor label{display:inline-block;position:relative;border-radius:11px;background:#53366b;color:white;padding:11px 14px;font-weight:700;font-size:13px;cursor:pointer;align-self:flex-start}
.v5839-gallery-editor input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.v5839-gallery-status,.v5839-profile-warning{font-size:12px;color:#e0caed;line-height:1.5}
.v5839-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v5839-stat-card{background:#1d1922;border:1px solid #433849;border-radius:17px;padding:13px;display:flex;gap:10px;align-items:center;min-height:89px;box-sizing:border-box}
.v5839-stat-card>span{font-size:26px;color:#faf3ff}
.v5839-stat-card div{min-width:0;display:flex;flex-direction:column;gap:5px}
.v5839-stat-card small{font-size:11px;color:#bcb2c1}
.v5839-stat-card strong{font-size:clamp(14px,3.5vw,21px);color:#fff;line-height:1.25;overflow-wrap:anywhere}
.v5839-stats-hint{display:block;font-size:11px;color:#b6a8c3;line-height:1.5;margin-top:12px}
.v5839-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.v5839-profile-actions button,.v5839-profile-edit button,.v5839-profile-page-shortcut button{min-height:42px;padding:10px 14px;border-radius:11px;font-size:13px;font-weight:750}
.v5839-profile-edit{background:#292130;border:1px solid #715a81;border-radius:14px;padding:14px;margin:10px 0;display:flex;flex-direction:column;gap:10px}
.v5839-profile-edit label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#ddd1e7}
.v5839-profile-edit :is(input,textarea){max-width:100%;box-sizing:border-box;padding:10px!important;border-radius:9px!important;background:#17121e!important;color:white!important;border:1px solid #847394!important}
.v5839-photo-lightbox{position:absolute;inset:0;z-index:5;background:rgba(0,0,0,.95);display:grid;place-items:center;padding:15px}
.v5839-photo-lightbox img{display:block;max-width:100%;max-height:calc(100% - 92px);object-fit:contain}
.v5839-photo-lightbox button{position:absolute;right:12px;top:9px;color:white;background:#382447!important;border-radius:50%!important;min-width:40px;min-height:40px;font-size:20px}
.v5839-photo-lightbox .v5839-delete-photo{top:auto;bottom:10px;left:10px;right:auto;border-radius:10px!important;font-size:13px!important;background:#85344c!important;padding:10px 14px}
.v5839-profile-page-shortcut{padding:13px 16px;margin:14px 0;border:1px solid #75549e;border-radius:14px;background:#2d1b3e;color:white}
.v5839-profile-page-shortcut h3{font-size:16px;margin:0 0 5px}
.v5839-profile-page-shortcut p{font-size:13px;line-height:1.5;color:#e2d5f1}
@media(max-width:410px){.v5839-profile-dialog{border-radius:15px}.v5839-profile-body{padding:13px}.v5839-profile-avatar{width:80px;height:80px;flex-basis:80px}.v5839-stat-card{padding:9px;gap:6px;min-height:77px}.v5839-stat-card>span{font-size:20px}.v5839-gallery-grid{gap:6px}}
@media(prefers-reduced-motion:reduce){.v5839-profile-overlay *{scroll-behavior:auto!important}}
