:root {
  color-scheme: dark;
  --bg: #0b0c0d;
  --bg-2: #121416;
  --bg-3: #1a1b1e;
  --bg-4: #222428;
  --lime: #bbeb00;
  --lime-dim: rgba(187, 235, 0, 0.16);
  --text: #f4f5f6;
  --muted: #a9afb5;
  --muted-2: #7b828a;
  --line: rgba(255, 255, 255, 0.06);
  --glass: rgba(169, 175, 181, 0.12);
  --danger: #ff4d4f;
  --radius: 12px;
  --radius-s: 8px;
  --dock: 72px;
  --top: 68px;
  --tabbar: 72px;
  --font: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); }
body { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
html.dock-wide { --dock: 248px; }
.shell {
  display: grid;
  grid-template-columns: var(--dock) minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  transition: grid-template-columns .25s ease;
}
.dock {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  background: #101114;
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.dock-top { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0 8px; }
.dock-toggle, .dock-search, .menu-mobile {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 12px; background: transparent; color: var(--text);
}
.dock-find { display: none; align-items: center; gap: 8px; height: 40px; margin: 0 12px; padding: 0 12px; border-radius: 12px; background: #0b0c0d; border: 1px solid rgba(169, 175, 181, .12); color: var(--muted); }
.dock-find input { flex: 1; min-width: 0; height: 38px; border: 0; background: transparent; outline: none; color: var(--text); }
.sidebar {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 12px;
  overflow: auto;
  scrollbar-width: none;
  background: transparent;
  border: 0;
}
.sidebar::-webkit-scrollbar { width: 0; }
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 6px 4px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}
.nav-item svg { flex: 0 0 auto; }
.nav-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item:hover { color: var(--lime); }
.nav-item.is-active { color: var(--lime); background: transparent; border-left-color: var(--lime); }
.nav-group { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.nav-label { display: none; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); padding: 8px 16px 2px; font-weight: 700; }
.dock-pin { flex: 0 0 auto; border-top: 1px solid var(--line); }
.dock-tip {
  position: fixed;
  z-index: 80;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 8px;
  background: #2c2e33;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
  white-space: nowrap;
}
html.dock-wide .dock-top {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: var(--top) auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 0;
  padding: 0 16px 12px;
}
html.dock-wide .dock-toggle { grid-column: 1; grid-row: 1; justify-self: center; }
html.dock-wide .dock-search, .dock.is-open .dock-search { display: none; }
html.dock-wide .dock-find {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  margin: 0;
}
.dock.is-open .dock-top { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; gap: 8px; }
.dock.is-open .dock-find { display: flex; flex: 1 0 100%; margin: 0; }
html.dock-wide .nav-item, .dock.is-open .nav-item {
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  text-align: left;
}
html.dock-wide .nav-label, .dock.is-open .nav-label { display: block; }
.stage { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.topbar {
  height: var(--top);
  min-height: var(--top);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  flex: 0 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; flex: 0 0 auto; }
.brand-lockup { height: 52px; width: auto; display: block; }
.brand-mark { width: 40px; height: 40px; display: none; flex: 0 0 auto; }
.top-actions { position: relative; margin-left: auto; display: flex; gap: 12px; align-items: center; flex-wrap: nowrap; justify-content: flex-end; min-width: 0; }
.top-actions form { margin: 0; }
.btn { height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius-s); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.btn-ghost { background: var(--glass); color: var(--text); }
.btn-lime { background: var(--lime); color: #111; }
.btn-lime:disabled { opacity: .45; cursor: not-allowed; }
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(17, 17, 17, .2);
  border-top-color: #111;
  border-right-color: #111;
  animation: winaro-spin .7s linear infinite;
}
.btn-ghost.is-busy::after {
  border-color: rgba(255, 255, 255, .22);
  border-top-color: #fff;
  border-right-color: #fff;
}
.login-stack .btn-lime:disabled, .otp-stack .btn-lime:disabled { background: #6f8f14; color: rgba(255, 255, 255, .72); opacity: 1; }
.otp-stack .btn-block { height: 44px; border-radius: 12px; flex: 0 0 auto; }
.btn-block { width: 100%; }
.main { flex: 1; min-height: 0; overflow: auto; padding: 16px 20px 28px; scrollbar-width: none; }
.main::-webkit-scrollbar { width: 0; height: 0; }
.hero-board { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 12px; }
.hero-card, .promo, .account-card, .trust article, .auth-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
}
.hero-card { background: radial-gradient(120% 120% at 0% 0%, rgba(187,235,0,.28), transparent 45%), var(--bg-3); }
.hero-card h1, .page-head h1 { margin: 8px 0; font-size: 32px; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; align-self: flex-start; width: auto; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--lime); color: #111; font-size: 11px; font-weight: 800; }
.banner-board { display: grid; gap: 12px; }
.hero-slider { position: relative; overflow: hidden; width: 100%; border-radius: 8px; border: 1px solid rgba(169, 175, 181, .12); aspect-ratio: 2.5 / 1; background: #080a09; container-type: inline-size; }
.hero-track { display: flex; align-items: stretch; height: 100%; transition: transform .35s ease; }
.hero-slide { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; min-height: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 20px 24px; }
.banner-copy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 140% at 100% 80%, rgba(199, 233, 8, .2), transparent 58%),
    #17191d;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-slide.banner-copy { border: 0; border-radius: 0; }
.banner-copy-text { position: relative; z-index: 1; display: grid; gap: 8px; max-width: 68%; }
.banner-copy h1, .banner-copy h2 { margin: 0; letter-spacing: -.03em; line-height: 1.05; font-weight: 700; }
.banner-copy h1 { font-size: 40px; }
.banner-copy h2 { font-size: 22px; }
.banner-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.35; }
.banner-watermark { position: absolute; right: 0; top: 50%; height: 78%; width: auto; max-width: 42%; transform: translateY(-50%); pointer-events: none; }
.banner-side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 0; }
.banner-side .banner { min-height: 0; height: 100%; padding: 16px 18px; justify-content: center; }
.banner-side .banner-copy p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.banner-art { position: relative; overflow: hidden; background: #101114; }
.banner-side .banner-art { height: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.hero-slide.banner-art { padding: 0; }
.hero-slide.banner-art img,
.banner-side .banner-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
a.hero-slide.banner-art { color: inherit; }
a.hero-slide.banner-art:focus-visible { outline: 2px solid var(--lime); outline-offset: -3px; }
a.hero-slide.banner-art:hover img { filter: brightness(1.04); }
.promo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-height: 0;
  height: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(169, 175, 181, .12);
  background:
    radial-gradient(80% 120% at 100% 120%, rgba(199, 233, 8, .42), transparent 58%),
    #1b1e12;
}
.promo-card[data-tone="1"] {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(47, 107, 255, .5), transparent 55%),
    #141820;
}
.promo-card[data-tone="2"] {
  background:
    radial-gradient(90% 110% at 0% 100%, rgba(199, 233, 8, .32), transparent 56%),
    #17141c;
}
.promo-card[data-tone="3"] {
  background:
    radial-gradient(90% 120% at 100% 100%, rgba(255, 176, 32, .34), transparent 54%),
    #1c1612;
}
.promo-card strong {
  position: relative;
  z-index: 1;
  max-width: 78%;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.promo-card span {
  position: relative;
  z-index: 1;
  max-width: 78%;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.promo-card::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -22px;
  width: 72px;
  height: 72px;
  background: url("/brand/mark.svg?v=4") center / contain no-repeat;
  pointer-events: none;
}
.promo-card-wide { grid-column: 1 / -1; }
@media (min-width: 981px) {
  .banner-board-split { grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
  .banner-board-split .hero-slider,
  .banner-board-split .feature-deck { height: 100%; min-height: 0; }
  .banner-side { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; height: 100%; }
}
@media (max-width: 980px) {
  .banner-board-split .banner-side { display: none; }
}
@media (max-width: 640px) {
  .hero-slide { padding: 16px; }
  .hero-slide.banner-art { padding: 0; }
  .banner-copy h1 { font-size: 28px; }
  .banner-watermark { height: 70%; }
}
.hero-nav { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; gap: 8px; }
.hero-nav button, .row-nav button {
  width: 36px; height: 36px; border: 0; border-radius: 10px;
  background: rgba(16, 17, 20, .72); color: var(--text);
}
.hall-bar { display: flex; align-items: flex-start; gap: 16px; margin-top: 16px; }
.hall-bar > .chips { align-self: center; }
.hall-bar:has(.chip-line) { flex-direction: column; align-items: stretch; gap: 0; width: 100%; min-width: 0; max-width: 100%; }
.chip-line { --chip-gap: 8px; display: flex; align-items: center; gap: var(--chip-gap); width: 100%; min-width: 0; max-width: 100%; min-height: 44px; }
.chips { display: flex; gap: 8px; margin: 0; overflow: auto; scrollbar-width: none; flex: 0 1 auto; min-width: 0; }
.chip-line > [data-section-chips] { flex: 0 0 auto; max-width: 100%; overflow: auto; }
.chip-line > .hall-search { flex: 0 1 260px; min-width: 180px; max-width: 260px; height: 40px; }
.chip-line > .hall-search input { height: 40px; }
/* Ряд по ширине целых плашек: кнопка стоит сразу за последней и не наезжает на имя. */
.chip-line > [data-provider-chips] { flex: 0 1 auto; width: auto; min-width: 0; max-width: 100%; overflow: hidden; }
.chip-line > [data-provider-chips].is-empty { width: 0; margin-right: calc(var(--chip-gap) * -1); }
/* Пока скрипт в конце страницы не подогнал плашки, ряд провайдеров не занимает всю ширину: иначе «Показать ещё» уезжает строкой ниже,
   а после подгонки возвращается и страница прыгает на 48px. */
[data-shelves]:not([data-chip-fit]) .chip-line > [data-provider-chips] { max-width: calc(100% - 9.5rem); }
.chips::-webkit-scrollbar { display: none; }
.chips button,
.chip-rest button {
  flex: 0 0 auto;
  height: 40px; padding: 0 14px; border: 0; border-radius: 12px;
  background: #1a1c20; color: var(--muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.chips button svg { flex: 0 0 auto; }
.chips button.is-on,
.chip-rest button.is-on { background: var(--lime); color: #111; }
.chip-more {
  display: inline-grid; flex: 0 0 auto; height: 40px; padding: 0 14px;
  border: 0; border-radius: 12px; background: #1a1c20; color: var(--text); white-space: nowrap;
}
.chip-more > span { grid-area: 1 / 1; align-self: center; }
.chip-more[aria-expanded="false"] [data-chip-shut],
.chip-more[aria-expanded="true"] [data-chip-open] { visibility: hidden; }
.chip-rest {
  position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px;
  max-height: 0; margin-top: 0; overflow: hidden; opacity: 0;
  transition: max-height .22s ease, opacity .22s ease, margin-top .22s ease;
}
.chip-rest.is-open {
  max-height: 184px; margin-top: 8px; opacity: 1; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #3a3d44 transparent;
}
@media (prefers-reduced-motion: reduce) {
  .chip-rest { transition: none; }
}
.chips a {
  height: 40px; padding: 0 14px; border-radius: 12px;
  background: #1a1c20; color: var(--muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.chips a:hover { color: var(--text); }
.chips a.is-on { background: var(--lime); color: #111; }
.chips a small { font-size: 12px; opacity: .7; }
.hall { margin-bottom: 8px; }
.search-count { margin: 18px 0 12px; color: var(--muted); }
.hall [data-search-results] .tile-wrap { margin-top: 14px; }
.hall [data-search-default] > .tile-wrap { margin-top: 18px; }
.hall-search {
  flex: 1 1 220px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 12px;
  background: #1a1c20;
  color: var(--muted);
}
.hall-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; outline: none; color: var(--text); }
.hall-search input::-webkit-search-cancel-button,
.dock-find input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.hall-search [data-search-clear],
.dock-find [data-search-clear] {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
}
.search-empty { margin: 18px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.row-head { display: flex; justify-content: flex-start; align-items: center; gap: 12px; margin: 22px 0 12px; min-width: 0; }
.row-head h2 { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 22px; line-height: 36px; font-weight: 700; letter-spacing: -.02em; }
.row-nav { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.row-nav a { color: var(--muted); font-weight: 700; white-space: nowrap; line-height: 36px; }
.tile-scroller { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tile-scroller::-webkit-scrollbar { display: none; }
.tile-scroller .tile { flex: 0 0 176px; scroll-snap-align: start; }
/* Страница раздела показывает игры сеткой, по одной странице. */
.tile-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; }
@media (max-width: 640px) { .tile-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.shelf.is-hidden { display: none; }
/* Полки и плитки за экраном браузер не раскладывает и не рисует: сотни плиток после подгрузки не тормозят прокрутку.
   180px — высота полки (отступ 22, заголовок 36, зазор 12, плитка 110); `auto` запоминает настоящую высоту после первого показа. */
.shelf { content-visibility: auto; contain-intrinsic-size: auto 180px; }
.tile-wrap > .tile { content-visibility: auto; contain-intrinsic-size: auto 150px; }
/* Кнопка «Показать ещё» и подвал не якорь прокрутки: порция встаёт над ними, и страница не уезжает вслед за ними вниз. */
.catalog-pager, .trust { overflow-anchor: none; }
.tile-grid, .account-grid, .trust { display: grid; gap: 12px; }
.tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.account-grid, .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.tile { display: block; color: inherit; }
.tile-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 8 / 5;
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(169, 175, 181, .12);
  background:
    radial-gradient(70% 42% at 50% 0%, rgba(199, 233, 8, .55), transparent 62%),
    linear-gradient(180deg, #2c3314 0%, #101114 68%);
}
.tile-art::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 16%;
  width: 92px;
  height: 92px;
  background: url("/brand/mark.svg?v=4") center / contain no-repeat;
  pointer-events: none;
}
.tile-art[data-tone="1"] { background: radial-gradient(70% 42% at 70% 0%, rgba(47, 107, 255, .55), transparent 60%), linear-gradient(180deg, #1a2436, #101114 70%); }
.tile-art[data-tone="2"] { background: radial-gradient(70% 46% at 20% 0%, rgba(199, 233, 8, .4), transparent 58%), linear-gradient(180deg, #241c30, #101114 70%); }
.tile-art[data-tone="3"] { background: radial-gradient(70% 42% at 80% 10%, rgba(255, 176, 32, .4), transparent 58%), linear-gradient(180deg, #2c2214, #101114 70%); }
.tile-art .badge { position: absolute; top: 10px; left: 10px; z-index: 1; }
.tile-art.is-live { background-color: #102033; }
.tile-art.is-live[data-accent="amber"] { box-shadow: inset 0 0 0 2px #ffb020; }
.tile-art.is-live[data-accent="cyan"] { box-shadow: inset 0 0 0 2px #3ee0ff; }
.tile-art.is-live[data-accent="violet"] { box-shadow: inset 0 0 0 2px #c084fc; }
.tile-art.is-live::after { display: none; }
.tile-art.is-live:not(.has-art)::after { display: block; opacity: .5; top: 14%; right: auto; left: 50%; width: 96px; height: 96px; margin-left: -48px; }
/* Подложка под подпись: название и поставщик читаются на любой картинке. */
.tile-art.is-live.has-art::after {
  display: block; inset: auto 0 0 0; top: auto; right: 0; width: auto; height: 62%;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0), rgba(8, 9, 11, .82));
}
.tile-art.has-art .tile-name { text-shadow: 0 1px 2px #000, 0 0 12px #000; }
/* Плитка 8/5, как широкая иконка провайдера: картинка заполняет карточку, название не обрезается по бокам. */
.tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.tile-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-pic.is-cover { object-fit: cover; }
/* На картинке провайдера название уже нарисовано: у плитки остаётся подпись поставщика, название читают экранные программы. */
.tile-art.hides-name .tile-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tile-studio { position: absolute; top: 8px; left: 8px; z-index: 2; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 999px; background: rgba(8, 10, 12, .74); color: rgba(244, 245, 246, .92); font-size: 10px; font-weight: 700; line-height: 1.3; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.tile-caption { position: relative; z-index: 1; margin-top: 3px; color: rgba(244, 245, 246, .7); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 2px #000, 0 0 10px #000; }
.tile-name { position: relative; z-index: 1; font-size: 15px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
/* Игра без картинки: знак по центру целиком, название и поставщик внизу. */
.tile-art.is-live:not(.has-art) { background-color: #101114; box-shadow: none; }
/* Карточка игры провайдера: путь, картинка и описание в два столбца; на телефоне картинка рядом с названием. */
.pg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 4px 0 14px; color: var(--muted-2); font-size: 13px; }
.pg-crumbs a { color: var(--muted); }
.pg-crumbs a:hover { color: var(--text); }
.pg-crumbs span:last-child { color: var(--text); overflow-wrap: anywhere; }
.pg {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  grid-template-areas: "art head" "art body";
  grid-template-rows: auto 1fr;
  column-gap: 28px;
  row-gap: 14px;
  max-width: 920px;
}
.pg-art { grid-area: art; align-self: start; width: 240px; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.pg-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-art-empty { display: grid; place-items: center; width: 100%; height: 100%; font-size: 72px; font-weight: 800; color: var(--lime); background: radial-gradient(70% 70% at 50% 0%, var(--lime-dim), transparent), var(--bg-3); }
.pg-head { grid-area: head; min-width: 0; align-self: end; }
.pg-head h1 { margin: 8px 0 12px; font-size: 32px; line-height: 1.12; overflow-wrap: anywhere; }
/* Своя игра: знак и текстовый заголовок в одну строку, по центру высоты обложки. */
.pg-head-own { align-self: center; }
.pg-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; min-width: 0; margin: 0 0 12px; }
.pg-brand img { height: 44px; width: auto; max-width: 100%; display: block; flex: 0 0 auto; }
.pg-head .pg-brand h1 { margin: 0; font-size: 28px; line-height: 1.05; letter-spacing: -.02em; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pg-chips li { padding: 5px 10px; border-radius: 999px; background: var(--glass); color: var(--text); font-size: 13px; line-height: 1.2; }
.pg-body { grid-area: body; min-width: 0; align-self: start; }
.pg-note { max-width: 62ch; margin: 0 0 16px; color: var(--muted); line-height: 1.5; }
.pg-body .field-error { margin: 0 0 12px; font-size: 14px; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-actions form { margin: 0; }
.pg-actions .btn { height: 48px; padding: 0 22px; font-size: 15px; text-decoration: none; }
.pg-facts { display: grid; gap: 0; max-width: 560px; margin: 28px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.pg-facts div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 11px 16px; }
.pg-facts div + div { border-top: 1px solid var(--line); }
.pg-facts dt { color: var(--muted); }
.pg-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .pg { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "art head" "body body"; column-gap: 14px; }
  .pg-art { width: 112px; }
  .pg-head { align-self: center; }
  .pg-head h1 { font-size: 24px; margin: 6px 0 8px; }
  .pg-brand { gap: 8px 10px; margin-bottom: 8px; }
  .pg-brand img { height: 32px; }
  .pg-head .pg-brand h1 { margin: 0; font-size: 22px; line-height: 1.05; }
  .pg-chips li { font-size: 12px; padding: 4px 8px; }
  .pg-actions { flex-direction: column; }
  .pg-actions form, .pg-actions .btn { width: 100%; }
  .pg-actions .btn { height: 50px; }
  .pg-facts { margin-top: 22px; }
  .pg-facts div { grid-template-columns: 120px minmax(0, 1fr); padding: 10px 14px; }
}

/* Игра провайдера. На широком экране шапка и меню остаются, рамка занимает свободное место.
   На телефоне игра — весь экран: короткая рамка шире самой игры, и провайдер оставляет чёрные поля по бокам. */
.pf { display: flex; flex-direction: column; gap: 10px; height: calc(100dvh - var(--top) - 44px); min-height: 420px; }
.pf-bar { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pf-back { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px 0 10px; border-radius: var(--radius-s); background: var(--glass); font-weight: 700; white-space: nowrap; }
.pf-back:hover { background: rgba(169, 175, 181, .2); }
.pf-title { min-width: 0; flex: 1; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-mode { padding: 4px 10px; border-radius: 999px; background: var(--glass); color: var(--muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.pf-mode.is-real { background: var(--lime); color: #111; }
.pf-full { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: var(--radius-s); background: var(--glass); }
.pf-full svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pf-stage { position: relative; flex: 1; min-height: 0; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.pf-stage:fullscreen { border: 0; border-radius: 0; }
.pf-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
@media (max-width: 980px) {
  html:has(.pf),
  body:has(.pf) { overflow: hidden; }
  body:has(.pf) .topbar,
  body:has(.pf) .tabbar,
  body:has(.pf) .dock { display: none; }
  body:has(.pf) .main { padding: 0; overflow: hidden; }
  body:has(.pf) .pf {
    position: fixed;
    inset: 0;
    z-index: 60;
    height: 100dvh;
    min-height: 0;
    gap: 0;
    background: #000;
  }
  body:has(.pf) .pf-full,
  body:has(.pf) .pf-title,
  body:has(.pf) .pf-mode { display: none; }
  body:has(.pf) .pf-bar {
    position: absolute;
    z-index: 2;
    top: calc(env(safe-area-inset-top) + 8px);
    left: 8px;
    width: auto;
    padding: 0;
    background: none;
    pointer-events: none;
  }
  body:has(.pf) .pf-back {
    pointer-events: auto;
    background: rgba(0, 0, 0, .72);
    color: #fff;
  }
  body:has(.pf) .pf-stage { margin: 0; border: 0; border-radius: 0; }
}
.dev-note, .page-head p, .promo p, .account-card p, .trust p { color: var(--muted); line-height: 1.45; }
.rules { width: 100%; max-width: 1000px; margin: 0 auto; padding: 4px 0 32px; }
.rules-top { display: flex; align-items: center; gap: 16px; min-height: 48px; margin-bottom: 16px; }
.rules-top h1 { margin: 0; font-size: 36px; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.rules-back {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 14px; background: var(--bg-3); color: var(--text); flex: 0 0 auto;
}
.rules-back:hover { background: var(--bg-4); }
.rules-tabs { margin: 0 0 16px; flex-wrap: wrap; overflow: visible; }
.rules-sheet { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px 36px; }
.rules-date { margin: 0 0 6px; color: var(--muted-2); font-size: 13px; line-height: 18px; }
.rules h2 { margin: 0 0 24px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.rules section + section { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.rules h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.rules [data-rules-doc] { counter-reset: part; }
.rules section { counter-increment: part; }
.rules ol { counter-reset: rule; list-style: none; margin: 0; padding: 0; color: #b4babf; font-size: 15px; line-height: 1.6; }
.rules li { position: relative; margin: 0 0 12px; padding-left: 2.6em; }
.rules li::before {
  content: counter(part) "." counter(rule); counter-increment: rule; position: absolute; left: 0; top: 0;
  color: var(--muted-2); font-variant-numeric: tabular-nums;
}
.rules li:last-child { margin-bottom: 0; }
.auth-card { max-width: 420px; display: grid; gap: 12px; }
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, .72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.auth-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.reg-modal { transform: translateY(8px); transition: transform .2s ease; }
.auth-overlay.is-open .reg-modal { transform: none; }
.reg-modal {
  display: grid;
  grid-template-columns: 48% 52%;
  width: min(800px, 100%);
  height: min(704px, calc(100vh - 32px));
  background: #16181c;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}
.reg-promo { position: relative; min-height: 0; height: 100%; background: #080a09; }
.reg-promo .banner-art { position: absolute; inset: 0; height: auto; border: 0; border-radius: 0; background: #080a09; }
.reg-promo .banner-art img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center top; background: #080a09; }
.reg-form { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 0; height: 100%; overflow: auto; }
.back-link { color: var(--muted); font-size: 14px; font-weight: 700; }
.auth-lead { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; text-wrap: pretty; }
.reg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; position: sticky; top: 0; z-index: 2; background: #16181c; }
.reg-head .reg-title { margin: 0; min-width: 0; font-size: clamp(22px, 6vw, 28px); line-height: 1.15; text-wrap: balance; }
.reg-head .reg-title .nowrap { white-space: nowrap; }
.reg-head [data-close-auth] {
  width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto;
  border: 0; padding: 0; background: transparent; color: var(--muted);
  font-size: 28px; line-height: 1;
}
body:has(.auth-overlay.is-open) { overflow: hidden; }
.auth-overlay :focus { outline: none; }
.auth-overlay button:focus-visible,
.auth-overlay a:focus-visible { outline: 2px solid rgba(187, 235, 0, .7); outline-offset: 2px; }
.reg-form form { display: grid; gap: 10px; }
.reg-form fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.reg-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  background: #101114;
  border: 1px solid var(--line);
}
.reg-field input, .reg-field select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 12px 0;
}
.auth-overlay .reg-field:focus-within,
.auth-overlay .phone-box:focus-within:not(.is-open),
.auth-overlay .country-search:focus-within {
  border-color: rgba(187, 235, 0, .55);
}
.phone-box {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding-right: 12px;
  border-radius: 12px;
  background: #101114;
  border: 1px solid var(--line);
}
.phone-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 10px 0 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.phone-flag img, .phone-globe { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; display: block; }
.phone-globe { color: var(--muted); display: grid; place-items: center; }
.phone-plus { color: var(--text); margin-right: 4px; }
.phone-box input[type="tel"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 12px 0;
}
.phone-box.is-open { border-color: #c6e84a; box-shadow: 0 0 0 1px #c6e84a; }
.country-dialog { position: fixed; inset: 0; z-index: 120; background: transparent; }
.country-dialog[hidden] { display: none; }
.country-sheet {
  position: fixed;
  z-index: 121;
  display: flex;
  flex-direction: column;
  background: #2a2d32;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.country-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 8px 4px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #1a1c20;
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
}
.country-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
}
.country-sheet ul { margin: 0; padding: 4px 6px 8px; list-style: none; overflow: auto; }
.country-sheet li[hidden] { display: none; }
.country-sheet button {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 72px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 8px 8px;
  border-radius: 8px;
  text-align: left;
}
.country-sheet button img { width: 20px; height: 20px; object-fit: cover; border-radius: 50%; }
.country-sheet .dial { color: #f4f5f6; font-size: 14px; }
.country-sheet .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-sheet button:hover { background: rgba(255, 255, 255, .06); }
.field-error { margin: -4px 0 0; color: #ffb4b4; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.social-note { margin: 0; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.35; }
.promo-toggle {
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, .18);
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.reveal-pass {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
}
.reveal-pass[aria-pressed="true"] { color: var(--text); }
.pick-btn .pick-label { flex: 1; text-align: left; }
.pick-btn .field-ico { color: var(--muted); }
.check { position: relative; display: flex; gap: 10px; align-items: flex-start; color: #d5d8dc; font-size: 14px; line-height: 1.35; cursor: pointer; }
.check input {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
}
.check-box {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: #101114;
  display: grid;
  place-items: center;
}
.check input:checked + .check-box {
  background: var(--lime);
  border-color: var(--lime);
}
.check input:checked + .check-box::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-45deg) translate(0, -1px);
}
.check a { color: #fff; }
.pick { position: relative; }
.pick-btn { width: 100%; justify-content: space-between; cursor: pointer; }
.pick-list {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 220px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #1c1e22;
  color: #f4f5f6;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.pick-list button {
  width: 100%;
  white-space: nowrap;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f4f5f6;
  padding: 10px 12px;
}
.pick-list button:hover,
.pick-list button.is-on { background: rgba(187, 235, 0, .18); }
.promo-fold { color: var(--muted); }
.promo-fold summary { cursor: pointer; padding: 8px 0; }
.field-ico { display: grid; color: var(--muted); flex: 0 0 auto; }
.login-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #101114;
  border: 1px solid var(--line);
}
.login-switch button {
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #c8ccd2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}
.login-switch button.is-on { background: #2c3036; color: #fff; }
.login-switch svg { display: block; }
.login-switch { margin-bottom: 24px; }
[data-auth-panel] { flex: 1 1 auto; display: flex; flex-direction: column; min-height: min-content; }
.reg-form form.login-stack {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: min-content;
}
.reg-form form.login-stack > * { flex-shrink: 0; }
.login-push { flex: 1 1 auto; min-height: 0; }
.login-stack .btn-block { height: 44px; border-radius: 12px; flex: 0 0 auto; }
[data-login-only] { display: grid; gap: 16px; }
.forgot {
  display: block;
  margin-top: 16px;
  color: var(--lime);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  width: fit-content;
}
.form-note { background: var(--lime-dim); color: var(--text); border-radius: var(--radius-s); padding: 10px 12px; }
.switch-auth { margin: 14px 0 0; text-align: center; }
.switch-auth a { color: var(--lime); }
.social-split {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
.social-split::before,
.social-split::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, .16);
}
.entry-marks { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 14px; }
.social-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line); background: #101114; font-weight: 800;
}
.social-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.social-line form { margin: 0; }
.social-line span { display: block; color: var(--muted); font-size: 13px; }
.auth-card label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.auth-card input, .auth-card textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px; color: var(--text);
}
.account-card dl { margin: 0; display: grid; gap: 8px; }
.account-card dt { color: var(--muted-2); font-size: 12px; }
.account-card dd { margin: 0; }
.trust { margin-top: 32px; }
.trust article { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; }
.trust h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.25; }
.trust p { flex: 1 0 auto; margin: 0; font-size: 14px; line-height: 1.5; }
.trust-link {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; margin-top: 4px; padding: 0 14px;
  border-radius: 10px; background: var(--glass); color: var(--text); font-size: 14px; font-weight: 600;
  transition: background .15s, color .15s;
}
.trust-link svg { flex: 0 0 auto; }
.trust-link:hover { background: var(--lime); color: #111; }
.site-foot { margin: 32px 0 0; padding: 24px 0 120px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 12px; line-height: 1.6; display: grid; gap: 20px; }
.site-foot p { margin: 0; }
.site-foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-foot-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-foot .site-foot-nav a { color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.site-foot .site-foot-nav a:hover { color: var(--lime); }
.site-foot-legal { display: grid; gap: 6px; max-width: 880px; }
.site-foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 16px; border-top: 1px solid var(--line); }
/* Подвал в той же колонке, что и текст страницы: иначе линия и ссылки шире карточки и начинаются левее. */
.main:has(.rules) .site-foot { width: min(1000px, 100%); margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }
.main:has(.wallet) .site-foot,
.main:has(.partner) .site-foot { width: min(1080px, 100%); margin-left: auto; margin-right: auto; }
.main:has(.profile) .site-foot { width: min(860px, 100%); margin-left: auto; margin-right: auto; }
.main:has(.rules, .wallet, .partner, .profile) .site-foot-legal { max-width: none; }
body:has(.pf) .site-foot { display: none; }
@media (max-width: 760px) {
  .trust article { padding: 16px; }
  .site-foot { padding-bottom: 128px; }
  .site-foot-nav { flex-direction: column; gap: 12px; }
  .site-foot-bar { flex-direction: column; }
}
.impersonation-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--lime-dim); }
.menu-mobile, .tabbar, .nav-backdrop { display: none; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 35; }
@media (max-width: 980px) {
  body { overflow: auto; }
  .shell { display: block; height: auto; min-height: 100%; }
  .menu-mobile { display: grid; }
  .dock { display: none; }
  .dock.is-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(280px, 86vw);
    z-index: 40;
    padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
  }
  .nav-backdrop.is-open { display: block; }
  .stage { min-height: 100vh; }
  .topbar { padding: 0 16px; }
  .main { min-width: 0; max-width: 100%; overflow: visible; padding: 8px 16px calc(var(--tabbar) + 24px + env(safe-area-inset-bottom)); }
  .rules { padding: 0 0 8px; }
  .rules-top { gap: 12px; margin-bottom: 14px; }
  .rules-top h1 { font-size: 28px; }
  .rules-back { width: 40px; height: 40px; border-radius: 12px; }
  .rules-tabs { flex-wrap: wrap; overflow: visible; }
  .rules-sheet { padding: 20px 16px 24px; border-radius: 14px; }
  .main:has(.rules) .site-foot { padding-left: 16px; padding-right: 16px; }
  .rules h2 { font-size: 22px; margin-bottom: 20px; }
  .hero-board, .tile-grid, .account-grid, .trust { grid-template-columns: 1fr 1fr; }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: calc(var(--tabbar) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #121314;
    border-top: 1px solid var(--line);
    z-index: 50;
  }
  .tab {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 0 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
  }
  .tab.is-on { color: var(--lime); }
  /* Крестик поиска лежит на нижней панели: клик должен доходить без прокрутки. */
  .chip-line > .hall-search { position: relative; z-index: 51; }
}
@media (max-width: 1199px) {
  .chip-line { flex-wrap: wrap; }
  .chip-line > [data-section-chips] { flex: 1 1 100%; max-width: 100%; flex-wrap: wrap; overflow: visible; }
  .chip-line > .hall-search { flex: 1 1 100%; width: 100%; min-width: 0; max-width: none; }
}
@media (max-width: 640px) {
  .hero-board, .tile-grid, .account-grid, .trust { grid-template-columns: 1fr; }
  .topbar { height: 56px; min-height: 56px; gap: 8px; padding: 0 16px; }
  .hall-bar { flex-wrap: wrap; gap: 8px; }
  .hall-search { flex: 1 1 100%; }
  .chips { flex: 1 1 100%; }
  .top-actions .btn { height: 40px; padding: 0 12px; }
  .hero-card h1, .page-head h1 { font-size: 28px; }
  .auth-overlay { padding: 0; align-items: stretch; overflow: hidden; }
  .reg-modal {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 200px minmax(0, 1fr);
  }
  .reg-form { height: auto; min-height: 0; overflow: auto; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .reg-promo, .reg-promo img { height: 200px; min-height: 200px; }
  .brand-lockup { display: none; }
  .brand-mark { display: block; }
  .wallet { gap: 12px; }
  .wallet-card { padding: 14px; }
}
@media (max-width: 640px) and (max-height: 700px) {
  .reg-modal { grid-template-rows: 168px minmax(0, 1fr); }
  .reg-promo, .reg-promo img { height: 168px; min-height: 168px; }
}

.corner { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; }
.balance-pill {
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 6px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: #1c1e22;
  color: var(--text);
  white-space: nowrap;
}
.balance-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2f6bff;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 auto;
}
.balance-mark[data-wide] { font-size: 11px; letter-spacing: -0.04em; }
.balance-figure { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.balance-caret { color: var(--muted); flex: 0 0 auto; }
.corner-deposit { height: 44px; padding: 0 16px; border-radius: 12px; }
.corner-deposit-plus { display: none; }
.corner-profile {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1c1e22;
  border: 1px solid rgba(255, 255, 255, .12);
  flex: 0 0 auto;
}
.corner-profile img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; }
@media (max-width: 640px) {
  .top-actions:has(.corner) { flex: 1 1 auto; margin-left: 0; justify-content: flex-end; }
  .top-actions .corner { flex: 1 1 auto; justify-content: center; gap: 8px; }
  .balance-pill, .corner-profile, .top-actions .corner-deposit { height: 32px; }
  .balance-pill { padding: 0 8px 0 4px; gap: 6px; border-radius: 8px; }
  .balance-mark { width: 20px; height: 20px; font-size: 11px; }
  .balance-mark[data-wide] { font-size: 8px; }
  .balance-figure { font-size: 13px; }
  .balance-caret { width: 10px; height: 7px; }
  .corner-profile { width: 32px; }
  .top-actions .corner-deposit { width: 32px; min-width: 32px; padding: 0; border-radius: 8px; }
  .corner-deposit-word { display: none; }
  .corner-deposit-plus { display: grid; place-items: center; font-size: 20px; line-height: 1; font-weight: 800; }
}
.corner-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(400px, calc(100vw - 24px));
  max-height: min(640px, calc(100dvh - var(--top) - 24px));
  overflow: auto;
  padding: 16px;
  border-radius: 16px;
  background: #17191c;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45);
  z-index: 60;
}
.corner-title { margin: 0 0 12px; font-size: 22px; line-height: 28px; font-weight: 800; }
.corner-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.corner-account { min-width: 0; margin-bottom: 12px; }
.corner-main .corner-account { margin: 0; }
.corner-account p { margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 18px; }
.corner-account strong { font-size: 28px; line-height: 34px; font-variant-numeric: tabular-nums; }
.corner-side { margin-bottom: 8px; }
.corner-side strong { font-size: 16px; line-height: 22px; }
.corner-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  background: #222428;
  color: var(--text);
  font-weight: 800;
  flex: 0 0 auto;
}
.corner-flag img { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.corner-flag svg { color: var(--muted); }
.corner-wallet { width: 100%; height: 48px; border-radius: 12px; margin-top: 4px; }
.corner-offer-status { margin: 10px 0 0; color: var(--lime); font-size: 13px; line-height: 18px; }
.corner-offers-title { margin: 16px 0 8px; font-size: 20px; line-height: 26px; font-weight: 800; }
.corner-offer {
  padding: 14px;
  border-radius: 12px;
  background: #1c1e22;
  border: 1px solid rgba(255, 255, 255, .06);
}
.corner-offer + .corner-offer { margin-top: 8px; }
.corner-offer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.corner-offer-head h3 { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--muted); }
.corner-offer-info { position: relative; flex: 0 0 auto; }
.corner-offer-info summary {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  list-style: none;
  cursor: pointer;
}
.corner-offer-info summary::-webkit-details-marker { display: none; }
.corner-offer-info p {
  position: absolute;
  right: 0;
  top: 24px;
  width: min(240px, calc(100vw - 64px));
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #111;
  color: var(--text);
  font-size: 12px;
  line-height: 16px;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.corner-offer-line { margin: 8px 0 0; font-size: 22px; line-height: 28px; font-weight: 800; }
.corner-offer-note { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.corner-offer-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 12px; }
.corner-offer-row form { margin: 0; }
.corner-offer-row .btn { height: 44px; padding: 0 16px; border-radius: 12px; }
.corner-offer-when { margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 16px; }
.corner-offer-clock { display: flex; align-items: center; gap: 4px; margin: 0; }
.corner-offer-clock [data-offer-part] {
  min-width: 44px;
  height: 28px;
  padding: 0 6px;
  border-radius: 8px;
  background: #222428;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.corner-offer-colon { color: var(--muted); font-weight: 800; }
@media (max-width: 980px) {
  .corner-panel {
    position: fixed;
    top: calc(var(--top) + 8px);
    left: 8px;
    right: 8px;
    width: auto;
    max-height: calc(100dvh - var(--top) - var(--tabbar) - 16px);
  }
}
@media (max-width: 640px) {
  .corner-panel { top: 64px; max-height: calc(100dvh - 64px - var(--tabbar) - 8px); }
  .corner-account strong { font-size: 24px; line-height: 30px; }
  .corner-offer-line { font-size: 20px; line-height: 26px; }
}
@media (max-width: 380px) {
  .corner-offer-row { flex-wrap: wrap; }
  .corner-offer-row form, .corner-offer-row .btn { width: 100%; }
}
.corner-logout {
  width: 100%;
  height: 36px;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}
.wallet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.wallet-card {
  min-width: 0;
  padding: 18px;
  border-radius: 18px;
  background: #141618;
  border: 1px solid rgba(255, 255, 255, .06);
}
.wallet-card h1, .wallet-card h2 { margin: 0 0 14px; font-size: 28px; line-height: 1.1; }
.wallet-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #1c1e22;
}
.wallet-tab {
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}
.wallet-tab.is-on { background: #2a2d32; color: var(--text); }
.wallet-region {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  margin-top: 14px;
  padding: 0 14px;
  border-radius: 14px;
  background: #1c1e22;
}
.wallet-region-value { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.wallet-region-value img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.wallet-region-pick { position: relative; }
.wallet-region-pick > summary { list-style: none; cursor: pointer; }
.wallet-region-pick > summary::-webkit-details-marker { display: none; }
.wallet-region-caret { color: var(--muted); }
.wallet-region-pick[open] .wallet-region-caret { transform: rotate(180deg); }
.wallet-region-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  display: grid;
  gap: 2px;
  min-width: 240px;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(169, 175, 181, .16);
  border-radius: 12px;
  background: #1a1b1e;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
}
.wallet-region-menu form { margin: 0; }
.wallet-region-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.wallet-region-menu button:hover { background: var(--glass); }
.wallet-region-menu button[aria-current="true"] { color: var(--lime); cursor: default; }
.wallet-region-menu img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.flag-ru {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(#fff 0 33%, #224c9a 33% 66%, #d52b1e 66% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
}
.wallet-label { margin: 16px 0 8px; color: var(--muted); font-size: 13px; }
.pay-due {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: #1c1e22;
}
.pay-due strong { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.pay-due em { display: block; margin-top: 4px; color: var(--muted); font-style: normal; font-size: 13px; }
.pay-due p { margin: 10px 0 0; font-size: 16px; line-height: 1.4; }
.pay-due .btn { margin-top: 12px; }
.pay-list { border-radius: 14px; background: #1c1e22; overflow: auto; max-height: 420px; }
.pay-method {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 12px;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: transparent;
  color: var(--text);
  text-align: left;
}
.pay-method:last-child { border-bottom: 0; }
.pay-method.is-on { background: rgba(187, 235, 0, .08); }
.pay-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: #2a2d32;
}
.pay-mark[data-wide] { font-size: 12px; letter-spacing: -0.04em; }
.pay-mark[data-tone="crypto"] { background: #1f3d32; color: #7dffa8; }
.pay-mark[data-tone="sbp"] { background: #2a2148; color: #c9b6ff; }
.pay-mark[data-tone="tbank"] { background: #3a2a10; color: #ffd27a; }
.pay-mark[data-tone="alfa"] { background: #3a1518; color: #ff8d8d; }
.pay-mark[data-tone="sber"] { background: #14321f; color: #8dffb0; }
.pay-mark[data-tone="ars"] { background: #1d3550; color: #9ad0ff; }
.wallet-fields { display: grid; gap: 8px; margin: 12px 0; }
.wallet-form > .field-error {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 18px;
  text-align: start;
  overflow-wrap: break-word;
}
.wallet-form > .field-error + .wallet-fields { margin-top: 10px; }
.wallet-fields .profile-field select {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  padding: 0 16px;
  font-size: 14px;
}
.wallet-fields .profile-choice select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  padding: 0;
}
.wallet-fields .profile-menu { width: 100%; min-width: 0; }
.wallet-amount b {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9fa5ac;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}
.profile-field.wallet-amount input { padding-right: 72px; }
.pay-history { list-style: none; margin: 12px 0 0; padding: 0; }
.pay-history li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.pay-history strong { text-align: right; font-variant-numeric: tabular-nums; }
.pay-history-title { display: grid; gap: 2px; }
.pay-history-title time { color: var(--muted-2); font-size: 12px; font-weight: 400; }
.pay-history em { grid-column: 1 / -1; color: var(--muted); font-style: normal; font-size: 13px; }
.pay-history em b { font-weight: 700; }
.pay-history li[data-tone="paid"] em b { color: var(--lime); }
.pay-history li[data-tone="open"] em b { color: #ffd479; }
.pay-history li[data-tone="failed"] em b { color: #ff9c9c; }
.pay-history small { grid-column: 1 / -1; color: #ffb4b4; }
.pay-history small.is-hint { color: var(--muted); }
.pay-history-go { grid-column: 1 / -1; justify-self: start; margin-top: 4px; padding: 7px 14px; border-radius: 8px; background: var(--lime); color: #0b0c0d; font-size: 13px; font-weight: 700; text-decoration: none; }
.pay-history-go:hover { filter: brightness(1.06); }
.pay-history-cancel { grid-column: 1 / -1; justify-self: start; margin: 4px 0 0; }
.pay-history-cancel button { padding: 7px 14px; border: 0; border-radius: 8px; background: var(--glass); color: var(--text); font-size: 13px; font-weight: 700; cursor: pointer; }
.pay-history-cancel button:hover { background: rgba(255, 255, 255, .16); }
.pay-copy { min-width: 0; }
.pay-copy strong, .pay-copy span { display: block; }
.pay-copy strong { font-size: 15px; }
.pay-copy span { margin-top: 2px; color: var(--muted); font-size: 13px; }
.pay-copy .pay-rate { display: flex; flex-wrap: wrap; column-gap: .35em; }
.pay-copy .pay-rate span { display: inline; margin-top: 0; }
.pay-copy .pay-rate span.is-pair { white-space: nowrap; }
.pay-method:has(.pay-badge) { grid-template-columns: 40px minmax(0, 1fr) auto 12px; }
.pay-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: #2a2d32;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.pay-method svg { color: var(--muted-2); }
.promo-preview { margin: 8px 0 0; color: #ffb4b4; font-weight: 700; }
.bonus-card .promo-preview { min-width: 0; margin: 0; font-size: 14px; line-height: 20px; overflow: hidden; }
.promo-preview svg, .wallet-bonus-art svg { display: block; width: 100%; height: auto; }
.wallet-bonus-art + .wallet-bonus-art { margin-top: 10px; }
.wallet-continue { width: 100%; height: 52px; margin-top: 14px; border-radius: 14px; }
.wallet-hint { margin: 10px 0 0; color: #ffb4b4; font-weight: 700; }
.wallet-footnote { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.wallet-card .corner-offer { margin-top: 12px; }
.wallet-pay-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wallet-pay-head h2 { margin: 0; }
.wallet-back {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #1c1e22;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}
.wallet-method-name { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.2; }
.wallet-method-name:empty { display: none; }
.wallet-card [data-wallet-pick],
.wallet-card [data-wallet-pay] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wallet-card [data-wallet-pay]:not([hidden]) {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.wallet-card [data-wallet-pick] > *,
.wallet-card [data-wallet-pay] > * {
  margin-top: 0;
  margin-bottom: 0;
}
.wallet-promo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wallet-promo .wallet-continue,
.wallet-promo .wallet-footnote,
.wallet-promo .field-error,
.wallet-promo .promo-preview {
  margin: 0;
}
.wallet-empty-title { margin: 18px 0 8px; font-size: 20px; font-weight: 800; }
.wallet-card p { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .wallet { grid-template-columns: minmax(0, 1fr); }
  .pay-list { max-height: none; }
}
.profile { display: flex; flex-direction: column; width: min(860px, 100%); margin: 0 auto; overflow-anchor: none; }
.profile-head { display: flex; align-items: center; gap: 16px; min-height: 36px; margin: 0 0 24px; }
.profile-head h1 { margin: 0; font-size: 28px; line-height: 32px; font-weight: 600; letter-spacing: -0.8px; }
.profile-back {
  width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 6px; background: var(--glass); color: var(--text);
}
.profile > .form-note, .profile > .field-error { margin: 0 0 12px; }
.profile-id {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: #1a1b1e;
  color: var(--text);
}
.profile-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.wager-block { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.wager-block h2 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 600; letter-spacing: -0.4px; }
.wager-list { gap: 16px; }
.wager-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 18px;
}
.wager-row-head span:first-child { font-weight: 600; }
.wager-row-head span:last-child {
  margin-left: auto;
  color: #9fa5ac;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.wager-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.wager-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
}
.wager-p-1 { width: 1%; } .wager-p-2 { width: 2%; } .wager-p-3 { width: 3%; } .wager-p-4 { width: 4%; } .wager-p-5 { width: 5%; }
.wager-p-6 { width: 6%; } .wager-p-7 { width: 7%; } .wager-p-8 { width: 8%; } .wager-p-9 { width: 9%; } .wager-p-10 { width: 10%; }
.wager-p-11 { width: 11%; } .wager-p-12 { width: 12%; } .wager-p-13 { width: 13%; } .wager-p-14 { width: 14%; } .wager-p-15 { width: 15%; }
.wager-p-16 { width: 16%; } .wager-p-17 { width: 17%; } .wager-p-18 { width: 18%; } .wager-p-19 { width: 19%; } .wager-p-20 { width: 20%; }
.wager-p-21 { width: 21%; } .wager-p-22 { width: 22%; } .wager-p-23 { width: 23%; } .wager-p-24 { width: 24%; } .wager-p-25 { width: 25%; }
.wager-p-26 { width: 26%; } .wager-p-27 { width: 27%; } .wager-p-28 { width: 28%; } .wager-p-29 { width: 29%; } .wager-p-30 { width: 30%; }
.wager-p-31 { width: 31%; } .wager-p-32 { width: 32%; } .wager-p-33 { width: 33%; } .wager-p-34 { width: 34%; } .wager-p-35 { width: 35%; }
.wager-p-36 { width: 36%; } .wager-p-37 { width: 37%; } .wager-p-38 { width: 38%; } .wager-p-39 { width: 39%; } .wager-p-40 { width: 40%; }
.wager-p-41 { width: 41%; } .wager-p-42 { width: 42%; } .wager-p-43 { width: 43%; } .wager-p-44 { width: 44%; } .wager-p-45 { width: 45%; }
.wager-p-46 { width: 46%; } .wager-p-47 { width: 47%; } .wager-p-48 { width: 48%; } .wager-p-49 { width: 49%; } .wager-p-50 { width: 50%; }
.wager-p-51 { width: 51%; } .wager-p-52 { width: 52%; } .wager-p-53 { width: 53%; } .wager-p-54 { width: 54%; } .wager-p-55 { width: 55%; }
.wager-p-56 { width: 56%; } .wager-p-57 { width: 57%; } .wager-p-58 { width: 58%; } .wager-p-59 { width: 59%; } .wager-p-60 { width: 60%; }
.wager-p-61 { width: 61%; } .wager-p-62 { width: 62%; } .wager-p-63 { width: 63%; } .wager-p-64 { width: 64%; } .wager-p-65 { width: 65%; }
.wager-p-66 { width: 66%; } .wager-p-67 { width: 67%; } .wager-p-68 { width: 68%; } .wager-p-69 { width: 69%; } .wager-p-70 { width: 70%; }
.wager-p-71 { width: 71%; } .wager-p-72 { width: 72%; } .wager-p-73 { width: 73%; } .wager-p-74 { width: 74%; } .wager-p-75 { width: 75%; }
.wager-p-76 { width: 76%; } .wager-p-77 { width: 77%; } .wager-p-78 { width: 78%; } .wager-p-79 { width: 79%; } .wager-p-80 { width: 80%; }
.wager-p-81 { width: 81%; } .wager-p-82 { width: 82%; } .wager-p-83 { width: 83%; } .wager-p-84 { width: 84%; } .wager-p-85 { width: 85%; }
.wager-p-86 { width: 86%; } .wager-p-87 { width: 87%; } .wager-p-88 { width: 88%; } .wager-p-89 { width: 89%; } .wager-p-90 { width: 90%; }
.wager-p-91 { width: 91%; } .wager-p-92 { width: 92%; } .wager-p-93 { width: 93%; } .wager-p-94 { width: 94%; } .wager-p-95 { width: 95%; }
.wager-p-96 { width: 96%; } .wager-p-97 { width: 97%; } .wager-p-98 { width: 98%; } .wager-p-99 { width: 99%; } .wager-p-100 { width: 100%; }
.wager-left { margin: 8px 0 0; color: #9fa5ac; font-size: 12px; line-height: 16px; }
.wager-notes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wager-notes li { display: grid; gap: 4px; margin: 0; padding: 10px 12px; border-radius: var(--radius-s); background: var(--lime-dim); color: var(--text); font-size: 13px; line-height: 18px; }
.wager-notes b { font-weight: 600; }
.wager-notes span { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .wager-row-head { flex-wrap: wrap; }
  .wager-block h2 { font-size: 18px; line-height: 22px; }
}
.profile-id img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.profile-id [data-copy-label] { font-size: 12px; font-weight: 600; letter-spacing: -0.04px; }
.profile-id svg { width: 16px; height: 16px; color: #9fa5ac; flex: 0 0 auto; }
.profile-tabs {
  display: inline-flex;
  align-self: flex-start;
  height: 44px;
  margin-top: 12px;
  padding: 2px;
  border-radius: 8px;
  background: var(--glass);
}
.profile-tabs button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9fa5ac;
  font-size: 14px;
  font-weight: 600;
}
.profile-tabs button.is-on { background: rgba(169, 175, 181, 0.16); color: var(--text); }
.profile-pane, .profile-form { display: flex; flex-direction: column; gap: 32px; }
.profile-pane { margin-top: 20px; }
.profile-section { display: flex; flex-direction: column; gap: 16px; }
.profile-stack { display: flex; flex-direction: column; gap: 8px; }
.profile-section h2 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 600; letter-spacing: -0.4px; }
@media (max-width: 720px) {
  .profile-section h2 { font-size: 18px; line-height: 22px; }
}
.profile-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: var(--glass);
}
.profile-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #1a1b1e;
}
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-field {
  position: relative;
  display: block;
  height: 44px;
  border-radius: 8px;
  background: var(--glass);
}
.profile-field input {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  padding: 0 16px;
  font-size: 14px;
  color-scheme: dark;
}
.profile-field input::placeholder { color: #9fa5ac; }
.profile-field:focus-within { outline: 2px solid rgba(187, 235, 0, 0.45); }
.profile-field > span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9fa5ac;
  font-size: 14px;
  pointer-events: none;
}
.profile-choice strong:empty { display: none; }
.profile-choice strong {
  position: absolute;
  left: 16px;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-choice strong.is-placeholder { color: #9fa5ac; }
.profile-line.profile-choice strong {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
}
.profile-choice select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.profile-id-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.profile-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; flex: 0 0 auto; }
.profile-date-btn {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.profile-date-btn .is-placeholder { color: #9fa5ac; }
.profile-date-btn svg { color: #9fa5ac; flex: 0 0 auto; }
.profile-pop {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 40;
  min-width: 180px;
  padding: 8px;
  border-radius: 12px;
  background: #141517;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.profile-date .profile-pop { width: min(320px, calc(100vw - 48px)); }
.profile-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.profile-menu button:hover { background: rgba(169, 175, 181, .16); }
.profile-menu {
  display: flex;
  flex-direction: column;
  max-height: min(320px, 70vh);
  overflow: hidden;
  box-sizing: border-box;
  z-index: 75;
}
.profile-menu[hidden] { display: none; }
.profile-menu.is-up { top: auto; bottom: calc(100% + 8px); }
.profile-menu .menu-scroll {
  overflow: auto;
  min-height: 0;
  flex: 1 1 auto;
  overscroll-behavior: contain;
}
.profile-menu .menu-find { flex: 0 0 auto; display: block; margin: 0 0 6px; }
.profile-menu .menu-find input {
  width: 100%;
  height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #101114;
  color: var(--text);
  font-size: 16px;
  color-scheme: dark;
}
.profile-choice:focus-within:has([data-menu-find]:focus) { outline: none; }
.profile-menu:focus-within { outline: 2px solid rgba(187, 235, 0, .45); }
.profile-menu .menu-empty {
  flex: 0 0 auto;
  margin: 4px 8px 6px;
  color: var(--muted);
  font-size: 13px;
}
.profile-menu button.is-on,
.profile-menu button.is-on:hover { background: rgba(187, 235, 0, .16); }
.profile-menu button[hidden] { display: none; }
.profile-cal-head, .profile-cal-nav { display: flex; align-items: center; gap: 8px; }
.profile-cal-head { justify-content: space-between; margin-bottom: 8px; }
.profile-cal-head button, .profile-cal-nav button {
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(169, 175, 181, .12);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.profile-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.profile-cal-grid span, .profile-cal-grid button {
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9fa5ac;
  font-size: 12px;
  font-weight: 600;
}
.profile-cal-grid button { color: var(--text); cursor: pointer; font-size: 14px; }
.profile-cal-grid button.is-out { color: #6b727a; }
.profile-cal-grid button:disabled { color: #3d4248; cursor: default; }
.profile-cal-grid button:hover:not(:disabled) { background: rgba(169, 175, 181, .16); }
.profile-ask { margin: 0; font-size: 14px; font-weight: 600; }
.profile-pass, .profile-phone-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: #1a1b1e;
}
.profile-phone { display: flex; align-items: center; gap: 8px; padding: 0 12px; }
.profile-phone img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; flex: 0 0 auto; }
.profile-phone select {
  width: auto;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}
.profile-phone input { padding-left: 0; }
.profile-next {
  align-self: flex-start;
  width: fit-content;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: rgba(169, 175, 181, .12);
  color: #9fa5ac;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.profile-next:not(:disabled) { background: var(--lime); color: #111; }
.profile-next:disabled { cursor: not-allowed; }
.profile-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar, 0px) + 24px);
  transform: translateX(-50%);
  z-index: 70;
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #1a1b1e;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}
.profile-choice::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid #9aa0a8;
  border-bottom: 1.6px solid #9aa0a8;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.profile .profile-save { width: 100%; height: 44px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.profile .profile-save:disabled { opacity: .5; cursor: not-allowed; }
.profile-field.profile-nick > span { top: 4px; transform: none; font-size: 12px; line-height: 16px; }
.profile-field.profile-nick input { padding: 16px 16px 0; }
.profile-rest { margin: 0; color: #9fa5ac; font-size: 14px; font-weight: 600; }
.profile-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
}
.profile-sheet-card {
  width: min(434px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 16px 16px 20px;
  border-radius: 16px 16px 0 0;
  background: #141517;
}
.profile-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-sheet-head h2 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 600; }
.profile-avatars { display: flex; gap: 12px; padding: 6px 2px 2px; }
.profile-avatars label { position: relative; flex: 0 0 107px; }
.profile-avatars input { position: absolute; opacity: 0; }
.profile-avatars img { width: 107px; height: 107px; border-radius: 50%; object-fit: cover; display: block; background: #1a1b1e; }
.profile-avatars input:checked + img { box-shadow: 0 0 0 3px var(--lime); }
@media (min-width: 721px) {
  .profile-sheet { align-items: center; }
  .profile-sheet-card { border-radius: 16px; }
}
.profile-required { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; color: #fff; font-size: 14px; font-weight: 600; }
.profile-required svg { flex: 0 0 auto; }
.profile-shell { border-radius: 12px; background: var(--glass); }
.profile-shell > .profile-line { background: transparent; }
.profile-line {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: #1a1b1e;
}
.profile-line > select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.profile-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--glass);
  color: var(--text);
}
.profile-line-copy { min-width: 0; display: grid; gap: 2px; justify-items: start; flex: 1 1 auto; }
.profile-line-copy small { color: #9fa5ac; font-size: 12px; line-height: 16px; }
.profile-line-copy strong { font-size: 14px; font-weight: 600; line-height: 20px; overflow-wrap: anywhere; }
.profile-social { min-height: 70px; border-radius: 8px; background: #1f2123; }
.profile-social .profile-line-copy strong { font-size: 12px; line-height: 16px; }
.profile-miss {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--glass);
  color: var(--text);
  font-size: 12px;
  line-height: 16px;
  font-style: normal;
  font-weight: 600;
}
.profile .profile-pill { height: 36px; padding: 0 14px; border-radius: 6px; flex: 0 0 auto; font-size: 14px; font-weight: 600; }
.profile-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  background: var(--glass);
  color: var(--text);
}
.profile-lock { color: #9fa5ac; font-size: 13px; text-align: right; }
.profile-reveal { display: grid; gap: 12px; }
.profile .profile-logout {
  height: 44px;
  width: fit-content;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--glass);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.profile-hint { margin: 0; color: #9fa5ac; font-size: 13px; }
.profile-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: #b6f23a;
  font-size: 13px;
  font-weight: 800;
}
.profile-online::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddb7a;
}
.profile .social-note { margin: 8px 0 0; }
@media (max-width: 980px) {
  .profile { padding-bottom: 12px; }
}
@media (max-width: 720px) {
  .profile-head h1 { font-size: 22px; line-height: 28px; letter-spacing: -0.64px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-pane, .profile-form { gap: 24px; }
}
.otp-stack { flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; min-height: min-content; }
.otp-stack > * { flex-shrink: 0; }
.otp-stack form { display: grid; gap: 12px; }
.otp { display: flex; justify-content: center; gap: 10px; width: 100%; }
.otp-cell {
  width: 56px;
  max-width: calc((100% - 30px) / 4);
  height: 64px;
  border-radius: 12px;
  border: 1px solid rgba(244, 245, 246, .28);
  background: transparent;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.otp-cell:focus { border-color: var(--lime); }
.otp-cell:disabled { opacity: .45; }
.otp-life, .otp-resend { margin: 0; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.otp-resend button, .otp-resend a {
  border: 0;
  padding: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.retry-note { margin: 0 0 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.profile-phone-form .otp-stack { width: 100%; }

/* Страница «Провайдеры»: карточка на поставщика с мозаикой из его игр. */
.provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 18px; }
.provider-card { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.provider-card:hover { border-color: rgba(187, 235, 0, .45); background: var(--bg-3); }
.provider-card strong { margin-top: 8px; font-size: 17px; overflow-wrap: anywhere; }
.provider-card > span:last-child { color: var(--muted); font-size: 13px; }
.provider-covers { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--bg-3); }
.provider-covers img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* Валюта счёта: те же строки, что страна и контакты. Кнопка в правой колонке и на узком экране не переносится. */
.profile-hint { margin: 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.currency-row.is-active { box-shadow: inset 0 0 0 1px rgba(187, 235, 0, .55); }
.currency-mark { font-size: 12px; font-weight: 800; letter-spacing: -0.04em; }
.currency-row form { margin: 0; flex: 0 0 108px; }
.currency-row .btn { width: 100%; }
.currency-row .profile-line-copy small { overflow-wrap: anywhere; }
.currency-badge {
  flex: 0 0 108px;
  width: 108px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--lime);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.corner-currency { display: block; margin: 4px 0 0; padding: 10px 0 2px; color: var(--muted); font-size: 13px; text-align: center; }
.corner-currency:hover { color: var(--text); }
.pg-currency a { margin-left: 6px; color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.pg-currency.is-off { color: #ffb4b4; }

/* Рефералы в кабинете: статистика, ссылка и баланс, список приглашённых. */
.ref { gap: 16px; }
.profile-section.ref { width: min(1080px, 100%); container-type: inline-size; }
.profile-section.ref .profile-hint { max-width: 68ch; }
.ref-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 12px; align-items: start; }
.ref-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 12px; background: #1a1b1e; }
.ref-card h3 { margin: 0; font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.3px; }
.ref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; flex: 0 0 auto; }
.ref-stat { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 84px; padding: 14px 16px; border-radius: 10px; background: #222428; }
.ref-stat small { color: var(--muted); font-size: 12px; line-height: 16px; }
.ref-stat strong { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.4px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ref-stat strong i { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 600; }
.ref-side { gap: 14px; }
.ref-field { display: grid; gap: 6px; }
.ref-field > small { color: var(--muted); font-size: 12px; line-height: 16px; }
.ref-link { display: flex; align-items: stretch; gap: 8px; }
.ref-link input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; background: #222428; color: var(--text); font: inherit; font-size: 13px; text-overflow: ellipsis; }
.ref-link input:focus { outline: none; border-color: rgba(187, 235, 0, .55); }
.ref-copy { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--lime); color: #111; cursor: pointer; }
.ref-copy:hover { filter: brightness(1.08); }
.ref-box { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; background: #222428; font-size: 14px; font-weight: 600; }
.ref-balance { font-size: 18px; letter-spacing: -.3px; }
.ref-claim { width: 100%; height: 46px; }
.ref-claim[disabled] { opacity: .45; cursor: not-allowed; }
.ref-wait { margin: 0; color: var(--muted); font-size: 12px; line-height: 17px; }
.ref-table { gap: 12px; }
.ref-scroll { overflow-x: auto; border-radius: 10px; background: #222428; }
.ref-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13px; }
.ref-table th { padding: 12px 16px; text-align: left; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ref-table td { padding: 12px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.ref-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.ref-table .ref-empty { padding: 28px 16px; text-align: center; color: var(--muted); white-space: normal; }
.ref-pager { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ref-pager a, .ref-pager span { padding: 8px 14px; border-radius: 8px; background: var(--glass); font-size: 13px; font-weight: 600; }
.ref-pager span { opacity: .4; }
.ref-pager b { min-width: 52px; padding: 8px 12px; border-radius: 8px; background: var(--lime); color: #111; font-size: 13px; text-align: center; }
@media (max-width: 860px) {
  .ref-layout { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 920px) {
  .ref-layout { grid-template-columns: minmax(0, 1fr); }
  .ref-side { max-width: 420px; }
}
@media (max-width: 520px) {
  .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-card { padding: 16px; }
}


/* Бонусы: три карточки в ряд, как кабинет. Цвета и радиус — общие с залом. */
.bonuses { display: grid; gap: 16px; max-width: min(1180px, calc(100% - 248px)); container-type: inline-size; }
.bonuses [data-bonus-pane] { display: grid; gap: 16px; align-content: start; }
.bonus-switch { display: flex; gap: 8px; }
.bonus-switch button { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--glass); color: var(--muted); font-weight: 700; }
.bonus-switch button.is-on { background: var(--lime); color: #111; }
.bonus-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.bonus-head-copy { display: grid; gap: 2px; min-width: 0; }
.bonus-head-copy .bonus-caption { margin: 0; color: var(--muted); }
.bonus-head-copy .bonus-caption a:hover { color: var(--lime); }
.bonus-head h1 { margin: 0; font-size: 28px; line-height: 34px; letter-spacing: -.4px; }
.bonus-tickets { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); color: var(--text); }
.bonus-tickets-copy { display: grid; text-align: left; }
.bonus-tickets-copy span { color: var(--muted); font-size: 12px; line-height: 16px; }
.bonus-tickets-copy strong { font-size: 14px; }
.bonus-tickets-go { height: 36px; padding: 0 12px; border-radius: 8px; background: var(--lime); color: #111; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; }
.bonus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@container (max-width: 720px) {
  .bonus-grid { grid-template-columns: 1fr; }
}
.bonus-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.bonus-card h2 { margin: 0; font-size: 22px; line-height: 28px; }
.bonus-card h2 span { color: var(--lime); }
.bonus-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.bonus-card form { display: grid; gap: 10px; margin-top: auto; }
.bonus-sum, .bonus-card p.bonus-sum { color: var(--text); font-size: 28px; line-height: 34px; font-weight: 800; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.bonus-card > .bonus-next { margin-top: auto; }
.bonus-card > .bonus-action:last-child { margin-top: auto; }
.bonus-caption, .bonus-card p.bonus-caption, .bonus-when, .bonus-card p.bonus-when { font-size: 13px; }
.bonus-code { width: 100%; height: 44px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; background: #222428; color: var(--text); }
.bonus-code:focus { outline: none; border-color: rgba(187, 235, 0, .55); }
.bonus-code:disabled { opacity: .45; }
.bonus-action { width: 100%; }
.bonus-action:disabled { background: #2a2e12; color: #a3aa72; opacity: 1; }
.bonus-gift { position: relative; height: 148px; margin: 8px 0; border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(187, 235, 0, .18), transparent 62%), var(--bg-3); }
.bonus-gift-box, .bonus-gift-lid { position: absolute; left: 50%; width: 112px; border-radius: 10px; background: linear-gradient(180deg, #d6f25a, var(--lime)); }
.bonus-gift-box { top: 62px; height: 68px; transform: translateX(-50%); }
.bonus-gift-lid { top: 38px; height: 28px; transform: translateX(-50%); }
.bonus-gift-bow { position: absolute; left: 50%; top: 28px; width: 18px; height: 78px; transform: translateX(-50%); background: #111; border-radius: 8px; }
.bonus-gift-bow::before, .bonus-gift-bow::after { content: ""; position: absolute; top: -8px; width: 22px; height: 16px; border: 3px solid #111; border-radius: 12px 12px 4px 4px; }
.bonus-gift-bow::before { left: -18px; }
.bonus-gift-bow::after { right: -18px; }
.bonus-levels { width: 100%; margin-top: auto; border-collapse: collapse; font-size: 13px; }
.bonus-levels th { padding: 8px 6px; color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; }
.bonus-levels td { padding: 8px 6px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.bonus-levels tr.is-current td { background: var(--lime-dim); color: var(--text); font-weight: 700; }
.bonus-levels tr.is-current td:first-child { border-radius: 8px 0 0 8px; }
.bonus-levels tr.is-current td:last-child { border-radius: 0 8px 8px 0; }


.bonuses > .form-note, .bonuses > .field-error, .bonuses [data-bonus-pane] > .form-note, .bonuses [data-bonus-pane] > .field-error { margin: 0; }
@media (max-width: 980px) {
  .bonus-grid { grid-template-columns: 1fr; }
  .bonus-head { align-items: flex-start; }
  .bonus-head h1 { font-size: 24px; line-height: 30px; }
  .bonuses { max-width: 100%; }
  .bonus-issued, .bonus-grid, .bonus-queue { margin-right: 60px; }
  body:has(.bonuses) .bonus-play { display: none; }
  body:has(.bonuses) .tg-play .tg-play-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

.profile-id-main { flex-wrap: wrap; }
.profile-copy-ref { padding: 8px 12px; border-radius: 8px; background: var(--glass); font-size: 13px; gap: 8px; }
.profile-copy-ref:hover { background: rgba(169, 175, 181, .2); }
@media (max-width: 520px) {
  .profile-tabs { align-self: stretch; display: flex; }
  .profile-tabs button { flex: 1 1 0; min-width: 0; padding: 0 6px; }
}

/* Карточки под баннером: колесо, кэшбэк, рефералы, касса. Растут вместе с баннером, на телефоне идут лентой. */
.feature-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 8px; min-width: 0; container-type: inline-size; }
.fcard { --tint: 187, 235, 0; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 38%; min-width: 0; min-height: 0; overflow: hidden; border-radius: 10px; border: 1px solid rgba(169, 175, 181, .14); background: radial-gradient(90% 120% at 100% 100%, rgba(var(--tint), .3), transparent 62%), #14161a; color: var(--text); transition: border-color .18s ease; }
.fcard[data-tone="1"] { --tint: 47, 128, 255; background: radial-gradient(90% 120% at 100% 0%, rgba(var(--tint), .38), transparent 60%), #131822; }
.fcard[data-tone="2"] { --tint: 176, 96, 255; background: radial-gradient(90% 120% at 0% 100%, rgba(var(--tint), .3), transparent 60%), #17141f; }
.fcard[data-tone="3"] { --tint: 255, 176, 32; background: radial-gradient(90% 120% at 100% 100%, rgba(var(--tint), .3), transparent 60%), #1b1612; }
.fcard:hover { border-color: rgba(var(--tint), .6); }
.fcard:focus-visible { outline: 2px solid rgb(var(--tint)); outline-offset: 2px; }
.fcard-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .32em; min-width: 0; padding: 10px 2px 10px 14px; font-size: clamp(10.5px, 2.35cqw, 22px); }
.fcard-badge { max-width: 100%; padding: .16em .62em; border-radius: 999px; background: rgba(var(--tint), .18); color: rgb(var(--tint)); font-size: .78em; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard-title { font-size: 1.22em; line-height: 1.08; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard-lead { color: rgba(255, 255, 255, .72); font-size: .86em; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fcard-cta { display: inline-flex; align-items: center; gap: .45em; margin-top: .15em; color: rgb(var(--tint)); font-size: .88em; font-weight: 700; white-space: nowrap; }
.fcard-cta svg { transition: transform .18s ease; }
.fcard:hover .fcard-cta svg { transform: translateX(3px); }
.fcard-art { --art: clamp(70px, 17cqw, 200px); order: 2; position: relative; z-index: 0; display: grid; place-items: center; min-width: 0; padding: 8px 12px 8px 0; }

.fcard[data-key="wheel"] { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); }
.fcard[data-key="wheel"] .fcard-art { --art: 100%; padding: 4px 6px 4px 0; }
.art-wheel { position: relative; display: block; width: auto; height: 100%; max-width: 100%; aspect-ratio: 1; container-type: inline-size; }
.art-wheel-rotor { position: absolute; inset: 9%; animation: art-wheel-spin 14s linear infinite; }
.art-wheel-disc { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.art-wheel-rim { position: absolute; inset: 4%; border-radius: 50%; border: 2px solid #d7ef62; box-shadow: 0 0 0 3px #12160c, inset 0 0 0 1px rgba(0, 0, 0, .35), 0 6px 10px rgba(0, 0, 0, .4); transition: box-shadow .18s ease; }
.art-wheel-num { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-top: 2%; color: #f4ffc8; text-shadow: 0 1px 1px rgba(0, 0, 0, .85); transform: rotate(calc((var(--i) + .5) * 360deg / var(--n, 8))); pointer-events: none; }
.art-wheel-num b { font-size: max(7px, min(13cqi, calc(280cqi / var(--n, 8) / max(var(--len), 1)))); font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.art-wheel-num small { margin-top: .08em; font-size: .68em; font-weight: 800; line-height: 1; }
.art-wheel-num.is-lime, .art-wheel-num.is-gold { color: #142004; text-shadow: 0 0 1px rgba(255, 255, 230, .7); }
.art-wheel-hub { position: absolute; inset: 40%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #f6ffc0, #c6ef1a 42%, #6d8f00); border: 2px solid #0b1204; box-shadow: 0 0 0 2px rgba(215, 239, 98, .75), inset 0 -2px 4px rgba(50, 70, 0, .45); animation: art-wheel-hub 2.4s ease-in-out infinite; }
.art-wheel-pin { position: absolute; left: 50%; top: 6%; width: 11%; aspect-ratio: .7; transform: translateX(-50%); transform-origin: 50% 12%; background: linear-gradient(#f6ffc0, #9ec000); clip-path: polygon(50% 100%, 12% 22%, 50% 0, 88% 22%); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); animation: art-wheel-pin 2.6s ease-in-out infinite; }
/* Скорость вращения при наведении не меняем: новая длительность пересчитывает фазу, и колесо на ходу прыгает. Отклик на наведение даёт свечение обода. */
.fcard:hover .art-wheel-rim { box-shadow: 0 0 0 3px #12160c, inset 0 0 0 1px rgba(0, 0, 0, .35), 0 0 14px rgba(215, 239, 98, .55), 0 6px 10px rgba(0, 0, 0, .4); }

.art-steps { display: flex; align-items: flex-end; gap: 6%; width: 100%; max-width: var(--art); height: 100%; max-height: var(--art); padding-top: 22%; }
.art-step { position: relative; flex: 1 1 0; min-width: 0; border-radius: 5px 5px 3px 3px; background: linear-gradient(180deg, rgba(var(--tint), .5), rgba(var(--tint), .1)); transform-origin: bottom center; animation: art-step-rise .72s cubic-bezier(.22, 1, .36, 1) both; }
.art-step:nth-child(1) { animation-delay: .04s; }
.art-step:nth-child(2) { animation-delay: .16s; }
.art-step:nth-child(3) { animation-delay: .28s; }
.art-step:nth-child(4) { animation-delay: .4s; }
.art-step[data-level="1"] { height: 24%; }
.art-step[data-level="2"] { height: 42%; }
.art-step[data-level="3"] { height: 64%; }
.art-step[data-level="4"] { height: 84%; }
.art-step b { position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%); display: none; color: #fff; font-size: 1.05em; font-weight: 800; white-space: nowrap; letter-spacing: -.02em; }
.art-step.is-top b, .art-step.is-current b { display: block; animation: art-step-label .35s ease both; animation-delay: .72s; }
.art-step.is-current { background: linear-gradient(180deg, rgb(var(--tint)), rgba(var(--tint), .45)); box-shadow: 0 0 18px rgba(var(--tint), .55); animation: art-step-rise .72s cubic-bezier(.22, 1, .36, 1) both, art-step-glow 2.6s ease-in-out .8s infinite; }
.art-step.is-current:nth-child(1) { animation-delay: .04s, .8s; }
.art-step.is-current:nth-child(2) { animation-delay: .16s, .8s; }
.art-step.is-current:nth-child(3) { animation-delay: .28s, .8s; }
.art-step.is-current:nth-child(4) { animation-delay: .4s, .8s; }
.art-step.is-current b { color: rgb(var(--tint)); }

.art-ref { width: 100%; max-width: var(--art); height: auto; overflow: visible; }
.art-ref-line { fill: none; stroke: rgba(var(--tint), .65); stroke-width: 2; stroke-dasharray: 3 4; stroke-linecap: round; animation: art-ref-flow 1.1s linear infinite; }
.art-ref-friend { animation: art-ref-bob 2.8s ease-in-out infinite; }
.art-ref-friend:nth-of-type(1) { animation-delay: 0s; }
.art-ref-friend:nth-of-type(2) { animation-delay: .35s; }
.art-ref-friend:nth-of-type(3) { animation-delay: .7s; }
.art-ref-friend circle:first-child { fill: #1c1826; stroke: rgba(var(--tint), .9); stroke-width: 2; }
.art-ref-head { fill: rgb(var(--tint)); }
.art-ref-body { fill: none; stroke: rgb(var(--tint)); stroke-width: 2.2; stroke-linecap: round; }
.art-ref-core { fill: #0b0c0d; stroke: rgb(var(--tint)); stroke-width: 3; filter: drop-shadow(0 0 8px rgba(var(--tint), .55)); animation: art-ref-core 2.8s ease-in-out infinite; }
.art-ref-percent { fill: #fff; font: 800 19px var(--font); letter-spacing: -.5px; }

.art-pay { display: grid; justify-items: center; gap: 9px; width: 100%; }
.art-pay-card { position: relative; width: 78%; max-width: var(--art); aspect-ratio: 1.6; border-radius: 9px; background: linear-gradient(135deg, rgb(var(--tint)), rgba(var(--tint), .35)); box-shadow: 0 8px 18px rgba(0, 0, 0, .45); transform: rotate(-6deg); animation: art-pay-float 3.2s ease-in-out infinite; }
.art-pay-card i { position: absolute; display: block; }
.art-pay-card i:nth-child(1) { left: 12%; top: 18%; width: 22%; height: 28%; border-radius: 3px; background: rgba(255, 255, 255, .85); }
.art-pay-card i:nth-child(2) { left: 12%; bottom: 30%; width: 62%; height: 6%; border-radius: 3px; background: rgba(0, 0, 0, .35); }
.art-pay-card i:nth-child(3) { left: 12%; bottom: 16%; width: 40%; height: 6%; border-radius: 3px; background: rgba(0, 0, 0, .25); }
.art-pay-marks { display: flex; gap: 4px; }
.art-pay .pay-mark { width: clamp(18px, 3.6cqw, 28px); height: clamp(18px, 3.6cqw, 28px); border-radius: 7px; font-size: clamp(9px, 1.9cqw, 14px); animation: art-pay-mark 2.6s ease-in-out infinite; }
.art-pay .pay-mark[data-wide] { font-size: clamp(7px, 1.4cqw, 10px); letter-spacing: -0.05em; }
.art-pay .pay-mark:nth-child(1) { animation-delay: 0s; }
.art-pay .pay-mark:nth-child(2) { animation-delay: .12s; }
.art-pay .pay-mark:nth-child(3) { animation-delay: .24s; }
.art-pay .pay-mark:nth-child(4) { animation-delay: .36s; }

@keyframes art-wheel-spin { to { transform: rotate(360deg); } }
@keyframes art-wheel-hub {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 2px rgba(215, 239, 98, .65), inset 0 -2px 4px rgba(50, 70, 0, .45); }
  50% { transform: scale(1.07); box-shadow: 0 0 0 2px rgba(215, 239, 98, 1), 0 0 12px rgba(198, 239, 26, .55), inset 0 -2px 4px rgba(50, 70, 0, .45); }
}
@keyframes art-wheel-pin {
  0%, 100% { transform: translateX(-50%) rotate(0deg); }
  28% { transform: translateX(-50%) rotate(-9deg); }
  52% { transform: translateX(-50%) rotate(7deg); }
  70% { transform: translateX(-50%) rotate(-3deg); }
}
@keyframes art-step-rise {
  from { transform: scaleY(0); opacity: .35; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes art-step-label {
  from { opacity: 0; transform: translateX(-50%) translateY(3px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes art-step-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(var(--tint), .4); }
  50% { box-shadow: 0 0 22px rgba(var(--tint), .78); }
}
@keyframes art-ref-flow { to { stroke-dashoffset: -21; } }
@keyframes art-ref-bob {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}
@keyframes art-ref-core {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(var(--tint), .45)); stroke-width: 3; }
  50% { filter: drop-shadow(0 0 13px rgba(var(--tint), .8)); stroke-width: 3.4; }
}
@keyframes art-pay-float {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-3.5deg) translateY(-5px); }
}
@keyframes art-pay-mark {
  0%, 100% { transform: translateY(0); opacity: .82; }
  50% { transform: translateY(-2px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .fcard, .fcard-cta svg { transition: none; }
  .feature-deck { scroll-behavior: auto; }
  .art-wheel-rotor, .art-wheel-hub, .art-wheel-pin,
  .art-step, .art-step.is-current, .art-step.is-top b, .art-step.is-current b,
  .art-ref-line, .art-ref-friend, .art-ref-core,
  .art-pay-card, .art-pay .pay-mark { animation: none; }
  .art-wheel-rotor, .art-wheel-hub { transform: none; }
  .art-pay-card { transform: rotate(-6deg); }
  .art-wheel-pin { transform: translateX(-50%); }
  .art-step { opacity: 1; transform: none; }
  .art-step.is-top b, .art-step.is-current b { opacity: 1; transform: translateX(-50%); }
  .art-ref-friend, .art-ref-core { opacity: 1; filter: drop-shadow(0 0 8px rgba(var(--tint), .55)); }
  .art-pay .pay-mark { opacity: 1; transform: none; }
}
@media (max-width: 980px) {
  .feature-deck { grid-auto-rows: auto; }
  .fcard { min-height: max(148px, calc(17cqw + 28px)); }
  .fcard-body { font-size: 13px; padding: 12px 2px 12px 16px; }
}
@media (max-width: 640px) {
  .feature-deck { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
  .feature-deck::-webkit-scrollbar { display: none; }
  .fcard { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; min-height: 148px; }
  .feature-deck .fcard:focus-visible { outline-offset: -2px; }
}
@container (max-width: 520px) {
  .art-pay-marks .pay-mark:nth-child(n+4) { display: none; }
}

/* Переключатель языка в шапке. */
.lang { position: relative; flex: 0 0 auto; }
.lang > summary { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--radius-s); background: var(--glass); color: var(--text); font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; user-select: none; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover, .lang[open] > summary { background: rgba(169, 175, 181, .2); }
.lang > summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.lang-flag { flex: 0 0 auto; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.lang-label { display: none; }
.lang-caret { color: var(--muted); transition: transform .15s ease; }
.lang[open] .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; display: grid; gap: 2px; min-width: 200px; margin: 0; padding: 6px; border: 1px solid rgba(169, 175, 181, .16); border-radius: 12px; background: #1a1b1e; box-shadow: 0 18px 44px rgba(0, 0, 0, .55); }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.lang-menu button:hover { background: var(--glass); }
.lang-menu button[aria-current="true"] { color: var(--lime); }
.lang-menu button span { flex: 1 1 auto; }
.lang-check { flex: 0 0 auto; }
@media (max-width: 980px) {
  .lang-name { display: none; }
  .lang-label { display: inline; }
}
@media (max-width: 640px) {
  .lang > summary { height: 32px; padding: 0 8px; gap: 6px; font-size: 12px; }
  .top-actions { gap: 8px; }
}

.catalog-pager { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 22px 0 8px; }
.catalog-pager-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: 100%; }
.catalog-pager a[data-busy="1"] { pointer-events: none; opacity: .6; }
[data-search-default], [data-search-default] * { overflow-anchor: none; }

/* Приветственный баннер рисует код: фон без букв, слова и цифры живые, размеры в долях ширины баннера. */
.banner-art .wb { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; container-type: inline-size; overflow: hidden; background: #080a09; color: #fff; font-family: var(--font); line-height: 1; text-align: left; }
.banner-art .wb picture { display: contents; }
.banner-art .wb img { position: absolute; max-width: none; object-fit: fill; display: block; }
.banner-art .wb img.wb-art { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-art .wb img.wb-logo { left: 4.3cqw; top: 3cqw; width: 24.6cqw; height: auto; inset-inline-end: auto; inset-block-end: auto; }
.wb p { position: absolute; left: 4.3cqw; margin: 0; white-space: nowrap; }
.wb-title { top: 14.6cqw; font-size: 3.5cqw; font-weight: 600; letter-spacing: -.01em; }
.wb-offer { top: 21.4cqw; display: flex; align-items: baseline; gap: 1.8cqw; }
.wb-offer > b, .wb-spins { font-size: 8.2cqw; font-weight: 900; letter-spacing: -.035em; }
.wb-offer > b, .wb-spins b { color: var(--lime); font-weight: 900; }
.wb-foot { top: 31cqw; display: flex; align-items: baseline; gap: 1.6cqw; flex-wrap: nowrap; }
.wb-deposit, .wb-code { font-size: 2.85cqw; font-weight: 700; letter-spacing: -.01em; }
:lang(es) .wb-deposit, :lang(es) .wb-code, :lang(pt) .wb-deposit, :lang(pt) .wb-code { font-size: 2.15cqw; }
.wb-code b { color: var(--lime); font-weight: 800; margin-left: .45cqw; }
.hero-slider .wb { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; aspect-ratio: auto; box-sizing: border-box; padding: 12cqw 4.3cqw 3.2cqw; gap: 1.6cqw; }
.hero-slider .wb p { position: relative; z-index: 1; top: auto; }
.hero-slider .wb-art { object-position: center 42%; }

/* Заявка на широком экране держит колонку кассы: текст и ставка слева, поля справа. */
.partner {
  display: grid;
  gap: 24px;
  width: min(1080px, 100%);
  margin-inline: auto;
  min-width: 0;
  container-type: inline-size;
}
.partner > * { min-width: 0; }
.partner .profile-pane { margin-top: 0; }
.partner .profile-section,
.partner .ref-layout,
.partner .ref-card,
.partner .ref-scroll { min-width: 0; max-width: 100%; }
.partner .profile-hint { max-width: 68ch; overflow-wrap: anywhere; }
.partner-card { min-width: 0; }
.partner-card h1 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.4px; }
.partner-card .form-note { margin: 0; }
.partner-main { display: grid; gap: 16px; align-content: start; min-width: 0; }
.partner-copy { display: grid; gap: 8px; max-width: 62ch; }
.partner-lead { margin: 0; max-width: 62ch; color: var(--muted); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.partner-card .ref-field,
.partner-card .ref-link { min-width: 0; }
.partner-main > .ref-field:has(.partner-rate) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  width: max-content;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: #222428;
}
.partner-card .ref-box { display: block; min-width: 0; overflow-wrap: anywhere; line-height: 20px; padding: 12px 14px; }
.partner-form { display: grid; gap: 16px; min-width: 0; }
.partner-form .ref-field { gap: 8px; }
.partner-form input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; background: #222428; color: var(--text); font: inherit; font-size: 14px; }
.partner-form input::placeholder { color: #7b828a; }
.partner-form input:focus { outline: none; border-color: rgba(187, 235, 0, .55); }
.partner-form input:disabled { opacity: 1; }
.partner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.partner-actions .btn { height: auto; min-height: 44px; max-width: 100%; border-radius: 10px; padding: 12px 16px; line-height: 20px; white-space: normal; text-align: center; }
.partner-actions .btn-ghost { background: #2a2c31; }
.partner-rate { font-size: 28px; line-height: 32px; font-weight: 700; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.partner-rate span { margin-left: 2px; font-size: 16px; color: var(--muted); font-weight: 600; }
.partner-card .field-error { margin: 0; }
@container (min-width: 680px) and (max-width: 839px) {
  .partner-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .partner-actions { grid-column: 1 / -1; }
}
@container (min-width: 840px) {
  .partner-card:has(.partner-form) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    column-gap: 40px;
    row-gap: 16px;
    align-items: start;
  }
  .partner-card:has(.partner-form) .partner-copy,
  .partner-card:has(.partner-form) .partner-main .partner-lead { max-width: none; }
  .partner-card:has(.partner-form) > h1,
  .partner-card:has(.partner-form) > .form-note,
  .partner-card:has(.partner-form) > .field-error,
  .partner-card:has(.partner-form) > .ref-field { grid-column: 1 / -1; }
  .partner-card:has(.partner-form) > .partner-form { grid-column: 2; }
  .partner-card:not(:has(.partner-form)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 16px;
    align-items: start;
  }
  .partner-card:not(:has(.partner-form)) > :not(.ref-field) { grid-column: 1 / -1; }
  .partner-card:not(:has(.partner-form)):not(:has(> .ref-field)) { display: flex; max-width: 680px; }
}
@media (max-width: 480px) {
  .partner-actions { flex-direction: column; align-items: stretch; }
  .partner-actions .btn { width: 100%; height: auto; min-height: 44px; padding: 12px 16px; line-height: 20px; white-space: normal; }
}
@container (max-width: 920px) {
  .partner .ref-side { max-width: 420px; }
}

/* Шапка на телефоне: кнопки правой стороны не должны наезжать на логотип (при переполнении они уходили влево под него). */
@media (max-width: 640px) {
  .topbar { padding: 0 12px; gap: 6px; }
  .top-actions { gap: 6px; flex: 0 1 auto; }
  .top-actions .btn { height: 36px; padding: 0 10px; font-size: 13px; }
  .lang > summary { height: 36px; }
}
@media (max-width: 420px) {
  .lang-label { display: none; }
  .lang > summary { padding: 0 8px; gap: 5px; }
}
@media (max-width: 350px) {
  .brand-mark { width: 32px; height: 32px; }
  .top-actions .btn { padding: 0 8px; font-size: 12px; }
  .menu-mobile { width: 36px; }
}

/* Метка «В разработке» в шапке страницы: цвет абзаца страницы перебивал тёмный текст на лайме, надпись не читалась. */
.page-head .badge { color: #111; margin: 0 0 8px; }

/* Окно поддержки: на зале карточка в углу, на телефоне лист над нижним меню. */
.nav-item .nav-badge {
  position: absolute; top: 6px; right: 8px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--lime); color: #111; font-size: 10px; font-weight: 800;
  line-height: 16px; text-align: center; max-width: none; overflow: visible;
}
.dock-pin { position: relative; }
.support-launcher {
  position: fixed; z-index: 71; right: 16px; bottom: 24px; display: grid; place-items: center;
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--lime); color: #111;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35); cursor: pointer;
}
.support-launcher svg { display: block; }
.support-launcher-badge {
  position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: #111; color: var(--lime); font-size: 10px; font-weight: 800;
  line-height: 18px; text-align: center;
}
.support-chat {
  position: fixed; z-index: 80; right: 16px; bottom: 24px; display: flex; flex-direction: column;
  width: min(380px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 48px));
  border: 1px solid var(--line); border-radius: var(--radius); background: #17181b;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55); overflow: hidden;
}
body.support-shut .support-chat { display: none !important; }
body:has(#support-chat:not([hidden])) .support-launcher,
body:has(.support-page) .support-launcher,
body:has(.support-guest) .support-launcher { display: none; }
#support-chat [data-support-body],
#support-chat [data-support-panel] {
  display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; min-width: 0;
}
.support-chat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto;
  min-height: 56px; padding: 0 8px 0 16px; background: var(--lime); color: #111;
}
.support-chat-head h1,
.support-chat-head h2 {
  margin: 0; min-width: 0; font-size: 18px; line-height: 24px; color: #111;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.support-chat-x {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-s); color: #111; flex: 0 0 auto;
}
.support-chat-x:hover { background: rgba(0, 0, 0, .08); }
.support-chat-log {
  flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 12px 16px;
}
.support-chat-foot {
  flex: 0 0 auto; display: grid; gap: 10px; padding: 12px 16px 16px; border-top: 1px solid var(--line); background: #17181b;
}
.support-kicker { margin: 0; color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.support-list-head, .support-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.support-list-head h3 { margin: 0; font-size: 16px; }
.support-back:not(.btn) { color: var(--lime); font-size: 14px; font-weight: 700; }
.support-chat-log > .support-back.btn { flex: 0 0 auto; color: var(--text); }
.support-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.support-item {
  display: grid; gap: 6px; padding: 12px; border-radius: 10px; background: #222428; color: inherit;
}
.support-item:hover { background: #2a2c31; }
.support-item.is-on { background: #2a2c31; box-shadow: inset 3px 0 0 var(--lime); }
.support-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.support-item-top b { font-size: 14px; }
.support-item-text { color: var(--muted); font-size: 13px; line-height: 18px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.support-item-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted-2); font-size: 12px; }
.support-item-meta em { font-style: normal; color: var(--text); }
.support-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: 0 0 auto; }
.support-pill {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px;
  background: var(--glass); color: var(--text); font-size: 11px; font-weight: 800; white-space: nowrap;
}
.support-pill.is-hot { background: var(--lime); color: #111; }
.support-facts { list-style: none; display: grid; gap: 4px; margin: 0; padding: 0; }
.support-facts li { color: var(--muted); font-size: 13px; line-height: 18px; overflow-wrap: anywhere; }
.support-pages { display: flex; align-items: center; justify-content: center; gap: 12px; }
.support-pages a, .support-pages span { padding: 8px 14px; border-radius: 8px; background: var(--glass); font-size: 13px; font-weight: 600; }
.support-pages span { opacity: .4; }
.support-pages b { min-width: 52px; padding: 8px 12px; border-radius: 8px; background: var(--lime); color: #111; font-size: 13px; text-align: center; }
.support-talk { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-items: start; margin-top: auto; }
.support-bubble { display: grid; gap: 6px; width: fit-content; max-width: min(440px, 86%); margin: 0; justify-self: start; padding: 12px 14px; border-radius: 10px; background: #222428; }
.support-bubble:not(.is-staff) { justify-self: end; }
.support-bubble.is-staff { background: rgba(187, 235, 0, .12); }
.support-who { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.support-bubble p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.support-earlier {
  align-self: center; padding: 6px 12px; border-radius: var(--radius-s); background: var(--glass);
  color: var(--text); font-size: 13px; font-weight: 700;
}
.support-topics { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.support-topics legend { width: 100%; padding: 0; color: var(--muted); font-size: 12px; }
.support-topic { position: relative; }
.support-topic input { position: absolute; opacity: 0; }
.support-topic span {
  display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 10px;
  background: #222428; color: var(--text); font-size: 14px; font-weight: 700; cursor: pointer;
}
.support-topic input:checked + span { background: var(--lime); color: #111; }
.support-topic input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.support-form { display: grid; gap: 12px; }
.support-form textarea {
  width: 100%; min-height: 72px; padding: 12px; border: 1px solid transparent; border-radius: 10px;
  background: #222428; color: var(--text); font: inherit; font-size: 14px; line-height: 1.45; resize: vertical;
}
.support-form textarea::placeholder { color: var(--muted-2); }
.support-form textarea:focus { outline: none; border-color: rgba(187, 235, 0, .55); }
#support-chat .support-chat-foot .support-form .btn,
.support-guest .support-chat-foot .support-form .btn { width: 100%; min-width: 0; }
.support-page .support-chat-foot .support-form .btn { width: auto; min-width: 148px; justify-self: start; }
.support-hint { margin: 0; color: var(--muted-2); font-size: 12px; }
.support-actions { display: grid; gap: 8px; }
.support-actions .btn { width: 100%; }
.support-chat-log .partner-lead,
.support-chat-log .form-note,
.support-chat-foot .field-error,
.support-chat-log .field-error { margin: 0; }
.main:has(.support-page) { display: flex; flex-direction: column; overflow: hidden; }
.main:has(.support-page) > .impersonation-bar { flex: 0 0 auto; }
.main:has(.support-page) > .site-foot { display: none; }
.support-page {
  flex: 1 1 auto; min-height: 0; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: clamp(340px, 34%, 440px) minmax(0, 1fr); gap: 16px;
}
.support-page:not(.has-thread) .support-col-talk .support-chat-log { flex: 0 0 auto; }
.support-guest {
  width: min(440px, 100%); height: min(640px, calc(100dvh - var(--top) - 80px));
  margin: 0 auto; display: flex; min-height: 0;
}
.support-guest [data-support-panel] {
  flex: 1 1 auto; min-height: 0; min-width: 0; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); background: #17181b; overflow: hidden;
}
.support-col {
  min-width: 0; min-height: 0; display: flex; flex-direction: column;
  background: #17181b; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.support-col-head {
  display: flex; align-items: center; gap: 12px; flex: 0 0 auto;
  min-height: 64px; padding: 10px 16px; border-bottom: 1px solid var(--line);
}
.support-col-head h2 {
  margin: 0; flex: 1 1 auto; min-width: 0; font-size: 16px; line-height: 22px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.support-new { flex: 0 0 auto; }
.support-back-desk { display: none; }
.support-col-body {
  flex: 1 1 auto; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px;
  scrollbar-width: thin;
}
.support-meta { margin: 0; padding: 12px 16px 0; color: var(--muted); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.support-page .support-chat-log { scrollbar-width: thin; }
.support-page .support-form,
.support-page .support-form textarea { max-width: 100%; }
.support-page .support-form textarea { min-height: 120px; max-height: 220px; }
.support-cabinet { margin-top: 20px; overflow-anchor: none; }
.support-cabinet h2 .support-dot { display: inline-block; margin-left: 8px; vertical-align: 1px; }
.support-cabinet-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit;
}
.support-cabinet-row b { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.support-cabinet-row span { grid-column: 1; min-width: 0; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-cabinet-row time { grid-column: 2; grid-row: 1; color: var(--muted-2); font-size: 12px; white-space: nowrap; }
.support-cabinet .btn { align-self: flex-start; }
@media (max-width: 980px) {
  .support-launcher { bottom: calc(var(--tabbar) + 16px + env(safe-area-inset-bottom)); }
  .support-chat {
    left: 0; right: 0; top: 0; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
    width: auto; height: auto; border: 0; border-radius: 0;
  }
  body:has(.pf) .support-launcher { bottom: calc(16px + env(safe-area-inset-bottom)); }
  body:has(.pf) .support-chat { bottom: 0; }
  body:has(.support-page) { overflow: hidden; }
  body:has(.support-page) .site-foot { display: none; }
  body:has(.support-page) .shell { display: flex; flex-direction: column; height: 100dvh; min-height: 0; }
  body:has(.support-page) .stage { flex: 1 1 auto; min-height: 0; height: auto; }
  body:has(.support-page) .main {
    display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden;
    padding: 8px 12px calc(var(--tabbar) + env(safe-area-inset-bottom));
  }
  .support-page { grid-template-columns: minmax(0, 1fr); width: 100%; gap: 0; }
  .support-page.has-thread .support-col-list,
  .support-page.is-composing .support-col-list,
  .support-page:not(.has-thread):not(.is-composing) .support-col-talk { display: none; }
  .support-col-talk > .support-col-head:has(> .support-back-desk) { flex-wrap: wrap; }
  .support-back-desk.btn { display: inline-flex; flex: 1 1 100%; width: 100%; color: var(--text); }
  .support-page .support-chat-foot .support-form .btn { width: 100%; }
  .support-guest { height: min(640px, calc(100dvh - var(--top) - var(--tabbar) - 24px)); }
}

.tg-play {
  position: fixed; z-index: 71; right: 16px; bottom: 88px;
  display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  color: var(--text); font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap;
}
.tg-play-label {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; height: 36px; min-width: 0; padding: 0 12px;
  border: 1px solid rgba(187, 235, 0, .55); border-radius: var(--radius);
  background: #0b0c0d; box-shadow: 0 10px 24px rgba(0, 0, 0, .55);
  animation: tg-play-glow 2.8s ease-in-out infinite;
}
.tg-play-label::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, rgba(187, 235, 0, .34) 50%, transparent 64%);
  transform: translateX(-130%);
  animation: tg-play-shine 4.2s ease-in-out infinite;
}
@keyframes tg-play-glow {
  0%, 100% { border-color: rgba(187, 235, 0, .4); }
  50% { border-color: #bbeb00; box-shadow: 0 10px 24px rgba(0, 0, 0, .55), 0 0 16px rgba(187, 235, 0, .32); }
}
@keyframes tg-play-shine {
  0%, 62% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}
.tg-play-mark {
  display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--lime); color: #111; box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}
.tg-play-mark svg { width: 24px; height: 24px; display: block; }
body:has(#support-chat:not([hidden])) .tg-play,
body:has(.support-page) .tg-play,
body:has(.support-guest) .tg-play { display: none; }
@media (max-width: 980px) {
  .tg-play { bottom: calc(var(--tabbar) + 16px + 52px + 12px + env(safe-area-inset-bottom)); }
  body:has(.pf) .tg-play { bottom: calc(16px + 52px + 12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .tg-play { gap: 8px; font-size: 13px; }
  .tg-play-label { height: 34px; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-play-label, .tg-play-label::after { animation: none; }
}

.bonus-play {
  position: fixed; z-index: 71; right: 16px; bottom: 152px;
  display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  color: var(--text); font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap;
}
body:not(:has(.tg-play)) .bonus-play { bottom: 88px; }
body:has(#support-chat:not([hidden])) .bonus-play,
body:has(.support-page) .bonus-play,
body:has(.support-guest) .bonus-play { display: none; }
@media (max-width: 980px) {
  .bonus-play { bottom: calc(var(--tabbar) + 16px + 52px + 12px + 52px + 12px + env(safe-area-inset-bottom)); }
  body:not(:has(.tg-play)) .bonus-play { bottom: calc(var(--tabbar) + 16px + 52px + 12px + env(safe-area-inset-bottom)); }
  body:has(.pf) .bonus-play { bottom: calc(16px + 52px + 12px + 52px + 12px + env(safe-area-inset-bottom)); }
  body:has(.pf):not(:has(.tg-play)) .bonus-play { bottom: calc(16px + 52px + 12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .bonus-play { gap: 8px; font-size: 13px; }
}
.bonus-issued-list { display: grid; gap: 16px; margin-bottom: 16px; }
.bonus-issued-art { border-radius: 12px; overflow: hidden; }
.bonus-issued-art .wb {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  height: clamp(176px, 24vw, 248px); aspect-ratio: auto; box-sizing: border-box;
  padding: 16px 4.6cqw 14px; gap: 6px; border-radius: 12px;
}
.bonus-issued-art .wb img.wb-logo {
  position: relative; inset: auto; left: auto; top: auto;
  width: auto; height: clamp(22px, 3.2cqw, 36px); max-width: 58%; margin: 0;
}
.bonus-issued-art .wb p {
  position: relative; top: auto; left: auto; z-index: 1; margin: 0;
  max-width: 64%; line-height: 1.05; white-space: normal;
}
.bonus-issued-art .wb-title { font-size: clamp(13px, 1.7cqw, 18px); font-weight: 650; }
.bonus-issued-art .wb-offer { flex-wrap: wrap; gap: 0.35em; }
.bonus-issued-art .wb-offer,
.bonus-issued-art .wb-offer > b,
.bonus-issued-art .wb-spins { font-size: clamp(28px, 4.4cqw, 52px); line-height: .95; }
.bonus-issued-art .wb-foot { flex-wrap: wrap; gap: 0.35em 0.7em; }
.bonus-issued-art .wb-deposit,
.bonus-issued-art .wb-code { font-size: clamp(12px, 1.45cqw, 16px); line-height: 1.2; }
:lang(es) .bonus-issued-art .wb-deposit,
:lang(es) .bonus-issued-art .wb-code,
:lang(pt) .bonus-issued-art .wb-deposit,
:lang(pt) .bonus-issued-art .wb-code { font-size: clamp(11px, 1.2cqw, 14px); }
.bonus-issued-art .wb-art { object-position: center 42%; }
@media (max-width: 640px) {
  .bonus-issued { padding: 16px; }
  .bonus-issued h2 { font-size: 20px; line-height: 26px; }
  .bonus-issued-art .wb { height: auto; min-height: 148px; padding: 14px 16px 12px; }
  .bonus-issued-art .wb p { max-width: 74%; }
  .bonus-issued-art .wb-offer,
  .bonus-issued-art .wb-foot { flex-wrap: nowrap; }
  .bonus-issued-art .wb-offer,
  .bonus-issued-art .wb-offer > b,
  .bonus-issued-art .wb-spins { font-size: 26px; white-space: nowrap; }
  .bonus-issued-art .wb-foot,
  .bonus-issued-art .wb-deposit,
  .bonus-issued-art .wb-code { font-size: 12px; line-height: 1.2; white-space: nowrap; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Очередь бонусов на экране бонусов: порядок отыгрыша, сколько осталось, отмена. */
.bonus-queue { display: grid; gap: 10px; margin-bottom: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.bonus-queue h2 { margin: 0; font-size: 22px; line-height: 28px; }
.bonus-queue .bonus-caption { margin: 0; }
.bonus-queue-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bonus-queue-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.bonus-queue-main { display: grid; gap: 2px; min-width: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.bonus-queue-main strong { color: var(--text); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bonus-queue-bar { grid-column: 1 / -1; width: 100%; height: 6px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; appearance: none; }
.bonus-queue-bar::-webkit-progress-bar { background: rgba(255, 255, 255, .08); }
.bonus-queue-bar::-webkit-progress-value { background: var(--lime); border-radius: 999px; }
.bonus-queue-bar::-moz-progress-bar { background: var(--lime); border-radius: 999px; }
.bonus-queue-item form { grid-column: 2; grid-row: 1; margin: 0; }
.bonus-queue-cancel { min-height: 34px; padding: 0 14px; font-size: 13px; }
.bonus-queue-more { justify-self: center; width: max-content; height: 44px; }
@media (max-width: 640px) {
  .bonus-queue { padding: 16px; }
  .bonus-queue-item { grid-template-columns: minmax(0, 1fr); }
  .bonus-queue-item form { grid-column: 1; grid-row: auto; }
}

/* Бонусные правила: плитки с главными числами и ровные блоки условий. Числа в плитках берутся из BonusTerms. */
.rules-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.rules .rules-fact { display: grid; align-content: start; gap: 2px; min-width: 0; margin: 0; padding: 14px 16px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-3); }
.rules .rules-fact::before { content: none; }
.rules-fact strong { color: var(--lime); font-size: 26px; line-height: 1.15; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rules-fact span { color: var(--text); font-size: 14px; font-weight: 650; line-height: 1.3; }
.rules-fact small { color: #9fa5ac; font-size: 12px; line-height: 1.35; }
@media (max-width: 900px) { .rules-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .rules-fact strong { font-size: 22px; } .rules .rules-fact { padding: 12px 13px 13px; } }

.wallet-card.wallet-faq { grid-column: 1 / -1; }
.wallet-card.wallet-faq h2 { font-size: 20px; }
.wallet-card.wallet-faq h3 { margin: 16px 0 4px; font-size: 15px; }
.wallet-card.wallet-faq p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
