/* Subway Turbo — área do jogador. Estrutura e hierarquia do painel do Minions Turbo, tema metrô à noite. */
@font-face { font-family: "Lilita One"; src: url("/assets/lilita-one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/barlow-condensed-extrabold-italic.ttf") format("truetype"); font-style: italic; font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #060d22; --navy: #0b1734; --panel: #0d1d3f; --panel-2: #08142f; --line: #2a4a86;
  --cyan: #43d4ff; --pink: #ff4fb3;
  --ink: #f4f9ff; --ice: #e2eeff; --muted: #9fb4d8;
  --sun: #ffb21a; --sun-2: #ffd56c; --sun-dark: #b86a00;
  --money: #22e0a8; --danger: #ff7a8a;
  --rounded: "Lilita One", system-ui, sans-serif;
  --dock-h: 70px;
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  min-height: 100dvh; overflow-x: hidden;
  background:
    radial-gradient(90% 50% at 50% 0, #1b3f8a55, transparent 70%),
    linear-gradient(180deg, #060d22cc, #060d22f2 45%, var(--bg)),
    url("/assets/tokyo-entardecer.webp") center top / cover fixed;
}
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--sun-2); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3 { margin: 0; }
b { font-weight: inherit; }

/* ---------- Ícones (máscara SVG) ---------- */
.ico { display: inline-block; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.i-sound { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z' fill='%23000'/%3E%3Cpath d='M15.5 9a4.2 4.2 0 0 1 0 6M18.2 6.4a8 8 0 0 1 0 11.2'/%3E%3C/svg%3E"); }
.icon-btn[aria-pressed="false"] .i-sound { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z' fill='%23000'/%3E%3Cpath d='M16 9.5l5 5M21 9.5l-5 5'/%3E%3C/svg%3E"); }
.i-wallet { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M4 7.5A2.5 2.5 0 0 1 6.5 5H18v3'/%3E%3Crect x='3.5' y='7.5' width='17' height='12' rx='2.5'/%3E%3Cpath d='M15 13.5h5.5'/%3E%3C/svg%3E"); }
.i-arrow { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E"); }
.i-play { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.6-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5z'/%3E%3C/svg%3E"); }
.i-users { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c1-3.5 3.5-5.5 6.5-5.5s5.5 2 6.5 5.5M16 4.8a3.5 3.5 0 0 1 0 6.4M18.5 14.8c1.6.8 2.6 2.6 3 5.2'/%3E%3C/svg%3E"); }
.i-user { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
.i-user-add { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c1-3.5 3.5-5.5 6.5-5.5s5.5 2 6.5 5.5M18 8v6M15 11h6'/%3E%3C/svg%3E"); }
.i-home { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M4 11 12 4l8 7v9h-5v-6H9v6H4z'/%3E%3C/svg%3E"); }
.i-flag { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M5 21V4h12l-2 4 2 4H5'/%3E%3C/svg%3E"); }
.i-list { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M8 6h12M8 12h12M8 18h12M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E"); }
.i-help { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M21 4 3 11l6 2 2 7 3-4 5 3z'/%3E%3C/svg%3E"); }
.i-exit { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h4v16h-4M10 8l-4 4 4 4M6 12h10'/%3E%3C/svg%3E"); }
.i-info { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%3E%3C/svg%3E"); }
.i-signal { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='2' fill='%23000'/%3E%3Cpath d='M8 8a5.6 5.6 0 0 0 0 8M16 8a5.6 5.6 0 0 1 0 8M5 5a10 10 0 0 0 0 14M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }
.i-link { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
.i-shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.6c0 4.6-3.2 8.2-7.5 9.4-4.3-1.2-7.5-4.8-7.5-9.4V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.i-copy { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Crect x='8' y='8' width='12' height='12' rx='2.5'/%3E%3Cpath d='M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E"); }
.i-gift { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='4.5' rx='1'/%3E%3Cpath d='M5 12.5V20h14v-7.5M12 8v12M12 8S10.5 3.5 8 4.5 8.5 8 12 8zM12 8s1.5-4.5 4-3.5S15.5 8 12 8z'/%3E%3C/svg%3E"); }
.i-chat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M12 3.5a8.5 8.5 0 0 0-7.4 12.7L3.5 20.5l4.4-1.1A8.5 8.5 0 1 0 12 3.5z'/%3E%3C/svg%3E"); }
.i-share { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Ccircle cx='18' cy='5.5' r='2.5'/%3E%3Ccircle cx='6' cy='12' r='2.5'/%3E%3Ccircle cx='18' cy='18.5' r='2.5'/%3E%3Cpath d='M8.2 10.8l7.6-4M8.2 13.2l7.6 4'/%3E%3C/svg%3E"); }
.i-chart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16M6 15l4-4 3 3 5-6'/%3E%3C/svg%3E"); }
.i-lock { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Crect x='5' y='10' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 10V7.5a4 4 0 0 1 8 0V10'/%3E%3C/svg%3E"); }
.i-qr { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Crect x='3.5' y='3.5' width='6.5' height='6.5' rx='1'/%3E%3Crect x='14' y='3.5' width='6.5' height='6.5' rx='1'/%3E%3Crect x='3.5' y='14' width='6.5' height='6.5' rx='1'/%3E%3Cpath d='M14 14h2.5v2.5H14zM18 18h2.5v2.5H18zM18 14h2.5M14 18v2.5'/%3E%3C/svg%3E"); }
.i-ticket { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M3.5 8V6.5h17V8a2.5 2.5 0 0 0 0 5v4.5h-17V13a2.5 2.5 0 0 0 0-5z'/%3E%3Cpath d='M14 7v10' stroke-dasharray='2 2'/%3E%3C/svg%3E"); }
.i-coin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5v9M14.5 9.5c-.5-1-1.5-1.5-2.5-1.5-1.4 0-2.5.8-2.5 2s1 1.6 2.5 2 2.5.8 2.5 2-1.1 2-2.5 2c-1 0-2-.5-2.5-1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- Estrutura ---------- */
.app { width: min(560px, 100%); margin: 0 auto; min-height: 100dvh; padding-bottom: calc(var(--dock-h) + 20px + env(safe-area-inset-bottom)); }
.app[aria-busy="true"] .views { opacity: .4; pointer-events: none; }
.views { padding: 12px 12px 0; }
.view { animation: enter .25s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }

/* Cabeçalho */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: #060d22e6; backdrop-filter: blur(12px); border-bottom: 1px solid #43d4ff26; }
.bar:has(.menu:not([hidden]))::after { content: ""; position: fixed; inset: 0; z-index: -1; background: #02061299; }
.bar-logo img { display: block; width: 92px; height: auto; filter: drop-shadow(0 0 10px #43d4ff44); }
.bar-right { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 12px; border: 1px solid #43d4ff40; background: #0d1d3f; display: grid; place-items: center; color: var(--ice); }
.icon-btn[aria-pressed="false"] { color: var(--muted); }
.balance { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 4px 0 12px; border-radius: 12px; border: 1px solid #22e0a866; background: linear-gradient(180deg, #0f2a3f, #0a1c30); }
.balance-value { font: 400 1rem/1 var(--rounded); color: var(--money); font-variant-numeric: tabular-nums; text-shadow: 0 0 8px #22e0a877; }
.balance-plus { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--money); color: #04281d; font: 400 1.2rem/1 var(--rounded); }
.avatar { width: 38px; height: 38px; border-radius: 12px; border: 1px solid #43d4ff66; background: linear-gradient(180deg, #16305f, #0d1d3f); color: var(--ice); font: 400 1.1rem/1 var(--rounded); }

/* Menu da conta */
.menu { position: absolute; right: 12px; top: calc(100% + 8px); width: min(300px, calc(100vw - 24px)); padding: 10px; border-radius: 18px; background: linear-gradient(180deg, #102349, #0a1734); border: 1px solid #43d4ff55; box-shadow: 0 20px 44px #000c; display: grid; gap: 4px; animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }
.menu-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 10px; }
.menu-avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sun-2), var(--sun)); color: #2a1700; font: 400 1.2rem/1 var(--rounded); }
.menu-head small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.menu-head strong { font: 400 1.05rem/1.2 var(--rounded); }
.menu-wallet { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; padding: 10px 10px 10px 14px; border-radius: 14px; border: 1px solid #22e0a866; background: linear-gradient(180deg, #0f2a3f, #0a1c30); text-align: left; }
.menu-wallet small { display: block; font-size: .74rem; color: var(--muted); font-weight: 700; }
.menu-wallet b { font: 400 1.25rem/1.1 var(--rounded); color: var(--money); text-shadow: 0 0 8px #22e0a866; }
.menu-wallet-plus { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--money); color: #04281d; font: 400 1.3rem/1 var(--rounded); }
.menu a, .menu > button:not(.menu-wallet) { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 6px 8px; border: 0; border-radius: 12px; background: transparent; font-weight: 800; font-size: .95rem; text-align: left; }
.menu a::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 1.3rem; }
.menu a:hover, .menu > button:not(.menu-wallet):hover, .menu a[aria-current="page"] { background: #43d4ff14; }
.tile { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; border: 1px solid #43d4ff55; background: #43d4ff17; color: var(--cyan); }
.tile.sun { border-color: #ffb21a77; background: #ffb21a17; color: var(--sun-2); }
.menu .danger { color: var(--danger); }
.menu .danger .tile { border-color: #ff7a8a66; background: #ff7a8a17; color: var(--danger); }

/* ---------- Início: arte colada no cartão da entrada ---------- */
.play-stack { border-radius: 22px; overflow: hidden; border: 1px solid #43d4ff66; background: var(--panel); box-shadow: 0 18px 40px #000a, 0 0 0 1px #43d4ff1a, 0 0 30px #43d4ff1f; }
.race-art { position: relative; }
.race-art img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 497; object-fit: cover; }
.race-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-conic-gradient(#fff 0 25%, #0a1430 0 50%) 0 0 / 8px 8px; opacity: .85; }
.entry { padding: 14px 14px 16px; background: linear-gradient(180deg, #102349, #0a1734); }
.entry-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.entry-head h2 { font: 400 1.35rem/1 var(--rounded); text-transform: uppercase; letter-spacing: .01em; }
.meta-pill { padding: 7px 12px; border-radius: 99px; border: 1px solid #ffb21a88; background: #ffb21a1a; color: var(--sun-2); font: 400 .95rem/1 var(--rounded); }
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opt { position: relative; min-height: 46px; padding: 6px; border-radius: 13px; border: 1px solid #43d4ff40; background: linear-gradient(180deg, #17336a, #0d2048); box-shadow: inset 0 1px 0 #ffffff26, 0 3px 0 #040b1d; font: 400 1.05rem/1 var(--rounded); color: var(--ice); transition: transform .1s ease; }
.opt small { display: block; margin-top: 4px; font: 800 .72rem/1 system-ui, sans-serif; color: var(--money); }
.opt:hover { border-color: var(--cyan); }
.opt:active { transform: translateY(2px); }
.opt[aria-checked="true"] { border-color: #ffe08f; background: linear-gradient(180deg, #ffd45a, var(--sun)); color: #2a1700; box-shadow: inset 0 2px 0 #fff8, 0 3px 0 var(--sun-dark), 0 0 16px #ffb21a66; }
.opt[aria-checked="true"] small { color: #3b2400; }

.stepper { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; margin-top: 12px; }
.step-btn { height: 56px; border-radius: 14px; border: 1px solid #43d4ff55; background: linear-gradient(180deg, #17336a, #0d2048); color: var(--cyan); font: 400 1.6rem/1 var(--rounded); box-shadow: inset 0 1px 0 #ffffff22, 0 3px 0 #040b1d; }
.step-btn:active { transform: translateY(2px); }
.step-field { position: relative; display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 14px; border: 1px solid #43d4ff66; background: #050c20; box-shadow: inset 0 2px 8px #000a, 0 0 14px #43d4ff22; }
.step-field:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px #43d4ff33; }
.step-prefix { margin-right: 6px; font: 400 1.05rem/1 var(--rounded); color: var(--cyan); }
.step-field input { width: 6.5ch; border: 0; background: transparent; outline: none; text-align: left; font: 400 1.7rem/1 var(--rounded); color: #fff; }
.entry-err { margin: 8px 2px 0; font-size: .85rem; font-weight: 700; color: var(--danger); }

.target { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid #ffb21a55; background: linear-gradient(90deg, #ffb21a1f, #ffb21a08); font-weight: 800; color: var(--ice); }
.target strong { margin-left: auto; font: 400 1.5rem/1 var(--rounded); color: var(--sun-2); text-shadow: 0 0 12px #ffb21a77; }
.coin-ico { flex: none; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0, #ffd23f 35%, #f2a300 70%, #b86a00); box-shadow: inset 0 0 0 2px #ffe58a, 0 0 10px #ffb21a88; }

.go { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 12px; padding: 10px 10px 10px 18px; min-height: 70px; border: 0; border-radius: 18px; border-bottom: 5px solid var(--sun-dark); background: linear-gradient(180deg, #ffd45a, var(--sun) 60%, #ff9d00); color: #2a1700; text-align: left; overflow: hidden; box-shadow: 0 12px 26px #000a, 0 0 22px #ffb21a55; }
.go::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, #ffffffa0, transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite 1s; }
@keyframes shine { 0%, 65% { left: -60%; } 100% { left: 130%; } }
.go:active { transform: translateY(2px); border-bottom-width: 3px; }
.go b { display: block; font: 400 1.9rem/1 var(--rounded); }
.go small { display: block; margin-top: 3px; font-weight: 800; font-size: .82rem; opacity: .85; }
.go-coin { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #1a0f00; color: var(--sun-2); box-shadow: 0 0 0 3px #ffe08f, inset 0 0 12px #ffb21a66; }
.go-coin .ico { width: 24px; height: 24px; margin-left: 3px; }
.go:disabled { filter: saturate(.7) brightness(.8); }
.go:disabled::after { display: none; }

.howto { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 12px 14px; border-radius: 16px; border: 1px dashed #43d4ff55; background: #0b1734cc; text-align: left; color: var(--ice); }
.howto-tile { flex: none; white-space: nowrap; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid #ffb21a88; background: #ffb21a17; color: var(--sun-2); font: 400 1rem/1 var(--rounded); }
.howto-text small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); font-weight: 800; }
.howto-text b { font-weight: 800; font-size: .92rem; }
.howto .i-info { margin-left: auto; width: 22px; height: 22px; color: var(--cyan); }

/* ---------- Páginas (Indicar, Perfil, históricos) ---------- */
.page-head { padding: 8px 4px 4px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.kicker .ico { width: 14px; height: 14px; }
.page-head h1 { margin-top: 6px; font: 400 clamp(2rem, 9vw, 2.6rem)/1 var(--rounded); text-transform: uppercase; }
.page-head h1 b { color: var(--sun-2); text-shadow: 0 0 16px #ffb21a66; }
.page-head p { margin: 8px 0 0; color: var(--muted); font-weight: 600; line-height: 1.45; }
.page-head.with-medal { display: flex; align-items: center; gap: 14px; }
.medal { flex: none; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sun-2), var(--sun)); color: #2a1700; font: 400 2rem/1 var(--rounded); box-shadow: 0 0 0 3px #0b1734, 0 0 0 5px #ffb21aaa, 0 0 22px #ffb21a55; }

.panel { position: relative; margin-top: 12px; padding: 16px; border-radius: 20px; border: 1px solid #43d4ff40; background: linear-gradient(180deg, #102349e6, #0a1734f2); box-shadow: inset 0 1px 0 #ffffff14, 0 14px 30px #0007; }
.panel-title { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.panel-title small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); font-weight: 800; }
.panel-title h2 { font: 400 1.2rem/1.15 var(--rounded); text-transform: uppercase; }
.ok-line { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: .8rem; color: var(--muted); font-weight: 700; }
.ok-line .ico { width: 14px; height: 14px; color: var(--money); }

.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border-radius: 13px; border: 1px solid #43d4ff40; background: #050c20; color: var(--ice); font-size: .95rem; font-weight: 700; }
.btn-sun, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 16px; border-radius: 13px; font-weight: 850; white-space: nowrap; }
.btn-sun { border: 0; background: linear-gradient(180deg, #ffd45a, var(--sun)); color: #2a1700; box-shadow: 0 3px 0 var(--sun-dark); }
.btn-ghost { border: 1px solid #43d4ff55; background: #43d4ff12; color: var(--ice); }
.btn-ghost:hover { background: #43d4ff22; }
.note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: .86rem; color: var(--ice); font-weight: 600; line-height: 1.4; }
.note .ico { color: var(--sun-2); margin-top: 1px; }
.note.muted { color: var(--muted); padding: 0 4px; }
.note.muted .ico { color: var(--cyan); }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.link { border: 0; background: none; padding: 6px 0; color: var(--cyan); font-weight: 800; }
.link.small { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .88rem; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 4px 0; }
.sec-head.first { margin-top: 12px; }
.sec-head h2 { font: 400 1.1rem/1 var(--rounded); text-transform: uppercase; }
.sec-head span { font-size: .8rem; color: var(--muted); font-weight: 700; }

.timeline { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(#43d4ff66, #ffb21a66); }
.timeline li { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.tl-ico { position: relative; z-index: 1; flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; border: 1px solid #43d4ff66; background: #0d1d3f; color: var(--cyan); }
.tl-ico.sun { border-color: #ffb21a88; color: var(--sun-2); }
.tl-ico .ico { width: 20px; height: 20px; }
.tl-ico i { position: absolute; top: -8px; right: -8px; padding: 2px 5px; border-radius: 6px; background: #0b1734; border: 1px solid #43d4ff66; color: var(--ice); font: 400 .72rem/1 var(--rounded); font-style: normal; }
.timeline h3 { font: 400 1rem/1.2 var(--rounded); text-transform: uppercase; }
.timeline p { margin: 3px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.4; }

.wallet-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-color: #22e0a866; }
.wallet-card small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: .85rem; }
.wallet-card strong { display: block; margin-top: 4px; font: 400 1.8rem/1 var(--rounded); color: var(--money); text-shadow: 0 0 12px #22e0a866; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.stat { display: grid; gap: 4px; align-content: start; padding: 12px 14px; border-radius: 16px; border: 1px solid #43d4ff2e; background: linear-gradient(180deg, #102349, #0a1734); box-shadow: inset 0 1px 0 #ffffff14, 0 4px 0 #040b1d; }
.stat small { color: var(--muted); font-size: .78rem; font-weight: 700; }
.stat strong { font: 400 1.3rem/1.1 var(--rounded); }
.stat .link { justify-self: start; padding: 2px 0; font-size: .8rem; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; padding: 4px; border-radius: 14px; background: #050c20; }
.tabs button { flex: 1; min-height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font: 400 1rem/1 var(--rounded); }
.tabs button[aria-selected="true"] { background: linear-gradient(180deg, #ffd45a, var(--sun)); color: #2a1700; }
.net { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ref-history { margin-top: 10px; }

.state { display: grid; justify-items: center; gap: 6px; padding: 22px 10px; text-align: center; color: var(--muted); font-size: .9rem; }
.state strong { color: var(--ice); font: 400 1.1rem/1.2 var(--rounded); }
.state .ico.big { width: 34px; height: 34px; color: var(--cyan); opacity: .8; }
.state .spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #ffffff2a; border-top-color: var(--sun); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.list { display: grid; gap: 8px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid #43d4ff26; background: #050c20; }
.row strong { font: 400 1.05rem/1 var(--rounded); }
.row small { display: block; margin-top: 3px; color: var(--muted); font-size: .8rem; }
.row small.tx-pix { color: var(--text, inherit); opacity: .85; overflow-wrap: anywhere; user-select: text; }
.pill { padding: 4px 10px; border-radius: 99px; font-size: .76rem; font-weight: 800; background: #ffffff14; }
.pill.ok { background: #22e0a826; color: var(--money); }
.pill.wait { background: #ffb21a26; color: var(--sun-2); }
.pill.bad { background: #ff7a8a26; color: var(--danger); }

/* Campos com etiqueta à esquerda (perfil, saque) */
.fld { position: relative; display: flex; align-items: stretch; margin-top: 10px; height: 54px; border-radius: 14px; border: 1px solid #43d4ff40; background: #050c20; overflow: hidden; }
.fld:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px #43d4ff2e; }
.fld-tag { flex: none; display: grid; place-items: center; min-width: 74px; padding: 0 10px; border-right: 1px solid #43d4ff33; background: #43d4ff12; color: var(--cyan); font: 400 .85rem/1 var(--rounded); letter-spacing: .04em; text-transform: uppercase; }
.fld input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 0 14px; font-size: 16px; color: #fff; }
.fld input::placeholder { color: #7f95bd; }
.fld input:disabled { color: var(--muted); }
.fld.locked { border-style: dashed; background: transparent; }
.fld input[aria-invalid="true"] { color: #ffd0d4; }
.fld:has(input[aria-invalid="true"]) { border-color: var(--danger); }
.fld-hint { margin: 6px 4px 0; font-size: .8rem; color: var(--muted); }
.key-kind { align-self: center; margin-right: 10px; padding: 3px 9px; border-radius: 99px; background: #43d4ff22; color: var(--cyan); font-style: normal; font-size: .74rem; font-weight: 800; }
.key-kind:empty { display: none; }
.form-msg { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; font-size: .88rem; font-weight: 700; background: #ff7a8a1f; color: #ffd0d4; }
.form-msg.ok { background: #22e0a81f; color: #c3f7e6; }
.btn-main { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 14px; min-height: 58px; border: 0; border-radius: 16px; border-bottom: 4px solid var(--sun-dark); background: linear-gradient(180deg, #ffd45a, var(--sun) 60%, #ff9d00); color: #2a1700; font: 400 1.2rem/1 var(--rounded); text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 10px 22px #0008; }
.btn-main .ico { width: 22px; height: 22px; }
.btn-main:active { transform: translateY(2px); border-bottom-width: 2px; }
.btn-main.ghost { border: 1px solid #43d4ff66; border-bottom-width: 1px; background: #43d4ff14; color: var(--ice); box-shadow: none; }
.btn-main:disabled { border: 1px solid #43d4ff40; border-bottom-width: 1px; background: linear-gradient(180deg, #1a3360, #11244a); color: #c7d6f0; box-shadow: none; cursor: not-allowed; }
.member { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .82rem; }

/* ---------- Barra inferior ---------- */
.dock { position: fixed; z-index: 40; left: 50%; bottom: 0; transform: translateX(-50%); width: min(560px, 100%); height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding: 6px 6px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: #060d22f2; backdrop-filter: blur(12px); border-top: 1px solid #43d4ff33; }
.dock > * { display: grid; justify-items: center; gap: 4px; padding: 6px 0 8px; border: 0; background: none; font-size: .75rem; font-weight: 800; color: var(--muted); }
.dock .ico { width: 22px; height: 22px; }
.dock > [aria-current="page"]:not(.dock-play) { color: var(--ice); }
.dock > [aria-current="page"]:not(.dock-play) .ico { color: var(--cyan); filter: drop-shadow(0 0 6px #43d4ff); }
.dock-play { color: var(--sun-2) !important; }
.dock-play-btn { width: 58px; height: 42px; margin-top: -10px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, #ffd45a, var(--sun)); color: #2a1700; border-bottom: 3px solid var(--sun-dark); box-shadow: 0 6px 16px #000a, 0 0 18px #ffb21a66; }
.dock-play-btn .ico { width: 24px; height: 24px; }

/* ---------- Modais (folha) ---------- */
.sheet { width: min(460px, calc(100% - 20px)); max-width: none; max-height: calc(100dvh - 20px); margin: auto; padding: 0; border: 1px solid #43d4ff66; border-radius: 22px; background: linear-gradient(180deg, #0f2147, #0a1734); color: var(--ink); overflow: auto; box-shadow: 0 30px 60px #000c, 0 0 30px #43d4ff22; }
.sheet::backdrop { background: #020612cc; backdrop-filter: blur(3px); }
.sheet[open] { animation: rise .22s cubic-bezier(.2,.7,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.sheet-banner { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 497; object-fit: cover; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #43d4ff26; background: #0b1a3b; }
.sheet-head h2 { font: 400 1.45rem/1 var(--rounded); text-transform: uppercase; }
.sheet-head h2 b { color: var(--sun-2); }
.x { position: relative; flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid #43d4ff55; background: #0d1d3f; }
.x::before, .x::after { content: ""; position: absolute; left: 13px; top: 19px; width: 15px; height: 2px; border-radius: 2px; background: var(--ice); transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }
.sheet-body { padding: 14px 16px 18px; }
.box { padding: 14px 12px 12px; border-radius: 16px; border: 1px solid #43d4ff40; background: radial-gradient(120% 70% at 50% 0, #43d4ff1c, transparent 62%), #08142f; }
.box-label { margin: 0 0 14px; font: 800 .78rem/1 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.dep-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; }
.dep-grid .opt { min-height: 50px; }
.dep-grid .opt:first-child::before { content: "Mínimo"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 99px; background: var(--money); color: #04281d; font: 800 .7rem/1.3 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.row-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 2px 8px; font-size: .88rem; font-weight: 800; color: var(--ice); }
.row-label #dep-help { font-weight: 700; color: var(--muted); font-size: .8rem; }
.row-label #dep-help.err { color: var(--danger); }
.amount { position: relative; display: flex; align-items: center; height: 58px; border-radius: 14px; border: 1px solid #43d4ff55; background: #050c20; }
.amount:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px #43d4ff2e; }
.amount-prefix { padding: 0 6px 0 16px; font: 400 1.1rem/1 var(--rounded); color: var(--cyan); }
.amount input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font: 400 1.5rem/1 var(--rounded); color: #fff; }
.amount input[aria-invalid="true"] { color: #ffd0d4; }
.bonus-note { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #22e0a81f; color: #c3f7e6; font-weight: 800; font-size: .88rem; }
.coupon { display: flex; gap: 8px; margin-top: 4px; }
.coupon input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 13px; border: 1px solid #43d4ff40; background: #050c20; text-transform: uppercase; font-weight: 800; }
.coupon .btn-ghost { min-height: 48px; }
.coupon-msg { margin: 6px 2px 0; font-size: .85rem; font-weight: 700; }
.coupon-msg.ok { color: var(--money); } .coupon-msg.err { color: var(--danger); }
.pix-amount { margin: 0; text-align: center; font: 400 1.6rem/1 var(--rounded); color: var(--money); }
.pix-qr { width: min(240px, 70vw); aspect-ratio: 1; margin: 14px auto; border-radius: 14px; background: #fff; padding: 10px; }
.pix-qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.pix-status { text-align: center; color: var(--sun-2); font-weight: 800; }
.saq-balance { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; border: 1px solid #ffb21a55; background: linear-gradient(90deg, #ffb21a1c, #ffb21a06); font-weight: 800; color: var(--ice); }
.saq-balance strong { font: 400 1.5rem/1 var(--rounded); color: var(--sun-2); text-shadow: 0 0 12px #ffb21a66; }
.rules .timeline { margin-top: 2px; }
.rules .timeline::before { top: 26px; bottom: 26px; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--dock-h) + 16px); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 14px; background: #0b1734; border: 1px solid var(--sun); box-shadow: 0 12px 30px #000a; font-weight: 800; font-size: .9rem; animation: rise .2s ease-out; }

/* Celular: folhas sobem de baixo */
@media (max-width: 600px) {
  .sheet { margin: auto auto 0; width: 100%; border-radius: 24px 24px 0 0; max-height: calc(100dvh - 10px); padding-bottom: env(safe-area-inset-bottom); }
  .sheet[open] { animation: rise-up .28s cubic-bezier(.2,.7,.2,1); }
  @keyframes rise-up { from { transform: translateY(100%); } }
}
@media (max-width: 899px) and (min-height: 860px) {
  .opt { min-height: 50px; } .step-btn, .step-field { height: 60px; } .go { min-height: 76px; }
}

/* Desktop */
@media (min-width: 900px) {
  .app { width: min(1080px, 100%); }
  .bar { padding-inline: 24px; }
  .views { padding: 18px 24px 0; }
  .dock { width: min(560px, 100%); border-radius: 18px 18px 0 0; border: 1px solid #43d4ff33; border-bottom: 0; }
  #view-inicio { width: min(560px, 100%); margin-inline: auto; }
  .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: start; }
  #view-partidas, #view-transacoes { width: min(720px, 100%); margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* =====================================================================
   Polimento visual (19/11): brilhos, cor, compactação, prévia
   ===================================================================== */
/* Barra do topo de ponta a ponta (no PC não fica "cortada" nas laterais) */
.bar { margin-inline: calc(50% - 50vw); padding-inline: max(14px, calc(50vw - min(540px, 50vw) + 14px)); background: linear-gradient(180deg, #071029f2, #060d22e6); box-shadow: 0 1px 0 #43d4ff22, 0 8px 24px #0006; }
.bar::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, #43d4ff99, #ff4fb399, transparent); }
.menu { right: max(12px, calc(50vw - min(540px, 50vw) + 12px)); }
.preview-tag { margin-left: auto; margin-right: 8px; padding: 5px 10px; border-radius: 99px; border: 1px dashed #ff4fb3; color: #ffc2e4; background: #ff4fb31a; font: 800 .72rem/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }

/* Arte: cor mais viva e brilhinhos */
.race-art img { filter: saturate(1.12) contrast(1.05); }
.spark { position: absolute; width: 14px; height: 14px; background: radial-gradient(circle, #fff 0 18%, transparent 20%), conic-gradient(from 45deg, transparent 0 10%, #fff8 12%, transparent 14% 35%, #fff8 37%, transparent 39% 60%, #fff8 62%, transparent 64% 85%, #fff8 87%, transparent 89%); border-radius: 50%; filter: drop-shadow(0 0 6px #fff); opacity: 0; animation: twinkle 3.6s ease-in-out infinite; pointer-events: none; }
.spark.s1 { left: 9%; top: 14%; } .spark.s2 { left: 58%; top: 10%; width: 10px; height: 10px; animation-delay: 1.2s; } .spark.s3 { left: 86%; top: 62%; animation-delay: 2.3s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
.play-stack { position: relative; }
/* 20/11/2026 (pedido do dono): sem a borda colorida correndo em volta do bloco de entrada */

/* Compactação leve */
.entry { padding: 12px 12px 14px; }
.entry-head { margin-bottom: 10px; }
.entry-grid { gap: 7px; }
.opt { min-height: 44px; }
.stepper { margin-top: 10px; }
.target { margin-top: 10px; }
.go { margin-top: 10px; }

/* Valor da entrada centralizado (PC e celular) */
.step-field { justify-content: center; }
.step-field input { width: auto; field-sizing: content; min-width: 3ch; max-width: 8ch; text-align: center; }
.step-prefix { color: var(--sun); }
.meta-pill { box-shadow: 0 0 12px #ffb21a44; }

/* Meta para resgatar com brilho correndo na borda e moeda girando */
.target { position: relative; isolation: isolate; overflow: hidden; border-color: #ffb21a88; box-shadow: 0 0 18px #ffb21a2e, inset 0 0 18px #ffb21a14; }
.target::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 30%, #ffd56c33 45%, transparent 60%) -100% 0 / 200% 100% no-repeat; animation: sweep 3.8s ease-in-out infinite; }
@keyframes sweep { 0%, 40% { background-position: -100% 0; } 100% { background-position: 200% 0; } }
.coin-ico { animation: spin-y 2.8s ease-in-out infinite; }
@keyframes spin-y { 50% { transform: rotateY(180deg); } }
.target strong { font-size: 1.6rem; text-shadow: 0 0 10px #ffb21a, 0 0 22px #ffb21a77; }

/* Botão Jogar / Depositar para jogar */
.go.single { justify-content: center; padding-left: 70px; }
.go.single .go-text { flex: 1; text-align: center; }
.go.single b { font-size: 1.55rem; }
.go-coin { animation: coin-pulse 2.4s ease-in-out infinite; }
@keyframes coin-pulse { 50% { box-shadow: 0 0 0 3px #ffe08f, inset 0 0 12px #ffb21a66, 0 0 18px #ffd56c; } }

/* Como funciona */
.howto { position: relative; border: 1px solid #43d4ff44; border-style: solid; background: linear-gradient(90deg, #102349, #0b1734); box-shadow: inset 0 1px 0 #ffffff12; overflow: hidden; }
.howto::after { content: none; }
.howto-tile { width: 44px; height: 44px; font-size: 1.15rem; background: linear-gradient(180deg, #ffd45a, var(--sun)); color: #2a1700; border: 0; box-shadow: 0 3px 0 var(--sun-dark), 0 0 14px #ffb21a55; }
.howto-text b { display: block; margin-top: 2px; }

/* Cabeçalho das folhas com ícone */
.sheet-head h2 { display: flex; align-items: center; gap: 10px; }
.sheet-head h2 .tile { width: 34px; height: 34px; }
.sheet-head { background: linear-gradient(180deg, #0f2147, #0b1a3b); box-shadow: inset 0 -1px 0 #43d4ff26; }
.sheet-banner { filter: saturate(1.1) contrast(1.04); max-height: 170px; }

/* Depósito: compacto, bônus, brilho */
#dep-form-view { padding-top: 12px; }
.box { padding: 14px 10px 10px; }
.dep-grid { gap: 12px 7px; }
.dep-grid .opt { min-height: 54px; }
.dep-grid .opt small { color: var(--money); text-shadow: 0 0 6px #22e0a866; }
.dep-grid .opt:first-child::before { box-shadow: 0 0 10px #22e0a888; }
.bonus-note { display: flex; align-items: center; gap: 8px; border: 1px solid #22e0a866; background: linear-gradient(90deg, #22e0a826, #22e0a80a); box-shadow: 0 0 14px #22e0a822; }
.bonus-note::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--money); -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat;
  --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='4.5' rx='1'/%3E%3Cpath d='M5 12.5V20h14v-7.5M12 8v12M12 8S10.5 3.5 8 4.5 8.5 8 12 8zM12 8s1.5-4.5 4-3.5S15.5 8 12 8z'/%3E%3C/svg%3E"); }
.amount { box-shadow: inset 0 2px 8px #000a, 0 0 14px #43d4ff1f; }
.amount input { text-shadow: 0 0 10px #43d4ff66; }
#dep-submit { position: relative; overflow: hidden; }
#dep-submit::after, .btn-main:not(.ghost):not(:disabled)::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, #ffffff99, transparent); transform: skewX(-20deg); animation: shine 3.4s ease-in-out infinite 1.2s; }
.btn-main { position: relative; overflow: hidden; box-shadow: 0 10px 22px #0008, 0 0 20px #ffb21a44; }

/* Pix */
.preview-note { margin: 0 0 12px; padding: 9px 12px; border-radius: 12px; border: 1px dashed #ff4fb3aa; background: #ff4fb314; color: #ffc2e4; font-size: .84rem; font-weight: 800; text-align: center; }
.pix-card { padding: 14px; border-radius: 18px; border: 1px solid #22e0a866; background: radial-gradient(120% 80% at 50% 0, #22e0a822, transparent 60%), #08142f; box-shadow: 0 0 22px #22e0a822; }
.pix-top { display: flex; align-items: center; justify-content: space-between; font-weight: 800; color: var(--muted); font-size: .85rem; }
.pix-top strong { font: 400 1.6rem/1 var(--rounded); color: var(--money); text-shadow: 0 0 12px #22e0a888; }
.pix-qr { position: relative; width: min(220px, 62vw); margin: 12px auto 8px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 4px #0a1430, 0 0 0 6px #22e0a8, 0 0 26px #22e0a866; }
.pix-timer { margin: 0; text-align: center; font: 400 .95rem/1 var(--rounded); color: var(--sun-2); }
.pix-label { margin: 14px 2px 8px; }
.pix-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: .92rem; }
.pix-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px #ffb21a00; } 100% { box-shadow: 0 0 0 0 #ffb21a00; } }
.pix-steps { margin: 12px 0 0; padding: 12px 14px 12px 32px; border-radius: 14px; background: #050c20; border: 1px solid #43d4ff26; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.pix-steps li::marker { color: var(--cyan); font-weight: 800; }

/* Saque */
.saq-balance { box-shadow: 0 0 18px #ffb21a22, inset 0 0 14px #ffb21a12; }
.fld { box-shadow: inset 0 2px 6px #0008; transition: border-color .15s, box-shadow .15s; }
.fld:focus-within { box-shadow: 0 0 0 3px #43d4ff2e, 0 0 16px #43d4ff33; }
.fld-tag { background: linear-gradient(180deg, #43d4ff1f, #43d4ff0d); text-shadow: 0 0 8px #43d4ff66; }
#saq-form .fld { margin-top: 8px; height: 52px; }
.done { display: grid; justify-items: center; gap: 6px; padding: 18px 10px 8px; text-align: center; }
.done-ico { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle, #22e0a8 0 55%, #22e0a833 56%); box-shadow: 0 0 30px #22e0a888; position: relative; animation: pop .3s ease-out; }
.done-ico::after { content: ""; position: absolute; left: 25px; top: 18px; width: 18px; height: 30px; border: solid #04281d; border-width: 0 6px 6px 0; transform: rotate(45deg); }
.done h3 { margin-top: 6px; font: 400 1.4rem/1 var(--rounded); text-transform: uppercase; }
.done strong { font: 400 2rem/1 var(--rounded); color: var(--sun-2); text-shadow: 0 0 14px #ffb21a88; }
.done p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; max-width: 30ch; }

/* Painéis e dock com um pouco mais de luz */
.panel { box-shadow: inset 0 1px 0 #ffffff14, 0 14px 30px #0007, 0 0 0 1px #43d4ff10; }
.panel::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #43d4ffaa, transparent); }
.wallet-card { box-shadow: 0 0 22px #22e0a822, inset 0 1px 0 #ffffff14; }
.dock { box-shadow: 0 -8px 24px #0008; }
.dock::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #43d4ffaa, #ffb21aaa, transparent); }
.dock-play-btn { animation: coin-pulse-dock 2.6s ease-in-out infinite; }
@keyframes coin-pulse-dock { 50% { box-shadow: 0 6px 16px #000a, 0 0 26px #ffb21aaa; } }

@media (min-width: 900px) {
  .bar { padding-inline: max(24px, calc(50vw - 540px + 24px)); }
  .menu { right: max(24px, calc(50vw - 540px + 24px)); }
}
@media (prefers-reduced-motion: reduce) {
  .spark { display: none; }
}

.howto-tile { display: flex; align-items: center; justify-content: center; gap: 1px; }


/* =====================================================================
   Revisão 19/11 (2): centralização, pulso, depósito e saque mais limpos
   ===================================================================== */
/* Início centralizado na altura útil (entre o topo e a barra de baixo) */
#view-inicio:not([hidden]) { display: flex; flex-direction: column; justify-content: center; min-height: calc(100dvh - 60px - var(--dock-h) - 34px); }
@media (min-width: 900px) { #view-inicio:not([hidden]) { min-height: calc(100dvh - 64px - var(--dock-h) - 40px); } }

/* Botão Jogar / Depositar para jogar: brilho pulsando + bolinha do play mais bonita */
.go { animation: go-glow 2.4s ease-in-out infinite; }
@keyframes go-glow {
  0%, 100% { box-shadow: 0 12px 26px #000a, 0 0 0 0 #ffb21a00, 0 0 18px #ffb21a44; }
  50% { box-shadow: 0 12px 26px #000a, 0 0 0 5px #ffb21a2e, 0 0 36px #ffd56cbb; }
}
.go-coin { width: 50px; height: 50px; background: radial-gradient(circle at 35% 30%, #ffffff, #fff4cf 45%, #ffd36a 100%); color: #b05e00; box-shadow: 0 0 0 3px #ffffffaa, 0 3px 0 #c27400, inset 0 -3px 6px #ffb21a88; animation: none; }
.go-coin .ico { width: 22px; height: 22px; margin-left: 4px; filter: drop-shadow(0 1px 0 #fff8); }
.go.single { padding-left: 18px; }
.go.single .go-text { text-align: left; }
.go.single b { font-size: 1.6rem; text-shadow: 0 1px 0 #fff6; }

/* Depósito: bônus legível */
.dep-grid .opt { display: grid; place-content: center; gap: 4px; }
.dep-grid .opt small { margin: 0; padding: 2px 7px; justify-self: center; border-radius: 99px; background: #ffd56c; color: #4a2c00; text-shadow: none; font: 800 .74rem/1.2 system-ui, sans-serif; }
.dep-grid .opt[aria-checked="true"] small { background: #2a1700; color: #ffd56c; }
.dep-grid .opt:first-child::before { background: #ffffff; color: #0b1734; box-shadow: 0 2px 6px #0007; }
.bonus-note { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #ffd56c55; background: linear-gradient(90deg, #ffb21a1f, #0b1734 70%); color: var(--ice); box-shadow: none; font-weight: 700; }
.bonus-note::before { background: var(--sun-2); }
.bonus-note b { margin-left: auto; font: 400 1.25rem/1 var(--rounded); color: var(--sun-2); }
.bonus-note small { flex-basis: 100%; margin-left: 28px; color: var(--muted); font-size: .78rem; }
.bonus-note { flex-wrap: wrap; }

/* Saque: cores calmas, saldo em verde de dinheiro */
.saq-balance { border-color: #22e0a855; background: #08142f; box-shadow: none; }
.saq-balance span { color: var(--muted); font-weight: 700; }
.saq-balance strong { color: var(--money); text-shadow: 0 0 10px #22e0a855; }
.fld { box-shadow: none; border-color: #ffffff1f; background: #070f26; }
.fld:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px #43d4ff26; }
.fld-tag { min-width: 68px; background: #ffffff08; border-right-color: #ffffff17; color: var(--ice); text-shadow: none; font-size: .8rem; }
.fld:focus-within .fld-tag { color: var(--cyan); }
#saq-submit:not(:disabled) { animation: go-glow 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) { .go, #saq-submit { animation: none !important; } }

/* Selo "Mínimo" em amarelo vivo */
.dep-grid .opt:first-child::before { background: linear-gradient(180deg, #ffe07a, var(--sun)); color: #3a2000; box-shadow: 0 2px 0 var(--sun-dark), 0 0 10px #ffb21a88; }
.dep-grid .opt:first-child[aria-checked="true"]::before { background: #2a1700; color: var(--sun-2); box-shadow: 0 0 0 1px #ffd56c, 0 0 10px #ffb21a88; }
/* Botão de play do "Depositar para jogar": círculo reto e triângulo centralizado */
.go-coin { display: flex; align-items: center; justify-content: center; align-self: center; width: 50px; height: 50px; aspect-ratio: 1; border-radius: 50%; }
.go-coin .ico { width: 20px; height: 20px; margin: 0; transform: translateX(2px); }

/* Presença segue a superfície azul e o detalhe dourado do valor de entrada. */
.presence { display: flex; align-items: center; width: fit-content; gap: 7px; margin: 0 0 12px auto; padding: 7px 12px; border: 1px solid #43d4ff66; border-radius: 999px; background: linear-gradient(180deg, #17336a, #0d2048); box-shadow: inset 0 1px 0 #ffffff26, 0 3px 8px #0005; color: var(--ice); font: 800 12px/1.2 system-ui, sans-serif; }
.presence[hidden] { display: none; }
.presence > i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--money); animation: presence-pulse 2.4s ease-out infinite; }
.presence b { display: inline-flex; color: var(--sun-2); font: 400 17px/1.1 var(--rounded); font-variant-numeric: tabular-nums; }
.presence-digit, .presence-separator { position: relative; overflow: hidden; width: .65em; height: 1.1em; text-align: center; }
.presence-separator { width: .3em; }
.presence-digit i, .presence-separator i { display: block; font-style: normal; }
.presence-digit::before { content: attr(data-from); position: absolute; inset: 0; opacity: 0; }
.presence-digit.up i { animation: presence-in-up .4s ease-out; }
.presence-digit.down i { animation: presence-in-down .4s ease-out; }
.presence-digit.up::before { animation: presence-out-up .4s ease-out; }
.presence-digit.down::before { animation: presence-out-down .4s ease-out; }
@keyframes presence-in-up { from { transform: translateY(100%); } }
@keyframes presence-in-down { from { transform: translateY(-100%); } }
@keyframes presence-out-up { from { opacity: 1; } to { opacity: 1; transform: translateY(-100%); } }
@keyframes presence-out-down { from { opacity: 1; } to { opacity: 1; transform: translateY(100%); } }
@keyframes presence-pulse { 50% { box-shadow: 0 0 0 4px #22e0a820; } }
.toast { animation-name: toast-enter; }
@keyframes toast-enter { from { opacity: 0; transform: translate(-50%, 10px); } }
@media (prefers-reduced-motion: reduce) { .presence *, .presence *::before { animation: none !important; } }

/* Online sobre o banner, acima do boné no canto direito. */
.race-art .presence { position: absolute; top: 8px; right: 10px; z-index: 5; margin: 0; padding: 6px 10px; }

/* Indicar: números completos por nível */
.stat.wide-2 { grid-column: 1 / -1; }
.net { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.net .stat:last-of-type { grid-column: 1 / -1; border-color: #22e0a855; }
.net .stat:last-of-type strong { color: var(--money); }
.net-empty { grid-column: 1 / -1; margin: 4px 2px 0; color: var(--muted); font-size: .85rem; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.net-table { width: 100%; border-collapse: collapse; font-size: .84rem; white-space: nowrap; }
.net-table th { padding: 8px 6px; text-align: right; color: var(--cyan); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid #43d4ff33; }
.net-table td { padding: 10px 6px; text-align: right; border-bottom: 1px solid #ffffff12; font-variant-numeric: tabular-nums; }
.net-table th:first-child, .net-table td:first-child { text-align: left; font-family: var(--rounded); }
.net-table tr.total td { border-bottom: 0; font-weight: 800; color: var(--sun-2); }

/* Logo do topo maior e mais viva */
.bar-logo img { width: 124px; filter: brightness(1.18) saturate(1.25) contrast(1.05) drop-shadow(0 0 8px #43d4ffaa) drop-shadow(0 2px 0 #0008); }
@media (min-width: 900px) { .bar-logo img { width: 140px; } }

/* Treinar grátis */
.practice { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid #22e0a866; background: linear-gradient(90deg, #22e0a81f, #0b1734); color: var(--ice); }
.practice > .ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--money); color: #04281d; box-sizing: border-box; }
.practice b { display: block; font: 400 1.05rem/1.1 var(--rounded); text-transform: uppercase; }
.practice small { color: var(--muted); font-weight: 700; font-size: .82rem; }

/* Fundo mais claro: a cena de Tokyo aparece mais */
body { background:
  radial-gradient(90% 50% at 50% 0, #2a5bc455, transparent 70%),
  linear-gradient(180deg, #0a163866, #0b1a3fb3 45%, #0b1a3fd9),
  url("/assets/tokyo-entardecer.webp") center top / cover fixed; }
.panel, .entry { background: linear-gradient(180deg, #13295aeb, #0d1f47f2); }

/* Depositar e Sacar sobem de baixo para cima (celular e computador) */
.sheet[open] { animation: sobe .42s cubic-bezier(.16,.84,.3,1.08) both; }
@keyframes sobe { from { transform: translateY(110vh); } to { transform: translateY(0); } }
.sheet[open]::backdrop { animation: escurece .3s ease-out both; }
@keyframes escurece { from { opacity: 0; } }
@media (max-width: 600px) { .sheet[open] { animation: sobe .42s cubic-bezier(.16,.84,.3,1.08) both; } }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }

/* Campo do valor da entrada: maior, com anel neon girando em volta (como Candy/Bubble) */
.stepper { grid-template-columns: 56px 1fr 56px; }
.step-btn, .step-field { height: 64px; }
/* 20/11/2026 (pedido do dono): campo do valor sem o anel de brilho girando; borda fixa */
.step-field { border: 2px solid #43d4ff66; background: linear-gradient(180deg, #071733, #050c20); box-shadow: inset 0 2px 10px #000c; }
.step-field input { font-size: 2rem; }
.step-prefix { font-size: 1.2rem; }

/* Anel neon girando em volta do cartão inteiro (arte + valor da entrada) */
.play-stack { position: relative; isolation: isolate; overflow: visible; border: 0; padding: 3px; background: transparent; }
.play-stack::before { content: none; }
.play-stack > .race-art { border-radius: 19px 19px 0 0; overflow: hidden; }
.play-stack > .entry { border-radius: 0 0 19px 19px; }
.play-stack::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; padding: 3px; overflow: hidden;
  background: conic-gradient(from var(--giro, 0deg), #43d4ff, #ff4fb3, #ffb21a, #43d4ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: giro 3s linear infinite; filter: drop-shadow(0 0 8px #43d4ffaa); }
@property --giro { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes giro { to { --giro: 360deg; } }

/* Anel neon girando em volta do botão Depositar para jogar / Jogar */
.go-ring { position: relative; margin-top: 10px; padding: 3px; border-radius: 21px; isolation: isolate; }
.go-ring::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: conic-gradient(from var(--giro, 0deg), #ffd56c, #ffffff, #ff4fb3, #43d4ff, #ffd56c);
  animation: giro 2.4s linear infinite; filter: drop-shadow(0 0 10px #ffb21aaa); }
.go-ring .go { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .play-stack::after, .go-ring::before { animation: none; } }

/* Aviso fixo da conta de demonstração */
.demo-banner { margin: 8px 16px 0; padding: 10px 14px; border-radius: 12px; background: #e11d48; color: #fff;
  font-weight: 700; font-size: .9rem; text-align: center; line-height: 1.35; }

/* Escala do cartão de entrada no celular (pedido do dono, 21/11/2026): a foto, os valores, a meta e o botão
   diminuem juntos, na mesma proporção, para o "Como funciona" aparecer na primeira tela. A largura continua cheia. */
@media (max-width: 700px) {
  .play-stack { zoom: .84; }
  .howto { margin-top: 10px; }
  #view-inicio:not([hidden]) { justify-content: flex-start; }  /* centralizado, o cartão menor descia e abria um vão no topo */
}

/* Início travado no celular (painel.js encaixarInicio): sem arrastar a página para cima/baixo */
html { overscroll-behavior: none; }
html.trava-rolagem, html.trava-rolagem body { overflow: hidden; overscroll-behavior: none; }
html.trava-rolagem #view-inicio, html.trava-rolagem .dock { touch-action: none; }
html.trava-rolagem #entry-input { touch-action: manipulation; }

/* Saldo subiu: chip pulsa e "+R$" sobe com moedinhas (painel.js celebrarSaldo) */
.balance.is-up { animation: saldo-up .9s var(--pop, cubic-bezier(.2,.9,.25,1.25)); }
@keyframes saldo-up { 0% { transform: scale(1); } 30% { transform: scale(1.18); box-shadow: 0 0 0 4px #22e0a855, 0 0 30px #22e0a8aa; } 100% { transform: scale(1); } }
.ganho-pop { position: fixed; z-index: 200; translate: -50% 0; pointer-events: none; }
.ganho-pop b { display: block; padding: 7px 14px 6px; border-radius: 99px; background: linear-gradient(180deg, #8dffc4, #22c977); color: #05301b;
  font: 400 1.25rem/1 var(--rounded); white-space: nowrap; box-shadow: 0 4px 0 #0f7a46, 0 8px 24px #000a; animation: ganho-sobe 2.2s ease-out both; }
.ganho-pop i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3b0, #ffd23f 40%, #c27400); box-shadow: 0 0 8px #ffd23f99;
  animation: ganho-moeda 1.1s ease-out var(--d) both; }
@keyframes ganho-sobe { 0% { opacity: 0; transform: translateY(10px) scale(.6); } 15% { opacity: 1; transform: translateY(0) scale(1.08); } 75% { opacity: 1; transform: translateY(-8px) scale(1); } 100% { opacity: 0; transform: translateY(-22px); } }
@keyframes ganho-moeda { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(.4); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-70px) scale(1); } }

/* CTA: sem saldo, o "Depositar para jogar" dá um balanço curto de tempos em tempos */
.go.single { animation: go-glow 2.4s ease-in-out infinite, cta-balanco 6s ease-in-out 2s infinite; }
@keyframes cta-balanco { 0%, 88%, 100% { transform: none; } 90% { transform: rotate(-1.5deg) scale(1.02); } 93% { transform: rotate(1.5deg) scale(1.02); } 96% { transform: rotate(-.8deg); } }
@media (prefers-reduced-motion: reduce) { .ganho-pop b, .ganho-pop i, .balance.is-up, .go.single { animation: none; } }

/* =====================================================================
   Saque de comissão e comissão paga (pedido do dono, 21/11/2026)
   Mesma identidade do painel; o verde "money" marca tudo que é comissão, para não confundir com o saque do saldo (amarelo).
   ===================================================================== */
.tile.money { border-color: #22e0a877; background: #22e0a817; color: var(--money); }
.wallet-card .ref-min { display: block; margin-top: 6px; font-size: .76rem; font-weight: 700; color: var(--muted); }
#ref-withdraw { border-color: #22e0a877; background: #22e0a814; }
#ref-withdraw:hover { background: #22e0a826; }
.com-sheet { border-color: #22e0a877; }
.com-sheet .sheet-head h2 b, .com-paga .sheet-head h2 b { color: var(--money); }
.com-origem { padding: 12px 14px; border-radius: 16px; border: 1px solid #22e0a866; background: radial-gradient(120% 80% at 0 0, #22e0a81f, transparent 60%), #08142f; }
.com-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: #22e0a81f; color: var(--money); font: 800 .72rem/1 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.com-tag .ico { width: 14px; height: 14px; }
.com-origem-linha { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 10px; }
.com-origem-linha small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.com-origem-linha strong { display: block; margin-top: 4px; font: 400 1.7rem/1 var(--rounded); color: var(--money); text-shadow: 0 0 12px #22e0a855; }
.com-min { flex: none; padding: 5px 10px; border-radius: 10px; border: 1px solid #ffffff1f; color: var(--ice); font-size: .78rem; font-weight: 800; }
.com-origem p { margin: 8px 0 0; color: var(--muted); font-size: .8rem; }
#com-form .fld { margin-top: 8px; height: 52px; }
.com-valor { display: flex; gap: 8px; align-items: stretch; }
.com-valor .fld { flex: 1; }
.com-valor .btn-ghost { margin-top: 8px; min-height: 52px; padding: 0 14px; }
.com-valor .btn-ghost:disabled { opacity: .5; cursor: not-allowed; }
.com-btn:not(:disabled) { border-bottom-color: #0f7a46; background: linear-gradient(180deg, #8dffc4, #22c977); color: #05301b; box-shadow: 0 10px 22px #0008, 0 0 20px #22e0a844; }
.com-resumo { display: grid; gap: 0; margin: 0; border-radius: 14px; border: 1px solid #43d4ff2e; background: #050c20; overflow: hidden; }
.com-resumo div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-top: 1px solid #43d4ff1a; }
.com-resumo div:first-child { border-top: 0; }
.com-resumo dt { color: var(--muted); font-size: .84rem; font-weight: 700; }
.com-resumo dd { margin: 0; text-align: right; font-weight: 800; font-size: .9rem; overflow-wrap: anywhere; }
.com-resumo div:nth-child(2) dd { font: 400 1.15rem/1 var(--rounded); color: var(--money); }
#com-confirm .fld-hint { margin-top: 10px; }
.com-done-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 2px solid #ffb21a88; background: radial-gradient(circle, #ffb21a2e, #ffb21a0a 70%); color: var(--sun-2); animation: pop .3s ease-out; }
.com-done-ico .ico { width: 34px; height: 34px; }
.com-done strong { color: var(--money); text-shadow: 0 0 14px #22e0a888; }
.com-done .pill { margin-top: 2px; }
#com-done a.btn-main, .cp-acoes a.btn-main { text-decoration: none; }
#com-loading .state .btn-ghost { margin-top: 6px; }

/* Transações: origem e selo demo */
.pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: none; max-width: 55%; }
.pill.demo { border: 1px dashed #ff4fb3; background: #ff4fb31a; color: #ffc2e4; }
.row.tx-comissao { border-color: #22e0a844; }
.row.tx-comissao strong { color: #c3f7e6; }

/* Comissão paga: moedas caem uma vez, por cima e sem capturar toques; mais moedas para valores maiores */
.com-paga { border-color: #22e0a899; }
.cp-festa { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.cp-festa i { position: absolute; top: -24px; left: var(--x); width: 16px; height: 16px; border-radius: 50%; scale: var(--s);
  background: radial-gradient(circle at 35% 30%, #fff3b0, #ffd23f 40%, #c27400); box-shadow: 0 0 8px #ffd23f99;
  animation: cp-cai 1.9s cubic-bezier(.3,.1,.6,1) var(--d) both; }
@keyframes cp-cai { 0% { opacity: 0; transform: translateY(0) rotate(0); } 10% { opacity: 1; } 80% { opacity: .9; } 100% { opacity: 0; transform: translateY(min(80dvh, 520px)) rotate(300deg); } }
.cp-done strong { font-size: 2.3rem; color: var(--money); text-shadow: 0 0 16px #22e0a888; }
.cp-sub { color: var(--ice); font-weight: 800; font-size: .95rem; }
.cp-done p { color: var(--muted); }
.com-paga[data-nivel="2"] .cp-done strong { font-size: 2.6rem; }
.com-paga[data-nivel="3"] .cp-done strong { font-size: 2.9rem; animation: cp-brilho 1.4s ease-in-out 2; }
.com-paga[data-nivel="3"] .done-ico { animation: pop .3s ease-out, cp-anel 1.4s ease-out .3s 2; }
@keyframes cp-brilho { 50% { text-shadow: 0 0 26px #22e0a8, 0 0 6px #fff; } }
@keyframes cp-anel { 0% { box-shadow: 0 0 30px #22e0a888, 0 0 0 0 #22e0a8aa; } 100% { box-shadow: 0 0 30px #22e0a888, 0 0 0 22px #22e0a800; } }
.cp-acoes { display: grid; gap: 0; }
@media (min-width: 601px) { .cp-acoes { grid-template-columns: 1fr 1fr; column-gap: 10px; } .cp-acoes > :first-child { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) {
  .cp-festa { display: none; }
  .com-done-ico, .com-paga .done-ico, .com-paga .cp-done strong { animation: none !important; }
}

/* Selo de bônus em cima do botão de depósito (22/11/2026): "VIRA R$ 100" (dobra) ou "BÔNUS +R$ 3" */
.dep-grid { padding-top: 6px; row-gap: 16px; }
.dep-grid .opt.has-bonus { position: relative; }
.dep-grid .opt .opt-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 1; white-space: nowrap;
  padding: 2px 9px; border-radius: 99px; font: 800 .66rem/1.35 system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase;
  background: linear-gradient(180deg, #ffe07a, var(--sun, #ffb21a)); color: #3a2000; box-shadow: 0 2px 0 #a86a00, 0 0 10px #ffb21a88; }
.dep-grid .opt .opt-tag.dobra { background: linear-gradient(180deg, #4dffc3, #16c98d); color: #03281b; box-shadow: 0 2px 0 #0b7a55, 0 0 12px #22e0a8aa;
  animation: opt-tag-pulso 1.8s ease-in-out infinite; }
.dep-grid .opt[aria-checked="true"] .opt-tag { background: #2a1700; color: #ffd56c; box-shadow: 0 0 0 1px #ffd56c, 0 0 10px #ffb21a88; }
.dep-grid .opt[aria-checked="true"] .opt-tag.dobra { background: #03281b; color: #4dffc3; box-shadow: 0 0 0 1px #4dffc3, 0 0 12px #22e0a8aa; }
@keyframes opt-tag-pulso { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .dep-grid .opt .opt-tag.dobra { animation: none; } }
