/* Extra styles for the generated static pages (scripts/build_pages.py): ตรวจหวย/ and ทำนายฝัน/ */
.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 8px; overflow-wrap: anywhere; }
.crumbs a { color: var(--muted); }
h1 { overflow-wrap: anywhere; }
.pager { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn-link { display: inline-block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 14px; }
.btn-link:hover { background: var(--surface-2); }
.num-list { display: block; margin: 0; font-family: var(--mono); font-weight: 500; word-spacing: .7em; line-height: 1.9; overflow-wrap: anywhere; }
.first.pending { color: var(--muted); }
.facts { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.links { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { text-decoration: none; background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 4px 14px; border: 1px solid var(--line); }
.chip-link:hover { border-color: var(--accent); }
tr.cur td { background: var(--surface-2); font-weight: 600; }
td a { white-space: nowrap; }
details.year > summary { cursor: pointer; list-style: none; }
details.year > summary::-webkit-details-marker { display: none; }
details.year > summary h2 { margin: 0; display: inline; }
details.year > summary::before { content: "▸ "; color: var(--muted); }
details.year[open] > summary::before { content: "▾ "; }
details.year[open] > summary { margin-bottom: 12px; display: block; }
h2 small { color: var(--muted); font-weight: 400; font-size: .85rem; }
.dnums { font-family: var(--mono); font-weight: 700; color: var(--win); font-size: 1.6rem; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .pager .btn-link { flex: 1 1 100%; text-align: center; }
}
