.bc-auth-modes{display:flex;gap:8px;margin:12px 0}.bc-auth-modes button{flex:1;border:1px solid #466580;border-radius:9px;background:#142d45;color:#fff;padding:10px;cursor:pointer}.bc-auth-modes button.active{background:#edbe69;color:#102237}.bc-chat-username{color:#ecbf6d}.bc-realtime-state{font-size:11px;color:#a6c5d8}.bc-msg-pending{padding:10px;color:#edc782}#bcAuthStatus{color:#b7d7ec;font-size:13px;min-height:16px}.bc-content-error{color:#ffd28a}
/* V64: diálogo de acceso siempre visible y desplazable, sin afectar otros modales. */
#authModal {overflow-y:auto; align-items:start; overscroll-behavior:contain;}
#authModal .auth-card {max-height:calc(100dvh - 36px); overflow-y:auto; margin:auto 0; scrollbar-width:thin;}
#bcAuthStatus {min-height:1.3em; overflow-wrap:anywhere;}
@media(max-height:780px){#authModal .auth-card{padding:20px;}#authModal .auth-social-stack{gap:7px;}#authModal .auth-card>p{margin:7px 0;}}

.bc-auth-help{display:flex;justify-content:center;gap:12px;margin:12px 0 6px}.bc-auth-help button{border:0;background:none;color:#f4cc7a;text-decoration:underline;cursor:pointer;font-size:13px;padding:5px}.bc-auth-help button:hover{color:#fff}

/* V71: acceso adaptable a pantallas cortas y dispositivos móviles */
#authModal.open{display:flex;flex-direction:column;align-items:center;justify-content:safe center;overflow-y:auto;padding:12px;overscroll-behavior:contain;}
#authModal .auth-card{flex:0 0 auto;width:min(520px,100%);max-width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;margin:auto;scrollbar-width:thin;padding:clamp(14px,2.6vh,24px);}
#authModal .auth-card h2{font-size:clamp(1.2rem,3vh,1.8rem);line-height:1.15;margin:5px 0;}
#authModal .auth-card>p{font-size:.84rem;line-height:1.35;margin:5px 0;}
#authModal .auth-social-stack{gap:5px;margin:7px 0;}
#authModal .auth-social-stack button{min-height:36px;padding:6px 10px;}
#authModal .auth-divider{margin:5px 0;}
#authModal .bc-auth-modes{margin:7px 0;}
#authModal .bc-auth-modes button{padding:7px;}
#authModal .auth-card form{gap:7px;margin-top:7px;}
#authModal .auth-card input{padding:8px 11px;width:100%;min-width:0;}
#authModal .auth-card form .btn{min-height:39px;}
#authModal .bc-auth-help{flex-wrap:wrap;margin:5px 0;gap:4px 12px;}
#authModal .auth-note{margin-top:6px;padding:7px 10px;font-size:.7rem;}
#authModal .bc-show-password{justify-self:end;background:transparent;border:0;color:#f4cc7a;text-decoration:underline;cursor:pointer;font-size:.78rem;padding:2px;}
@media(max-width:480px){#authModal{padding:7px;}#authModal .auth-card{border-radius:15px;max-height:calc(100dvh - 14px);padding:14px;}#authModal .auth-card>p{font-size:.78rem;}#authModal .modal-close{right:7px;top:7px;}}

.bc-session-panel{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;margin:8px 0 14px;border-radius:12px;background:#103b52;border:1px solid #3a7e88;color:white;flex-wrap:wrap}.bc-session-panel[hidden]{display:none!important}.bc-session-panel strong{display:block;color:#f3cb79}.bc-session-panel #bcUserIdentity{font-size:13px;overflow-wrap:anywhere}.bc-session-panel button{background:#f3c56b;color:#122339;border:0;border-radius:8px;padding:9px 12px;cursor:pointer;font-weight:700}

#bcConfirmWrap:not([hidden]){display:grid!important}#bcConfirmWrap[hidden]{display:none!important}#authModal.bc-reset-mode .auth-social-stack,#authModal.bc-reset-mode .auth-divider,#authModal.bc-reset-mode .bc-auth-modes{display:none!important}#authModal.bc-reset-mode .auth-card h2{margin-right:40px}#authModal .auth-card input{font-size:16px}#authModal .auth-card{max-height:calc(100dvh - 20px)}

/* V80: account-status indicator, displayed only for a verified active session. */
.bc-online-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#35db8b;box-shadow:0 0 0 3px rgba(53,219,139,.15);margin-right:6px}
.bc-sidebar-identity{border:1px solid #34756a;background:#103b3b;color:#d9fff0;border-radius:10px;padding:10px 12px;font-size:13px;overflow-wrap:anywhere;margin:10px 0}
.bc-sidebar-identity[hidden]{display:none!important}

/* V87: burbujas diferenciadas, nombres públicos y previsualización multimedia. */
#bcLiveMessages .bc-message-other{justify-content:flex-start}
#bcLiveMessages .bc-message-own{justify-content:flex-end;flex-direction:row-reverse}
#bcLiveMessages .bc-message>div{flex:0 1 82%;min-width:0;max-width:82%}
#bcLiveMessages .bc-message-own .bc-chat-username{display:block;text-align:right;color:#a9f2d6}
#bcLiveMessages .bc-message-own p{background:#155c55;border:1px solid #278878;border-radius:13px 3px 13px 13px;color:#f3fffa}
#bcLiveMessages .bc-message-other p{border-radius:3px 13px 13px 13px}
#bcLiveMessages .bc-message-own .bc-msg-avatar{background:#236f65;color:white}
.bc-upload-preview{margin:0 15px 16px;border:1px solid #426781;border-radius:13px;background:#0f2c43;padding:13px;color:#d8e9f5}
.bc-upload-preview[hidden]{display:none!important}
.bc-upload-preview strong{display:block;margin-bottom:8px;color:#f3cb79}
.bc-upload-preview img,.bc-upload-preview video{display:block;max-width:100%;max-height:300px;object-fit:contain;border-radius:8px;background:#091b2a}
.bc-upload-preview p{font-size:12px;overflow-wrap:anywhere}
.bc-upload-preview button{background:#f0bc61;border:0;border-radius:8px;padding:8px 12px;color:#142337;font-weight:700;cursor:pointer}
@media(max-width:550px){#bcLiveMessages .bc-message>div{max-width:88%;flex-basis:88%}}

/* V88 - Muro público de fotografías y videos */
.bc-publisher{display:grid;gap:12px}.bc-publisher label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#f3cb79}
.bc-publisher textarea,.bc-publisher select{width:100%;box-sizing:border-box;background:#091e33;color:#fff;border:1px solid #48667e;border-radius:9px;padding:10px;font:inherit}
.bc-publisher-hint{color:#b7d1df;line-height:1.5}.bc-publisher-actions{display:flex;gap:10px;flex-wrap:wrap}
.bc-gallery-section{padding:14px;border-top:1px solid #34546b}.bc-gallery-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.bc-gallery-head strong{color:#f4c773}.bc-gallery-head p,.bc-gallery-status{font-size:12px;color:#afc3d5;margin:5px 0}
.bc-gallery-head button,.bc-post-bottom button{border:1px solid #4c7188;border-radius:8px;background:#183c57;color:#fff;padding:8px 12px;cursor:pointer}
.bc-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px}
.bc-post-card{border:1px solid #3b5b72;border-radius:14px;background:#102e45;overflow:hidden;min-width:0}
.bc-post-head{display:flex;align-items:start;justify-content:space-between;gap:8px;padding:12px;font-size:11px;color:#e8f3fb}
.bc-post-head strong{overflow-wrap:anywhere}.bc-post-head span{white-space:nowrap;color:#f3c879}
.bc-post-media{min-height:120px;background:#08192a;display:grid;place-items:center;color:#cbd7e0;font-size:11px}
.bc-post-media img,.bc-post-media video{display:block;width:100%;max-height:450px;object-fit:contain;background:#08192a}
.bc-post-caption{font-size:12px;line-height:1.5;padding:0 12px;color:#e7f2f9;overflow-wrap:anywhere}
.bc-post-bottom{display:flex;justify-content:end;padding:9px 12px}
@media(max-width:650px){.bc-gallery-head{align-items:start;flex-direction:column}.bc-gallery-grid{grid-template-columns:1fr}}

/* V89: mural social interactivo, solo afecta Braisjo-Conversation. */
.bc-social-panel{margin:14px 12px;padding:15px;background:#12334b;border:1px solid #375f79;border-radius:14px;color:#eaf5ff}
.bc-social-panel[hidden]{display:none!important}
.bc-social-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.bc-social-heading strong{color:#f7c36b}.bc-social-heading span{font-size:12px;color:#aecbda}
.bc-social-profile-row{display:flex;gap:14px;align-items:flex-start}.bc-social-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;flex:1;min-width:0}
.bc-social-profile-fields label{display:grid;gap:5px;font-size:12px;color:#d9ebf5}.bc-social-profile-fields label:nth-child(3){grid-column:1/-1}.bc-social-profile-fields input{min-width:0;max-width:100%;width:100%;box-sizing:border-box;border:1px solid #466c82;border-radius:8px;background:#081f34;color:white;padding:9px;font:inherit}
.bc-social-save{justify-self:start;background:#f2bc5d!important;color:#09233b!important;border:0!important;padding:9px 15px;border-radius:8px;cursor:pointer}.bc-social-profile-status{color:#cfdeec;align-self:center}
.bc-social-avatar{width:44px;height:44px;object-fit:cover;border-radius:50%;border:2px solid #48809b;flex-shrink:0;background:#28536a}.bc-social-myavatar{width:72px;height:72px}.bc-social-avatar-empty{background:radial-gradient(circle at 50% 37%,#7aa4bb 0 22%,transparent 24%),radial-gradient(ellipse at 50% 100%,#7aa4bb 0 39%,transparent 41%),#234761}
.bc-social-post{display:flex;flex-direction:column}.bc-social-author{display:flex;gap:8px;align-items:center;min-width:0}.bc-social-author-text{display:flex;flex-direction:column;gap:4px;min-width:0}.bc-social-author-text small{font-size:11px;color:#bbd0dd}.bc-social-visibility{flex-shrink:0}.bc-social-actions{display:flex;justify-content:flex-start;gap:8px;flex-wrap:wrap}.bc-social-actions button{font-size:12px;min-height:34px}.bc-social-actions .bc-social-like.active{color:#ffb0b9;border-color:#c26c80}.bc-social-actions .bc-social-delete{margin-left:auto}.bc-social-actions button:disabled{opacity:.5;cursor:not-allowed}
.bc-social-comments{border-top:1px solid #34566d;padding:10px 12px 14px}.bc-social-comment-count{display:block;color:#f1c16a;font-size:12px;margin-bottom:8px}.bc-social-comment{font-size:12px;line-height:1.45;color:#e1edf5;margin:6px 0;overflow-wrap:anywhere}.bc-social-comment b{color:#f0c87a}.bc-social-comment-remove{margin-left:5px;border:0;background:none;color:#eebbbd;cursor:pointer;font-size:18px}.bc-social-comment-form{display:flex;gap:6px;margin-top:12px}.bc-social-comment-form input{flex:1;min-width:0;background:#09243c;color:white;border:1px solid #4b7288;border-radius:7px;padding:8px}.bc-social-comment-form button{border:0;border-radius:7px;background:#f1bd60;color:#0b2339;padding:8px;cursor:pointer}.bc-social-expandable{cursor:zoom-in}
.bc-social-lightbox{max-width:min(94vw,1040px);max-height:92vh;background:#071a2a;border:1px solid #5d8094;border-radius:12px;padding:14px;color:white}.bc-social-lightbox::backdrop{background:rgba(1,10,18,.88)}.bc-social-lightbox button{display:block;margin:0 0 10px auto;background:#edbb61;color:#0b2338;border:0;border-radius:8px;padding:9px;cursor:pointer}.bc-social-lightbox img{display:block;max-width:88vw;max-height:78vh;object-fit:contain}
@media(max-width:620px){.bc-social-profile-row{flex-direction:column}.bc-social-profile-fields{grid-template-columns:1fr;width:100%}.bc-social-profile-fields label:nth-child(3){grid-column:auto}.bc-social-post .bc-post-head{flex-wrap:wrap}.bc-social-visibility{margin-left:auto}}
