/* ============================================================
   LIVE AUCTIONS (shows.html) — page-specific tweaks.
   Loaded AFTER css/styles.css. All the single-screen shell,
   grid-5, and mini-card styling comes from styles.css (body.sheet);
   here we style only the schedule list, the compact giveaways
   line, the preview header, and the per-lot note.
   ============================================================ */

/* "Coming soon" state (shown until real shows are added) */
#lots.is-soon { display: block; }
.coming-soon {
  max-width: 520px; margin: auto; padding: clamp(1.6rem, 4vh, 2.6rem); text-align: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px;
}
.coming-soon-badge { font-size: 2.6rem; margin-bottom: 0.4rem; }
.coming-soon h2 { color: #fff; margin: 0 0 0.5rem; }
.coming-soon p { color: rgba(255, 255, 255, 0.72); margin: 0; }
.sched-empty {
  list-style: none; color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; padding: 0.8rem 1rem; margin: 0.4rem 0;
}

/* --- Live pill inside the eyebrow (reuses .live-dot from styles.css) --- */
.sheet-left .eyebrow .live-pill {
  margin: 0;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

/* --- Schedule list: clickable date rows that drive the preview --- */
.sched-list {
  list-style: none;
  margin: 0 0 clamp(0.9rem, 2.2vh, 1.4rem);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 1vh, 0.55rem);
}
.sched-row {
  width: 100%;
  display: flex;
  flex-wrap: nowrap; /* defensive: don't inherit stale flex-wrap:wrap from styles.css .sched-row */
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: clamp(0.45rem, 1vh, 0.6rem) 0.8rem;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.sched-row:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateX(3px);
}
.sched-row:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.sched-row.is-selected {
  background: rgba(255, 122, 31, 0.14);
  border-color: var(--orange);
}

/* Date block (left of each row) */
.sched-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 42px; line-height: 1;
}
.sched-day {
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1px;
  font-size: 0.64rem; color: rgba(255, 255, 255, 0.58);
}
.sched-num { font-family: "Anton", sans-serif; font-size: 1.1rem; color: #fff; }
.sched-row.is-selected .sched-day,
.sched-row.is-selected .sched-num { color: var(--orange-2); }

/* Title + time block */
.sched-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.sched-title {
  font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.4px; font-size: 0.9rem; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sched-time { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }

.sched-arrow {
  font-family: "Oswald", sans-serif; font-size: 1.1rem; color: var(--orange);
  opacity: 0; transform: translateX(-4px); transition: opacity 0.16s ease, transform 0.16s ease;
}
.sched-row:hover .sched-arrow,
.sched-row.is-selected .sched-arrow { opacity: 1; transform: none; }

/* Follow CTA (this is the REAL Whatnot follow link) */
.sched-follow { align-self: flex-start; }

/* Compact giveaways line under the CTA */
.give-line {
  margin: clamp(0.7rem, 1.8vh, 1rem) 0 0;
  font-size: 0.74rem; line-height: 1.4;
  color: rgba(255, 255, 255, 0.55); max-width: 340px;
}
.give-line strong {
  color: var(--orange-2); font-family: "Oswald", sans-serif;
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600;
}

/* --- Right column: header above the selected show's lots --- */
.preview-head { margin-bottom: clamp(0.7rem, 1.8vh, 1.15rem); }
.preview-head h2 {
  font-family: "Anton", sans-serif; color: #fff; margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.preview-when {
  margin: 0.4rem 0 0;
  font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 1px;
  font-size: 0.76rem; color: var(--orange-2);
}

/* --- Per-lot note line inside mini-cards --- */
.mini-note {
  margin: 0.15rem 0 0;
  font-size: 0.71rem; font-weight: 600; line-height: 1.25;
  color: var(--orange-2);
  /* Clamp to one line so a longer note can't push the 2nd preview row past the clip line at 1366x768 */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* --- Single-screen safety at 1366x768 (this page only) ---
   6 lots render into 2 rows. Cap the mini media a touch lower than the shell
   default and lay them out 3-wide so 6 lots form a tidy 3x2 with larger cards
   that still clears 768px. body.sheet keeps the win over the shell's grid-5. */
body.sheet #lots.grid-5 { grid-template-columns: repeat(3, 1fr); }
body.sheet #lots .mini-media { height: clamp(112px, 16.5vh, 180px); }

/* --- Mobile: give the schedule/preview room to breathe when stacked --- */
@media (max-width: 900px) {
  .preview-head { margin-top: 0.4rem; }
  .sched-follow { align-self: stretch; text-align: center; }
}
