/* ==========================================================================
   Made by Faber — wiki
   Fica por cima do site.css (cópia do styles.css do site, feita pelo build):
   mesmas peças do site (cards, faixa, números vazados, notas à mão,
   barra de chances) e só o que a wiki precisa a mais.
   ========================================================================== */

/* legendas pequenas um pouco mais claras que no site: contraste AA no texto miúdo */
:root { --dim: #8890C6; }
figure, dl, dd { margin: 0; }
details summary { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Topo ---------- */
.wnav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.wnav.scrolled {
  background: rgba(9, 13, 32, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.wnav-row { display: flex; align-items: center; gap: 14px; height: 68px; }
.wiki-tag {
  margin-left: -4px;
  font-family: var(--hand);
  font-size: 30px;
  line-height: 1;
  color: var(--toxic);
  transform: rotate(-6deg) translateY(2px);
  text-shadow: 0 0 18px rgba(157, 255, 35, .35);
  transition: transform .4s var(--ease-spring);
}
.wiki-tag:hover { transform: rotate(-2deg) translateY(0) scale(1.06); }
.wnav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.wnav-right .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.wnav-right .btn svg { width: 16px; height: 16px; }
.wnav-right .status { margin-top: 0; }

.wnav-links {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 2px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.wnav-links::-webkit-scrollbar { display: none; }
.wnav-links a { white-space: nowrap; }
.wnav-links a.is-premium { color: var(--yellow); }
.wnav-links a.is-premium:hover, .wnav-links a.is-premium.active { color: #FFE08A; }

/* troca de idioma: links no lugar dos botões do site */
.lang a {
  position: relative;
  z-index: 1;
  width: 40px;
  padding: 5px 0;
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .3s;
}
.lang a[aria-current="true"] { color: var(--bg); }

/* ---------- Topo das páginas ---------- */
.whome { min-height: auto; padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px); }
.whome .body-lg { max-width: 34ch; }
.whome .stats { margin-top: 36px; }
.whome .cta-row { margin-top: 30px; }

/* o ícone do jogo no lugar do mascote, flutuando no portal */
.game-card {
  position: relative;
  z-index: 2;
  display: block;
  width: 74%;
  height: auto;
  margin: 3% auto 0;
  border-radius: 22%;
  rotate: -4deg;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .1), 0 40px 90px -30px rgba(177, 92, 255, .75), 0 0 70px -12px rgba(69, 216, 255, .5);
  animation: float 6s ease-in-out infinite;
}
.js .game-card { animation: portalIn 1.2s var(--ease-spring) .2s backwards, float 6s ease-in-out 1.4s infinite; }
@media (min-width: 861px) { .whome .handnote { top: -24%; left: -9%; } }
@media (max-width: 860px) { .whome .handnote { top: -17%; } }
/* no celular a nota encostava na arte clara e ficava ilegível */
@media (max-width: 640px) { .whome .handnote { display: none; } }

/* a logo oficial do jogo como título da inicial */
.wiki-logo { width: 100%; max-width: 540px; margin-top: 22px; }
.wiki-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(9, 13, 32, .55)) drop-shadow(0 0 40px rgba(166, 92, 255, .22));
}

/* a logo pequena no menu, depois da marca do estúdio */
.wnav-game { display: inline-flex; align-items: center; gap: 4px; padding-left: 14px; border-left: 1px solid var(--line-2); }
.wnav-game img { width: auto; height: 40px; transition: transform .5s var(--ease-spring); }
.wnav-game:hover img { transform: rotate(-3deg) scale(1.05); }

.whero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); }
.whero .h2 {
  margin-top: 16px;
  max-width: 13ch;
  font-size: clamp(46px, 7vw, 92px);
  line-height: .98;
}
.whero .body-lg { max-width: 52ch; }

/* nota escrita à mão (igual à do topo do site) */
.hand {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--hand);
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1;
  color: #8E9DF0;
  transform: rotate(-5deg);
}
.hand svg {
  width: 150px;
  height: 18px;
  margin: 6px 0 0 .6em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  overflow: visible;
}
.whero .hand { position: absolute; right: var(--gutter); top: clamp(56px, 8vw, 112px); max-width: 16ch; text-align: right; align-items: flex-end; }
.js .hand path { stroke-dasharray: 170; stroke-dashoffset: 170; animation: drawLong .9s var(--ease-out) .9s forwards; }

/* faixa inclinada (a mesma do site) */
.marquee { margin-block: 0 8px; }
.marquee-track span { font-size: clamp(22px, 2.8vw, 36px); }

/* ---------- Seções ---------- */
.wmain { padding-bottom: clamp(80px, 10vw, 128px); }
.wsec { position: relative; padding-top: clamp(64px, 9vw, 120px); }
.wsec-head { max-width: 860px; }
.wsec-head .h2 { font-size: clamp(32px, 4.6vw, 58px); }
.wsec-head .body-lg { margin-top: 16px; }
.body-lg a, .prose a, .faq a, .muted a, .step p a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.body-lg a:hover, .prose a:hover, .faq a:hover, .step p a:hover { color: #fff; }
.wsec .features, .wsec .pillars { margin-top: 36px; }
.wsec .habitat-list { margin-top: 36px; }
.prose { max-width: 66ch; color: var(--muted); font-size: 17px; }
.prose p + p { margin-top: 12px; }
.prose strong, .body-lg strong { color: var(--text); }
.sub { margin-top: 40px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.sub + * { margin-top: 16px; }
.muted { color: var(--muted); }

/* links para as seções da página */
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.jump a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: color .25s, background .25s, box-shadow .25s;
}
.jump a:hover { color: var(--text); background: color-mix(in srgb, var(--hc, var(--cyan)) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hc, var(--cyan)) 45%, transparent); }
.jump svg { width: 22px; height: 22px; fill: var(--hc); }
.jump svg .st { fill: none; stroke: var(--hc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.jump svg .hc { fill: #FFE37A; }

/* pílulas (as do card de habitat do site) */
.species li { display: inline-flex; align-items: center; gap: 6px; }
.species li a { color: inherit; }
.species li svg { width: 14px; height: 14px; fill: none; stroke: var(--c, currentColor); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.species .tone { background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }

/* ---------- Espaço para imagem (captura, banner, arte) ---------- */
.frame {
  --tone: var(--cyan);
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--r, 16 / 9);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 70% at 25% 15%, color-mix(in srgb, var(--tone) 24%, transparent), transparent 70%),
    radial-gradient(55% 65% at 90% 95%, color-mix(in srgb, var(--tone2, var(--blue)) 26%, transparent), transparent 70%),
    linear-gradient(180deg, #131B46, #0D1334);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(0, 0, 0, .65);
}
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(160, 180, 255, .2) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 10%, transparent 75%);
}
.frame.has-img::before { display: none; }
.frame img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.frame .spark { position: absolute; z-index: 1; }
.frame .spark.s1 { top: 18%; left: auto; right: 16%; width: 30px; }
.frame .spark.s2 { top: auto; bottom: auto; right: auto; top: 30%; left: 14%; width: 18px; }
.frame-note {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 3vw, 30px);
  bottom: clamp(14px, 2.4vw, 24px);
  max-width: 80%;
  font-family: var(--hand);
  font-size: clamp(21px, 2.1vw, 29px);
  line-height: 1.05;
  color: #A3B1F5;
  transform: rotate(-3deg);
  transform-origin: left bottom;
}

/* ---------- Anúncios: no visual do site ---------- */
.ad { margin-top: clamp(48px, 7vw, 72px); }
.ad-label { display: block; margin: 0 0 8px 4px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.ad-box { min-height: 132px; border-radius: var(--radius-lg); overflow: hidden; }
.ad-box ins { display: block; min-height: 132px; }
.promo {
  --tone: var(--yellow);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  min-height: 132px;
  padding: 18px clamp(20px, 3vw, 36px) 18px clamp(16px, 2.4vw, 24px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 200px at 10% 50%, rgba(43, 107, 255, .38), transparent 70%),
    linear-gradient(180deg, rgba(24, 33, 82, .95), rgba(14, 20, 52, .95));
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text);
  transition: box-shadow .35s, transform .5s var(--ease-out);
}
.promo::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 70px;
  top: 50%;
  width: 900px;
  height: 900px;
  margin: -450px 0 0 -450px;
  background: repeating-conic-gradient(from 0deg, rgba(127, 219, 255, .06) 0deg 6deg, transparent 6deg 18deg);
  mask-image: radial-gradient(closest-side, #000 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 70%);
}
.promo:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 55%, transparent), 0 24px 50px -28px color-mix(in srgb, var(--tone) 70%, transparent); }
.promo img { flex: none; width: clamp(72px, 9vw, 104px); height: auto; animation: float 5s ease-in-out infinite; -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); }
.promo-copy { flex: 1; min-width: 0; }
.promo-copy strong { display: block; font-size: clamp(19px, 2vw, 24px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.promo-copy strong em { font-style: normal; color: var(--tone); }
.promo-copy span { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.promo .btn { flex: none; }

/* ---------- Pets ---------- */
.pets { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); }
.pet { --tone: var(--pc); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .4s; }
.pet:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 40%, transparent), 0 24px 50px -24px color-mix(in srgb, var(--pc) 60%, transparent); }
.pet-stage {
  position: relative;
  height: 196px;
  overflow: hidden;
  background:
    radial-gradient(180px 70px at 50% 88%, color-mix(in srgb, var(--pc) 42%, transparent), transparent 70%),
    radial-gradient(240px 170px at 50% 42%, color-mix(in srgb, var(--pa) 18%, transparent), transparent 70%),
    linear-gradient(180deg, #0F173A, #141E4A);
}
.pet-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 170px;
  height: 34px;
  margin-left: -85px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 45%, transparent), transparent);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pc) 35%, transparent);
}
.pet-stage img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.pet-stage.has-img::after { display: none; }
.pet-num {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 16px;
  font-size: 46px;
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--pc) 60%, #fff 25%);
}
.pet-blob { position: absolute; z-index: 1; left: 50%; bottom: 18px; width: 128px; height: auto; margin-left: -64px; overflow: visible; }
.pet-blob .bob { transform-box: view-box; transform-origin: 130px 232px; animation: bob 2.6s ease-in-out infinite; }
.pet-blob .eye { transform-box: fill-box; transform-origin: center; animation: blink 4.6s infinite; }
.pet:nth-child(3n+2) .pet-blob .bob { animation-delay: -.9s; }
.pet:nth-child(3n) .pet-blob .bob { animation-delay: -1.7s; }
.pet-soon { position: absolute; z-index: 2; right: 16px; top: 16px; font-family: var(--hand); font-size: 22px; line-height: 1; color: #A3B1F5; transform: rotate(4deg); }
.pet-body { padding: 18px 22px 22px; }
.pet .hab-tier { margin-top: 0; color: color-mix(in srgb, var(--pc) 65%, #fff 35%); }
.pet h3 { margin-top: 6px; font-size: 27px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.pet h3 small { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--dim); }
.pet .species { margin-top: 14px; }
.pet-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 18px; }
.pet-stats dt { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.pet-stats dd { margin: 2px 0 0; font-size: 16.5px; font-weight: 800; line-height: 1.25; }
.pet-stats dd small { font-size: 13px; font-weight: 600; color: var(--muted); }
.pet-note { margin-top: 16px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Habitats ---------- */
.hab-detail { margin-top: 36px; overflow: hidden; }
.hab-detail > .frame { --r: 16 / 6; border-radius: 0; box-shadow: none; }
.hab-detail-body { padding: clamp(22px, 3.4vw, 40px); }
.hab-detail .hab-top { align-items: center; gap: 16px; justify-content: flex-start; }
.hab-detail .hab-num { font-size: clamp(56px, 7vw, 84px); }
.hab-detail .hab-icon { width: 54px; height: 54px; }
.hab-detail h3 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hab-title { margin-left: auto; text-align: right; font-family: var(--hand); font-size: clamp(24px, 2.6vw, 34px); line-height: 1; color: var(--hc); transform: rotate(-3deg); }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 18px 28px; margin-top: 26px; }
.mini-stats li { display: flex; flex-direction: column; }
.mini-stats strong { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; color: var(--text); }
.mini-stats span { margin-top: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.specials { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.special { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); }
.special strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.special i { display: block; margin-top: 2px; font-style: normal; font-family: var(--hand); font-size: 22px; line-height: 1.1; color: var(--hc, var(--sky)); }
.special span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.special.is-guardian { background: rgba(255, 197, 61, .06); box-shadow: inset 0 0 0 1px rgba(255, 197, 61, .3); }
.special.is-guardian i { color: var(--yellow); }
.todo { display: grid; gap: 10px; counter-reset: todo; }
.todo li { display: flex; gap: 14px; align-items: baseline; color: var(--muted); counter-increment: todo; }
.todo li::before {
  content: counter(todo, decimal-leading-zero);
  flex: none;
  width: 34px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px color-mix(in srgb, var(--hc, var(--cyan)) 70%, transparent);
}
.gate { margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--hc, var(--cyan)) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hc, var(--cyan)) 28%, transparent); color: var(--muted); }
.gate strong { color: var(--text); }

/* ---------- Barras de chance (a mesma do mini-jogo do site) ---------- */
.odds-card { margin-top: 32px; padding: clamp(20px, 3vw, 32px); }
.odds-card .odds-bar { height: 14px; margin-top: 0; }
.odds-card .odds-legend { gap: 10px 22px; margin-top: 16px; font-size: 15.5px; }
.odds-card .odds-legend li { color: var(--text); }
.odds-card .odds-legend i { background: var(--c); box-shadow: 0 0 10px var(--c); }
.odds-card .odds-legend b { color: var(--muted); }

/* ---------- Mutações ---------- */
.muts { display: grid; gap: 16px; margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.mut { --tone: var(--c); overflow: hidden; }
.mut .frame { --r: 16 / 8; border-radius: 0; box-shadow: none; }
.mut-body { padding: 20px 24px 24px; }
.mut-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mut-head h3 { font-size: 30px; font-weight: 900; letter-spacing: -.02em; line-height: .95; text-transform: uppercase; color: var(--c); }
.mut-head small { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.mut-chance { font-size: 40px; font-weight: 900; letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.mut .pet-stats { grid-template-columns: repeat(3, 1fr); }
.perk { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.perk b { color: var(--c); font-weight: 800; }

/* ciclo dos elementos */
.cycle { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: 36px; padding: clamp(20px, 3vw, 36px); }
.cycle svg { width: 100%; height: auto; }
.cycle text { font-family: var(--font); font-weight: 800; }

/* ---------- Tabelas (enxutas, no ritmo do site) ---------- */
.wtable { margin-top: 28px; overflow-x: auto; }
.wtable table { width: 100%; border-collapse: collapse; font-size: 16px; }
.wtable thead th {
  padding: 0 14px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: left;
  color: var(--dim); border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
.wtable td, .wtable tbody th { padding: 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.wtable tbody th { font-weight: 700; color: var(--text); }
.wtable td { color: var(--muted); }
.wtable .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); font-weight: 700; }
.wtable tbody tr:last-child td, .wtable tbody tr:last-child th { border-bottom: 0; }
.dot { display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; vertical-align: -1px; background: var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent); }

/* ---------- Passos ---------- */
.steps { display: grid; gap: clamp(48px, 7vw, 88px); margin-top: 48px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.step:nth-child(even) .frame { order: -1; }
.step-num { font-size: clamp(64px, 8vw, 104px); font-weight: 900; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(127, 219, 255, .55); }
.step h3 { margin-top: 16px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.step p { margin-top: 12px; max-width: 46ch; color: var(--muted); font-size: 17px; }
.step strong { color: var(--text); }
.step .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; color: var(--sky); }
.more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-spring); }
.step .more:hover svg, .feature:hover .more svg, .pillar:hover .more svg { transform: translateX(4px); }
kbd {
  display: inline-grid; place-items: center; min-width: 30px; height: 28px; padding: 0 8px;
  border-radius: 8px; background: #1B2556; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .35), inset 0 0 0 1px var(--line-2);
  font-family: var(--font); font-size: 14px; font-weight: 800; color: var(--text);
}
.keys { display: grid; gap: 0 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 28px; }
.keys li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.keys li > span:first-child { display: inline-flex; gap: 4px; min-width: 96px; }

/* cards com link (pilares e recursos do site) */
a.feature, a.pillar { display: block; color: inherit; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 15px; color: var(--tone, var(--sky)); }
.pillar-num { display: block; font-size: 56px; font-weight: 900; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--tone) 65%, transparent); }

/* calendário */
.days { display: grid; gap: 12px; margin-top: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.day { padding: 18px 18px 20px; }
.day .hab-num { display: block; font-size: 48px; -webkit-text-stroke-color: rgba(255, 197, 61, .6); }
.day p { margin-top: 14px; font-weight: 700; line-height: 1.35; }
.day.is-big { box-shadow: inset 0 0 0 1px rgba(255, 197, 61, .5), 0 20px 44px -26px rgba(255, 197, 61, .7); }

/* perguntas */
.faq { display: grid; gap: 10px; margin-top: 32px; max-width: 860px; }
.faq details { border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--sky); border-bottom: 2.5px solid var(--sky); transform: rotate(45deg) translateY(-3px); transition: transform .35s var(--ease-spring); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Premium ---------- */
.prem-hero { margin-top: clamp(24px, 4vw, 48px); text-align: left; }
.prem-hero .contact-mascot { position: absolute; right: clamp(20px, 5vw, 64px); top: 50%; width: clamp(120px, 16vw, 210px); margin: -90px 0 0; }
.prem-hero .h2 { margin-inline: 0; max-width: 12ch; font-size: clamp(42px, 6vw, 80px); }
.prem-hero .body-lg { margin-inline: 0; max-width: 46ch; }
.promise { display: grid; gap: 10px 24px; margin-top: 28px; max-width: 760px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.promise li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.promise li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.promise b { color: var(--text); }
.offer { --tone: var(--yellow); display: flex; flex-direction: column; overflow: hidden; }
.offer .frame { --r: 16 / 9; border-radius: 0; box-shadow: none; }
.offer-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.offer h3 { margin-top: 18px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.offer p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.offer ul { display: grid; gap: 6px; margin-top: 14px; }
.offer li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--text); }
.offer li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); transform: translateY(-1px); }
.offers { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.vip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 36px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 197, 61, .45), 0 40px 90px -50px rgba(255, 197, 61, .7); }
.vip .frame { aspect-ratio: auto; height: 100%; min-height: 320px; border-radius: 0; box-shadow: none; }
.vip .offer-body { padding: clamp(24px, 4vw, 44px); }
.vip h3 { margin-top: 10px; font-size: clamp(34px, 4vw, 52px); font-weight: 900; letter-spacing: -.03em; }
.handtag { align-self: flex-start; font-family: var(--hand); font-size: 26px; line-height: 1; color: var(--yellow); transform: rotate(-4deg); }
.offer .btn, .offer .status { align-self: flex-start; margin-top: 22px; }
.callout { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 20px 22px; border-radius: var(--radius); background: rgba(46, 197, 255, .06); box-shadow: inset 0 0 0 1px rgba(46, 197, 255, .22); color: var(--muted); }
.callout strong { color: var(--sky); }
.callout svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Rodapé ---------- */
.footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer .footer-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.footer .footer-links a:hover { color: var(--text); }

/* ---------- Telas menores ---------- */
@media (max-width: 960px) {
  .step, .cycle, .vip { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) .frame, .step .frame { order: -1; }
  .vip .frame { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .whero .hand { position: static; margin-top: 22px; text-align: left; align-items: flex-start; }
  .prem-hero .contact-mascot { position: static; margin: 0 0 18px; }
}
@media (max-width: 860px) {
  .whome .stats { justify-content: center; }
}
@media (max-width: 640px) {
  .wnav-row { height: 60px; gap: 8px; }
  .wnav-right .btn, .wnav-right .status { display: none; }
  .wiki-tag { font-size: 24px; }
  .wnav-game { padding-left: 10px; }
  .wnav-game img { height: 34px; }
  .lang a { width: 34px; font-size: 12px; }
  .promo { flex-wrap: wrap; }
  .promo img { width: 64px; }
  .promo .btn { width: 100%; }
  .wtable td, .wtable tbody th { padding: 12px 10px; }
  .wtable thead th { padding: 0 10px 10px; }
  .hab-title { margin-left: 0; text-align: left; flex-basis: 100%; }
  .hab-detail .hab-top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .pet-blob .bob, .promo img { animation: none; }
}
