/* NeoPlay: рейтинги (часы и ELO) в стиле гонки месяца из хаба. Основа — site.css. */

.rating-page { --gold: #e4ae39; --silver: #cfd6ef; --bronze: #d9925a; --faceit: #ff5500; }

/* ── Шапка страницы ──────────────────────────────────────────────────────── */
.rating-page .hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 40px;
}
.rating-page .hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -8%;
  top: 34%;
  width: 70%;
  height: 150px;
  background: linear-gradient(90deg, rgba(255, 79, 168, 0), rgba(214, 79, 255, .3), rgba(79, 210, 255, 0));
  filter: blur(60px);
  transform: rotate(-10deg);
  pointer-events: none;
}
.hero__orb { display: none; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 16px 40px;
  align-items: center;
}
.hero__title { grid-column: 1; font: 800 clamp(3rem, 6.2vw, 6rem)/.9 var(--np-display); text-transform: uppercase; }
.hero__title-brand, .hero__title-main, .hero__title-league, .hero__title-elo { display: block; }
.hero__title-league { background: var(--np-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title-elo { color: var(--faceit); }
.hero__sub { grid-column: 1; max-width: 520px; color: var(--np-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.55; }

.hero__control-stack { grid-column: 2; grid-row: 1 / 3; display: grid; gap: 8px; }

/* Переключатель «Часы / ELO» — как вкладки в хабе */
.switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--np-line-strong);
  border-radius: 16px;
  background: rgba(10, 12, 28, .7);
}
.switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--np-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.switcher a:hover { color: var(--np-text); background: rgba(157, 169, 255, .07); }
.switcher a.active {
  border-color: rgba(176, 124, 255, .5);
  background: linear-gradient(135deg, rgba(255, 79, 168, .2), rgba(143, 88, 255, .22));
  box-shadow: 0 6px 22px rgba(120, 60, 220, .25);
  color: var(--np-text);
}
.switcher svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.switcher a.active svg { opacity: 1; }

.timer-pill, .faceit-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--np-line);
  border-radius: 14px;
  background: rgba(10, 12, 28, .55);
}
.timer-pill__label { color: var(--np-muted); font-size: 13px; }
.timer-pill__val { font: 700 16px/1 var(--np-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.faceit-badge { justify-content: center; gap: 8px; color: #ff8a45; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.faceit-badge svg { width: 16px; height: 16px; }

/* ── Секции ──────────────────────────────────────────────────────────────── */
.rating-page .section { padding: 36px 0; }
.rating-page .section--flush-top { padding-top: 0; }
.lb-header, .lb-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}
.section__title { font: 800 clamp(2rem, 4.2vw, 3.6rem)/.95 var(--np-display); text-transform: uppercase; }
.how-grid { margin-top: 22px; }
.lb-hint {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--np-line);
  border-radius: 12px;
  background: rgba(10, 12, 28, .5);
  color: var(--np-muted);
  font-size: 13px;
}
.lb-empty, .table-empty { padding: 26px 18px; color: var(--np-muted); text-align: center; }

/* Аватар как в хабе: шлем клуба на тёмном круге или выбранная иконка на градиенте (--bg из avatars.js) */
.np-ava {
  --s: 44px;
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  overflow: hidden;
  border-radius: 50%;
  background: var(--bg, radial-gradient(circle at 50% 40%, #2a1e55, #0d0f24 70%));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14);
}
.np-ava img { width: 66%; height: 66%; object-fit: contain; }
.np-ava svg { width: 52%; height: 52%; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ── Пьедестал ───────────────────────────────────────────────────────────── */
.podium { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr) minmax(0, .95fr); gap: 10px; align-items: stretch; }
.podium:empty { display: none; }
.podium-card {
  --m: var(--np-violet);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--m) 34%, transparent);
  border-radius: var(--np-r-lg);
  background:
    radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--m) 20%, transparent), transparent 14rem),
    var(--np-card-bg);
}
.podium-card--1 { --m: var(--gold); box-shadow: 0 18px 60px rgba(228, 174, 57, .12); }
.podium-card--2 { --m: var(--silver); }
.podium-card--3 { --m: var(--bronze); }
.podium-card__shine { display: none; }
.podium-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.podium-card__rank-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--m) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--m) 12%, transparent);
  color: color-mix(in srgb, var(--m) 70%, #fff);
  font: 700 12px/1 var(--np-display);
  text-transform: uppercase;
  white-space: nowrap;
}
.podium-card__name, .podium-card__nick {
  margin-top: 18px;
  overflow: hidden;
  font: 700 clamp(1.05rem, 1.6vw, 1.35rem)/1.15 var(--np-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.podium-card__meta {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
  color: var(--np-muted);
  font-size: 13px;
}
.podium-card__hours-row { margin-top: auto; padding-top: 20px; }
.podium-card__hours { font: 700 clamp(1.7rem, 2.6vw, 2.2rem)/1 var(--np-display); font-variant-numeric: tabular-nums; }
.podium-card--1 .podium-card__hours { font-size: clamp(2rem, 3vw, 2.6rem); }
.podium-card__hours-label, .podium-card__elo-label { margin-top: 6px; color: var(--np-faint); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.podium-card__prize {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--m) 30%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--m) 8%, rgba(5, 6, 15, .5));
}
.podium-card__prize-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.podium-card__prize-main { font-weight: 600; line-height: 1.2; }
.podium-card__prize-label { margin-top: 2px; color: var(--np-muted); font-size: 13px; }

/* ELO: аватар FACEIT, ELO с уровнем, форма и ссылки */
.podium-card__avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid var(--np-line-strong);
  border-radius: 50%;
  background: rgba(157, 169, 255, .08);
  font: 700 14px/1 var(--np-display);
  text-transform: uppercase;
}
.podium-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rating-page--elo .podium-card__avatar + .podium-card__rank-label { position: absolute; top: 22px; right: 22px; }
.rating-page--elo .podium-card__name { margin-top: 4px; color: var(--np-muted); font: 400 13px/1.3 var(--np-body); }
.podium-card__elo-row { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; }
.podium-card__elo { font: 700 clamp(1.6rem, 2.4vw, 2.1rem)/1 var(--np-display); font-variant-numeric: tabular-nums; }
.podium-card__elo-row img { width: 28px; height: 28px; }
.rating-page--elo .podium-card__hours { margin-top: 4px; color: var(--np-muted); font: 400 13px/1.3 var(--np-body); }
.podium-card__delta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.podium-card__link { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--np-line); }
.podium-card__link a, .podium-card__perf-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 85, 0, .35);
  border-radius: 10px;
  background: rgba(255, 85, 0, .1);
  color: #ff9a5c;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.podium-card__perf-btn { border-color: var(--np-line-strong); background: rgba(157, 169, 255, .06); color: var(--np-text); }

/* ── Таблица «Топ-10»: строки как в гонке месяца ─────────────────────────── */
.lb-list {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--np-line);
  border-radius: var(--np-r-lg);
  background: var(--np-panel);
}
.lb-row {
  display: grid;
  grid-template-columns: 30px 44px minmax(0, 1fr) minmax(0, 1.3fr) 110px 92px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(5, 6, 15, .45);
  transition: background-color .18s ease;
}
.lb-row:hover { background: rgba(157, 169, 255, .06); }
.lb-row__rank { color: var(--np-faint); font: 800 16px/1 var(--np-display); text-align: center; }
.lb-row--1 .lb-row__rank { color: var(--gold); }
.lb-row--2 .lb-row__rank { color: var(--silver); }
.lb-row--3 .lb-row__rank { color: var(--bronze); }
.lb-row__info { min-width: 0; }
.lb-row__nick { overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.lb-row__sub { display: flex; align-items: center; gap: 2px; color: var(--np-faint); font-size: 12px; }
.lb-row__sub .zone-ico, .podium-card__meta .zone-ico, .how-card__list .zone-ico { width: 1.05em; height: 1.05em; }
.lb-row__bar { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(157, 169, 255, .1); }
.lb-row__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(143, 88, 255, .55), rgba(79, 210, 255, .55)); }
.lb-row--1 .lb-row__bar i { background: var(--np-grad); box-shadow: 0 0 10px rgba(176, 124, 255, .5); }
.lb-prize { justify-self: end; }
.lb-prize:not(:empty) {
  --m: #b9c3ff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--m) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--m) 12%, transparent);
  color: color-mix(in srgb, var(--m) 70%, #fff);
  font: 700 13px/1 var(--np-display);
  white-space: nowrap;
}
.lb-prize[data-rank="1"] { --m: var(--gold); }
.lb-prize[data-rank="2"] { --m: var(--silver); }
.lb-prize[data-rank="3"] { --m: var(--bronze); }
.lb-prize img { width: 14px; height: 14px; opacity: .9; }
.lb-row__hours { font: 700 15px/1 var(--np-display); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ── ELO-таблица ─────────────────────────────────────────────────────────── */
.hltv-table {
  width: 100%;
  padding: 4px 10px 10px;
  border: 1px solid var(--np-line);
  border-radius: var(--np-r-lg);
  border-collapse: separate;
  border-spacing: 0 6px;
  background: var(--np-panel);
  table-layout: fixed;
}
.hltv-table th { padding: 10px 12px 4px; color: var(--np-faint); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.hltv-table td { padding: 10px 12px; background: rgba(5, 6, 15, .45); vertical-align: middle; }
.hltv-table tbody tr:hover td { background: rgba(157, 169, 255, .06); }
.hltv-table td:first-child { border-radius: 14px 0 0 14px; }
.hltv-table td:last-child { border-radius: 0 14px 14px 0; }
.hltv-table td.table-empty { border-radius: 14px; }
.hltv-table th:nth-child(1) { width: 6%; }
.hltv-table th:nth-child(2) { width: 32%; }
.hltv-table th:nth-child(3) { width: 14%; }
.hltv-table th:nth-child(4) { width: 13%; }
.hltv-table th:nth-child(5) { width: 12%; }
.hltv-table th:nth-child(6) { width: 17%; }
.hltv-table th:nth-child(7) { width: 6%; }
.hltv-table th:nth-child(n + 3), .hltv-table td:nth-child(n + 3) { text-align: center; }
.td-rank { color: var(--np-faint); font: 800 16px/1 var(--np-display); text-align: center; }
.hltv-table tr.r1 .td-rank { color: var(--gold); }
.hltv-table tr.r2 .td-rank { color: var(--silver); }
.hltv-table tr.r3 .td-rank { color: var(--bronze); }
.player-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(157, 169, 255, .08);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12);
  font: 700 12px/1 var(--np-display);
  text-transform: uppercase;
}
.player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.player-names { display: grid; gap: 2px; min-width: 0; }
.player-nick { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.player-name { color: var(--np-faint); font-size: 12px; }
.player-mobile-meta { display: none; }
.td-elo { font: 700 15px/1 var(--np-display); }
.elo-cell { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.elo-cell img { width: 22px; height: 22px; }
.td-hours { color: var(--np-muted); white-space: nowrap; }
.td-trend { white-space: nowrap; }
.trend-up { color: var(--np-green); }
.trend-down { color: var(--np-red); }
.trend-flat, .trend-period { color: var(--np-faint); }
.weekly-change { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }
.podium-card__delta .weekly-change { min-height: 26px; padding: 0 8px; border: 1px solid var(--np-line); border-radius: 8px; background: rgba(5, 6, 15, .45); }
.trend-period { font-size: 11px; font-weight: 400; }
.last-five { display: inline-flex; align-items: center; gap: 3px; }
.last-five__item { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; font-size: 10px; font-weight: 700; }
.last-five__item--w { background: #2fd27a; color: #052012; }
.last-five__item--l { background: #ff4d5e; color: #23060a; }
.last-five__item--empty { background: rgba(157, 169, 255, .1); color: var(--np-faint); }
.ext-link {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--np-line);
  border-radius: 9px;
  background: rgba(157, 169, 255, .05);
  color: var(--np-muted);
  text-decoration: none;
}
.ext-link:hover { border-color: rgba(255, 85, 0, .45); color: #ff8a45; }

/* ── Как это работает ────────────────────────────────────────────────────── */
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.how-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--np-line);
  border-radius: var(--np-r-lg);
  background: var(--np-card-bg);
}
.how-card--accent { border-color: rgba(176, 124, 255, .4); }
.how-card__num { font: 800 40px/1 var(--np-display); background: var(--np-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; }
.how-card__title { font: 700 1.1rem/1.2 var(--np-display); text-transform: uppercase; }
.how-card__text { color: var(--np-muted); font-size: 15px; line-height: 1.6; }
.how-card__text strong { color: var(--np-text); }
.how-card__list { display: grid; gap: 6px; list-style: none; }
.how-card__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(5, 6, 15, .5);
  font-size: 14px;
}
.how-card__list li span { display: inline-flex; align-items: center; gap: 2px; }
.how-card__list strong { font-family: var(--np-display); font-weight: 700; }

.steam-prize { overflow: hidden; border: 1px solid var(--np-line); border-radius: 16px; background: rgba(5, 6, 15, .45); }
.steam-prize__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--np-line); }
.steam-prize__logo { width: 26px; height: 26px; }
.steam-prize__title { font-weight: 600; }
.steam-prize__sub, .steam-prize__label, .steam-prize__bonus { color: var(--np-muted); font-size: 12px; }
.steam-prize__row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--np-line);
}
.steam-prize__row:last-child { border-bottom: 0; }
.steam-prize__rank {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(157, 169, 255, .1);
  font: 700 13px/1 var(--np-display);
}
.steam-prize__row--1 .steam-prize__rank { color: var(--gold); }
.steam-prize__row--2 .steam-prize__rank { color: var(--silver); }
.steam-prize__row--3 .steam-prize__rank { color: var(--bronze); }
.steam-prize__main { display: flex; align-items: center; gap: 8px; min-width: 0; }
.steam-prize__amount { font-weight: 600; white-space: nowrap; }
.steam-mark { width: 16px; height: 16px; flex: 0 0 auto; }
.steam-prize__bonus {
  grid-column: 2;
  justify-self: start;
  padding: 3px 8px;
  border: 1px solid var(--np-line);
  border-radius: 999px;
  white-space: nowrap;
}

.rating-history { margin-top: auto; padding-top: 8px; }
.rating-history__label { display: block; margin-bottom: 8px; color: var(--np-faint); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.month-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 1px solid var(--np-line); border-radius: 14px; background: rgba(5, 6, 15, .5); }
.month-tabs__btn {
  flex: 1 0 auto;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--np-muted);
  font-size: 13px;
  font-weight: 500;
}
.month-tabs__btn:hover { color: var(--np-text); background: rgba(157, 169, 255, .07); }
.month-tabs__btn.active { border-color: rgba(176, 124, 255, .5); background: linear-gradient(135deg, rgba(255, 79, 168, .18), rgba(143, 88, 255, .2)); color: var(--np-text); }

.lvl-scale { display: grid; }
.lvl-scale-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--np-line);
  color: var(--np-muted);
  font-size: 13px;
}
.lvl-scale-row:last-child { border-bottom: 0; }
.lvl-scale-row__left { display: flex; align-items: center; gap: 8px; }
.lvl-scale-row__elo { font-size: 12px; white-space: nowrap; }

.connect-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 26px;
  border: 1px solid rgba(176, 124, 255, .4);
  border-radius: var(--np-r-lg);
  background: radial-gradient(circle at 90% 0%, rgba(255, 79, 168, .16), transparent 18rem), var(--np-card-bg);
}
.connect-card__eyebrow { color: #c3b1ff; font: 600 11px/1.3 var(--np-display); letter-spacing: .05em; text-transform: uppercase; }
.connect-card__title { margin-top: 8px; font: 700 clamp(1.3rem, 2.4vw, 1.9rem)/1.1 var(--np-display); text-transform: uppercase; }
.connect-card__text { max-width: 640px; margin-top: 10px; color: var(--np-muted); line-height: 1.6; }

/* Окно с Perf-статистикой */
.perf-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 3, 8, .78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.perf-modal.open { display: flex; }
.perf-modal__panel {
  display: flex;
  flex-direction: column;
  width: min(1120px, 100%);
  height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid var(--np-line-strong);
  border-radius: var(--np-r-lg);
  background: var(--np-panel-solid);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .65);
}
.perf-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--np-line); }
.perf-modal__title { min-width: 0; overflow: hidden; font-weight: 600; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.perf-modal__actions { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
.perf-modal__external, .perf-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 1px solid var(--np-line-strong);
  border-radius: 10px;
  background: rgba(157, 169, 255, .06);
  font-weight: 500;
  text-decoration: none;
}
.perf-modal__external { padding: 0 12px; }
.perf-modal__close { width: 34px; }
.perf-modal iframe { flex: 1; width: 100%; border: 0; background: var(--np-panel-solid); }

/* ── Адаптив ─────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .rating-page .hero { padding: 116px 0 28px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__control-stack { grid-column: 1; grid-row: auto; }
  .podium, .how-grid { grid-template-columns: 1fr; }
  .podium-card--1 { order: -1; }
  .lb-row { grid-template-columns: 30px 44px minmax(0, 1fr) auto auto; }
  .lb-row__bar { display: none; }
  .connect-card { grid-template-columns: 1fr; }
  .connect-btn { width: 100%; }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .lb-list { padding: 6px; }
  .lb-row { grid-template-columns: 26px 38px minmax(0, 1fr) auto; row-gap: 4px; padding: 8px 10px; }
  .lb-row .np-ava { --s: 38px; }
  .lb-row > .lb-row__rank, .lb-row > .np-ava { grid-row: 1 / span 2; }
  .lb-row > .lb-row__info { grid-column: 3; grid-row: 1; }
  .lb-row > .lb-prize { grid-column: 3; grid-row: 2; justify-self: start; }
  .lb-row > .lb-row__hours { grid-column: 4; grid-row: 1 / span 2; }
  .lb-row--no-prize > .lb-row__info { grid-row: 1 / span 2; }
  .lb-prize:not(:empty) { gap: 4px; padding: 4px 8px; font-size: 11px; }
  .lb-prize img { width: 11px; height: 11px; }
  .lb-hint { width: 100%; justify-content: center; }

  .hltv-table { display: block; padding: 6px; table-layout: auto; }
  .hltv-table thead { display: none; }
  .hltv-table tbody { display: grid; gap: 6px; }
  .hltv-table tbody tr {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(5, 6, 15, .45);
  }
  .hltv-table td { display: block; padding: 0; background: none; border-radius: 0; text-align: left; }
  .hltv-table tbody tr:hover td { background: none; }
  .hltv-table td:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .hltv-table td:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
  .hltv-table td:nth-child(3) { grid-column: 3; grid-row: 1; justify-self: end; }
  .hltv-table td:nth-child(5) { grid-column: 3; grid-row: 2; justify-self: end; }
  .hltv-table td:nth-child(4), .hltv-table td:nth-child(6), .hltv-table td:nth-child(7) { display: none; }
  .hltv-table td.table-empty { grid-column: 1 / -1; text-align: center; }
  .player-avatar, .player-name { display: none; }
  .player-mobile-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 2px; color: var(--np-faint); font-size: 11px; }
  .player-mobile-meta__item--form { display: inline-flex; align-items: center; gap: 6px; }
  .last-five__item { width: 15px; height: 15px; font-size: 9px; }
}
