/* ============================================================
   BOARD GAMES — playable app
   ============================================================ */

:root {
  --bg-0: #180a02;
  --bg-1: #22100a;
  --bg-2: #2e1810;
  --bg-3: #3e2114;
  --ink: #fff5ea;
  --ink-2: #f5d6b5;
  --ink-3: #b08770;
  --ink-4: #7a5a46;
  --line: rgba(255, 180, 110, 0.1);

  --pink:   #ff6a00;     /* основной оранжевый (rename variable роли — для минимальной правки) */
  --violet: #ea580c;
  --cyan:   #fbbf24;
  --yellow: #fde047;
  --green:  #f97316;
  --orange: #ff6a00;
  --red:    #dc2626;

  --grad:      linear-gradient(135deg, #ff6a00 0%, #f97316 50%, #fbbf24 100%);
  --grad-hot:  linear-gradient(135deg, #fde047 0%, #ff6a00 55%, #dc2626 100%);
  --grad-deep: linear-gradient(135deg, #9a3412 0%, #ea580c 100%);

  --radius: 18px;
  --radius-lg: 28px;

  --font-display: 'Russo One', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.4;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  overscroll-behavior: none;
}
body {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(234, 88, 12, 0.25), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(220, 38, 38, 0.18), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(251, 191, 36, 0.15), transparent 60%),
    var(--bg-0);
  background-attachment: fixed;
}
button { font: inherit; cursor: pointer; background: transparent; border: 0; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }

/* ============================================================
   РАМКА-ТЕЛЕФОН
   ============================================================ */
.phone {
  width: min(420px, 100%);
  margin: 16px auto;
  background: linear-gradient(180deg, #0e0703 0%, #1a0e06 100%);
  border-radius: 44px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 40px 80px -20px rgba(255, 106, 0, 0.4),
    0 0 0 2px rgba(255, 106, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.08);
}
.phone__notch {
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px;
  background: #000;
  border-radius: 16px;
  z-index: 100;
  pointer-events: none;
}
.phone__statusbar {
  position: absolute;
  top: 20px; left: 20px; right: 20px;
  height: 26px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 28px;
  font-size: 13px; font-weight: 700;
  color: var(--ink);
  z-index: 101;
  pointer-events: none;
}
.phone__time { margin-right: auto; padding-right: 100px; }
.phone__icons {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink);
  padding-left: 100px;
}
.phone__home {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 4px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  z-index: 100;
  pointer-events: none;
}
.phone__inner {
  width: 100%;
  border-radius: 34px;
  background: var(--bg-0);
  padding-top: 54px;
  padding-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.phone__inner::-webkit-scrollbar { width: 4px; }
.phone__inner::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

.phone:has(.fig-home) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone:has(.fig-home) .phone__notch,
.phone:has(.fig-home) .phone__home,
.phone:has(.fig-home) .phone__statusbar {
  display: none;
}

.phone__inner:has(.fig-home) {
  border-radius: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Рамка-чёлка и home-индикатор абсолютные внутри phone */
.phone__notch, .phone__statusbar, .phone__home { position: absolute; }

/* На узких экранах — на полный экран без рамки */
@media (max-width: 480px) {
  .phone {
    width: 100%;
    margin: 0; border-radius: 0; padding: 0;
    box-shadow: none;
  }
  .phone__notch, .phone__home, .phone__statusbar { display: none; }
  .phone__inner { border-radius: 0; padding-top: 16px; }
  .screen--launcher .phone__inner,
  .phone__inner:has(.screen--launcher:not([hidden])) {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* ============================================================
   ЭКРАНЫ (внутри рамки)
   ============================================================ */
.screen {
  padding: 16px 18px 30px;
  animation: fadeIn .3s ease;
}

/* Глобальный фикс: атрибут hidden должен всегда скрывать */
[hidden] { display: none !important; }

/* ============================================================
   ЛИЧНЫЙ КАБИНЕТ (страница)
   ============================================================ */
.iconbtn-round {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  font-size: 18px;
}
.iconbtn-round:hover { background: rgba(255,255,255,0.16); }
.profilepg { display: flex; flex-direction: column; gap: 16px; }
.profilepg__head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.12), rgba(220, 38, 38, 0.12));
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: var(--radius);
}
.profilepg__av {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #fff;
  font-size: 26px;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.35);
}
.profilepg__head b {
  font-family: var(--font-display);
  font-size: 20px;
  display: block;
  margin-bottom: 2px;
}
.profilepg__head small { font-size: 12px; color: var(--ink-3); }

.profilepg__level {
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.profilepg__level-head {
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 1px;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}
.profilepg__level-head span:first-child { color: var(--orange); }
.profilepg__level-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.profilepg__level-bar div {
  height: 100%;
  background: var(--grad);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
}

.profilepg__balance {
  padding: 18px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(255, 106, 0, 0.12));
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius);
  text-align: center;
}
.profilepg__balance small {
  display: block;
  font-size: 11px; letter-spacing: 2px;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.profilepg__balance > b {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  background: linear-gradient(135deg, #fde047, #ff6a00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.profilepg__pay {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.profilepg__pay .btn { padding: 12px; font-size: 12px; }

.profilepg__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.profilepg__stats > div {
  padding: 12px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 2px;
  text-align: center;
}
.profilepg__stats b {
  font-family: var(--font-display);
  font-size: 18px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.profilepg__stats small {
  font-size: 10px; letter-spacing: 0.5px;
  color: var(--ink-3);
  text-transform: uppercase;
}

.profilepg__menu {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 2px;
}
.profilepg__menu button {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
  color: var(--ink-2);
  transition: background .15s;
}
.profilepg__menu button:hover {
  background: rgba(255, 106, 0, 0.1);
  color: var(--ink);
}
.profilepg__menu .muted {
  font-size: 12px; color: var(--orange); font-weight: 700;
}
.profilepg__menu .is-danger { color: #f87171; }

/* ============================================================
   ПОПОЛНЕНИЕ / ЮKassa
   ============================================================ */
.topup, .promo, .settings, .editp, .support, .ach, .statspg, .history, .friends {
  display: flex; flex-direction: column; gap: 14px;
}
.topup__hero {
  text-align: center;
  padding: 16px 8px 4px;
}
.topup__emoji { font-size: 52px; display: block; margin-bottom: 8px; }
.topup__hero h2 {
  font-family: var(--font-display);
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 4px;
}
.topup__hero p { color: var(--ink-3); font-size: 13px; max-width: 300px; margin: 0 auto; }

.topup__amounts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.amt {
  padding: 14px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--ink);
  transition: all .15s;
  position: relative;
}
.amt:hover { border-color: rgba(255, 106, 0, 0.5); }
.amt.is-active {
  background: linear-gradient(160deg, rgba(255, 106, 0, 0.2), rgba(220, 38, 38, 0.2));
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15);
}
.amt b {
  font-family: var(--font-display);
  font-size: 20px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.amt small { font-size: 11px; color: var(--ink-3); }
.amt small i {
  font-style: normal;
  color: #fde047;
  font-weight: 700;
}

.topup__custom, .topup__methods { display: flex; flex-direction: column; gap: 8px; }
.topup__custom label,
.topup__methods label,
.promo label,
.editp label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}
.topup__input, .promo__input, .input-wrap {
  position: relative;
  display: flex; align-items: center;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 0 16px;
  transition: border-color .15s;
}
.topup__input:focus-within,
.promo__input:focus-within { border-color: var(--orange); }
.topup__input input, .promo__input input, .input {
  flex: 1;
  border: 0; background: transparent;
  padding: 14px 0;
  font-size: 16px; font-weight: 700;
  color: var(--ink);
  font-family: inherit;
  outline: 0;
}
.topup__input span { color: var(--ink-3); font-weight: 700; }
.promo__input input {
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 16px;
}
.input:focus { border-color: var(--orange); outline: 0; }

.methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.method {
  padding: 14px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-2);
  font-size: 13px; font-weight: 600;
  transition: all .15s;
  text-align: left;
}
.method span { font-size: 20px; }
.method.is-active {
  background: rgba(255, 106, 0, 0.12);
  border-color: var(--orange);
  color: var(--ink);
}

.topup__summary {
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(255, 106, 0, 0.08));
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 6px;
}
.topup__summary > div {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
}
.topup__summary span { color: var(--ink-3); }
.topup__summary b {
  font-family: var(--font-display);
  font-size: 18px;
  background: linear-gradient(135deg, #fde047, #ff6a00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topup__hint {
  font-size: 11px; color: var(--ink-4);
  line-height: 1.5;
  text-align: center;
  padding: 0 10px;
}
.topup__hint a { color: var(--orange); }

/* ============================================================
   ПРОМОКОД
   ============================================================ */
.promo__result {
  padding: 14px 18px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  min-height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all .3s;
}
.promo__result.is-ok {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}
.promo__result.is-err {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}
.promo__hint {
  font-size: 13px;
  color: var(--ink-3);
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
}
.promo__hint ul { margin: 6px 0 0 20px; }
.promo__hint li { margin-bottom: 4px; }
.promo__hint code {
  background: rgba(255, 106, 0, 0.12);
  color: var(--orange);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================
   НАСТРОЙКИ
   ============================================================ */
.settings__group {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
  margin: 16px 4px 4px;
}
.settings__group:first-child { margin-top: 0; }
.row-switch {
  display: grid;
  grid-template-columns: 1fr auto 44px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  cursor: pointer;
  user-select: none;
}
.row-switch span:first-child { display: flex; flex-direction: column; gap: 2px; }
.row-switch b { font-size: 14px; font-weight: 500; color: var(--ink); }
.row-switch small { font-size: 12px; color: var(--ink-3); }
.row-switch input[type="checkbox"] { display: none; }
.switch {
  grid-column: 3;
  width: 44px; height: 26px;
  background: rgba(255,255,255,0.12);
  border-radius: 13px;
  position: relative;
  transition: background .2s;
}
.switch::before {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.row-switch input:checked ~ .switch { background: var(--orange); }
.row-switch input:checked ~ .switch::before { transform: translateX(18px); }

.row-action {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  color: var(--ink-2);
  font-size: 14px;
  text-align: left;
  transition: background .15s;
}
.row-action:hover { background: rgba(255, 106, 0, 0.1); color: var(--ink); }
.row-info {
  display: flex; justify-content: space-between;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink-3);
}
.row-info b { color: var(--ink-2); font-weight: 600; }

.row-link {
  display: block;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background .15s;
}
.row-link:hover { background: rgba(255, 106, 0, 0.1); color: var(--ink); text-decoration: none; }

/* ============================================================
   РЕДАКТИРОВАТЬ ПРОФИЛЬ
   ============================================================ */
.editp__avatar {
  text-align: center;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.editp__preview {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6a00, #dc2626);
  color: #fff;
  font-family: var(--font-display);
  font-size: 38px;
  display: grid; place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.25);
}
.editp__colors {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.editp__colors button {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, attr(data-c1), attr(data-c2));
  border: 2px solid transparent;
  transition: transform .15s;
}
.editp__colors button[data-c1="#ff6a00"] { background: linear-gradient(135deg, #ff6a00, #dc2626); }
.editp__colors button[data-c1="#7c3aed"] { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.editp__colors button[data-c1="#22d3ee"] { background: linear-gradient(135deg, #22d3ee, #2563eb); }
.editp__colors button[data-c1="#34d399"] { background: linear-gradient(135deg, #34d399, #06b6d4); }
.editp__colors button[data-c1="#fbbf24"] { background: linear-gradient(135deg, #fbbf24, #ef4444); }
.editp__colors button[data-c1="#a78bfa"] { background: linear-gradient(135deg, #a78bfa, #4c1d95); }
.editp__colors button.is-active {
  border-color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.35);
}

/* ============================================================
   ДОСТИЖЕНИЯ
   ============================================================ */
.ach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ach__item {
  aspect-ratio: 1;
  padding: 12px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ach__item.is-locked { filter: grayscale(1); opacity: 0.55; }
.ach__item.is-unlocked {
  background: linear-gradient(160deg, rgba(255, 106, 0, 0.15), rgba(220, 38, 38, 0.15));
  border-color: rgba(255, 106, 0, 0.4);
}
.ach__ico { font-size: 32px; }
.ach__name { font-size: 10px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.ach__desc { font-size: 9px; color: var(--ink-3); line-height: 1.1; }

/* ============================================================
   СТАТИСТИКА
   ============================================================ */
.statspg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.statcard {
  padding: 18px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.statcard small {
  font-size: 10px; letter-spacing: 1.5px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.statcard b {
  font-family: var(--font-display);
  font-size: 28px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.statcard p { font-size: 11px; color: var(--ink-4); }

/* ============================================================
   ИСТОРИЯ / ДРУЗЬЯ
   ============================================================ */
.history, .friends {
  display: flex; flex-direction: column; gap: 6px;
}
.historow, .frirow {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  align-items: center;
}
.historow { grid-template-columns: 40px 1fr auto; }
.frirow { grid-template-columns: 40px 1fr auto; }
.historow__ico, .frirow__av {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.frirow__av { border-radius: 50%; color: #fff; font-weight: 700; }
.historow__ico.win { background: rgba(52, 211, 153, 0.2); color: #6ee7b7; }
.historow__ico.lose { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.historow b, .frirow b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.historow small, .frirow small { font-size: 11px; color: var(--ink-3); }
.historow__prize { font-family: var(--font-display); font-size: 14px; color: var(--yellow); }
.frirow__status {
  width: 10px; height: 10px; border-radius: 50%;
}
.frirow__status.online { background: #34d399; box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.3); }
.frirow__status.offline { background: #64748b; }

.empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
}
.empty span { font-size: 48px; display: block; margin-bottom: 10px; opacity: 0.5; }

/* ============================================================
   ОВЕРЛЕЙ ОПЛАТЫ (ЮKassa-mock)
   ============================================================ */
.payover {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
}
.payover__card {
  width: min(360px, 100%);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
}
.payover__spinner {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(255, 106, 0, 0.2);
  border-top-color: var(--orange);
  margin: 0 auto 16px;
  animation: spin 1s linear infinite;
}
.payover__check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #34d399;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-size: 32px;
  color: #fff;
  animation: popIn .4s cubic-bezier(.2,.8,.2,1.3);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.payover h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 6px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.payover p { color: var(--ink-2); font-size: 13px; margin-bottom: 16px; }
.payover small { color: var(--ink-4); font-size: 11px; display: block; margin-top: 8px; }

/* ============================================================
   ТОСТ
   ============================================================ */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 20px);
  background: linear-gradient(135deg, #1a0e06, #2e1810);
  border: 1px solid rgba(255, 106, 0, 0.4);
  color: var(--ink);
  font-size: 14px; font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 30px -6px rgba(0,0,0,0.6),
              0 0 0 3px rgba(255, 106, 0, 0.15);
  z-index: 500;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  white-space: nowrap;
}
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   ПЕЧАТЬ БЛАНКОВ
   ============================================================ */
#printArea { display: none; }
/* ============= БЛАНК (общие правила для print + preview) ============= */
.lot-page {
  width: 210mm;
  padding: 8mm 9mm 9mm;
  box-sizing: border-box;
  font-family: 'Bangers', 'Arial Black', Arial, sans-serif;
  color: #000;
  background: #fff;
}
.lot-header {
  display: grid;
  grid-template-columns: 22mm 1fr 22mm;
  align-items: center;
  gap: 3mm;
  margin-bottom: 2.5mm;
}
.lot-header::before { content: ""; }
.lot-header > .lot-qr { justify-self: end; }
.lot-logo-img {
  height: 28mm;
  width: 100%;
  object-fit: contain;
  object-position: center;
  justify-self: center;
  display: block;
}
.lot-qr {
  width: 20mm;
  height: 20mm;
  flex-shrink: 0;
  border: 2px solid #000;
  padding: 1mm;
  box-sizing: border-box;
}
.lot-qr__svg { width: 100%; height: 100%; display: block; }

.lot-sub {
  font-family: Arial, sans-serif;
  font-size: 9pt;
  font-style: italic;
  color: #333;
  margin: 0 0 2.5mm;
  text-align: center;
}

.lot-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  width: 100%;
}
.lot-cell {
  position: relative;
  aspect-ratio: 1;
  padding: 2mm;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.lot-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.lot-cell span {
  position: relative;
  z-index: 1;
  font-family: Arial, sans-serif;
  font-size: 7pt;
  font-weight: 700;
  line-height: 1.1;
}
.lot-cell--free .lot-frame rect { fill: #fde047; }

.lot-banner {
  position: relative;
  margin-top: 3mm;
  color: #fff;
  padding: 4mm 6mm;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  gap: 4mm;
  min-height: 14mm;
}
.lot-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.lot-banner__text { position: relative; z-index: 1; }
.lot-banner__text b {
  font-size: 11pt;
  display: block;
  font-weight: 900;
}
.lot-banner__text small {
  font-size: 9pt;
  opacity: 0.8;
}
.lot-num {
  position: relative;
  z-index: 1;
  width: 11mm;
  height: 11mm;
  background: #fff;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13pt;
  flex-shrink: 0;
}
.lot-foot {
  margin: 2.5mm 0 0;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 8.5pt;
  color: #333;
}
.lot-foot u { text-decoration: underline; }

/* ============= ПРЕВЬЮ В ЛК (телефонный экран) ============= */
.lot-preview {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 14px;
}
.lot-preview .lot-page {
  width: 210mm;
  transform-origin: top left;
  transform: scale(var(--lot-scale, 0.41));
}

/* ============= ПЕЧАТЬ (только разметка страницы) ============= */
@page { size: A4 portrait; margin: 0; }
@media print {
  body { background: #fff !important; color: #000 !important; }
  body * { visibility: hidden; }
  #printArea, #printArea * { visibility: visible; }
  #printArea {
    display: block;
    position: absolute;
    left: 0; top: 0; right: 0;
    padding: 0;
  }
  .lot-page {
    page-break-after: always;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .lot-page:last-child { page-break-after: auto; }
  .lot-cell { page-break-inside: avoid; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform .12s, box-shadow .2s, opacity .2s;
  white-space: nowrap;
  user-select: none;
}
.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 28px -12px rgba(255, 46, 166, 0.7),
              inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--accent {
  color: #1f0a12;
  background: var(--grad-hot);
  box-shadow: 0 12px 28px -12px rgba(253, 224, 71, 0.6);
  font-weight: 900;
}
.btn--accent:hover { transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.14);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--lg { padding: 18px 26px; font-size: 16px; width: 100%; }

/* ============================================================
   ЛАУНЧЕР
   ============================================================ */
.launcher__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand__cube {
  position: relative;
  width: 26px; height: 26px;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(35deg);
  flex-shrink: 0;
}
.brand__cube .face { position: absolute; inset: 0; border-radius: 5px; }
.brand__cube .f-top  { background: linear-gradient(135deg, #ff6a00, #fbbf24); transform: translateZ(11px); }
.brand__cube .f-left { background: linear-gradient(135deg, #dc2626, #ea580c); transform: rotateY(-90deg) translateZ(11px); transform-origin: left; width: 22px; left: -11px; }
.brand__cube .f-right{ background: linear-gradient(135deg, #78350f, #9a3412); transform: rotateX(-90deg) translateZ(11px); transform-origin: top; height: 22px; top: -11px; }
.brand h1 {
  font-size: 13px; line-height: 1; letter-spacing: 0.5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand .dot { color: var(--orange); -webkit-text-fill-color: var(--orange); margin: 0 1px; }

/* Профиль-чип */
.profile {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 4px 4px 12px;
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: 999px;
  transition: all .15s;
}
.profile:hover {
  background: rgba(255, 106, 0, 0.16);
  border-color: rgba(255, 106, 0, 0.5);
}
.profile:active { transform: scale(0.97); }
.profile__coins {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--ink);
}
.profile__coin-ico { font-size: 14px; filter: drop-shadow(0 1px 2px rgba(253, 224, 71, 0.4)); }
.profile__coins b {
  font-weight: 700;
  background: linear-gradient(135deg, #fbbf24, #ff6a00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.profile__av {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #fff;
  font-size: 12px;
  box-shadow: 0 0 0 2px var(--bg-0);
}

/* ============================================================
   ВЫДВИЖНАЯ ПАНЕЛЬ ПРОФИЛЯ
   ============================================================ */
.profile-sheet {
  position: fixed; inset: 0;
  z-index: 300;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.profile-sheet.is-open { opacity: 1; }
.profile-sheet[hidden] { display: none; }
.profile-sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0;
}
.profile-sheet__card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border-top: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 28px 28px 0 0;
  padding: 10px 18px 28px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.profile-sheet.is-open .profile-sheet__card { transform: translateY(0); }
.profile-sheet__grip {
  width: 44px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 0 auto 14px;
}
.profile-sheet__head {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.profile-sheet__av {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #fff;
  font-size: 22px;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.35);
}
.profile-sheet__head b {
  font-family: var(--font-display);
  font-size: 18px;
  display: block;
  margin-bottom: 2px;
}
.profile-sheet__head small { font-size: 12px; color: var(--ink-3); }
.profile-sheet__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--ink);
}
.profile-sheet__close:hover { background: rgba(255,255,255,0.15); }

.profile-sheet__level { margin-bottom: 16px; }
.profile-sheet__level-head {
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 1px;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}
.profile-sheet__level-head span:first-child { color: var(--orange); }
.profile-sheet__level-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.profile-sheet__level-bar div {
  height: 100%;
  background: var(--grad);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
}

.profile-sheet__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.profile-sheet__stats > div {
  padding: 12px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 2px;
  text-align: center;
}
.profile-sheet__stats b {
  font-family: var(--font-display);
  font-size: 18px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.profile-sheet__stats small {
  font-size: 10px; letter-spacing: 1px;
  color: var(--ink-3);
  text-transform: uppercase;
}

.profile-sheet__actions {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.profile-sheet__actions .btn { width: 100%; padding: 12px 14px; font-size: 12px; }

.profile-sheet__menu {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 2px;
}
.profile-sheet__menu button {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px;
  color: var(--ink-2);
  transition: background .15s;
}
.profile-sheet__menu button:hover {
  background: rgba(255, 106, 0, 0.1);
  color: var(--ink);
}
.profile-sheet__menu button span {
  font-size: 12px; color: var(--orange); font-weight: 700;
}

/* Герой-баннер */
.launcher__hero {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.35), rgba(220, 38, 38, 0.35));
  border: 1px solid rgba(255, 106, 0, 0.4);
  overflow: hidden;
  min-height: 180px;
  display: flex; align-items: center; gap: 16px;
}
.launcher__hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 80%);
  pointer-events: none;
}
.launcher__hero-text {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-start;
}
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  padding: 4px 10px;
  background: rgba(253, 224, 71, 0.15);
  color: var(--yellow);
  border-radius: 6px;
  border: 1px solid rgba(253, 224, 71, 0.3);
}
.launcher__hero-text h2 {
  font-size: 36px; line-height: 1; letter-spacing: -1px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.launcher__hero-text p { color: var(--ink-2); font-size: 14px; max-width: 240px; }
.launcher__hero-art {
  position: relative; width: 120px; height: 150px;
  flex-shrink: 0;
}
.ball {
  position: absolute;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  color: #fff;
  box-shadow:
    inset -4px -6px 10px rgba(0, 0, 0, 0.3),
    inset 4px 4px 10px rgba(255, 255, 255, 0.5),
    0 6px 16px -4px rgba(0, 0, 0, 0.6);
  animation: float 4s ease-in-out infinite;
}
.ball span { text-shadow: 0 1px 0 rgba(0,0,0,0.3); }
.b1 { top: 0; right: 30%; width: 50px; height: 50px; font-size: 22px; background: radial-gradient(circle at 35% 30%, #ffb98a, #ff6a00 60%, #9a3412); animation-delay: 0s; }
.b2 { top: 30%; left: 0; width: 60px; height: 60px; font-size: 24px; background: radial-gradient(circle at 35% 30%, #fde047, #f59e0b 60%, #78350f); animation-delay: -1s; }
.b3 { bottom: 0; right: 0; width: 44px; height: 44px; font-size: 18px; background: radial-gradient(circle at 35% 30%, #fca5a5, #dc2626 60%, #7f1d1d); animation-delay: -2s; }
.b4 { bottom: 30%; left: 20%; width: 40px; height: 40px; font-size: 16px; background: radial-gradient(circle at 35% 30%, #fed7aa, #ea580c 60%, #7c2d12); animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(15deg); } }

/* Полка тайлов */
.shelf-title {
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.launcher__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* ============================================================
   ПОСТЕРЫ ИГР
   ============================================================ */
.poster {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  display: flex; flex-direction: column;
  color: #fff;
  transition: transform .18s ease, box-shadow .25s;
  box-shadow:
    0 10px 30px -10px rgba(0,0,0,0.6),
    inset 0 2px 0 rgba(255,255,255,0.12);
  text-align: left;
  text-decoration: none;
}
.poster::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.2) 0%, transparent 40%),
    linear-gradient(transparent 65%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}
.poster:not(:disabled):hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px -10px rgba(255, 106, 0, 0.6);
}
.poster:not(:disabled):active { transform: translateY(0) scale(1); }

.poster--hot { aspect-ratio: 1 / 1; }

.poster__art {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.poster__foot {
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55) 20%);
  position: relative;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.poster__foot b {
  display: block;
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.5px;
  line-height: 1;
}
.poster--hot .poster__foot b { font-size: 20px; }
.poster__foot small {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.75);
  margin-top: 3px;
}
.poster__play {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--bg-0);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.poster__tag {
  position: absolute; top: 10px; right: 10px;
  z-index: 3;
  padding: 4px 8px;
  background: var(--yellow); color: #000;
  font-size: 9px; font-weight: 900;
  border-radius: 6px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(253, 224, 71, 0.5);
  animation: tagWink 2s ease infinite;
}
@keyframes tagWink { 0%,100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.08); } }

.poster__soon {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.65);
  font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 4;
  backdrop-filter: blur(2px);
}

/* ============================================================
   АРТЫ В ПОСТЕРАХ — рисуем CSS'ом
   ============================================================ */

/* --- МУЗЛОТО --- */
.art-muzloto {
  position: relative; width: 100%; height: 100%;
}
.art-muzloto__disk {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 15%, var(--bg-0) 16% 24%, #fff 25%, var(--bg-0) 26%),
    conic-gradient(from 0deg, #1a0e06, #3e2114, #1a0e06);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.5);
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.art-muzloto__eq {
  position: absolute;
  bottom: 16%; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: 4px;
  height: 40px;
}
.art-muzloto__eq i {
  display: block; width: 6px;
  background: #fff; border-radius: 3px;
  animation: eqBar 1s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}
.art-muzloto__eq i:nth-child(1){height:30%;animation-delay:0s}
.art-muzloto__eq i:nth-child(2){height:70%;animation-delay:-.15s}
.art-muzloto__eq i:nth-child(3){height:50%;animation-delay:-.3s}
.art-muzloto__eq i:nth-child(4){height:95%;animation-delay:-.45s}
.art-muzloto__eq i:nth-child(5){height:40%;animation-delay:-.2s}
.art-muzloto__eq i:nth-child(6){height:80%;animation-delay:-.35s}
@keyframes eqBar { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(0.3); } }
.art-muzloto__note, .art-muzloto__note2 {
  position: absolute;
  font-size: 40px; color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation: noteFloat 3s ease-in-out infinite;
}
.art-muzloto__note  { top: 18%; left: 18%; }
.art-muzloto__note2 { top: 22%; right: 16%; font-size: 32px; animation-delay: -1.5s; }
@keyframes noteFloat { 0%,100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-10px) rotate(10deg); } }

.art-muzloto.big {
  width: 120px; height: 120px;
  border-radius: 24px;
  background: linear-gradient(160deg, #ff6a00, #dc2626);
  overflow: hidden;
  flex-shrink: 0;
}
.art-muzloto.big .art-muzloto__disk { width: 90px; height: 90px; }
.art-muzloto.big .art-muzloto__eq { bottom: 10%; height: 30px; }
.art-muzloto.big .art-muzloto__eq i { width: 4px; }
.art-muzloto.big .art-muzloto__note { font-size: 28px; top: 10%; left: 10%; }
.art-muzloto.big .art-muzloto__note2 { font-size: 22px; top: 14%; right: 10%; }

/* --- ПОКЕР --- */
.art-poker { position: relative; width: 100%; height: 100%; }
.chip {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(#fff 0 18deg, #dc2626 18deg 36deg);
  border: 4px solid #fff;
  box-shadow: inset 0 0 0 6px #dc2626, 0 6px 12px rgba(0,0,0,0.5);
}
.chip::after {
  content: ""; position: absolute; inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #dc2626);
}
.chip-1 { top: 50%; left: 20%; transform: translateY(-50%) rotate(-15deg); z-index: 1; }
.chip-2 { top: 40%; left: 38%; transform: translateY(-50%) rotate(8deg); z-index: 2; }
.chip-3 { top: 55%; left: 54%; transform: translateY(-50%) rotate(-5deg); z-index: 3; }
.suit {
  position: absolute;
  top: 14%; right: 16%;
  font-size: 60px;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* --- УНО --- */
.art-uno { position: relative; width: 100%; height: 100%; }
.uno-card {
  position: absolute;
  width: 56px; height: 80px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 28px;
  color: #fff;
  background: #000;
  border: 3px solid #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
.uno-card::before {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 999px / 50%;
  background: inherit;
  opacity: 0.5;
}
.uno-1 { top: 50%; left: 18%; transform: translateY(-50%) rotate(-20deg); background: #dc2626; z-index: 1; }
.uno-2 { top: 42%; left: 38%; transform: translateY(-50%) rotate(0deg); background: #fde047; color: #000; z-index: 2; }
.uno-3 { top: 48%; left: 56%; transform: translateY(-50%) rotate(18deg); background: #2563eb; z-index: 3; font-size: 22px; }

/* --- МАФИЯ --- */
.art-mafia { position: relative; width: 100%; height: 100%; overflow: hidden; }
.art-mafia__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mafia-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255, 230, 180, 0.3) 0%, transparent 50%);
}
.mafia-hat {
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 40px;
}
.mafia-hat::before {
  content: "";
  position: absolute; left: 20px; right: 20px; top: 0;
  height: 36px;
  background: #0a0a0a;
  border-radius: 8px 8px 4px 4px;
}
.mafia-hat::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 10px;
  background: #0a0a0a;
  border-radius: 4px;
  box-shadow: 0 2px 0 #991b1b;
}
.mafia-mask {
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 70px;
  background: #f5d6b5;
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
}
.mafia-mask .eye {
  position: absolute;
  top: 30%;
  width: 16px; height: 18px;
  background: #0a0a0a;
  border-radius: 50%;
}
.mafia-mask .e1 { left: 22%; }
.mafia-mask .e2 { right: 22%; }
.mafia-mask::after {
  content: "";
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  background: #a16207;
  border-radius: 2px;
}

/* --- МОНО-СИТИ --- */
.art-mono { position: relative; width: 100%; height: 100%; }
.bld {
  position: absolute; bottom: 0;
  border-radius: 4px 4px 0 0;
  background-image:
    linear-gradient(#fff 2px, transparent 2px),
    linear-gradient(90deg, #fff 2px, transparent 2px);
  background-size: 8px 12px;
  background-color: #065f46;
  box-shadow: inset 0 -8px 0 #064e3b;
}
.bld.b1 { left: 10%; width: 22%; height: 45%; background-color: #0f766e; }
.bld.b2 { left: 35%; width: 24%; height: 65%; background-color: #047857; }
.bld.b3 { left: 62%; width: 18%; height: 50%; background-color: #065f46; }
.bld.b4 { left: 82%; width: 14%; height: 35%; background-color: #064e3b; }
.coin {
  position: absolute;
  top: 18%; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fde047, #ca8a04);
  color: #78350f;
  font-family: var(--font-display);
  font-size: 32px;
  display: grid; place-items: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4), inset -4px -4px 8px rgba(0,0,0,0.2);
  animation: coinSpin 3s ease-in-out infinite;
}
@keyframes coinSpin { 0%,100% { transform: translateX(-50%) rotateY(0); } 50% { transform: translateX(-50%) rotateY(180deg); } }

/* --- ШАХМАТЫ --- */
.art-chess { position: relative; width: 100%; height: 100%; }
.chess-board {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) perspective(200px) rotateX(40deg);
  width: 140px; height: 90px;
  background-image:
    repeating-conic-gradient(#fef3c7 0 25%, #78350f 25% 50%);
  background-size: 24px 24px;
  border: 3px solid #44200a;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.piece {
  position: absolute;
  font-size: 56px;
  color: #fff;
  text-shadow: 0 3px 0 #000, 0 6px 12px rgba(0,0,0,0.5);
}
.piece.king   { top: 18%; left: 22%; }
.piece.knight { top: 22%; right: 18%; color: #1f1209; text-shadow: 0 3px 0 #fff, 0 6px 12px rgba(0,0,0,0.5); }

/* --- DOMINO --- */
.art-domino { position: relative; width: 100%; height: 100%; }
.dom {
  position: absolute;
  width: 54px; height: 28px;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px #831843, 0 6px 12px rgba(0,0,0,0.4);
  background-image:
    radial-gradient(circle at 25% 50%, #831843 3px, transparent 4px),
    radial-gradient(circle at 75% 30%, #831843 3px, transparent 4px),
    radial-gradient(circle at 75% 70%, #831843 3px, transparent 4px),
    linear-gradient(90deg, transparent 49%, #831843 49%, #831843 51%, transparent 51%);
}
.dom.d1 { top: 55%; left: 15%; transform: rotate(-15deg); }
.dom.d2 { top: 45%; left: 38%; transform: rotate(5deg); }
.dom.d3 { top: 55%; left: 58%; transform: rotate(20deg); }

/* --- DICE --- */
.art-dice { position: relative; width: 100%; height: 100%; }
.die {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #e2e8f0);
  color: #1e293b;
  font-size: 40px;
  display: grid; place-items: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4), inset -4px -4px 0 rgba(0,0,0,0.1);
  animation: diceWobble 3s ease-in-out infinite;
}
.die.d-a { top: 22%; left: 20%; transform: rotate(-15deg); animation-delay: 0s; }
.die.d-b { top: 45%; left: 45%; transform: rotate(12deg); animation-delay: -1s; }
.die.d-c { top: 30%; right: 18%; transform: rotate(-8deg); animation-delay: -2s; }
@keyframes diceWobble { 0%,100% { transform: rotate(var(--r, 0deg)) translateY(0); } 50% { transform: rotate(calc(var(--r, 0deg) + 10deg)) translateY(-4px); } }

/* ============================================================
   ВЕРХ ИГРОВОГО ЭКРАНА
   ============================================================ */
.gametop {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 0 16px;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.gametop__back {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  font-size: 24px; line-height: 1;
  color: var(--ink);
}
.gametop__back:hover { background: rgba(255,255,255,0.15); }
.gametop__newgame {
  padding: 6px 12px;
  background: rgba(255, 106, 0, 0.15);
  border: 1px solid rgba(255, 106, 0, 0.4);
  border-radius: 999px;
  color: var(--orange);
  font-size: 12px; font-weight: 700;
  white-space: nowrap;
  transition: all .15s;
}
.gametop__newgame:hover { background: rgba(255, 106, 0, 0.25); }
.gametop__title {
  font-family: var(--font-display);
  font-size: 16px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 1px;
}
.gametop__coins {
  font-weight: 700; font-size: 13px;
  color: var(--yellow);
}

/* ============================================================
   НАСТРОЙКА ПАРТИИ
   ============================================================ */
.setup__cover {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 18px;
}
.setup h2 {
  font-size: 26px;
  margin-bottom: 6px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.setup__lead { color: var(--ink-2); font-size: 13px; line-height: 1.45; }

/* --- ПРАВИЛА --- */
.rules {
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), rgba(220, 38, 38, 0.08));
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
}
.rules summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}
.rules summary::-webkit-details-marker { display: none; }
.rules__chev {
  transition: transform .25s;
  color: var(--orange);
  font-size: 18px;
}
.rules[open] .rules__chev { transform: rotate(180deg); }
.rules__list {
  padding: 0 16px 16px 38px;
  margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.rules__list li {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.rules__list b { color: var(--orange); font-weight: 700; }

.setup__section { margin-bottom: 18px; }
.setup__start { margin-top: 8px; }
.setup__hint {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
}
.hero__ctas {
  display: flex; flex-direction: column; gap: 8px;
  width: 100%;
}
.hero__ctas .btn { width: 100%; }

/* --- СТЕПЕР БЛАНКОВ --- */
.stepper {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 10px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), rgba(220, 38, 38, 0.08));
  border: 2px solid rgba(255, 106, 0, 0.3);
  border-radius: var(--radius);
  align-items: center;
}
.stepper__btn {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255, 106, 0, 0.15);
  border: 2px solid rgba(255, 106, 0, 0.4);
  font-size: 28px;
  color: var(--orange);
  font-weight: 900;
  transition: all .15s;
}
.stepper__btn:hover { background: rgba(255, 106, 0, 0.25); }
.stepper__btn:active { transform: scale(0.92); }
.stepper__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper__value {
  text-align: center;
  display: flex; flex-direction: column; gap: 2px;
}
.stepper__value span {
  font-family: var(--font-display);
  font-size: 42px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stepper__value small {
  font-size: 11px; letter-spacing: 2px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.stepper__price {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
}
.stepper__price b {
  background: linear-gradient(135deg, #fbbf24, #ff6a00);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 15px;
}
.setup__print { width: 100%; margin-top: 8px; }

/* --- (старый магазин — оставлен как fallback) --- */
.shop {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.shop__card {
  position: relative;
  padding: 14px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--ink);
  transition: all .15s;
}
.shop__card:hover { border-color: rgba(255, 106, 0, 0.5); }
.shop__card.is-active {
  background: linear-gradient(160deg, rgba(255, 106, 0, 0.2), rgba(220, 38, 38, 0.2));
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15);
}
.shop__n {
  font-family: var(--font-display);
  font-size: 36px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.shop__lbl {
  font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 1px;
}
.shop__price {
  margin-top: 4px;
  font-size: 13px; font-weight: 700;
  color: var(--yellow);
}
.shop__save {
  position: absolute; top: -6px; right: -6px;
  padding: 2px 6px;
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 900;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* ============================================================
   ПУЛЬТ ВЕДУЩЕГО
   ============================================================ */
.host {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.host__btn {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--grad-hot);
  color: #1f0a02;
  font-family: var(--font-display);
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  box-shadow: 0 14px 30px -10px rgba(255, 106, 0, 0.6),
              inset 0 2px 0 rgba(255,255,255,0.35);
  transition: transform .12s;
  overflow: hidden;
}
.host__btn::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3), transparent 50%);
}
.host__btn:hover { transform: translateY(-2px); }
.host__btn:active { transform: translateY(0); }
.host__icon {
  font-size: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  display: grid; place-items: center;
  position: relative; z-index: 1;
}
.host__lbl {
  font-size: 18px;
  letter-spacing: 1px;
  position: relative; z-index: 1;
}
.host__left {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  background: rgba(0,0,0,0.25);
  border-radius: 999px;
  color: #fff5ea;
  position: relative; z-index: 1;
}

.host__btn--solo {
  margin-top: 18px;
  padding: 22px;
  width: 100%;
}
.play__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.play__actions .btn {
  width: 100%;
  padding: 14px 8px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  min-height: 68px;
}
.play__actions .btn b {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-family: var(--font-display);
  color: var(--orange);
}
.play__log b { color: var(--orange); }
.play__newgame {
  border-color: rgba(255, 106, 0, 0.45) !important;
  color: var(--orange);
}
.play__newgame:hover {
  background: rgba(255, 106, 0, 0.12);
  border-color: var(--orange) !important;
}
.play__print {
  border-style: dashed !important;
  border-color: rgba(251, 191, 36, 0.5) !important;
  color: var(--yellow);
}
.play__print:hover {
  background: rgba(251, 191, 36, 0.12);
  border-color: var(--yellow) !important;
}

/* --- модалка лога выпавших песен --- */
.logmodal {
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
}
.logmodal__backdrop {
  position: absolute; inset: 0;
  background: transparent; border: 0;
}
.logmodal__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 75vh;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border-top: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 24px 24px 0 0;
  padding: 14px 18px 28px;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  animation: logSlide .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes logSlide { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.logmodal__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.logmodal__head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logmodal__x {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--ink);
  font-size: 14px;
}
.logmodal__x:hover { background: rgba(255,255,255,0.16); }
.logmodal .log__items {
  flex: 1;
  display: flex; flex-wrap: wrap; gap: 6px;
  overflow-y: auto;
  padding-bottom: 8px;
}
.host__btn--solo .host__icon { width: 56px; height: 56px; font-size: 38px; }
.host__btn--solo .host__lbl { font-size: 22px; }

/* --- СЦЕНА ВЕДУЩЕГО --- */
.stage {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  box-shadow: 0 20px 50px -20px rgba(255, 106, 0, 0.4);
}
.stage__art {
  width: 180px; aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-1));
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5);
  transition: background .35s ease;
}
.stage__art.has-cover {
  width: 100%;
  aspect-ratio: auto;
  height: auto;
  padding: 0;
  display: block;
}
.stage__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
}
.stage__art::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
}
.stage__art::after {
  content: "";
  position: absolute;
  width: 30%; height: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 0 18%, var(--bg-0) 19%);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.3);
}
.stage__art.has-cover::before,
.stage__art.has-cover::after { display: none; }
.stage__emoji {
  position: absolute;
  font-size: 96px;
  z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
  animation: emojiFloat 2s ease-in-out infinite;
}
.stage__placeholder {
  font-size: 72px; opacity: 0.35;
  position: relative; z-index: 1;
}
.stage__meta {
  text-align: center;
  width: 100%;
  max-width: 100%;
  padding: 0 4px;
  box-sizing: border-box;
}
.stage__meta small {
  display: block;
  font-size: 11px; letter-spacing: 2.5px;
  color: var(--ink-3); text-transform: uppercase;
  margin-bottom: 6px;
}
.stage__meta b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px; line-height: 1.25;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}
.stage__eq {
  display: inline-flex; align-items: flex-end; gap: 3px;
  height: 20px;
  opacity: 0.3;
  transition: opacity .3s;
}
.stage.is-playing .stage__eq { opacity: 1; }
.stage__eq i {
  display: block; width: 4px;
  background: var(--orange); border-radius: 2px;
  animation: eqBar 0.9s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(255, 106, 0, 0.5);
}
.stage__eq i:nth-child(1){height:40%;animation-delay:0s}
.stage__eq i:nth-child(2){height:80%;animation-delay:-.12s}
.stage__eq i:nth-child(3){height:60%;animation-delay:-.22s}
.stage__eq i:nth-child(4){height:100%;animation-delay:-.33s}
.stage__eq i:nth-child(5){height:55%;animation-delay:-.4s}
.stage__eq i:nth-child(6){height:85%;animation-delay:-.26s}
.stage__eq i:nth-child(7){height:45%;animation-delay:-.18s}

.host__last {
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 2px;
}
.host__last small {
  font-size: 10px; letter-spacing: 2px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.host__last b {
  font-family: var(--font-display);
  font-size: 14px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   БЛАНКИ ИГРОКА
   ============================================================ */
.blanks {
  display: flex; flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.blank {
  padding: 10px;
  background: linear-gradient(145deg, rgba(255, 106, 0, 0.08), rgba(220, 38, 38, 0.08));
  border: 2px solid rgba(255, 106, 0, 0.3);
  border-radius: var(--radius);
  box-shadow: 0 0 24px -8px rgba(255, 106, 0, 0.3);
}
.blank__head {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}
.blank__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.scell {
  aspect-ratio: 3/4;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--c1, #1a1a1a), var(--c2, #111));
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 3px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 2px;
  color: #fff;
  transition: all .2s;
  position: relative;
  overflow: hidden;
  user-select: none;
}
.scell::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.2), transparent 50%);
}
.scell__art {
  font-size: 22px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
  margin-top: 4px;
}
.scell__title {
  font-size: 7.5px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  position: relative; z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  padding: 0 1px;
}
.scell.is-called {
  box-shadow: 0 0 0 2px var(--yellow), 0 0 16px rgba(253, 224, 71, 0.6);
  animation: calledPulse 1s ease;
}
@keyframes calledPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.scell.is-marked {
  box-shadow: inset 0 0 0 3px #fff;
}
.scell.is-marked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  background: rgba(0,0,0,0.55);
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  animation: stamp .3s ease;
  z-index: 2;
}
@keyframes stamp {
  0%   { transform: scale(1.6) rotate(-12deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.scell.is-free {
  background: linear-gradient(135deg, var(--yellow), #f59e0b);
}
.scell.is-free::after { background: transparent; color: #78350f; font-size: 26px; content: "★"; }
.scell.is-winline {
  animation: winline 0.9s ease infinite alternate;
}
@keyframes winline {
  from { box-shadow: inset 0 0 0 3px #fff, 0 0 8px rgba(253, 224, 71, 0.5); }
  to   { box-shadow: inset 0 0 0 3px #fff, 0 0 24px rgba(253, 224, 71, 1); }
}

/* ============================================================
   ОВЕРЛЕЙ "ИГРАЕТ ПЕСНЯ"
   ============================================================ */
.reveal {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s;
}
.reveal.is-open { opacity: 1; }
.reveal__card {
  width: min(340px, 100%);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 106, 0, 0.35);
  padding: 20px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
  transform: scale(0.85);
  transition: transform .25s cubic-bezier(.2,.8,.2,1.2);
}
.reveal.is-open .reveal__card { transform: scale(1); }
.reveal__art {
  aspect-ratio: 1;
  border-radius: var(--radius);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}
.reveal__art::after {
  content: "";
  position: absolute;
  width: 28%; height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 0 18%, var(--bg-0) 19%);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.3);
}
.reveal__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
}
.reveal__emoji {
  position: absolute;
  font-size: 100px;
  top: 22%; left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
  z-index: 1;
  animation: emojiFloat 2s ease-in-out infinite;
}
@keyframes emojiFloat { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }
.reveal__meta { text-align: center; margin-bottom: 14px; }
.reveal__meta small {
  display: block;
  font-size: 10px; letter-spacing: 2px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.reveal__meta b {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  margin: 6px 0 10px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reveal__eq {
  display: inline-flex; align-items: flex-end; gap: 3px;
  height: 20px;
}
.reveal__eq i {
  display: block; width: 4px;
  background: var(--orange); border-radius: 2px;
  animation: eqBar 0.9s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(255, 106, 0, 0.5);
}
.reveal__eq i:nth-child(1){height:40%;animation-delay:0s}
.reveal__eq i:nth-child(2){height:80%;animation-delay:-.12s}
.reveal__eq i:nth-child(3){height:60%;animation-delay:-.22s}
.reveal__eq i:nth-child(4){height:100%;animation-delay:-.33s}
.reveal__eq i:nth-child(5){height:55%;animation-delay:-.4s}
.reveal__eq i:nth-child(6){height:85%;animation-delay:-.26s}
.reveal__eq i:nth-child(7){height:45%;animation-delay:-.18s}

.reveal__timer {
  position: relative;
  width: 60px; height: 60px;
  margin: 0 auto;
  display: grid; place-items: center;
}
.reveal__close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--ink);
  font-size: 14px;
}
.reveal__close:hover { background: rgba(255,255,255,0.16); }
.setup__label {
  display: block;
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-weight: 700;
}
.picks {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.picks--grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.picks--grid .pick { text-align: left; }
.pick {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  transition: all .15s;
}
.pick:hover { border-color: rgba(255, 46, 166, 0.4); }
.pick.is-active {
  background: rgba(255, 46, 166, 0.15);
  border-color: var(--pink);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 46, 166, 0.15);
}

/* ============================================================
   "СЕЙЧАС ЗВУЧИТ"
   ============================================================ */
.now {
  display: grid;
  grid-template-columns: 32px 1fr 48px;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius);
  margin-bottom: 18px;
  min-height: 76px;
}
.now.is-idle { border-color: var(--line); background: rgba(255,255,255,0.03); }
.now.is-idle .now__eq { opacity: 0.3; }

.now__eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 28px; }
.now__eq i {
  display: block; width: 4px;
  background: var(--cyan); border-radius: 2px;
  animation: eq 0.8s ease-in-out infinite;
}
.now__eq i:nth-child(1){height:40%;animation-delay:0s}
.now__eq i:nth-child(2){height:80%;animation-delay:-.2s}
.now__eq i:nth-child(3){height:50%;animation-delay:-.4s}
.now__eq i:nth-child(4){height:95%;animation-delay:-.6s}
.now__eq i:nth-child(5){height:65%;animation-delay:-.3s}
@keyframes eq { 0%,100%{transform:scaleY(1)} 50%{transform:scaleY(0.25)} }
.now.is-idle .now__eq i { animation-play-state: paused; }

.now__text { overflow: hidden; }
.now__text small {
  display: block;
  font-size: 10px; letter-spacing: 2px;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.now__text b {
  font-size: 16px; font-weight: 700;
  font-family: var(--font-display);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 0.5px;
  display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.now__timer {
  position: relative;
  width: 48px; height: 48px;
  display: grid; place-items: center;
}
.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 3; }
.ring__fg {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 94.25;
  stroke-dashoffset: 94.25;
  transition: stroke-dashoffset .1s linear, stroke .2s;
  filter: drop-shadow(0 0 6px var(--cyan));
}
.ring__fg.is-warn { stroke: var(--pink); filter: drop-shadow(0 0 6px var(--pink)); }
#timerNum {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}

/* ============================================================
   КАРТОЧКА ИГРОКА
   ============================================================ */
.card {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(42, 26, 69, 0.7), rgba(15, 5, 25, 0.7));
  border: 2px solid rgba(255, 46, 166, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 0 40px -10px rgba(255, 46, 166, 0.4);
}
.card[data-size="3"] { grid-template-columns: repeat(3, 1fr); }
.card[data-size="5"] { grid-template-columns: repeat(5, 1fr); }
.cell {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: grid; place-items: center;
  padding: 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .2s;
  position: relative;
  line-height: 1.1;
  overflow: hidden;
  user-select: none;
}
.card[data-size="3"] .cell { font-size: 13px; padding: 6px; }
.cell__emoji { font-size: 20px; display: block; }
.card[data-size="3"] .cell__emoji { font-size: 28px; }
.cell__label { font-size: 9px; margin-top: 2px; opacity: 0.8; }
.card[data-size="3"] .cell__label { font-size: 11px; }
.cell.is-called {
  background: rgba(34, 211, 238, 0.2);
  border-color: var(--cyan);
  color: #fff;
  animation: pulse-called 0.6s ease;
}
@keyframes pulse-called {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); box-shadow: 0 0 20px var(--cyan); }
  100% { transform: scale(1); }
}
.cell.is-marked {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 46, 166, 0.5);
}
.cell.is-marked .cell__emoji { transform: scale(0.9); }
.cell.is-marked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  background: rgba(0,0,0,0.25);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  animation: stamp .3s ease;
}
@keyframes stamp {
  0%   { transform: scale(1.6) rotate(-10deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.cell.is-free {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #1f0a12;
  font-weight: 900;
  border-color: transparent;
}
.cell.is-winline {
  animation: winline 1s ease infinite alternate;
}
@keyframes winline {
  from { box-shadow: 0 0 12px rgba(253, 224, 71, 0.6); }
  to   { box-shadow: 0 0 28px rgba(253, 224, 71, 1); }
}

/* ============================================================
   УПРАВЛЕНИЕ
   ============================================================ */
.controls {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  margin-bottom: 20px;
}
.controls .btn { padding: 14px 16px; }

/* ============================================================
   ЛОГ ВЫПАВШИХ
   ============================================================ */
.log {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.log small {
  display: block;
  font-size: 10px; letter-spacing: 2px;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.log__items { display: flex; flex-wrap: wrap; gap: 6px; }
.log__item {
  padding: 4px 10px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 500;
  animation: popIn .3s ease;
}
.log__item.is-match {
  background: rgba(255, 46, 166, 0.2);
  border-color: var(--pink);
  color: #fff;
}
@keyframes popIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }

/* ============================================================
   ПОБЕДА / ПРОИГРЫШ
   ============================================================ */
.screen--win, .screen--lose {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.win__inner {
  text-align: center;
  padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  max-width: 440px;
  width: 100%;
  position: relative; z-index: 2;
}
.win__cup { font-size: 96px; animation: cupBob 1.5s ease-in-out infinite; }
@keyframes cupBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.win__title {
  font-size: 52px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -1px;
  line-height: 1;
  text-shadow: 0 0 40px rgba(255, 46, 166, 0.5);
}
.win__subtitle { color: var(--ink-2); font-size: 15px; }
.win__prize {
  font-family: var(--font-display);
  font-size: 32px;
  padding: 14px 26px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(255, 106, 0, 0.2));
  border: 2px solid var(--yellow);
  border-radius: 999px;
  color: var(--yellow);
  letter-spacing: 1px;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
}
.win__prize.is-pop { animation: prizePop .8s cubic-bezier(.2,.8,.2,1.2); }
@keyframes prizePop {
  0%   { transform: scale(0.3); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.win__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  width: 100%;
  margin: 8px 0 4px;
}
.win__stats > div {
  padding: 14px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 4px;
}
.win__stats b {
  font-family: var(--font-display);
  font-size: 22px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.win__stats small {
  font-size: 10px; letter-spacing: 1.5px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.win__cta { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.win__cta .btn { width: 100%; }

.win__confetti {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
}
.win__confetti::before, .win__confetti::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, #fde047 3px, transparent 4px),
    radial-gradient(circle at 30% 10%, #22d3ee 3px, transparent 4px),
    radial-gradient(circle at 80% 20%, #ff2ea6 3px, transparent 4px),
    radial-gradient(circle at 50% 50%, #7c3aed 3px, transparent 4px),
    radial-gradient(circle at 20% 70%, #fde047 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, #34d399 3px, transparent 4px),
    radial-gradient(circle at 90% 80%, #ec4899 3px, transparent 4px),
    radial-gradient(circle at 40% 90%, #22d3ee 2px, transparent 3px);
  background-size: 100% 100%;
  animation: fall 4s linear infinite;
}
.win__confetti::after { animation-delay: -2s; animation-duration: 5s; }
@keyframes fall {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0.4; }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 400px) {
  .launcher__hero { flex-direction: column; text-align: center; }
  .launcher__hero-text { align-items: center; }
  .launcher__hero-art { margin: 0 auto; }
  .win__title { font-size: 42px; }
}

/* ============= МОИ БЛАНКИ ============= */
.myblanks {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blankrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: background .15s;
}
.blankrow:hover { background: rgba(255,255,255,0.08); }
.blankrow__peek {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff6a00, #dc2626);
  padding: 4px;
  flex-shrink: 0;
}
.blankrow__peek i {
  font-style: normal;
  font-size: 10px;
  text-align: center;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blankrow__main { flex: 1; min-width: 0; }
.blankrow__main b { display: block; font-size: 15px; }
.blankrow__main small { color: rgba(255,255,255,0.55); font-size: 12px; }
.blankrow__chev { color: rgba(255,255,255,0.4); font-size: 22px; }

/* ============= ПРОСМОТР БЛАНКА ============= */
.blankview { padding: 16px; }
.bv-actions { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.bv-actions .btn {
  flex: 1 1 140px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bv-shareurl {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  word-break: break-all;
  overflow-wrap: anywhere;
  padding: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  text-align: center;
  transition: color .2s;
  max-width: 100%;
  box-sizing: border-box;
}
.bv-shareurl.is-ok { color: #34d399; }

/* ============================================================
   Bitva Figma style system
   Source: local export C:/Users/vasiv/Downloads/Битва.fig
   Key frames: Главная, Описание игры, Личный кабинет.
   ============================================================ */
:root {
  --fig-black: #161616;
  --fig-dark: #232323;
  --fig-paper: #f3f3f3;
  --fig-white: #ffffff;
  --fig-red: #fe391f;
  --fig-orange: #ff8b1e;
  --fig-peach: #ffdebf;
  --fig-soft: #e8e8e8;
  --fig-muted: #767676;
  --fig-line: rgba(22, 22, 22, 0.12);
  --fig-line-light: rgba(255, 255, 255, 0.2);

  --bg-0: var(--fig-paper);
  --bg-1: var(--fig-white);
  --bg-2: var(--fig-soft);
  --bg-3: var(--fig-peach);
  --ink: var(--fig-black);
  --ink-2: var(--fig-dark);
  --ink-3: var(--fig-muted);
  --ink-4: #a6a6a6;
  --line: var(--fig-line);
  --orange: var(--fig-orange);
  --yellow: var(--fig-orange);
  --red: var(--fig-red);
  --pink: var(--fig-red);
  --violet: var(--fig-black);
  --cyan: var(--fig-orange);
  --grad: var(--fig-red);
  --grad-hot: var(--fig-red);
  --grad-deep: var(--fig-black);
  --radius: 18px;
  --radius-lg: 28px;
  --font-display: "TT Trailers Trial", "Alumni Sans", "Teko", "Arial Narrow", Impact, sans-serif;
  --font-body: "TT Hoves Pro Trial Variable", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  letter-spacing: 0;
}

html,
body {
  min-height: 100%;
  background: var(--fig-paper);
  color: var(--fig-black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body {
  background: var(--fig-paper);
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font-family: var(--font-body);
}

h1,
h2,
h3,
.shelf-title,
.setup__label,
.win__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.phone {
  width: min(1280px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--fig-paper);
  box-shadow: none;
}

.phone::before,
.phone::after,
.phone__notch,
.phone__statusbar,
.phone__home {
  display: none;
}

.phone__inner {
  width: 100%;
  min-height: 100dvh;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: var(--fig-paper);
}

.screen {
  min-height: 100dvh;
  padding: 24px 16px 40px;
  background: var(--fig-paper);
  color: var(--fig-black);
}

.screen[hidden] {
  display: none;
}

@media (min-width: 720px) {
  .screen:not(.screen--launcher) {
    max-width: 430px;
    margin: 0 auto;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }
}

/* Launcher / home */
.screen--launcher {
  padding: 28px 16px 0;
  overflow: hidden;
  background: var(--fig-black);
  color: var(--fig-paper);
}

.launcher__head {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 54px;
  margin: 0;
  padding: 7px 10px 7px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--fig-white);
  box-shadow: none;
}

.brand {
  min-width: 0;
  gap: 0;
}

.brand__cube {
  display: none;
}

.brand h1 {
  overflow: visible;
  color: var(--fig-red);
  font-family: var(--font-display);
  font-size: 34px;
  font-style: italic;
  line-height: 0.9;
  white-space: nowrap;
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.brand h1 {
  font-size: 0;
}

.brand h1::before {
  content: "И Г Р Ы";
  font-size: 34px;
}

.brand .dot {
  display: none;
}

.profile,
.gametop__coins {
  justify-self: end;
  min-width: 112px;
  min-height: 43px;
  padding: 5px 5px 5px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--fig-soft);
  color: var(--fig-black);
  box-shadow: none;
}

.profile__coins,
.gametop__coins {
  font-size: 14px;
  font-weight: 800;
}

.profile__coin-ico {
  color: var(--fig-orange);
  filter: none;
}

.profile__av,
.profilepg__av,
.editp__avatar,
.frirow__av {
  background: var(--fig-red) !important;
  color: var(--fig-paper);
  box-shadow: none;
}

.launcher__hero {
  position: relative;
  display: block;
  min-height: 620px;
  margin: -54px -16px 0;
  padding: 360px 16px 84px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--fig-black);
  box-shadow: none;
}

.launcher__hero::before {
  content: "";
  position: absolute;
  top: 84px;
  right: -185px;
  width: 720px;
  height: 520px;
  background: url("assets/figma/9e7b0a6565f0983a71d5d9e7862269606d99681f.png") center top / contain no-repeat;
  pointer-events: none;
}

.launcher__hero-bg,
.launcher__hero-art,
.ball,
.chip {
  display: none;
}

.launcher__hero-text {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 420px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.eyebrow {
  display: none;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fig-red);
  font-family: var(--font-display);
  font-size: 34px;
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.launcher__hero h2,
.launcher__hero-text h2 {
  max-width: 390px;
  margin: 0;
  color: var(--fig-paper);
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 700;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.launcher__hero p,
.launcher__hero-text p {
  max-width: 340px;
  color: var(--fig-paper);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.setup__label {
  color: var(--fig-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero__ctas {
  width: 100%;
  max-width: 360px;
  margin-top: 8px;
}

.btn,
.poster__play,
.profilepg__pay,
.host__btn,
.row-action,
.row-link,
.profilepg__menu button {
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: var(--fig-red);
  color: var(--fig-paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: none;
  white-space: normal;
  box-shadow: none;
}

.btn--primary,
.btn--accent,
.poster__play,
.profilepg__pay,
.host__btn {
  background: var(--fig-red);
  color: var(--fig-paper);
}

.btn--ghost {
  background: var(--fig-black);
  color: var(--fig-paper);
}

.btn:active,
.poster:active,
.row-action:active,
.row-link:active {
  transform: translateY(1px);
}

.shelf-title {
  margin: 0 -16px;
  padding: 44px 16px 20px;
  background: var(--fig-paper);
  color: var(--fig-black);
  font-size: 48px;
}

.launcher__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 -16px;
  padding: 0 16px 48px;
  background: var(--fig-paper);
}

.poster {
  position: relative;
  display: flex;
  min-height: 0;
  aspect-ratio: 1 / 1;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--fig-white);
  color: var(--fig-black);
  box-shadow: none;
}

.poster--hot,
.poster[href*="mafia"] {
  background: var(--fig-black);
  color: var(--fig-paper);
}

.poster::before,
.poster::after {
  display: none;
}

.poster__art {
  min-height: 0;
  flex: 1;
  background: var(--fig-white);
}

.poster--hot .poster__art,
.poster[href*="mafia"] .poster__art {
  background: var(--fig-black);
}

.art-muzloto {
  background: url("assets/figma/bfa5ae63c79e3391c2e2188dd2df5de65d474837.png") center 30% / cover no-repeat, var(--fig-black);
}

.art-muzloto__disk,
.art-muzloto__eq,
.art-muzloto__note,
.art-muzloto__note2,
.suit,
.uno-card,
.poster:disabled .poster__art > * {
  display: none;
}

.poster__foot {
  min-height: 74px;
  border: 0;
  background: transparent;
  color: inherit;
}

.poster__foot b {
  color: inherit;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
}

.poster__foot small {
  color: var(--fig-muted);
  font-size: 11px;
}

.poster--hot .poster__foot small,
.poster[href*="mafia"] .poster__foot small {
  color: rgba(243, 243, 243, 0.68);
}

.poster__play {
  display: grid;
  width: 52px;
  height: 52px;
  min-height: 52px;
  place-items: center;
  border-radius: 16px 0 16px 0;
  font-size: 0;
}

.poster__play::before {
  content: "▶";
  font-size: 22px;
  line-height: 1;
}

.poster__tag,
.poster__soon {
  border: 0;
  border-radius: 12px;
  background: rgba(22, 22, 22, 0.7);
  color: var(--fig-paper);
  font-size: 11px;
  font-weight: 800;
}

.poster__soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  background: transparent;
  color: rgba(22, 22, 22, 0.55);
  font-size: 18px;
  text-transform: uppercase;
}

.poster:disabled .poster__art {
  background:
    radial-gradient(circle at 50% 45%, rgba(22, 22, 22, 0.16), transparent 30%),
    #ddd;
  filter: blur(1px);
}

.art-mafia__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.launcher__story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin: 0 -16px;
  padding: 46px 16px;
  background: var(--fig-peach);
  color: var(--fig-black);
}

.launcher__story-copy h3,
.launcher__promo h3 {
  margin: 0 0 18px;
  color: var(--fig-black);
  font-size: 54px;
}

.launcher__story-copy p,
.launcher__promo p {
  max-width: 540px;
  color: var(--fig-black);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.38;
}

.launcher__story-media {
  min-height: 260px;
  border-radius: 22px;
  background: url("assets/figma/bfa5ae63c79e3391c2e2188dd2df5de65d474837.png") center / cover no-repeat;
}

.launcher__promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin: 0 -16px;
  padding: 44px 16px 54px;
  background: var(--fig-paper);
  color: var(--fig-black);
}

.launcher__promo .btn {
  justify-self: stretch;
  background: var(--fig-peach);
  color: var(--fig-orange);
  font-size: 24px;
  font-weight: 800;
}

.launcher__footer {
  display: grid;
  gap: 20px;
  margin: 0 -16px;
  padding: 54px 16px 70px;
  background: var(--fig-black);
  color: var(--fig-muted);
}

.footer-brand {
  color: var(--fig-red);
  font-family: var(--font-display);
  font-size: 54px;
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
}

.launcher__footer p,
.launcher__footer small {
  color: var(--fig-muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (min-width: 900px) {
  .screen--launcher {
    padding: 57px 60px 0;
  }

  .launcher__head {
    min-height: 85px;
    padding: 12px 24px;
  }

  .brand h1::before {
    font-size: 45px;
  }

  .launcher__hero {
    min-height: 700px;
    margin: -85px -60px 0;
    padding: 350px 60px 78px;
  }

  .launcher__hero::before {
    top: -20px;
    right: 190px;
    width: 820px;
    height: 890px;
  }

  .launcher__hero h2,
  .launcher__hero-text h2 {
    max-width: 340px;
    font-size: 48px;
  }

  .launcher__hero p,
  .launcher__hero-text p {
    max-width: 380px;
    font-size: 18px;
  }

  .shelf-title {
    margin-right: -60px;
    margin-left: -60px;
    padding: 64px 60px 24px;
    font-size: 64px;
  }

  .launcher__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-right: -60px;
    margin-left: -60px;
    padding: 0 60px 72px;
  }

  .launcher__story,
  .launcher__promo {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    align-items: center;
    margin-right: -60px;
    margin-left: -60px;
    padding: 72px 60px;
  }

  .launcher__story-copy h3,
  .launcher__promo h3 {
    font-size: 64px;
  }

  .launcher__promo .btn {
    justify-self: end;
    width: 314px;
  }

  .launcher__footer {
    grid-template-columns: 1fr 1fr;
    margin-right: -60px;
    margin-left: -60px;
    padding: 58px 60px 70px;
  }
}

/* Shared app pages */
.gametop {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  margin: 0 0 26px;
  padding: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--fig-white);
  color: var(--fig-black);
  box-shadow: none;
}

.gametop__back,
.iconbtn-round,
.logmodal__x {
  display: grid;
  width: 42px;
  height: 42px;
  min-width: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--fig-soft);
  color: var(--fig-black);
  font-size: 28px;
  box-shadow: none;
}

.gametop__title {
  overflow: hidden;
  color: var(--fig-black);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gametop__coins {
  min-width: 88px;
  color: var(--fig-black);
}

.setup,
.profilepg,
.topup,
.promo,
.settings,
.editp,
.ach,
.statspg,
.history,
.friends,
.support,
.myblanks,
.blankview {
  gap: 16px;
  padding: 0;
}

.setup__cover,
.rules,
.stepper,
.stage,
.stage__art,
.log__items,
.profilepg__head,
.profilepg__balance,
.profilepg__level,
.profilepg__menu,
.topup__summary,
.promo__hint,
.settings__group,
.editp__preview,
.ach__item,
.statcard,
.empty,
.blankrow,
.historow,
.frirow,
.topup__custom,
.promo__input,
.support textarea,
.input,
.payover__card,
.logmodal__card {
  border: 0;
  border-radius: 22px;
  background: var(--fig-white);
  color: var(--fig-black);
  box-shadow: none;
}

.setup__cover {
  min-height: 300px;
  align-items: flex-end;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0) 20%, rgba(22, 22, 22, 0.72) 100%),
    url("assets/figma/bfa5ae63c79e3391c2e2188dd2df5de65d474837.png") center top / cover no-repeat,
    var(--fig-black);
  color: var(--fig-paper);
}

.setup__cover .art-muzloto.big {
  display: none;
}

.setup__cover h2,
.setup__cover b {
  color: var(--fig-paper);
}

.setup__cover p,
.setup__lead,
.muted,
.row-info span,
.ach__desc,
.statcard small,
.historow small,
.frirow small,
.blankrow__main small {
  color: var(--fig-muted);
}

.rules {
  padding: 20px;
}

.rules strong,
.rules__list,
.rules__list li,
.rules__list b {
  color: var(--fig-black);
}

.rules__list b,
.rules__chev,
.profilepg__level-head span:first-child,
.profilepg__menu .muted {
  color: var(--fig-red);
}

.setup__label {
  margin: 30px 0 12px;
  color: var(--fig-black);
  font-size: 44px;
}

.picks,
.picks--grid,
.topup__amounts,
.topup__methods,
.methods {
  gap: 10px;
}

.pick,
.amt,
.method,
.switch,
.row-switch {
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: var(--fig-white);
  color: var(--fig-black);
  box-shadow: none;
}

.pick.is-active,
.amt.is-active,
.method.is-active,
.shop__card.is-active {
  background: var(--fig-red);
  color: var(--fig-paper);
}

.stepper {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: center;
  padding: 20px;
  background: var(--fig-white);
}

.stepper__btn {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--fig-red);
  color: var(--fig-paper);
  font-size: 30px;
  font-weight: 900;
  box-shadow: none;
}

.stepper__value span {
  color: var(--fig-orange);
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.9;
}

.stepper__value small,
.stepper__price {
  color: var(--fig-orange);
}

.stage {
  padding: 20px;
  background: var(--fig-black);
  color: var(--fig-paper);
}

.stage__art {
  background: var(--fig-dark);
}

.stage__meta b,
.stage__placeholder,
.stage__emoji {
  color: var(--fig-orange);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.stage__eq i {
  background: var(--fig-red);
}

.play__actions {
  gap: 10px;
}

.play__print,
.play__newgame,
.play__log {
  border: 0 !important;
  background: var(--fig-white);
  color: var(--fig-black);
}

.profilepg__head {
  padding: 20px;
}

.profilepg__head h2 {
  color: var(--fig-black);
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  text-transform: none;
}

.profilepg__balance {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 34px 28px;
  background: var(--fig-black);
  color: var(--fig-paper);
}

.profilepg__balance::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -70px;
  bottom: -65px;
  width: 210px;
  height: 210px;
  background: url("assets/figma/7a310a701f0d624eeaa84ab0c161d11ab49e2557.png") center / cover no-repeat;
  opacity: 0.74;
  pointer-events: none;
}

.profilepg__balance small {
  position: relative;
  z-index: 2;
  color: var(--fig-orange);
  font-weight: 800;
}

.profilepg__balance b,
.profilepg__stats b,
.statcard b,
.win__stats b {
  position: relative;
  z-index: 2;
  color: var(--fig-paper);
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.profilepg__pay {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.profilepg__pay .btn {
  min-height: 54px;
  padding: 0 10px;
  font-size: 13px;
}

.profilepg__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.profilepg__stats > div {
  border: 0;
  border-radius: 18px;
  background: var(--fig-white);
  color: var(--fig-orange);
  box-shadow: none;
}

.profilepg__stats b {
  color: var(--fig-orange);
  font-size: 38px;
}

.profilepg__stats small {
  color: var(--fig-orange);
}

.profilepg__level-bar {
  background: var(--fig-soft);
}

.profilepg__level-bar span {
  background: var(--fig-red);
  box-shadow: none;
}

.profilepg__menu {
  overflow: hidden;
  padding: 0;
}

.profilepg__menu button,
.row-link,
.row-action {
  justify-content: space-between;
  min-height: 62px;
  border-radius: 0;
  border-bottom: 1px solid var(--fig-soft);
  background: transparent;
  color: var(--fig-black);
  text-align: left;
}

.profilepg__menu button:last-child,
.settings__group .row-link:last-child,
.settings__group .row-action:last-child {
  border-bottom: 0;
}

.profilepg__menu .is-danger,
.is-danger {
  color: var(--fig-red);
}

.topup__hero {
  text-align: left;
}

.topup__emoji {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 18px;
  background: var(--fig-red);
  color: var(--fig-paper);
  box-shadow: none;
}

.topup__hero h2,
.win__title {
  color: var(--fig-black);
  max-width: 100%;
  font-size: clamp(40px, 11vw, 56px);
  line-height: 1.02;
  overflow-wrap: break-word;
  white-space: normal;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.screen--promo .topup__hero h2 {
  font-size: clamp(34px, 9vw, 46px);
}

.topup__summary b {
  color: var(--fig-red);
  font-family: var(--font-display);
  font-size: 50px;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.topup__input,
.promo__input,
.input,
.support textarea {
  width: 100%;
  border: 0;
  background: var(--fig-white);
  color: var(--fig-black);
  outline: 0;
}

.topup__hint a,
.promo__result.is-ok,
.historow__prize,
.blankrow__chev,
.frirow__status.online {
  color: var(--fig-orange);
}

.promo__result.is-err {
  color: var(--fig-red);
}

h3.settings__group {
  min-height: 0;
  margin: 24px 0 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--fig-black);
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.25;
  text-transform: uppercase;
}

.row-switch {
  padding: 16px;
}

.row-switch input:checked ~ .switch {
  background: var(--fig-red);
}

.switch::before {
  background: var(--fig-white);
}

.ach {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ach__item.is-unlocked {
  background: var(--fig-white);
  color: var(--fig-black);
}

.statspg {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.statcard b {
  color: var(--fig-orange);
}

.blankrow__peek {
  background: var(--fig-red);
  box-shadow: none;
}

.screen--win,
.screen--lose {
  background: var(--fig-paper);
}

.win__cup,
.win__prize,
.win__stats > div {
  background: var(--fig-white);
  box-shadow: none;
}

.win__prize b,
.win__stats b {
  color: var(--fig-orange);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.win__confetti {
  display: none;
}

.payover {
  background: rgba(22, 22, 22, 0.72);
}

.toast {
  border-radius: 16px;
  background: var(--fig-black);
  color: var(--fig-paper);
  box-shadow: none;
}

@media (max-width: 899px) {
  .launcher__hero {
    min-height: 800px;
    padding-top: 520px;
    padding-bottom: 72px;
  }

  .launcher__hero::before {
    top: 88px;
    right: -150px;
    width: 660px;
    height: 450px;
  }
}

@media (max-width: 400px) {
  .launcher__hero {
    min-height: 790px;
    padding-top: 515px;
    padding-bottom: 70px;
  }

  .launcher__hero::before {
    top: 94px;
    right: -145px;
    width: 630px;
    height: 430px;
  }

  .launcher__hero h2,
  .launcher__hero-text h2 {
    font-size: 52px;
  }

  .shelf-title,
  .launcher__story-copy h3,
  .launcher__promo h3 {
    font-size: 44px;
  }
}

/* Figma-coordinate home copy: frames 30:74 and 39:1307 */
.screen--launcher {
  padding: 0;
  background: var(--fig-paper);
}

.screen--launcher > :not(.fig-home) {
  display: none !important;
}

.fig-home,
.fig-home * {
  box-sizing: border-box;
}

.fig-home {
  position: relative;
  width: min(100%, 1280px);
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 1080 / 5001;
  background: var(--fig-paper);
  color: var(--fig-black);
  font-family: var(--font-body);
}

@media (max-width: 480px) {
  .fig-home {
    width: 100vw;
  }
}

.fig-home--png {
  background: var(--fig-paper);
}

.fig-home--png::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("assets/figma/figma-screen-mobile.png") top center / 100% 100% no-repeat;
  pointer-events: none;
}

.fig-home--png > :not(.fig-hotspots) {
  display: none !important;
}

.fig-hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.fig-hit {
  position: absolute;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
}

.fig-hit:focus-visible {
  outline: 3px solid rgba(255, 139, 30, 0.75);
  outline-offset: 3px;
}

.fig-hit-balance {
  left: 63.6%;
  top: 1.96%;
  width: 21.1%;
  height: 2.28%;
}

.fig-hit-profile {
  left: 85.55%;
  top: 1.9%;
  width: 10.3%;
  height: 2.42%;
}

.fig-hit-play {
  left: 70.9%;
  top: 24.55%;
  width: 18.7%;
  height: 4.08%;
}

.fig-hit-story {
  left: 51.39%;
  top: 36.29%;
  width: 43.06%;
  height: 9.28%;
  border-radius: min(5.56vw, 60px);
}

.fig-hit-card-music {
  display: none;
}

.fig-hit-card-mafia {
  left: 5.56%;
  top: 67.03%;
  width: 43.06%;
  height: 9.28%;
  border-radius: min(5.56vw, 60px);
}

.fig-hit-promo-tab {
  left: 51.5%;
  top: 62.58%;
  width: 19.7%;
  height: 1.26%;
}

.fig-hit-promo {
  left: 48.6%;
  top: 83.96%;
  width: 45.9%;
  height: 2.54%;
}

.fig-hit-support {
  left: 75.8%;
  top: 62.58%;
  width: 18.7%;
  height: 1.26%;
}

.fig-dark,
.fig-paper {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.fig-dark {
  top: 0;
  height: 34.85%;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(155deg, #ff3b20 0%, #ff7a1e 64%, #ff441f 100%);
}

.fig-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  background-size: min(6.67vw, 72px) min(6.67vw, 72px);
}

.fig-paper {
  top: 34.85%;
  bottom: 0;
  background: var(--fig-paper);
}

.fig-head,
.fig-head > *,
.fig-paper-notch,
.fig-hero-word,
.fig-hero-img,
.fig-hero-title,
.fig-hero-copy,
.fig-company-title,
.fig-company-copy,
.fig-peek,
.fig-story,
.fig-story-title-art,
.fig-tabs,
.fig-games,
.fig-promo,
.fig-promo-title-art,
.fig-footer {
  position: absolute;
  z-index: 2;
}

.fig-head {
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.fig-head::before {
  content: "";
  position: absolute;
  left: 3.2%;
  top: 2.05%;
  width: 93.6%;
  height: 2.42%;
  z-index: 1;
  border-radius: 999px;
  background: var(--fig-white);
  box-shadow: 0 min(0.74vw, 8px) min(1.85vw, 20px) rgba(22, 22, 22, 0.08);
}

.fig-head > * {
  z-index: 2;
  pointer-events: auto;
}

.fig-brand {
  left: 10.09%;
  top: 2.72%;
  width: 15.83%;
  height: 1.28%;
  display: block;
  color: var(--fig-red);
  font-family: var(--font-display);
  font-size: min(5.93vw, 64px);
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
}

.fig-brand-logo {
  position: relative;
  display: block;
  width: 100%;
  color: var(--fig-red);
  font-family: var(--font-display);
  font-size: min(4.45vw, 48px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.72;
  text-transform: uppercase;
  transform: skewX(-8deg) scaleX(0.74);
  transform-origin: left center;
}

.fig-brand-logo::before,
.fig-brand-logo::after {
  content: "";
  position: absolute;
  left: -3%;
  width: 118%;
  height: 2px;
  background: var(--fig-red);
  transform: skewX(-28deg);
}

.fig-brand-logo::before {
  top: -0.18em;
}

.fig-brand-logo::after {
  bottom: -0.18em;
}

.fig-brand__mark {
  display: block;
  width: 46.8%;
  height: 40%;
  transform: skewX(-14deg);
  background: linear-gradient(90deg, var(--fig-red) 0 18%, transparent 18% 28%, var(--fig-red) 28% 46%, transparent 46% 56%, var(--fig-red) 56% 100%);
}

.fig-search {
  left: 28.43%;
  top: 2.54%;
  width: 34.17%;
  height: 1.64%;
  border: 0;
  border-radius: 999px;
  background: #efefef;
  color: var(--fig-muted);
  font-size: min(2.78vw, 30px);
  font-weight: 700;
  text-align: left;
  padding-left: 5.46%;
}

.fig-balance {
  left: 63.61%;
  top: 2.54%;
  width: 28.7%;
  height: 1.64%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6%;
  border: 0;
  border-radius: 999px;
  background: var(--fig-black);
  color: var(--fig-paper);
  font-size: min(2.69vw, 29px);
  font-weight: 900;
}

.fig-balance span {
  color: var(--fig-orange);
}

.fig-avatar {
  left: 84.72%;
  top: 2.54%;
  width: 7.59%;
  height: 1.64%;
  border: 0;
  border-radius: 50%;
  background: var(--fig-red);
  color: var(--fig-paper);
  font-size: min(3.15vw, 34px);
  font-weight: 900;
}

.fig-balance-label,
.fig-profile-label,
.fig-paper-notch,
.fig-hero-img--desktop,
.fig-hero-title--desktop,
.fig-story-title-art--desktop,
.fig-promo-title-art--desktop {
  display: none;
}

.fig-text-art {
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.fig-hero-word {
  z-index: 1;
  color: rgba(243, 243, 243, 0.94);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  line-height: 0.75;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.fig-hero-word--bitva {
  left: 6.1%;
  top: 7.2%;
  font-size: min(18.4vw, 199px);
  white-space: nowrap;
  transform: skewX(-8deg) scaleX(1.06);
  transform-origin: left top;
}

.fig-hero-word--bitva::before {
  content: "";
  position: absolute;
  left: 1%;
  top: -0.48em;
  width: 96%;
  height: 0.42em;
  background: rgba(243, 243, 243, 0.94);
  clip-path: polygon(0 45%, 31% 0, 29% 34%, 63% 0, 61% 34%, 100% 0, 100% 20%, 64% 58%, 66% 24%, 32% 58%, 34% 24%, 0 58%);
  filter: drop-shadow(0 0.56em rgba(243, 243, 243, 0.16));
}

.fig-hero-word--bitva::after {
  content: " ИГРЫ";
}

.fig-hero-word--igry {
  display: none;
  left: 46%;
  top: 5.4%;
  font-size: min(18vw, 194px);
  transform: skewX(-8deg) scaleX(1.05);
  transform-origin: left top;
}

.fig-hero-img {
  z-index: 3;
  object-fit: contain;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.fig-hero-title,
.fig-hero-copy,
.fig-company-title,
.fig-company-copy {
  z-index: 5;
}

.fig-hero-img--mobile {
  left: 8.5%;
  top: 9.8%;
  width: 68.5%;
}

.fig-hero-title {
  margin: 0;
  color: var(--fig-paper);
  font-family: var(--font-display);
  font-size: min(8.89vw, 96px);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: none;
  word-spacing: 0.06em;
}

.fig-hero-title--mobile {
  left: 5.73%;
  top: 24.47%;
  width: 36.07%;
  height: 5.22%;
}

.fig-hero-copy {
  left: 5.46%;
  top: 30.65%;
  width: 40%;
  margin: 0;
  color: var(--fig-paper);
  font-size: min(2.78vw, 30px);
  font-weight: 600;
  line-height: 1.04;
}

.fig-company-title {
  left: 59.17%;
  top: 28.33%;
  width: 35.09%;
  margin: 0;
  color: var(--fig-paper);
  font-family: var(--font-display);
  font-size: min(6.2vw, 67px);
  font-weight: 700;
  line-height: 1;
}

.fig-company-copy {
  left: 59.17%;
  top: 30.65%;
  width: 39.72%;
  margin: 0;
  color: var(--fig-paper);
  font-size: min(2.78vw, 30px);
  font-weight: 600;
  line-height: 1.04;
}

.fig-peek {
  left: 71.7%;
  top: 22%;
  width: 22.5%;
  height: 4.86%;
  border: 0;
  border-radius: 50%;
  z-index: 4;
  background: radial-gradient(circle at 50% 50%, transparent 0 38%, var(--fig-orange) 39% 40%, transparent 41%), var(--fig-red);
  opacity: 0.95;
}

.fig-peek::after {
  content: "";
  position: absolute;
  inset: 36%;
  clip-path: polygon(20% 8%, 88% 50%, 20% 92%);
  background: var(--fig-paper);
}

.fig-story {
  left: 0;
  top: 36.29%;
  width: 100%;
  height: 17.05%;
  color: var(--fig-black);
}

.fig-story h2,
.fig-story-title-art {
  position: absolute;
  left: 6.02%;
  top: 5.16%;
  width: 49%;
  height: 30.36%;
  margin: 0;
  color: var(--fig-black);
  font-family: var(--font-display);
  font-size: min(8.89vw, 96px);
  font-weight: 700;
  line-height: 0.88;
  text-transform: uppercase;
  transform: scaleX(0.67);
  transform-origin: left top;
  word-spacing: 0.06em;
}

.fig-story h2 span {
  color: var(--fig-red);
}

.fig-story h2 {
  word-spacing: 0.16em;
}

.fig-story p {
  position: absolute;
  left: 5.46%;
  top: 31.1%;
  width: 37.31%;
  margin: 0;
  color: var(--fig-black);
  font-size: min(2.78vw, 30px);
  font-weight: 600;
  line-height: 1.04;
}

.fig-game-card {
  overflow: hidden;
  border: 0;
  border-radius: min(5.56vw, 60px);
  background: var(--fig-black);
  color: var(--fig-paper);
  text-decoration: none;
  text-align: left;
}

.fig-game-card::after {
  pointer-events: none;
}

.fig-game-card img {
  position: absolute;
  display: block;
  object-fit: cover;
}

.fig-game-card b,
.fig-game-card small {
  position: absolute;
  z-index: 2;
}

.fig-game-card b {
  color: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.9;
  text-transform: none;
  transform-origin: left top;
}

.fig-game-card small {
  color: inherit;
  font-weight: 800;
}

.fig-game-card--story {
  position: absolute;
  left: 51.39%;
  top: 0;
  width: 43.05%;
  height: 54.41%;
  background: linear-gradient(135deg, var(--fig-orange), var(--fig-red));
}

.fig-game-card--story::after {
  content: "";
  position: absolute;
  inset: 0 0 0 51%;
  z-index: 1;
  border-radius: inherit;
  background: var(--fig-peach);
}

.fig-game-card--story img,
.fig-card-music img {
  z-index: 2;
  right: -7%;
  bottom: -20%;
  width: 54%;
  height: auto;
  object-fit: contain;
}

.fig-game-card--story img {
  left: 17.5%;
  top: 19.7%;
  right: auto;
  bottom: auto;
  width: 33.6%;
}

.fig-game-card--story b,
.fig-card-music b {
  left: 8.6%;
  top: 22.2%;
  width: 86%;
  font-size: min(6.11vw, 66px);
  transform: scaleX(0.68);
}

.fig-game-card--story small,
.fig-card-music small {
  left: 8.6%;
  top: 43.5%;
  font-size: min(3.89vw, 42px);
}

.fig-game-card--story b {
  left: 9%;
  top: 22.1%;
  width: 65%;
  font-family: var(--font-body);
  font-size: min(3.93vw, 42px);
  font-weight: 800;
  line-height: 0.9;
  transform: none;
}

.fig-game-card--story small {
  left: 14%;
  font-family: var(--font-display);
  transform: none;
}

.fig-hot {
  position: absolute;
  left: 8.2%;
  top: 8%;
  z-index: 2;
  padding: 2.6% 5.2%;
  border-radius: 999px;
  background: var(--fig-paper);
  color: var(--fig-red);
  font-size: min(2.22vw, 24px);
  font-weight: 900;
}

.fig-features {
  position: absolute;
  z-index: 4;
  left: 74%;
  top: 18%;
  width: 20%;
  display: grid;
  gap: min(2.22vw, 24px);
}

.fig-features b,
.fig-features span {
  display: block;
  color: var(--fig-black);
  font-family: var(--font-body);
  font-size: min(2.5vw, 27px);
  font-weight: 800;
  line-height: 1.08;
}

.fig-features span {
  font-size: min(1.94vw, 21px);
}

.fig-tabs {
  left: 5.37%;
  top: 54.31%;
  width: 89.07%;
  height: 1.68%;
  display: flex;
  gap: 1.56%;
  overflow: hidden;
}

.fig-tabs button {
  height: 100%;
  flex: 0 0 auto;
  min-width: 11%;
  padding: 0 2.2%;
  border: 0;
  border-radius: 999px;
  background: var(--fig-white);
  color: var(--fig-black);
  font-size: min(2.69vw, 29px);
  font-weight: 800;
}

.fig-tabs .is-active {
  background: var(--fig-orange);
  color: var(--fig-paper);
}

.fig-games {
  inset: 0;
  pointer-events: none;
}

.fig-games > * {
  pointer-events: auto;
}

.fig-card-music,
.fig-card-bitva,
.fig-card-mafia,
.fig-card-meloman,
.fig-card-more,
.fig-show-all {
  position: absolute;
}

.fig-card-music {
  display: none;
  left: 5.56%;
  top: 58.09%;
  width: 43.06%;
  height: 9.28%;
  background: linear-gradient(135deg, var(--fig-orange), var(--fig-red));
}

.fig-card-bitva {
  left: 5.85%;
  top: 57.05%;
  width: 43.06%;
  height: 9.28%;
  background: var(--fig-white);
  color: var(--fig-black);
}

.fig-card-mafia {
  left: 5.56%;
  top: 67.03%;
  width: 43.06%;
  height: 9.28%;
  background: var(--fig-black);
}

.fig-card-mafia img {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.fig-card-mafia b {
  left: 10%;
  top: 13.1%;
  bottom: auto;
  font-size: min(4.63vw, 50px);
}

.fig-card-meloman {
  left: 51.38%;
  top: 57.05%;
  width: 43.06%;
  height: 9.28%;
  background: var(--fig-white);
  color: var(--fig-black);
}

.fig-card-more {
  left: 51.39%;
  top: 67.03%;
  width: 43.06%;
  height: 9.28%;
  border-radius: min(5.56vw, 60px);
  background: var(--fig-red);
  color: var(--fig-paper);
}

.fig-card-more b {
  left: 8%;
  top: 8%;
  width: 78%;
  font-size: min(8.89vw, 96px);
  text-transform: uppercase;
}

.fig-card-more small {
  left: 13%;
  bottom: 8%;
  padding: 2% 8%;
  border-radius: 999px;
  background: var(--fig-paper);
  color: var(--fig-red);
  font-size: min(2.31vw, 25px);
}

.fig-q {
  position: absolute;
  right: 7.7%;
  top: 11.2%;
  width: min(5.37vw, 58px);
  height: min(5.37vw, 58px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fig-red);
  color: var(--fig-paper);
  font-size: min(2.68vw, 29px);
  font-weight: 900;
  z-index: 4;
}

.fig-card-mafia .fig-q {
  background: #4a4a4a;
  color: #929292;
}

.fig-card-bitva b,
.fig-card-meloman b {
  left: 10%;
  top: 13.5%;
  color: var(--fig-black);
  font-size: min(3.24vw, 35px);
}

.fig-card-music::after,
.fig-card-bitva::after,
.fig-card-mafia::after,
.fig-card-meloman::after {
  content: "";
  position: absolute;
  right: 7.7%;
  bottom: 7.7%;
  width: 22.8%;
  aspect-ratio: 1;
  z-index: 3;
  border-radius: 50%;
  background: var(--fig-orange);
}

.fig-card-music::before,
.fig-card-bitva::before,
.fig-card-mafia::before,
.fig-card-meloman::before {
  content: "";
  position: absolute;
  right: 14.9%;
  bottom: 14.4%;
  width: 7%;
  height: 8.8%;
  z-index: 4;
  background: var(--fig-paper);
  clip-path: polygon(22% 0, 100% 50%, 22% 100%);
}

.fig-card-mafia::after {
  background: #cd0f11;
}

.fig-show-all {
  left: 5.56%;
  top: 77.22%;
  width: 88.89%;
  height: 2.12%;
  border: 0;
  border-radius: 999px;
  background: #e6e6e6;
  color: #929292;
  font-size: min(2.69vw, 29px);
  font-weight: 900;
}

.fig-promo {
  left: 0;
  top: 81.92%;
  width: 100%;
  height: 9.2%;
  overflow: visible;
}

.fig-promo::before {
  content: "";
  position: absolute;
  left: 48.4%;
  top: 28.3%;
  width: 7.36%;
  aspect-ratio: 1;
  z-index: 2;
  background: url("assets/figma/fig-coin.webp") center / contain no-repeat;
  pointer-events: none;
}

.fig-promo h2,
.fig-promo-title-art {
  position: absolute;
  left: 5.56%;
  top: 2.4%;
  width: 58%;
  height: 14.57%;
  margin: 0;
  color: var(--fig-black);
  font-family: var(--font-display);
  font-size: min(8.89vw, 96px);
  font-weight: 700;
  line-height: 0.88;
  white-space: nowrap;
  transform: scaleX(0.64);
  transform-origin: left top;
}

.fig-promo h2 span {
  color: var(--fig-orange);
}

.fig-promo p {
  position: absolute;
  left: 56.48%;
  top: 31.5%;
  width: 35%;
  margin: 0;
  color: var(--fig-black);
  font-size: min(3.24vw, 35px);
  font-weight: 700;
  line-height: 1.3;
}

.fig-promo button {
  position: absolute;
  left: 50%;
  top: 2.4%;
  width: 44.4%;
  height: 16.2%;
  border: 0;
  border-radius: 999px;
  background: var(--fig-peach);
  color: var(--fig-orange);
  font-size: min(3.24vw, 35px);
  font-weight: 900;
  text-align: center;
  padding: 0 14% 0 7%;
}

.fig-promo button::before,
.fig-promo button::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.fig-promo button::before {
  left: 10.6%;
  top: 28%;
  width: 2px;
  height: 44%;
  border-radius: 999px;
  background: #ffc08b;
}

.fig-promo button::after {
  right: 3.9%;
  top: 16%;
  height: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--fig-orange);
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='20' viewBox='0 0 22 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 2L18 10L4 18V2Z' fill='%23fff1df'/%3E%3C/svg%3E");
  background-position: 56% center;
  background-repeat: no-repeat;
  background-size: 40% 42%;
}

.fig-footer {
  left: -0.1%;
  top: 89.9%;
  width: 100.1%;
  height: 20.56%;
  display: block;
  overflow: hidden;
  border-radius: min(10.09vw, 109px) min(10.09vw, 109px) 0 0;
  background: var(--fig-black);
}

.fig-footer__brand {
  position: absolute;
  left: 5.56%;
  top: 12%;
  width: 38%;
  height: 15%;
  display: block;
  color: var(--fig-red);
  font-family: var(--font-display);
  font-size: min(24vw, 144px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
}

.fig-footer__brand .fig-brand-logo {
  width: 220%;
  font-size: inherit;
  line-height: 0.72;
  white-space: nowrap;
  transform: skewX(-8deg) scaleX(0.45);
}

.fig-footer p,
.fig-footer a,
.fig-footer small {
  position: absolute;
  left: 56.48%;
  margin: 0;
  color: var(--fig-muted);
  font-size: min(2.69vw, 29px);
  font-weight: 600;
  line-height: 1.35;
}

.fig-footer p {
  top: 13.7%;
  width: 37.5%;
}

.fig-footer a {
  top: 42.4%;
  width: 34%;
  text-decoration: none;
}

.fig-footer small {
  top: 51.8%;
  width: 34%;
}

.fig-mobile-break {
  display: initial;
}

@media (min-width: 900px) {
  .fig-home {
    aspect-ratio: 1280 / 1850;
  }

  .fig-home--png::before {
    background-image: url("assets/figma/figma-screen-desktop.png");
  }

  .fig-hit-balance {
    left: 80.85%;
    top: 3.84%;
    width: 8.82%;
    height: 2.3%;
  }

  .fig-hit-profile {
    left: 90.05%;
    top: 3.84%;
    width: 3.35%;
    height: 2.3%;
  }

  .fig-hit-play {
    left: 38.59%;
    top: 30.16%;
    width: 11.17%;
    height: 7.73%;
  }

  .fig-hit-story {
    left: 59.53%;
    top: 37.3%;
    width: 35.92%;
    height: 12.12%;
    border-radius: min(2.26vw, 29px);
  }

  .fig-hit-card-music {
    display: block;
    left: 4.77%;
    top: 55.78%;
    width: 17.54%;
    height: 12.11%;
    border-radius: min(2.26vw, 29px);
  }

  .fig-hit-card-mafia {
    left: 41.33%;
    top: 55.78%;
    width: 17.5%;
    height: 12.11%;
    border-radius: min(2.26vw, 29px);
  }

  .fig-hit-promo-tab {
    left: 32.5%;
    top: 51.4%;
    width: 8.2%;
    height: 2.6%;
  }

  .fig-hit-promo {
    left: 70.86%;
    top: 77.24%;
    width: 24.55%;
    height: 4.02%;
  }

  .fig-hit-support {
    left: 78.65%;
    top: 51.4%;
    width: 10.4%;
    height: 2.6%;
  }

  .fig-game-card {
    border-radius: min(2.26vw, 29px);
  }

  .fig-dark {
    height: 36.75%;
  }

  .fig-paper {
    top: 36.75%;
  }

  .fig-head::before {
    left: 4.69%;
    top: 3.08%;
    width: 90.78%;
    height: 4.59%;
  }

  .fig-paper-notch {
    display: block;
    left: 0;
    top: 34.03%;
    width: 100%;
    height: 31.24%;
    z-index: 1;
    object-fit: fill;
    pointer-events: none;
  }

  .fig-brand {
    left: 6.41%;
    top: 4.16%;
    width: 9.38%;
    height: 2.43%;
    gap: 9%;
    font-size: min(3.52vw, 45px);
  }

  .fig-brand-logo {
    font-size: min(2.58vw, 33px);
  }

  .fig-hero-word--bitva {
    left: 4.69%;
    top: 10.3%;
    font-size: min(15.8vw, 202px);
    transform: skewX(-8deg) scaleX(1.1);
  }

  .fig-hero-word--bitva::after {
    content: "";
  }

  .fig-hero-word--bitva::before {
    display: none;
  }

  .fig-hero-word--igry {
    display: block;
    left: auto;
    right: 4.3%;
    top: 23.4%;
    font-size: min(15.8vw, 202px);
    transform: skewX(-8deg) scaleX(1.1);
  }

  .fig-search {
    left: 16.95%;
    top: 3.84%;
    width: 62.66%;
    height: 3.14%;
    padding-left: 3.28%;
    font-size: min(1.09vw, 14px);
  }

  .fig-balance {
    left: 80.86%;
    top: 3.84%;
    width: 8.83%;
    height: 2.32%;
    gap: 7%;
    font-size: min(1.17vw, 15px);
  }

  .fig-avatar {
    left: 90.08%;
    top: 3.84%;
    width: 3.36%;
    height: 2.32%;
    font-size: min(1.41vw, 18px);
  }

  .fig-balance-label,
  .fig-profile-label {
    display: block;
    top: 6.6%;
    color: var(--fig-paper);
    font-size: min(0.63vw, 8px);
    font-weight: 800;
  }

  .fig-balance-label {
    left: 83.91%;
  }

  .fig-profile-label {
    left: 90.08%;
  }

  .fig-hero-img--mobile {
    display: none;
  }

  .fig-hero-img--desktop {
    display: block;
    left: 35.4%;
    top: 9.2%;
    width: 32%;
    height: auto;
  }

  .fig-hero-title--mobile {
    display: none;
  }

  .fig-hero-title--desktop {
    display: block;
    left: 4.69%;
    top: 22.27%;
    width: 33.6%;
    height: 4.43%;
    font-size: min(3.75vw, 48px);
    transform: scaleX(0.74);
    transform-origin: left top;
  }

  .fig-hero-copy {
    left: 4.69%;
    top: 27.78%;
    width: 29.61%;
    font-size: min(1.56vw, 20px);
  }

  .fig-company-title {
    left: 80.63%;
    top: 11.19%;
    width: 14.84%;
    font-size: min(2.66vw, 34px);
  }

  .fig-company-copy {
    left: 71.95%;
    top: 14.32%;
    width: 23.52%;
    font-size: min(1.56vw, 20px);
  }

  .fig-peek {
    left: 38.59%;
    top: 30.16%;
    width: 11.17%;
    height: 7.73%;
  }

  .fig-story {
    top: 39.35%;
    height: 10.1%;
  }

  .fig-story h2,
  .fig-story-title-art--desktop {
    display: block;
    left: 4.79%;
    top: 0;
    width: 68%;
    height: 24.08%;
    font-size: min(5.02vw, 64.3px);
    transform: scaleX(0.545);
    transform-origin: left top;
  }

  .fig-story-title-art--mobile {
    display: none;
  }

  .fig-mobile-break {
    display: none;
  }

  .fig-story p {
    left: 4.84%;
    top: 42.25%;
    width: 49.06%;
    font-size: min(1.56vw, 20px);
  }

  .fig-game-card--story {
    left: 59.53%;
    top: -20.3%;
    width: 35.94%;
    height: 120%;
  }

  .fig-game-card--story::after {
    inset: 0 0 0 34.6%;
  }

  .fig-game-card--story b,
  .fig-card-music b {
    font-size: min(2.89vw, 37px);
  }

  .fig-game-card--story b {
    left: 4.4%;
    top: 22.1%;
    width: 31.7%;
    font-family: var(--font-body);
    font-size: min(1.6vw, 20.5px);
    font-weight: 800;
    line-height: 0.9;
    transform: none;
  }

  .fig-game-card--story small,
  .fig-card-music small {
    font-size: min(1.56vw, 20px);
  }

  .fig-game-card--story small {
    left: 6.85%;
    top: 43.4%;
    font-family: var(--font-display);
    font-size: min(2.12vw, 27px);
    transform: none;
  }

  .fig-hot {
    font-size: min(0.7vw, 9px);
  }

  .fig-features {
    left: 79.14%;
    top: 0.9%;
    width: 15%;
    gap: min(1.25vw, 16px);
  }

  .fig-features b {
    font-size: min(1.1vw, 14px);
    font-weight: 600;
  }

  .fig-features span {
    font-size: min(0.94vw, 12px);
  }

  .fig-tabs {
    left: 4.77%;
    top: 51.41%;
    width: 90.23%;
    height: 2.59%;
    gap: 0.94%;
  }

  .fig-tabs button {
    min-width: 8.8%;
    padding: 0 1.17%;
    font-size: min(1.09vw, 14px);
  }

  .fig-card-music {
    display: block;
    left: 4.77%;
    top: 55.78%;
    width: 17.54%;
    height: 12.11%;
  }

  .fig-card-bitva {
    left: 23.05%;
    top: 55.78%;
    width: 17.5%;
    height: 12.11%;
  }

  .fig-card-mafia {
    left: 41.33%;
    top: 55.78%;
    width: 17.5%;
    height: 12.11%;
  }

  .fig-card-meloman {
    left: 59.61%;
    top: 55.78%;
    width: 17.5%;
    height: 12.11%;
  }

  .fig-card-more {
    left: 77.89%;
    top: 55.78%;
    width: 17.5%;
    height: 12.11%;
    border-radius: min(2.26vw, 29px);
  }

  .fig-card-more b {
    font-size: min(3.87vw, 49.5px);
  }

  .fig-card-more small {
    font-size: min(0.94vw, 12px);
  }

  .fig-card-bitva b,
  .fig-card-meloman b,
  .fig-card-mafia b {
    font-size: min(1.09vw, 14px);
  }

  .fig-q {
    width: min(2.19vw, 28px);
    height: min(2.19vw, 28px);
    font-size: min(1.09vw, 14px);
  }

  .fig-show-all {
    left: 4.61%;
    top: 69.35%;
    width: 90.78%;
    height: 3.68%;
    font-size: min(1.41vw, 18px);
  }

  .fig-promo {
    top: 75.95%;
    height: 8.7%;
  }

  .fig-promo::before {
    left: 4.18%;
    top: 30.85%;
    width: 3.95%;
  }

  .fig-promo h2,
  .fig-promo-title-art--desktop {
    display: block;
    left: 4.53%;
    top: 0;
    width: 30%;
    height: 21.13%;
    font-size: min(3.75vw, 48px);
    transform: scaleX(0.66);
  }

  .fig-promo-title-art--mobile {
    display: none;
  }

  .fig-promo p {
    left: 8.36%;
    top: 33.5%;
    width: 29%;
    font-size: min(1.41vw, 18px);
  }

  .fig-promo button {
    left: 70.86%;
    top: 14.8%;
    width: 24.55%;
    height: 46.23%;
    font-size: min(1.72vw, 22px);
    padding: 0 18% 0 8.5%;
  }

  .fig-footer {
    left: 0;
    top: 84.97%;
    width: 100%;
    height: 46.81%;
    display: block;
    border-radius: min(8.52vw, 109px) min(8.52vw, 109px) 0 0;
  }

  .fig-footer__brand {
    left: 4.61%;
    top: 6.58%;
    width: 24.69%;
    height: 13.75%;
    font-size: min(9.69vw, 124px);
  }

  .fig-footer p,
  .fig-footer a,
  .fig-footer small {
    left: 59.61%;
    font-size: min(1.09vw, 14px);
  }

  .fig-footer p {
    top: 6.93%;
    width: 24.38%;
  }

  .fig-footer a {
    top: 19.86%;
    width: 23.05%;
  }

  .fig-footer small {
    top: 23.9%;
    width: 21.8%;
  }
}
