/* =====================================================================
   Coringou — identidade visual
   Noite roxa de carteado, rosa coringa, amarelo sol, feltro piscina.
   Carregado por último: redefine as variáveis e os componentes do app.
   ===================================================================== */
/* Fontes servidas pelo próprio site (licença SIL OFL — ver css/fonts/LICENCAS.md). Só o subconjunto latino, que inclui os acentos do português. */
@font-face {
  font-family: 'Bagel Fat One';
  src: url('/css/fonts/BagelFatOne-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/css/fonts/Figtree-latin.woff2') format('woff2');
  font-weight: 400 800; font-style: normal; font-display: swap;
}

:root {
  --noite: #1B0B3A;
  --uva: #2C1660;
  --uva-2: #3A1D7A;
  --pink: #FF3D7F;
  --pink-dark: #B3164F;
  --sol: #FFC93C;
  --piscina: #16B8A8;
  --papel: #FFF7EC;
  --tinta: #1B0B3A;
  --muted: #C9B8EE;
  --line: rgba(255, 247, 236, .12);

  /* variáveis usadas pela mesa (style.css) */
  --felt: #4B23A0;
  --felt-dark: #1F0B4F;
  --wood: #12072A;
  --gold: var(--sol);
  --ink: var(--tinta);
  --you: #3BE3B4;
  --bot: #FF6B8E;

  --display: 'Bagel Fat One', 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-family: var(--body);
  color-scheme: dark;
}

/* Fundo: noite com naipes bem apagados, como o verso de uma toalha de jogo. */
body {
  background-color: var(--noite);
  background-image:
    radial-gradient(60rem 40rem at 110% -10%, rgba(255, 61, 127, .22), transparent 60%),
    radial-gradient(40rem 30rem at -20% 110%, rgba(22, 184, 168, .14), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23FFF7EC' fill-opacity='.035' font-family='Arial' font-size='22'%3E%3Ctext x='8' y='30'%3E%E2%99%A0%3C/text%3E%3Ctext x='68' y='30'%3E%E2%99%A5%3C/text%3E%3Ctext x='38' y='90'%3E%E2%99%A6%3C/text%3E%3Ctext x='98' y='90'%3E%E2%99%A3%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--papel);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 2px; border-radius: 10px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--papel); text-decoration: none; }
.logo-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 4px 10px rgba(255, 61, 127, .35)); }
.logo-word { font-family: var(--display); font-size: 1.6rem; line-height: 1; letter-spacing: .01em; }
.logo.small .logo-mark { width: 32px; height: 32px; }
.logo.small .logo-word { font-size: 1.3rem; }

/* ---------- botões ---------- */
.btn {
  font-family: var(--body); font-weight: 800; letter-spacing: .01em;
  border-radius: 14px; padding: 12px 22px;
  transition: transform .12s ease, box-shadow .12s ease, filter .2s, background .2s;
}
.btn-primary {
  background: var(--pink); color: var(--tinta);
  box-shadow: 0 4px 0 var(--pink-dark);
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.06); }
.btn-primary:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--pink-dark); }
.btn-ghost { background: transparent; color: var(--papel); border: 2px solid rgba(255, 247, 236, .3); }
.btn-ghost:hover { border-color: var(--papel); }
.btn-big { padding: 16px 26px; font-size: 1.05rem; border-radius: 16px; }
.btn-small { padding: 8px 16px; font-size: .9rem; border-radius: 12px; }
.btn-truco {
  font-family: var(--display); font-weight: 400; letter-spacing: .04em;
  background: var(--sol); color: var(--tinta); box-shadow: 0 4px 0 #B8860B;
}
.btn-whatsapp { box-shadow: 0 4px 0 #128C4A; border-radius: 16px; }
.btn-danger { background: var(--bot); color: var(--tinta); }
.link-btn { color: var(--sol); }
.icon-btn { background: rgba(255, 247, 236, .08); color: var(--papel); border-radius: 12px; }

/* ---------- site para visitantes ---------- */
.landing.screen { max-width: none; animation: none; }
.land-top, .hero, .land-section, .land-foot, .landing .ticker { width: 100%; max-width: 1080px; margin-inline: auto; }
.land-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; }

.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px;
  padding: 24px 20px 40px; min-height: min(78vh, 720px);
}
.hero-title {
  margin: 0 0 18px; font-size: clamp(2.8rem, 7.6vw, 5.4rem); line-height: .95;
  color: var(--papel); text-shadow: 5px 5px 0 var(--pink);
  max-width: 11ch;
}
.hero-lead { font-size: 1.15rem; line-height: 1.55; color: var(--muted); max-width: 46ch; margin: 0 0 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.live { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: .95rem; }
.live b { color: var(--papel); font-variant-numeric: tabular-nums; }
.live.small { font-size: .82rem; }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--piscina);
  box-shadow: 0 0 0 0 rgba(22, 184, 168, .7); animation: live 2s infinite;
}
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(22, 184, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 184, 168, 0); } }

/* A carta coringa: o momento marcante da página. As cartas abrem em leque uma vez ao carregar. */
.hero-art { position: relative; height: 400px; --w: 168px; --h: 236px; }
.h-card {
  position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  border-radius: 16px; background: var(--papel); color: var(--tinta);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  animation: fan .9s cubic-bezier(.2, .9, .25, 1.15) backwards;
}
.h-back {
  --x: -96px; --y: 14px; --r: -18deg; animation-delay: .05s;
  background: repeating-linear-gradient(45deg, var(--pink) 0 8px, #E62E6D 8px 16px);
  border: 6px solid var(--papel);
}
.h-ace { --x: -40px; --y: -10px; --r: -7deg; animation-delay: .15s; }
.h-seven { --x: 40px; --y: -6px; --r: 8deg; animation-delay: .25s; color: #D7263D; }
.h-joker {
  --x: 70px; --y: 26px; --r: 14deg; animation: fan .9s cubic-bezier(.2, .9, .25, 1.15) .38s backwards, wobble 1s ease .95s 1;
  width: calc(var(--w) * 1.08); height: calc(var(--h) * 1.08);
  border: 4px solid transparent;
  background: linear-gradient(var(--papel), var(--papel)) padding-box, linear-gradient(135deg, var(--pink), var(--sol), var(--piscina)) border-box;
  display: grid; place-items: center; grid-template-rows: 1fr auto; padding: 10px 8px 14px;
}
.c-corner { position: absolute; top: 8px; left: 10px; display: flex; flex-direction: column; align-items: center; font-weight: 800; font-size: 1.5rem; line-height: 1; }
.c-corner i { font-style: normal; font-size: 1.1rem; }
.c-pip { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4.4rem; }
.joker-corner { color: var(--pink); font-family: var(--display); font-weight: 400; }
.jester { width: 78%; margin-top: 18px; }
.joker-word { font-family: var(--display); color: var(--pink); font-size: 1.5rem; }
@keyframes fan { from { transform: translate(0, 40px) rotate(0deg) scale(.9); opacity: 0; } }
@keyframes wobble { 30% { transform: translate(var(--x), var(--y)) rotate(calc(var(--r) - 6deg)) scale(1.04); } 60% { transform: translate(var(--x), var(--y)) rotate(calc(var(--r) + 3deg)); } }

/* Faixa de vencedores recentes */
.ticker {
  overflow: hidden; border-block: 1px solid var(--line); background: rgba(44, 22, 96, .6);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.landing .ticker { max-width: none; }
.ticker-track { display: flex; gap: 40px; width: max-content; padding: 12px 0; animation: ticker 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { white-space: nowrap; color: var(--muted); font-size: .95rem; }
.ticker-track b { color: var(--sol); }
.ticker.small { border-radius: 14px; border: 1px solid var(--line); }
@keyframes ticker { to { transform: translateX(-50%); } }

.land-section { padding: 56px 20px 8px; }
.land-section h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 18px; }

.game-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.game-card {
  position: relative; background: var(--papel); color: var(--tinta);
  border-radius: 18px; padding: 22px 20px 24px; min-height: 190px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
  transform: rotate(var(--r, 0deg)); transition: transform .2s ease;
}
.game-card:nth-child(1) { --r: -1.5deg; }
.game-card:nth-child(2) { --r: 1deg; }
.game-card:nth-child(3) { --r: -.6deg; }
.game-card:hover { transform: rotate(0) translateY(-4px); }
.game-card h3 { margin: 30px 0 8px; font-size: 1.5rem; }
.game-card p { margin: 0; line-height: 1.5; color: #4A3A6B; }
.gc-suit { position: absolute; top: 14px; left: 18px; font-size: 1.8rem; line-height: 1; }
.game-card.paulista .gc-suit, .game-card.soon .gc-suit { color: #D7263D; }
.game-card.soon { background: #E9DFF7; }
.game-card.soon::after {
  content: "Em breve"; position: absolute; top: 14px; right: 14px;
  background: var(--sol); color: var(--tinta); font-weight: 800; font-size: .8rem;
  padding: 4px 10px; border-radius: 999px; transform: rotate(4deg);
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: passo; }
.steps li {
  counter-increment: passo; position: relative; padding: 64px 20px 22px;
  background: var(--uva); border: 1px solid var(--line); border-radius: 18px; line-height: 1.5; color: var(--muted);
}
.steps li b { display: block; color: var(--papel); margin-bottom: 4px; font-size: 1.05rem; }
.steps li::before {
  content: counter(passo); position: absolute; top: 16px; left: 20px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sol); color: var(--tinta); font-family: var(--display); font-size: 1.25rem;
}

.prize-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.prize-list li {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px;
  background: var(--uva); border: 1px solid var(--line); border-radius: 14px;
}
.pl-in { color: var(--muted); font-size: .9rem; }
.pl-in b { color: var(--papel); }
.pl-out b { font-family: var(--display); font-weight: 400; color: var(--sol); font-size: 1.35rem; }

.land-auth { max-width: 460px; padding-bottom: 32px; }
.land-auth .tabs { margin-bottom: 16px; }
.land-auth .form { background: var(--uva); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }

.land-foot { padding: 32px 20px 48px; border-top: 1px solid var(--line); margin-top: 40px; font-size: .9rem; }
.land-foot .age { display: flex; gap: 12px; align-items: center; color: var(--muted); max-width: 60ch; }
.age-badge {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--pink); color: var(--pink); font-weight: 800;
}

/* ---------- formulários e abas ---------- */
.tabs { background: rgba(255, 247, 236, .06); border-radius: 14px; }
.tabs button { color: var(--papel); font-family: var(--body); }
.tabs button[aria-selected="true"] { background: var(--papel); color: var(--tinta); }
.form input, .code-card input {
  background: rgba(27, 11, 58, .6); border: 1.5px solid rgba(255, 247, 236, .18); color: var(--papel); border-radius: 12px;
}
.form input:focus, .code-card input:focus { border-color: var(--sol); background: rgba(27, 11, 58, .9); }
.form-error { color: var(--bot); }

/* ---------- app: cabeçalho, saldo ---------- */
.screen { max-width: 560px; }
.app-header { background: linear-gradient(180deg, rgba(27, 11, 58, .95), rgba(27, 11, 58, 0)); }
.balance-pill {
  font: inherit; font-weight: 800; cursor: pointer; border: none;
  background: var(--sol); color: var(--tinta); padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 3px 0 #B8860B; font-variant-numeric: tabular-nums;
}
.balance-pill:active { transform: translateY(2px); box-shadow: 0 1px 0 #B8860B; }
.avatar-btn { background: var(--pink); color: var(--tinta); border-color: rgba(255, 247, 236, .4); font-family: var(--display); font-weight: 400; }
.avatar-lg { background: var(--pink) !important; color: var(--tinta) !important; font-family: var(--display); }
.page-title { font-size: 1.6rem; }
.section-title { font-family: var(--display); font-weight: 400; font-size: 1.2rem; opacity: 1; }

.balance-card {
  background: linear-gradient(135deg, var(--uva-2), var(--uva));
  border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}
.balance-card .value { font-family: var(--display); font-weight: 400; color: var(--sol); }
.btn-deposit { background: var(--sol) !important; color: var(--tinta) !important; }

.resume-banner { background: var(--sol); color: var(--tinta); font-weight: 700; }

/* ---------- jogar rápido ---------- */
.quick {
  background: var(--uva); border: 1px solid var(--line); border-radius: 24px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
}
.quick h2 { margin: 0; font-size: 1.45rem; line-height: 1.15; }
.quick-note { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }

.seg { display: flex; gap: 4px; padding: 4px; background: rgba(27, 11, 58, .7); border-radius: 14px; }
.seg button {
  flex: 1; font: inherit; font-weight: 700; color: var(--muted); background: none; border: none; cursor: pointer;
  padding: 10px 12px; border-radius: 10px; transition: background .2s, color .2s;
}
.seg button[aria-pressed="true"] { background: var(--papel); color: var(--tinta); }
.seg-small button { padding: 7px 10px; font-size: .88rem; }
.seg-block { flex-direction: column; }
@media (min-width: 420px) { .seg-block { flex-direction: row; } }

.entradas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.entrada {
  font: inherit; cursor: pointer; color: var(--papel);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 4px; border-radius: 14px; background: var(--uva-2); border: 2px solid transparent;
  transition: border-color .15s, background .15s, transform .12s;
}
.entrada b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.entrada small { font-size: .68rem; color: var(--muted); white-space: nowrap; }
.entrada:active { transform: scale(.96); }
.entrada[aria-pressed="true"] { border-color: var(--sol); background: rgba(255, 201, 60, .12); }
.entrada[aria-pressed="true"] b { color: var(--sol); }

/* ---------- salão de mesas: cada mesa é uma mini mesa de feltro ---------- */
.lobby { display: flex; flex-direction: column; gap: 12px; }
.lobby-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lobby-head h2 { margin: 0; font-size: 1.35rem; }
.mesas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.mesa { display: flex; flex-direction: column; gap: 8px; }
.felt {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
  padding: 16px 14px; border-radius: 999px;
  background: radial-gradient(ellipse at 50% 40%, #1FCBB9, #0E8F86 55%, #08625C);
  border: 6px solid #12072A;
  box-shadow: inset 0 0 22px rgba(0, 0, 0, .35), 0 10px 24px rgba(0, 0, 0, .35);
}
.mesa.paulista .felt { background: radial-gradient(ellipse at 50% 40%, #FF6A9B, #D6336C 55%, #8E1846); }
.chair {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font: inherit; font-weight: 800; font-size: .78rem;
}
.chair.taken { background: var(--papel); color: var(--tinta); font-family: var(--display); font-weight: 400; font-size: 1.4rem; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.chair.empty, .chair.mine { cursor: pointer; border: 2px dashed var(--papel); background: rgba(27, 11, 58, .35); color: var(--papel); transition: transform .15s, background .15s; }
.chair.empty { animation: chair 2.4s ease-in-out infinite; }
.chair.empty:hover { transform: scale(1.08); background: var(--sol); color: var(--tinta); border-style: solid; animation: none; }
.chair.mine { border-style: solid; border-color: var(--sol); color: var(--sol); font-size: .7rem; line-height: 1.1; padding: 4px; }
@keyframes chair { 50% { box-shadow: 0 0 0 6px rgba(255, 247, 236, .14); } }
.pot { text-align: center; line-height: 1.1; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.pot b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--papel); }
.pot small { font-size: .74rem; color: rgba(255, 247, 236, .9); font-weight: 600; }
.mesa-info { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; }
.mesa-info strong { font-size: .95rem; }
.mesa-info small { color: var(--muted); font-size: .8rem; }
.mesas-empty {
  grid-column: 1 / -1; text-align: center; padding: 26px 16px; border-radius: 20px;
  border: 2px dashed rgba(255, 247, 236, .2); color: var(--muted);
}
.mesas-empty p { margin: 0 0 12px; }

.home-actions { display: flex; flex-direction: column; gap: 10px; }
.menu-card { background: rgba(44, 22, 96, .7); border-color: var(--line); border-radius: 18px; }
.menu-card:hover { background: var(--uva); }
.menu-card.primary { background: var(--uva-2); border-color: rgba(255, 201, 60, .45); }
.menu-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: rgba(255, 247, 236, .08); font-size: 1.3rem; font-weight: 800; color: var(--sol);
}

/* ---------- janela "abrir mesa" ---------- */
.overlay { background: rgba(14, 5, 32, .72); }
.panel { background: var(--uva); border: 1px solid var(--line); border-radius: 26px; }
.overlay.sheet { place-items: end center; padding: 0; }
.overlay.sheet .panel {
  max-width: 520px; border-radius: 26px 26px 0 0; text-align: left; padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
  animation: sheet .3s cubic-bezier(.2, .9, .3, 1);
}
@media (min-width: 640px) { .overlay.sheet { place-items: center; padding: 20px; } .overlay.sheet .panel { border-radius: 26px; } }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
.create-panel h2 { font-size: 1.6rem; margin-bottom: 14px; }
.create-panel fieldset { border: none; margin: 0 0 16px; padding: 0; }
.create-panel legend { font-weight: 700; color: var(--muted); font-size: .88rem; margin-bottom: 8px; padding: 0; }
.create-panel .hint { margin-top: 8px; }
.pick-games { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick {
  position: relative; font: inherit; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; padding: 40px 14px 14px;
  background: var(--uva-2); color: var(--papel); border: 2px solid transparent; border-radius: 16px;
}
.pick .gc-suit { top: 12px; left: 14px; font-size: 1.4rem; }
.pick small { color: var(--muted); font-size: .8rem; }
.pick[aria-pressed="true"] { background: var(--papel); color: var(--tinta); border-color: var(--sol); }
.pick[aria-pressed="true"] small { color: #4A3A6B; }
.pick[data-create-modo="paulista"] .gc-suit { color: #FF6B8E; }
.pick[aria-pressed="true"][data-create-modo="paulista"] .gc-suit { color: #D7263D; }
.create-sum { margin: 4px 0 14px; color: var(--muted); }
.create-sum b { color: var(--sol); }

/* ---------- sala esperando, convite ---------- */
.waiting-cards span { background: repeating-linear-gradient(45deg, var(--pink) 0 6px, #E62E6D 6px 12px); border-color: var(--papel); }
.waiting h2 { font-size: 1.6rem; }
.invite-title { font-size: 1.6rem; }
.invite-title span:first-child { color: var(--sol); }
.invite-prize { background: var(--uva); border-color: var(--line); border-radius: 20px; }
.invite-prize b { font-family: var(--display); font-weight: 400; }
.invite-prize div:last-child b { color: var(--sol); }
.brand.small .logo-mark { width: 72px; height: 72px; }

/* ---------- extrato, histórico, perfil ---------- */
.statement li, .history .match, .profile-data { background: rgba(44, 22, 96, .7) !important; }
.statement .pos, .pos { color: var(--you); }
.statement .neg, .neg { color: var(--bot); }

/* ---------- menu inferior ---------- */
.bottom-nav { background: linear-gradient(180deg, rgba(44, 22, 96, .96), rgba(27, 11, 58, .98)); border-top-color: var(--line); }
.nav-item[aria-current="page"] { color: var(--sol); }

/* ---------- mesa de jogo ---------- */
.topbar h1 span, #mode-name { color: var(--sol); }
.table {
  border-color: var(--wood);
  background: radial-gradient(ellipse at center, #6A35D0 0%, var(--felt) 45%, var(--felt-dark) 100%);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .55), 0 0 0 2px rgba(255, 61, 127, .35), 0 14px 40px rgba(0, 0, 0, .6);
}
.deck, .card-back { background: repeating-linear-gradient(45deg, var(--pink) 0 6px, #E62E6D 6px 12px); }
.card-front { background: linear-gradient(160deg, #FFFDF8, var(--papel)); }
.card.joker .card-front { color: #9B1D5C; background: linear-gradient(160deg, #FFFDF8, #FFE3EE); }
.stake.hot { background: var(--sol); }
.team .pts { font-family: var(--display); font-weight: 400; }
.shout { font-family: var(--display); font-weight: 400; color: var(--sol); text-shadow: 5px 5px 0 var(--pink), 0 0 40px rgba(0, 0, 0, .8); }
.bubble { font-family: var(--display); font-weight: 400; }
.toast { background: rgba(27, 11, 58, .92); border: 1px solid var(--line); }
.timer { background: rgba(255, 247, 236, .1); }
.mode[aria-pressed="true"] { border-color: var(--sol); background: rgba(255, 201, 60, .12); }
#gameover.won .title { color: var(--sol); }
.panel h2 { font-family: var(--display); font-weight: 400; }

/* ---------- celular ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 4px; gap: 4px; }
  .hero-art { order: -1; height: 300px; --w: 124px; --h: 174px; }
  .h-back { --x: -74px; } .h-ace { --x: -30px; } .h-seven { --x: 30px; } .h-joker { --x: 52px; --y: 20px; }
  .hero-title { text-shadow: 4px 4px 0 var(--pink); }
  .game-cards, .steps { grid-template-columns: 1fr; }
  .game-card { min-height: 0; }
  .land-section { padding-top: 44px; }
}
@media (max-width: 400px) {
  .entradas { grid-template-columns: repeat(3, 1fr); }
  .salao-head .logo-word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; overflow-x: auto; }
  .ticker { overflow-x: auto; }
  .h-card, .h-joker, .chair.empty, .live-dot { animation: none !important; }
}
