/* ── Today's word / phrase / proverb / verse ─────────────────────────────────
   Rendered by js/daily.js. The section starts empty and is removed outright if
   the API is unreachable, so it never leaves a hollow heading behind. */
.daily-today { display: none; }
.daily-today.is-loaded { display: block; margin: 3.5rem 0; }

.daily-head { text-align: center; margin-bottom: 1.75rem; }

.daily-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #f97316;
}

.daily-head h2 { margin: 0; font-size: 1.5rem; }

.daily-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  align-items: start;
}

.daily-card {
  background: #fff;
  border: 1px solid #f1e9e0;
  border-radius: 1.15rem;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* A quiet top rule per kind — enough to tell the four apart at a glance without
   four different card treatments competing with each other. */
.daily-card--word    { border-top: 3px solid #f97316; }
.daily-card--phrase  { border-top: 3px solid #0ea5e9; }
.daily-card--proverb { border-top: 3px solid #16a34a; }
.daily-card--verse   { border-top: 3px solid #a855f7; }

.daily-card-kind {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9a8c80;
}

.daily-card-term {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  line-height: 1.3;
}

/* Proverbs and verses are sentences, not headwords — smaller, and italic so they
   read as quoted rather than as a term being defined. */
.daily-card-term--quote {
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 600;
}

.daily-card-translation { margin: 0; font-size: 0.95rem; color: #4b5563; }
.daily-card-meta { margin: 0; font-size: 0.8rem; color: #9a8c80; }
.daily-card-reference { margin: 0; font-size: 0.8rem; font-weight: 600; color: #a855f7; }

.daily-card-meaning {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #4b5563;
  border-left: 2px solid #f1e9e0;
  padding-left: 0.7rem;
}

.daily-card-example {
  margin: 0.4rem 0 0;
  font-size: 0.83rem;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.daily-card-example span { color: #1f2937; font-weight: 600; }

.daily-audio {
  border: 0;
  background: #fff7ed;
  color: #f97316;
  border-radius: 999px;
  width: 1.8rem;
  height: 1.8rem;
  cursor: pointer;
  flex-shrink: 0;
}
.daily-audio:hover { background: #ffedd5; }
