.show-program-index {
  padding-block: 12px clamp(55px, 8vw, 112px);
}

.show-program-index-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: clamp(18px, 3vw, 36px);
}

.show-program-index-en,
.show-fan-full-header [lang="en"] {
  display: block;
  margin-bottom: 9px;
  color: #d9ac88;
  font-size: clamp(10px, 1.05vw, 13px);
  font-weight: 600;
  letter-spacing: .2em;
}

.show-program-index-head h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 590;
  line-height: 1.05;
  letter-spacing: -.042em;
}

.show-program-index-head > span,
.show-program-group-tools {
  color: var(--ex-muted);
  font-size: 13px;
  white-space: nowrap;
}

.show-fan-stage {
  position: relative;
  height: clamp(350px, 43vw, 630px);
  overflow: hidden;
  isolation: isolate;
  perspective: 1050px;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  background:
    #090909;
  border-block: 1px solid var(--ex-line);
}

.show-fan-stage:focus-visible {
  outline-offset: 4px;
}

.show-fan-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: var(--fan-stack, 1);
  width: var(--fan-width, 135px);
  height: calc(100% - clamp(61px, 8.5vw, 123px));
  display: block;
  visibility: hidden;
  transform: translate3d(calc(-50% + var(--fan-x, 0px)), calc(-50% + var(--fan-y, 0px)), var(--fan-z, 0px))
    rotateY(var(--fan-turn, 0deg)) scale(var(--fan-scale, 1));
  outline: none;
}

.show-fan-card[data-visible] { visibility: visible; }
.show-fan-card[data-visible]:hover { cursor: pointer; }
.show-fan-stage.is-dragging,
.show-fan-stage.is-dragging .show-fan-card[data-visible] { cursor: grabbing; }

.show-fan-card-rim, .show-fan-card-bevel, .show-fan-card-content {
  position: absolute;
  inset: 0;
  display: block;
}
.show-fan-card-rim {
  overflow: hidden;
  transform: skewX(-5deg);
  background: #121212;
}
.show-fan-card-content img {
  transform: skewX(5deg) scale(1.22);
}
.show-fan-card:focus-visible .show-fan-card-rim,
.show-fan-full-card:focus-visible .show-fan-card-rim { border-bottom: 3px solid var(--ex-accent); }
.show-fan-card-content img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.show-fan-card img {
  filter: brightness(var(--fan-brightness, 1)) blur(var(--fan-blur, 0px));
}

.show-fan-card-label {
  position: absolute;
  z-index: 3;
  bottom: 0;
  inset-inline: 0;
  padding: 0 12% clamp(15px, 2vw, 28px) 10%;
  background: linear-gradient(to top,
    #661821 0%, rgb(89 20 29 / 89%) 19%,
    rgb(65 19 27 / 66%) 45%, rgb(47 19 25 / 34%) 73%,
    rgb(47 19 25 / 0%) 100%);
  display: grid;
  gap: 5px;
  color: #fff;
}

.show-fan-card-label small {
  color: #fff6f2;
  font-size: clamp(9px, .82vw, 12px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: .08em;
}

.show-fan-card-label strong {
  font-size: clamp(13px, 1.6vw, 23px);
  font-weight: 650;
  line-height: 1.22;
  text-wrap: balance;
}

.show-fan-card-arrow {
  position: absolute;
  z-index: 2;
  top: clamp(8px, 1.25vw, 17px);
  right: 12%;
  width: clamp(15px, 1.8vw, 24px);
  color: white;
  opacity: 0;
}

.show-fan-card:is([data-active], :focus-visible) .show-fan-card-arrow,
.show-fan-full-card:is(:hover, :focus-visible) .show-fan-card-arrow {
  opacity: 1;
}

.show-fan-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(265px, auto);
  gap: clamp(14px, 2.2vw, 32px);
  align-items: center;
  padding: 17px 0 16px;
  border-bottom: 1px solid var(--ex-line);
}

.show-fan-caption h3 {
  margin: 0 0 5px;
  font-size: clamp(20px, 2.4vw, 36px);
  letter-spacing: -.04em;
  font-weight: 630;
  line-height: 1.2;
}

.show-fan-caption p {
  margin: 0 0 4px;
  color: var(--ex-muted);
  font-size: clamp(12px, 1.15vw, 16px);
  line-height: 1.45;
}

.show-fan-caption small { color: var(--ex-muted); font-size: 11px; }

.show-program-fan .show-fan-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  white-space: nowrap;
  font-size: 13px;
  color: #f2c199;
}

.show-fan-controls {
  display: grid;
  grid-template-columns: 38px minmax(76px, 178px) auto 38px auto;
  align-items: center;
  gap: clamp(5px, 1vw, 12px);
}

.show-fan-controls input {
  width: 100%;
  min-height: 37px;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  margin: 0;
}

.show-fan-controls input::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, #e6ab87 var(--fan-fill, 0%), #524039 var(--fan-fill, 0%));
}

.show-fan-controls input::-moz-range-track { height: 2px; background: #524039; }
.show-fan-controls input::-moz-range-progress { height: 2px; background: #e6ab87; }

.show-fan-controls input::-webkit-slider-thumb {
  appearance: none;
  width: 13px;
  height: 13px;
  margin-top: -5.5px;
  border: 1px solid #ffdec0;
  border-radius: 50%;
  background: #e6ab87;
}

.show-fan-controls input::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #ffdec0;
  border-radius: 50%;
  background: #e6ab87;
}

.show-fan-controls output {
  color: #c9b3a8;
  font-size: 11px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.show-fan-controls button,
.show-fan-close {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid #4d3c35;
  background: #19110f;
  color: var(--ex-ink);
  cursor: pointer;
}

.show-fan-controls button:is(:hover, :focus-visible),
.show-fan-close:is(:hover, :focus-visible) {
  color: #ffdbb8;
  border-color: #cf9272;
}

.show-fan-controls svg { width: 16px; height: 16px; }
.show-fan-previous svg { transform: rotate(180deg); }

.show-fan-controls .show-fan-expand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  white-space: nowrap;
  font-size: 12px;
}

.show-fan-fullscreen {
  box-sizing: border-box;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0 clamp(16px, 5vw, 75px) clamp(20px, 4vw, 51px);
  overflow: auto;
  background: #100b0a;
  color: var(--ex-ink);
}

.show-fan-full-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-block: clamp(13px, 3vw, 34px);
  background: #100b0a;
}

.show-fan-full-header h2 {
  margin: 0;
  font-size: clamp(25px, 3.4vw, 50px);
  line-height: 1;
}

.show-fan-close {
  display: inline-flex;
  padding: 0 12px;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.show-fan-close span { font-size: 20px; }

.show-fan-full-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 24px);
}

.show-fan-full-card {
  display: block;
  height: clamp(190px, 31dvh, 400px);
}

@media (max-width: 1040px) {
  .show-fan-full-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 810px) {
  .show-fan-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 15px;
  }

  .show-fan-controls {
    grid-column: 1 / -1;
    grid-template-columns: 38px minmax(64px, 1fr) auto 38px auto;
  }
}

@media (max-width: 620px) {
  .show-fan-stage { height: clamp(265px, 68vw, 380px); perspective: 820px; }
  .show-fan-card { height: calc(100% - 71px); }
  .show-fan-card-rim { --fan-reveal: calc(1px + var(--fan-focus, 0) * 5px); }
  .show-fan-full-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .show-fan-full-card { height: clamp(160px, 42vw, 235px); }
}

.show-program-group {
  padding-block: 14px clamp(54px, 7vw, 100px);
  scroll-margin-top: 20px;
}
.show-program-group:focus { outline: none; }
.show-program-group:focus-visible > header { border-left: 2px solid var(--ex-accent); padding-left: 12px; }
.show-program-group > header {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  padding-block: clamp(22px, 4vw, 52px) clamp(24px, 3.6vw, 53px);
}
.show-program-group-tools { display: flex; gap: clamp(12px, 2vw, 24px); align-items: baseline; }
.show-program-group-tools a { border-bottom: 1px solid var(--ex-line); }
.show-program-group-tools a:is(:hover, :focus-visible) { color: var(--ex-accent); }
.show-program-group h2 {
  margin: 0;
  font-size: clamp(29px, 3.45vw, 54px);
  font-weight: 570;
  line-height: 1.03;
  letter-spacing: -.045em;
}
.show-program-group-tools span {
  color: var(--ex-muted);
  font-size: clamp(10px, 1vw, 14px);
  letter-spacing: .065em;
  white-space: nowrap;
}
.show-program-heading-back {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  overflow: hidden;
  white-space: nowrap;
  color: #f2f1ee17;
  font-size: clamp(39px, 7.2vw, 107px);
  font-weight: 540;
  letter-spacing: -.045em;
  line-height: 1.04;
  pointer-events: none;
}
.show-program-group > header.show-program-revealed :is(h2, span) {
  animation: show-program-heading-in 470ms var(--ex-ease) both;
}
.show-program-group > header.show-program-revealed span { animation-delay: 45ms; }
@keyframes show-program-heading-in {
  from { transform: translateY(18px); opacity: .62; }
  to { transform: translateY(0); opacity: 1; }
}
.show-program-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ex-line);
}
.show-program-list li { border-bottom: 1px solid var(--ex-line); }
.show-program-list li.show-program-revealed :is(.show-program-number, .show-program-title, .show-program-support) {
  animation: show-program-type-in 340ms var(--ex-ease) both;
}
.show-program-list li.show-program-revealed .show-program-title { animation-delay: 25ms; }
.show-program-list li.show-program-revealed .show-program-support { animation-delay: 50ms; }
.show-program-list li:focus-within :is(.show-program-number, .show-program-title, .show-program-support) {
  animation: none;
}
@keyframes show-program-type-in {
  from { translate: 0 9px; opacity: .64; }
  to { translate: 0 0; opacity: 1; }
}
.show-program-row {
  display: grid;
  grid-template-columns: clamp(34px, 4vw, 64px) clamp(68px, 7vw, 110px) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: clamp(70px, 6.3vw, 105px);
  padding: 11px 12px 11px 0;
  background: transparent;
  transform: translateY(0);
  transition: color 110ms ease, background-color 140ms ease, transform 160ms var(--ex-ease), box-shadow 150ms ease;
}
.show-program-list li:is(:hover, :focus-within) > .show-program-entry {
  color: var(--ex-accent);
  background: linear-gradient(105deg, #451518d9, #241111ee 68%, #201114e8);
  transform: translateY(-3px);
  box-shadow: inset 2px 0 #ff5548, inset 0 1px #ff968442, 0 11px 24px #0006;
}
.show-program-number {
  padding-left: clamp(7px, 1.3vw, 19px);
  color: var(--ex-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.show-program-list li:is(:hover, :focus-within) .show-program-number { color: var(--ex-accent); }
.show-program-title {
  font-size: clamp(18px, 2.1vw, 30px);
  font-weight: 550;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  transition: transform 250ms var(--ex-ease);
}
.show-program-list li:is(:hover, :focus-within) .show-program-title { transform: translateX(4px); }
.show-program-support { display: grid; min-width: 0; gap: 3px; }
.show-program-kind { color: var(--ex-muted); font-size: clamp(11px, 1.1vw, 16px); overflow-wrap: anywhere; }
.show-program-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #8d878c;
  font-size: clamp(11px, 1.05vw, 14px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.show-program-list li:is(:hover, :focus-within) .show-program-description { color: #e6c6c7; }
.show-program-action {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ex-line);
  color: var(--ex-ink);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.show-program-action svg { transition: transform 250ms var(--ex-ease); }
.show-program-list li:is(:hover, :focus-within) .show-program-action {
  color: var(--ex-base);
  background: var(--ex-accent);
  border-color: var(--ex-accent);
}
.show-program-list li:is(:hover, :focus-within) .show-program-action svg { transform: translate(2px, -2px); }
.show-program-thumb { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #181214; }
.show-program-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 170ms var(--ex-ease);
}
.show-program-list li:is(:hover, :focus-within) .show-program-thumb img { transform: scale(1.07); }
@media (max-width: 660px), (hover: none) {
  .show-program-row { grid-template-columns: 24px 49px minmax(0, 1fr) 32px; gap: 6px 9px; }
  .show-program-number { grid-column: 1; grid-row: 1 / 3; padding: 0; }
  .show-program-thumb {
    display: block;
    grid-column: 2;
    grid-row: 1 / 3;
    aspect-ratio: 1;
    align-self: center;
    overflow: hidden;
  }
  .show-program-title { grid-column: 3; align-self: end; font-size: 18px; }
  .show-program-support { grid-column: 3; align-self: start; }
  .show-program-action { grid-column: 4; grid-row: 1 / 3; width: 34px; height: 34px; }
  .show-program-action svg { width: 15px; height: 15px; }
}
@media (max-width: 560px) {
  .show-program-group h2 { font-size: clamp(25px, 7vw, 38px); }
  .show-program-heading-back { font-size: clamp(38px, 11vw, 63px); }
  .show-program-group-tools { gap: 8px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .show-program-group > header.show-program-revealed :is(h2, span),
  .show-program-list li.show-program-revealed :is(.show-program-number, .show-program-title, .show-program-support) {
    animation: none;
  }
  .show-program-row, .show-program-row span, .show-program-action svg, .show-program-thumb img,
  .show-fan-card { transition: none; }
  .show-program-list li:is(:hover, :focus-within) > .show-program-entry,
  .show-program-list li:is(:hover, :focus-within) :is(.show-program-thumb img, .show-program-title, .show-program-action svg) { transform: none; }
}

.show-program-group { scroll-margin-top:var(--ex-nav-height,72px); }
/* Reserve space beside the title for the full artwork on wide screens. */
.show-program-preview { display: none; }
@media (min-width: 900px) and (hover: hover) {
  .show-program-row { position: relative; grid-template-columns: 4% 7% minmax(0,1fr) 23% minmax(0,1fr) auto; }
  .show-program-support { grid-column: 5; }
  .show-program-preview {
    display: block;
    position: absolute;
    grid-column: 4;
    width: 100%;
    height: clamp(130px, 13vw, 192px);
    object-fit: contain;
    pointer-events: none;
    opacity: 0;
  }
  .show-program-list li:is(:hover,:focus-within) { position: relative; z-index: 3; }
  .show-program-entry:is(:hover,:focus-within) .show-program-preview { opacity: 1; }
}
@media (min-width: 900px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .show-program-entry:is(:hover,:focus-within) .show-program-preview { animation: show-art-resolve 280ms ease-out both; }
  @keyframes show-art-resolve {
    from { opacity: .15; transform: translateY(8px) scale(.84); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: blur(0); }
  }
}

.show-fan-stage {
  overflow: visible;
  clip-path: inset(-16% 0 0);
}
/* Keep the link stationary as the artwork lifts, then sinks on press. */
.show-fan-full-card {position:relative;}
.show-fan-card[data-active], .show-fan-full-card[aria-current] {--rim-color:#ff6b58;}
.show-fan-card-rim {pointer-events:none;}
.show-fan-card-rim::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  border:2px solid var(--rim-color, transparent);
  transition:border-color 110ms;
}
@media (hover:hover) {
  .show-fan-stage:not(.is-dragging) .show-fan-card[data-visible]:hover,
  .show-fan-full-card:hover {
    --rim-color:#ff5344;
    --card-lift:-8px; --card-size:1.035; --fan-brightness:1 !important;
    z-index:45;
  }
}
:is(.show-fan-card,.show-fan-full-card):focus-visible {
  --rim-color:#ff5344; --card-lift:-8px;
}
.show-fan-stage:not(.is-dragging) .show-fan-card[data-visible]:active,
.show-fan-full-card:active {
  --rim-color:#ff7869;
  --card-lift:2px; --card-size:.985;
}
@media (prefers-reduced-motion:no-preference) {
  .show-fan-card-rim {
    translate:0 var(--card-lift,0px); scale:var(--card-size,1);
    transition:translate 150ms var(--ex-ease),scale 150ms var(--ex-ease);
  }
  :is(.show-fan-card,.show-fan-full-card):active .show-fan-card-rim {transition-duration:65ms;}
}

.show-fan-card-content::after {
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(ellipse 58% 42% at var(--glint-x,50%) var(--glint-y,45%),#ffebcba8, #ff815446 42%, transparent 100%),
    linear-gradient(115deg, transparent calc(var(--glint-x,50%) - 20%), #ffd6b573 var(--glint-x,50%), transparent calc(var(--glint-x,50%) + 14%));
  mix-blend-mode:screen;opacity:0;transition:opacity 170ms ease-out;
}
@media(hover:hover) {
 .show-fan-stage:not(.is-dragging) .show-fan-card:hover .show-fan-card-content::after,
 .show-fan-full-card:hover .show-fan-card-content::after {opacity:var(--glint-energy,.56);}
}

.show-fan-frame { position: relative; }
.show-fan-edge {
  position: absolute;
  z-index: 5;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #111114eb;
  color: white;
  cursor: pointer;
}
.show-fan-edge[data-prev] { left: clamp(6px, 1vw, 18px); }
.show-fan-edge[data-next] { right: clamp(6px, 1vw, 18px); }
.show-fan-edge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.show-fan-edge[data-prev] svg { rotate: 180deg; }
.show-fan-edge:is(:hover, :focus-visible) { color: #ff978a; border-color: #ff7869; }

.show-program-entry { display: flex; align-items: center; gap: 8px; padding-right: 10px; }
.show-program-entry .show-program-action { flex: none; }
.show-program-entry .show-program-row {
  flex: 1; min-width: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; border: 0;
  grid-template-columns: 4% 7% minmax(0,1fr) minmax(0,28%) auto;
}
.show-program-entry .show-program-support { grid-column: 4; }
.show-program-toggle { color: var(--ex-muted); font-size: 13px; white-space: nowrap; }
.show-program-row:is(:hover,:focus-visible,[aria-expanded=true]) .show-program-toggle { color: var(--ex-accent); }
.show-inline-gallery[hidden] { display: none; }
.show-inline-gallery { padding-block: 12px 26px; }
@media (max-width: 660px) {
  .show-program-entry { gap: 4px; padding-right: 0; }
  .show-program-entry .show-program-row { grid-template-columns: 22px 44px minmax(0,1fr) auto; gap: 4px 7px; padding-right: 2px; }
  .show-program-entry .show-program-support { grid-column: 3; }
  .show-program-toggle { grid-column: 4; grid-row: 1 / 3; }
}

.show-program-entry:has([aria-expanded="true"]) {
  color: var(--ex-accent);
  background: linear-gradient(105deg, #451518d9, #241111ee 68%, #201114e8);
  box-shadow: inset 2px 0 #ff5548;
}
.show-program-entry { transition: transform 160ms var(--ex-ease); }
@media (min-width: 900px) and (hover: hover) {
  .show-program-entry .show-program-row { grid-template-columns: 4% 7% minmax(0,1fr) 23% minmax(0,28%) auto; }
  .show-program-entry .show-program-support { grid-column: 5; }
}
