/* =========================================================
   Lula vs Flávio — design system (noite + ouro + vermelho/azul)
   ========================================================= */
:root {
  --radius: .75rem;
  --background: oklch(0.16 0.035 265);
  --foreground: oklch(0.97 0.01 90);
  --surface: oklch(0.22 0.04 265);
  --surface-2: oklch(0.27 0.045 265);
  --primary: oklch(0.8 0.16 85);
  --primary-fg: oklch(0.2 0.05 60);
  --muted: oklch(0.28 0.04 265);
  --muted-fg: oklch(0.73 0.03 265);
  --accent: oklch(0.55 0.21 25);
  --destructive: oklch(0.58 0.23 27);
  --border: oklch(0.36 0.05 265);
  --input: oklch(0.3 0.045 265);
  --gold: oklch(0.82 0.16 85);
  --gold-soft: oklch(0.92 0.11 92);
  --gold-deep: oklch(0.6 0.13 70);
  --team-red: oklch(0.56 0.23 25);
  --team-blue: oklch(0.55 0.2 260);
  --win: oklch(0.85 0.18 105);
  --shadow-panel: 0 18px 50px -20px oklch(0 0 0 / 0.9);
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-sans: "Barlow", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html, body { margin: 0; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.5;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, .font-display { font-family: var(--font-display); letter-spacing: .02em; font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- utilitários ---------- */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
.container.mid { max-width: 64rem; }
.container.narrow { max-width: 36rem; }
.center { text-align: center; }
.right { text-align: right; }
.muted { color: var(--muted-fg); }
.small { font-size: .875rem; }
.tiny { font-size: .75rem; }
.micro { font-size: .625rem; text-transform: uppercase; }
.bold { font-weight: 700; }
.normal { font-weight: 400; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.min-w-0 { min-width: 0; }
.min-w-40 { min-width: 10rem; }
.w-full { width: 100%; }
.w-28 { width: 7rem; }
.inline { display: inline; }
.t-gold { color: var(--gold); }
.t-gold-soft { color: var(--gold-soft); }
.t-red { color: var(--team-red); }
.mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.my-5 { margin: 1.25rem 0; } .mx-2 { margin: 0 .5rem; }
.pt-8 { padding-top: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; } .py-16 { padding-top: 4rem; padding-bottom: 4rem; } .py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.h2 { font-size: 1.875rem; line-height: 1.1; }
.h3 { font-size: 1.5rem; }
.h4 { font-size: 1.25rem; }
.display-lg { font-size: 3rem; line-height: 1; }
@media (min-width: 640px) { .display-lg { font-size: 3.75rem; } }
.eyebrow { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--gold); margin-bottom: .25rem; }

/* ---------- ícones ---------- */
.ic { width: 1rem; height: 1rem; flex-shrink: 0; display: inline-block; vertical-align: -.15em; }
.ic-xs { width: .75rem; height: .75rem; }
.ic-sm { width: 1rem; height: 1rem; }
.ic-lg { width: 1.75rem; height: 1.75rem; }
.ic-xl { width: 2rem; height: 2rem; }
.card > .ic-lg, .card > .ic-xl, .feature > .ic-xl { display: block; margin-bottom: .75rem; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  white-space: nowrap; border-radius: calc(var(--radius) - 2px);
  font-size: .875rem; font-weight: 600; cursor: pointer;
  height: 2.25rem; padding: 0 1rem; border: 1px solid transparent;
  background: var(--primary); color: var(--primary-fg);
  box-shadow: 0 1px 3px oklch(0 0 0 / .3);
  transition: background-color .15s, color .15s, opacity .15s;
}
.btn:hover { background: oklch(0.8 0.16 85 / .9); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-outline { background: var(--background); border-color: var(--input); color: var(--foreground); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; box-shadow: none; color: var(--foreground); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-icon { width: 2.25rem; padding: 0; }
.btn-lg { height: 3rem; padding: 0 1.75rem; font-size: 1rem; font-weight: 700; }
.btn-block { width: 100%; height: 2.75rem; font-weight: 700; }
.btn-gold-outline { border-color: oklch(0.82 0.16 85 / .5); background: oklch(0.16 0.035 265 / .6); }
.btn-spin { height: 3.5rem; min-width: 9rem; font-size: 1.125rem; font-weight: 800; }
.btn-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.link-gold { color: var(--gold); font-weight: 700; }
.link-gold:hover { text-decoration: underline; }

/* ---------- formulários ---------- */
.input {
  width: 100%; height: 2.75rem; padding: 0 .75rem;
  background: var(--background); border: 1px solid var(--input);
  border-radius: calc(var(--radius) - 2px); outline: none;
}
.input:focus { border-color: var(--gold); }
.form { display: flex; flex-direction: column; gap: .5rem; }
.form label { font-size: .875rem; font-weight: 600; margin-top: .75rem; }
.form .btn-block { margin-top: 1.25rem; height: 3rem; }
.form-msg { margin-top: 1rem; padding: .75rem; border: 1px solid oklch(0.82 0.16 85 / .3); background: var(--background); color: var(--gold-soft); font-size: .875rem; }
label { font-size: .875rem; font-weight: 600; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 30; background: oklch(0.16 0.035 265 / .95); backdrop-filter: blur(10px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.logo { font-size: 1.5rem; color: var(--gold-soft); }
@media (min-width: 640px) { .logo { font-size: 1.875rem; } }
.nav-desktop, .header-actions { display: none; align-items: center; gap: .75rem; }
.nav-link { padding: .5rem .75rem; font-size: .875rem; font-weight: 600; color: var(--muted-fg); transition: color .15s; }
.nav-link:hover { color: var(--foreground); }
.nav-link.is-active { color: var(--gold); }
.header-credits { font-size: 1.25rem; color: var(--gold); }
.header-credits small { font-family: var(--font-sans); font-size: .625rem; text-transform: uppercase; }
/* menu do celular: flutua POR CIMA da página (não empurra o conteúdo para baixo) */
.nav-mobile {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
  display: flex; flex-direction: column; gap: .25rem;
  max-height: calc(100dvh - 4rem); overflow-y: auto; overscroll-behavior: contain;
  padding: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid oklch(0.82 0.16 85 / .35);
  background: oklch(0.14 0.035 265 / .97);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px oklch(0 0 0 / .6);
}
.nav-mobile > a:not(.btn) { padding: .75rem; font-size: .875rem; font-weight: 600; }
.nav-mobile > p { padding: .75rem; }
@media (min-width: 768px) {
  .nav-desktop, .header-actions { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
}

/* ---------- fundos ---------- */
.bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bg-overlay { position: absolute; inset: 0; z-index: -1; background: oklch(0.16 0.035 265 / var(--ov, .7)); }

/* ---------- landing ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid oklch(0.82 0.16 85 / .2); background: var(--surface); }
.hero-grid { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1.3fr; align-items: center; padding-top: 4rem; padding-bottom: 4rem; } }
.hero-text { text-align: center; }
@media (min-width: 1024px) { .hero-text { text-align: left; } }
.badge { display: inline-flex; gap: .5rem; align-items: center; margin-bottom: 1rem; border: 1px solid oklch(0.82 0.16 85 / .5); background: oklch(0.16 0.035 265 / .7); padding: .25rem .75rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--gold); }
.hero-title { font-size: 3.75rem; line-height: 1; }
@media (min-width: 640px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 6rem; } }
.hero-lead { margin: 1rem auto 0; max-width: 32rem; font-size: 1.125rem; font-weight: 500; color: oklch(0.97 0.01 90 / .9); }
@media (min-width: 1024px) { .hero-lead { margin-left: 0; font-size: 1.25rem; } }
.hero-ctas { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
@media (min-width: 1024px) { .hero-ctas { justify-content: flex-start; } }
.reels-caption { margin-bottom: .75rem; text-align: center; font-size: 1.25rem; color: var(--gold-soft); }
.hero .reels-caption { font-size: 1.5rem; }
.features { display: grid; padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 1.5rem; border-bottom: 1px solid var(--border); }
.feature h2 { font-size: 1.875rem; }
.feature:last-child { border: 0; }
@media (min-width: 640px) { .feature { border-bottom: 0; border-right: 1px solid var(--border); } }
.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 1rem; text-align: center; font-size: .75rem; color: var(--muted-fg); }

/* ---------- rolos ---------- */
.frame-gold {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(160deg, var(--gold-soft), var(--gold-deep) 45%, var(--gold-soft)) border-box;
  box-shadow: var(--shadow-panel);
}
.reels { position: relative; margin: 0 auto; width: 100%; max-width: 48rem; overflow: hidden; border-radius: var(--radius); padding: .5rem; }
@media (min-width: 640px) { .reels { padding: 1rem; } }
.reels-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .25rem; border-radius: 4px; background: oklch(0.16 0.035 265 / .8); padding: .25rem; }
@media (min-width: 640px) { .reels-grid { gap: .5rem; padding: .5rem; } }
.reel { display: grid; grid-template-rows: repeat(3, 1fr); gap: .25rem; min-width: 0; }
@media (min-width: 640px) { .reel { gap: .5rem; } }
.tile { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; overflow: hidden; border-radius: 4px; border: 1px solid oklch(0.82 0.16 85 / .2); background: oklch(0.27 0.045 265 / .8); padding: .25rem; }
@media (min-width: 640px) { .tile { padding: .5rem; } }
.sym { width: 100%; height: 100%; object-fit: contain; }
.sym-sm { width: 2rem; height: 2rem; }
.sym-md { width: 2.25rem; height: 2.25rem; }
.reels-topbar { pointer-events: none; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: oklch(0.82 0.16 85 / .7); }
.sparks { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }

.reel-window { position: relative; width: 100%; aspect-ratio: 1 / 3.12; overflow: hidden; border-radius: 4px; box-shadow: inset 0 15px 20px -15px var(--background), inset 0 -15px 20px -15px var(--background); }
.reel-track { display: grid; grid-template-rows: repeat(18, 1fr); gap: 4px; height: 600%; animation: reel-scroll .52s linear infinite; will-change: transform; }
.reel-track-1 { animation-duration: .47s; }
.reel-track-2 { animation-duration: .57s; }
.reel-track-3 { animation-duration: .44s; }
.reel-track-4 { animation-duration: .54s; }
.reel-spin-tile { min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold-deep); border-radius: 4px; background: var(--surface-2); padding: 4px; }
@keyframes reel-scroll { to { transform: translateY(-50%); } }
.reel-stop { animation: reel-settle .32s cubic-bezier(.2,1.4,.5,1) both; }
@keyframes reel-settle { from { transform: translateY(-12%); filter: blur(6px); } to { transform: translateY(0); filter: blur(0); } }
.tile.is-win { z-index: 1; animation: win-pulse 1s ease-in-out infinite; }
@keyframes win-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--win), 0 0 18px -2px var(--win); }
  50% { box-shadow: 0 0 0 3px var(--gold-soft), 0 0 30px 0 var(--gold); }
}
.reels-win { animation: win-frame 1.6s ease-out; }
@keyframes win-frame { 0%, 100% { filter: brightness(1); } 20%, 55% { filter: brightness(1.35); } }
.reels-loss { animation: loss-frame .55s ease-out; }
@keyframes loss-frame { 0% { filter: saturate(.35) brightness(.65); } 100% { filter: saturate(1) brightness(1); } }
.win-spark { position: absolute; color: var(--gold-soft); font-size: 2rem; text-shadow: 0 0 12px var(--gold); animation: spark-rise 1.25s ease-out both; }
.win-spark-1 { left: 12%; top: 65%; }
.win-spark-2 { left: 36%; top: 52%; animation-delay: .16s; }
.win-spark-3 { left: 68%; top: 70%; animation-delay: .28s; }
.win-spark-4 { left: 88%; top: 44%; animation-delay: .1s; }
@keyframes spark-rise { 0% { opacity: 0; transform: translateY(24px) scale(.4) rotate(-25deg); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-75px) scale(1.4) rotate(35deg); } }

/* ---------- tela do jogo ---------- */
.play { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 4rem; }
.play-top { margin-bottom: 2rem; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.stats { display: flex; gap: 1.25rem; }
.stat-label { display: block; font-size: .75rem; text-transform: uppercase; color: var(--muted-fg); }
.stat-val { font-size: 1.875rem; }
.blocked { margin-bottom: 1.5rem; border: 1px solid var(--destructive); background: oklch(0.58 0.23 27 / .15); padding: 1rem; text-align: center; }
.play-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .play-grid { grid-template-columns: minmax(0, 1fr) 230px; } }
.result {
  margin: 1rem auto 0; max-width: 48rem; min-height: 4rem; display: flex; align-items: center; justify-content: center;
  padding: 0 1rem; text-align: center; font-family: var(--font-display); font-size: 1.5rem;
  border-top: 1px solid oklch(0.82 0.16 85 / .3); border-bottom: 1px solid oklch(0.82 0.16 85 / .3);
  background: oklch(0.16 0.035 265 / .75); color: var(--gold-soft);
}
@media (min-width: 640px) { .result { font-size: 1.875rem; } }
.result.result-win { border-color: oklch(0.85 0.18 105 / .7); background: oklch(0.85 0.18 105 / .1); color: var(--win); animation: result-appear .55s ease-out both, result-glow 1.4s ease-in-out .55s 2; }
.result.result-loss { border-color: oklch(0.73 0.03 265 / .4); background: oklch(0.16 0.035 265 / .85); color: var(--muted-fg); animation: result-appear .35s ease-out both; }
@keyframes result-appear { from { transform: translateY(8px) scale(.97); opacity: .2; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes result-glow { 50% { box-shadow: 0 0 35px -8px var(--win); } }
.controls { margin: 1.25rem auto 0; max-width: 48rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; border: 1px solid oklch(0.82 0.16 85 / .25); background: oklch(0.22 0.04 265 / .9); padding: .75rem; }
@media (min-width: 640px) { .controls { gap: 1.25rem; padding: 1.25rem; } }
.control-label { display: block; margin-bottom: .25rem; text-align: center; font-size: .625rem; font-weight: 700; text-transform: uppercase; color: var(--muted-fg); }
.bet-row { display: flex; align-items: center; gap: .5rem; }
.bet-input { height: 2.25rem; width: 5rem; border: 1px solid var(--border); background: var(--background); text-align: center; font-weight: 700; color: var(--gold); outline: none; -moz-appearance: textfield; }
.bet-input:focus { border-color: var(--gold); }
.bet-input::-webkit-outer-spin-button, .bet-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.is-spinning .spin-ic { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.side { display: flex; flex-direction: column; gap: 1rem; }
.card { border: 1px solid var(--border); background: var(--surface); padding: 1.25rem; }
.card-gold { border-color: oklch(0.82 0.16 85 / .3); }

/* ---------- tabela de prêmios ---------- */
.paytable { display: inline-block; text-align: left; width: 100%; }
.paytable summary { list-style: none; cursor: pointer; display: inline-flex; margin: 0 auto; padding: .5rem 1rem; color: var(--gold); font-weight: 600; font-size: .875rem; border-radius: calc(var(--radius) - 2px); }
.paytable summary::-webkit-details-marker { display: none; }
.paytable summary::after { content: " +"; margin-left: .25rem; }
.paytable[open] summary::after { content: " −"; }
.paytable summary:hover { background: var(--accent); color: #fff; }
.paytable { text-align: center; }
.paytable-body { margin-top: .75rem; overflow-x: auto; border: 1px solid var(--border); background: var(--surface); padding: 1rem; text-align: left; }
.paytable table { width: 100%; border-collapse: collapse; font-size: .875rem; margin-top: .75rem; }
.paytable th { text-align: left; padding-bottom: .5rem; }
.paytable td { border-top: 1px solid oklch(0.36 0.05 265 / .5); padding: .5rem 1rem .5rem 0; }
.pt-sym { display: flex; align-items: center; gap: .5rem; }

/* ---------- listas / páginas ---------- */
.page-heading { margin-bottom: 2rem; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; }
.page-heading h1 { font-size: 2.25rem; }
@media (min-width: 640px) { .page-heading h1 { font-size: 3rem; } }
.list { display: flex; flex-direction: column; gap: .5rem; }
.row-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; border: 1px solid var(--border); background: var(--surface); padding: .75rem 1rem; }
.row-right { display: flex; align-items: center; gap: .75rem; }
.payout { min-width: 6rem; text-align: right; }
.empty { padding: 4rem 0; text-align: center; }
.empty.bordered { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rank-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: .75rem; border: 1px solid var(--border); background: var(--surface); padding: 1rem; }
@media (min-width: 640px) { .rank-row { grid-template-columns: 48px 1fr auto auto; } }
.rank-row.is-me { border-color: oklch(0.82 0.16 85 / .6); background: oklch(0.82 0.16 85 / .1); }
.rank-pos { font-size: 1.5rem; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: block; } }

/* ---------- auth ---------- */
.auth-wrap { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - 4rem); display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; }
.auth-card { width: 100%; max-width: 28rem; border: 1px solid oklch(0.82 0.16 85 / .4); background: oklch(0.22 0.04 265 / .95); box-shadow: var(--shadow-panel); padding: 1.5rem; }
@media (min-width: 640px) { .auth-card { padding: 2.25rem; } }
.auth-title { font-size: 3rem; margin-top: .5rem; line-height: 1; }

/* ---------- admin ---------- */
.container.wide { max-width: 80rem; }
.kpis { margin-bottom: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.kpis .card { padding: 1rem; }
.kpi { font-size: 2.25rem; }
.kpi-wide { grid-column: span 2; }
@media (min-width: 640px) { .kpi-wide { grid-column: span 1; } }
.search-form { margin-bottom: 1rem; max-width: 24rem; display: flex; flex-direction: column; gap: .25rem; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; }
.credit-form { display: flex; align-items: flex-end; gap: .5rem; }
.credit-form .input { height: 2.25rem; margin-top: .25rem; }
.settings { max-width: 42rem; }
.settings-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .settings-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- toasts ---------- */
.toasts { position: fixed; z-index: 100; bottom: 1rem; right: 1rem; left: 1rem; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; pointer-events: none; }
.toast { pointer-events: auto; max-width: 24rem; padding: .75rem 1rem; border: 1px solid var(--border); background: var(--surface-2); box-shadow: var(--shadow-panel); font-size: .875rem; font-weight: 600; animation: result-appear .3s ease-out both; }
.toast-success { border-color: oklch(0.85 0.18 105 / .6); }
.toast-error { border-color: var(--destructive); }
.toast.out { opacity: 0; transition: opacity .3s; }

@media (prefers-reduced-motion: reduce) {
  .reel-track, .reel-stop, .reels-win, .reels-loss, .result-win, .result-loss, .win-spark, .tile.is-win, .toast, .is-spinning .spin-ic { animation: none !important; }
}
.reel-col-spinning { min-width: 0; }

/* ---------- botão de som ---------- */
[data-sound] span { display: inline-flex; }

/* ---------- animação de GRANDE GANHO ---------- */
.bigwin {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at center, oklch(0.25 0.08 265 / .85), oklch(0.08 0.03 265 / .95));
  overflow: hidden; opacity: 0; transition: opacity .3s; cursor: pointer;
}
.bigwin.show { opacity: 1; }
.bw-rays {
  position: absolute; left: 50%; top: 50%; width: 220vmax; height: 220vmax; margin: -110vmax 0 0 -110vmax;
  background: repeating-conic-gradient(from 0deg, oklch(0.82 0.16 85 / .16) 0deg 10deg, transparent 10deg 20deg);
  animation: bw-spin 14s linear infinite;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 45%);
          mask-image: radial-gradient(circle, #000 0%, transparent 45%);
}
@keyframes bw-spin { to { transform: rotate(360deg); } }
.bw-coin { position: absolute; top: -80px; height: auto; animation: bw-fall linear infinite; filter: drop-shadow(0 4px 6px oklch(0 0 0 / .5)); }
@keyframes bw-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translateY(calc(100vh + 120px)) rotate(var(--rot)); opacity: 1; }
}
.bw-box { position: relative; text-align: center; padding: 1rem; transform: scale(.4); transition: transform .5s cubic-bezier(.2, 1.6, .4, 1); }
.bigwin.show .bw-box { transform: scale(1); }
.bw-title {
  font-size: clamp(3rem, 12vw, 7.5rem); line-height: .95;
  background: linear-gradient(180deg, #fff6c8 0%, var(--gold-soft) 25%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 oklch(0.35 0.1 60)) drop-shadow(0 0 30px oklch(0.82 0.16 85 / .6));
  animation: bw-pulse 1.1s ease-in-out infinite;
}
.bigwin-l2 .bw-title { filter: drop-shadow(0 4px 0 oklch(0.35 0.15 25)) drop-shadow(0 0 40px oklch(0.56 0.23 25 / .8)); }
.bigwin-l3 .bw-title { filter: drop-shadow(0 4px 0 oklch(0.3 0.15 260)) drop-shadow(0 0 50px oklch(0.55 0.2 260 / .9)) drop-shadow(0 0 20px oklch(0.56 0.23 25 / .8)); }
@keyframes bw-pulse { 50% { transform: scale(1.06); } }
.bw-amount { margin-top: .5rem; font-size: clamp(2.5rem, 9vw, 5.5rem); line-height: 1; color: var(--win); text-shadow: 0 0 24px oklch(0.85 0.18 105 / .7); font-variant-numeric: tabular-nums; }
.bw-sub { margin-top: .25rem; font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--gold-soft); }
.bw-close { margin-top: 1.75rem; height: 3rem; padding: 0 2rem; font-size: 1rem; font-weight: 800; }
@media (prefers-reduced-motion: reduce) {
  .bw-rays, .bw-title, .bw-coin { animation: none !important; }
  .bw-coin { display: none; }
}

/* =========================================================
   Painel de jogada (estilo cassino: botões vítreos + giro vermelho)
   ========================================================= */
.deck {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 1.25rem auto 0; max-width: 48rem;
  padding: .75rem .75rem 1rem;
  border-radius: 14px;
  border: 2px solid transparent;
  background:
    linear-gradient(#0b1328, #0b1328) padding-box,
    linear-gradient(160deg, var(--gold-soft), var(--gold-deep) 45%, var(--gold-soft)) border-box;
  box-shadow: var(--shadow-panel);
}
@media (min-width: 640px) { .deck { padding: 1rem 1.25rem 1.25rem; } }
.deck-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; z-index: -2; }
.deck-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, oklch(0.1 0.03 265 / .35) 0%, oklch(0.1 0.03 265 / .15) 40%, oklch(0.08 0.03 265 / .85) 100%); }

/* faixa "GANHE ATÉ" */
.deck-banner {
  margin: 0 auto 1rem; width: fit-content; max-width: calc(100% - 3rem);
  padding: .35rem 1.75rem; border-radius: 999px;
  display: flex; align-items: baseline; justify-content: center; gap: .6rem;
  background: linear-gradient(180deg, oklch(0.1 0.02 265 / .92), oklch(0.16 0.03 265 / .92));
  border: 1px solid oklch(0.82 0.16 85 / .55);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / .12), 0 6px 18px oklch(0 0 0 / .55);
  font-size: clamp(1.35rem, 4.5vw, 2rem); line-height: 1.1; white-space: nowrap;
}
.deck-banner-txt, .deck-banner strong {
  background: linear-gradient(180deg, #fff3c4 0%, var(--gold-soft) 35%, var(--gold) 70%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 oklch(0.3 0.08 60));
}
.deck-banner strong { font-weight: 400; font-size: 1.35em; }

.deck-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.deck-left { display: flex; align-items: stretch; gap: .4rem; min-width: 0; }
@media (min-width: 640px) { .deck-left { gap: .6rem; } .deck-row { gap: 1rem; } }

/* botão vítreo azul (base de todos) */
.dbtn {
  --h: 3rem;
  height: var(--h); min-width: var(--h);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 10px; cursor: pointer; color: #fff;
  border: 2px solid oklch(0.62 0.07 245);
  background: linear-gradient(180deg, oklch(0.36 0.08 255) 0%, oklch(0.24 0.07 258) 48%, oklch(0.17 0.05 262) 52%, oklch(0.13 0.04 262) 100%);
  box-shadow:
    inset 0 2px 0 oklch(1 0 0 / .28),
    inset 0 -4px 8px oklch(0 0 0 / .5),
    0 0 0 1px oklch(0.1 0.02 265),
    0 5px 12px oklch(0 0 0 / .6);
  transition: transform .08s, filter .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 640px) { .dbtn { --h: 3.6rem; } }
.dbtn:hover:not(:disabled) { filter: brightness(1.15); }
.dbtn:active:not(:disabled) { transform: translateY(2px) scale(.97); box-shadow: inset 0 2px 0 oklch(1 0 0 / .2), inset 0 -2px 6px oklch(0 0 0 / .5), 0 2px 6px oklch(0 0 0 / .6); }
.dbtn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.dbtn:disabled { opacity: .45; cursor: not-allowed; }
.dbtn-sq { width: var(--h); }
.dbtn-ic { width: 1.5rem; height: 1.5rem; stroke-width: 3; filter: drop-shadow(0 1px 1px oklch(0 0 0 / .6)); }

/* visor da aposta */
.dbet { min-width: 5.2rem; padding: 0 .6rem; cursor: text; gap: 0; }
@media (min-width: 640px) { .dbet { min-width: 7rem; } }
.dbet-label, .dbet-unit { font-size: .58rem; font-weight: 700; letter-spacing: .08em; color: oklch(0.85 0.03 250); line-height: 1; }
.dbet-unit { color: var(--gold-soft); opacity: .8; }
.dbet-input {
  width: 100%; max-width: 6rem; border: 0; background: transparent; outline: none; padding: 0;
  text-align: center; color: #fff; font-size: 1.5rem; line-height: 1.05;
  text-shadow: 0 1px 2px oklch(0 0 0 / .7); -moz-appearance: textfield;
}
@media (min-width: 640px) { .dbet-input { font-size: 1.75rem; } }
.dbet-input::-webkit-outer-spin-button, .dbet-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dbet:focus-within { border-color: var(--gold); }

.dbtn-auto { padding: 0 .7rem; font-size: 1.15rem; letter-spacing: .04em; }
@media (min-width: 640px) { .dbtn-auto { padding: 0 1.1rem; font-size: 1.4rem; } }
.dbtn-auto.is-on {
  border-color: var(--gold);
  background: linear-gradient(180deg, oklch(0.62 0.2 30) 0%, oklch(0.48 0.2 27) 50%, oklch(0.36 0.17 25) 52%, oklch(0.3 0.14 25) 100%);
  animation: auto-glow 1.2s ease-in-out infinite;
}
@keyframes auto-glow { 50% { box-shadow: inset 0 2px 0 oklch(1 0 0 / .3), 0 0 16px oklch(0.82 0.16 85 / .7); } }

/* botão de som discreto no canto */
.dbtn-sound { position: absolute; top: .6rem; right: .6rem; --h: 2.2rem; width: var(--h); border-radius: 50%; z-index: 1; }
.dbtn-sound .ic { width: 1.05rem; height: 1.05rem; }

/* botão GIRAR vermelho redondo com aro dourado */
.spin-orb {
  --s: 5.4rem;
  position: relative; flex-shrink: 0;
  width: var(--s); height: var(--s); margin: .35rem .35rem .35rem 0;
  border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: radial-gradient(circle at 36% 28%, oklch(0.78 0.16 30) 0%, oklch(0.6 0.23 28) 28%, oklch(0.48 0.21 27) 55%, oklch(0.32 0.15 25) 85%);
  box-shadow:
    0 0 0 4px oklch(0.9 0.14 90),
    0 0 0 7px oklch(0.62 0.13 70),
    0 0 0 9px oklch(0.35 0.08 60),
    0 10px 24px oklch(0 0 0 / .75),
    inset 0 8px 14px oklch(1 0 0 / .3),
    inset 0 -10px 18px oklch(0 0 0 / .45);
  transition: transform .1s, filter .15s;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 640px) { .spin-orb { --s: 7.4rem; margin-right: .5rem; } }
.spin-orb::before { /* reflexo de vidro */
  content: ""; position: absolute; left: 16%; right: 16%; top: 7%; height: 38%;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(180deg, oklch(1 0 0 / .45), oklch(1 0 0 / 0));
  pointer-events: none;
}
.spin-orb-ic {
  position: relative; width: 52%; height: 52%;
  fill: none; stroke: oklch(0.9 0.15 88); stroke-width: 3;
  filter: drop-shadow(0 0 6px oklch(0.85 0.17 85 / .9)) drop-shadow(0 2px 1px oklch(0.3 0.1 40));
}
.spin-orb:hover:not(:disabled) { filter: brightness(1.1) saturate(1.1); }
.spin-orb:active:not(:disabled) { transform: scale(.94); }
.spin-orb:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 10px; }
.spin-orb:disabled { cursor: not-allowed; filter: grayscale(.55) brightness(.75); }
.spin-orb.is-spinning { filter: none; cursor: progress; }
.spin-orb.is-spinning .spin-orb-ic { animation: spin .6s linear infinite; }
.spin-orb:not(:disabled):not(.is-spinning) { animation: orb-idle 2.4s ease-in-out infinite; }
@keyframes orb-idle { 50% { box-shadow:
    0 0 0 4px oklch(0.94 0.13 92), 0 0 0 7px oklch(0.68 0.14 72), 0 0 0 9px oklch(0.35 0.08 60),
    0 10px 24px oklch(0 0 0 / .75), 0 0 28px oklch(0.82 0.16 85 / .55),
    inset 0 8px 14px oklch(1 0 0 / .3), inset 0 -10px 18px oklch(0 0 0 / .45); } }

@media (max-width: 380px) {
  .dbtn { --h: 2.7rem; }
  .dbet { min-width: 4.4rem; padding: 0 .35rem; }
  .dbet-input { font-size: 1.3rem; }
  .dbtn-auto { font-size: 1rem; padding: 0 .5rem; }
  .spin-orb { --s: 4.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .spin-orb, .spin-orb-ic, .dbtn-auto.is-on { animation: none !important; }
}

/* ---- ajustes do painel para celular ---- */
.deck-left { flex: 1 1 auto; }
.dbet { flex: 1 1 auto; max-width: 9rem; }
@media (max-width: 520px) {
  .deck { padding: .6rem .6rem .8rem; }
  .deck-banner { margin: 0 2.6rem .8rem 0; padding: .3rem 1rem; font-size: 1.2rem; max-width: none; width: auto; justify-content: flex-start; }
  .dbtn-sound { top: .55rem; right: .55rem; --h: 2rem; }
  .deck-row { gap: .5rem; }
  .deck-left { gap: .3rem; }
  .dbtn { --h: 2.7rem; border-radius: 8px; }
  .dbtn-ic { width: 1.2rem; height: 1.2rem; }
  .dbet { min-width: 3.6rem; padding: 0 .25rem; }
  .dbet-label, .dbet-unit { font-size: .5rem; }
  .dbet-input { font-size: 1.3rem; }
  .dbtn-auto { font-size: .95rem; padding: 0 .4rem; }
  .spin-orb { --s: 4.5rem; margin: 9px 9px 9px 0; }
}
@media (max-width: 520px) { .dbtn-sound { border-radius: 50%; } }

/* =========================================================
   Barra superior do jogo (perfil / nível / saldo / menu)
   ========================================================= */
.gbar {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, oklch(0.2 0.045 262), oklch(0.13 0.035 265));
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--gold-deep), var(--gold-soft), var(--gold-deep)) 1;
  box-shadow: 0 6px 18px oklch(0 0 0 / .55);
}
.gbar-in { max-width: 80rem; margin: 0 auto; padding: .5rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.gbar-profile { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.gbar-avatar {
  width: 2.9rem; height: 2.9rem; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.25rem; color: #fff;
  background: radial-gradient(circle at 35% 30%, oklch(0.55 0.2 27), oklch(0.3 0.13 262));
  box-shadow: 0 0 0 2px oklch(0.9 0.13 90), 0 0 0 4px oklch(0.55 0.12 70), 0 4px 10px oklch(0 0 0 / .6);
  text-shadow: 0 1px 2px oklch(0 0 0 / .6);
}
.gbar-lv { min-width: 0; width: clamp(5.5rem, 22vw, 10rem); }
.gbar-lv-txt { display: block; font-size: .8rem; font-weight: 600; color: oklch(0.88 0.02 250); line-height: 1.2; margin-bottom: .25rem; }
.gbar-lv-txt b { color: #fff; }
.gbar-lv-track { height: .6rem; border-radius: 999px; background: oklch(0.1 0.02 265); box-shadow: inset 0 1px 3px oklch(0 0 0 / .8), 0 0 0 1px oklch(0.4 0.05 255); overflow: hidden; }
.gbar-lv-fill { height: 100%; border-radius: inherit; background: linear-gradient(180deg, oklch(0.75 0.14 240), oklch(0.55 0.19 255)); box-shadow: 0 0 8px oklch(0.65 0.17 245 / .8); transition: width .6s ease; }

.gbar-right { display: flex; align-items: center; gap: .6rem; }
.gbar-balance {
  display: flex; align-items: center; gap: .45rem; height: 2.7rem; padding: 0 .3rem 0 .35rem;
  border-radius: 999px; background: oklch(0.09 0.02 265);
  box-shadow: inset 0 2px 5px oklch(0 0 0 / .8), 0 0 0 1px oklch(0.38 0.05 255);
}
.gbar-coin { width: 2.05rem; height: 2.05rem; object-fit: contain; filter: drop-shadow(0 1px 2px oklch(0 0 0 / .6)); }
.gbar-amount { min-width: 4.5rem; text-align: center; font-size: 1.45rem; color: #fff; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.gbar-plus, .gbar-menu-btn {
  display: grid; place-items: center; border: 0; cursor: pointer; border-radius: 50%; color: #fff;
  -webkit-tap-highlight-color: transparent; transition: transform .08s, filter .15s;
}
.gbar-plus {
  width: 2.2rem; height: 2.2rem;
  background: radial-gradient(circle at 35% 30%, oklch(0.85 0.19 145), oklch(0.6 0.19 145) 55%, oklch(0.42 0.14 150));
  box-shadow: inset 0 2px 3px oklch(1 0 0 / .4), inset 0 -3px 5px oklch(0 0 0 / .35), 0 2px 6px oklch(0 0 0 / .5);
}
.gbar-plus .ic { width: 1.3rem; height: 1.3rem; stroke-width: 3.2; filter: drop-shadow(0 1px 1px oklch(0 0 0 / .5)); }
.gbar-plus.has-bonus { animation: plus-pulse 1.4s ease-in-out infinite; }
@keyframes plus-pulse { 50% { box-shadow: inset 0 2px 3px oklch(1 0 0 / .4), 0 0 0 4px oklch(0.8 0.19 145 / .35), 0 0 16px oklch(0.8 0.19 145 / .8); } }
.gbar-menu-btn {
  width: 2.7rem; height: 2.7rem;
  background: linear-gradient(180deg, oklch(0.3 0.07 258), oklch(0.16 0.05 262));
  box-shadow: 0 0 0 2px oklch(0.6 0.07 245), inset 0 2px 0 oklch(1 0 0 / .2), 0 3px 8px oklch(0 0 0 / .6);
}
.gbar-menu-btn .ic { width: 1.35rem; height: 1.35rem; stroke-width: 2.6; }
.gbar-plus:active, .gbar-menu-btn:active { transform: scale(.92); }
.gbar-plus:hover, .gbar-menu-btn:hover { filter: brightness(1.15); }
.gbar-plus:focus-visible, .gbar-menu-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.gbar-menu-wrap { position: relative; }
.gmenu {
  position: absolute; right: 0; top: calc(100% + .6rem); min-width: 13rem; z-index: 60;
  display: flex; flex-direction: column; padding: .4rem;
  background: oklch(0.18 0.04 264); border: 1px solid oklch(0.82 0.16 85 / .4); border-radius: 12px;
  box-shadow: var(--shadow-panel);
}
.gmenu-name { padding: .5rem .75rem .6rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--border); margin-bottom: .25rem; }
.gmenu a, .gmenu button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .65rem .75rem; border: 0; border-radius: 8px; background: none; font-size: .9rem; font-weight: 600; text-align: left; cursor: pointer; }
.gmenu a:hover, .gmenu button:hover { background: oklch(0.28 0.05 262); color: var(--gold-soft); }

@media (max-width: 420px) {
  .gbar-in { padding: .45rem .6rem; gap: .4rem; }
  .gbar-avatar { width: 2.5rem; height: 2.5rem; font-size: 1.05rem; }
  .gbar-lv { width: 4.6rem; }
  .gbar-lv-txt { font-size: .72rem; }
  .gbar-balance { height: 2.4rem; gap: .3rem; }
  .gbar-coin { width: 1.75rem; height: 1.75rem; }
  .gbar-amount { min-width: 3.4rem; font-size: 1.2rem; }
  .gbar-plus { width: 1.95rem; height: 1.95rem; }
  .gbar-menu-btn { width: 2.4rem; height: 2.4rem; }
}

/* =========================================================
   Banner LULA VS FLÁVIO com jackpots
   ========================================================= */
.gh {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 auto 1rem; max-width: 48rem; aspect-ratio: 16 / 9.4;
  border-radius: 14px;
  border: 2px solid transparent;
  background:
    linear-gradient(100deg, oklch(0.36 0.19 27) 0%, oklch(0.26 0.15 25) 38%, oklch(0.2 0.1 290) 50%, oklch(0.24 0.14 262) 62%, oklch(0.34 0.18 258) 100%) padding-box,
    linear-gradient(160deg, var(--gold-soft), var(--gold-deep) 45%, var(--gold-soft)) border-box;
  box-shadow: var(--shadow-panel);
}
@media (min-width: 768px) { .gh { aspect-ratio: 16 / 7.6; } }
.gh-glow { position: absolute; z-index: -1; width: 70%; height: 120%; top: -10%; border-radius: 50%; filter: blur(30px); opacity: .75; }
.gh-glow-l { left: -20%; background: radial-gradient(circle, oklch(0.7 0.22 35 / .9), transparent 65%); animation: gh-flicker 3.2s ease-in-out infinite; }
.gh-glow-r { right: -20%; background: radial-gradient(circle, oklch(0.65 0.2 245 / .9), transparent 65%); animation: gh-flicker 3.6s ease-in-out infinite reverse; }
@keyframes gh-flicker { 50% { opacity: .45; } }
/* "raio" diagonal no meio */
.gh-bolt { position: absolute; z-index: -1; left: 50%; top: -10%; width: 6px; height: 120%; transform: translateX(-50%) rotate(14deg);
  background: linear-gradient(180deg, transparent, oklch(0.97 0.05 90 / .9), oklch(0.85 0.15 85 / .7), transparent);
  box-shadow: 0 0 20px 6px oklch(0.9 0.12 85 / .45); opacity: .7; }
.gh::after { /* faíscas / estrelas de fundo */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(2px 2px at 12% 30%, #fff8 50%, transparent 51%),
    radial-gradient(2px 2px at 28% 70%, #fff6 50%, transparent 51%),
    radial-gradient(3px 3px at 72% 22%, #fff7 50%, transparent 51%),
    radial-gradient(2px 2px at 86% 64%, #fff6 50%, transparent 51%),
    radial-gradient(2px 2px at 60% 80%, #fff5 50%, transparent 51%),
    radial-gradient(3px 3px at 40% 18%, #fff5 50%, transparent 51%);
}

/* personagens */
.gh-char { position: absolute; bottom: -4%; height: 78%; width: auto; object-fit: contain; filter: drop-shadow(0 8px 14px oklch(0 0 0 / .6)); pointer-events: none; }
.gh-char-l { left: -2%; }
.gh-char-r { right: -2%; }
@media (min-width: 768px) { .gh-char { height: 92%; } .gh-char-l { left: 3%; } .gh-char-r { right: 3%; } }

/* logotipo */
.gh-logo {
  position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%) rotate(-5deg);
  display: flex; flex-direction: column; align-items: center; line-height: .82;
  font-family: "Luckiest Guy", "Bebas Neue", Impact, sans-serif; text-transform: uppercase;
  z-index: 2; pointer-events: none;
}
.gh-lula, .gh-flavio {
  font-size: clamp(2.2rem, 10vw, 4.6rem); letter-spacing: .02em;
  -webkit-text-stroke: 2px oklch(0.15 0.03 265);
  paint-order: stroke fill;
}
.gh-lula {
  color: oklch(0.62 0.24 28);
  background: linear-gradient(180deg, oklch(0.85 0.16 45) 0%, oklch(0.65 0.25 28) 45%, oklch(0.45 0.2 25) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 oklch(0.95 0.1 90)) drop-shadow(0 5px 0 oklch(0.3 0.1 25)) drop-shadow(0 0 12px oklch(0.6 0.24 28 / .7));
}
.gh-flavio {
  color: oklch(0.6 0.2 250);
  background: linear-gradient(180deg, oklch(0.9 0.08 220) 0%, oklch(0.65 0.18 245) 45%, oklch(0.42 0.2 262) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 oklch(0.95 0.1 90)) drop-shadow(0 5px 0 oklch(0.25 0.1 262)) drop-shadow(0 0 12px oklch(0.6 0.2 250 / .7));
}
.gh-vs {
  font-size: clamp(1.2rem, 5vw, 2.3rem); margin: .1em 0;
  background: linear-gradient(180deg, #fff6c8, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 oklch(0.3 0.08 60)) drop-shadow(0 0 8px oklch(0.85 0.16 85 / .7));
}

/* placas de jackpot */
.jp {
  position: absolute; z-index: 3; display: flex; flex-direction: column; align-items: center;
  --c: var(--gold); --cg: oklch(0.82 0.16 85 / .6);
}
.jp-label {
  position: relative; z-index: 1; margin-bottom: -.45em; padding: 0 .4em;
  font-size: clamp(.85rem, 3vw, 1.2rem); letter-spacing: .04em; line-height: 1;
  color: var(--c); text-shadow: 0 0 6px var(--cg), 0 2px 0 oklch(0.1 0.02 265);
}
.jp-val {
  display: flex; align-items: center; gap: .3em;
  padding: .28em .55em .18em; border-radius: 9px;
  font-size: clamp(1rem, 3.6vw, 1.55rem); line-height: 1; color: #fff; white-space: nowrap;
  background: linear-gradient(180deg, oklch(0.14 0.03 265 / .95), oklch(0.08 0.02 265 / .95));
  border: 2px solid var(--c);
  box-shadow: 0 0 10px var(--cg), inset 0 0 8px var(--cg), 0 4px 10px oklch(0 0 0 / .6);
  font-variant-numeric: tabular-nums; letter-spacing: .03em;
}
.jp-coin { width: 1em; height: 1em; object-fit: contain; }
.jp-grand { left: 3%; top: 5%; --c: oklch(0.86 0.16 88); --cg: oklch(0.82 0.16 85 / .75); }
.jp-grand .jp-label { font-size: clamp(1.1rem, 4.4vw, 1.9rem); color: transparent; background: linear-gradient(180deg, #fff3c4, var(--gold) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; text-shadow: none; filter: drop-shadow(0 2px 0 oklch(0.25 0.08 60)); }
.jp-grand .jp-val { font-size: clamp(1.3rem, 5.4vw, 2.3rem); border-width: 3px; padding: .3em .6em .2em;
  border-color: oklch(0.86 0.16 88); background: linear-gradient(180deg, oklch(0.12 0.02 265 / .96), oklch(0.05 0.01 265 / .96)); }
.jp-mini  { left: 46%; top: 14%; transform: translateX(-50%); --c: oklch(0.85 0.21 145); --cg: oklch(0.8 0.2 145 / .7); }
.jp-minor { right: 3%; top: 5%; --c: oklch(0.8 0.12 235); --cg: oklch(0.7 0.15 240 / .75); }
.jp-major { right: 3%; top: 27%; --c: oklch(0.72 0.22 330); --cg: oklch(0.65 0.25 330 / .75); }
@media (min-width: 768px) { .jp-mini { top: 8%; left: 48%; } .jp-major { top: 5%; right: 24%; } }
.jp-hit .jp-val { animation: jp-hit 1.1s ease-in-out 3; }
@keyframes jp-hit { 50% { transform: scale(1.12); box-shadow: 0 0 28px var(--c), inset 0 0 14px var(--cg); } }
.bigwin-jp .bw-title { font-family: "Luckiest Guy", var(--font-display); letter-spacing: .03em; }

@media (prefers-reduced-motion: reduce) {
  .gh-glow, .gbar-plus.has-bonus, .jp-hit .jp-val { animation: none !important; }
}
.jp-grand .jp-label { -webkit-text-fill-color: transparent; }
@media (min-width: 768px) {
  .jp-major { top: 5%; right: 3%; }
  .jp-minor { top: 5%; right: 25%; }
  .gh-char { height: 90%; } .gh-char-l { left: 0; } .gh-char-r { right: 0; }
}
.jp-tag { display: inline-block; padding: .15em .5em; border-radius: 6px; border: 1px solid var(--gold); color: var(--gold-soft); background: oklch(0.82 0.16 85 / .12); font-size: 1rem; letter-spacing: .03em; }

/* =========================================================
   v6 — slot 4x5, fundo vivo, sem bordas douradas, valor ganho na caixa
   ========================================================= */
/* 4 linhas */
.reel { grid-template-rows: repeat(4, 1fr); }
.reel-window { aspect-ratio: 1 / 4.16; }
.reel-track { height: 450%; }

/* fundo da tela do jogo (imagem vívida, fixa) */
.play { isolation: auto; overflow: visible; }
.play-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #0b0820; }
.play-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.play-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.1 0.03 265 / .35) 0%, transparent 18%, transparent 75%, oklch(0.1 0.03 265 / .45) 100%); }
.play-col { max-width: 48rem; margin: 0 auto; }
.pt-6 { padding-top: 1.5rem; }

/* sem bordas douradas */
.gbar { border-bottom: 0; border-image: none; background: linear-gradient(180deg, oklch(0.16 0.045 262 / .92), oklch(0.11 0.035 265 / .88)); backdrop-filter: blur(8px); }
.gh { border: 0; background: linear-gradient(100deg, oklch(0.36 0.19 27 / .9) 0%, oklch(0.26 0.15 25 / .85) 38%, oklch(0.2 0.1 290 / .8) 50%, oklch(0.24 0.14 262 / .85) 62%, oklch(0.34 0.18 258 / .9) 100%); }
.play .reels.frame-gold, .hero .reels.frame-gold {
  border: 0;
  background: oklch(0.1 0.03 265 / .5);
  backdrop-filter: blur(3px);
  box-shadow: 0 18px 40px -18px oklch(0 0 0 / .9);
}
.reels-grid { background: transparent; }
.tile { border-color: oklch(1 0 0 / .1); background: oklch(0.18 0.04 265 / .78); }
.reel-spin-tile { border-color: oklch(1 0 0 / .12); }
.deck { border: 0; background: oklch(0.09 0.03 265 / .5); backdrop-filter: blur(6px); }
.deck-bg { display: none; }
.deck-shade { background: linear-gradient(180deg, transparent, oklch(0.05 0.02 265 / .35)); }

/* valor ganho dentro da caixa do slot */
.win-badge {
  position: absolute; left: 50%; top: 50%; z-index: 5; pointer-events: none;
  transform: translate(-50%, -50%) scale(.3); opacity: 0;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  min-width: 55%; padding: .6rem 1.6rem .7rem; border-radius: 16px;
  background: radial-gradient(ellipse at center, oklch(0.12 0.03 265 / .92) 0%, oklch(0.08 0.02 265 / .88) 70%);
  box-shadow: 0 0 0 1px oklch(0.82 0.16 85 / .25), 0 0 40px oklch(0.82 0.16 85 / .35), 0 14px 30px oklch(0 0 0 / .7);
}
.win-badge.show { animation: wb-pop .45s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes wb-pop { to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.wb-label {
  font-size: clamp(1rem, 4vw, 1.6rem); letter-spacing: .12em; line-height: 1; color: #fff;
  text-shadow: 0 0 10px oklch(0.85 0.18 105 / .8);
}
.wb-amount {
  font-size: clamp(2.4rem, 11vw, 5rem); line-height: .95; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff7cf 0%, var(--gold-soft) 30%, var(--gold) 60%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 oklch(0.3 0.08 60)) drop-shadow(0 0 18px oklch(0.82 0.16 85 / .7));
}
@media (prefers-reduced-motion: reduce) { .win-badge.show { animation: none; transform: translate(-50%, -50%); opacity: 1; } }

/* menu: itens extras */
.gmenu { min-width: 15rem; }
.gmenu-sub { display: block; margin-left: auto; font-size: .68rem; font-weight: 500; color: var(--muted-fg); text-align: right; }
.gmenu a, .gmenu button { flex-wrap: wrap; row-gap: .1rem; }
.gmenu-sub { flex-basis: 100%; margin-left: 0; padding-left: 1.6rem; text-align: left; }
/* no computador, o slot inteiro cabe na tela sem rolar */
@media (min-width: 768px) {
  .play-col { max-width: min(48rem, max(24rem, calc((100vh - 290px) / 1.3))); }
}

/* =========================================================
   v7 — tela do jogo igual à referência (layout de celular)
   ========================================================= */
.play-wrap { padding: 0; }
.play .play-col {
  max-width: min(34rem, max(22rem, calc((100vh - 250px) / 1.42)));
  margin: 0 auto;
}
@media (max-width: 560px) { .play .play-col { max-width: none; } }

/* ---- banner colado no topo, sem caixa ---- */
.play .gh {
  margin: 0; border-radius: 0; aspect-ratio: 16 / 10.2;
  background: linear-gradient(100deg, oklch(0.4 0.2 27) 0%, oklch(0.3 0.17 25) 40%, oklch(0.22 0.1 290) 50%, oklch(0.26 0.15 262) 60%, oklch(0.36 0.19 258) 100%);
  box-shadow: none;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
}
.play .gh-char { height: 80%; bottom: 0; }
.play .gh-char-l { left: -1%; } .play .gh-char-r { right: -1%; }
.play .gh-logo { top: 56%; }
.play .gh-lula, .play .gh-flavio { font-size: clamp(2.3rem, 11vw, 4rem); }
.play .jp-grand { left: 3%; top: 6%; }
.play .jp-mini  { left: 50%; top: 20%; transform: translateX(-50%); }
.play .jp-minor { right: 3%; top: 6%; }
.play .jp-major { right: 3%; top: 27%; }
.play .jp-grand .jp-val { font-size: clamp(1.25rem, 6vw, 2rem); }
.play .jp-val { font-size: clamp(.95rem, 4vw, 1.3rem); }

/* ---- moldura dourada ornamentada dos rolos ---- */
.play .reels.reels-ornate {
  position: relative; overflow: visible; max-width: none;
  margin: -1.1rem .5rem 0; padding: .55rem;
  border-radius: 14px;
  border: 5px solid transparent;
  background:
    linear-gradient(180deg, oklch(0.16 0.04 265), oklch(0.11 0.035 265)) padding-box,
    linear-gradient(160deg, #fff2b8 0%, #f3c44e 18%, #9a6a14 38%, #f6d06a 55%, #a87416 75%, #ffe9a0 100%) border-box;
  box-shadow:
    0 0 0 2px oklch(0.3 0.08 60),
    inset 0 0 0 2px oklch(0.35 0.08 60 / .8),
    inset 0 0 22px oklch(0 0 0 / .7),
    0 0 26px oklch(0.82 0.16 85 / .35),
    0 16px 34px oklch(0 0 0 / .75);
  backdrop-filter: none;
  z-index: 2;
}
.orn { position: absolute; width: 3.1rem; height: 3.1rem; background: url(../img/orn-corner.svg) no-repeat center / contain; pointer-events: none; z-index: 4; }
.orn-tl { left: -.85rem; top: -.85rem; }
.orn-tr { right: -.85rem; top: -.85rem; transform: scaleX(-1); }
.orn-bl { left: -.85rem; bottom: -.85rem; transform: scaleY(-1); }
.orn-br { right: -.85rem; bottom: -.85rem; transform: scale(-1, -1); }
.orn-crest { position: absolute; left: 50%; width: 11rem; height: 2.2rem; transform: translateX(-50%); background: url(../img/orn-crest.svg) no-repeat center / contain; pointer-events: none; z-index: 4; }
.orn-crest-top { top: -1.35rem; }
.orn-crest-bottom { bottom: -1.35rem; transform: translateX(-50%) scaleY(-1); width: 8rem; }

/* colunas separadas por filetes, como na referência */
.play .reels-ornate .reels-grid { gap: 0; padding: 0; border-radius: 6px; overflow: hidden; background: oklch(0.1 0.03 265); }
.play .reels-ornate .reel, .play .reels-ornate .reel-col-spinning {
  gap: .2rem; padding: .2rem;
  background: linear-gradient(180deg, oklch(0.2 0.045 262), oklch(0.13 0.035 265) 50%, oklch(0.2 0.045 262));
  border-left: 2px solid oklch(0.6 0.12 75 / .55);
  box-shadow: inset 1px 0 0 oklch(0 0 0 / .6);
}
.play .reels-ornate .reel:first-child, .play .reels-ornate .reel-col-spinning:first-child { border-left: 0; }
.play .reels-ornate .reel-window { box-shadow: none; }

/* símbolos comuns: sem caixa */
.play .reels-ornate .tile { border: 0; background: transparent; border-radius: 8px; padding: .15rem; }
.play .reels-ornate .reel-spin-tile { border: 0; background: transparent; }

/* símbolos especiais: cartão com borda colorida e brilho */
.tile.t-lula, .tile.t-flavio, .tile.t-bandeira, .tile.t-congresso { --cb: #f3c44e; --cbg1: oklch(0.55 0.21 28); --cbg2: oklch(0.28 0.13 25); }
.tile.t-flavio   { --cb: #7cc4ff; --cbg1: oklch(0.5 0.17 255); --cbg2: oklch(0.2 0.1 262); }
.tile.t-bandeira { --cb: #53e07a; --cbg1: oklch(0.42 0.14 150); --cbg2: oklch(0.18 0.07 155); }
.tile.t-congresso{ --cb: #7aa8ff; --cbg1: oklch(0.38 0.13 262); --cbg2: oklch(0.16 0.06 264); }
.play .reels-ornate .tile.t-lula, .play .reels-ornate .tile.t-flavio,
.play .reels-ornate .tile.t-bandeira, .play .reels-ornate .tile.t-congresso {
  border: 2px solid var(--cb);
  background: radial-gradient(circle at 50% 35%, var(--cbg1), var(--cbg2) 80%);
  box-shadow: 0 0 10px color-mix(in oklab, var(--cb) 60%, transparent), inset 0 0 12px oklch(0 0 0 / .45);
}
.play .reels-ornate .tile.t-lula { border-color: #f6cf5a; box-shadow: 0 0 14px #f3c44ecc, inset 0 0 12px oklch(0 0 0 / .45); }
.play .reels-ornate .tile.is-win { border: 2px solid var(--win); }

/* valor ganho acima da moldura */
.play .reels-ornate .win-badge { z-index: 6; }
.play .reels-ornate .sparks { z-index: 5; border-radius: 10px; }

/* ---- controles soltos sobre o cenário (sem caixa) ---- */
.play .deck {
  margin: 1.4rem 0 0; max-width: none; padding: 0 .6rem 1rem;
  background: none; backdrop-filter: none; box-shadow: none; border: 0; overflow: visible;
}
.play .deck-shade { display: none; }
.play .deck-banner {
  width: calc(100% - 1.2rem); max-width: 28rem; margin: 0 auto;
  padding: .45rem 1rem; border-radius: 999px; justify-content: center;
  border: 2px solid oklch(0.62 0.12 75);
  background: linear-gradient(180deg, oklch(0.12 0.03 265 / .95), oklch(0.06 0.02 265 / .95));
  box-shadow: inset 0 1px 0 oklch(1 0 0 / .1), 0 0 16px oklch(0.82 0.16 85 / .25), 0 8px 18px oklch(0 0 0 / .7);
  font-size: clamp(1.3rem, 6vw, 2rem);
}
.play .deck-row { margin-top: clamp(3rem, 16vw, 6rem); align-items: flex-end; }
.play .deck-left { align-items: flex-end; padding-bottom: .5rem; }
.play .spin-orb { --s: clamp(6rem, 27vw, 8rem); margin: 9px 9px 0 0; }
.play .dbtn-sound { top: auto; bottom: calc(100% + .35rem); right: .6rem; position: absolute; }
.play .deck { position: relative; }
.play .dbtn-sound { top: -2.9rem; bottom: auto; }
@media (max-width: 520px) {
  .play .dbtn { --h: 2.9rem; }
  .play .dbet { min-width: 4.4rem; }
  .play .dbet-input { font-size: 1.4rem; }
  .play .dbtn-auto { font-size: 1.05rem; padding: 0 .55rem; }
  .play .deck-left { gap: .35rem; }
}
@media (max-width: 380px) {
  .play .dbtn { --h: 2.6rem; }
  .play .dbet { min-width: 3.8rem; }
  .play .spin-orb { --s: 5.2rem; }
}

/* ---- janela da tabela de prêmios ---- */
.pt-modal { width: min(30rem, calc(100% - 2rem)); max-height: 85vh; padding: 1rem; border: 1px solid oklch(0.82 0.16 85 / .4); border-radius: 14px; background: var(--surface); color: var(--foreground); box-shadow: var(--shadow-panel); }
.pt-modal::backdrop { background: oklch(0.05 0.02 265 / .75); }
.pt-modal .paytable summary { display: none; }
.pt-modal .paytable-body { margin: 0; border: 0; padding: 0; background: none; }
/* v7 ajustes */
.play .reels.reels-ornate { width: auto; }
.play .gh { aspect-ratio: 16 / 9.6; }
.play .deck-row { margin-top: clamp(.9rem, 5vw, 2.4rem); }
.play .deck { margin-top: 1.5rem; padding-bottom: .8rem; }
.gmenu [data-sound] span { display: inline-flex; align-items: center; gap: .6rem; }
@media (min-width: 561px) {
  .play .play-col { max-width: min(34rem, max(22rem, calc((100vh - 330px) / 1.44))); }
  .play .gh {
    -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(180deg, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-composite: intersect;
  }
}
/* tamanhos proporcionais à largura da coluna do jogo (igual no celular e no PC) */
.play .gh, .play .deck { container-type: inline-size; }
.play .gh-lula, .play .gh-flavio { font-size: 11.5cqw; }
.play .gh-vs { font-size: 5.8cqw; }
.play .jp-label { font-size: 3.4cqw; }
.play .jp-val { font-size: 4.1cqw; }
.play .jp-grand .jp-label { font-size: 5.2cqw; }
.play .jp-grand .jp-val { font-size: 6.2cqw; }
.play .deck-banner { font-size: 6.4cqw; }
.play .deck-row { margin-top: 5cqw; }
.play .deck-left { gap: 1.6cqw; }
.play .dbtn { --h: min(3.4rem, 12cqw); }
.play .dbet { min-width: 19cqw; padding: 0 1cqw; }
.play .dbet-input { font-size: min(1.75rem, 6.2cqw); }
.play .dbet-label, .play .dbet-unit { font-size: min(.62rem, 2.4cqw); }
.play .dbtn-auto { font-size: min(1.3rem, 4.6cqw); padding: 0 2.2cqw; }
.play .dbtn-ic { width: 5.4cqw; height: 5.4cqw; max-width: 1.5rem; max-height: 1.5rem; }
.play .spin-orb { --s: 28cqw; }
@media (min-width: 561px) {
  .play .play-col { max-width: min(34rem, max(24rem, calc((100vh - 330px) / 1.44))); }
}

/* =========================================================
   v8 — cabe na tela do celular, ganhos profissionais, personagem no prêmio
   ========================================================= */
/* ---- sem rolagem: largura da coluna limitada pela altura visível ---- */
.play { padding-bottom: 0; min-height: 0; }
.play .play-col {
  --fit: calc((100vh - 84px) / 1.74);
  max-width: min(34rem, var(--fit));
}
@supports (height: 100dvh) { .play .play-col { --fit: calc((100dvh - 84px) / 1.74); } }
@media (max-width: 560px) { .play .play-col { max-width: min(100%, var(--fit)); } }
.play .gh { aspect-ratio: 16 / 8.8; }
.play .gh-char { height: 84%; }
.play .gh-logo { top: 60%; }
.play .jp-mini { top: 19%; }
.play .jp-major { top: 29%; }
.play .deck { margin-top: 1.15rem; padding-bottom: .4rem; }
.play .deck-row { margin-top: 3.2cqw; }

/* ---- linhas de pagamento desenhadas sobre os rolos ---- */
.win-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.wl polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wl-glow { stroke: var(--lc); stroke-width: 9; opacity: .35; filter: blur(3px); }
.wl-main { stroke: var(--lc); stroke-width: 3.5; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: wl-draw .55s ease-out forwards; filter: drop-shadow(0 0 3px var(--lc)); }
.wl-dot { fill: #fff; stroke: var(--lc); stroke-width: 3; }
@keyframes wl-draw { to { stroke-dashoffset: 0; } }
.lines-cycling .wl { opacity: 0; transition: opacity .2s; }
.lines-cycling .wl.is-on { opacity: 1; }
.lines-cycling .wl.is-on .wl-main { animation: wl-draw .45s ease-out forwards; }

/* ---- placar de ganho (dentro da caixa) ---- */
.win-badge {
  position: absolute; left: 50%; top: 50%; z-index: 6; pointer-events: none;
  transform: translate(-50%, -50%) scale(.3); opacity: 0;
  min-width: 0; padding: 0; border-radius: 0; background: none; box-shadow: none;
  display: block;
  transition: top .45s cubic-bezier(.3, 1.2, .4, 1), transform .45s cubic-bezier(.3, 1.2, .4, 1);
}
.win-badge.show { animation: wb-pop .5s cubic-bezier(.2, 1.7, .4, 1) forwards; }
@keyframes wb-pop { 0% { transform: translate(-50%, -50%) scale(.3); opacity: 0; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.wb-rays {
  position: absolute; left: 50%; top: 50%; width: 22rem; height: 22rem; margin: -11rem 0 0 -11rem; z-index: -1;
  background: repeating-conic-gradient(from 0deg, oklch(0.9 0.14 90 / .28) 0deg 8deg, transparent 8deg 22deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%); mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  animation: bw-spin 9s linear infinite; opacity: .9;
}
.tier-1 .wb-rays { opacity: .45; }
.wb-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  min-width: 13.5rem; padding: 1.35rem 1.4rem .75rem; border-radius: 16px;
  background:
    radial-gradient(120% 90% at 50% 0%, oklch(0.3 0.08 265 / .97), oklch(0.1 0.03 265 / .97) 70%) padding-box,
    linear-gradient(160deg, #fff2b8, #d9a53a 35%, #7a520e 60%, #f3c44e) border-box;
  border: 3px solid transparent;
  box-shadow: 0 0 0 1px oklch(0.25 0.06 60), 0 0 30px oklch(0.82 0.16 85 / .45), 0 16px 34px oklch(0 0 0 / .8);
  overflow: visible;
}
.wb-card::after { /* reflexo que passa por cima */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, oklch(1 0 0 / .22) 48%, transparent 60%) no-repeat;
  background-size: 250% 100%; animation: wb-shine 2.2s ease-in-out .3s infinite;
}
@keyframes wb-shine { 0% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }
.wb-ribbon {
  position: absolute; top: -1.05rem; left: 50%; transform: translateX(-50%);
  padding: .3rem 1.6rem .2rem; white-space: nowrap;
  font-size: 1.25rem; letter-spacing: .1em; color: #fff; line-height: 1;
  background: linear-gradient(180deg, oklch(0.62 0.23 28), oklch(0.44 0.2 26));
  clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%);
  text-shadow: 0 2px 0 oklch(0.25 0.1 25);
  filter: drop-shadow(0 3px 4px oklch(0 0 0 / .6));
}
.tier-2 .wb-ribbon { background: linear-gradient(180deg, oklch(0.62 0.19 250), oklch(0.42 0.18 262)); text-shadow: 0 2px 0 oklch(0.2 0.1 262); }
.tier-3 .wb-ribbon { background: linear-gradient(180deg, oklch(0.72 0.2 145), oklch(0.48 0.17 150)); text-shadow: 0 2px 0 oklch(0.25 0.1 150); }
.wb-amount { display: flex; align-items: center; gap: .35rem; line-height: 1; font-variant-numeric: tabular-nums;
  font-size: clamp(2.4rem, 12cqw, 3.6rem); }
.wb-amount span {
  background: linear-gradient(180deg, #fffbe0 0%, #ffe38a 30%, #f3c44e 55%, #b27a16 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 oklch(0.28 0.08 60)) drop-shadow(0 0 14px oklch(0.82 0.16 85 / .6));
}
.wb-coin { width: .82em; height: .82em; object-fit: contain; filter: drop-shadow(0 2px 3px oklch(0 0 0 / .6)); animation: wb-coin-spin 1.6s ease-in-out infinite; }
@keyframes wb-coin-spin { 0%, 70%, 100% { transform: rotateY(0); } 85% { transform: rotateY(180deg); } }
.wb-sub { margin-top: .15rem; font-size: .62rem; font-weight: 800; letter-spacing: .28em; color: oklch(0.85 0.06 90); }
.wb-line { display: none; }
.wb-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; }
.wb-bcoin { position: absolute; width: 1.5rem; height: 1.5rem; margin: -.75rem 0 0 -.75rem; opacity: 0; animation: wb-burst .95s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes wb-burst {
  0% { transform: translate(0, 0) scale(.4) rotate(0); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--dy) + 40px)) scale(1) rotate(var(--r)); opacity: 0; }
}

/* placar "encaixado" na borda de baixo, mostrando linha a linha */
.win-badge.docked { top: 100%; transform: translate(-50%, -62%) scale(.72); }
.win-badge.docked .wb-rays, .win-badge.docked .wb-burst { display: none; }
.win-badge.docked .wb-card { flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: .5rem; padding: 1rem 1.1rem .55rem; min-width: 17rem; }
.win-badge.docked .wb-amount { font-size: 2.3rem; }
.win-badge.docked .wb-sub { align-self: flex-end; margin-bottom: .3rem; }
.win-badge.docked .wb-line {
  display: flex; flex-basis: 100%; align-items: center; justify-content: center; gap: .55rem;
  margin-top: .35rem; padding-top: .35rem; border-top: 1px solid oklch(0.82 0.16 85 / .25);
  font-size: .85rem; font-weight: 800; color: #fff; white-space: nowrap;
}
.wbl-n { color: var(--lc); text-shadow: 0 0 6px var(--lc); letter-spacing: .05em; }
.wbl-sym { display: inline-flex; align-items: center; gap: .2rem; }
.wbl-sym img { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.wbl-amt { color: var(--gold-soft); }
.play .reels-ornate .tile.is-win { animation: tile-win 0.9s ease-in-out infinite; }
@keyframes tile-win { 50% { transform: scale(1.07); box-shadow: 0 0 0 2px var(--win), 0 0 22px var(--gold); } }

/* ---- grande prêmio com personagem ---- */
.bigwin.has-char .bw-box { margin-top: -38vh; }
.bw-char-wrap {
  position: absolute; left: 50%; bottom: 0; z-index: 1; transform: translate(-50%, 100%);
  display: flex; flex-direction: column; align-items: center; pointer-events: none;
  transition: transform .7s cubic-bezier(.2, 1.3, .4, 1) .15s;
}
.bigwin.show .bw-char-wrap { transform: translate(-50%, 0); }
.bw-char { height: min(58vh, 108vw); width: auto; filter: drop-shadow(0 0 30px var(--char-glow, #f3c44e)) drop-shadow(0 12px 20px oklch(0 0 0 / .7)); animation: char-bob 2.4s ease-in-out .9s infinite; }
@keyframes char-bob { 50% { transform: translateY(-8px) scale(1.015); } }
.bw-plate {
  position: absolute; bottom: 7vh; padding: .35rem 1.6rem .25rem; white-space: nowrap;
  font-size: clamp(1.4rem, 7vw, 2.4rem); color: #fff; letter-spacing: .05em;
  background: linear-gradient(180deg, var(--plate1), var(--plate2));
  border: 3px solid #f3c44e; border-radius: 12px;
  box-shadow: 0 0 20px var(--char-glow), 0 8px 16px oklch(0 0 0 / .7);
  text-shadow: 0 2px 0 oklch(0 0 0 / .5);
}
.bigwin-lula { --char-glow: oklch(0.65 0.24 28); --plate1: oklch(0.62 0.23 28); --plate2: oklch(0.4 0.18 25);
  background: radial-gradient(circle at 50% 70%, oklch(0.4 0.18 27 / .9), oklch(0.1 0.04 25 / .96)); }
.bigwin-lula .bw-rays { background: repeating-conic-gradient(from 0deg, oklch(0.75 0.2 35 / .25) 0deg 10deg, transparent 10deg 20deg); }
.bigwin-flavio { --char-glow: oklch(0.65 0.2 250); --plate1: oklch(0.58 0.19 252); --plate2: oklch(0.36 0.17 262);
  background: radial-gradient(circle at 50% 70%, oklch(0.36 0.16 258 / .9), oklch(0.08 0.04 262 / .96)); }
.bigwin-flavio .bw-rays { background: repeating-conic-gradient(from 0deg, oklch(0.75 0.14 240 / .25) 0deg 10deg, transparent 10deg 20deg); }
.bigwin.has-char .bw-box { z-index: 2; }
.bigwin.has-char .bw-close { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 3; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .wb-rays, .wb-card::after, .wb-coin, .wl-main, .bw-char, .play .reels-ornate .tile.is-win { animation: none !important; }
  .wl-main { stroke-dashoffset: 0; }
  .bw-char-wrap { transition: none; }
}
/* v8 ajustes: placar encaixado na borda de cima (sobre o brasão), sem cobrir os símbolos */
.win-badge.docked { top: 0; transform: translate(-50%, -58%) scale(.74); }
.win-badge.docked .wb-card { flex-wrap: nowrap; align-items: center; padding: .55rem 1rem .5rem 1rem; min-width: 0; gap: .6rem; }
.win-badge.docked .wb-ribbon { position: static; transform: none; font-size: 1rem; padding: .28rem 1rem .2rem; }
.win-badge.docked .wb-amount { font-size: 2rem; }
.win-badge.docked .wb-sub { display: none; }
.win-badge.docked .wb-line { flex-basis: auto; margin: 0; padding: 0 0 0 .6rem; border-top: 0; border-left: 1px solid oklch(0.82 0.16 85 / .3); font-size: .9rem; }
.win-badge.docked .wb-line:empty { display: none; }
/* grande prêmio com personagem: título em cima, personagem embaixo, botão no rodapé */
.bigwin.has-char { align-items: flex-start; padding-top: 7vh; }
.bigwin.has-char .bw-box { margin-top: 0; }
.bigwin.has-char .bw-box .bw-close { display: none; }
.bw-close-char { position: absolute; left: 50%; bottom: 1.3rem; transform: translateX(-50%); z-index: 4; margin: 0; }
.bw-plate { bottom: calc(4.9rem + 1vh); }
.win-badge.docked { transform: translate(-50%, -78%) scale(.8); max-width: 118%; }
.win-badge.docked .wb-ribbon { display: none; }
.win-badge.docked .wb-card { white-space: nowrap; }
.win-badge.docked .wb-amount { font-size: 1.8rem; }
.win-badge.docked .wb-line { font-size: .85rem; gap: .4rem; }
.win-badge.docked { transform: translate(-50%, -90%) scale(.8); }
.win-badge.docked .wb-card { gap: .9rem; padding: .5rem 1.1rem; }
.win-badge.docked .wb-line { padding-left: .9rem; gap: .55rem; }
.wbl-sym { gap: .3rem; margin-right: .15rem; }
.wbl-sym img { flex-shrink: 0; max-width: none; }
.wbl-amt { margin-left: .35rem; }

/* v9 — corrige tremida: efeitos do prêmio não podem aumentar a página */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.play { overflow: clip; overflow-clip-margin: 0; }
@supports not (overflow: clip) { .play { overflow: hidden; } }
.play .play-col { overscroll-behavior: none; }
.win-badge .wb-rays { max-width: 100vw; }

/* =========================================================
   v10 — logotipo ilustrado (duelo), página inicial e login/cadastro
   ========================================================= */
.duel { position: relative; display: flex; align-items: flex-end; justify-content: center; container-type: inline-size; width: 100%; }
.duel-char { width: 38%; height: auto; flex-shrink: 0; filter: drop-shadow(0 8px 14px oklch(0 0 0 / .6)); }
.duel-l { margin-right: -12%; }
.duel-r { margin-left: -12%; }
.duel-word {
  position: relative; z-index: 2; align-self: center; margin-top: 8%;
  display: flex; flex-direction: column; align-items: center; line-height: .82;
  font-family: "Luckiest Guy", "Bebas Neue", Impact, sans-serif; transform: rotate(-5deg);
}
.duel .gh-lula, .duel .gh-flavio { font-size: 15cqw; -webkit-text-stroke: 2px oklch(0.15 0.03 265); paint-order: stroke fill; }
.duel .gh-vs { font-size: 7.5cqw; margin: .08em 0; }
.duel::before { /* brilho vermelho e azul por trás */
  content: ""; position: absolute; inset: 10% 5% 0; z-index: -1; border-radius: 50%; filter: blur(28px); opacity: .75;
  background: linear-gradient(90deg, oklch(0.6 0.23 28 / .9), oklch(0.35 0.1 290 / .5) 50%, oklch(0.55 0.2 255 / .9));
}

/* ---------------- Página inicial ---------------- */
body.lp .site-header { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(180deg, oklch(0.08 0.03 265 / .85), transparent); border-bottom: 0; backdrop-filter: none; }
.lp-main { overflow: clip; }
.lp-hero { position: relative; isolation: isolate; min-height: min(100svh, 56rem); display: flex; align-items: flex-end; overflow: hidden; }
.lp-hero-bg { position: absolute; inset: 0; z-index: -2; }
.lp-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, oklch(0.08 0.03 265 / .15) 0%, oklch(0.08 0.03 265 / 0) 40%, oklch(0.09 0.03 265 / .75) 82%, var(--background) 100%); }
.lp-hero-in { position: relative; width: 100%; max-width: 76rem; margin: 0 auto; padding: 6rem 1rem 3rem; min-height: inherit; display: flex; align-items: flex-end; justify-content: center; }
.lp-fighter { position: absolute; bottom: 0; height: min(78%, 40rem); width: auto; z-index: 1; filter: drop-shadow(0 0 40px var(--glow)) drop-shadow(0 16px 24px oklch(0 0 0 / .7)); pointer-events: none; }
.lp-fighter-l { left: max(-6rem, -8vw); --glow: oklch(0.6 0.24 28 / .55); animation: lp-in-l .8s cubic-bezier(.2, 1.1, .3, 1) both; }
.lp-fighter-r { right: max(-6rem, -8vw); --glow: oklch(0.6 0.2 255 / .55); animation: lp-in-r .8s cubic-bezier(.2, 1.1, .3, 1) both; }
@keyframes lp-in-l { from { transform: translateX(-35%); opacity: 0; } }
@keyframes lp-in-r { from { transform: translateX(35%); opacity: 0; } }
.lp-center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 34rem; margin-bottom: 1rem; }
.lp-logo {
  display: flex; flex-direction: column; align-items: center; line-height: .8; margin: 0 0 1.2rem;
  font-family: "Luckiest Guy", "Bebas Neue", Impact, sans-serif; transform: rotate(-5deg);
  animation: lp-logo .7s cubic-bezier(.2, 1.6, .4, 1) .35s both;
}
@keyframes lp-logo { from { transform: rotate(-5deg) scale(.4); opacity: 0; } }
.lp-logo .gh-lula, .lp-logo .gh-flavio { font-size: clamp(3.6rem, 13vw, 7.5rem); -webkit-text-stroke: 3px oklch(0.15 0.03 265); paint-order: stroke fill; }
.lp-logo .gh-vs { font-size: clamp(1.8rem, 6vw, 3.4rem); margin: .08em 0; }
.lp-lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); font-weight: 600; line-height: 1.45; max-width: 26rem; text-shadow: 0 2px 10px oklch(0 0 0 / .9); }
.lp-ctas { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.4rem; }

/* botão principal no mesmo vermelho/ouro do botão de giro */
.lp-play, .au-submit {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.6rem; padding: 0 2.2rem; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em; color: #fff; text-shadow: 0 2px 0 oklch(0.3 0.12 25);
  background: radial-gradient(120% 140% at 35% 20%, oklch(0.75 0.17 32) 0%, oklch(0.58 0.23 28) 35%, oklch(0.42 0.19 26) 80%);
  box-shadow: 0 0 0 3px oklch(0.9 0.14 90), 0 0 0 6px oklch(0.55 0.12 70), 0 10px 24px oklch(0 0 0 / .6), inset 0 6px 10px oklch(1 0 0 / .25), inset 0 -8px 14px oklch(0 0 0 / .35);
  transition: transform .1s, filter .15s;
}
.lp-play:hover, .au-submit:hover { filter: brightness(1.1); }
.lp-play:active, .au-submit:active { transform: scale(.97); }
.lp-play:focus-visible, .au-submit:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 8px; }
.lp-ghost { font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: oklch(1 0 0 / .4); }
.lp-ghost:hover { text-decoration-color: var(--gold); color: var(--gold-soft); }

.lp-purse {
  margin-top: 1.8rem; display: flex; flex-direction: column; align-items: center;
  padding: .55rem 1.6rem .5rem; border-radius: 12px; border: 3px solid oklch(0.86 0.16 88);
  background: linear-gradient(180deg, oklch(0.12 0.02 265 / .92), oklch(0.05 0.01 265 / .92));
  box-shadow: 0 0 22px oklch(0.82 0.16 85 / .5), inset 0 0 12px oklch(0.82 0.16 85 / .35);
}
.lp-purse-label { font-size: 1rem; color: var(--gold-soft); letter-spacing: .06em; }
.lp-purse-val { display: flex; align-items: center; gap: .4rem; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; color: #fff; }
.lp-purse-val img { width: .85em; height: .85em; }

/* faixa com os números do jogo */
.lp-strip { background: linear-gradient(90deg, oklch(0.3 0.15 26), oklch(0.16 0.05 280) 50%, oklch(0.26 0.13 258)); border-block: 1px solid oklch(0.82 0.16 85 / .35); }
.lp-strip-in { max-width: 64rem; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .lp-strip-in { grid-template-columns: repeat(4, 1fr); } }
.lp-strip-in > div { padding: 1.1rem 1rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-strip-in > div + div { border-left: 1px solid oklch(1 0 0 / .12); }
.lp-strip b { font-size: 2.2rem; line-height: 1; color: var(--gold-soft); font-weight: 400; }
.lp-strip span { font-size: .85rem; color: oklch(0.9 0.02 250); }

/* seções */
.lp-sec { padding: 4.5rem 1rem; }
.lp-wrap { max-width: 64rem; margin: 0 auto; }
.lp-narrow { max-width: 42rem; }
.lp-h2 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; color: #fff; margin-bottom: .6rem; }
.lp-p { max-width: 38rem; color: var(--muted-fg); font-size: 1.05rem; }

.lp-pots { background: radial-gradient(60% 80% at 50% 0%, oklch(0.24 0.06 265), transparent); }
.lp-pot-row { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1rem; justify-items: center; }
@media (min-width: 760px) { .lp-pot-row { grid-template-columns: repeat(4, 1fr); } }
.lp-pot.jp { position: static; transform: none; }
.lp-pot .jp-label { font-size: 1.3rem; }
.lp-pot .jp-val { font-size: 1.7rem; padding: .35em .7em .25em; }
.lp-pot.jp-grand .jp-label { font-size: 1.6rem; }
.lp-pot.jp-grand .jp-val { font-size: 2rem; }

.lp-step-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .lp-step-list { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.lp-step-list li { display: flex; gap: 1rem; align-items: flex-start; }
.lp-step-n {
  flex-shrink: 0; width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.9rem; color: oklch(0.3 0.08 60);
  background: radial-gradient(circle at 35% 30%, #fff4c0, #f3c44e 45%, #a8740f);
  box-shadow: 0 0 0 2px oklch(0.45 0.1 65), 0 4px 10px oklch(0 0 0 / .5), inset 0 -3px 5px oklch(0 0 0 / .25);
}
.lp-step-list h3 { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 800; letter-spacing: 0; margin-bottom: .2rem; }
.lp-step-list p { color: var(--muted-fg); }

.lp-symbols { background: linear-gradient(180deg, transparent, oklch(0.13 0.035 265)); }
.lp-sym-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
@media (min-width: 760px) { .lp-sym-grid { grid-template-columns: repeat(9, 1fr); } }
.lp-sym { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .8rem .4rem .7rem; border-radius: 12px; background: oklch(0.2 0.04 264 / .7); border: 1px solid oklch(1 0 0 / .07); }
.lp-sym img { width: 70%; max-width: 5rem; aspect-ratio: 1; object-fit: contain; }
.lp-sym-name { font-size: .85rem; font-weight: 700; }
.lp-sym-pay { font-size: 1.5rem; color: var(--gold); line-height: 1; }
.lp-sym-star { border: 2px solid var(--cb); background: radial-gradient(circle at 50% 30%, var(--cbg1), var(--cbg2) 85%); box-shadow: 0 0 16px color-mix(in oklab, var(--cb) 50%, transparent); }
.lp-sym-lula { --cb: #f6cf5a; --cbg1: oklch(0.5 0.21 28); --cbg2: oklch(0.24 0.12 25); }
.lp-sym-flavio { --cb: #7cc4ff; --cbg1: oklch(0.46 0.17 255); --cbg2: oklch(0.18 0.09 262); }
@media (min-width: 760px) { .lp-sym-star { grid-column: span 1; } }

.lp-faq details { border-bottom: 1px solid var(--border); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-size: 1.1rem; font-weight: 700; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lp-faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lp-faq details p { padding: 0 0 1.2rem; color: var(--muted-fg); max-width: 36rem; }

.lp-final { padding: 3rem 1rem 4rem; display: flex; flex-direction: column; align-items: center; gap: 1.8rem; background: radial-gradient(60% 70% at 50% 100%, oklch(0.22 0.08 280 / .8), transparent); }
.duel-sm { max-width: 26rem; }
.lp-footer { border-top: 1px solid var(--border); }
@media (max-width: 640px) {
  .lp-hero { min-height: 100svh; }
  .lp-hero-in { padding-bottom: 2rem; }
  .lp-fighter { height: 46%; bottom: auto; top: 13%; }
  .lp-fighter-l { left: -14%; } .lp-fighter-r { right: -14%; }
  .lp-center { margin-top: 44vh; }
}

/* ---------------- Login e cadastro ---------------- */
body.au .site-header { background: oklch(0.08 0.03 265 / .7); border-bottom: 0; }
.au-wrap { position: relative; isolation: isolate; min-height: calc(100svh - 4rem); display: flex; align-items: center; justify-content: center; padding: 2rem 1rem 3rem; overflow: clip; }
.au-bg { position: absolute; inset: 0; z-index: -1; }
.au-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.au-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(0.08 0.03 265 / .35), oklch(0.08 0.03 265 / .55) 55%, oklch(0.08 0.03 265 / .8)); }
.au-grid { width: 100%; max-width: 68rem; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .au-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }
.au-art { display: none; }
@media (min-width: 900px) { .au-art { display: flex; flex-direction: column; align-items: center; gap: 2rem; } }
.duel-lg { max-width: 34rem; }
.au-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.au-perks li { display: flex; align-items: center; gap: .8rem; font-size: 1.1rem; font-weight: 600; padding: .5rem 1.1rem .5rem .6rem; border-radius: 999px; background: oklch(0.1 0.03 265 / .65); backdrop-filter: blur(4px); }
.au-perks img { width: 2.2rem; height: 2.2rem; object-fit: contain; }
.au-perks b { color: var(--gold-soft); }

.au-card {
  position: relative; width: 100%; max-width: 27rem; margin: 0 auto; padding: 1.5rem 1.5rem 1.4rem;
  border-radius: 20px; background: linear-gradient(180deg, oklch(0.2 0.045 262 / .94), oklch(0.13 0.035 265 / .96));
  box-shadow: 0 0 0 1px oklch(0.82 0.16 85 / .3), 0 30px 60px -20px oklch(0 0 0 / .9);
  backdrop-filter: blur(8px);
}
.duel-card { max-width: 19rem; margin: -4.8rem auto .4rem; }
@media (min-width: 900px) { .duel-card { display: none; } .au-card { padding-top: 1.8rem; } }
@media (max-width: 899px) { .au-wrap { padding-top: 5.5rem; } }
.au-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: .3rem; border-radius: 999px; background: oklch(0.08 0.02 265); box-shadow: inset 0 2px 4px oklch(0 0 0 / .6); margin-bottom: 1.3rem; }
.au-tabs a { text-align: center; padding: .6rem .5rem; border-radius: 999px; font-weight: 700; color: var(--muted-fg); transition: background .15s, color .15s; }
.au-tabs a.is-on { color: #fff; background: linear-gradient(180deg, oklch(0.36 0.08 255), oklch(0.22 0.07 258)); box-shadow: 0 0 0 1px oklch(0.6 0.07 245), inset 0 1px 0 oklch(1 0 0 / .2); }
.au-tabs a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.au-title { font-size: 2.6rem; line-height: 1; color: #fff; }
.au-sub { margin-top: .35rem; color: var(--muted-fg); }
.au-form { margin-top: 1.3rem; display: flex; flex-direction: column; gap: .95rem; }
.au-field { display: flex; flex-direction: column; gap: .35rem; }
.au-field > span:first-child { font-size: .9rem; font-weight: 700; }
.au-form .input { height: 3rem; border-radius: 12px; background: oklch(0.09 0.025 265); border-color: oklch(0.35 0.05 260); font-size: 1rem; }
.au-form .input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px oklch(0.82 0.16 85 / .2); }
.au-pass { position: relative; display: block; }
.au-pass .input { padding-right: 5.5rem; }
.au-eye { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); height: 2.3rem; padding: 0 .8rem; border: 0; border-radius: 9px; background: oklch(0.24 0.05 262); color: var(--gold-soft); font-weight: 700; font-size: .85rem; cursor: pointer; }
.au-eye:focus-visible { outline: 2px solid var(--gold); }
.au-error { padding: .7rem .9rem; border-radius: 10px; border: 1px solid oklch(0.58 0.23 27 / .7); background: oklch(0.58 0.23 27 / .15); color: #ffd6d2; font-size: .92rem; font-weight: 600; }
.au-submit { margin-top: .6rem; width: 100%; font-size: 1.5rem; }
.au-switch { margin-top: 1.2rem; text-align: center; color: var(--muted-fg); }
.au-switch a { color: var(--gold); font-weight: 800; }
.au-switch a:hover { text-decoration: underline; }
.au-note { margin-top: .9rem; text-align: center; font-size: .78rem; color: oklch(0.65 0.03 265); }
@media (prefers-reduced-motion: reduce) { .lp-fighter, .lp-logo { animation: none !important; } }
@media (max-width: 640px) {
  .lp-fighter { height: auto; width: 60vw; top: 9vh; bottom: auto; }
  .lp-fighter-l { left: -8vw; z-index: 1; }
  .lp-fighter-r { right: -8vw; z-index: 1; }
  .lp-center { margin-top: 30vh; }
  .lp-logo { margin-bottom: .9rem; }
  .lp-logo .gh-lula, .lp-logo .gh-flavio { font-size: 3.4rem; }
  .lp-logo .gh-vs { font-size: 1.7rem; }
}

/* ===== Loja de créditos (PIX) ===== */
.pay-grid { display: grid; gap: 2rem; max-width: 720px; }
.pay-step-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 .9rem; }
.pay-packs { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pay-pack { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem; border: 2px solid var(--border, #3a3f55); border-radius: 14px; cursor: pointer; transition: border-color .15s, transform .15s; background: rgba(255,255,255,.03); }
.pay-pack:hover { transform: translateY(-2px); }
.pay-pack.is-selected { border-color: #d4af37; box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
.pay-pack input { position: absolute; opacity: 0; pointer-events: none; }
.pay-pack-name { font-size: 1.05rem; letter-spacing: .03em; }
.pay-pack-credits { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.pay-pack-price { font-size: 1.25rem; font-weight: 800; color: #d4af37; }
.pay-form { display: grid; gap: .9rem; max-width: 420px; }
.pay-form .field { display: grid; gap: .3rem; }
.pay-form label, .pay-qr-card .field span { font-size: .85rem; font-weight: 600; opacity: .85; }
.pay-form input, .pay-qr-card textarea { width: 100%; padding: .7rem .85rem; border-radius: 10px; border: 1px solid var(--border, #3a3f55); background: rgba(255,255,255,.05); color: inherit; font: inherit; }
.pay-hint { font-size: .8rem; opacity: .65; margin: 0; }
.pay-qr-card { display: grid; gap: .9rem; max-width: 380px; padding: 1.4rem; border-radius: 16px; border: 1px solid var(--border, #3a3f55); background: rgba(255,255,255,.04); }
.pay-qr-box { display: grid; place-items: center; background: #fff; border-radius: 12px; padding: .8rem; width: fit-content; margin: 0 auto; }
.pay-qr-box img { display: block; width: 220px; height: 220px; }
.pay-qr-value { text-align: center; font-size: 1.6rem; color: #d4af37; margin: 0; }
.pay-status { display: flex; align-items: center; gap: .5rem; font-size: .9rem; opacity: .85; margin: 0; }
.pay-status .ic { animation: pay-spin 1.4s linear infinite; }
@keyframes pay-spin { to { transform: rotate(360deg); } }
.pay-done-card { text-align: center; display: grid; gap: .8rem; justify-items: center; padding: 2.2rem; border-radius: 16px; border: 1px solid #d4af37; background: rgba(212,175,55,.07); max-width: 460px; }
.pay-done-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #1f9d55; color: #fff; }
.pay-done-ic .ic { width: 32px; height: 32px; }

/* ===== Depósito (PIX) — estilo cassino ===== */
.dep { max-width: 560px; }
.dep-shell { display: grid; gap: 1.1rem; }
.dep-top { display: flex; align-items: center; gap: .9rem; }
.dep-back { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(212,175,55,.45); color: #d4af37; }
.dep-back .ic { transform: rotate(180deg); }
.dep-title { flex: 1; margin: 0; font-size: 1.6rem; letter-spacing: .04em; }
.dep-balance { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(212,175,55,.5); background: rgba(212,175,55,.08); font-size: 1.05rem; color: #f5d76e; }
.dep-balance-coin { width: 20px; height: 20px; }
.dep-sub { margin: 0; opacity: .8; font-size: .95rem; }
.dep-method { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.dep-pix { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #0d9488; color: #fff; font-size: 1.4rem; }
.dep-method-txt { flex: 1; display: grid; }
.dep-method-txt b { font-size: 1.05rem; }
.dep-method-txt small { opacity: .7; }
.dep-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .7rem; border-radius: 999px; background: rgba(212,175,55,.15); border: 1px solid rgba(212,175,55,.5); color: #f5d76e; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.dep-label { margin: .4rem 0 0; font-size: .95rem; font-weight: 700; letter-spacing: .03em; opacity: .9; }
.dep-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.dep-chip { align-items: center; text-align: center; gap: .1rem; padding: .5rem .35rem; border-radius: 10px; }
.dep-chip-price { font-size: .95rem; letter-spacing: .01em; }
.dep-chip-credits { display: inline-flex; align-items: center; gap: .2rem; font-size: .65rem; opacity: .75; }
.dep-chip.is-selected { border-color: #d4af37; background: linear-gradient(160deg, rgba(212,175,55,.22), rgba(212,175,55,.06)); }
.dep-form-wrap { display: grid; gap: .8rem; }
.dep-form { max-width: none; }
.dep-cta { display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; padding: 1rem; border: 0; border-radius: 14px; cursor: pointer; font-size: 1.15rem; letter-spacing: .05em; color: #231a02; background: linear-gradient(180deg, #ffd75e, #e0a922); box-shadow: 0 6px 18px rgba(224,169,34,.35), inset 0 1px 0 rgba(255,255,255,.55); transition: transform .12s, filter .12s; }
.dep-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.dep-cta:disabled { opacity: .6; cursor: wait; }
@media (max-width: 480px) { .dep-values { grid-template-columns: repeat(3, 1fr); } .dep-badge { display: none; } }

/* Botão depositar na barra do jogo */
.gbar-deposit { display: inline-flex; align-items: center; padding: .4rem .8rem; border-radius: 999px; font-size: .8rem; letter-spacing: .06em; color: #231a02; background: linear-gradient(180deg, #ffd75e, #e0a922); text-decoration: none; box-shadow: 0 3px 10px rgba(224,169,34,.35); }
.gbar-deposit:hover { filter: brightness(1.07); }

/* Bloqueio de jogo sem saldo */
.dep-lock { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 1.2rem; background: rgba(5,8,20,.82); backdrop-filter: blur(6px); }
.dep-lock-card { display: grid; justify-items: center; gap: .8rem; max-width: 420px; padding: 2.2rem 1.8rem; text-align: center; border-radius: 20px; border: 1px solid rgba(212,175,55,.55); background: linear-gradient(170deg, #141a33, #0b0f22); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.dep-lock-card h2 { margin: 0; font-size: 1.5rem; color: #f5d76e; }
.dep-lock-card p { margin: 0; opacity: .85; }
.dep-lock-coin { width: 56px; height: 56px; }

/* Valor livre no depósito Pix */
.dep-custom-field { display: grid; gap: .35rem; }
.dep-custom-field input { width: 100%; padding: .75rem; border: 1px solid var(--border); background: var(--surface); color: var(--foreground); border-radius: 8px; font: inherit; }
.dep-custom-field input:focus { outline: 2px solid var(--gold); }
.dep-custom-field small { color: var(--muted-fg); }
.pay-config-warning { padding: .8rem; border: 1px solid var(--gold-deep); color: var(--gold-soft); }

/* Janela Pix sobre o depósito */
body.pay-modal-open { overflow: hidden; }
.pay-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; }
.pay-modal[hidden] { display: none; }
.pay-modal-backdrop { position: absolute; inset: 0; background: oklch(0.06 0.025 265 / .86); backdrop-filter: blur(5px); }
.pay-modal-panel { position: relative; width: min(100%, 430px); max-height: min(92dvh, 780px); overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem; border: 1px solid var(--gold); border-radius: 12px; background: var(--surface); box-shadow: 0 24px 70px oklch(0 0 0 / .65); }
.pay-modal-panel:focus { outline: none; }
.pay-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pay-modal-head h2 { margin: 0; font-size: 1.5rem; color: var(--gold); }
.pay-modal-close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--foreground); cursor: pointer; }
.pay-modal-close:hover, .pay-modal-close:focus-visible { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 2px; }
.pay-modal .pay-qr-card { width: 100%; max-width: none; padding: 0; border: 0; background: none; }
.pay-modal .pay-qr-box { max-width: 100%; }
.pay-modal .pay-qr-box img { width: min(220px, 58vw); height: auto; aspect-ratio: 1; }
.pay-modal .pay-qr-card textarea { overflow-wrap: anywhere; resize: vertical; }
@media (max-height: 680px) { .pay-modal-panel { max-height: 96dvh; } }

/* ===== Popup do Pix — v12: sempre sobre a tela + bottom sheet no mobile ===== */
body.pay-modal-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
.pay-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom)); }
.pay-modal[hidden] { display: none !important; }
.pay-modal-backdrop { opacity: 0; transition: opacity .22s ease; }
.pay-modal-panel { display: grid; gap: .2rem; background: linear-gradient(170deg, #141a33, #0b0f22); border-color: rgba(212,175,55,.6); border-radius: 20px; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .22s ease, transform .22s ease; }
.pay-modal.is-open .pay-modal-backdrop { opacity: 1; }
.pay-modal.is-open .pay-modal-panel { opacity: 1; transform: none; }
.pay-modal-grab { display: none; }
.pay-modal .pay-qr-value { font-size: 1.9rem; }
.pay-steps { margin: 0; padding: .8rem .9rem .8rem 2rem; display: grid; gap: .35rem; font-size: .85rem; line-height: 1.35; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.pay-steps li::marker { color: #d4af37; font-weight: 700; }
.pay-modal .pay-qr-card textarea { font-family: ui-monospace, monospace; font-size: .75rem; resize: none; }
.pay-modal [data-pay-copybtn] { min-height: 48px; font-weight: 700; }
.pay-modal [data-pay-copybtn].is-copied { border-color: #1f9d55; color: #4ade80; }
.pay-modal .pay-status { justify-content: center; padding: .7rem; border-radius: 10px; background: rgba(212,175,55,.08); color: #f5d76e; }

@media (max-width: 560px) {
  .pay-modal { align-items: flex-end; padding: 0; }
  .pay-modal-panel { width: 100%; max-height: 94dvh; border-radius: 22px 22px 0 0; border-bottom: 0; padding: .6rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom)); transform: translateY(100%); transition: opacity .15s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
  .pay-modal-grab { display: block; width: 44px; height: 5px; margin: 0 auto .5rem; border-radius: 99px; background: rgba(255,255,255,.25); }
  .pay-modal-head h2 { font-size: 1.3rem; }
  .pay-modal .pay-qr-box img { width: min(200px, 55vw); }
  .pay-modal .pay-qr-value { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .pay-modal-panel, .pay-modal-backdrop { transition: none; } }

/* ===== v13: utilitários ===== */
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95em; }
.btn-sm { height: 2rem; padding: 0 .75rem; font-size: .8rem; }
.btn-danger { background: var(--destructive); color: #fff; border-color: var(--destructive); }
.btn-danger:hover { background: oklch(0.52 0.22 27); }
.dep-link { color: var(--gold); font-weight: 700; white-space: nowrap; margin-left: .25rem; }
.dep-link:hover { text-decoration: underline; }
.pay-done-card .btn-group { justify-content: center; }

/* QR Code gerado localmente (SVG) */
.pay-qr-box svg { display: block; width: min(220px, 58vw); height: auto; aspect-ratio: 1; }
.pay-qr-box.is-fallback { width: auto; max-width: 260px; color: #333; font-size: .85rem; text-align: center; padding: 1rem; }

/* Selo de status (depósitos) */
.st-badge { display: inline-flex; align-items: center; margin-left: .35rem; padding: .1rem .5rem; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; vertical-align: middle; border: 1px solid; }
.st-badge.is-paid { color: #4ade80; border-color: rgba(74,222,128,.45); background: rgba(74,222,128,.1); }
.st-badge.is-pending { color: #f5d76e; border-color: rgba(245,215,110,.5); background: rgba(245,215,110,.1); }
.st-badge.is-refunded { color: #fb923c; border-color: rgba(251,146,60,.5); background: rgba(251,146,60,.1); }
.st-badge.is-muted { color: var(--muted-fg); border-color: var(--border); background: transparent; }

/* Meus depósitos */
.dh-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1.5rem; }
.dh-sum .card { padding: 1rem; }
.dh-sum .kpi { font-size: 1.75rem; }
.dh-main { display: flex; align-items: center; gap: .8rem; min-width: 0; flex: 1 1 16rem; }
.dh-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); color: var(--muted-fg); }
.dh-ic.is-paid { background: rgba(212,175,55,.14); color: var(--gold); }
.dh-side { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
@media (max-width: 560px) {
  .dh-sum { grid-template-columns: 1fr 1fr; }
  .dh-sum .card:first-child { grid-column: span 2; }
  .dh-side { width: 100%; justify-content: space-between; }
  .dh-side .right { text-align: left; }
}

/* Conquistas */
.ach-summary { display: grid; gap: .9rem; margin-bottom: 1.5rem; }
.ach-of { font-size: 1.1rem; }
.ach-bar, .ach-prog { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.ach-bar span, .ach-prog span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); }
.ach-prog { height: 6px; width: 100%; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; }
.ach-card { display: grid; justify-items: center; align-content: start; gap: .35rem; padding: 1.2rem .9rem; text-align: center; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.ach-card .ach-emoji { font-size: 2.4rem; line-height: 1; filter: grayscale(1) opacity(.35); }
.ach-card.is-on { border-color: rgba(212,175,55,.6); background: linear-gradient(170deg, rgba(212,175,55,.14), rgba(212,175,55,.03)); }
.ach-card.is-on .ach-emoji { filter: none; animation: ach-pop .4s ease-out both; }
.ach-name { margin: .2rem 0 0; font-size: 1.15rem; letter-spacing: .03em; }
.ach-card:not(.is-on) .ach-name { color: var(--muted-fg); }
.ach-desc { margin: 0; font-size: .78rem; color: var(--muted-fg); }
.ach-date { display: inline-flex; align-items: center; gap: .3rem; margin: .2rem 0 0; font-size: .72rem; font-weight: 700; color: var(--gold); }
@keyframes ach-pop { from { transform: scale(.6); } to { transform: none; } }
@media (max-width: 420px) { .ach-grid { grid-template-columns: 1fr 1fr; } .ach-card { padding: 1rem .6rem; } }
.toast-achv { border-color: var(--gold); background: linear-gradient(170deg, #2a2308, #141a33); color: var(--gold-soft); }
.rank-badges { color: var(--gold-soft); white-space: nowrap; }

/* Admin → Depósitos */
.kpis-4 .card .kpi { font-size: 1.6rem; }
.adm-kpi-sub { display: block; font-family: inherit; font-size: .75rem; letter-spacing: 0; }
@media (min-width: 900px) { .kpis-4 { grid-template-columns: repeat(4, 1fr); } }
.adm-filter { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: end; gap: .6rem; margin-bottom: .75rem; }
.adm-filter > div { display: grid; gap: .25rem; }
.adm-filter select.input { height: 2.5rem; }
.adm-filter-btns { display: flex !important; gap: .5rem; }
@media (max-width: 820px) { .adm-filter { grid-template-columns: 1fr 1fr; } .adm-filter > div:first-of-type { grid-column: span 2; } .adm-filter-btns { grid-column: span 2; } }
.adm-dep-row { align-items: flex-start; }
.adm-dep-side { display: flex; align-items: flex-start; gap: .8rem; margin-left: auto; }
.adm-note { margin-top: .3rem; color: #fb923c; display: flex; gap: .3rem; align-items: flex-start; }
.adm-act { position: relative; }
.adm-act > summary { list-style: none; cursor: pointer; }
.adm-act > summary::-webkit-details-marker { display: none; }
.adm-act[open] > summary { border-color: var(--gold); }
.adm-act-box { display: grid; gap: .5rem; width: min(290px, 80vw); margin-top: .5rem; padding: .75rem; border: 1px solid var(--gold-deep); background: var(--surface-2); }
.adm-act-box form { display: grid; gap: .35rem; }
.adm-act-box form + form { padding-top: .5rem; border-top: 1px solid var(--border); }
.adm-pager { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1rem; }
@media (min-width: 821px) { .adm-act-box { position: absolute; right: 0; z-index: 5; box-shadow: var(--shadow-panel); } }
@media (max-width: 560px) { .adm-dep-side { width: 100%; justify-content: space-between; } .adm-dep-side .right { text-align: left; } }
.ach-date.muted { color: var(--muted-fg); font-weight: 600; }
.adm-filter select.input { color: var(--foreground); background: var(--background); }
.adm-filter select.input option { background: var(--surface); color: var(--foreground); }
@media (max-width: 820px) {
  .adm-dep-side { width: 100%; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .adm-dep-side .right { text-align: left; }
  .adm-act[open] { flex-basis: 100%; }
  .adm-act[open] > summary { margin-left: auto; width: fit-content; }
  .adm-act-box { width: 100%; }
}

/* =========================================================
   v14 — controles do slot centralizados numa linha só
   ========================================================= */
.play .deck-row {
  justify-content: center; align-items: center;
  gap: 1.8cqw; margin-top: 4.5cqw;
}
.play .deck-left { flex: 0 1 auto; align-items: center; gap: 1.4cqw; padding-bottom: 0; }
.play .dbtn { --h: min(3.9rem, 13.5cqw); border-radius: 10px; }
.play .dbtn-sq { width: var(--h); }
.play .dbet { flex: 0 0 auto; min-width: 26cqw; max-width: none; }
.play .dbtn-auto { min-width: var(--h); padding: 0 2cqw; }
.play .spin-orb { --s: min(7.6rem, 21cqw); margin: 9px; }

/* acabamento: vidro azul com brilho, como a referência */
.play .dbtn {
  border-color: oklch(0.74 0.14 245);
  background: linear-gradient(180deg, oklch(0.4 0.12 255) 0%, oklch(0.27 0.11 258) 46%, oklch(0.19 0.08 262) 54%, oklch(0.15 0.06 262) 100%);
  box-shadow:
    inset 0 2px 0 oklch(1 0 0 / .32),
    inset 0 -4px 8px oklch(0 0 0 / .45),
    0 0 0 1px oklch(0.12 0.03 265),
    0 0 12px oklch(0.65 0.18 245 / .45),
    0 5px 12px oklch(0 0 0 / .6);
}
.play .dbet-label { color: oklch(0.85 0.1 235); }
.play .dbet-unit { color: var(--gold); opacity: 1; }

/* faixa GANHE ATÉ com borda iluminada e pontas vermelhas */
.play .deck-banner {
  position: relative; overflow: visible;
  border: 2px solid oklch(0.8 0.15 80);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / .12),
    inset 0 0 14px oklch(0.8 0.16 75 / .25),
    0 0 18px oklch(0.8 0.17 75 / .45),
    0 8px 18px oklch(0 0 0 / .7);
}
.play .deck-banner::before, .play .deck-banner::after {
  content: ""; position: absolute; top: 50%; width: 1.1em; height: 62%;
  transform: translateY(-50%); z-index: -1; border: 2px solid oklch(0.8 0.15 80);
  background: radial-gradient(circle at 50% 35%, oklch(0.62 0.22 28), oklch(0.38 0.16 25));
}
.play .deck-banner::before { left: -.55em; border-radius: 999px 0 0 999px; }
.play .deck-banner::after  { right: -.55em; border-radius: 0 999px 999px 0; }
.play .deck-banner { width: calc(100% - 3.2rem); }

/* =========================================================
   v15 — sem zoom ao tocar rápido nos botões (celular)
   ========================================================= */
/* "manipulation" desliga o zoom de toque duplo, mas mantém o zoom com dois dedos (acessibilidade) */
html, button, a, input, label, select, textarea, summary, [role="button"] { touch-action: manipulation; }
.play, .play .gh, .play .deck, .play .reels { touch-action: manipulation; }
/* toque longo nos controles não seleciona texto nem abre menu do sistema */
.dbtn, .spin-orb, .dbtn *, .spin-orb *, .deck-banner, .play .reels {
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.dbet-input { -webkit-user-select: text; user-select: text; font-size: max(16px, min(1.75rem, 6.2cqw)); }

/* =========================================================
   v16 — ranking anônimo com pódio
   ========================================================= */
.rk-tabs { display: flex; gap: .25rem; padding: .25rem; margin-bottom: 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.rk-tab { flex: 1; text-align: center; padding: .55rem .5rem; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--muted-fg); white-space: nowrap; transition: background .15s, color .15s; }
.rk-tab:hover { color: var(--foreground); }
.rk-tab.is-on { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: #1a1405; }

.rk-av { --hue: 220; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: #fff; background: radial-gradient(circle at 35% 30%, hsl(var(--hue) 70% 62%), hsl(var(--hue) 60% 32%));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 2px rgba(255,255,255,.08); }
.rk-av .ic { width: 20px; height: 20px; opacity: .9; }
.rk-av.is-me { background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold) 55%, var(--gold-deep)); color: #2a1f05; box-shadow: 0 0 0 2px var(--gold-soft), 0 0 14px rgba(212,175,55,.5); }
.rk-av-lg { width: 60px; height: 60px; }
.rk-av-lg .ic { width: 28px; height: 28px; }

.rk-me { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; padding: 1rem 1.1rem; border-color: rgba(212,175,55,.5); background: linear-gradient(170deg, rgba(212,175,55,.12), rgba(212,175,55,.02)); }
.rk-me .rk-av { width: 48px; height: 48px; }
.rk-me-pos { font-size: 2rem; line-height: 1; margin: .15rem 0 0; }
.rk-me-pos small { font-size: 1rem; }
.rk-me-val { margin-left: auto; }

.rk-podium { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: .6rem; }
.rk-pod { position: relative; display: grid; justify-items: center; gap: .15rem; padding: 1rem .5rem 0; text-align: center; min-width: 0; }
.rk-pod-medal { font-size: 1.3rem; line-height: 1; margin-bottom: .35rem; }
.rk-pod-1 .rk-pod-medal { color: #f5d76e; font-size: 1.7rem; }
.rk-pod-2 .rk-pod-medal { color: #cfd6e3; }
.rk-pod-3 .rk-pod-medal { color: #d99a5b; }
.rk-pod-1 .rk-av-lg { width: 74px; height: 74px; box-shadow: 0 0 0 3px #f5d76e, 0 0 22px rgba(245,215,110,.45); }
.rk-pod-2 .rk-av-lg { box-shadow: 0 0 0 3px #cfd6e3; }
.rk-pod-3 .rk-av-lg { box-shadow: 0 0 0 3px #d99a5b; }
.rk-pod-name { max-width: 100%; margin-top: .45rem; font-size: .85rem; }
.rk-pod.is-me .rk-pod-name { color: var(--gold-soft); }
.rk-pod-val { font-size: 1.35rem; line-height: 1.1; color: var(--foreground); }
.rk-pod-1 .rk-pod-val { color: var(--gold-soft); font-size: 1.6rem; }
.rk-pod-base { display: block; width: 100%; margin-top: .6rem; border-radius: 10px 10px 0 0; border: 1px solid var(--border); border-bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.01)); }
.rk-pod-1 .rk-pod-base { height: 64px; border-color: rgba(245,215,110,.5); background: linear-gradient(180deg, rgba(245,215,110,.22), rgba(245,215,110,.02)); }
.rk-pod-2 .rk-pod-base { height: 44px; }
.rk-pod-3 .rk-pod-base { height: 30px; }

.rk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.rk-row { display: grid; grid-template-columns: 2rem 40px 1fr auto; align-items: center; gap: .75rem; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.rk-row.is-me { border-color: rgba(212,175,55,.6); background: rgba(212,175,55,.08); }
.rk-pos { font-size: 1.15rem; color: var(--muted-fg); text-align: center; }
.rk-privacy { display: flex; align-items: flex-start; justify-content: center; gap: .4rem; margin-top: 1.5rem; text-align: center; }
@media (max-width: 420px) {
  .rk-tab { font-size: .76rem; padding: .5rem .3rem; }
  .rk-row { grid-template-columns: 1.6rem 36px 1fr auto; gap: .55rem; padding: .6rem .7rem; }
  .rk-av { width: 36px; height: 36px; }
  .rk-pod-val { font-size: 1.1rem; } .rk-pod-1 .rk-pod-val { font-size: 1.3rem; }
  .rk-pod-name { font-size: .75rem; }
}
.rk-pod { padding-left: .2rem; padding-right: .2rem; }
.rk-av.rk-av-lg { width: 56px; height: 56px; }
.rk-pod-1 .rk-av.rk-av-lg { width: 70px; height: 70px; }
@media (max-width: 420px) { .rk-pod-name { font-size: .72rem; letter-spacing: -.01em; } .rk-podium { gap: .35rem; } }

/* =========================================================
   v17 — admin: explicação do RTP
   ========================================================= */
.rtp-box { margin-top: 1.5rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(212,175,55,.45); border-radius: 14px;
  background: linear-gradient(170deg, rgba(212,175,55,.09), rgba(212,175,55,.015)); display: grid; gap: .8rem; }
.rtp-title { margin: 0; font-size: 1.35rem; letter-spacing: .03em; color: var(--gold-soft); }
.rtp-box p { margin: 0; }
.rtp-calc { display: flex; flex-wrap: wrap; align-items: stretch; gap: .5rem; }
.rtp-calc > div { flex: 1 1 8.5rem; display: grid; gap: .15rem; align-content: start; padding: .7rem .8rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.rtp-calc b, .rtp-result b { font-size: 1.5rem; font-weight: 400; line-height: 1.1; }
.rtp-calc small { font-size: .7rem; color: var(--muted-fg); line-height: 1.25; }
.rtp-op { align-self: center; font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.rtp-result { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.rtp-result > div { display: grid; gap: .15rem; padding: .8rem .9rem; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid var(--border); }
.rtp-result [data-rtp-total] { color: #4ade80; font-size: 2rem; }
.rtp-result [data-rtp-house] { font-size: 2rem; }
.rtp-result .is-bad { color: #f87171; }
.rtp-warn { display: flex; gap: .4rem; align-items: flex-start; padding: .6rem .75rem; border-radius: 10px; color: #fca5a5; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); }
.rtp-more summary { cursor: pointer; color: var(--gold-soft); }
.rtp-more ul { margin: .6rem 0 0; padding-left: 1.1rem; display: grid; gap: .45rem; }
@media (max-width: 560px) {
  .rtp-op { display: none; }
  .rtp-calc > div { flex-basis: calc(50% - .25rem); }
  .rtp-calc b, .rtp-result b { font-size: 1.3rem; }
  .rtp-result [data-rtp-total], .rtp-result [data-rtp-house] { font-size: 1.6rem; }
}

/* v17 — valores com centavos cabem nas placas e no saldo */
.gbar-amount { white-space: nowrap; letter-spacing: .01em; }
@media (max-width: 560px) { .gbar-amount { min-width: 0; font-size: 1.1rem; } .gbar-balance { gap: .25rem; } }
@media (max-width: 380px) { .gbar-amount { font-size: .98rem; } }
.play .jp-val { font-size: 3.7cqw; letter-spacing: .01em; }
.play .jp-grand .jp-val { font-size: 5.2cqw; }
.dbet-input { max-width: 100%; letter-spacing: 0; }
.dbet-input { width: 100%; min-width: 0; }
@media (max-width: 560px) {
  .gbar-amount { flex-shrink: 0; }
  .gbar-right { gap: .35rem; }
  .gbar-deposit { padding: .35rem .55rem; font-size: .72rem; letter-spacing: .03em; }
  .gbar-lv { width: 3.8rem; }
  .gbar-coin { width: 1.5rem; height: 1.5rem; }
}
.play .dbet { flex: 0 0 25cqw; width: 25cqw; min-width: 0; }
.play .dbet-input { width: 100%; min-width: 0; font-size: max(16px, min(1.6rem, 5.4cqw)); }

/* v18 — "saldo" no lugar de "créditos" */
.dep-balance-lbl { font-family: system-ui, sans-serif; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; opacity: .75; margin-right: .15rem; }
.header-credits small { opacity: .75; text-transform: uppercase; font-size: .7em; letter-spacing: .05em; }

/* ── Logo imagem (logo-titulo.png) ───────────────────────────────────── */

/* Header: substitui o texto "LULA VS FLÁVIO" */
.logo-img {
  display: block;
  height: 2.6rem;
  width: auto;
  object-fit: contain;
}
@media (min-width: 640px) {
  .logo-img { height: 3rem; }
}

/* Slot (play.php) — .gh-logo-img dentro de .gh-logo */
.gh-logo-img {
  display: block;
  width: clamp(10rem, 36vw, 18rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px oklch(0 0 0 / .7));
}

/* Index hero — .lp-logo-img dentro de .lp-logo */
.lp-logo-img {
  display: block;
  width: clamp(106rem, 550vw, 320rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px oklch(0 0 0 / .8));
  animation: lp-logo .55s cubic-bezier(.22,1,.36,1) both;
}
@media (max-width: 640px) {
  .lp-logo-img { width: clamp(14rem, 80vw, 22rem); }
}

/* Index final (duel_logo) — .duel-logo-img substitui .duel-word */
.duel-logo-img {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-top: 4%;
  width: clamp(10rem, 28vw, 16rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px oklch(0 0 0 / .65));
}

/* ── Tela do slot: fixa, sem scroll ─────────────────────────────────── */

/* Apenas na página de jogo (body recebe classe via page_head) */
body.page-play {
  overflow: hidden;
  height: 100dvh;       /* dynamic viewport height — respeita barra do navegador mobile */
  display: flex;
  flex-direction: column;
}

body.page-play .play {
  flex: 1 1 0;
  overflow: hidden;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

body.page-play .play-wrap {
  flex: 1 1 0;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

body.page-play .play-col {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
}
body.page-play .play-col::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* Gbar (barra do jogo) não cresce, fica no topo */
body.page-play .gbar { flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════════
   SAQUES & DEPÓSITOS — Design premium
   ══════════════════════════════════════════════════════════════════════ */

/* ── Container das páginas ─────────────────────────────────────────── */
.wd-page,
.dep-hist-page { max-width: 62rem; }

/* ── Hero (não logado) ─────────────────────────────────────────────── */
.wd-hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 4rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.wd-hero-icon {
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: oklch(0.82 0.16 85 / .12); color: var(--gold);
  margin-bottom: 1.25rem;
}
.wd-hero-icon .ic { width: 36px; height: 36px; }
.wd-hero-title { font-size: 2.5rem; margin: 0 0 .5rem; }

/* ── Cabeçalho da página ───────────────────────────────────────────── */
.wd-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.wd-main-title { font-size: clamp(2rem, 5vw, 3rem); margin: 0; }

.wd-header-balance {
  display: flex; flex-direction: column; align-items: flex-end; gap: .2rem;
}
.wd-balance-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--muted-fg); }
.wd-balance-val   { font-size: 2rem; line-height: 1; }

/* ── KPIs ──────────────────────────────────────────────────────────── */
.wd-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 2rem;
}
@media (max-width: 560px) {
  .wd-kpis { grid-template-columns: 1fr; }
}

.wd-kpi-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s;
}
.wd-kpi-card:hover { border-color: oklch(0.82 0.16 85 / .4); }

.wd-kpi-icon {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
}
.wd-kpi-icon .ic { width: 22px; height: 22px; }
.wd-kpi-icon--gold  { background: oklch(0.82 0.16 85 / .15); color: var(--gold); }
.wd-kpi-icon--green { background: oklch(0.55 0.17 145 / .2);  color: oklch(0.75 0.18 145); }
.wd-kpi-icon--amber { background: oklch(0.75 0.18 65 / .2);   color: oklch(0.82 0.18 75); }
.wd-kpi-icon--muted { background: var(--muted);                color: var(--muted-fg); }

.wd-kpi-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--muted-fg); margin: 0 0 .2rem; }
.wd-kpi-val   { font-size: 1.6rem; line-height: 1.1; margin: 0; }
.wd-kpi-sub   { font-size: .72rem; color: var(--muted-fg); margin: .15rem 0 0; }

/* ── Grid principal (form + sidebar) ──────────────────────────────── */
.wd-main-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
@media (max-width: 820px) {
  .wd-main-grid { grid-template-columns: 1fr; }
}

/* ── Card do formulário ────────────────────────────────────────────── */
.wd-form-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.wd-form-header {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, oklch(0.82 0.16 85 / .08), oklch(0.82 0.16 85 / .03));
  border-bottom: 1px solid var(--border);
}
.wd-form-header-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; flex: none;
  border-radius: 14px;
  background: oklch(0.82 0.16 85 / .15); color: var(--gold);
}
.wd-form-header-icon .ic { width: 22px; height: 22px; }
.wd-form-title { font-size: 1.4rem; margin: 0; }
.wd-form-sub   { font-size: .82rem; color: var(--muted-fg); margin: .2rem 0 0; }

.wd-form { display: grid; gap: 0; padding: 1.5rem; }

/* ── Divisor de seção no formulário ───────────────────────────────── */
.wd-divider {
  display: flex; align-items: center; gap: .75rem;
  margin: 1.25rem 0;
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  color: var(--muted-fg); letter-spacing: .08em;
}
.wd-divider::before,
.wd-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Campos ────────────────────────────────────────────────────────── */
.wd-fields-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 560px) {
  .wd-fields-grid { grid-template-columns: 1fr; }
}

.wd-field { display: grid; gap: .4rem; }

.wd-label {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; font-weight: 700; color: var(--muted-fg);
  text-transform: uppercase; letter-spacing: .05em;
}
.wd-label .ic { width: 14px; height: 14px; }

.wd-input {
  width: 100%; padding: .7rem .9rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--input); color: var(--foreground);
  font: inherit; font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.wd-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px oklch(0.82 0.16 85 / .18);
}

.wd-field-hint { font-size: .75rem; color: var(--muted-fg); margin: .1rem 0 0; }

/* ── Campo de valor destacado ─────────────────────────────────────── */
.wd-field--highlight {
  padding: 1.1rem 1.25rem;
  border: 1px solid oklch(0.82 0.16 85 / .3);
  border-radius: 14px;
  background: oklch(0.82 0.16 85 / .05);
  margin-bottom: .25rem;
}

.wd-amount-wrap {
  display: flex; align-items: center;
  border: 2px solid oklch(0.82 0.16 85 / .5); border-radius: 12px;
  background: var(--input); overflow: hidden;
  margin: .5rem 0 .35rem;
  transition: border-color .15s, box-shadow .15s;
}
.wd-amount-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px oklch(0.82 0.16 85 / .2);
}
.wd-amount-prefix {
  padding: 0 .9rem; font-size: 1.1rem; font-weight: 800;
  color: var(--gold); border-right: 1px solid oklch(0.82 0.16 85 / .3);
  white-space: nowrap;
}
.wd-amount-input {
  flex: 1; border: 0; background: transparent; color: var(--foreground);
  font-size: 1.75rem; padding: .5rem .75rem;
  outline: none; width: 100%;
}
.wd-amount-input::placeholder { color: var(--muted-fg); font-size: 1.4rem; }

/* ── Alerta de erro ────────────────────────────────────────────────── */
.wd-alert {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1rem; border-radius: 10px;
  font-size: .88rem; font-weight: 600;
  margin-top: 1rem;
}
.wd-alert--error {
  background: oklch(0.58 0.23 27 / .15);
  border: 1px solid oklch(0.58 0.23 27 / .5);
  color: oklch(0.78 0.18 27);
}

/* ── Botão de submissão ────────────────────────────────────────────── */
.wd-submit-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; margin-top: 1.5rem; padding: 1rem;
  border: 0; border-radius: 14px; cursor: pointer;
  font-size: 1.1rem; letter-spacing: .06em;
  color: #231a02;
  background: linear-gradient(180deg, #ffd75e, #e0a922);
  box-shadow: 0 6px 20px oklch(0.65 0.15 80 / .35), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .12s, filter .12s;
}
.wd-submit-btn:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.wd-submit-btn:disabled { opacity: .6; cursor: wait; }
.wd-submit-btn .ic { width: 18px; height: 18px; }

/* ── Painel lateral informativo ───────────────────────────────────── */
.wd-info-panel {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 1.5rem;
  display: grid; gap: 1rem;
}
.wd-info-title { font-size: 1rem; margin: 0 0 .25rem; color: var(--gold); }

.wd-steps { display: grid; gap: .9rem; padding: 0; margin: 0; list-style: none; }
.wd-step  { display: flex; align-items: flex-start; gap: .85rem; }
.wd-step-num {
  flex: none; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: oklch(0.82 0.16 85 / .15);
  color: var(--gold); font-size: .8rem; font-weight: 800;
}
.wd-step b  { display: block; font-size: .9rem; margin-bottom: .2rem; }
.wd-step p  { font-size: .8rem; color: var(--muted-fg); margin: 0; }

.wd-info-box {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .75rem .9rem; border-radius: 10px;
  background: oklch(0.82 0.16 85 / .07);
  border: 1px solid oklch(0.82 0.16 85 / .2);
  font-size: .82rem; color: var(--muted-fg);
}
.wd-info-box--muted {
  background: var(--muted); border-color: var(--border);
}
.wd-info-box .ic { flex: none; width: 16px; height: 16px; margin-top: .1rem; }
.wd-info-box p   { margin: 0; }

/* ── Cards de estado (pedido em andamento / saldo insuficiente) ────── */
.wd-state-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 3rem 2rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  margin-bottom: 2.5rem; gap: .75rem;
}
.wd-state-icon {
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  margin-bottom: .5rem;
}
.wd-state-icon .ic { width: 36px; height: 36px; }
.wd-state-card--pending .wd-state-icon { background: oklch(0.75 0.18 65 / .18); color: oklch(0.82 0.18 75); }
.wd-state-card--locked  .wd-state-icon { background: oklch(0.28 0.04 265);       color: var(--muted-fg); }
.wd-state-card h2 { margin: 0; font-size: 1.6rem; }

.wd-state-amount {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  margin-top: .5rem; padding: .8rem 1.6rem;
  border: 1px solid oklch(0.82 0.16 85 / .3);
  border-radius: 999px; background: oklch(0.82 0.16 85 / .07);
}
.wd-state-amount-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--muted-fg); }
.wd-state-amount-val   { font-size: 1.8rem; line-height: 1.1; }

/* ── Card de sucesso ───────────────────────────────────────────────── */
.wd-success-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 3rem 2rem; border-radius: var(--radius);
  border: 1px solid oklch(0.75 0.18 145 / .4);
  background: oklch(0.55 0.17 145 / .08);
  margin-bottom: 2.5rem;
}
.wd-success-icon {
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: oklch(0.55 0.17 145 / .25); color: oklch(0.75 0.18 145);
  margin-bottom: 1rem;
}
.wd-success-icon .ic { width: 36px; height: 36px; }
.wd-success-card h2  { margin: 0; font-size: 1.8rem; color: var(--gold); }

/* ── Seção do histórico ────────────────────────────────────────────── */
.wd-history { margin-top: 2.5rem; }
.wd-history-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem;
  padding-bottom: .75rem; border-bottom: 1px solid var(--border);
}
.wd-history-title { font-size: 1.25rem; margin: 0; }
.wd-history-count {
  font-size: .78rem; font-weight: 700; padding: .25rem .7rem;
  border-radius: 999px; background: var(--muted); color: var(--muted-fg);
}

/* ── Empty state ───────────────────────────────────────────────────── */
.wd-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 3.5rem 2rem;
  border: 1px dashed var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.wd-empty-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--muted); color: var(--muted-fg);
  margin-bottom: 1rem;
}
.wd-empty-icon .ic { width: 30px; height: 30px; }
.wd-empty-title { font-size: 1.4rem; margin: 0 0 .5rem; color: var(--muted-fg); }

/* ── Lista de itens ────────────────────────────────────────────────── */
.wd-list { display: flex; flex-direction: column; gap: .6rem; }

.wd-item {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .15s, background .15s;
}
.wd-item:hover { border-color: oklch(0.82 0.16 85 / .3); }
.wd-item--paid    { border-left: 3px solid oklch(0.75 0.18 145); }
.wd-item--refused,
.wd-item--refunded{ border-left: 3px solid oklch(0.65 0.22 27); }
.wd-item--expired { border-left: 3px solid var(--border); opacity: .8; }
.wd-item--cancelled{ border-left: 3px solid var(--border); opacity: .7; }

/* Ícone do item */
.wd-item-icon {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--surface-2); color: var(--muted-fg);
}
.wd-item-icon .ic { width: 20px; height: 20px; }
.wd-item-icon--paid     { background: oklch(0.55 0.17 145 / .2);  color: oklch(0.75 0.18 145); }
.wd-item-icon--refused,
.wd-item-icon--refunded { background: oklch(0.58 0.23 27 / .18);  color: oklch(0.72 0.2 27); }
.wd-item-icon--expired,
.wd-item-icon--cancelled{ background: var(--muted);               color: var(--muted-fg); }
.wd-item-icon--pending  { background: oklch(0.75 0.18 65 / .15);  color: oklch(0.82 0.18 75); }

/* Corpo do item */
.wd-item-body { flex: 1 1 14rem; min-width: 0; display: grid; gap: .2rem; }
.wd-item-top  { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.wd-item-title{ font-size: .95rem; }
.wd-item-date { display: flex; align-items: center; gap: .25rem; }
.wd-item-pix  { display: flex; align-items: center; gap: .3rem; }
.wd-item-pix .ic { width: 12px; height: 12px; }

.wd-item-note { display: flex; align-items: center; gap: .3rem; margin-top: .1rem; }
.wd-item-note .ic  { width: 12px; height: 12px; flex: none; }
.wd-item-note--green { color: oklch(0.72 0.16 145); font-size: .78rem; }
.wd-item-note--red   { color: oklch(0.72 0.2 27);   font-size: .78rem; }
.wd-item-note--muted { color: var(--muted-fg);       font-size: .78rem; }

/* Valor do item */
.wd-item-amount {
  display: flex; flex-direction: column; align-items: flex-end; gap: .15rem;
  margin-left: auto; min-width: 6rem; text-align: right;
}
.wd-item-val       { font-size: 1.3rem; line-height: 1.1; display: block; }
.wd-item-val-label { display: block; }

/* Botão de ação inline */
.wd-item-action { margin-top: .35rem; }
.btn-sm { padding: .3rem .75rem; font-size: .8rem; }

/* ── Ícone extra-pequeno ───────────────────────────────────────────── */
.ic-xs { width: 13px !important; height: 13px !important; }

/* ── Responsivo ────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .wd-item-amount { margin-left: 0; align-items: flex-start; }
  .wd-item        { gap: .75rem; }
}

/* =========================================================
   v19 — menu do celular profissional
   ========================================================= */
.nav-mobile { padding: .75rem; gap: .6rem; animation: nm-in .18s ease-out; }
@keyframes nm-in { from { opacity: 0; transform: translateY(-6px); } }

/* ícone do botão: ☰ fechado / ✕ aberto */
.menu-toggle .nm-ic-close { display: none; }
.menu-toggle[aria-expanded="true"] .nm-ic-open { display: none; }
.menu-toggle[aria-expanded="true"] .nm-ic-close { display: inline-block; }
.menu-toggle .ic { width: 1.35rem; height: 1.35rem; }

/* fundo escurecido atrás do menu */
.nm-backdrop { position: fixed; inset: 0; z-index: 29; background: oklch(0.05 0.02 265 / .55); backdrop-filter: blur(2px); animation: nm-fade .18s ease-out; }
@keyframes nm-fade { from { opacity: 0; } }
@media (min-width: 768px) { .nm-backdrop { display: none !important; } }
html.nm-open, html.nm-open body { overflow: hidden; }

/* cartão do jogador */
.nm-user {
  display: flex; align-items: center; gap: .75rem; padding: .75rem .8rem; border-radius: 14px;
  border: 1px solid oklch(0.82 0.16 85 / .3);
  background: linear-gradient(160deg, oklch(0.24 0.05 262), oklch(0.16 0.035 265));
}
.nm-av {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.25rem; color: #fff;
  background: radial-gradient(circle at 35% 30%, oklch(0.62 0.17 var(--hue)), oklch(0.3 0.12 var(--hue)));
  box-shadow: 0 0 0 2px oklch(0.9 0.13 90), 0 0 0 4px oklch(0.55 0.12 70);
}
.nm-user-txt { flex: 1; min-width: 0; display: grid; }
.nm-user-txt b { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-balance { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; color: var(--gold-soft); }
.nm-deposit {
  flex: none; padding: .5rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .03em;
  color: #231a02; background: linear-gradient(180deg, #ffd75e, #e0a922); box-shadow: 0 3px 10px rgba(224,169,34,.3);
}

/* lista de links */
.nm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.nm-link {
  display: flex; align-items: center; gap: .8rem; min-height: 3rem; padding: .45rem .6rem; border-radius: 12px;
  font-size: .95rem; font-weight: 700; color: var(--foreground); transition: background .15s, color .15s;
}
.nm-link:hover, .nm-link:focus-visible { background: oklch(0.26 0.05 262); outline: none; }
.nm-link-ic { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px; background: oklch(0.24 0.045 262); color: var(--muted-fg); }
.nm-link-ic .ic { width: 1.1rem; height: 1.1rem; }
.nm-link-txt { flex: 1; }
.nm-chev { width: 1rem; height: 1rem; color: var(--muted-fg); opacity: .6; }
.nm-link.is-active { color: var(--gold-soft); background: oklch(0.82 0.16 85 / .1); box-shadow: inset 3px 0 0 var(--gold); }
.nm-link.is-active .nm-link-ic { background: oklch(0.82 0.16 85 / .18); color: var(--gold); }

/* rodapé do menu */
.nm-foot { display: flex; gap: .5rem; padding-top: .6rem; border-top: 1px solid var(--border); }
.nm-foot form { flex: 1; }
.nm-logout {
  display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; height: 2.8rem;
  border: 1px solid oklch(0.58 0.23 27 / .45); border-radius: 12px; background: oklch(0.58 0.23 27 / .08);
  color: oklch(0.8 0.12 27); font-weight: 700; cursor: pointer; transition: background .15s;
}
.nm-logout:hover { background: oklch(0.58 0.23 27 / .18); }
.nm-btn { flex: 1; height: 2.8rem; border-radius: 12px; font-weight: 800; }

/* respeita notch / barra de gestos */
.nav-mobile { padding-left: max(.75rem, env(safe-area-inset-left)); padding-right: max(.75rem, env(safe-area-inset-right)); padding-bottom: max(.75rem, env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { .nav-mobile, .nm-backdrop { animation: none; } }


/* =========================================================
   v20 — ☰ do jogo com o mesmo menu do site
   ========================================================= */
.gmenu.nm-panel {
  min-width: 0; width: min(20rem, calc(100vw - 1.2rem));
  padding: .75rem; gap: .6rem; border-radius: 16px;
  background: oklch(0.14 0.035 265 / .97); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px oklch(0 0 0 / .6);
  animation: nm-in .18s ease-out;
}
.nm-user-sub { font-size: .75rem; color: var(--muted-fg); }
/* desfaz o estilo antigo de "a/button" do .gmenu dentro do painel novo */
.gmenu .nm-link {
  display: flex; flex-wrap: nowrap; align-items: center; gap: .8rem; width: 100%;
  min-height: 3rem; padding: .45rem .6rem; border: 0; border-radius: 12px;
  font-size: .95rem; font-weight: 700; text-align: left; color: var(--foreground);
}
.gmenu .nm-link.is-active { color: var(--gold-soft); background: oklch(0.82 0.16 85 / .1); }
.gmenu [data-sound] .nm-link-ic { display: grid; }
.gmenu .nm-deposit {
  display: inline-flex; width: auto; padding: .5rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 800; color: #231a02;
  background: linear-gradient(180deg, #ffd75e, #e0a922);
}
.gmenu .nm-deposit:hover { color: #231a02; background: linear-gradient(180deg, #ffd75e, #e0a922); filter: brightness(1.07); }
.gmenu .nm-logout {
  display: flex; justify-content: center; align-items: center; gap: .5rem; width: 100%; height: 2.8rem; padding: 0;
  border: 1px solid oklch(0.58 0.23 27 / .45); border-radius: 12px;
  background: oklch(0.58 0.23 27 / .08); color: oklch(0.8 0.12 27); font-weight: 700;
}
.gmenu .nm-logout:hover { background: oklch(0.58 0.23 27 / .18); color: oklch(0.8 0.12 27); }
@media (prefers-reduced-motion: reduce) { .gmenu.nm-panel { animation: none; } }