/* ============================================================
   Lottery Portal — estilos do frontend
   Tudo dirigido por variáveis CSS (definidas pelo preset ativo).
   Escopo em .wlp-portal para não colidir com tema/plugins.
   ============================================================ */

.wlp-portal *,
.wlp-portal *::before,
.wlp-portal *::after { box-sizing: border-box; }

.wlp-portal {
  --wlp-primary: #8e44ad;
  --wlp-primary-dark: #5d3487;
  --wlp-primary-light: #b06fd0;
  --wlp-hero-from: #b441c7;
  --wlp-hero-to: #5d3487;
  --wlp-bg: #f4f5f7;
  --wlp-surface: #fff;
  --wlp-surface-2: #f7f4fb;
  --wlp-text: #26202e;
  --wlp-muted: #6b6577;
  --wlp-border: #e7e3ee;
  --wlp-on-primary: #fff;
  --wlp-radius: 12px;
  --wlp-radius-pill: 14px;
  --wlp-gap: 20px;
  --wlp-pad: 18px;
  --wlp-ball-size: 44px;
  --wlp-container: 1200px;
  --wlp-shadow: 0 6px 16px rgba(50,50,93,.12), 0 2px 6px rgba(0,0,0,.08);

  max-width: var(--wlp-container);
  margin: 0 auto;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: var(--wlp-gap);
  color: var(--wlp-text);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

.wlp-portal h1, .wlp-portal h2, .wlp-portal h3 { margin: 0; line-height: 1.25; }
.wlp-portal p { margin: 0; }
.wlp-portal a { color: var(--wlp-primary); }

/* ---------- Cards genéricos ---------- */
.wlp-card {
  background: var(--wlp-surface);
  border: 1px solid var(--wlp-border);
  border-radius: var(--wlp-radius);
  padding: var(--wlp-pad);
  box-shadow: var(--wlp-shadow);
}
.wlp-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wlp-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wlp-card-title::before {
  content: "";
  width: 6px; height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--wlp-primary), var(--wlp-primary-dark));
}
.wlp-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wlp-card-head .wlp-card-title { margin-bottom: 0; }
.wlp-subtitle { font-size: .82rem; font-weight: 600; color: var(--wlp-muted); margin: 10px 0 6px; text-align: center; }

/* ---------- Hero ---------- */
.wlp-hero {
  background: linear-gradient(115deg, var(--wlp-hero-from), var(--wlp-hero-to));
  color: var(--wlp-on-primary);
  border-radius: var(--wlp-radius);
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
}
.wlp-hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
  pointer-events: none;
}
.wlp-hero-eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-bottom: 6px; font-weight: 600; }
.wlp-hero-title { font-size: 1.55rem; font-weight: 800; }
.wlp-hero-sub { font-size: .9rem; opacity: .9; margin-top: 8px; }
.wlp-hero-next {
  text-align: right;
  flex-shrink: 0;
  background: rgba(255,255,255,.12);
  border-radius: var(--wlp-radius);
  padding: 12px 16px;
  backdrop-filter: blur(2px);
}
.wlp-hero-next-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.wlp-hero-next-date { font-size: 1.3rem; font-weight: 800; }
.wlp-hero-next-prize { font-size: .92rem; font-weight: 600; margin-top: 2px; }

/* Variação: card (hero centralizado) */
.wlp-layout-card .wlp-hero { flex-direction: column; text-align: center; }
.wlp-layout-card .wlp-hero-next { text-align: center; margin-top: 6px; }
/* Variação: split (mantém 2 colunas mas mais equilibrado) */
.wlp-layout-split .wlp-hero-title { font-size: 1.4rem; }

/* ---------- Bolas ---------- */
.wlp-balls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0; }
.wlp-ball {
  width: var(--wlp-ball-size); height: var(--wlp-ball-size);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--wlp-primary-light), var(--wlp-primary) 60%, var(--wlp-primary-dark));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 3px 8px rgba(0,0,0,.18);
}
.wlp-balls.is-mini .wlp-ball { width: 30px; height: 30px; font-size: .78rem; gap: 6px; }
.wlp-balls.is-mini { gap: 6px; }
.wlp-balls.is-trevo .wlp-ball { background: radial-gradient(circle at 30% 25%, #6fe08a, #2ecc71 60%, #1f9d55); }
.wlp-balls.is-sec .wlp-ball { background: radial-gradient(circle at 30% 25%, #9aa4b2, #64748b 60%, #475569); }
.wlp-balls.is-columns { gap: 6px; }
.wlp-balls.is-columns .wlp-ball { border-radius: 8px; }
.wlp-extra-chip {
  margin: 12px auto 0; width: fit-content;
  background: var(--wlp-surface-2); border: 1px solid var(--wlp-border);
  border-radius: var(--wlp-radius-pill); padding: 6px 14px; font-size: .9rem;
}
.wlp-extra-chip span { color: var(--wlp-muted); }

/* ---------- Volante ---------- */
.wlp-volante-wrap { display: flex; justify-content: center; }
.wlp-volante {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  padding: 8px; border-radius: var(--wlp-radius); background: var(--wlp-surface-2);
  border: 1px solid var(--wlp-border);
}
.wlp-cel {
  width: var(--wlp-ball-size); height: var(--wlp-ball-size);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; border-radius: 8px; transition: transform .18s;
}
.wlp-cel.is-off { background: #ececf0; color: #9a94a3; }
.wlp-portal[data-wlp-dark="1"] .wlp-cel.is-off { background: #2c2936; color: #6f6a7d; }
.wlp-cel.is-on {
  background: linear-gradient(150deg, var(--wlp-primary), var(--wlp-primary-dark));
  color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.wlp-cel:hover { transform: translateY(-2px) scale(1.04); }

/* ---------- Stat cards (acumulados) ---------- */
.wlp-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: var(--wlp-gap); }
.wlp-stat {
  background: var(--wlp-surface); border: 1px solid var(--wlp-border);
  border-radius: var(--wlp-radius); padding: 16px; text-align: center; box-shadow: var(--wlp-shadow);
}
.wlp-stat-label { font-size: .82rem; color: var(--wlp-muted); margin-bottom: 6px; }
.wlp-stat-value { font-size: 1.35rem; font-weight: 800; color: var(--wlp-primary); }

/* ---------- Tabelas ---------- */
.wlp-table-wrap { overflow-x: auto; }
.wlp-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.wlp-table th {
  background: linear-gradient(180deg, var(--wlp-primary), var(--wlp-primary-dark));
  color: #fff; text-align: left; padding: 10px 12px; white-space: nowrap;
}
.wlp-table th:first-child { border-top-left-radius: 8px; }
.wlp-table th:last-child { border-top-right-radius: 8px; }
.wlp-table td { padding: 10px 12px; border-bottom: 1px solid var(--wlp-border); }
.wlp-table tbody tr:nth-child(even) { background: var(--wlp-surface-2); }

/* ---------- Collapse / toggle ---------- */
.wlp-toggle {
  background: var(--wlp-primary); color: #fff; border: 0;
  border-radius: var(--wlp-radius-pill); padding: 6px 14px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.wlp-toggle span { font-size: 1.1em; line-height: 1; }
.wlp-collapse { margin-top: 12px; max-height: 320px; overflow-y: auto; }

/* ---------- Prose (resumo SEO) ---------- */
.wlp-prose { color: var(--wlp-text); font-size: .98rem; }
.wlp-prose p { margin-bottom: 10px; }
.wlp-prose p:last-child { margin-bottom: 0; }

/* ---------- Modalidades ---------- */
.wlp-mods-wrap.is-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: var(--wlp-gap); }
.wlp-mods-wrap.is-strip { display: flex; gap: var(--wlp-gap); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.wlp-mods-wrap.is-strip .wlp-mcard { min-width: 230px; scroll-snap-align: start; }
.wlp-mcard {
  --wlp-acc: var(--wlp-primary); --wlp-acc-d: var(--wlp-primary-dark);
  display: block; text-decoration: none; color: inherit;
  background: var(--wlp-surface); border: 1px solid var(--wlp-border);
  border-top: 4px solid var(--wlp-acc);
  border-radius: var(--wlp-radius); overflow: hidden;
  box-shadow: var(--wlp-shadow); transition: transform .2s, box-shadow .2s;
}
a.wlp-mcard:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.3); }
.wlp-mcard-head { padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 2px; }
.wlp-mcard-name { font-weight: 800; color: var(--wlp-acc-d); }
.wlp-portal[data-wlp-dark="1"] .wlp-mcard-name { color: var(--wlp-acc); }
.wlp-mcard-num { font-size: .76rem; color: var(--wlp-muted); }
.wlp-mcard-body { padding: 6px 14px 12px; }
.wlp-mcard-body .wlp-ball { background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--wlp-acc) 70%, white), var(--wlp-acc) 65%, var(--wlp-acc-d)); }
.wlp-mcard-body .is-sec .wlp-ball { background: radial-gradient(circle at 30% 25%, #9aa4b2, #64748b 60%, #475569); }
.wlp-mcard-body .is-trevo .wlp-ball { background: radial-gradient(circle at 30% 25%, #6fe08a, #2ecc71 60%, #1f9d55); }
.wlp-mcard-extra { text-align: center; font-size: .82rem; color: var(--wlp-muted); margin-top: 6px; }
.wlp-mcard-loteca { text-align: center; font-weight: 700; color: var(--wlp-acc-d); padding: 10px 0; }
.wlp-mcard-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-top: 1px solid var(--wlp-border);
  background: var(--wlp-surface-2); font-size: .82rem;
}
.wlp-mcard-foot span { display: inline-flex; align-items: center; gap: 5px; color: var(--wlp-muted); }
.wlp-mcard-foot strong { color: var(--wlp-acc-d); }
.wlp-portal[data-wlp-dark="1"] .wlp-mcard-foot strong { color: var(--wlp-acc); }

/* ---------- Loteca destaque ---------- */
.wlp-loteca-list { display: flex; flex-direction: column; gap: 4px; }
.wlp-loteca-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--wlp-border); }
.wlp-loteca-team { font-weight: 600; font-size: .9rem; }
.wlp-loteca-team.wlp-right { text-align: right; }
.wlp-loteca-score { font-weight: 800; color: var(--wlp-primary); background: var(--wlp-surface-2); border-radius: 8px; padding: 2px 10px; }

/* ---------- Charts / estatísticas ---------- */
.wlp-charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: var(--wlp-gap); }
.wlp-chart { background: var(--wlp-surface-2); border: 1px solid var(--wlp-border); border-radius: var(--wlp-radius); padding: 12px; min-height: 240px; }
.wlp-chart h3 { font-size: .9rem; color: var(--wlp-text); margin-bottom: 10px; }
.wlp-chart canvas { max-width: 100%; }
.wlp-delayed { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px,1fr)); gap: 10px; }
.wlp-delayed-item { text-align: center; }
.wlp-delayed-ball {
  width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 4px;
  background: radial-gradient(circle at 30% 25%, #ff8a80, #e74c3c 60%, #b93325);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.wlp-delayed-count { font-size: .72rem; color: var(--wlp-muted); }

.wlp-duplas { margin-top: var(--wlp-gap); }
.wlp-duplas h3 { font-size: .95rem; margin-bottom: 10px; color: var(--wlp-text); }
.wlp-duplas-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.wlp-dtab { background: var(--wlp-surface-2); border: 1px solid var(--wlp-border); border-radius: var(--wlp-radius-pill); padding: 7px 16px; font-weight: 600; color: var(--wlp-muted); cursor: pointer; }
.wlp-dtab.is-active { background: var(--wlp-primary); color: #fff; border-color: var(--wlp-primary); }
.wlp-dpanel { display: none; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 12px; }
.wlp-dpanel.is-active { display: grid; }
.wlp-dupla {
  background: var(--wlp-surface-2); border: 1px solid var(--wlp-border);
  border-radius: var(--wlp-radius); padding: 12px; text-align: center;
}
.wlp-dupla-balls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; }
.wlp-dupla-plus { color: var(--wlp-muted); font-weight: 700; }
.wlp-dupla-label { font-size: .78rem; color: var(--wlp-muted); }

/* ---------- FAQ ---------- */
.wlp-faq-list { display: flex; flex-direction: column; gap: 8px; }
.wlp-faq-item { border: 1px solid var(--wlp-border); border-radius: var(--wlp-radius); background: var(--wlp-surface-2); overflow: hidden; }
.wlp-faq-item summary {
  cursor: pointer; padding: 12px 16px; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.wlp-faq-item summary::-webkit-details-marker { display: none; }
.wlp-faq-item summary::after { content: "+"; color: var(--wlp-primary); font-size: 1.3em; font-weight: 700; transition: transform .2s; }
.wlp-faq-item[open] summary::after { transform: rotate(45deg); }
.wlp-faq-a { padding: 0 16px 14px; color: var(--wlp-muted); font-size: .92rem; }

/* ---------- CTA ---------- */
.wlp-cta {
  background: linear-gradient(115deg, var(--wlp-hero-from), var(--wlp-hero-to));
  color: #fff; border-radius: var(--wlp-radius); padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
}
.wlp-cta-text { display: flex; flex-direction: column; gap: 2px; }
.wlp-cta-text strong { font-size: 1.1rem; }
.wlp-cta-text span { opacity: .9; font-size: .9rem; }
.wlp-cta-btn {
  background: #fff; color: var(--wlp-primary-dark); text-decoration: none;
  font-weight: 700; padding: 10px 22px; border-radius: var(--wlp-radius-pill);
  white-space: nowrap; transition: transform .15s;
}
.wlp-cta-btn:hover { transform: translateY(-2px); }

.wlp-empty { padding: 30px; text-align: center; color: var(--wlp-muted); }

/* ============================================================
   Navegador de concursos
   ============================================================ */
/* Barra/botão que abre o navegador da modalidade em destaque */
.wlp-navbar { display: flex; justify-content: center; }
.wlp-nav-open {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--wlp-surface); color: var(--wlp-primary);
  border: 1px solid var(--wlp-border); border-radius: var(--wlp-radius-pill);
  padding: 10px 18px; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer;
  box-shadow: var(--wlp-shadow); transition: transform .15s, background .15s, color .15s;
}
.wlp-nav-open:hover { transform: translateY(-2px); background: var(--wlp-primary); color: #fff; }
.wlp-nav-open svg { flex-shrink: 0; }

/* Card clicável */
.wlp-mcard.is-nav { cursor: pointer; }
.wlp-mcard.is-nav:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.3); }
.wlp-mcard.is-nav::after {
  content: "↔"; position: absolute; top: 10px; right: 12px;
  font-size: 14px; color: var(--wlp-acc); opacity: 0; transition: opacity .2s;
}
.wlp-mcard.is-nav { position: relative; }
.wlp-mcard.is-nav:hover::after, .wlp-mcard.is-nav:focus-visible::after { opacity: .9; }
.wlp-mcard.is-nav:focus-visible,
.wlp-nav-open:focus-visible,
.wlp-nav-btn:focus-visible,
.wlp-overlay-close:focus-visible { outline: 3px solid var(--wlp-primary-light); outline-offset: 2px; }

/* Overlay */
.wlp-overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.wlp-overlay[hidden] { display: none; }
.wlp-overlay-backdrop { position: absolute; inset: 0; background: rgba(15,10,20,.55); backdrop-filter: blur(3px); }
.wlp-overlay-panel {
  position: relative; z-index: 1;
  width: min(680px, 100%); max-height: min(88vh, 900px); overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--wlp-bg); color: var(--wlp-text);
  border: 1px solid var(--wlp-border); border-radius: var(--wlp-radius);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.5);
}
.wlp-overlay-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 12px 14px; border-bottom: 1px solid var(--wlp-border); background: var(--wlp-surface);
}
.wlp-nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--wlp-primary); color: #fff; border: 0;
  border-radius: var(--wlp-radius-pill); padding: 8px 14px; font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.wlp-nav-btn:hover:not(:disabled) { transform: translateY(-1px); }
.wlp-nav-btn:disabled { opacity: .4; cursor: not-allowed; }
.wlp-jump { margin: 0 auto; }
.wlp-jump label { font-size: .82rem; color: var(--wlp-muted); display: inline-flex; align-items: center; gap: 6px; }
.wlp-jump input {
  width: 92px; padding: 6px 8px; border: 1px solid var(--wlp-border); border-radius: 8px;
  background: var(--wlp-bg); color: var(--wlp-text); font: inherit; font-size: .9rem;
}
.wlp-overlay-close {
  background: transparent; border: 0; color: var(--wlp-muted); font-size: 1.6rem; line-height: 1;
  cursor: pointer; padding: 2px 8px; border-radius: 8px;
}
.wlp-overlay-close:hover { color: var(--wlp-text); background: var(--wlp-surface-2); }
.wlp-overlay-body { padding: 18px; overflow-y: auto; }
.wlp-overlay-loading, .wlp-overlay-error { text-align: center; color: var(--wlp-muted); padding: 40px 10px; }

/* Visão de resultado (dentro do overlay) */
.wlp-rv { --wlp-acc: var(--wlp-primary); --wlp-acc-d: var(--wlp-primary-dark); display: flex; flex-direction: column; gap: 14px; }
.wlp-rv-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap;
  padding-bottom: 10px; border-bottom: 2px solid var(--wlp-acc);
}
.wlp-rv-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wlp-rv-name { font-size: 1.2rem; font-weight: 800; color: var(--wlp-acc-d); }
.wlp-portal[data-wlp-dark="1"] .wlp-rv-name { color: var(--wlp-acc); }
.wlp-rv-meta { font-size: .85rem; color: var(--wlp-muted); }
.wlp-rv-numbers .wlp-ball { background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--wlp-acc) 70%, white), var(--wlp-acc) 65%, var(--wlp-acc-d)); }
.wlp-rv-numbers .is-sec .wlp-ball { background: radial-gradient(circle at 30% 25%, #9aa4b2, #64748b 60%, #475569); }
.wlp-rv-numbers .is-trevo .wlp-ball { background: radial-gradient(circle at 30% 25%, #6fe08a, #2ecc71 60%, #1f9d55); }
.wlp-rv-next {
  display: flex; gap: 8px 20px; flex-wrap: wrap; justify-content: center;
  background: var(--wlp-surface-2); border: 1px solid var(--wlp-border); border-radius: var(--wlp-radius);
  padding: 10px 14px; font-size: .88rem; color: var(--wlp-muted);
}
.wlp-rv-next strong { color: var(--wlp-text); }

/* Switch "Ver no volante" (alterna linha de bolas × cartela) */
.wlp-switch {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: .82rem; font-weight: 600; color: var(--wlp-muted);
  -webkit-user-select: none; user-select: none; flex-shrink: 0;
}
.wlp-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.wlp-switch-track {
  position: relative; width: 40px; height: 22px; flex-shrink: 0;
  background: var(--wlp-border); border-radius: 999px; transition: background .2s;
}
.wlp-switch-thumb {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: transform .2s;
}
.wlp-switch input:checked + .wlp-switch-track { background: var(--wlp-acc, var(--wlp-primary)); }
.wlp-switch input:checked + .wlp-switch-track .wlp-switch-thumb { transform: translateX(18px); }
.wlp-switch input:checked ~ .wlp-switch-text { color: var(--wlp-acc-d, var(--wlp-primary-dark)); }
.wlp-portal[data-wlp-dark="1"] .wlp-switch input:checked ~ .wlp-switch-text { color: var(--wlp-acc, var(--wlp-primary)); }
.wlp-switch input:focus-visible + .wlp-switch-track { outline: 3px solid var(--wlp-primary-light); outline-offset: 2px; }

/* Alternância entre os dois formatos */
.wlp-rv-volante { display: none; }
.wlp-rv.is-volante .wlp-rv-line { display: none; }
.wlp-rv.is-volante .wlp-rv-volante { display: block; }

/* Volante virtual (cartela completa, dezenas sorteadas em destaque) */
.wlp-volante-set { display: flex; flex-direction: column; gap: 14px; }
.wlp-vboard { width: 100%; }
.wlp-volante.is-auto {
  grid-template-columns: repeat(var(--wlp-vcols, 10), minmax(0, 1fr));
  gap: 5px; width: 100%;
  max-width: calc(var(--wlp-vcols, 10) * 50px);
  margin: 0 auto;
}
.wlp-volante.is-auto .wlp-cel {
  width: auto; height: auto; aspect-ratio: 1 / 1;
  font-size: clamp(.6rem, 2.4vw, .95rem); border-radius: 7px;
}
.wlp-volante.is-auto .wlp-cel.is-on {
  background: linear-gradient(150deg, var(--wlp-acc, var(--wlp-primary)), var(--wlp-acc-d, var(--wlp-primary-dark)));
}
.wlp-volante.is-auto.is-sec .wlp-cel.is-on { background: linear-gradient(150deg, #94a3b8, #475569); }
.wlp-volante.is-auto.is-trevo .wlp-cel.is-on { background: linear-gradient(150deg, #2ecc71, #1f9d55); }
.wlp-vcount { text-align: center; font-size: .76rem; color: var(--wlp-muted); margin-top: 8px; }

/* Super Sete: uma coluna de 0–9 por posição */
.wlp-vcolumns {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px;
  max-width: 380px; margin: 0 auto; padding: 8px;
  background: var(--wlp-surface-2); border: 1px solid var(--wlp-border); border-radius: var(--wlp-radius);
}
.wlp-vcolumn { display: flex; flex-direction: column; gap: 4px; }
.wlp-vcolumn-h { text-align: center; font-size: .66rem; font-weight: 700; color: var(--wlp-muted); }
.wlp-vcolumn .wlp-cel {
  width: auto; height: auto; aspect-ratio: 1 / 1;
  font-size: clamp(.58rem, 2.2vw, .9rem); border-radius: 6px;
}
.wlp-vcolumn .wlp-cel.is-on {
  background: linear-gradient(150deg, var(--wlp-acc, var(--wlp-primary)), var(--wlp-acc-d, var(--wlp-primary-dark)));
  color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* Rótulos do volante (Mês da Sorte) */
.wlp-vlabels { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.wlp-vlabel {
  font-size: .78rem; font-weight: 600; padding: 5px 12px;
  border: 1px solid var(--wlp-border); border-radius: var(--wlp-radius-pill);
}
.wlp-vlabel.is-off { background: var(--wlp-surface-2); color: var(--wlp-muted); }
.wlp-vlabel.is-on {
  background: linear-gradient(150deg, var(--wlp-acc, var(--wlp-primary)), var(--wlp-acc-d, var(--wlp-primary-dark)));
  color: #fff; border-color: transparent;
}

/* Animação de abertura */
@keyframes wlpOverlayIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes wlpFade { from { opacity: 0; } to { opacity: 1; } }
.wlp-portal[data-wlp-anim="full"] ~ .wlp-overlay .wlp-overlay-panel,
.wlp-overlay .wlp-overlay-panel { animation: wlpOverlayIn .26s cubic-bezier(.2,.7,.3,1) both; }
.wlp-overlay .wlp-overlay-backdrop { animation: wlpFade .26s ease both; }
body.wlp-noscroll { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .wlp-overlay .wlp-overlay-panel, .wlp-overlay .wlp-overlay-backdrop { animation: none !important; }
}
@media (max-width: 520px) {
  .wlp-overlay-bar { gap: 6px; }
  .wlp-nav-btn span { display: none; }
  .wlp-jump input { width: 70px; }
  .wlp-overlay-body { padding: 14px 10px; }
  .wlp-volante.is-auto { gap: 3px; padding: 6px; }
  .wlp-vcolumns { gap: 4px; padding: 6px; }
  .wlp-rv-head { align-items: flex-start; }
}

/* ============================================================
   Animações (graduais por nível: none | subtle | full)
   ============================================================ */
@keyframes wlpDrawIn { from { opacity: 0; transform: scale(.4) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes wlpPulse { 0% { box-shadow: 0 0 0 0 rgba(142,68,173,.55); } 70% { box-shadow: 0 0 0 8px rgba(142,68,173,0); } 100% { box-shadow: 0 0 0 0 rgba(142,68,173,0); } }
@keyframes wlpReveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Reveal on scroll */
.wlp-portal[data-wlp-anim="full"] .wlp-reveal,
.wlp-portal[data-wlp-anim="subtle"] .wlp-reveal { opacity: 0; }
.wlp-portal[data-wlp-anim="full"] .wlp-reveal.is-visible { animation: wlpReveal .5s ease both; }
.wlp-portal[data-wlp-anim="subtle"] .wlp-reveal.is-visible { animation: wlpReveal .3s ease both; }

/* Ball draw-in (stagger via --wlp-i) */
.wlp-portal[data-wlp-anim="full"] .wlp-draw {
  animation: wlpDrawIn .45s cubic-bezier(.2,.7,.3,1) both;
  animation-delay: calc(var(--wlp-i, 0) * 55ms);
}
.wlp-portal[data-wlp-anim="subtle"] .wlp-draw { animation: wlpDrawIn .3s ease both; animation-delay: calc(var(--wlp-i,0) * 25ms); }

/* Pulse nas dezenas sorteadas do volante (só full) */
.wlp-portal[data-wlp-anim="full"] .wlp-cel.is-on { animation: wlpPulse 2.2s infinite; }

/* No volante do navegador são muitas células: entrada em cascata, sem pulse. */
.wlp-portal[data-wlp-anim="full"] .wlp-rv-volante .wlp-cel.is-on,
.wlp-portal[data-wlp-anim="subtle"] .wlp-rv-volante .wlp-cel.is-on {
  animation: wlpDrawIn .4s cubic-bezier(.2,.7,.3,1) both;
  animation-delay: calc(var(--wlp-i, 0) * 45ms);
}

@media (prefers-reduced-motion: reduce) {
  .wlp-portal .wlp-reveal { opacity: 1 !important; animation: none !important; }
  .wlp-portal .wlp-draw { animation: none !important; }
  .wlp-portal .wlp-cel.is-on { animation: none !important; }
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 820px) {
  .wlp-hero { flex-direction: column; align-items: stretch; text-align: center; padding: 18px; }
  .wlp-hero-next { text-align: center; }
  .wlp-hero-title { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .wlp-portal { --wlp-ball-size: 36px; --wlp-gap: 14px; --wlp-pad: 14px; }
  .wlp-hero-title { font-size: 1.15rem; }
  .wlp-card-title { font-size: .98rem; }
  .wlp-mods-wrap.is-grid { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); }
}
