.detail-body > .showcase {
  --ex-surface: #f5f3f0;
  --ex-active: var(--detail-accent, #584867);
  grid-column: media;
  width: 100%;
  margin: clamp(1.15rem, 3vw, 2.65rem) auto clamp(2rem, 5vw, 3.8rem);
  color: #2a282c;
  text-align: left;
}
.detail-body .showcase h2 {
  width: min(100%, var(--detail-reading, 42rem));
  margin: 0 auto .65em;
  font: 500 clamp(1.55rem, 3.3vw, 2.4rem)/1.12 var(--display, Barlow, sans-serif);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(14rem, 1fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.6rem);
  padding: clamp(.6rem, 1.8vw, 1.2rem);
  border: 1px solid #d9d5d5;
  border-radius: 1rem;
  background: var(--ex-surface);
}
.showcase[data-exhibit="divide"] { --ex-surface: #f3eff6; --ex-active: #694875; }
.showcase[data-exhibit="rapture"] { --ex-surface: #f7eff2; --ex-active: #803756; }
.showcase[data-exhibit="primer"] { --ex-surface: #edf3f0; --ex-active: #395d50; }
.showcase[data-exhibit="zeus"] { --ex-surface: #f5f0e8; --ex-active: #694a25; }
.showcase-media, .showcase-notes { min-width: 0; }
.showcase-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: .52rem;
  background: #151419;
}
.showcase-stage > :is(img, video) {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border: 0;
  border-radius: 0;
}
.showcase:not([data-ready]) video { margin-block-start: .4rem; }
.showcase [hidden] { display: none !important; }
.showcase-pin {
  position: absolute;
  left: clamp(22px, var(--x), calc(100% - 22px));
  top: clamp(22px, var(--y), calc(100% - 22px));
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 2rem;
  background: transparent;
  color: #fff;
  font: 600 .86rem/1 Barlow, sans-serif;
}
.showcase-pin > span {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: .35em .6em;
  border: 2px solid #fff;
  border-radius: 2rem;
  background: #222128ed;
  box-shadow: 0 0 0 1px #26232bcc, 0 1px 8px #13101880;
}
.showcase-pin-compact > span {
  min-width: 26px;
  min-height: 26px;
  padding: 0;
}
.showcase-pin[aria-pressed="true"] > span, .showcase-pin:hover > span {
  border-color: #27252a;
  background: #fff;
  color: #201e24;
}
.showcase-pin, .showcase-play, .showcase-notes summary {
  cursor: pointer;
  touch-action: manipulation;
}
.showcase :is(button, a, summary):focus-visible { outline: 3px solid #3264bb; outline-offset: 3px; }
.showcase-stage { scroll-margin-block-start: 5rem; }
.showcase-stage:focus-visible { outline: 3px solid #3264bb; outline-offset: 3px; }
.showcase-frame-link { display: none; }
.showcase-pin:focus-visible { outline-color: white; box-shadow: 0 0 0 7px #234f97; }
.showcase-notes details { border-top: 1px solid #50484e38; }
.showcase-notes details:first-child { border-top: 0; }
.showcase-notes details:last-of-type { border-bottom: 1px solid #50484e38; }
.showcase-notes summary {
  display: flex;
  align-items: center;
  gap: .65em;
  list-style: none;
  min-height: 46px;
  padding: .35rem .22rem;
  color: #38343a;
  font: 600 clamp(1rem, 1.8vw, 1.2rem)/1.2 Barlow, sans-serif;
}
.showcase-notes summary::-webkit-details-marker { display: none; }
.showcase-notes summary::after {
  content: "";
  width: .42em;
  height: .42em;
  margin-inline: auto .35em;
  flex: none;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.showcase-notes summary[data-marker]::before {
  content: attr(data-marker);
  display: grid;
  place-items: center;
  flex: none;
  width: 1.7em;
  aspect-ratio: 1;
  background: #fffc;
  border: 1px solid #797379;
  border-radius: 50%;
  font-size: .7em;
}
.showcase-notes details[open] summary { color: var(--ex-active); }
.showcase-notes details[open] summary[data-marker]::before { background: var(--ex-active); border-color: var(--ex-active); color: #fff; }
.showcase-notes details[open] summary::after { transform: rotate(225deg); }
.showcase-notes summary:hover { color: var(--ex-active); text-decoration: underline; text-underline-offset: .2em; }
.showcase-notes details p, .showcase-notes .showcase-source, .showcase-media .showcase-notice {
  margin: 0 0 .95rem;
  font-size: .94rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.showcase-notes details p { padding-inline: .22rem; }
.showcase-notes .showcase-source { margin: .85rem .22rem .15rem; }
.showcase-source a, .showcase-still { display: inline-block; padding-block: .32em; color: var(--ex-active); text-underline-offset: .2em; }
.showcase[data-ready] .showcase-still { display: none; }
.showcase-transport {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .95rem;
  padding-block-start: .7rem;
}
.showcase-transport p { margin: 0; font-size: .82rem; line-height: 1.4; color: #4c484c; }
.showcase-play {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  background: var(--ex-active);
  color: #fff;
  font: 600 .98rem/1.1 Barlow, sans-serif;
}
.showcase-play::before { content: "▶" / ""; font-size: .74em; }
.showcase-play[data-running]::before { content: "Ⅱ" / ""; }
.showcase-play:hover { background: #29282c; }
.showcase-media .showcase-notice { margin: 0 0 .6rem; font-size: .83rem; color: #63334b; }
.showcase-media .showcase-playback-feedback { margin: .6rem 0 0; color: #63334b; font-size: .9rem; line-height: 1.45; }
.showcase-media .showcase-playback-feedback:empty { margin: 0; }
.showcase-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .showcase-layout { grid-template-columns: minmax(0,1fr); gap: .5rem; }
  .showcase-notes { padding: 0 .35rem; }
  .showcase-frame-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .2em .22rem;
    margin-block: -.55rem .25rem;
    color: var(--ex-active);
    font-size: .9rem;
    text-underline-offset: .2em;
  }
  .showcase-transport, .showcase-media .showcase-notice { padding-inline: .3rem; }
}
@media (forced-colors: active) {
  .showcase-pin > span, .showcase-play, .showcase-notes summary[data-marker]::before { border: 2px solid ButtonText; }
  .showcase-pin[aria-pressed="true"], .showcase-notes details[open] summary { color: Highlight; }
}
