/* SOLVEN TEAM v40 - compact desktop profile.
   No data, image, links, Twitch or glow logic is modified. */
@media (min-width: 761px) and (min-height: 650px) {
  html body dialog#ct-profile.svpp29-dialog {
    width: min(910px, calc(100vw - 30px)) !important;
    max-height: calc(100dvh - 22px) !important;
    scrollbar-width: thin;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-shell {
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-bottom: 14px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-hero {
    padding-top: 29px !important;
    padding-bottom: 10px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-top {
    grid-template-columns: 88px minmax(0,1fr) !important;
    min-height: 88px !important;
    gap: 15px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-avatar {
    width: 88px !important;
    height: 88px !important;
  }
  html body dialog#ct-profile.svpp29-dialog h2.svpp29-name {
    font-size: clamp(31px,3.4vw,43px) !important;
    line-height: 1.02 !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-eyebrow {margin-bottom:4px !important;}
  html body dialog#ct-profile.svpp29-dialog .svpp29-role {margin-top:4px !important; font-size:11px !important;}
  html body dialog#ct-profile.svpp29-dialog .svpp29-joined {margin-top:4px !important; font-size:10px !important;}
  html body dialog#ct-profile.svpp29-dialog .svpp29-stats {
    margin-top: 8px !important;
    gap: 10px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-stat {
    box-sizing: border-box !important;
    min-height: 55px !important;
    padding: 8px 12px !important;
    border-radius: 11px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-stat small {
    margin-bottom: 3px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-stat strong {
    font-size: 22px !important;
    line-height: 1.05 !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-section,
  html body dialog#ct-profile.svpp29-dialog .sv39-fn-section {
    padding-top: 11px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-title,
  html body dialog#ct-profile.svpp29-dialog .sv39-fn-heading {
    margin-bottom: 8px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-bio {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-gear-grid {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 9px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-gear-card {
    min-height: 0 !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-gear-media {
    flex: 0 0 62px !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-gear-media > img {
    max-height: 47px !important;
    max-width: 76px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-gear-body {
    min-height: 62px !important;
    padding: 7px 7px 8px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-gear-cta {
    margin-top: 5px !important;
    padding: 4px 7px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .sv39-fn-grid {
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 8px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .sv39-fn-card {
    min-height: 67px !important;
    padding: 9px 11px 11px !important;
    border-radius: 11px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .sv39-fn-card-head {
    margin-bottom: 3px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .sv39-fn-icon {
    width: 22px !important;
    height: 22px !important;
    border-radius: 6px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .sv39-fn-icon svg {
    width: 13px !important;
    height: 13px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .sv39-fn-value {
    font-size: 14px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-socials {
    gap: 8px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-social-btn {
    padding: 5px 9px !important;
    min-height: 32px !important;
  }
  html body dialog#ct-profile.svpp29-dialog .svpp29-social-icon {
    width: 24px !important;
    height: 24px !important;
  }
}
/* Preserve scrolling when many settings are entered or the viewport is small.
   The dialog must never cut off a profile's content. */
