/* Capa de presentación canónica: llega después de los estilos heredados. */
.bz-bounzzap-embed .bz-layout{grid-template-columns:minmax(190px,220px) minmax(0,720px) minmax(250px,290px);width:min(100%,1280px);min-width:0}
.bz-bounzzap-embed .bz-left,.bz-bounzzap-embed .bz-main,.bz-bounzzap-embed .bz-right{min-width:0;max-width:100%}
.bz-bounzzap-embed .bz-left,.bz-bounzzap-embed .bz-right{overflow-wrap:anywhere}

/* Avatares: el contenedor conserva siempre el hueco, con imagen o placeholder. */
.bz-bounzzap-embed .bz-account-avatar{display:grid;place-items:center;flex:0 0 auto;width:46px;height:46px;aspect-ratio:1/1;overflow:hidden;border-radius:50%;background:#2b3c5f;color:#fff;font-weight:800;line-height:1;text-decoration:none}
.bz-bounzzap-embed .bz-account-avatar--small{width:38px;height:38px;font-size:.82rem}
.bz-bounzzap-embed .bz-account-avatar--large{width:126px;height:126px;font-size:2.35rem}
.bz-bounzzap-embed .bz-account-avatar img{display:block;width:100%;height:100%;max-width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:50%}
.bz-bounzzap-embed .bz-avatar{flex-shrink:0;aspect-ratio:1/1}
.bz-bounzzap-embed .bz-avatar img{display:block;width:100%;height:100%;max-width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:50%}
.bz-bounzzap-embed .bz-profile-avatar{aspect-ratio:1/1;flex-shrink:0}.bz-bounzzap-embed .bz-profile-avatar img,.bz-bounzzap-embed .bz-active-account img{display:block;width:100%;height:100%;max-width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:50%}

/* Una cuenta se representa siempre con una cuadrícula estable y texto flexible. */
.bz-bounzzap-embed .bz-account-card{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:10px 13px;border:1px solid var(--bz-line);border-radius:12px;background:var(--bz-panel)}
.bz-bounzzap-embed .bz-account-card--with-action{grid-template-columns:46px minmax(0,1fr) auto;align-items:center}
.bz-bounzzap-embed .bz-account-identity{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:1px;line-height:1.2}
.bz-bounzzap-embed .bz-account-card__body{display:grid;min-width:0;gap:3px;grid-column:2;line-height:1.35}
.bz-bounzzap-embed .bz-account-name{min-width:0;overflow-wrap:anywhere;color:var(--bz-text);font-weight:800;line-height:1.2;text-decoration:none}
.bz-bounzzap-embed .bz-account-handle,.bz-bounzzap-embed .bz-account-card__body small{display:block;min-width:0;margin:0;color:var(--bz-muted);line-height:1.2;overflow-wrap:anywhere}
.bz-bounzzap-embed .bz-account-card__body p{margin:1px 0;overflow-wrap:anywhere}
.bz-bounzzap-embed .bz-account-card__action{grid-column:3;grid-row:1 / span 2;align-self:center;min-width:0}
.bz-bounzzap-embed .bz-account-card__actions{grid-column:auto;grid-row:auto}
.bz-bounzzap-embed .bz-account-card.active,.bz-bounzzap-embed .bz-account-card.unread{border-color:#597ebd;background:#192a42}
.bz-bounzzap-embed .bz-account-card--compact{min-height:66px;box-sizing:border-box}
.bz-bounzzap-embed .bz-account-card--compact .bz-account-identity{align-self:center}
.bz-bounzzap-embed .bz-account-card--compact .bz-account-handle--primary{color:var(--bz-text);font-size:16px;font-weight:800;line-height:1.2;text-decoration:none}

/* Publicaciones y medios: el ancho pertenece a la tarjeta, nunca al archivo. */
.bz-bounzzap-embed .bz-post-grid,.bz-bounzzap-embed .bz-post-grid>div,.bz-bounzzap-embed .bz-post header,.bz-bounzzap-embed .bz-post header>a{min-width:0}
.bz-bounzzap-embed .bz-post header strong,.bz-bounzzap-embed .bz-post header small{overflow-wrap:anywhere}
.bz-bounzzap-embed .bz-post-card-body{padding:14px 17px}
.bz-bounzzap-embed .bz-post-header{display:flex;align-items:start;justify-content:space-between;gap:12px}
.bz-bounzzap-embed .bz-post-author{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:11px;min-width:0}
.bz-bounzzap-embed .bz-post-time{flex:0 0 auto;color:var(--bz-muted);font-size:11px;text-decoration:none}
.bz-bounzzap-embed .bz-post-actions{display:flex;flex-wrap:wrap;align-items:center;gap:2px;margin-top:10px}
.bz-bounzzap-embed .bz-post-actions>form{display:block;margin:0}
.bz-bounzzap-embed .bz-post-actions>a,.bz-bounzzap-embed .bz-post-actions>button,.bz-bounzzap-embed .bz-post-actions>form>button{border:0;border-radius:7px;background:transparent;color:var(--bz-muted);font:inherit;font-size:13px;line-height:1.25;padding:6px 9px;text-decoration:none;cursor:pointer}
.bz-bounzzap-embed .bz-post-actions>a:hover,.bz-bounzzap-embed .bz-post-actions>button:hover,.bz-bounzzap-embed .bz-post-actions>form>button:hover{background:#202d41;color:var(--bz-text)}
.bz-bounzzap-embed .bz-post-actions>form>button.active{color:#9dbbff}
.bz-bounzzap-embed .bz-post-actions .bz-post-toggle-error{display:block;max-width:18rem;color:var(--bz-danger,#db737b);font-size:12px;line-height:1.3}
.bz-bounzzap-embed .bz-post-actions .bz-post-edit{margin-left:auto;color:#7f90aa;font-size:12px}
.bz-bounzzap-embed .bz-post-admin-tools{margin-top:8px}
.bz-bounzzap-embed .bz-post-reference{display:inline-block;margin-top:10px;color:var(--bz-muted);font-size:12px;text-decoration:none}
.bz-bounzzap-embed .bz-post-reference:hover{text-decoration:underline;color:var(--bz-text)}
.bz-bounzzap-embed .bz-quoted-post-preview{display:grid;gap:7px;margin-top:11px;padding:10px;border:1px solid var(--bz-line);border-radius:10px;background:#111b27;color:var(--bz-text)}
.bz-bounzzap-embed .bz-quoted-post-preview__identity{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.bz-bounzzap-embed .bz-quoted-post-preview .bz-account-avatar{width:38px;height:38px}
.bz-bounzzap-embed .bz-quoted-post-preview__content{color:var(--bz-text);line-height:1.45;text-decoration:none;white-space:pre-wrap}
.bz-bounzzap-embed .bz-quoted-post-preview__content:hover{text-decoration:underline}
.bz-bounzzap-embed .bz-post-interaction-composer{margin-top:11px;padding:12px;border:1px solid var(--bz-line);border-radius:10px;background:#101a26}
.bz-bounzzap-embed .bz-post-composer-context{margin:0 0 8px;color:var(--bz-muted);font-size:13px}
.bz-bounzzap-embed .bz-post-interaction-composer textarea{display:block;box-sizing:border-box;width:100%;resize:vertical}
.bz-bounzzap-embed .bz-post-interaction-composer details{margin:9px 0}
.bz-bounzzap-embed .bz-post-composer-error{margin:0 0 8px;color:#ff9a9a}
.bz-bounzzap-embed .bz-media{width:100%;min-width:0;max-width:100%;isolation:isolate}
.bz-bounzzap-embed .bz-media>a,.bz-bounzzap-embed .bz-media>button,.bz-bounzzap-embed .bz-media>video{min-width:0;overflow:hidden}
.bz-bounzzap-embed .bz-media img,.bz-bounzzap-embed .bz-media video{display:block;max-width:100%;height:auto;max-height:min(520px,70vh);object-fit:contain}
.bz-bounzzap-embed .bz-media.count-1{display:flex;justify-content:center;background:#090d13}
.bz-bounzzap-embed .bz-media.count-1>a,.bz-bounzzap-embed .bz-media.count-1>button,.bz-bounzzap-embed .bz-media.count-1>video{width:100%}

/* Slots publicitarios con proporción controlada y creatividad contenida. */
.bz-bounzzap-embed .bz-diegetic-ad{min-width:0;max-width:100%;contain:layout paint}
.bz-bounzzap-embed .bz-diegetic-ad-vertical{max-block-size:360px;aspect-ratio:2/3}
.bz-bounzzap-embed .bz-diegetic-ad-square{max-block-size:290px;aspect-ratio:1/1}
.bz-bounzzap-embed .bz-diegetic-ad img,.bz-bounzzap-embed .bz-diegetic-ad video{max-width:100%;max-height:100%;object-fit:contain}

.bz-bounzzap-embed .bz-sidebar-accounts{display:grid;gap:9px}.bz-bounzzap-embed .bz-sidebar-account{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:8px;min-width:0}.bz-bounzzap-embed .bz-sidebar-account .bz-account-avatar{width:38px;height:38px}.bz-bounzzap-embed .bz-sidebar-account .bz-account-identity{min-width:0}
.bz-bounzzap-embed .bz-system-switcher{display:grid;gap:7px;margin:12px 0;padding:10px;border:1px solid var(--bz-line);border-radius:10px;background:var(--bz-panel);font-size:12px}.bz-bounzzap-embed .bz-system-switcher label{display:grid;gap:5px;color:var(--bz-muted)}.bz-bounzzap-embed .bz-system-switcher input{min-width:0;width:100%}.bz-bounzzap-embed .bz-system-switcher-results{display:grid;gap:3px}.bz-bounzzap-embed .bz-system-switcher-results button{display:grid;grid-template-columns:28px minmax(0,1fr);gap:7px;align-items:center;width:100%;padding:6px;border:0;border-radius:7px;background:transparent;color:var(--bz-text);text-align:left;cursor:pointer}.bz-bounzzap-embed .bz-system-switcher-results button:hover{background:#202d41}.bz-bounzzap-embed .bz-system-switcher-results img,.bz-bounzzap-embed .bz-system-switcher-results .bz-system-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#2b3c5f}.bz-bounzzap-embed .bz-system-switcher-results small{display:block;color:var(--bz-muted)}
.bz-bounzzap-embed .chat-peer,.bz-bounzzap-embed .chat-summary,.bz-bounzzap-embed .chat-private-result span{min-width:0}.bz-bounzzap-embed .chat-peer img,.bz-bounzzap-embed .chat-bubble-avatar,.bz-bounzzap-embed .chat-avatar img,.bz-bounzzap-embed .chat-private-result img{aspect-ratio:1/1;object-fit:cover;flex-shrink:0}

@media(max-width:1150px){.bz-bounzzap-embed .bz-layout{grid-template-columns:minmax(180px,220px) minmax(0,1fr)}.bz-bounzzap-embed .bz-right{display:none}}
@media(max-width:800px){.bz-bounzzap-embed .bz-account-card--with-action{grid-template-columns:46px minmax(0,1fr)}.bz-bounzzap-embed .bz-account-card__action{grid-column:1/-1;grid-row:auto}.bz-bounzzap-embed .bz-account-card__action button{width:100%}}
@media(max-width:560px){.bz-bounzzap-embed .bz-account-card{padding:11px}.bz-bounzzap-embed .bz-account-avatar{width:38px;height:38px}.bz-bounzzap-embed .bz-account-card,.bz-bounzzap-embed .bz-account-card--with-action{grid-template-columns:38px minmax(0,1fr)}.bz-bounzzap-embed .bz-account-card__body{grid-column:2}.bz-bounzzap-embed .bz-media{grid-template-columns:1fr}.bz-bounzzap-embed .bz-media.count-1{display:flex}}
