/* /live: directory of live race pages. Builds on race.css. */
.lv-sub { margin-top: 12px; color: var(--muted); }
.lv-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.lv-sort { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 0.9rem; cursor: pointer; }
.lv-sort[aria-pressed="true"] { border-color: color-mix(in srgb, var(--violet) 60%, transparent); background: var(--violet-soft); color: var(--text); }
.lv-sort:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.lv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.lv-card { --accent: var(--violet); border: 1px solid var(--line); border-radius: 18px; background: var(--bg-raised); transition: border-color 0.2s ease, transform 0.2s ease; }
.lv-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-2px); }
.lv-link { display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 18px; color: inherit; text-decoration: none; border-radius: inherit; }
.lv-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lv-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lv-logo { width: 44px; height: 44px; flex: none; border-radius: 12px; object-fit: cover; background: var(--bg-row); }
.lv-initial { display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.lv-name { min-width: 0; flex: 1; }
.lv-name h2 { margin: 0; font-family: var(--display); font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-name p { margin: 2px 0 0; color: var(--muted); font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-casino { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.78rem; color: var(--muted); }
.lv-casino img { width: 16px; height: 16px; }
.lv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.lv-stats div { min-width: 0; padding: 10px; border-radius: 12px; background: var(--bg-row); }
.lv-stats dt { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lv-stats dd { margin: 4px 0 0; font-family: var(--mono); font-weight: 700; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-stats dd span { display: block; font-weight: 400; font-size: 0.78rem; color: var(--muted); }
.lv-stats div:first-child dd { color: var(--accent); }
.lv-foot { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: auto 0 0; font-size: 0.8rem; color: var(--muted); }
.lv-go { margin-left: auto; color: var(--text); }
@media (max-width: 420px) {
  .lv-stats { grid-template-columns: 1fr 1fr; }
  .lv-stats div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .lv-card { transition: none; } .lv-card:hover { transform: none; } }
