/* Status page — builds on /styles.css tokens */
.status-page { padding-top: clamp(32px, 6vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); }
.status-page h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); }
.status-lead { color: var(--soft); font-size: 1.1rem; margin: 10px 0 clamp(24px, 4vw, 40px); }
.status-empty { padding: 72px 0; text-align: center; color: var(--muted); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(18, 17, 17, .05); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.video-card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: right;
  aspect-ratio: 9 / 14; border-radius: var(--r); overflow: hidden; background: #0d0a16; color: var(--cream);
  font: inherit; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.video-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -14px rgba(18, 17, 17, .4); }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 10, 22, .88), transparent 55%); }
.vc-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 249, 240, .92); color: var(--ink);
  display: grid; place-items: center; transition: transform .2s var(--ease);
}
.video-card:hover .vc-play { transform: translate(-50%, -50%) scale(1.08); }
.vc-play svg { width: 18px; height: 18px; fill: currentColor; }
.vc-dur { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 12px; font-weight: 600; background: rgba(13, 10, 22, .65); padding: 2px 8px; border-radius: 6px; direction: ltr; }
.vc-info { position: absolute; right: 14px; left: 14px; bottom: 12px; z-index: 1; line-height: 1.35; }
.vc-info strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-weight: 600; font-size: 15px;
}
.vc-info time { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 249, 240, .65); }

/* ---------- full-screen viewer ---------- */
.viewer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #07050c; color: var(--cream); overflow: hidden;
}
.viewer::backdrop { background: #07050c; }
/* Absolutely positioned so the video row gets a definite height and can't outgrow the screen */
.v-stage { position: absolute; inset: 0; display: grid; gap: 10px; justify-items: center; padding: 16px 72px; grid-template-rows: minmax(0, 1fr) auto; }
.v-stage video { width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: contain; background: #000; border-radius: 12px; }
.v-info { text-align: center; max-width: 640px; }
.v-info p { font-size: 15px; white-space: pre-line; }
.v-info time { font-size: 12px; color: rgba(255, 249, 240, .55); }
.v-btn {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 249, 240, .12); color: var(--cream); display: grid; place-items: center; transition: background .2s;
}
.v-btn:hover { background: rgba(255, 249, 240, .24); }
.v-btn:disabled { opacity: .25; cursor: default; }
.v-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-close { top: 14px; left: 14px; }
.v-prev { top: 50%; right: 12px; transform: translateY(-50%); }
.v-next { top: 50%; left: 12px; transform: translateY(-50%); }

@media (max-width: 760px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vc-play { width: 46px; height: 46px; }
  .v-stage { padding: 0 0 12px; }
  .v-stage video { border-radius: 0; }
  .v-info { padding: 0 16px; }
  .v-prev, .v-next { top: auto; bottom: 10px; transform: none; width: 42px; height: 42px; }
  .v-close { top: 10px; left: 10px; }
}
