/* wc-trivia-cab.v1.css — Trivia Daily single-page components v=wchard0728h */

/* ── Stat band ──────────────────────────────────────────────────────────── */
.triv-statband {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 20px 0 28px;
  border: 1px solid #E8DDD0;
  border-radius: 14px;
  overflow: hidden;
  background: #FFFDF9;
}
.triv-stat {
  padding: 18px 12px;
  text-align: center;
  border-right: 1px solid #E8DDD0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.triv-stat:last-child { border-right: none; }
.triv-stat__n {
  display: block;
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  color: #2E9E6B;
  line-height: 1;
}
.triv-stat__l {
  display: block;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #7A8C84;
  text-transform: uppercase;
  letter-spacing: .06em;
}
html.dark .triv-statband {
  background: #0C1F18;
  border-color: #1E3D30;
}
html.dark .triv-stat { border-right-color: #1E3D30; }
html.dark .triv-stat__l { color: #5A8070; }
@media (max-width: 580px) {
  .triv-statband { grid-template-columns: repeat(3, 1fr); }
  .triv-stat:nth-child(3) { border-right: none; }
  .triv-stat:nth-child(4) { border-top: 1px solid #E8DDD0; border-right: 1px solid #E8DDD0; }
  .triv-stat:nth-child(5) { border-top: 1px solid #E8DDD0; border-right: none; }
  html.dark .triv-stat:nth-child(4),
  html.dark .triv-stat:nth-child(5) { border-color: #1E3D30; }
}

/* ── Clue card list ─────────────────────────────────────────────────────── */
.triv-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.triv-card {
  display: flex;
  gap: 14px;
  background: #FFFDF9;
  border: 1px solid #ECE1CF;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
html.dark .triv-card {
  background: #0C1F18;
  border-color: #24463A;
  box-shadow: none;
}
.triv-card__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #2E9E6B;
  color: #fff;
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.triv-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.triv-card__clue {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1A2922;
  line-height: 1.45;
}
html.dark .triv-card__clue { color: #D8EFE6; }

/* image clue */
.triv-card__img img,
.triv-card__img picture img {
  max-width: 180px;
  border-radius: 8px;
  display: block;
  margin-bottom: 2px;
}

/* tile row */
.triv-card__tiles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

/* meta breakdown row */
.triv-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  color: #7A8C84;
  padding-top: 2px;
}
.triv-meta-item strong {
  color: #2E9E6B;
  font-weight: 700;
}
.triv-break-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F0FAF5;
  border: 1px solid #B8E0CC;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #1A5C3E;
}
.triv-break-chip em {
  font-style: normal;
  font-weight: 400;
  color: #5A8070;
  font-size: 10px;
}
html.dark .triv-break-chip {
  background: #0A2E1F;
  border-color: #1E5E40;
  color: #7DDAB0;
}
html.dark .triv-break-chip em { color: #4A8066; }
.triv-meta-total {
  font-size: 11px;
  color: #9AAB9E;
  margin-left: 2px;
}
html.dark .triv-meta-total { color: #456055; }

/* About section spacing */
.triv-about .t-intro-prose { margin-top: 14px; }
