#ninbai-staff-stage { margin:24px 0 0; border:1px solid #e0d8c8; border-radius:8px; background:#fff; padding: clamp(12px, 3vw, 24px); }
#ninbai-staff-stage[hidden] { display:none; }
#ninbai-staff-stage h3 { margin:0 0 8px; letter-spacing:.04em; font-size:1.12rem; }
#ninbai-staff-stage p { margin:0 0 10px; line-height:1.6; }
#ninbai-staff-frame { display:block; width:100%; height:min(720px,76svh); min-height:320px; border:1px solid #ede8df; border-radius:6px; }

/* The staff chooser keeps its usual width. The shared profile gets the full carousel width. */
#ninbai-staff-stage.is-profile-open{position:relative;left:50%;transform:translateX(-50%);box-sizing:border-box;width:min(calc(100vw - 24px),1440px);padding:0;border:0}
#ninbai-staff-stage.is-profile-open #ninbai-staff-frame{width:100%;border:0;height:82svh}
@media(max-width:600px){#ninbai-staff-stage.is-profile-open{width:calc(100vw - 12px)}}
