/* ---------- Профиль ---------- */
.prof { gap: 14px; padding-bottom: 8px; }
.prof > .glass > * { position: relative; }
.prof svg { display: block; }

/* баланс + кнопки */
.prof__bal {
  padding: 18px; border-radius: 28px; display: flex; flex-direction: column; gap: 6px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(247,37,133,.38), rgba(247,37,133,0) 60%),
    linear-gradient(135deg, rgba(27,36,56,.6), rgba(27,36,56,.3));
}
.prof__ballabel { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.65); }
.prof__balbig { display: flex; align-items: baseline; gap: 8px; }
.prof__balbig b { font: 700 36px 'Unbounded', system-ui, sans-serif; line-height: 1.1; font-variant-numeric: tabular-nums; }
.prof__balbig span { font: 700 18px 'Unbounded', system-ui, sans-serif; color: rgba(255,255,255,.5); }
.prof__balbig i { align-self: center; display: flex; }
.prof__balbig i svg { width: 24px; height: 24px; }
.prof__btns { display: flex; gap: 10px; margin-top: 10px; }
.prof__btn {
  flex: 1; min-width: 0; height: 50px; padding: 0 10px; border-radius: 25px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 13px inherit; font-family: inherit; color: #fff; white-space: nowrap; transition: transform .15s;
}
.prof__btn i { display: flex; flex: none; }
.prof__btn i svg { width: 20px; height: 20px; }
.prof__btn:active { transform: scale(.97); }
.prof__btn--pink {
  border: 1px solid rgba(247,37,133,.6);
  background: linear-gradient(180deg, rgba(247,37,133,.75), rgba(247,37,133,.45));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 8px 22px rgba(247,37,133,.3);
}
.prof__btn--glass { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); box-shadow: inset 0 1px 1px rgba(255,255,255,.3); }

/* аватар, юзернейм, оборот */
.prof__user { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 28px; }
.prof__ava {
  width: 58px; height: 58px; flex: none; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255,255,255,.8); background: linear-gradient(135deg, #f72585, #7209b7);
}
.prof__ava img, .prof__ava span { width: 100%; height: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; font: 700 24px 'Unbounded', sans-serif; color: #fff; }
.prof__who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.prof__who b { font: 700 16px 'Unbounded', system-ui, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prof__who small { font-size: 12px; color: rgba(255,255,255,.6); }
.prof__turn { display: flex; align-items: center; gap: 6px; font: 700 18px 'Unbounded', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.prof__turn i { display: flex; }
.prof__turn svg { width: 20px; height: 20px; }

/* лента инвентаря */
.prof__inv { padding: 14px 0 14px 16px; border-radius: 28px; display: flex; flex-direction: column; gap: 12px; }
.prof__invhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 16px; }
.prof__invhead b { font: 700 16px 'Unbounded', system-ui, sans-serif; white-space: nowrap; }
.prof__invhead span { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.6); white-space: nowrap; }
.prof__sm { display: inline-flex; }
.prof__sm svg { width: 14px; height: 14px; }
.prof__row { display: flex; gap: 10px; padding-right: 16px; }
.prof__ribbon {
  flex: 1; min-width: 0; display: flex; gap: 10px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-x pan-y;
}
.prof__ribbon::-webkit-scrollbar { display: none; }
.prof__ribbon.is-drag { cursor: grabbing; }
.prof__ribbon img, .prof__ribbon i { -webkit-user-drag: none; }
.prof__track { position: relative; height: 6px; margin-right: 16px; border-radius: 3px; background: rgba(255,255,255,.12); cursor: pointer; touch-action: none; }
.prof__thumb { position: absolute; left: 0; top: 0; height: 100%; border-radius: 3px; background: rgba(255,255,255,.75); pointer-events: none; }
.prof__item {
  flex: none; width: 92px; height: 92px; border-radius: 24px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff;
}
.prof__item i { font-style: normal; font-size: 34px; line-height: 1; }
.prof__item small { font: 700 10px 'Unbounded', system-ui, sans-serif; color: rgba(255,255,255,.7); }
.prof__item--all { cursor: pointer; font-family: inherit; }
.prof__item--all i { display: flex; }
.prof__item--all svg { width: 24px; height: 24px; fill: #fff; }
.prof__item--all b { font-size: 12px; text-align: center; }
.prof__item--all:active { transform: scale(.96); }

/* рефералы */
.prof__ref { padding: 16px; border-radius: 28px; display: flex; flex-direction: column; gap: 14px; }
.prof__refhead { display: flex; flex-direction: column; gap: 3px; }
.prof__refhead b { font: 700 18px 'Unbounded', system-ui, sans-serif; }
.prof__refhead span { font-size: 12px; color: rgba(255,255,255,.6); }
.prof__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prof__stats > div, .prof__avail > div { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.prof__stats small, .prof__avail small { font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.prof__stats b, .prof__avail b { font: 700 18px 'Unbounded', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.prof__stats em, .prof__avail em { font-style: normal; font-size: 12px; color: rgba(255,255,255,.55); }
.prof__avail { display: flex; align-items: stretch; gap: 10px; }
.prof__avail > div { flex: 1; min-width: 0; }
.prof__claim {
  flex: none; width: 120px; border: 0; border-radius: 18px; cursor: pointer; padding: 0 10px;
  background: #fff; color: #000; font: 700 12px inherit; font-family: inherit; line-height: 1.2; transition: transform .15s, opacity .2s;
}
.prof__claim:active { transform: scale(.97); }
.prof__claim:disabled { opacity: .4; cursor: default; }
.prof__link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 18px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.1); }
.prof__link span { flex: 1; min-width: 0; font-size: 12px; color: rgba(255,255,255,.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prof__link button { flex: none; width: 36px; height: 36px; border-radius: 12px; border: 0; cursor: pointer; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.prof__link button svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prof__link button.is-ok { background: #4ade80; }
.prof__link button.is-ok svg { stroke: #000; }
.prof__sup {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; padding: 0 18px; border-radius: 27px; cursor: pointer;
  color: #fff; font: 700 15px inherit; font-family: inherit; transition: transform .15s;
  border: 1px solid rgba(247,37,133,.6);
  background: linear-gradient(180deg, rgba(247,37,133,.75), rgba(247,37,133,.45));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 8px 22px rgba(247,37,133,.3);
}
.prof__sup:active { transform: scale(.97); }
.prof__sup > * { position: relative; }
.prof__sup .prof__supico { width: 24px; height: 24px; display: flex; background: none; }
.prof__supico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prof__suphead .prof__supico, .prof__supart .prof__supico { background: none; }
.prof__supart { display: flex; justify-content: center; margin: -4px 0 4px; }
.prof__supart svg { width: 100%; max-width: 220px; height: auto; }
.prof__suptitle { text-align: center; margin: 0; font-size: 22px; }
.prof__supsub { margin: 4px 0 14px; text-align: center; font-size: 13px; color: rgba(255,255,255,.65); }
.prof__suplist { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.prof__suplist div { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.prof__suplist i { flex: none; width: 34px; height: 34px; border-radius: 11px; font-style: normal; font-size: 18px; display: flex; align-items: center; justify-content: center; background: rgba(247,37,133,.22); }
.prof__suplist span { font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.92); }
.prof__supnote { margin: 0 0 14px; text-align: center; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.55); }
.prof__modaltext { margin: 0 0 14px; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.85); word-break: break-word; }
