:root {
  --bg: #070a11;
  --bg-soft: #0d121d;
  --panel: #111824;
  --panel-2: #151e2c;
  --line: rgba(255, 255, 255, 0.09);
  --line-bright: rgba(158, 255, 89, 0.34);
  --text: #eef4ed;
  --muted: #8d98a8;
  --acid: #9eff59;
  --mint: #00d7a2;
  --blue: #68a7ff;
  --orange: #ffb45f;
  --display: "Unbounded", sans-serif;
  --body: "Manrope", sans-serif;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --app-viewport-height: 100dvh;
  --app-stable-height: 100dvh;
  --app-safe-top: env(safe-area-inset-top, 0px);
  --app-safe-right: env(safe-area-inset-right, 0px);
  --app-safe-bottom: env(safe-area-inset-bottom, 0px);
  --app-safe-left: env(safe-area-inset-left, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: hidden;
}

html[data-telegram="true"] {
  color-scheme: dark;
  background: var(--bg);
}

html[data-telegram="true"] body {
  min-height: var(--app-stable-height);
  overflow-y: auto;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

html[data-telegram="true"] :is(
  input:not([type="range"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
  select,
  textarea
) {
  font-size: 16px !important;
  touch-action: manipulation;
}

html[data-telegram="true"][data-telegram-input-focus="true"] {
  scroll-behavior: auto;
  scroll-padding-bottom: calc(var(--app-stable-height) - var(--app-viewport-height) + 24px);
}

html[data-telegram="true"] .mini-static-media,
html[data-telegram="true"] :is(
  [class*="-icon"],
  [class*="-symbol"],
  [class*="-mark"],
  [class*="-logo"],
  [aria-hidden="true"]
) {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

html[data-telegram="true"] .mini-static-media {
  pointer-events: none;
}

html[data-telegram="true"][data-mini-page="home"] #play {
  display: none;
}

html[data-route="play"] main > :not(#play),
html[data-route="play"] footer {
  display: none;
}

html[data-route="play"] #play {
  min-height: calc(var(--app-stable-height) - 62px);
  padding-top: 46px;
}

html[data-telegram="true"].mini-page-enter main {
  animation: miniPageEnter .34s cubic-bezier(.2,.75,.25,1) both;
}

html[data-telegram="true"].mini-page-leaving main {
  pointer-events: none;
  animation: miniPageLeave .19s ease both;
}

html[data-telegram-active="false"] .aurora,
html[data-telegram-active="false"] .intro-stars i,
html[data-telegram-active="false"] .noise {
  animation-play-state: paused !important;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  color: #07110a;
  background: var(--acid);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

.aurora {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.1;
}

.aurora-one {
  top: -200px;
  left: -140px;
  background: var(--acid);
  animation: auroraOne 18s ease-in-out infinite;
}

.aurora-two {
  right: -180px;
  top: 50%;
  background: var(--blue);
  animation: auroraTwo 24s ease-in-out infinite;
}

.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

.mouse-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 255, 89, 0.11), transparent 68%);
  transform: translate(-50%, -50%);
  filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.25s ease;
}

.mouse-glow.active {
  opacity: 1;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 10, 17, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #07100a;
  border-radius: 10px 4px 10px 4px;
  background: linear-gradient(135deg, var(--acid), var(--mint));
  box-shadow: 0 0 28px rgba(158, 255, 89, 0.2);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--text);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav .nav-play {
  padding: 10px 15px;
  color: #07100a;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 24px rgba(158, 255, 89, 0.16);
}

.desktop-nav .nav-play:hover {
  color: #07100a;
  box-shadow: 0 0 32px rgba(158, 255, 89, 0.3);
}

.desktop-nav .nav-play::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-balance,
.header-deposit {
  min-height: 38px;
  border-radius: 999px;
  cursor: pointer;
}

.header-balance {
  min-width: 98px;
  padding: 5px 13px;
  display: grid;
  justify-items: start;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.header-balance span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-balance strong {
  font-family: var(--display);
  font-size: 12px;
  line-height: 1.15;
}

.header-deposit {
  padding: 0 15px;
  color: #07100a;
  font-size: 11px;
  font-weight: 900;
  background: var(--acid);
  border: 1px solid var(--acid);
  box-shadow: 0 0 24px rgba(158, 255, 89, 0.16);
}

.header-deposit:hover {
  box-shadow: 0 0 30px rgba(158, 255, 89, 0.28);
}

.account-button,
.region-button {
  min-height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.account-button {
  gap: 7px;
}

.account-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-family: var(--display);
  font-size: 6px;
  border-radius: 50%;
  background: var(--acid);
}

.status-dot,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(158, 255, 89, 0.08), 0 0 14px rgba(158, 255, 89, 0.8);
}

.hero {
  min-height: calc(100vh - 72px);
  padding-block: 84px 92px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 74px;
  align-items: center;
}

.hero-kicker,
.eyebrow {
  color: var(--acid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-kicker {
  width: fit-content;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(158, 255, 89, 0.05);
  border: 1px solid rgba(158, 255, 89, 0.14);
  border-radius: 999px;
}

.hero h1 {
  max-width: 760px;
  margin: 24px 0 22px;
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span,
.section-heading h2 span,
.method-copy h2 span,
.safety-copy h2 span {
  color: var(--acid);
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: #aab4c2;
  font-size: 17px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #07100a;
  background: linear-gradient(135deg, var(--acid), #6eea6b);
  box-shadow: 0 14px 34px rgba(125, 240, 83, 0.14);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(125, 240, 83, 0.24);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c1cad5;
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  color: var(--acid);
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.trust-row {
  margin-top: 54px;
  display: flex;
  gap: 42px;
}

.trust-row div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-row strong {
  font-family: var(--display);
  font-size: 21px;
}

.trust-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 84%;
  aspect-ratio: 1;
  border: 1px solid rgba(158, 255, 89, 0.09);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 64%;
  aspect-ratio: 1;
  border: 1px dashed rgba(104, 167, 255, 0.12);
  border-radius: 50%;
  animation: spinReverse 19s linear infinite;
}

.radar-card {
  position: relative;
  z-index: 2;
  width: min(420px, 90%);
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.01)),
    rgba(13, 18, 29, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow), 0 0 80px rgba(158, 255, 89, 0.06);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.radar-card::after {
  content: "";
  position: absolute;
  inset: -60% -20%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.055), transparent);
  transform: rotate(18deg) translateX(-70%);
  animation: cardShine 5.5s ease-in-out infinite;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.scan-status {
  color: var(--acid);
}

.score-orbit {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 20px auto 10px;
}

.score-orbit svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-orbit circle {
  fill: none;
  stroke-width: 7;
}

.orbit-grid {
  stroke: rgba(255, 255, 255, 0.055);
}

.orbit-progress {
  stroke: url("#scoreGradient");
  stroke-linecap: round;
  stroke-dasharray: 515;
  stroke-dashoffset: 515;
  filter: drop-shadow(0 0 10px rgba(158, 255, 89, 0.55));
  animation: drawScore 1.8s 0.8s ease forwards;
}

.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
}

.score-value strong {
  font-family: var(--display);
  font-size: 54px;
  line-height: 1;
}

.score-value > span {
  margin-left: 5px;
  color: var(--muted);
  font-weight: 700;
}

.score-value small {
  width: 100%;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.signal-bars {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.signal-bars > div {
  display: grid;
  grid-template-columns: 112px 1fr 24px;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.signal-bars i {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}

.signal-bars i::after {
  content: "";
  display: block;
  width: var(--level);
  height: 100%;
  background: linear-gradient(90deg, var(--mint), var(--acid));
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  animation: growBar 1.2s 1s ease forwards;
}

.signal-bars b {
  color: var(--text);
  font-size: 11px;
}

.float-chip {
  position: absolute;
  z-index: 3;
  padding: 11px 15px;
  color: #dce8da;
  background: rgba(14, 21, 31, 0.88);
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 800;
}

.float-chip::before {
  content: "✓";
  margin-right: 7px;
  color: var(--acid);
}

.float-chip-one {
  top: 80px;
  right: -5px;
  animation: float 5s ease-in-out infinite;
}

.float-chip-two {
  left: -10px;
  bottom: 92px;
  animation: float 6s 0.8s ease-in-out infinite reverse;
}

.ticker {
  position: relative;
  z-index: 3;
  padding: 14px 0;
  overflow: hidden;
  background: var(--acid);
  color: #07100a;
  transform: rotate(-1deg) scale(1.02);
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.08em;
  animation: ticker 23s linear infinite;
}

.ticker-track i {
  font-style: normal;
}

.nav-skill-kill {
  color: #68a7ff !important;
}

.skill-kill-section {
  --sk-blue: #3a9cff;
  --sk-orange: #ff9d2e;
  position: relative;
  padding-block: 118px 105px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(58,156,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(58,156,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 28%, rgba(58,156,255,.16), transparent 28%),
    radial-gradient(circle at 16% 72%, rgba(158,255,89,.07), transparent 30%),
    #070c14;
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  border-bottom: 1px solid rgba(58,156,255,.12);
}

.skill-kill-section::before {
  content: "SKILL KILL";
  position: absolute;
  left: 50%;
  top: 40px;
  color: rgba(255,255,255,.018);
  font-family: var(--display);
  font-size: clamp(88px, 16vw, 240px);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -.08em;
  pointer-events: none;
  transform: translateX(-50%);
}

.skill-kill-section::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sk-blue), var(--acid), transparent);
  box-shadow: 0 0 24px rgba(58,156,255,.45);
}

.skill-kill-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.skill-kill-heading > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.skill-kill-heading .eyebrow {
  margin: 0;
  color: var(--sk-blue);
}

.skill-kill-heading > p {
  margin: 0;
  color: #607188;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.skill-kill-status {
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #07100a;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 24px rgba(158,255,89,.23);
}

.skill-kill-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #07100a;
  animation: skillKillStatus 1.2s ease-in-out infinite;
}

.skill-kill-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(310px, .82fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.skill-kill-copy {
  min-width: 0;
}

.skill-kill-index {
  color: var(--sk-orange);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.skill-kill-copy h2 {
  margin: 14px 0 20px;
  color: #f2f6fb;
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 66px);
  line-height: 1.01;
  letter-spacing: -.06em;
}

.skill-kill-copy h2 em {
  color: var(--sk-blue);
  font-style: normal;
  text-shadow: 0 0 38px rgba(58,156,255,.32);
}

.skill-kill-welcome {
  max-width: 610px;
  margin: 0;
  color: #cbd6e4;
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.55;
}

.skill-kill-welcome strong {
  color: var(--acid);
}

.skill-kill-concept {
  max-width: 600px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.skill-kill-equation {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, auto);
  align-items: center;
  justify-content: start;
  gap: 10px;
}

.skill-kill-equation > div {
  min-width: 92px;
  display: grid;
  gap: 4px;
}

.skill-kill-equation strong {
  color: white;
  font-family: var(--display);
  font-size: 23px;
}

.skill-kill-equation > div:last-of-type strong {
  color: var(--acid);
}

.skill-kill-equation span {
  color: #68778a;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .11em;
}

.skill-kill-equation > i {
  color: var(--sk-blue);
  font-style: normal;
}

.skill-kill-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-kill-tags span {
  padding: 7px 9px;
  color: #94a4b8;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .1em;
  border: 1px solid rgba(58,156,255,.16);
  border-radius: 6px;
  background: rgba(58,156,255,.035);
}

.skill-kill-showcase {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(58,156,255,.34);
  border-radius: 3px;
  background: #03070d;
  box-shadow:
    0 32px 90px rgba(0,0,0,.5),
    0 0 55px rgba(58,156,255,.09),
    inset 0 0 0 5px rgba(4,10,18,.8);
}

.skill-kill-showcase::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(180deg, transparent 66%, rgba(1,5,10,.78));
  background-size: 24px 24px, 24px 24px, auto;
}

.skill-kill-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.055);
  transition:
    opacity .62s ease,
    visibility .62s,
    transform 1.35s cubic-bezier(.2,.75,.2,1);
}

.skill-kill-screen.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.skill-kill-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04) brightness(.83);
}

.skill-kill-screen.is-active img {
  animation: skillKillImageDrift 7s ease-out both;
}

.skill-kill-screen-meta {
  position: absolute;
  z-index: 6;
  left: 20px;
  right: 20px;
  bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
}

.skill-kill-screen-meta span,
.skill-kill-screen-meta b {
  padding: 6px 8px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
  background: rgba(3,8,14,.72);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}

.skill-kill-screen-meta span {
  color: var(--sk-blue);
}

.skill-kill-screen-meta b {
  color: white;
}

.skill-kill-scanline {
  position: absolute;
  z-index: 7;
  left: 0;
  right: 0;
  top: -20%;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(58,156,255,.09), transparent);
  animation: skillKillScan 4.5s linear infinite;
}

.skill-kill-corner {
  position: absolute;
  z-index: 8;
  width: 50px;
  height: 50px;
  pointer-events: none;
}

.skill-kill-corner-one {
  left: 10px;
  top: 10px;
  border-top: 2px solid var(--sk-blue);
  border-left: 2px solid var(--sk-blue);
}

.skill-kill-corner-two {
  right: 10px;
  bottom: 10px;
  border-right: 2px solid var(--acid);
  border-bottom: 2px solid var(--acid);
}

.skill-kill-controls {
  position: relative;
  z-index: 3;
  width: min(66%, 820px);
  margin: 16px 0 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.skill-kill-controls button {
  min-width: 0;
  min-height: 78px;
  padding: 11px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 3px 8px;
  color: #728197;
  text-align: left;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.022);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.skill-kill-controls button:hover,
.skill-kill-controls button.is-active {
  color: white;
  border-color: rgba(58,156,255,.48);
  background: linear-gradient(120deg, rgba(58,156,255,.12), rgba(58,156,255,.025));
  transform: translateY(-2px);
}

.skill-kill-controls button > span {
  grid-row: 1 / -1;
  align-self: center;
  color: var(--sk-blue);
  font-family: var(--display);
  font-size: 15px;
}

.skill-kill-controls strong {
  font-size: 8px;
  letter-spacing: .1em;
}

.skill-kill-controls small {
  overflow: hidden;
  color: #627086;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-kill-flow {
  position: relative;
  z-index: 2;
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid rgba(58,156,255,.14);
}

.skill-kill-flow article {
  min-width: 0;
  min-height: 165px;
  padding: 25px 22px;
  display: flex;
  gap: 14px;
  border-right: 1px solid rgba(58,156,255,.12);
  background: linear-gradient(180deg, rgba(58,156,255,.025), transparent);
}

.skill-kill-flow article:last-child {
  border-right: 0;
}

.skill-kill-flow article > span {
  color: var(--sk-blue);
  font-family: var(--display);
  font-size: 12px;
}

.skill-kill-flow article strong {
  color: white;
  font-family: var(--display);
  font-size: 12px;
}

.skill-kill-flow article p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.skill-kill-footer {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(158,255,89,.16);
  background:
    linear-gradient(100deg, rgba(158,255,89,.065), transparent 48%),
    rgba(4,9,15,.58);
}

.skill-kill-footer p {
  max-width: 630px;
  margin: 0;
  color: #a9b5c4;
  font-size: 11px;
  line-height: 1.6;
}

.skill-kill-footer p span {
  margin-right: 8px;
  color: var(--acid);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.skill-kill-footer > strong {
  color: white;
  font-family: var(--display);
  font-size: clamp(13px, 1.6vw, 20px);
  line-height: 1.25;
  text-align: right;
}

@keyframes skillKillStatus {
  50% { opacity: .28; transform: scale(.65); }
}

@keyframes skillKillImageDrift {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@keyframes skillKillScan {
  from { transform: translateY(-100%); }
  to { transform: translateY(700%); }
}

.content-section {
  padding-block: 120px;
}

.section-heading {
  margin-bottom: 44px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2,
.method-copy h2,
.safety-copy h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(29px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.filter-row {
  margin-bottom: 22px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter {
  flex: 0 0 auto;
  padding: 10px 15px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter:hover,
.filter.active {
  color: #07100a;
  background: var(--acid);
  border-color: var(--acid);
}

.rating-list {
  display: grid;
  gap: 10px;
}

.rating-card {
  position: relative;
  min-height: 112px;
  padding: 19px 20px;
  display: grid;
  grid-template-columns: 46px 1.15fr 1.35fr 1fr auto;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.014));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.rating-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--acid);
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.rating-card:hover {
  transform: translateX(5px);
  border-color: rgba(158, 255, 89, 0.24);
  background: linear-gradient(135deg, rgba(158,255,89,0.055), rgba(255,255,255,0.014));
}

.rating-card:hover::before {
  transform: scaleY(1);
}

.rating-card.filtered-out {
  display: none;
}

.rank-number {
  color: #4b5665;
  font-family: var(--display);
  font-size: 15px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #07100a;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
}

.icon-aurora { background: linear-gradient(135deg, #b7ff65, #3ce6b0); }
.icon-north { background: linear-gradient(135deg, #72c5ff, #776cff); }
.icon-mint { background: linear-gradient(135deg, #8dffd4, #00c589); }
.icon-vega { background: linear-gradient(135deg, #ffc06b, #ff6c89); }

.brand-block h3 {
  margin: 0 0 2px;
  font-size: 16px;
}

.brand-block span {
  color: var(--muted);
  font-size: 10px;
}

.rating-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rating-metrics div {
  display: flex;
  flex-direction: column;
}

.rating-metrics span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rating-metrics strong {
  margin-top: 4px;
  font-size: 13px;
}

.rating-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rating-tags span {
  padding: 5px 8px;
  color: #b7c2cf;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
}

.details-button,
.inline-action {
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.details-button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 11px;
}

.details-button span,
.inline-action span {
  color: var(--acid);
}

.demo-note {
  margin: 18px 0 0;
  color: #687485;
  font-size: 11px;
}

.mechanics-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
}

.mechanic-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 80% 10%, rgba(104,167,255,0.12), transparent 35%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.mechanic-card:hover {
  transform: translateY(-6px);
  border-color: rgba(158, 255, 89, 0.25);
}

.mechanic-wide {
  grid-row: span 2;
  min-height: 674px;
  background:
    radial-gradient(circle at 50% 16%, rgba(158,255,89,0.18), transparent 35%),
    linear-gradient(160deg, #121c22, #0d131d);
}

.mechanics-grid .mechanic-card:nth-child(4) {
  grid-column: span 2;
}

.mechanic-symbol {
  position: absolute;
  top: 28px;
  right: 28px;
  color: rgba(255, 255, 255, 0.06);
  font-family: var(--display);
  font-size: clamp(58px, 8vw, 108px);
  line-height: 1;
  letter-spacing: -0.08em;
}

.mechanic-wide .mechanic-symbol {
  top: 80px;
  right: auto;
  left: 50%;
  color: var(--acid);
  font-size: clamp(82px, 12vw, 148px);
  transform: translateX(-50%) rotate(-7deg);
  opacity: 0.95;
  text-shadow: 0 0 50px rgba(158,255,89,0.22);
}

.card-index {
  color: var(--acid);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mechanic-card h3 {
  max-width: 420px;
  margin: 10px 0 8px;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.3;
}

.mechanic-card p {
  max-width: 470px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.inline-action {
  font-size: 12px;
}

.methodology {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.methodology::before {
  content: "";
  position: absolute;
  inset: 60px -40px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(158,255,89,0.035), rgba(104,167,255,0.025));
  border: 1px solid var(--line);
  border-radius: 28px;
}

.method-copy > p:not(.eyebrow) {
  margin: 24px 0 30px;
  color: var(--muted);
}

.method-steps {
  display: grid;
}

.method-step {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.method-step > span {
  color: var(--acid);
  font-family: var(--display);
  font-size: 12px;
}

.method-step h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.method-step p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.guide-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-6px);
  border-color: rgba(158, 255, 89, 0.25);
}

.guide-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  top: 55px;
  right: -45px;
  background: radial-gradient(circle, rgba(158,255,89,0.12), transparent 68%);
  transition: transform 0.3s ease;
}

.guide-card:hover::after {
  transform: scale(1.25);
}

.guide-time {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-icon {
  width: 58px;
  height: 58px;
  margin-top: 32px;
  display: grid;
  place-items: center;
  color: #07100a;
  background: var(--acid);
  border-radius: 18px 8px 18px 8px;
  font-family: var(--display);
  font-size: 20px;
}

.guide-card h3 {
  max-width: 280px;
  margin: 25px 0 8px;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.35;
}

.guide-card p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.guide-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--acid);
  font-size: 20px;
}

.poker-section {
  position: relative;
  padding-block: 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 215, 162, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(14, 20, 30, 0.86), rgba(7, 10, 17, 0.96));
  border-top: 1px solid var(--line);
}

.poker-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
}

.game-library {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mini-skill-kill-banner {
  position: relative;
  min-height: 190px;
  margin: 0 0 20px;
  padding: 24px 26px 24px min(46%, 510px);
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(90, 159, 255, .35);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(4, 11, 21, .08) 0 38%, rgba(4, 11, 21, .94) 59%),
    linear-gradient(145deg, #071224, #050910);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32), inset 0 0 42px rgba(66, 132, 255, .05);
  isolation: isolate;
}

html[data-route="play"] .mini-skill-kill-banner {
  display: grid;
}

.mini-skill-kill-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(84, 153, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 153, 255, .08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent 28%, #000);
}

.mini-skill-kill-media {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -2;
  width: 58%;
  overflow: hidden;
}

.mini-skill-kill-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 45%, #07101d 100%);
}

.mini-skill-kill-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(.82) contrast(1.08);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
}

.mini-skill-kill-copy {
  position: relative;
  display: grid;
  gap: 4px;
}

.mini-skill-kill-copy small {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7eaef9;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.mini-skill-kill-copy small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(158, 255, 89, .8);
  animation: skillKillStatus 1.35s ease-in-out infinite;
}

.mini-skill-kill-copy strong {
  font-family: var(--display);
  font-size: clamp(29px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.055em;
}

.mini-skill-kill-copy > span {
  color: #b5c2d5;
  font-size: 12px;
}

.mini-skill-kill-banner > b {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--acid);
  font-size: 9px;
  letter-spacing: .11em;
  white-space: nowrap;
}

.mini-skill-kill-banner > b i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-size: 16px;
  font-style: normal;
  border-radius: 50%;
  background: var(--acid);
  transition: transform .25s ease;
}

.mini-skill-kill-banner:hover .mini-skill-kill-media img {
  filter: saturate(1) contrast(1.12);
  transform: scale(1.035);
}

.mini-skill-kill-banner:hover > b i {
  transform: translate(2px, -2px);
}

.game-library[hidden],
.game-panel[hidden],
.games-heading[hidden] {
  display: none;
}

.game-choice-card {
  position: relative;
  min-height: 520px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.055), transparent 36%),
    #0e151f;
  box-shadow: 0 24px 65px rgba(0,0,0,.25);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease, box-shadow .25s ease;
}

.game-choice-card::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: 30px;
  border-radius: 50%;
  background: rgba(158,255,89,.08);
  filter: blur(45px);
  transition: transform .45s ease, opacity .3s ease;
}

.game-choice-durak::before {
  background: rgba(0,215,162,.09);
}

.game-choice-blackjack::before {
  background: rgba(255,197,86,.1);
}

.game-choice-slots::before {
  background: rgba(255,78,157,.12);
}

.game-choice-roulette::before {
  background: rgba(255,190,67,.12);
}

.game-choice-tennis::before {
  background: rgba(76,177,255,.13);
}

.game-choice-tapper::before {
  background: rgba(0,215,162,.11);
}

.game-choice-card:hover {
  z-index: 2;
  border-color: rgba(158,255,89,.38);
  box-shadow: 0 34px 80px rgba(0,0,0,.34), 0 0 38px rgba(158,255,89,.08);
  transform: translateY(-7px);
}

.game-choice-card:hover::before {
  opacity: .85;
  transform: scale(1.18);
}

.game-choice-top,
.game-choice-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-choice-top {
  color: var(--acid);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.game-choice-top b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--display);
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.game-choice-visual {
  position: relative;
  z-index: 1;
  min-height: 285px;
  display: grid;
  place-items: center;
}

.game-choice-visual > i {
  position: absolute;
  width: 128px;
  height: 180px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #111820;
  font-style: normal;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #dce4df);
  box-shadow: 0 22px 45px rgba(0,0,0,.36);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.game-choice-visual > i strong {
  font-family: var(--display);
  font-size: 28px;
}

.game-choice-visual > i em {
  align-self: center;
  font-size: 54px;
  font-style: normal;
}

.game-choice-visual > i:first-child {
  transform: translateX(-54px) rotate(-10deg);
}

.game-choice-visual > i:nth-child(2) {
  transform: translateX(54px) rotate(10deg);
}

.game-choice-card:hover .game-choice-visual > i:first-child {
  transform: translateX(-70px) translateY(-7px) rotate(-14deg);
}

.game-choice-card:hover .game-choice-visual > i:nth-child(2) {
  transform: translateX(70px) translateY(-7px) rotate(14deg);
}

.durak-choice-visual > i:first-child {
  color: #d73543;
}

.blackjack-choice-visual > i:first-child {
  color: #d73543;
}

.choice-chip,
.choice-trump,
.choice-blackjack {
  position: absolute;
  z-index: 3;
  bottom: 32px;
  padding: 9px 13px;
  color: #07100a;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}

.choice-trump {
  background: var(--mint);
}

.choice-blackjack {
  color: #1b1204;
  background: #ffc556;
}

.slots-choice-visual {
  position: relative;
  z-index: 2;
  min-height: 285px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.slots-choice-visual > i {
  width: 92px;
  height: 126px;
  display: grid;
  place-items: center;
  color: #08100d;
  font-family: var(--display);
  font-size: 34px;
  font-style: normal;
  border: 6px solid #17221e;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #cddad4);
  box-shadow: 0 18px 35px rgba(0,0,0,.35);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

.slots-choice-visual > i:first-child {
  color: #ff356f;
  transform: rotate(-7deg) translateY(8px);
}

.slots-choice-visual > i:nth-child(2) {
  color: #087e5f;
  transform: translateY(-5px);
}

.slots-choice-visual > i:nth-child(3) {
  color: #9d6900;
  transform: rotate(7deg) translateY(8px);
}

.game-choice-slots:hover .slots-choice-visual > i:first-child {
  transform: rotate(-10deg) translate(-6px,-2px);
}

.game-choice-slots:hover .slots-choice-visual > i:nth-child(2) {
  transform: translateY(-14px);
}

.game-choice-slots:hover .slots-choice-visual > i:nth-child(3) {
  transform: rotate(10deg) translate(6px,-2px);
}

.slots-choice-visual > span {
  position: absolute;
  bottom: 29px;
  padding: 9px 14px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff356f, #ffb84f);
  box-shadow: 0 8px 28px rgba(255,53,111,.32);
}

.roulette-choice-visual {
  position: relative;
  z-index: 2;
  min-height: 285px;
  display: grid;
  place-items: center;
}

.roulette-choice-visual > i {
  position: relative;
  width: 194px;
  height: 194px;
  display: block;
  font-style: normal;
  border: 9px solid #1a202a;
  border-radius: 50%;
  background: conic-gradient(
    #ff4f83 0 25%,
    #ffc34d 25% 50%,
    #00d7a2 50% 75%,
    #68a7ff 75% 100%
  );
  box-shadow: 0 20px 45px rgba(0,0,0,.38), 0 0 35px rgba(255,195,77,.12);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

.roulette-choice-visual > i::after {
  content: "G";
  position: absolute;
  inset: 60px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-family: var(--display);
  font-size: 19px;
  border: 6px solid #121923;
  border-radius: 50%;
  background: var(--acid);
}

.roulette-choice-visual > i span {
  position: absolute;
  z-index: 2;
  color: #09110d;
  font-family: var(--display);
  font-size: 10px;
}

.roulette-choice-visual > i span:nth-child(1) { left: 50%; top: 14px; transform: translateX(-50%); }
.roulette-choice-visual > i span:nth-child(2) { right: 17px; top: 50%; transform: translateY(-50%); }
.roulette-choice-visual > i span:nth-child(3) { left: 50%; bottom: 14px; transform: translateX(-50%); }
.roulette-choice-visual > i span:nth-child(4) { left: 17px; top: 50%; transform: translateY(-50%); }

.roulette-choice-visual > b {
  position: absolute;
  z-index: 4;
  top: 38px;
  color: var(--acid);
  font-size: 24px;
  text-shadow: 0 0 16px rgba(158,255,89,.55);
}

.roulette-choice-visual > em {
  position: absolute;
  z-index: 4;
  bottom: 27px;
  padding: 8px 12px;
  color: #171005;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
  border-radius: 999px;
  background: #ffc34d;
  box-shadow: 0 7px 25px rgba(255,195,77,.3);
}

.game-choice-roulette:hover .roulette-choice-visual > i {
  transform: rotate(28deg) scale(1.04);
}

.tennis-choice-visual {
  position: relative;
  z-index: 2;
  min-height: 285px;
  display: grid;
  place-items: center;
}

.tennis-choice-visual > i {
  position: relative;
  width: 176px;
  height: 236px;
  overflow: hidden;
  display: block;
  font-style: normal;
  border: 2px solid rgba(158,255,89,.5);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(0,215,162,.2), transparent 62%),
    #07121a;
  background-size: 24px 24px, 24px 24px, auto, auto;
  box-shadow: 0 22px 48px rgba(0,0,0,.42), 0 0 34px rgba(76,177,255,.12);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}

.tennis-choice-visual > i::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  border-top: 1px dashed rgba(255,255,255,.24);
}

.tennis-choice-visual > i > span {
  position: absolute;
  left: 50%;
  width: 78px;
  height: 8px;
  border-radius: 999px;
  transform: translateX(-50%);
}

.tennis-choice-visual > i > span:first-child {
  top: 19px;
  background: linear-gradient(90deg, #ff3f7d, #ffc34d);
  box-shadow: 0 0 15px rgba(255,79,131,.65);
}

.tennis-choice-visual > i > span:nth-child(2) {
  bottom: 19px;
  background: linear-gradient(90deg, #36d9a3, #9eff59);
  box-shadow: 0 0 15px rgba(158,255,89,.65);
}

.tennis-choice-visual > i > b {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e8ff8e;
  box-shadow: 0 0 18px #9eff59;
  transform: translate(-50%,-50%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}

.tennis-choice-visual > em {
  position: absolute;
  z-index: 4;
  bottom: 22px;
  padding: 8px 13px;
  color: #07100a;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .1em;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 8px 26px rgba(158,255,89,.28);
}

.game-choice-tennis:hover .tennis-choice-visual > i {
  box-shadow: 0 28px 58px rgba(0,0,0,.45), 0 0 42px rgba(76,177,255,.2);
  transform: perspective(500px) rotateX(5deg) scale(1.035);
}

.game-choice-tennis:hover .tennis-choice-visual > i > b {
  transform: translate(38px,-62px) scale(1.12);
}

.game-choice-copy {
  margin-top: auto;
}

.game-choice-copy > span {
  display: grid;
  gap: 6px;
}

.game-choice-copy small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .11em;
}

.game-choice-copy strong {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -.045em;
}

.game-choice-copy > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-size: 20px;
  font-style: normal;
  border-radius: 50%;
  background: var(--acid);
  transition: transform .25s ease;
}

.game-choice-card:hover .game-choice-copy > i {
  transform: translateX(4px);
}

.game-choice-description {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.game-panel {
  position: relative;
  animation: gamePanelIn .45s cubic-bezier(.2,.8,.2,1) both;
}

.game-panel.arena-locked > :not(.game-panel-header):not(.arena-gate) {
  display: none !important;
}

.arena-gate {
  margin-bottom: 20px;
}

.arena-card-table {
  display: grid;
  gap: 14px;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid rgba(158, 255, 89, .18);
  border-radius: 18px;
  background: rgba(3, 13, 18, .55);
}

.arena-card-row {
  display: grid;
  gap: 8px;
}

.arena-card-row > span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.arena-card-row > div,
.arena-card-community {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 48px;
  align-items: center;
}

.arena-card,
.arena-card-back {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 54px;
  border-radius: 8px;
  background: #f3f6ed;
  color: #14221f;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .2);
}

.arena-card b {
  font-size: 16px;
}

.arena-card small {
  font-size: 12px;
}

.arena-card.is-red {
  color: #d34467;
}

.arena-card-back {
  background: linear-gradient(135deg, #203b42, #11242c);
  color: var(--acid);
  border: 1px solid rgba(158, 255, 89, .35);
  font-weight: 800;
}

.arena-card-community {
  justify-content: center;
  min-height: 68px;
  border-block: 1px solid rgba(255, 255, 255, .08);
}

.arena-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.arena-card-actions input {
  width: 92px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.arena-shell {
  position: relative;
  min-height: 510px;
  padding: clamp(28px, 6vw, 64px);
  display: grid;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(104,167,255,.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 38%, rgba(104,167,255,.14), transparent 38%),
    radial-gradient(circle at 25% 75%, rgba(158,255,89,.07), transparent 34%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    #0a1019;
  background-size: auto, auto, 38px 38px, 38px 38px, auto;
  box-shadow: 0 32px 85px rgba(0,0,0,.34);
  transition: border-color .2s ease, transform .2s ease;
}

.arena-shell::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 25%, rgba(158,255,89,.055), transparent 65%);
  transform: translateX(-100%);
  animation: arenaSweep 5s ease-in-out infinite;
}

.arena-shell.is-error {
  border-color: rgba(255,79,131,.65);
  animation: arenaError .45s ease;
}

.arena-brand {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #68a7ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}

.arena-brand b {
  padding: 5px 8px;
  color: var(--acid);
  font-size: 7px;
  border: 1px solid rgba(158,255,89,.18);
  border-radius: 999px;
  background: rgba(158,255,89,.04);
}

.arena-hero-icon,
.arena-result-mark {
  width: 92px;
  height: 92px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-family: var(--display);
  font-size: 25px;
  border-radius: 31px 11px 31px 11px;
  background: linear-gradient(135deg, #68a7ff, var(--acid));
  box-shadow: 0 0 45px rgba(104,167,255,.2);
  transform: rotate(-4deg);
}

.arena-eyebrow {
  margin: 0 0 8px;
  color: var(--acid) !important;
  font-size: 8px !important;
  font-weight: 900;
  letter-spacing: .14em;
}

.arena-shell h3 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(27px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.arena-shell > p:not(.arena-eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.arena-main-action {
  min-width: min(340px, 100%);
  min-height: 58px;
  margin-top: 24px;
  border: 0;
  cursor: pointer;
}

.arena-disclaimer {
  max-width: 550px;
  margin-top: 14px;
  color: #657184;
  font-size: 8px;
  line-height: 1.5;
}

.arena-balance {
  margin-top: 20px;
  padding: 12px 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.16);
}

.arena-balance span,
.arena-balance small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.arena-balance strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: 20px;
}

.arena-balance-mode-picker {
  width: min(430px, 100%);
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.arena-balance-mode-picker label {
  position: relative;
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  gap: 3px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.arena-balance-mode-picker label:hover {
  transform: translateY(-1px);
  border-color: rgba(158, 255, 89, .42);
}

.arena-balance-mode-picker label:has(input:checked) {
  border-color: var(--acid);
  background: rgba(158, 255, 89, .1);
}

.arena-balance-mode-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.arena-balance-mode-picker span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
}

.arena-balance-mode-picker b {
  color: var(--text);
  font-family: var(--display);
  font-size: 13px;
}

.arena-balance-mode-picker label:has(input:checked) span,
.arena-balance-mode-picker label:has(input:checked) b {
  color: var(--acid);
}

.arena-ranges {
  width: min(660px, 100%);
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.arena-ranges label {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0,0,0,.15);
  cursor: pointer;
}

.arena-ranges label.is-selected,
.arena-ranges label:has(input:checked) {
  color: #07100a;
  border-color: var(--acid);
  background: var(--acid);
}

.arena-ranges input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.arena-secondary-action {
  min-height: 42px;
  padding-inline: 16px;
  color: #68a7ff;
  font-size: 9px;
  font-weight: 800;
  border: 1px solid rgba(104,167,255,.2);
  border-radius: 11px;
  background: rgba(104,167,255,.04);
  cursor: pointer;
}

.arena-radar {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
}

.arena-radar i {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(104,167,255,.32);
  border-radius: 50%;
  animation: arenaRadar 1.8s ease-out infinite;
}

.arena-radar i:nth-child(2) {
  animation-delay: .6s;
}

.arena-radar b {
  z-index: 2;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-family: var(--display);
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 32px rgba(158,255,89,.25);
}

.arena-waiting-line {
  width: min(420px, 100%);
  height: 4px;
  margin-block: 24px 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}

.arena-waiting-line span {
  width: 35%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #68a7ff, var(--acid), transparent);
  animation: arenaWaiting 1.4s ease-in-out infinite;
}

.arena-versus {
  width: min(580px, 100%);
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.arena-versus > div {
  min-height: 82px;
  padding: 14px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.16);
}

.arena-versus span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
}

.arena-versus strong {
  font-family: var(--display);
  font-size: 14px;
}

.arena-versus > b {
  color: var(--acid);
  font-family: var(--display);
  font-size: 16px;
}

.arena-proposal-form {
  width: min(500px, 100%);
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.arena-proposal-form label {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0,0,0,.2);
}

.arena-proposal-form input {
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  color: white;
  font: inherit;
  border: 0;
  outline: 0;
  background: transparent;
}

.arena-proposal-form label b {
  padding-inline: 13px;
  display: grid;
  place-items: center;
  color: var(--acid);
  font-size: 8px;
}

.arena-proposal-form > button {
  padding-inline: 22px;
  color: #07100a;
  font-size: 9px;
  font-weight: 900;
  border: 0;
  border-radius: 12px;
  background: var(--acid);
  cursor: pointer;
}

.arena-negotiation-actions,
.arena-finish-actions {
  width: min(500px, 100%);
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.arena-negotiation-actions .button,
.arena-finish-actions .button {
  min-height: 48px;
  border: 0;
  cursor: pointer;
}

.arena-negotiation-actions .button:disabled {
  opacity: .45;
  cursor: default;
}

.arena-blackjack-showdown {
  width: min(680px, 100%);
  margin: 8px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(255,197,86,.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0, rgba(255,197,86,.08), transparent 42%),
    rgba(5,9,14,.58);
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

.arena-showdown-head {
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
  border-bottom: 1px solid var(--line);
}

.arena-showdown-head span {
  color: #ffc556;
}

.arena-showdown-head i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #ffc556;
  box-shadow: 0 0 12px rgba(255,197,86,.7);
}

.arena-showdown-hands {
  padding: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.arena-showdown-hand {
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
}

.arena-showdown-hand.is-mine {
  border-color: rgba(158,255,89,.25);
  background: rgba(158,255,89,.04);
}

.arena-showdown-hand > div {
  min-height: 82px;
  display: grid;
  place-items: center;
}

.arena-showdown-hand > div > span {
  display: flex;
  justify-content: center;
}

.arena-showdown-hand .online-card {
  width: 54px;
  height: 76px;
  margin-left: -17px;
}

.arena-showdown-hand .online-card:first-child {
  margin-left: 0;
}

.arena-showdown-hand p {
  margin: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.arena-showdown-hand small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .11em;
}

.arena-showdown-hand strong {
  color: #ffc556;
  font-family: var(--display);
  font-size: 13px;
  white-space: nowrap;
}

.arena-acceptance {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.arena-acceptance i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #29313e;
}

.arena-acceptance i.is-ready {
  background: var(--acid);
  box-shadow: 0 0 12px rgba(158,255,89,.5);
}

.arena-shell.is-live {
  min-height: 78px;
  padding: 14px 18px;
  grid-template-columns: 1fr auto auto auto;
  place-content: initial;
  align-items: center;
  justify-items: stretch;
  gap: 24px;
  text-align: left;
  border-color: rgba(158,255,89,.2);
  border-radius: 18px;
}

.arena-shell.is-live::before {
  display: none;
}

.arena-shell.is-live .arena-brand {
  display: none;
}

.arena-live-copy {
  display: grid;
  gap: 3px;
}

.arena-live-copy span {
  color: var(--acid);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
}

.arena-live-copy span i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--acid);
  animation: arenaLive 1s ease-in-out infinite;
}

.arena-live-copy strong {
  font-size: 11px;
}

.arena-shell.is-live > div:not(.arena-live-copy) {
  display: grid;
  gap: 3px;
}

.arena-shell.is-live small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
}

.arena-shell.is-live b {
  color: var(--acid);
  font-family: var(--display);
  font-size: 14px;
}

.arena-live-exit {
  min-height: 38px;
  padding-inline: 13px;
  color: #ff8aa0;
  font-size: 8px;
  font-weight: 800;
  border: 1px solid rgba(255,79,131,.18);
  border-radius: 10px;
  background: rgba(255,79,131,.04);
  cursor: pointer;
}

.arena-result-mark.is-win {
  background: linear-gradient(135deg, var(--acid), #ffc34d);
}

.arena-result-mark.is-loss {
  color: white;
  background: linear-gradient(135deg, #ff3f7d, #8b335f);
}

.game-victory-overlay {
  position: absolute;
  z-index: 30;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  color: white;
  text-align: center;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(158,255,89,.27), transparent 32%),
    rgba(3,8,12,.84);
  animation: victoryOverlayIn .55s var(--victory-elapsed, 0s) cubic-bezier(.18,.8,.2,1) both;
}

.game-victory-overlay.is-loss {
  background:
    radial-gradient(circle at 50% 45%, rgba(255,79,131,.24), transparent 32%),
    rgba(3,8,12,.86);
}

.game-victory-overlay > span {
  color: var(--acid);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .2em;
}

.game-victory-overlay.is-loss > span {
  color: #ff7599;
}

.game-victory-overlay > strong {
  position: relative;
  z-index: 2;
  max-width: 620px;
  font-family: var(--display);
  font-size: clamp(28px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -.05em;
  text-shadow: 0 0 42px rgba(158,255,89,.38);
  animation: victoryTitleIn .7s calc(.08s + var(--victory-elapsed, 0s)) cubic-bezier(.18,.85,.2,1) both;
}

.game-victory-overlay > small {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.72);
  font-size: 11px;
}

.game-victory-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.game-victory-particles i {
  position: absolute;
  left: var(--victory-x);
  top: -18px;
  width: 8px;
  height: 16px;
  border-radius: 2px;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(158,255,89,.6);
  animation: victoryParticle 2.5s calc(var(--victory-delay) + var(--victory-elapsed, 0s)) ease-in both;
}

.game-victory-particles i:nth-child(3n) {
  background: #ffc34d;
}

.game-victory-particles i:nth-child(4n) {
  background: #68a7ff;
}

.game-victory-overlay.is-loss .game-victory-particles i {
  background: #ff4f83;
  box-shadow: 0 0 12px rgba(255,79,131,.55);
}

@keyframes arenaSweep {
  0%,40% { transform: translateX(-100%); }
  70%,100% { transform: translateX(100%); }
}

@keyframes arenaRadar {
  from { opacity: .8; transform: scale(.35); }
  to { opacity: 0; transform: scale(1.25); }
}

@keyframes arenaWaiting {
  from { transform: translateX(-120%); }
  to { transform: translateX(310%); }
}

@keyframes arenaLive {
  50% { opacity: .35; transform: scale(.75); }
}

@keyframes arenaError {
  25% { transform: translateX(-4px); }
  55% { transform: translateX(4px); }
}

@keyframes victoryOverlayIn {
  0% { opacity: 0; transform: scale(1.08); filter: blur(8px); }
  45% { opacity: 1; filter: blur(0); }
  70% { box-shadow: inset 0 0 0 100vmax rgba(255,255,255,.12); }
  100% { transform: scale(1); box-shadow: inset 0 0 0 100vmax rgba(255,255,255,0); }
}

@keyframes victoryTitleIn {
  0% { opacity: 0; transform: translateY(24px) scale(.72); }
  65% { opacity: 1; transform: translateY(-3px) scale(1.04); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes victoryParticle {
  0% { opacity: 0; transform: translateY(-20px) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translateY(620px) rotate(calc(var(--victory-spin) * 720deg)); }
}

.game-panel-header {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.game-panel-header > div {
  display: grid;
  gap: 4px;
}

.game-panel-header .eyebrow {
  margin: 0;
}

.game-panel-header h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: -.04em;
}

.game-back-button {
  min-height: 44px;
  padding: 0 16px;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: .2s ease;
}

.game-back-button:hover {
  color: var(--acid);
  border-color: var(--line-bright);
  transform: translateX(-3px);
}

@keyframes gamePanelIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.poker-heading {
  position: relative;
  margin-bottom: 38px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.poker-heading h2 {
  max-width: 760px;
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.poker-heading h2 span {
  color: var(--acid);
}

.poker-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.poker-toolbar {
  position: relative;
  margin-bottom: 18px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}

.difficulty-picker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.difficulty-picker > label {
  padding-inline: 8px 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.difficulty-select-shell {
  position: relative;
  min-width: 190px;
  min-height: 46px;
  padding: 5px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(158,255,89,.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(158,255,89,.07), transparent 52%),
    rgba(8,13,20,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 24px rgba(0,0,0,.18);
  transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.difficulty-select-shell:focus-within,
.difficulty-select-shell:hover {
  border-color: rgba(158,255,89,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 26px rgba(158,255,89,.1);
}

.difficulty-select-shell:has(select:disabled) {
  opacity: .45;
}

.difficulty-ai {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #07100a;
  font-family: var(--display);
  font-size: 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--acid), var(--mint));
  box-shadow: 0 0 20px rgba(158,255,89,.13);
}

.difficulty-picker select {
  min-width: 0;
  min-height: 34px;
  padding: 0 32px 0 12px;
  flex: 1;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.difficulty-picker select option {
  color: var(--text);
  background: #111824;
}

.difficulty-picker select:disabled {
  cursor: not-allowed;
}

.difficulty-chevron {
  position: absolute;
  right: 13px;
  top: 50%;
  color: var(--acid);
  font-size: 15px;
  pointer-events: none;
  transform: translateY(-55%);
}

.poker-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  border: 1px solid rgba(158,255,89,.14);
  border-radius: 28px;
  overflow: hidden;
  background: #0a0e16;
  box-shadow: 0 34px 90px rgba(0,0,0,.36);
}

.poker-table-wrap {
  min-width: 0;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(158,255,89,.06), transparent 42%),
    #090d14;
}

.poker-table {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  border: 10px solid #243124;
  border-radius: 44% / 18%;
  background:
    radial-gradient(circle at 50% 45%, rgba(76, 164, 95, .28), transparent 40%),
    repeating-linear-gradient(120deg, rgba(255,255,255,.012) 0 2px, transparent 2px 8px),
    #103623;
  box-shadow:
    inset 0 0 0 2px rgba(158,255,89,.17),
    inset 0 0 80px rgba(0,0,0,.55),
    0 18px 55px rgba(0,0,0,.45);
}

.poker-table::after {
  content: "GAMORA";
  position: absolute;
  left: 50%;
  top: 52%;
  color: rgba(255,255,255,.045);
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 100px);
  letter-spacing: -.08em;
  transform: translate(-50%, -50%);
}

.poker-deck {
  position: absolute;
  z-index: 5;
  right: 8%;
  top: 50%;
  width: 44px;
  height: 62px;
  transform: translateY(-50%) rotate(3deg);
}

.poker-deck > span,
.poker-deck > i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--acid);
  font-family: var(--display);
  font-size: 15px;
  font-style: normal;
  border: 1px solid rgba(158,255,89,.5);
  border-radius: 7px;
  background:
    linear-gradient(45deg, transparent 47%, rgba(158,255,89,.11) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(158,255,89,.11) 48% 52%, transparent 53%),
    #0b111a;
  background-size: 10px 10px;
  box-shadow: -3px 3px 0 #15231b, -6px 6px 0 #0b1510, 0 8px 22px rgba(0,0,0,.28);
}

.poker-deck > i {
  opacity: 0;
  box-shadow: 0 8px 22px rgba(0,0,0,.32);
}

.poker-deck.is-dealing > i:nth-of-type(1) {
  --deal-x: -250px;
  --deal-y: 205px;
  --deal-rotate: -8deg;
  animation: pokerDealCard .54s .05s cubic-bezier(.2,.8,.2,1) both;
}

.poker-deck.is-dealing > i:nth-of-type(2) {
  --deal-x: -245px;
  --deal-y: -215px;
  --deal-rotate: 7deg;
  animation: pokerDealCard .54s .21s cubic-bezier(.2,.8,.2,1) both;
}

.poker-deck.is-dealing > i:nth-of-type(3) {
  --deal-x: -185px;
  --deal-y: 218px;
  --deal-rotate: 5deg;
  animation: pokerDealCard .54s .37s cubic-bezier(.2,.8,.2,1) both;
}

.poker-deck.is-dealing > i:nth-of-type(4) {
  --deal-x: -180px;
  --deal-y: -220px;
  --deal-rotate: -5deg;
  animation: pokerDealCard .54s .53s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes pokerDealCard {
  0% { opacity: 1; transform: translate3d(0,0,0) rotate(0) scale(.9); }
  72% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--deal-x),var(--deal-y),0) rotate(var(--deal-rotate)) scale(1); }
}

.poker-seat {
  position: absolute;
  z-index: 3;
  left: 50%;
  width: min(90%, 430px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transform: translateX(-50%);
}

.poker-seat-bot {
  top: 28px;
  flex-direction: column;
}

.poker-seat-player {
  bottom: 24px;
  flex-direction: column;
}

.poker-player-meta {
  position: relative;
  min-width: 174px;
  padding: 7px 14px 7px 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(5,9,13,.88);
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.poker-seat.is-turn .poker-player-meta {
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(158,255,89,.1), 0 8px 24px rgba(0,0,0,.24);
}

.poker-player-meta > span:last-of-type {
  display: grid;
}

.poker-player-meta strong {
  font-size: 12px;
}

.poker-player-meta small {
  color: var(--muted);
  font-size: 10px;
}

.poker-player-meta small b {
  color: var(--acid);
}

.poker-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #07100a;
  font-family: var(--display);
  font-size: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acid), var(--mint));
}

.poker-avatar-player {
  color: var(--text);
  background: linear-gradient(135deg, #263246, #151d2a);
}

.dealer-chip {
  position: absolute;
  right: -12px;
  top: -8px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-family: var(--display);
  font-size: 9px;
  font-style: normal;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--acid);
}

.poker-cards {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.poker-card {
  position: relative;
  width: 70px;
  height: 98px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 auto;
  color: #131820;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 10px;
  background: linear-gradient(145deg, #fff, #dfe5e2);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  animation: pokerCardIn .32s cubic-bezier(.2,.8,.2,1) both;
}

.poker-card.is-red {
  color: #d73543;
}

.poker-card-rank {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
}

.poker-card-suit {
  align-self: center;
  font-size: 30px;
  line-height: 1;
}

.poker-card-corner {
  align-self: end;
  font-size: 16px;
  line-height: 1;
  transform: rotate(180deg);
}

.poker-card.is-back {
  padding: 5px;
  border-color: rgba(158,255,89,.62);
  background: #0b111a;
}

.poker-card.is-back::before {
  content: "G";
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--acid);
  font-family: var(--display);
  font-size: 24px;
  border: 1px solid rgba(158,255,89,.25);
  border-radius: 6px;
  background:
    linear-gradient(45deg, transparent 47%, rgba(158,255,89,.08) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(158,255,89,.08) 48% 52%, transparent 53%);
  background-size: 14px 14px;
}

.poker-card.is-empty {
  border: 1px dashed rgba(255,255,255,.14);
  background: rgba(0,0,0,.12);
  box-shadow: none;
  animation: none;
}

.poker-center {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 100%;
  display: grid;
  place-items: center;
  gap: 14px;
  transform: translate(-50%, -50%);
}

.poker-pot,
.poker-street {
  padding: 7px 12px;
  color: rgba(255,255,255,.68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(3,9,7,.5);
}

.poker-pot strong {
  margin-left: 5px;
  color: var(--acid);
  font-size: 13px;
}

.poker-street {
  border: 0;
  background: transparent;
}

.poker-bet {
  position: absolute;
  min-width: 43px;
  padding: 5px 9px;
  color: #07100a;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

.poker-seat-bot .poker-bet {
  right: 18%;
  bottom: -4px;
}

.poker-seat-player .poker-bet {
  left: 18%;
  top: -4px;
}

.poker-console {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 50%),
    #0e141f;
}

.poker-status {
  min-height: 126px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
}

.poker-status span {
  margin-bottom: 8px;
  color: var(--acid);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.poker-status strong {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.35;
}

.poker-status small {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.4;
}

.poker-auto-turn {
  min-height: 86px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.14);
}

.poker-auto-turn > div:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.poker-auto-turn span {
  color: var(--acid);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}

.poker-auto-turn strong {
  font-size: 12px;
}

.poker-auto-turn small {
  color: var(--muted);
  font-size: 9px;
}

.poker-timer {
  --progress: 0deg;
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--acid) var(--progress), rgba(255,255,255,.08) 0);
  transition: box-shadow .2s ease;
}

.poker-timer::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: #0e141f;
}

.poker-timer strong {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-family: var(--display);
  font-size: 15px;
}

.poker-timer.active {
  box-shadow: 0 0 24px rgba(158,255,89,.16);
}

.poker-timer.is-urgent {
  background: conic-gradient(#ffcc55 var(--progress), rgba(255,105,80,.13) 0);
  animation: pokerTimerUrgent .55s ease-in-out infinite alternate;
}

.poker-timer.is-urgent strong {
  color: #ffd56c;
}

.poker-primary-controls {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 8px;
}

.poker-end-match {
  min-height: 52px;
  padding-inline: 12px;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.poker-end-match:not(:disabled):hover {
  color: #ff8990;
  border-color: rgba(255,100,110,.35);
  background: rgba(255,80,90,.07);
}

.poker-deal:disabled + .poker-end-match:not(:disabled) {
  color: #ffb1b6;
  border-color: rgba(255,105,115,.46);
  background: linear-gradient(135deg, rgba(255,80,90,.14), rgba(255,80,90,.04));
  box-shadow: 0 0 24px rgba(255,75,85,.1);
}

.poker-end-match:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

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

.poker-action {
  min-height: 48px;
  padding: 0 8px;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: .2s ease;
}

.poker-action:not(:disabled):hover {
  transform: translateY(-2px);
}

.poker-fold:not(:disabled):hover {
  color: #ff7780;
  border-color: rgba(255,90,100,.4);
}

.poker-check:not(:disabled):hover {
  color: var(--acid);
  border-color: rgba(158,255,89,.3);
}

.poker-call:not(:disabled) {
  border-color: rgba(158,255,89,.25);
}

.poker-raise:not(:disabled) {
  color: #07100a;
  border-color: var(--acid);
  background: var(--acid);
}

.poker-action:disabled {
  opacity: .32;
  cursor: not-allowed;
}

.poker-raise-control {
  display: grid;
  gap: 10px;
}

.poker-raise-control label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.poker-raise-control label strong {
  color: var(--acid);
}

.poker-raise-control input {
  width: 100%;
  accent-color: var(--acid);
}

.poker-raise-control input:disabled {
  opacity: .35;
}

.poker-deal {
  width: 100%;
  min-height: 52px;
  border: 0;
  cursor: pointer;
}

.poker-deal:disabled {
  color: #737e8e;
  border: 1px solid rgba(255,255,255,.08);
  background: #202733;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

.poker-celebration {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: grid;
  place-content: center;
  place-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: radial-gradient(circle, rgba(158,255,89,.22), rgba(7,16,10,.12) 48%, transparent 72%);
}

.poker-celebration.visible {
  opacity: 1;
  visibility: visible;
}

.poker-celebration > strong {
  position: relative;
  z-index: 2;
  padding: 15px 22px;
  color: #07100a;
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 34px);
  text-align: center;
  border-radius: 14px;
  background: var(--acid);
  box-shadow: 0 0 60px rgba(158,255,89,.42);
  animation: pokerWinTitle .55s cubic-bezier(.2,.9,.2,1.2) both;
}

.poker-celebration > span {
  position: relative;
  z-index: 2;
  color: var(--text);
  font-family: var(--display);
  font-size: 13px;
  text-shadow: 0 4px 18px #000;
}

.poker-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.poker-confetti i {
  --confetti-color: var(--acid);
  position: absolute;
  left: var(--x);
  top: -16px;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  background: var(--confetti-color);
  animation: pokerConfettiFall var(--duration) var(--delay) cubic-bezier(.2,.7,.2,1) both;
}

.poker-confetti i:nth-child(4n + 2) {
  --confetti-color: #00d7a2;
}

.poker-confetti i:nth-child(4n + 3) {
  --confetti-color: #fff;
}

.poker-confetti i:nth-child(4n + 4) {
  --confetti-color: #ffd45c;
}

.poker-table.is-player-win {
  animation: pokerTableWin 1.1s ease-in-out 2;
}

.poker-table.is-bot-win {
  animation: pokerTableLoss .42s ease-in-out 2;
}

@keyframes pokerWinTitle {
  from { opacity: 0; transform: translateY(20px) scale(.72); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pokerTimerUrgent {
  from { opacity: .7; box-shadow: 0 0 10px rgba(255,190,70,.12); transform: scale(.96); }
  to { opacity: 1; box-shadow: 0 0 30px rgba(255,190,70,.5); transform: scale(1.04); }
}

@keyframes pokerConfettiFall {
  0% { opacity: 0; transform: translate3d(0, -10px, 0) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--drift), 640px, 0) rotate(var(--rotation)); }
}

@keyframes pokerTableWin {
  0%, 100% { box-shadow: inset 0 0 0 2px rgba(158,255,89,.17), inset 0 0 80px rgba(0,0,0,.55), 0 18px 55px rgba(0,0,0,.45); }
  50% { box-shadow: inset 0 0 0 4px rgba(158,255,89,.65), inset 0 0 110px rgba(158,255,89,.18), 0 0 70px rgba(158,255,89,.35); }
}

@keyframes pokerTableLoss {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-4px); box-shadow: inset 0 0 55px rgba(255,70,80,.14); }
  70% { transform: translateX(4px); }
}

.poker-log-wrap {
  min-height: 0;
  display: grid;
  gap: 10px;
}

.poker-log-wrap > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.poker-log {
  height: 148px;
  margin: 0;
  padding: 12px 12px 12px 32px;
  overflow: auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0,0,0,.15);
}

.poker-log li + li {
  margin-top: 5px;
}

.poker-log li:last-child {
  color: var(--text);
}

.poker-rules {
  position: relative;
  margin-top: 18px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}

.poker-rules summary {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.poker-rules summary::-webkit-details-marker {
  display: none;
}

.poker-rules summary span {
  color: var(--acid);
  font-size: 18px;
}

.poker-rules[open] summary span {
  transform: rotate(45deg);
}

.poker-rules p {
  max-width: 860px;
  margin: -4px 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

@keyframes pokerCardIn {
  from { opacity: 0; transform: translateY(-12px) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

.durak-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid rgba(0,215,162,.18);
  border-radius: 28px;
  background: #0a0e16;
  box-shadow: 0 34px 90px rgba(0,0,0,.36);
}

.durak-table-wrap {
  min-width: 0;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,215,162,.07), transparent 45%),
    #090d14;
}

.durak-table {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 8px solid #1b302d;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 48%, rgba(0,215,162,.14), transparent 42%),
    repeating-linear-gradient(125deg, rgba(255,255,255,.012) 0 2px, transparent 2px 9px),
    #0d3a34;
  box-shadow:
    inset 0 0 0 2px rgba(0,215,162,.16),
    inset 0 0 95px rgba(0,0,0,.58),
    0 18px 55px rgba(0,0,0,.45);
}

.durak-table::after {
  content: "ДУРАК";
  position: absolute;
  left: 50%;
  top: 52%;
  color: rgba(255,255,255,.035);
  font-family: var(--display);
  font-size: clamp(58px, 9vw, 105px);
  letter-spacing: -.08em;
  transform: translate(-50%,-50%);
}

.durak-seat {
  position: absolute;
  z-index: 5;
  left: 50%;
  width: calc(100% - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  transform: translateX(-50%);
}

.durak-seat-bot {
  top: 20px;
  flex-direction: column;
}

.durak-seat-player {
  bottom: 18px;
  flex-direction: column;
}

.durak-player-badge {
  min-width: 155px;
  padding: 6px 13px 6px 6px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(5,9,13,.88);
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

.durak-player-badge > span:last-child {
  display: grid;
}

.durak-player-badge strong {
  font-size: 11px;
}

.durak-player-badge small {
  color: var(--muted);
  font-size: 9px;
}

.durak-player-badge small b {
  color: var(--mint);
}

.durak-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-family: var(--display);
  font-size: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--acid));
}

.durak-avatar-player {
  color: var(--text);
  background: linear-gradient(135deg, #263246, #151d2a);
}

.durak-bot-hand {
  height: 66px;
  display: flex;
  justify-content: center;
}

.durak-card-back {
  width: 46px;
  height: 64px;
  margin-left: -25px;
  border: 1px solid rgba(0,215,162,.5);
  border-radius: 7px;
  background:
    linear-gradient(45deg, transparent 47%, rgba(0,215,162,.12) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(0,215,162,.12) 48% 52%, transparent 53%),
    #0b111a;
  background-size: 11px 11px;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

.durak-card-back:first-child {
  margin-left: 0;
}

.durak-center {
  position: absolute;
  z-index: 4;
  inset: 128px 24px 145px;
}

.durak-stock {
  position: absolute;
  left: 1%;
  top: 50%;
  width: 152px;
  height: 100px;
  transform: translateY(-50%);
}

.durak-stock-deck,
.durak-trump .durak-card {
  position: absolute;
}

.durak-stock-deck {
  z-index: 2;
  left: 0;
  top: 12px;
  width: 50px;
  height: 70px;
  display: grid;
  place-items: center;
  color: var(--mint);
  font-family: var(--display);
  font-size: 16px;
  border: 1px solid rgba(0,215,162,.5);
  border-radius: 8px;
  background:
    linear-gradient(45deg, transparent 47%, rgba(0,215,162,.13) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(0,215,162,.13) 48% 52%, transparent 53%),
    #0b111a;
  background-size: 11px 11px;
  box-shadow: -4px 4px 0 #132721, -7px 7px 0 #0a1713;
}

.durak-stock-deck b {
  position: absolute;
  right: -10px;
  top: -10px;
  min-width: 24px;
  height: 24px;
  padding-inline: 5px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-size: 9px;
  border: 2px solid #0d3a34;
  border-radius: 999px;
  background: var(--acid);
}

.durak-trump {
  position: absolute;
  z-index: 3;
  left: 76px;
  top: 0;
  width: 66px;
  height: 94px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.36));
}

.durak-trump::after {
  content: "КОЗЫРЬ";
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -18px;
  padding: 4px 7px;
  color: #07100a;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .12em;
  border-radius: 999px;
  background: var(--acid);
  transform: translateX(-50%);
}

.durak-trump .durak-card {
  inset: 0;
}

.durak-battlefield {
  position: absolute;
  left: 160px;
  right: 12px;
  top: 50%;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateY(-50%);
}

.durak-battlefield > p {
  max-width: 240px;
  color: rgba(255,255,255,.36);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.durak-pair {
  position: relative;
  width: 72px;
  height: 126px;
  flex: 0 0 auto;
}

.durak-pair .durak-card {
  position: absolute;
  left: 0;
  top: 14px;
}

.durak-pair .durak-card:nth-child(2) {
  left: 16px;
  top: -5px;
  transform: rotate(9deg);
}

.durak-player-hand {
  --durak-overlap: 0px;
  width: 94%;
  min-height: 100px;
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: end;
  padding: 4px 2px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgba(0,215,162,.55) rgba(0,0,0,.2);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.durak-player-hand.is-scrollable {
  justify-content: flex-start;
}

.durak-card {
  width: 66px;
  height: 94px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 auto;
  color: #131820;
  font-style: normal;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 9px;
  background: linear-gradient(145deg, #fff, #dfe5e2);
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
}

button.durak-card {
  position: relative;
  margin-left: var(--durak-overlap);
  scroll-snap-align: start;
  font: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

button.durak-card:first-child {
  margin-left: 0;
}

button.durak-card:not(:disabled):hover {
  z-index: 4;
  box-shadow: 0 16px 30px rgba(0,0,0,.36), 0 0 0 2px var(--acid);
  transform: translateY(-14px);
}

button.durak-card:disabled {
  opacity: .62;
  cursor: not-allowed;
}

.durak-card.is-red {
  color: #d73543;
}

.durak-card-rank {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1;
}

.durak-card-suit {
  align-self: center;
  font-size: 28px;
  line-height: 1;
}

.durak-card-corner {
  align-self: end;
  font-size: 14px;
  line-height: 1;
  transform: rotate(180deg);
}

.durak-card.is-trump::after {
  content: "КОЗ";
  position: absolute;
  right: 3px;
  top: 3px;
  padding: 2px 3px;
  color: #07100a;
  font-size: 5px;
  font-weight: 900;
  border-radius: 3px;
  background: var(--acid);
}

.durak-player-hand.is-invalid {
  animation: durakInvalid .35s ease;
}

.durak-console {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0,215,162,.035), transparent 50%),
    #0e141f;
}

.durak-status {
  min-height: 132px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
}

.durak-status span,
.durak-help > span {
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.durak-status strong {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.35;
}

.durak-status small {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.durak-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.durak-actions #durakStart {
  grid-column: 1 / -1;
  min-height: 52px;
  border: 0;
  cursor: pointer;
}

.durak-action {
  min-height: 46px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.durak-action:not(:disabled):hover {
  color: var(--mint);
  border-color: rgba(0,215,162,.35);
}

.durak-take:not(:disabled):hover {
  color: #ff9a9f;
  border-color: rgba(255,90,100,.35);
}

.durak-action:disabled,
#durakStart:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

.durak-help {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.13);
}

.durak-help p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.durak-help b {
  color: var(--text);
}

.durak-rules {
  margin-top: 18px;
}

.durak-celebration,
.blackjack-celebration {
  position: absolute;
  z-index: 40;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  overflow: hidden;
  color: var(--text);
  text-align: center;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(158,255,89,.22), transparent 32%),
    rgba(3,8,10,.82);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity .28s ease, transform .38s cubic-bezier(.2,.8,.2,1);
}

.durak-celebration.is-visible,
.blackjack-celebration.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.durak-celebration > strong,
.blackjack-celebration > strong {
  position: relative;
  z-index: 2;
  color: var(--acid);
  font-family: var(--display);
  font-size: clamp(28px, 6vw, 64px);
  line-height: .95;
  letter-spacing: -.05em;
  text-shadow: 0 0 30px rgba(158,255,89,.35);
  animation: durakWinTitle .65s .12s cubic-bezier(.2,.8,.2,1) both;
}

.durak-celebration > span:last-child,
.blackjack-celebration > span:last-child {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.durak-win-crown,
.blackjack-win-mark {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-family: var(--display);
  font-size: 26px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 40px rgba(158,255,89,.38);
  animation: durakWinMark .7s cubic-bezier(.2,.8,.2,1) both;
}

.durak-confetti,
.blackjack-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.durak-confetti i,
.blackjack-confetti i {
  position: absolute;
  left: var(--x);
  top: -8%;
  width: 8px;
  height: 15px;
  border-radius: 2px;
  background: var(--color);
  animation: durakConfettiFall var(--duration) var(--delay) ease-in both;
}

@keyframes durakConfettiFall {
  0% { opacity: 0; transform: translate3d(0,-20px,0) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: .9; transform: translate3d(34px,720px,0) rotate(var(--rotate)); }
}

@keyframes durakWinTitle {
  from { opacity: 0; transform: translateY(20px) scale(.86); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes durakWinMark {
  from { opacity: 0; transform: scale(.2) rotate(-25deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes durakInvalid {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-7px); }
  65% { transform: translateX(7px); }
}

.blackjack-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid rgba(255,197,86,.18);
  border-radius: 28px;
  background: #0a0e16;
  box-shadow: 0 34px 90px rgba(0,0,0,.36);
}

.blackjack-table-wrap {
  min-width: 0;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,197,86,.06), transparent 45%),
    #090d14;
}

.blackjack-table {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 8px solid #302b1b;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 48%, rgba(158,255,89,.1), transparent 43%),
    repeating-linear-gradient(125deg, rgba(255,255,255,.012) 0 2px, transparent 2px 9px),
    #183c31;
  box-shadow:
    inset 0 0 0 2px rgba(255,197,86,.12),
    inset 0 0 100px rgba(0,0,0,.6),
    0 18px 55px rgba(0,0,0,.45);
}

.blackjack-table::after {
  content: "21";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 51%;
  color: rgba(255,255,255,.04);
  font-family: var(--display);
  font-size: clamp(105px, 18vw, 220px);
  letter-spacing: -.1em;
  transform: translate(-50%,-50%);
}

.blackjack-zone {
  position: absolute;
  z-index: 5;
  left: 50%;
  width: calc(100% - 32px);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 13px;
  transform: translateX(-50%);
}

.blackjack-dealer-zone {
  top: 22px;
}

.blackjack-player-zone {
  bottom: 18px;
}

.blackjack-player-badge {
  min-width: 160px;
  padding: 6px 13px 6px 6px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(5,9,13,.9);
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

.blackjack-player-badge > span:last-child {
  display: grid;
}

.blackjack-player-badge strong {
  font-size: 11px;
}

.blackjack-player-badge small {
  color: var(--muted);
  font-size: 9px;
}

.blackjack-player-badge small b {
  color: #ffc556;
}

.blackjack-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #1b1204;
  font-family: var(--display);
  font-size: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc556, var(--acid));
}

.blackjack-avatar-player {
  color: var(--text);
  font-size: 8px;
  background: linear-gradient(135deg, #263246, #151d2a);
}

.blackjack-cards {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blackjack-card {
  position: relative;
  width: 72px;
  height: 102px;
  margin-left: -10px;
  padding: 8px;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: space-between;
  color: #131820;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 10px;
  background: linear-gradient(145deg, #fff, #dfe5e2);
  box-shadow: 0 10px 24px rgba(0,0,0,.32);
  animation: blackjackCardIn .36s calc(var(--card-index) * .08s) cubic-bezier(.2,.8,.2,1) both;
}

.blackjack-card:first-child {
  margin-left: 0;
}

.blackjack-card.is-red {
  color: #d73543;
}

.blackjack-card-rank {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1;
}

.blackjack-card-suit {
  align-self: center;
  font-size: 30px;
  line-height: 1;
}

.blackjack-card-corner {
  align-self: end;
  font-size: 15px;
  line-height: 1;
  transform: rotate(180deg);
}

.blackjack-card-back {
  display: grid;
  place-items: center;
  color: #ffc556;
  border-color: rgba(255,197,86,.5);
  background:
    linear-gradient(45deg, transparent 47%, rgba(255,197,86,.13) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(255,197,86,.13) 48% 52%, transparent 53%),
    #0b111a;
  background-size: 12px 12px;
}

.blackjack-card-back i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 13px;
  font-style: normal;
  border: 1px solid rgba(255,197,86,.35);
  border-radius: 50%;
  background: rgba(0,0,0,.28);
}

.blackjack-center {
  position: absolute;
  z-index: 4;
  inset: 235px 22px 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blackjack-center > p {
  position: absolute;
  bottom: 0;
  margin: 0;
  color: rgba(255,255,255,.28);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .17em;
}

.blackjack-deck {
  position: absolute;
  right: 4%;
  top: 50%;
  width: 52px;
  height: 74px;
  display: grid;
  place-items: center;
  color: #ffc556;
  font-family: var(--display);
  font-size: 15px;
  border: 1px solid rgba(255,197,86,.48);
  border-radius: 8px;
  background:
    linear-gradient(45deg, transparent 47%, rgba(255,197,86,.13) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(255,197,86,.13) 48% 52%, transparent 53%),
    #0b111a;
  background-size: 11px 11px;
  box-shadow: -4px 4px 0 #282415, -7px 7px 0 #16130b;
  transform: translateY(-50%);
}

.blackjack-deck.is-dealing {
  animation: blackjackDeckPulse .45s ease infinite alternate;
}

.blackjack-bet-spot {
  width: 104px;
  height: 104px;
  display: grid;
  place-content: center;
  gap: 4px;
  color: rgba(255,255,255,.5);
  text-align: center;
  border: 2px dashed rgba(255,197,86,.28);
  border-radius: 50%;
  background: rgba(0,0,0,.12);
}

.blackjack-bet-spot span {
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .15em;
}

.blackjack-bet-spot strong {
  color: #ffc556;
  font-family: var(--display);
  font-size: 23px;
}

.blackjack-console {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,197,86,.035), transparent 50%),
    #0e141f;
}

.blackjack-status {
  min-height: 126px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
}

.blackjack-status span,
.blackjack-help > span,
.blackjack-bankroll > span,
.blackjack-bet-picker > span {
  margin-bottom: 7px;
  color: #ffc556;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.blackjack-status strong {
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.35;
}

.blackjack-status small {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.blackjack-bankroll {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,197,86,.16);
  border-radius: 14px;
  background: rgba(255,197,86,.035);
}

.blackjack-bankroll > span {
  margin: 0;
}

.blackjack-bankroll strong {
  color: #ffc556;
  font-family: var(--display);
  font-size: 15px;
}

.blackjack-bet-picker {
  display: grid;
  gap: 7px;
}

.blackjack-bet-picker > span {
  margin: 0;
}

.blackjack-bet-picker select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #111a27;
  cursor: pointer;
}

.blackjack-bet-picker select:focus {
  border-color: rgba(255,197,86,.45);
  box-shadow: 0 0 0 3px rgba(255,197,86,.07);
}

.blackjack-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.blackjack-actions #blackjackDeal {
  grid-column: 1 / -1;
  min-height: 52px;
  border: 0;
  cursor: pointer;
}

.blackjack-double {
  grid-column: 1 / -1;
}

.blackjack-action {
  min-height: 46px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.blackjack-action:not(:disabled):hover {
  color: #ffc556;
  border-color: rgba(255,197,86,.38);
}

.blackjack-action:disabled,
#blackjackDeal:disabled,
.blackjack-bet-picker select:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

.blackjack-help {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.13);
}

.blackjack-help p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.blackjack-help b {
  color: var(--text);
}

.blackjack-rules {
  margin-top: 18px;
}

.blackjack-celebration {
  background:
    radial-gradient(circle at 50% 48%, rgba(255,197,86,.24), transparent 34%),
    rgba(4,7,9,.84);
}

.blackjack-celebration > strong {
  color: #ffc556;
  text-shadow: 0 0 30px rgba(255,197,86,.35);
}

.blackjack-win-mark {
  color: #1b1204;
  background: #ffc556;
  box-shadow: 0 0 40px rgba(255,197,86,.4);
}

@keyframes blackjackCardIn {
  from { opacity: 0; transform: translate(60px,-45px) rotate(8deg); }
  to { opacity: 1; transform: translate(0,0) rotate(0); }
}

@keyframes blackjackDeckPulse {
  from { filter: brightness(1); transform: translateY(-50%) rotate(-1deg); }
  to { filter: brightness(1.35); transform: translateY(-50%) rotate(1deg); }
}

.slots-game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid rgba(255,75,145,.2);
  border-radius: 28px;
  background: #0a0e16;
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}

.slots-stage {
  position: relative;
  min-width: 0;
  min-height: 650px;
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,53,111,.14), transparent 35%),
    radial-gradient(circle at 50% 62%, rgba(158,255,89,.1), transparent 46%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 32px),
    #090d14;
}

.slots-machine {
  position: relative;
  width: min(610px, 100%);
  padding: 28px 34px 32px;
  overflow: hidden;
  border: 2px solid rgba(255,184,79,.5);
  border-radius: 42px 42px 28px 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), transparent 25%),
    linear-gradient(160deg, #28162b, #101723 58%, #12251f);
  box-shadow:
    inset 0 0 0 7px rgba(0,0,0,.28),
    0 0 60px rgba(255,53,111,.12),
    0 32px 70px rgba(0,0,0,.5);
}

.slots-machine::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 32px 32px 20px 20px;
}

.slots-machine.is-jackpot {
  animation: slotsJackpotMachine .42s ease 5;
}

.slots-machine-top {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.slots-machine-top span {
  color: var(--acid);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .26em;
}

.slots-machine-top strong {
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: -.04em;
  text-shadow: 0 0 22px rgba(255,255,255,.12);
}

.slots-machine-top i {
  padding: 3px 7px;
  color: #ffc361;
  font-size: 6px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .15em;
  border: 1px solid rgba(255,195,97,.28);
  border-radius: 999px;
}

.slots-lights {
  position: relative;
  z-index: 3;
  margin: 18px auto;
  display: flex;
  justify-content: space-around;
}

.slots-lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffc361;
  box-shadow: 0 0 14px rgba(255,195,97,.75);
  animation: slotsLights 1s ease-in-out infinite alternate;
}

.slots-lights i:nth-child(even) {
  animation-delay: -.5s;
  background: #ff477f;
  box-shadow: 0 0 14px rgba(255,71,127,.75);
}

.slots-reels {
  position: relative;
  z-index: 3;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  overflow: hidden;
  border: 8px solid #080b11;
  border-radius: 24px;
  background: #05070a;
  box-shadow:
    inset 0 0 25px rgba(0,0,0,.8),
    0 0 0 1px rgba(255,255,255,.08),
    0 22px 35px rgba(0,0,0,.35);
}

.slots-reel {
  height: 180px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 15px;
  background: linear-gradient(180deg, #aebbb5, #fff 46%, #b6c2bc);
  box-shadow: inset 0 14px 20px rgba(0,0,0,.18), inset 0 -14px 20px rgba(0,0,0,.18);
}

.slots-strip {
  height: 100%;
  display: grid;
  place-items: center;
  color: #101720;
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1;
}

.slots-strip.is-spinning {
  animation: slotsReelSpin .12s linear infinite;
}

.slots-strip.is-winning {
  color: #c21f5b;
  animation: slotsSymbolWin .48s ease 4;
}

.slots-payline {
  position: absolute;
  z-index: 4;
  left: 7px;
  right: 7px;
  top: 50%;
  height: 3px;
  pointer-events: none;
  background: #ff356f;
  box-shadow: 0 0 10px #ff356f;
  transform: translateY(-50%);
  opacity: .65;
}

.slots-machine-bottom {
  position: relative;
  z-index: 3;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.45);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .16em;
}

.slots-machine-bottom b {
  color: #ff477f;
}

.slots-win-overlay {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  color: white;
  text-align: center;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,195,73,.32), transparent 43%),
    rgba(4,6,8,.78);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}

.slots-win-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.slots-win-overlay > span {
  position: relative;
  z-index: 2;
  color: #ffc349;
  font-family: var(--display);
  font-size: clamp(20px, 4vw, 42px);
  letter-spacing: .08em;
  text-shadow: 0 0 30px rgba(255,195,73,.55);
}

.slots-win-overlay > strong {
  position: relative;
  z-index: 2;
  color: var(--acid);
  font-family: var(--display);
  font-size: clamp(58px, 11vw, 120px);
  line-height: .95;
  text-shadow: 0 0 38px rgba(158,255,89,.5);
  animation: slotsWinAmount .6s cubic-bezier(.2,.8,.2,1) both;
}

.slots-win-overlay > small {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-weight: 900;
  letter-spacing: .18em;
}

.slots-coins {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slots-coins i {
  position: absolute;
  left: var(--x);
  top: -30px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: #6e4700;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  border-radius: 50%;
  background: #ffc349;
  box-shadow: inset 0 0 0 3px #e7a81e;
  animation: slotsCoinFall var(--duration) var(--delay) ease-in both;
}

.slots-console {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,53,111,.045), transparent 52%),
    #0e141f;
}

.slots-status {
  min-height: 126px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
}

.slots-status span,
.slots-balance > span,
.slots-bet-picker > span,
.slots-session > span,
.slots-paytable > span {
  margin-bottom: 7px;
  color: #ff6d9f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.slots-status strong {
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.35;
}

.slots-status small,
.slots-session small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.slots-balance {
  position: relative;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(158,255,89,.2);
  border-radius: 15px;
  background: rgba(158,255,89,.045);
}

.slots-balance > span {
  margin: 0;
  color: var(--acid);
}

.slots-balance strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: 18px;
}

.slots-balance strong em,
.roulette-balance strong em {
  font-style: normal;
}

.slots-balance strong em {
  font-size: .62em;
}

.slots-balance i {
  position: absolute;
  right: 14px;
  top: -10px;
  padding: 3px 8px;
  color: #07100a;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  border-radius: 999px;
  background: var(--acid);
  opacity: 0;
  transform: translateY(8px);
}

.slots-balance i.is-visible {
  animation: slotsBalanceGain 1.7s ease both;
}

.slots-bet-picker {
  display: grid;
  gap: 7px;
}

.slots-bet-picker > span {
  margin: 0;
}

.slots-bet-picker select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #111a27;
}

.slots-spin {
  min-height: 62px;
  display: grid;
  place-items: center;
  gap: 0;
  border: 0;
  cursor: pointer;
}

.slots-spin span {
  font-family: var(--display);
  font-size: 18px;
}

.slots-spin small {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}

.slots-spin:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.slots-stage-spin,
.roulette-stage-spin {
  position: relative;
  z-index: 18;
  flex: 0 0 auto;
  width: min(360px, calc(100% - 36px));
  box-shadow: 0 14px 32px rgba(0,0,0,.42);
  opacity: 1;
  visibility: visible;
  transform: translate3d(0,0,0);
  transition:
    opacity .26s ease,
    transform .48s cubic-bezier(.4,0,.2,1),
    visibility 0s linear;
}

.slots-stage-spin:not(:disabled):hover,
.roulette-stage-spin:not(:disabled):hover {
  transform: translateY(-2px);
}

.slots-stage.is-control-hidden .slots-stage-spin,
.roulette-stage.is-control-hidden .roulette-stage-spin {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(calc(100% + 90px),0,0);
  transition:
    opacity .22s ease,
    transform .48s cubic-bezier(.4,0,.2,1),
    visibility 0s linear .5s;
}

.slots-session,
.slots-paytable {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.13);
}

.slots-session {
  display: grid;
}

.slots-session > span {
  margin: 0;
}

.slots-session strong {
  margin-top: 4px;
  font-size: 11px;
}

.slots-paytable {
  margin-top: auto;
}

.slots-paytable p {
  margin: 7px 0 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.slots-paytable p b {
  color: var(--text);
}

.slots-paytable p em {
  color: #ffc349;
  font-style: normal;
  font-weight: 900;
}

.slots-rules {
  margin-top: 18px;
}

@keyframes slotsReelSpin {
  0% { transform: translateY(-18px); filter: blur(1px); }
  50% { transform: translateY(18px); filter: blur(3px); }
  100% { transform: translateY(-18px); filter: blur(1px); }
}

@keyframes slotsLights {
  from { opacity: .35; filter: brightness(.7); }
  to { opacity: 1; filter: brightness(1.35); }
}

@keyframes slotsSymbolWin {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.18); text-shadow: 0 0 22px #ff4f91; }
}

@keyframes slotsJackpotMachine {
  0%,100% { filter: brightness(1); transform: translateX(0); }
  35% { filter: brightness(1.28); transform: translateX(-3px); }
  70% { transform: translateX(3px); }
}

@keyframes slotsWinAmount {
  from { opacity: 0; transform: scale(.35) rotate(-6deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes slotsCoinFall {
  from { opacity: 0; transform: translateY(-20px) rotateY(0); }
  10% { opacity: 1; }
  to { opacity: 1; transform: translateY(720px) rotateY(760deg); }
}

@keyframes slotsBalanceGain {
  0% { opacity: 0; transform: translateY(8px) scale(.8); }
  25%,70% { opacity: 1; transform: translateY(0) scale(1.1); }
  100% { opacity: 0; transform: translateY(-18px) scale(1); }
}

.roulette-game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid rgba(255,195,77,.22);
  border-radius: 28px;
  background: #0a0e16;
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}

.roulette-stage {
  position: relative;
  min-width: 0;
  min-height: 680px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,195,77,.12), transparent 40%),
    radial-gradient(circle at 20% 20%, rgba(255,62,126,.08), transparent 35%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 1px, transparent 1px 24px),
    #090d14;
}

.roulette-wheel-stage {
  position: relative;
  width: min(540px, 82%);
  aspect-ratio: 1;
  flex: 0 1 auto;
}

.roulette-wheel-shell {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 22px;
  border: 2px solid rgba(255,195,77,.55);
  border-radius: 50%;
  background: #131a24;
  box-shadow:
    inset 0 0 0 9px #080b10,
    0 0 0 6px rgba(255,195,77,.08),
    0 30px 75px rgba(0,0,0,.48),
    0 0 55px rgba(255,195,77,.12);
}

.roulette-wheel-shell::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 3;
  pointer-events: none;
  border: 3px dotted #ffc34d;
  border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(255,195,77,.8));
  animation: rouletteLights 1s steps(2) infinite;
}

.roulette-wheel {
  position: relative;
  width: 100%;
  height: 100%;
  border: 7px solid #080b10;
  border-radius: 50%;
  background: conic-gradient(
    from -15deg,
    #ff3f7d 0 8.333%,
    #183c55 8.333% 16.666%,
    #00b98d 16.666% 25%,
    #2c4253 25% 33.333%,
    #ffc34d 33.333% 41.666%,
    #1b2736 41.666% 50%,
    #00b98d 50% 58.333%,
    #2c4253 58.333% 66.666%,
    #68a7ff 66.666% 75%,
    #ffc34d 75% 83.333%,
    #1b2736 83.333% 91.666%,
    #ff6d45 91.666% 100%
  );
  box-shadow: inset 0 0 35px rgba(0,0,0,.42);
  transition: transform 4.8s cubic-bezier(.12,.73,.08,1);
  will-change: transform;
}

.roulette-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 48%, rgba(255,255,255,.09) 49% 50%, transparent 51%);
}

.roulette-wheel > span {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 76px;
  display: grid;
  justify-items: center;
  color: white;
  font-family: var(--display);
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
  transform:
    translate(-50%,-50%)
    rotate(calc(var(--segment) * 30deg))
    translateY(-194px);
}

.roulette-wheel > span b {
  font-size: 13px;
}

.roulette-wheel > span small {
  font-size: 5px;
  letter-spacing: .06em;
}

.roulette-wheel > span:first-child b {
  font-size: 8px;
}

.roulette-wheel > i {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  justify-items: center;
  color: #07100a;
  font-style: normal;
  border: 10px solid #0c121a;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acid), #ffc34d);
  box-shadow: 0 0 28px rgba(0,0,0,.38);
  transform: translate(-50%,-50%);
}

.roulette-wheel > i strong {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}

.roulette-wheel > i small {
  margin-top: 4px;
  font-size: 5px;
  font-weight: 900;
  letter-spacing: .1em;
}

.roulette-pointer {
  position: absolute;
  z-index: 12;
  left: 50%;
  top: 0;
  color: var(--acid);
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(158,255,89,.75);
  transform: translate(-50%,-36%);
}

.roulette-stage.is-spinning .roulette-pointer {
  animation: roulettePointer .18s ease-in-out infinite alternate;
}

.roulette-result {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  color: white;
  text-align: center;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,195,77,.28), transparent 40%),
    rgba(3,6,9,.8);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity .28s ease, transform .38s cubic-bezier(.2,.8,.2,1);
}

.roulette-result.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.roulette-result > span,
.roulette-result > strong,
.roulette-result > small {
  position: relative;
  z-index: 2;
}

.roulette-result > span {
  color: #ffc34d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.roulette-result > strong {
  max-width: 90%;
  margin-block: 6px;
  color: var(--acid);
  font-family: var(--display);
  font-size: clamp(52px, 10vw, 108px);
  line-height: 1;
  text-shadow: 0 0 35px rgba(158,255,89,.48);
  animation: roulettePrizeIn .65s cubic-bezier(.2,.8,.2,1) both;
}

.roulette-result.is-iphone > strong {
  color: #ffc34d;
  font-size: clamp(30px, 6vw, 62px);
  text-shadow: 0 0 38px rgba(255,195,77,.5);
}

.roulette-result > small {
  color: rgba(255,255,255,.74);
  font-size: 10px;
  font-weight: 800;
}

.roulette-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.roulette-confetti i {
  position: absolute;
  left: var(--x);
  top: -30px;
  width: 10px;
  height: 18px;
  border-radius: 2px;
  background: var(--color);
  animation: rouletteConfetti var(--duration) var(--delay) ease-in both;
}

.roulette-console {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,195,77,.045), transparent 52%),
    #0e141f;
}

.roulette-status {
  min-height: 126px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
}

.roulette-status span,
.roulette-balance > span,
.roulette-cost span,
.roulette-balance-mode > span,
.roulette-prizes > span {
  margin-bottom: 7px;
  color: #ffc34d;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.roulette-status strong {
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.35;
}

.roulette-status small,
.roulette-balance-mode small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.roulette-balance,
.roulette-cost {
  position: relative;
  min-height: 58px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,195,77,.2);
  border-radius: 14px;
  background: rgba(255,195,77,.04);
}

.roulette-balance > span,
.roulette-cost span {
  margin: 0;
}

.roulette-balance strong,
.roulette-cost strong {
  color: #ffc34d;
  font-family: var(--display);
  font-size: 19px;
}

.roulette-balance i {
  position: absolute;
  right: 12px;
  top: -10px;
  padding: 3px 8px;
  color: #07100a;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  border-radius: 999px;
  background: var(--acid);
  opacity: 0;
}

.roulette-balance i.is-visible {
  animation: slotsBalanceGain 1.7s ease both;
}

.roulette-spin {
  min-height: 64px;
  display: grid;
  place-items: center;
  gap: 0;
  border: 0;
  cursor: pointer;
}

.roulette-spin span {
  font-family: var(--display);
  font-size: 13px;
}

.roulette-spin small {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
}

.roulette-spin:disabled {
  opacity: .45;
  cursor: wait;
}

.roulette-balance-mode,
.roulette-prizes {
  padding: 14px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.13);
}

.roulette-balance-mode > span {
  margin: 0;
}

.roulette-balance-mode strong {
  margin-top: 4px;
  font-size: 11px;
}

.game-balance-switch {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.game-balance-switch button {
  min-height: 36px;
  padding: 7px 9px;
  color: var(--muted);
  font: inherit;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .08em;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.game-balance-switch button:hover {
  color: var(--text);
  border-color: rgba(158, 255, 89, .42);
}

.game-balance-switch button.is-active {
  color: var(--acid);
  border-color: var(--acid);
  background: rgba(158, 255, 89, .1);
}

.roulette-prizes {
  margin-top: auto;
}

.roulette-prizes p {
  margin: 7px 0 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.roulette-prizes b {
  color: var(--text);
}

.roulette-prizes em {
  color: #ffc34d;
  font-style: normal;
  font-weight: 900;
}

.roulette-rules {
  margin-top: 18px;
}

@keyframes rouletteLights {
  50% { filter: brightness(1.6); opacity: .55; }
}

@keyframes roulettePointer {
  to { transform: translate(-50%,3px) rotate(2deg); }
}

@keyframes roulettePrizeIn {
  from { opacity: 0; transform: scale(.3) rotate(-5deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes rouletteConfetti {
  from { opacity: 0; transform: translateY(-25px) rotate(0); }
  10% { opacity: 1; }
  to { opacity: 1; transform: translateY(760px) rotate(620deg); }
}

.safety-section {
  padding-block: 100px;
  background: var(--acid);
  color: #07100a;
}

.safety-inner {
  display: grid;
  grid-template-columns: 0.45fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.safety-section .eyebrow {
  color: #22660d;
}

.safety-mark {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 122px);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.safety-copy h2 span {
  color: #22660d;
}

.safety-copy > p:last-child {
  margin: 24px 0 0;
  color: rgba(7, 16, 10, 0.68);
}

.safety-checklist {
  display: grid;
  gap: 0;
}

.safety-checklist div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  border-bottom: 1px solid rgba(7, 16, 10, 0.16);
}

.safety-checklist span {
  font-family: var(--display);
  font-size: 10px;
}

.safety-checklist p {
  margin: 0;
  font-weight: 700;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--acid);
  font-size: 24px;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

footer {
  padding: 70px 0 28px;
  background: #05070b;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
}

.footer-grid > div:first-child p,
.footer-note p {
  max-width: 320px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--acid);
}

.footer-note strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: 28px;
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  color: #596475;
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 20px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(158,255,89,0.12), transparent 35%),
    radial-gradient(circle at 80% 90%, rgba(104,167,255,0.1), transparent 35%),
    #070a11;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: auto;
}

.age-gate.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.intro-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.intro-stars i {
  position: absolute;
  width: 3px;
  height: 3px;
  top: -20px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
  animation: starFall linear infinite;
}

.age-card {
  position: relative;
  z-index: 2;
  width: min(570px, 100%);
  padding: 34px;
  text-align: center;
  background: rgba(13, 18, 29, 0.88);
  border: 1px solid rgba(158, 255, 89, 0.22);
  border-radius: 28px;
  box-shadow: 0 35px 100px rgba(0,0,0,0.5), 0 0 80px rgba(158,255,89,0.07);
  backdrop-filter: blur(20px);
  animation: ageEnter 0.75s cubic-bezier(.2,.8,.2,1) both;
}

.machine {
  width: 246px;
  margin: -110px auto 28px;
  padding: 16px;
  background: linear-gradient(180deg, #1b2636, #0c111b);
  border: 1px solid rgba(158, 255, 89, 0.25);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.5), 0 0 40px rgba(158,255,89,0.09);
}

.machine-top {
  margin-bottom: 9px;
  display: flex;
  justify-content: center;
  gap: 22px;
}

.machine-top span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
  animation: blink 1s ease-in-out infinite;
}

.machine-top span:nth-child(2n) {
  animation-delay: 0.5s;
}

.machine-brand {
  margin-bottom: 10px;
  color: var(--acid);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.reels {
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #05070b;
  border-radius: 12px;
}

.reel {
  height: 66px;
  overflow: hidden;
  background: #e9eee7;
  border-radius: 7px;
}

.reel-track {
  display: grid;
  transform: translateY(-264px);
  animation: reelSpin 1.7s 0.35s cubic-bezier(.15,.75,.25,1) forwards;
}

.reel-delay {
  animation-delay: 0.5s;
}

.reel-delay-two {
  animation-delay: 0.67s;
}

.reel b {
  height: 66px;
  display: grid;
  place-items: center;
  color: #0b1119;
  font-family: var(--display);
  font-size: 28px;
}

.machine-line {
  width: 64px;
  height: 5px;
  margin: 13px auto 0;
  background: var(--acid);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(158,255,89,0.5);
}

.age-card h1 {
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: clamp(25px, 5vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.age-copy {
  max-width: 460px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.age-actions {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.microcopy {
  margin: 17px auto 0;
  color: #5f6a78;
  font-size: 9px;
}

.modal[hidden],
.region-popover[hidden],
.account-modal[hidden],
.account-form[hidden],
.account-auth[hidden],
.account-profile[hidden] {
  display: none;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
}

.account-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(2,4,8,.84);
  backdrop-filter: blur(12px);
}

.account-panel {
  position: relative;
  width: min(500px, 100%);
  max-height: min(820px, calc(100vh - 32px));
  padding: 30px;
  overflow: auto;
  border: 1px solid rgba(158,255,89,.23);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(158,255,89,.035), transparent 35%),
    var(--panel);
  box-shadow: var(--shadow), 0 0 55px rgba(158,255,89,.07);
  animation: modalEnter .28s ease both;
}

.account-close {
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 18px;
  width: 36px;
  height: 36px;
  color: var(--muted);
  font-size: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  cursor: pointer;
}

.account-panel h2 {
  margin: 7px 42px 10px 0;
  font-family: var(--display);
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.2;
}

.account-intro {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.account-intro a {
  color: var(--acid);
  font-weight: 800;
}

.account-find-id {
  width: 100%;
  min-height: 62px;
  margin-bottom: 16px;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-align: left;
  border: 1px solid rgba(104,167,255,.24);
  border-radius: 14px;
  background: rgba(104,167,255,.045);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}

.account-find-id:hover {
  border-color: rgba(104,167,255,.48);
  transform: translateY(-2px);
}

.account-find-id > span:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(104,167,255,.13);
}

.account-find-id > span:nth-child(2) {
  display: grid;
}

.account-find-id strong {
  font-size: 10px;
}

.account-find-id small {
  color: var(--muted);
  font-size: 8px;
}

.account-find-id i {
  color: var(--blue);
  font-size: 18px;
  font-style: normal;
}

.account-tabs {
  margin-bottom: 18px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(0,0,0,.17);
}

.account-tabs button {
  min-height: 42px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.account-tabs button.is-active {
  color: #07100a;
  background: var(--acid);
}

.account-form {
  display: grid;
  gap: 13px;
}

.account-form > p,
.account-form > small {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-form input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #0c121c;
}

.account-form input:focus {
  border-color: rgba(158,255,89,.45);
  box-shadow: 0 0 0 3px rgba(158,255,89,.06);
}

.account-form .button-primary {
  min-height: 50px;
  border: 0;
  cursor: pointer;
}

.account-form .button-primary:disabled {
  opacity: .45;
  cursor: wait;
}

.account-bot-link {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
  border: 1px solid rgba(104,167,255,.28);
  background: rgba(104,167,255,.05);
}

.account-link {
  width: fit-content;
  margin: 0 auto;
  padding: 5px;
  color: var(--acid);
  font-size: 10px;
  font-weight: 800;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.account-message {
  min-height: 0;
  margin-top: 14px;
  padding: 0;
  color: var(--acid);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
  border-radius: 10px;
}

.account-message:not(:empty) {
  padding: 10px 12px;
  border: 1px solid rgba(158,255,89,.18);
  background: rgba(158,255,89,.05);
}

.account-message.is-error {
  color: #ff9a9f;
  border-color: rgba(255,90,100,.22);
  background: rgba(255,90,100,.05);
}

.account-id-steps {
  padding: 13px;
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(0,0,0,.14);
}

.account-id-steps span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-size: 9px;
  font-weight: 900;
  border-radius: 50%;
  background: var(--acid);
}

.account-id-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.account-id-steps b {
  color: var(--text);
}

.account-id-result {
  padding: 16px;
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
  border: 1px solid rgba(158,255,89,.26);
  border-radius: 15px;
  background: rgba(158,255,89,.055);
}

.account-id-result[hidden] {
  display: none;
}

.account-id-result small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .14em;
}

.account-id-result strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: clamp(22px, 6vw, 32px);
}

.account-id-result button {
  padding: 7px 10px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.account-security {
  margin: 17px 0 0;
  padding-top: 14px;
  color: #697587;
  font-size: 9px;
  border-top: 1px solid var(--line);
}

.profile-heading {
  margin: 18px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-family: var(--display);
  font-size: 22px;
  border-radius: 20px 7px 20px 7px;
  background: linear-gradient(135deg, var(--acid), var(--mint));
  box-shadow: 0 0 32px rgba(158,255,89,.18);
}

.profile-heading small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}

.profile-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(20px, 5vw, 30px);
}

.profile-verified {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(0,215,162,.2);
  border-radius: 14px;
  background: rgba(0,215,162,.05);
}

.profile-verified > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-weight: 900;
  border-radius: 50%;
  background: var(--mint);
}

.profile-verified > div {
  display: grid;
}

.profile-verified strong {
  font-size: 11px;
}

.profile-verified small {
  color: var(--muted);
  font-size: 9px;
}

.profile-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.profile-stats > div {
  min-height: 94px;
  padding: 15px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.14);
}

.profile-stats span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
}

.profile-stats strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: 18px;
}

.profile-note {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.wallet-panel {
  margin-bottom: 18px;
  padding: 16px;
  display: grid;
  gap: 13px;
  border: 1px solid rgba(104,167,255,.18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(104,167,255,.05), transparent 45%),
    rgba(0,0,0,.16);
}

.wallet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-heading > div {
  display: grid;
  gap: 3px;
}

.wallet-heading small {
  color: #68a7ff;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
}

.wallet-heading strong {
  font-family: var(--display);
  font-size: 16px;
}

.wallet-heading > span {
  padding: 5px 8px;
  color: #07100a;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .1em;
  border-radius: 999px;
  background: var(--acid);
}

.wallet-heading > span.is-testnet {
  background: #68a7ff;
}

.wallet-heading > span.is-mainnet {
  background: var(--acid);
}

.wallet-form {
  padding: 13px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}

.wallet-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.wallet-form label > span {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(0,0,0,.18);
}

.wallet-form input,
.wallet-form select {
  min-width: 0;
  height: 42px;
  padding: 0 11px;
  color: var(--text);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: rgba(0,0,0,.2);
}

.wallet-form label > span input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.wallet-form label > span b {
  padding-inline: 11px;
  display: grid;
  place-items: center;
  color: var(--acid);
  font-size: 8px;
}

.wallet-form .button {
  min-height: 43px;
  border: 0;
  cursor: pointer;
}

.wallet-address-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 7px;
}

.wallet-withdraw {
  color: #ffc34d;
  border: 1px solid rgba(255,195,77,.25) !important;
  background: rgba(255,195,77,.055);
}

.wallet-action {
  padding: 13px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(158,255,89,.22);
  border-radius: 14px;
  background: rgba(158,255,89,.04);
}

.wallet-action[hidden] {
  display: none;
}

.wallet-action p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.wallet-history {
  display: grid;
  gap: 8px;
}

.wallet-history > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .1em;
}

.wallet-history > div:first-child button {
  color: #68a7ff;
  font-size: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#walletHistory {
  display: grid;
  gap: 6px;
}

#walletHistory > p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.wallet-history-row {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(0,0,0,.14);
}

.wallet-history-row > div {
  display: grid;
  gap: 3px;
}

.wallet-history-row > div:last-child {
  justify-items: end;
}

.wallet-history-row strong,
.wallet-history-row b {
  font-size: 9px;
}

.wallet-history-row small,
.wallet-history-row span {
  color: var(--muted);
  font-size: 7px;
}

.wallet-history-row.is-completed b,
.wallet-history-row.is-completed span {
  color: var(--acid);
}

.wallet-history-row.is-awaiting_approval b,
.wallet-history-row.is-awaiting_approval span {
  color: #ffd66b;
}

.wallet-history-row.is-rejected b,
.wallet-history-row.is-rejected span {
  color: #ff748d;
}

.wallet-disclaimer {
  margin: 0;
  color: #697587;
  font-size: 8px;
  line-height: 1.5;
}

#walletMessage {
  min-height: 0;
  margin: 0;
}

.account-logout {
  width: 100%;
  min-height: 48px;
  color: #ff9a9f;
  border: 1px solid rgba(255,90,100,.22);
  background: rgba(255,90,100,.04);
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 4, 8, 0.78);
  border: 0;
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  padding: 30px;
  overflow: auto;
  background: var(--panel);
  border: 1px solid rgba(158, 255, 89, 0.24);
  border-radius: 24px;
  box-shadow: var(--shadow);
  animation: modalEnter 0.28s ease both;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.modal-panel h2 {
  margin: 8px 40px 18px 0;
  font-family: var(--display);
  font-size: 27px;
  line-height: 1.25;
}

.modal-panel p,
.modal-panel li {
  color: var(--muted);
  font-size: 13px;
}

.modal-panel ul {
  padding-left: 20px;
}

.modal-panel li + li {
  margin-top: 8px;
}

.modal-ok {
  width: 100%;
  margin-top: 20px;
}

.region-popover {
  position: fixed;
  z-index: 80;
  top: 62px;
  right: max(20px, calc((100vw - 1180px) / 2));
  width: 270px;
  padding: 12px;
  background: rgba(17, 24, 36, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.region-popover p {
  margin: 4px 8px 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.region-popover button {
  width: 100%;
  padding: 10px 9px;
  display: flex;
  justify-content: space-between;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 9px;
  text-align: left;
  cursor: pointer;
}

.region-popover button:hover {
  background: rgba(255,255,255,0.05);
}

.region-popover small {
  display: block;
  margin: 9px 8px 4px;
  color: #647080;
  font-size: 9px;
}

.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 30px;
  max-width: calc(100% - 30px);
  padding: 12px 17px;
  color: #07100a;
  background: var(--acid);
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-nav {
  display: none;
}

.mini-account-cta {
  display: none;
}

.member-signal {
  position: relative;
  min-height: 210px;
  margin-block: 56px 12px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr) auto;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  border: 1px solid rgba(158,255,89,.2);
  border-radius: 26px;
  background:
    linear-gradient(110deg, rgba(158,255,89,.08), transparent 38%),
    radial-gradient(circle at 82% 20%, rgba(0,215,162,.12), transparent 30%),
    #0b111a;
  box-shadow: 0 28px 72px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.04);
}

.member-signal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,.08) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: memberSignalSweep 7s 1.5s ease-in-out infinite;
}

.member-signal > div:not(.member-signal-orbit),
.member-signal > ul,
.member-signal > button {
  position: relative;
  z-index: 2;
}

.member-signal > div > span {
  color: var(--acid);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.member-signal > div > span i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px var(--acid);
  animation: arenaLive 1.4s ease-in-out infinite;
}

.member-signal h2 {
  max-width: 620px;
  margin: 10px 0 9px;
  font-family: var(--display);
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.member-signal p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.member-signal p strong {
  color: var(--acid);
}

.member-signal ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.member-signal li {
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.member-signal li b {
  color: var(--acid);
  font-family: var(--display);
  font-size: 9px;
}

.member-signal li span {
  font-size: 10px;
  font-weight: 800;
}

.member-signal > button {
  min-width: 190px;
  min-height: 54px;
  border: 0;
  cursor: pointer;
}

.member-signal-orbit {
  position: absolute;
  right: 14%;
  top: 50%;
  width: 230px;
  height: 230px;
  pointer-events: none;
  border: 1px solid rgba(158,255,89,.08);
  border-radius: 50%;
  transform: translateY(-50%);
}

.member-signal-orbit i {
  position: absolute;
  inset: calc(var(--orbit, 0) * 16px);
  border: 1px solid rgba(158,255,89,.07);
  border-radius: inherit;
  animation: spin calc(14s + var(--orbit, 0) * 5s) linear infinite;
}

.member-signal-orbit i:nth-child(2) { --orbit: 1; }
.member-signal-orbit i:nth-child(3) { --orbit: 2; }

.registration-promo {
  position: fixed;
  z-index: 130;
  right: 22px;
  bottom: 22px;
  width: min(520px, calc(100vw - 32px));
  min-height: 330px;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(158,255,89,.24);
  border-radius: 26px;
  background: #080d12;
  box-shadow: 0 34px 90px rgba(0,0,0,.68), 0 0 55px rgba(158,255,89,.1);
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.96);
  transition: opacity .32s ease, transform .42s cubic-bezier(.18,.8,.2,1);
}

.registration-promo[hidden] {
  display: none;
}

.registration-promo.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.registration-promo > img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}

.registration-promo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #080d12 0 41%, rgba(8,13,18,.9) 55%, rgba(8,13,18,.08) 100%),
    linear-gradient(0deg, rgba(8,13,18,.84), transparent 58%);
}

.registration-promo-copy {
  position: relative;
  z-index: 2;
  width: 66%;
  min-height: 330px;
  padding: 30px 0 25px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.registration-promo-copy > span {
  color: var(--acid);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.registration-promo-copy > span i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.registration-promo-copy h2 {
  margin: 12px 0 10px;
  font-family: var(--display);
  font-size: clamp(23px, 4vw, 34px);
  line-height: 1;
  letter-spacing: -.045em;
}

.registration-promo-copy p {
  margin: 0 0 17px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.55;
}

.registration-promo-copy p strong {
  color: var(--acid);
}

.registration-promo-copy .button {
  min-height: 46px;
  padding-inline: 18px;
  border: 0;
  cursor: pointer;
}

.registration-promo-copy small {
  max-width: 250px;
  margin-top: 10px;
  color: rgba(255,255,255,.38);
  font-size: 8px;
  line-height: 1.4;
}

.registration-promo-close {
  position: absolute;
  z-index: 5;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  color: white;
  font-size: 20px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: rgba(5,8,12,.62);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

@keyframes memberSignalSweep {
  0%, 62% { transform: translateX(-120%); }
  82%, 100% { transform: translateX(120%); }
}

.poker-card-suit,
.poker-card-corner,
.durak-card-suit,
.durak-card-corner,
.blackjack-card-suit,
.blackjack-card-corner,
.online-card > i,
.online-card > small {
  font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "Apple Symbols", sans-serif;
  font-variant-emoji: text;
  font-synthesis: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes auroraOne {
  50% { transform: translate(120px, 80px) scale(1.15); }
}

@keyframes auroraTwo {
  50% { transform: translate(-100px, -80px) scale(0.9); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes cardShine {
  0%, 45% { transform: rotate(18deg) translateX(-75%); }
  65%, 100% { transform: rotate(18deg) translateX(75%); }
}

@keyframes drawScore {
  to { stroke-dashoffset: 67; }
}

@keyframes growBar {
  to { transform: scaleX(1); }
}

@keyframes float {
  50% { transform: translateY(-12px); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes starFall {
  0% { transform: translateY(-30px) scale(0); opacity: 0; }
  15% { opacity: 1; transform: translateY(15vh) scale(1); }
  100% { transform: translateY(110vh) translateX(80px) scale(0); opacity: 0; }
}

@keyframes ageEnter {
  from { opacity: 0; transform: translateY(35px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes blink {
  50% { opacity: 0.3; }
}

@keyframes reelSpin {
  0% { transform: translateY(-264px); filter: blur(2px); }
  100% { transform: translateY(-132px); filter: blur(0); }
}

@keyframes modalEnter {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes miniPageEnter {
  from { opacity: 0; transform: translateX(24px) scale(.992); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes miniPageLeave {
  to { opacity: 0; transform: translateX(-18px) scale(.994); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy {
    padding-top: 20px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .rating-card {
    grid-template-columns: 42px 1fr auto;
  }

  .rating-metrics {
    grid-column: 2 / 3;
  }

  .rating-tags {
    display: none;
  }

  .details-button {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .mechanics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mechanic-wide {
    grid-column: span 2;
    grid-row: auto;
    min-height: 480px;
  }

  .methodology {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .safety-inner {
    grid-template-columns: 0.4fr 1.6fr;
  }

  .safety-checklist {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    padding-bottom: calc(88px + var(--app-safe-bottom));
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .mini-skill-kill-banner {
    min-height: 250px;
    padding: 145px 17px 17px;
    grid-template-columns: 1fr auto;
    gap: 14px;
    border-radius: 20px;
  }

  .mini-skill-kill-media {
    inset: 0 0 auto;
    width: 100%;
    height: 170px;
  }

  .mini-skill-kill-media::after {
    background: linear-gradient(180deg, transparent 34%, #07101d 100%);
  }

  .mini-skill-kill-copy strong {
    font-size: clamp(25px, 9vw, 38px);
  }

  .mini-skill-kill-banner > b {
    font-size: 0;
  }

  .site-header {
    height: 62px;
    padding-inline: 14px;
  }

  html[data-telegram="true"] {
    scroll-padding-top: calc(76px + var(--app-safe-top));
  }

  html[data-telegram="true"] .site-header {
    height: calc(62px + var(--app-safe-top));
    padding-top: var(--app-safe-top);
    padding-left: calc(14px + var(--app-safe-left));
    padding-right: calc(14px + var(--app-safe-right));
  }

  .desktop-nav {
    display: none;
  }

  .logo {
    font-size: 14px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .logo > span:last-child {
    display: none;
  }

  .header-actions {
    gap: 5px;
  }

  .region-button {
    min-height: 34px;
    font-size: 11px;
  }

  .header-balance {
    min-width: 82px;
    min-height: 34px;
    padding-inline: 9px;
  }

  .header-balance span {
    display: none;
  }

  .header-balance strong {
    font-size: 9px;
    white-space: nowrap;
  }

  .header-deposit {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 9px;
  }

  .account-button {
    min-height: 34px;
    padding: 0 7px;
  }

  .account-button #accountLabel {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 68px 55px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-row {
    margin-top: 42px;
    gap: 22px;
  }

  .trust-row strong {
    font-size: 17px;
  }

  .trust-row span {
    font-size: 8px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .float-chip-one {
    top: 52px;
    right: -4px;
  }

  .float-chip-two {
    left: -3px;
    bottom: 52px;
  }

  .content-section {
    padding-block: 82px;
  }

  .section-heading {
    margin-bottom: 30px;
    align-items: start;
    flex-direction: column;
  }

  .section-heading h2,
  .method-copy h2,
  .safety-copy h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .rating-card {
    padding: 16px;
    grid-template-columns: 34px 1fr;
    gap: 13px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .rating-metrics {
    grid-column: 2;
  }

  .details-button {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
  }

  .mechanics-grid {
    grid-template-columns: 1fr;
  }

  .mechanic-wide,
  .mechanics-grid .mechanic-card:nth-child(4) {
    grid-column: auto;
  }

  .mechanic-wide {
    min-height: 500px;
  }

  .mechanic-card {
    min-height: 300px;
  }

  .methodology::before {
    inset: 45px -8px;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    min-height: 290px;
  }

  .safety-section {
    padding-block: 74px;
  }

  .safety-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .safety-checklist {
    grid-column: auto;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 90;
    left: calc(10px + var(--app-safe-left));
    right: calc(10px + var(--app-safe-right));
    bottom: calc(8px + var(--app-safe-bottom));
    height: 70px;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    isolation: isolate;
    background:
      linear-gradient(180deg, rgba(20, 29, 42, 0.96), rgba(8, 12, 19, 0.97)) padding-box,
      linear-gradient(110deg, rgba(158, 255, 89, 0.42), rgba(255, 255, 255, 0.08) 38%, rgba(0, 215, 162, 0.28)) border-box;
    border: 1px solid transparent;
    border-radius: 21px;
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.52),
      inset 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .mobile-nav-glow {
    position: absolute;
    z-index: -1;
    left: 42%;
    right: 42%;
    bottom: -7px;
    height: 18px;
    border-radius: 50%;
    background: rgba(158, 255, 89, 0.36);
    filter: blur(14px);
    pointer-events: none;
  }

  .mobile-nav a {
    position: relative;
    min-width: 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 15px;
    font-weight: 800;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  }

  .mobile-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 18px;
    height: 2px;
    border-radius: 10px;
    background: var(--acid);
    opacity: 0;
    transform: translateX(-50%) scaleX(0.4);
    box-shadow: 0 0 10px rgba(158, 255, 89, 0.55);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-nav a small {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(7px, 2.15vw, 9px);
    line-height: 1;
    letter-spacing: 0.015em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-nav-icon {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
  }

  .mobile-nav-icon svg {
    width: 21px;
    height: 21px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-nav-icon .nav-suit {
    fill: currentColor;
    stroke: none;
  }

  .mobile-nav a.is-active {
    color: var(--acid);
    background:
      radial-gradient(circle at 50% 0, rgba(158, 255, 89, 0.15), transparent 72%),
      rgba(158, 255, 89, 0.055);
    border-color: rgba(158, 255, 89, 0.1);
  }

  .mobile-nav a.is-active::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }

  .mobile-nav-play .mobile-nav-icon {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    color: #07100a;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 14px 7px 14px 7px;
    background: linear-gradient(135deg, var(--acid), var(--mint));
    box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.42),
      0 0 22px rgba(158, 255, 89, 0.24);
    transform: rotate(-3deg);
  }

  .mobile-nav-play .mobile-nav-icon svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.65;
    transform: rotate(3deg);
  }

  .mobile-nav-play small {
    color: var(--text);
  }

  html[data-telegram-keyboard="open"] .mobile-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 20px));
  }

  .age-gate {
    align-items: center;
    padding-top: 90px;
  }

  .age-card {
    padding: 25px 18px 22px;
  }

  .machine {
    width: 215px;
    margin-top: -90px;
  }

  .age-actions {
    flex-direction: column;
  }

  .age-actions .button {
    width: 100%;
  }

  .region-popover {
    top: 56px;
    right: 14px;
  }

  .modal {
    align-items: end;
    padding: 10px;
  }

  .modal-panel {
    width: 100%;
    max-height: 85vh;
    border-radius: 22px 22px 14px 14px;
  }

  .account-modal {
    align-items: end;
    padding: 10px;
  }

  .account-panel {
    width: 100%;
    max-height: 88vh;
    padding: 24px 20px;
    border-radius: 22px 22px 14px 14px;
  }
}

.tennis-game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid rgba(76,177,255,.22);
  border-radius: 28px;
  background: #090e16;
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}

.tennis-stage {
  position: relative;
  min-width: 0;
  height: clamp(540px, 56vw, 680px);
  overflow: hidden;
  background: #07121a;
}

#tennisCanvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: 0;
  touch-action: none;
  cursor: crosshair;
}

#tennisCanvas:focus-visible {
  box-shadow: inset 0 0 0 2px var(--acid);
}

.tennis-side-label {
  position: absolute;
  z-index: 2;
  left: 28px;
  padding: 5px 9px;
  color: rgba(255,255,255,.68);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(4,8,13,.56);
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.tennis-side-bot {
  top: 25px;
  color: #ff8a62;
}

.tennis-side-player {
  bottom: 25px;
  color: var(--acid);
}

.tennis-countdown {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: white;
  text-align: center;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(158,255,89,.16), transparent 34%),
    rgba(3,8,12,.54);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}

.tennis-countdown.is-visible {
  opacity: 1;
  visibility: visible;
}

.tennis-countdown span {
  color: var(--acid);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
}

.tennis-countdown strong {
  font-family: var(--display);
  font-size: clamp(86px, 18vw, 170px);
  line-height: .9;
  text-shadow: 0 0 55px rgba(158,255,89,.5);
}

.tennis-countdown strong.is-ticking {
  animation: tennisCountdownTick .75s cubic-bezier(.18,.78,.22,1) both;
}

.tennis-result {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  color: white;
  text-align: center;
  pointer-events: none;
  background: rgba(3,8,12,.82);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  transition: opacity .3s ease, transform .42s cubic-bezier(.2,.8,.2,1);
}

.tennis-result::before,
.tennis-result::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(158,255,89,.22);
  border-radius: 50%;
  animation: tennisResultRing 1.8s ease-out infinite;
}

.tennis-result::after {
  animation-delay: .55s;
}

.tennis-result.is-loss::before,
.tennis-result.is-loss::after {
  border-color: rgba(255,79,131,.28);
}

.tennis-result.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  animation: tennisVictoryFlash .72s ease both;
}

.tennis-result > * {
  position: relative;
  z-index: 2;
}

.tennis-result > span {
  color: var(--acid);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.tennis-result.is-loss > span {
  color: #ff648e;
}

.tennis-result > strong {
  max-width: 90%;
  margin-block: 8px 12px;
  color: white;
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  text-shadow: 0 0 32px rgba(158,255,89,.2);
  animation: tennisResultTitle .55s cubic-bezier(.2,.8,.2,1) both;
}

.tennis-result > small {
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 700;
}

.tennis-console {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(76,177,255,.055), transparent 50%),
    #0e141f;
}

.tennis-status {
  min-height: 134px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
}

.tennis-status span,
.tennis-controls > span,
.tennis-speed-note > span,
.tennis-stats span {
  color: #68a7ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.tennis-status strong {
  margin-top: 7px;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.35;
}

.tennis-status small,
.tennis-speed-note small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.tennis-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.arena-dealer-offer {
  width: min(100%, 520px);
  margin: 8px auto;
  padding: 18px;
  display: grid;
  gap: 9px;
  border: 1px solid rgba(158,255,89,.24);
  border-radius: 18px;
  background: rgba(158,255,89,.045);
}

.arena-dealer-offer > span,
.tapper-console span {
  color: var(--acid);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.arena-dealer-offer > strong { font-family: var(--display); font-size: 14px; }
.arena-dealer-offer > small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.arena-dealer-offer label { display: flex; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.arena-dealer-offer input { min-width: 0; flex: 1; padding: 11px; color: white; border: 0; outline: 0; background: rgba(0,0,0,.24); }
.arena-dealer-offer label b { padding: 11px; color: var(--acid); font-size: 9px; }

.arena-bot-offer {
  position: relative;
  width: min(100%, 560px);
  margin: 10px auto 0;
  padding: 18px;
  display: grid;
  gap: 7px;
  overflow: hidden;
  border: 1px solid rgba(112, 234, 255, .35);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(112, 234, 255, .09), transparent 48%),
    rgba(104, 74, 255, .08);
  box-shadow: inset 0 0 28px rgba(91, 67, 255, .08), 0 0 24px rgba(112, 234, 255, .06);
}

.arena-bot-offer::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 2px;
  top: 24px;
  right: -18px;
  background: #dffeff;
  box-shadow: 0 0 7px #fff, 0 0 16px #3ae4ff;
  clip-path: polygon(0 20%, 17% 0, 35% 70%, 52% 5%, 72% 75%, 100% 25%, 100% 75%, 72% 100%, 53% 38%, 35% 100%, 16% 38%, 0 80%);
  transform: rotate(-23deg);
  animation: arenaBotArc 2.4s steps(1) infinite;
}

.arena-bot-offer > span {
  color: #70eaff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}

.arena-bot-offer > span i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
}

.arena-bot-offer > strong {
  font-family: var(--display);
  font-size: 14px;
}

.arena-bot-offer > small {
  max-width: 460px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.arena-bot-offer .arena-secondary-action.is-bot {
  margin-top: 5px;
  color: #071018;
  border-color: #70eaff;
  background: linear-gradient(135deg, #dfff58, #70eaff);
  box-shadow: 0 0 18px rgba(112, 234, 255, .18);
}

.arena-bot-offer.is-compact {
  margin-block: 7px;
  padding: 14px;
}

@keyframes arenaBotArc {
  0%, 44%, 48%, 100% { opacity: .08; }
  45%, 47% { opacity: 1; }
  46% { opacity: .25; }
}

.tapper-choice-visual {
  position: relative;
  z-index: 2;
  min-height: 285px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.tapper-choice-button {
  position: relative;
  z-index: 3;
  width: 164px;
  height: 164px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  color: #07100a;
  font-style: normal;
  border: 9px solid #17221e;
  border-radius: 50%;
  background: linear-gradient(145deg, #eaff88, #78e83f);
  box-shadow:
    0 22px 45px rgba(0,0,0,.38),
    0 0 32px rgba(158,255,89,.2),
    inset 0 -13px 20px rgba(19,87,17,.18);
  animation: tapperChoicePress 1.65s cubic-bezier(.2,.8,.2,1) infinite;
}

.tapper-choice-button::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
}

.tapper-choice-button b {
  font-family: var(--display);
  font-size: 62px;
  line-height: .82;
}

.tapper-choice-button span {
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .18em;
}

.tapper-choice-ring {
  position: absolute;
  z-index: 1;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(158,255,89,.42);
  border-radius: 50%;
  opacity: 0;
  animation: tapperChoiceRing 1.65s ease-out infinite;
}

.tapper-choice-ring-two { animation-delay: .48s; }

.tapper-choice-pointer {
  position: absolute;
  z-index: 5;
  right: calc(50% - 96px);
  top: 53%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--display);
  font-size: 25px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: #ff4f83;
  box-shadow: 0 8px 24px rgba(255,79,131,.34);
  animation: tapperChoicePointer 1.65s cubic-bezier(.2,.8,.2,1) infinite;
}

.tapper-choice-particles {
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
}

.tapper-choice-particles i {
  position: absolute;
  left: 50%;
  top: 42%;
  color: var(--acid);
  font-family: var(--display);
  font-size: 11px;
  font-style: normal;
  opacity: 0;
  text-shadow: 0 0 14px rgba(158,255,89,.65);
  animation: tapperChoiceParticle 1.65s ease-out infinite;
}

.tapper-choice-particles i:nth-child(2) { animation-delay: .16s; --tap-x: 72px; }
.tapper-choice-particles i:nth-child(3) { animation-delay: .32s; --tap-x: -62px; }

.tapper-choice-visual > em {
  position: absolute;
  z-index: 7;
  bottom: 24px;
  padding: 8px 13px;
  color: #07100a;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .1em;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 8px 26px rgba(158,255,89,.26);
}

.tapper-choice-visual > em b {
  color: #ff3f7d;
  animation: tapperChoiceLive .75s ease-in-out infinite alternate;
}

.game-choice-tapper:hover .tapper-choice-button,
.game-choice-tapper:hover .tapper-choice-ring,
.game-choice-tapper:hover .tapper-choice-pointer,
.game-choice-tapper:hover .tapper-choice-particles i {
  animation-duration: .85s;
}

@keyframes tapperChoicePress {
  0%, 42%, 100% { transform: translateY(0) scale(1); }
  52% { transform: translateY(5px) scale(.93); }
  64% { transform: translateY(-2px) scale(1.025); }
}

@keyframes tapperChoiceRing {
  35% { opacity: 0; transform: scale(.8); }
  52% { opacity: .72; }
  100% { opacity: 0; transform: scale(1.5); }
}

@keyframes tapperChoicePointer {
  0%, 38%, 100% { transform: translate(8px, 15px); }
  52% { transform: translate(0, 25px) scale(.9); }
  66% { transform: translate(8px, 12px); }
}

@keyframes tapperChoiceParticle {
  0%, 48% { opacity: 0; transform: translate(0, 0) scale(.7); }
  60% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--tap-x, 54px), -76px) scale(1.12); }
}

@keyframes tapperChoiceLive { to { opacity: .35; } }

.tapper-game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  overflow: hidden;
  border: 1px solid rgba(158,255,89,.2);
  border-radius: 28px;
  background: #090e16;
}

.tapper-stage {
  min-height: 590px;
  padding: 34px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
  text-align: center;
  background: radial-gradient(circle, rgba(158,255,89,.12), transparent 42%), #07121a;
}

.tapper-timer { display: grid; justify-items: center; gap: 4px; }
.tapper-timer span { color: var(--acid); font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.tapper-timer strong { font-family: var(--display); font-size: clamp(48px, 8vw, 84px); line-height: 1; }
.tapper-stage > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.tapper-core {
  position: relative;
  width: clamp(190px, 32vw, 300px);
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  color: #08110b;
  border: 8px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: linear-gradient(145deg, #eaff88, #79ec42);
  box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 0 55px rgba(158,255,89,.24), inset 0 -16px 28px rgba(0,0,0,.16);
  touch-action: manipulation;
  user-select: none;
  cursor: pointer;
}

.tapper-core b { font-family: var(--display); font-size: clamp(64px, 12vw, 116px); line-height: .9; }
.tapper-core span { font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.tapper-core:disabled { filter: saturate(.25); opacity: .55; cursor: default; }
.tapper-core.is-active { animation: tapperPulse 1s ease-in-out infinite; }
.tapper-core.is-hit { animation: tapperHit .12s ease-out; }

.tapper-console {
  padding: 26px;
  display: grid;
  align-content: center;
  gap: 14px;
  border-left: 1px solid var(--line);
  background: #0e141f;
}

.tapper-console > div { padding: 20px; display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.18); }
.tapper-console strong { color: var(--acid); font-family: var(--display); font-size: 40px; }
.tapper-console p { color: var(--muted); font-size: 10px; line-height: 1.6; }
.tapper-rules { margin-top: 18px; }

@keyframes tapperPulse { 50% { box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 0 80px rgba(158,255,89,.42), inset 0 -16px 28px rgba(0,0,0,.16); } }
@keyframes tapperHit { 50% { transform: scale(.92); } }

.tennis-stats > div {
  min-height: 82px;
  padding: 13px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(104,167,255,.2);
  border-radius: 14px;
  background: rgba(104,167,255,.045);
}

.tennis-stats strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: 22px;
}

.tennis-start {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 1px;
  border: 0;
  cursor: pointer;
}

.tennis-start span {
  font-family: var(--display);
  font-size: 13px;
}

.tennis-start small {
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .11em;
}

.tennis-start:disabled {
  opacity: .48;
  cursor: default;
}

.tennis-controls,
.tennis-speed-note {
  padding: 15px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.13);
}

.tennis-controls {
  margin-top: auto;
}

.tennis-controls p {
  margin: 9px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
}

.tennis-controls b {
  color: white;
}

.tennis-controls em {
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.tennis-speed-note strong {
  margin-top: 7px;
  color: var(--acid);
  font-family: var(--display);
  font-size: 15px;
}

.tennis-rules {
  margin-top: 18px;
}

@keyframes tennisResultRing {
  from { opacity: .8; transform: scale(.45); }
  to { opacity: 0; transform: scale(1.55); }
}

@keyframes tennisResultTitle {
  from { opacity: 0; transform: translateY(18px) scale(.82); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tennisCountdownTick {
  0% { opacity: 0; transform: scale(1.7); filter: blur(7px); }
  38% { opacity: 1; transform: scale(.92); filter: blur(0); }
  65% { transform: scale(1); }
  100% { opacity: .72; transform: scale(.82); }
}

@keyframes tennisVictoryFlash {
  0% { box-shadow: inset 0 0 0 100vmax rgba(255,255,255,.35); }
  100% { box-shadow: inset 0 0 0 100vmax rgba(255,255,255,0); }
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  .poker-game {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .poker-table-wrap {
    padding: 18px;
  }

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

  .blackjack-game {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .blackjack-table-wrap {
    padding: 18px;
  }

  .slots-game {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .slots-stage {
    padding: 30px 20px;
  }

  .roulette-game {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .tennis-game {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 900px) {
  .durak-game {
    grid-template-columns: 1fr;
  }

  .durak-console {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .durak-status,
  .durak-help {
    grid-row: span 2;
  }

  .blackjack-game {
    grid-template-columns: 1fr;
  }

  .blackjack-console {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .blackjack-status,
  .blackjack-help {
    grid-row: span 2;
  }

  .slots-game {
    grid-template-columns: 1fr;
  }

  .slots-console {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .slots-status,
  .slots-paytable {
    grid-row: span 2;
  }

  .roulette-game {
    grid-template-columns: 1fr;
  }

  .roulette-console {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .roulette-status,
  .roulette-prizes {
    grid-row: span 2;
  }

  .tennis-game {
    grid-template-columns: 1fr;
  }

  .tennis-console {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .tennis-status,
  .tennis-controls {
    grid-row: span 2;
  }

  .poker-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .poker-game {
    grid-template-columns: 1fr;
  }

  .poker-console {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .poker-status {
    grid-row: span 2;
  }

  .poker-table {
    min-height: 600px;
  }
}

@media (max-width: 720px) {
  .game-library {
    grid-template-columns: 1fr;
  }

  .game-choice-card {
    min-height: 450px;
    padding: 20px;
  }

  .game-choice-visual {
    min-height: 240px;
  }

  .game-choice-visual > i {
    width: 104px;
    height: 148px;
  }

  .game-panel-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .poker-section {
    padding-block: 76px;
  }

  .poker-heading {
    margin-bottom: 28px;
  }

  .poker-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .difficulty-picker {
    width: 100%;
    justify-content: space-between;
  }

  .difficulty-picker > label {
    padding: 3px 2px;
  }

  .difficulty-select-shell {
    min-width: 160px;
  }

  .poker-game {
    margin-inline: -6px;
    border-radius: 20px;
  }

  .poker-table-wrap {
    padding: 10px;
  }

  .poker-table {
    min-height: 510px;
    border-width: 6px;
    border-radius: 37% / 12%;
  }

  .poker-deck {
    right: 5%;
    width: 34px;
    height: 48px;
  }

  .poker-deck.is-dealing > i:nth-of-type(1) {
    --deal-x: -118px;
    --deal-y: 166px;
  }

  .poker-deck.is-dealing > i:nth-of-type(2) {
    --deal-x: -115px;
    --deal-y: -172px;
  }

  .poker-deck.is-dealing > i:nth-of-type(3) {
    --deal-x: -72px;
    --deal-y: 176px;
  }

  .poker-deck.is-dealing > i:nth-of-type(4) {
    --deal-x: -70px;
    --deal-y: -177px;
  }

  .poker-seat-bot {
    top: 18px;
  }

  .poker-seat-player {
    bottom: 18px;
  }

  .poker-player-meta {
    min-width: 150px;
  }

  .poker-card {
    width: 50px;
    height: 72px;
    padding: 6px;
    border-radius: 8px;
  }

  .poker-card-rank {
    font-size: 13px;
  }

  .poker-card-suit {
    font-size: 21px;
  }

  .poker-card-corner {
    font-size: 12px;
  }

  .poker-board {
    gap: 4px;
  }

  .poker-hole-cards {
    gap: 6px;
  }

  .poker-console {
    padding: 18px;
    display: flex;
  }

  .durak-game {
    margin-inline: -6px;
    border-radius: 20px;
  }

  .durak-table-wrap {
    padding: 10px;
  }

  .durak-table {
    min-height: 560px;
    border-width: 6px;
    border-radius: 26px;
  }

  .durak-center {
    inset: 118px 8px 138px;
  }

  .durak-stock {
    left: -12px;
    transform: translateY(-50%) scale(.7);
    transform-origin: left center;
  }

  .durak-battlefield {
    left: 108px;
    right: 2px;
    gap: 3px;
  }

  .durak-pair {
    width: 54px;
    height: 94px;
  }

  .durak-card {
    width: 50px;
    height: 72px;
    padding: 5px;
  }

  .durak-card-rank {
    font-size: 12px;
  }

  .durak-card-suit {
    font-size: 21px;
  }

  .durak-card-corner {
    font-size: 11px;
  }

  .durak-player-hand {
    min-height: 76px;
  }

  button.durak-card {
    margin-left: var(--durak-overlap);
  }

  .durak-bot-hand {
    height: 52px;
  }

  .durak-card-back {
    width: 37px;
    height: 51px;
  }

  .durak-console {
    padding: 18px;
    display: flex;
  }

  .blackjack-game {
    margin-inline: -6px;
    border-radius: 20px;
  }

  .blackjack-table-wrap {
    padding: 10px;
  }

  .blackjack-table {
    min-height: 560px;
    border-width: 6px;
    border-radius: 26px;
  }

  .blackjack-center {
    inset: 210px 10px 205px;
  }

  .blackjack-card {
    width: 56px;
    height: 80px;
    padding: 6px;
  }

  .blackjack-card-rank {
    font-size: 13px;
  }

  .blackjack-card-suit {
    font-size: 23px;
  }

  .blackjack-card-corner {
    font-size: 11px;
  }

  .blackjack-cards {
    min-height: 82px;
  }

  .blackjack-deck {
    right: 1%;
    width: 42px;
    height: 60px;
  }

  .blackjack-bet-spot {
    width: 88px;
    height: 88px;
  }

  .blackjack-console {
    padding: 18px;
    display: flex;
  }

  .slots-choice-visual {
    min-height: 240px;
  }

  .slots-choice-visual > i {
    width: 78px;
    height: 108px;
    font-size: 27px;
  }

  .slots-game {
    margin-inline: -6px;
    border-radius: 20px;
  }

  .slots-stage {
    min-height: 520px;
    padding: 20px 10px;
  }

  .slots-machine {
    padding: 22px 18px 26px;
    border-radius: 28px;
  }

  .slots-reels {
    padding: 10px;
    gap: 7px;
    border-width: 6px;
  }

  .slots-reel {
    height: 132px;
  }

  .slots-strip {
    font-size: 36px;
  }

  .slots-console {
    padding: 18px;
    display: flex;
  }

  .roulette-choice-visual {
    min-height: 240px;
  }

  .roulette-choice-visual > i {
    width: 170px;
    height: 170px;
  }

  .roulette-choice-visual > i::after {
    inset: 52px;
  }

  .roulette-game {
    margin-inline: -6px;
    border-radius: 20px;
  }

  .roulette-stage {
    min-height: 480px;
    padding: 20px 10px;
    gap: 16px;
  }

  .roulette-wheel-stage {
    width: min(340px, 88%);
  }

  .roulette-wheel-shell {
    padding: 14px;
  }

  .roulette-wheel > span {
    width: 52px;
    transform:
      translate(-50%,-50%)
      rotate(calc(var(--segment) * 30deg))
      translateY(-118px);
  }

  .roulette-wheel > span b {
    font-size: 9px;
  }

  .roulette-wheel > span:first-child b {
    font-size: 6px;
  }

  .roulette-wheel > i {
    width: 82px;
    height: 82px;
    border-width: 7px;
  }

  .roulette-wheel > i strong {
    font-size: 21px;
  }

  .roulette-pointer {
    top: 0;
    font-size: 34px;
  }

  html[data-telegram="true"] .roulette-stage {
    --telegram-roulette-size: min(340px, 88vw);
    --telegram-roulette-radius: min(170px, 44vw);
  }

  html[data-telegram="true"] .roulette-wheel-stage {
    width: var(--telegram-roulette-size);
    min-width: var(--telegram-roulette-size);
    max-width: var(--telegram-roulette-size);
    height: var(--telegram-roulette-size);
    min-height: var(--telegram-roulette-size);
    max-height: var(--telegram-roulette-size);
    aspect-ratio: auto;
    align-self: center;
    justify-self: center;
    flex: 0 0 var(--telegram-roulette-size);
  }

  html[data-telegram="true"] .roulette-wheel {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }

  html[data-telegram="true"] .roulette-pointer {
    top: 0;
    transform: translate(-50%, -35%);
  }

  .roulette-console {
    padding: 18px;
    display: flex;
  }

  .tennis-choice-visual {
    min-height: 240px;
  }

  .tennis-choice-visual > i {
    width: 154px;
    height: 202px;
  }

  .tennis-game {
    margin-inline: -6px;
    border-radius: 20px;
  }

  .tennis-stage {
    height: 520px;
  }

  .tennis-console {
    padding: 18px;
    display: flex;
  }

  .tennis-side-label {
    left: 18px;
  }

  .poker-status {
    min-height: 112px;
  }

  .mobile-nav a {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .arena-shell {
    min-height: 480px;
    padding: 58px 18px 28px;
    border-radius: 20px;
  }

  .arena-brand {
    left: 16px;
    right: 16px;
    top: 16px;
  }

  .arena-ranges {
    grid-template-columns: 1fr 1fr;
  }

  .arena-versus {
    gap: 8px;
  }

  .arena-versus > div {
    min-width: 0;
    padding-inline: 7px;
  }

  .arena-versus strong {
    font-size: 10px;
  }

  .arena-proposal-form,
  .arena-negotiation-actions,
  .arena-finish-actions {
    grid-template-columns: 1fr;
  }

  .arena-proposal-form > button,
  .arena-secondary-action {
    min-height: 44px;
  }

  .arena-shell.is-live {
    min-height: 0;
    padding: 14px;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .arena-live-copy {
    grid-column: 1 / -1;
  }

  .arena-live-exit {
    grid-column: 1 / -1;
  }

  .wallet-address-row {
    grid-template-columns: 1fr;
  }
}

/* Server-authoritative game tables */
.arena-poker-entry {
  width: min(100%, 560px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.arena-poker-entry.is-buyin-only {
  grid-template-columns: minmax(0, 280px);
  justify-content: center;
}

.arena-poker-entry label {
  display: grid;
  gap: 7px;
  text-align: left;
}

.arena-poker-entry label > span,
.online-raise > span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
}

.arena-poker-entry label > div {
  height: 48px;
  padding-inline: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111a27;
}

.arena-poker-entry input,
.arena-poker-entry select,
.online-raise input {
  width: 100%;
  height: 48px;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #111a27;
}

.arena-poker-entry label > div input {
  height: auto;
  border: 0;
  background: transparent;
}

.arena-poker-entry select,
.online-raise input {
  padding-inline: 13px;
}

.arena-player-list {
  width: min(100%, 650px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.arena-player-list > div {
  min-width: 0;
  padding: 9px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}

.arena-player-list > div.is-me {
  border-color: rgba(158,255,89,.3);
}

.arena-player-list > div.is-empty {
  opacity: .58;
  border-style: dashed;
}

.arena-player-list > div.is-empty i {
  color: var(--muted);
  background: rgba(255,255,255,.08);
}

.arena-player-list i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acid), var(--mint));
}

.arena-player-list span {
  min-width: 0;
  display: grid;
  text-align: left;
}

.arena-player-list strong,
.arena-player-list small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-player-list strong {
  font-size: 9px;
}

.arena-player-list small {
  color: var(--muted);
  font-size: 8px;
}

.arena-player-list > div > b {
  color: var(--muted);
  font-size: 6px;
  letter-spacing: .08em;
}

.arena-player-list > div > b.is-ready {
  color: var(--acid);
}

.online-game {
  --table-accent: var(--acid);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid rgba(158,255,89,.15);
  border-radius: 28px;
  background: #090e16;
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}

.online-game-head {
  grid-column: 1 / -1;
  min-height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: #0d1420;
}

.online-game-head span,
.online-game-head b {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}

.online-game-head span {
  color: var(--muted);
}

.online-game-head span i {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--table-accent);
  box-shadow: 0 0 13px var(--table-accent);
}

.online-game-head b {
  color: var(--table-accent);
}

.online-console {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(158,255,89,.025), transparent 55%), #0e141f;
}

.online-status {
  min-height: 130px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(0,0,0,.17);
}

.online-status span {
  margin-bottom: 8px;
  color: var(--table-accent);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .14em;
}

.online-status strong {
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.35;
}

.online-status small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.online-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.online-actions button,
.online-console > .button {
  min-height: 44px;
  color: var(--text);
  font: inherit;
  font-size: 9px;
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.online-actions button:not(:disabled):hover {
  color: var(--table-accent);
  border-color: color-mix(in srgb, var(--table-accent) 45%, transparent);
}

.online-actions button:disabled,
.online-console > .button:disabled,
.online-raise input:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.online-raise {
  display: grid;
  gap: 7px;
}

.online-console .arena-live-exit {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
}

.poker-table-wallet {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 8px;
  align-items: end;
  border: 1px solid rgba(158,255,89,.13);
  border-radius: 13px;
  background: rgba(158,255,89,.035);
}

.poker-table-wallet > div {
  min-width: 0;
  display: grid;
}

.poker-table-wallet > div span,
.poker-table-wallet label > span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .11em;
}

.poker-table-wallet > div strong {
  font-size: 11px;
}

.poker-table-wallet > div small {
  color: var(--acid);
  font-size: 8px;
}

.poker-table-wallet label {
  display: grid;
  gap: 4px;
}

.poker-table-wallet input {
  width: 100%;
  height: 36px;
  padding-inline: 9px;
  color: var(--text);
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #0b111a;
}

.poker-table-wallet > button {
  grid-column: 1 / -1;
  min-height: 36px;
  color: #07100a;
  font: inherit;
  font-size: 8px;
  font-weight: 900;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--acid), var(--mint));
  cursor: pointer;
}

.online-player-badge {
  position: relative;
  min-width: 142px;
  max-width: 190px;
  padding: 6px 12px 6px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(5,9,13,.91);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.online-player-badge > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #07100a;
  font-family: var(--display);
  font-size: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--table-accent), var(--mint));
}

.online-player-badge > div {
  min-width: 0;
  display: grid;
}

.online-player-badge strong,
.online-player-badge small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-player-badge strong {
  font-size: 9px;
}

.online-player-badge small {
  color: var(--muted);
  font-size: 8px;
}

.online-player-badge > i {
  position: absolute;
  right: -8px;
  top: -7px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--acid);
}

.online-card {
  position: relative;
  width: 54px;
  height: 76px;
  padding: 6px;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: space-between;
  color: #141920;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #dfe5e2);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.online-card.is-red {
  color: #d73543;
}

.online-card b {
  font-family: var(--display);
  font-size: 13px;
}

.online-card > i {
  align-self: center;
  font-size: 22px;
  font-style: normal;
}

.online-card small {
  align-self: end;
  font-size: 11px;
  transform: rotate(180deg);
}

.online-card.is-back {
  display: grid;
  place-items: center;
  color: var(--table-accent);
  border-color: color-mix(in srgb, var(--table-accent) 50%, transparent);
  background:
    linear-gradient(45deg, transparent 47%, rgba(158,255,89,.11) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(158,255,89,.11) 48% 52%, transparent 53%),
    #0b111a;
  background-size: 11px 11px;
}

.online-card.is-back i {
  font-family: var(--display);
  font-size: 18px;
  font-style: normal;
}

.online-card.is-empty {
  border: 1px dashed rgba(255,255,255,.13);
  background: rgba(0,0,0,.12);
  box-shadow: none;
}

.online-seat-cards,
.online-board {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.online-table-mark {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  color: rgba(255,255,255,.035);
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 100px);
  letter-spacing: -.08em;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.online-poker-table,
.online-durak-table,
.online-blackjack-table {
  position: relative;
  min-width: 0;
  min-height: 640px;
  margin: 22px;
  overflow: hidden;
  border: 8px solid #243124;
  background:
    radial-gradient(circle at 50% 48%, rgba(158,255,89,.12), transparent 43%),
    repeating-linear-gradient(125deg, rgba(255,255,255,.012) 0 2px, transparent 2px 9px),
    #103623;
  box-shadow:
    inset 0 0 0 2px rgba(158,255,89,.14),
    inset 0 0 90px rgba(0,0,0,.58),
    0 18px 55px rgba(0,0,0,.42);
}

.online-poker-table {
  border-radius: 43% / 18%;
}

.online-poker-seat {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  transition: opacity .2s ease;
}

.online-poker-seat.is-bottom {
  --deal-origin-x: 150px;
  --deal-origin-y: -210px;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
}

.online-poker-seat.is-top {
  --deal-origin-x: 150px;
  --deal-origin-y: 210px;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
}

.online-poker-seat.is-left {
  --deal-origin-x: 270px;
  --deal-origin-y: 45px;
  left: 14px;
  top: 38%;
  transform: translateY(-50%);
}

.online-poker-seat.is-right {
  --deal-origin-x: -270px;
  --deal-origin-y: -45px;
  right: 14px;
  top: 62%;
  transform: translateY(-50%);
}

.online-poker-seat.is-folded {
  opacity: .42;
}

.online-poker-seat.is-turn .online-player-badge,
.online-blackjack-seat.is-turn .online-player-badge {
  border-color: var(--table-accent);
  box-shadow: 0 0 0 3px rgba(158,255,89,.1), 0 8px 24px rgba(0,0,0,.25);
}

.online-poker-seat.is-left .online-seat-cards,
.online-poker-seat.is-right .online-seat-cards {
  order: 2;
}

.online-poker-seat .online-card {
  width: 44px;
  height: 62px;
}

.online-poker-seat.is-dealing .online-card {
  animation: onlinePokerDeal .65s calc(var(--deal-delay, 0s) + var(--poker-animation-elapsed, 0s)) cubic-bezier(.16,.78,.2,1) both;
}

.online-poker-seat.is-dealing .online-card:nth-child(1) {
  --deal-delay: .08s;
}

.online-poker-seat.is-dealing .online-card:nth-child(2) {
  --deal-delay: .28s;
}

.online-poker-seat.is-revealing .online-card.is-showdown-card {
  backface-visibility: hidden;
  animation: onlinePokerReveal .62s calc(var(--reveal-delay, 0s) + var(--poker-animation-elapsed, 0s)) cubic-bezier(.2,.75,.2,1) both;
}

.online-poker-seat.is-revealing .online-card:nth-child(2) {
  --reveal-delay: .18s;
}

.online-table-bet {
  min-width: 40px;
  padding: 4px 8px;
  color: #07100a;
  font-size: 8px;
  text-align: center;
  border-radius: 999px;
  background: var(--acid);
}

.online-poker-center {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(62%, 480px);
  display: grid;
  place-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
}

.online-pot,
.online-street {
  padding: 6px 10px;
  color: rgba(255,255,255,.62);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(3,9,7,.55);
}

.online-pot strong {
  margin-left: 5px;
  color: var(--acid);
}

.online-street {
  border: 0;
  background: transparent;
}

.online-board .online-card.is-community-new {
  animation: onlinePokerCommunity .58s calc(var(--community-delay, 0s) + var(--poker-animation-elapsed, 0s)) cubic-bezier(.18,.8,.2,1) both;
}

.online-board .online-card:nth-child(2) {
  --community-delay: .1s;
}

.online-board .online-card:nth-child(3) {
  --community-delay: .2s;
}

.online-board .online-card:nth-child(4) {
  --community-delay: .3s;
}

.online-board .online-card:nth-child(5) {
  --community-delay: .4s;
}

.online-board.is-updating + .online-street {
  animation: onlinePokerStreet .7s var(--poker-animation-elapsed, 0s) ease both;
}

@keyframes onlinePokerDeal {
  0% {
    opacity: 0;
    transform: translate3d(var(--deal-origin-x), var(--deal-origin-y), 0) rotate(-16deg) scale(.72);
  }
  68% { opacity: 1; transform: translate3d(-2px, 3px, 0) rotate(2deg) scale(1.03); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); }
}

@keyframes onlinePokerCommunity {
  0% { opacity: 0; transform: translate3d(110px, -35px, 0) rotate(14deg) scale(.72); }
  70% { opacity: 1; transform: translate3d(-3px, 2px, 0) rotate(-2deg) scale(1.04); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); }
}

@keyframes onlinePokerReveal {
  0% { opacity: .25; transform: perspective(500px) rotateY(90deg) scale(.86); filter: brightness(.55); }
  58% { opacity: 1; transform: perspective(500px) rotateY(-8deg) scale(1.06); filter: brightness(1.35); }
  100% { opacity: 1; transform: perspective(500px) rotateY(0) scale(1); filter: brightness(1); }
}

@keyframes onlinePokerStreet {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.poker-online-actions {
  grid-template-columns: 1fr 1fr;
}

.online-durak-game {
  --table-accent: var(--mint);
}

.online-durak-table,
.online-blackjack-table {
  border-radius: 38px;
}

.online-durak-table {
  border-color: #1b302d;
  background:
    radial-gradient(circle at 50% 48%, rgba(0,215,162,.14), transparent 42%),
    repeating-linear-gradient(125deg, rgba(255,255,255,.012) 0 2px, transparent 2px 9px),
    #0d3a34;
}

.online-durak-opponent,
.online-durak-player,
.online-blackjack-dealer {
  position: absolute;
  z-index: 4;
  left: 50%;
  width: calc(100% - 30px);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  transform: translateX(-50%);
}

.online-durak-opponent {
  top: 16px;
}

.online-durak-player {
  bottom: 16px;
}

.online-card-fan {
  min-height: 64px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.online-card-fan > .online-card {
  margin-left: -27px;
}

.online-card-fan > .online-card:first-child {
  margin-left: 0;
}

.online-card-fan.is-player {
  width: 95%;
  min-height: 82px;
  padding: 10px 4px 2px;
  gap: 6px;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-color: color-mix(in srgb, var(--table-accent) 55%, transparent) rgba(0,0,0,.2);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.online-card-fan.is-player::-webkit-scrollbar {
  height: 5px;
}

.online-card-fan.is-player::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--table-accent) 55%, transparent);
}

.online-card-fan.is-player button {
  margin-left: 0;
  scroll-snap-align: start;
}

.online-card-fan.is-player.is-compact {
  justify-content: center;
}

.online-card-fan button {
  margin-left: -18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .18s ease;
}

.online-card-fan button:first-child {
  margin-left: 0;
}

.online-card-fan button:not(:disabled):hover {
  z-index: 3;
  transform: translateY(-10px);
}

.online-card-fan button:disabled {
  cursor: not-allowed;
}

.online-durak-stock {
  position: absolute;
  z-index: 4;
  left: 4%;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(-50%);
}

.online-durak-stock > .online-card {
  transform: rotate(90deg);
}

.online-durak-stock > span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.online-deck {
  position: relative;
  width: 49px;
  height: 69px;
  display: grid;
  place-items: center;
  color: var(--mint);
  font-family: var(--display);
  border: 1px solid rgba(0,215,162,.48);
  border-radius: 8px;
  background: #0b111a;
  box-shadow: -4px 4px 0 #132721, -7px 7px 0 #0a1713;
}

.online-deck b {
  position: absolute;
  right: -10px;
  top: -10px;
  min-width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #07100a;
  font-size: 8px;
  border-radius: 50%;
  background: var(--acid);
}

.online-durak-battle {
  position: absolute;
  z-index: 3;
  left: 27%;
  right: 4%;
  top: 50%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translateY(-50%);
}

.online-durak-battle > div {
  position: relative;
  width: 68px;
  height: 108px;
}

.online-durak-battle > div .online-card {
  position: absolute;
  left: 0;
  top: 15px;
}

.online-durak-battle > div .online-card:nth-child(2) {
  left: 15px;
  top: -3px;
  transform: rotate(8deg);
}

.online-durak-battle > p {
  color: rgba(255,255,255,.35);
  font-size: 10px;
  text-align: center;
}

.online-blackjack-game {
  --table-accent: #ffc556;
}

.online-blackjack-table {
  border-color: #302b1b;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,197,86,.1), transparent 43%),
    repeating-linear-gradient(125deg, rgba(255,255,255,.012) 0 2px, transparent 2px 9px),
    #183c31;
}

.online-blackjack-dealer {
  top: 22px;
}

.online-blackjack-players {
  position: absolute;
  z-index: 4;
  inset: 22px 3%;
}

.online-blackjack-seat {
  position: absolute;
  left: 50%;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  transform: translateX(-50%);
}

.online-blackjack-seat.is-opponent {
  top: 0;
}

.online-blackjack-seat.is-me {
  bottom: 0;
}

.online-blackjack-seat.is-me .online-player-badge {
  border-color: rgba(255,197,86,.34);
}

.online-blackjack-chip {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 105px;
  height: 105px;
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
  border: 2px dashed rgba(255,197,86,.3);
  border-radius: 50%;
  background: rgba(0,0,0,.13);
  transform: translate(-50%, -50%);
}

.online-blackjack-chip span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .14em;
}

.online-blackjack-chip strong {
  color: #ffc556;
  font-family: var(--display);
  font-size: 17px;
}

.blackjack-online-actions button:last-child {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .online-game {
    grid-template-columns: 1fr;
  }

  .online-console {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .online-status {
    grid-row: span 3;
  }

  .online-console .arena-live-exit {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .arena-poker-entry {
    grid-template-columns: 1fr;
  }

  .arena-player-list {
    grid-template-columns: 1fr 1fr;
  }

  .online-game {
    margin-inline: -6px;
    border-radius: 20px;
  }

  .online-game-head {
    padding-inline: 12px;
  }

  .online-poker-table,
  .online-durak-table,
  .online-blackjack-table {
    min-height: 540px;
    margin: 9px;
    border-width: 6px;
  }

  .online-poker-table {
    border-radius: 34% / 10%;
  }

  .online-card {
    width: 42px;
    height: 60px;
    padding: 5px;
  }

  .online-card b {
    font-size: 10px;
  }

  .online-card > i {
    font-size: 17px;
  }

  .online-card small {
    font-size: 9px;
  }

  .online-player-badge {
    min-width: 118px;
    max-width: 145px;
    padding-right: 8px;
  }

  .online-player-badge > span {
    width: 29px;
    height: 29px;
  }

  .online-poker-seat .online-card {
    width: 35px;
    height: 50px;
  }

  .online-poker-seat.is-left {
    left: 4px;
    top: 34%;
  }

  .online-poker-seat.is-right {
    right: 4px;
    top: 66%;
  }

  .online-poker-seat.is-left .online-player-badge,
  .online-poker-seat.is-right .online-player-badge {
    min-width: 102px;
    max-width: 112px;
  }

  .online-poker-center {
    width: 72%;
  }

  .online-board {
    gap: 2px;
  }

  .online-board .online-card {
    width: 40px;
    height: 57px;
  }

  .online-console {
    padding: 15px;
    display: flex;
  }

  .online-status {
    min-height: 105px;
  }

  .online-durak-stock {
    left: -7px;
    transform: translateY(-50%) scale(.72);
    transform-origin: left center;
  }

  .online-durak-battle {
    left: 21%;
    right: 1%;
    gap: 2px;
  }

  .online-durak-battle > div {
    width: 51px;
    height: 84px;
  }

  .online-card-fan button {
    margin-left: -22px;
  }

  .online-card-fan.is-player button {
    margin-left: 0;
  }

  .online-blackjack-players {
    inset-inline: 1%;
  }

  .online-blackjack-seat .online-seat-cards {
    gap: 1px;
  }

  .online-blackjack-seat .online-card {
    margin-left: -25px;
  }

  .online-blackjack-seat .online-card:first-child {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  html[data-telegram="true"] .online-poker-game,
  html[data-telegram="true"] .online-blackjack-game {
    height: calc(var(--app-viewport-height, 100vh) - 150px);
    min-height: 540px;
    max-height: 720px;
    grid-template-rows: 40px minmax(0, 1fr) auto;
  }

  html[data-telegram="true"] .online-poker-game .online-game-head,
  html[data-telegram="true"] .online-blackjack-game .online-game-head {
    min-height: 40px;
  }

  html[data-telegram="true"] .online-poker-game .online-poker-table,
  html[data-telegram="true"] .online-blackjack-game .online-blackjack-table {
    min-height: 0;
    height: auto;
    margin: 6px;
  }

  html[data-telegram="true"] .online-poker-game .online-console,
  html[data-telegram="true"] .online-blackjack-game .online-console {
    padding: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
    border-top: 1px solid var(--line);
  }

  html[data-telegram="true"] .online-poker-game .online-status,
  html[data-telegram="true"] .online-blackjack-game .online-status {
    min-height: 0;
    padding: 8px 10px;
    grid-column: 1 / -1;
  }

  html[data-telegram="true"] .online-poker-game .online-status span,
  html[data-telegram="true"] .online-poker-game .online-status small,
  html[data-telegram="true"] .online-blackjack-game .online-status span,
  html[data-telegram="true"] .online-blackjack-game .online-status small {
    display: none;
  }

  html[data-telegram="true"] .online-poker-game .online-status strong,
  html[data-telegram="true"] .online-blackjack-game .online-status strong {
    font-size: 11px;
  }

  html[data-telegram="true"] .online-poker-game .online-actions,
  html[data-telegram="true"] .online-blackjack-game .online-actions {
    gap: 5px;
  }

  html[data-telegram="true"] .online-poker-game .online-actions button,
  html[data-telegram="true"] .online-blackjack-game .online-actions button,
  html[data-telegram="true"] .online-poker-game .online-console > .button {
    min-height: 34px;
    font-size: 7px;
    border-radius: 8px;
  }

  html[data-telegram="true"] .online-poker-game .online-raise {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
  }

  html[data-telegram="true"] .online-poker-game .online-raise input {
    height: 34px;
  }

  html[data-telegram="true"] .online-poker-game .poker-table-wallet {
    padding: 6px;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 5px;
  }

  html[data-telegram="true"] .online-poker-game .poker-table-wallet input,
  html[data-telegram="true"] .online-poker-game .poker-table-wallet > button {
    height: 30px;
    min-height: 30px;
  }

  html[data-telegram="true"] .online-poker-game .online-console .arena-live-exit,
  html[data-telegram="true"] .online-blackjack-game .online-console .arena-live-exit {
    min-height: 30px;
    margin: 0;
    font-size: 7px;
  }

  html[data-telegram="true"] .poker-game,
  html[data-telegram="true"] .blackjack-game {
    height: calc(var(--app-viewport-height, 100vh) - 150px);
    min-height: 540px;
    max-height: 720px;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  html[data-telegram="true"] .poker-table-wrap,
  html[data-telegram="true"] .blackjack-table-wrap {
    min-height: 0;
    overflow: hidden;
  }

  html[data-telegram="true"] .poker-table,
  html[data-telegram="true"] .blackjack-table {
    min-height: 0;
    height: 100%;
  }

  html[data-telegram="true"] .poker-console,
  html[data-telegram="true"] .blackjack-console {
    position: relative;
    z-index: 12;
    padding: 9px;
    gap: 6px;
  }

  html[data-telegram="true"] .poker-status,
  html[data-telegram="true"] .blackjack-status {
    min-height: 64px;
    padding: 9px;
  }

  html[data-telegram="true"] .poker-status small,
  html[data-telegram="true"] .blackjack-status small,
  html[data-telegram="true"] .blackjack-help {
    display: none;
  }
}

@media (max-width: 980px) {
  .skill-kill-section {
    padding-block: 90px 82px;
  }

  .skill-kill-hero {
    grid-template-columns: 1fr;
  }

  .skill-kill-copy {
    max-width: 760px;
  }

  .skill-kill-showcase {
    width: 100%;
  }

  .skill-kill-controls {
    width: 100%;
  }

  .skill-kill-flow {
    grid-template-columns: 1fr 1fr;
  }

  .skill-kill-flow article:nth-child(2) {
    border-right: 0;
  }

  .skill-kill-flow article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(58,156,255,.12);
  }
}

@media (max-width: 720px) {
  .skill-kill-section {
    padding-block: 72px 76px;
  }

  .skill-kill-section::before {
    top: 26px;
    font-size: 74px;
  }

  .skill-kill-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .skill-kill-heading > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .skill-kill-copy h2 {
    font-size: clamp(31px, 10.2vw, 48px);
  }

  .skill-kill-welcome {
    font-size: 14px;
  }

  .skill-kill-equation {
    width: 100%;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }

  .skill-kill-equation > div {
    min-width: 0;
  }

  .skill-kill-equation > div:last-of-type {
    grid-column: 1 / -1;
    margin-top: 5px;
    padding-top: 12px;
    border-top: 1px solid rgba(58,156,255,.15);
  }

  .skill-kill-equation > i:nth-of-type(2) {
    display: none;
  }

  .skill-kill-showcase {
    aspect-ratio: 1 / .78;
  }

  .skill-kill-screen img {
    object-position: center;
  }

  .skill-kill-screen-meta {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .skill-kill-screen-meta b {
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .skill-kill-controls {
    padding-bottom: 6px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .skill-kill-controls::-webkit-scrollbar {
    display: none;
  }

  .skill-kill-controls button {
    min-width: 154px;
    min-height: 70px;
    scroll-snap-align: start;
  }

  .skill-kill-flow {
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .skill-kill-flow article,
  .skill-kill-flow article:nth-child(2) {
    min-height: 0;
    padding: 20px 5px;
    border-right: 0;
    border-bottom: 1px solid rgba(58,156,255,.12);
  }

  .skill-kill-flow article:last-child {
    border-bottom: 0;
  }

  .skill-kill-footer {
    padding: 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .skill-kill-footer > strong {
    text-align: left;
  }

  html[data-telegram="true"] .skill-kill-section {
    padding-top: 62px;
  }

  html[data-telegram="true"] .skill-kill-screen-meta b {
    display: none;
  }
}

@media (max-width: 980px) {
  .member-signal {
    grid-template-columns: minmax(0, 1fr) minmax(230px, .75fr);
    gap: 22px;
  }

  .member-signal > button {
    grid-column: 1 / -1;
    width: min(100%, 360px);
  }
}

@media (max-width: 720px) {
  html[data-telegram="true"] .mini-account-cta {
    width: calc(100% - 28px);
    min-height: 66px;
    margin: calc(env(safe-area-inset-top, 0px) + 76px) auto 16px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-align: left;
    border: 1px solid rgba(158,255,89,.25);
    border-radius: 17px;
    background:
      linear-gradient(105deg, rgba(158,255,89,.11), transparent 58%),
      rgba(11,17,26,.94);
    box-shadow: 0 18px 46px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.04);
    cursor: pointer;
  }

  html[data-telegram="true"] .mini-account-cta[hidden] {
    display: none;
  }

  .mini-account-cta-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #07100a;
    font-family: var(--display);
    font-size: 17px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--acid), var(--mint));
    box-shadow: 0 0 22px rgba(158,255,89,.22);
  }

  .mini-account-cta > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  .mini-account-cta strong {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mini-account-cta small {
    overflow: hidden;
    color: var(--muted);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mini-account-cta > b {
    color: var(--acid);
    font-size: 18px;
  }

  .member-signal {
    min-height: 0;
    margin-block: 38px 8px;
    padding: 24px 20px;
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 21px;
  }

  .member-signal ul {
    gap: 7px;
  }

  .member-signal > button {
    width: 100%;
    min-width: 0;
  }

  .member-signal-orbit {
    right: -90px;
    top: 34%;
  }

  .registration-promo {
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 24px);
    min-height: 300px;
    border-radius: 22px;
  }

  .registration-promo > img {
    width: 78%;
    object-position: 62% center;
  }

  .registration-promo-shade {
    background:
      linear-gradient(90deg, #080d12 0 34%, rgba(8,13,18,.9) 56%, rgba(8,13,18,.1) 100%),
      linear-gradient(0deg, rgba(8,13,18,.92), transparent 70%);
  }

  .registration-promo-copy {
    width: 72%;
    min-height: 300px;
    padding: 24px 0 21px 20px;
  }

  .registration-promo-copy h2 {
    font-size: clamp(22px, 7.5vw, 31px);
  }

  .registration-promo-copy p {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  .arena-showdown-hands { grid-template-columns: 1fr; }
  .arena-showdown-hand { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .arena-showdown-hand p { display: grid; justify-items: end; }
  .tennis-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tennis-stats > div { padding: 9px; }
  .tennis-stats strong { font-size: 17px; }
  .tapper-game { grid-template-columns: 1fr; }
  .tapper-stage { min-height: 460px; padding: 22px; }
  .tapper-console { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 0; }
  .tapper-console p { grid-column: 1 / -1; }
}

/* Network board games: Neon Draughts and Neon Grid */
.game-choice-checkers::before {
  background: rgba(158, 255, 89, .13);
}

.game-choice-tic-tac-toe::before {
  background: rgba(84, 151, 255, .14);
}

.checkers-choice-visual,
.tic-tac-toe-choice-visual {
  position: relative;
  z-index: 2;
  min-height: 285px;
  display: grid;
  place-items: center;
}

.checkers-choice-visual > i {
  position: relative;
  width: 226px;
  aspect-ratio: 1;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  font-style: normal;
  border: 1px solid rgba(158, 255, 89, .36);
  border-radius: 20px;
  background: #071018;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .42), 0 0 36px rgba(158, 255, 89, .1);
  transform: perspective(600px) rotateX(7deg) rotateZ(-3deg);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.checkers-choice-visual > i > b {
  border: 1px solid rgba(255, 255, 255, .025);
  background: #16202b;
}

.checkers-choice-visual > i > b:nth-child(2),
.checkers-choice-visual > i > b:nth-child(4),
.checkers-choice-visual > i > b:nth-child(5),
.checkers-choice-visual > i > b:nth-child(7),
.checkers-choice-visual > i > b:nth-child(10),
.checkers-choice-visual > i > b:nth-child(12),
.checkers-choice-visual > i > b:nth-child(13),
.checkers-choice-visual > i > b:nth-child(15) {
  background: #080d13;
}

.checkers-choice-visual > i > span {
  position: absolute;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #08100b;
  font-family: var(--display);
  font-size: 11px;
  font-style: normal;
  border: 4px solid rgba(4, 10, 14, .5);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}

.checkers-choice-visual .is-acid {
  left: 25px;
  bottom: 27px;
  background: var(--acid);
  box-shadow: 0 0 22px rgba(158, 255, 89, .45);
}

.checkers-choice-visual .is-pink {
  right: 27px;
  top: 28px;
  background: #ff4f83;
  box-shadow: 0 0 22px rgba(255, 79, 131, .42);
}

.checkers-choice-visual .is-acid.is-king {
  left: 90px;
  bottom: 82px;
  border-color: #dfff7c;
}

.checkers-choice-visual > em,
.tic-tac-toe-choice-visual > em {
  position: absolute;
  z-index: 4;
  bottom: 22px;
  padding: 8px 13px;
  color: #07100a;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .11em;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 8px 26px rgba(158, 255, 89, .28);
}

.game-choice-checkers:hover .checkers-choice-visual > i {
  box-shadow: 0 28px 60px rgba(0, 0, 0, .48), 0 0 46px rgba(158, 255, 89, .17);
  transform: perspective(600px) rotateX(3deg) rotateZ(1deg) scale(1.035);
}

.tic-tac-toe-choice-visual > i {
  width: 220px;
  aspect-ratio: 1;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  font-style: normal;
  border: 1px solid rgba(104, 167, 255, .42);
  border-radius: 22px;
  background: rgba(5, 12, 22, .9);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .44), 0 0 42px rgba(83, 151, 255, .12);
  transform: rotate(3deg);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}

.tic-tac-toe-choice-visual > i > b {
  display: grid;
  place-items: center;
  color: var(--acid);
  font-family: var(--display);
  font-size: 29px;
  border-right: 2px solid rgba(104, 167, 255, .3);
  border-bottom: 2px solid rgba(104, 167, 255, .3);
  text-shadow: 0 0 18px rgba(158, 255, 89, .75);
}

.tic-tac-toe-choice-visual > i > b:nth-child(3n) {
  border-right: 0;
}

.tic-tac-toe-choice-visual > i > b:nth-child(n + 7) {
  border-bottom: 0;
}

.tic-tac-toe-choice-visual > i > b:nth-child(3),
.tic-tac-toe-choice-visual > i > b:nth-child(7) {
  color: #68a7ff;
  text-shadow: 0 0 18px rgba(104, 167, 255, .8);
}

.tic-tac-toe-choice-visual > em {
  color: #07101b;
  background: #68a7ff;
  box-shadow: 0 8px 26px rgba(104, 167, 255, .32);
}

.game-choice-tic-tac-toe:hover .tic-tac-toe-choice-visual > i {
  box-shadow: 0 30px 62px rgba(0, 0, 0, .48), 0 0 48px rgba(104, 167, 255, .2);
  transform: rotate(-1deg) scale(1.04);
}

.board-game-placeholder {
  min-height: 360px;
  padding: 40px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(158, 255, 89, .09), transparent 36%),
    #0a111a;
}

.board-game-placeholder.is-grid {
  background:
    linear-gradient(rgba(104, 167, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 167, 255, .045) 1px, transparent 1px),
    #0a111a;
  background-size: 40px 40px;
}

.board-game-placeholder > span {
  color: var(--acid);
  font-family: var(--display);
  font-size: 56px;
}

.board-game-placeholder > strong {
  font-family: var(--display);
  font-size: 18px;
}

.board-game-placeholder > p {
  max-width: 480px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.board-game-rules {
  margin-top: 18px;
}

.online-checkers-game {
  --table-accent: var(--acid);
}

.online-checkers-stage,
.tic-tac-toe-stage {
  position: relative;
  min-width: 0;
  min-height: 690px;
  padding: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(158, 255, 89, .09), transparent 48%),
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    #070d14;
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.online-checkers-stage {
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
}

.checkers-player-line {
  width: min(100%, 620px);
  display: flex;
  align-items: center;
  gap: 11px;
}

.checkers-player-line.is-opponent {
  align-self: end;
}

.checkers-player-line.is-mine {
  align-self: start;
}

.checkers-player-line > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #09110c;
  font-size: 8px;
  font-weight: 900;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 20px rgba(158, 255, 89, .25);
}

.checkers-player-line.is-opponent > span {
  color: white;
  background: #ff4f83;
  box-shadow: 0 0 20px rgba(255, 79, 131, .25);
}

.checkers-player-line > div {
  display: grid;
}

.checkers-player-line strong {
  font-size: 10px;
}

.checkers-player-line small {
  color: var(--muted);
  font-size: 8px;
}

.checkers-board-shell {
  position: relative;
  width: min(100%, 620px);
  padding: 0 0 20px 20px;
}

.checkers-board {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  overflow: hidden;
  contain: layout paint;
  border: 7px solid #18232d;
  border-radius: 18px;
  background: #111a23;
  box-shadow:
    0 28px 65px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(158, 255, 89, .18),
    0 0 44px rgba(158, 255, 89, .08);
}

.checkers-square {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: visible;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  appearance: none;
  cursor: default;
}

.checkers-square.is-light {
  background: #b9c4bc;
}

.checkers-square.is-dark {
  background:
    radial-gradient(circle at 50% 50%, rgba(158, 255, 89, .025), transparent 58%),
    #111a22;
}

.checkers-square.is-last-from {
  box-shadow: inset 0 0 0 3px rgba(104, 167, 255, .28);
}

.checkers-square.is-last-to {
  animation: checkerLanding .55s ease-out;
  box-shadow: inset 0 0 0 3px rgba(158, 255, 89, .42);
}

.checkers-square.is-selectable {
  cursor: pointer;
}

.checkers-square.is-selectable .checker-piece {
  filter: brightness(1.08);
}

.checkers-square.is-selectable:hover .checker-piece,
.checkers-square.is-selected .checker-piece {
  filter: brightness(1.18) drop-shadow(0 0 8px rgba(158, 255, 89, .42));
}

.checkers-square.is-selected {
  box-shadow: inset 0 0 0 4px rgba(158, 255, 89, .62);
}

.checker-piece {
  position: relative;
  z-index: 2;
  width: 72%;
  height: 72%;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  border: clamp(3px, .5vw, 6px) solid rgba(5, 11, 15, .42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 37% 30%, rgba(255, 255, 255, .42), transparent 22%),
    linear-gradient(145deg, #c7ff8d, #72d932);
  box-shadow: 0 8px 14px rgba(0, 0, 0, .48), inset 0 -5px 10px rgba(0, 0, 0, .18);
  transition: transform .2s ease, filter .2s ease;
}

.checker-piece.is-checker-animation-hidden {
  opacity: 0;
}

.checker-moving-piece {
  position: absolute;
  z-index: 12;
  margin: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--checker-slide-duration, 330ms) cubic-bezier(.22, .78, .2, 1),
    filter var(--checker-slide-duration, 330ms) ease;
  will-change: transform, filter;
}

.checker-moving-piece::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 19%;
  border-radius: 50%;
  opacity: .7;
  background: inherit;
  filter: blur(12px);
  transform: translate3d(
    calc(var(--checker-slide-x, 0px) * -.14),
    calc(var(--checker-slide-y, 0px) * -.14),
    0
  );
}

.checker-moving-piece.is-sliding {
  filter: brightness(1.18) drop-shadow(0 0 10px rgba(158, 255, 89, .38));
  transform: translate3d(
    var(--checker-slide-x, 0),
    var(--checker-slide-y, 0),
    0
  );
}

.checker-moving-piece.is-opponent.is-sliding {
  filter: brightness(1.18) drop-shadow(0 0 10px rgba(255, 79, 131, .42));
}

.checker-moving-piece.is-capture-slide {
  transition-timing-function: cubic-bezier(.16, .9, .22, 1);
}

.checkers-board.is-animating .checkers-square {
  pointer-events: none;
}

.checker-piece.is-opponent {
  background:
    radial-gradient(circle at 37% 30%, rgba(255, 255, 255, .38), transparent 22%),
    linear-gradient(145deg, #ff8db0, #dd2e66);
}

.checker-piece b {
  opacity: 0;
  color: #07100a;
  font-family: var(--display);
  font-size: clamp(8px, 1.4vw, 17px);
  font-style: normal;
}

.checker-piece.is-king {
  border-color: #fff1a8;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, .5),
    inset 0 0 0 4px rgba(255, 241, 168, .45),
    0 0 18px rgba(255, 214, 91, .38);
}

.checker-piece.is-king b {
  opacity: 1;
}

.checkers-square > span {
  position: relative;
  z-index: 3;
  width: 23%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(158, 255, 89, .85);
  animation: checkerTarget 1s ease-in-out infinite;
}

.checkers-square.is-capture-target > span {
  width: 40%;
  border: 3px solid #ff7599;
  background: transparent;
  box-shadow: 0 0 18px rgba(255, 79, 131, .75), inset 0 0 12px rgba(255, 79, 131, .3);
}

.checkers-coordinates {
  position: absolute;
  z-index: 3;
  display: grid;
  color: rgba(255, 255, 255, .36);
  font-size: 7px;
  font-weight: 900;
}

.checkers-coordinates i {
  display: grid;
  place-items: center;
  font-style: normal;
}

.checkers-coordinates.is-vertical {
  left: 0;
  top: 0;
  bottom: 20px;
  width: 20px;
  grid-template-rows: repeat(8, 1fr);
}

.checkers-coordinates.is-horizontal {
  left: 20px;
  right: 0;
  bottom: 0;
  height: 20px;
  grid-template-columns: repeat(8, 1fr);
}

.checkers-console {
  gap: 14px;
}

.checkers-legend {
  display: grid;
  gap: 7px;
}

.checkers-legend p,
.tic-tac-toe-rule {
  margin: 0;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(0, 0, 0, .15);
}

.checkers-legend p > i,
.tic-tac-toe-rule > i {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-style: normal;
  border-radius: 50%;
}

.checkers-legend .is-move {
  background: var(--acid);
  box-shadow: 0 0 12px rgba(158, 255, 89, .5);
  transform: scale(.35);
}

.checkers-legend .is-capture {
  border: 3px solid #ff7599;
  box-shadow: 0 0 12px rgba(255, 79, 131, .45);
}

.checkers-legend .is-king {
  color: #07100a;
  font-family: var(--display);
  font-size: 8px;
  background: #ffe47a;
}

.checkers-legend p > span,
.tic-tac-toe-rule > p {
  display: grid;
}

.checkers-legend b,
.tic-tac-toe-rule b {
  font-size: 8px;
}

.checkers-legend small,
.tic-tac-toe-rule small {
  color: var(--muted);
  font-size: 7px;
}

.checkers-bank {
  padding: 15px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(158, 255, 89, .18);
  border-radius: 13px;
  background: rgba(158, 255, 89, .04);
}

.checkers-bank span,
.tic-tac-toe-score span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
}

.checkers-bank strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: 24px;
}

.online-tic-tac-toe-game {
  --table-accent: #68a7ff;
}

.tic-tac-toe-stage {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: center;
  gap: 22px;
  background:
    radial-gradient(circle at 50% 52%, rgba(104, 167, 255, .14), transparent 45%),
    linear-gradient(rgba(104, 167, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 167, 255, .025) 1px, transparent 1px),
    #060d17;
  background-size: auto, 32px 32px, 32px 32px, auto;
}

.tic-tac-toe-versus {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.tic-tac-toe-versus > div {
  min-width: 0;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}

.tic-tac-toe-versus > div:last-child {
  flex-direction: row-reverse;
  text-align: right;
}

.tic-tac-toe-versus > div > span {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #061017;
  font-family: var(--display);
  border-radius: 10px;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(158, 255, 89, .25);
}

.tic-tac-toe-versus > div:last-child > span {
  color: white;
  background: #68a7ff;
  box-shadow: 0 0 18px rgba(104, 167, 255, .3);
}

.tic-tac-toe-versus p {
  min-width: 0;
  margin: 0;
  display: grid;
}

.tic-tac-toe-versus b {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tic-tac-toe-versus small {
  color: var(--muted);
  font-size: 7px;
}

.tic-tac-toe-versus > i {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.tic-tac-toe-board {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  aspect-ratio: 1;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border: 1px solid rgba(104, 167, 255, .35);
  border-radius: 28px;
  background: rgba(4, 10, 18, .86);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 55px rgba(104, 167, 255, .09);
}

.tic-tac-toe-cell {
  position: relative;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  border: 1px solid rgba(104, 167, 255, .19);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .035), transparent),
    #0c1622;
  appearance: none;
}

.tic-tac-toe-cell:not(:disabled) {
  cursor: pointer;
}

.tic-tac-toe-cell:not(:disabled):hover {
  border-color: rgba(158, 255, 89, .55);
  background: rgba(158, 255, 89, .07);
}

.tic-tac-toe-cell > i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(158, 255, 89, .14);
  box-shadow: 0 0 14px rgba(158, 255, 89, .14);
  transition: .2s ease;
}

.tic-tac-toe-cell:not(:disabled):hover > i {
  background: var(--acid);
  box-shadow: 0 0 20px rgba(158, 255, 89, .7);
  transform: scale(1.25);
}

.tic-tac-toe-cell > span {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 98px);
  line-height: 1;
}

.tic-tac-toe-cell.is-x > span {
  color: var(--acid);
  text-shadow: 0 0 12px rgba(158, 255, 89, .9), 0 0 38px rgba(158, 255, 89, .45);
}

.tic-tac-toe-cell.is-o > span {
  color: #68a7ff;
  text-shadow: 0 0 12px rgba(104, 167, 255, .92), 0 0 38px rgba(104, 167, 255, .48);
}

.tic-tac-toe-cell.is-fresh > span {
  animation: neonMarkBlink 1.05s ease-out both;
}

.tic-tac-toe-cell.is-winning {
  border-color: rgba(255, 225, 103, .8);
  box-shadow: inset 0 0 35px rgba(255, 225, 103, .14), 0 0 25px rgba(255, 225, 103, .2);
}

.tic-tac-toe-scan {
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104, 167, 255, .7), transparent);
  box-shadow: 0 0 20px rgba(104, 167, 255, .65);
  animation: ticTacToeScan 3.6s linear infinite;
}

.tic-tac-toe-score {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tic-tac-toe-score > div {
  padding: 13px;
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, .16);
}

.tic-tac-toe-score strong {
  color: #68a7ff;
  font-family: var(--display);
  font-size: 23px;
}

.tic-tac-toe-rule > i {
  border: 3px solid #68a7ff;
  border-radius: 7px;
  box-shadow: 0 0 14px rgba(104, 167, 255, .4);
}

.tic-tac-toe-final-board {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  border: 1px solid rgba(104, 167, 255, .32);
  border-radius: 19px;
  background: rgba(5, 12, 21, .9);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .38), 0 0 36px rgba(104, 167, 255, .09);
}

.tic-tac-toe-final-board > span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(104, 167, 255, .14);
  border-radius: 11px;
  background: #0c1622;
}

.tic-tac-toe-final-board b {
  color: var(--acid);
  font-family: var(--display);
  font-size: clamp(34px, 7vw, 62px);
  text-shadow: 0 0 18px rgba(158, 255, 89, .62);
}

.tic-tac-toe-final-board .is-o b {
  color: #68a7ff;
  text-shadow: 0 0 18px rgba(104, 167, 255, .66);
}

.tic-tac-toe-final-board .is-fresh b {
  animation: neonMarkBlink 1.05s ease-out both;
}

.tic-tac-toe-final-board .is-winning {
  border-color: rgba(255, 225, 103, .72);
  box-shadow: inset 0 0 24px rgba(255, 225, 103, .12);
}

.game-victory-overlay.is-tic-tac-toe-victory::before,
.game-victory-overlay.is-tic-tac-toe-victory::after,
.game-victory-overlay.is-checkers-victory::before {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.game-victory-overlay.is-tic-tac-toe-victory::before {
  width: min(70%, 520px);
  aspect-ratio: 1;
  border: 2px solid rgba(104, 167, 255, .4);
  border-radius: 28px;
  box-shadow:
    0 0 0 32px rgba(104, 167, 255, .035),
    0 0 0 64px rgba(158, 255, 89, .025),
    0 0 80px rgba(104, 167, 255, .25);
  animation: ticTacToeVictoryGrid 1.5s ease-out both;
}

.game-victory-overlay.is-tic-tac-toe-victory::after {
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fff, var(--acid), #68a7ff, transparent);
  box-shadow: 0 0 24px #68a7ff;
  animation: ticTacToeVictoryBeam 1.6s .15s cubic-bezier(.2, .8, .2, 1) both;
}

.game-victory-overlay.is-checkers-victory::before {
  width: min(55%, 410px);
  aspect-ratio: 1;
  border: 18px double rgba(158, 255, 89, .25);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(158, 255, 89, .2);
  animation: checkerVictoryHalo 2.2s ease-out both;
}

@keyframes checkerLanding {
  0% { filter: brightness(2); }
  100% { filter: brightness(1); }
}

@keyframes checkerTarget {
  50% { opacity: .42; transform: scale(.68); }
}

@keyframes neonMarkBlink {
  0%, 18%, 36% { opacity: .08; transform: scale(.62); filter: blur(8px); }
  9%, 27%, 52% { opacity: 1; transform: scale(1.12); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes ticTacToeScan {
  from { top: 8%; opacity: 0; }
  10%, 90% { opacity: .8; }
  to { top: 92%; opacity: 0; }
}

@keyframes ticTacToeVictoryGrid {
  0% { opacity: 0; transform: rotate(-18deg) scale(.45); }
  65% { opacity: 1; transform: rotate(4deg) scale(1.08); }
  100% { opacity: .65; transform: rotate(0) scale(1); }
}

@keyframes ticTacToeVictoryBeam {
  0% { opacity: 0; transform: rotate(-45deg) scaleX(0); }
  45% { opacity: 1; transform: rotate(-45deg) scaleX(1.15); }
  100% { opacity: .5; transform: rotate(-45deg) scaleX(1); }
}

@keyframes checkerVictoryHalo {
  0% { opacity: 0; transform: scale(.25) rotate(-45deg); }
  60% { opacity: 1; transform: scale(1.12) rotate(8deg); }
  100% { opacity: .55; transform: scale(1) rotate(0); }
}

@media (max-width: 980px) {
  .online-checkers-stage,
  .tic-tac-toe-stage {
    min-height: 620px;
  }
}

@media (max-width: 720px) {
  .checkers-choice-visual,
  .tic-tac-toe-choice-visual {
    min-height: 240px;
  }

  .checkers-choice-visual > i,
  .tic-tac-toe-choice-visual > i {
    width: 190px;
  }

  .online-checkers-stage,
  .tic-tac-toe-stage {
    min-height: auto;
    padding: 14px;
  }

  .online-checkers-stage {
    gap: 9px;
  }

  .checkers-board {
    border-width: 4px;
    border-radius: 12px;
  }

  .checkers-player-line {
    gap: 8px;
  }

  .checkers-player-line > span {
    width: 31px;
    height: 31px;
  }

  .tic-tac-toe-stage {
    gap: 13px;
  }

  .tic-tac-toe-board {
    padding: 7px;
    gap: 5px;
    border-radius: 18px;
  }

  .tic-tac-toe-cell {
    border-radius: 11px;
  }

  .tic-tac-toe-cell > span {
    font-size: clamp(44px, 19vw, 76px);
  }

  .tic-tac-toe-versus {
    gap: 7px;
  }

  .tic-tac-toe-versus > div {
    padding: 6px;
  }

  .tic-tac-toe-versus > div > span {
    width: 29px;
    height: 29px;
  }
}

/* Fruit Drop X */
.game-choice-fruit-drop::before {
  width: 440px;
  height: 440px;
  right: -105px;
  top: -15px;
  opacity: .95;
  background:
    radial-gradient(circle, rgba(87, 235, 255, .24), rgba(117, 54, 255, .2) 42%, transparent 70%);
  filter: blur(30px);
  animation: fruitChoiceAura 3.2s ease-in-out infinite;
}

.game-choice-fruit-drop {
  border-color: rgba(112, 234, 255, .24);
  background:
    linear-gradient(155deg, rgba(112, 234, 255, .1), transparent 31%),
    radial-gradient(circle at 75% 30%, rgba(111, 64, 255, .2), transparent 44%),
    #0a1020;
  box-shadow: 0 24px 65px rgba(0, 0, 0, .3), inset 0 0 45px rgba(77, 94, 255, .05);
}

.game-choice-fruit-drop:hover {
  border-color: rgba(132, 245, 255, .75);
  box-shadow:
    0 35px 85px rgba(0, 0, 0, .45),
    0 0 20px rgba(112, 234, 255, .28),
    0 0 54px rgba(115, 73, 255, .22),
    inset 0 0 35px rgba(112, 234, 255, .08);
}

.fruit-drop-choice-visual {
  position: relative;
  z-index: 1;
  min-height: 285px;
  display: grid;
  place-items: center;
  animation: fruitChoiceShake 4.8s linear infinite;
}

.fruit-drop-choice-visual::before,
.fruit-drop-choice-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.fruit-drop-choice-visual::before {
  width: 260px;
  height: 260px;
  border: 2px solid rgba(112, 234, 255, .22);
  box-shadow: inset 0 0 24px rgba(115, 72, 255, .3), 0 0 35px rgba(56, 218, 255, .26);
  animation: fruitChoiceRing 2.4s linear infinite;
}

.fruit-drop-choice-visual::after {
  width: 225px;
  height: 225px;
  background: radial-gradient(circle, rgba(112, 234, 255, .2), transparent 67%);
  filter: blur(9px);
  animation: fruitChoicePulse 1.15s ease-in-out infinite alternate;
}

.fruit-drop-choice-grid {
  position: relative;
  width: 208px;
  height: 208px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  overflow: hidden;
  border: 1px solid rgba(112, 234, 255, .3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 100%, rgba(111, 46, 255, .42), transparent 54%),
    linear-gradient(145deg, #121329, #080a17);
  box-shadow: inset 0 0 34px rgba(67, 210, 255, .1), 0 24px 55px rgba(0, 0, 0, .45), 0 0 30px rgba(114, 75, 255, .13);
  transform: perspective(600px) rotateX(7deg) rotateZ(-2deg);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}

.game-choice-fruit-drop:hover .fruit-drop-choice-grid {
  transform: perspective(600px) translateY(-7px) rotateX(2deg) rotateZ(1deg);
  box-shadow: inset 0 0 38px rgba(67, 210, 255, .17), 0 31px 65px rgba(0, 0, 0, .5), 0 0 42px rgba(114, 75, 255, .22);
}

.fruit-drop-choice-grid b {
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, .025);
  background-image: url("assets/fruit-drop-x/symbols.png");
  background-repeat: no-repeat;
  background-size: 400% 200%;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .45));
  animation: fruitChoiceSymbolCharge 2.2s ease-in-out infinite;
}

.fruit-drop-choice-grid b:nth-child(2n) {
  animation-delay: -.7s;
}

.fruit-drop-choice-grid b:nth-child(3n) {
  animation-delay: -1.35s;
}

.fruit-drop-choice-bolt {
  position: absolute;
  z-index: 3;
  width: 9px;
  height: 220px;
  top: 9px;
  left: 51%;
  background: #f4ffff;
  box-shadow: 0 0 8px #fff, 0 0 20px #2bdcff, 0 0 42px #735aff, 0 0 70px rgba(112, 234, 255, .7);
  clip-path: polygon(34% 0, 100% 0, 60% 45%, 100% 45%, 0 100%, 37% 56%, 0 56%);
  opacity: .94;
  transform: rotate(19deg);
  animation: fruitBoltStrike 2.65s steps(1) infinite;
}

.fruit-drop-choice-arcs {
  position: absolute;
  z-index: 5;
  inset: 18px;
  pointer-events: none;
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px #21dfff);
}

.fruit-drop-choice-arcs i {
  position: absolute;
  width: 105px;
  height: 4px;
  background: #dffeff;
  clip-path: polygon(0 34%, 18% 0, 34% 65%, 54% 5%, 73% 70%, 100% 25%, 100% 70%, 74% 100%, 55% 43%, 35% 100%, 17% 39%, 0 76%);
  opacity: 0;
  animation: fruitChoiceArc 2.65s steps(1) infinite;
}

.fruit-drop-choice-arcs i:first-child {
  top: 35px;
  left: 5px;
  transform: rotate(24deg);
}

.fruit-drop-choice-arcs i:nth-child(2) {
  top: 81px;
  right: -3px;
  transform: rotate(-28deg);
  animation-delay: .06s;
}

.fruit-drop-choice-arcs i:nth-child(3) {
  left: 42px;
  bottom: 23px;
  transform: rotate(-8deg);
  animation-delay: .12s;
}

.fruit-drop-choice-visual > em {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 25px;
  padding: 7px 10px;
  color: #071018;
  font-family: var(--display);
  font-size: 8px;
  font-style: normal;
  letter-spacing: .04em;
  border-radius: 999px;
  background: #70eaff;
  box-shadow: 0 0 20px rgba(112, 234, 255, .7);
}

[data-fruit-symbol="CHERRY"],
.fruit-drop-symbol[data-symbol="CHERRY"] { background-position: 0 0; }
[data-fruit-symbol="LEMON"],
.fruit-drop-symbol[data-symbol="LEMON"] { background-position: 33.333% 0; }
[data-fruit-symbol="GRAPES"],
.fruit-drop-symbol[data-symbol="GRAPES"] { background-position: 66.666% 0; }
[data-fruit-symbol="WATERMELON"],
.fruit-drop-symbol[data-symbol="WATERMELON"] { background-position: 100% 0; }
[data-fruit-symbol="BELL"],
.fruit-drop-symbol[data-symbol="BELL"] { background-position: 0 100%; }
[data-fruit-symbol="BAR"],
.fruit-drop-symbol[data-symbol="BAR"] { background-position: 33.333% 100%; }
[data-fruit-symbol="SEVEN"],
.fruit-drop-symbol[data-symbol="SEVEN"] { background-position: 66.666% 100%; }
[data-fruit-symbol="WILD"],
.fruit-drop-symbol[data-symbol="WILD"] { background-position: 100% 100%; }

.fruit-drop-header {
  align-items: center;
}

.fruit-drop-fairness {
  margin-left: auto;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 7px;
  color: #70eaff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  border: 1px solid rgba(112, 234, 255, .18);
  border-radius: 10px;
  background: rgba(5, 14, 29, .7);
}

.fruit-drop-fairness i {
  grid-row: 1 / 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.fruit-drop-fairness strong {
  color: var(--acid);
  font-family: var(--display);
  font-size: 8px;
}

.fruit-drop-game {
  --fd-acid: #c9ff4d;
  --fd-electric: #70eaff;
  --fd-violet: #8d5cff;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 18px;
}

.fruit-drop-stage,
.fruit-drop-console {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .045), transparent 34%),
    #090d19;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .35);
}

.fruit-drop-stage {
  position: relative;
  min-height: 690px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(94, 48, 214, .22), transparent 48%),
    radial-gradient(circle at 20% 85%, rgba(42, 210, 255, .09), transparent 37%),
    #070a15;
}

.fruit-drop-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(112, 234, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 234, 255, .07) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, transparent, #000 35%, #000);
  transform: perspective(500px) rotateX(65deg) scale(1.7) translateY(22%);
}

.fruit-drop-machine {
  position: relative;
  width: min(100%, 660px);
}

.fruit-drop-hud {
  min-height: 64px;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid rgba(112, 234, 255, .18);
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(23, 30, 54, .95), rgba(7, 10, 22, .95));
  box-shadow: 0 0 35px rgba(82, 70, 255, .12);
}

.fruit-drop-hud > div:first-child,
.fruit-drop-hud > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fruit-drop-hud > div:last-child {
  text-align: right;
}

.fruit-drop-hud span {
  color: #66728b;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .16em;
}

.fruit-drop-hud strong {
  overflow: hidden;
  color: #d9fbff;
  font-family: var(--display);
  font-size: 10px;
  text-overflow: ellipsis;
}

.fruit-drop-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--display);
  line-height: 1;
  filter: drop-shadow(0 0 11px rgba(112, 234, 255, .35));
}

.fruit-drop-logo b {
  color: #ffcc43;
}

.fruit-drop-logo em {
  color: #70eaff;
  font-style: normal;
}

.fruit-drop-logo i {
  color: #e6ff58;
  font-size: 21px;
  font-style: italic;
}

.fruit-drop-grid-shell {
  position: relative;
  margin-top: 7px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(112, 234, 255, .24);
  border-radius: 9px 9px 20px 20px;
  background:
    linear-gradient(145deg, rgba(115, 68, 255, .15), transparent 44%),
    rgba(3, 6, 16, .96);
  box-shadow:
    inset 0 0 42px rgba(28, 148, 255, .07),
    0 0 0 4px rgba(6, 8, 19, .85),
    0 0 45px rgba(69, 47, 255, .16);
}

.fruit-drop-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  aspect-ratio: 6 / 5;
}

.fruit-drop-cell {
  position: relative;
  min-width: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 100%, rgba(87, 72, 204, .16), transparent 60%),
    rgba(15, 19, 38, .75);
  box-shadow: inset 0 0 13px rgba(0, 0, 0, .28);
  transition: border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

.fruit-drop-symbol {
  position: absolute;
  inset: 3%;
  background-image: url("assets/fruit-drop-x/symbols.png");
  background-repeat: no-repeat;
  background-size: 400% 200%;
  filter: drop-shadow(0 7px 5px rgba(0, 0, 0, .52));
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.fruit-drop-symbol[data-symbol="SEVEN"] {
  animation: fruitSevenShine 2.8s ease-in-out infinite;
}

.fruit-drop-symbol[data-symbol="WILD"] {
  filter: drop-shadow(0 0 8px rgba(128, 230, 255, .65)) drop-shadow(0 7px 5px rgba(0, 0, 0, .5));
}

.fruit-drop-cell.is-winning {
  z-index: 4;
  border-color: rgba(228, 255, 110, .8);
  box-shadow: inset 0 0 19px rgba(215, 255, 79, .24), 0 0 12px rgba(112, 234, 255, .75), 0 0 24px rgba(130, 91, 255, .45);
  animation: fruitClusterPulse .34s ease-in-out both;
}

.fruit-drop-cell.is-winning .fruit-drop-symbol {
  filter: brightness(1.28) saturate(1.22) drop-shadow(0 0 10px rgba(255, 255, 255, .55));
  transform: scale(1.08);
}

.fruit-drop-cell.is-destroying .fruit-drop-symbol {
  animation: fruitSymbolDestroy .28s cubic-bezier(.55, 0, 1, .45) both;
}

.fruit-drop-grid.is-initial-drop .fruit-drop-cell {
  animation: fruitInitialDrop .54s cubic-bezier(.16, .8, .26, 1.08) both;
}

.fruit-drop-grid.is-cascade-drop .fruit-drop-cell {
  animation: fruitCascadeDrop .38s cubic-bezier(.18, .75, .28, 1.12) both;
}

.fruit-drop-grid.is-initial-drop .fruit-drop-cell:nth-child(6n + 2),
.fruit-drop-grid.is-cascade-drop .fruit-drop-cell:nth-child(6n + 2) { animation-delay: 35ms; }
.fruit-drop-grid.is-initial-drop .fruit-drop-cell:nth-child(6n + 3),
.fruit-drop-grid.is-cascade-drop .fruit-drop-cell:nth-child(6n + 3) { animation-delay: 65ms; }
.fruit-drop-grid.is-initial-drop .fruit-drop-cell:nth-child(6n + 4),
.fruit-drop-grid.is-cascade-drop .fruit-drop-cell:nth-child(6n + 4) { animation-delay: 45ms; }
.fruit-drop-grid.is-initial-drop .fruit-drop-cell:nth-child(6n + 5),
.fruit-drop-grid.is-cascade-drop .fruit-drop-cell:nth-child(6n + 5) { animation-delay: 75ms; }
.fruit-drop-grid.is-initial-drop .fruit-drop-cell:nth-child(6n + 6),
.fruit-drop-grid.is-cascade-drop .fruit-drop-cell:nth-child(6n + 6) { animation-delay: 100ms; }

.fruit-drop-multiplier {
  position: absolute;
  z-index: 7;
  right: 4px;
  bottom: 3px;
  min-width: 28px;
  padding: 3px 5px;
  color: #07101b;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(8px, 1.1vw, 12px);
  line-height: 1.2;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  background: linear-gradient(135deg, #f5ff69, #5cecff);
  box-shadow: 0 0 8px #5cecff, 0 0 17px rgba(155, 82, 255, .85);
  animation: fruitMultiplierPulse 1.15s ease-in-out infinite;
}

.fruit-drop-cell.is-multiplier-spawn {
  animation: fruitMultiplierCell .42s cubic-bezier(.16, .82, .2, 1.25);
}

.fruit-drop-cell.is-multiplier-active .fruit-drop-multiplier {
  animation: fruitMultiplierActive .42s ease-out both;
}

.fruit-drop-lightning,
.fruit-drop-particles,
.fruit-drop-shockwaves,
.fruit-drop-flash,
.fruit-drop-energy-frame {
  position: absolute;
  z-index: 8;
  inset: 9px;
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  overflow: visible;
  pointer-events: none;
}

.fruit-drop-particles,
.fruit-drop-shockwaves {
  z-index: 10;
  overflow: visible;
}

.fruit-drop-flash {
  z-index: 13;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #fff;
  mix-blend-mode: screen;
}

.fruit-drop-flash.is-active {
  animation: fruitScreenFlash var(--flash-duration, 180ms) ease-out;
}

.fruit-drop-arc {
  fill: none;
  stroke: #e8feff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px #21dfff) drop-shadow(0 0 14px #754cff);
  animation: fruitArc .21s ease-out both;
}

.fruit-drop-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 7px var(--color);
  animation: fruitParticle var(--duration) cubic-bezier(.16, .65, .4, 1) both;
}

.fruit-drop-particle.is-fragment {
  border-radius: 1px;
}

.fruit-drop-particle.is-electric {
  width: calc(var(--size) * 2.2);
  height: 2px;
}

.fruit-drop-particle.is-star,
.fruit-drop-particle.is-coin {
  border-radius: 2px;
  transform: rotate(45deg);
}

.fruit-drop-particle.is-coin {
  border: 1px solid #fff0a0;
  background: #ffc83d;
}

.fruit-drop-shockwave {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px;
  border: 2px solid #d8fdff;
  border-radius: 50%;
  box-shadow: 0 0 12px #64e9ff, inset 0 0 9px #7b5bff;
  animation: fruitShockwave .45s ease-out both;
}

.fruit-drop-energy-frame {
  z-index: 3;
  opacity: 0;
  border: 2px solid #75eaff;
  border-radius: 9px;
  box-shadow: inset 0 0 18px #744eff, 0 0 18px #69ecff;
}

.fruit-drop-stage.is-overdrive::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(1, 2, 10, .38);
}

.fruit-drop-stage.is-overdrive .fruit-drop-energy-frame {
  opacity: 1;
  animation: fruitEnergyFrame .58s ease-in-out infinite alternate;
}

.fruit-drop-stage.is-overdrive .fruit-drop-grid {
  filter: brightness(1.12) saturate(1.2);
}

.fruit-drop-stage.is-shaking {
  animation: fruitScreenShake .16s linear;
}

.fruit-drop-multiplier-merge {
  position: absolute;
  z-index: 20;
  inset: 36% 5% auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: scale(.55);
}

.fruit-drop-multiplier-merge.is-visible {
  opacity: 1;
  animation: fruitMultiplierMerge .8s cubic-bezier(.16, .78, .25, 1) both;
}

.fruit-drop-multiplier-merge b,
.fruit-drop-multiplier-merge em {
  padding: 7px 10px;
  color: #071018;
  font-family: var(--display);
  font-size: clamp(13px, 2vw, 23px);
  font-style: normal;
  border-radius: 11px;
  background: #dfff58;
  box-shadow: 0 0 21px rgba(211, 255, 78, .76);
}

.fruit-drop-multiplier-merge i {
  color: #fff;
  font-family: var(--display);
  font-style: normal;
}

.fruit-drop-multiplier-merge em {
  color: #fff;
  background: #7455ff;
  box-shadow: 0 0 24px rgba(116, 85, 255, .9);
}

.fruit-drop-big-win {
  position: absolute;
  z-index: 30;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  text-align: center;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(77, 38, 183, .72), rgba(2, 4, 12, .94) 66%);
  pointer-events: none;
}

.fruit-drop-big-win.is-visible {
  opacity: 1;
  visibility: visible;
  animation: fruitBigWinIn .52s cubic-bezier(.15, .82, .2, 1.15) both;
}

.fruit-drop-big-win span {
  color: #79ecff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .3em;
}

.fruit-drop-big-win strong {
  color: #fff8a3;
  font-family: var(--display);
  font-size: clamp(37px, 7vw, 78px);
  letter-spacing: -.06em;
  text-shadow: 0 0 8px #fff, 0 0 23px #ffc928, 0 0 58px #915cff;
}

.fruit-drop-big-win b {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(20px, 4vw, 42px);
}

.fruit-drop-spin {
  position: relative;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: #06120d;
  border: 5px solid #18261b;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #f1ffb0, #9eff59 42%, #2dba77);
  box-shadow: inset 0 -11px 18px rgba(0, 68, 52, .3), 0 8px 0 #0c4e37, 0 14px 30px rgba(0, 0, 0, .45), 0 0 32px rgba(158, 255, 89, .32);
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}

.fruit-drop-spin:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.fruit-drop-spin:active:not(:disabled) {
  transform: translateY(5px);
  box-shadow: inset 0 -6px 14px rgba(0, 68, 52, .28), 0 3px 0 #0c4e37, 0 8px 18px rgba(0, 0, 0, .4);
}

.fruit-drop-spin:disabled {
  cursor: not-allowed;
  filter: grayscale(.65) brightness(.6);
}

.fruit-drop-spin span {
  font-family: var(--display);
  font-size: 18px;
}

.fruit-drop-spin small {
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .08em;
}

.fruit-drop-console {
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fruit-drop-status {
  min-height: 132px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(112, 234, 255, .12);
  border-radius: 16px;
  background: rgba(3, 8, 19, .72);
}

.fruit-drop-status span,
.fruit-drop-control > span,
.fruit-drop-readouts span,
.fruit-drop-math span {
  color: #718097;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .14em;
}

.fruit-drop-status strong {
  color: #f2f7ff;
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.3;
}

.fruit-drop-status small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.fruit-drop-readouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fruit-drop-readouts > div,
.fruit-drop-math > div {
  position: relative;
  padding: 12px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .025);
}

.fruit-drop-readouts strong {
  color: var(--fd-acid);
  font-family: var(--display);
  font-size: clamp(13px, 1.6vw, 18px);
}

.fruit-drop-readouts em {
  color: var(--fd-electric);
  font-style: normal;
}

.fruit-drop-readouts small {
  position: absolute;
  right: 8px;
  bottom: 7px;
  color: var(--acid);
  font-family: var(--display);
  font-size: 8px;
  opacity: 0;
  transform: translateY(4px);
}

.fruit-drop-readouts small.is-visible {
  opacity: 1;
  animation: fruitBalanceDelta 1.7s ease-out both;
}

.fruit-drop-readouts small.is-negative {
  color: #ff6685;
}

.fruit-drop-control {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .02);
}

.fruit-drop-control select,
.fruit-drop-bet-input {
  min-width: 100px;
  padding: 8px 28px 8px 10px;
  color: #fff;
  font: 800 11px var(--body);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: #0e1626;
}

.fruit-drop-bet-input {
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-color: rgba(112, 234, 255, .25);
  box-shadow: inset 0 0 12px rgba(112, 234, 255, .04);
}

.fruit-drop-bet-input b {
  color: var(--fd-electric);
  font-family: var(--display);
  font-size: 11px;
}

.fruit-drop-bet-input input {
  width: 112px;
  min-width: 0;
  padding: 8px 0;
  color: #fff;
  font: 800 12px var(--body);
  text-align: right;
  border: 0;
  outline: 0;
  background: transparent;
  appearance: textfield;
}

.fruit-drop-bet-input input::-webkit-inner-spin-button,
.fruit-drop-bet-input input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.fruit-drop-bet-input:focus-within {
  border-color: rgba(201, 255, 77, .65);
  box-shadow: 0 0 14px rgba(112, 234, 255, .15), inset 0 0 12px rgba(112, 234, 255, .08);
}

.fruit-drop-count-control {
  position: relative;
  overflow: hidden;
  border-color: rgba(201, 255, 77, .2);
  background:
    linear-gradient(100deg, rgba(201, 255, 77, .05), transparent 42%),
    rgba(255, 255, 255, .02);
}

.fruit-drop-count-control::before {
  content: "";
  position: absolute;
  inset: -25% auto -25% -40%;
  width: 38%;
  opacity: .55;
  background: linear-gradient(110deg, transparent, rgba(112, 234, 255, .32), transparent);
  transform: skewX(-18deg);
  animation: fruitDropCountSweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

.fruit-drop-count-control > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fruit-drop-count-control > span:first-child b {
  min-width: 25px;
  padding: 5px 6px;
  color: #07120c;
  font-family: var(--display);
  font-size: 10px;
  text-align: center;
  border-radius: 7px;
  background: var(--fd-acid);
  box-shadow: 0 0 18px rgba(201, 255, 77, .32);
}

.fruit-drop-range-wrap {
  min-width: 150px;
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  align-items: center;
  gap: 7px;
}

.fruit-drop-range-wrap small {
  color: #8391a7;
  font: 800 8px var(--body);
}

.fruit-drop-range-wrap input {
  width: 100%;
  height: 20px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.fruit-drop-range-wrap input:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.fruit-drop-range-wrap input::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--fd-electric) 0,
    var(--fd-acid) var(--fruit-drop-range-progress),
    #263044 var(--fruit-drop-range-progress),
    #263044 100%
  );
  box-shadow: 0 0 10px rgba(112, 234, 255, .25);
}

.fruit-drop-range-wrap input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -6.5px;
  appearance: none;
  border: 2px solid #eaffb9;
  border-radius: 50%;
  background: #87ef4d;
  box-shadow: 0 0 0 4px rgba(201, 255, 77, .12), 0 0 16px rgba(201, 255, 77, .55);
}

.fruit-drop-range-wrap input::-moz-range-track {
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--fd-electric) 0,
    var(--fd-acid) var(--fruit-drop-range-progress),
    #263044 var(--fruit-drop-range-progress),
    #263044 100%
  );
  box-shadow: 0 0 10px rgba(112, 234, 255, .25);
}

.fruit-drop-range-wrap input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid #eaffb9;
  border-radius: 50%;
  background: #87ef4d;
  box-shadow: 0 0 0 4px rgba(201, 255, 77, .12), 0 0 16px rgba(201, 255, 77, .55);
}

@keyframes fruitDropCountSweep {
  0%, 42% { left: -42%; }
  70%, 100% { left: 112%; }
}

.fruit-drop-control select option {
  background: #0e1626;
}

.slot-balance-switch[data-fruit-drop-balance-switch] {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  background: #080d18;
}

.slot-balance-switch[data-fruit-drop-balance-switch] button {
  padding: 7px 9px;
  color: #657087;
  font-size: 8px;
  font-weight: 900;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.slot-balance-switch[data-fruit-drop-balance-switch] button.is-active {
  color: #06120d;
  background: var(--fd-acid);
  box-shadow: 0 0 13px rgba(201, 255, 77, .25);
}

.fruit-drop-math {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.fruit-drop-math strong {
  color: var(--fd-electric);
  font-family: var(--display);
  font-size: 10px;
}

.fruit-drop-math small {
  color: #68738a;
  font-size: 7px;
}

.fruit-drop-stage[data-quality="LOW"] .fruit-drop-symbol {
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .45));
}

.fruit-drop-stage[data-quality="LOW"] .fruit-drop-energy-frame,
.fruit-drop-stage[data-quality="LOW"] .fruit-drop-shockwaves {
  display: none;
}

.fruit-drop-stage[data-quality="HIGH"] .fruit-drop-grid-shell {
  box-shadow:
    inset 0 0 42px rgba(28, 148, 255, .1),
    0 0 0 4px rgba(6, 8, 19, .85),
    0 0 50px rgba(69, 47, 255, .23);
}

@keyframes fruitChoiceAura {
  0%, 100% { opacity: .62; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes fruitChoiceRing {
  from { opacity: .42; transform: rotate(0) scale(.94); border-style: dashed; }
  50% { opacity: .9; transform: rotate(180deg) scale(1.04); }
  to { opacity: .42; transform: rotate(360deg) scale(.94); border-style: dashed; }
}

@keyframes fruitChoicePulse {
  from { opacity: .45; transform: scale(.86); }
  to { opacity: 1; transform: scale(1.18); }
}

@keyframes fruitChoiceShake {
  0%, 44%, 48%, 52%, 100% { transform: translate(0); }
  45% { transform: translate(-3px, 1px) rotate(-.35deg); }
  46% { transform: translate(4px, -2px) rotate(.45deg); }
  47% { transform: translate(-2px, 2px) rotate(-.2deg); }
  49% { transform: translate(3px, 0); }
  50% { transform: translate(-1px, -2px); }
  51% { transform: translate(2px, 1px); }
}

@keyframes fruitChoiceSymbolCharge {
  0%, 72%, 100% { filter: brightness(1) drop-shadow(0 5px 5px rgba(0, 0, 0, .45)); }
  82% { filter: brightness(1.45) saturate(1.32) drop-shadow(0 0 10px rgba(112, 234, 255, .75)); }
}

@keyframes fruitBoltStrike {
  0%, 39%, 43%, 100% { opacity: .22; transform: rotate(19deg) scaleY(.7); }
  40% { opacity: 1; transform: rotate(19deg) scaleY(1.08); }
  41% { opacity: .35; }
  42% { opacity: 1; transform: rotate(19deg) scaleY(1); }
}

@keyframes fruitChoiceArc {
  0%, 39%, 43%, 100% { opacity: 0; }
  40%, 42% { opacity: 1; }
  41% { opacity: .2; }
}

@keyframes fruitSevenShine {
  0%, 65%, 100% { filter: drop-shadow(0 7px 5px rgba(0, 0, 0, .52)) brightness(1); }
  73% { filter: drop-shadow(0 0 9px rgba(255, 70, 56, .75)) brightness(1.35); }
}

@keyframes fruitClusterPulse {
  0% { transform: scale(1); }
  52% { transform: scale(1.075); }
  100% { transform: scale(1.025); }
}

@keyframes fruitSymbolDestroy {
  0% { opacity: 1; transform: scale(1.08); }
  55% { opacity: .8; filter: brightness(2.4) blur(1px); transform: scale(1.25) rotate(4deg); }
  100% { opacity: 0; filter: brightness(3) blur(8px); transform: scale(.15) rotate(-12deg); }
}

@keyframes fruitInitialDrop {
  0% { opacity: 0; transform: translateY(-260%) scale(.72); }
  75% { opacity: 1; transform: translateY(8%) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fruitCascadeDrop {
  0% { opacity: .25; transform: translateY(-130%) scale(.88); }
  78% { opacity: 1; transform: translateY(7%) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fruitMultiplierPulse {
  50% { filter: brightness(1.3); transform: scale(1.09); box-shadow: 0 0 12px #fff, 0 0 23px #5cecff; }
}

@keyframes fruitMultiplierCell {
  0% { filter: brightness(.4); transform: scale(.82); }
  58% { filter: brightness(2.2); transform: scale(1.16); }
  100% { filter: brightness(1); transform: scale(1); }
}

@keyframes fruitMultiplierActive {
  0% { transform: scale(1); }
  50% { filter: brightness(2); transform: scale(1.85); }
  100% { transform: scale(1.12); }
}

@keyframes fruitArc {
  0% { opacity: 0; stroke-dasharray: 3 8; }
  18% { opacity: 1; }
  100% { opacity: 0; stroke-dasharray: 18 2; }
}

@keyframes fruitParticle {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.1) rotate(190deg); }
}

@keyframes fruitShockwave {
  0% { opacity: .95; transform: scale(.2); }
  100% { opacity: 0; transform: scale(16); }
}

@keyframes fruitScreenFlash {
  0% { opacity: var(--flash-intensity, .5); }
  100% { opacity: 0; }
}

@keyframes fruitEnergyFrame {
  from { filter: brightness(.8); transform: scale(.995); }
  to { filter: brightness(1.5); transform: scale(1.006); }
}

@keyframes fruitScreenShake {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(var(--shake), calc(var(--shake) * -.5)); }
  40% { transform: translate(calc(var(--shake) * -.7), var(--shake)); }
  60% { transform: translate(calc(var(--shake) * .5), calc(var(--shake) * -.8)); }
  80% { transform: translate(calc(var(--shake) * -.4), calc(var(--shake) * .3)); }
}

@keyframes fruitMultiplierMerge {
  0% { opacity: 0; transform: scale(.45) translateY(30px); }
  25%, 68% { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(.8) translateY(-40px); }
}

@keyframes fruitBigWinIn {
  0% { opacity: 0; transform: scale(1.2); filter: brightness(2); }
  18% { opacity: 1; transform: scale(.88); }
  70% { transform: scale(1.025); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fruitBalanceDelta {
  0% { opacity: 0; transform: translateY(6px); }
  18%, 65% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-9px); }
}

@media (max-width: 980px) {
  .fruit-drop-game {
    grid-template-columns: 1fr;
  }

  .fruit-drop-stage {
    min-height: auto;
  }

  .fruit-drop-console {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .fruit-drop-status,
  .fruit-drop-math {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .fruit-drop-header {
    align-items: flex-start;
  }

  .fruit-drop-fairness {
    display: none;
  }

  .fruit-drop-stage {
    padding: 9px;
    border-radius: 16px;
  }

  .fruit-drop-hud {
    min-height: 50px;
    padding: 6px 9px;
  }

  .fruit-drop-logo b,
  .fruit-drop-logo em {
    font-size: 10px;
  }

  .fruit-drop-logo i {
    font-size: 15px;
  }

  .fruit-drop-grid-shell {
    padding: 5px;
  }

  .fruit-drop-grid {
    gap: 3px;
  }

  .fruit-drop-cell {
    border-radius: 8px;
  }

  .fruit-drop-lightning,
  .fruit-drop-particles,
  .fruit-drop-shockwaves,
  .fruit-drop-energy-frame {
    inset: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
  }

  .fruit-drop-spin {
    width: 90px;
    height: 90px;
  }

  .fruit-drop-spin span {
    font-size: 14px;
  }

  .fruit-drop-console {
    padding: 12px;
    display: flex;
  }

  .fruit-drop-readouts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fruit-drop-cell,
  .fruit-drop-symbol,
  .fruit-drop-multiplier,
  .fruit-drop-energy-frame,
  .fruit-drop-choice-bolt,
  .fruit-drop-choice-visual,
  .fruit-drop-choice-visual::before,
  .fruit-drop-choice-visual::after,
  .fruit-drop-choice-grid b,
  .fruit-drop-choice-arcs i,
  .game-choice-fruit-drop::before {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
