/* ==========================================================================
   pages/hottakes.css: Yesterday's hot takes (/hot-takes), and the teaser the
   landing mounts (.ht-teaser). Owner: the collection lane (round 3).
   The countdown itself is a shared component: .x-countdown in ds/components.css.
   ========================================================================== */

.pg-hottakes .ht { padding-top: var(--s-6); padding-bottom: var(--s-9); }
.pg-hottakes .ht .page-title { margin-top: 6px; }
.pg-hottakes .ht-cd { margin-top: var(--s-5); }
.pg-hottakes .ht-switch { margin: var(--s-6) 0 var(--s-5); }
.pg-hottakes .ht-count { margin: 14px 0 0; font-size: var(--fs-sm); color: var(--text-2); }
.pg-hottakes .ht-foot { margin: var(--s-6) 0 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--text-muted); max-width: 62ch; }
.pg-hottakes .ht-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-6); }
.pg-hottakes .ht-actions .btn-primary { flex: 1 1 300px; }

/* ---- a take card (page and teaser) ----------------------------------------- */
.ht-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ht-cards.is-full { grid-template-columns: 1fr; }
.ht-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-width: 0;
  padding: 16px 16px 16px 20px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface);
}
.ht-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--seat); }
.ht-card.is-skel { gap: 10px; }
.ht-card.is-skel::before { background: var(--border); }
.ht-card-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ht-card-ic { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: var(--r-xs); background: #24252B; color: var(--seat); }
.ht-card-ic .i { width: 16px; height: 16px; }
.ht-card-k { flex: 1; min-width: 0; font: 500 var(--fs-xs)/1.2 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: #C9C9CF; }
.ht-card .mode-pill { flex: 0 0 auto; }
.ht-name { font: 600 24px/1.15 var(--font-serif); color: var(--text); overflow-wrap: anywhere; }
.ht-seat { font: 500 var(--fs-xs)/1.3 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.ht-line { margin: 4px 0 0; font-size: var(--fs-base); line-height: 1.5; color: #D4D4D8; }
.ht-none { margin: 0; font-size: var(--fs-base); line-height: 1.5; color: var(--text-muted); }
.ht-card.is-empty .ht-card-ic { color: var(--text-muted); }

.ht-rare-top { display: flex; align-items: center; gap: 12px; }
.ht-rare-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ht-rare-who .ht-name { font-size: 20px; }
.ht-crew { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.ht-crew li { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface-2); min-width: 0; }
.ht-crew-n { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-crew-r { font: 500 11px/1.2 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.ht-crew li.is-redacted .ht-crew-n { color: var(--text-2); font-style: italic; font-weight: 500; }
.ht-go { margin-top: 8px; align-self: flex-start; }

.ht-split { display: flex; gap: 3px; height: 10px; margin-top: 10px; border-radius: var(--r-pill); overflow: hidden; }
.ht-split i { display: block; min-width: 6px; flex-basis: 0; }
.ht-split .is-up { background: var(--green); }
.ht-split .is-down { background: var(--red); }
.ht-split-k { display: flex; justify-content: space-between; font: 500 var(--fs-xs)/1 var(--font-label); letter-spacing: .08em; color: var(--text-2); margin-top: 6px; }
.ht-meter { height: 8px; margin-top: 10px; border-radius: var(--r-pill); background: #26272D; overflow: hidden; }
.ht-meter i { display: block; height: 100%; border-radius: inherit; background: var(--seat); }

@media (min-width: 900px) {
  .pg-hottakes .ht-cards.is-full .ht-card { padding: 20px 22px 20px 26px; }
  .pg-hottakes .ht-cards.is-full .ht-name { font-size: 30px; }
}

/* ---- the landing teaser ---------------------------------------------------- */
.ht-teaser { margin: var(--s-7) 0; }
.ht-teaser .ht-teaser-cd { margin-bottom: 12px; }
.ht-teaser .ht-name { font-size: 21px; }
.ht-teaser .ht-line { font-size: var(--fs-sm); }

@media (max-width: 860px) {
  .ht-cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ht-card { padding: 14px 14px 14px 18px; }
  .ht-name { font-size: 21px; }
  .x-countdown.is-card { grid-template-columns: 1fr; padding: 14px 16px; }
  .x-countdown.is-card .xc-ic { display: none; }
  .x-countdown.is-card .xc-rule { grid-column: 1; }
  .x-countdown.is-card .xc-t { font-size: 34px; }
}
