/* Pocket Magic — site público. 19/10/2026: layout "Céu de aventura" (opção A escolhida pelo usuário): céu da capa,
   contorno escuro grosso com sombra dura (cara de desenho), botão amarelo "Jogar" em toda página, títulos em Lilita One.
   As fontes ficam em /fonts (a CSP do site só aceita arquivos do próprio domínio; nada de estilo inline). */
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/lilita-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/lilita-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/nunito-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/nunito-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #1b1440;          /* contorno, texto e sombra dura */
  --paper: #f4f8ff;        /* fundo das seções claras */
  --card: #ffffff;
  --soft: #eef3fb;
  --muted: #4a4170;
  --muted2: #6a5f93;
  --sky: #47aeea;
  --sky-top: #3b9fd9;
  --sky-low: #9fdaee;
  --sky-ink: #0f2c52;
  --blue: #1f6fb8;
  --grass: #6cc04a;
  --grass-ink: #123d10;
  --yellow: #ffc93c;
  --gold: #b8860b;
  --gold-bg: #fff7dc;
  --gold-ink: #8a5a00;
  --green: #1e9e52;
  --radius: 20px;
  --wrap: 1240px;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 Nunito, ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: #123f78; }
h1, h2, h3 { line-height: 1.04; margin: 0 0 .5em; font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { color: var(--blue); font-size: .82rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .5em; }
.grad { color: var(--blue); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 3px solid var(--ink); border-radius: 14px;
  padding: 12px 22px; min-height: 48px; font: 900 1rem/1 Nunito, system-ui, sans-serif; text-decoration: none; cursor: pointer;
  color: var(--ink); background: var(--card); box-shadow: 0 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-primary, .btn-play { background: var(--yellow); }
.btn-play { font-family: var(--display); font-weight: 400; font-size: 1.2rem; letter-spacing: .01em; }
.btn-line, .btn-ghost { background: var(--card); }
.btn-small { padding: 8px 16px; min-height: 44px; font-size: .95rem; box-shadow: 0 3px 0 var(--ink); }
.btn-play.btn-small { font-size: 1.15rem; }
.btn-big { font-size: clamp(1.4rem, 3vw, 2rem); padding: 16px 30px; border-width: 4px; border-radius: 20px; box-shadow: 0 7px 0 var(--ink); }
.btn-big:hover { box-shadow: 0 9px 0 var(--ink); }
.btn svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* barra do topo */
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 3px solid var(--ink); }
.topbar .wrap { display: flex; align-items: center; gap: 14px; min-height: 70px; }
.brand img { width: 96px; }
.nav { display: flex; align-items: center; gap: 2px; margin-right: auto; margin-left: 10px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.02rem; padding: 8px 12px; border-radius: 12px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--ink); }
.nav .nav-account { display: none; }
.lang { background: var(--soft); border: 2px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 6px 12px; min-height: 44px; min-width: 52px;
  font: 900 .85rem/1 Nunito, sans-serif; cursor: pointer; }
.menu-toggle { display: none; background: var(--card); border: 2px solid var(--ink); color: var(--ink); border-radius: 12px; min-width: 44px; min-height: 44px;
  font: 900 1.1rem/1 Nunito, sans-serif; cursor: pointer; }

/* capa da página inicial */
.hero-sky { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-top) 0%, #55b6e6 45%, var(--sky-low) 100%); }
.hero-sky .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; gap: 20px; }
.hero-sky .copy { padding: 64px 0 132px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-sky .logo { width: 290px; max-width: 70%; filter: drop-shadow(0 6px 0 rgba(27, 20, 64, .35)); }
.hero-sky h1 { margin: 0; color: #fff; text-shadow: 0 4px 0 var(--ink); }
.hero-sky .intro { margin: 0; font-size: 1.22rem; font-weight: 800; color: var(--sky-ink); max-width: 540px; line-height: 1.5; }
.hero-sky .play-note { margin: -6px 0 0; font-weight: 900; font-size: .95rem; color: var(--sky-ink); }
.hero-sky .art { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.hero-sky .art img { width: 100%; max-width: 540px; height: 700px; object-fit: cover; object-position: center 72%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 16%);
  mask-composite: intersect; }
.hero-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: var(--grass); border-top: 4px solid var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: flex; align-items: center; gap: 10px; background: var(--ink); border-radius: 12px; padding: 9px 16px; min-height: 48px;
  color: #fff; text-decoration: none; min-width: 170px; }
.store-badge:hover { color: #fff; background: #2b2160; }
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge small { display: block; font-size: .66rem; font-weight: 800; opacity: .85; letter-spacing: .04em; }
.store-badge strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.soon { font-size: .9rem; color: var(--sky-ink); margin: 0; font-weight: 700; }
.soon a { color: var(--ink); }

/* faixa de destaques (sobe por cima da capa) */
.facts { position: relative; z-index: 2; margin-top: -58px; }
.facts .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 6px 0 var(--ink); padding: 16px 18px;
  display: flex; gap: 14px; align-items: center; }
.fact img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.fact strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.fact span { font-size: .93rem; color: var(--muted); line-height: 1.35; display: block; }

/* seções */
section.block { padding: 84px 0; }
section.alt { background: var(--soft); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 30px; flex-wrap: wrap; }
.head h1, .head h2 { margin: 0; }
.head p { max-width: 520px; color: var(--muted); margin: 0; }
.more { font-weight: 900; font-size: 1.05rem; text-decoration: none; }
.more:hover { text-decoration: underline; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 5px 0 var(--ink); padding: 22px; }
.feature img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.shots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.shots img { border-radius: 16px; border: 3px solid var(--ink); aspect-ratio: 540/1170; object-fit: cover; width: 100%; }

/* heróis */
.heroes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-heroes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hero-card { position: relative; background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 5px 0 var(--ink); display: flex; flex-direction: column; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.hero-card:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); color: var(--ink); }
.hero-card.premium { background: var(--gold-bg); border-color: var(--gold); box-shadow: 0 5px 0 var(--gold); }
a.hero-card.premium:hover { box-shadow: 0 8px 0 var(--gold); }
.hero-card img { aspect-ratio: 420/438; object-fit: cover; width: 100%; }
.home-heroes .hero-card img { aspect-ratio: 1; }
.hero-card .body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.hero-card h2, .hero-card h3 { margin: 0; font-size: 1.4rem; }
.hero-card .weapon { color: var(--muted2); font-weight: 800; font-size: .92rem; }
.hero-card.premium .weapon { color: var(--gold-ink); }
.hero-card p { color: var(--muted); font-size: .94rem; margin: 6px 0 0; }
.hero-card details { margin: 8px 0 0; padding: 10px 12px; }
.hero-card details ul { padding-left: 18px; margin: 8px 0 0; font-size: .9rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag { background: var(--soft); border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-weight: 800; }
.price { font-weight: 900; font-size: .9rem; }
.ribbon { position: absolute; top: 10px; left: 10px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink);
  font-size: .7rem; font-weight: 900; letter-spacing: .1em; padding: 4px 9px; border-radius: 999px; }
.hero-card .pic { position: relative; }

/* ilhas */
.path { background: var(--grass); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.path .eyebrow, .path .more { color: var(--grass-ink); }
.path h2 { color: #fff; text-shadow: 0 3px 0 var(--ink); }
.path .head p { color: var(--grass-ink); font-weight: 700; }
.path-islands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.path-islands li { text-align: center; }
.path-islands img { width: 100%; max-width: 120px; margin: 0 auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 6px 0 rgba(18, 61, 16, .35)); }
.path-islands span { display: block; font-weight: 900; font-size: .84rem; color: var(--grass-ink); line-height: 1.2; margin-top: 4px; }
.islands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.island { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 5px 0 var(--ink); padding: 14px 14px 18px; text-align: center; }
.island img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.island .eyebrow { margin: 6px 0 0; }
.island h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.island .boss { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.island .boss img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); }
.rift { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--ink); color: #fff;
  border-radius: 24px; padding: 30px; margin-top: 30px; }
.rift .eyebrow { color: var(--yellow); }
.rift .muted { color: #d6cdf5; }
.rift img { border-radius: 16px; }

/* passos e listas */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); font-family: var(--display); font-size: 1.3rem; margin-bottom: 10px; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; }
.steps-top { margin-top: 30px; }

/* loja (store.js gera os cartões .pack) */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pack { position: relative; background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 5px 0 var(--ink);
  padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pack img { width: 150px; height: 128px; object-fit: contain; }
.pack h3 { margin: 4px 0 0; font-size: 1.7rem; }
.pack p { color: var(--muted); font-size: .9rem; margin: 0; }
.pack-badge { font-size: .66rem; font-weight: 900; letter-spacing: .12em; color: var(--green); }
.pack-button { margin-top: 10px; border: 3px solid var(--ink); border-radius: 14px; padding: 11px 18px; min-height: 48px; font: 900 .98rem/1 Nunito, sans-serif;
  cursor: pointer; color: var(--ink); background: var(--yellow); box-shadow: 0 4px 0 var(--ink); }
.pack-button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.launch-note { display: flex; gap: 12px; align-items: center; background: var(--card); border: 3px solid var(--ink); border-radius: 16px; padding: 12px 18px; margin-bottom: 22px; }
.launch-note p { margin: 0; color: var(--muted); font-weight: 700; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); flex: none; }
.bonus-note { color: var(--muted); }
dialog { background: var(--card); color: var(--ink); border: 4px solid var(--ink); border-radius: 24px; box-shadow: 0 8px 0 var(--ink); padding: 28px;
  max-width: 420px; width: calc(100% - 32px); text-align: center; }
dialog::backdrop { background: rgba(27, 20, 64, .65); }
dialog img { margin: 0 auto 10px; }
dialog .eyebrow { color: var(--blue); }
dialog .close { position: absolute; right: 12px; top: 8px; background: none; border: 0; color: var(--ink); font-size: 1.9rem; cursor: pointer; min-width: 44px; min-height: 44px; }
dialog .primary { display: inline-flex; align-items: center; min-height: 48px; margin-top: 10px; text-decoration: none; color: var(--ink); background: var(--yellow);
  border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); padding: 10px 20px; border-radius: 14px; font-weight: 900; }
.dialog-price { font-family: var(--display); font-size: 1.6rem; color: var(--ink); }

/* conta (chamada) */
.account-cta { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; background: var(--card);
  border: 3px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 var(--ink); padding: 36px; }
.account-cta ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-weight: 700; }
.account-cta li::before { content: "★ "; color: var(--yellow); -webkit-text-stroke: 1px var(--ink); }
.account-cta img { max-height: 240px; margin: 0 auto; }

/* chamada final e rodapé (escuros) */
.cta-final { background: var(--ink); color: #fff; }
.cta-final .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 52px; padding-bottom: 52px; }
.cta-final h2 { margin: 0; }
.cta-final p { margin: 6px 0 0; color: #cfc6ee; font-size: 1.05rem; }
.cta-final .btn-play { border-color: #fff; box-shadow: 0 6px 0 #000; }
footer.site { border-top: 1px solid #3a2f66; padding: 40px 0 56px; background: #130e30; color: #fff; }
footer.site .wrap { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 24px; }
footer.site .brand img { width: 110px; }
footer.site h4 { margin: 0 0 10px; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
footer.site a { display: block; color: #d9d2f5; text-decoration: none; padding: 4px 0; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .muted, footer.site small { color: #b9afdc; }
footer.site small { display: block; margin-top: 12px; }
footer.site > span { display: none; }  /* store.js escreve aqui o estado da loja */

/* FAQ */
details { background: var(--card); border: 3px solid var(--ink); border-radius: 16px; padding: 14px 18px; margin-bottom: 12px; }
summary { font-weight: 900; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* páginas de texto (privacidade, termos, ajuda) */
.doc { max-width: 860px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.doc h2 { font-size: 1.6rem; margin-top: 1.8em; }
.doc p, .doc li { color: #2f2858; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: .93rem; background: var(--card); }
.doc th, .doc td { text-align: left; border: 2px solid #d5d9ea; padding: 10px 8px; vertical-align: top; }
.doc th { background: var(--soft); color: var(--ink); }
.doc .updated { color: var(--muted); }
.callout { background: #fffbe8; border: 3px solid var(--ink); border-radius: 16px; padding: 16px 20px; margin: 20px 0; }

@media (max-width: 1080px) {
  .nav a { padding: 8px 8px; font-size: .96rem; }
  .features, .heroes, .facts .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .islands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path-islands { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 18px; }
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .topbar .wrap { gap: 10px; min-height: 64px; }
  .brand img { width: 78px; }
  .menu-toggle { display: block; order: 10; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff;
    padding: 10px 16px 16px; border-bottom: 3px solid var(--ink); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav .nav-account { display: block; }
  .topbar .account-link { display: none; }
  .lang { margin-left: auto; }
  .hero-sky .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero-sky .copy { padding: 36px 0 8px; align-items: center; text-align: center; }
  .hero-sky .copy .badges { justify-content: center; }
  .hero-sky .art img { height: 420px; max-width: 420px; }
  .hero-sky::after { height: 20px; }
  .facts { margin-top: 28px; }
  .rift, .account-cta { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr; }
  .heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .islands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-islands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .path-islands li:last-child:nth-child(3n+1) { grid-column: 2; }
  section.block { padding: 56px 0; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
  .account-cta { padding: 24px; }
  .cta-final .wrap { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .topbar .play-link { padding: 8px 12px; }
  .facts .grid { grid-template-columns: 1fr; }
  .hero-sky .copy .btn-big { width: 100%; }
  .hero-sky .badges { width: 100%; justify-content: center; }
  .badges .store-badge { flex: 0 0 auto; min-width: 0; }
  .heroes { grid-template-columns: 1fr; }
  .home-heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-heroes .hero-card h3 { font-size: 1.15rem; }
}

/* conta (/account/, página servida pelo serviço de conta; ids do account.js) */
[hidden] { display: none !important; }
.acc .wrap { max-width: 1000px; }
.acc-heading { margin-bottom: 20px; }
.test-notice { background: var(--card); border: 3px solid var(--ink); border-radius: 14px; padding: 12px 16px; color: var(--muted); font-size: .92rem; font-weight: 700; }
#status { color: var(--blue); font-size: .92rem; font-weight: 800; min-height: 24px; }
.account-panel { background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 5px 0 var(--ink); padding: 26px; margin-bottom: 18px; }
.acc-login { text-align: center; max-width: 560px; margin: 10px auto 30px; }
.acc-login img { width: 96px; margin: 0 auto 10px; }
.provider-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.acc-profile { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; padding: 26px;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-low)); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 var(--ink); }
.acc-profile img { border-radius: 18px; border: 3px solid var(--ink); }
.acc-profile h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 6px; color: #fff; text-shadow: 0 3px 0 var(--ink); }
.acc-profile p { margin: 0 0 8px; color: var(--sky-ink); font-weight: 700; }
.acc-profile .eyebrow { color: var(--sky-ink); }
.acc-profile .muted { color: var(--sky-ink); }
.acc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.acc-wallet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 6px; }
.acc-wallet article { background: var(--card); border: 3px solid var(--ink); border-radius: 18px; padding: 14px 16px; display: grid;
  grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.acc-wallet img { grid-row: span 2; width: 56px; height: 56px; object-fit: contain; }
.acc-wallet span { color: var(--muted); font-size: .85rem; font-weight: 700; }
.acc-wallet strong { font-family: var(--display); font-weight: 400; font-size: 1.7rem; color: var(--ink); line-height: 1.1; }
.save-note { color: var(--muted); font-size: .8rem; margin-bottom: 22px; }
.acc-block { margin-top: 26px; }
.acc-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.acc-title h3 { margin: 0; font-size: 1.4rem; }
.acc-title span { color: var(--blue); font-weight: 900; }
.acc-heroes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.acc-hero { background: var(--card); border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.acc-hero img { width: 100%; aspect-ratio: 420/438; object-fit: cover; }
.acc-hero strong { padding: 8px 12px 0; font-size: .95rem; }
.acc-hero span { padding: 0 12px 10px; color: var(--gold-ink); font-size: .82rem; font-weight: 900; }
.acc-hero.locked img { filter: grayscale(1) brightness(.6); }
.acc-hero.locked span { color: var(--muted); }
.acc-islands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.acc-islands li { background: var(--card); border: 3px solid var(--ink); border-radius: 16px; padding: 10px; text-align: center; opacity: .5; }
.acc-islands li.started, .acc-islands li.done { opacity: 1; }
.acc-islands li.done { border-color: var(--green); }
.acc-islands img { width: 72%; margin: 0 auto; aspect-ratio: 1; object-fit: contain; }
.acc-islands strong { display: block; font-size: .82rem; margin: 4px 0 6px; }
.acc-islands .bar { display: block; height: 8px; background: var(--soft); border: 1px solid #c9cde0; border-radius: 99px; overflow: hidden; }
.acc-islands .bar i { display: block; height: 100%; background: var(--grass); }
.acc-islands small { color: var(--muted); font-size: .74rem; }
.acc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acc-stat { background: var(--card); border: 3px solid var(--ink); border-radius: 16px; padding: 12px 16px; }
.acc-stat span { display: block; color: var(--muted); font-size: .84rem; font-weight: 700; }
.acc-stat strong { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
#links { list-style: none; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
#links li { background: var(--soft); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: .85rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.consent input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.acc-notices { text-align: center; font-size: .75rem; padding: 10px 0 30px; background: #130e30; margin: 0; }
.acc-notices a { color: #b9afdc; }
button:disabled { opacity: .6; cursor: default; transform: none; }
@media (max-width: 860px) {
  .acc-profile { grid-template-columns: 1fr; text-align: center; }
  .acc-profile img { width: 160px; margin: 0 auto; }
  .acc-actions { justify-content: center; }
  .acc-wallet { grid-template-columns: 1fr; }
  .acc-heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-islands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Minha conta: pacote escolhido na loja (19/10/2026) */
#sandbox-packs .pack-escolhido { outline: 4px solid var(--yellow); box-shadow: 0 0 0 7px var(--ink); animation: pm-pulso 1.6s ease-in-out infinite; }
.pack-escolhido-aviso { width: 100%; margin: 6px 0 2px; color: var(--gold-ink); font-weight: 800; }
@keyframes pm-pulso { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* peças que antes eram estilo inline (a CSP do site bloqueia style="…") */
.rift-gap { margin-top: 40px; }
.rift-icon { max-width: 160px; margin: 0 auto; }
.callout p:last-child { margin-bottom: 0; }
.store-badge strong { white-space: nowrap; }
@media (max-width: 480px) {
  .hero-sky .logo { width: 200px; }
  .store-badge { padding: 8px 12px; gap: 8px; }
  .hero-sky .art img { height: 360px; }
}
@media (max-width: 480px) {
  .pack { padding: 14px 10px; }
  .pack img { width: 96px; height: 84px; }
  .pack h3 { font-size: 1.3rem; }
  .pack p { font-size: .78rem; }
  .pack-button { padding: 9px 10px; font-size: .85rem; }
}
