/* Бандл сайта всюду просит Golos — подменяем его клубным Gilroy, чтобы
   кнопки, ссылки и мелкие подписи не выпадали из набора. */
@font-face{font-family:Golos;src:url("assets/fonts/Gilroy-Regular_0.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:Golos;src:url("assets/fonts/Gilroy-Semibold_0.ttf") format("truetype");font-weight:500 600;font-display:swap}
@font-face{font-family:Golos;src:url("assets/fonts/Gilroy-Extrabold_0.ttf") format("truetype");font-weight:700 900;font-display:swap}

/* ======== Шрифты ФК «Ростов» ========
   Клубные Wadik (заголовки и цифры) и Gilroy (текст) вместо Golos с сайта «Крыльев».
   Подключаются здесь, потому что lk.css грузится после бандла сайта. */
@font-face{font-family:Wadik;src:url("assets/fonts/Wadik.otf") format("opentype");font-weight:400;font-display:swap}
@font-face{font-family:Gilroy;src:url("assets/fonts/Gilroy-Regular_0.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:Gilroy;src:url("assets/fonts/Gilroy-Semibold_0.ttf") format("truetype");font-weight:600;font-display:swap}
@font-face{font-family:Gilroy;src:url("assets/fonts/Gilroy-Extrabold_0.ttf") format("truetype");font-weight:800;font-display:swap}
html,body,input,button,select,textarea{font-family:Gilroy,-apple-system,"Segoe UI",Roboto,sans-serif}

/* Личный кабинет болельщика ПФК «Крылья Советов» — поверх стилей pfcks.ru.
   ВНИМАНИЕ: файл собирается скриптом make_lk_css.py из кабинета Драконов.
   Правки вносить в скрипт, иначе они потеряются при следующей сборке.

   Геометрия перенесена с макета 1350px, поэтому везде px. */

:root {
  /* палитра сайта */
  --lk-blue: #0557bd;       /* клубный синий, акцент */
  --lk-blue-dark: #03193c;  /* тёмно-синий клуба */
  --lk-sky: #2f7fd0;        /* светлый синий формы */
  --lk-cyan: #ffec00;       /* жёлтый акцент клуба */
  --lk-violet: #ffd400;     /* второй конец фирменного градиента */
  --lk-green: #1eb53a;      /* зелёный из формы и программы лояльности */
  --lk-ink: #081f4a;        /* основной текст */

  --main: var(--lk-blue);
  --text: var(--lk-ink);
  --white: #ffffff;
  --white30: rgba(11, 25, 59, 0.28);
  --bg: #ffffff;
  --yellow: #ffec00;
  --font-family: Gilroy, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hcsd: Wadik, Gilroy, -apple-system, "Segoe UI", Roboto, sans-serif;
  --duration: 0.25s;
  --blur: blur(12px);

  --lk-card: #ffffff;
  --lk-card-2: #f2f5fb;
  --lk-line: rgba(11, 25, 59, 0.10);
  --lk-muted: rgba(11, 25, 59, 0.55);
}
.lk {
  position: relative;
  z-index: 3;
  padding-top: 150px;
  color: var(--text);
}
@media (max-width: 768px) {
  .lk { padding-top: 140px; }
}

.lk__title { margin-bottom: 20px; }
@media (max-width: 768px) {
}

/* ---------- Верхний блок: профиль слева, джерси справа — «висит» над карточкой уровня ---------- */
.lk-top {
  display: grid;
  grid-template-columns: 1fr 560px;
  align-items: start;
}
.lk-profile { order: 1; position: relative; z-index: 3; padding-top: 20px; } /* карточка уровня лежит поверх джерси */
.lk-jersey {
  order: 2;
  position: relative;
  z-index: 2;
  margin-left: -140px;
  margin-top: -70px; /* поднята к заголовку, низ ложится на карточку уровня */
  filter: drop-shadow(0 24px 30px rgba(11, 25, 59, 0.16));
}
.lk-jersey.is-editing { z-index: 4; } /* на время редактирования джерси выше карточки */
.lk-top .lk-level { margin-right: 0; } /* карточка уровня наезжает на низ джерси */

@media (max-width: 768px) {
  .lk-top { grid-template-columns: 1fr; gap: 30px; }
  .lk-jersey { order: 0; margin-left: 0; margin-top: 0; }
  .lk-top .lk-level { margin-right: 0; }
  .lk-top .lk-level { padding-right: 20px; }
}

.lk-jersey {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.lk-jersey__img {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
}
.lk-jersey__img svg { width: 100%; height: 100%; display: block; }
.lk-jersey__name,
.lk-jersey__num {
  font-family: var(--hcsd);
  }

.lk-profile {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.lk-user {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lk-user__avatar {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.lk-user__avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #eef2f8;
  border: 3px solid var(--lk-blue-dark);
  color: var(--lk-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lk-user__avatar-img svg { width: 50%; height: 50%; }
.lk-user__edit {
  position: absolute;
  right: -4px;
  top: -4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--lk-blue-dark);
  border: 2px solid #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration);
}
.lk-user__edit:hover { background: #ffd400; }
.lk-user__edit svg { width: 16px; height: 16px; }
.lk-user__name {
  font-family: var(--hcsd);
  font-size: 36px;
  line-height: 1;
    margin-bottom: 8px;
}
.lk-user__since {
  font-size: 16px;
  color: var(--lk-muted);
}
.lk-user__since b { color: var(--yellow); font-weight: 800; letter-spacing: 0.02em; text-shadow: 0 1px 2px rgba(3, 25, 60, 0.35); }

/* Карточка уровня — синий блок с фирменным паттерном, как секции сайта */
.lk-level {
  position: relative;
  padding: 26px 30px 24px;
  color: #fff;
  background:
    /* тёмная вуаль поверх паттерна: без неё рисунок спорит с текстом */
    linear-gradient(100deg, rgba(2, 14, 38, 0.88) 0%, rgba(2, 14, 38, 0.74) 45%, rgba(2, 14, 38, 0.58) 100%),
    url("assets/img/pattern-don.svg") center / cover no-repeat,
    linear-gradient(115deg, #020c22 0%, #03193c 60%, #063071 100%);
  border: none;
  box-shadow: 0 20px 40px rgba(0, 20, 70, 0.22);
  overflow: hidden;
}
.lk-level__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.lk-level__medal {
  position: relative;
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  --medal: #d7dde8; /* цвет кольца задаёт уровень */
}
.lk-level__medal_green { --medal: var(--lk-green); }
.lk-level__medal_white { --medal: #c6ced9; }
.lk-level__medal_blue  { --medal: var(--lk-blue); }
.lk-level__medal::before { /* кольцо уровня */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--medal), #ffffff, var(--medal), #ffffff, var(--medal));
  box-shadow: 0 6px 18px rgba(0, 20, 70, 0.28);
}
.lk-level__medal::after { /* внутренний диск */
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #eaf1fb 75%);
}
.lk-level__medal img {
  position: relative;
  z-index: 1;
  width: 58%;
}
.lk-level__info { flex: 1; min-width: 0; }
.lk-level__label { font-size: 12px; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 4px; }
.lk-level__name {
  font-family: var(--hcsd);
  font-size: 34px;
  line-height: 1;
    color: #fff;
  font-weight: 700;
}
.lk-level__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.lk-level__perks span { font-size: 12px; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.12); white-space: nowrap; }
.lk-level__balance { text-align: right; flex-shrink: 0; }
.lk-level__points { font-family: var(--hcsd); font-size: 52px; line-height: 0.9; color: #fff; white-space: nowrap; }
.lk-level__points-label { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-top: 4px; }

/* шкала уровней */
.lk-level__track { position: relative; z-index: 1; margin: 0 10px 34px; }
.lk-level__rail {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 0;
  overflow: visible;
}
.lk-level__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--fill);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lk-blue-dark) 0%, var(--lk-blue) 55%, var(--lk-cyan) 100%);
  box-shadow: 0 0 12px rgba(37, 86, 180, 0.6);
  overflow: hidden;
}
.lk-level__stops { position: absolute; inset: 0; }
.lk-level__stop {
  position: absolute;
  top: 50%;
  left: var(--at);
  transform: translate(-50%, -50%);
}
.lk-level__stop i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(11, 25, 59, 0.22);
}
.lk-level__stop.is-done i { background: #fff; border-color: #fff; }
.lk-level__stop.is-current i {
  width: 16px;
  height: 16px;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 12px rgba(37, 86, 180, 0.35);
}
.lk-level__stop span {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
    letter-spacing: 0.06em;
}
.lk-level__stop:first-child span { left: 0; transform: none; }
.lk-level__stop:last-child span { left: auto; right: 0; transform: none; }
.lk-level__stop.is-current span { color: #fff; font-weight: 600; }
.lk-level__hint { position: relative; z-index: 1; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.lk-level__hint b { color: #fff; font-weight: 600; }

@media (max-width: 768px) {
  .lk-level { padding: 20px 18px; }
  .lk-level__head { flex-wrap: wrap; gap: 14px; }
  .lk-level__medal { width: 60px; height: 60px; }
  .lk-level__name { font-size: 26px; }
  .lk-level__balance { width: 100%; text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .lk-level__points { font-size: 44px; }
  .lk-level__stop span { display: none; }            /* на узком экране подписи слипаются — */
  .lk-level__stop.is-current span { display: block; } /* оставляем только текущий уровень */
}
@media (prefers-reduced-motion: reduce) {
  .lk-level__name, .lk-level__fill, .lk-level__fill::before, .lk-level__rail::after { animation: none; }
}

/* ---------- Достижения ---------- */
.lk-mode-section { margin-top: 24px; }
.lk-section__title {
  font-family: var(--hcsd);
  font-size: 40px;
    margin-bottom: 30px;
}
@media (max-width: 768px) {
  .lk-mode-section { margin-top: 50px; }
  .lk-section__title { font-size: 32px; }
}

.lk-achievements {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 40px 30px;
}
@media (max-width: 768px) {
  .lk-achievements { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
}
.lk-ach {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.lk-ach__badge {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 26px 0 10px;
}
.lk-ach__diamond {
  position: absolute;
  inset: 0;
  transform: rotate(45deg);
  border: 2px solid rgba(11, 25, 59, 0.14);
  background: var(--lk-card);
  overflow: hidden;
}
/* заполнение прогресса «снизу вверх» по вертикали ромба */
.lk-ach__fill {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 142%;
  height: 142%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.lk-ach__fill::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--p, 0%);
  background: linear-gradient(180deg, rgba(5,87,189,.67) 0%, rgba(5,87,189,.33) 100%);
  border-top: 2px solid var(--main);
}
.lk-ach__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--lk-ink);
  z-index: 1;
}
.lk-ach_done .lk-ach__text { color: #fff; }
.lk-ach_done .lk-ach__diamond { border-color: var(--main); }
.lk-ach_done .lk-ach__fill::before { background: var(--main); border-top: none; }
.lk-ach__name {
  font-family: var(--hcsd);
  font-size: 22px;
    line-height: 1;
}
.lk-ach__progress { font-size: 14px; color: var(--lk-muted); margin-top: -12px; }
.lk-ach_done .lk-ach__progress { color: var(--main); }

/* ---------- Вкладки ---------- */
.lk-tabs {
  display: flex;
  border: 1px solid var(--lk-line);
  overflow-x: auto;
  scrollbar-width: none;
}
.lk-tabs::-webkit-scrollbar { display: none; }
.lk-tabs__btn {
  flex: 1 0 auto;
  padding: 0 24px;
  height: 60px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--lk-line);
  color: var(--text);
  font-family: var(--hcsd);
  font-size: 20px;
  letter-spacing: 0.05em;
    cursor: pointer;
  white-space: nowrap;
  transition: background var(--duration), color var(--duration);
}
.lk-tabs__btn:last-child { border-right: none; }
.lk-tabs__btn:hover { background: rgba(255, 255, 255, 0.9); }
.lk-tabs__btn.active { background: var(--main); }
@media (max-width: 768px) {
  .lk-tabs__btn { height: 50px; font-size: 18px; padding: 0 18px; }
}

.lk-panel { display: none; padding-top: 40px; }
.lk-panel.active { display: block; }

/* Списки (билеты, заказы, баллы) */
.lk-list { display: flex; flex-direction: column; gap: 12px; }
.lk-row {
  display: grid;
  grid-template-columns: 140px 1fr auto auto;
  gap: 30px;
  align-items: center;
  padding: 20px 24px;
  background: var(--lk-card);
  border: 1px solid var(--lk-line);
  font-size: 16px;
}
.lk-row__date { font-family: var(--hcsd); font-size: 20px; color: var(--main); text-transform: uppercase; }
.lk-row__title { font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.lk-row__sub { color: var(--lk-muted); font-size: 14px; }
.lk-row__value { font-family: var(--hcsd); font-size: 24px; white-space: nowrap; }
.lk-row__value_plus { color: var(--lk-green); }
.lk-row__value_minus { color: var(--main); }
.lk-row .btn { height: 44px; font-size: 18px; padding: 0 20px; }
/* Статусы — плашки в стиле кнопок шапки сайта (ВИП / Билеты / Магазин): HCSD, капс, заливка без скругления */
.lk-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  font-family: var(--hcsd);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
    white-space: nowrap;
  background: var(--white);
  color: var(--main);
}
.lk-status_ok { background: var(--white); color: var(--main); }
.lk-status_wait { background: var(--yellow); color: var(--bg); }
@media (max-width: 768px) {
  .lk-row { grid-template-columns: 1fr auto; gap: 10px 16px; padding: 16px; }
  .lk-row__date { grid-column: 1 / -1; }
  .lk-row .btn { grid-column: 1 / -1; }
}

.lk-empty {
  padding: 50px 20px;
  text-align: center;
  border: 1px dashed var(--lk-line);
  color: var(--lk-muted);
  font-size: 16px;
}
.lk-empty .btn { margin: 24px auto 0; width: max-content; font-size: 20px; }

/* ---------- Настройки профиля ---------- */
.lk-settings {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  max-width: 1100px;
}
@media (max-width: 768px) {
  .lk-settings { grid-template-columns: 1fr; gap: 30px; }
}
.lk-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lk-photo__img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--lk-card-2);
  border: 2px solid var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lk-photo__img svg { width: 45%; height: 45%; }
.lk-photo__img img { width: 100%; height: 100%; object-fit: cover; }
.lk-photo__btn {
  background: none;
  border: none;
  color: var(--main);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lk-form__group-title {
  font-family: var(--hcsd);
  font-size: 24px;
    margin: 0 0 16px;
}
.lk-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .lk-form__grid { grid-template-columns: 1fr; gap: 16px; }
}
.lk-field { display: flex; flex-direction: column; gap: 8px; }
.lk-field__label { font-size: 14px; color: var(--lk-muted); }
.lk-field__input {
  height: 50px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--lk-line);
  color: var(--text);
  font-family: var(--font-family);
  font-size: 16px;
  outline: none;
  border-radius: 0;
  transition: border-color var(--duration);
  color-scheme: dark;
}
.lk-field__input:focus { border-color: var(--main); }
.lk-field__input::placeholder { color: rgba(11, 25, 59, 0.40); }
.lk-field__hint { font-size: 12px; color: var(--lk-muted); }

.lk-check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  margin-bottom: 16px;
}
.lk-check input { position: absolute; opacity: 0; pointer-events: none; }
.lk-check__box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1.5px solid var(--white30);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration), border-color var(--duration);
}
.lk-check__box svg { width: 14px; opacity: 0; }
.lk-check input:checked + .lk-check__box { background: var(--main); border-color: var(--main); }
.lk-check input:checked + .lk-check__box svg { opacity: 1; }
.lk-check a { color: var(--main); }

.lk-form__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 32px;
}
.lk-form__actions .btn { font-size: 22px; }
.lk-link { color: var(--text); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.lk-link_danger { color: rgba(11, 25, 59, 0.50); background: none; border: none; cursor: pointer; font-family: var(--font-family); }
.lk-link_danger:hover { color: var(--main); }

.lk-bottom-gap { height: 40px; }

/* Достижения внутри профиля — под именем, компактно, без названий (название в title) */
.lk-profile__ach-title {
  font-family: var(--hcsd);
  font-size: 24px;
    margin-bottom: 16px;
}
.lk-profile__ach .lk-achievements {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
}
.lk-profile__ach .lk-ach { gap: 10px; width: 100px; }
.lk-profile__ach .lk-ach__badge { width: 72px; height: 72px; margin: 14px 0 6px; }
.lk-profile__ach .lk-ach__text { padding: 6px; font-size: 10px; line-height: 1.15; }
.lk-profile__ach .lk-ach__progress { font-size: 12px; margin-top: 0; }
@media (max-width: 768px) {
  .lk-profile__ach .lk-achievements { gap: 20px 16px; }
  .lk-profile__ach .lk-ach { width: 96px; }
}

/* Билеты: логотипы команд */
.lk-row__match { display: flex; align-items: center; gap: 24px; }
.lk-row__logos { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lk-row__logos img { width: 52px; height: 52px; object-fit: contain; }
.lk-row__logos span { font-family: var(--hcsd); font-size: 16px; color: var(--lk-muted); text-transform: uppercase; }
@media (max-width: 768px) {
  .lk-row__match { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lk-row__logos img { width: 44px; height: 44px; }
}

/* Вкладки: без системной обводки и скругления у кнопок */
.lk-tabs__btn { border-radius: 0; outline: none; }
.lk-tabs__btn:focus-visible { box-shadow: inset 0 0 0 2px var(--white); }

/* Кнопка «Редактировать» над джерси и редактор поверх неё */
.lk-jersey__edit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--white30);
  color: var(--text);
  font-family: var(--hcsd);
  font-size: 18px;
  letter-spacing: 0.05em;
    cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background var(--duration), border-color var(--duration);
}
.lk-jersey__edit svg { width: 16px; height: 16px; }
.lk-jersey__edit:hover,
.lk-jersey__edit[aria-expanded="true"] { background: var(--main); border-color: var(--main); }

.lk-jersey__editor {
  position: absolute;
  left: 50%;
  bottom: 3%;
  transform: translateX(-50%);
  width: 90%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px auto;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--white30);
  backdrop-filter: blur(var(--blur));
  box-shadow: 0 16px 30px rgba(11, 25, 59, 0.12);
}
.lk-jersey__editor[hidden] { display: none; }
.lk-jersey__editor .lk-field__input { height: 44px; padding: 0 12px; min-width: 0; }
.lk-jersey__editor .lk-jersey__num-input { text-align: center; font-family: var(--hcsd); font-size: 22px; padding: 0; }
.lk-jersey__editor .btn { height: 44px; font-size: 18px; padding: 0 16px; }

/* ---------- Нашивки на футболке: печать термотрансфером ---------- */
.lk-patch { transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s; }
.lk-patch.is-fresh { transition: none; }
.lk-patch.is-out { opacity: 0; transition: opacity 0.3s; }
.lk-patch.is-out .lk-patch__in { animation: lk-peel-out 0.3s ease-in forwards; }
.lk-patch__in {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: lk-press 0.5s cubic-bezier(0.3, 1.3, 0.4, 1) both;
}
/* нашивку прижимают к ткани: приходит сверху, чуть пружинит и садится на место */
@keyframes lk-press {
  0%   { opacity: 0; transform: translateY(-14%) scale(1.14); }
  55%  { opacity: 1; transform: translateY(0) scale(0.97); }
  100% { opacity: 1; transform: none; }
}
@keyframes lk-peel-out {
  0%   { opacity: 1; }
  100% { opacity: 0; transform: translateY(-12%) scale(0.88); }
}
@media (prefers-reduced-motion: reduce) {
  .lk-patch, .lk-patch__in { transition: none; animation: none; }
}

/* ---------- Компоновка верхнего блока в один экран ---------- */
.lk { padding-top: 40px; }
.lk__title { margin-bottom: 4px; }
.lk-profile { gap: 22px; padding-top: 12px; }
.lk-user__avatar { width: 84px; height: 84px; }
.lk-user__name { font-size: 32px; }
.lk-profile__ach-title { font-size: 20px; margin-bottom: 6px; }
.lk-profile__ach .lk-ach__badge { width: 64px; height: 64px; margin: 10px 0 4px; }
.lk-profile__ach .lk-ach__text { font-size: 9px; }
.lk-jersey { gap: 12px; margin-top: -70px; }
.lk-jersey__img { max-width: 560px; }
.lk-jersey__actions { position: relative; z-index: 3; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.lk-jersey__buy { height: 40px; padding: 0 18px; }
@media (max-width: 768px) {
  .lk { padding-top: 150px; }
  .lk-jersey { margin-top: 0; }
  .lk-jersey__edit, .lk-jersey__buy { font-size: 13px; padding: 0 12px; }
}

/* Дракон из логотипа заполняет пустое пространство между профилем и джерси:
   голова смотрит на джерси и дышит в её сторону, хвост уходит под стеклянную карточку уровня */
.lk-top { position: relative; }
@media (max-width: 768px) {
}
@media (prefers-reduced-motion: reduce) {
}

.lk-row__time { color: var(--text); }

/* ---------- Страница входа (login.html) ---------- */
/* Слева — трибуна с флагами, справа белая карточка с формой. */
/* Страница входа: фон держим на обёртке, чтобы резинка браузера и любой зазор
   под секцией оставались тёмными, а не белыми. */
.lk-page-auth { background: #02132e; }

.lk-auth {
  position: relative;
  z-index: 3;
  isolation: isolate; /* ::before/::after с z-index<0 остаются внутри секции */
  overflow: hidden;
  display: flex;
  align-items: center;
  /* секция тянется до подвала: иначе под ней оставалась белая полоса страницы */
  min-height: calc(100vh - 96px);
  padding: 120px 0 90px;
  color: var(--white);
  background: linear-gradient(118deg, #02132e 0%, #052a63 46%, #0557bd 100%);
}
/* фото болельщиков прижато влево и растворяется вправо, чтобы карточка легла на чистый синий */
.lk-auth::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/img/fans-rostov.webp") center center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.35) 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.35) 82%, transparent 100%);
}
.lk-auth::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Под живым фоном кадр меняется каждые пару секунд, и жёлтые трибуны
     выбивают заголовок. Держим слева плотную подложку, чтобы текст читался
     на любом кадре, а не только на удачном. */
  background:
    linear-gradient(180deg, rgba(2, 19, 46, 0.55) 0%, rgba(2, 19, 46, 0) 22%),
    linear-gradient(90deg, rgba(2, 19, 46, 0.88) 0%, rgba(2, 19, 46, 0.70) 34%, rgba(3, 32, 78, 0.52) 62%, rgba(3, 32, 78, 0.45) 100%);
}
.lk-auth__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
/* Левая колонка говорит на языке карточки: та же пара шрифтов, тот же приём
   с подчёркиванием-акцентом, что у активной вкладки, и тот же размер текста,
   что у подводки внутри карточки. Отличие одно — она на тёмном. */
.lk-auth__intro { max-width: 430px; }
.lk-auth__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 0 0 8px;
  border-bottom: 3px solid var(--yellow);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.lk-auth__heading {
  color: #fff;
  font-family: var(--hcsd);
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: 0.005em;
  margin: 0 0 18px;
  text-shadow: 0 8px 30px rgba(0, 14, 44, 0.55);
}
.lk-auth .lk-auth__lead {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.90);
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 14, 44, 0.6);
}
@media (max-width: 1200px) {
  .lk-auth__heading { font-size: 54px; }
}

.lk-auth__card {
  position: relative;
  width: 460px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 36px 32px;
  background: linear-gradient(160deg, #ffffff 0%, #f2f5fb 100%);
  border: 1px solid rgba(11, 25, 59, 0.08);
  box-shadow: 0 30px 60px rgba(0, 20, 70, 0.30);
  backdrop-filter: blur(var(--blur));
  color: var(--text);
}
.lk-auth__card.is-busy { opacity: 0.75; pointer-events: none; }
.lk-auth__title {
  font-family: var(--hcsd);
  font-size: 44px;
    line-height: 1;
  margin: 0 0 12px;
}

/* поле с «уезжающей» подписью: placeholder=" " нужен для :not(:placeholder-shown) */
.lk-auth__field { position: relative; }
.lk-auth__input {
  width: 100%;
  height: 60px;
  padding: 24px 18px 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--lk-line);
  color: var(--text);
  font-family: var(--font-family);
  font-size: 16px;
  outline: none;
  border-radius: 0;
  transition: border-color var(--duration);
  /* карточка входа светлая: тёмная схема заставляла браузер красить автозаполнение в серый */
  color-scheme: light;
}
.lk-auth__input_password { padding-right: 56px; }
.lk-auth__input:focus { border-color: var(--main); }
/* Автозаполнение Chrome красит поле своим фоном и затирает нашу светлую карточку:
   фон возвращаем внутренней тенью — background браузер в этом состоянии игнорирует. */
.lk-auth .lk-auth__input:-webkit-autofill,
.lk-auth .lk-auth__input:-webkit-autofill:hover,
.lk-auth .lk-auth__input:-webkit-autofill:focus,
.lk-auth .lk-auth__select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  box-shadow: 0 0 0 1000px #ffffff inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
}
.lk-auth__label {
  position: absolute;
  left: 18px;
  top: 20px;
  font-size: 16px;
  color: rgba(11, 25, 59, 0.50);
  pointer-events: none;
  transition: top var(--duration), font-size var(--duration), color var(--duration);
}
.lk-auth__input:focus + .lk-auth__label,
.lk-auth__input:not(:placeholder-shown) + .lk-auth__label {
  top: 9px;
  font-size: 12px;
  color: var(--lk-muted);
}
.lk-auth__field.is-invalid .lk-auth__input { border-color: #e53935; }
.lk-auth__field-error { margin-top: 6px; color: #e53935; font-size: 13px; }

.lk-auth__eye {
  position: absolute;
  right: 0;
  top: 0;
  width: 56px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--lk-muted);
  transition: color var(--duration);
}
.lk-auth__eye:hover { color: var(--main); }
.lk-auth__eye svg { width: 22px; height: 22px; }

.lk-auth__remember { font-size: 14px; }
.lk-auth__error { color: #e53935; font-size: 14px; }
.lk-auth__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 22px;
}
.lk-auth__submit svg { width: 20px; flex-shrink: 0; }
.lk-auth__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--lk-muted);
  text-align: center;
}
.lk-auth__note a { color: var(--main); }
.lk-auth [hidden] { display: none !important; }

@media (max-width: 768px) {
  .lk-auth { min-height: 0; padding: 140px 0 60px; }
  .lk-auth__inner { flex-direction: column; align-items: stretch; gap: 30px; }
  .lk-auth__intro { max-width: none; text-align: center; }
  .lk-auth__heading { font-size: 48px; margin-bottom: 12px; }
  .lk-auth__lead { font-size: 16px; }
  /* На узком экране фото работает обычным фоном: маска, уводящая кадр вправо,
     там оставила бы пустую треть. */
  .lk-auth::before {
    background-size: cover;
    background-position: 62% center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .lk-auth__card { padding: 30px 20px 24px; }
  .lk-auth__title { font-size: 36px; }
}

/* ---------- Уведомления ---------- */
.lk-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 300;
  transform: translateX(-50%);
  padding: 14px 24px;
  background: #f2f5fb;
  border-left: 4px solid var(--lk-green);
  box-shadow: 0 16px 30px rgba(11, 25, 59, 0.12);
  color: var(--text);
  font-size: 15px;
  animation: lk-toast-in 0.3s ease-out;
  transition: opacity 0.4s, transform 0.4s;
}
.lk-toast_error { border-left-color: var(--main); }
.lk-toast.is-out { opacity: 0; transform: translate(-50%, 10px); }
@keyframes lk-toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* загрузка данных из CRM */
.lk-loading .lk-top { opacity: 0.55; transition: opacity 0.3s; }
.lk-link_plain { background: none; border: none; cursor: pointer; font-family: var(--font-family); }
.lk-ach__img { position: absolute; inset: 18%; width: 64%; height: 64%; object-fit: contain; z-index: 1; }

.lk-profile__ach-count { font-family: var(--font-family); font-size: 14px; color: var(--lk-muted); text-transform: none; margin-left: 8px; }
.lk-ach-more {
  width: 100px;
  height: 84px;
  margin-top: 10px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed var(--white30);
  color: var(--text);
  font-family: var(--hcsd);
  font-size: 14px;
  line-height: 1.1;
    cursor: pointer;
  transition: border-color var(--duration), background var(--duration);
}
.lk-ach-more b { font-size: 22px; color: var(--main); }
.lk-ach-more:hover { border-color: var(--main); background: rgba(37, 86, 180, 0.1); }

/* Достижения-картинки (значки из CRM) */
.lk-ach_img { gap: 8px; }
.lk-ach__pic {
  position: relative;
  width: 96px;
  height: 96px;
  transition: transform var(--duration);
}
.lk-ach__pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Не полученное достижение — бледный силуэт в тонком кольце, без частичной
   заливки цветом: половинчатая раскраска выглядела грязно. Полученное — в цвете
   и в жёлтом кольце. Прогресс показывает полоска под значком. */
.lk-ach__pic::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(3, 25, 60, 0.22);
  transition: border-color var(--duration);
}
.lk-ach__gray { filter: grayscale(1) opacity(0.32); }
.lk-ach__color { display: none; }
.lk-ach_img:hover .lk-ach__pic { transform: translateY(-4px) scale(1.05); }
.lk-ach_img:hover .lk-ach__pic::before { border-color: rgba(3, 25, 60, 0.4); }
.lk-ach_img:hover .lk-ach__gray { filter: grayscale(0.55) opacity(0.5); }
.lk-ach_img.lk-ach_done .lk-ach__gray { visibility: hidden; }
.lk-ach_img.lk-ach_done .lk-ach__color { display: block; }
.lk-ach_img.lk-ach_done .lk-ach__pic::before { border-color: var(--yellow); border-width: 2.5px; }
.lk-ach_img.lk-ach_done:hover .lk-ach__pic::before { border-color: #ffd400; }
.lk-ach__bar {
  width: 72px;
  height: 4px;
  background: var(--white30);
  border-radius: 0;
  overflow: hidden;
}
.lk-ach__bar span { display: block; height: 100%; background: var(--main); border-radius: inherit; }
.lk-ach_img .lk-ach__progress { margin-top: 0; }
@media (max-width: 768px) {
  .lk-ach__pic { width: 84px; height: 84px; }
}

.lk-ach__color { animation-duration: 1.2s; animation-timing-function: cubic-bezier(0.3, 0.6, 0.3, 1); animation-delay: 0.1s; }
@media (prefers-reduced-motion: reduce) {
  .lk-ach__color { animation: none !important; }
}

/* ---------- Загрузка: скелетоны вместо демо-данных ---------- */
@keyframes lk-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.lk-loading .lk-user__name,
.lk-loading .lk-user__since,
.lk-loading .lk-level__name,
.lk-loading .lk-level__points,
.lk-loading .lk-level__points-label,
.lk-loading .lk-level__hint,
.lk-loading .lk-profile__ach-title,
.lk-loading .header__lk-points {
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, rgba(11, 25, 59, 0.05) 30%, rgba(11, 25, 59, 0.12) 50%, rgba(11, 25, 59, 0.05) 70%) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  animation: lk-shimmer 1.3s linear infinite !important;
  border-radius: 0;
  width: max-content;
  min-width: 120px;
}
.lk-loading .lk-user__name { min-width: 260px; }
.lk-loading .lk-level__name { min-width: 300px; }
.lk-loading .lk-user__since b,
.lk-loading .lk-level__perks,
.lk-loading .lk-level__stops,
.lk-loading .lk-level__rail::after { visibility: hidden; }
.lk-loading .lk-level__fill { animation: none; width: 0; }
.lk-loading .lk-level__medal { filter: grayscale(1) brightness(0.6); }
.lk-skel-badge {
  width: 96px;
  height: 110px;
  clip-path: polygon(50% 0, 100% 18%, 100% 72%, 50% 100%, 0 72%, 0 18%);
  background: linear-gradient(90deg, rgba(11, 25, 59, 0.04) 30%, rgba(11, 25, 59, 0.10) 50%, rgba(11, 25, 59, 0.04) 70%);
  background-size: 200% 100%;
  animation: lk-shimmer 1.3s linear infinite;
}
.lk-skel-badge:nth-child(2) { animation-delay: 0.1s; }
.lk-skel-badge:nth-child(3) { animation-delay: 0.2s; }
.lk-skel-badge:nth-child(4) { animation-delay: 0.3s; }
.lk-skel-badge:nth-child(5) { animation-delay: 0.4s; }
.lk-loading .lk-tabs + .lk-panel { opacity: 0.4; }
/* проявление после загрузки */
.lk-revealing .lk-profile > *,
.lk-revealing .lk-level__head,
.lk-revealing .lk-level__hint { animation: lk-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.lk-revealing .lk-profile > :nth-child(2) { animation-delay: 0.08s; }
.lk-revealing .lk-profile > :nth-child(3) { animation-delay: 0.16s; }
@keyframes lk-reveal { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } }
.lk-status_off { background: rgba(11, 25, 59, 0.07); color: var(--lk-muted); }


/* ---------- Кнопки кабинета: как .button.theme-main на сайте ---------- */
.lk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 24px;
  border: 1px solid var(--lk-blue);
  border-radius: 0;
  background-color: var(--lk-blue);
  color: #fff;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--duration), border-color var(--duration);
}
.lk-btn:hover { background-color: var(--lk-blue-dark); border-color: var(--lk-blue-dark); color: #fff; }
.lk-btn svg { width: 20px; height: 12px; }
.lk-btn_wide { width: 100%; }
.lk-btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- Баланс баллов у иконки профиля в шапке ---------- */
.lk-profile-link { position: relative; }
.lk-header__points {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-30%);
  min-width: 22px;
  padding: 0 5px;
  border-radius: 0;
  background: var(--lk-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

/* Соперник в строке билета: эмблемы чужих клубов не храним — пишем название */
.lk-row__rival {
  font-weight: 600;
  font-size: 13px;
  color: var(--lk-muted);
  white-space: nowrap;
}

/* ---------- Фон верхнего блока: газон «Солидарность Самара Арены» ---------- */
/* Фотография у клуба всего 1440x765 и крупнее её нет. Поэтому фон занимает ширину
   контейнера, а не всё окно: на 1512px это увеличение в 1.03 раза, картинка остаётся
   резкой. Растягивать на 100vw нельзя — сразу сыплется. Высота подобрана так, чтобы
   в кадр попадал газон и нижний ярус трибун, без крыши и неба. */
.lk-top { position: relative; }
.lk-top::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -20px;
  left: -20px;
  height: 460px;
  background:
    /* белая вуаль слабее и начинается ниже — арена видна отчётливее */
    linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.18) 55%, rgba(255, 255, 255, 0.70) 82%, #fff 100%),
    linear-gradient(180deg, rgba(5, 87, 189, 0.14) 0%, rgba(5, 87, 189, 0.06) 100%),
    url("assets/img/pitch-rostov.webp") center 38% / cover no-repeat;
  /* Растворяем со всех сторон: у полосы ширины контейнера иначе видны жёсткие
     вертикальные границы, и арена выглядит обрезанной лентой, а не фоном. */
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 8%, #000 78%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 8%, #000 78%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}

/* ---------- Партнёры клуба ---------- */
.lk-partners { margin: 28px 0 4px; }
.lk-partners__title {
  margin-bottom: 14px;
  color: var(--lk-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lk-partners__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.lk-partners__item {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 72px;
  padding: 12px 18px;
  border: 1px solid rgba(11, 25, 59, 0.10);
  border-radius: 0;
  background: #fff;
  transition: border-color var(--duration), box-shadow var(--duration);
}
.lk-partners__item:hover { border-color: rgba(37, 86, 180, 0.35); box-shadow: 0 8px 20px rgba(11, 25, 59, 0.08); }
.lk-partners__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* логотипы у партнёров разноцветные — приглушаем, в цвет они приходят по наведению */
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter var(--duration), opacity var(--duration);
}
.lk-partners__item:hover img { filter: none; opacity: 1; }
@media (max-width: 768px) {
  .lk-partners__item { height: 56px; flex-basis: 100px; min-width: 96px; padding: 8px 10px; }
}

/* ---------- Вкладки: переключатель сайта (.tabs-switchers) ---------- */
.lk-tabs {
  display: flex;
  gap: 0;
  padding: 3px;
  width: 100%;
  border: none;
  border-radius: 0;
  background: rgba(37, 86, 180, 0.14);
  overflow-x: auto;
  scrollbar-width: none;
}
.lk-tabs__btn {
  flex: 1 1 0;
  min-width: max-content;
  height: auto;
  padding: 11px 18px;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--lk-blue);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--duration), color var(--duration);
}
.lk-tabs__btn:not(.active):hover { background: rgba(37, 86, 180, 0.24); color: var(--lk-blue-dark); }
.lk-tabs__btn.active {
  color: #fff;
  background: linear-gradient(90deg, var(--lk-cyan) 0%, var(--lk-violet) 100%);
}
.lk-tabs__btn:focus-visible { outline: 2px solid var(--lk-blue-dark); outline-offset: 2px; }

/* ---------- Строки списков: карточки матчей с сайта ---------- */
.lk-list { display: flex; flex-direction: column; gap: 10px; }
.lk-row {
  background: #fff;
  border: 1px solid rgba(11, 25, 59, 0.10);
  border-radius: 0;
  padding: 16px 20px;
  transition: box-shadow var(--duration), border-color var(--duration);
}
.lk-row:hover { border-color: rgba(37, 86, 180, 0.35); box-shadow: 0 8px 20px rgba(11, 25, 59, 0.08); }
.lk-row__title { font-weight: 600; }
.lk-row__sub { color: var(--lk-muted); }
.lk-status { font-weight: 600; }
.lk-status_ok { color: var(--lk-green); }
.lk-status_wait { color: #e08a1e; }

/* ---------- Фон страницы: секции чередуются белым и светло-серым, как на сайте ---------- */
.lk-mode-section {
  position: relative;
  padding: 36px 0 8px;
}
.lk-section::before { /* светлая подложка во всю ширину окна */
  content: "";
  position: absolute;
  top: 0;
  bottom: -40px;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background: var(--lk-card-2);
  z-index: -1;
}

/* ---------- Кнопка-редактор прямо на футболке ---------- */
.lk-jersey__img .lk-jersey__edit {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  z-index: 2;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(11, 25, 59, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--lk-ink);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(11, 25, 59, 0.12);
}
.lk-jersey__img .lk-jersey__edit:hover,
.lk-jersey__img .lk-jersey__edit[aria-expanded="true"] {
  background: var(--lk-blue);
  border-color: var(--lk-blue);
  color: #fff;
}
.lk-jersey.is-editing .lk-jersey__edit { opacity: 0; pointer-events: none; }

/* Печать фамилии и номера шрифтом сайта — запасной вариант, пока нет нашивок */
.lk-print {
  font-family: var(--hcsd);
  font-weight: 700;
  letter-spacing: 0.02em;
  fill: #ffffff;
  stroke: var(--lk-blue-dark);
  stroke-width: 0.06em;
  paint-order: stroke fill;
}

/* ======== Перекраска хрома сайта под ФК «Ростов» ========
   Шапка, подвал, меню и кнопки приходят из бандла pfcks.ru со своим синим —
   перекрываем здесь, потому что lk.css подключается после бандла. */
.header,
.header-input-block,
.mobile-menu,
.footer,
.footer .footer-top,
.footer .footer-bottom { background: var(--lk-blue-dark) !important; }

.header .nav .link:hover,
.header .nav .link.active,
.mobile-menu .menu-link:hover { color: var(--yellow) !important; }

.header .logo .img { height: 46px; width: auto; }

/* кнопки и акценты сайта: сине-жёлтый градиент вместо сине-фиолетового */
.btn,
.button,
.btn-primary,
.lk-btn,
.lk-tabs__btn.active {
  background: var(--lk-blue-dark) !important;
  background-image: none !important;
  color: #fff !important;
}
.btn:hover,
.button:hover,
.btn-primary:hover,
.lk-btn:hover { background: var(--lk-blue) !important; }

/* ссылки и мелкие акценты */
a:hover { color: var(--lk-blue); }

/* ======== Карточки предложений партнёров ======== */
.lk-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lk-offer {
  position: relative;
  display: block;
  min-height: 190px;
  border-radius: 0;
  overflow: hidden;
  background: var(--lk-blue-dark);
  text-decoration: none;
  transition: transform var(--duration), box-shadow var(--duration);
}
.lk-offer:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(3, 25, 60, 0.25); }
.lk-offer__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; filter: saturate(1.1) brightness(1.06); }
.lk-offer__veil { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(3,25,60,0.92) 0%, rgba(3,25,60,0.74) 42%, rgba(3,25,60,0.12) 100%); }
.lk-offer__body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; }
.lk-offer__logo { height: 26px; width: auto; max-width: 160px; object-fit: contain; object-position: left; }
.lk-offer__kicker { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.lk-offer__title { font-family: var(--font-family); font-weight: 800; font-size: 20px; line-height: 1.25; letter-spacing: 0; color: #fff; }
.lk-offer__text { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.8); max-width: 25ch; text-shadow: 0 1px 6px rgba(3, 25, 60, 0.6); }
.lk-offer__more { margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--yellow); }
.lk-offer__more i { font-style: normal; }
@media (max-width: 900px) { .lk-offers { grid-template-columns: 1fr; } }

/* ======== Разделы кабинета в шапке ======== */
.lk-navbar { position: relative; z-index: 890; background: #02102c; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.lk-navbar__row { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.lk-navbar__row::-webkit-scrollbar { display: none; }
.lk-navbar__btn {
  position: relative;
  flex: none;
  padding: 14px 18px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--duration);
}
.lk-navbar__btn:hover { color: #fff; }
.lk-navbar__btn.active { color: var(--yellow); }
.lk-navbar__btn.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 0;
  background: var(--yellow);
}
/* внутренняя полоса вкладок больше не нужна — разделы живут в шапке */
.lk-tabs { display: none; }

/* ======== Витрина впечатлений ======== */
.lk-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lk-exp {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  border: 1px solid var(--lk-line);
  border-radius: 0;
  background: var(--lk-card);
}
.lk-exp__price { font-family: var(--hcsd); font-size: 20px; color: var(--lk-blue-dark); }
.lk-exp__title { margin: 0; font-size: 18px; font-weight: 800; color: var(--lk-ink); }
.lk-exp__text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--lk-muted); }
.lk-exp .lk-btn { align-self: flex-start; margin-top: 4px; }

/* ======== Голосования ======== */
.lk-votes { display: grid; gap: 16px; }
.lk-vote { padding: 22px 24px; border: 1px solid var(--lk-line); border-radius: 0; background: var(--lk-card); }
.lk-vote__status { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lk-muted); }
.lk-vote__status.is-open { color: #1b9e52; }
.lk-vote__title { margin: 8px 0 16px; font-size: 20px; font-weight: 800; color: var(--lk-ink); }
.lk-vote__options { display: grid; gap: 8px; }
.lk-vote__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border: 1px solid var(--lk-line);
  border-radius: 0;
  background: var(--lk-card-2);
  color: var(--lk-ink);
  font-family: var(--font-family);
  font-size: 15px;
  cursor: pointer;
  transition: border-color var(--duration), background var(--duration);
}
.lk-vote__option:hover { border-color: var(--lk-blue); }
.lk-vote__option.is-picked { border-color: var(--yellow); background: rgba(255, 236, 0, 0.14); font-weight: 700; }
.lk-vote__option i { font-style: normal; font-weight: 700; color: var(--lk-blue-dark); }
.lk-vote__foot { margin-top: 14px; font-size: 14px; color: var(--lk-muted); }
.lk-vote__foot b { color: var(--lk-blue-dark); }

/* ======== Пригласить друга ======== */
.lk-ref { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 16px; }
.lk-ref__card { padding: 26px 28px; border-radius: 0; color: #fff; background: linear-gradient(115deg, #020c22 0%, #03193c 60%, #063071 100%); }
.lk-ref__kicker { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.lk-ref__title { margin: 10px 0 8px; font-family: var(--hcsd); font-size: 28px; line-height: 1.1; }
.lk-ref__text { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.lk-ref__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 0;
}
.lk-ref__code small { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.lk-ref__code b { font-family: var(--hcsd); font-size: 22px; letter-spacing: 0.04em; color: var(--yellow); }
.lk-ref__steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lk-ref__steps li { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--lk-line); border-radius: 0; background: var(--lk-card); }
.lk-ref__steps b { font-family: var(--hcsd); font-size: 18px; color: var(--lk-blue); }
.lk-ref__steps span { display: flex; flex-direction: column; gap: 4px; }
.lk-ref__steps strong { font-size: 15px; color: var(--lk-ink); }
.lk-ref__steps small { font-size: 13px; color: var(--lk-muted); }

@media (max-width: 900px) {
  .lk-showcase, .lk-ref { grid-template-columns: 1fr; }
}

/* ======== Шапка: аккуратная типографика под клубные шрифты ======== */
.header .nav .link,
.header .nav > li > a {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.header .header-right .link,
.header .old-version,
.header .lang { font-family: var(--font-family); font-weight: 600; letter-spacing: 0.02em; }
.header .logo .img { height: 46px; width: auto; }

/* строка разделов кабинета — вторым рядом шапки */
.lk-navbar { background: #02102c; border-top: 1px solid rgba(255, 255, 255, 0.10); }
.lk-navbar .container { padding-top: 0; padding-bottom: 0; }
.lk-navbar__row { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.lk-navbar__btn { padding: 13px 20px; font-size: 13.5px; letter-spacing: 0.01em; }
.lk-navbar__btn.active::after { left: 20px; right: 20px; }

/* шапка стала двухэтажной — опускаем содержимое кабинета */
.lk { padding-top: 196px; }
@media (max-width: 768px) {
  .lk { padding-top: 182px; }
  .lk-navbar__btn { padding: 11px 14px; font-size: 13px; }
}

/* мелкие правки второй строки шапки */
.lk-navbar__row { padding-left: 2px; }
.lk-navbar__btn { color: rgba(255, 255, 255, 0.78); }
.lk-navbar__btn.active { color: var(--yellow); font-weight: 700; }
.lk-navbar__btn.active::after { height: 3px; }
/* «Магазин» в основном меню шёл другим шрифтом — выравниваем */
.header .nav .link.shop,
.header .nav .link[target="_blank"] { font-family: var(--font-family); font-weight: 600; }

/* ======== Плашка про cookie ======== */
#divAgree {
  background: rgba(2, 16, 44, 0.96) !important;
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--yellow);
  box-shadow: 0 -10px 30px rgba(0, 10, 35, 0.3);
}
#divAgree p {
  font-family: var(--font-family) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  max-width: 860px !important;
}
#divAgree p a { color: var(--yellow) !important; text-decoration: underline; text-underline-offset: 2px; }
#divAgree button#buttonAgree, #divAgree #buttonAgree {
  padding: 11px 28px;
  border: none;
  border-radius: 0;
  background: var(--yellow) !important;
  background-image: none !important;
  color: var(--lk-blue-dark) !important;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: filter var(--duration);
}
#divAgree #buttonAgree:hover { filter: brightness(1.08); }

/* ======== Собственная шапка личного кабинета ======== */
.lkh {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--lk-blue-dark);
  border-bottom: 2px solid var(--yellow);
}
.lkh__row {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
}
.lkh__brand { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.lkh__brand img { width: 46px; height: auto; }
.lkh__brand span { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.lkh__brand b { font-family: var(--hcsd); font-size: 17px; font-weight: 400; letter-spacing: 0.03em; color: #fff; }
.lkh__brand small { font-size: 11px; color: rgba(255, 255, 255, 0.6); }

.lkh__nav { display: flex; align-items: center; gap: 2px; margin-right: auto; overflow-x: auto; scrollbar-width: none; }
.lkh__nav::-webkit-scrollbar { display: none; }
.lkh .lk-navbar__btn { padding: 10px 14px; border-radius: 0; font-size: 13px; color: rgba(255, 255, 255, 0.78); }
.lkh .lk-navbar__btn:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.lkh .lk-navbar__btn.active { color: var(--lk-blue-dark); background: var(--yellow); font-weight: 700; }
.lkh .lk-navbar__btn.active::after { display: none; }

.lkh__user { display: flex; align-items: center; gap: 14px; flex: none; }
.lkh__balance { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.lkh__balance b { font-family: var(--hcsd); font-size: 19px; color: var(--yellow); }
.lkh__balance small { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.lkh__avatar {
  width: 42px; height: 42px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--duration);
}
.lkh__avatar:hover { background: rgba(255, 236, 0, 0.18); }
.lkh__exit {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: color var(--duration), border-color var(--duration);
}
.lkh__exit svg { width: 18px; height: 18px; }
.lkh__exit:hover { color: var(--yellow); border-color: var(--yellow); }

/* своя шапка в потоке — отступ сверху больше не нужен */
.lk { padding-top: 34px; }
.lk-navbar { display: none; }

@media (max-width: 900px) {
  .lkh__row { height: auto; flex-wrap: wrap; gap: 14px; padding: 12px 16px; }
  .lkh__nav { order: 3; width: 100%; margin-right: 0; }
  .lkh__user { margin-left: auto; }
  .lk { padding-top: 22px; }
}

/* ======== Угловатая геометрия: карточки и кнопки без скруглений ======== */
.lk .lk-card,
.lk .lk-row,
.lk .lk-panel,
.lk .lk-btn,
.lk .button,
.lk .btn,
.lk input,
.lk select,
.lk textarea,
.lk-level,
.lk-offer,
.lk-exp,
.lk-vote,
.lk-vote__option,
.lk-ref__card,
.lk-ref__code,
.lk-ref__steps li,
.lk-partners__item,
.lkh .lk-navbar__btn,
.lkh__exit,
#divAgree #buttonAgree { border-radius: 0 !important; }

/* ======== Читаемость профиля поверх светлой фотографии ======== */
.lk-user__since {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--lk-blue-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.lk-user__since b {
  padding: 3px 10px;
  background: var(--yellow);
  color: var(--lk-blue-dark) !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: none !important;
}
.lk-user__name { text-shadow: 0 2px 10px rgba(255, 255, 255, 0.55); }
.lk-profile__ach-title { text-shadow: 0 2px 10px rgba(255, 255, 255, 0.55); }
.lk-ach_img .lk-ach__progress {
  font-weight: 700;
  color: var(--lk-blue-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.lk-ach_img.lk-ach_done .lk-ach__progress { color: var(--lk-blue-dark); }
.lk-ach__bar { background: rgba(3, 25, 60, 0.18); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4); }
.lk-ach__bar span { background: var(--lk-blue-dark); }

/* ======== Доводка: отступы, шрифты карточек, ховеры ======== */
/* блок достижений ниже — не липнет к имени */
.lk-profile__ach { margin-top: 26px; }
.lk-profile__ach-title { margin-bottom: 20px; }

/* заголовки карточек — клубным шрифтом, как и остальные заголовки кабинета */
.lk-offer__title {
  font-family: var(--hcsd) !important;
  font-weight: 400 !important;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.lk-exp__title, .lk-vote__title { font-family: var(--hcsd); font-weight: 400; font-size: 22px; letter-spacing: 0.01em; }

/* ---- ховеры: спокойные, одна скорость, без прыжков ---- */
:root { --ease: cubic-bezier(0.22, 0.61, 0.36, 1); --dur: 0.22s; }

.lk-offer { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.lk-offer:hover { transform: none; box-shadow: 0 0 0 2px var(--yellow) inset; }
.lk-offer__bg { transition: transform 0.5s var(--ease), filter var(--dur) var(--ease); }
.lk-offer:hover .lk-offer__bg { transform: scale(1.04); }
.lk-offer__more { transition: color var(--dur) var(--ease); }
.lk-offer:hover .lk-offer__more { color: #fff; }

.lk-exp, .lk-vote, .lk-ref__steps li, .lk-row {
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.lk-exp:hover, .lk-vote:hover, .lk-ref__steps li:hover {
  border-color: var(--lk-blue-dark);
  box-shadow: 0 8px 22px rgba(3, 25, 60, 0.12);
}

.lk-btn, .lk-vote__option, .lkh .lk-navbar__btn, .lkh__exit, .lkh__avatar, #divAgree #buttonAgree {
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lk-btn:hover { background: var(--lk-blue) !important; }
.lk-vote__option:hover { border-color: var(--lk-blue-dark); background: #fff; }

/* значки достижений: лёгкое проявление вместо скачка */
.lk-ach_img .lk-ach__pic { transition: transform var(--dur) var(--ease); }
.lk-ach_img:hover .lk-ach__pic { transform: translateY(-2px) scale(1.03); }
.lk-ach_img .lk-ach__gray { transition: filter var(--dur) var(--ease); }
.lk-ach__pic::before { transition: border-color var(--dur) var(--ease); }

/* партнёрские логотипы в подвале — плавная расцветка */
.lk-partners__item img { transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .lk-offer, .lk-offer__bg, .lk-exp, .lk-vote, .lk-ach_img .lk-ach__pic { transition: none !important; }
  .lk-offer:hover .lk-offer__bg, .lk-ach_img:hover .lk-ach__pic { transform: none !important; }
}

/* ======== Меньше жёлтого: оставляем его как редкий акцент ======== */
/* шапка: активный раздел — белым с тонким подчёркиванием, без жёлтой плашки */
.lkh { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.lkh .lk-navbar__btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--yellow);
}
.lkh__balance b { color: #fff; }
.lkh__avatar { border-color: rgba(255, 255, 255, 0.35); }
.lkh__avatar:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* карточки партнёров: подписи спокойные, жёлтой осталась только стрелка */
.lk-offer__kicker { color: rgba(255, 255, 255, 0.6) !important; }
.lk-offer__more { color: #fff !important; }
.lk-offer__more i { color: var(--yellow); }
.lk-offer:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset; }

/* плашка cookie: без жёлтой линии, кнопка белая */
#divAgree { border-top: 1px solid rgba(255, 255, 255, 0.18) !important; }
#divAgree p a { color: #cfe0ff !important; }
#divAgree button#buttonAgree, #divAgree #buttonAgree {
  background: #fff !important;
  color: var(--lk-blue-dark) !important;
}

/* витрина и голосования: акценты тёмно-синие */
.lk-exp__price { color: var(--lk-blue-dark); }
.lk-vote__option.is-picked { border-color: var(--lk-blue-dark); background: rgba(3, 25, 60, 0.06); }
.lk-ref__kicker { color: rgba(255, 255, 255, 0.6); }
.lk-ref__code b { color: #fff; }

/* ======== Карточки предложений: ровная сетка и аккуратные заголовки ======== */
.lk-offers { align-items: stretch; }
.lk-offer { min-height: 230px; }
.lk-offer__body { height: 100%; padding: 24px 26px; }
.lk-offer__title {
  font-size: 21px;
  line-height: 1.12;
  text-wrap: balance;
  max-width: 13ch;
}
.lk-offer__text { margin-top: 2px; max-width: 23ch; }
.lk-offer__more { margin-top: auto; padding-top: 14px; }

/* ======== Логотипы партнёров в подвале: резкие, без наезжающих стрелок ======== */
.footer .partners .swiper-button-next,
.footer .partners .swiper-button-prev { display: none !important; }
.footer .partners { width: calc(100% - 40px) !important; }
.footer .partner .img {
  max-height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}
.footer .partner { display: flex; align-items: center; justify-content: center; }

/* кнопка «Принять» в плашке cookie: белая, на наведении — жёлтая */
#divAgree button#buttonAgree:hover, #divAgree #buttonAgree:hover {
  background: var(--yellow) !important;
  color: var(--lk-blue-dark) !important;
  filter: none;
}
#divAgree p a:hover { color: var(--yellow) !important; }

/* активный раздел в шапке — без подложки, только подчёркивание */
.lkh .lk-navbar__btn.active { background: none; box-shadow: inset 0 -3px 0 var(--yellow); }
.lkh .lk-navbar__btn:hover { background: none; color: var(--yellow); }

/* прогресс уровня: без радуги — ровный жёлтый по тёмно-синей дорожке */
.lk-level__fill {
  background: var(--yellow) !important;
  box-shadow: 0 0 10px rgba(255, 236, 0, 0.35) !important;
}
.lk-level__fill::before { display: none !important; }
.lk-level__rail { background: rgba(255, 255, 255, 0.16) !important; }
.lk-level__stop i { background: rgba(255, 255, 255, 0.35); }
.lk-level__stop.is-done i, .lk-level__stop.is-current i { background: #fff; }

/* баланс раков на карточке уровня — жёлтым */
.lk-level__points { color: var(--yellow) !important; }
.lk-level__points-label { color: rgba(255, 255, 255, 0.66); }

/* кнопка cookie: гасим «шторки» из бандла сайта — из-за них ховер ехал половиной */
#divAgree #buttonAgree::before,
#divAgree #buttonAgree::after { content: none !important; display: none !important; }
#divAgree #buttonAgree { position: relative; z-index: 1; overflow: hidden; }

/* ======== Конструктор: компактная панель действий под футболкой ======== */
.lk-jersey__actions { display: none; }
.lk-jersey__bar {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  white-space: nowrap;
}
.lk-jersey__bar .lk-jersey__edit {
  position: static;
  height: 36px;
  padding: 0 14px;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(3, 25, 60, 0.18);
  color: var(--lk-blue-dark);
}
.lk-jersey__bar .lk-jersey__edit:hover,
.lk-jersey__bar .lk-jersey__edit[aria-expanded="true"] { background: #fff; border-color: var(--lk-blue-dark); color: var(--lk-blue-dark); }
.lk-jersey__bar .lk-jersey__buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  background: var(--lk-blue-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lk-jersey__bar .lk-jersey__buy i { font-style: normal; color: var(--yellow); }
.lk-jersey__bar .lk-jersey__buy:hover { background: var(--yellow); color: var(--lk-blue-dark); }
.lk-jersey__bar .lk-jersey__buy:hover i { color: var(--lk-blue-dark); }
@media (max-width: 560px) {
  .lk-jersey__bar { flex-direction: column; align-items: center; gap: 6px; }
}

/* панель конструктора — слим-строкой над футболкой, не лезет под карточку уровня */
.lk-jersey__bar {
  position: static;
  transform: none;
  justify-content: center;
  margin: 0 0 10px;
}
/* плотнее блоки на главной */
.lk-partners { margin: 18px 0 4px; }
.lk-top { margin-bottom: 10px; }
.lk-tabs-wrap, .lk-panels { margin-top: 18px; }
.lk-profile__ach { margin-top: 20px; }

/* ======== Ховер карточек предложений: без рамок, мягкий подъём ======== */
.lk-offer:hover { box-shadow: 0 14px 30px rgba(3, 25, 60, 0.28) !important; }
.lk-offer__veil { transition: background 0.25s var(--ease); }
.lk-offer:hover .lk-offer__veil {
  background: linear-gradient(95deg, rgba(3, 25, 60, 0.86) 0%, rgba(3, 25, 60, 0.6) 42%, rgba(3, 25, 60, 0.06) 100%);
}
.lk-offer:hover .lk-offer__bg { transform: scale(1.03); }
.lk-offer__more i { display: inline-block; transition: transform var(--dur) var(--ease); }
.lk-offer:hover .lk-offer__more { color: var(--yellow) !important; }
.lk-offer:hover .lk-offer__more i { transform: translateX(4px); }

/* ======== «Подробнее» — кнопка-подложка, жёлтая на ховере с плавным переходом ======== */
.lk-offer__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(3, 25, 60, 0.5);
  backdrop-filter: blur(4px);
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.lk-offer:hover .lk-offer__more {
  background: var(--yellow) !important;
  border-color: var(--yellow);
  color: var(--lk-blue-dark) !important;
}
.lk-offer:hover .lk-offer__more i { color: var(--lk-blue-dark); }

/* плавность всем жёлтым ховерам */
.lkh .lk-navbar__btn,
.lkh__exit,
.lkh__avatar,
.lk-jersey__bar .lk-jersey__buy,
.lk-jersey__bar .lk-jersey__edit,
#divAgree #buttonAgree,
#divAgree p a,
.lk-btn,
.footer .partner .img {
  transition: background-color 0.22s var(--ease), background 0.22s var(--ease),
              color 0.22s var(--ease), border-color 0.22s var(--ease),
              box-shadow 0.22s var(--ease), filter 0.22s var(--ease), opacity 0.22s var(--ease) !important;
}

/* ======== Эмблема уровня: чистый круг с тонким жёлтым кольцом ======== */
.lk-level__medal { width: 72px; height: 72px; padding: 0; }
.lk-level__medal::before {
  background: none !important;
  border: 2px solid var(--yellow);
  box-shadow: none !important;
}
.lk-level__medal::after {
  inset: 4px;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lk-level__medal img { width: 62%; }

/* ======== Раздел открывается вместо главной ======== */
.lk-mode-section .lk-top,
.lk-mode-section .lk-next,
.lk-mode-section .lk-catalog,
.lk-mode-section .lk-partners { display: none !important; }
.lk-mode-section .lk { padding-top: 26px; }
/* на главной панели разделов не показываем */
html:not(.lk-mode-section) .lk-panel { display: none !important; }

/* шапка: девять пунктов должны помещаться, не обрезая последний */
.lkh__row { gap: 18px; }
.lkh__nav { min-width: 0; flex: 1 1 auto; }
.lkh .lk-navbar__btn { padding: 10px 11px; font-size: 12.5px; }
@media (max-width: 1500px) { .lkh .lk-navbar__btn { padding: 10px 9px; font-size: 12px; } }

/* в разделе не оставляем пустую белую полосу сверху */
.lk-mode-section .lk { padding-top: 18px; }
.lk-mode-section .lk::before,
.lk-mode-section .lk::after { display: none; }

/* ======== Собственный подвал кабинета ======== */
.lkf { margin-top: 36px; background: var(--lk-blue-dark); color: rgba(255, 255, 255, 0.72); }
.lkf__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 28px;
}
.lkf__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lkf__brand img { width: 40px; height: auto; }
.lkf__brand span { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.lkf__brand b { font-family: var(--hcsd); font-size: 15px; font-weight: 400; letter-spacing: 0.03em; color: #fff; }
.lkf__brand small { font-size: 11px; color: rgba(255, 255, 255, 0.55); }
.lkf__links { display: flex; flex-wrap: wrap; gap: 22px; margin-right: auto; }
.lkf__links a { font-size: 13px; color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.22s var(--ease); }
.lkf__links a:hover { color: var(--yellow); }
.lkf__contacts { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.lkf__contacts span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.lkf__contacts a { font-size: 14px; color: #fff; text-decoration: none; }
.lkf__contacts a:hover { color: var(--yellow); }
.lkf__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 28px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.lkf__social { display: flex; gap: 12px; }
.lkf__social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.lkf__social a:hover { color: var(--yellow); border-color: var(--yellow); }
@media (max-width: 760px) {
  .lkf__row { gap: 18px; }
  .lkf__contacts { text-align: left; }
}

/* ======== Фон героя: сгенерированная арена, спокойнее и светлее слева ======== */
.lk-top::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.14) 58%, rgba(255, 255, 255, 0.72) 84%, #fff 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.12) 34%, rgba(255, 255, 255, 0) 60%),
    url("assets/img/arena-rostov.webp") center 42% / cover no-repeat !important;
}

/* подпись разработчика в подвале */
.lkf__dev { display: flex; align-items: center; gap: 6px; }
.lkf__dev a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.lkf__dev a:hover { color: var(--yellow); }

/* панель конструктора не должна уезжать под фиксированную шапку */
.lk-jersey { padding-top: 46px; }
@media (max-width: 768px) { .lk-jersey { padding-top: 10px; } }

/* ======== Больше арены: полоса выше, вуаль легче ======== */
.lk-top::before {
  top: -96px;
  height: 660px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.24) 54%, rgba(255, 255, 255, 0.74) 86%, #fff 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.82) 34%, rgba(255, 255, 255, 0.34) 62%, rgba(255, 255, 255, 0) 100%),
    url("assets/img/arena-rostov.webp") center 42% / cover no-repeat !important;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 6%, #000 84%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%) !important;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 6%, #000 84%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%) !important;
}
/* светлая подложка под текстом профиля, чтобы он читался на более открытом фоне */
.lk-user, .lk-profile__ach-title { text-shadow: 0 1px 10px rgba(255, 255, 255, 0.75); }

/* ======== Живой матчевый фон: тёмная арена, текст героя белый ======== */
.lk-top::before {
  top: -96px;
  height: 680px;
  background:
    linear-gradient(180deg, rgba(3, 25, 60, 0.18) 0%, rgba(3, 25, 60, 0.12) 52%, rgba(255, 255, 255, 0.45) 86%, #fff 100%),
    linear-gradient(90deg, rgba(3, 25, 60, 0.62) 0%, rgba(3, 25, 60, 0.28) 34%, rgba(3, 25, 60, 0.05) 62%),
    url("assets/img/hero-live.webp") center 52% / cover no-repeat !important;
}
.lk-user__name,
.lk-profile__ach-title { color: #fff !important; text-shadow: 0 2px 18px rgba(3, 25, 60, 0.55) !important; }
.lk-user__id { color: rgba(255, 255, 255, 0.82) !important; }
.lk-ach__progress { color: rgba(255, 255, 255, 0.9) !important; text-shadow: 0 1px 8px rgba(3, 25, 60, 0.6); }
.lk-user__avatar { border-color: rgba(255, 255, 255, 0.5) !important; color: #fff; }
.lk-ach__bar { background: rgba(255, 255, 255, 0.28) !important; }

/* читаемость героя на живом фоне */
.lk-top::before {
  background:
    linear-gradient(180deg, rgba(3, 25, 60, 0.26) 0%, rgba(3, 25, 60, 0.16) 52%, rgba(255, 255, 255, 0.42) 86%, #fff 100%),
    linear-gradient(100deg, rgba(3, 25, 60, 0.78) 0%, rgba(3, 25, 60, 0.42) 32%, rgba(3, 25, 60, 0.08) 64%),
    url("assets/img/hero-live.webp") center 52% / cover no-repeat !important;
}
.lk-user__id, .lk-user__id * { color: rgba(255, 255, 255, 0.85) !important; }
.lk-ach .lk-ach__progress { color: rgba(255, 255, 255, 0.92) !important; }

/* ======== Герой: плавный переход фото в страницу и отрыв карточек от фона ======== */
.lk-top::before {
  height: 740px;
  background:
    linear-gradient(180deg, rgba(3, 25, 60, 0.3) 0%, rgba(3, 25, 60, 0.16) 44%, rgba(255, 255, 255, 0.18) 70%, rgba(255, 255, 255, 0.78) 88%, #fff 100%),
    linear-gradient(100deg, rgba(3, 25, 60, 0.78) 0%, rgba(3, 25, 60, 0.42) 32%, rgba(3, 25, 60, 0.08) 64%),
    url("assets/img/hero-live.webp") center 52% / cover no-repeat !important;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 5%, #000 72%, transparent 99%),
    linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 5%, #000 72%, transparent 99%),
    linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%) !important;
}

/* карточка уровня перестаёт сливаться с ночной ареной */
.lk-level {
  background: linear-gradient(180deg, #06224d 0%, #03193c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 44px rgba(2, 14, 36, 0.45);
}

/* незаработанные достижения читаются и на фото */
.lk-ach__pic::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(3, 25, 60, 0.38);
  z-index: -1;
}
.lk-ach__pic { position: relative; z-index: 0; }
.lk-ach:not(.lk-ach_done) .lk-ach__pic::after { background: rgba(3, 25, 60, 0.55); }
.lk-ach__bar { background: rgba(255, 255, 255, 0.3) !important; }
.lk-ach__bar span { background: var(--yellow) !important; }

/* паттерн под карточкой уровня убран — чистый тёмно-синий */
.lk-level {
  background: linear-gradient(180deg, #06224d 0%, #03193c 100%) !important;
}

/* кнопки конструктора — под футболкой, справа, мимо карточки уровня */
.lk-jersey { padding-top: 8px; position: relative; }
.lk-jersey__bar {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: auto;
  transform: none;
  justify-content: flex-end;
  margin: 0;
}
@media (max-width: 900px) {
  .lk-jersey__bar { position: static; justify-content: center; margin-top: 12px; }
}

/* ======== Страницы разделов ======== */
.lk-page {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(3, 25, 60, 0.12);
}
.lk-page__title {
  margin: 0;
  font-family: var(--hcsd);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--lk-blue-dark);
}
.lk-page__sub { margin: 6px 0 0; font-size: 14px; color: rgba(8, 31, 74, 0.6); }
.lk-page__action {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  background: var(--lk-blue-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.lk-page__action:hover { background: var(--yellow); color: var(--lk-blue-dark); }
.lk-page__balance { font-size: 14px; color: rgba(8, 31, 74, 0.7); }
.lk-page__balance b { color: var(--lk-blue-dark); font-size: 18px; }

/* фильтры */
.lk-chips { display: flex; gap: 8px; margin-bottom: 16px; }
.lk-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(3, 25, 60, 0.18);
  background: #fff;
  color: var(--lk-blue-dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.lk-chip i { font-style: normal; font-size: 11px; color: rgba(8, 31, 74, 0.45); }
.lk-chip:hover { border-color: var(--lk-blue-dark); }
.lk-chip.active { background: var(--lk-blue-dark); border-color: var(--lk-blue-dark); color: #fff; }
.lk-chip.active i { color: var(--yellow); }

/* сводка по ракам */
.lk-sum {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 18px;
  background: rgba(3, 25, 60, 0.12);
  border: 1px solid rgba(3, 25, 60, 0.12);
}
.lk-sum__item { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: #fff; }
.lk-sum__item span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(8, 31, 74, 0.5); }
.lk-sum__item b { font-family: var(--hcsd); font-size: 24px; font-weight: 400; color: var(--lk-blue-dark); }
.lk-sum__plus { color: #1d9a4f !important; }
.lk-sum__now { color: var(--lk-blue) !important; }
@media (max-width: 760px) { .lk-sum { grid-template-columns: repeat(2, 1fr); } }

/* подсказка */
.lk-note {
  padding: 14px 18px;
  margin-bottom: 16px;
  background: rgba(5, 87, 189, 0.07);
  border-left: 3px solid var(--yellow);
  font-size: 13px;
  color: rgba(8, 31, 74, 0.8);
}

/* поздравления */
.lk-greet { display: flex; flex-direction: column; gap: 16px; max-width: 880px; }
.lk-greet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lk-greet__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(3, 25, 60, 0.12);
}
.lk-greet__price { font-size: 13px; color: rgba(8, 31, 74, 0.7); }
.lk-greet__price b { color: var(--lk-blue-dark); }
.lk-field__label small { font-weight: 400; color: rgba(8, 31, 74, 0.45); }
@media (max-width: 760px) { .lk-greet__grid { grid-template-columns: 1fr; } }

/* рефералка: статистика и список */
.lk-ref__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: rgba(3, 25, 60, 0.12);
  border: 1px solid rgba(3, 25, 60, 0.12);
}
.lk-ref__stats > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: #fff; }
.lk-ref__stats span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(8, 31, 74, 0.5); }
.lk-ref__stats b { font-family: var(--hcsd); font-size: 24px; font-weight: 400; color: var(--lk-blue-dark); }
.lk-ref__list { margin-top: 18px; border: 1px solid rgba(3, 25, 60, 0.12); }
.lk-ref__row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(3, 25, 60, 0.08);
  font-size: 14px;
}
.lk-ref__row:last-child { border-bottom: none; }
.lk-ref__row span { font-weight: 600; color: var(--lk-blue-dark); }
.lk-ref__row em { font-style: normal; font-size: 13px; color: rgba(8, 31, 74, 0.6); }
.lk-ref__row b { font-family: var(--hcsd); font-weight: 400; font-size: 18px; color: var(--lk-blue-dark); }
.lk-ref__row_wait b { color: rgba(8, 31, 74, 0.35); }
@media (max-width: 700px) { .lk-ref__stats { grid-template-columns: 1fr; } .lk-ref__row { grid-template-columns: 1fr auto; } }

/* ======== Раздел как полноценная страница: шапка-полоса с ареной и контейнер ======== */
.lk .container,
.lk-mode-section .lk .container { max-width: 1472px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.lk-mode-section .lk { padding-top: 0; }

/* шапка раздела: тёмная полоса с ареной во всю ширину */
.lk-mode-section .lk-panel.active > .lk-page {
  position: relative;
  margin: 0 -28px 26px;
  padding: 34px 28px 30px;
  border-bottom: none;
  color: #fff;
  overflow: hidden;
}
.lk-mode-section .lk-panel.active > .lk-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(3, 25, 60, 0.94) 0%, rgba(3, 25, 60, 0.82) 42%, rgba(3, 25, 60, 0.55) 100%),
    url("assets/img/hero-live.webp") center 46% / cover no-repeat;
}
.lk-mode-section .lk-panel.active > .lk-page::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--yellow);
}
.lk-mode-section .lk-page__title { color: #fff; font-size: 34px; }
.lk-mode-section .lk-page__sub { color: rgba(255, 255, 255, 0.72); }
.lk-mode-section .lk-page__balance { color: rgba(255, 255, 255, 0.72); }
.lk-mode-section .lk-page__balance b { color: var(--yellow); }
.lk-mode-section .lk-page__action { background: var(--yellow); color: var(--lk-blue-dark); }
.lk-mode-section .lk-page__action:hover { background: #fff; }

/* мягкое появление раздела */
@keyframes lkPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.lk-panel.active { animation: lkPanelIn 0.3s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .lk-panel.active { animation: none; } }

/* рефералка: текст на тёмной карточке снова белый */
.lk-ref__card .lk-ref__title { color: #fff !important; }
.lk-ref__card .lk-ref__text { color: rgba(255, 255, 255, 0.8) !important; }
.lk-ref__card .lk-ref__code b { color: #fff !important; }
.lk-ref__card .lk-ref__code small { color: rgba(255, 255, 255, 0.6) !important; }

/* контейнер кабинета: на сайте .container раскрыт на всю ширину — поджимаем */
.lk > .container {
  max-width: 1472px !important;
  margin: 0 auto !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
}
/* шапка раздела начинается сразу под хедером, без белой полосы */
.lk-mode-section .lk { padding-top: 0 !important; }
.lk-mode-section .lk-panels { margin-top: 0 !important; }
.lk-mode-section .lk-tabs-wrap { display: none; }

/* Блок разделов лежит рядом с .container (в разметке он вне него) — задаём ту же сетку */
.lk > .lk-section {
  max-width: 1472px;
  margin: 0 auto;
  padding: 0 28px;
}

/* скрытые списки не должны всплывать из-за display у .lk-list */
.lk-list[hidden] { display: none !important; }

/* ссылка «Все достижения» на главной */
.lk-profile__ach-title { display: flex; align-items: baseline; gap: 14px; }
.lk-ach-all {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--yellow);
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.22s var(--ease);
}
.lk-ach-all:hover { opacity: 1; }

/* сетка достижений на отдельной странице */
.lk-achievements_full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 26px 18px;
}
.lk-achievements_full .lk-ach__name { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--lk-blue-dark); }
.lk-achievements_full .lk-ach__progress { color: rgba(8, 31, 74, 0.6) !important; text-shadow: none; }
.lk-achievements_full .lk-ach__pic::after { display: none; }
.lk-achievements_full .lk-ach__bar { background: rgba(3, 25, 60, 0.12) !important; }

/* хвост страницы и выравнивание подписей достижений */
.lk-mode-section .lk-section { padding-bottom: 56px; }
.lk-achievements_full .lk-ach { align-content: start; }
.lk-achievements_full .lk-ach__name { min-height: 32px; }

/* Фон героя лежал на z-index:-1 и уходил под белый фон .section — поднимаем слой
   и кладём содержимое героя поверх него. */
.lk-top::before { z-index: 0 !important; }
.lk-top > * { position: relative; z-index: 1; }

/* «ID болельщика» на светлом участке фото */
.lk-user__id { text-shadow: 0 1px 10px rgba(3, 25, 60, 0.75); }
.lk-user__id b { color: var(--lk-blue-dark) !important; }

/* ======== Возврат к дневной арене: светлый фон и тёмный текст героя ========
   Верх поднят ещё на 134px: под фотофон уходит полоса ближайшего матча, и
   фотография начинается сразу под шапкой, а не обрывается перед ней. */
.lk-top::before {
  top: -196px;
  height: 760px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.24) 54%, rgba(255, 255, 255, 0.74) 86%, #fff 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.82) 34%, rgba(255, 255, 255, 0.34) 62%, rgba(255, 255, 255, 0) 100%),
    url("assets/img/arena-rostov.webp") center 42% / cover no-repeat !important;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 6%, #000 84%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%) !important;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 6%, #000 84%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%) !important;
}
.lk-user__name,
.lk-profile__ach-title {
  color: var(--lk-blue-dark) !important;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.8) !important;
}
.lk-user__id { color: rgba(8, 31, 74, 0.72) !important; text-shadow: 0 1px 8px rgba(255, 255, 255, 0.85); }
.lk-user__id * { color: rgba(8, 31, 74, 0.72) !important; }
.lk-user__id b { color: var(--lk-blue-dark) !important; }
.lk-ach .lk-ach__progress { color: rgba(8, 31, 74, 0.7) !important; text-shadow: 0 1px 8px rgba(255, 255, 255, 0.8); }
.lk-ach__pic::after { display: none; }
.lk-ach__bar { background: rgba(3, 25, 60, 0.14) !important; }
.lk-user__avatar { border-color: rgba(3, 25, 60, 0.3) !important; color: var(--lk-blue-dark); }
.lk-ach-all { color: var(--lk-blue) !important; }

/* шапки разделов — на той же дневной арене */
.lk-mode-section .lk-panel.active > .lk-page::before {
  background:
    linear-gradient(100deg, rgba(3, 25, 60, 0.94) 0%, rgba(3, 25, 60, 0.8) 44%, rgba(3, 25, 60, 0.5) 100%),
    url("assets/img/arena-rostov.webp") center 42% / cover no-repeat;
}

/* Фон героя во всю ширину окна, без боковых растушёвок */
.lk-top::before {
  left: calc(50% - 50vw) !important;
  right: auto !important;
  width: 100vw !important;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%) !important;
  mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%) !important;
}

/* футболка не должна наезжать на шапку */
.lk-jersey { padding-top: 34px; }
.lk-jersey__bar { bottom: -2px; }
@media (max-width: 900px) { .lk-jersey { padding-top: 10px; } }


/* ======== Ближайший матч: полоса поверх фотофона героя ========
   Тёмная карточка во всю ширину разрезала страницу надвое, поэтому строка лёгкая:
   белое стекло с клубной жёлтой чертой слева. Фотофон .lk-top поднят так, что
   полоса стоит прямо на нём (см. .lk-top::before выше), а z-index нужен потому,
   что фон лежит на отдельном слое и иначе накрывает её.
   Сетка 1fr / auto / 1fr: пара команд с датой стоит точно по центру полосы
   независимо от длины подписей по краям. */
html:not(.lk-mode-section) .lk { padding-top: 0 !important; }
.lk-next {
  position: relative;
  z-index: 2;
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin: 0 0 26px;
  padding: 12px 20px 12px 18px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(3, 25, 60, 0.1);
  border-left: 3px solid var(--yellow);
  box-shadow: 0 10px 30px rgba(3, 25, 60, 0.12);
  color: var(--lk-ink);
}
.lk-next__info { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-right: 24px; }
.lk-next__tag {
  padding: 4px 9px;
  background: var(--lk-blue-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* центр: команда — дата — команда, всё по одной оптической линии */
.lk-next__game {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  padding: 0 26px;
  border-left: 1px solid rgba(3, 25, 60, 0.1);
  border-right: 1px solid rgba(3, 25, 60, 0.1);
}
.lk-next__team { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.lk-next__team img { width: 38px; height: 38px; object-fit: contain; flex: 0 0 auto; }
.lk-next__team b {
  font-family: var(--hcsd);
  font-weight: 400;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--lk-blue-dark);
  white-space: nowrap;
}
.lk-next__kick { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lk-next__league {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--lk-muted);
  white-space: nowrap;
}
.lk-next__league img { width: 16px; height: 16px; object-fit: contain; }
.lk-next__date { display: flex; align-items: center; font-size: 14px; font-weight: 700; color: var(--lk-blue-dark); white-space: nowrap; }
/* вместо точки-разделителя — тонкая черта: в строке и так много мелких знаков */
.lk-next__league span + span,
.lk-next__date span + span {
  margin-left: 9px;
  padding-left: 9px;
  border-left: 1px solid rgba(3, 25, 60, 0.22);
}

/* правый край: где сидим и чем дело кончится */
.lk-next__side { display: flex; align-items: center; justify-content: flex-end; gap: 22px; padding-left: 24px; }
.lk-next__btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 22px;
  background: var(--lk-blue-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.22s var(--ease), color 0.22s var(--ease);
}
.lk-next__btn:hover { background: var(--yellow); color: var(--lk-blue-dark); }

@media (max-width: 1150px) {
  /* всё ещё одна строка: чип, пара команд и кнопка — просто поджимаем */
  .lk-next { padding: 10px 14px 10px 12px; }
  .lk-next__game { padding: 0 16px; gap: 8px 14px; }
  .lk-next__team img { width: 32px; height: 32px; }
  .lk-next__team b { font-size: 20px; }
  .lk-next__info { padding-right: 14px; }
}
@media (max-width: 900px) {
  .lk-next { grid-template-columns: 1fr; gap: 12px; padding: 14px 16px; }
  .lk-next__info { padding-right: 0; }
  .lk-next__kick { flex: 0 0 100%; align-items: flex-start; order: 3; }
  .lk-next__side { justify-content: flex-start; }
  .lk-next__btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  /* «Ростов — Спартак» должно остаться одной строкой: на 430px запас 20px */
  .lk-next__game { gap: 8px 10px; }
  .lk-next__team { gap: 8px; }
  .lk-next__team b { font-size: 18px; }
  .lk-next__team img { width: 26px; height: 26px; }
}

/* ======== Каталог впечатлений: витрина на главной ========
   Четыре карточки с обложками (assets/img/experiences, промпты в
   docs/art-direction/queue-experiences.sh); весь список — в разделе «Витрина». */
.lk-catalog { margin: 30px 0 0; }
.lk-catalog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.lk-catalog__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lk-blue);
}
.lk-catalog__title {
  margin-top: 6px;
  font-family: var(--hcsd);
  font-size: 26px;
  line-height: 1.15;
  color: var(--lk-ink);
}
.lk-catalog__all {
  flex: 0 0 auto;
  padding: 0;
  border: none;
  background: none;
  color: var(--lk-blue);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.22s var(--ease);
}
.lk-catalog__all i { font-style: normal; }
.lk-catalog__all:hover { color: var(--lk-blue-dark); }
.lk-catalog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lk-cat {
  display: flex;
  flex-direction: column;
  background: var(--lk-card);
  border: 1px solid var(--lk-line);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.lk-cat:hover { border-color: rgba(37, 86, 180, 0.35); box-shadow: 0 14px 30px rgba(11, 25, 59, 0.12); }
.lk-cat__cover { display: block; position: relative; aspect-ratio: 10 / 7; overflow: hidden; background: var(--lk-card-2); }
.lk-cat__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.lk-cat:hover .lk-cat__cover img { transform: scale(1.04); }
.lk-cat__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.lk-cat__price { font-family: var(--hcsd); font-size: 20px; line-height: 1; color: var(--lk-blue-dark); white-space: nowrap; }
.lk-cat__price small,
.lk-exp__price small { font-family: var(--font-family); font-size: 11px; font-weight: 600; color: var(--lk-muted); margin-left: 0.3em; }
.lk-cat__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1 1 auto; }
.lk-cat__title {
  margin: 0;
  font-family: var(--hcsd);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--lk-ink);
  text-wrap: balance;
}
.lk .lk-cat__text { margin: 0; font-size: 13px; line-height: 1.45; color: var(--lk-muted); }
/* подвал карточки каталога — такой же, как в разделе «Витрина впечатлений» */
.lk-cat__foot .lk-btn { flex: 0 0 auto; height: 38px; padding: 0 18px; }

@media (max-width: 1100px) { .lk-catalog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .lk-catalog__grid { grid-template-columns: 1fr; }
  .lk-catalog__head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* обложки витрины сняты с fc-rostov.ru/loyalty: заголовок и цена вшиты в верхнюю
   треть картинки, её срезает cut (см. README), печатает их вёрстка */
.lk-exp { overflow: hidden; }
.lk-exp__cover { display: block; margin: -22px -24px 6px; aspect-ratio: 10 / 7; overflow: hidden; background: var(--lk-card-2); }
.lk-exp__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.lk-exp:hover .lk-exp__cover img { transform: scale(1.03); }
.lk-exp__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 6px; }
.lk-exp__price small { font-family: var(--font-family); font-size: 12px; font-weight: 600; color: var(--lk-muted); }
.lk-exp__foot .lk-btn { height: 38px; padding: 0 18px; }
.lk-showcase { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .lk-showcase { grid-template-columns: repeat(2, 1fr); } }

/* ======== Предложения партнёров: идут под каталогом впечатлений ======== */
.lk-partners { margin-top: 34px; }

@media (prefers-reduced-motion: reduce) {
  .lk-cat, .lk-cat__cover img, .lk-next__btn { transition: none !important; }
  .lk-cat:hover .lk-cat__cover img { transform: none !important; }
}


/* ======== Рак — валюта кабинета ========
   Знак стоит вплотную СПРАВА ОТ ЧИСЛА и крупнее цифр: он здесь вместо слова
   «раков», как символ валюты. Лист рисует Codex (docs/art-direction/queue-rak*.sh),
   режет tools/slice_rak_sheet.py, в assets кладёт make_rak_icon.py. */
.lk-rak {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  flex: 0 0 auto;
  vertical-align: -0.36em;
  margin-left: 0.22em;
  background: url("assets/img/rak.webp") center / contain no-repeat;
}
.lk-cat__price, .lk-exp__price { display: inline-flex; align-items: center; }
.lk-cat__price .lk-rak,
.lk-exp__price .lk-rak { width: 1.4em; height: 1.4em; vertical-align: baseline; }
.lkh__balance { flex-direction: row !important; align-items: center; gap: 0; }
.lkh__balance .lk-rak { width: 30px; height: 30px; }
.lk-level__points { display: inline-flex; align-items: center; justify-content: flex-end; }
.lk-level__points .lk-rak { width: 0.62em; height: 0.62em; margin-left: 0.14em; }
.lk-page__balance .lk-rak { width: 1.5em; height: 1.5em; }


/* ======== Типографика карточек: межстрочный интервал ========
   Бандл сайта задаёт `.section p { font-size: 16px; line-height: 26px }`, и
   одноклассовые селекторы ему проигрывают — описания в карточках разъезжались,
   а капсовые заголовки, наоборот, слипались. Фиксируем и то, и другое. */
.lk .lk-exp__text,
.lk .lk-cat__text,
.lk .lk-offer__text { font-size: 13px; line-height: 1.5; }
.lk-offer__kicker { line-height: 1.2; }
.lk-offer__title { line-height: 1.18; }
.lk-cat__title, .lk-exp__title { line-height: 1.2; }

/* Межбуквенный: Wadik — акцидентный капсовый, в заголовках ему нужна лёгкая
   разрядка, иначе буквы слипаются; мелкий текст Gilroy читается лучше с 0.01em. */
.lk-catalog__title,
.lk-user__name,
.lk-level__name,
.lk-page__title { letter-spacing: 0.02em; }
.lk-offer__title,
.lk-cat__title,
.lk-exp__title,
.lk-vote__title,
.lk-ref__title { letter-spacing: 0.03em; }
.lk-cat__price,
.lk-exp__price,
.lk-level__points,
.lkh__balance b { letter-spacing: 0.03em; }
.lk .lk-exp__text,
.lk .lk-cat__text,
.lk .lk-offer__text { letter-spacing: 0.01em; }


/* ======== Единая система кнопок ========
   Кнопки копились по блокам и разошлись: где 12px капсом, где 14px без, вес от
   500 до 700, ховеры у каждой свои. Здесь сводим к двум видам — залитая кнопка
   и текстовое действие со стрелкой — с общей типографикой, стрелкой и ховером. */
.lk-btn,
.lk-next__btn,
.lk-page__action,
.lk-jersey__bar .lk-jersey__buy,
.lk-jersey__bar .lk-jersey__edit span {
  font-family: var(--font-family) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}
.lk-offer__more,
.lk-catalog__all,
.lk-ach-all,
.lk-page__balance {
  font-family: var(--font-family) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

/* стрелка у всех действий одна и та же и одинаково уезжает вправо */
.lk-offer__more i,
.lk-catalog__all i,
.lk-ach-all i,
.lk-jersey__buy i {
  display: inline-block;
  margin-left: 0.4em;
  font-style: normal;
  transition: transform var(--dur) var(--ease);
}
.lk-offer:hover .lk-offer__more i,
.lk-catalog__all:hover i,
.lk-ach-all:hover i,
.lk-jersey__buy:hover i { transform: translateX(3px); }

/* ховер залитых кнопок: жёлтая плашка, тёмно-синий текст */
.lk-btn:hover,
.lk-next__btn:hover,
.lk-jersey__bar .lk-jersey__buy:hover {
  background: var(--yellow) !important;
  border-color: var(--yellow) !important;
  color: var(--lk-blue-dark) !important;
}
.lk-jersey__bar .lk-jersey__buy:hover i { color: var(--lk-blue-dark); }
/* в шапке раздела кнопка уже жёлтая — ей белый */
.lk-mode-section .lk-page__action:hover { background: #fff !important; color: var(--lk-blue-dark) !important; }

/* ховер текстовых действий: темнее на светлом, белее на тёмном */
.lk-catalog__all:hover,
.lk-ach-all:hover { color: var(--lk-blue-dark) !important; }

/* ---------- Вход, регистрация и восстановление пароля (login.html) ---------- */
/* Одна карточка на шесть состояний: login / register / verify / forgot / reset / success.
   Переключает их lk-login.js через data-panel — отдельных страниц нет, поэтому
   возврат «назад» никуда не уводит и ссылка из письма открывается тем же файлом. */
.lk-auth__card { gap: 0; }
.lk-auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: -40px -36px 28px;
  border-bottom: 1px solid var(--lk-line);
}
.lk-auth__tab {
  height: 62px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--lk-muted);
  transition: color var(--duration), border-color var(--duration);
}
.lk-auth__tab:hover { color: var(--text); }
.lk-auth__tab.is-active { color: var(--text); border-bottom-color: var(--main); }

.lk-auth__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lk-auth__panel[hidden] { display: none !important; }
/* служебные панели прячут табы: там своя кнопка «назад» */
.lk-auth__card.is-flow .lk-auth__tabs { display: none; }
.lk-auth__card.is-flow { padding-top: 32px; }

.lk-auth .lk-auth__panel-lead {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--lk-muted);
}
.lk-auth .lk-auth__required-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -6px 0 0;
  font-size: 13px;
  color: var(--lk-muted);
}
.lk-auth__required,
.lk-auth__required-mark { color: #e53935; }

.lk-auth__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
/* дата рождения и пол — в столбик: трём селектам в половине карточки тесно */
.lk-auth__rows { display: grid; gap: 16px; }

/* чек-лист пароля: серый пункт загорается зелёным, когда правило выполнено */
.lk-auth__rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: -6px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--lk-muted);
}
.lk-auth__rules li { display: flex; align-items: center; gap: 7px; }
.lk-auth__rules i {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1.5px solid var(--white30);
  transition: background var(--duration), border-color var(--duration);
}
.lk-auth__rules li.is-ok { color: var(--lk-green); }
.lk-auth__rules li.is-ok i {
  border-color: var(--lk-green);
  background: var(--lk-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5l4 4 8-8' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.lk-auth__fieldset { margin: 0; padding: 0; border: none; min-width: 0; }
.lk-auth__fieldset legend {
  padding: 0 0 8px;
  font-size: 13px;
  color: var(--lk-muted);
}
.lk-auth__fieldset legend small { color: rgba(11, 25, 59, 0.38); }
.lk-auth__dates { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.lk-auth__select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--lk-line);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-family);
  font-size: 15px;
  outline: none;
  transition: border-color var(--duration);
}
.lk-auth__select:focus { border-color: var(--main); }
.lk-auth__fieldset.is-invalid .lk-auth__select { border-color: #e53935; }

.lk-auth__input_code { letter-spacing: 0.3em; font-size: 20px; }

.lk-auth__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.lk-auth .lk-check { margin-bottom: 0; }
.lk-check_multiline { font-size: 14px; }

.lk-auth__link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--main);
  transition: color var(--duration);
}
.lk-auth__link:hover { color: var(--lk-blue-dark); }
.lk-auth .lk-auth__switch {
  font-size: 13px;
  color: var(--lk-muted);
  text-align: center;
}
.lk-auth__resend { align-self: center; }

.lk-auth__back {
  align-self: flex-start;
  width: 36px;
  height: 36px;
  margin: 0 0 -4px -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--lk-muted);
  transition: color var(--duration);
}
.lk-auth__back:hover { color: var(--main); }
.lk-auth__back svg { width: 20px; }

.lk-auth__success {
  width: 56px;
  height: 56px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lk-green);
  color: #fff;
}
.lk-auth__success svg { width: 28px; }
.js-auth-success { text-align: center; }
.js-auth-success .lk-auth__title { margin-bottom: 0; }

.lk-auth__note { margin-top: 20px; }

@media (max-width: 768px) {
  .lk-auth__tabs { margin: -30px -20px 22px; }
  .lk-auth__tab { height: 54px; }
  .lk-auth__card.is-flow { padding-top: 26px; }
  .lk-auth__grid { grid-template-columns: 1fr; }
  .lk-auth__dates { grid-template-columns: 1fr 1fr 1fr; }
}

/* ─── Кастомные выпадающие списки формы регистрации ───────────────────────────
   Нативный <select> нельзя оформить изнутри: список рисует операционная
   система, и на тёмной теме macOS он приезжает серым поверх светлой карточки.
   Поэтому сам select прячем (он остаётся носителем значения и доступности),
   а показываем свою кнопку со списком. */
.lk-select { position: relative; }
.lk-select > .lk-auth__select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}
.lk-select__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 46px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid var(--lk-line);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-family);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--duration);
}
.lk-select__button:hover { border-color: rgba(11, 25, 59, 0.28); }
.lk-select__button:focus-visible,
.lk-select.is-open .lk-select__button { border-color: var(--lk-blue); outline: none; }
.lk-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-select__value.is-placeholder { color: rgba(11, 25, 59, 0.45); }
.lk-select__arrow {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(11, 25, 59, 0.45);
  border-bottom: 2px solid rgba(11, 25, 59, 0.45);
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--duration);
}
.lk-select.is-open .lk-select__arrow { transform: translateY(1px) rotate(225deg); }
.lk-select__list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(11, 25, 59, 0.14);
  box-shadow: 0 18px 40px rgba(0, 20, 70, 0.22);
}
.lk-select__option {
  padding: 10px 12px;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
}
.lk-select__option:hover,
.lk-select__option.is-active { background: rgba(5, 87, 189, 0.10); }
.lk-select__option.is-selected { color: var(--lk-blue); font-weight: 700; }

/* ─── Окно ввода кода из письма ───────────────────────────────────────────────
   Код четырёхзначный, поэтому вместо одного длинного поля — четыре ячейки:
   видно, сколько цифр ждут, и палец на телефоне попадает в цель. */
.lk-code { display: flex; flex-direction: column; gap: 10px; }
.lk-code__legend { font-size: 13px; color: var(--lk-muted); }
.lk-code__cells { display: flex; gap: 12px; }
.lk-code__cell {
  flex: 1 1 0;
  min-width: 0;
  height: 72px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--lk-line);
  border-bottom: 3px solid rgba(11, 25, 59, 0.18);
  border-radius: 0;
  color: var(--lk-blue-dark);
  font-family: var(--hcsd);
  font-size: 34px;
  line-height: 1;
  text-align: center;
  outline: none;
  transition: border-color var(--duration), box-shadow var(--duration);
  -moz-appearance: textfield;
}
.lk-code__cell::-webkit-outer-spin-button,
.lk-code__cell::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lk-code__cell:hover { border-bottom-color: rgba(11, 25, 59, 0.34); }
.lk-code__cell:focus {
  border-color: var(--lk-blue);
  border-bottom-color: var(--lk-blue);
  box-shadow: 0 0 0 3px rgba(5, 87, 189, 0.14);
}
.lk-code__cell.is-filled { border-bottom-color: var(--lk-blue); }
.lk-code.is-invalid .lk-code__cell { border-color: #e53935; border-bottom-color: #e53935; }
@media (max-width: 480px) {
  .lk-code__cells { gap: 8px; }
  .lk-code__cell { height: 60px; font-size: 28px; }
}

/* Подтверждение отправки — не ошибка: зелёным, а не красным. */
.lk-auth .lk-auth__error.is-ok { color: var(--lk-green); }
/* Почта, на которую ушёл код, — акцентом и без точки в конце строки. */
.lk-auth .lk-auth__email { color: var(--lk-blue); font-weight: 700; word-break: break-all; }
/* Кнопка повторной отправки на время ожидания гаснет, но остаётся читаемой. */
.lk-auth .lk-auth__resend:disabled { color: var(--lk-muted); cursor: default; }

/* Плавная смена панелей: карточка не «прыгает» между шагами. */
.lk-auth__panel { animation: lk-auth-panel var(--duration, 0.25s) ease-out; }
@keyframes lk-auth-panel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lk-auth__panel { animation: none; }
}

/* ─── Пол радиокнопками и дата рождения одним полем ───────────────────────────
   Повторяем форму регистрации сайта клуба: там те же два варианта пола и
   одно поле даты с календарём, а не три списка. */
.lk-auth__genders { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.lk-auth__genders legend { padding: 0 0 10px; }
.lk-radio { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; color: var(--text); }
.lk-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.lk-radio__dot {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(11, 25, 59, 0.28);
  border-radius: 50%;
  background: #ffffff;
  transition: border-color var(--duration);
}
.lk-radio:hover .lk-radio__dot { border-color: var(--lk-blue); }
.lk-radio input:focus-visible + .lk-radio__dot { box-shadow: 0 0 0 3px rgba(5, 87, 189, 0.18); }
.lk-radio input:checked + .lk-radio__dot { border-color: var(--lk-blue); }
.lk-radio input:checked + .lk-radio__dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--lk-blue);
}
/* Нативный календарь: иконку подкрашиваем под карточку и даём место под подпись. */
.lk-auth .lk-auth__input_date { padding-right: 14px; }
.lk-auth .lk-auth__input_date::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
.lk-auth .lk-auth__input_date::-webkit-calendar-picker-indicator:hover { opacity: 1; }
/* Пустое поле даты не должно показывать «дд.мм.гггг» поверх уезжающей подписи. */
.lk-auth .lk-auth__input_date:not(:focus):placeholder-shown::-webkit-datetime-edit { color: transparent; }

/* ─── Живой фон страницы входа ────────────────────────────────────────────────
   Цикл из клубного ролика лежит под тем же затемнением, что и фотография:
   карточка остаётся читаемой, а слева видно стадион и трибуны. */
.lk-auth__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.35) 82%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.35) 82%, transparent 100%);
}
/* Человек просил систему уменьшить анимацию — показываем кадр, а не ролик. */
@media (prefers-reduced-motion: reduce) {
  .lk-auth__video { display: none; }
}

/* ─── Экран входа: ролик во всю ширину, панель по диагонали ───────────────────
   Колонка в половину экрана резала кадр и съедала качество, поэтому ролик
   лежит целиком, а форма едет поверх него панелью со скошенным краем. */
.lk-auth {
  position: relative;
  display: block;
  padding: 0;
  /* Не на всю высоту окна: экран входа короче, чем кажется по содержимому,
     и подвал должен подниматься к форме, а не уезжать за край. */
  min-height: min(760px, calc(100vh - 77px));
  background: #02132e;
  overflow: hidden;
}
.lk-auth::before,
.lk-auth::after { content: none; }

.lk-auth__media {
  position: absolute;
  inset: 0 auto 0 0;
  /* Доходит только до непрозрачной части диагонального перехода. */
  width: calc(100% - clamp(620px, 64%, 1060px) + 300px);
  z-index: 1;
  overflow: hidden;
  background: #02132e url("assets/img/fans-rostov.webp") center / cover no-repeat;
}
.lk-auth__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
}
/* Лёгкое затемнение всего кадра — ролик яркий, панель должна читаться поверх. */
.lk-auth__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 19, 46, 0.30) 0%, rgba(2, 19, 46, 0.06) 40%, rgba(2, 19, 46, 0.10) 100%);
}

.lk-auth__side {
  position: relative;
  z-index: 2;
  margin-left: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: clamp(620px, 64%, 1060px);
  min-height: min(760px, calc(100vh - 77px));
  padding: 48px 64px 48px 250px;
  background: transparent;
}
/* Фон отдельно от содержимого: диагональный фейд не обрезает заголовок. */
.lk-auth__side::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 -100px;
  background: linear-gradient(100deg, transparent 5%, rgba(3, 25, 60, 0.72) 20%, #03193c 32%, #02132e 100%);
  pointer-events: none;
}
.lk-auth__inner {
  display: block;
  width: 100%;
  max-width: 540px;
}
.lk-auth__intro { max-width: none; margin: 0 0 20px; }
/* Заголовок намеренно шире панели и заезжает на кадр — так он читается как
   часть сцены, а не как подпись в углу формы. */
.lk-auth__heading {
  font-size: clamp(54px, 4.6vw, 78px);
  line-height: 0.92;
  /* Выходит влево, на кадр: заголовок читается как часть сцены, а не подпись
     в углу формы. Вправо не растём — там его срезала бы граница экрана. */
  margin: 0 0 18px clamp(-150px, -10vw, -80px);
  white-space: normal;
  text-shadow: 0 10px 34px rgba(0, 12, 38, 0.65);
}
.lk-auth .lk-auth__lead { font-size: 15px; line-height: 22px; text-shadow: none; }
.lk-auth__eyebrow { margin-bottom: 10px; padding-bottom: 6px; }
/* Вступление прячем, когда экран низкий: форма важнее заголовка. */
@media (max-height: 820px) {
  .lk-auth__intro { margin-bottom: 10px; }
  .lk-auth__heading { font-size: clamp(42px, 4.2vw, 64px); }
}

/* Карточка растворяется в панели: рамка и тень на синем только мешают. */
.lk-auth__card {
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  color: #fff;
  gap: 0;
}
.lk-auth__tabs { margin: 0 0 18px; border-bottom-color: rgba(255, 255, 255, 0.16); }
.lk-auth__tab { color: rgba(255, 255, 255, 0.60); height: 48px; }
.lk-auth__tab:hover { color: #fff; }
.lk-auth__tab.is-active { color: #fff; border-bottom-color: var(--yellow); }
.lk-auth__card.is-flow { padding-top: 0; }

/* Текст на панели — светлый; поля остаются белыми, как в макете. */
.lk-auth .lk-auth__panel-lead,
.lk-auth .lk-auth__required-note,
.lk-auth .lk-auth__switch,
.lk-auth .lk-auth__note,
.lk-auth .lk-auth__fieldset legend,
.lk-auth .lk-code__legend,
.lk-auth .lk-check,
.lk-auth .lk-radio { color: rgba(255, 255, 255, 0.78); }
.lk-auth .lk-auth__fieldset legend small { color: rgba(255, 255, 255, 0.45); }
.lk-auth .lk-auth__rules { color: rgba(255, 255, 255, 0.70); }
.lk-auth .lk-auth__title { color: #fff; }
.lk-auth .lk-auth__link,
.lk-auth .lk-auth__switch button,
.lk-auth .lk-auth__note a,
.lk-auth .lk-check a { color: var(--yellow); }
.lk-auth .lk-auth__back { color: rgba(255, 255, 255, 0.65); }
.lk-auth .lk-auth__email { color: var(--yellow); }
.lk-auth .lk-radio__dot { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.35); }
.lk-auth .lk-radio input:checked + .lk-radio__dot { border-color: var(--yellow); }
.lk-auth .lk-radio input:checked + .lk-radio__dot::after { background: var(--yellow); }

/* Плотнее: регистрация должна помещаться на экран без прокрутки. */
.lk-auth__panel { gap: 10px; }
.lk-auth__input { height: 52px; padding: 21px 16px 6px; }
.lk-auth .lk-auth__panel-lead { font-size: 14px; line-height: 20px; }
.lk-auth .lk-auth__required-note { font-size: 12px; }
.lk-auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lk-auth__rules {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 4px 18px;
  margin: -2px 0 0;
  font-size: 12px;
}
.lk-auth__genders { display: flex; align-items: center; gap: 10px 24px; }
.lk-auth__genders legend { float: left; width: 100%; padding: 0 0 6px; }
.lk-auth .lk-check_multiline { font-size: 13px; line-height: 19px; }
.lk-auth__submit { margin-top: 4px; }
.lk-auth .lk-auth__note { font-size: 13px; }

@media (max-width: 1024px) {
  .lk-auth { min-height: 0; }
  .lk-auth__media { position: relative; width: 100%; height: 240px; }
  .lk-auth__side {
    width: 100%;
    min-height: 0;
    padding: 32px 20px 44px;
  }
  .lk-auth__side::before { content: none; }
  .lk-auth__heading { font-size: 38px; font-style: normal; white-space: normal; margin-left: 0; }
  .lk-auth__side { padding-left: 20px; background: linear-gradient(180deg, #06224f 0%, #03193c 60%, #02132e 100%); }
  .lk-auth__rules { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 560px) {
  .lk-auth__grid { grid-template-columns: 1fr; }
  .lk-auth__rules { grid-template-columns: 1fr; }
}

/* Флажки на тёмной панели: рамка белая, отметка — клубная жёлтая. */
.lk-auth .lk-check__box {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.40);
}
.lk-auth .lk-check:hover .lk-check__box { border-color: rgba(255, 255, 255, 0.70); }
.lk-auth .lk-check input:checked + .lk-check__box {
  background: var(--yellow);
  border-color: var(--yellow);
}
.lk-auth .lk-check input:checked + .lk-check__box svg path { stroke: var(--lk-blue-dark); }
.lk-auth .lk-check input:focus-visible + .lk-check__box { box-shadow: 0 0 0 3px rgba(255, 236, 0, 0.30); }
/* Красная звёздочка на синем теряется — берём жёлтую. */
.lk-auth .lk-auth__required,
.lk-auth .lk-auth__required-mark { color: var(--yellow); }
.lk-auth .lk-auth__label .lk-auth__required { color: #a52b25; }
/* Ошибки полей на тёмном фоне — светлее, иначе тонут. */
.lk-auth .lk-auth__error,
.lk-auth .lk-auth__field-error { color: #ff8a84; }
.lk-auth .lk-auth__error.is-ok { color: #7bdc94; }

/* ─── Отступы и выравнивание в форме ──────────────────────────────────────────
   Ошибка под полем раздвигала свою колонку, и соседняя уезжала вниз. Колонки
   выравниваем по верху, а сообщение делаем компактным и однострочным по смыслу. */
.lk-auth__grid { align-items: start; }
.lk-auth .lk-auth__field-error {
  margin-top: 5px;
  font-size: 12px;
  line-height: 16px;
}
.lk-auth .lk-auth__field { display: flex; flex-direction: column; }
.lk-auth .lk-auth__field .lk-auth__input { order: -1; }
/* Список требований к паролю — без маркерного отступа. */
.lk-auth .lk-auth__rules {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.lk-auth .lk-auth__rules li { padding-left: 0; }
/* Пол и согласия: ровные интервалы, а не слипшиеся строки. */
.lk-auth .lk-auth__genders { margin: 2px 0 0; }
.lk-auth .lk-check_multiline { align-items: flex-start; gap: 10px; }
.lk-auth .lk-check_multiline .lk-check__box { margin-top: 1px; }
.lk-auth [data-register-field="personal_data_consent"] { margin-top: 2px; }

/* Регистрация размещается целиком, без вложенной области прокрутки. */
.lk-auth .js-register-form {
  padding: 0;
}
.lk-auth .js-register-form .lk-auth__required-note { margin: 0; }
.lk-auth .js-register-form .lk-auth__grid { gap: 12px; }
.lk-auth .js-register-form .lk-auth__field-error { margin: 5px 0 0; }
.lk-auth .js-register-form .lk-auth__rules {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 10px;
}
.lk-auth .js-register-form .lk-auth__rules li { line-height: 16px; }
.lk-auth .js-register-form .lk-auth__rules-title { color: rgba(255, 255, 255, 0.9); font-size: 12px; line-height: 16px; }
.lk-auth .js-register-form .lk-auth__rules i {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background-color: transparent;
}
.lk-auth .js-register-form .lk-auth__rules li.is-ok { color: #a3e8b1; }
.lk-auth .js-register-form .lk-auth__rules li.is-ok i { border-color: #59bd75; background-color: #59bd75; }
.lk-auth .lk-auth__label { top: 16px; left: 16px; }
.lk-auth .lk-auth__input:focus + .lk-auth__label,
.lk-auth .lk-auth__input:not(:placeholder-shown) + .lk-auth__label { top: 7px; }
.lk-auth .lk-auth__eye { height: 52px; }
@media (min-width: 1025px) {
  .lk-auth__card:has(.js-login-form:not([hidden])) .lk-auth__tabs { margin-top: 30px; }
  .lk-auth__side:has(.js-register-form:not([hidden])) { padding-top: 10px; padding-bottom: 10px; }
  .lk-auth__side:has(.js-register-form:not([hidden])) .lk-auth__intro { margin-bottom: 4px; }
  .lk-auth__side:has(.js-register-form:not([hidden])) .lk-auth__heading { font-size: clamp(36px, 3.2vw, 48px); margin-bottom: 4px; }
  .lk-auth__side:has(.js-register-form:not([hidden])) .lk-auth__heading br { display: none; }
  .lk-auth__side:has(.js-register-form:not([hidden])) .lk-auth__tabs { margin-bottom: 8px; }
  .lk-auth__side:has(.js-register-form:not([hidden])) .lk-auth__tab { height: 38px; }
  .lk-auth .js-register-form { gap: 4px; }
  .lk-auth .js-register-form .lk-auth__input { height: 42px; padding-top: 18px; padding-bottom: 3px; }
  .lk-auth .js-register-form .lk-auth__label { top: 12px; font-size: 14px; }
  .lk-auth .js-register-form .lk-auth__input:focus + .lk-auth__label,
  .lk-auth .js-register-form .lk-auth__input:not(:placeholder-shown) + .lk-auth__label { top: 4px; font-size: 11px; }
  .lk-auth .js-register-form .lk-auth__eye { height: 42px; }
  .lk-auth .js-register-form .lk-auth__panel-lead { font-size: 12px; line-height: 16px; }
  .lk-auth .js-register-form .lk-auth__rules { gap: 2px 10px; }
  .lk-auth .js-register-form .lk-auth__genders { gap: 6px 20px; margin: 0; }
  .lk-auth .js-register-form .lk-auth__genders legend { float: left; width: auto; padding: 0; margin-right: 16px; }
  .lk-auth .js-register-form .lk-check_multiline { font-size: 12px; line-height: 16px; }
  .lk-auth .js-register-form .lk-check_multiline a { font-size: inherit; line-height: inherit; }
  .lk-auth .js-register-form .lk-auth__submit { min-height: 40px; height: 40px; font-size: 18px; margin-top: 0; }
  .lk-auth .js-register-form .lk-auth__switch { display: none; }
  .lk-auth__side:has(.js-register-form:not([hidden])) .lk-auth__note { display: none; }
}
@media (max-width: 560px) {
  .lk-auth .js-register-form .lk-auth__rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) and (min-height: 820px) {
  .lk-auth__side:has(.js-register-form:not([hidden])) { padding-top: 24px; padding-bottom: 24px; }
  .lk-auth__side:has(.js-register-form:not([hidden])) .lk-auth__tabs { margin-bottom: 14px; }
  .lk-auth .js-register-form { gap: clamp(8px, 1.1vh, 12px); }
  .lk-auth .js-register-form .lk-auth__input { height: clamp(46px, 5.2vh, 52px); }
  .lk-auth .js-register-form .lk-auth__label { top: 16px; }
  .lk-auth .js-register-form .lk-auth__eye { height: clamp(46px, 5.2vh, 52px); }
  .lk-auth .js-register-form .lk-auth__rules { gap: 5px 10px; }
  .lk-auth .js-register-form .lk-auth__submit { height: 48px; }
}

/* Страница входа тёмная целиком: между секцией и подвалом светился белый фон
   страницы — на синем он читался как полоса посередине экрана. */
html:has(.lk-page-auth),
body:has(.lk-page-auth) { background: #02132e; }
.lk-page-auth { margin: 0; }
/* Подвал отбит от контента на 36px — на странице входа этот отступ и читался
   полосой между кадром и подвалом. Здесь он не нужен: подвал идёт встык. */
.lk-page-auth + .lkf,
body:has(.lk-page-auth) .lkf { margin-top: 0; }

/* Разделы сайта клуба в шапке гостя: ссылки, а не кнопки кабинета. */
.lkh__nav_club { display: flex; align-items: center; gap: 4px; }
.lkh__nav_club a {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--duration), background var(--duration);
}
.lkh__nav_club a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
@media (max-width: 900px) { .lkh__nav_club { display: none; } }

/* Навигация клуба и подробный подвал доступны и гостям, и болельщикам. */
.lkh__club-menu { position: relative; flex: none; margin-left: auto; }
.lkh__club-menu summary {
  display: flex; align-items: center; gap: 8px; min-height: 42px;
  padding: 0 13px; border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none;
}
.lkh__club-menu summary::-webkit-details-marker { display: none; }
.lkh__club-menu summary:hover, .lkh__club-menu[open] summary { border-color: var(--yellow); color: var(--yellow); }
.lkh__club-menu summary:focus-visible, .lkh__club-dropdown a:focus-visible, .lkf a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.lkh__club-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); width: 220px;
  display: grid; padding: 8px; background: #0a2145;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 35px rgba(0,0,0,.3);
}
.lkh__club-dropdown a { padding: 10px 12px; color: #fff; font-size: 13px; text-decoration: none; }
.lkh__club-dropdown a:hover { background: rgba(255,255,255,.08); color: var(--yellow); }
@media (max-width: 1100px) {
  .lkh__row:has(.lkh__user) { height: auto; flex-wrap: wrap; gap: 10px 18px; padding-top: 10px; padding-bottom: 0; }
  .lkh__row:has(.lkh__user) > .lkh__nav { order: 3; flex: 1 0 100%; }
}
.lkf__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 36px; padding: 44px 28px 36px; }
.lkf__identity { display: grid; gap: 26px; }
.lkf__contacts { text-align: left; }
.lkf__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; margin: 0; }
.lkf__group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.lkf__group h2 { margin: 0 0 5px; color: #fff; font-family: var(--font-family); font-size: 14px; line-height: 1.3; font-weight: 700; }
.lkf__group a { line-height: 1.4; }
@media (max-width: 1100px) { .lkf__row { grid-template-columns: 1fr; gap: 30px; } .lkf__identity { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; } }
@media (max-width: 900px) { .lkh__club-menu { margin-left: auto; } .lkf__links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .lkh__club-menu summary { padding: 0 10px; }
  .lkf__row { padding: 32px 20px; }
  .lkf__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .lkf__bottom { padding-left: 20px; padding-right: 20px; }
}

/* Навигация в том же стиле, что и магазин: жёлтая линия под пунктом. */
.lkh__site { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 42px; margin-left: auto; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.lkh__site svg, .lkh__ticket-icon { width: 18px; height: 18px; flex: none; }
.lkh .lk-navbar__btn, .lkh__nav_club a { display: inline-flex; align-items: center; gap: 6px; background: transparent; border-bottom: 2px solid transparent; box-shadow: none; }
.lkh .lk-navbar__btn:hover, .lkh .lk-navbar__btn.active, .lkh__nav_club a:hover, .lkh__site:hover { color: #fff; background: transparent; border-bottom-color: var(--yellow); box-shadow: none; }
.lkh__site:focus-visible, .lkh__nav_club a:focus-visible, .lkh .lk-navbar__btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.lkf__downloads > span { display: block; margin-bottom: 10px; color: rgba(255,255,255,.65); font-size: 11px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.lkf__stores { display: flex; flex-wrap: wrap; gap: 8px; }
.lkf__stores a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; }
.lkf__stores a:hover { border-color: var(--yellow); }
.lkf__stores img { width: 19px; height: 22px; object-fit: contain; }
.lkf__stores img { filter: brightness(0) invert(1); }
.lkf__stores a span { display: grid; gap: 1px; line-height: 1; }
.lkf__stores small { color: rgba(255,255,255,.65); font-size: 9px; }
.lkf__stores b { font-size: 12px; white-space: nowrap; }
.lkf__dev { color: rgba(255,255,255,.65); text-decoration: none; gap: 10px; }
.lkf__dev img { width: 112px; max-height: 34px; object-fit: contain; }
.lkf__credits { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; margin-left: auto; }
.lkf .lkf__dev:hover, .lkf .lkf__dev:hover span { color: var(--yellow); }
.lkf__social a { width: 38px; height: 38px; }
.lkf__social img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.lkh__row:has(.lkh__user) > .lkh__nav { justify-content: space-evenly; }
@media (max-width: 900px) { .lkh__nav_club { display: flex; flex: 1 0 100%; overflow-x: auto; } }
@media (max-width: 700px) { .lkh__row:has(.lkh__user) > .lkh__nav { justify-content: flex-start; } }
.lkh__brand.js-lk-tab-open { transition: opacity .2s ease; }
.lkh__brand.js-lk-tab-open:hover { opacity: .75; }
.lkh__brand.js-lk-tab-open:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.lk-level__rules { margin-top: 8px; }
.lk-level__rules summary { color: var(--yellow); cursor: pointer; }
.lk-level__rules ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.6; }
.lk-profile__ach .lk-ach__name { font-size: 11px; line-height: 1.25; text-align: center; }
.lk-profile__ach .lk-ach_img { display: grid; grid-template-rows: 96px 45px 4px 18px; justify-items: center; align-items: center; row-gap: 8px; }
.lk-profile__ach .lk-ach_img .lk-ach__name { width: 100%; margin: 0; font-family: var(--font-family); font-size: 12px; font-weight: 600; line-height: 15px; overflow-wrap: anywhere; }
.lk-ach_img.lk-ach_done .lk-ach__bar { visibility: hidden; }
.lk-surveys-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.lk-survey-card { padding: 0; border: 1px solid rgba(3,25,60,.12); background: #fff; color: var(--lk-blue-dark); text-align: left; cursor: pointer; }
.lk-survey-card:hover { border-color: #0032a0; box-shadow: 0 8px 24px rgba(3,25,60,.1); }
.lk-survey-cover { display: grid; place-items: center; height: 190px; background: #06224f; color: #ffec00; font-family: var(--hcsd); }
.lk-survey-cover img { width: 100%; height: 100%; object-fit: cover; }
.lk-survey-content { display: grid; gap: 10px; padding: 20px; }
.lk-survey-content strong { font-size: 19px; line-height: 1.3; }
.lk-survey-content small, .lk-survey-back { color: #0057bd; font-weight: 700; }
.lk-survey-back { background: none; border: 0; padding: 10px 0; cursor: pointer; }
.lk-survey-title { margin: 12px 0; font-size: 28px; }
.lk-survey-form { max-width: 720px; display: grid; gap: 18px; margin-top: 22px; }
.lk-survey-question { border: 0; margin: 0; padding: 20px; background: #fff; }
.lk-survey-question legend { padding: 0 8px; font-weight: 700; }
.lk-survey-question textarea { min-height: 100px; width: 100%; padding: 12px; border: 1px solid #9aa8bc; }
.lk-survey-option { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.lk-survey-error { color: #b42318; }
@media (max-width: 768px) { .lk-profile__ach .lk-ach_img { grid-template-rows: 84px 45px 4px 18px; } }

/* Арена раздела выходит на всю ширину и растворяется под содержимым. */
html.lk-mode-section { margin-top: 0; padding-top: 0; }
.lk-mode-section .lk-panel.active { position: relative; isolation: isolate; }
.lk-mode-section .lk-panel.active::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 0; left: 50%; width: 100vw; height: 430px; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(3,25,60,.92) 0%, rgba(3,25,60,.7) 30%, rgba(242,245,251,.65) 76%, #f2f5fb 100%), url("assets/img/arena-rostov.webp") center 42% / cover no-repeat;
}
.lk-mode-section .lk-panel.active > .lk-page { margin: 0 0 26px; padding: 34px 0 30px; overflow: visible; }
.lk-mode-section .lk-panel.active > .lk-page::before,
.lk-mode-section .lk-panel.active > .lk-page::after { content: none; }
@media (max-width: 700px) { .lk-mode-section .lk-panel.active::before { height: 350px; } }

/* Подтверждение почты — отдельный экран с компактными полями кода. */
.lk-auth__side:has(.js-verify-form:not([hidden])) .lk-auth__intro { display: none; }
.lk-auth .js-verify-form { max-width: 420px; gap: 16px; }
.lk-auth .js-verify-form .lk-auth__back { width: auto; height: 40px; margin: 0; gap: 10px; font-size: 14px; font-weight: 600; }
.lk-auth .js-verify-form .lk-auth__back:hover { color: var(--yellow); }
.lk-auth .js-verify-form .lk-auth__title { margin: 0; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.lk-auth .js-verify-form .lk-auth__panel-lead { line-height: 1.5; }
.lk-auth .js-verify-form .lk-auth__email { overflow-wrap: anywhere; word-break: normal; }
.lk-auth .js-verify-form .lk-code { gap: 8px; }
.lk-auth .js-verify-form .lk-code__cells { gap: 10px; max-width: 326px; }
.lk-auth .js-verify-form .lk-code__cell { flex: 1 1 0; height: 64px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4); color: #fff; font-family: var(--font-family); font-weight: 700; font-size: 27px; }
.lk-auth .js-verify-form .lk-code__cell:hover { border-color: rgba(255,255,255,.75); }
.lk-auth .js-verify-form .lk-code__cell:focus { border-color: var(--yellow); box-shadow: 0 0 0 2px rgba(255,236,0,.2); }
.lk-auth .js-verify-form .lk-code.is-invalid .lk-code__cell { border-color: #ff8a84; }
.lk-auth .js-verify-form .lk-auth__resend { align-self: flex-start; text-align: left; }
.lk-auth .js-verify-form .lk-auth__resend:disabled { color: rgba(255,255,255,.68); opacity: 1; }
.lk-survey-option__image { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; }

/* Реферальная программа */
.lk-referral { padding: 30px; background: #fff; box-shadow: 0 14px 42px rgba(3,25,60,.08); }
.lk-referral__hero { position: relative; display: flex; min-height: 300px; overflow: hidden; background: linear-gradient(112deg,#061b40 0%,#08295c 72%,#0c3975 100%); color: white; }
.lk-referral__hero::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 45%; background: linear-gradient(135deg,transparent 42%,rgba(255,227,0,.07) 42%,rgba(255,227,0,.07) 57%,transparent 57%); pointer-events: none; }
.lk-referral__hero-copy { position: relative; z-index: 2; flex: 1; max-width: 63%; padding: 38px 42px; }
.lk-referral__eyebrow { margin: 0 0 14px; color: #ffdf00; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.lk-referral__hero h3 { margin: 0; font: 30px/1.17 var(--hcsd); color: #fff; }
.lk-referral__hero h3 span { color: #ffdf00; }
.lk-referral__lead { margin: 16px 0 0; max-width: 650px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.78); }
.lk-referral__lead b { color: #fff; }
.lk-referral__code-row { display: flex; align-items: stretch; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.lk-referral__code { min-width: 220px; border: 1px dashed rgba(255,255,255,.45); padding: 10px 18px; }
.lk-referral__code small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #b2c0d7; }
.lk-referral__code strong { display: block; margin-top: 4px; font: 22px/1.2 var(--hcsd); color: #ffdf00; }
.lk-referral__button { background: #ffdf00; border-color: #ffdf00; color: #061b40; }
.lk-referral__button:hover { background: #fff; color: #061b40; }
.lk-referral__feedback { margin: 5px 0 0; color: #fff; font-size: 13px; }
.lk-referral__soon { display: inline-block; margin-top: 24px; padding: 12px 17px; border: 1px solid rgba(255,223,0,.55); color: #ffdf00; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.lk-referral__art { position: absolute; z-index: 1; right: 0; bottom: 0; width: 42%; height: 100%; }
.lk-referral__art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.lk-referral__art span { position: absolute; z-index: 2; top: 25px; right: 25px; padding: 9px 13px; background: #ffdf00; color: #061b40; font-size: 12px; font-weight: 800; text-transform: uppercase; transform: rotate(3deg); }
.lk-referral__stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.lk-referral__stats > div { position: relative; min-height: 142px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 24px 28px; background: linear-gradient(125deg,#082659,#0d438a); color: white; }
.lk-referral__stats > div::after { content: ''; position: absolute; right: -32px; bottom: -65px; width: 180px; height: 180px; border: 26px solid rgba(255,255,255,.05); border-radius: 50%; }
.lk-referral__stats span { max-width: 68%; font-size: 15px; font-weight: 700; }
.lk-referral__stats strong { margin-top: 12px; font: 36px/1 var(--hcsd); color: #ffdf00; }
.lk-referral__stats .lk-rak { position: absolute; width: 58px; height: 58px; right: 24px; top: 43px; }
.lk-referral__symbol { position: absolute; right: 32px; top: 31px; font: 64px/1 sans-serif; font-style: normal; color: rgba(255,223,0,.75); }
.lk-referral__form, .lk-referral__applied { margin-top: 25px; padding-top: 24px; border-top: 1px solid #dce4ef; }
.lk-referral__form label { display: block; margin-bottom: 10px; font-weight: 700; color: #061b40; }
.lk-referral__form > div { display: flex; gap: 12px; }
.lk-referral__form input { width: min(100%,360px); padding: 14px 16px; border: 1px solid #c9d3e2; font: inherit; color: #061b40; }
.lk-referral__form-message { margin: 8px 0 0; color: #9a3131; }
@media (max-width: 900px) { .lk-referral { padding: 18px; } .lk-referral__hero-copy { max-width: 68%; padding: 30px; } .lk-referral__hero h3 { font-size: 24px; } .lk-referral__art { width: 40%; } .lk-referral__stats > div { padding: 20px; } }
@media (max-width: 650px) { .lk-referral { padding: 12px; } .lk-referral__hero { display: block; padding-bottom: 190px; } .lk-referral__hero-copy { max-width: 100%; padding: 25px 22px; } .lk-referral__hero h3 { font-size: 22px; } .lk-referral__art { width: 100%; height: 210px; } .lk-referral__art span { top: 15px; right: 15px; } .lk-referral__stats { grid-template-columns: 1fr; gap: 8px; } .lk-referral__stats > div { min-height: 106px; } .lk-referral__stats strong { font-size: 28px; } .lk-referral__stats .lk-rak { top: 24px; } .lk-referral__symbol { top: 19px; } .lk-referral__form > div { flex-wrap: wrap; } }
.lk-referral .lk-referral__eyebrow { color: #ffdf00 !important; }
.lk-referral .lk-referral__lead { color: rgba(255,255,255,.86) !important; }
.lk-referral .lk-referral__button { background: #ffdf00 !important; border-color: #ffdf00 !important; color: #061b40 !important; }
.lk-referral .lk-referral__button:hover { background: #fff !important; border-color: #fff !important; }
.lk-referral__stats > div img { position: absolute; z-index: 1; right: 4px; bottom: -8px; width: 48%; height: 112%; object-fit: contain; object-position: right bottom; }
.lk-referral__stats > div span, .lk-referral__stats > div strong { position: relative; z-index: 2; }
@media (max-width: 650px) { .lk-referral__stats > div img { width: 45%; height: 120%; } }

/* Согласованные блоки программы приглашений */
.lk-referral__art img { transform: translateY(12%); }
.lk-referral__code-row { align-items: stretch; }
.lk-referral__code { display: flex; flex-direction: column; justify-content: center; }
.lk-referral .lk-referral__button { align-self: stretch; height: auto; min-height: 62px; padding: 0 25px; }
.lk-referral__stats > div { padding: 22px; }
.lk-referral__stat-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 55%; text-align: center; }
.lk-referral__stats .lk-referral__stat-copy span { max-width: none; line-height: 1.25; }
.lk-referral__stats .lk-referral__stat-copy strong { margin-top: 12px; }
.lk-referral__form { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(300px, 1.2fr); gap: 18px 32px; align-items: center; margin-top: 16px; padding: 24px 28px; border: 1px solid #d8e0ed; background: #f3f6fb; }
.lk-referral__form .lk-referral__form-copy { display: block; }
.lk-referral__form label { display: block; margin: 0; color: #071f49; font-size: 17px; font-weight: 700; }
.lk-referral__form .lk-referral__form-copy p { margin: 6px 0 0; color: #687893; font-size: 14px; line-height: 1.4; }
.lk-referral__form .lk-referral__form-fields { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 10px; }
.lk-referral__form .lk-referral__form-fields input { width: 100%; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid #bdcbe0; background: #fff; color: #071f49; font: inherit; text-transform: uppercase; }
.lk-referral__form .lk-referral__form-fields input::placeholder { text-transform: none; color: #8998ae; }
.lk-referral__form .lk-referral__form-fields input:focus { outline: 2px solid #185ab0; outline-offset: 1px; }
.lk-referral__form .lk-referral__form-fields button { height: 52px; min-width: 155px; padding: 0 24px; background: #09285a; color: #fff; border: 1px solid #09285a; }
.lk-referral__form .lk-referral__form-fields button:hover { background: #ffdf00; border-color: #ffdf00; color: #071f49; }
.lk-referral__form .lk-referral__form-message { grid-column: 1 / -1; margin: 8px 0 0; color: #a12424; font-size: 13px; }
.lk-referral__form .lk-referral__form-message:empty { display: none; }
.lk-referral__applied { margin-top: 16px; padding: 20px 28px; border: 1px solid #d8e0ed; background: #f3f6fb; color: #071f49; }
@media (max-width: 900px) { .lk-referral__form { grid-template-columns: 1fr; } }
@media (max-width: 650px) {
  .lk-referral__art img { transform: translateY(9%); }
  .lk-referral__stats > div { min-height: 115px; }
  .lk-referral__stat-copy { width: 57%; }
  .lk-referral__form { padding: 20px; }
  .lk-referral__form .lk-referral__form-fields { grid-template-columns: 1fr; gap: 10px; }
  .lk-referral__form .lk-referral__form-fields button { width: 100%; }
}
.lk-referral__form .lk-referral__form-fields input { font-size: 15px; }

/* Карточки каталога: обложка отдельно от текста и действий */
.lk-cat, .lk-exp { gap: 0; padding: 0; }
.lk-exp__cover { position: relative; margin: 0; }
.lk-cat__body, .lk-exp__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 19px 20px 20px; }
.lk .lk-cat__title, .lk .lk-exp__title { margin: 0; font-size: 17px; line-height: 1.22; letter-spacing: 0; overflow-wrap: anywhere; }
.lk .lk-cat__text, .lk .lk-exp__text { margin: 0; font-size: 13px; line-height: 1.5; letter-spacing: normal; }
.lk-cat__foot, .lk-exp__foot { padding-top: 14px; gap: 10px; }
.lk-cat__price, .lk-exp__price { letter-spacing: 0; font-size: 20px; }
.lk-cat__foot .lk-btn, .lk-exp__foot .lk-btn { margin: 0; height: 40px; padding: 0 16px; }
.lk-survey-reward { font-weight: 700; color: #0955a3 !important; }
.lk-survey-form:has(.lk-survey-player-grid) { max-width: none; }
.lk-survey-player-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.lk-survey-player { position: relative; display: flex; flex-direction: column; border: 1px solid #d8e1ee; background: #fff; cursor: pointer; }
.lk-survey-player:has(input:checked) { border-color: #0a4ea2; box-shadow: 0 0 0 2px #0a4ea2; }
.lk-survey-player input { position: absolute; right: 12px; top: 12px; z-index: 2; accent-color: #0755ae; width: 20px; height: 20px; }
.lk-survey-player__photo { aspect-ratio: 1 / 1; display: block; background: #eaf0f8; overflow: hidden; }
.lk-survey-player__photo img { width: 100%; height: 100%; object-fit: cover; }
.lk-survey-player__name { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 13px; font-weight: 700; }
.lk-survey-player__name b { color: #0755ae; white-space: nowrap; }
@media (max-width: 850px) { .lk-survey-player-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { .lk-survey-player-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .lk-cat__body, .lk-exp__body { padding: 16px; } }
.lk-experience-badge { position: absolute; left: 0; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px 9px 14px; color: #fff; background: #063a7d; border-left: 3px solid #ffdf00; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.lk-experience-badge b { font: 21px/1 var(--hcsd); letter-spacing: 0; }
.lk-experience-badge small { font: 600 12px/1 var(--font-family); }
.lk-experience-badge .lk-rak { width: 23px; height: 23px; }
.lk-surveys-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.lk-survey-cover { position: relative; display: block; height: auto; aspect-ratio: 16 / 9; overflow: hidden; }
.lk-survey-cover img { display: block; object-position: center; }
.lk-survey-cover__title { position: absolute; top: 0; left: 0; right: 0; padding: 18px 20px; color: #fff; font: 18px/1.15 var(--hcsd); letter-spacing: 0; text-transform: uppercase; background: linear-gradient(180deg, rgba(3,25,60,.96),rgba(3,25,60,.67),transparent); }
@media (max-width: 650px) { .lk-surveys-grid { grid-template-columns: 1fr; } .lk-survey-cover__title { font-size: 16px; } }

/* Карточки анкет и разделы кабинета */
.lk-survey-card { display: flex; flex-direction: column; align-items: stretch; height: auto; overflow: hidden; }
.lk-survey-cover { flex: none; width: 100%; }
.lk-survey-content { position: static; display: grid; width: 100%; flex: 1; gap: 10px; padding: 22px 24px 24px; background: #fff; color: #071f49; text-align: left; }
.lk-survey-content small { margin-top: 4px; }
.lk-experience-cover-title { position: absolute; top: 0; left: 0; right: 0; z-index: 1; padding: 16px 15px 30px; color: #fff; font: 17px/1.15 var(--hcsd); letter-spacing: 0; text-transform: uppercase; background: linear-gradient(#061c42 15%, rgba(6,28,66,.8) 60%, transparent); }
.js-lk-tab-content .lk-list { display: grid; gap: 12px; }
.js-lk-tab-content .lk-row { min-height: 95px; padding: 20px 24px; border: 1px solid #dce4f0; background: #fff; box-shadow: 0 5px 18px rgba(8,35,75,.05); }
.js-lk-tab-content .lk-row__date, .js-lk-tab-content .lk-row__value { letter-spacing: 0; }
.js-lk-tab-content .lk-row__title { line-height: 1.35; }
.lk-empty-card { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 230px; padding: 30px 38px; border: 1px solid #dce4f0; background: #fff; text-align: left; }
.lk-empty-card > div { position: relative; z-index: 1; display: grid; justify-items: start; gap: 20px; max-width: 65%; }
.lk-empty-card strong { color: #092653; font-size: 20px; line-height: 1.35; }
.lk-empty-card .lk-btn { margin: 0; }
.lk-empty-card::after { content: ''; position: absolute; right: 3%; bottom: 0; width: 210px; height: 205px; background: url('assets/img/referral/earned-v2.webp') center bottom / contain no-repeat; }
[data-panel="tickets"] .lk-empty-card::after { background-image: url('assets/img/referral/completed-v2.webp'); }
[data-panel="orders"] .lk-empty-card::after { background-image: url('assets/img/referral/invited-v2.webp'); }
.lk-exchange-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; padding: 32px; color: #071f49; box-shadow: 0 18px 70px rgba(0,0,0,.25); }
.lk-exchange-dialog::backdrop { background: rgba(2,15,39,.75); }
.lk-exchange-dialog h2 { margin: 0 0 12px; font: 22px/1.25 var(--hcsd); text-transform: uppercase; letter-spacing: 0; }
.lk-exchange-dialog p { margin: 12px 0; line-height: 1.5; color: #65748a; }
.lk-exchange-name { display: block; font-size: 19px; line-height: 1.35; }
.lk-exchange-cost { display: flex; align-items: center; gap: 8px; margin: 20px 0; padding: 16px; background: #f1f5fb; }
.lk-exchange-cost span { margin-right: auto; }
.lk-exchange-cost b { font-size: 20px; }
.lk-exchange-cost .lk-rak { width: 25px; height: 25px; }
.lk-exchange-actions { display: flex; justify-content: end; gap: 10px; margin-top: 24px; }
.lk-exchange-cancel { background: #edf2f9; color: #071f49; }
@media (max-width: 600px) { .lk-empty-card { min-height: 190px; padding: 24px; } .lk-empty-card::after { width: 130px; height: 150px; right: 0; } .lk-empty-card strong { font-size: 16px; } .lk-exchange-dialog { padding: 24px; } .lk-exchange-actions { flex-direction: column-reverse; } }
/* Единое оформление карточек и пустых разделов */
.lk-survey-content .lk-survey-reward { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: #071f49 !important; }
.lk-survey-reward .lk-rak { width: 23px; height: 23px; }
.lk-survey-content .lk-survey-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; justify-self: start; margin-top: 8px; padding: 12px 18px; color: #fff; background: #061d47; font-size: 13px; font-weight: 700; }
.lk-survey-card:hover .lk-survey-action { background: #0057bd; }
.lk-survey-action i { color: #ffe000; font-style: normal; }
[data-panel="orders"] .lk-page__action, [data-panel="tickets"] .lk-page__action { display: none; }
[data-panel="orders"] .lk-empty-card, [data-panel="tickets"] .lk-empty-card { justify-content: center; text-align: center; min-height: 230px; }
[data-panel="orders"] .lk-empty-card > div, [data-panel="tickets"] .lk-empty-card > div { justify-items: center; max-width: 100%; }
[data-panel="orders"] .lk-empty-card::after, [data-panel="tickets"] .lk-empty-card::after { content: none; }
.lk-preview-note { margin-bottom: 16px; padding: 14px 18px; border-left: 3px solid #f7d900; background: #fff; color: #536681; font-size: 14px; line-height: 1.45; }
/* Меню пользователя в шапке */
.lkh__account { position: relative; }
.lkh__avatar { display: grid; place-items: center; overflow: hidden; width: 44px; height: 44px; padding: 0; list-style: none; border: 2px solid #ffe000; border-radius: 50%; color: #ffe000; background: transparent; font-size: 14px; line-height: 1; }
.lkh__avatar::-webkit-details-marker { display: none; }
.lkh__avatar img { width: 100%; height: 100%; object-fit: cover; }
.lkh__avatar img[hidden], .lkh__avatar span[hidden] { display: none; }
.lkh__account[open] .lkh__avatar, .lkh__avatar:hover { border-color: #ffe000; background: rgba(255,224,0,.12); color: #ffe000; }
.lkh__avatar:focus-visible, .lkh__account-menu button:focus-visible { outline: 2px solid #ffe000; outline-offset: 3px; }
.lkh__account-menu { position: absolute; z-index: 20; right: 0; top: calc(100% + 12px); width: 180px; padding: 6px; background: #09234a; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.lkh__account-menu button { display: block; width: 100%; border: 0; padding: 12px 14px; color: #fff; background: transparent; text-align: left; font: 600 14px var(--font-family); cursor: pointer; }
.lkh__account-menu button:hover { color: #ffe000; background: rgba(255,255,255,.07); }
@media (max-width: 1100px) { .lkh__user { margin-left: auto; } }
.lkh__account-menu button { display: flex; align-items: center; gap: 11px; }
.lkh__account-menu button svg { flex: none; width: 19px; height: 19px; }
.lkh__account-menu .js-lk-logout svg { color: #f04a4a; }
/* Карточки билетов, заказов и операций */
.js-lk-tab-content .lk-list { gap: 14px; }
.js-lk-tab-content .lk-row { border: 1px solid #dce4f0; border-left: 4px solid #0c4c9b; padding: 22px 26px; min-height: 108px; gap: 24px; }
.js-lk-tab-content .lk-row:hover { border-color: #9eb5d3; box-shadow: 0 9px 24px rgba(8,35,75,.09); }
.js-lk-tab-content .lk-row__date { font-family: var(--font-family); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.js-lk-tab-content .lk-row__time { display: block; margin-top: 6px; font: 500 13px/1.2 var(--font-family); color: #7a8ba3; }
.js-lk-tab-content .lk-row__title { font-size: 17px; margin-bottom: 5px; }
.js-lk-tab-content .lk-row__sub { font-size: 14px; line-height: 1.4; }
.js-lk-tab-content .lk-row__logos { gap: 8px; }
.js-lk-tab-content .lk-row__logos img { width: 44px; height: 44px; }
.js-lk-tab-content .lk-status { height: auto; min-height: 32px; padding: 6px 12px; font: 700 12px/1.25 var(--font-family); letter-spacing: 0; background: #eef3f9; }
.js-lk-tab-content .lk-status_ok { background: #eaf7ef; color: #167b43; }
.js-lk-tab-content .lk-row_points { grid-template-columns: 150px minmax(0,1fr) 145px; }
.js-lk-tab-content .lk-row_points-plus { border-left-color: #26995b; }
.js-lk-tab-content .lk-row_points-minus { border-left-color: #125ab0; }
.lk-points-amount { min-width: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.lk-points-amount > div { display: flex; align-items: center; gap: 8px; }
.lk-points-amount b { font: 800 24px/1.1 var(--font-family); font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
.lk-points-amount .lk-rak { width: 25px; height: 25px; }
.lk-points-amount small { padding-right: 33px; color: #8492a9; font: 500 12px/1.2 var(--font-family); }
@media (max-width: 768px) {
  .js-lk-tab-content .lk-row { grid-template-columns: minmax(0,1fr) auto; gap: 12px 16px; padding: 18px; }
  .js-lk-tab-content .lk-row__date { grid-column: 1 / -1; }
  .js-lk-tab-content .lk-row_points { grid-template-columns: minmax(0,1fr) auto; }
  .js-lk-tab-content .lk-row_points .lk-row__date { grid-column: 1 / -1; }
  .js-lk-tab-content .lk-row__match { flex-direction: row; align-items: center; }
  .js-lk-tab-content .lk-row__logos img { width: 32px; height: 32px; }
  .lk-points-amount b { font-size: 20px; }
}
.lkh__wallet { display: flex; align-items: center; gap: 8px; color: #fff; }
.lkh__wallet[hidden] { display: none; }
.lkh__wallet > span { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.lkh__wallet b { color: #fff; font: 800 20px/1 var(--font-family); font-variant-numeric: tabular-nums; }
.lkh__wallet small { color: #a8b5ca; font: 500 11px/1 var(--font-family); }
.lkh__wallet .lk-rak { width: 29px; height: 29px; }
@media (max-width: 480px) { .lkh__user { gap: 10px; } .lkh__wallet b { font-size: 17px; } .lkh__wallet .lk-rak { width: 25px; height: 25px; } }
.lkh__wallet > span { align-items: center; }
.lkh__wallet b { color: var(--yellow); font-family: var(--hcsd); font-weight: 400; letter-spacing: 0; }
/* Флаговая трибуна в шапках разделов */
.lk-mode-section .lk-panel.active::before {
  height: 460px;
  background: linear-gradient(180deg, rgba(3,20,48,.84) 0%, rgba(3,20,48,.72) 35%, rgba(242,245,251,.62) 78%, #f2f5fb 100%), url('assets/img/sections-fans.webp') center 40% / cover no-repeat;
}
.js-lk-tab-content .lk-row, .js-lk-tab-content .lk-row_points-plus, .js-lk-tab-content .lk-row_points-minus { border-left: 1px solid #dce4f0; }
@media (max-width: 700px) { .lk-mode-section .lk-panel.active::before { height: 350px; } }
.lk-ticket-qr-unavailable { color: #8290a4; font-size: 13px; white-space: nowrap; }
.lk-ticket-qr-btn { white-space: nowrap; }
.lk-ticket-qr-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 28px; border: 0; color: #071f49; background: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.25); }
.lk-ticket-qr-dialog::backdrop { background: rgba(2,15,39,.76); }
.lk-ticket-qr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lk-ticket-qr-head h2 { margin: 0; font: 20px/1.25 var(--hcsd); text-transform: uppercase; }
.lk-ticket-qr-close { border: 0; padding: 0 4px; color: #415775; background: none; font-size: 30px; line-height: 1; cursor: pointer; }
.lk-ticket-qr-match { margin: 14px 0 20px; font-weight: 700; }
.lk-ticket-qr-image { display: grid; place-items: center; aspect-ratio: 1; max-width: 320px; margin: auto; padding: 10px; background: #fff; text-align: center; }
.lk-ticket-qr-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lk-ticket-qr-hint { margin: 18px 0 0; color: #6e7d92; text-align: center; line-height: 1.45; }
@media (max-width: 768px) { .lk-ticket-qr-btn, .lk-ticket-qr-unavailable { grid-column: 1 / -1; justify-self: start; } }
/* Ближайший матч присутствует на всех страницах кабинета */
.lk-next[hidden] { display: none !important; }
.lk-mode-section .lk-next:not([hidden]) { display: grid !important; }
.lk-mode-section .lk { padding-top: 0; }
.lk-mode-section .lk-next { margin-bottom: 0; }

/* Появление контента и тактильные состояния без задержки действий */
@keyframes lk-appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .lk-panel.active > .lk-page, .lk-panel.active .js-lk-tab-content, .lk-panel.active .lk-referral__hero, .lk-panel.active .lk-surveys-grid, .lk-panel.active .lk-showcase { animation: lk-appear .38s ease-out both; }
  .lk-panel.active .lk-list > *, .lk-panel.active .lk-surveys-grid > *, .lk-panel.active .lk-showcase > *, .lk-panel.active .lk-referral__stats > * { animation: lk-appear .42s ease-out both; }
  .lk-panel.active .lk-list > :nth-child(2), .lk-panel.active .lk-surveys-grid > :nth-child(2), .lk-panel.active .lk-showcase > :nth-child(2), .lk-panel.active .lk-referral__stats > :nth-child(2) { animation-delay: .05s; }
  .lk-panel.active .lk-list > :nth-child(3), .lk-panel.active .lk-showcase > :nth-child(3), .lk-panel.active .lk-referral__stats > :nth-child(3) { animation-delay: .1s; }
  .lk-panel.active .lk-list > :nth-child(4), .lk-panel.active .lk-showcase > :nth-child(4) { animation-delay: .15s; }
  .lk-next, .lk-row, .lk-survey-card, .lk-cat, .lk-exp, .lk-btn { transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease; }
}
@media (prefers-reduced-motion: reduce) { .lk-panel.active *, .lk-next { animation: none !important; scroll-behavior: auto !important; } }
@media (max-width: 1100px) { .lk-next__team b { font-size: clamp(15px,2vw,20px); } }
@media (max-width: 700px) { .lk-mode-section .lk-next { margin: 0 0 2px; } .lk-next__game { justify-content: center; flex-wrap: wrap; } .lk-next__kick { align-items: center; } .lk-next__side { padding-left: 0; } }
.lk-mode-section .lk-panel.active::before {
  background: linear-gradient(180deg, rgba(3,20,48,.87) 0%, rgba(3,20,48,.72) 35%, rgba(242,245,251,.62) 78%, #f2f5fb 100%), url('assets/img/sections-supporters.webp') center 38% / cover no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .lk-top, .lk-catalog, .lk-partners { animation: lk-appear .45s ease-out both; }
  .lk-catalog__grid > *, .lk-partners__grid > * { animation: lk-appear .45s ease-out both; }
  .lk-catalog__grid > :nth-child(2), .lk-partners__grid > :nth-child(2) { animation-delay: .05s; }
  .lk-catalog__grid > :nth-child(3), .lk-partners__grid > :nth-child(3) { animation-delay: .1s; }
  .lk-catalog__grid > :nth-child(4) { animation-delay: .15s; }
}
@media (prefers-reduced-motion: reduce) { .lk-top, .lk-catalog, .lk-partners, .lk-catalog__grid > *, .lk-partners__grid > * { animation: none !important; } }
/* Заголовок входа — одна строка и без горизонтальной прокрутки */
.lk-auth__heading { white-space: nowrap; font-size: clamp(34px, 3.4vw, 52px); }
@media (max-width: 1024px) { .lk-auth__heading { margin-left: 0; font-size: clamp(19px, 5vw, 36px); white-space: nowrap; } }
@media (min-width: 1025px) { .lk-auth__side:has(.js-register-form:not([hidden])) .lk-auth__heading { font-size: clamp(34px, 3.4vw, 48px); } }

/* Вместо пунктирных сообщений — спокойные заполнители под будущий контент */
.lk-loading-rows { display: grid; gap: 12px; width: 100%; }
.lk-loading-rows span, .lk-loading-cards span { display: block; border: 0; background: linear-gradient(110deg,#e6ecf4 15%,#f8fafc 35%,#e6ecf4 55%); background-size: 220% 100%; animation: lk-shimmer 1.5s ease-in-out infinite; }
.lk-loading-rows span { height: 98px; }
.lk-loading-cards { grid-column: 1 / -1; display: grid; width: 100%; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }
.lk-loading-cards span { height: 290px; }
@keyframes lk-shimmer { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .lk-loading-rows span, .lk-loading-cards span { animation: none; background: #e9eef5; } }

/* Реальная Ростов Арена: сохраняем надпись на трибунах и детали фотографии */
.lk-top::before {
  background: linear-gradient(180deg, rgba(255,255,255,.2) 0%,rgba(255,255,255,.2) 55%,rgba(242,245,251,.9) 92%,#f2f5fb 100%), linear-gradient(90deg,rgba(255,255,255,.78) 0%,rgba(255,255,255,.56) 32%,rgba(255,255,255,.08) 75%), url('assets/img/arena-home-render-v1.png') center 52% / cover no-repeat !important;
}
.lk-mode-section .lk-panel.active::before {
  background: linear-gradient(180deg,rgba(3,20,48,.88) 0%,rgba(3,20,48,.7) 37%,rgba(242,245,251,.65) 80%,#f2f5fb 100%), url('assets/img/arena-rostov.webp') center 44% / cover no-repeat;
}

/* Подтверждение обмена */
.lk-exchange-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 32px; }
.lk-exchange-dialog h2 { margin-bottom: 20px; }
.lk-exchange-cover { height: clamp(150px, 23vh, 205px); overflow: hidden; margin-bottom: 20px; background: #edf2f8; }
.lk-exchange-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.lk-exchange-name { font-size: 20px; }
.lk-exchange-dialog .lk-exchange-description { margin: 10px 0 0; font-size: 15px; line-height: 1.5; }
.lk-exchange-cost { margin: 20px 0 0; }
.lk-exchange-dialog .lk-exchange-note { margin: 14px 0 0; font-size: 14px; }
.lk-exchange-actions { margin-top: 22px; }
.lk-exchange-actions .lk-btn { width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }
@media (max-width: 600px) { .lk-exchange-dialog { padding: 22px; } .lk-exchange-dialog h2 { font-size: 19px; margin-bottom: 16px; } .lk-exchange-cover { margin-bottom: 16px; } .lk-exchange-name { font-size: 18px; } }

/* Стабильная ширина счётчиков и изображение впечатления целиком */
.lk-level__points .lk-balance-number, .lkh__wallet b {
  display: inline-block;
  min-width: calc(var(--lk-balance-digits, 5) * 1ch);
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
}
.lk-level__balance { text-align: center; }
.lk-level__points { justify-content: center; }
.lk-exchange-cover { height: auto; }
.lk-exchange-cover img { width: 100%; height: auto; object-fit: initial; }
.lk-order-raks { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.lk-order-raks small { font: 500 14px/1 var(--font-family); letter-spacing: 0; }
.lk-order-raks .lk-rak { width: 25px; height: 25px; flex: none; }

/* Страница анкеты: читаемая шапка, вопросы и варианты */
.lk-survey-detail { max-width: 1200px; padding: 28px 32px; background: #fff; border: 1px solid #dce4f0; }
.lk-survey-detail .lk-survey-back { padding: 0; font-size: 14px; }
.lk-survey-detail .lk-survey-back:hover { color: #00337a; }
.lk-survey-detail .lk-survey-title { margin: 20px 0 10px; font: 26px/1.25 var(--hcsd); letter-spacing: 0; color: #071f49; }
.lk-survey-description { margin: 0; color: #536783; font-size: 16px; line-height: 1.5; }
.lk-survey-detail__reward { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 9px 12px; background: #f1f5fb; color: #071f49; font-size: 15px; font-weight: 700; }
.lk-survey-detail__reward .lk-rak { width: 22px; height: 22px; }
.lk-survey-form, .lk-survey-form:has(.lk-survey-player-grid) { max-width: 1200px; display: grid; gap: 16px; margin: 16px 0 0; }
.lk-survey-question { min-width: 0; margin: 0; padding: 24px 28px 28px; background: #fff; border: 1px solid #dce4f0; }
.lk-survey-question legend { float: left; width: 100%; padding: 0; margin: 0 0 18px; color: #071f49; font-size: 18px; line-height: 1.4; font-weight: 700; }
.lk-survey-question legend span { color: #d63830; }
.lk-survey-question__body { clear: both; }
.lk-survey-question__body:not(.lk-survey-player-grid) { display: grid; gap: 8px; }
.lk-survey-option { min-height: 48px; padding: 11px 14px; border: 1px solid #e0e7f0; color: #10294d; font-size: 16px; line-height: 1.35; cursor: pointer; }
.lk-survey-option:hover { border-color: #9aacc5; background: #f7f9fc; }
.lk-survey-option:has(input:checked) { border-color: #0755ae; background: #f1f6fc; }
.lk-survey-option input { width: 18px; height: 18px; margin: 0 4px 0 0; accent-color: #0755ae; flex: none; }
.lk-survey-player-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.lk-survey-player__photo { aspect-ratio: 4 / 3; }
.lk-survey-player__photo img { display: block; object-fit: contain; object-position: center bottom; }
.lk-survey-player__name { min-height: 58px; padding: 12px; font-size: 14px; line-height: 1.3; }
.lk-survey-error:empty { display: none; }
.lk-survey-form > .lk-btn { justify-self: start; min-width: 240px; margin: 0; }
@media (max-width: 600px) {
  .lk-survey-detail { padding: 22px 20px; }
  .lk-survey-detail .lk-survey-title { font-size: 21px; }
  .lk-survey-question { padding: 20px; }
  .lk-survey-question legend { font-size: 16px; }
  .lk-survey-player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lk-survey-player__name { font-size: 13px; }
  .lk-survey-form > .lk-btn { width: 100%; }
}

/* Соцсети и разработчик над разделительной линией */
.lkf__credits { max-width: 1440px; margin: 0 auto; padding: 0 28px 26px; align-items: flex-end; gap: 20px; }
.lkf__social { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.lkf__social a { display: inline-flex; align-items: center; gap: 8px; width: auto; height: auto; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500; }
.lkf__social a:hover { color: var(--yellow); }
.lkf__social img { width: 20px; height: 20px; flex: none; }
.lkf__dev { display: inline-flex; align-items: center; }
@media (max-width: 760px) { .lkf__credits { align-items: flex-start; padding: 0 20px 24px; } .lkf__social { justify-content: flex-start; gap: 16px; } }
@media (min-width: 1025px) { .lkh__nav_club { justify-content: space-evenly; } }
@media (min-width: 1025px) and (min-height: 720px) { .lk-auth__side:has(.js-login-form:not([hidden])) { padding-top: 80px; } }
