:root {
  color-scheme: dark;
  --surface: #000;
  --ink: #f2f2f2;
  --muted: #9aa0a6;
  --line: #ffffff24;
  --panel: #050505;
  --panel-2: #0b0b0b;
  --glass-bg: #0a0a0ad1;
  --glass-border: #ffffff1f;
  --glass-hi: #ffffff12;
  --glass-lo: #00000080;
  --neon: #2fd0bb;
  --gold: #f0c64a;
  --gold-soft: #ffe18a;
  --crimson: #ff5470;
  --emerald: #36c98c;
  --blue: #4aa8ff;
  --top-h: 3.5rem;
}

@font-face {
  font-family: Exposure;
  src: url("fonts/Exposure-205TF-VAR.woff2") format("woff2");
  font-style: normal;
}
@font-face {
  font-family: Exposure;
  src: url("fonts/Exposure-205TF-VAR-Italic.woff2") format("woff2");
  font-style: italic;
}
@font-face {
  font-family: OpenRunde;
  src: url("fonts/OpenRunde-Regular.woff2") format("woff2");
  font-weight: 400;
}
@font-face {
  font-family: OpenRunde;
  src: url("fonts/OpenRunde-Medium.woff2") format("woff2");
  font-weight: 500 800;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 100 800;
}

* { box-sizing: border-box; }
html { background: var(--surface); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(240, 198, 74, 0.18), transparent 55%),
    radial-gradient(90% 60% at 12% 8%, rgba(74, 168, 255, 0.13), transparent 55%),
    radial-gradient(90% 60% at 88% 10%, rgba(123, 192, 67, 0.1), transparent 55%),
    #000;
  font-family: OpenRunde, ui-rounded, "SF Pro Rounded", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
body.theme-light {
  color-scheme: light;
  --surface: #f6efe2;
  --ink: #1e170d;
  --muted: #746954;
  --line: rgba(99, 76, 38, .14);
  --panel: #fffaf0;
  --panel-2: #f1e6d4;
  --glass-bg: rgba(255, 249, 239, .82);
  --glass-border: rgba(133, 104, 52, .16);
  --glass-hi: rgba(255, 255, 255, .78);
  --glass-lo: rgba(173, 140, 82, .08);
  --neon: #0f8f78;
  --gold: #bf8d24;
  --gold-soft: #e4b94d;
  --crimson: #d44b5f;
  --emerald: #2f9870;
  --blue: #3479cf;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(223, 176, 73, .28), transparent 55%),
    radial-gradient(90% 60% at 12% 8%, rgba(52, 121, 207, .14), transparent 55%),
    radial-gradient(90% 60% at 88% 10%, rgba(15, 143, 120, .12), transparent 55%),
    linear-gradient(180deg, #fff8ee, #f6efe2 38%, #f1e6d4);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nums { font-variant-numeric: tabular-nums; }
.glass {
  background: linear-gradient(180deg, var(--glass-hi), transparent 55%), var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 -1px 0 var(--glass-lo), 0 20px 46px -28px #000;
  backdrop-filter: blur(16px) saturate(1.4);
}
.text-neon, .brand { color: transparent; background: linear-gradient(180deg, #9af7e6, var(--neon) 55%, #18a994); -webkit-background-clip: text; background-clip: text; }
.text-gold { color: transparent; background: linear-gradient(#ffe18a, #f0c64a 55%, #c79a26); -webkit-background-clip: text; background-clip: text; }
body.theme-light .glass { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(173,140,82,.08), 0 22px 48px -30px rgba(111,86,39,.28); }
body.theme-light .text-neon,
body.theme-light .brand { background: linear-gradient(180deg, #4ccdb7, var(--neon) 55%, #0b6f5e); -webkit-background-clip: text; background-clip: text; }
body.theme-light .text-gold { background: linear-gradient(#f1d17c, var(--gold) 55%, #8e6716); -webkit-background-clip: text; background-clip: text; }
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--top-h);
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 .9rem;
  border-radius: 0;
  border-inline: 0;
  border-top: 0;
}
.hamburger { display: none; position: relative; width: 2.25rem; height: 2.25rem; border: 0; border-radius: .75rem; background: rgba(255,255,255,.06); color: var(--ink); }
.hamburger span { position: absolute; left: .55rem; width: 1.15rem; height: 2px; border-radius: 999px; background: currentColor; transition: transform .25s, opacity .2s; }
.hamburger span:nth-child(1) { top: .72rem; } .hamburger span:nth-child(2) { top: 1.08rem; } .hamburger span:nth-child(3) { top: 1.44rem; }
.drawer-open .hamburger span:nth-child(1) { transform: translateY(.36rem) rotate(45deg); }
.drawer-open .hamburger span:nth-child(2) { opacity: 0; }
.drawer-open .hamburger span:nth-child(3) { transform: translateY(-.36rem) rotate(-45deg); }
.brand { display: flex; align-items: center; gap: .32rem; font-family: Exposure, OpenRunde, sans-serif; font-size: 1.22rem; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: .45rem; min-width: 0; }
.top-actions { position: relative; }
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 16.5rem;
  min-height: 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 198, 74, .42);
  background: rgba(240, 198, 74, .12);
  color: #f1d889;
  padding: .62rem .9rem;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 10px 24px -18px rgba(240,198,74,.7);
}
.contact-button:hover { background: rgba(240, 198, 74, .2); color: #ffe18a; }
.gold-button, .primary-button {
  border: 0;
  border-radius: 999px;
  min-height: 2.45rem;
  padding: .62rem 1rem;
  color: #1c1505;
  font-weight: 800;
  background: linear-gradient(#e4cd8a, #c9a44c);
  box-shadow: inset 0 1px rgba(255,255,255,.5), 0 10px 24px -14px rgba(201,164,76,.8);
}
.account-menu {
  position: fixed;
  right: 6.4rem;
  top: 4.2rem;
  z-index: 75;
  min-width: 9rem;
  border-radius: .85rem;
  padding: .4rem;
  opacity: 0;
  transform: translateY(-.35rem) scale(.98);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.account-menu-open .account-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.account-menu-button {
  width: 100%;
  border: 0;
  border-radius: .65rem;
  background: rgba(255,255,255,.06);
  color: var(--ink);
  padding: .68rem .75rem;
  font-weight: 800;
  text-align: left;
}
.account-menu-button:hover { background: rgba(255,84,112,.13); color: var(--crimson); }
.balance-pill {
  display: flex; align-items: center; gap: .45rem; min-width: 0;
  border: 1px solid rgba(201,164,76,.3); border-radius: 999px;
  background: rgba(201,164,76,.1); color: var(--ink);
  padding: .48rem .6rem .48rem .75rem; font-weight: 800;
}
.coin { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: linear-gradient(#e4cd8a, #c9a44c); color: #1c1505; font-size: .72rem; }
.currency-coin {
  background: url("currency/aurum-credit.png") center / contain no-repeat;
  color: transparent;
  box-shadow: 0 0 .7rem rgba(201, 164, 76, .24);
}
.currency-mark {
  display: inline-block;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  vertical-align: -.25rem;
}
.currency-mini {
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  background: url("currency/aurum-credit.png") center / contain no-repeat;
  vertical-align: -.32em;
}
.currency-hero {
  width: min(12rem, 46vw);
  aspect-ratio: 1;
  background: url("currency/aurum-credit.png") center / contain no-repeat;
  filter: drop-shadow(0 1rem 2.5rem rgba(201, 164, 76, .22));
}
.chev { color: #caa14c; }
.icon-button {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border: 0; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted);
}
.theme-dark-icon { display: none; }
.theme-light .theme-light-icon { display: none; }
.theme-light .theme-dark-icon { display: inline; }
.sound-off, .muted .sound-on { display: none; } .muted .sound-off { display: inline; }
.balance-menu {
  position: fixed;
  right: 3.75rem;
  top: 4.2rem;
  z-index: 70;
  width: 14rem;
  border-radius: 1rem;
  padding: .55rem;
  opacity: 0;
  transform: translateY(-.35rem) scale(.98);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.balance-menu-open .balance-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.menu-copy { margin: 0; padding: .55rem .65rem; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.bonus-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  border: 1px solid rgba(47,208,187,.28);
  border-radius: .75rem;
  background: rgba(47,208,187,.1);
  color: var(--neon);
  padding: .68rem .75rem;
  font-weight: 800;
}
.bonus-row:disabled { cursor: not-allowed; opacity: .55; color: var(--muted); border-color: var(--line); background: rgba(255,255,255,.04); }
.bonus-note { min-height: 1rem; margin: .35rem .65rem .45rem; color: var(--muted); font-size: .68rem; }
.name-box { border-top: 1px solid var(--line); padding: .55rem .45rem .25rem; }
.name-box label { display: block; margin: 0 .2rem .35rem; color: var(--muted); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.name-box div { display: flex; gap: .35rem; }
.name-input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .6rem;
  background: rgba(255,255,255,.06);
  color: var(--ink);
  outline: 0;
  padding: .45rem .55rem;
  font-size: .82rem;
}
.save-name { border: 0; border-radius: .6rem; background: rgba(47,208,187,.15); color: var(--neon); padding: .45rem .55rem; font-size: .82rem; font-weight: 800; }
.side { position: fixed; z-index: 40; left: 0; top: var(--top-h); bottom: 0; width: 15rem; padding: .75rem; display: flex; }
.side-card { width: 100%; border-radius: 1rem; padding: .75rem; display: flex; flex-direction: column; min-height: 0; }
.main-nav, .meta-nav, .drawer-nav { display: flex; flex-direction: column; gap: .25rem; }
.main-nav { min-height: 0; overflow-y: auto; flex: 1; }
.meta-nav { margin-top: .5rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.nav-link {
  display: flex; align-items: center; gap: .75rem;
  min-height: 2.55rem; border-radius: .75rem; padding: .62rem .75rem;
  color: rgba(242,242,242,.7); font-size: .94rem; font-weight: 700;
}
.nav-link:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--neon); background: rgba(47,208,187,.15); box-shadow: inset 0 0 0 1px rgba(47,230,196,.35); }
.nav-link .icon { display: grid; place-items: center; width: 1.5rem; font-size: 1.05rem; }
.nav-link.coming-link { color: rgba(242,242,242,.42); cursor: default; }
.nav-link.coming-link:hover { color: rgba(242,242,242,.42); background: transparent; }
.nav-soon {
  margin-left: auto;
  border-radius: 999px;
  border: 1px solid rgba(201,164,76,.22);
  padding: .12rem .38rem;
  color: #d9bd76;
  font-size: .58rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.theme-light .hamburger,
body.theme-light .icon-button,
body.theme-light .account-menu-button,
body.theme-light .input,
body.theme-light .name-input,
body.theme-light .bet-box,
body.theme-light .quick button,
body.theme-light .segment,
body.theme-light .segment button,
body.theme-light .secondary-button,
body.theme-light .market-tools button,
body.theme-light .market-stats span,
body.theme-light .market-position,
body.theme-light .crash-history span,
body.theme-light .paytable span,
body.theme-light .radio-form input,
body.theme-light .radio-button,
body.theme-light .grid-mini span,
body.theme-light .arrow {
  background: rgba(123, 94, 40, .08);
  color: var(--ink);
  border-color: rgba(123, 94, 40, .14);
}
body.theme-light .nav-link { color: rgba(30,23,13,.74); }
body.theme-light .nav-link:hover { color: var(--ink); background: rgba(123, 94, 40, .08); }
body.theme-light .nav-link.active { color: var(--neon); background: rgba(15,143,120,.12); box-shadow: inset 0 0 0 1px rgba(15,143,120,.22); }
body.theme-light .nav-link.coming-link,
body.theme-light .nav-link.coming-link:hover { color: rgba(30,23,13,.42); background: transparent; }
body.theme-light .nav-soon,
body.theme-light .eyebrow,
body.theme-light .soon-badge {
  border-color: rgba(191,141,36,.2);
  background: rgba(191,141,36,.08);
  color: #93670f;
}
body.theme-light .inner { background: rgba(255,255,255,.5); box-shadow: inset 0 1px 1px rgba(255,255,255,.8), inset 0 0 0 1px rgba(173,140,82,.08); }
body.theme-light .felt {
  border-color: rgba(123,94,40,.12);
  background: radial-gradient(120% 100% at 50% 0, rgba(15,143,120,.12), transparent 55%), linear-gradient(#fff8f0, #f4ead8);
  box-shadow: inset 0 1px rgba(255,255,255,.75), 0 30px 80px -50px rgba(111,86,39,.25);
}
body.theme-light .crash-lane {
  background:
    linear-gradient(90deg, rgba(15,143,120,.12), rgba(15,143,120,.03) 45%, rgba(212,75,95,.08)),
    radial-gradient(circle at 10% 80%, rgba(15,143,120,.1), transparent 38%),
    rgba(191,141,36,.08);
  box-shadow: inset 0 0 0 1px rgba(123,94,40,.08);
}
body.theme-light .reel,
body.theme-light .slot-reels .reel {
  background: linear-gradient(180deg, #fffaf2, #efe1c7 52%, #e8d7bb);
  color: #815c11;
  border-color: rgba(191,141,36,.26);
}
body.theme-light .scratch-tile {
  color: rgba(99,76,38,.58);
  background:
    linear-gradient(135deg, rgba(255,255,255,.68), transparent 45%),
    repeating-linear-gradient(135deg, rgba(191,141,36,.14) 0 .35rem, rgba(191,141,36,.06) .35rem .7rem),
    rgba(123,94,40,.06);
  box-shadow: inset 0 1px rgba(255,255,255,.7);
}
body.theme-light .slot-machine {
  background: linear-gradient(180deg, rgba(255,255,255,.42), transparent 40%), rgba(191,141,36,.08);
  box-shadow: inset 0 0 0 1px rgba(123,94,40,.12), 0 1rem 2rem -1.5rem rgba(191,141,36,.28);
}
body.theme-light .promo {
  background:
    linear-gradient(180deg, rgba(255,255,255,.68), transparent 48%),
    radial-gradient(90% 120% at 50% 0, rgba(191,141,36,.14), transparent 52%),
    var(--glass-bg);
  box-shadow: inset 0 1px rgba(255,255,255,.85), inset 0 -1px rgba(173,140,82,.08), 0 24px 56px -34px rgba(111,86,39,.24);
}
body.theme-light .promo-badge {
  border-color: rgba(191,141,36,.24);
  background: linear-gradient(180deg, rgba(246,232,198,.98), rgba(234,214,166,.92));
  color: rgba(86,60,7,.82);
  box-shadow: 0 .7rem 1.5rem -1rem rgba(111,86,39,.25);
}
body.theme-light .promo-kicker { color: #93670f; }
body.theme-light .promo-input-shell {
  border-color: rgba(123,94,40,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.8), transparent 58%),
    rgba(123,94,40,.05);
  box-shadow: inset 0 1px rgba(255,255,255,.82);
}
body.theme-light .promo-input-mark {
  background: rgba(191,141,36,.12);
  color: #93670f;
}
body.theme-light .promo-input {
  background: transparent;
}
body.theme-light .promo-chips span {
  border-color: rgba(123,94,40,.12);
  background: rgba(123,94,40,.05);
}
body.theme-light .floor-note span,
body.theme-light .table-meta span {
  border-color: rgba(123,94,40,.12);
  background: rgba(123,94,40,.06);
}
body.theme-light .status-badge {
  background: rgba(255,250,240,.8);
}
body.theme-light .status-badge.open {
  background: rgba(15,143,120,.1);
}
body.theme-light .status-badge.paused {
  background: rgba(52,121,207,.1);
}
body.theme-light .table-stage-scratch {
  background:
    radial-gradient(45% 70% at 50% 42%, rgba(191,141,36,.16), transparent 68%),
    repeating-linear-gradient(135deg, rgba(191,141,36,.08) 0 .55rem, transparent .55rem 1.1rem),
    linear-gradient(#fff8ef, #efe1c9);
}
body.theme-light .table-stage-slots {
  background:
    radial-gradient(70% 90% at 50% 0, rgba(191,141,36,.18), transparent 62%),
    linear-gradient(90deg, rgba(212,75,95,.08), transparent 34%, rgba(15,143,120,.08)),
    linear-gradient(#fff8ef, #efe1c9);
}
body.theme-light .table tr.you td { background: rgba(15,143,120,.08); }
body.theme-light .radio-tools button:hover { background: rgba(123,94,40,.08); color: var(--ink); }
body.theme-light .toast {
  background: #fffaf1;
  box-shadow: 0 1rem 3rem rgba(111,86,39,.18);
}
.side-note { margin: auto .5rem 0; padding-top: .75rem; color: var(--muted); font-size: .68rem; letter-spacing: .06em; }
.drawer, .drawer-backdrop { display: none; }
.app { min-height: 100dvh; padding-top: var(--top-h); padding-left: 15rem; }
.view { width: 100%; max-width: 72rem; margin: 0 auto; padding: 2rem 1.5rem 6rem; }
.reveal-item {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity .58s cubic-bezier(.16, 1, .3, 1),
    transform .58s cubic-bezier(.16, 1, .3, 1),
    filter .58s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.reveal-item:not(.is-visible) {
  opacity: 0;
  filter: blur(.45rem);
  transform: translate3d(0, 1.15rem, 0) scale(.985);
}
.game-card.reveal-item:not(.is-visible) {
  transform: translate3d(0, 1.3rem, 0) scale(.975);
}
.reveal-item.is-visible {
  will-change: auto;
}
.hero { display: flex; flex-direction: column; align-items: center; gap: 1.35rem; text-align: center; }
.lobby-hero { gap: .52rem; padding-top: .1rem; }
.lobby-hero h1 { font-size: clamp(2.65rem, 5.6vw, 3.75rem); }
.lobby-hero p { font-size: .94rem; line-height: 1.42; }
.hero-lockup { display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.aurum-hero-logo {
  width: min(10.4rem, 34vw);
  max-height: 6.8rem;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.38));
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .35rem;
  border: 1px solid rgba(201,164,76,.25); border-radius: 999px;
  background: rgba(201,164,76,.1); color: #d9bd76;
  padding: .25rem .75rem; font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
}
h1 { margin: 0; font-family: Exposure, OpenRunde, sans-serif; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1.05; letter-spacing: 0; font-weight: 500; font-variation-settings: "EXPO" -10; }
h2, h3 { font-family: OpenRunde, system-ui, sans-serif; font-weight: 500; }
h2, h3, p { margin-top: 0; }
.hero p { max-width: 39rem; margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; text-wrap: balance; }
.house-tagline {
  margin: .2rem 0 0;
  color: #d9bd76;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: lowercase;
}
.house-tagline em {
  font-style: italic;
}
.house-tagline u {
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}
.floor-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  color: var(--muted);
}
.floor-note span {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  padding: .26rem .62rem;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; width: min(28rem, 100%); }
.stat { min-width: 0; border-radius: 1rem; padding: .68rem .65rem; text-align: center; }
.stat small { display: block; color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .16em; }
.stat strong { display: block; margin-top: .2rem; font-size: 1.3rem; }
.promo {
  position: relative;
  isolation: isolate;
  width: min(50rem, 100%);
  border-radius: 1.7rem;
  padding: 1.25rem 1.8rem 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 46%),
    radial-gradient(90% 120% at 50% 0, rgba(240,198,74,.12), transparent 52%),
    var(--glass-bg);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 -1px 0 var(--glass-lo), 0 24px 56px -34px #000;
}
.promo-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 11.5rem;
  margin: 0 auto 1rem;
  padding: .52rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(201,164,76,.24);
  background: linear-gradient(180deg, rgba(74,58,25,.78), rgba(36,30,14,.92));
  color: rgba(242,242,242,.74);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  box-shadow: 0 .7rem 1.5rem -1rem rgba(0,0,0,.6);
}
.promo-aura {
  position: absolute;
  inset: 0 18% auto;
  z-index: -1;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,198,74,.18), transparent 68%);
  filter: blur(1.2rem);
  pointer-events: none;
}
.promo-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  text-align: center;
}
.promo-kicker {
  margin: 0;
  color: #d9bd76;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.promo-copy h2 {
  margin: 0;
  font-family: Exposure, OpenRunde, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.promo-copy p:not(.promo-kicker):not(.house-tagline) {
  margin: 0;
  max-width: 31rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}
.promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  margin-top: 1.15rem;
}
.promo-input-shell {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 4.3rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 58%),
    rgba(255,255,255,.04);
  padding: .42rem .45rem .42rem .9rem;
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.promo-input-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .8rem;
  background: rgba(201,164,76,.12);
  color: #efd58d;
  font-size: 1rem;
  font-weight: 900;
  flex: 0 0 auto;
}
.promo-input {
  min-height: 3.35rem;
  border: 0;
  border-radius: .9rem;
  background: rgba(255,255,255,.04);
  padding-inline: .2rem;
  font-size: 1.12rem;
}
.promo-input::placeholder {
  color: color-mix(in srgb, var(--muted) 82%, transparent);
}
.promo-submit {
  min-width: 9.25rem;
  min-height: 4.3rem;
  padding-inline: 1.35rem;
  font-size: 1.05rem;
  box-shadow: inset 0 1px rgba(255,255,255,.55), 0 1rem 2rem -1.1rem rgba(201,164,76,.78);
}
.promo-submit:disabled {
  cursor: wait;
  opacity: .78;
}
.promo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .95rem;
}
.promo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.promo-chips span {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  padding: .32rem .65rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.promo-status {
  min-height: 1rem;
  margin: 0;
  text-align: right;
}
.academy-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  border-radius: 1.35rem;
  padding: 1.15rem;
}
.academy-copy h2 {
  margin: .25rem 0 .35rem;
  font-family: Exposure, OpenRunde, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
}
.academy-copy p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.5;
}
.academy-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
}
.input {
  min-height: 2.6rem; min-width: 0; flex: 1; border: 1px solid rgba(255,255,255,.15);
  border-radius: .75rem; outline: none; color: var(--ink); background: rgba(255,255,255,.06); padding: .65rem .75rem;
}
.lobby-section { margin-top: 2.35rem; }
.open-section { margin-top: .72rem; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .55rem;
}
.section-kicker {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-head p {
  margin: .25rem 0 0;
  color: var(--muted);
  font-size: .84rem;
}
.rail-cue {
  display: none;
  flex: 0 0 auto;
  color: #d9bd76;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.open-grid .game-card { grid-column: span 2; }
.next-grid .game-card { grid-column: span 2; }
.paused-grid .game-card { grid-column: span 6; }
.game-card {
  grid-column: span 3; display: block; overflow: hidden; border-radius: 1.6rem; padding: .38rem;
  transition: transform .25s; position: relative;
}
.game-card:hover { transform: translateY(-.35rem); }
.game-card.small { grid-column: span 2; }
.game-card.full { grid-column: span 6; }
.inner { position: relative; overflow: hidden; min-height: 14.25rem; border-radius: 1.225rem; background: rgba(255,255,255,.05); padding: 1.25rem; box-shadow: inset 0 1px 1px var(--glass-hi), inset 0 0 0 1px var(--glass-lo); }
.glow { position: absolute; right: -2.5rem; top: -2.5rem; width: 10rem; height: 10rem; border-radius: 50%; opacity: .25; filter: blur(2rem); transition: opacity .25s; }
.game-card:hover .glow { opacity: .45; }
.game-card[data-status="open"] {
  border-color: rgba(47,208,187,.26);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 24px 54px -36px rgba(47,208,187,.55);
}
.coming-card,
.paused-card {
  opacity: .76;
}
.coming-card .inner,
.paused-card .inner {
  filter: saturate(.72);
}
.status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  border: 1px solid rgba(201,164,76,.25);
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #d9bd76;
  padding: .28rem .55rem;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-badge.open {
  border-color: rgba(47,208,187,.32);
  background: rgba(47,208,187,.12);
  color: var(--neon);
}
.status-badge.paused {
  border-color: rgba(74,168,255,.28);
  background: rgba(74,168,255,.1);
  color: var(--blue);
}
.visual { position: relative; height: 7rem; display: flex; align-items: center; justify-content: center; }
.visual.big { height: 11rem; }
.game-card h2 { margin: .9rem 0 .25rem; font-size: 1.5rem; }
.game-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.arrow { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255,255,255,.08); color: #e7cf8e; }
.reels, .cards, .traffic { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.reel { display: grid; place-items: center; width: 3.5rem; height: 5rem; border-radius: .6rem; background: #000; color: var(--gold); border: 1px solid rgba(201,164,76,.35); font-size: 2rem; font-weight: 900; }
.card { display: grid; place-items: center; width: 4rem; height: 5.8rem; border-radius: .55rem; color: #15110f; background: linear-gradient(135deg, #fbf7ee, #e7ddca); box-shadow: 0 .6rem 1rem #0007; font-size: 1.55rem; font-weight: 900; }
.card.red { color: #b3354a; }
.grid-mini { display: grid; grid-template-columns: repeat(3, 2.25rem); gap: .35rem; font-size: 1.25rem; }
.grid-mini span { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .45rem; background: rgba(255,255,255,.08); }
.nav-raket-icon {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
  filter: drop-shadow(0 .22rem .28rem rgba(0,0,0,.34));
}
.raket-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.raket-visual img {
  width: clamp(4.5rem, 12vw, 6.5rem);
  height: clamp(4.5rem, 12vw, 6.5rem);
  object-fit: contain;
  filter: drop-shadow(0 .75rem 1rem rgba(0,0,0,.38));
}
.raket-visual strong { font-size: 2rem; font-weight: 900; }
.raket-stage-icon {
  width: min(8rem, 45vw);
  height: min(8rem, 45vw);
  object-fit: contain;
  filter: drop-shadow(0 1rem 1.25rem rgba(0,0,0,.42));
}
.market-bar { width: min(24rem, 100%); }
.bar-line { display: flex; height: .75rem; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); }
.yes { background: var(--emerald); } .no { background: var(--crimson); }
.market-tools {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: min(28rem, 100%);
  margin: 0 auto 1rem;
  border-radius: 1rem;
  padding: .55rem;
}
.market-tools button {
  border: 0;
  border-radius: .7rem;
  background: rgba(255,255,255,.07);
  color: var(--ink);
  padding: .55rem .7rem;
  font-weight: 800;
}
.market-amount {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}
.market-list {
  display: grid;
  gap: 1rem;
}
.market-card {
  border-radius: 1.2rem;
  padding: 1.15rem;
}
.market-card-head,
.market-prices,
.market-actions,
.market-stats {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.market-card-head,
.market-prices {
  justify-content: space-between;
}
.market-card h2 {
  margin: .8rem 0 1rem;
  font-size: 1.35rem;
  line-height: 1.25;
}
.market-close,
.market-status,
.market-position,
.market-error {
  color: var(--muted);
  font-size: .78rem;
}
.market-bar.live {
  width: 100%;
}
.market-prices {
  margin-bottom: .45rem;
  font-size: .82rem;
  font-weight: 900;
}
.market-stats {
  flex-wrap: wrap;
  margin-top: .9rem;
  color: var(--muted);
  font-size: .76rem;
}
.market-stats span,
.market-position {
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  padding: .35rem .62rem;
}
.market-status {
  margin: .8rem 0 .55rem;
}
.market-actions {
  margin-top: .9rem;
}
.market-buy {
  flex: 1;
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  color: #06110e;
  font-weight: 900;
}
.market-buy:disabled {
  cursor: not-allowed;
  opacity: .5;
}
.yes-buy { background: linear-gradient(#7be0b0, var(--emerald)); }
.no-buy { background: linear-gradient(#ff9aaa, var(--crimson)); }
.market-error {
  min-height: 1rem;
  margin: .6rem 0 0;
  color: #e1b45a;
  text-align: center;
}
.page-head { margin: 0 auto 2rem; max-width: 40rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.page { max-width: 64rem; margin: 0 auto; }
.table-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto 1rem;
  width: 100%;
  border-radius: 1.2rem;
  padding: .9rem 1rem;
}
.table-head h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.table-head p {
  max-width: 36rem;
  margin: .28rem 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.35;
}
.table-kicker {
  display: block;
  margin-bottom: .2rem;
  color: #d9bd76;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.table-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .4rem;
  min-width: min(18rem, 42%);
}
.table-meta span {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.055);
  color: var(--muted);
  padding: .36rem .62rem;
  font-size: .72rem;
  font-weight: 900;
}
.table-meta .table-state {
  border-color: rgba(201,164,76,.28);
  background: rgba(201,164,76,.11);
  color: #d9bd76;
}
.table-meta .table-state.live {
  border-color: rgba(47,208,187,.28);
  background: rgba(47,208,187,.12);
  color: var(--neon);
}
.table-meta .table-state.win {
  border-color: rgba(54,201,140,.28);
  background: rgba(54,201,140,.13);
  color: var(--emerald);
}
.table-meta .table-state.loss {
  border-color: rgba(255,84,112,.28);
  background: rgba(255,84,112,.13);
  color: var(--crimson);
}
.felt {
  position: relative; border-radius: 2rem; border: 1px solid rgba(255,255,255,.12);
  background: radial-gradient(120% 100% at 50% 0, rgba(47,208,187,.1), transparent 55%), linear-gradient(#07140f, #050b09);
  box-shadow: inset 0 1px #ffffff0d, 0 30px 80px -50px #000;
}
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 1.25rem; align-items: start; min-width: 0; }
.game-stage { min-height: 20rem; padding: 2rem; display: grid; place-items: center; text-align: center; overflow: hidden; }
.table-stage-scratch {
  background:
    radial-gradient(45% 70% at 50% 42%, rgba(240,198,74,.14), transparent 68%),
    repeating-linear-gradient(135deg, rgba(240,198,74,.07) 0 .55rem, transparent .55rem 1.1rem),
    linear-gradient(#111008, #070604);
}
.table-stage-slots {
  background:
    radial-gradient(70% 90% at 50% 0, rgba(201,164,76,.16), transparent 62%),
    linear-gradient(90deg, rgba(255,84,112,.08), transparent 34%, rgba(47,208,187,.08)),
    linear-gradient(#110d08, #050504);
}
.table-stage-raket {
  background:
    radial-gradient(95% 115% at 0 0, rgba(47,208,187,.13), transparent 58%),
    radial-gradient(90% 110% at 100% 0, rgba(255,84,112,.08), transparent 58%),
    linear-gradient(#07140f, #050b09);
}
.game-stage svg { max-width: 100%; height: auto; }
.multiplier { font-size: clamp(3.8rem, 11vw, 6rem); line-height: 1; font-weight: 900; }
.game-panel { border-radius: 1.5rem; padding: 1rem; min-width: 0; overflow: hidden; }
.bet-box { display: flex; align-items: center; gap: .5rem; min-width: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 1rem; background: rgba(255,255,255,.06); padding: .4rem .4rem .4rem .85rem; }
.bet-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1.55rem; font-weight: 900; }
.bet-box input::-webkit-outer-spin-button,
.bet-box input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.quick { display: flex; gap: .25rem; }
.quick button, .segment button {
  border: 0; border-radius: .7rem; background: rgba(255,255,255,.07); color: var(--ink);
  padding: .5rem .65rem; font-size: .78rem; font-weight: 800;
}
.quick button:hover, .segment button:hover { background: rgba(47,208,187,.15); color: var(--neon); }
.balance-line { display: flex; justify-content: space-between; gap: 1rem; margin: .45rem .2rem .9rem; color: var(--muted); font-size: .76rem; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }
.chip {
  --chip-a: #21405f;
  --chip-b: #3a6ea5;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 4.15rem;
  height: 4.15rem;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  color: white;
  font-size: 1.08rem;
  font-weight: 900;
  text-shadow: 0 1px 1px rgba(0,0,0,.38);
  background:
    radial-gradient(circle at 50% 43%, rgba(255,255,255,.12) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 50%, var(--chip-a) 0 53%, var(--chip-b) 54% 100%);
  box-shadow: inset 0 3px 5px rgba(255,255,255,.42), inset 0 -7px 12px rgba(0,0,0,.42), 0 10px 20px -10px #000;
}
.chip::before {
  content: "";
  position: absolute;
  inset: .55rem;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.38);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.22);
  z-index: -1;
}
.chip::after {
  content: "";
  position: absolute;
  inset: .08rem;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, transparent 0 18deg, rgba(255,255,255,.76) 18deg 24deg, transparent 24deg 45deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - .72rem), #000 calc(100% - .7rem));
  mask: radial-gradient(farthest-side, transparent calc(100% - .72rem), #000 calc(100% - .7rem));
  z-index: -1;
}
.chip:nth-child(1) { --chip-a: #7c2334; --chip-b: #b3354a; }
.chip:nth-child(2) { --chip-a: #235c40; --chip-b: #3f9d6d; }
.chip:nth-child(4) { --chip-a: #8a6d29; --chip-b: #c9a44c; color: #fff4d6; }
.primary-button { width: 100%; margin-top: .75rem; min-height: 3rem; font-size: 1rem; }
.secondary-button {
  width: 100%;
  margin-top: .5rem;
  min-height: 2.75rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: var(--ink);
  font-weight: 800;
}
.secondary-button:disabled { opacity: .42; cursor: not-allowed; }
.result { min-height: 3.3rem; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: .86rem; line-height: 1.45; overflow-wrap: anywhere; }
.segment { display: flex; gap: .4rem; padding: .25rem; border-radius: 1rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.segment button.active { background: rgba(47,208,187,.15); color: var(--neon); box-shadow: inset 0 0 0 1px rgba(47,230,196,.35); }
.coming-card .inner { filter: saturate(.72); }
.game-card.coming-card { cursor: default; }
.game-card.coming-card:hover { transform: none; }
.game-card.coming-card:hover .glow { opacity: .25; }
.soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  border: 1px solid rgba(201,164,76,.25);
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #d9bd76;
  padding: .28rem .55rem;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.coming-stage { min-height: 27rem; align-content: center; gap: 1rem; }
.coming-cta { display: inline-flex; align-items: center; justify-content: center; width: auto; margin: 0 auto; }
.crash-stage { align-content: center; gap: 1.25rem; }
.crash-sky {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto auto;
  place-items: center;
  width: min(36rem, 100%);
  min-height: 16rem;
}
.crash-lane {
  position: relative;
  width: 100%;
  height: clamp(8rem, 20vw, 11rem);
  overflow: hidden;
  border-radius: 1.5rem;
  background:
    linear-gradient(90deg, rgba(47,208,187,.18), rgba(47,208,187,.04) 45%, rgba(255,84,112,.1)),
    radial-gradient(circle at 10% 80%, rgba(47,208,187,.16), transparent 38%),
    rgba(0,0,0,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.crash-lane::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,208,187,.45), rgba(255,84,112,.5), transparent);
}
.crash-lane::after {
  content: "RAKET";
  position: absolute;
  right: 4%;
  bottom: calc(66% - .5rem);
  color: rgba(255,84,112,.55);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.crash-ship {
  position: absolute;
  left: 4%;
  bottom: 18%;
  z-index: 2;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  --fly-away-duration: .5s;
  --fly-away-fade-delay: .22s;
  transition:
    left .12s linear,
    bottom .12s linear,
    transform .12s linear,
    opacity .18s ease;
  transform-origin: center;
  filter: drop-shadow(0 .6rem .75rem rgba(0,0,0,.45));
}
.crash-ship::before,
.crash-ship::after {
  content: "";
  position: absolute;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}
.crash-ship::before {
  bottom: -.82rem;
  width: 1.1rem;
  height: 2.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,232,138,.8), rgba(255,84,112,.42) 42%, transparent 100%);
  filter: blur(.45rem);
  opacity: .68;
  animation: raketTrail .34s ease-in-out infinite alternate;
}
.crash-ship::after {
  bottom: -.38rem;
  width: .42rem;
  height: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff2a6, #ff8b42 48%, rgba(255,84,112,.08));
  opacity: .86;
  animation: raketFlame .18s ease-in-out infinite alternate;
}
.crash-ship.is-fly-away {
  transition:
    left var(--fly-away-duration) cubic-bezier(.18,.86,.12,1),
    bottom var(--fly-away-duration) cubic-bezier(.18,.86,.12,1),
    transform var(--fly-away-duration) cubic-bezier(.18,.86,.12,1),
    opacity .24s ease var(--fly-away-fade-delay);
}
.crash-ship.is-fly-away::before {
  height: 3.4rem;
  opacity: .9;
  filter: blur(.6rem);
}
.crash-ship.is-fly-away::after {
  height: 1.75rem;
  opacity: 1;
}
.crash-ship img {
  display: block;
  width: clamp(3.5rem, 9vw, 5.25rem);
  height: clamp(3.5rem, 9vw, 5.25rem);
  object-fit: contain;
  position: relative;
  z-index: 1;
}
@keyframes raketTrail {
  from { transform: translateX(-50%) scaleX(.78); opacity: .46; }
  to { transform: translateX(-50%) scaleX(1.18); opacity: .82; }
}
@keyframes raketFlame {
  from { transform: translateX(-50%) scaleY(.76); }
  to { transform: translateX(-50%) scaleY(1.18); }
}
.crash-readout {
  min-height: 1rem;
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}
.crash-history {
  min-height: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
}
.crash-history span {
  border-radius: 999px;
  padding: .3rem .62rem;
  background: rgba(255,255,255,.07);
  color: var(--muted);
  font-size: .74rem;
  font-weight: 900;
}
.crash-history .high { background: rgba(54,201,140,.15); color: var(--emerald); }
.crash-history .low { background: rgba(255,84,112,.15); color: var(--crimson); }
.scratch-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(4.6rem, 1fr));
  gap: .75rem;
  width: min(25rem, 100%);
}
.scratch-tile {
  aspect-ratio: 1;
  border: 1px solid rgba(201,164,76,.28);
  border-radius: .85rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 45%),
    repeating-linear-gradient(135deg, rgba(201,164,76,.16) 0 .35rem, rgba(201,164,76,.08) .35rem .7rem),
    rgba(255,255,255,.07);
  color: rgba(242,242,242,.76);
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  font-weight: 900;
  box-shadow: inset 0 1px rgba(255,255,255,.12);
}
.scratch-tile:not(:disabled):hover { transform: translateY(-.08rem); border-color: rgba(201,164,76,.6); }
.scratch-tile.revealed {
  background: radial-gradient(circle at 50% 42%, rgba(255,225,138,.18), rgba(201,164,76,.08) 62%), rgba(255,255,255,.06);
  border-color: rgba(255,225,138,.42);
  color: var(--ink);
}
.slots-stage { gap: 1rem; }
.slot-machine {
  width: min(28rem, 100%);
  border-radius: 1.2rem;
  border: 2px solid rgba(201,164,76,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 40%), rgba(0,0,0,.32);
  padding: clamp(1rem, 4vw, 1.6rem);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.55), 0 1rem 2rem -1.5rem rgba(201,164,76,.5);
}
.slot-reels { gap: clamp(.5rem, 2vw, .85rem); }
.slot-reels .reel {
  width: clamp(4.2rem, 18vw, 6rem);
  height: clamp(6rem, 25vw, 8rem);
  border-radius: .85rem;
  font-size: clamp(2.4rem, 8vw, 4rem);
  background: linear-gradient(180deg, #111, #000 52%, #151515);
}
.slot-reels .reel.spinning { filter: blur(.7px); transform: translateY(.08rem); }
.paytable {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .72rem;
}
.paytable span {
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  padding: .32rem .6rem;
}
.range { width: 100%; accent-color: var(--neon); }
.table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 1rem; }
.table th, .table td { padding: .8rem; text-align: left; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.table td:last-child, .table th:last-child { text-align: right; }
.table tr.you td { background: rgba(47,208,187,.1); }
.notice { margin-top: 1rem; color: var(--muted); text-align: center; font-size: .82rem; }
.learning-page { max-width: 72rem; }
.learning-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr);
  gap: 1rem;
  align-items: start;
}
.learning-panel {
  min-width: 0;
  border-radius: 1.25rem;
  padding: 1rem;
}
.learning-panel-head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  margin-bottom: .55rem;
}
.learning-reward {
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(201,164,76,.28);
  background: rgba(201,164,76,.11);
  color: #f1d889;
  padding: .35rem .65rem;
  font-size: .78rem;
}
.learning-panel h2 {
  margin: 0 0 .45rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}
.learning-copy {
  margin: 0 0 .85rem;
  color: var(--muted);
  line-height: 1.5;
}
.lesson-list {
  display: grid;
  gap: .65rem;
  margin-bottom: 1rem;
}
.lesson-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .75rem;
  border-radius: .8rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.045);
  padding: .75rem;
}
.lesson-number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(47,208,187,.13);
  color: var(--neon);
  font-weight: 900;
}
.lesson-card h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
}
.lesson-card p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}
.quiz-form {
  display: grid;
  gap: .8rem;
}
.quiz-question {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .85rem;
  margin: 0;
  padding: .8rem;
}
.quiz-question legend {
  padding: 0 .25rem;
  color: #d9bd76;
  font-weight: 900;
  line-height: 1.25;
}
.quiz-question label {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  margin-top: .65rem;
  color: var(--muted);
  line-height: 1.35;
}
.quiz-question input {
  margin-top: .18rem;
  accent-color: var(--neon);
}
.reset-clock {
  display: grid;
  place-items: center;
  gap: .2rem;
  min-height: 10rem;
  border-radius: 1rem;
  border: 1px solid rgba(47,208,187,.2);
  background:
    radial-gradient(circle at 50% 35%, rgba(47,208,187,.14), transparent 60%),
    rgba(255,255,255,.04);
  margin: 1rem 0;
}
.reset-clock span {
  color: transparent;
  background: linear-gradient(180deg, #9af7e6, var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 900;
}
.reset-clock small {
  color: var(--muted);
  font-weight: 800;
}
.reflection-box {
  display: grid;
  gap: .45rem;
  margin-top: .75rem;
}
.reflection-box span {
  color: #d9bd76;
  font-size: .78rem;
  font-weight: 900;
}
.reflection-box textarea {
  min-height: 8rem;
  resize: vertical;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: .85rem;
  background: rgba(255,255,255,.055);
  color: var(--ink);
  padding: .75rem;
  line-height: 1.4;
}
.toast { position: fixed; z-index: 80; left: 50%; bottom: 1rem; transform: translateX(-50%); padding: .75rem 1rem; border-radius: 999px; color: var(--ink); background: #111; border: 1px solid var(--line); box-shadow: 0 1rem 3rem #000a; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-.25rem); }
.entry-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  background: rgba(0,0,0,.72);
}
.entry-modal[hidden] { display: none; }
.entry-modal-open { overflow: hidden; }
.entry-card {
  width: min(34rem, 100%);
  border-radius: 1.25rem;
  padding: 1.35rem;
  text-align: center;
}
.entry-kicker {
  margin: 0 0 .55rem;
  color: #d9bd76;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.entry-card h2 {
  margin: 0 auto .75rem;
  max-width: 25rem;
  font-size: clamp(1.45rem, 4.5vw, 2.25rem);
  line-height: 1.08;
}
.entry-card p {
  margin-inline: auto;
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.45;
}
.entry-manager { font-weight: 800; color: var(--ink); }
.entry-card .gold-button {
  min-width: min(16rem, 100%);
  margin-top: .35rem;
}
.entry-card .gold-button:disabled {
  cursor: wait;
  opacity: .72;
}
.entry-contact {
  display: inline-flex;
  margin-top: .85rem;
  color: #f1d889;
  font-weight: 900;
}
.radio-host {
  position: fixed;
  right: .75rem;
  bottom: .75rem;
  z-index: 65;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  padding-bottom: env(safe-area-inset-bottom);
}
.radio-panel {
  width: min(20rem, calc(100vw - 1.5rem));
  overflow: hidden;
  border-radius: 1rem;
}
.radio-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .75rem; }
.radio-title { display: flex; align-items: center; gap: .45rem; font-weight: 800; }
.radio-tools { display: flex; align-items: center; gap: .25rem; }
.radio-tools button {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: .55rem;
  background: transparent;
  color: var(--muted);
}
.radio-tools button:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.radio-form { display: flex; gap: .45rem; padding: 0 .75rem .55rem; }
.radio-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: .6rem;
  background: rgba(255,255,255,.06);
  color: var(--ink);
  outline: 0;
  padding: .45rem .55rem;
  font-size: .76rem;
}
.radio-form button { border: 0; border-radius: .6rem; background: rgba(47,208,187,.15); color: var(--neon); padding: .45rem .6rem; font-weight: 800; }
.radio-frame { aspect-ratio: 16 / 9; width: 100%; }
.radio-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.radio-tip { margin: 0; padding: .55rem .75rem .75rem; color: var(--muted); font-size: .68rem; }
.radio-button { border-radius: 999px; border: 1px solid var(--glass-border); padding: .7rem 1rem; color: var(--ink); font-weight: 800; }
.radio-button:disabled { cursor: not-allowed; opacity: .55; }
.radio-hidden { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal-item {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
@media (max-width: 1023px) {
  .hamburger { display: grid; place-items: center; }
  .side { display: none; }
  .app { padding-left: 0; }
  .drawer-backdrop { display: block; position: fixed; inset: var(--top-h) 0 0; z-index: 55; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .drawer { display: block; position: fixed; z-index: 60; top: calc(var(--top-h) + .75rem); left: .75rem; width: min(20rem, calc(100vw - 1.5rem)); max-height: calc(100dvh - var(--top-h) - 1.5rem); overflow: auto; border-radius: 1rem; padding: .75rem; transform: translateY(-.5rem); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .drawer-open .drawer, .drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; transform: translateY(0); }
}
@media (max-width: 780px) {
  .view { padding: 1rem .85rem 4rem; }
  .sign-in { max-width: 7.25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-inline: .8rem; }
  .account-menu { right: 3.25rem; width: min(9rem, calc(100vw - 1.5rem)); }
  .balance-menu { right: .75rem; width: min(14rem, calc(100vw - 1.5rem)); }
  .page-head { margin-bottom: 1.2rem; gap: .45rem; }
  .page-head h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
  .section-grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .game-card, .game-card.small, .game-card.full { grid-column: 1; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-layout { grid-template-columns: 1fr; }
  .academy-callout,
  .learning-grid {
    grid-template-columns: 1fr;
  }
  .academy-cta {
    width: 100%;
  }
  .learning-panel,
  .academy-callout {
    padding: .85rem;
    border-radius: 1rem;
  }
  .learning-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .game-panel { border-radius: 1.15rem; padding: .85rem; }
  .result { min-height: 2.4rem; font-size: .8rem; }
  .segment { gap: .25rem; overflow-x: auto; scrollbar-width: none; }
  .segment::-webkit-scrollbar { display: none; }
  .segment button { flex: 1 0 auto; padding: .46rem .55rem; }
  .chips { gap: .5rem; margin: .65rem 0; }
  .chip { width: 3.35rem; height: 3.35rem; font-size: .95rem; }
  .chip::before { inset: .45rem; }
  .chip::after {
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - .62rem), #000 calc(100% - .6rem));
    mask: radial-gradient(farthest-side, transparent calc(100% - .62rem), #000 calc(100% - .6rem));
  }
  .primary-button { min-height: 2.75rem; margin-top: .45rem; }
  .crash-page { min-height: calc(100dvh - 5.5rem); display: flex; flex-direction: column; }
  .crash-page .page-head { margin-bottom: .65rem; }
  .crash-layout { flex: 1; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: .65rem; }
  .crash-stage { min-height: 0; padding: .8rem; gap: .55rem; }
  .crash-sky { width: 100%; min-height: 0; grid-template-rows: minmax(5.8rem, 1fr) auto auto; }
  .crash-lane { height: clamp(5.8rem, 24dvh, 8.75rem); border-radius: 1rem; }
  .crash-ship { font-size: clamp(2.05rem, 10vw, 3rem); }
  .crash-stage .multiplier { font-size: clamp(2.8rem, 16vw, 4.15rem); }
  .crash-readout { margin-top: .25rem; font-size: .72rem; }
  .crash-history { min-height: 1.6rem; max-height: 1.6rem; overflow: hidden; gap: .32rem; }
  .crash-history span { padding: .22rem .48rem; font-size: .68rem; }
  .crash-layout .game-panel { padding: .7rem; }
  .crash-layout .result { min-height: 2rem; line-height: 1.3; }
  .crash-layout .bet-box { padding: .32rem .36rem .32rem .65rem; border-radius: .85rem; }
  .crash-layout .bet-box input { font-size: 1.28rem; }
  .crash-layout .quick button { padding: .42rem .48rem; }
  .crash-layout .balance-line { margin: .3rem .15rem .45rem; }
  .crash-layout .chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .38rem; margin: .45rem 0; }
  .crash-layout .chip { width: 100%; height: auto; aspect-ratio: 1; max-height: 3.1rem; justify-self: center; }
  .promo {
    padding: 1.75rem 1rem 1rem;
    border-radius: 1.35rem;
  }
  .promo-row {
    grid-template-columns: 1fr;
    gap: .6rem;
  }
  .promo-input-shell,
  .promo-submit {
    min-height: 3.8rem;
  }
  .promo-foot {
    flex-direction: column;
    align-items: stretch;
    gap: .7rem;
  }
  .promo-chips {
    justify-content: center;
  }
  .promo-status {
    text-align: center;
  }
}
@media (max-width: 480px) {
  .brand { font-size: 1rem; gap: .24rem; }
  .top { gap: .45rem; padding-inline: .65rem; }
  .top-actions { gap: .32rem; }
  .sign-in { max-width: 5.2rem; }
  .balance-pill { max-width: 7rem; padding-inline: .5rem; }
  .icon-button { width: 2.1rem; height: 2.1rem; }
  .stats { grid-template-columns: 1fr; }
  .game-stage { min-height: 18rem; padding: 1.25rem; }
  .lesson-card {
    grid-template-columns: 1fr;
  }
  .reset-clock {
    min-height: 8rem;
  }
  .bet-box { flex-wrap: wrap; }
  .quick { width: 100%; justify-content: flex-end; }
  .promo-badge {
    min-width: 9.75rem;
    padding-inline: 1rem;
    font-size: .72rem;
    letter-spacing: .2em;
  }
  .promo-copy h2 {
    font-size: 1.55rem;
  }
  .promo-copy p:not(.promo-kicker):not(.house-tagline) {
    font-size: .84rem;
  }
  .promo-input-shell {
    gap: .55rem;
    padding-left: .7rem;
  }
  .promo-input-mark {
    width: 2rem;
    height: 2rem;
    border-radius: .7rem;
  }
  .promo-input {
    font-size: 1rem;
  }
  .crash-page .page-head { margin-bottom: .45rem; }
  .crash-page .eyebrow { display: none; }
  .crash-page h1 { font-size: 2rem; }
  .crash-stage { min-height: 0; padding: .6rem; }
  .crash-layout .bet-box { flex-wrap: nowrap; }
  .crash-layout .quick { width: auto; justify-content: flex-end; }
  .crash-layout .chip { max-height: 2.75rem; }
  .crash-layout .segment button { padding-inline: .46rem; font-size: .74rem; }
}
@media (max-width: 380px), (max-height: 640px) {
  .view { padding-top: .65rem; }
  .crash-page .page-head { display: none; }
  .crash-layout { gap: .45rem; }
  .crash-lane { height: clamp(5rem, 21dvh, 7.1rem); }
  .crash-stage .multiplier { font-size: clamp(2.45rem, 14vw, 3.35rem); }
  .crash-readout { display: none; }
  .crash-layout .result { min-height: 1.65rem; font-size: .74rem; }
  .crash-layout .chips { margin: .35rem 0; }
  .crash-layout .chip { max-height: 2.45rem; }
}

@media (max-width: 780px) {
  :root { --top-h: 3.25rem; }
  html, body { height: 100%; overflow: hidden; }
  body { min-height: 100dvh; }
  .top {
    gap: .42rem;
    padding-inline: max(.55rem, env(safe-area-inset-left));
    padding-right: max(.55rem, env(safe-area-inset-right));
  }
  .brand {
    flex: 0 0 auto;
    min-width: 0;
    font-size: 1.02rem;
  }
  .brand-extra { display: none; }
  .top-actions {
    gap: .28rem;
    min-width: 0;
  }
  .contact-button,
  .sign-in {
    min-height: 2.22rem;
    padding: .48rem .68rem;
    font-size: .78rem;
  }
  .contact-button {
    max-width: 8.75rem;
    padding-inline: .54rem;
    font-size: .66rem;
  }
  .balance-pill {
    max-width: 5.75rem;
    min-height: 2.22rem;
    gap: .3rem;
    padding: .38rem .45rem;
    font-size: .82rem;
  }
  .balance-pill .coin {
    width: 1.1rem;
    height: 1.1rem;
  }
  .balance-pill .chev { display: none; }
  .icon-button { display: none; }
  .account-menu { top: calc(var(--top-h) + .45rem); right: 6.1rem; }
  .balance-menu { top: calc(var(--top-h) + .45rem); }
  .radio-host { display: none; }
  .app {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }
  .view {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - var(--top-h));
    max-width: none;
    overflow: hidden;
    padding: .62rem .68rem calc(.62rem + env(safe-area-inset-bottom));
  }
  body.content-route .view {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body[data-route="lobby"] .view {
    display: block;
  }
  .page {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  body.content-route .page {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }
  .page-head {
    flex: 0 0 auto;
    margin-bottom: .55rem;
    gap: .35rem;
  }
  .page-head h1 { font-size: clamp(1.8rem, 10vw, 2.55rem); }
  .page-head .notice {
    margin-top: 0;
    font-size: .76rem;
    line-height: 1.25;
  }
  .hero {
    flex: 0 0 auto;
    gap: .55rem;
  }
  .lobby-hero { gap: .45rem; }
  .aurum-hero-logo {
    width: min(10rem, 44vw);
    max-height: 6.6rem;
  }
  .hero h1 {
    font-size: clamp(2rem, 13vw, 3rem);
    line-height: .98;
  }
  .hero > p:not(.house-tagline),
  .hero .stats,
  .promo-copy,
  .promo-foot {
    display: none;
  }
  .floor-note span {
    padding: .24rem .5rem;
    font-size: .58rem;
    letter-spacing: .08em;
  }
  .lobby-section {
    position: relative;
    margin-top: .95rem;
  }
  .lobby-section::after {
    content: "";
    position: absolute;
    top: 2.7rem;
    right: 0;
    bottom: 0;
    width: 2.25rem;
    background: linear-gradient(90deg, transparent, var(--surface));
    pointer-events: none;
  }
  .promo-section::after,
  .paused-section::after {
    display: none;
  }
  .section-head {
    align-items: center;
    gap: .7rem;
    margin-bottom: .5rem;
  }
  .section-kicker {
    font-size: .78rem;
    letter-spacing: .12em;
  }
  .section-head p {
    font-size: .72rem;
    line-height: 1.25;
  }
  .rail-cue {
    display: inline-flex;
    border: 1px solid rgba(201,164,76,.18);
    border-radius: 999px;
    background: rgba(201,164,76,.08);
    padding: .24rem .5rem;
    font-size: .56rem;
  }
  .promo {
    width: 100%;
    border-radius: 1rem;
    padding: .85rem;
  }
  .promo-badge {
    position: static;
    transform: none;
    min-width: 0;
    width: max-content;
    margin: 0 auto .55rem;
    padding: .34rem .7rem;
    font-size: .62rem;
    letter-spacing: .14em;
  }
  .promo-row {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 0;
    gap: .45rem;
  }
  .promo-input-shell {
    min-height: 2.7rem;
    border-radius: .8rem;
    padding: .28rem .35rem .28rem .55rem;
  }
  .promo-input-mark {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: .55rem;
  }
  .promo-input {
    min-height: 2.15rem;
    font-size: .9rem;
  }
  .promo-submit {
    min-width: 4.9rem;
    min-height: 2.7rem;
    padding-inline: .68rem;
    font-size: .82rem;
  }
  .section-grid {
    flex: 0 0 auto;
    min-height: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(12rem, 68vw);
    grid-template-columns: none;
    gap: .7rem;
    margin-top: .7rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 .05rem .3rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    align-items: start;
  }
  .paused-grid {
    grid-auto-columns: minmax(16rem, 88vw);
  }
  .open-grid {
    grid-auto-columns: minmax(10.8rem, 52vw);
  }
  .section-grid::-webkit-scrollbar { display: none; }
  .game-card,
  .game-card.small,
  .game-card.full {
    grid-column: auto;
    min-width: 0;
    height: auto;
    scroll-snap-align: start;
  }
  .inner {
    min-height: 0;
    height: 9.6rem;
    border-radius: 1rem;
    padding: .82rem;
  }
  .visual { height: 4rem; }
  .visual .grid-mini {
    grid-template-columns: repeat(3, 1.45rem);
    gap: .2rem;
    font-size: .82rem;
  }
  .visual .grid-mini span {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: .32rem;
  }
  .visual .reel {
    width: 2.1rem;
    height: 3rem;
    border-radius: .45rem;
    font-size: 1.25rem;
  }
  .raket-visual { gap: .42rem; }
  .raket-visual img {
    width: 3.6rem;
    height: 3.6rem;
  }
  .raket-visual strong { font-size: 1.45rem; }
  .game-card h2 {
    margin: .55rem 0 .18rem;
    font-size: 1rem;
    line-height: 1.1;
  }
  .game-card p {
    font-size: .74rem;
    line-height: 1.25;
  }
  .arrow {
    width: 1.8rem;
    height: 1.8rem;
    right: .65rem;
    bottom: .65rem;
  }
  .table-head {
    flex: 0 0 auto;
    align-items: start;
    border-radius: 1rem;
    padding: .58rem .68rem;
    margin-bottom: .48rem;
  }
  .table-head h1 {
    font-size: 1.32rem;
    line-height: 1;
  }
  .table-head p,
  .table-kicker,
  .table-meta span:nth-child(3) {
    display: none;
  }
  .table-head .house-tagline {
    display: block;
    margin-top: .22rem;
    font-size: .62rem;
  }
  .table-meta {
    min-width: auto;
    gap: .25rem;
  }
  .table-meta span {
    padding: .24rem .45rem;
    font-size: .62rem;
  }
  .game-layout,
  .crash-layout {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    align-content: start;
    align-items: stretch;
    gap: .48rem;
    overflow: hidden;
  }
  .game-stage {
    min-height: 0;
    padding: .7rem;
    border-radius: 1rem;
  }
  .game-panel {
    flex: 0 0 auto;
    border-radius: 1rem;
    padding: .58rem;
  }
  .result {
    min-height: 1.55rem;
    font-size: .72rem;
    line-height: 1.25;
  }
  .segment {
    gap: .22rem;
    padding: .2rem;
    border-radius: .75rem;
  }
  .segment button {
    min-width: 0;
    padding: .36rem .38rem;
    font-size: .69rem;
  }
  .bet-box {
    flex-wrap: nowrap;
    border-radius: .75rem;
    padding: .28rem .32rem .28rem .55rem;
  }
  .bet-box input { font-size: 1.1rem; }
  .quick {
    width: auto;
    justify-content: flex-end;
  }
  .quick button {
    padding: .36rem .42rem;
    border-radius: .62rem;
    font-size: .7rem;
  }
  .balance-line {
    margin: .24rem .1rem .34rem;
    font-size: .68rem;
  }
  .chips {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .34rem;
    margin: .34rem 0;
  }
  .chip,
  .crash-layout .chip {
    width: min(100%, 2.72rem);
    height: auto;
    aspect-ratio: 1;
    max-height: none;
    justify-self: center;
    font-size: .82rem;
  }
  .chip::before { inset: .38rem; }
  .chip::after {
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - .54rem), #000 calc(100% - .52rem));
    mask: radial-gradient(farthest-side, transparent calc(100% - .54rem), #000 calc(100% - .52rem));
  }
  .primary-button {
    min-height: 2.35rem;
    margin-top: .34rem;
    font-size: .88rem;
  }
  .crash-page { min-height: 0; }
  .crash-page .page-head { margin-bottom: .42rem; }
  .crash-stage { padding: .58rem; gap: .38rem; }
  .crash-sky {
    width: 100%;
    min-height: 0;
    grid-template-rows: minmax(4rem, 1fr) auto;
  }
  .crash-lane {
    height: clamp(4.6rem, 18dvh, 6.4rem);
    border-radius: .85rem;
  }
  .crash-lane::after {
    content: "RAKET";
    font-size: .54rem;
  }
  .crash-ship img {
    width: clamp(3.1rem, 11vw, 4.1rem);
    height: clamp(3.1rem, 11vw, 4.1rem);
  }
  .crash-stage .multiplier {
    font-size: clamp(2.2rem, 13vw, 3.15rem);
  }
  .crash-readout { display: none; }
  .crash-history {
    min-height: 1.34rem;
    max-height: 1.34rem;
    gap: .25rem;
  }
  .crash-history span {
    padding: .18rem .38rem;
    font-size: .62rem;
  }
  .scratch-board {
    grid-template-columns: repeat(3, minmax(3rem, 1fr));
    gap: .45rem;
    width: min(16rem, 100%);
  }
  .scratch-tile {
    border-radius: .65rem;
    font-size: clamp(1.35rem, 7vw, 2rem);
  }
  .slots-stage { gap: .55rem; }
  .slot-machine {
    width: min(18rem, 100%);
    padding: .75rem;
    border-radius: .95rem;
  }
  .slot-reels .reel {
    width: clamp(3.2rem, 18vw, 4.3rem);
    height: clamp(4.35rem, 24vw, 5.6rem);
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }
  .paytable {
    gap: .28rem;
    font-size: .62rem;
  }
  .paytable span { padding: .24rem .45rem; }
  .table th,
  .table td {
    padding: .55rem .5rem;
    font-size: .78rem;
  }
  .notice { margin-top: .55rem; font-size: .74rem; }
  .coming-stage {
    flex: 1 1 auto;
    min-height: 0;
    gap: .55rem;
  }
  .entry-modal { padding: .7rem; }
  .entry-card {
    max-height: calc(100dvh - 1.4rem);
    overflow: hidden;
    border-radius: 1rem;
    padding: 1rem;
  }
  .entry-kicker { font-size: .6rem; margin-bottom: .4rem; }
  .entry-card h2 {
    font-size: clamp(1.2rem, 6vw, 1.65rem);
    margin-bottom: .55rem;
  }
  .entry-card p {
    font-size: .82rem;
    line-height: 1.32;
  }
  .entry-card .gold-button {
    min-height: 2.5rem;
    margin-top: .15rem;
  }
}

@media (max-width: 390px), (max-height: 700px) {
  .view { padding-top: .48rem; }
  .hero .eyebrow { display: none; }
  .aurum-hero-logo { width: min(7.8rem, 38vw); max-height: 5rem; }
  .promo { padding: .68rem; }
  .section-grid { grid-auto-columns: minmax(10.8rem, 66vw); gap: .55rem; }
  .open-grid { grid-auto-columns: minmax(10.4rem, 52vw); }
  .paused-grid { grid-auto-columns: minmax(15rem, 88vw); }
  .inner { height: 8.8rem; }
  .visual { height: 3.35rem; }
  .game-card p { display: none; }
  .crash-page .page-head,
  .page-head .eyebrow { display: none; }
  .game-layout,
  .crash-layout { gap: .38rem; }
  .game-panel { padding: .48rem; }
  .segment button { padding-inline: .3rem; font-size: .64rem; }
  .result { min-height: 1.35rem; font-size: .68rem; }
  .crash-lane { height: clamp(4rem, 16dvh, 5.2rem); }
  .crash-stage .multiplier { font-size: clamp(2rem, 12vw, 2.7rem); }
  .chip,
  .crash-layout .chip { width: min(100%, 2.36rem); }
  .primary-button { min-height: 2.2rem; }
  .scratch-board { width: min(14rem, 100%); gap: .35rem; }
}
