/* ==========================================================================
   Gilza UI v4 — дизайн-система: глубина, латунь, стекло.
   Подключается последним и переопределяет старые слои app.css / games.css.
   ========================================================================== */
:root {
  --bg: #0e1219;
  --bg-2: #141a23;
  --bg-3: #1b222d;
  --bg-4: #242d3a;
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.12);
  --text: #edf1f6;
  --muted: #8e9aab;
  --brass: #e9ac4f;
  --brass-2: #ffd58f;
  --brass-ink: #241605;
  --g-brass: linear-gradient(180deg, #ffe7b5 0%, #f6c66f 38%, #e1a043 62%, #b97a2c 100%);
  --g-edge: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03) 40%, rgba(255,255,255,.06));
  --shadow-1: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 32px -18px rgba(0,0,0,.9);
  --shadow-2: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 60px -24px rgba(0,0,0,.95);
  --r: 14px;
  --r-sm: 10px;
  --r-lg: 22px;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-spring: cubic-bezier(.3,1.4,.5,1);
}

body {
  background:
    radial-gradient(1100px 520px at 18% -8%, rgba(233,172,79,.13), transparent 62%),
    radial-gradient(900px 520px at 92% -4%, rgba(76,110,255,.12), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(164,92,255,.06), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.022' stroke-width='1.2'%3E%3Cpath d='M14 10h4v3l1.5 2.5V28h-7V15.5L14 13zM44 40h4v3l1.5 2.5V58h-7V45.5L44 43z'/%3E%3C/g%3E%3C/svg%3E"),
    var(--bg);
  background-attachment: fixed;
}
::selection { background: rgba(233,172,79,.35); color: #fff; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Кнопки ---------- */
.btn {
  --h: 44px;
  border-radius: 12px;
  font-weight: 650;
  letter-spacing: .005em;
  transition: transform .18s var(--ease-out), box-shadow .25s, background .2s, border-color .2s, color .2s, filter .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn--sm { --h: 38px; padding: 0 15px; font-size: 14px; border-radius: 10px; }
.btn--xs { --h: 30px; border-radius: 8px; }
.btn--lg { --h: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn--xl { --h: 60px; padding: 0 30px; font-size: 16.5px; border-radius: 16px; }
.btn--xl svg { width: 21px; height: 21px; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.98); transition-duration: .06s; }

/* Латунь: «точёный металл» — градиент, блик сверху, тёмная фаска снизу, пробегающий отблеск */
.btn--brass {
  clip-path: none;
  border: 0;
  border-radius: 12px;
  color: var(--brass-ink);
  background: var(--g-brass);
  text-shadow: 0 1px 0 rgba(255,240,210,.45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    inset 0 -3px 0 rgba(120,70,15,.45),
    0 10px 28px -10px rgba(233,172,79,.75),
    0 0 0 1px rgba(255,214,140,.25);
}
.btn--lg.btn--brass { border-radius: 14px; }
.btn--xl.btn--brass { border-radius: 16px; }
.btn--brass:hover:not(:disabled) {
  background: var(--g-brass);
  color: var(--brass-ink);
  filter: brightness(1.07) saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -3px 0 rgba(120,70,15,.45),
    0 16px 40px -12px rgba(233,172,79,.95),
    0 0 0 1px rgba(255,214,140,.4);
}
.btn--brass::after {
  z-index: 1; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%);
  animation: sheen 5.5s ease-in-out infinite;
}
.btn--brass:hover:not(:disabled)::after { animation-duration: 1.4s; transform: none; transition: none; }
.btn--brass > * { position: relative; z-index: 2; }
@keyframes sheen { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

/* Стекло: для второстепенных действий */
.btn--glass, .btn--ghost {
  color: var(--text);
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)) padding-box,
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.05)) border-box;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -14px rgba(0,0,0,.9);
}
.btn--glass:hover:not(:disabled), .btn--ghost:hover:not(:disabled) {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04)) padding-box,
    linear-gradient(180deg, rgba(255,214,140,.6), rgba(255,214,140,.12)) border-box;
}
.btn--line { border-radius: 12px; }
.btn--steam {
  border: 0; color: #fff;
  background: linear-gradient(180deg, #2a4b6e, #1a2f47);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -2px 0 rgba(0,0,0,.25), 0 10px 26px -12px rgba(60,140,220,.7);
}
.btn--steam:hover:not(:disabled) { background: linear-gradient(180deg, #33598a, #1f3a58); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 32px -12px rgba(80,160,240,.85); }
.btn--danger { color: #fff; border: 0; background: linear-gradient(180deg, #f06a62, #c63d36); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -2px 0 rgba(0,0,0,.25), 0 10px 26px -12px rgba(229,83,75,.8); }
.btn--ok { color: #06210f; border: 0; background: linear-gradient(180deg, #7ff0b2, #36b673); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.2), 0 10px 26px -12px rgba(79,191,135,.8); }

/* ---------- Поверхности ---------- */
.panel {
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)) padding-box,
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--g-edge) border-box;
  box-shadow: var(--shadow-1);
}
.field input, .field select, .field textarea, input[type=text], input[type=search], input[type=number], input[type=url], select, textarea {
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(0,0,0,.22);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.25);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus, input:focus, select:focus, textarea:focus {
  outline: none; border-color: rgba(233,172,79,.7);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.25), 0 0 0 4px rgba(233,172,79,.14);
}

/* ---------- Шапка ---------- */
.top {
  background: rgba(13,17,24,.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 0;
}
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233,172,79,.45) 20%, rgba(255,255,255,.08) 50%, rgba(76,110,255,.35) 80%, transparent); }
.top.is-scrolled { background: rgba(13,17,24,.9); }
a.nav__item[aria-current] { color: var(--brass-2); background: linear-gradient(180deg, rgba(233,172,79,.16), rgba(233,172,79,.04)); box-shadow: inset 0 0 0 1px rgba(233,172,79,.22); }
.nav__drop { border-radius: 14px; background: rgba(20,26,35,.96); backdrop-filter: blur(14px); border-color: var(--line-2); }
.balance {
  height: 40px; padding: 0 4px 0 14px; gap: 10px; border-radius: 12px; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)) padding-box, linear-gradient(180deg, rgba(255,214,140,.45), rgba(255,214,140,.08)) border-box;
  font: 700 15px var(--f-display); letter-spacing: -.01em;
}
.balance__plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--g-brass); color: var(--brass-ink); font: 800 18px/1 var(--f-body); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(120,70,15,.4); }
.balance:hover .balance__plus { filter: brightness(1.08); }
.avatar .ava { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px color-mix(in oklab, var(--rc, var(--brass)) 70%, transparent); }
.top__user .btn--brass.btn--sm { display: none; }
@media (min-width: 761px) { .top__user .btn--brass.btn--sm { display: none; } }

.sfx-toggle { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; cursor: pointer; color: var(--muted);
  border: 1px solid transparent; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)) padding-box, linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04)) border-box; transition: color .2s, transform .15s; }
.sfx-toggle:hover { color: var(--text); }
.sfx-toggle:active { transform: scale(.94); }
.sfx-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sfx-toggle .off { display: none; }
.sfx-toggle[aria-pressed="false"] .on { display: none; }
.sfx-toggle[aria-pressed="false"] .off { display: block; }
.sfx-toggle[aria-pressed="true"] { color: var(--brass-2); }

/* Лента дропов */
.drop { transition: filter .2s, background .2s; }
.drop:hover { filter: brightness(1.15); }
@media (min-width: 1280px) {
  .feed { background: rgba(12,16,22,.86); backdrop-filter: blur(12px); border-right: 1px solid var(--line); }
  .drop { margin: 0 6px 4px; width: auto; border-radius: 12px; border-left: 0; box-shadow: inset 0 -2px 0 var(--c);
    background: radial-gradient(80% 70% at 50% 35%, color-mix(in oklab, var(--c) 26%, transparent), transparent 75%), var(--bg-3); }
  .feed__track { padding-top: 6px; }
}

/* ---------- Заголовки разделов ---------- */
.hsec, .sec { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin: 0 0 20px; text-align: left; justify-content: flex-start; }
.sec::before, .sec::after { display: none; }
.hsec h2, .sec h2 { margin: 0; font: 800 clamp(20px, 2.2vw, 26px)/1.15 var(--f-display); letter-spacing: -.02em; text-transform: none; }
.hsec h2::before, .sec h2::before { content: ""; display: inline-block; width: 6px; height: .9em; margin-right: 12px; border-radius: 3px; vertical-align: -.08em; background: var(--g-brass); box-shadow: 0 0 14px rgba(233,172,79,.6); }
.hsec__sub { flex-basis: 100%; margin: -4px 0 0 18px; color: var(--muted); font-size: 15px; max-width: 70ch; }
.hsec__link, .sec__all { margin-left: auto; position: static; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--text); text-decoration: none;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); transition: border-color .2s, background .2s; }
.hsec__link:hover, .sec__all:hover { border-color: rgba(233,172,79,.6); background: rgba(233,172,79,.08); color: var(--brass-2); }
.sec__count { background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--line-2); font-size: 12px; padding: 3px 9px; }

/* ---------- Карточки кейсов ---------- */
.case {
  border-radius: 18px;
  border: 1px solid transparent;
  background:
    radial-gradient(90% 60% at 50% 42%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 70%) padding-box,
    linear-gradient(180deg, #1a212c, #121821) padding-box,
    linear-gradient(180deg, color-mix(in oklab, var(--accent) 45%, rgba(255,255,255,.1)), rgba(255,255,255,.04) 45%, color-mix(in oklab, var(--accent) 30%, transparent)) border-box;
  box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.case:hover { box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 26px 50px -22px color-mix(in oklab, var(--accent) 70%, #000); }
.case__price { font: 700 15px var(--f-display); }

/* ---------- Подвал ---------- */
.foot { background: linear-gradient(180deg, rgba(20,26,35,.6), rgba(10,13,18,.95)); border-top: 0; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(233,172,79,.4), transparent); }

/* ==========================================================================
   Главная
   ========================================================================== */
.hz { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(28px, 4.5vw, 64px) clamp(24px, 3vw, 40px); }
.hz__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hz__bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hz__bg i:nth-child(1) { width: 520px; height: 420px; left: -6%; top: -18%; background: radial-gradient(closest-side, rgba(233,172,79,.55), transparent); }
.hz__bg i:nth-child(2) { width: 600px; height: 480px; right: -8%; top: 4%; background: radial-gradient(closest-side, rgba(76,110,255,.45), transparent); animation-duration: 22s; animation-delay: -6s; }
.hz__bg i:nth-child(3) { width: 420px; height: 360px; left: 38%; bottom: -30%; background: radial-gradient(closest-side, rgba(211,44,230,.28), transparent); animation-duration: 26s; animation-delay: -12s; }
.hz__bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 75%); }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

.hz__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hz__pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none;
  background: linear-gradient(180deg, rgba(79,191,135,.18), rgba(79,191,135,.06)); border: 1px solid rgba(79,191,135,.35); transition: background .2s; }
.hz__pill:hover { color: #fff; background: rgba(79,191,135,.24); }
.hz__dot { width: 8px; height: 8px; border-radius: 50%; background: #5ee0a0; box-shadow: 0 0 0 0 rgba(94,224,160,.6); animation: livepulse 1.8s infinite; }
.hz h1 { margin: 18px 0 16px; font: 800 clamp(32px, 4.4vw, 60px)/1.04 var(--f-display); letter-spacing: -.035em; max-width: 15ch;
  background: linear-gradient(180deg, #fff 20%, #cdd6e2 70%, #a9b4c3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hz__lead { color: #b5c0ce; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; max-width: 52ch; margin: 0; }
.hz__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 30px; }
.hz__trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
.hz__trust li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.hz__trust svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brass-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.hz__trust span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.hz__trust b { display: block; color: var(--text); font-size: 13.5px; margin-bottom: 2px; }

/* Сцена с витриной кейсов и пробной прокруткой */
.stage { position: relative; border-radius: 28px; padding: 14px; border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)) padding-box,
    linear-gradient(rgba(18,23,31,.88), rgba(18,23,31,.88)) padding-box,
    linear-gradient(160deg, rgba(255,214,140,.5), rgba(255,255,255,.06) 35%, rgba(76,110,255,.35)) border-box;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2), 0 40px 120px -50px rgba(233,172,79,.45); }
.stage__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.stage__tab { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px; border-radius: 12px; cursor: pointer; text-align: left; color: var(--muted);
  background: rgba(255,255,255,.03); border: 1px solid var(--line); font: inherit; transition: background .2s, border-color .2s, color .2s; }
.stage__tab img { width: 46px; height: 34px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.stage__tab span { min-width: 0; font-size: 12.5px; font-weight: 650; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage__tab small { display: block; font-weight: 700; color: var(--brass-2); font-size: 12px; }
.stage__tab:hover { color: var(--text); border-color: var(--line-2); }
.stage__tab[aria-selected="true"] { color: var(--text); border-color: color-mix(in oklab, var(--accent) 70%, transparent);
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 24%, transparent), rgba(255,255,255,.02)); }

.stage__slide { position: relative; display: grid; grid-template-columns: 1fr; padding-top: 6px; }
.stage__slide:not([hidden]) { animation: slideIn .5s var(--ease-out); }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px) scale(.99); } }
.stage__case { display: block; height: clamp(190px, 21vw, 270px); position: relative; }
.stage__case::before { content: ""; position: absolute; inset: 6% 12% 0; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--accent) 55%, transparent), transparent); filter: blur(22px); }
.stage__case .cart { position: relative; height: 100%; width: auto; aspect-ratio: 4 / 3; margin: 0 auto; display: block; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.stage__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 4px 8px 12px; }
.stage__name { margin: 0; font: 800 clamp(18px, 1.7vw, 22px) var(--f-display); letter-spacing: -.02em; }
.stage__sub { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }

.dreel { position: relative; height: 128px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #0b0f15, #10151d); border: 1px solid var(--line);
  box-shadow: inset 0 10px 24px rgba(0,0,0,.5);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.dreel__track { position: absolute; left: 0; top: 10px; bottom: 10px; display: flex; gap: 8px; will-change: transform; }
.dri { flex: none; width: 128px; height: 100%; border-radius: 12px; display: grid; grid-template-rows: 1fr auto; justify-items: center; padding: 6px 6px 8px;
  background: radial-gradient(70% 70% at 50% 40%, color-mix(in oklab, var(--c) 30%, transparent), transparent 75%), #171d27; box-shadow: inset 0 -3px 0 var(--c); }
.dri img { width: 112px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.55)); }
.dri span { font-size: 11px; color: var(--muted); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dri.is-hit { animation: hit 1s var(--ease-spring); box-shadow: inset 0 -3px 0 var(--c), 0 0 0 2px var(--c), 0 0 30px color-mix(in oklab, var(--c) 70%, transparent); }
@keyframes hit { 30% { transform: scale(1.1); } }
.dreel__mark { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -1px 0; background: linear-gradient(180deg, var(--brass-2), var(--brass) 50%, var(--brass-2)); box-shadow: 0 0 14px var(--brass); z-index: 2; }
.dreel__mark::before, .dreel__mark::after { content: ""; position: absolute; left: 50%; translate: -50% 0; border: 8px solid transparent; }
.dreel__mark::before { top: 0; border-top-color: var(--brass-2); }
.dreel__mark::after { bottom: 0; border-bottom-color: var(--brass-2); }
.stage__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 4px 2px; }
.stage__result { margin: 0; font-size: 13.5px; color: var(--muted); min-height: 1.4em; flex: 1 1 200px; }
.stage__result b { color: var(--c, var(--text)); }
.stage__btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* Счётчики */
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; padding: 0; margin-block: 8px 44px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(90deg, rgba(233,172,79,.35), rgba(255,255,255,.06) 40%, rgba(76,110,255,.3)); border: 1px solid var(--line); }
.counter { padding: 20px clamp(14px, 2vw, 26px); background: #121821; display: grid; gap: 4px; }
.counter b { font: 800 clamp(20px, 2.4vw, 30px)/1.1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap;
  background: linear-gradient(180deg, #fff, #c8d1dd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counter:first-child b { background-image: var(--g-brass); }
.counter span { color: var(--muted); font-size: 13.5px; }

/* Крупные выигрыши */
.wins { margin-bottom: 48px; }
.wins__track { display: grid; grid-auto-flow: column; grid-auto-columns: 210px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--bg-4) transparent; cursor: grab; }
.wins__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.win { position: relative; isolation: isolate; scroll-snap-align: start; display: grid; gap: 4px; padding: 14px 14px 12px; border-radius: 18px; text-decoration: none; color: var(--text); overflow: hidden;
  background: linear-gradient(180deg, #19202b, #121821); border: 1px solid color-mix(in oklab, var(--c) 35%, transparent); transition: transform .3s var(--ease-out), border-color .3s; }
.win:hover { transform: translateY(-4px); border-color: var(--c); color: var(--text); }
.win__glow { position: absolute; inset: -30% -10% 30%; z-index: -1; background: radial-gradient(closest-side, color-mix(in oklab, var(--c) 45%, transparent), transparent); }
.win__img { width: 100%; height: 96px; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0,0,0,.6)); transition: transform .4s var(--ease-out); }
.win:hover .win__img { transform: scale(1.07) rotate(-3deg); }
.win__name { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.win__name b { display: block; color: var(--text); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__price { font: 800 17px var(--f-display); color: var(--brass-2); }
.win__who { display: flex; align-items: center; gap: 7px; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 12.5px; min-width: 0; }
.win__who > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.win__who small { margin-left: auto; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 48%; }

/* Режимы: бенто-сетка */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(168px, auto); gap: 12px; margin-bottom: 40px; }
.tile { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 22px; color: var(--text); text-decoration: none;
  border: 1px solid transparent;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in oklab, var(--ga) 26%, transparent), transparent 60%) padding-box,
    linear-gradient(180deg, #19202a, #121820) padding-box,
    linear-gradient(160deg, color-mix(in oklab, var(--ga) 60%, transparent), rgba(255,255,255,.05) 45%) border-box;
  box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease-out), box-shadow .35s; }
.tile:hover { color: var(--text); transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -26px color-mix(in oklab, var(--ga) 80%, #000); }
.tile__icon { width: 46px; height: 46px; padding: 10px; border-radius: 14px; flex: none; fill: none; stroke: var(--ga); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: color-mix(in oklab, var(--ga) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ga) 35%, transparent), 0 0 24px -6px var(--ga); transition: transform .4s var(--ease-spring); }
.tile:hover .tile__icon { transform: rotate(-8deg) scale(1.08); }
.tile__body { margin-top: auto; display: grid; gap: 4px; position: relative; z-index: 1; }
.tile__name { font: 800 19px var(--f-display); letter-spacing: -.02em; }
.tile__desc { color: var(--muted); font-size: 14px; line-height: 1.4; max-width: 34ch; }
.tile__go { position: absolute; right: 16px; top: 18px; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--ga);
  background: color-mix(in oklab, var(--ga) 12%, transparent); border: 1px solid color-mix(in oklab, var(--ga) 35%, transparent); transition: background .25s, color .25s; }
.tile:hover .tile__go { background: var(--ga); color: #0d1117; }
.tile__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.tile--battles { grid-column: span 2; grid-row: span 2; padding: 26px; }
.tile--battles .tile__name { font-size: clamp(24px, 2.4vw, 32px); }
.tile--battles .tile__desc { font-size: 15.5px; }
.tile--crash { grid-column: span 2; }
.tile__vs { position: absolute; top: 18%; width: 46%; height: 46%; object-fit: contain; filter: drop-shadow(0 20px 26px rgba(0,0,0,.6)); transition: transform .6s var(--ease-out); }
.tile__vs--a { left: 2%; transform: rotate(-14deg); animation: clashA 5s ease-in-out infinite; }
.tile__vs--b { right: 2%; transform: scaleX(-1) rotate(-14deg); animation: clashB 5s ease-in-out infinite; }
@keyframes clashA { 50% { translate: 14px 4px; } }
@keyframes clashB { 50% { translate: -14px 4px; } }
.tile__versus { position: absolute; left: 50%; top: 36%; translate: -50% -50%; font: 800 clamp(30px, 3.6vw, 48px) var(--f-display); font-style: italic; color: #fff; letter-spacing: -.04em;
  text-shadow: 0 0 30px var(--ga), 0 4px 0 rgba(0,0,0,.4); }
.tile__curve { position: absolute; right: 0; bottom: 0; width: 70%; height: 80%; }
.tile__curve path { fill: none; stroke: var(--ga); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 8px var(--ga)); stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 4s ease-in-out infinite; }
@keyframes draw { 60%, 100% { stroke-dashoffset: 0; } }
.tile__mult { position: absolute; right: 22px; bottom: 62px; font: 800 30px var(--f-display); color: #fff; text-shadow: 0 0 20px var(--ga); opacity: .9; }
.tile--crash .tile__go { top: auto; bottom: 20px; }
.tile__chips { position: absolute; right: 14px; bottom: 16px; display: flex; gap: 5px; opacity: .85; }
.tile__chips i { width: 18px; height: 34px; border-radius: 6px; }
.tile__chips .r { background: linear-gradient(180deg, #ff6a62, #c33b34); }
.tile__chips .b { background: linear-gradient(180deg, #3a4452, #232a34); }
.tile__chips .g { background: linear-gradient(180deg, #59e39e, #21a565); box-shadow: 0 0 14px #3ddc97; }
.tile--double .tile__desc { max-width: 22ch; }
.tile--top { background:
  radial-gradient(120% 90% at 100% 0%, rgba(233,172,79,.3), transparent 60%) padding-box,
  linear-gradient(180deg, #221c12, #15130f) padding-box,
  linear-gradient(160deg, rgba(255,214,140,.7), rgba(255,255,255,.05) 50%) border-box; }

/* Преимущества */
.whyus { margin-bottom: 44px; }
.perks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.perk { padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.perk svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; fill: none; stroke: var(--ga); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: color-mix(in oklab, var(--ga) 12%, transparent); }
.perk h3 { margin: 6px 0 0; font: 700 17px var(--f-display); letter-spacing: -.01em; }
.perk p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.perk a { font-weight: 600; font-size: 14px; color: var(--ga); text-decoration: none; }
.perk a:hover { text-decoration: underline; }

/* Как начать */
.how { margin-bottom: 44px; }
.steps { counter-reset: st; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps li { counter-increment: st; position: relative; padding: 22px 22px 22px 76px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line); }
.steps li::before { content: counter(st); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font: 800 18px var(--f-display); color: var(--brass-ink); background: var(--g-brass); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 0 rgba(120,70,15,.4); }
.steps li::after { display: none; }
.steps h3 { margin: 0 0 6px; font: 700 17px var(--f-display); }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }
.how__cta { margin-top: 16px; }

/* FAQ */
.faq { margin-bottom: 40px; }
.qa { border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); margin-bottom: 8px; padding: 0; transition: border-color .2s, background .2s; }
.qa[open] { border-color: rgba(233,172,79,.35); background: rgba(233,172,79,.04); }
.qa summary { padding: 18px 54px 18px 20px; font-weight: 650; cursor: pointer; list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  font: 600 20px/1 var(--f-body); color: var(--brass-2); background: rgba(233,172,79,.1); transition: rotate .25s var(--ease-out); }
.qa[open] summary::after { rotate: 45deg; }
.qa p { margin: 0; padding: 0 20px 18px; color: #b5c0ce; }
.seo-text { color: var(--muted); font-size: 14.5px; max-width: 980px; }
.seo-text h2 { font-size: 20px; color: var(--text); }

@media (max-width: 1100px) {
  .hz__grid { grid-template-columns: 1fr; }
  .hz h1 { max-width: 18ch; }
  .stage { max-width: 720px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--battles { grid-row: span 1; min-height: 280px; }
  .perks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hz { padding-top: 18px; }
  .hz__cta .btn { flex: 1 1 100%; }
  .hz__trust { grid-template-columns: 1fr; }
  .hz__trust li { padding: 10px 12px; }
  .stage { padding: 10px; border-radius: 22px; }
  .stage__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage__btns, .stage__btns .btn { flex: 1 1 auto; }
  .dreel { height: 112px; }
  .dri { width: 108px; } .dri img { width: 96px; height: 54px; }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 32px; }
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; grid-auto-rows: minmax(150px, auto); }
  .tile { padding: 16px; border-radius: 18px; }
  .tile--battles, .tile--crash { grid-column: span 2; }
  .tile__go { display: none; }
  .tile__desc { font-size: 13px; }
  .tile__icon { width: 40px; height: 40px; padding: 8px; }
  .tile__chips, .tile__mult { display: none; }
  .perks__grid, .steps { grid-template-columns: 1fr; }
  .hsec__sub { margin-left: 0; }
}

/* ==========================================================================
   Профиль
   ========================================================================== */
.pf-hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 18px; padding: clamp(20px, 3vw, 32px); border-radius: 28px; border: 1px solid transparent;
  background:
    radial-gradient(70% 120% at 0% 0%, color-mix(in oklab, var(--rc) 34%, transparent), transparent 60%) padding-box,
    radial-gradient(60% 100% at 100% 100%, rgba(76,110,255,.16), transparent 60%) padding-box,
    linear-gradient(180deg, #19202a, #11161e) padding-box,
    linear-gradient(140deg, color-mix(in oklab, var(--rc) 80%, transparent), rgba(255,255,255,.05) 40%, rgba(255,255,255,.08)) border-box;
  box-shadow: var(--shadow-2); }
.pf-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 40px 40px;
  mask-image: linear-gradient(90deg, #000, transparent 70%); }
.pf-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 2.4vw, 28px); align-items: center; }
.pf-ava { position: relative; width: 112px; height: 112px; flex: none; }
.pf-ava .ava { width: 100% !important; height: 100% !important; border-radius: 30px; font-size: 40px; }
.pf-ava::before { content: ""; position: absolute; inset: -5px; border-radius: 34px; background: conic-gradient(from var(--a, 0deg), var(--rc), transparent 30%, var(--rc) 60%, transparent 80%, var(--rc)); animation: ring 6s linear infinite; z-index: -1; }
.pf-ava::after { content: ""; position: absolute; inset: -2px; border-radius: 31px; background: var(--bg-2); z-index: -1; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ring { to { --a: 360deg; } }
.pf-ava__lvl { position: absolute; left: 50%; bottom: -10px; translate: -50% 0; padding: 3px 10px; border-radius: 999px; font: 800 11px var(--f-display); white-space: nowrap; color: #0d1117; background: var(--rc); box-shadow: 0 6px 16px -6px var(--rc); }
.pf-name { margin: 0; font: 800 clamp(22px, 2.6vw, 32px)/1.1 var(--f-display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.pf-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; color: var(--muted); font-size: 14px; }
.pf-meta b { color: var(--rc); }
.pf-xp { margin-top: 14px; max-width: 520px; }
.pf-xp__bar { height: 10px; border-radius: 6px; background: rgba(0,0,0,.35); box-shadow: inset 0 1px 3px rgba(0,0,0,.5); overflow: hidden; }
.pf-xp__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in oklab, var(--rc) 60%, #fff), var(--rc)); box-shadow: 0 0 14px var(--rc); width: 0; transition: width 1.4s var(--ease-out); }
.pf-xp__txt { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.pf-actions { display: grid; gap: 8px; justify-items: stretch; min-width: 210px; }
.pf-bal { padding: 14px 16px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.pf-bal span { display: block; font-size: 12.5px; color: var(--muted); }
.pf-bal b { font: 800 26px var(--f-display); letter-spacing: -.02em; }

.pf-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.pf-stat { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); min-width: 0; }
.pf-stat span { display: block; font-size: 12.5px; color: var(--muted); }
.pf-stat b { display: block; margin-top: 2px; font: 800 19px var(--f-display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-stat--best { display: flex; gap: 10px; align-items: center; grid-column: span 1; background: radial-gradient(80% 100% at 0% 50%, color-mix(in oklab, var(--c) 30%, transparent), transparent), rgba(255,255,255,.035); border-color: color-mix(in oklab, var(--c) 40%, transparent); }
.pf-stat--best img { width: 64px; height: 44px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.pf-stat--best div { min-width: 0; }
.pf-stat--best b { font-size: 15px; color: var(--c); }

.pf-tabs { display: flex; gap: 6px; margin: 18px 0; padding: 6px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(var(--top-h) + 8px); z-index: 10; backdrop-filter: blur(14px); }
.pf-tabs::-webkit-scrollbar { display: none; }
.pf-tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; color: var(--muted); text-decoration: none; font-weight: 650; font-size: 14.5px; transition: background .2s, color .2s; }
.pf-tabs a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pf-tabs a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.pf-tabs a[aria-current] { color: var(--brass-ink); background: var(--g-brass); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 20px -10px rgba(233,172,79,.8); }
.pf-tabs small { padding: 1px 7px; border-radius: 8px; background: rgba(255,255,255,.08); font-size: 11.5px; }
.pf-tabs a[aria-current] small { background: rgba(0,0,0,.15); }

.inv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.inv-bar input[type=search] { flex: 1 1 220px; height: 42px; padding: 0 14px; }
.inv-bar select { height: 42px; padding: 0 12px; width: auto; }
.chipset { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); flex-wrap: wrap; }
.chipset button { padding: 6px 12px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); font: 600 13.5px var(--f-body); cursor: pointer; }
.chipset button[aria-pressed="true"] { background: rgba(255,255,255,.08); color: var(--text); }

.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.ach { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); overflow: hidden; }
.ach svg { grid-row: span 2; width: 48px; height: 48px; padding: 11px; border-radius: 15px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: rgba(255,255,255,.04); }
.ach b { font: 700 15px var(--f-display); }
.ach span { font-size: 13px; color: var(--muted); }
.ach__bar { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: rgba(0,0,0,.35); overflow: hidden; margin-top: 4px; }
.ach__bar i { display: block; height: 100%; background: var(--ac); border-radius: inherit; }
.ach__num { position: absolute; right: 14px; top: 12px; font-size: 12px; color: var(--muted); font-weight: 600; }
.ach.is-done { border-color: color-mix(in oklab, var(--ac) 50%, transparent); background: radial-gradient(90% 120% at 0% 0%, color-mix(in oklab, var(--ac) 20%, transparent), transparent 70%), rgba(255,255,255,.03); }
.ach.is-done svg { stroke: var(--ac); background: color-mix(in oklab, var(--ac) 16%, transparent); box-shadow: 0 0 22px -6px var(--ac); }
.ach.is-done .ach__num { color: var(--ac); }
.ach:not(.is-done) { filter: saturate(.6); }

.mstats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.mstat { padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(90% 90% at 100% 0%, color-mix(in oklab, var(--ga) 18%, transparent), transparent 70%), rgba(255,255,255,.025); }
.mstat header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mstat header svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; fill: none; stroke: var(--ga); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: color-mix(in oklab, var(--ga) 14%, transparent); }
.mstat header b { font: 700 16px var(--f-display); }
.mstat dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.mstat dt { font-size: 12px; color: var(--muted); }
.mstat dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.mstat .is-plus { color: var(--ok); } .mstat .is-minus { color: var(--bad); }

@media (max-width: 1100px) { .pf-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pf-top { grid-template-columns: auto minmax(0, 1fr); } .pf-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr 1fr; min-width: 0; } }
@media (max-width: 760px) {
  .pf-hero { border-radius: 22px; }
  .pf-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pf-meta { justify-content: center; }
  .pf-xp { margin-inline: auto; }
  .pf-ava { width: 92px; height: 92px; }
  .pf-actions { grid-template-columns: 1fr 1fr; width: 100%; }
  .pf-bal { grid-column: 1 / -1; }
  .pf-stats { grid-template-columns: 1fr 1fr; }
  .pf-stat--best { grid-column: 1 / -1; }
}

/* ==========================================================================
   Рейтинг недели
   ========================================================================== */
.lb-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; padding-top: 18px; margin-bottom: 22px; }
.lb-head h1 { margin: 0; font: 800 clamp(28px, 3.6vw, 44px)/1.05 var(--f-display); letter-spacing: -.03em; }
.lb-head p { margin: 10px 0 0; color: var(--muted); max-width: 60ch; }
.lb-timer { padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); text-align: right; }
.lb-timer span { display: block; font-size: 12.5px; color: var(--muted); }
.lb-timer b { font: 800 22px var(--f-display); font-variant-numeric: tabular-nums; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; align-items: end; margin-bottom: 16px; }
.pod { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 16px 20px; border-radius: 22px; text-align: center; text-decoration: none; color: var(--text); border: 1px solid transparent;
  background: radial-gradient(80% 70% at 50% 0%, color-mix(in oklab, var(--pc) 30%, transparent), transparent 70%) padding-box, linear-gradient(180deg, #1a212b, #12171f) padding-box, linear-gradient(180deg, var(--pc), rgba(255,255,255,.04) 60%) border-box; }
.pod:hover { color: var(--text); }
.pod--1 { padding-block: 36px 26px; --pc: #f6c66f; }
.pod--2 { --pc: #c9d3df; } .pod--3 { --pc: #d08a52; }
.pod__place { position: absolute; top: -16px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font: 800 16px var(--f-display); color: #111; background: var(--pc); box-shadow: 0 8px 20px -8px var(--pc); }
.pod .ava { width: 72px !important; height: 72px !important; border-radius: 22px; box-shadow: 0 0 0 3px var(--pc); }
.pod--1 .ava { width: 88px !important; height: 88px !important; }
.pod b { font: 700 16px var(--f-display); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod span { color: var(--muted); font-size: 13px; }
.pod strong { font: 800 18px var(--f-display); color: var(--pc); }
.pod em { font-style: normal; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.06); }
.lb-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.lb-table th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 4px 14px; }
.lb-table td { padding: 12px 14px; background: rgba(255,255,255,.03); border-block: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.lb-table td:first-child { border-left: 1px solid var(--line); border-radius: 14px 0 0 14px; font: 800 15px var(--f-display); color: var(--muted); width: 56px; }
.lb-table td:last-child { border-right: 1px solid var(--line); border-radius: 0 14px 14px 0; }
.lb-table tr.is-me td { background: rgba(233,172,79,.08); border-color: rgba(233,172,79,.35); }
.lb-user { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; min-width: 0; }
.lb-prize { color: var(--brass-2); font-weight: 700; }
@media (max-width: 760px) {
  .lb-head { grid-template-columns: 1fr; }
  .lb-timer { text-align: left; }
  .podium { grid-template-columns: 1fr 1fr; }
  .pod--1 { grid-column: 1 / -1; order: -1; }
  .lb-table .hide-sm { display: none; }
}

/* ==========================================================================
   Гайды
   ========================================================================== */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; text-decoration: none; color: var(--text); border: 1px solid transparent;
  background: radial-gradient(100% 80% at 100% 0%, color-mix(in oklab, var(--ga) 20%, transparent), transparent 60%) padding-box, linear-gradient(180deg, #19202a, #121820) padding-box, linear-gradient(160deg, color-mix(in oklab, var(--ga) 50%, transparent), rgba(255,255,255,.05) 45%) border-box;
  transition: transform .3s var(--ease-out); }
.guide-card:hover { color: var(--text); transform: translateY(-3px); }
.guide-card svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; fill: none; stroke: var(--ga); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: color-mix(in oklab, var(--ga) 14%, transparent); }
.guide-card h2 { margin: 6px 0 0; font: 700 18px/1.25 var(--f-display); }
.guide-card p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.guide-card span { font-size: 13px; color: var(--muted); }
.article { max-width: 760px; margin: 0 auto; padding-top: 16px; }
.article h1 { font: 800 clamp(28px, 3.4vw, 42px)/1.1 var(--f-display); letter-spacing: -.03em; margin: 0 0 12px; }
.article__meta { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.article .prose { font-size: 17px; line-height: 1.7; }
.article .prose h2 { font: 700 22px var(--f-display); margin-top: 34px; }
.article .prose li { margin-bottom: 6px; }
.article__cta { margin: 30px 0; padding: 22px; border-radius: 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: radial-gradient(80% 120% at 0% 0%, rgba(233,172,79,.18), transparent 60%), rgba(255,255,255,.03); border: 1px solid rgba(233,172,79,.3); }
.article__cta b { font: 700 18px var(--f-display); }
.mode-faq { margin-top: 36px; }

@media (prefers-reduced-motion: reduce) {
  .hz__bg i, .stage__case .cart, .tile__vs, .tile__curve path, .btn--brass::after, .pf-ava::before, .hz__dot { animation: none !important; }
  .tile__curve path { stroke-dashoffset: 0; }
}

.balance__sum { color: var(--text); text-decoration: none; }
.balance__sum:hover { color: var(--brass-2); }
.balance__plus { border: 0; cursor: pointer; }
@media (max-width: 760px) { .balance { padding-left: 10px; font-size: 13.5px; } .sfx-toggle { width: 36px; height: 36px; } }
.hz__bg { mask-image: linear-gradient(180deg, #000 60%, transparent); }
.tile__chips { top: 72px; bottom: auto; right: 18px; }
.case::after { left: 22%; right: 22%; bottom: -1px; height: 2px; border-radius: 2px; box-shadow: 0 0 12px var(--accent); }
.case .case__price { border-radius: 10px; }
.case:hover .case__price { background: var(--g-brass); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 18px -8px rgba(233,172,79,.8); }
.home .faq, .home .seo-text { max-width: var(--wrap); padding-block: 0; }
.home .seo-text { padding-bottom: 40px; }
.home .seo-text p { max-width: 90ch; }
.how { padding-block: 0; }
.steps li:hover { transform: translateY(-3px); border-color: rgba(233,172,79,.4); }
.balance__sum { white-space: nowrap; }
@media (max-width: 760px) {
  .tile__curve { display: none; }
  .top__in { gap: 8px; }
  .top__user { gap: 6px; }
  .logo__word { font-size: 18px; }
}
@media (max-width: 400px) { .logo__word { display: none; } }
.mode-faq { max-width: var(--wrap); padding-block: 0; }
.article .prose code { padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.06); font-size: .88em; overflow-wrap: anywhere; }
.page-guides .lb-head, .page-guide .crumbs { padding-top: 18px; }
@media (max-width: 760px) { .pf-stats > :last-child { grid-column: 1 / -1; } }
.ach__bar { order: 1; }
.ach__num { order: 2; position: static; grid-column: 1 / -1; justify-self: end; margin-top: -2px; }

svg.win__img { width: 100%; height: 96px; fill: var(--c); opacity: .9; }

/* ==========================================================================
   Гильзы и бонусные кейсы
   ========================================================================== */
.coin-ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.coins-chip { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border-radius: 12px; color: var(--text); text-decoration: none;
  font: 700 14.5px var(--f-display); white-space: nowrap; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(246,198,111,.12), rgba(246,198,111,.03)) padding-box, linear-gradient(180deg, rgba(246,198,111,.45), rgba(246,198,111,.08)) border-box; transition: filter .2s; }
.coins-chip:hover { color: #fff; filter: brightness(1.15); }
.coins-chip .coin-ico { width: 20px; height: 20px; }
@media (max-width: 760px) { .coins-chip { height: 36px; padding: 0 8px; font-size: 12.5px; } .coins-chip .coin-ico { width: 16px; height: 16px; } }
@media (max-width: 420px) { .coins-chip span { display: none; } }

.case__price--coins { display: inline-flex; align-items: center; gap: 6px; }
.cart__pile { position: absolute; z-index: 2; left: 12%; right: 12%; top: 6%; width: 76%; height: 42%; overflow: visible;
  filter: drop-shadow(0 0 12px color-mix(in oklab, var(--accent) 70%, transparent)); transition: transform .5s var(--ease-out); }
.case:hover .cart__pile { transform: translateY(-8%) scale(1.04); }
.cart--bonus::after { opacity: .9; }

.bn-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; padding-top: 18px; margin-bottom: 24px; }
.bn-head h1 { margin: 0; font: 800 clamp(28px, 3.6vw, 44px)/1.05 var(--f-display); letter-spacing: -.03em; }
.bn-head p { margin: 10px 0 0; color: var(--muted); max-width: 64ch; }
.bn-wallet { display: grid; gap: 8px; padding: 16px 18px; border-radius: 18px; min-width: 250px;
  background: radial-gradient(90% 120% at 0% 0%, rgba(246,198,111,.2), transparent 60%), rgba(255,255,255,.03); border: 1px solid rgba(246,198,111,.3); }
.bn-wallet > span { font-size: 12.5px; color: var(--muted); }
.bn-wallet b { display: flex; align-items: center; gap: 8px; font: 800 28px var(--f-display); }
.coins-inline { display: inline-flex; align-items: center; gap: 4px; }
.skin--bonus .bart, .ri .bart, .won .bart { width: 100%; height: 96px; }
.ri .bart { height: 66px; }
.btn .coin-ico { width: 20px; height: 20px; }
@media (max-width: 760px) { .bn-head { grid-template-columns: 1fr; } }

/* ==========================================================================
   Профиль-дашборд
   ========================================================================== */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px; margin-top: 18px; align-items: start; }
.dash__col { display: grid; gap: 14px; }
.dcard { position: relative; padding: 20px; border-radius: 22px; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)) padding-box, linear-gradient(#141a23, #141a23) padding-box, var(--g-edge) border-box;
  box-shadow: var(--shadow-1); }
.dcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dcard__head > svg { width: 46px; height: 46px; padding: 10px; flex: none; border-radius: 14px; fill: none; stroke: var(--brass-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: rgba(233,172,79,.1); box-shadow: inset 0 0 0 1px rgba(233,172,79,.25); }
.dcard__head h2 { margin: 0; font: 800 17px var(--f-display); letter-spacing: -.01em; }
.dcard__head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.dcard__link { margin-left: auto; font-size: 13px; font-weight: 600; text-decoration: none; }
.dcard__row { display: flex; gap: 8px; }
.dcard__row input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; }
.dcard__row .btn { flex: none; }
.dcard__help { display: inline-block; margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
a.dcard__help:hover { color: var(--brass-2); }
.dcard--warn { background: radial-gradient(90% 100% at 0% 0%, rgba(229,83,75,.22), transparent 60%) padding-box, linear-gradient(#141a23, #141a23) padding-box, linear-gradient(160deg, rgba(229,83,75,.7), rgba(255,255,255,.05) 50%) border-box; }
.dcard--warn .dcard__head > svg { stroke: #ff8f88; background: rgba(229,83,75,.14); box-shadow: inset 0 0 0 1px rgba(229,83,75,.35); }
.dstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dstats div { display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid var(--line); text-align: center; }
.dstats svg { width: 22px; height: 22px; fill: none; stroke: var(--brass-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dstats b { font: 800 20px var(--f-display); letter-spacing: -.02em; }
.dstats span { font-size: 12px; color: var(--muted); }
.dcard__foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.dcard__foot b { color: var(--text); }

.dcard--me { display: grid; justify-items: center; text-align: center; gap: 12px; padding-top: 16px; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 0%, color-mix(in oklab, var(--rc) 34%, transparent), transparent 70%) padding-box, linear-gradient(#141a23, #141a23) padding-box,
    linear-gradient(180deg, color-mix(in oklab, var(--rc) 75%, transparent), rgba(255,255,255,.05) 50%) border-box; }
.dme__top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.dme__steam { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.dme__steam svg { width: 16px; height: 16px; }
.dme__set svg { width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 1.8; transition: stroke .2s, rotate .5s var(--ease-out); }
.dme__set:hover svg { stroke: var(--brass-2); rotate: 90deg; }
.dcard--me .pf-ava { margin-bottom: 6px; }
.dcard--me .pf-name { font-size: clamp(20px, 2vw, 26px); }
.dcard--me .pf-xp { width: 100%; margin: 0; }
.dme__bal, .dme__coins { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--line); text-align: left; }
.dme__bal span, .dme__coins span { display: block; font-size: 12px; color: var(--muted); }
.dme__bal b { font: 800 24px var(--f-display); letter-spacing: -.02em; }
.dme__coins b { font: 800 18px var(--f-display); }
.dme__coins b span { display: inline; font-size: inherit; color: inherit; }
.dme__links { display: flex; gap: 6px 16px; flex-wrap: wrap; justify-content: center; font-size: 13.5px; }
.dme__links a { color: var(--muted); text-decoration: none; }
.dme__links a:hover { color: var(--brass-2); }
.dbest { display: grid; justify-items: center; text-align: center; gap: 4px;
  background: radial-gradient(70% 70% at 50% 40%, color-mix(in oklab, var(--c) 28%, transparent), transparent 70%) padding-box, linear-gradient(#141a23, #141a23) padding-box, linear-gradient(180deg, color-mix(in oklab, var(--c) 60%, transparent), rgba(255,255,255,.04)) border-box; }
.dbest__label { font: 700 13px var(--f-display); color: var(--muted); }
.dbest .art { width: 100%; height: 110px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.6)); }
.dbest svg.art { fill: var(--c); }
.dbest b { font-size: 15px; } .dbest b small { display: block; color: var(--muted); font-weight: 500; }
.dbest__src { font-size: 12.5px; color: var(--muted); }
.dbest strong { font: 800 20px var(--f-display); color: var(--c); }
.dcash__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dcash__row b { font: 800 24px var(--f-display); }
@media (max-width: 1100px) { .dash { grid-template-columns: 1fr 1fr; } .dash__col:nth-child(2) { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 760px) { .dash { grid-template-columns: 1fr; } .dcard { padding: 16px; border-radius: 18px; } }

/* Мошенники и закладки */
.scam .modal__body { max-width: 560px; background: radial-gradient(100% 60% at 0% 0%, rgba(229,83,75,.22), transparent 60%), #151a22; border: 1px solid rgba(229,83,75,.45); border-radius: 22px; }
.scam__head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.scam__head svg { width: 52px; height: 52px; padding: 11px; flex: none; border-radius: 16px; fill: none; stroke: #ff8f88; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: rgba(229,83,75,.16); box-shadow: 0 0 30px -6px rgba(229,83,75,.7); }
.scam__head h2 { margin: 0; font: 800 22px var(--f-display); }
.scam__head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.scam__list { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.scam__list li { padding: 8px 12px 8px 36px; border-radius: 10px; background: rgba(0,0,0,.25); position: relative; font-size: 14.5px; }
.scam__list li::before { content: "×"; position: absolute; left: 12px; top: 50%; translate: 0 -50%; color: #ff8f88; font-weight: 800; font-size: 18px; }
.scam__tip { font-size: 14px; color: #c7d0dc; }
.scam__never { display: flex; align-items: center; gap: 8px; margin: 6px 0 14px; color: var(--muted); font-size: 14px; cursor: pointer; }
.linklike { background: none; border: 0; padding: 0; color: var(--brass-2); font: inherit; text-decoration: underline; cursor: pointer; }
.bmark { position: fixed; z-index: 60; right: 20px; bottom: 96px; width: min(340px, calc(100vw - 32px)); padding: 16px 18px; border-radius: 18px;
  background: rgba(20,26,35,.96); backdrop-filter: blur(14px); border: 1px solid rgba(233,172,79,.45); box-shadow: 0 24px 60px -20px rgba(0,0,0,.9); animation: slideIn .5s var(--ease-out); }
.bmark b { display: flex; align-items: center; gap: 8px; font: 700 15px var(--f-display); padding-right: 24px; }
.bmark b svg { width: 18px; height: 18px; fill: var(--brass); }
.bmark p { margin: 6px 0 10px; font-size: 13.5px; color: var(--muted); }
.bmark__x { position: absolute; right: 10px; top: 8px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; }
.bmark kbd { padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); font: 700 12px var(--f-body); }
.bmark__keys { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Техподдержка
   ========================================================================== */
.sup-fab { position: fixed; z-index: 55; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  color: var(--brass-ink); background: var(--g-brass); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -3px 0 rgba(120,70,15,.45), 0 14px 34px -10px rgba(233,172,79,.9), 0 0 0 6px rgba(233,172,79,.12);
  transition: transform .25s var(--ease-spring), box-shadow .25s; }
.sup-fab:hover { transform: translateY(-3px) scale(1.05); }
.sup-fab svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sup-fab__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #e5534b; color: #fff; font: 800 12px/22px var(--f-body); box-shadow: 0 0 0 3px var(--bg); }
.sup-open .sup-fab { transform: scale(.9); }
.sup { position: fixed; z-index: 56; right: 20px; bottom: 92px; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column;
  border-radius: 22px; overflow: hidden; background: #141a23; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0,0,0,.95), 0 0 0 1px rgba(233,172,79,.12);
  animation: supIn .35s var(--ease-out); transform-origin: bottom right; }
.sup[hidden] { display: none; }
@keyframes supIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.sup__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: radial-gradient(100% 140% at 0% 0%, rgba(233,172,79,.25), transparent 60%), #19202a; border-bottom: 1px solid var(--line); }
.sup__ava { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--g-brass); }
.sup__ava svg { width: 16px; height: 22px; }
.sup__head b { font: 700 15px var(--f-display); display: block; }
.sup__head small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); line-height: 1.3; }
.sup__dot { width: 7px; height: 7px; border-radius: 50%; background: #5ee0a0; flex: none; }
.sup__x { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; }
.sup__x:hover { color: var(--text); }
.sup__tabs { display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.sup__tabs button { flex: 1; padding: 8px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 600 13.5px var(--f-body); cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.sup__tabs button[aria-selected="true"] { background: rgba(255,255,255,.07); color: var(--text); }
.sup__tabs i { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5534b; color: #fff; font-size: 11px; line-height: 18px; }
.sup__body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
.msg { align-self: flex-start; max-width: 86%; padding: 10px 13px; border-radius: 16px 16px 16px 6px; background: #1e2631; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; animation: slideIn .3s var(--ease-out); }
.msg--me { align-self: flex-end; border-radius: 16px 16px 6px 16px; background: linear-gradient(180deg, rgba(233,172,79,.28), rgba(233,172,79,.16)); }
.msg small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.msg__who { display: block; font: 700 12px var(--f-display); color: var(--brass-2); margin-bottom: 3px; }
.sup__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sup__chips button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text); font: 600 13px var(--f-body); cursor: pointer; transition: border-color .2s, background .2s; }
.sup__chips button:hover { border-color: rgba(233,172,79,.6); background: rgba(233,172,79,.08); }
.sup__chips .is-op { border-color: rgba(233,172,79,.5); color: var(--brass-2); }
.sup__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid var(--line); background: #11161d; }
.sup__form[hidden] { display: none; }
.sup__form textarea { flex: 1; resize: none; min-height: 42px; max-height: 140px; padding: 10px 12px; border-radius: 14px; font: 14px/1.4 var(--f-body); color: var(--text); }
.sup__send { width: 42px; height: 42px; flex: none; border: 0; border-radius: 12px; cursor: pointer; display: grid; place-items: center; background: var(--g-brass); color: var(--brass-ink); }
.sup__send svg { width: 20px; height: 20px; fill: currentColor; }
.sup__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.sup__list button { position: relative; width: 100%; text-align: left; display: grid; gap: 3px; padding: 11px 13px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; font: inherit; }
.sup__list button:hover { border-color: var(--line-2); }
.sup__list b { font-size: 14px; padding-right: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sup__list small { font-size: 11.5px; color: var(--muted); }
.sup__list i { position: absolute; right: 12px; top: 12px; font-style: normal; min-width: 20px; height: 20px; border-radius: 10px; background: #e5534b; color: #fff; font-size: 11px; text-align: center; line-height: 20px; }
.st { justify-self: start; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 6px; }
.st--open { background: rgba(240,200,60,.14); color: #f0c83c; } .st--answered { background: rgba(79,191,135,.15); color: #5ee0a0; } .st--closed { background: rgba(255,255,255,.06); color: var(--muted); }
.sup__back { align-self: flex-start; background: none; border: 0; color: var(--brass-2); font: 600 13px var(--f-body); cursor: pointer; padding: 0; }
.sup__subj { margin: 0 0 4px; font: 700 15px var(--f-display); }
.sup__load { text-align: center; font-size: 13px; }
.sup__empty { margin: auto; text-align: center; display: grid; gap: 10px; justify-items: center; padding: 20px; }
@media (max-width: 760px) {
  .sup-fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .sup { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
  .bmark { right: 14px; bottom: 80px; }
}

/* ==========================================================================
   Демо-режим
   ========================================================================== */
.mode-sw { display: inline-flex; padding: 3px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid var(--line-2); height: 40px; }
.mode-sw__btn { border: 0; background: none; padding: 0 11px; border-radius: 9px; color: var(--muted); font: 700 12.5px var(--f-body); cursor: pointer; transition: background .2s, color .2s; }
.mode-sw__btn:disabled { cursor: default; }
.mode-sw__btn:not(:disabled):hover { color: var(--text); }
.mode-sw__btn.is-on { background: rgba(255,255,255,.1); color: var(--text); }
.mode-sw__btn--demo.is-on { background: linear-gradient(180deg, #7aa7ff, #4c6ef5); color: #fff; box-shadow: 0 6px 16px -8px #4c6ef5; }
.balance--demo { background: repeating-linear-gradient(135deg, rgba(76,110,245,.16) 0 8px, rgba(76,110,245,.06) 8px 16px) padding-box, linear-gradient(180deg, rgba(122,167,255,.7), rgba(76,110,245,.2)) border-box; }
.balance--demo .balance__plus { background: linear-gradient(180deg, #9cbcff, #4c6ef5); color: #fff; }
.balance form { display: contents; }
.demo-bar { display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap; padding: 9px var(--gutter); font-size: 13.5px;
  background: repeating-linear-gradient(135deg, rgba(76,110,245,.22) 0 14px, rgba(76,110,245,.12) 14px 28px); border-bottom: 1px solid rgba(122,167,255,.35); }
.demo-bar b { padding: 3px 10px; border-radius: 8px; background: #4c6ef5; color: #fff; font: 800 12px var(--f-display); }
.demo-bar span { color: #c9d6ff; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.row-btns form { flex: 1; } .row-btns .btn { width: 100%; }
@media (min-width: 1280px) { .demo-bar { margin-left: var(--feed-w); } }
@media (max-width: 1100px) { .mode-sw__btn { padding: 0 8px; font-size: 11.5px; } }
@media (max-width: 760px) { .mode-sw { height: 34px; } .mode-sw__btn:not(.is-on) { display: none; } .mode-sw__btn { padding: 0 8px; } .mode-sw:has(.mode-sw__btn--demo:not(.is-on)) .mode-sw__btn--demo { display: block; } .mode-sw:has(.mode-sw__btn--demo:not(.is-on)) .mode-sw__btn.is-on { display: none; } }

/* ==========================================================================
   Окно «мошенники» v2
   ========================================================================== */
.scam .modal__body { max-width: 600px; padding: 0; overflow: hidden; background: #141a23; border: 1px solid rgba(229,83,75,.4); border-radius: 24px; }
.scam__head { margin: 0; padding: 22px 24px; gap: 16px; background: radial-gradient(120% 140% at 0% 0%, rgba(229,83,75,.4), transparent 60%), linear-gradient(180deg, #2a1517, #1a1418); border-bottom: 1px solid rgba(229,83,75,.25); }
.scam__head svg { width: 56px; height: 56px; padding: 12px; background: rgba(229,83,75,.2); box-shadow: inset 0 0 0 1px rgba(255,143,136,.35), 0 0 34px -4px rgba(229,83,75,.8); animation: alarm 2.4s ease-in-out infinite; }
@keyframes alarm { 50% { box-shadow: inset 0 0 0 1px rgba(255,143,136,.5), 0 0 44px 2px rgba(229,83,75,.6); } }
.scam__head h2 { font-size: clamp(19px, 2.4vw, 23px); line-height: 1.15; }
.scam__in { padding: 20px 24px 24px; }
.scam__in > p:first-child { margin: 0 0 14px; font-size: 15px; line-height: 1.55; }
.scam__list { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.scam__list li { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; background: rgba(229,83,75,.06); border: 1px solid rgba(229,83,75,.16); }
.scam__list li:last-child { grid-column: 1 / -1; }
.scam__list li::before { content: ""; position: static; translate: none; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 6px;
  background: #e5534b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/11px no-repeat; }
.scam__tip { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: rgba(79,191,135,.08); border: 1px solid rgba(79,191,135,.25); font-size: 13.5px; line-height: 1.5; }
.scam__tip::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 6px; background: #3fb57c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.scam__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.scam__never { margin: 0; }
.scam__never input { appearance: none; width: 38px; height: 22px; border-radius: 11px; background: rgba(255,255,255,.12); position: relative; cursor: pointer; transition: background .2s; flex: none; }
.scam__never input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease-out); }
.scam__never input:checked { background: #e5534b; }
.scam__never input:checked::after { transform: translateX(16px); }
.scam__foot .btn { flex: 0 1 auto; }
@media (max-width: 560px) { .scam__list { grid-template-columns: 1fr; } .scam__foot .btn { width: 100%; } }

/* ==========================================================================
   SEO-текст: аккуратная карточка
   ========================================================================== */
.seo-text { position: relative; margin-top: 8px; margin-bottom: 40px; padding: clamp(22px, 3vw, 34px) !important; border-radius: 24px; color: #a9b4c3; font-size: 14.5px; line-height: 1.7;
  background: radial-gradient(70% 120% at 100% 0%, rgba(233,172,79,.08), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); border: 1px solid var(--line); }
.home .seo-text, .seo-text { max-width: var(--wrap); }
.seo-text h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 800 clamp(18px, 1.8vw, 22px) var(--f-display); color: var(--text); letter-spacing: -.02em; }
.seo-text h2::before { content: ""; width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(233,172,79,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M9 2h6v4l2.5 4V26h-11V10L9 6z' fill='%23e9ac4f'/%3E%3Crect x='5' y='26' width='14' height='4' rx='1' fill='%23e9ac4f'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: inset 0 0 0 1px rgba(233,172,79,.3); }
.seo-text h2:not(:first-child) { margin-top: 22px; }
.seo-text p { margin: 0 0 12px; max-width: none !important; break-inside: avoid; }
@media (min-width: 1000px) { .home .seo-text { column-count: 2; column-gap: 40px; } .home .seo-text h2 { column-span: all; } }
.seo-text a { color: var(--brass-2); font-weight: 600; text-decoration: none; padding: 0 2px; border-radius: 4px; background: linear-gradient(transparent 62%, rgba(233,172,79,.18) 0); transition: background .2s, color .2s; }
.seo-text a:hover { color: #fff; background: rgba(233,172,79,.28); }

/* Ежедневные задания */
.quests { display: grid; gap: 10px; }
.quest { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); --ac: var(--brass); }
.quest > svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; fill: none; stroke: var(--brass-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: rgba(233,172,79,.1); }
.quest__main b { display: block; font-size: 15px; margin-bottom: 6px; }
.quest__main span { font-size: 12.5px; color: var(--muted); }
.quest__prize { display: flex; align-items: center; gap: 6px; font: 800 16px var(--f-display); }
.quest__prize .coin-ico { width: 20px; height: 20px; }
.quest__st { min-width: 74px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.quest.is-done { border-color: rgba(233,172,79,.5); background: radial-gradient(80% 140% at 0% 0%, rgba(233,172,79,.14), transparent 60%), rgba(255,255,255,.03); }
.quest.is-claimed { opacity: .6; } .quest.is-claimed .quest__st { color: #5ee0a0; }
@media (max-width: 560px) { .quest { grid-template-columns: auto minmax(0, 1fr); } .quest__prize, .quest > form, .quest__st { grid-column: 2; justify-self: start; } }

/* ==========================================================================
   Мобильная версия: нижнее меню и плотная сетка
   ========================================================================== */
.mbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(12,16,22,.92); backdrop-filter: blur(16px) saturate(1.4); border-top: 1px solid var(--line-2); }
  .mbar a, .mbar button { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border: 0; background: none; border-radius: 12px; color: var(--muted); text-decoration: none; font: 600 11px var(--f-body); cursor: pointer; }
  .mbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mbar [aria-current] { color: var(--brass-2); background: rgba(233,172,79,.1); }
  .sup-fab { bottom: calc(78px + env(safe-area-inset-bottom)); }
  .bmark { bottom: calc(140px + env(safe-area-inset-bottom)); }
  .foot { padding-bottom: 10px; }
  .top__in { padding-inline: 12px; }
  .hz h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .counter { padding: 16px; }
  .counter b { font-size: 21px; }
  .grid-cases { gap: 10px; }
  .case { border-radius: 16px; }
  .wins__track { grid-auto-columns: 168px; }
  .win__img { height: 80px; }
  .hsec h2, .sec h2 { font-size: 20px; }
  .seo-text { font-size: 14px; border-radius: 18px; }
  .pf-tabs { position: static; }
  .scam .modal__body { border-radius: 20px; }
  .scam__head, .scam__in { padding-inline: 18px; }
}
.modal.scam { width: min(600px, calc(100vw - 20px)); max-width: none; padding: 0; margin: auto; border: 0; background: transparent; }
.scam .modal__body { width: 100%; max-width: none; }
.scam__tip { display: block; position: relative; padding-left: 42px; }
.scam__tip::before { position: absolute; left: 14px; top: 14px; margin: 0; }
@media (max-width: 760px) { .sup-fab { width: 48px; height: 48px; right: 10px; } .sup-fab svg { width: 24px; height: 24px; } }
.seo-text.wrap { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.free-need { flex-basis: 100%; margin: 0; font-size: 13px; color: #f0c83c; }
.free-need.is-ok { color: #5ee0a0; }
