/* Crack the Code Daily. Loaded after ../style.css, which carries all the
   shared chrome (header, board, slots, palette, tallies, overlays, footer).
   Only what the daily adds lives here. */

/* ---------- Which puzzle this is ---------- */
.daily-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.25rem 0 0.75rem;
}
.daily-number {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}
.daily-date { font-size: 0.9rem; color: var(--ink-soft); font-weight: 700; }

/* ---------- Arrived on a friend's link ---------- */
.vs-banner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  text-align: center;
}
.vs-banner[hidden] { display: none; }
.vs-banner b { color: var(--accent); }

/* ---------- Result (replaces the guess area) ---------- */
.result { text-align: center; }
.result[hidden] { display: none; }
.result-head {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--green-dark);
  margin: 0 0 0.15rem;
}
.result-main {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
/* .result-vs, .result-rank, .result-stats and .result-next live in ../style.css
   (the main game's end screen uses them too). */
.result-link { text-align: center; }
#guessBlock[hidden] { display: none; }

/* ---------- Under the board ---------- */
.history { margin-bottom: 0.85rem; }
.history:empty { margin-bottom: 0; }
.name-link { margin-top: 0; }

/* Sheets (share, settings) live in ../style.css. */

/* ---------- Quick rules ---------- */
.rules {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.rules summary {
  padding: 1rem 0.2rem;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}
.rules-body { padding: 0 0.2rem 0.5rem; }
.rules-body p { line-height: 1.55; font-size: 0.95rem; margin: 0 0 0.8rem; }
.rules-body a { color: var(--green-dark); font-weight: 700; }
