/* Home page extras for ROTK Tracker. Contract classes live in /style.css; only page-specific rules here.
   Square, thin 1px lines, dark surfaces, red only for signal. Fallback colours mirror rotk.app's tokens. */

.hero {
  padding: clamp(2.5rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line, rgba(238, 236, 228, .16));
}
.hero .lead { max-width: 42rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* live strip */
.live-stats { margin-bottom: 1px; }
.region-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line, rgba(238, 236, 228, .16));
  border: 1px solid var(--line, rgba(238, 236, 228, .16));
  margin-top: 1rem;
}
.region {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .9rem 1rem;
  background: var(--surface, #10100f);
}
.region-name {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: var(--muted, #96948d);
}
.region-players {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.3px;
  color: var(--paper, #eeece4);
}
.region-modes {
  font-size: 12.5px;
  color: var(--muted, #96948d);
}
.updated { margin-top: .75rem; }

/* cut card */
.cut-card { padding: clamp(1rem, 3vw, 1.75rem); }
.cut-stats .cut-score .stat-num { color: var(--paper, #eeece4); }
/* The countdown tile: the ticking .countdown sits inside a .stat-num and takes its size instead of the 20px inline default. */
.cut-stats .stat-num .countdown { display: block; font-size: inherit; line-height: inherit; letter-spacing: inherit; font-variant-numeric: tabular-nums; }
.cut-form { margin-top: 1.25rem; }
.cut-form .input { flex: 1 1 220px; min-width: 0; }
.cut-card > .small { margin-top: .5rem; }

/* next on the circuit */
.event-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.event-list .empty,
.event-list .notice,
.event-list .loading { grid-column: 1 / -1; }
.event-list .event-title { margin: .35rem 0 .25rem; }
.event-list .event-title a { color: inherit; text-decoration: none; }
.event-list .event-title a:hover { text-decoration: underline; }
.event-list .event-meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.event-list .event-reward { margin-top: .5rem; }
.section-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1.25rem;
}

@media (max-width: 760px) {
  .event-list { grid-template-columns: 1fr; }
  .region-players { font-size: 26px; }
}
