/* Kino prototype: « Ce soir… » and Sagas pages. Theme tokens only. */

/* ---------- Ce soir ---------- */

.tonight-filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.tonight-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.tonight-label { min-width: 72px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tonight-count { margin: 16px 0 12px; }
.tonight-draw { min-height: 56px; padding: 0 36px; font-size: 14px; }
.tonight-result { margin-top: 36px; outline: none; }
.tonight-result-title { margin: 0 0 24px; font-size: clamp(28px, 4vw, 44px); outline: none; }
.tonight-cards { display: grid; gap: 32px 28px; }
.tonight-cards[data-count='3'] { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tonight-card { display: flex; gap: 20px; align-items: flex-start; }
.tonight-cover { flex: none; width: min(150px, 36%); text-decoration: none; }
.tonight-cover .thumb { aspect-ratio: 2 / 3; box-shadow: var(--case-shadow); }
.tonight-body { min-width: 0; }
.tonight-title { margin: 0 0 8px; font-size: 26px; line-height: 1.15; }
.tonight-synopsis { margin: 12px 0 0; font-family: var(--font-display); font-size: 16px; line-height: 1.5; }
.tonight-body .actions { margin-top: 18px; }
.tonight-again { margin: 28px 0 0; }
.tonight-empty { padding: 32px 0; text-align: center; outline: none; }
.tonight-empty p { margin: 6px 0; }

.tonight-result.is-revealed .tonight-card { animation: tonight-reveal .35s var(--ease) both; }
.tonight-result.is-revealed .tonight-card:nth-child(2) { animation-delay: .06s; }
.tonight-result.is-revealed .tonight-card:nth-child(3) { animation-delay: .12s; }
@keyframes tonight-reveal {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tonight-result.is-revealed .tonight-card { animation: none; }
}
html[data-light='on'] .tonight-result.is-revealed .tonight-card { animation: none; }

/* ---------- Sagas ---------- */

.saga-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 24px; }
.saga-card {
  display: flex; flex-direction: column; gap: 10px; padding: 16px; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 4px; background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.saga-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.saga-strip { display: flex; padding-left: 0; }
.saga-cover { flex: none; width: 25%; margin-left: -8%; }
.saga-cover:first-child { margin-left: 0; }
.saga-cover .thumb { aspect-ratio: 2 / 3; box-shadow: 0 6px 14px -6px var(--floor); }
.saga-name { font-size: 22px; line-height: 1.2; }

.saga-empty { max-width: 40em; padding: 32px 0; }
.saga-empty p { margin: 6px 0 12px; }

.saga-head { margin: 20px 0 28px; max-width: 48em; }
.saga-title { margin: 0 0 12px; font-size: clamp(40px, 6vw, 72px); line-height: 1; }
.saga-progress { height: 8px; margin: 12px 0 20px; border-radius: 999px; background: var(--line); overflow: hidden; }
.saga-progress span { display: block; height: 100%; background: var(--accent); }
.saga-next { font-weight: 400; }
.saga-done { margin: 0; }

.saga-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.saga-row { display: flex; align-items: center; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.saga-num { flex: none; width: 2ch; font-family: var(--font-display); font-size: 28px; color: var(--muted); text-align: right; }
.saga-row-cover { flex: none; width: 64px; }
.saga-row-cover .thumb { aspect-ratio: 2 / 3; }
.saga-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.saga-row-title { font-size: 22px; line-height: 1.2; color: var(--fg); text-decoration: none; }
.saga-row-title:hover { color: var(--accent); }
.saga-row.is-seen .saga-row-cover { opacity: .6; }
.saga-seen { color: var(--accent); }

@media (max-width: 640px) {
  .tonight-card { flex-direction: column; }
  .tonight-cover { width: 120px; }
  .saga-row { flex-wrap: wrap; }
  .saga-row-actions { width: 100%; }
}
