#chat-form textarea[name=message] { box-sizing:border-box; min-width:0; width:100%; min-height:2.5rem; max-height:7rem; resize:none; field-sizing:content; font:inherit; }
#dialog-body .rc-participant-card { display:grid; gap:.8rem; width:100%; min-width:0; }
#dialog-body .rc-participant-identity {display:flex; align-items:center; gap:.7rem; min-width:0;}
#dialog-body .rc-participant-identity .room-member-portrait {margin:0; flex:none; width:3.1rem; height:3.1rem;}
#dialog-body .rc-participant-identity strong {overflow-wrap:anywhere;}
#dialog-body .rc-participant-actions {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,3.5rem),1fr)); gap:.4rem; min-width:0;}
#dialog-body .rc-participant-actions :is(button,a).button {
 display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.25rem; text-decoration:none;
 box-sizing:border-box; width:100%; min-width:0; min-height:3.05rem; padding:.3rem .16rem;
 font-size:.72rem; line-height:1.1; white-space:normal; overflow-wrap:anywhere; text-align:center;
}
#dialog-body .rc-participant-actions svg {width:1.05rem; height:1.05rem; flex:none;}
#dialog-body .rc-participant-card details > summary {cursor:pointer; margin-bottom:.35rem;}
#dialog-body .rc-participant-card .room-member-stats {margin:0;}
#dialog-body .rc-participant-card .room-member-feedback {margin:0;}
.profile-hero.member-profile-hero.profile-compact,
.profile-hero.rc-panoramic-assistant {
 display:grid; grid-template-columns:auto minmax(0,1fr); gap:0 1rem; padding:0; align-items:start; overflow:visible;
}
.profile-hero.member-profile-hero.profile-compact > .profile-cover,
.profile-hero.rc-panoramic-assistant > .profile-cover {
 grid-column:1/-1; position:relative; inset:auto; display:block; box-sizing:border-box;
 width:100%; max-width:none; height:clamp(180px,16vw,240px); min-height:0; max-height:none;
 aspect-ratio:auto; margin:0; border:0; border-radius:inherit; border-bottom-left-radius:0; border-bottom-right-radius:0;
 background-repeat:no-repeat; overflow:hidden;
}
.profile-hero.member-profile-hero.profile-compact > .profile-cover > img,
.profile-hero.rc-panoramic-assistant > .profile-cover > img {
 display:block; position:absolute; inset:0; width:100%; height:100%; max-width:none; max-height:none; object-fit:cover; opacity:1;
}
.profile-hero.member-profile-hero.profile-compact > :is(.profile-avatar,.rc-moderator-avatar-wrap),
.profile-hero.rc-panoramic-assistant > .profile-avatar { margin:-2.2rem 0 0 1rem; align-self:start; z-index:1; }
.profile-hero :is(.profile-overview,.rc-assistant-overview) {padding:.7rem 1rem 1rem 0; min-width:0;}
.rc-cover-picker .rc-cover-preview figure > div,.rc-cover-picker .rc-cover-gallery img {aspect-ratio:6;}
.rc-cover-picker .rc-cover-preview figure:nth-child(2) > div {aspect-ratio:3.5;}
@media(max-width:650px) {
 .profile-hero.member-profile-hero.profile-compact > .profile-cover,
 .profile-hero.rc-panoramic-assistant > .profile-cover {height:clamp(98px,27vw,150px);}
 .profile-hero.member-profile-hero.profile-compact,.profile-hero.rc-panoramic-assistant{column-gap:.6rem;}
 .profile-hero.member-profile-hero.profile-compact > :is(.profile-avatar,.rc-moderator-avatar-wrap),
 .profile-hero.rc-panoramic-assistant > .profile-avatar {margin-left:.55rem;}
}

#site-dialog:has(.rc-participant-card) {width:min(29rem,calc(100vw - 1rem));min-width:0;max-width:calc(100vw - 1rem);box-sizing:border-box;}
#site-dialog:has(.rc-participant-card) #dialog-body {min-width:0;}
#dialog-body .rc-participant-card {grid-template-columns:minmax(0,1fr);align-items:start;}
#dialog-body .rc-participant-identity {width:100%;}
#dialog-body .rc-participant-card .room-member-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem;}

[data-lounge-message] textarea{width:100%;min-width:0;min-height:2.5rem;max-height:7rem;resize:none;field-sizing:content;font:inherit;}
