:root {
  --bg: #04221a;
  --bg-2: #073326;
  --surface: #0b3f30;
  --surface-2: #10503d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f7f4;
  --muted: #a9c3b8;
  --gold: #f6c544;
  --gold-2: #e0a91c;
  --danger: #ff7a6b;
  --radius: 18px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(120% 60% at 50% 0%, #0d4a37 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* boot */
.boot { position: fixed; inset: 0; display: grid; place-items: center; }
.spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(246, 197, 68, 0.25); border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* auth */
.auth { min-height: 100%; display: grid; place-items: center; padding: calc(24px + var(--safe-top)) 16px calc(24px + var(--safe-bottom)); }
.auth-card { width: 100%; max-width: 400px; }
.brand { text-align: center; margin-bottom: 24px; }
.brand-img { width: 112px; height: 112px; border-radius: 28px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.brand-name { margin: 14px 0 0; font-size: 28px; letter-spacing: -0.02em; color: var(--gold); }

.tabs { display: grid; grid-template-columns: 1fr 1fr; background: rgba(0, 0, 0, 0.25); border-radius: 14px; padding: 4px; margin-bottom: 18px; }
.tab { border: 0; background: none; padding: 12px; border-radius: 10px; font-weight: 600; color: var(--muted); }
.tab.active { background: var(--surface-2); color: var(--text); }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 500; }
.form input[type="text"], .form input[type="tel"], .form input[type="password"] {
  width: 100%; padding: 15px 16px; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; outline: none;
}
.form input:focus { border-color: var(--gold); }
.form .check { display: flex; align-items: center; gap: 10px; color: var(--text); }
.form .check input { width: 20px; height: 20px; accent-color: var(--gold); }
.form-error { margin: 0; min-height: 1.2em; color: var(--danger); font-size: 14px; }

.btn-primary {
  border: 0; border-radius: 14px; padding: 16px; font-size: 17px; font-weight: 700;
  color: #2b1d00; background: linear-gradient(180deg, var(--gold), var(--gold-2));
  box-shadow: 0 6px 20px rgba(246, 197, 68, 0.25);
}
.btn-primary:active { transform: translateY(1px); }
.btn-primary[disabled] { opacity: 0.6; }

/* app shell */
.app { min-height: 100%; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  padding: calc(10px + var(--safe-top)) 16px 12px;
  background: rgba(4, 34, 26, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-row { display: flex; align-items: center; gap: 12px; max-width: 720px; margin: 0 auto; }
.topbar-title { flex: 1; font-weight: 800; font-size: 19px; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--surface); }
.icon-btn svg { width: 24px; height: 24px; }

.balance { display: grid; justify-items: end; padding: 6px 12px; border-radius: 12px; background: var(--surface); line-height: 1.1; }
.balance-label { font-size: 11px; color: var(--muted); }
.balance-value { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }

.pixbar {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 720px; margin: 10px auto 0;
  padding: 10px 12px; text-align: left; border: 1px dashed rgba(246, 197, 68, 0.5); border-radius: 14px;
  background: rgba(246, 197, 68, 0.08);
}
.pix-tag { flex: none; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; padding: 4px 8px; border-radius: 8px; background: var(--gold); color: #2b1d00; }
.pix-text { flex: 1; min-width: 0; display: grid; }
.pix-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pix-key { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pix-copy svg { width: 20px; height: 20px; color: var(--gold); }

.view { max-width: 720px; margin: 0 auto; padding: 16px 16px calc(32px + var(--safe-bottom)); }
.section-title { margin: 4px 2px 14px; font-size: 18px; font-weight: 700; }

/* game grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.tile { display: block; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); transition: transform 0.12s ease; }
.tile:active { transform: scale(0.97); }
.tile img { width: 100%; height: auto; aspect-ratio: 1; display: block; }

/* seletor de dias */
.days {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px 16px; padding: 2px 16px 6px; scrollbar-width: none;
}
.days::-webkit-scrollbar { display: none; }
.day {
  flex: none; scroll-snap-align: start; width: 74px; padding: 12px 6px;
  display: grid; justify-items: center; gap: 2px;
  border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface);
}
.day-num { font-size: 24px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.day-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: capitalize; }
.day.today .day-label { color: var(--gold); text-transform: none; letter-spacing: 0.04em; }
.day.active { border-color: var(--gold); background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: #2b1d00; }
.day.active .day-label { color: #2b1d00; }
.day:active { transform: scale(0.96); }
.day.no-draw:not(.active) { opacity: 0.4; border-style: dashed; }
.days-legend { margin-top: -6px; font-size: 13px; }

/* modalidades */
.hint { margin: 0 2px 12px; color: var(--muted); font-size: 14px; }
.modalities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .modalities { grid-template-columns: repeat(3, 1fr); } }
.modality {
  min-height: 64px; padding: 10px 12px; display: grid; align-content: center; gap: 4px; text-align: left;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface);
}
.modality:active { transform: scale(0.97); border-color: var(--gold); }
.modality-name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.modality-mult { font-size: 15px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }

/* tela de palpite */
button.back { border: 0; background: none; padding: 0; }
.bet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bet-head .section-title { margin-bottom: 2px; }
.modality-mult.big { flex: none; font-size: 20px; padding: 6px 12px; border-radius: 12px; background: rgba(246, 197, 68, 0.12); }
.note { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--text); background: rgba(246, 197, 68, 0.08); border-left: 3px solid var(--gold); }

.bichos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
@media (min-width: 560px) { .bichos { grid-template-columns: repeat(5, 1fr); } }
.bicho {
  position: relative; padding: 10px 4px 8px; display: grid; justify-items: center; gap: 1px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface);
}
.bicho.on { border-color: var(--gold); background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: #2b1d00; }
.bicho-num { font-size: 12px; font-weight: 800; color: var(--gold); }
.bicho-name { font-size: 14px; font-weight: 700; }
.bicho-dez { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bicho.on .bicho-num, .bicho.on .bicho-dez { color: #2b1d00; }
.bicho-order { position: absolute; top: 4px; right: 6px; font-size: 11px; font-weight: 800; }

.palpite-form { display: flex; gap: 10px; margin-bottom: 12px; }
.palpite-form input {
  flex: 1; min-width: 0; padding: 14px 16px; font-size: 24px; font-weight: 800; letter-spacing: 0.2em; text-align: center;
  color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; outline: none;
  font-variant-numeric: tabular-nums;
}
.palpite-form input:focus { border-color: var(--gold); }
.btn-add { flex: none; padding: 0 18px; border: 0; border-radius: 14px; font-weight: 700; background: var(--surface-2); }
.btn-add[disabled], .palpite-form input[disabled] { opacity: 0.4; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px;
  font-weight: 800; font-size: 17px; letter-spacing: 0.06em; background: var(--surface-2);
}
.chip small { font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.chip button { width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.25); }
.chip button svg { width: 14px; height: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); }
.split button { padding: 10px 6px; border: 0; border-radius: 9px; background: none; font-size: 14px; font-weight: 700; color: var(--muted); }
.split button.on { background: var(--gold); color: #2b1d00; }
.bet-box .value-label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.value-row { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.25); border: 1.5px solid var(--line); }
.value-row:focus-within { border-color: var(--gold); }
.value-row span { font-weight: 700; color: var(--muted); }
.value-row input { flex: 1; min-width: 0; padding: 14px 0; font-size: 22px; font-weight: 800; color: var(--text); background: none; border: 0; outline: none; }
.quick { display: flex; gap: 8px; margin: 10px 0 14px; overflow-x: auto; scrollbar-width: none; }
.quick button { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); font-weight: 600; font-size: 14px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; color: var(--muted); }
.sum-row strong { color: var(--text); font-variant-numeric: tabular-nums; }
.sum-row.prize strong { color: var(--gold); font-size: 17px; }

/* resultados e painel admin */
.spinner.center { margin: 32px auto; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.strong { font-weight: 800; }
.prizes { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; }
.prizes th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 6px 6px; }
.prizes td { padding: 9px 6px; border-top: 1px solid var(--line); }
.prizes td.strong { color: var(--gold); font-size: 16px; }
.draw-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.draw-title { margin: 0; font-weight: 800; }
.card .hint { margin: 2px 0 0; }
.status { flex: none; display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; vertical-align: middle; }
.status.pending { background: rgba(255, 170, 60, 0.18); color: #ffb44d; }
.status.confirmed { background: rgba(80, 220, 140, 0.16); color: #63e39b; }
.draw-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 14px; }
.draw-actions .btn-primary { margin-top: 0; }
.draw-actions.three { grid-template-columns: 1fr 1fr; }
.draw-actions.three .btn-ghost { min-height: 44px; }
.draw-actions.three .btn-primary { grid-column: 1 / -1; }
.btn-ghost { padding: 0 18px; border: 1.5px solid var(--line); border-radius: 14px; background: none; font-weight: 700; color: var(--danger); }
.confirmed-by { margin-top: 10px !important; font-size: 13px; }
.inline-form { display: flex; gap: 10px; margin-top: 12px; }
.inline-form input {
  flex: 1; min-width: 0; padding: 13px 14px; font-size: 16px; color: var(--text);
  background: rgba(0, 0, 0, 0.25); border: 1.5px solid var(--line); border-radius: 14px; outline: none;
}
.inline-form input:focus { border-color: var(--gold); }
.inline-form .btn-primary { margin-top: 0; width: auto; padding: 0 18px; font-size: 15px; }
.view > .inline-form { margin: 0 0 14px; }
.preview { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(246, 197, 68, 0.4); }
.manual summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.manual-form { margin-top: 14px; }
.manual-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form input[type="date"] {
  width: 100%; padding: 14px 12px; font-size: 16px; color: var(--text); color-scheme: dark;
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 14px; outline: none;
}
.manual-form input[type="text"] { background: var(--surface-2); }
.list-title { margin-top: 22px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.stat { padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.stat span { display: block; font-size: 24px; font-weight: 800; color: var(--text); }
.stat.warn span { color: #ffb44d; }
.admin-tabs { grid-template-columns: repeat(3, 1fr); }
.list { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.list-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row p { margin: 0; }
.list-row .right { text-align: right; font-size: 12px; }
.list-row .right .amount-in, .list-row .right .amount-out { font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount-in { color: #63e39b; }

/* escolha de prêmios */
.crumb { margin: 0 2px 2px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--gold); }
.pos-title { margin-bottom: 2px; }
.pos-search {
  width: 100%; margin: 12px 0; padding: 13px 14px; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; outline: none;
}
.pos-search:focus { border-color: var(--gold); }
.pos-list { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.pos-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px;
  padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
}
.pos-row:last-child { border-bottom: 0; }
.pos-row:active { background: var(--surface-2); }
.pos-label { font-weight: 700; font-size: 15px; }
.pos-mult { font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.pos-empty { margin-top: 12px; text-align: center; }

/* seleção de loterias */
.lotteries { margin-bottom: 14px; }
.lot-title { margin: 0 0 10px !important; font-weight: 800; color: var(--text) !important; }
.lot-group + .lot-group { margin-top: 14px; }
.lot-name { margin: 0 0 8px !important; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; color: var(--gold) !important; }
.lot-draws { display: grid; gap: 8px; }
.lot-draw {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: left;
  border: 1.5px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, 0.2); font-weight: 700;
}
.lot-draw.on { border-color: var(--gold); background: rgba(246, 197, 68, 0.12); }
.lot-draw[disabled] { opacity: 0.45; cursor: not-allowed; }
.lot-check {
  width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 6px;
  border: 2px solid var(--muted); font-size: 14px; color: #2b1d00;
}
.lot-draw.on .lot-check { border-color: var(--gold); background: var(--gold); }
.lot-time { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); }

/* sonhos */
.dream-row { align-items: center; }
.dream-row > .strong { flex: 1; }
.dream-bicho { text-align: right; }
.dream-bicho p { margin: 0; font-weight: 700; }
.dream-bicho .hint { font-size: 12px; font-weight: 500; }
.dream-form { display: grid; gap: 10px; margin-top: 12px; }
.dream-form input, .dream-form select, .dream-edit input, .dream-edit select {
  width: 100%; padding: 12px 14px; font-size: 16px; color: var(--text);
  background: rgba(0, 0, 0, 0.25); border: 1.5px solid var(--line); border-radius: 12px; outline: none;
}
.dream-form select option, .dream-edit select option { background: var(--bg-2); }
.dream-form .btn-primary { margin-top: 0; }
.dream-edit { flex-direction: column; background: rgba(246, 197, 68, 0.06); }
.row-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.row-actions .btn-ghost, .row-actions .btn-primary { margin-top: 0; padding: 9px 12px; font-size: 14px; width: auto; }
.btn-ghost.neutral { color: var(--text); }
.dream-edit .row-actions { justify-content: flex-end; }
.admin-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs .tab { flex: 1 0 auto; padding: 10px 12px; font-size: 14px; }

/* notificações */
.menu-btn { position: relative; }
.menu-btn .dot { position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); border: 2px solid var(--surface); }
.menu .count { margin-left: auto; min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 800; text-align: center; }
.notices .card { margin-top: 0; }
.notices .card + .card { margin-top: 12px; }
.notice.new { border-color: rgba(246, 197, 68, 0.5); }
.notice-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.notice-head .strong, .notice-row .strong { margin: 0; }
.notice-body { margin: 6px 0 8px !important; color: var(--text) !important; white-space: pre-line; overflow-wrap: anywhere; }
.notice-row { align-items: flex-start; }
.notice-row > div { min-width: 0; }
.notice-row .btn-ghost { flex: none; padding: 8px 12px; font-size: 14px; }
.dream-form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text); resize: vertical;
  background: rgba(0, 0, 0, 0.25); border: 1.5px solid var(--line); border-radius: 12px; outline: none;
}
.dream-form textarea:focus, .dream-form input:focus, .dream-form select:focus { border-color: var(--gold); }

/* páginas de texto */
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.page-head .btn-ghost { padding: 8px 14px; font-size: 14px; }
.rich h3 { margin: 18px 0 8px; font-size: 17px; color: var(--gold); }
.rich h3:first-child { margin-top: 0; }
.rich p { margin: 0 0 10px; color: var(--text); }
.rich ul { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; }
.rich strong { color: var(--gold); }
.page-form label { display: grid; gap: 6px; }
.page-form textarea { font-size: 15px; line-height: 1.5; }
.page-actions { justify-content: flex-end; }

/* minha conta / push */
.card .dream-form { margin-top: 12px; }
.push-card { margin-top: 14px; margin-bottom: 14px; }
.push-card p { margin: 4px 0 0; }
.push-card a { color: var(--gold); text-decoration: underline; }
.push-card .btn-primary, .push-card .btn-ghost { margin-top: 12px; width: 100%; padding: 12px; }

/* usuários (admin) */
.user-row { flex-direction: column; }
.user-info { display: flex; justify-content: space-between; gap: 12px; }
.user-actions { flex-wrap: wrap; }
.user-row.blocked .strong { opacity: 0.6; }
.status.blocked { background: rgba(255, 122, 107, 0.18); color: var(--danger); }
.status:not(.pending):not(.confirmed):not(.blocked) { background: var(--surface-2); color: var(--muted); }
.temp-pass { border-color: rgba(246, 197, 68, 0.5); margin-bottom: 14px; }
.temp-value { margin: 8px 0 !important; font-size: 26px; font-weight: 800; color: var(--gold) !important; letter-spacing: 0.08em; }
.temp-pass .row-actions { margin-top: 12px; }

/* resumo do jogo */
.review .sum-row { gap: 16px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.review .sum-row strong { text-align: right; }
.review-picks { padding: 10px 0; border-bottom: 1px solid var(--line); }
.review-picks > span { display: block; margin-bottom: 8px; font-size: 15px; color: var(--muted); }
.review-picks .chips { margin-bottom: 0; }
.review-picks .chip { padding: 6px 12px; }
.ticket-head { text-align: center; margin: 8px 0 16px; }
.ticket-check {
  display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%;
  font-size: 34px; font-weight: 800; color: #2b1d00; background: linear-gradient(180deg, var(--gold), var(--gold-2));
  box-shadow: 0 8px 24px rgba(246, 197, 68, 0.3);
}
.ticket-head .section-title { margin: 0 0 4px; font-size: 22px; }
.ticket-head .hint { margin: 0; }
.demo-tag { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, 0.06); }
.ticket { border-style: dashed; border-color: rgba(246, 197, 68, 0.35); }
.ticket-btn { display: block; width: 100%; margin-top: 14px; padding: 15px; text-align: center; }
.ticket-home { border-radius: 14px; font-weight: 700; }

/* baixar app */
.app-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.app-hero img { border-radius: 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.app-hero p { margin: 0; }
.app-hero .strong { font-size: 20px; }
.steps { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 10px; color: var(--text); }
.steps strong { color: var(--gold); }

/* drawer */
.backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 0.2s; }
.backdrop.show { opacity: 1; }
.drawer {
  position: fixed; z-index: 30; top: 0; bottom: 0; left: 0; width: min(86vw, 340px);
  display: flex; flex-direction: column;
  padding: calc(16px + var(--safe-top)) 0 var(--safe-bottom);
  background: var(--bg-2); border-right: 1px solid var(--line);
  transform: translateX(-100%); transition: transform 0.25s ease; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 0 16px 14px; border-bottom: 1px solid var(--line); }
.drawer-hello { margin: 0; color: var(--muted); font-size: 14px; }
.drawer-title { margin: 2px 0 0; font-size: 20px; font-weight: 800; color: var(--gold); }
.menu { list-style: none; margin: 0; padding: 8px 8px 16px; overflow-y: auto; flex: 1; }
.menu a, .menu button {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 12px;
  border: 0; border-radius: 12px; background: none; text-align: left; font-size: 16px; font-weight: 500;
}
.menu a:active, .menu button:active, .menu a.active { background: var(--surface); }
.menu a.active { color: var(--gold); }
.menu svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.menu .sep { height: 1px; margin: 6px 12px; background: var(--line); }
.menu .logout svg, .menu .logout { color: var(--danger); }

/* pages */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card + .card { margin-top: 14px; }
.card h2 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.pix-big { margin-top: 14px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.25); }
.pix-big dt { font-size: 13px; color: var(--muted); }
.pix-big dd { margin: 2px 0 10px; font-weight: 700; font-size: 17px; word-break: break-all; }
.pix-big dd:last-child { margin-bottom: 0; }
.card .btn-primary { width: 100%; margin-top: 14px; }
.soon { text-align: center; padding: 28px 18px; }
.soon img { width: 140px; height: 140px; border-radius: 28px; margin: 0 auto 16px; }
.soon .badge { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(246, 197, 68, 0.15); color: var(--gold); }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--muted); font-weight: 600; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + var(--safe-bottom)); z-index: 40;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; background: #fff; color: #062a1f; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); transition: all 0.2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: 0.01ms !important; }
}
