/* ChatCito DEV - Ficha dentro de pantalla V5.
   Mantiene colores, avatar 68/56px, WHOIS y botones de la V4. */
html body .kiwi-userbox,
html body .kiwi-statebrowser-usermenu {
  box-sizing: border-box !important;
  width: min(408px, calc(100vw - 20px)) !important;
  min-width: 0 !important;
  max-width: calc(100vw - 20px) !important;
  max-height: calc(100dvh - 20px) !important;
  translate: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
html body .kiwi-userbox *,
html body .kiwi-statebrowser-usermenu * {
  box-sizing: border-box;
}
html body .kiwi-userbox .kiwi-userbox-header,
html body .kiwi-statebrowser-usermenu .kiwi-statebrowser-usermenu-header {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
html body .kiwi-userbox .kiwi-userbox-header > *,
html body .kiwi-statebrowser-usermenu .kiwi-statebrowser-usermenu-header > * {
  min-width: 0;
}
html body .kiwi-userbox :is(.ccup-profile, .ccup-bio, .ccup-item),
html body .kiwi-statebrowser-usermenu :is(.ccup-profile, .ccup-bio, .ccup-item) {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
html body .kiwi-userbox :is(p, strong, small, span),
html body .kiwi-statebrowser-usermenu :is(p, strong, small, span) {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  html body .kiwi-userbox,
  html body .kiwi-statebrowser-usermenu {
    width: min(390px, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    overscroll-behavior: contain;
  }
}
