/*
  Profile levels module.
  Extracted from the former pages/60-profile-systems.css; keep after 60-profile-systems.css.
*/

   Public UI P2.56 РІР‚вЂќ profile levels audit and refined tiles
   Goal: clean leftover layout debt in the Levels tab and turn
   the catalog into compact, balanced tiles without stretched
   columns or empty vertical voids.
========================================================= */
.profilePane--levels{
  --lvl-tile-min: 236px;
}
.profilePane--levels .card__head{
  align-items:flex-start !important;
}
.profilePane--levels .profileLikesSummary{
  white-space: nowrap;
}
.profilePane--levels #profileLevelsTop,
.profilePane--levels #profileLevelsList,
.profilePane--levels .profileTabCatalog{
  width:100% !important;
}
.profilePane--levels .lvlTop.lvlTop--refined{
  display:grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr) !important;
  gap: 14px !important;
}
.profilePane--levels .lvlTop__main--refined,
.profilePane--levels .lvlTop__side--refined{
  min-height: 146px !important;
  padding: 14px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 12px 28px rgba(0,0,0,.16);
}
.profilePane--levels .lvlTop__main--refined{
  position: relative;
  overflow: hidden;
}
.profilePane--levels .lvlTop__main--refined::after{
  content:"";
  position:absolute;
  inset:auto auto -34px -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,140,40,.14), transparent 68%);
  pointer-events:none;
}
.profilePane--levels .lvlTop__value{
  font-size: 28px !important;
  line-height: 1.05;
}
.profilePane--levels .lvlTop__meta{
  font-size: 13px !important;
  color: rgba(231,237,243,.78) !important;
}
.profilePane--levels .lvlBar{
  margin-top: 12px;
  height: 8px !important;
  background: rgba(255,255,255,.06) !important;
}
.profilePane--levels .lvlBar__fill{
  background: linear-gradient(90deg, rgba(240,140,40,.92), rgba(255,180,79,.74)) !important;
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(240,140,40,.25);
}
.profilePane--levels .lvlTop__xp{
  margin-top: 12px !important;
  font-size: 12px !important;
  color: rgba(231,237,243,.86) !important;
}
.profilePane--levels .lvlTop__side--refined{
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
}
.profilePane--levels .lvlTop__empty,
.profilePane--levels .lvlTop__note{
  font-size: 12px;
  line-height: 1.45;
  color: rgba(231,237,243,.72);
}
.profilePane--levels .lvlTop__note{
  margin-top: 12px;
}
.profilePane--levels .lvlNextRewards--compact{
  display:flex !important;
  flex-wrap:wrap !important;
  gap: 8px !important;
  margin-top: 10px !important;
}
.profilePane--levels .lvlGrid{
  display:grid !important;
  grid-template-columns: repeat(auto-fit, minmax(var(--lvl-tile-min), 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}
.profilePane--levels .lvlCard{
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 14px !important;
  border-radius: 18px !important;
  display:grid !important;
  grid-template-rows: auto auto auto 1fr !important;
  gap: 10px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)),
    radial-gradient(circle at top right, rgba(240,140,40,.08), transparent 34%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 12px 24px rgba(0,0,0,.12);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.profilePane--levels .lvlCard:hover{
  transform: translateY(-2px);
  border-color: rgba(240,140,40,.26) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 16px 30px rgba(0,0,0,.18);
}
.profilePane--levels .lvlCard--current{
  border-color: rgba(240,140,40,.42) !important;
  box-shadow: 0 0 0 1px rgba(240,140,40,.18), 0 16px 30px rgba(0,0,0,.18) !important;
}
.profilePane--levels .lvlCard--done{
  border-color: rgba(89, 218, 146, .22) !important;
}
.profilePane--levels .lvlCard--pending{
  opacity: 1 !important;
}
.profilePane--levels .lvlCard__head{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap: 10px !important;
}
.profilePane--levels .lvlCard__eyebrow,
.profilePane--levels .lvlCard__lvl{
  font-size: 13px !important;
  font-weight: 1000 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(231,237,243,.9);
}
.profilePane--levels .lvlCard__state{
  padding: 5px 9px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}
.profilePane--levels .lvlCard--current .lvlCard__state{
  background: rgba(240,140,40,.14) !important;
  border-color: rgba(240,140,40,.34) !important;
}
.profilePane--levels .lvlCard--done .lvlCard__state{
  background: rgba(89,218,146,.12) !important;
  border-color: rgba(89,218,146,.26) !important;
}
.profilePane--levels .lvlCard__title{
  font-size: 18px !important;
  line-height: 1.15;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: initial !important;
}
.profilePane--levels .lvlCard__metaRow{
  display:flex !important;
  flex-wrap:wrap !important;
  gap: 8px 12px !important;
  align-items:center !important;
}
.profilePane--levels .lvlCard__req,
.profilePane--levels .lvlCard__count{
  display:inline-flex !important;
  align-items:center !important;
  gap: 4px;
  font-size: 12px !important;
  color: rgba(231,237,243,.8) !important;
}
.profilePane--levels .lvlCard__rewards{
  display:flex !important;
  flex-wrap:wrap !important;
  gap: 8px !important;
  align-content:flex-start !important;
  min-height: 30px;
}
.profilePane--levels .lvlCard__empty{
  display:inline-flex;
  align-items:center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.12);
  font-size: 12px;
  color: rgba(231,237,243,.66);
}
.profilePane--levels .lvlReward{
  max-width: 100%;
}
.profilePane--levels .lvlReward--mini{
  padding: 5px 8px !important;
  border-radius: 12px !important;
  font-size: 11px !important;
  gap: 6px !important;
  max-width: 100%;
}
.profilePane--levels .lvlReward--mini .lvlReward__ico{
  width: 15px !important;
  height: 15px !important;
  border-radius: 5px !important;
}
.profilePane--levels .lvlReward__txt{
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profilePane--levels .profileTabCatalog{
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.profilePane--levels .profileSectionMiniTitle{
  margin-bottom: 12px !important;
}

@media (max-width: 1280px){
  .profilePane--levels{
    --lvl-tile-min: 214px;
  }
  .profilePane--levels .lvlTop.lvlTop--refined{
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 980px){
  .profilePane--levels .lvlGrid{
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  }
}
@media (max-width: 760px){
  .profilePane--levels .lvlGrid{
    grid-template-columns: 1fr !important;
  }
  .profilePane--levels .lvlCard{
    padding: 12px !important;
  }
  .profilePane--levels .lvlCard__title{
    font-size: 16px !important;
  }
}

/* =========================================================
   Public UI P2.57 РІР‚вЂќ levels pane same scale as overview
   Goal: bring the Levels tab to the same visual scale as the
   Information tab: compact section heights, balanced cards and
   no oversized tiles or stretched vertical rhythm.
========================================================= */
.profilePane--levels{
  --lvl-tile-min: 208px;
}
.profilePane--levels .card__head{
  margin-bottom: 10px !important;
}
.profilePane--levels #profileLevelsTop,
.profilePane--levels #profileLevelsList{
  padding: 12px !important;
  border-radius: 20px !important;
}
.profilePane--levels #profileLevelsList{
  margin-top: 12px !important;
}
.profilePane--levels .profileSectionMiniTitle{
  margin-bottom: 10px !important;
  font-size: 11px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(240,140,40,.88) !important;
}
.profilePane--levels .lvlTop.lvlTop--refined{
  gap: 12px !important;
  align-items: stretch !important;
}
.profilePane--levels .lvlTop__main--refined,
.profilePane--levels .lvlTop__side--refined{
  min-height: 122px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 10px 22px rgba(0,0,0,.12) !important;
}
.profilePane--levels .lvlTop__main--refined::after{
  width: 132px;
  height: 132px;
  inset: auto auto -30px -24px;
  opacity: .75;
}
.profilePane--levels .lvlTop__kicker{
  font-size: 10px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
  color: rgba(231,237,243,.54) !important;
}
.profilePane--levels .lvlTop__value{
  font-size: 24px !important;
  margin-top: 2px !important;
}
.profilePane--levels .lvlTop__meta{
  font-size: 12px !important;
  min-height: 16px;
}
.profilePane--levels .lvlBar{
  margin-top: 10px !important;
  height: 7px !important;
}
.profilePane--levels .lvlTop__xp{
  margin-top: 10px !important;
  font-size: 11px !important;
  line-height: 1.35;
}
.profilePane--levels .lvlTop__side--refined{
  gap: 8px !important;
}
.profilePane--levels .lvlTop__empty,
.profilePane--levels .lvlTop__note{
  font-size: 11px !important;
  line-height: 1.4 !important;
}
.profilePane--levels .lvlTop__note{
  margin-top: 0 !important;
}
.profilePane--levels .lvlNextRewards--compact{
  margin-top: 6px !important;
  gap: 6px !important;
}

.profilePane--levels .profileTabCatalog{
  padding: 0 !important;
}
.profilePane--levels .lvlGrid{
  grid-template-columns: repeat(auto-fit, minmax(var(--lvl-tile-min), 1fr)) !important;
  gap: 12px !important;
  align-items: start !important;
}
.profilePane--levels .lvlCard{
  min-height: 158px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  gap: 8px !important;
  grid-template-rows: auto auto auto auto !important;
  align-content: start !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 10px 22px rgba(0,0,0,.12) !important;
}
.profilePane--levels .lvlCard__head{
  gap: 8px !important;
  align-items: center !important;
}
.profilePane--levels .lvlCard__eyebrow,
.profilePane--levels .lvlCard__lvl{
  font-size: 12px !important;
}
.profilePane--levels .lvlCard__state{
  padding: 4px 8px !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
}
.profilePane--levels .lvlCard__title{
  font-size: 15px !important;
  line-height: 1.2 !important;
  min-height: 18px;
}
.profilePane--levels .lvlCard__metaRow{
  gap: 6px 10px !important;
}
.profilePane--levels .lvlCard__req,
.profilePane--levels .lvlCard__count{
  font-size: 11px !important;
  line-height: 1.3 !important;
}
.profilePane--levels .lvlCard__rewards{
  gap: 6px !important;
  min-height: 24px !important;
}
.profilePane--levels .lvlCard__empty{
  min-height: 24px !important;
  padding: 0 8px !important;
  font-size: 11px !important;
}
.profilePane--levels .lvlReward--mini{
  padding: 4px 7px !important;
  border-radius: 10px !important;
  font-size: 10px !important;
  gap: 5px !important;
  min-height: 24px !important;
}
.profilePane--levels .lvlReward--mini .lvlReward__ico{
  width: 13px !important;
  height: 13px !important;
  border-radius: 4px !important;
}
.profilePane--levels .lvlReward__txt{
  font-size: inherit !important;
}

@media (max-width: 1280px){
  .profilePane--levels{
    --lvl-tile-min: 196px;
  }
  .profilePane--levels .lvlTop__main--refined,
  .profilePane--levels .lvlTop__side--refined{
    min-height: 118px !important;
  }
}
@media (max-width: 980px){
  .profilePane--levels .lvlGrid{
    grid-template-columns: repeat(auto-fit, minmax(184px, 1fr)) !important;
  }
  .profilePane--levels .lvlCard{
    min-height: 148px !important;
  }
}
@media (max-width: 760px){
  .profilePane--levels #profileLevelsTop,
  .profilePane--levels #profileLevelsList{
    padding: 10px !important;
  }
  .profilePane--levels .lvlTop__main--refined,
  .profilePane--levels .lvlTop__side--refined,
  .profilePane--levels .lvlCard{
    border-radius: 14px !important;
  }
  .profilePane--levels .lvlCard{
    min-height: 0 !important;
  }
}


/* =========================================================
   Public UI P2.58 РІР‚вЂќ levels viewport fit and compact catalog
   Goal: keep the Levels tab within the same visual height as
   the Information tab. Compact the top block and level cards
   so the catalog stays inside the viewport without the last
   row falling below the fold on desktop.
========================================================= */

.profilePane--levels{
  --lvl-tile-min: 186px;
}
.profilePane--levels .card__head{
  margin-bottom: 8px !important;
}
.profilePane--levels #profileLevelsTop,
.profilePane--levels #profileLevelsList{
  padding: 10px !important;
  border-radius: 18px !important;
}
.profilePane--levels #profileLevelsList{
  margin-top: 10px !important;
}
.profilePane--levels .profileSectionMiniTitle{
  margin-bottom: 8px !important;
  font-size: 10px !important;
}
.profilePane--levels .lvlTop.lvlTop--refined{
  gap: 10px !important;
}
.profilePane--levels .lvlTop__main--refined,
.profilePane--levels .lvlTop__side--refined{
  min-height: 106px !important;
  padding: 10px !important;
  border-radius: 14px !important;
}
.profilePane--levels .lvlTop__main--refined::after{
  width: 108px;
  height: 108px;
  inset: auto auto -24px -20px;
}
.profilePane--levels .lvlTop__value{
  font-size: 21px !important;
}
.profilePane--levels .lvlTop__meta,
.profilePane--levels .lvlTop__xp,
.profilePane--levels .lvlTop__empty,
.profilePane--levels .lvlTop__note{
  font-size: 10px !important;
  line-height: 1.35 !important;
}
.profilePane--levels .lvlBar{
  margin-top: 8px !important;
  height: 6px !important;
}
.profilePane--levels .lvlTop__xp{
  margin-top: 8px !important;
}
.profilePane--levels .lvlTop__note{
  margin-top: 4px !important;
}
.profilePane--levels .lvlNextRewards--compact{
  margin-top: 4px !important;
  gap: 5px !important;
}
.profilePane--levels .lvlGrid{
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.profilePane--levels .lvlCard{
  min-height: 126px !important;
  padding: 10px !important;
  border-radius: 14px !important;
  gap: 6px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 8px 18px rgba(0,0,0,.10) !important;
}
.profilePane--levels .lvlCard__head{
  gap: 6px !important;
}
.profilePane--levels .lvlCard__eyebrow,
.profilePane--levels .lvlCard__lvl{
  font-size: 11px !important;
}
.profilePane--levels .lvlCard__state{
  padding: 3px 7px !important;
  font-size: 9px !important;
}
.profilePane--levels .lvlCard__title{
  font-size: 14px !important;
  min-height: 0 !important;
}
.profilePane--levels .lvlCard__metaRow{
  gap: 4px 8px !important;
}
.profilePane--levels .lvlCard__req,
.profilePane--levels .lvlCard__count{
  font-size: 10px !important;
  line-height: 1.25 !important;
}
.profilePane--levels .lvlCard__rewards{
  gap: 5px !important;
  min-height: 0 !important;
}
.profilePane--levels .lvlCard--no-reward .lvlCard__rewards,
.profilePane--levels .lvlCard__rewards:empty{
  display: none !important;
}
.profilePane--levels .lvlCard__empty{
  display: none !important;
}
.profilePane--levels .lvlReward--mini{
  padding: 3px 6px !important;
  border-radius: 9px !important;
  font-size: 9px !important;
  min-height: 20px !important;
}
.profilePane--levels .lvlReward--mini .lvlReward__ico{
  width: 12px !important;
  height: 12px !important;
}

@media (max-width: 1360px){
  .profilePane--levels{
    --lvl-tile-min: 178px;
  }
  .profilePane--levels .lvlGrid{
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 1080px){
  .profilePane--levels .lvlGrid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .profilePane--levels .lvlTop__main--refined,
  .profilePane--levels .lvlTop__side--refined{
    min-height: 0 !important;
  }
}
@media (max-width: 760px){
  .profilePane--levels .lvlGrid{
    grid-template-columns: 1fr !important;
  }
  .profilePane--levels .lvlCard{
    min-height: 0 !important;
  }
}


/* =========================================================
   Public UI P2.59 РІР‚вЂќ levels pagination
   Goal: keep the Levels tab within the same vertical rhythm as
   Information even when many levels are configured. We page the
   catalog instead of letting cards endlessly grow downward.
========================================================= */
.profilePane--levels .profileTabCatalog--levels{
  gap: 10px !important;
}
.profilePane--levels .profileSectionMiniTitle--withMeta{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px 12px !important;
  flex-wrap: wrap !important;
}
.profilePane--levels .profileSectionMiniMeta{
  color: rgba(235,240,255,.72);
  font-size: 10px;
  font-weight: 700;
}
.profilePane--levels .levelsPager{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  flex-wrap: wrap;
  margin-top: 2px;
  padding-top: 2px;
}
.profilePane--levels .levelsPager__meta{
  color: rgba(235,240,255,.74);
  font-size: 10px;
}
.profilePane--levels .levelsPager__controls{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.profilePane--levels .levelsPager__btn{
  min-width: 34px;
  min-height: 28px;
  padding: 0 10px !important;
  border-radius: 10px !important;
  font-size: 11px !important;
}
.profilePane--levels .levelsPager__btn--nav{
  min-width: 72px;
}
.profilePane--levels .levelsPager__btn.is-active,
.profilePane--levels .levelsPager__btn[aria-current="page"]{
  background: linear-gradient(180deg, rgba(255,171,73,.20), rgba(255,140,0,.12)) !important;
  border-color: rgba(255,154,59,.40) !important;
  color: #fff2d9 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 24px rgba(255,140,0,.12) !important;
}
.profilePane--levels .levelsPager__dots{
  color: rgba(235,240,255,.42);
  padding: 0 2px;
  user-select: none;
}
@media (max-width: 760px){
  .profilePane--levels .levelsPager{
    align-items: stretch;
  }
  .profilePane--levels .levelsPager__controls{
    width: 100%;
  }
}


/* =========================================================
