/* MobPlay Saque · saque-20261120-v3 · tema laranja e branco */
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/jakarta-latin-ext.woff2') format('woff2'); font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tema claro (padrão) ---------- */
:root {
  color-scheme: light;
  --font: 'Jakarta', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --brand: #f26b0f;
  --brand-strong: #e05a00;
  --brand-ink: #a94000;
  --brand-soft: #fff0e3;
  --brand-glow: rgba(242, 107, 15, .35);
  --amber: #b86e00;
  --amber-soft: #fff4dc;
  --green: #0c9a68;
  --green-soft: #e2f7ee;
  --red: #d33a3a;
  --red-soft: #fdeceb;
  --bg: #fff8f2;
  --surface: #ffffff;
  --surface-2: #fff6ee;
  --line: #f2e4d7;
  --text: #24170d;
  --muted: #7d6858;
  --header-bg: rgba(255, 255, 255, .86);
  --nav-bg: rgba(255, 255, 255, .92);
  --shadow-1: 0 1px 2px rgba(68, 34, 8, .04), 0 6px 18px rgba(68, 34, 8, .06);
  --shadow-2: 0 20px 40px -16px rgba(226, 88, 0, .55);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --nav-h: 64px;
}
/* ---------- tema escuro (quente, sem preto puro) ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #ff8a2a;
  --brand-strong: #ff9a45;
  --brand-ink: #ffc08a;
  --brand-soft: #3a2415;
  --brand-glow: rgba(255, 138, 42, .3);
  --amber: #fbbf24;
  --amber-soft: #3a2d10;
  --green: #34d399;
  --green-soft: #12352a;
  --red: #f87171;
  --red-soft: #3b1a1a;
  --bg: #17110d;
  --surface: #221a14;
  --surface-2: #2c221a;
  --line: #3b2e24;
  --text: #fff4ea;
  --muted: #bfa996;
  --header-bg: rgba(23, 17, 13, .86);
  --nav-bg: rgba(34, 26, 20, .94);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-2: 0 20px 40px -18px rgba(0, 0, 0, .8);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; font-family: var(--font); font-size: 15px; line-height: 1.5;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  transition: background-color .25s ease, color .25s ease;
}
body::before {
  content: ''; position: fixed; inset: 0 0 auto; height: 360px; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 100% at 15% 0%, var(--brand-glow), transparent 70%),
              radial-gradient(50% 80% at 95% 0%, color-mix(in srgb, #ffb020 22%, transparent), transparent 70%);
  opacity: .55;
}
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.45rem, 5.4vw, 1.9rem); line-height: 1.2; letter-spacing: -.03em; font-weight: 800; margin-bottom: 18px; }
h2 { font-size: 1.05rem; letter-spacing: -.015em; font-weight: 750; }
h3 { font-size: .9rem; font-weight: 750; }
.muted { color: var(--muted); font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
button:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 8px; }

main { width: min(100%, 640px); margin: 0 auto; padding: 16px 16px calc(var(--nav-h) + 44px + env(safe-area-inset-bottom)); }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top);
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { width: min(100%, 640px); margin: auto; min-height: 66px; padding: 6px 16px; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand__logo { display: block; height: 52px; width: auto; filter: drop-shadow(0 4px 8px rgba(226, 88, 0, .22)); }
.header-cta { padding: 9px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--brand-strong), var(--brand)); color: #fff; font-weight: 750; font-size: .86rem; box-shadow: 0 6px 14px -6px var(--brand-glow); }
.theme-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); color: var(--brand-strong); }
.theme-btn svg { width: 19px; height: 19px; }
.header-account { display: flex; border-radius: 50%; }

/* ---------- avatar ---------- */
.avatar { position: relative; display: grid; place-items: center; flex: none; border-radius: 50%;
  background: linear-gradient(140deg, #ffad42, var(--brand-strong)); color: #fff; font-weight: 800; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar--sm { width: 40px; height: 40px; font-size: .95rem; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px color-mix(in srgb, var(--brand) 45%, transparent); }
.avatar--lg { width: 72px; height: 72px; font-size: 1.6rem; }
.avatar__edit { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); color: var(--brand-strong); border: 2px solid var(--bg); box-shadow: var(--shadow-1); cursor: pointer; }
.avatar__edit svg { width: 15px; height: 15px; }
.avatar__edit input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- toast ---------- */
.toast-region { position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top) + 76px); z-index: 120; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.toast { max-width: 520px; padding: 12px 16px; border-radius: 14px; background: #2b1b0e; color: #fff; font-size: .9rem; font-weight: 600;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,.45); animation: toast-in .25s ease; pointer-events: auto; }
.toast:empty { display: none; }
.toast.is-error { background: #c93030; }
.toast.is-success { background: #0b8a5d; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- saudação + saldo ---------- */
.greeting { color: var(--muted); font-weight: 650; font-size: .95rem; margin: 2px 2px 12px; }
.greeting strong { color: var(--text); }
.balance-card {
  position: relative; overflow: hidden; isolation: isolate; padding: 22px 20px 18px; border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(140deg, #ffa42e 0%, #f26b0f 48%, #d84a00 100%); box-shadow: var(--shadow-2);
}
.balance-card::before, .balance-card::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.balance-card::before { width: 300px; height: 300px; right: -110px; top: -140px; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); }
.balance-card::after { width: 240px; height: 240px; left: -80px; bottom: -150px; border: 1px solid rgba(255,255,255,.2); }
.balance-card__coins { position: absolute; z-index: -1; right: 16px; top: 54px; width: 88px; height: 88px; filter: drop-shadow(0 10px 16px rgba(120, 40, 0, .35)); pointer-events: none; }
.balance-card__top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.balance-card__label { font-size: .84rem; font-weight: 650; color: rgba(255,255,255,.9); }
.balance-card__amount { display: block; margin: 6px 0 10px; font-size: clamp(2.1rem, 10vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05;
  font-variant-numeric: tabular-nums; max-width: calc(100% - 104px); overflow-wrap: anywhere; text-shadow: 0 2px 10px rgba(120, 40, 0, .25); }
.coin-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 999px; background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3); font-size: .8rem; font-weight: 700; }
.coin-pill img { width: 22px; height: 22px; }
.is-masked .balance-card__amount, .is-masked #coins, .is-masked #report-balance { filter: blur(9px); user-select: none; }
.progress { margin-top: 16px; }
.progress__track { height: 7px; border-radius: 99px; background: rgba(255,255,255,.28); overflow: hidden; }
.progress__bar { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #fff6c8, #ffffff); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.progress small { display: block; margin-top: 6px; font-size: .75rem; color: rgba(255,255,255,.9); }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.quick-action { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 16px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26); color: #fff; font-size: .78rem; font-weight: 750; transition: background .15s, transform .15s; }
.quick-action span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.2); }
.quick-action:active { transform: scale(.97); }
.quick-action:hover { background: rgba(255,255,255,.24); }
.quick-action--main { background: #fff; color: #d95200; border-color: #fff; box-shadow: 0 8px 18px -10px rgba(120, 40, 0, .6); }
.quick-action--main span { background: #fff0e3; color: #e05a00; }
.quick-action--main:hover { background: #fff8f2; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; }
.icon-btn--light { background: rgba(255,255,255,.2); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- cards ---------- */
.card { margin: 14px 0; padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.card--accent { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: linear-gradient(180deg, var(--brand-soft), var(--surface) 70%); }
.card-heading { display: flex; align-items: center; gap: 12px; }
.card-heading > div { min-width: 0; }
.card-heading p { margin-top: 2px; }
.card-heading--split { justify-content: space-between; }
.icon-tile { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); }
.icon-tile--sm { width: 34px; height: 34px; border-radius: 10px; }
.icon-tile--sm svg { width: 17px; height: 17px; }
.icon-tile--lg { width: 52px; height: 52px; border-radius: 16px; }
.icon-tile--lg svg { width: 26px; height: 26px; }
.icon-tile--green { background: var(--green-soft); color: var(--green); }
.icon-tile--accent { background: var(--brand); color: #fff; }
.icon-tile--danger { background: var(--red-soft); color: var(--red); }
.subhead { margin: 18px 0 4px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; font-weight: 750; font-size: .95rem; transition: transform .12s, box-shadow .15s, background .15s; }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn--primary { background: linear-gradient(135deg, #ff9a2e, var(--brand) 55%, var(--brand-strong)); color: #fff; box-shadow: 0 10px 22px -10px var(--brand-glow); }
.btn--primary:hover { box-shadow: 0 12px 26px -10px rgba(226, 88, 0, .65); }
.btn--soft { background: var(--brand-soft); color: var(--brand-ink); }
.btn--ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: .82rem; border-radius: 11px; }
.link-btn { color: var(--brand-strong); font-weight: 750; font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.actions .btn { flex: 1 1 140px; }

/* ---------- formulários ---------- */
form { display: grid; gap: 14px; margin-top: 16px; }
.field { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.field input, .field select, .search input {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--surface-2);
  color: var(--text); font: inherit; font-size: 1rem; font-weight: 600; transition: border-color .15s, background .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .search input:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field input[type="password"] { letter-spacing: .2em; }
.field__row { display: flex; gap: 8px; align-items: center; }
.field__row input { flex: 1; }
.hint { color: var(--muted); font-size: .78rem; margin-top: -6px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); flex: none; }
.quote { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: var(--green-soft); color: var(--green); font-weight: 650; font-size: .88rem; }
.quote strong { font-size: 1.25rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fineprint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .76rem; }
.fineprint svg { width: 16px; height: 16px; color: var(--green); }
.notice { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--amber-soft); color: var(--amber); font-size: .85rem; font-weight: 650; }

/* ---------- chave pix ---------- */
.pix-chip { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px dashed color-mix(in srgb, var(--brand) 35%, var(--line)); text-align: left; }
.pix-chip__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green); }
.pix-chip__icon svg { width: 18px; height: 18px; }
.pix-chip__body { flex: 1; min-width: 0; }
.pix-chip__body small { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pix-chip__body strong { display: block; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pix-chip__edit { color: var(--brand-strong); font-weight: 750; font-size: .82rem; }

/* ---------- como funciona ---------- */
.steps { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps li > span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #ffa42e, var(--brand-strong)); color: #fff; font-weight: 800; font-size: .85rem; }
.steps strong { display: block; font-size: .92rem; }
.steps small { display: block; color: var(--muted); font-size: .82rem; }

/* ---------- listas ---------- */
.activity-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.activity-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.activity-list li:last-child { border-bottom: 0; }
.activity-list li > div { min-width: 0; }
.activity-list li > div:last-child:not(:first-child) { text-align: right; flex: none; }
.activity-list strong { display: block; font-size: .92rem; font-variant-numeric: tabular-nums; }
.activity-list small { display: block; color: var(--muted); font-size: .76rem; }
.activity-list .is-positive { color: var(--green); }
.status { display: inline-block !important; margin-top: 3px; padding: 2px 9px; border-radius: 99px; font-size: .7rem !important; font-weight: 750; background: var(--surface-2); color: var(--muted) !important; }
.status--paid { background: var(--green-soft); color: var(--green) !important; }
.status--pending { background: var(--amber-soft); color: var(--amber) !important; }
.status--failed { background: var(--red-soft); color: var(--red) !important; }
.activity-list li.activity-empty, .empty { display: block; padding: 22px 8px; text-align: center; color: var(--muted); font-size: .88rem; border: 0; }

/* ---------- anúncios ---------- */
.ad-slot { margin: 18px 0 8px; text-align: center; }
.ad-slot > small { display: block; margin-bottom: 6px; color: var(--muted); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.ad-slot__box { display: flex; justify-content: center; align-items: center; width: 100%; overflow: hidden; border-radius: var(--r-sm); }
.ad-slot__box iframe { display: block; width: 100%; max-width: 100%; border: 0; background: transparent; }
.ad-slot__box > * { max-width: 100%; }

/* ---------- catálogo ---------- */
.page-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; margin-bottom: 16px; border-radius: var(--r-lg);
  color: #fff; background: linear-gradient(140deg, #ffa42e, #f26b0f 55%, #d84a00); box-shadow: var(--shadow-2); }
.page-hero h1 { margin-bottom: 6px; }
.page-hero p { color: rgba(255,255,255,.92); font-size: .9rem; }
.page-hero .icon-tile { background: rgba(255,255,255,.22); color: #fff; }
#game-catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
#game-catalog > li:not(.catalog-card):not(.skeleton-card) { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 30px 0; }
.catalog-card { --tile: #f26b0f; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .15s; }
.catalog-card:hover { transform: translateY(-2px); }
.catalog-card:nth-child(4n + 2) { --tile: #0ea5e9; }
.catalog-card:nth-child(4n + 3) { --tile: #8b5cf6; }
.catalog-card:nth-child(4n + 4) { --tile: #10b981; }
.catalog-card__visual { display: grid; place-items: center; height: 104px; background: radial-gradient(90% 120% at 80% 0%, rgba(255,255,255,.35), transparent 60%), linear-gradient(135deg, var(--tile), color-mix(in srgb, var(--tile) 60%, #3b1600)); }
.catalog-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: #fff; color: var(--tile); font-size: 1.15rem; font-weight: 800; box-shadow: 0 8px 18px -6px rgba(0,0,0,.35); }
.catalog-card__body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 14px; }
.catalog-card h2 { font-size: .98rem; overflow-wrap: anywhere; }
.catalog-card p { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; margin-bottom: 10px; }
.store-link { display: flex; align-items: center; gap: 7px; margin-top: auto; min-height: 40px; padding: 0 12px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-weight: 750; font-size: .8rem; text-decoration: none; }
.store-link span { white-space: nowrap; }
.store-link svg { width: 15px; height: 15px; }
.store-link svg:first-child { fill: var(--green); stroke: none; }
.store-link__arrow { margin-left: auto; color: var(--muted); }
.store-link:hover { border-color: var(--brand); }
.skeleton-card { height: 220px; border-radius: var(--r-md); background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- perfil ---------- */
.auth-card { padding: 24px 20px; }
.auth-card__head { text-align: center; }
.auth-card__logo { display: block; width: 150px; height: auto; margin: 0 auto; filter: drop-shadow(0 8px 16px rgba(226, 88, 0, .25)); }
.auth-card__head h1 { margin: 10px 0 6px; }
.auth-card__switch { margin-top: 16px; text-align: center; color: var(--muted); font-size: .88rem; }
.profile-head { display: flex; align-items: center; gap: 16px; }
.profile-head__copy { min-width: 0; }
.profile-head h1 { margin: 0; font-size: 1.3rem; overflow-wrap: anywhere; }
.profile-head p { overflow-wrap: anywhere; }
.menu { padding: 6px; }
.menu__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 12px; font-weight: 650; font-size: .93rem; text-align: left; list-style: none; cursor: pointer; }
.menu__item:hover { background: var(--surface-2); }
.menu__item::-webkit-details-marker { display: none; }
.menu__chev { margin-left: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.menu__details[open] .menu__chev { transform: rotate(90deg); }
.menu__details .activity-list { padding: 0 12px 6px 56px; margin: 0; }
.menu__item--danger { color: var(--red); }
.menu__row { display: flex; align-items: center; gap: 12px; padding: 10px; font-weight: 650; font-size: .93rem; flex-wrap: wrap; }
.menu__row .segmented { margin-left: auto; min-width: 210px; }

/* ---------- segmentado ---------- */
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); }
.segmented button { min-height: 36px; padding: 0 8px; border-radius: 10px; font-weight: 700; font-size: .84rem; color: var(--muted); white-space: nowrap; }
.segmented [aria-pressed="true"] { background: var(--surface); color: var(--brand-strong); box-shadow: var(--shadow-1); }

/* ---------- relatórios ---------- */
.back-btn { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; padding: 6px 10px 6px 4px; border-radius: 10px; color: var(--brand-strong); font-weight: 750; font-size: .9rem; }
.back-btn svg { width: 18px; height: 18px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.stat small { display: block; color: var(--muted); font-size: .76rem; font-weight: 650; }
.stat strong { display: block; margin: 6px 0 2px; font-size: 1.35rem; letter-spacing: -.03em; color: var(--brand-strong); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.stat--green strong { color: var(--green); }
.card > .segmented { margin-bottom: 4px; }

/* ---------- ajuda ---------- */
.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 15px; color: var(--muted); }
.search input { padding-left: 44px; }
.faq { padding: 4px 18px; }
.faq details { padding: 14px 0; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: .93rem; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: '+'; color: var(--brand-strong); font-weight: 800; font-size: 1.1rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 8px; color: var(--muted); font-size: .88rem; }

/* ---------- navegação inferior ---------- */
.bottom-nav { position: fixed; z-index: 100; left: 50%; transform: translateX(-50%); bottom: calc(10px + env(safe-area-inset-bottom)); width: min(calc(100% - 24px), 420px);
  padding: 6px; border-radius: 22px; background: var(--nav-bg); border: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px); box-shadow: 0 14px 34px -14px rgba(68, 34, 8, .35); }
.bottom-nav__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.bottom-nav__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 16px; color: var(--muted); font-size: .7rem; font-weight: 750; transition: background .15s, color .15s; }
.bottom-nav__item svg { width: 21px; height: 21px; }
.bottom-nav__item.is-active { background: linear-gradient(135deg, #ffa42e, var(--brand-strong)); color: #fff; box-shadow: 0 8px 16px -8px var(--brand-glow); }

/* ---------- carregamento ---------- */
.is-loading .balance-card__amount, .is-loading #coins { color: transparent; border-radius: 10px; background: rgba(255,255,255,.22); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .55; } }

@media (max-width: 360px) {
  main { padding-inline: 12px; }
  #game-catalog { gap: 9px; }
  .balance-card { padding: 18px 16px 14px; }
  .balance-card__coins { width: 72px; height: 72px; right: 12px; }
  .balance-card__amount { max-width: calc(100% - 84px); }
  .brand__logo { height: 46px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ajustes finos v3 */
.topbar-inner { min-height: 74px; }
.brand__logo { height: 60px; }
.toast-region { top: calc(env(safe-area-inset-top) + 84px); }
.quick-action--main:disabled { opacity: .78; }
@media (max-width: 360px) { .brand__logo { height: 52px; } }
