/*
 * Profile secondary tabs module
 *
 * Extracted from pages/56-profile-shell.css during modular cleanup.
 * Keep after 57-profile-overview.css and before 60-profile-systems.css to preserve cascade order.
 */

/* =========================================================
   Public UI P2.53 Р Р†Р вЂљРІР‚Сњ profile tabs canonical audit and unified polish
   Goal: audit every profile tab after the Information redesign,
   remove leftover spacing/layout conflicts, and bring all tabs
   to one professional visual standard without changing API logic.
========================================================= */
.profileMain > .pPanel:not([data-ppanel="overview"]) > .profilePane{
  padding: 10px !important;
  gap: 10px !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(7,12,21,.92), rgba(6,10,18,.90)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 14px 34px rgba(0,0,0,.24) !important;
  overflow: visible !important;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .card__head{
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 8px 12px !important;
  align-items: start !important;
  margin-bottom: 0 !important;
  padding: 2px 0 0 !important;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .card__head > *{
  min-width: 0;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .card__title{
  font-size: 15px !important;
  line-height: 1.12 !important;
  letter-spacing: .01em !important;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .card__head .hint{
  max-width: 74ch;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: rgba(231,237,243,.70) !important;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileLikesSummary,
.profileMain > .pPanel:not([data-ppanel="overview"]) #myBasesActions,
.profileMain > .pPanel:not([data-ppanel="overview"]) #notifPrefsActions,
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileRefActions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 30px;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileBox,
.profileMain > .pPanel:not([data-ppanel="overview"]) .profilePane .panel{
  margin-top: 0 !important;
  padding: 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  background:
    linear-gradient(180deg, rgba(12,18,30,.90), rgba(8,12,21,.88)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileBox--hero{
  background:
    radial-gradient(110% 120% at 0% 0%, rgba(240,140,40,.12), rgba(240,140,40,0) 46%),
    linear-gradient(180deg, rgba(12,18,30,.92), rgba(8,12,21,.90)) !important;
}
.profilePane > .mt-3,
.profilePane > .mt-2,
.profilePane .myBasesBlock,
.profilePane .profilePanel__footerActions{
  margin-top: 0 !important;
}
.profilePanel__footerActions{
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 2px;
}
.profileLikesToolbar{
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(280px,.9fr) !important;
  gap: 10px !important;
  align-items: center !important;
  margin-bottom: 0 !important;
}
.profileLikesToolbar .modeSwitch{
  width: fit-content;
  max-width: 100%;
  margin-top: 0 !important;
}
.profileLikesToolbar .modeSwitch__btn{
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}
.profileLikesSearch{
  min-width: 0 !important;
  width: 100%;
  justify-content: flex-end !important;
}
.profileLikesSearch .input{
  max-width: none !important;
  width: 100% !important;
  min-height: 36px !important;
  padding: 8px 10px !important;
  font-size: 13px !important;
}
.profileLikesSearch .btn{
  min-height: 36px !important;
}

.profilePane--levels #profileLevelsTop,
.profilePane--levels #profileLevelsList,
.profilePane--rads #profileRadsSummary,
.profilePane--rads #profileRadsDaily,
.profilePane--rads #profileRadsEvents,
.profilePane--bases #myBasesList,
.profilePane--bases #myBasesInvites,
.profilePane--tracks #myTracksList,
.profilePane--likes #profileLikesList,
.profilePane--inv #profileInvList,
.profilePane--ach #profileAchList,
.profilePane--ref #profileRefTop,
.profilePane--ref #profileRefRewards,
.profilePane--ref #profileRefList,
.profilePane--notifs .profileSplit > .profileBox{
  min-width: 0 !important;
  min-height: 0 !important;
}

.profilePane--levels .lvlTop{
  grid-template-columns: minmax(0, 1.14fr) minmax(250px, .86fr) !important;
  gap: 10px !important;
  align-items: stretch !important;
}
.profilePane--levels .lvlTop__main,
.profilePane--levels .lvlTop__side{
  padding: 12px !important;
  border-radius: 16px !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;
}
.profilePane--levels .lvlTop__kicker{ font-size: 10px !important; }
.profilePane--levels .lvlTop__value{ font-size: 21px !important; }
.profilePane--levels .lvlTop__meta,
.profilePane--levels .lvlTop__xp,
.profilePane--levels #profileLevelsTop .hint{ font-size: 11px !important; line-height: 1.4 !important; }
.profilePane--levels .lvlGrid{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 10px !important;
}
.profilePane--levels .lvlCard{
  min-height: 162px;
  padding: 12px !important;
  border-radius: 16px !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;
  gap: 8px !important;
}
.profilePane--levels .lvlCard__title{ white-space: normal !important; line-height: 1.25 !important; }
.profilePane--levels .lvlCard__req{ font-size: 11px !important; }
.profilePane--levels .lvlCard__rewards{ margin-top: auto !important; gap: 6px !important; }
.profilePane--levels .lvlReward{ min-height: 28px; padding: 5px 9px !important; font-size: 11px !important; }

.profilePane--rads .profileSplit{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.profilePane--rads #profileRadsSummary{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: stretch !important;
}
.profilePane--rads #profileRadsSummary .kv{
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 6px !important;
  min-height: 84px;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
}
.profilePane--rads #profileRadsSummary .kv .muted{ font-size: 10px !important; letter-spacing: .08em; text-transform: uppercase; }
.profilePane--rads #profileRadsSummary .kv b{ font-size: 17px; line-height: 1.1; }
.profileSectionMiniTitle{
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(231,237,243,.82);
}
.profilePane--rads .miniTable,
.profilePane--rads .eventsTable{
  gap: 8px !important;
  max-height: none !important;
  overflow: visible !important;
}
.profilePane--rads .miniRow{
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
}
.profilePane--rads .evRow{
  grid-template-columns: 110px 72px 1.15fr .95fr !important;
  min-height: 46px;
  padding: 8px 10px !important;
  border-radius: 12px !important;
}

.profilePane--bases #myBasesList,
.profilePane--bases #myBasesInvites{
  display: grid;
  gap: 10px;
}
.profilePane--bases #myBasesInvitesBlock{
  display: grid;
  gap: 8px;
  margin-top: 0 !important;
}
.profilePane--bases .myBasesBlock{
  margin-top: 0 !important;
  padding: 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012)) !important;
}
.profilePane--bases .myBasesBlock__head{
  gap: 4px !important;
  margin-bottom: 10px !important;
}
.profilePane--bases .baseMiniList{
  display: grid !important;
  gap: 8px !important;
}
.profilePane--bases .baseMiniRowWrap{
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 8px !important;
  align-items: stretch !important;
  padding: 0 !important;
}
.profilePane--bases .baseMiniRow,
.profilePane--bases .baseInviteRow{
  min-height: 76px;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
}
.profilePane--bases .baseMiniRow__img,
.profilePane--bases .baseInviteRow__img{
  width: 78px !important;
  height: 52px !important;
  border-radius: 12px !important;
}
.profilePane--bases .baseMiniRow__title,
.profilePane--bases .baseInviteRow__title{
  white-space: normal !important;
  line-height: 1.24 !important;
}
.profilePane--bases .baseMiniRow__meta,
.profilePane--bases .baseInviteRow__meta{
  white-space: normal !important;
  line-height: 1.35 !important;
}
.profilePane--bases .baseMiniRowActions,
.profilePane--bases .baseInviteActions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 120px;
}

.profilePane--tracks #myTracksList{
  display: grid;
  gap: 10px;
}
.profilePane--tracks .myTracksBlock{
  margin-top: 0 !important;
  padding: 12px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012)) !important;
}
.profilePane--tracks .myTracksBlock__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px !important;
}
.profilePane--tracks .myTracksBlock__title{
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}
.profilePane--tracks .myTracksUpload,
.profilePane--tracks .myTracksCatalog{
  display: grid;
  gap: 10px;
}
.profilePane--tracks .myTracksUpload__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .9fr) auto;
  gap: 10px;
  align-items: end;
}
.profilePane--tracks .myTracksUpload__field,
.profilePane--tracks .myTracksUpload__pick{
  min-width: 0;
}
.profilePane--tracks .myTracksUpload__pick{
  display: grid;
  gap: 6px;
}
.profilePane--tracks .myTracksUpload__actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.profilePane--tracks .myTrackRow{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  min-height: 96px;
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
}
.profilePane--tracks .myTrackRow__main{
  min-width: 0;
  display: grid;
  gap: 6px;
}
.profilePane--tracks .myTrackRow__title{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 900;
  line-height: 1.24;
}
.profilePane--tracks .myTrackRow__meta,
.profilePane--tracks .myTrackRow__sub,
.profilePane--tracks .myTrackRow__note{
  line-height: 1.35 !important;
  color: rgba(231,237,243,.78);
}
.profilePane--tracks .myTrackRow__note{
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
.profilePane--tracks .myTrackRow__audio{
  width: min(380px, 100%);
  max-width: 100%;
}
.profilePane--tracks .myTrackRow__actions{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 128px;
}

.profilePane--likes .likeUserList{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.profilePane--likes .likeUserRow{
  min-height: 82px;
  padding: 11px 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
}
.profilePane--likes .likeUserRow__img{ width: 44px !important; height: 44px !important; border-radius: 12px !important; }
.profilePane--likes .likeUserRow__title{ font-size: 13px !important; line-height: 1.2 !important; white-space: normal !important; }
.profilePane--likes .likeUserRow__meta{ font-size: 11px !important; line-height: 1.35 !important; white-space: normal !important; }
.profilePane--likes .likeUserRow__actions{ margin-left: auto; gap: 8px !important; }

.profilePane--inv .invGrid{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
  gap: 10px !important;
}
.profilePane--inv .invSlot{
  min-height: 142px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
  gap: 8px !important;
}
.profilePane--inv .invSlot__iconWrap{ width: 50px !important; height: 50px !important; border-radius: 12px !important; }
.profilePane--inv .invSlot__title{ font-size: 13px !important; line-height: 1.25 !important; min-height: 32px; }
.profilePane--inv .invSlot__meta{ font-size: 11px !important; line-height: 1.35 !important; }
.profilePane--inv .invSlot__actions{ margin-top: auto !important; }
.profilePane--inv .invSlot__badge{ font-size: 10px !important; padding: 3px 7px !important; }

.profilePane--ach .achList{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.profilePane--ach .achItem{
  min-width: 0 !important;
  min-height: 152px;
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
  gap: 10px !important;
}
.profilePane--ach .achItem__icon{ width: 42px !important; height: 42px !important; border-radius: 12px !important; }
.profilePane--ach .achItem__name{ white-space: normal !important; line-height: 1.24 !important; }
.profilePane--ach .achItem__sub,
.profilePane--ach .achItem__meta,
.profilePane--ach .achItem__desc{ line-height: 1.34 !important; white-space: normal !important; }
.profilePane--ach .achItem__main{ display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.profilePane--ach .achTileGrid{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 150px)) !important;
  justify-content: start !important;
  gap: 10px !important;
}
.profilePane--ach .achTile{
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  border-radius: 18px !important;
}
.profilePane--ach .achTile__media{ position: absolute !important; inset: 0 !important; }
.profilePane--ach .achTile__body{
  position: absolute !important;
  left: 8px !important;
  right: 8px !important;
  bottom: 8px !important;
  padding: 0 !important;
  gap: 5px !important;
}
.profilePane--ach .achTile__titleBand{
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  white-space: normal !important;
  min-height: 34px !important;
}
.profilePane--ach .achTile__progress,
.profilePane--ach .achTile__foot{
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.profilePane--ref #profileRefTop,
.profilePane--ref #profileRefRewards,
.profilePane--ref #profileRefList{
  padding: 12px !important;
}
.profilePane--ref .refSummary{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: min(420px, 100%);
}
.profilePane--ref .refStatCard{
  min-height: 72px;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
}
.profilePane--ref .refTop__row,
.profilePane--ref .profilePrefsActions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.profilePane--ref .profileInlineHint{ margin-bottom: 6px; }
.profilePane--ref .refTop__row--mt{ margin-top: 8px; }
.profilePane--ref .refPillRow{ flex-wrap: wrap; }
.profilePane--ref .refHintBlock{ margin-top: 10px; }
.profilePane--ref .refTop__code{
  flex: 1 1 280px;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.16);
  white-space: normal;
  overflow-wrap: anywhere;
}
.profilePane--ref .refDetailsBox{
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  padding: 10px 12px;
}
.profilePane--ref .refSteps{
  display: grid !important;
  gap: 10px !important;
}
.profilePane--ref .refStep{
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
}
.profilePane--ref .refListSimple{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.profilePane--ref .refRow{
  min-height: 110px;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
}

.profilePane--notifs .profileSplit{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.profilePane--notifs .profileSubHint{ font-size: 10px !important; letter-spacing: .12em !important; text-transform: uppercase; }
.profilePane--notifs .profileDeviceHint{ margin-top: 8px !important; line-height: 1.4 !important; }
.profilePane--notifs .toggleList{
  display: grid !important;
  gap: 8px !important;
  margin-top: 8px !important;
}
.profilePane--notifs .toggleRow{
  min-height: 68px;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)) !important;
  align-items: center !important;
}
.profilePrefsActions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 1320px){
  .profilePane--likes .likeUserList,
  .profilePane--ach .achList,
  .profilePane--ref .refListSimple{
    grid-template-columns: 1fr !important;
  }
  .profilePane--rads #profileRadsSummary{
    grid-template-columns: 1fr !important;
  }
  .profilePane--bases .baseMiniRowWrap{
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 1120px){
  .profileMain > .pPanel:not([data-ppanel="overview"]) .card__head,
  .profileLikesToolbar,
  .profilePane--notifs .profileSplit,
  .profilePane--rads .profileSplit,
  .profilePane--tracks .myTracksUpload__grid{
    grid-template-columns: 1fr !important;
  }
  .profilePane--levels .lvlTop{
    grid-template-columns: 1fr !important;
  }
  .profilePane--ref .refSummary{
    width: 100%;
  }
}
@media (max-width: 820px){
  .profilePane--inv .invGrid,
  .profilePane--levels .lvlGrid{
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
  }
  .profilePane--rads .evRow{
    grid-template-columns: 92px 64px 1fr !important;
  }
  .profilePane--rads .evWhere{ display: none !important; }
  .profilePane--ref .refSummary{
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 640px){
  .profileMain > .pPanel:not([data-ppanel="overview"]) > .profilePane{
    padding: 8px !important;
  }
  .profileMain > .pPanel:not([data-ppanel="overview"]) .profileBox,
  .profileMain > .pPanel:not([data-ppanel="overview"]) .profilePane .panel{
    padding: 10px !important;
    border-radius: 16px !important;
  }
  .profilePane--tracks .myTrackRow{
    grid-template-columns: 1fr !important;
  }
  .profilePane--levels .lvlGrid,
  .profilePane--inv .invGrid,
  .profilePane--ach .achList,
  .profilePane--ref .refListSimple,
  .profilePane--ref .refSummary{
    grid-template-columns: 1fr !important;
  }
  .profilePane--likes .likeUserRow,
  .profilePane--bases .baseMiniRow,
  .profilePane--bases .baseInviteRow{
    flex-direction: column;
    align-items: flex-start;
  }
  .profilePane--likes .likeUserRow__actions,
  .profilePane--bases .baseMiniRowActions,
  .profilePane--bases .baseInviteActions{
    width: 100%;
    justify-content: space-between;
  }
  .profilePane--tracks .myTrackRow__actions{
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}


/* =========================================================
   Public UI P2.54 Р Р†Р вЂљРІР‚Сњ profile tabs final standardization
   Goal: continue the post-audit cleanup for every profile tab,
   bring secondary tabs closer to the Information visual standard,
   and remove the remaining spacing / card rhythm inconsistencies.
========================================================= */
.profileMain > .pPanel:not([data-ppanel="overview"]) > .profilePane{
  position: relative;
  isolation: isolate;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) > .profilePane::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:22px;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(240,140,40,.06), rgba(240,140,40,0) 44%),
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0));
  opacity:.8;
  z-index:-1;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileBox,
.profileMain > .pPanel:not([data-ppanel="overview"]) .profilePane .panel{
  position:relative;
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileBox::before,
.profileMain > .pPanel:not([data-ppanel="overview"]) .profilePane .panel::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:1px;
  background: linear-gradient(90deg, rgba(240,140,40,.30), rgba(255,255,255,.04), rgba(255,255,255,0));
  pointer-events:none;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileBox:hover,
.profileMain > .pPanel:not([data-ppanel="overview"]) .profilePane .panel:hover{
  border-color: rgba(240,140,40,.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 10px 24px rgba(0,0,0,.18) !important;
}

.profilePane--levels .card__head,
.profilePane--rads .card__head,
.profilePane--bases .card__head,
.profilePane--tracks .card__head,
.profilePane--likes .card__head,
.profilePane--inv .card__head,
.profilePane--ach .card__head,
.profilePane--ref .card__head,
.profilePane--notifs .card__head{
  padding-bottom: 2px !important;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.profileTabCatalog{
  display:grid;
  gap:10px;
  align-content:start;
}
.profileTabCatalog .profileSectionMiniTitle{
  margin-bottom:0;
  padding-left:2px;
}

.profilePane--levels #profileLevelsTop{
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(240,140,40,.12), rgba(240,140,40,0) 44%),
    linear-gradient(180deg, rgba(13,20,33,.92), rgba(8,12,22,.90)) !important;
}
.profilePane--levels #profileLevelsList{
  background:
    linear-gradient(180deg, rgba(11,17,28,.90), rgba(8,12,21,.88)) !important;
}
.profilePane--levels .lvlTop__side{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.profilePane--levels .lvlNextRewards{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:flex-start;
}
.profilePane--levels .lvlCard__head{
  gap:8px;
  align-items:flex-start;
}
.profilePane--levels .lvlCard__lvl,
.profilePane--levels .lvlCard__state{
  line-height:1.2;
}

.profilePane--rads #profileRadsSummary{
  display:block !important;
}
.profilePane--rads .profileRadsSummaryGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:8px;
  align-items:stretch;
}
.profilePane--rads #profileRadsDaily,
.profilePane--rads #profileRadsEvents{
  align-content:start;
}
.profilePane--rads .miniTable,
.profilePane--rads .eventsTable{
  display:grid;
  align-content:start;
}

.profilePane--bases #myBasesList .state,
.profilePane--bases #myBasesInvites .state,
.profilePane--likes #profileLikesList .state,
.profilePane--inv #profileInvList .state,
.profilePane--ach #profileAchList .state,
.profilePane--ref #profileRefRewards .state,
.profilePane--ref #profileRefList .state{
  margin: 2px 0;
}
.profilePane--bases #myBasesList,
.profilePane--bases #myBasesInvites{
  align-content:start;
}
.profilePane--bases .baseMiniRow__main,
.profilePane--bases .baseInviteRow__main{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  min-width:0;
}
.profilePane--bases .baseMiniRowActions .btn,
.profilePane--bases .baseInviteActions .btn{
  min-height:34px;
}

.profilePane--likes .likeUserRow{
  align-items:center !important;
}
.profilePane--likes .likeUserRow::after,
.profilePane--inv .invSlot::after,
.profilePane--ach .achItem::after,
.profilePane--ref .refRow::after,
.profilePane--levels .lvlCard::after,
.profilePane--bases .baseMiniRow::after,
.profilePane--bases .baseInviteRow::after,
.profilePane--notifs .toggleRow::after{
  content:"";
  position:absolute;
  inset:auto 12px 0 12px;
  height:1px;
  background:linear-gradient(90deg, rgba(240,140,40,.18), rgba(255,255,255,0));
  pointer-events:none;
  opacity:.8;
}
.profilePane--likes .likeUserRow,
.profilePane--inv .invSlot,
.profilePane--ach .achItem,
.profilePane--ref .refRow,
.profilePane--levels .lvlCard,
.profilePane--bases .baseMiniRow,
.profilePane--bases .baseInviteRow,
.profilePane--notifs .toggleRow{
  position:relative;
}

.profilePane--inv .invSlot{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.profilePane--inv .invSlot__top{
  align-items:flex-start;
  gap:8px;
}
.profilePane--inv .invSlot__title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.profilePane--inv .invSlot__actions .btn{
  width:100%;
  justify-content:center;
}

.profilePane--ach .achItem{
  align-items:flex-start;
}
.profilePane--ach .achItem__top{
  gap:8px;
  align-items:flex-start;
}
.profilePane--ach .achBar{
  margin:2px 0 1px;
}

.profilePane--ref #profileRefTop{
  background:
    radial-gradient(130% 140% at 0% 0%, rgba(240,140,40,.10), rgba(240,140,40,0) 46%),
    linear-gradient(180deg, rgba(12,18,30,.92), rgba(8,12,21,.90)) !important;
}
.profilePane--ref .refStep__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-top:10px;
}
.profilePane--ref .refStep__col{
  min-width:0;
  padding:9px 11px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.05);
  background:rgba(255,255,255,.018);
}
.profilePane--ref .refStep__colTitle{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(231,237,243,.78);
  margin-bottom:8px;
}
.profilePane--ref .refRewardList{
  display:grid;
  gap:8px;
}
.profilePane--ref .refReward{
  display:grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap:8px;
  align-items:center;
  padding:8px 9px;
  border-radius:12px;
  background:rgba(255,255,255,.022);
  border:1px solid rgba(255,255,255,.05);
}
.profilePane--ref .refSummary__note{
  grid-column:1/-1;
  font-size:11px;
  line-height:1.35;
  color:rgba(231,237,243,.72);
  padding:2px 2px 0;
}

.profilePane--notifs .toggleList{
  align-content:start;
}
.profilePane--notifs .toggleRow{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:10px !important;
}
.profilePane--notifs .toggleRow .hint{
  line-height:1.4 !important;
}

@media (max-width: 1320px){
  .profilePane--rads .profileRadsSummaryGrid,
  .profilePane--ref .refStep__grid{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1120px){
  .profilePane--likes .likeUserRow{
    align-items:flex-start !important;
  }
  .profilePane--bases .baseMiniRowActions,
  .profilePane--bases .baseInviteActions{
    min-width:0;
  }
}
@media (max-width: 760px){
  .profilePane--notifs .toggleRow{
    grid-template-columns:1fr !important;
  }
  .profilePane--ref .refTop__row .btn,
  .profilePane--ref .profilePrefsActions .btn,
  .profilePane--bases .baseMiniRowActions .btn,
  .profilePane--bases .baseInviteActions .btn{
    width:100%;
    justify-content:center;
  }
  .profilePane--likes .likeUserRow__actions{
    width:100%;
    justify-content:space-between;
  }
}


/* =========================================================
   Public UI P2.55 Р Р†Р вЂљРІР‚Сњ profile tabs canonical desktop layout
   Goal: finish the audit of secondary profile tabs after the
   Information redesign: equalize card rhythm, remove collapsed
   or fallen blocks, and make each tab fill the viewport area
   more cleanly on desktop without breaking tablet/mobile.
========================================================= */
.profileMain > .pPanel:not([data-ppanel="overview"]) > .profilePane{
  align-content: start !important;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileTabCatalog,
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileSectionMiniTitle,
.profileMain > .pPanel:not([data-ppanel="overview"]) .state,
.profileMain > .pPanel:not([data-ppanel="overview"]) .hint{
  min-width: 0 !important;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .card__head{
  padding-bottom: 8px !important;
  align-items: end !important;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileBox,
.profileMain > .pPanel:not([data-ppanel="overview"]) .profilePane .panel{
  width: 100% !important;
}
.profileMain > .pPanel:not([data-ppanel="overview"]) .profileBox .state,
.profileMain > .pPanel:not([data-ppanel="overview"]) .profilePane .panel .state{
  min-height: 84px !important;
}
