/* === A single show ==========================================================
   Loaded only on a cw_show single view (the loader turns cw_show into
   single-show.css).
   ========================================================================== */

/* --- masthead ------------------------------------------------------------ */

.icrt-showpg__mast {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
  align-items: flex-end;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(2rem, 5vw, 3.25rem) max(1.25rem, calc((100vw - var(--icrt-max)) / 2)) clamp(1.75rem, 4vw, 2.5rem);
  color: var(--icrt-ink);
  background: none;
}

.icrt-showpg__art {
  flex: 0 0 auto;
  width: clamp(7rem, 12vw, 11rem);
  aspect-ratio: 1 / 1;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, .2) 0 1.8rem, transparent 1.9rem),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 12px),
    linear-gradient(140deg, var(--cw-show-deep, #0b2f6b) 0%, var(--cw-show, #1160d4) 100%);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
}

/* With a real photograph the square IS the picture: the scanlines and the
   corner highlight were scaffolding for a missing one. */
.icrt-showpg__art--photo {
  background: none;
  border-radius: 16px;
  overflow: hidden;
}

/* Presenter portraits are full-length, so a centred square crop lands on the
   chest. 18% from the top puts the face where a reader looks first. */
.icrt-showpg__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.icrt-showpg__id { min-width: 0; }

.icrt-showpg__kind {
  color: var(--icrt-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.icrt-showpg__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--icrt-accent);
  animation: icrt-pulse 2s infinite;
}

.icrt-showpg__title {
  margin: 0;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--icrt-ink);
}

.icrt-showpg__when {
  margin: 0.7rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--icrt-ink-soft);
  font-variant-numeric: tabular-nums;
}

.icrt-showpg__with { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--icrt-muted); }

.icrt-showpg__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; margin-top: 1.3rem; }

.icrt-showpg .icrt-showpg__play {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-sizing: border-box;
  padding: 0.65rem 1.4rem 0.65rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--icrt-ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  transition: transform .15s ease;
}

.icrt-showpg .icrt-showpg__play:hover { transform: scale(1.04); background: var(--icrt-accent); color: #fff; }
.icrt-showpg__play svg { width: 20px; height: 20px; }

.icrt-showpg__sched { color: var(--icrt-ink-soft); font-weight: 500; font-size: 0.9rem; }

@media (max-width: 46rem) {
  .icrt-showpg__mast { flex-direction: column; align-items: flex-start; }
}

/* --- columns ------------------------------------------------------------- */

.icrt-showpg__cols { display: grid; gap: 2rem; margin: 2.25rem 0 3rem; }

@media (min-width: 66rem) {
  .icrt-showpg__cols { grid-template-columns: minmax(0, 1fr) 23rem; align-items: start; }
  .icrt-showpg__side { position: sticky; top: 1rem; }
}

.icrt-showpg__main { min-width: 0; }
.icrt-showpg__side { display: grid; gap: 1.25rem; min-width: 0; }

.icrt-showpg__heading {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.icrt-showpg__about { margin-bottom: 2.25rem; }
.icrt-showpg__body { font-size: 1rem; line-height: 1.7; color: var(--icrt-ink-soft); }
.icrt-showpg__empty { margin: 0; color: var(--icrt-muted); }

/* --- what it played ------------------------------------------------------ */

.icrt-showpg__tracks { list-style: none; margin: 0; padding: 0; }

.icrt-track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border-bottom: 1px solid var(--icrt-line);
}

.icrt-track:last-child { border-bottom: 0; }
.icrt-track:hover { background: var(--icrt-mist); }

/* The sleeve is TrackArt's shared tile, the same one the music log renders, so
   a play looks identical on both pages. Only the row's rhythm is set here. */
.icrt-track .cw-cover {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.45rem;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 9px),
    linear-gradient(140deg, var(--cw-show-deep, #0b2f6b) 0%, var(--cw-show, #1160d4) 100%);
}

.icrt-track .cw-cover--art { background: var(--icrt-mist); }

.icrt-track__t { display: flex; flex-direction: column; min-width: 0; }
.icrt-track__title { font-size: 0.95rem; font-weight: 600; color: var(--icrt-ink); }
.icrt-track__artist { font-size: 0.82rem; color: var(--icrt-ink-soft); }

.icrt-track__at {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--icrt-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.icrt-showpg__more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--icrt-accent);
  text-decoration: none;
}

.icrt-showpg__more:hover { text-decoration: underline; }

/* --- side panels --------------------------------------------------------- */

.icrt-spanel {
  padding: 1.15rem 1.25rem 1.35rem;
  border-radius: 0.9rem;
  background: var(--icrt-paper);
  border: 1px solid var(--icrt-line);
}

.icrt-spanel__head {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--icrt-muted);
  padding-bottom: 0.5rem;
  border-bottom: 0;
}

.icrt-spanel__lead { margin: 0 0 0.9rem; font-size: 0.88rem; line-height: 1.5; color: var(--icrt-ink-soft); }

/* Next broadcast: the answer to the question a listener actually has. */
.icrt-spanel--next { background: var(--icrt-mist); }
.icrt-spanel__when { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--icrt-ink); }

.icrt-spanel__time {
  margin: 0.1rem 0 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--icrt-accent);
  font-variant-numeric: tabular-nums;
}

.icrt-spanel__rel { margin: 0.15rem 0 0; font-size: 0.85rem; color: var(--icrt-muted); }

/* --- presenters ---------------------------------------------------------- */

.icrt-spres {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  text-decoration: none;
}

.icrt-spres__shot {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  background: linear-gradient(150deg, var(--cw-show-deep, #0b2f6b) 0%, var(--cw-show, #1160d4) 100%);
}

.icrt-spres__shot--photo { background: var(--icrt-mist); overflow: hidden; }

.icrt-spres__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* A round crop of a full-length portrait: higher again, or it frames a torso. */
  object-position: 50% 14%;
}

.icrt-spres__t { display: flex; flex-direction: column; min-width: 0; }
.icrt-spres__name { font-size: 0.92rem; font-weight: 700; color: var(--icrt-ink); }
.icrt-spres__role { font-size: 0.76rem; color: var(--icrt-muted); }

/* --- more shows ---------------------------------------------------------- */

.icrt-sother { list-style: none; margin: 0; padding: 0; }

.icrt-sother a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0;
  text-decoration: none;
}

/* 2.6rem, not 2.1: a portrait cropped into a 2.1rem square read as a sliver
   of colour rather than as a face. */
.icrt-sother__art {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  background: linear-gradient(140deg, var(--cw-show-deep, #0b2f6b) 0%, var(--cw-show, #1160d4) 100%);
}

.icrt-sother__art--photo { background: var(--icrt-mist); overflow: hidden; }

.icrt-sother__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.icrt-sother__name { font-size: 0.9rem; font-weight: 600; color: var(--icrt-ink); }
.icrt-sother a:hover .icrt-sother__name { color: var(--icrt-accent); }
