/* wa-lint: skip */
/* Stand-specific UI for Program & Events — tablet mockup with timeline.
   Shared layout (.hero, .ask, .scrollcue, .info-section, .reveal,
   .hero__pill, pulseDot, cueBounce) lives in cd-stand-shared.css;
   cursor/replay in cd-hero-anim.css. */

/* ─── Stage layout: ask + tablet stacked, top-aligned så headline starter
   tæt på topbar og ikke flyder midt i et tomt cream-felt. ─── */
.stand-cd-program .hero { min-height: 0; }
.stand-cd-program .stage-only {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, rgb(255, 255, 255) 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 40px 72px;
  gap: 28px;
}

/* ─── Tablet-skærm-content (bezel/frame ligger i cd-devices.css) ─── */
.tab__head {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 16px;
  flex: 0 0 auto;
}
.tab__head h2 {
  font-size: 22px; font-weight: 700; margin: 0; color: var(--primary);
}
.day-tabs {
  display: flex; gap: 4px;
  margin-left: auto;
  background: rgb(240, 244, 245);
  border-radius: 999px;
  padding: 3px;
}
.day-tabs span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--brand-30);
}
.day-tabs span.active {
  background: rgb(255, 255, 255);
  color: var(--primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ─── Timeline body grid ─── */
.schedule {
  flex: 1; overflow: hidden; position: relative;
  display: grid;
  grid-template-columns: 70px 1fr 1fr 1fr;
}
.sched-times {
  border-right: 1px solid var(--line);
  padding-top: 12px;
}
.sched-times div {
  height: 70px;
  font-size: 11px; color: var(--muted); font-weight: 600;
  padding: 4px 12px;
  border-top: 1px dashed transparent;
}
.sched-times div + div { border-top-color: var(--line); }
.sched-col {
  border-right: 1px solid var(--line);
  padding: 12px 8px 0;
  position: relative;
}
.sched-col:last-child { border-right: none; }
.sched-col__head {
  font-size: 11px; font-weight: 700;
  color: var(--brand-60);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 6px;
  padding-left: 4px;
}

/* ─── Event cards ─── */
.ev {
  background: var(--brand-95);
  border-left: 3px solid var(--brand-60);
  border-radius: 6px;
  padding: 6px 8px;
  margin: 2px 0;
  font-size: 11px; line-height: 1.3;
  color: var(--primary);
  position: relative;
  transition: opacity .3s ease, filter .3s ease;
}
.ev .ev__time {
  font-size: 10px; font-weight: 700; color: var(--brand-60);
  margin-bottom: 1px;
}
.ev .ev__title { font-weight: 700; color: var(--ink); }
.ev .ev__where { font-size: 10px; color: var(--muted); margin-top: 1px; }
.ev.dim { opacity: 0.25; filter: grayscale(0.7); }

.ev.live {
  background: rgb(255, 255, 255);
  border-left-color: var(--accent);
  box-shadow: 0 4px 14px rgba(184,90,58,0.18);
  z-index: 3;
}
.ev.live::before {
  content: '';
  position: absolute;
  left: -3px; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(184,90,58,0.3);
}

.ev.upcoming {
  background: rgb(255, 255, 255);
  border-left-color: var(--brand-60);
  box-shadow: 0 4px 12px rgba(66,139,152,0.15);
}

/* ─── Event tag dots (live, next, save) ─── */
.live-dot {
  display: inline-flex;
  align-items: center; gap: 4px;
  background: var(--accent);
  color: rgb(255, 255, 255);
  font-size: 9px; font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.live-dot::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: rgb(255, 255, 255);
  animation: livePulse 1.2s ease-in-out infinite;
}
.next-dot {
  display: inline-flex;
  background: var(--brand-60);
  color: rgb(255, 255, 255);
  font-size: 9px; font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.save-dot {
  display: inline-flex;
  align-items: center;
  background: var(--accent, rgb(184, 90, 58));
  color: rgb(255, 255, 255);
  font-size: 9px; font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: saveIn 0.4s cubic-bezier(.4,2,.6,1);
}
@keyframes saveIn {
  0% { opacity: 0; transform: scale(0.4); }
  60% { transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

/* ─── Now-line: spans the timeline at the current time ─── */
.now-line {
  position: absolute;
  left: 70px; right: 0;
  height: 2px;
  background: var(--accent);
  z-index: 4;
  pointer-events: none;
}
.now-line::before {
  content: attr(data-time);
  position: absolute;
  left: -50px; top: -10px;
  background: var(--accent); color: rgb(255, 255, 255);
  font-size: 10px; font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
