/* V58.17 | SOMENTE geometria/organização. Mantém identidade roxa/neon herdada. */
#members .v27-member-row,#members .v27-admin-self{position:relative;display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:nowrap!important;min-height:62px!important;padding:8px 10px!important;margin:5px 0!important;overflow:visible!important}
#members .v27-member-row>.v45-avatar-identity,#members .v27-admin-self>.v45-avatar-identity{flex:0 0 auto!important;min-width:44px!important;width:44px!important;display:inline-flex!important;justify-content:center!important}
#members .v27-member-row>.v45-live-name{flex:1 1 0!important;min-width:0!important;width:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal!important;line-height:1.3!important;font-size:clamp(12px,3.6vw,15px)!important}
#members .v27-admin-self>.v27-admin-label{flex:1!important;min-width:0!important;line-height:1.3!important}
#members .v27-admin-self>.v27-admin-label strong,#members .v27-admin-self>.v27-admin-label small{display:block;white-space:normal;overflow-wrap:break-word}
#members .v27-admin-self>.v27-self-toggle{flex:0 0 auto!important;font-size:12px!important;padding:7px 9px!important;max-width:110px!important}
#members .v5817-member-actions{position:relative;flex:0 0 auto;align-self:center;min-width:38px}
#members .v5817-member-actions>summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:40px;height:40px;font-size:27px!important;border-radius:11px;background:#433454;border:1px solid #7b578c;color:#f8eeff;line-height:1}
#members .v5817-member-actions>summary::-webkit-details-marker{display:none}
#members .v5817-member-actions>summary:focus-visible{outline:2px solid #cf79ee;outline-offset:2px}
#members .v5817-member-menu{position:absolute;right:0;top:calc(100% + 5px);z-index:50;width:min(260px,calc(100vw - 72px));display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px;border:1px solid #8b4ba3;border-radius:15px;background:#20142f;box-shadow:0 18px 40px #000b,0 0 20px #841ca42b}
#members .v5817-member-menu button{font-size:12px!important;font-weight:650!important;display:flex!important;gap:5px;align-items:center!important;justify-content:flex-start!important;white-space:nowrap!important;border:1px solid #604173!important;background:#392549!important;border-radius:9px!important;min-height:36px!important;padding:7px!important;color:#f7e8ff!important}
#members .v5817-member-menu button span{font-size:11px!important;white-space:nowrap!important}
#members .v5817-member-menu button:hover{background:#543168!important}
#members .v5817-member-actions:not([open]) .v5817-member-menu{display:none!important}
#members .cinema-member:has(.v5817-member-actions[open]){z-index:12}
#members .v27-member-row .v37-admin-shield{flex:0 0 auto}
@media(max-width:380px){#members .v27-member-row{padding:7px 5px!important;gap:5px!important}#members .v27-member-row>.v45-avatar-identity{width:39px!important;min-width:39px!important}#members .v5817-member-menu{width:min(238px,calc(100vw - 50px))}}
/* Contatos: mesma cor e bordas V58.16, apenas novo layout de conversas. */
.v5816-dialog:has(.v5817-contact-list),.v5816-dialog:has(.v5817-chat-head){height:min(80dvh,660px);gap:9px}
.v5817-tabs{display:flex;gap:5px;flex-shrink:0;border-bottom:1px solid #704786;padding-bottom:9px;overflow-x:auto}
.v5817-tabs button{flex:1 0 auto;min-height:37px!important;padding:7px 8px!important;border:0!important;border-radius:100px!important;background:transparent!important;color:#ccacdf!important;font-size:12px!important}
.v5817-tabs button.active{background:#502067!important;color:#fff!important;box-shadow:inset 0 0 0 1px #9552ad}
.v5817-contact-list{min-height:130px;overflow-y:auto;flex:1;scrollbar-width:thin}
.v5817-contact{display:flex;align-items:center;gap:3px;min-height:66px;border-bottom:1px solid #75518444;background:transparent}
.v5817-contact-open{display:flex!important;align-items:center!important;gap:12px!important;flex:1 1 auto!important;min-width:0!important;text-align:left!important;padding:8px 3px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
.v5817-contact-open .cinema-avatar{width:48px!important;height:48px!important;min-width:48px!important;border-radius:50%!important}
.v5817-contact-detail{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.v5817-contact-detail strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;color:#fff}
.v5817-contact-detail small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#c6afd2;font-size:12px}
.v5817-contact-time{flex:0 0 auto;font-size:10px;color:#b68dcc}
.v5817-contact-more{flex:0 0 35px!important;min-height:36px!important;font-size:22px!important;padding:0!important;border:0!important;background:transparent!important;color:#c58ee5!important;box-shadow:none!important}
.v5817-push-area{display:flex;flex-direction:column;gap:5px;flex-shrink:0;padding:9px 0 0;border-top:1px solid #70518444}
.v5817-push-area button{width:fit-content;min-height:33px!important;padding:6px 12px!important;background:#37213e!important;border:1px solid #704b7f!important;font-size:12px!important}
.v5817-push-area small{color:#9e89b0;font-size:10px;line-height:1.25}
.v5817-empty{font-size:13px!important;text-align:center;margin:22px 10px!important;color:#ac98be!important}
.v5817-chat-head{display:flex;align-items:center;gap:9px;flex-shrink:0;padding-bottom:9px;border-bottom:1px solid #734b8b}
.v5817-chat-head .cinema-avatar{width:40px!important;height:40px!important;min-width:40px!important}
.v5817-chat-head strong{font-size:15px;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v5817-chat-back{min-width:32px!important;width:32px!important;min-height:36px!important;padding:0!important;background:transparent!important;border:0!important;font-size:30px!important;color:#d7a4eb!important}
.v5816-dialog:has(.v5817-chat-head) .v5816-scroll{display:flex;flex-direction:column;overflow:hidden;gap:8px}
.v5816-dialog:has(.v5817-contact-list) .v5816-scroll{display:flex;flex-direction:column;overflow:hidden;gap:7px}
.v5816-dialog:has(.v5817-chat-head) .v5816-chat{flex:1!important;max-height:none!important;min-height:90px!important;overflow-y:auto!important;background:#0b0813!important;border:1px solid #573268!important;border-radius:13px!important;padding:12px!important}
.v5816-dialog:has(.v5817-chat-head) .v5816-msg{position:relative;display:flex;flex-direction:column;gap:3px;min-width:65px;max-width:85%!important;line-height:1.3;border-radius:12px 12px 12px 3px;background:#29173a;padding:8px 11px!important}
.v5816-dialog:has(.v5817-chat-head) .v5816-msg.mine{background:#8426bf;border-radius:12px 12px 3px 12px}
.v5816-dialog:has(.v5817-chat-head) .v5816-msg small{font-size:10px;text-align:right;opacity:.75;align-self:flex-end}
.v5816-dialog:has(.v5817-chat-head) .v5816-compose{flex-shrink:0;min-height:44px;margin-top:1px}
.v5816-dialog:has(.v5817-chat-head) .v5816-compose input{border-radius:100px!important;min-height:44px;padding:8px 14px!important}
.v5816-dialog:has(.v5817-chat-head) .v5816-compose button{min-width:44px!important;width:44px!important;min-height:44px!important;border-radius:50%!important;padding:4px!important;font-size:18px!important}
.v5817-chat-warning{color:#9d86a9;font-size:10px;line-height:1.2;text-align:center;flex-shrink:0}
.v5817-badge{position:absolute;right:5px;top:3px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;line-height:1;border-radius:11px;background:#c22ae3;color:#fff;font-weight:800;font-size:11px;box-shadow:0 0 10px #b32ae888}
.v5817-badge[hidden]{display:none!important}
#v5816FriendsPrimary,#v5815NavFriends{position:relative}
#members .v5817-member-actions>summary{padding:0!important}
#members .v5817-member-actions>summary:after{display:none!important;content:none!important}
.v5817-push-area button{color:#f7e8ff!important}
