:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #202126;
  color: #fff;
  --accent: #83d8ff;
  --accent-strong: #38aaf5;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end center;
}

.loader {
  --header-top: calc(10px + env(safe-area-inset-top, 0px));
  --header-gutter: 10px;
  --header-height: calc(60px + env(safe-area-inset-top, 0px));
  --nav-height: calc(66px + env(safe-area-inset-bottom, 0px));
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: min(100%, 390px);
  height: min(78vh, 720px);
  height: min(78dvh, 720px);
  container-type: size;
  overflow: hidden;
  border: 1px solid #33353b;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #000;
  box-shadow: 0 -12px 48px #0005;
}

.is-telegram {
  background: #000;
}

.is-telegram .loader {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.loader-content,
.loader-identity {
  display: grid;
  justify-items: center;
}

.loader-content {
  padding: 20px;
}

.loader-sticker {
  width: min(240px, 62vw, 48dvh);
  width: min(240px, 62cqw, 45cqh);
  aspect-ratio: 1;
  background: radial-gradient(ellipse at center, #14344b 0%, transparent 68%);
}

.loader-brand {
  margin: 4px 0 0;
  font-size: clamp(36px, 11vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.brand-accent {
  color: var(--accent);
}

.brand-letter {
  display: inline-block;
  transform-origin: center bottom;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .loader.is-ready .brand-letter {
    transition: transform 180ms ease-out;
  }

  .loader.is-ready .brand-letter:hover {
    transform: translateY(-1px) scale(1.22);
  }
}

.loader-label {
  margin: 16px 0 10px;
  color: #aaa;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.loader-track {
  width: min(168px, 58vw);
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #1a2a36;
}

.loader-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-strong), #a8e7ff);
}

.loader.is-running .loader-fill {
  animation: fill 3s linear forwards;
}

.loader.is-ready::before {
  position: absolute;
  inset: 0 0 auto;
  height: var(--header-height);
  background: #0c0c0c;
  content: "";
}

.loader.is-ready .loader-identity {
  position: absolute;
  z-index: 30;
  top: var(--header-top);
  left: calc(var(--header-gutter) + env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  gap: 8px;
  will-change: transform;
}

.loader.is-ready .loader-sticker {
  width: 36px;
  flex: none;
  background: none;
}

.loader.is-ready .loader-brand {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.balance {
  display: none;
  position: absolute;
  top: var(--header-top);
  right: calc(var(--header-gutter) + env(safe-area-inset-right, 0px));
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.loader.is-ready .balance {
  display: flex;
}

.balance-chip {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  background: #191919;
  font-size: 15px;
  font-weight: 750;
}

.balance-tickets {
  min-width: 52px;
  color: var(--accent);
}

.balance-ticket {
  position: relative;
  width: 16px;
  height: 11px;
  flex: none;
  border-radius: 2px;
  background:
    radial-gradient(circle at 0 50%, #191919 2px, transparent 2.3px),
    radial-gradient(circle at 100% 50%, #191919 2px, transparent 2.3px),
    var(--accent);
}

.balance-ticket::after {
  position: absolute;
  inset: 2px 4px 2px auto;
  border-left: 1px dashed #3278a1;
  content: "";
}

.balance-stars {
  min-width: 92px;
  color: #ffc64b;
}

.balance-star {
  display: block;
  flex: none;
}

.balance-wallet {
  position: relative;
  width: 16px;
  height: 14px;
  flex: none;
  margin-left: 8px;
  border-radius: 4px;
  background:
    linear-gradient(#777, #777) 3px 3px / 5px 1px no-repeat,
    #f8fafc;
}

.balance-wallet::after {
  position: absolute;
  inset: 4px -1px 3px auto;
  width: 9px;
  box-sizing: border-box;
  border: 1px solid #191919;
  border-radius: 4px 3px 3px 4px;
  background:
    radial-gradient(circle at 2px 2.5px, #191919 0.8px, transparent 1px),
    #f8fafc;
  content: "";
}

@media (prefers-reduced-motion: no-preference) {
  .balance-wallet::after {
    animation: wallet-clasp 4.8s ease-in-out infinite;
  }
}

@keyframes wallet-clasp {
  0%, 16%, 30%, 100% { transform: translateX(0); }
  23% { transform: translateX(1px); }
}

.tab-view {
  position: absolute;
  inset: var(--header-height) 0 var(--nav-height);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.loader:not(.is-ready) .tab-view {
  display: none;
}

.games-view,
.profile-view {
  padding: 14px 16px 20px;
}

.games-view {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 174px));
  align-content: start;
  gap: 10px;
}

.games-view[hidden] {
  display: none;
}

.winter-gifts-banner {
  position: relative;
  isolation: isolate;
  grid-column: 1 / -1;
  height: 112px;
  overflow: hidden;
  border-radius: 21px;
  background:
    radial-gradient(circle at 9% 25%, #f5ffff 0 1px, transparent 2px),
    radial-gradient(circle at 29% 14%, #c9f8ff 0 1px, transparent 2px),
    radial-gradient(circle at 73% 17%, #eefcff 0 1px, transparent 2px),
    radial-gradient(circle at 92% 34%, #c8f4ff 0 1.5px, transparent 2.5px),
    radial-gradient(ellipse at 50% -25%, #7fd8ff 0%, transparent 62%),
    linear-gradient(115deg, #51c4f6, #278de5 52%, #2770df);
  box-shadow: inset 0 1px #ffffff65, 0 9px 22px #147bd354;
}

.winter-gifts-banner::before,
.winter-gifts-banner::after {
  position: absolute;
  z-index: 1;
  right: -3%;
  bottom: -1px;
  left: -3%;
  content: "";
  pointer-events: none;
}

.winter-gifts-banner::before {
  height: 38px;
  background:
    radial-gradient(48px 20px at 12% 100%, #f7feff 97%, transparent 100%),
    radial-gradient(72px 28px at 46% 112%, #e8faff 97%, transparent 100%),
    radial-gradient(58px 25px at 89% 103%, #f8feff 97%, transparent 100%),
    linear-gradient(180deg, #d9f7ff, #a9e3fa);
  clip-path: polygon(0 20%, 12% 35%, 24% 19%, 39% 48%, 55% 43%, 70% 18%, 85% 40%, 100% 15%, 100% 100%, 0 100%);
  filter: drop-shadow(0 -2px 3px #f4ffffa8);
}

.winter-gifts-banner::after {
  z-index: 1;
  height: 23px;
  background:
    radial-gradient(72px 18px at 18% 0%, #fff 97%, transparent 100%),
    radial-gradient(88px 21px at 61% -7%, #effcff 97%, transparent 100%),
    radial-gradient(68px 19px at 97% 0%, #fff 97%, transparent 100%),
    linear-gradient(180deg, #f7fdff, #d9f6ff);
  clip-path: polygon(0 42%, 14% 25%, 31% 50%, 49% 26%, 65% 53%, 81% 23%, 100% 43%, 100% 100%, 0 100%);
  filter: drop-shadow(0 -2px 4px #ffffff90);
}

.winter-snowfall {
  position: absolute;
  z-index: 2;
  inset: -18px 0 0;
  overflow: hidden;
  pointer-events: none;
}

.winter-snowfall::before,
.winter-snowfall::after {
  position: absolute;
  inset: 0;
  content: "";
  background-repeat: repeat;
  pointer-events: none;
}

.winter-snowfall::before {
  opacity: .78;
  background-image:
    radial-gradient(circle, #f7feff 0 1px, transparent 1.8px),
    radial-gradient(circle, #d9f8ff 0 1.5px, transparent 2.4px),
    linear-gradient(180deg, transparent 40%, #eafdff 48%, transparent 58%);
  background-size: 47px 59px, 83px 91px, 109px 117px;
  background-position: 3px -11px, 20px 7px, 34px -29px;
  animation: winter-snow-fall 8s linear infinite;
}

.winter-snowfall::after {
  opacity: .55;
  filter: blur(.5px);
  background-image:
    radial-gradient(circle, #fff 0 1.8px, transparent 2.8px),
    radial-gradient(circle, #d7f6ff 0 1px, transparent 1.8px),
    linear-gradient(180deg, transparent 37%, #ffffff 48%, transparent 61%);
  background-size: 97px 83px, 61px 73px, 137px 121px;
  background-position: 16px -35px, 41px 9px, 3px -22px;
  animation: winter-snow-fall 13s linear infinite reverse;
}

.winter-gifts-orbit {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.winter-gift {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  animation: winter-gift-orbit 30s linear infinite;
  animation-delay: var(--orbit-delay, 0s);
  filter: drop-shadow(0 3px 4px #164f8950);
}

.winter-gift-mittens { --orbit-delay: 0s; width: 37px; height: 37px; }
.winter-gift-bells { --orbit-delay: -3.75s; width: 30px; height: 30px; }
.winter-gift-wreath { --orbit-delay: -7.5s; width: 36px; height: 36px; }
.winter-gift-santa { --orbit-delay: -11.25s; width: 33px; height: 33px; }
.winter-gift-candy { --orbit-delay: -15s; width: 33px; height: 33px; }
.winter-gift-sleigh { --orbit-delay: -18.75s; width: 29px; height: 29px; }
.winter-gift-stocking { --orbit-delay: -22.5s; width: 35px; height: 35px; }
.winter-gift-drink { --orbit-delay: -26.25s; width: 32px; height: 32px; }

.winter-gifts-title {
  position: absolute;
  z-index: 4;
  top: 39px;
  left: 50%;
  display: grid;
  min-width: 190px;
  height: 34px;
  box-sizing: border-box;
  place-items: center;
  padding: 0 18px;
  transform: translateX(-50%);
  border: 2px solid #d8f8ff;
  border-radius: 999px;
  background: linear-gradient(180deg, #54aef5ed, #287fe8ed);
  box-shadow: 0 3px 10px #145da27a, inset 0 1px #ffffff76;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.025em;
  text-shadow: 0 1px 2px #1557a477;
  white-space: nowrap;
}

@keyframes winter-gift-orbit {
  0%, 100% { transform: translate(-50%, -50%) translateY(-37px) scale(1); }
  12.5% { transform: translate(-50%, -50%) translate(25cqw, -32px) scale(1); }
  25% { transform: translate(-50%, -50%) translateX(38cqw) scale(1); }
  37.5% { transform: translate(-50%, -50%) translate(25cqw, 29px) scale(1); }
  50% { z-index: 3; transform: translate(-50%, -50%) translateY(34px) scale(1.18); }
  62.5% { transform: translate(-50%, -50%) translate(-25cqw, 29px) scale(1); }
  75% { transform: translate(-50%, -50%) translateX(-38cqw) scale(1); }
  87.5% { transform: translate(-50%, -50%) translate(-25cqw, -32px) scale(1); }
}

@keyframes winter-snow-fall {
  to { background-position: 26px 170px, -17px 205px, 12px 195px; }
}

@media (prefers-reduced-motion: reduce) {
  .winter-snowfall::before,
  .winter-snowfall::after { animation: none; }
  .winter-gift { animation: none; transform: translate(-50%, -50%); }
  .winter-gift-mittens { top: 24%; left: 16%; }
  .winter-gift-bells { top: 18%; left: 39%; }
  .winter-gift-wreath { top: 22%; left: 83%; }
  .winter-gift-santa { top: 73%; left: 22%; }
  .winter-gift-candy { top: 76%; left: 42%; }
  .winter-gift-sleigh { top: 72%; left: 68%; }
  .winter-gift-stocking { top: 66%; left: 90%; }
  .winter-gift-drink { top: 21%; left: 62%; }
}

@media (max-width: 350px) {
  .winter-gifts-title { min-width: 176px; padding-inline: 12px; font-size: 13px; }
}

.games-exclusive-open {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px auto;
  align-items: center;
  gap: 5px;
  min-height: 80px;
  padding: 9px 15px 9px 17px;
  border: 0;
  border-radius: 19px;
  background:
    radial-gradient(ellipse at 76% 18%, #416cbd48, transparent 37%),
    radial-gradient(ellipse at 82% 112%, #7862df49, transparent 58%),
    linear-gradient(112deg, #10243b, #171d3b 58%, #202047);
  box-shadow: inset 0 1px #ffffff12, 0 8px 20px #050b1b5c;
  color: #f3f8fc;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.games-exclusive-open:hover {
  border-color: #83d8ffb8;
  filter: brightness(1.09);
}

.games-exclusive-open:active {
  transform: scale(.985);
}

.games-exclusive-open:hover .games-exclusive-arrow {
  transform: translateX(2px);
}

.games-exclusive-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 3px;
  min-width: 0;
}

.games-exclusive-kicker {
  color: #f5f8fc;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.2;
}

.games-exclusive-kicker strong {
  color: #83d8ff;
  font: inherit;
}

.games-exclusive-title {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(16px, 4.4cqw, 19px);
  font-weight: 800;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.games-exclusive-title strong,
#games-exclusive-title span {
  color: var(--accent);
}

.games-exclusive-preview {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
}

.games-exclusive-nft {
  position: absolute;
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 6px 7px #050817a8);
}

.games-exclusive-nft-potion {
  top: 50%;
  left: 46%;
  transform: translate(-58%, -50%);
}

.games-exclusive-glint {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b7eeff;
  box-shadow: 0 0 9px 3px #68c9ff80;
  animation: exclusive-glint 2.3s ease-in-out infinite alternate;
}

.games-exclusive-glint-one {
  top: 9px;
  left: 38px;
}

.games-exclusive-glint-two {
  top: 24px;
  right: 12px;
  width: 3px;
  height: 3px;
  animation-delay: .8s;
}

@keyframes exclusive-glint {
  from { opacity: .35; transform: scale(.7); }
  to { opacity: 1; transform: scale(1.25); }
}

@media (max-width: 350px) {
  .games-exclusive-open {
    grid-template-columns: minmax(0, 1fr) 78px auto;
    padding-right: 12px;
    padding-left: 13px;
  }

  .games-exclusive-nft {
    width: 54px;
    height: 54px;
  }

  .games-exclusive-title {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .games-exclusive-glint { animation: none; }
}

.games-exclusive-arrow {
  display: block;
  width: 22px;
  height: 22px;
  overflow: visible;
  stroke: #9be4ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease, border-color 180ms ease;
}

.games-case,
.games-slots,
.games-upgrade,
.games-rocket,
.games-plinko {
  position: relative;
  isolation: isolate;
  display: grid;
  min-width: 0;
  min-height: 170px;
  box-sizing: border-box;
  align-content: end;
  overflow: hidden;
  padding: 14px;
  border-radius: 20px;
}

.games-case {
  background:
    radial-gradient(ellipse at 63% 28%, #6cc9fb, transparent 62%),
    linear-gradient(155deg, #246eb7, #101e47 86%);
}

.games-case-art {
  position: absolute;
  inset: 6px 9px 35px;
}

.games-case-nft {
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  filter: drop-shadow(0 6px 6px #091a3d8c);
}

.nft-preview,
.nft-animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nft-animation {
  visibility: hidden;
}

.nft-art.is-animated .nft-animation {
  visibility: visible;
}

.nft-art.is-animated .nft-preview {
  visibility: hidden;
}

.games-case-left {
  top: 4px;
  left: 0;
  transform: rotate(-14deg);
}

.games-case-right {
  right: -2px;
  bottom: 4px;
  transform: rotate(12deg);
}

.games-case-open {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
  text-align: left;
  text-shadow: 0 2px 6px #091a3d;
  cursor: pointer;
}

.games-case-open:focus-visible,
.games-exclusive-open:focus-visible,
.catalog-back:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

.game-catalog {
  padding: 0 16px 20px;
}

.catalog-toolbar {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  background: #000;
}

.catalog-toolbar h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.035em;
}

#cases-view .catalog-toolbar h2 { margin-right: auto; }
.catalog-sort-control { min-height: 36px; }

.catalog-toolbar h2:focus {
  outline: none;
}

.catalog-back {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #253844;
  border-radius: 12px;
  background: #13202b;
  color: var(--accent);
  cursor: pointer;
}

.catalog-back::before {
  width: 8px;
  height: 8px;
  margin-left: 3px;
  transform: rotate(45deg);
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  content: "";
}

.cases-grid,
.exclusive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-card {
  --case-glow: #4a739b;
  --case-base: #212d45;
  --case-edge: #5b86b16e;
  display: grid;
  min-width: 0;
  min-height: 156px;
  aspect-ratio: 1;
  box-sizing: border-box;
  grid-template-rows: minmax(0, 1fr) auto auto;
  justify-items: center;
  gap: 6px;
  padding: 9px 7px 10px;
  border: 1px solid var(--case-edge);
  border-radius: 18px;
  background:
    radial-gradient(circle at 19% 23%, #e8f4ff72 0 1px, transparent 1.8px),
    radial-gradient(circle at 82% 34%, #e8f4ff54 0 1.5px, transparent 2px),
    radial-gradient(circle at 25% 63%, #e8f4ff47 0 1px, transparent 1.7px),
    radial-gradient(ellipse at 50% 30%, var(--case-glow), transparent 68%),
    linear-gradient(160deg, var(--case-base), #141827);
}

.case-card[data-tier="violet"] {
  --case-glow: #684bb6;
  --case-base: #35275d;
  --case-edge: #9c79e57a;
}

.case-card[data-tier="berry"] {
  --case-glow: #aa589d;
  --case-base: #522d61;
  --case-edge: #ce80bb6e;
}

.case-card[data-tier="ember"] {
  --case-glow: #bc654d;
  --case-base: #642f49;
  --case-edge: #f08f776e;
}

.case-art {
  position: relative;
  align-self: center;
  width: min(96px, 71%);
  height: 100%;
  max-height: 94px;
  min-height: 0;
  filter: drop-shadow(0 5px 5px #090e237d);
}

.case-art-nft-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 5px;
  filter: none;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.case-card-nft-icon {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  padding: 3px;
  border: 1px solid #ffffff40;
  border-radius: 12px;
  background: #1018279c;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px #090e2380);
}

.case-card[data-gift="resistance-dog"] .case-art {
  width: min(104px, 76%);
  max-height: 104px;
}

.case-name {
  margin: 0;
  color: #f6f7ff;
  font-size: clamp(11px, 3.35cqw, 14px);
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.case-price {
  display: flex;
  min-height: 25px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid #ffffff20;
  border-radius: 8px;
  background: #0a111b70;
  font-size: 13px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.case-card[role="button"] { cursor: pointer; }
.case-card[role="button"]:focus-visible { outline: 2px solid #78d9ff; outline-offset: 3px; }

.case-opening-view { padding-bottom: 26px; }
.case-opening-view .catalog-toolbar h2 { color: #f4f8ff; }
.case-opening-panel {
  padding: 16px 13px 10px;
  border: 1px solid #27272b;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 12%, #25252840, transparent 62%), linear-gradient(155deg, #111113, #09090a 72%);
  box-shadow: inset 0 1px #ffffff0b, 0 12px 28px #0005;
}
.case-opening-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.case-opening-eyebrow { color: #f5f8fc; font-size: 17px; font-weight: 900; letter-spacing: .055em; line-height: 1.2; }
.case-opening-eyebrow strong { color: #83d8ff; font: inherit; }
.case-opening-heading p { margin: 5px 0 0; color: #a1a1a6; font-size: 13px; }
.case-opening-demo { display: flex; align-items: center; gap: 9px; padding: 5px 0 5px 8px; border: 0; border-radius: 20px; background: transparent; color: #b7c8dc; font: inherit; font-size: 12px; cursor: pointer; }
.case-demo-track { position: relative; display: block; width: 38px; height: 22px; border: 1px solid #34383e; border-radius: 20px; background: #242629; transition: background 180ms ease, border-color 180ms ease; }
.case-demo-track i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #f6f7f8; box-shadow: 0 1px 3px #0007; transition: transform 180ms ease; }
.case-opening-demo[aria-checked="true"] .case-demo-track { border-color: #ffce52; background: #bf8618; }
.case-opening-demo[aria-checked="true"] .case-demo-track i { transform: translateX(16px); }
.case-opening-demo:focus-visible { outline: 2px solid #78d9ff; outline-offset: 2px; }
.case-opening-demo:disabled { opacity: .7; cursor: wait; }
.case-roulette { position: relative; margin: 19px -13px 17px; padding: 22px 0; overflow: hidden; border-block: 1px solid #303034; background: radial-gradient(ellipse at 50% 50%, #25252855, transparent 70%), linear-gradient(90deg, #0c0c0d, #151517 50%, #0c0c0d); }
.case-roulette::before, .case-roulette::after { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 32px; background: linear-gradient(90deg, #0c0c0d, transparent); content: ""; pointer-events: none; }
.case-roulette::after { inset: 0 0 0 auto; transform: rotate(180deg); }
.case-roulette-window { overflow: hidden; }
.case-roulette-track { position: relative; z-index: 2; display: flex; width: max-content; gap: 10px; animation: case-roulette-loop 46s linear infinite; will-change: transform; }
.case-roulette-item { position: relative; z-index: 2; display: grid; width: 112px; min-height: 140px; box-sizing: border-box; justify-items: center; align-content: center; gap: 5px; padding: 8px 7px; border: 1px solid #333337; border-radius: 17px; background: linear-gradient(150deg, #232326, #151517 72%); box-shadow: inset 0 1px #ffffff0e, 0 5px 12px #0006; transition: border-color 220ms ease, box-shadow 220ms ease; }
.case-roulette-item img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 4px 8px #0009); }
.case-roulette-item .case-roulette-art { transform: scale(var(--reel-scale, 1)); transition: transform 45ms linear; will-change: transform; }
.case-roulette-item .case-roulette-star { width: 31px; height: 31px; }
.case-gift-emoji { display: grid; width: 54px; height: 54px; place-items: center; font-size: 41px; filter: drop-shadow(0 3px 5px #0007); }
.case-roulette-item .case-roulette-label { max-width: 100%; overflow: hidden; color: #e6ecf5; font-size: 10px; font-weight: 750; opacity: 0; text-overflow: ellipsis; white-space: nowrap; transition: opacity 180ms ease; }
.case-roulette-item b { display: flex; align-items: center; gap: 3px; color: #ffc43d; font-size: 11px; }
.case-roulette-item b img { width: 15px; height: 15px; }
.case-roulette-marker { position: absolute; z-index: 4; top: 0; bottom: 0; left: 50%; width: 2px; background: linear-gradient(transparent, #ffcc50 18%, #ffcc50 82%, transparent); box-shadow: 0 0 8px #ffc340aa; }
.case-roulette-pointer { position: absolute; z-index: 5; left: 50%; width: 22px; height: 16px; background: linear-gradient(180deg, #fff0a7, #ffb82d 72%); filter: drop-shadow(0 0 6px #ffbd38bb); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translateX(-50%); }
.case-roulette-pointer-top { top: 1px; }
.case-roulette-pointer-bottom { bottom: 1px; transform: translateX(-50%) rotate(180deg); }
.case-roulette.is-top-drop-pointer-return .case-roulette-marker { animation: top-drop-pointer-return 650ms both; }
.case-roulette.is-top-drop-pointer-return .case-roulette-pointer-top { animation: top-drop-pointer-return 650ms both; }
.case-roulette.is-top-drop-pointer-return .case-roulette-pointer-bottom { animation: top-drop-pointer-return-bottom 650ms both; }
.case-roulette.is-top-drop-pointer-landed .case-roulette-marker { transform: translateX(var(--top-drop-target-x)); }
.case-roulette.is-top-drop-pointer-landed .case-roulette-pointer-top { transform: translateX(-50%) translateX(var(--top-drop-target-x)); }
.case-roulette.is-top-drop-pointer-landed .case-roulette-pointer-bottom { transform: translateX(-50%) translateX(var(--top-drop-target-x)) rotate(180deg); }
@keyframes top-drop-pointer-return {
  0% { transform: translateX(0); animation-timing-function: cubic-bezier(.2,.8,.24,1); }
  100% { transform: translateX(var(--top-drop-target-x)); }
}
@keyframes top-drop-pointer-return-bottom {
  0% { transform: translateX(-50%) rotate(180deg); animation-timing-function: cubic-bezier(.2,.8,.24,1); }
  100% { transform: translateX(-50%) translateX(var(--top-drop-target-x)) rotate(180deg); }
}
.case-roulette.has-result .case-roulette-track { animation: none; }
.case-skip-button { display: flex; width: 100%; min-height: 36px; justify-content: center; align-items: center; gap: 7px; margin: -9px 0 10px; border: 1px solid #31495c; border-radius: 12px; background: linear-gradient(100deg, #142535, #18212e); color: #bdeaff; font-size: 12px; font-weight: 750; cursor: pointer; transition: background 160ms ease, opacity 160ms ease; }
.case-skip-button span { color: #7bd7ff; font-size: 21px; line-height: 12px; }
.case-skip-button:hover:not(:disabled) { background: linear-gradient(100deg, #1a3043, #202c3b); }
.case-skip-button:disabled { opacity: .6; cursor: wait; }
.case-skip-button[hidden] { display: none; }
.case-roulette.is-top-drop-pointer-return.has-result .case-roulette-track { animation: top-drop-reel-rattle 650ms both; }
.case-roulette.has-result .case-roulette-art { transform: scale(1) !important; }
@keyframes top-drop-reel-rattle {
  0%, 78% { translate: 0 0; }
  84% { translate: -1.5px 0; }
  90% { translate: 1.5px 0; }
  96% { translate: -.5px 0; }
  100% { translate: 0 0; }
}
@keyframes case-roulette-loop { to { transform: translateX(-50%); } }
.case-quantity { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.case-quantity button { min-height: 41px; border: 1px solid #343438; border-radius: 12px; background: #18181a; color: #aaaab0; font-size: 15px; font-weight: 750; cursor: pointer; }
.case-quantity button[aria-pressed="true"] { border-color: #ffd05a; background: linear-gradient(140deg, #ffd455, #f8ad20); color: #211605; box-shadow: 0 4px 14px #e6a92335; }
.case-open-button { display: flex; width: 100%; min-height: 52px; justify-content: center; align-items: center; gap: 7px; margin-top: 11px; border: 0; border-radius: 17px; background: linear-gradient(100deg, #ffca42, #ffb922); color: #1d1607; font-size: 16px; font-weight: 800; cursor: pointer; transition: filter 160ms ease, transform 160ms ease; }
.case-open-button:active { transform: scale(.985); }
.case-open-button:disabled { filter: saturate(.45); opacity: .55; cursor: not-allowed; }
.case-open-button img { filter: drop-shadow(0 1px 2px #8b520a88); }
.case-result-overlay { position: absolute; z-index: 50; inset: 0; }
.case-result-backdrop { position: absolute; inset: 0; background: #000b; backdrop-filter: blur(5px); opacity: 0; transition: opacity 240ms ease; }
.case-result-sheet { position: absolute; inset: auto 0 0; display: flex; max-height: 76%; min-height: 420px; box-sizing: border-box; flex-direction: column; align-items: center; overflow: auto; padding: 9px 12px calc(17px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #303034; border-radius: 25px 25px 0 0; background: linear-gradient(180deg, #1d1d1f, #19191b 65%); box-shadow: 0 -18px 48px #0008; transform: translateY(34px); transition: transform 280ms cubic-bezier(.2,.8,.2,1); }
.case-result-overlay.is-open .case-result-backdrop { opacity: 1; }
.case-result-overlay.is-open .case-result-sheet { transform: translateY(0); }
.case-result-handle { width: 42px; height: 5px; flex: none; margin-bottom: 19px; border-radius: 8px; background: #69696d; }
.case-result-art { position: relative; display: grid; width: 158px; height: 154px; flex: none; place-items: center; }
.case-result-image { width: 146px; height: 146px; object-fit: contain; filter: drop-shadow(0 10px 18px #0008); animation: case-result-pop 520ms cubic-bezier(.18,.85,.25,1.25) both; }
.case-result-value { position: absolute; bottom: 5px; left: 50%; display: flex; align-items: center; gap: 4px; padding: 5px 10px; border: 1px solid #ffffff0b; border-radius: 15px; background: #29272a; color: #ffd05a; font-size: 16px; font-weight: 850; white-space: nowrap; transform: translateX(-50%); }
.case-result-value img { width: 17px; height: 17px; }
.case-result-title { margin: 8px 0 0; color: #fff; font-size: 23px; font-weight: 800; text-align: center; }
.case-result-caption { margin: 3px 0 0; color: #a4a4ab; font-size: 14px; text-align: center; }
.case-result-demo-note { display: grid; gap: 4px; margin: auto 0 17px; padding-top: 20px; text-align: center; }
.case-result-demo-note strong { color: #f2f2f4; font-size: 15px; }
.case-result-demo-note span { max-width: 310px; color: #9d9da5; font-size: 12px; line-height: 1.4; }
.case-result-done { width: 100%; min-height: 50px; flex: none; border: 0; border-radius: 16px; background: #fff; color: #171719; font-size: 16px; font-weight: 800; cursor: pointer; }
.case-result-done:focus-visible { outline: 2px solid #ffd05a; outline-offset: 3px; }
@keyframes case-result-pop { from { opacity: 0; transform: translateY(14px) scale(.72); } to { opacity: 1; transform: translateY(0) scale(1); } }
.case-result-overlay.is-top-drop .case-result-art::before { position: absolute; inset: 5px; border: 1px solid #f4cd6a8c; border-radius: 50%; background: radial-gradient(circle, #f8d66d35, transparent 68%); box-shadow: 0 0 38px #f4c75a40; content: ""; animation: top-drop-halo 2.4s ease-in-out infinite alternate; }
.case-result-overlay.is-top-drop .case-result-image { position: relative; filter: drop-shadow(0 0 18px #f4c75a8c); }
.case-result-overlay.is-top-drop .case-result-title { color: #ffe394; }
.case-result-overlay.is-top-drop .case-result-value { border-color: #e6bd5d70; background: #31291b; }
.top-drop-overlay { position: absolute; z-index: 45; inset: var(--header-height) 0 var(--nav-height); display: grid; overflow: hidden; place-items: center; background: radial-gradient(ellipse at 50% 44%, #1c3e5bfa, #050910f5 72%); opacity: 0; transition: opacity 180ms ease; }
.top-drop-overlay[hidden] { display: none; }
.top-drop-overlay.is-active { opacity: 1; }
.top-drop-overlay::before { position: absolute; z-index: 1; inset: 0; background: radial-gradient(circle at 50% 43%, #fff8d67a, #f8cb4b00 40%); content: ""; opacity: 0; pointer-events: none; }
.top-drop-overlay.is-impact::before { animation: top-drop-impact 620ms ease-out both; }
.top-drop-reveal { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; text-align: center; }
.top-drop-kicker { color: #a7ddff; font-size: 11px; font-weight: 850; letter-spacing: .2em; opacity: 0; animation: top-drop-text-in 360ms .74s ease-out forwards; }
.top-drop-gift { width: min(164px, 42vw); height: min(164px, 42vw); object-fit: contain; filter: drop-shadow(0 0 25px #f4cf67b3); transform: translateY(-150px) scale(.35) rotate(-12deg); }
.top-drop-overlay.is-active .top-drop-gift { animation: top-drop-flight 1.45s cubic-bezier(.2,.8,.25,1) both; }
.top-drop-name { color: #fff3c6; font-size: clamp(24px, 7vw, 32px); font-weight: 950; letter-spacing: .06em; text-shadow: 0 0 22px #efc85e8c; opacity: 0; animation: top-drop-text-in 420ms .9s ease-out forwards; }
.top-drop-price { display: flex; align-items: center; gap: 5px; padding: 6px 12px; border: 1px solid #ffe18d80; border-radius: 999px; background: #201b17d9; color: #ffda70; font-size: 16px; font-weight: 900; opacity: 0; animation: top-drop-text-in 420ms 1.02s ease-out forwards; }
.top-drop-price img { width: 19px; height: 19px; }
.top-drop-orbit { position: absolute; top: 50%; left: 50%; width: min(270px, 72vw); height: min(270px, 72vw); border: 1px solid #9de3ff35; border-radius: 50%; box-shadow: 0 0 26px #72caff24, inset 0 0 26px #72caff18; transform: translate(-50%, -50%) scaleY(.55); }
.top-drop-orbit-one { animation: top-drop-orbit 7s linear infinite; }
.top-drop-orbit-two { width: min(215px, 58vw); height: min(215px, 58vw); border-color: #f7d67e38; transform: translate(-50%, -50%) scaleY(.6) rotate(35deg); animation: top-drop-orbit 5s linear infinite reverse; }
.loader.is-top-drop-shaking { animation: top-drop-screen-shake .48s ease-in-out 2; }
@keyframes top-drop-flight { 0% { opacity: 0; transform: translateY(-150px) scale(.35) rotate(-12deg); } 12% { opacity: 1; transform: translateY(-72px) scale(.62) rotate(7deg); } 34% { transform: translateY(0) scale(1.06) rotate(0); } 44% { transform: translateY(-18px) scale(.96) rotate(-3deg); } 57% { transform: translateY(7px) scale(1.02) rotate(2deg); } 68% { transform: translateY(-5px) scale(.99) rotate(0); } 78% { transform: translateY(2px) scale(1) rotate(0); } 100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }
@keyframes top-drop-text-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes top-drop-orbit { to { rotate: 360deg; } }
@keyframes top-drop-screen-shake { 0%, 100% { transform: translate(0, 0); } 15% { transform: translate(-4px, 2px); } 30% { transform: translate(4px, -2px); } 45% { transform: translate(-3px, -1px); } 60% { transform: translate(3px, 2px); } 75% { transform: translate(-2px, 1px); } 90% { transform: translate(2px, -1px); } }
@keyframes top-drop-impact { 0% { opacity: 0; transform: scale(.5); } 18% { opacity: .8; } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes top-drop-halo { from { opacity: .48; transform: scale(.88); } to { opacity: 1; transform: scale(1.08); } }
@media (max-height: 610px) { .case-result-sheet { min-height: 0; } .case-result-art { width: 128px; height: 122px; } .case-result-image { width: 116px; height: 116px; } .case-result-demo-note { padding-top: 10px; } }
@media (prefers-reduced-motion: reduce) { .case-roulette.is-top-drop-pointer-return .case-roulette-marker, .case-roulette.is-top-drop-pointer-return .case-roulette-pointer, .case-roulette.is-top-drop-pointer-return.has-result .case-roulette-track { animation-duration: 1ms; } .top-drop-overlay.is-active .top-drop-gift { animation-duration: 1ms; } .top-drop-kicker, .top-drop-name, .top-drop-price { animation-duration: 1ms; animation-delay: 0ms; } .loader.is-top-drop-shaking { animation: none; } .case-result-overlay.is-top-drop .case-result-art::before { animation: none; } }
.case-contents { margin-top: 20px; }
.case-contents-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.case-contents h3 { margin: 0; font-size: 18px; }
.case-sort-control { position: relative; display: flex; min-width: 0; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid #ffffff18; border-radius: 11px; background: #15181e; color: #b8c5d6; }
.case-sort-control svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.case-sort-select { max-width: 120px; min-height: 34px; padding: 0 13px 0 0; border: 0; outline: 0; appearance: none; background: transparent; color: inherit; font: inherit; font-size: 11px; cursor: pointer; }
.case-sort-select option { background: #15181e; color: #f5f7fb; }
.case-sort-control::after { position: absolute; right: 8px; width: 6px; height: 6px; border-right: 1.5px solid #9eacbd; border-bottom: 1.5px solid #9eacbd; content: ""; pointer-events: none; transform: translateY(-2px) rotate(45deg); }
.case-contents-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.case-contents-list li { display: grid; min-height: 62px; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid #ffffff08; border-radius: 15px; background: #15181e; }
.case-contents-list img, .case-stars-gift { width: 42px; height: 42px; object-fit: contain; }
.case-contents-list .case-gift-emoji { display: grid; width: 42px; height: 42px; place-items: center; font-size: 34px; }
.case-stars-gift { display: grid; place-items: center; font-size: 27px; }
.case-contents-list li > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.case-contents-list b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.case-contents-list small { color: #8e9bb0; font-size: 11px; }
.case-contents-list strong { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-radius: 12px; background: #25272a; color: #ffc13e; font-size: 12px; white-space: nowrap; }
.case-contents-list strong img { width: 17px; height: 17px; }
@media (prefers-reduced-motion: reduce) { .case-roulette-track { animation-duration: 90s; } }

.games-upgrade {
  background:
    radial-gradient(ellipse at 42% 12%, #ffdb79, transparent 62%),
    linear-gradient(158deg, #f8a237, #b55a12 72%, #57321f);
}

.games-upgrade-art {
  position: absolute;
  inset: 0 0 36px;
}

.games-upgrade-art::before,
.games-upgrade-art::after {
  position: absolute;
  inset: 0;
  content: "";
}

.games-upgrade-art::before {
  background: radial-gradient(
    ellipse 68% 120px at 50% -2px,
    transparent 0 67%,
    #fffaf1 68% 89%,
    transparent 90%
  );
}

.games-upgrade-art::after {
  background: linear-gradient(90deg, #d6f7ff, #b8f1ec 44%, #6df678 78%, #53e970);
  mask-image: radial-gradient(
    ellipse 68% 120px at 50% -2px,
    transparent 0 71%,
    #000 72% 85%,
    transparent 86%
  );
}

.games-upgrade-nft {
  position: absolute;
  z-index: 1;
  top: 3px;
  left: 50%;
  width: min(85px, 60%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 6px #5132257a);
}

.games-upgrade-pointer {
  position: absolute;
  z-index: 2;
  top: 96px;
  left: 50%;
  width: 22px;
  height: 18px;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 2px #6533138c);
}

.games-upgrade-pointer::before {
  position: absolute;
  inset: 0;
  clip-path: path("M 9.4 2 Q 11 -0.5 12.6 2 L 20.5 14.3 Q 22.5 17.5 18.8 17.5 H 3.2 Q -0.5 17.5 1.5 14.3 Z");
  background:
    radial-gradient(ellipse at 42% 16%, #fff 0%, transparent 58%),
    linear-gradient(170deg, #fff8df 10%, #ffe39d 72%, #e2a744);
  content: "";
}

.games-upgrade h3,
.games-rocket h3 {
  position: relative;
  margin: 0;
  color: #fff;
  font: 900 clamp(16px, 5.2cqw, 21px)/0.98 "Arial Black", "Segoe UI Black", system-ui, sans-serif;
  letter-spacing: -0.035em;
  text-align: center;
  text-shadow: 0 2px 5px #653313;
  text-transform: uppercase;
}

.games-upgrade h3 span,
.games-rocket h3 span {
  display: block;
}

.games-rocket {
  background:
    radial-gradient(ellipse at 68% 21%, #83eaff94, transparent 53%),
    linear-gradient(150deg, #1275e9, #1445a6 79%);
}
.games-rocket-open { cursor: pointer; }
.games-rocket-open:focus-visible { outline: 2px solid #78d9ff; outline-offset: 3px; }

.games-rocket h3 {
  text-shadow: 0 2px 6px #082c6980;
}

.games-rocket-art {
  position: absolute;
  inset: 0 0 43px;
  background:
    radial-gradient(circle at 22% 26%, #d2f9ff 1.5px, transparent 2px),
    radial-gradient(circle at 83% 35%, #fff8cc 2px, transparent 2.5px),
    radial-gradient(circle at 26% 62%, #b4eaff 2px, transparent 2.5px),
    radial-gradient(circle at 71% 75%, #f9fbff 1px, transparent 1.5px);
}

.games-rocket-nft {
  position: absolute;
  top: 5px;
  left: 50%;
  width: min(119px, 85%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  filter: drop-shadow(0 5px 5px #06337485);
}

.games-plinko {
  background:
    radial-gradient(ellipse at 50% 38%, #246dab76, transparent 70%),
    radial-gradient(ellipse at 90% 82%, #5136b64d, transparent 62%),
    linear-gradient(160deg, #182f56 0%, #131d38 53%, #101126);
}

.games-plinko-art {
  position: absolute;
  inset: 4px 0 38px;
  filter: drop-shadow(0 4px 5px #060e25a0);
}

.games-plinko-board {
  position: absolute;
  inset: 4px 9px 16px;
  filter: drop-shadow(0 0 5px #569cff4a);
}

.games-plinko-board::before,
.games-plinko-board::after {
  position: absolute;
  clip-path: polygon(47% 3.5%, 49% 0.75%, 50% 0, 51% 0.75%, 53% 3.5%, 99.3% 95%, 99% 98%, 97% 100%, 3% 100%, 1% 98%, 0.7% 95%);
  content: "";
}

.games-plinko-board::before {
  inset: 0;
  background:
    linear-gradient(177deg, #e1f4ff 4%, #73b1f575 36%, transparent 75%),
    linear-gradient(97deg, #7d9de8 2%, #234773 22%, #6b8ebd 51%, #bec8fb 76%, #a279eb 96%);
}

.games-plinko-board::after {
  inset: 4px 5px 2px;
  background:
    linear-gradient(114deg, transparent 32%, #bad8ff1c 34% 39%, #abc6ff0b 40% 47%, transparent 49%),
    radial-gradient(ellipse at 49% 24%, #5489c6a6 0%, transparent 65%),
    linear-gradient(160deg, #284275, #27264f 80%, #251e49);
}

.games-plinko-pegs {
  position: absolute;
  z-index: 1;
  inset: 14px 5px 9px;
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
}

.games-plinko-peg-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2.8cqw, 11px);
}

.games-plinko-peg {
  width: 7px;
  height: 7px;
  box-sizing: border-box;
  flex: none;
  border: 1px solid #283161;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, #fff 0% 12%, #ddedff 24%, #a9bbe8 44%, #536eae 75%, #344878);
  box-shadow: 0 1px 2px #0e1736, 0 0 0 1px #c4e7ff20;
}

.games-plinko-ball {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #fff 4%, #8bf8ff 25%, #11c1fc 55%, #2b67f2 83%);
  box-shadow: 0 0 3px #b5fbff, 0 0 9px #46dcffbd;
}

.is-plinko-animated .games-plinko-ball {
  opacity: 0;
}

.games-plinko-bins {
  position: absolute;
  inset: auto 8px 4px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  padding: 4px 4px 5px;
  border: 1px solid #7487c3;
  border-radius: 6px 6px 9px 9px;
  background: linear-gradient(180deg, #586ca7 0%, #2c416e 25%, #20284d 74%, #323c72 100%);
  box-shadow: inset 0 1px #dce5ff84, 0 3px 0 #121b39, 0 5px 9px #102f7e71;
}

.games-plinko-bins span {
  display: grid;
  height: 17px;
  place-items: center;
  border-radius: 4px;
  color: #241337;
  font: 850 clamp(8px, 2.55cqw, 10px)/1 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  background:
    linear-gradient(180deg, #ffffff96, #ffffff20 45%, transparent 75%, #21123826),
    var(--bin-color, #ff557c);
  box-shadow: inset 0 0 0 1px #fff5, inset 0 -2px #2413372e, 0 1px 2px #0e0828bb;
}

.games-plinko-bins span:nth-child(2) { --bin-color: #ff922b; }
.games-plinko-bins span:nth-child(3) { --bin-color: #ffd747; }
.games-plinko-bins span:nth-child(4) { --bin-color: #38d8ff; }
.games-plinko-bins span:nth-child(5) { --bin-color: #a56aff; }

.games-plinko h3 {
  position: relative;
  margin: 0;
  color: #fff;
  font: 850 22px/1 "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 6px #160b37;
}

.games-slots {
  grid-column: 1 / -1;
  justify-items: center;
  border: 0;
  background:
    radial-gradient(ellipse at 86% 104%, #33457e, transparent 56%),
    radial-gradient(ellipse at 70% 8%, #bd6cff, transparent 55%),
    linear-gradient(155deg, #681cbe, #25163e 74%);
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.games-slots-open { cursor: pointer; }
.games-slots-open:focus-visible { outline: 2px solid #78d9ff; outline-offset: 3px; }
.slots-game-view { padding: 8px 8px 24px; background: #000; }
.slots-game-view[hidden] { display: none; }
.slots-top-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 14px; }
.slots-speed-control { display: flex; min-height: 34px; align-items: center; gap: 6px; padding: 0 12px; border-radius: 999px; background: #17181b; color: #a4b0c3; font-size: 13px; }
.slots-speed-select { max-width: 90px; border: 0; outline: 0; appearance: none; background: transparent; color: #f4f6fb; font: inherit; font-weight: 750; cursor: pointer; }
.slots-speed-select option { background: #17181b; color: #f4f6fb; }
.slots-demo-toggle { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: #aeb8cb; font-size: 13px; cursor: pointer; }
.slots-demo-track { position: relative; width: 36px; height: 20px; box-sizing: border-box; border: 1px solid #3b3c40; border-radius: 999px; background: #25262a; transition: background 180ms ease, border-color 180ms ease; }
.slots-demo-track i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 180ms ease; }
.slots-demo-toggle[aria-checked="true"] .slots-demo-track { border-color: #34da70; background: #27c95e; }
.slots-demo-toggle[aria-checked="true"] .slots-demo-track i { transform: translateX(16px); }
.slots-demo-toggle:focus-visible { outline: 2px solid #78d9ff; outline-offset: 3px; }
.slots-game-board { position: relative; padding: 8px; border: 1px solid #202125; border-radius: 23px; background: linear-gradient(145deg, #121315, #1a1b1e 54%, #111214); box-shadow: inset 0 1px #ffffff08, 0 8px 20px #0005; }
.slots-game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; gap: 5px; }
.slots-game-reel { position: relative; display: grid; min-width: 0; grid-template-rows: repeat(3, auto); align-content: start; gap: 5px; overflow: hidden; border-radius: 17px; }
.slots-game-cell { position: relative; display: grid; min-width: 0; aspect-ratio: 1; place-items: center; overflow: hidden; border: 1px solid #27282b; border-radius: 17px; background: linear-gradient(145deg, #252629, #1b1c1e); }
.slots-game-cell img { display: block; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 3px 4px #0008); }
.slots-game-reel.is-rolling > [data-slot-cell] { visibility: hidden; }
.slots-reel-strip { position: absolute; z-index: 2; inset: 0 0 auto; display: flex; height: 800%; flex-direction: column; animation: slots-reel-scroll var(--slot-reel-duration, 460ms) linear infinite; will-change: transform; }
.slots-reel-frame { display: grid; height: 12.5%; flex: 0 0 12.5%; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 5px; }
.slots-reel-symbol { position: relative; display: grid; min-height: 0; place-items: center; overflow: hidden; border: 1px solid #27282b; border-radius: 17px; background: linear-gradient(145deg, #252629, #1b1c1e); }
.slots-reel-symbol img { display: block; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 3px 4px #0008); }
.slots-game-cell.is-stopping > img { animation: slots-symbol-land 240ms cubic-bezier(.15,.8,.25,1) both; }
.slots-game-cell.is-winning { z-index: 1; border: 2px solid #fff0a5; background: linear-gradient(145deg, #785923, #44310f); box-shadow: inset 0 0 22px #ffcf4977, 0 0 20px #ffcc4bdd; animation: slots-win-pulse 650ms ease-in-out infinite alternate; }
.slots-win-payout { position: absolute; z-index: 3; top: 54%; left: 50%; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border: 1px solid #ffe28b; border-radius: 999px; background: linear-gradient(120deg, #ffdb62, #ffb82c); box-shadow: 0 4px 18px #0009, 0 0 14px #ffd65a88; color: #281b08; font-size: 12px; font-weight: 900; transform: translate(-50%, -50%); animation: slots-payout-pop 380ms cubic-bezier(.2,.8,.2,1.3) both; }
.slots-win-payout[hidden] { display: none; }
.slots-win-payout img { width: 15px; height: 15px; }
@keyframes slots-reel-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes slots-symbol-land { from { opacity: .35; transform: translateY(-9px) scale(.88); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes slots-win-pulse { to { border-color: #fff0a5; box-shadow: inset 0 0 20px #ffcf4952, 0 0 19px #ffcc4b99; } }
@keyframes slots-payout-pop { from { opacity: 0; transform: translate(-50%, 8px) scale(.7); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.slots-spin-button { display: flex; width: 100%; min-height: 54px; justify-content: center; align-items: center; gap: 6px; margin: 14px 0 10px; border: 0; border-radius: 999px; background: linear-gradient(100deg, #ffca42, #ffb922); color: #211708; font-size: 15px; font-weight: 850; text-transform: uppercase; cursor: pointer; transition: filter 160ms ease, transform 160ms ease; }
.slots-spin-button:active:not(:disabled) { transform: scale(.985); }
.slots-spin-button:disabled { filter: saturate(.35); opacity: .58; cursor: not-allowed; }
.slots-spin-button img { width: 17px; height: 17px; }
.slots-settings { display: grid; gap: 8px; padding: 10px 11px; border-radius: 21px; background: #17181a; }
.slots-setting-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 8px; }
.slots-setting-label { color: #aab4c7; font-size: 12px; white-space: nowrap; }
.slots-setting-options { display: grid; gap: 5px; }
.slots-lines-options { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.slots-bet-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.slots-setting-options button { min-width: 0; min-height: 34px; padding: 0 3px; border: 0; border-radius: 11px; background: #202124; color: #f2f4f9; font-size: 13px; font-weight: 750; cursor: pointer; }
.slots-setting-options button[aria-pressed="true"] { background: linear-gradient(140deg, #ffd34d, #ffb822); color: #201608; }
.slots-setting-options button:disabled { opacity: .5; cursor: wait; }
.slots-game-status { min-height: 17px; margin: 7px 3px 0; color: #8d99ad; font-size: 11px; text-align: center; }
.slots-contents { margin-top: 6px; }
.slots-contents h3 { margin: 0; color: #f5f6fa; font-size: 18px; font-weight: 800; }
.slots-contents > p { margin: 3px 0 9px; color: #8c98ab; font-size: 12px; line-height: 1.35; }
.slots-content-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.slots-content-list li { display: grid; min-height: 62px; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid #ffffff08; border-radius: 16px; background: #17181a; }
.slots-content-list li > img { width: 42px; height: 42px; object-fit: contain; }
.slots-content-list li > span { display: grid; min-width: 0; gap: 3px; }
.slots-content-list b { overflow: hidden; color: #f5f6fa; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.slots-content-list small { color: #8e9bb0; font-size: 11px; }
.slots-content-list strong { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-radius: 12px; background: #25272a; color: #ffc13e; font-size: 12px; white-space: nowrap; }
.slots-content-list strong img { width: 17px; height: 17px; }
.slots-game-view :focus-visible { outline: 2px solid #78d9ff; outline-offset: 2px; }
.slots-result-overlay { position: absolute; z-index: 20; inset: 0; }
.slots-result-overlay[hidden] { display: none; }
.slots-result-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: #0008; backdrop-filter: blur(3px); opacity: 0; transition: opacity 240ms ease; }
.slots-result-sheet { position: absolute; inset: auto 0 0; display: flex; max-height: 78%; min-height: 360px; box-sizing: border-box; flex-direction: column; align-items: center; overflow: auto; padding: 9px 12px calc(17px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #303034; border-radius: 25px 25px 0 0; background: linear-gradient(180deg, #222224, #19191b 65%); box-shadow: 0 -18px 48px #0009; transform: translateY(34px); transition: transform 280ms cubic-bezier(.2,.8,.2,1); }
.slots-result-overlay.is-open .slots-result-backdrop { opacity: 1; }
.slots-result-overlay.is-open .slots-result-sheet { transform: translateY(0); }
.slots-result-handle { width: 42px; height: 5px; flex: none; margin-bottom: 19px; border-radius: 8px; background: #69696d; }
.slots-result-art { position: relative; display: grid; width: 150px; height: 144px; flex: none; place-items: center; }
.slots-result-image { width: 138px; height: 138px; object-fit: contain; filter: drop-shadow(0 10px 18px #0008); animation: case-result-pop 520ms cubic-bezier(.18,.85,.25,1.25) both; }
.slots-result-value { position: absolute; bottom: 3px; left: 50%; display: flex; align-items: center; gap: 4px; padding: 5px 10px; border: 1px solid #ffffff0b; border-radius: 15px; background: #29272a; color: #ffd05a; font-size: 16px; font-weight: 850; white-space: nowrap; transform: translateX(-50%); }
.slots-result-value img { width: 17px; height: 17px; }
.slots-result-title { margin: 8px 0 0; color: #fff; font-size: 23px; font-weight: 800; text-align: center; }
.slots-result-caption { margin: 3px 0 0; color: #a4a4ab; font-size: 14px; text-align: center; }
.slots-result-note { display: grid; gap: 4px; margin: auto 0 17px; padding-top: 20px; text-align: center; }
.slots-result-note strong { color: #f2f2f4; font-size: 15px; }
.slots-result-note span { max-width: 310px; color: #9d9da5; font-size: 12px; line-height: 1.4; }
.slots-result-done { width: 100%; min-height: 50px; flex: none; border: 0; border-radius: 16px; background: #fff; color: #171719; font-size: 16px; font-weight: 800; cursor: pointer; }
.slots-result-done:focus-visible { outline: 2px solid #ffd05a; outline-offset: 3px; }
.slots-result-kicker { margin: -7px 0 5px; color: #ffe398; font-size: 11px; font-weight: 950; letter-spacing: .24em; text-shadow: 0 0 16px #ffc94a99; animation: slots-big-kicker-in 520ms .12s both; }
.slots-result-kicker[hidden] { display: none; }
.slots-result-overlay.is-big-win .slots-result-sheet { border-color: #e9c66c88; background: radial-gradient(ellipse at 50% 22%, #57431c 0, #27221a 34%, transparent 68%), linear-gradient(180deg, #242321, #171719 72%); box-shadow: 0 -18px 58px #000b, 0 -1px 24px #eac15a25; }
.slots-result-overlay.is-big-win .slots-result-sheet::before { position: absolute; inset: 0 0 auto; height: 62%; background: radial-gradient(ellipse at 50% 45%, #ffd35a22, transparent 70%); content: ""; pointer-events: none; }
.slots-result-overlay.is-big-win .slots-result-art { width: 174px; height: 166px; }
.slots-result-overlay.is-big-win .slots-result-art::before { position: absolute; inset: 4px; border: 1px solid #ffe39988; border-radius: 50%; background: radial-gradient(circle, #ffd45a30, #ffc34208 56%, transparent 72%); box-shadow: 0 0 32px #ffca4a32, inset 0 0 26px #ffdb7526; content: ""; animation: slots-big-halo 1.8s ease-in-out infinite alternate; }
.slots-result-overlay.is-big-win .slots-result-art::after { position: absolute; inset: -4px 13px; border: 1px solid #ffe8ad38; border-radius: 50%; content: ""; transform: rotate(-24deg) scaleY(.55); animation: slots-big-orbit 5s linear infinite; }
.slots-result-overlay.is-big-win .slots-result-image { position: relative; width: 154px; height: 154px; filter: drop-shadow(0 0 22px #ffd363a8) drop-shadow(0 12px 16px #0009); animation: slots-big-gift-in 850ms cubic-bezier(.16,.82,.22,1.14) both; }
.slots-result-overlay.is-big-win .slots-result-value { border-color: #ffe39a; background: linear-gradient(130deg, #423519, #211d15); box-shadow: 0 4px 20px #0008, 0 0 18px #f4c85a38; color: #ffe08a; opacity: 0; animation: slots-big-price-in 680ms .58s cubic-bezier(.2,.82,.24,1) forwards; }
.slots-result-overlay.is-big-win .slots-result-title { color: #fff2c8; text-shadow: 0 0 22px #ffd05a42; }
.slots-result-overlay.is-big-win .slots-result-done { background: linear-gradient(110deg, #ffe8a0, #ffc84a); color: #211708; box-shadow: 0 7px 24px #ffca4a28; }
@keyframes slots-big-kicker-in { from { opacity: 0; transform: translateY(7px); letter-spacing: .42em; } to { opacity: 1; transform: translateY(0); letter-spacing: .24em; } }
@keyframes slots-big-gift-in { from { opacity: 0; transform: translateY(24px) scale(.62) rotate(-8deg); } 72% { opacity: 1; transform: translateY(-4px) scale(1.06) rotate(2deg); } to { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }
@keyframes slots-big-price-in { from { opacity: 0; transform: translate(-50%, 10px) scale(.78); filter: blur(5px); } to { opacity: 1; transform: translate(-50%, 0) scale(1); filter: blur(0); } }
@keyframes slots-big-halo { from { opacity: .6; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
@keyframes slots-big-orbit { to { transform: rotate(336deg) scaleY(.55); } }
@media (prefers-reduced-motion: reduce) { .slots-game-reel.is-rolling .slots-reel-strip, .slots-game-cell.is-winning { animation-duration: 1ms; } }

.rocket-game-view { display: flex; flex-direction: column; gap: 7px; padding: 8px 12px 22px; background: #000; }
.rocket-game-view[hidden] { display: none; }
.rocket-toolbar { display: flex; min-height: 31px; align-items: center; gap: 7px; }
.rocket-round-pill { display: inline-flex; height: 29px; flex: none; align-items: center; gap: 8px; padding: 0 11px; border: 0; border-radius: 999px; background: #18181a; color: #f3f4f8; font-size: 12px; font-weight: 750; }
.rocket-round-pill { gap: 9px; padding-inline: 10px; }
.rocket-round-pill i { width: 7px; height: 7px; border-radius: 50%; background: #2ed26b; box-shadow: 0 0 9px #2ed26b77; }
.rocket-round-pill[data-state="flying"] i { animation: rocket-live-pulse .9s ease-in-out infinite alternate; }
.rocket-round-pill[data-state="paused"] i { background: #797982; box-shadow: none; }
.rocket-round-pill[data-state="crashed"] i { background: #ff626f; box-shadow: 0 0 8px #ff626f66; }
.rocket-toolbar-spacer { flex: 1; }
.rocket-icon-button { display: grid; width: 29px; height: 29px; flex: none; place-items: center; border: 0; border-radius: 50%; background: #18181a; color: #f1f3f7; cursor: pointer; }
.rocket-icon-button svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rocket-history-button[aria-pressed="true"],.rocket-sound-toggle[aria-pressed="false"] { color: #8d96a7; background: #25262a; }
.rocket-multipliers { display: flex; min-height: 27px; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.rocket-multipliers::-webkit-scrollbar { display: none; }
.rocket-multipliers span { flex: none; padding: 3px 10px; border-radius: 999px; background: #232326; color: #fff; font-size: 14px; font-weight: 850; line-height: 1.15; }
.rocket-multipliers span[data-result="win"] { background: #102719; color: #22d46a; }
.rocket-multipliers span[data-result="low"] { background: #232326; color: #d7d7dc; }
.rocket-chart { --rocket-glow-left: 52%; --rocket-glow-top: 56%; position: relative; width: 100%; aspect-ratio: 1.31; min-height: 228px; max-height: 360px; overflow: hidden; border: 1px solid #24252b; border-radius: 24px; background: radial-gradient(ellipse at 52% 55%, #06070b, #010102 76%); isolation: isolate; }
.rocket-chart::before { position: absolute; z-index: 0; top: var(--rocket-glow-top); left: var(--rocket-glow-left); width: min(45%,180px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,#135c8120 0,transparent 72%); opacity: 0; transform: translate(-50%,-50%); transition: opacity .6s ease; content: ""; pointer-events: none; }
.rocket-chart[data-rocket-state="flying"]::before { opacity: 1; }
.rocket-chart-grid { position: absolute; z-index: 1; inset: 0; background-image: linear-gradient(to right,transparent calc(100% - 1px),#24252d calc(100% - 1px)),linear-gradient(to bottom,transparent calc(100% - 1px),#24252d calc(100% - 1px)); background-repeat: repeat; background-size: 60px 60px; background-position: 0 0; transform: perspective(900px) rotateX(1deg) rotateZ(-.25deg) scale(1.025); transform-origin: center; will-change: background-position; }
.rocket-chart-trail { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rocket-chart-flight-line { fill: none; stroke: #d7edff; stroke-width: 2; stroke-dasharray: 11 13; stroke-linecap: round; stroke-linejoin: round; opacity: .68; filter: drop-shadow(0 0 4px #d7edff88); }
.rocket-chart-stars { position: absolute; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; }
.rocket-chart-stars i { position: absolute; display: block; width: var(--streak-length,2px); height: 2px; border-radius: 999px; background: linear-gradient(90deg,transparent,#eef8ff 60%,#fff); box-shadow: 0 0 5px #b9e8ff88; opacity: 0; transform: rotate(var(--streak-angle,-20deg)); animation: rocket-star-drift var(--streak-duration,5s) linear infinite; }
.rocket-chart-prompt { position: absolute; z-index: 5; inset: 50% auto auto 50%; display: flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid #ffffff19; border-radius: 999px; background: #090a0de8; box-shadow: 0 3px 14px #0009; color: #f5f7fb; font-size: 16px; font-weight: 750; letter-spacing: .01em; text-shadow: 0 1px 5px #000; white-space: nowrap; transform: translate(-50%,-50%); transition: opacity 180ms ease; }
.rocket-chart-prompt small { min-width: 20px; color: #ffd13c; font-size: 15px; font-weight: 900; text-align: center; text-shadow: 0 0 9px #ffcd4655; }
.rocket-chart-multiplier { position: absolute; z-index: 3; top: 8px; left: 13px; color: #fff; font-size: clamp(32px, 11vw, 46px); font-weight: 900; letter-spacing: -.055em; line-height: 1; opacity: 0; transform: translateY(5px); transition: opacity 180ms ease, transform 180ms ease; text-shadow: 0 3px 14px #000b; }
.rocket-chart-multiplier.is-high { color: #24e879; }
.rocket-flight-object { position: absolute; z-index: 3; left: 53%; top: 51%; width: clamp(102px, 37vw, 154px); aspect-ratio: 1; opacity: 0; transform: translate(-50%,-50%); transform-origin: 50% 50%; transition: opacity 180ms ease; }
.rocket-flight-object::before { position: absolute; z-index: 0; bottom: 13%; left: 1%; width: 42%; height: 28%; border-radius: 50%; background: radial-gradient(ellipse,#ffb51e9c 0,#ff5c1880 35%,transparent 73%); filter: blur(7px); transform: rotate(-24deg); content: ""; animation: rocket-flame-pulse .19s ease-in-out infinite alternate; }
.rocket-flight-object > img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 9px #0009); transform: rotate(var(--rocket-tilt,18deg)); transform-origin: 50% 50%; transition: transform 110ms linear; animation: rocket-flight-bob .42s ease-in-out infinite alternate; }
.rocket-flight-win { position: absolute; z-index: 3; top: 75%; left: 65%; color: #16dc70; font-size: 14px; font-weight: 900; text-shadow: 0 1px 5px #001b0c; }
.rocket-crash-label { position: absolute; z-index: 3; top: 45%; left: 50%; padding: 8px 13px; border: 1px solid #ff64765c; border-radius: 999px; background: #2d1018dd; color: #ff8290; font-size: 12px; font-weight: 850; letter-spacing: .08em; transform: translate(-50%,-50%); }
.rocket-chart[data-rocket-state="waiting"] .rocket-chart-prompt { opacity: 1; }
.rocket-chart[data-rocket-state="waiting"] .rocket-flight-object { opacity: 0; }
.rocket-chart[data-rocket-state="flying"] .rocket-chart-prompt,.rocket-chart[data-rocket-state="crashed"] .rocket-chart-prompt { opacity: 0; }
.rocket-chart[data-rocket-state="flying"] .rocket-chart-multiplier { opacity: 1; transform: translateY(0); }
.rocket-chart[data-rocket-state="flying"] .rocket-flight-object { opacity: 1; }
.rocket-chart[data-rocket-state="flying"] .rocket-chart-flight-line { animation: rocket-trail-flow .55s linear infinite; }
.rocket-chart[data-rocket-state="crashed"] .rocket-chart-multiplier { opacity: 0; }
.rocket-chart[data-rocket-state="crashed"] .rocket-flight-object { opacity: 0; }
.rocket-chart[data-rocket-state="crashed"] .rocket-crash-label { display: block; }
.rocket-chart[data-rocket-state="paused"] .rocket-chart-prompt { opacity: 1; }
.rocket-chart[data-rocket-state="paused"] .rocket-flight-object { opacity: 0; }
.rocket-bet-panel { display: flex; min-height: 58px; align-items: center; gap: 8px; margin-top: 7px; padding: 6px 7px 6px 15px; border-radius: 22px; background: #19191b; }
.rocket-bet-amount { display: flex; min-width: 0; flex: 1; align-items: center; gap: 9px; }
.rocket-bet-amount img { width: 21px; height: 21px; object-fit: contain; }
.rocket-bet-amount input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #f6f7fa; font: 800 17px/1 system-ui,sans-serif; }
.rocket-bet-amount input:disabled { color: #aeb3bd; opacity: .7; }
.rocket-bet-button { min-width: 132px; min-height: 45px; padding: 0 14px; border: 0; border-radius: 18px; background: linear-gradient(115deg,#ffd23f,#ffbd2e); color: #fff; font-size: 14px; font-weight: 850; cursor: pointer; box-shadow: 0 5px 13px #d8951d26; }
.rocket-bet-button:disabled { opacity: .58; cursor: not-allowed; }
.rocket-stake-breakdown { display: flex; min-height: 20px; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px; color: #85858e; font-size: 10px; }
.rocket-stake-breakdown b { color: #adb0b8; font-weight: 750; }
.rocket-stake-breakdown strong { color: #f6c544; font-size: 11px; font-weight: 850; }
.rocket-quick-bets { display: grid; grid-template-columns: 1fr 1fr 1.25fr .68fr .68fr; gap: 7px; }
.rocket-quick-bets button { min-width: 0; min-height: 37px; padding: 0 5px; border: 0; border-radius: 999px; background: #202023; color: #f1f2f5; font-size: 13px; font-weight: 800; cursor: pointer; }
.rocket-quick-bets button:active { background: #303034; }
.rocket-quick-bets button:disabled { opacity: .42; cursor: not-allowed; }
.rocket-settings-toggle { display: flex; min-height: 38px; justify-content: space-between; align-items: center; padding: 0 4px; border: 0; background: transparent; color: #9293a0; font-size: 13px; text-align: left; cursor: pointer; }
.rocket-settings-toggle > span:first-child { display: flex; align-items: center; gap: 9px; }
.rocket-settings-icon { width: 16px; height: 16px; flex: none; fill: none; stroke: #9daabc; stroke-width: 1.8; stroke-linecap: round; }
.rocket-settings-chevron { font-size: 19px; transition: transform 180ms ease; }
.rocket-settings-toggle[aria-expanded="true"] .rocket-settings-chevron { transform: rotate(180deg); }
.rocket-settings-panel { display: grid; gap: 8px; padding: 11px 13px; border-radius: 15px; background: transparent; color: #e9e9ee; font-size: 13px; }
.rocket-settings-panel[hidden] { display: none; }
.rocket-auto-row { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px 0 13px; border-radius: 16px; background: #19191b; color: #9898a2; }
.rocket-auto-control { display: flex; align-items: center; gap: 5px; }
.rocket-auto-control button { width: 33px; height: 32px; border: 0; border-radius: 10px; background: #29292d; color: #f2f2f6; font-size: 19px; font-weight: 700; cursor: pointer; }
.rocket-settings-panel .rocket-auto-control input { width: 23px; padding: 4px 0; border: 0; outline: 0; background: transparent; color: #eee; font-size: 13px; font-weight: 750; text-align: center; appearance: textfield; }
.rocket-settings-panel .rocket-auto-control input::-webkit-inner-spin-button { appearance: none; }
.rocket-setting-toggle { display: flex; min-height: 29px; align-items: center; justify-content: space-between; color: #9999a4; }
.rocket-setting-toggle input { position: relative; width: 26px; height: 14px; margin: 0; border: 1px solid #64646d; border-radius: 999px; background: #0c0c0e; appearance: none; cursor: pointer; transition: background .18s ease,border-color .18s ease; }
.rocket-setting-toggle input::after { position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #fff; content: ""; transition: transform .18s ease; }
.rocket-setting-toggle input:checked { border-color: #24ca65; background: #24ca65; }
.rocket-setting-toggle input:checked::after { transform: translateX(12px); }
.rocket-demo-note { margin: 1px 3px 0; color: #85858e; font-size: 11px; line-height: 1.4; }
.rocket-demo-note[hidden] { display: none; }
.rocket-flight-object > .rocket-flight-win { position: absolute; top: 76%; left: 68%; display: flex; align-items: center; gap: 3px; white-space: nowrap; }
@keyframes rocket-flight-bob { from { translate: 0 -2px; } to { translate: 0 2px; } }
@keyframes rocket-flame-pulse { from { opacity: .56; transform: rotate(-24deg) scale(.8); } to { opacity: 1; transform: rotate(-24deg) scale(1.16); } }
@keyframes rocket-star-drift { 0% { opacity: 0; transform: translate(22px,-12px) rotate(var(--streak-angle,-20deg)); } 18% { opacity: .78; } 78% { opacity: .56; } 100% { opacity: 0; transform: translate(-42px,23px) rotate(var(--streak-angle,-20deg)); } }
@keyframes rocket-trail-flow { to { stroke-dashoffset: -24; } }
@keyframes rocket-live-pulse { to { opacity: .55; box-shadow: 0 0 2px #2ed26b33; } }

.games-slots-open[role="button"] { user-select: none; -webkit-tap-highlight-color: transparent; }

.games-slots-title {
  position: relative;
  margin: 0;
  font-size: clamp(16px, 5cqw, 21px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
  text-shadow: 0 2px 6px #201535;
}

.games-slots-machine {
  position: absolute;
  top: 18px;
  left: calc(50% - 5px);
  display: grid;
  width: min(68%, 176px);
  aspect-ratio: 1.75;
  box-sizing: border-box;
  align-items: center;
  padding: 7px 6px 9px;
  transform: translateX(-50%);
  border: 2px solid #ffc96e;
  border-radius: 12px;
  background: linear-gradient(170deg, #ffdb8d 4%, #945049 15%, #452545 65%, #ce88d2);
  box-shadow: 0 7px 0 #411e57, 0 13px 15px #27103b9c;
}

.games-slots-reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: 2px;
  height: 100%;
}

.games-slots-reels > span {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(#cda5ec, #fff1ff 50%, #c394d8);
}

.games-slots-reels > span > img {
  width: 82%;
  max-width: 32px;
}

.games-slots-nft {
  position: relative;
  width: 95%;
  max-width: 42px;
  aspect-ratio: 1;
}

.games-slots-track {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.games-slots-track > span {
  display: grid;
  height: var(--reel-cell-height);
  flex: none;
  place-items: center;
}

.games-slots-track img {
  display: block;
  width: 95%;
  max-width: 42px;
  height: 88%;
  object-fit: contain;
}

.games-slots-lever {
  position: absolute;
  right: -9px;
  bottom: 13px;
  width: 11px;
  height: 12px;
  border-radius: 3px 5px 5px 3px;
  background: linear-gradient(160deg, #ffdc9b, #9f602f 78%);
  box-shadow: inset 0 0 0 1px #ffda8b50, 0 2px 3px #371839a8;
  pointer-events: none;
}

.games-slots-lever-stick {
  position: absolute;
  bottom: 5px;
  left: 5px;
  width: 4px;
  height: clamp(14px, 6cqw, 23px);
  transform: rotate(10deg);
  transform-origin: center bottom;
  border-radius: 4px;
  background: linear-gradient(90deg, #80512f, #ffe9b2 58%, #b47b4d);
}

.games-slots-lever-stick::before {
  position: absolute;
  top: -5px;
  left: -4px;
  width: 12px;
  height: 11px;
  border-radius: 6px;
  background: radial-gradient(circle at 34% 24%, #fff1ff, #ee99ff 30%, #a953d2 63%, #612883 100%);
  box-shadow: 0 2px 3px #38164787;
  content: "";
}

.games-slots-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (prefers-reduced-motion: no-preference) {
  .games-slots.is-spinning .games-slots-lever-stick {
    animation: slots-pull 420ms ease-in-out;
  }

}

@keyframes slots-pull {
  45% { transform: rotate(63deg); }
  70% { transform: rotate(34deg); }
}

.profile-view {
  --profile-surface: #17191d;
  --profile-inner-surface: #101216;
}

.profile-view:focus-visible {
  outline: none;
}

.profile-view:focus-visible .profile-account {
  border-color: #3a647e;
}

.profile-card {
  padding: 0 2px;
}

.profile-card + .profile-card {
  margin-top: 20px;
}

.profile-account,
.profile-friends {
  padding: 16px;
  border: 1px solid #22262c;
  border-radius: 20px;
  background: var(--profile-surface);
}

.profile-account {
  background: linear-gradient(140deg, #1a232e, var(--profile-surface) 68%);
}

.profile-account + .profile-friends {
  margin-top: 14px;
}

.profile-account-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  display: grid;
  flex: 0 0 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #25465e;
  color: #b6e8ff;
}

.profile-account h2,
.profile-card h3 {
  margin: 0;
  line-height: 1.2;
}

.profile-account h2 {
  font-size: 21px;
}

.profile-card h3 {
  font-size: 18px;
}

.profile-account p,
.profile-empty {
  margin: 4px 0 0;
  color: #a5aeb9;
  font-size: 13px;
}

.profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.profile-button {
  box-sizing: border-box;
  min-height: 42px;
  padding: 6px 9px;
  border: 0;
  border-radius: 12px;
  background: #2a3038;
  color: #e7eef6;
  font: 650 14px/1.2 system-ui, sans-serif;
}

.profile-button-primary {
  background: #b2e8ff;
  color: #0c2534;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0;
}

.profile-stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 9px;
  border-radius: 10px;
  background: var(--profile-inner-surface);
}

.profile-stats dt {
  color: #a5aeb9;
  font-size: 12px;
}

.profile-stats dd {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 16px;
  font-weight: 750;
}

.profile-stat-stars {
  color: #ffc64b;
}

.profile-stat-tickets {
  color: var(--accent);
}

.profile-stat-tickets .balance-ticket {
  background:
    radial-gradient(circle at 0 50%, var(--profile-inner-surface) 2px, transparent 2.3px),
    radial-gradient(circle at 100% 50%, var(--profile-inner-surface) 2px, transparent 2.3px),
    var(--accent);
}

.profile-invite {
  position: relative;
  width: 100%;
  padding-inline: 32px;
  background: #283d4c;
  color: #c0ebff;
}

.profile-invite .profile-icon {
  position: absolute;
  top: calc(50% - 8px);
  right: 12px;
}

.profile-card-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-inventory-count {
  padding: 2px 6px;
  border-radius: 6px;
  background: #1c3447;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.profile-inventory-empty {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  padding: 8px;
  border: 1px solid #252b33;
  border-radius: 13px;
  background: var(--profile-inner-surface);
}

.profile-inventory-icon {
  --nav-surface: #16191e;
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: var(--nav-surface);
  color: #9ca8b7;
}

.profile-empty {
  margin: 0;
}

.profile-add {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding-inline: 10px;
  background: #141d25;
  color: var(--accent);
  font-size: 12px;
}

.profile-settings {
  margin: 10px 0 0;
  padding: 2px 12px;
  border-radius: 12px;
  background: var(--profile-surface);
  list-style: none;
}

.profile-settings li + li {
  border-top: 1px solid #202327;
}

.profile-settings button {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #e7eef6;
  font: 500 14px/1.2 system-ui, sans-serif;
  text-align: left;
}

.profile-language {
  flex: none;
  padding: 4px 8px;
  border-radius: 6px;
  background: #202630;
  color: #c0cad7;
  font-size: 11px;
}

.profile-setting-detail {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: none;
}

.profile-icon::before,
.profile-icon::after {
  position: absolute;
  box-sizing: border-box;
}

.profile-icon-arrow {
  transform: rotate(-45deg);
}

.profile-icon-arrow::before,
.profile-icon-plus::before,
.profile-icon-plus::after {
  inset: 7px 2px auto;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}

.profile-icon-plus::after {
  transform: rotate(90deg);
}

.profile-icon-arrow::after,
.profile-icon-chevron::before {
  top: 4px;
  right: 3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 1px;
  transform: rotate(45deg);
  content: "";
}

.profile-icon-chevron {
  color: #9daabc;
}

.profile-icon-chevron::before {
  right: 6px;
  width: 7px;
  height: 7px;
  top: 4.5px;
}

.bottom-nav {
  --nav-surface: #121419;
  display: none;
  position: absolute;
  inset: auto 0 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 5px max(6px, env(safe-area-inset-right, 0px))
    calc(7px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
  border-top: 1px solid #252b34;
  background: var(--nav-surface);
}

.loader.is-ready .bottom-nav {
  display: grid;
}

.bottom-nav-item {
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 53px;
  padding: 4px 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #a0a9ba;
  font: 600 clamp(10px, 3.2cqw, 12px)/1.2 system-ui, sans-serif;
  cursor: pointer;
}

.bottom-nav-item[aria-pressed="true"] {
  --nav-surface: #1b2b39;
  color: var(--accent);
  background: var(--nav-surface);
}

.bottom-nav-item:focus-visible {
  outline: 1px solid #78a5bd;
  outline-offset: -3px;
}

.bottom-nav-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.icon-games::before {
  position: absolute;
  inset: 4px 0 2px;
  border-radius: 8px 8px 5px 5px;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 73% 100%, 60% 76%, 40% 76%, 27% 100%, 0 100%);
  background:
    radial-gradient(circle at 16px 8px, var(--nav-surface) 1px, transparent 1.5px),
    radial-gradient(circle at 18px 5px, var(--nav-surface) 1px, transparent 1.5px),
    linear-gradient(var(--nav-surface), var(--nav-surface)) 5px 6px / 6px 2px no-repeat,
    linear-gradient(var(--nav-surface), var(--nav-surface)) 7px 4px / 2px 6px no-repeat,
    currentColor;
  content: "";
}

.icon-bonuses {
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 67% 12%, 88% 12%, 88% 33%, 100% 50%, 88% 67%, 88% 88%, 67% 88%, 50% 100%, 33% 88%, 12% 88%, 12% 67%, 0 50%, 12% 33%, 12% 12%, 33% 12%);
  background: #a0a9ba;
  color: var(--nav-surface);
  font-size: 13px;
  font-weight: 850;
}

.bottom-nav-item[aria-pressed="true"] .icon-bonuses {
  background: var(--accent);
}

.icon-gifts {
  background:
    radial-gradient(ellipse, transparent 35%, currentColor 42% 65%, transparent 72%) 4px 0 / 8px 7px no-repeat,
    radial-gradient(ellipse, transparent 35%, currentColor 42% 65%, transparent 72%) 10px 0 / 8px 7px no-repeat;
}

.icon-gifts::before,
.icon-gifts::after {
  position: absolute;
  background: linear-gradient(90deg, currentColor 44%, var(--nav-surface) 44% 56%, currentColor 56%);
  content: "";
}

.icon-gifts::before {
  inset: 6px 1px auto;
  height: 5px;
  border-radius: 2px;
}

.icon-gifts::after {
  inset: 12px 3px 1px;
  border-radius: 0 0 2px 2px;
}

.icon-profile::before,
.icon-profile::after {
  position: absolute;
  left: 50%;
  box-sizing: border-box;
  border: 2px solid currentColor;
  transform: translateX(-50%);
  content: "";
}

.icon-profile::before {
  top: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.icon-profile::after {
  bottom: 1px;
  width: 17px;
  height: 9px;
  border-radius: 8px 8px 3px 3px;
}

@container (max-width: 290px) {
  .loader.is-ready .loader-brand {
    font-size: 18px;
  }

  .balance-chip {
    min-width: 0;
    padding-inline: 8px;
  }
}

@keyframes fill {
  to { width: 100%; }
}
