/*
  Profile overview final fit module.
  Extracted from the former pages/57-profile-overview.css; keep after 57-3-profile-overview-canonical.css.
*/

/* =========================================================
   Public UI P2.51 Р В Р вЂ Р В РІР‚С™Р Р†Р вЂљРЎСљ profile global audit canonical fit
   Goal: cleanup accumulated profile overrides, remove the last
   height conflicts, and fit the player profile into the lower
   viewport area more predictably without breaking other tabs.
========================================================= */
body.page-profile .wrap{
  margin-bottom: 6px !important;
}
body.page-profile .siteFooter{
  margin-top: 0 !important;
}
.sitePanel--profile{
  --profile-shell-fit: clamp(460px, calc(100dvh - 298px), 660px);
  min-height: 0 !important;
}
.sitePanel--profile,
.sitePanel--profile .panel-body,
.profilePage__body,
.profilePage .profileLayout,
.profileMain,
.profileMain > .pPanel,
.profileMain > .pPanel.is-active,
.profileMain > .pPanel.is-active > .profilePane,
.profilePane,
#profileOverview.profilePane,
#profileOverview .profileOverviewShell,
#profileOverview .profileOverviewShell--unified,
#profileOverview .profileOverviewUnified{
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
}
.sitePanel--profile .panel-body{
  padding: 6px !important;
}
.profilePage__body{
  display: flex;
  flex-direction: column;
  gap: 0 !important;
}
.profilePage .profileLayout{
  grid-template-columns: minmax(0, 168px) minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
}
.profileAside,
.profileMain,
.profileMain > .pPanel,
.profilePane,
.profileBox,
.profilePane .panel{
  min-width: 0 !important;
}
.profileNav{
  padding: 6px !important;
  border-radius: 16px !important;
}
.profileNav--side{
  gap: 5px !important;
  max-height: none !important;
  overflow: visible !important;
}
.pTab{
  min-height: 32px !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  border-radius: 11px !important;
}
.profilePane{
  padding: 8px !important;
  gap: 8px !important;
  border-radius: 18px !important;
  align-content: start !important;
}
.profilePane .card__head{
  margin-bottom: 6px !important;
  gap: 6px 8px !important;
}
.profilePane .card__title{
  font-size: 14px !important;
  line-height: 1.12 !important;
}
.profilePane .hint,
.profileSubHint,
.profileDeviceHint{
  font-size: 10.5px !important;
  line-height: 1.34 !important;
}

#profileOverview.profilePane{
  padding: 0 !important;
  overflow: hidden !important;
  display: block !important;
}
#profileOverview .profileOverviewShell--unified{
  gap: 0 !important;
}
#profileOverview .profileOverviewUnified{
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  gap: 8px !important;
  padding: 10px !important;
  border-radius: 18px !important;
  align-content: start !important;
}
#profileOverview .profileOverviewUnified__hero{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 96px !important;
  gap: 8px !important;
  align-items: stretch !important;
  padding-bottom: 0 !important;
}
#profileOverview .profileOverviewUnified .profileOverviewIdentity,
#profileOverview .profileOverviewUnified .profileOverviewHero__aside,
#profileOverview .profileOverviewUnified .profileOverviewMetric,
#profileOverview .profileOverviewUnified .profileOverviewSection{
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background: linear-gradient(180deg, rgba(17,20,27,.86), rgba(10,12,18,.88)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}
#profileOverview .profileOverviewUnified .profileOverviewIdentity{
  grid-template-columns: 54px minmax(0,1fr) !important;
  gap: 10px !important;
  padding: 10px !important;
  align-items: center !important;
}
#profileOverview .profileOverviewUnified .profileOverviewIdentity__ava{
  width: 54px !important;
  height: 54px !important;
  border-radius: 14px !important;
}
#profileOverview .profileOverviewUnified .profileOverviewIdentity__body{
  gap: 4px !important;
}
#profileOverview .profileOverviewUnified .profileOverviewIdentity__name{
  font-size: clamp(16px, 1.1vw, 20px) !important;
  line-height: 1.04 !important;
}
#profileOverview .profileOverviewUnified .profileOverviewIdentity__sid{
  font-size: 10.5px !important;
  line-height: 1.28 !important;
}
#profileOverview .profileOverviewUnified .profileOverviewIdentity__meta,
#profileOverview .profileOverviewUnified .profileOverviewIdentity__chips{
  gap: 5px !important;
}
#profileOverview .profileOverviewUnified .profileOverviewIdentity__meta .pill,
#profileOverview .profileOverviewUnified .profileOverviewIdentity__chips .pill{
  min-height: 22px !important;
  padding: 4px 7px !important;
  font-size: 10px !important;
}
#profileOverview .profileOverviewUnified .profileOverviewHero__aside{
  min-width: 96px !important;
  width: 96px !important;
  padding: 8px !important;
  gap: 6px !important;
  justify-content: center !important;
}
#profileOverview .profileOverviewUnified .profileOverviewHero__aside--compact{
  padding: 8px !important;
}
#profileOverview .profileOverviewUnified .profileOverviewActions{
  display: none !important;
}
#profileOverview .profileOverviewUnified .profileOverviewMode,
#profileOverview .profileOverviewUnified .profileOverviewMode .modeSwitch{
  width: 100% !important;
}
#profileOverview .profileOverviewUnified .profileOverviewMode .modeSwitch{
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
}
#profileOverview .profileOverviewUnified .profileOverviewMode .modeSwitch__btn{
  min-height: 32px !important;
  padding: 6px 0 !important;
  font-size: 11px !important;
  border-radius: 10px !important;
}

#profileOverview .profileOverviewRibbon{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: stretch !important;
}
#profileOverview .profileOverviewMetric{
  min-height: 72px !important;
  padding: 9px 10px !important;
  gap: 5px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
#profileOverview .profileOverviewMetric__label{
  font-size: 9px !important;
  letter-spacing: .11em !important;
}
#profileOverview .profileOverviewMetric__value{
  font-size: clamp(14px, 1vw, 17px) !important;
  line-height: 1.06 !important;
}
#profileOverview .profileOverviewMetric__sub{
  font-size: 10.5px !important;
  line-height: 1.3 !important;
}
#profileOverview .profileOverviewMetric__bar{
  height: 4px !important;
  margin-top: 0 !important;
}

#profileOverview .profileOverviewUnified__content{
  display: grid !important;
  grid-template-columns: minmax(0, 1.34fr) minmax(0, .86fr) !important;
  gap: 8px !important;
  align-items: start !important;
}
#profileOverview .profileOverviewMainStack,
#profileOverview .profileOverviewAsideStack{
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
#profileOverview .profileOverviewSection{
  padding: 10px !important;
  gap: 8px !important;
  min-height: 0 !important;
}
#profileOverview .profileOverviewSection__head{
  margin-bottom: 0 !important;
  gap: 6px 8px !important;
  align-items: center !important;
}
#profileOverview .profileOverviewSection__eyebrow{
  font-size: 9px !important;
  letter-spacing: .13em !important;
}
#profileOverview .profileOverviewSection__title{
  font-size: 13px !important;
  line-height: 1.15 !important;
}
#profileOverview .profileOverviewSection__meta,
#profileOverview .profileOverviewEmpty{
  font-size: 10.5px !important;
  line-height: 1.34 !important;
}
#profileOverview .profileOverviewSection--summary .profileOverviewEntryList{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
#profileOverview .profileOverviewSection--appearance .profileOverviewEntryList,
#profileOverview .profileOverviewSection--rights .profileOverviewEntryList{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}
#profileOverview .profileOverviewEntry{
  min-height: 72px !important;
  padding: 8px 10px !important;
  gap: 4px !important;
  border-radius: 12px !important;
}
#profileOverview .profileOverviewEntry__head{
  font-size: 10px !important;
  letter-spacing: .08em !important;
}
#profileOverview .profileOverviewEntry__body{
  font-size: clamp(13px, .95vw, 16px) !important;
  line-height: 1.08 !important;
}
#profileOverview .profileOverviewEntry__accent{
  font-size: inherit !important;
}
#profileOverview .profileOverviewEntry__note{
  margin-top: 2px !important;
  font-size: 10.5px !important;
  line-height: 1.3 !important;
}
#profileOverview .profileOverviewEntry__pillList .pill{
  min-height: 20px !important;
  padding: 3px 7px !important;
  font-size: 10px !important;
}

#profileOverview .profileOverviewSection--shops{
  min-height: 64px !important;
}
#profileOverview .profileOverviewShopList{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
#profileOverview .profileOverviewShopRow{
  min-height: 58px !important;
  padding: 8px 10px !important;
  gap: 8px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
#profileOverview .profileOverviewShopRow__name{
  font-size: 12px !important;
  line-height: 1.2 !important;
}
#profileOverview .profileOverviewShopRow__meta{
  font-size: 10px !important;
  line-height: 1.28 !important;
}
#profileOverview .profileOverviewShopList .btn,
#profileOverview #profileMyShops > .profileOverviewSection__head .btn{
  min-height: 30px !important;
  padding: 5px 9px !important;
  font-size: 11px !important;
  border-radius: 10px !important;
}

.profileMain > .pPanel.is-active > .profilePane,
#profileOverview.profilePane,
.profileNav--side,
#profileRadsDaily .miniTable,
#profileRadsEvents .eventsTable{
  overflow: visible !important;
  overscroll-behavior: auto !important;
  scrollbar-gutter: auto !important;
}

@media (max-width: 1480px){
  .sitePanel--profile{
    --profile-shell-fit: clamp(440px, calc(100dvh - 304px), 620px);
  }
  #profileOverview .profileOverviewUnified__content{
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .92fr) !important;
  }
}
@media (max-width: 1240px){
  .sitePanel--profile{
    --profile-shell-fit: auto;
  }
  .profilePage .profileLayout{
    grid-template-columns: 1fr !important;
  }
  .profileAside{
    display: block !important;
  }
  .profileNav--side{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)) !important;
  }
  #profileOverview .profileOverviewUnified__hero{
    grid-template-columns: 1fr !important;
  }
  #profileOverview .profileOverviewUnified .profileOverviewHero__aside{
    width: auto !important;
    min-width: 0 !important;
  }
  #profileOverview .profileOverviewUnified__content{
    grid-template-columns: 1fr !important;
  }
  #profileOverview .profileOverviewAsideStack{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 860px){
  #profileOverview .profileOverviewRibbon,
  #profileOverview .profileOverviewSection--summary .profileOverviewEntryList,
  #profileOverview .profileOverviewShopList,
  #profileOverview .profileOverviewAsideStack{
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 640px){
  .sitePanel--profile .panel-body,
  .profilePane{
    padding: 8px !important;
  }
  .profileNav--side{
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }
  .pTab{
    min-width: max-content !important;
  }
  #profileOverview .profileOverviewUnified{
    padding: 8px !important;
  }
  #profileOverview .profileOverviewRibbon,
  #profileOverview .profileOverviewSection--summary .profileOverviewEntryList,
  #profileOverview .profileOverviewShopList,
  #profileOverview .profileOverviewAsideStack{
    grid-template-columns: 1fr !important;
  }
  #profileOverview .profileOverviewUnified .profileOverviewIdentity{
    grid-template-columns: 1fr !important;
  }
  #profileOverview .profileOverviewUnified .profileOverviewIdentity__ava{
    width: 50px !important;
    height: 50px !important;
  }
}


/* =========================================================
   Public UI P2.52 Р В Р вЂ Р В РІР‚С™Р Р†Р вЂљРЎСљ profile overview information final balancing
   Goal: normalize the Information tab into a single professional
   composition: aligned cards, same visual rhythm, no dropped blocks,
   and cleaner use of the lower viewport area.
========================================================= */
#profileOverview .profileOverviewUnified{
  gap: 10px !important;
}
#profileOverview .profileOverviewUnified__hero{
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: stretch !important;
}
#profileOverview .profileOverviewUnified .profileOverviewIdentity,
#profileOverview .profileOverviewUnified .profileOverviewHero__aside,
#profileOverview .profileOverviewUnified .profileOverviewMetric,
#profileOverview .profileOverviewUnified .profileOverviewSection{
  border-radius: 16px !important;
}
#profileOverview .profileOverviewUnified .profileOverviewHero__aside{
  min-width: 104px !important;
  width: 104px !important;
  display: flex !important;
  align-items: stretch !important;
}
#profileOverview .profileOverviewUnified .profileOverviewMode,
#profileOverview .profileOverviewUnified .profileOverviewMode .modeSwitch{
  width: 100% !important;
  height: 100% !important;
}
#profileOverview .profileOverviewUnified .profileOverviewMode .modeSwitch{
  grid-template-columns: 1fr 1fr !important;
}
#profileOverview .profileOverviewUnified__content--balanced{
  display: grid !important;
  grid-template-columns: minmax(0, 1.34fr) minmax(280px, .90fr) minmax(220px, .78fr) !important;
  gap: 10px !important;
  align-items: stretch !important;
}
#profileOverview .profileOverviewSection--balancedCard{
  min-width: 0 !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 12px !important;
  background:
    linear-gradient(180deg, rgba(11,18,33,.92), rgba(8,13,25,.88)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 14px 34px rgba(0,0,0,.22) !important;
}
#profileOverview .profileOverviewSection__head{
  margin-bottom: 0 !important;
  min-height: 34px;
}
#profileOverview .profileOverviewSection__title{
  font-size: 14px !important;
}
#profileOverview .profileOverviewSection__eyebrow{
  font-size: 9px !important;
  letter-spacing: .14em !important;
}
#profileOverview .profileOverviewEntryList--summary,
#profileOverview .profileOverviewEntryList--stack{
  display: grid !important;
  gap: 10px !important;
  align-content: start !important;
}
#profileOverview .profileOverviewEntryList--summary{
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: minmax(94px, auto) !important;
}
#profileOverview .profileOverviewEntryList--stack{
  grid-template-columns: 1fr !important;
  grid-auto-rows: minmax(94px, auto) !important;
}
#profileOverview .profileOverviewEntry{
  min-width: 0 !important;
  min-height: 94px !important;
  padding: 10px 12px !important;
  gap: 5px !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
}
#profileOverview .profileOverviewEntry__head{
  font-size: 10px !important;
  line-height: 1.15 !important;
}
#profileOverview .profileOverviewEntry__body{
  min-width: 0 !important;
  font-size: clamp(13px, .9vw, 16px) !important;
  line-height: 1.1 !important;
}
#profileOverview .profileOverviewEntry__note{
  font-size: 10.5px !important;
  line-height: 1.34 !important;
}
#profileOverview .profileOverviewEntry__body,
#profileOverview .profileOverviewEntry__note,
#profileOverview .profileOverviewSection__meta,
#profileOverview .profileOverviewShopRow__meta,
#profileOverview .profileOverviewShopRow__name{
  overflow-wrap: anywhere;
  word-break: break-word;
}
#profileOverview .profileOverviewSection--summary{
  position: relative;
}
#profileOverview .profileOverviewSection__foot--shops{
  margin-top: auto !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
}
#profileOverview .profileOverviewShopsInline{
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px 12px !important;
  flex-wrap: wrap !important;
}
#profileOverview .profileOverviewShopsInline__text{
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
}
#profileOverview .profileOverviewShopsInline .btn{
  flex: 0 0 auto !important;
}
#profileOverview .profileOverviewShopList{
  margin-top: 8px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
#profileOverview .profileOverviewShopRow{
  min-height: 58px !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
}
#profileOverview .profileOverviewShopRow .btn,
#profileOverview .profileOverviewShopsInline .btn{
  min-height: 30px !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
}
#profileOverview .profileOverviewSection--appearance .profileOverviewEntry__body .chip,
#profileOverview .profileOverviewSection--appearance .profileOverviewEntry__body .pill,
#profileOverview .profileOverviewSection--rights .profileOverviewEntry__body .chip,
#profileOverview .profileOverviewSection--rights .profileOverviewEntry__body .pill{
  max-width: 100%;
}
#profileOverview .profileOverviewSection--appearance .profileOverviewEntryList,
#profileOverview .profileOverviewSection--rights .profileOverviewEntryList{
  flex: 1 1 auto;
}
#profileOverview .profileOverviewSection--appearance{
  min-width: 0 !important;
}
#profileOverview .profileOverviewSection--rights{
  min-width: 0 !important;
}

@media (max-width: 1560px){
  #profileOverview .profileOverviewUnified__content--balanced{
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .92fr) minmax(220px, .80fr) !important;
  }
}
@media (max-width: 1380px){
  #profileOverview .profileOverviewUnified__content--balanced{
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  #profileOverview .profileOverviewSection--summary{
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 1100px){
  #profileOverview .profileOverviewUnified__hero{
    grid-template-columns: 1fr !important;
  }
  #profileOverview .profileOverviewUnified .profileOverviewHero__aside{
    width: auto !important;
    min-width: 0 !important;
  }
  #profileOverview .profileOverviewUnified__content--balanced{
    grid-template-columns: 1fr !important;
  }
  #profileOverview .profileOverviewSection--summary,
  #profileOverview .profileOverviewSection--appearance,
  #profileOverview .profileOverviewSection--rights{
    grid-column: auto !important;
  }
}
@media (max-width: 720px){
  #profileOverview .profileOverviewEntryList--summary,
  #profileOverview .profileOverviewShopList{
    grid-template-columns: 1fr !important;
  }
}



