/* Group 1 previews: hub, preview page, homepage spotlight, meeting module.
   Uses the base.html theme tokens only, so light mode follows automatically. */

.g1-wrap { max-width: 64rem; margin: 0 auto; padding: 2rem 1rem 3rem; }
@media (min-width: 640px) { .g1-wrap { padding: 3rem 2rem 4rem; } }

.g1-crumbs { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 1.25rem; }
.g1-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; }
.g1-crumbs li + li::before { content: '›'; margin-right: 0.4rem; color: var(--magenta); }
.g1-crumbs a { color: var(--text-muted); text-decoration: none; }
.g1-crumbs a:hover { color: var(--cyan); }

.g1-h1 { font-family: 'Orbitron', sans-serif; font-weight: 800; line-height: 1.15;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem); margin: 0 0 1rem;
  background: var(--gradient-sunset); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
.g1-h2 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.6rem;
  color: var(--cyan); margin: 2.5rem 0 1rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle); }
.g1-h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.2rem;
  color: var(--magenta); margin: 1.25rem 0 0.5rem; }
.g1-kicker { font-family: 'Orbitron', sans-serif; font-size: 0.75rem; letter-spacing: 0.2em;
  color: var(--cyan); text-transform: uppercase; }

.g1-badge { display: inline-block; font-family: 'Orbitron', sans-serif; font-weight: 800;
  font-size: 0.7rem; letter-spacing: 0.12em; padding: 0.2rem 0.55rem; border-radius: 6px;
  background: var(--gradient-sunset); color: #fff; vertical-align: middle; }
.g1-tag { display: inline-block; font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.5rem;
  border-radius: 6px; border: 1px solid var(--border-default); color: var(--text-secondary);
  margin: 0 0.25rem 0.25rem 0; }
.g1-tag-top { border-color: var(--magenta); color: var(--magenta); }
.g1-tag-value { border-color: #4ade80; color: #4ade80; }
.g1-tag-under { border-color: var(--orange); color: var(--orange); }
.g1-tag-result { border-color: var(--yellow); color: var(--yellow); }

.g1-prose p, .g1-prose li { color: var(--text-secondary); line-height: 1.8; }
.g1-prose p { margin: 0 0 1rem; }
.g1-prose strong { color: var(--text-primary); }
.g1-prose ul.blog-list { list-style: disc; padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.g1-prose h3.blog-h3 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.15rem;
  color: var(--magenta); margin: 1.25rem 0 0.5rem; }
.g1-prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.g1-prose code { background: var(--bg-card-alt); padding: 0.1rem 0.35rem; border-radius: 4px; }
.g1-hook p { font-size: 1.2rem; color: var(--text-primary); font-style: italic; }

.g1-panel { background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 14px; padding: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .g1-panel { padding: 1.75rem; } }

.g1-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem;
  margin: 1rem 0 1.5rem; padding: 0; }
@media (min-width: 640px) { .g1-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.g1-facts dt { font-family: 'Rajdhani', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.g1-facts dd { margin: 0; color: var(--text-primary); font-weight: 600; }

.g1-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 0.75rem;
  border: 1px solid var(--border-subtle); border-radius: 10px; }
.g1-table { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: 0.95rem; }
.g1-table th, .g1-table td { padding: 0.6rem 0.7rem; text-align: left; white-space: nowrap;
  border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
.g1-table th { font-family: 'Rajdhani', sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.8rem; color: var(--text-muted); background: var(--bg-card-alt); }
.g1-table td.n, .g1-table th.n { text-align: right; font-variant-numeric: tabular-nums; }
.g1-table td.lbl { font-family: 'Orbitron', sans-serif; font-size: 0.75rem; color: var(--magenta); }
.g1-table tr:last-child td { border-bottom: none; }
.g1-table button.g1-sort { all: unset; cursor: pointer; }
.g1-table button.g1-sort:focus-visible { outline: 2px solid var(--cyan); }
.g1-table th[aria-sort="ascending"] .g1-sort::after { content: ' ▲'; }
.g1-table th[aria-sort="descending"] .g1-sort::after { content: ' ▼'; }
.g1-pos { color: #4ade80; }
.g1-neg { color: var(--orange); }
.g1-note { font-size: 0.85rem; color: var(--text-muted); margin: 0.25rem 0 1rem; }

.g1-says { list-style: none; padding: 0; margin: 0; }
.g1-says li { padding: 0.5rem 0; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
.g1-says li:last-child { border-bottom: none; }
.g1-says b { color: var(--text-primary); }

.g1-map { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .g1-map { grid-template-columns: repeat(4, 1fr); } }
.g1-map ul { list-style: none; padding: 0; margin: 0.25rem 0 0; color: var(--text-secondary); }

.g1-runner { border-left: 4px solid var(--magenta); }
.g1-runner h3 { font-family: 'Rajdhani', sans-serif; font-weight: 800; font-size: 1.35rem;
  color: var(--text-primary); margin: 0 0 0.5rem; text-transform: uppercase; }
.g1-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem;
  margin: 0.75rem 0; padding: 0; }
@media (min-width: 640px) { .g1-nums { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.g1-nums dt { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.g1-nums dd { margin: 0; font-weight: 700; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.g1-profile { font-family: 'Rajdhani', sans-serif; font-weight: 600; color: var(--cyan); margin-bottom: 0.5rem; }

.g1-result { border: 2px solid var(--yellow); }
.g1-result-label { font-family: 'Orbitron', sans-serif; font-size: 0.75rem; letter-spacing: 0.18em;
  color: var(--yellow); text-transform: uppercase; }
.g1-draft { background: var(--orange); color: #fff; text-align: center; font-family: 'Orbitron', sans-serif;
  font-weight: 800; letter-spacing: 0.15em; padding: 0.6rem 1rem; border-radius: 10px; margin-bottom: 1.25rem; }
.g1-locked { border: 1px dashed var(--border-default); border-radius: 10px; padding: 0.6rem 0.9rem;
  color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }

.g1-prices { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; color: var(--text-primary);
  letter-spacing: 0.05em; }
.g1-cta { display: inline-block; margin-top: 0.75rem; font-family: 'Rajdhani', sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cyan);
  text-decoration: none; border-bottom: 2px solid var(--cyan); }
.g1-cta:hover { color: var(--magenta); border-color: var(--magenta); }

.g1-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .g1-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.g1-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 14px;
  padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.g1-card-today { border-color: var(--magenta); box-shadow: var(--glow-magenta); }
.g1-card h3 { font-family: 'Rajdhani', sans-serif; font-weight: 800; font-size: 1.3rem; margin: 0;
  color: var(--text-primary); }
.g1-card h3 a { color: inherit; text-decoration: none; }
.g1-card h3 a:hover { color: var(--cyan); }
.g1-meta { font-size: 0.9rem; color: var(--text-muted); }
.g1-card .g1-hook-line { color: var(--text-secondary); font-style: italic; }
.g1-empty { color: var(--text-muted); font-style: italic; }

.g1-module { background: var(--bg-card); border: 1px solid var(--magenta); border-radius: 14px;
  padding: 1rem 1.25rem; margin-bottom: 1.5rem; box-shadow: var(--glow-magenta); }
.g1-module ul { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.g1-module li { padding: 0.6rem 0; border-bottom: 1px solid var(--border-subtle); }
.g1-module li:last-child { border-bottom: none; }
.g1-module .g1-race { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1.1rem;
  color: var(--text-primary); }

/* Jump-to menu (owner 2026-10-30): sticky on desktop, swipeable rows on phones. */
.g1-toc { margin: 1.5rem 0 0.5rem; padding: 0.6rem 0.75rem; border: 1px solid var(--border-subtle);
  border-radius: 12px; background: rgba(10, 10, 15, 0.92); backdrop-filter: blur(6px); z-index: 20; }
.g1-toc-row { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.g1-toc-row::-webkit-scrollbar { display: none; }
.g1-toc-row + .g1-toc-row { margin-top: 0.45rem; padding-top: 0.45rem; border-top: 1px solid var(--border-subtle); }
.g1-toc a { flex: 0 0 auto; padding: 0.3rem 0.7rem; border-radius: 999px; white-space: nowrap;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-secondary, #b8b8c8); border: 1px solid var(--border-subtle);
  text-decoration: none; }
.g1-toc a:hover, .g1-toc a:focus-visible { color: #00e5ff; border-color: #00e5ff; }
.g1-toc-runners a { text-transform: none; letter-spacing: 0; font-weight: 600; }
@media (min-width: 900px) { .g1-toc { position: sticky; top: 0.5rem; } }
.g1-h2, .g1-runner { scroll-margin-top: 7.5rem; }

