/* Página principal de cada loteria (/mega-sena/ etc.). Usa as variáveis do tema. */
.lh-wrap { --dot: var(--primary); }
.lh-muted { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.lh-disclaimer { margin-top: 28px; font-size: 13px; }
.lh-k { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); margin: 0; }

.lh-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; margin-top: 18px; padding: 26px; background: var(--surface); border: 1.5px solid var(--primary); border-radius: 20px; border-left: 8px solid var(--dot); }
.lh-date { font-size: 18px; font-weight: 700; margin: 6px 0 0; }
.lh-prize { font-family: "Fraunces", Georgia, serif; font-size: clamp(38px, 6vw, 58px); line-height: 1.05; color: var(--primary); margin: 8px 0 4px; font-weight: 700; }
.lh-sub { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin: 0; }
.lh-sub .badge { margin-left: 8px; }
.lh-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lh-facts li { background: var(--bg); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }
.lh-facts span { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.lh-facts strong { font-size: 15.5px; line-height: 1.3; overflow-wrap: anywhere; }

.lh-card { margin-top: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.lh-card h2, .lh-card h3 { margin: 0 0 12px; line-height: 1.25; }
.lh-card h3 { font-size: 19px; }
.lh-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lh-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lh-table th, .lh-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.lh-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.lh-table tbody th { font-weight: 700; }
.lh-table tbody tr:last-child th, .lh-table tbody tr:last-child td { border-bottom: 0; }

.lh-list { list-style: none; margin: 0; padding: 0; }
.lh-list li { margin: 0; border-bottom: 1px solid var(--border); }
.lh-list li:last-child { border-bottom: 0; }
.lh-list a { display: grid; grid-template-columns: 130px 90px 1fr auto; gap: 10px 14px; align-items: center; padding: 12px 4px; text-decoration: none; color: inherit; min-height: 48px; }
.lh-list a:hover { background: var(--bg); }
.lh-list a:focus-visible { outline: 3px solid var(--accent); outline-offset: -2px; }
.lh-d { color: var(--text-muted); font-size: 14px; }
.lh-n { font-variant-numeric: tabular-nums; font-size: 14.5px; letter-spacing: .02em; min-width: 0; overflow-wrap: anywhere; }
.lh-list em { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.lh-list em.is-acum { background: #fff3d6; color: #7a5200; }
.lh-list em.is-ganh { background: #e3f4e9; color: #14532d; }

.lh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 14px; }
.lh-balls { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.lh-balls b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f0a030; color: #3a2300; font-size: 14px; font-variant-numeric: tabular-nums; }
.lh-balls--cold b { background: #8db8e0; color: #0f2a44; }
.lh-big { font-family: "Fraunces", Georgia, serif; font-size: 36px; margin: 6px 0 0; line-height: 1; color: var(--primary); }

.lh-faq details { border-bottom: 1px solid var(--border); }
.lh-faq details:last-of-type { border-bottom: 0; }
.lh-faq summary { cursor: pointer; font-weight: 700; padding: 15px 28px 15px 0; position: relative; list-style: none; min-height: 48px; display: flex; align-items: center; }
.lh-faq summary::-webkit-details-marker { display: none; }
.lh-faq summary::after { content: "+"; position: absolute; right: 4px; font-size: 22px; font-weight: 400; color: var(--text-muted); }
.lh-faq details[open] summary::after { content: "–"; }
.lh-faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lh-faq details p { margin: 0 0 16px; line-height: 1.65; color: var(--text); }

@media (max-width: 820px) {
  .lh-hero { grid-template-columns: 1fr; padding: 20px; }
  .lh-stats { grid-template-columns: 1fr 1fr; }
  .lh-list a { grid-template-columns: 1fr auto; }
  .lh-list .lh-n { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 480px) {
  .lh-facts { grid-template-columns: 1fr; }
  .lh-card { padding: 18px; }
  .lh-stats { grid-template-columns: 1fr; }
}
