/* =====================================================================================
   Lipy Games — identidade "Crocante Pop"
   Inspiração: embalagem de salgadinho. Roxo profundo + amarelo/laranja queijo, tipografia
   gorda (Lilita One), contornos grossos, sombras "duras" de adesivo, retícula (halftone),
   raios de sol, grão de papel, borda serrilhada de pacote e salgadinhos flutuando.
   ===================================================================================== */
:root {
  /* paleta da marca */
  --roxo-900: #22083b;   /* tinta: textos e contornos */
  --roxo-800: #34105a;
  --roxo-700: #4b1677;
  --roxo-600: #6b2fa0;   /* roxo Lipy (logo) */
  --roxo-400: #9b5de5;
  --roxo-100: #efe4fb;
  --amarelo: #ffd23f;    /* amarelo Lipy (letras do logo) */
  --amarelo-700: #e0a800;
  --laranja: #ff7a00;    /* salgadinho */
  --queijo: #ffb627;
  --creme: #fff4dc;      /* fundo tipo papel da embalagem */
  --creme-2: #ffe7b0;
  --azul: #2d6cdf;       /* jeans do mascote */
  --verde: #2f9e44;
  --vermelho: #e5383b;

  --ink: var(--roxo-900);
  --ink-2: #4d3966;
  --muted: #7d6a92;
  --line: #e9d9bd;
  --card: #fffdf7;
  --bg: var(--creme);

  --stroke: 3px solid var(--ink);
  --pop: 0 6px 0 var(--ink);
  --pop-sm: 0 4px 0 var(--ink);
  --radius: 22px;
  --display: 'Lilita One', 'Baloo 2', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --safe-b: env(safe-area-inset-bottom);

  /* texturas reutilizáveis */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.13 0 0 0 0 0.03 0 0 0 0 0.23 0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --halftone-light: radial-gradient(circle, rgba(255, 255, 255, .16) 1.6px, transparent 2.2px);
  --halftone-ink: radial-gradient(circle, rgba(34, 8, 59, .08) 1.4px, transparent 2px);
  --dust: radial-gradient(circle at 20% 30%, rgba(255, 122, 0, .18) 1.5px, transparent 2.5px),
          radial-gradient(circle at 70% 80%, rgba(255, 182, 39, .22) 1.2px, transparent 2px),
          radial-gradient(circle at 85% 15%, rgba(255, 122, 0, .14) 1px, transparent 2px);
  --star: polygon(50% 0%, 59.1% 10%, 71.7% 5%, 75.6% 17.9%, 89.1% 18.8%, 86.9% 32.2%, 98.7% 38.9%, 91% 50%, 98.7% 61.1%, 86.9% 67.8%, 89.1% 81.2%, 75.6% 82.1%, 71.7% 95%, 59.1% 90%, 50% 100%, 40.9% 90%, 28.3% 95%, 24.4% 82.1%, 10.9% 81.2%, 13.1% 67.8%, 1.3% 61.1%, 9% 50%, 1.3% 38.9%, 13.1% 32.2%, 10.9% 18.8%, 24.4% 17.9%, 28.3% 5%, 40.9% 10%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 600 16px/1.5 var(--body);
  background-color: var(--bg);
  background-image: var(--grain), url('/img/padrao-lipy.png'), var(--dust);
  background-size: 180px 180px, 280px 280px, 120px 120px;
  padding-bottom: calc(86px + var(--safe-b));
  min-height: 100vh;
}
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .3px; }
h1 { font-size: clamp(34px, 7vw, 60px); }
h2 { font-size: clamp(24px, 4vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 .8em; }
a { color: var(--roxo-600); font-weight: 800; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 8px; }

/* Texto "embalagem": amarelo com contorno e extrusão roxa */
.pack-text {
  color: var(--amarelo);
  -webkit-text-stroke: 2px var(--roxo-900);
  paint-order: stroke fill;
  text-shadow: 0 3px 0 var(--roxo-900), 0 6px 0 var(--roxo-800), 0 9px 14px rgba(0, 0, 0, .25);
}
.squiggle { position: relative; display: inline-block; }
.squiggle::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='12' viewBox='0 0 40 12'><path d='M0 6 Q10 0 20 6 T40 6' fill='none' stroke='%23ff7a00' stroke-width='4' stroke-linecap='round'/></svg>") repeat-x 0 0 / 40px 12px;
}

/* ---------------------------------------------------------------- topo (borda serrilhada de pacote) */
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px;
  padding: 10px 18px; padding-top: max(10px, env(safe-area-inset-top)); color: #fff;
  background: var(--halftone-light) 0 0 / 14px 14px, linear-gradient(180deg, var(--roxo-600), var(--roxo-700));
}
.topbar::after { /* serrilhado da embalagem */
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px;
  background: radial-gradient(circle at 8px 0, var(--roxo-700) 8px, transparent 8.5px) 0 0 / 16px 10px repeat-x;
}
.topbar .logo { height: 46px; display: block; transform: rotate(-4deg); filter: drop-shadow(0 3px 0 var(--roxo-900)); transition: transform .2s; }
.topbar a:hover .logo { transform: rotate(2deg) scale(1.05); }
.topbar .nav { display: none; gap: 6px; margin-left: 12px; }
.topbar .nav a, .tabbar a { color: inherit; text-decoration: none; }
.topbar .nav a { font: 400 18px var(--display); padding: 6px 14px; border-radius: 999px; letter-spacing: .4px; opacity: .9; }
.topbar .nav a:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.topbar .nav a.active { background: var(--amarelo); color: var(--ink); box-shadow: 0 3px 0 var(--roxo-900); opacity: 1; }
.topbar .user { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 14px;
  background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font: 400 16px var(--display); letter-spacing: .3px;
}
.pill.yellow { background: var(--amarelo); color: var(--ink); border: 2px solid var(--roxo-900); box-shadow: 0 3px 0 var(--roxo-900); }

/* barra inferior (mobile): cápsula flutuante */
.tabbar {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b));
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px;
  background: var(--roxo-700); border: var(--stroke); border-radius: 24px; box-shadow: var(--pop);
  background-image: var(--halftone-light); background-size: 12px 12px;
}
.tabbar a { display: flex; flex-direction: column; align-items: center; padding: 6px 0 4px; font-size: 11px; font-weight: 800; color: #d9c6f2; border-radius: 18px; }
.tabbar a .ico { font-size: 22px; line-height: 1.1; }
.tabbar a.active { background: var(--amarelo); color: var(--ink); }
@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .topbar .nav { display: flex; }
  .tabbar { display: none; }
}

main { max-width: 1140px; margin: 0 auto; padding: 22px 16px 32px; }
.section { margin: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* ---------------------------------------------------------------- botões (3D de adesivo) */
.btn {
  --b: var(--roxo-600); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none;
  min-height: 48px; padding: 10px 22px; border-radius: 16px; border: var(--stroke);
  background: var(--b); color: var(--c); box-shadow: var(--pop);
  font: 400 19px/1 var(--display); letter-spacing: .5px; text-transform: uppercase;
  transition: transform .08s, box-shadow .08s, filter .15s;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.yellow { --b: var(--amarelo); --c: var(--ink); }
.btn.orange { --b: var(--laranja); --c: #fff; }
.btn.ghost { --b: var(--card); --c: var(--ink); }
.btn.danger { --b: var(--vermelho); }
.btn.sm { min-height: 36px; padding: 5px 14px; font-size: 15px; border-radius: 12px; border-width: 2px; box-shadow: var(--pop-sm); }
.btn.sm:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn.block { width: 100%; }

/* ---------------------------------------------------------------- cartões */
.card {
  background: var(--card); border: var(--stroke); border-radius: var(--radius); box-shadow: var(--pop); padding: 18px;
  position: relative;
}
.card.flat { box-shadow: none; border-width: 2px; border-color: var(--line); }
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 860px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* selos e badges */
.badge {
  display: inline-block; border-radius: 999px; padding: 2px 11px; font: 400 13px/1.5 var(--display); letter-spacing: .4px;
  background: var(--roxo-100); color: var(--roxo-700); border: 2px solid var(--ink);
}
.badge.live { background: #c9f5d3; color: #0d5a20; }
.badge.live::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1fae45; margin-right: 6px; animation: pulse 1.2s infinite; vertical-align: 1px; }
.badge.soon, .badge.pending { background: var(--amarelo); color: var(--ink); }
.badge.closed, .badge.cancelled { background: #e8e1ee; color: #5a4d66; }
.badge.delivered { background: #c9f5d3; color: #0d5a20; }
.badge.contacted { background: #d7e5ff; color: #173f8a; }
.star-sticker {
  display: inline-grid; place-items: center; text-align: center; width: 112px; height: 112px; padding: 14px;
  clip-path: var(--star); background: var(--laranja); color: #fff; font: 400 16px/1.05 var(--display);
  transform: rotate(-12deg); text-transform: uppercase; filter: drop-shadow(0 4px 0 var(--ink));
}

/* ---------------------------------------------------------------- formulários */
label { display: block; font-weight: 800; font-size: 14px; margin: 14px 0 6px; }
input, select, textarea {
  width: 100%; min-height: 50px; border: var(--stroke); border-radius: 14px; padding: 10px 14px; background: #fff;
  font-weight: 700; transition: box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--amarelo); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; }
.check input { width: 22px; min-height: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--roxo-600); border-width: 2px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row > * { flex: 1 1 140px; }
.otp { letter-spacing: 14px; font: 400 32px var(--display); text-align: center; }
.error { color: var(--vermelho); font-weight: 800; font-size: 14px; min-height: 1.2em; margin: 10px 0 0; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.tabs button, .tabs a {
  flex: none; border: 2px solid var(--ink); background: var(--card); border-radius: 999px; padding: 6px 16px; cursor: pointer;
  text-decoration: none; color: var(--ink); font: 400 16px var(--display); letter-spacing: .3px; box-shadow: 0 3px 0 var(--ink);
}
.tabs .active { background: var(--roxo-600); color: #fff; }
.tabs button:active, .tabs a:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }

/* ---------------------------------------------------------------- hero: camadas da embalagem */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border: var(--stroke); border-radius: 32px;
  box-shadow: 0 8px 0 var(--ink); padding: clamp(24px, 5vw, 56px); min-height: 420px; display: grid; align-content: center;
  background: linear-gradient(160deg, var(--roxo-600) 10%, var(--roxo-700) 60%, var(--roxo-800));
}
.hero .rays { /* raios de sol girando devagar */
  position: absolute; z-index: -3; width: 1600px; height: 1600px; right: -560px; top: 50%; translate: 0 -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 210, 63, .16) 0 9deg, transparent 9deg 18deg);
  border-radius: 50%; animation: spin 90s linear infinite;
  mask: radial-gradient(circle, #000 20%, transparent 62%);
}
.hero .dots { position: absolute; inset: 0; z-index: -2; background: var(--halftone-light) 0 0 / 16px 16px; mask: linear-gradient(110deg, transparent 30%, #000 85%); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .7; mix-blend-mode: overlay; pointer-events: none; }
.hero .content { position: relative; z-index: 2; max-width: 600px; }
.hero h1 { font-size: clamp(42px, 8.5vw, 84px); margin: 12px 0 14px; }
.hero h1 .white { color: #fff; -webkit-text-stroke: 0; text-shadow: 0 4px 0 var(--roxo-900); }
.hero p { font-size: clamp(16px, 2.2vw, 19px); max-width: 470px; color: #f1e6ff; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.hero .mascot {
  position: absolute; z-index: 1; right: clamp(-10px, 4vw, 70px); bottom: 18px; width: clamp(180px, 30vw, 330px);
  filter: drop-shadow(0 10px 0 rgba(34, 8, 59, .45)); animation: hop 2.6s ease-in-out infinite;
}
.hero .star-sticker { position: absolute; z-index: 3; right: clamp(150px, 28vw, 380px); top: 28px; }
.floaty { position: absolute; z-index: 0; width: var(--s, 64px); filter: drop-shadow(0 6px 0 rgba(34, 8, 59, .35)); animation: float var(--d, 6s) ease-in-out infinite; animation-delay: var(--dl, 0s); pointer-events: none; }
@media (max-width: 640px) {
  .hero { min-height: 560px; align-content: start; }
  .hero .mascot { right: 50%; translate: 50% 0; width: 200px; bottom: 14px; }
  .hero .star-sticker { right: 12px; top: auto; bottom: 170px; width: 92px; height: 92px; font-size: 13px; }
  .hero .floaty:nth-of-type(n+4) { display: none; }
  .hero .floaty { opacity: .8; }
  .hero .content { text-shadow: 0 2px 8px rgba(34, 8, 59, .5); }
}

/* faixa letreiro */
.marquee {
  position: relative; z-index: 2; margin: -18px -16px 0; overflow: hidden; background: var(--amarelo); border-block: var(--stroke);
  transform: rotate(-2deg); box-shadow: 0 6px 0 var(--ink);
}
.marquee .track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee span { font: 400 22px/1 var(--display); padding: 12px 0; white-space: nowrap; color: var(--ink); letter-spacing: .6px; }
.marquee span i { font-style: normal; color: var(--laranja); margin: 0 18px; }

/* como funciona */
.steps { counter-reset: s; }
.step { padding-top: 30px; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; top: -22px; left: 18px; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; font: 400 28px var(--display); background: var(--amarelo); border: var(--stroke); box-shadow: var(--pop-sm);
}
.step:nth-child(2)::before { background: var(--laranja); color: #fff; }
.step:nth-child(3)::before { background: var(--roxo-600); color: #fff; }
.step .ico { font-size: 34px; }

/* ---------------------------------------------------------------- cards de jogo ("cartucho") */
.game-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; }
.game-card:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 10px 0 var(--ink); }
.game-card .thumb { position: relative; border-bottom: var(--stroke); background: #cfe7fe; }
.game-card .thumb img { aspect-ratio: 16/9; object-fit: cover; width: 100%; display: block; transition: transform .4s; }
.game-card:hover .thumb img { transform: scale(1.06); }
.game-card .play {
  position: absolute; right: 14px; bottom: -26px; z-index: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amarelo); border: var(--stroke); box-shadow: var(--pop-sm); font-size: 22px; transition: transform .2s;
}
.game-card:hover .play { transform: scale(1.12) rotate(-8deg); }
.game-card .tag { position: absolute; left: 12px; top: 12px; }
.game-card .body { padding: 16px 18px 18px; display: grid; gap: 4px; flex: 1; }
.game-card .body h3 { font-size: 26px; margin: 0; }
.game-card .meta { font-size: 13px; color: var(--muted); font-weight: 800; }
.game-card.soon { background: var(--roxo-700); color: #fff; }
.game-card.soon .thumb { aspect-ratio: 16/9; display: grid; place-items: center; background: var(--halftone-light) 0 0 / 14px 14px, var(--roxo-600); }
.game-card.soon .thumb span { font: 400 90px var(--display); color: var(--amarelo); -webkit-text-stroke: 3px var(--ink); text-shadow: 0 6px 0 var(--ink); }
.game-card.soon .meta { color: #d9c6f2; }

/* ---------------------------------------------------------------- campeonato ("ticket") */
.ticket { display: grid; grid-template-columns: 92px 1fr; padding: 0; overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s; }
.ticket:hover { transform: translateY(-3px); }
.ticket .stub {
  display: grid; place-content: center; text-align: center; background: var(--laranja); color: #fff; border-right: 3px dashed var(--ink);
  background-image: var(--halftone-light); background-size: 10px 10px; padding: 10px 4px;
}
.ticket .stub b { font: 400 34px/1 var(--display); text-shadow: 0 3px 0 var(--ink); }
.ticket .stub span { font: 400 13px var(--display); letter-spacing: .5px; text-transform: uppercase; }
.ticket.global .stub { background-color: var(--roxo-600); }
.ticket .info { padding: 14px 16px; }
.ticket .info h3 { margin: 4px 0 6px; font-size: 22px; }

/* ---------------------------------------------------------------- pódio e ranking */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 10px; margin: 8px auto 18px; max-width: 620px; }
.podium .spot { text-align: center; min-width: 0; }
.podium .spot .who { font: 400 18px var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 6px; }
.podium .spot .pts { font-size: 13px; font-weight: 800; color: var(--muted); }
.podium .block {
  margin-top: 8px; border: var(--stroke); border-radius: 16px 16px 6px 6px; box-shadow: var(--pop-sm); display: grid; place-items: center;
  font: 400 40px var(--display); color: #fff; text-shadow: 0 3px 0 var(--ink); background-image: var(--halftone-light); background-size: 10px 10px;
}
.podium .p1 .block { height: 120px; background-color: var(--amarelo); color: var(--ink); text-shadow: none; }
.podium .p2 .block { height: 88px; background-color: #b7c3d4; }
.podium .p3 .block { height: 66px; background-color: #d08a52; }
.podium .avatar { width: 64px; height: 64px; margin: 0 auto; border-width: 3px; }
.podium .p1 .avatar { width: 84px; height: 84px; }
.podium .crown { font-size: 26px; display: block; margin-bottom: -6px; animation: hop 2s ease-in-out infinite; }

.rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rank-list li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 2px solid var(--line); border-radius: 16px; background: #fff; }
.rank-list .pos { width: 34px; text-align: center; font: 400 22px var(--display); color: var(--muted); }
.rank-list .pos.p1, .rank-list .pos.p2, .rank-list .pos.p3 { font-size: 24px; }
.rank-list .name { flex: 1; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list .score { font: 400 20px var(--display); font-variant-numeric: tabular-nums; }
.rank-list li.me { background: var(--amarelo); border: var(--stroke); box-shadow: var(--pop-sm); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--amarelo); border: 2px solid var(--ink); display: block;
  flex: none; overflow: hidden; position: relative;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .25) 1.2px, transparent 1.8px); background-size: 7px 7px;
}
.avatar img { position: absolute; left: 50%; bottom: -6%; width: 112%; max-width: none; translate: -50% 0; display: block; }
.avatar.xs { width: 26px; height: 26px; border-width: 2px; display: inline-block; vertical-align: middle; }
.tabbar .avatar.xs { width: 28px; height: 28px; }
.avatar-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.avatar-picker label { margin: 0; display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; font-size: 13px; }
.avatar-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.avatar-picker .avatar { width: 64px; height: 64px; }
.avatar-picker label:has(input:checked) { border: var(--stroke); background: var(--amarelo); box-shadow: var(--pop-sm); }
.avatar-picker label:has(input:focus-visible) { outline: 3px solid var(--azul); }

/* ---------------------------------------------------------------- cabeçalho de página */
.page-head {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border: var(--stroke); border-radius: 26px; box-shadow: var(--pop);
  padding: 26px 22px 24px; margin-bottom: 26px;
  background: var(--halftone-light) 0 0 / 14px 14px, linear-gradient(135deg, var(--roxo-600), var(--roxo-800));
}
.page-head::after {
  content: ''; position: absolute; z-index: -1; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 210, 63, .18) 0 10deg, transparent 10deg 20deg);
}
.page-head h1 { margin: 0; font-size: clamp(34px, 6vw, 54px); }
.page-head p { margin: 6px 0 0; color: #eadcfb; max-width: 560px; }
.page-head .art { position: absolute; right: 16px; bottom: -6px; width: clamp(90px, 16vw, 150px); filter: drop-shadow(0 6px 0 rgba(34, 8, 59, .4)); }
.page-head.orange { background-color: transparent; background-image: var(--halftone-light), linear-gradient(135deg, var(--laranja), #e85d04); }
@media (max-width: 560px) { .page-head { padding-right: 110px; } }

/* ---------------------------------------------------------------- stat tiles */
.stat { padding: 16px; overflow: hidden; }
.stat .v { font: 400 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.stat .l { font-size: 13px; font-weight: 800; margin-top: 4px; opacity: .85; }
.stat.c1 { background: var(--amarelo); }
.stat.c2 { background: var(--laranja); color: #fff; }
.stat.c3 { background: var(--roxo-600); color: #fff; }
.stat.c4 { background: var(--azul); color: #fff; }
.stat.c2 .v, .stat.c3 .v, .stat.c4 .v { text-shadow: 0 3px 0 var(--ink); }

/* conquistas */
.milestone { display: flex; gap: 14px; align-items: center; padding: 14px; }
.milestone .icon {
  font-size: 30px; width: 58px; height: 58px; flex: none; display: grid; place-items: center; clip-path: var(--star); background: var(--amarelo);
}
.milestone.locked { box-shadow: none; border-style: dashed; border-color: #c9b8a0; background: transparent; }
.milestone.locked .icon { background: #e6dccb; filter: grayscale(1); opacity: .6; }
.milestone.locked > div { opacity: .65; }

/* cartão do jogador */
.player-card {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: #fff; padding: 22px;
  background: var(--halftone-light) 0 0 / 14px 14px, linear-gradient(135deg, var(--roxo-600), var(--roxo-800));
}
.player-card .avatar { width: 104px; height: 104px; border-width: 3px; box-shadow: var(--pop-sm); }
.player-card h1 { margin: 0; font-size: clamp(32px, 6vw, 48px); }
.player-card .lp { margin-left: auto; text-align: right; }
.player-card .lp b { display: block; font: 400 44px/1 var(--display); color: var(--amarelo); text-shadow: 0 4px 0 var(--ink); }

/* ---------------------------------------------------------------- jogo em tela cheia */
body.playing { padding-bottom: 0; overflow: hidden; }
body.playing .tabbar, body.playing .topbar, body.playing footer { display: none; }
.player-shell { position: fixed; inset: 0; z-index: 50; background: var(--roxo-900); display: flex; flex-direction: column; }
.player-shell.running .player-close { display: none; }
.player-shell iframe { flex: 1; border: 0; width: 100%; height: 100%; display: block; background: #bfe0fb; }
.player-close {
  position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); top: max(8px, env(safe-area-inset-top));
  border: 2px solid var(--ink); border-radius: 999px; background: var(--amarelo); color: var(--ink); padding: 5px 16px;
  font: 400 15px var(--display); cursor: pointer; box-shadow: 0 3px 0 var(--ink);
}

/* ---------------------------------------------------------------- tabelas (gestão) */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px; border-bottom: 2px solid var(--line); vertical-align: top; }
th { font: 400 13px var(--display); letter-spacing: .6px; text-transform: uppercase; color: var(--ink-2); background: var(--creme); }
tbody tr:hover { background: #fffaf0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
code { background: var(--roxo-100); padding: 1px 6px; border-radius: 6px; font-size: 13px; }

/* gráfico de barras (série única) */
.chart { display: grid; grid-template-columns: 34px 1fr; gap: 8px; }
.chart .yaxis { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--muted); text-align: right; height: 170px; }
.chart .plot { position: relative; height: 170px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 2px solid var(--ink);
  background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 25%; }
.chart .bar { flex: 1; position: relative; height: 100%; display: flex; align-items: flex-end; }
.chart .bar i { display: block; width: 100%; max-width: 28px; margin: 0 auto; background: var(--roxo-600); border-radius: 4px 4px 0 0; min-height: 2px; }
.chart .bar:hover i { background: var(--laranja); }
.chart .bar .tip {
  display: none; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 3;
  background: var(--ink); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 8px; pointer-events: none;
}
.chart .bar:hover .tip { display: block; }
.chart .xaxis { grid-column: 2; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }

/* ---------------------------------------------------------------- toast, modal */
#toast {
  position: fixed; left: 50%; bottom: calc(100px + var(--safe-b)); transform: translateX(-50%) translateY(20px) rotate(-1deg); opacity: 0;
  background: var(--amarelo); color: var(--ink); border: var(--stroke); box-shadow: var(--pop-sm); padding: 10px 20px; border-radius: 16px;
  font: 400 17px var(--display); letter-spacing: .3px; z-index: 100; transition: all .25s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0) rotate(-1deg); }
@media (min-width: 860px) { #toast { bottom: 32px; } }
.modal-bg { position: fixed; inset: 0; background: rgba(34, 8, 59, .6); backdrop-filter: blur(3px); z-index: 90; display: grid; place-items: center; padding: 16px; animation: fade .15s; }
.modal { background: var(--card); border: var(--stroke); box-shadow: 0 8px 0 var(--ink); border-radius: 26px; padding: 22px; width: min(500px, 100%); max-height: 90vh; overflow: auto; animation: pop .25s cubic-bezier(.3, 1.5, .5, 1); }

/* ---------------------------------------------------------------- login */
.auth-wrap { max-width: 470px; margin: 0 auto; }
.auth-hero { text-align: center; padding-right: 22px; }
.auth-hero .art { position: static; width: 120px; display: block; margin: -4px auto 4px; }
.empty { text-align: center; padding: 26px; color: var(--muted); font-weight: 800; }
.prize { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 2px dashed var(--line); }
.prize b { min-width: 74px; font: 400 20px var(--display); color: var(--laranja); }

/* ---------------------------------------------------------------- rodapé */
footer {
  position: relative; margin-top: 40px; padding: 40px 16px calc(110px + var(--safe-b)); text-align: center; color: #e4d4f7;
  background: var(--halftone-light) 0 0 / 14px 14px, var(--roxo-800); font-size: 14px;
}
footer::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px;
  background: radial-gradient(circle at 8px 10px, var(--roxo-800) 8px, transparent 8.5px) 0 0 / 16px 10px repeat-x;
}
footer img { height: 54px; transform: rotate(-4deg); filter: drop-shadow(0 3px 0 var(--roxo-900)); }
footer a { color: var(--amarelo); }
footer .links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 10px 0; }
@media (min-width: 860px) { footer { padding-bottom: 40px; } }

/* ---------------------------------------------------------------- movimento */
.reveal { animation: rise .55s cubic-bezier(.2, 1.2, .4, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes float { 50% { transform: translateY(-16px) rotate(14deg); } }
@keyframes hop { 50% { transform: translateY(-10px); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .3; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- desafios (WhatsApp) */
.btn.wa { --b: #25d366; --c: #fff; text-shadow: 0 2px 0 rgba(34, 8, 59, .35); }
.wa-ico { width: 22px; height: 22px; flex: none; display: inline-block; background: center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3a.5.5 0 0 0 0-.4l-.8-1.9c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7a2.8 2.8 0 0 0 1.8-1.3 2.3 2.3 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3z'/></svg>"); }
.btn.sm .wa-ico { width: 18px; height: 18px; }
.share-preview {
  text-align: left; white-space: pre-wrap; font-size: 14px; background: #dcf8c6; border: 2px solid var(--ink); border-radius: 16px 16px 16px 4px;
  padding: 10px 12px; margin: 10px 0 16px; box-shadow: var(--pop-sm); word-break: break-word;
}
.challenge-hero {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; border: var(--stroke); border-radius: 32px;
  box-shadow: 0 8px 0 var(--ink); padding: 28px 18px 26px;
  background: var(--halftone-light) 0 0 / 16px 16px, linear-gradient(160deg, var(--laranja), #c2410c 60%, var(--roxo-700));
}
.challenge-hero .rays {
  position: absolute; z-index: -1; width: 1400px; height: 1400px; left: 50%; top: 30%; translate: -50% -50%; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 210, 63, .2) 0 9deg, transparent 9deg 18deg); animation: spin 80s linear infinite;
  mask: radial-gradient(circle, #000 15%, transparent 55%);
}
.challenge-hero h1 { font-size: clamp(36px, 8vw, 64px); margin: 14px 0 6px; }
.challenge-hero .goal { font: 400 clamp(20px, 4vw, 28px)/1.2 var(--display); margin: 0 0 6px; }
.challenge-hero .goal b { color: var(--amarelo); text-shadow: 0 3px 0 var(--ink); font-size: 1.3em; }
.challenge-hero .sub { color: #fff3e6; max-width: 520px; margin: 0 auto 6px; }
.challenge-hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 16px 0 8px; }
.vs { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 5vw, 40px); }
.vs .side { display: grid; justify-items: center; gap: 6px; font: 400 18px var(--display); max-width: 120px; }
.vs .side b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
.avatar.xl { width: 92px; height: 92px; border-width: 3px; box-shadow: var(--pop-sm); }
.avatar.mystery { display: grid; place-items: center; background: var(--roxo-600); color: var(--amarelo); font: 400 48px var(--display); }
.vs-badge {
  display: grid; place-items: center; width: 64px; height: 64px; clip-path: var(--star); background: var(--amarelo); color: var(--ink);
  font: 400 24px var(--display); animation: hop 1.6s ease-in-out infinite;
}
.howto { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.howto li { background: var(--creme); border: 2px dashed var(--line); border-radius: 14px; padding: 8px 12px; }

/* ---------------------------------------------------------------- níveis (tiers) e gestão de jogos */
.tier { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 0 10px; font: 400 13px/1.6 var(--display); letter-spacing: .4px; background: #fff; color: var(--ink); }
.tier-fiel { background: var(--amarelo); }
.tier-premium { background: linear-gradient(135deg, #ffd23f, #ff7a00); color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.player-card .tier { margin-bottom: 6px; }
.game-card .tier-tag { position: absolute; right: 12px; top: 12px; }
.game-card.locked .thumb img { filter: grayscale(.7) brightness(.85); }
.switch { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; cursor: pointer; font-weight: 800; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.switch .track { width: 52px; height: 30px; border-radius: 999px; background: #d9cfe3; border: var(--stroke); position: relative; flex: none; transition: background .2s; }
.switch .track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); transition: transform .2s; }
.switch input:checked + .track { background: var(--verde); }
.switch input:checked + .track::after { transform: translateX(22px); }
.switch input:focus-visible + .track { outline: 3px solid var(--azul); outline-offset: 2px; }

/* ---------------------------------------------------------------- página do jogo */
.game-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border: var(--stroke); border-radius: 32px; box-shadow: 0 8px 0 var(--ink);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 40px); align-items: center; padding: clamp(18px, 4vw, 40px);
  background: var(--halftone-light) 0 0 / 16px 16px, linear-gradient(150deg, var(--roxo-600), var(--roxo-800) 70%, var(--laranja) 160%);
}
.game-hero .rays {
  position: absolute; z-index: -1; width: 1500px; height: 1500px; left: 30%; top: 50%; translate: -50% -50%; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 210, 63, .14) 0 9deg, transparent 9deg 18deg); animation: spin 90s linear infinite;
  mask: radial-gradient(circle, #000 12%, transparent 50%);
}
.game-hero .cover { transform: rotate(-2.5deg); }
.game-hero .cover img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border: var(--stroke); border-radius: 22px; box-shadow: 0 8px 0 var(--ink); background: #cfe7fe; }
.game-hero h1 { font-size: clamp(40px, 7vw, 72px); margin: 10px 0 8px; }
.game-hero .pitch { color: #f1e6ff; font-size: clamp(16px, 2vw, 19px); max-width: 480px; }
.game-hero .facts { display: flex; gap: 16px; flex-wrap: wrap; margin: 4px 0 16px; color: #eadcfb; font-size: 15px; }
.game-hero .facts b { color: var(--amarelo); font: 400 20px var(--display); }
.game-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.big { min-height: 58px; font-size: 24px; padding: 12px 30px; }
@media (max-width: 760px) {
  .game-hero { grid-template-columns: 1fr; }
  .game-hero .cover { margin: -4px -2px 0; }
}
.howto-card { display: grid; gap: 4px; padding: 18px; }
.howto-card .big-ico { font-size: 40px; line-height: 1; }
@media (max-width: 640px) { .howto-card { grid-template-columns: 52px 1fr; column-gap: 12px; padding: 14px; } .howto-card .big-ico { grid-row: span 2; font-size: 34px; align-self: center; } }
.howto-card b { font: 400 20px/1.2 var(--display); }
.meter { height: 10px; border-radius: 999px; background: #eee3d0; border: 2px solid var(--ink); overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: var(--laranja); }


/* ---------------------------------------------------------------- login: palco da marca */
body.auth-page .tabbar { display: none; }
body.auth-page { padding-bottom: 0; }
body.auth-page footer { padding-bottom: 40px; }
.linkish { background: none; border: 0; padding: 0; color: var(--roxo-600); font-weight: 800; cursor: pointer; text-decoration: underline; }
.linkish:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.auth-stage {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border: var(--stroke); border-radius: 32px; box-shadow: 0 8px 0 var(--ink);
  display: grid; gap: 18px; padding: 18px 16px 22px; min-height: calc(100vh - 130px);
  background: linear-gradient(160deg, var(--roxo-600) 0%, var(--roxo-700) 55%, var(--roxo-800) 100%);
}
.auth-stage .rays { position: absolute; z-index: -2; width: 1800px; height: 1800px; left: 30%; top: 40%; translate: -50% -50%; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 210, 63, .15) 0 8deg, transparent 8deg 16deg); animation: spin 100s linear infinite; mask: radial-gradient(circle, #000 12%, transparent 52%); }
.auth-stage .dots { position: absolute; inset: 0; z-index: -1; background: var(--halftone-light) 0 0 / 16px 16px; }
.auth-stage .floaty { z-index: 0; }
.auth-brand { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.auth-brand h1 { grid-column: 1; margin: 0; font-size: clamp(34px, 9vw, 72px); }
.auth-brand h1 .white { color: #fff; -webkit-text-stroke: 0; text-shadow: 0 4px 0 var(--roxo-900); display: block; }
.auth-brand .lead { grid-column: 1; margin: 6px 0 0; color: #f1e6ff; font-size: clamp(15px, 2vw, 19px); }
.auth-brand .mascot { grid-column: 2; grid-row: 1 / span 2; width: clamp(96px, 26vw, 330px); filter: drop-shadow(0 8px 0 rgba(34, 8, 59, .45)); animation: hop 2.6s ease-in-out infinite; }
.auth-brand .star-sticker { display: none; }
.auth-brand .perks { display: none; }
.auth-main { position: relative; z-index: 1; min-width: 0; align-self: start; }
.auth-card { padding: 16px; color: var(--ink); }
.auth-card .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: -2px -2px 6px; background: var(--creme-2); border: 2px solid var(--ink); border-radius: 16px; }
.auth-card .seg button { border: 0; border-radius: 12px; padding: 9px 6px; background: transparent; font: 400 16px var(--display); color: var(--ink); cursor: pointer; }
.auth-card .seg button.active { background: var(--roxo-600); color: #fff; box-shadow: 0 3px 0 var(--ink); }
.auth-main .trust { text-align: center; margin: 12px 0 0; font-size: 13px; color: #e4d4f7; }
@media (min-width: 860px) {
  .auth-stage { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; padding: 48px 52px; min-height: calc(100vh - 150px); }
  .auth-brand { grid-template-columns: 1fr; align-items: start; }
  .auth-brand { padding-bottom: 10px; }
  .auth-brand .mascot { position: absolute; right: -50px; bottom: -70px; grid-column: auto; grid-row: auto; width: 250px; max-width: none; }
  .auth-brand .star-sticker { display: grid; position: absolute; right: 30px; top: auto; bottom: 170px; width: 104px; height: 104px; font-size: 17px; }
  .auth-brand .perks { display: grid; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; max-width: 340px; }
  .auth-brand .perks li { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .12); border: 2px solid rgba(255, 255, 255, .28); border-radius: 14px; padding: 9px 14px; font-weight: 800; }
  .auth-brand .perks span { font-size: 20px; }
  .auth-card { padding: 22px; box-shadow: 0 8px 0 var(--ink); }
  .auth-main { align-self: center; }
}

/* ---------------------------------------------------------------- vitrine de sabores (home) */
.flavors {
  position: relative; overflow: hidden; isolation: isolate; border: var(--stroke); border-radius: 32px; box-shadow: 0 8px 0 var(--ink);
  padding: clamp(20px, 4vw, 36px); display: grid; gap: 20px; align-items: center;
  color: #fff;
  background: var(--halftone-light) 0 0 / 14px 14px, linear-gradient(130deg, var(--roxo-600), var(--roxo-800));
}
.flavors::before { content: ''; position: absolute; z-index: -1; width: 1400px; height: 1400px; left: 72%; top: 50%; translate: -50% -50%; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 210, 63, .14) 0 9deg, transparent 9deg 18deg); mask: radial-gradient(circle, #000 10%, transparent 50%); }
.flavors-head h2 { margin: 0; font-size: clamp(34px, 6vw, 56px); }
.flavors-head p { margin: 6px 0 14px; font-weight: 800; max-width: 360px; color: #f1e6ff; }
.flavor-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.flavor {
  display: grid; justify-items: center; text-align: center; gap: 2px; padding: 14px 8px 16px; border: var(--stroke); border-radius: 22px;
  background: radial-gradient(circle at 50% 38%, #fff 0 42%, transparent 43%), var(--c); box-shadow: var(--pop-sm);
  transform: rotate(calc((var(--i) - 1) * 2.5deg)); transition: transform .2s;
}
.flavor:hover { transform: rotate(0) translateY(-4px) scale(1.03); }
.flavor img { width: clamp(70px, 14vw, 120px); filter: drop-shadow(0 5px 0 rgba(34, 8, 59, .35)); animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * .6s); }
.flavor b { font: 400 clamp(18px, 3vw, 24px) var(--display); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 0 12px; margin-top: 6px; }
.flavor span { font-size: 13px; font-weight: 800; color: var(--ink); }
@media (min-width: 860px) { .flavors { grid-template-columns: 1fr 1.6fr; } }
@media (max-width: 520px) { .flavor-row { gap: 8px; } .flavor span { display: none; } }

/* ---------------------------------------------------------------- home no celular: mais compacta */
.flavor-row { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
@media (max-width: 640px) {
  .flavor { padding: 10px 4px 12px; border-radius: 18px; }
  .flavor img { width: 58px; }
  .flavor b { font-size: 15px; padding: 0 8px; }
  .steps { gap: 12px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; padding: 14px 14px 14px 56px; }
  .step::before { top: 50%; left: -14px; translate: 0 -50%; width: 44px; height: 44px; font-size: 24px; }
  .step .ico { grid-row: span 2; font-size: 30px; }
  .step h3 { margin: 0; font-size: 18px; }
  .step p { margin: 0; font-size: 14px; }
  .steps { padding-left: 14px; }
  .grid.games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .games-grid .game-card .body { padding: 10px 10px 12px; }
  .games-grid .game-card .body h3 { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .games-grid .game-card .body > span:not(.meta) { display: none; }
  .games-grid .game-card .play { width: 42px; height: 42px; font-size: 17px; bottom: -20px; right: 8px; }
  .games-grid .game-card .tag { display: none; }
  .games-grid .game-card.soon .thumb span { font-size: 60px; }
}

/* sabores com as cores das embalagens; com embalagem real, a foto do pacote vira o destaque */
.flavor { --cols: 4; }
.flavor-row { --cols: 4; }
.flavor span { color: var(--t, var(--ink)); }
.flavor.has-pack { background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.45), transparent 60%), var(--c); padding-top: 6px; }
.flavor.has-pack img { width: 100%; max-width: 160px; animation: none; transform: rotate(calc((var(--i) - 1.5) * -3deg)); filter: drop-shadow(0 8px 0 rgba(34, 8, 59, .35)); }
.pack-fan { position: absolute; z-index: 0; right: clamp(150px, 22vw, 330px); bottom: 10px; width: clamp(160px, 22vw, 300px); height: clamp(170px, 22vw, 300px); }
.pack-fan img { position: absolute; bottom: 0; left: 50%; width: 62%; translate: -50% 0; transform-origin: 50% 100%;
  transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 16deg)) translateY(calc(var(--i) * -2px)); filter: drop-shadow(0 8px 0 rgba(34, 8, 59, .4)); }
@media (max-width: 640px) {
  .flavor-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flavor span { display: block; font-size: 12px; }
  .pack-fan { right: auto; left: 8px; bottom: 16px; width: 140px; height: 150px; }
}
