/* The coffee catalogue pairs its illustrated plate with a facing tasting note. */
#theater #stage > .ea-roastery.cf-roast {
  --edition-inset: clamp(25px, 4vw, 65px);
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "imprint print" "tasting print" "selector print";
  min-height: clamp(515px, 42vw, 615px);
  height: auto;
  padding: 0;
}
#theater #stage .cf-roast .ea-imprint {
  grid-area: imprint;
  padding: clamp(18px, 2vw, 32px) var(--edition-inset) 0;
}
#theater #stage .cf-roast .ea-imprint h2 {
  font: italic 500 clamp(24px, 2.6vw, 41px)/1 Georgia, serif;
  letter-spacing: -.05em;
}
#theater #stage .cf-roast .ea-imprint div>span {
  font: 600 10px/1.4 Consolas, monospace;
  letter-spacing: .10em;
}
#theater #stage .cf-roast .ea-photobay {
  grid-area: print;
  min-height: 0;
}
#theater #stage .cf-roast .ea-photobay>.cf-print {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% 48%;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000),
    linear-gradient(180deg, transparent, #000 5.5%, #000 91%, transparent);
  mask-composite: intersect;
}
#theater #stage .cf-roast .ea-specimen {
  grid-area: tasting;
  align-self: center;
  padding: clamp(18px, 2.8vw, 42px) var(--edition-inset);
}
#theater #stage .cf-roast .ea-title {
  max-width: 100%;
  margin: .075em 0 .13em -.035em;
  font: 400 clamp(62px, 6.6vw, 107px)/.94 Georgia, serif;
  letter-spacing: -.073em;
}
#theater #stage .cf-roast .ea-notes {
  max-width: 25ch;
  font: italic 400 clamp(22px, 2.1vw, 35px)/1.15 Georgia, serif;
}
#theater #stage .cf-roast :is(.ea-roast,.ea-origin,.ea-selector legend) {
  font: 600 11px/1.45 Consolas, monospace;
  letter-spacing: .10em;
}
#theater #stage .cf-roast .ea-origin {margin-top: .65em;}
#theater #stage .cf-roast .ea-specimen .wk-coffee-inline {
  width: fit-content;
  max-width: 100%;
  padding-top: 10px;
  margin: clamp(12px, 2.1vw, 31px) 0 0;
  gap: clamp(12px, 1.4vw, 21px);
}
#theater #stage .cf-roast .wk-coffee-inline .wk-beans {
  width: clamp(80px, 7.2vw, 114px);
  height: auto;
}
#theater #stage .cf-roast .wk-coffee-inline figcaption span {
  font: italic 400 clamp(15px, 1.35vw, 21px)/1.25 Georgia, serif;
}
#theater #stage .cf-roast .ea-selector {
  grid-area: selector;
  margin: 0 var(--edition-inset) clamp(20px, 2.5vw, 38px);
}
#theater #stage .cf-roast .ea-selector legend {margin-bottom: 2px;}
#theater #stage .cf-roast .ea-roasts {
  column-gap: 10px;
  row-gap: 0;
}
#theater #stage .cf-roast .ea-roasts label {min-height: 44px;}

/* Each soundtrack pairs its sleeve with the game environment and the original recording credit. */
#theater #stage .signal-proof {
  padding: clamp(18px, 2.8vw, 43px) clamp(20px, 3.4vw, 54px) clamp(14px, 2vw, 31px);
}
#theater #stage .signal-proof>header {
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 clamp(14px, 2vw, 28px);
  padding: 0 0 clamp(8px, 1vw, 14px);
  border-bottom: 1px solid #3e4147;
}
#theater #stage .signal-proof>header>span {
  font: 400 clamp(29px, 3.5vw, 56px)/1 Georgia, serif;
  letter-spacing: -.07em;
}
#theater #stage .signal-proof>header small {
  color: #c3c2c2;
  font: 600 10px/1.35 Arial, sans-serif;
  letter-spacing: .16em;
}
#theater #stage .score-picker {
  position: relative;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 3.6vw, 65px);
}
#theater #stage .score-picker .score-artwork {
  width: 100%;
  margin: 0;
  aspect-ratio: 1.06;
}
#theater #stage .score-picker .score-land {
  object-position: 55% center;
  filter: brightness(.83) saturate(.85);
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 73%, transparent);
}
#theater #stage .score-picker .score-sleeve {
  width: 72%;
  left: 8.5%;
  bottom: 9%;
  max-width: none;
  transform: rotate(-2deg);
}
#theater #stage .score-picker .score-current {margin: 0 0 15px;}
#theater #stage .score-picker .score-context {font-size: 11px;letter-spacing: .11em;}
#theater #stage .score-picker .score-title {
  font: 400 clamp(35px, 3.5vw, 59px)/1.02 Georgia, serif !important;
  letter-spacing: -.06em !important;
  text-wrap: balance;
}
#theater #stage .score-picker .score-credit {color: #c9c7c6 !important;}
#theater #stage .score-picker .score-current .sa-playback {
  width: clamp(65px, 8vw, 123px);
}
#theater #stage .score-picker .score-timeline {padding-block: 9px 6px;}
#theater #stage .score-picker .score-wave {height: clamp(42px, 4.4vw, 68px);}
#theater #stage .score-picker .score-transport {margin-block: 14px 6px;}
#theater #stage .score-picker .score-loopbox {margin-bottom: 14px;}
#theater #stage .score-picker .score-loopbox summary {min-height: 44px;}
#theater #stage .score-picker .score-list button {min-height: 47px;}

@media (max-width: 700px) {
  #theater #stage > .ea-roastery.cf-roast {
    --edition-inset: clamp(16px, 4.6vw, 29px);
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "imprint" "print" "selector" "tasting";
    min-height: 0;
  }
  #theater #stage .cf-roast .ea-imprint {
    padding: 11px var(--edition-inset) 6px;
  }
  #theater #stage .cf-roast .ea-imprint>div {
    display:flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    width:100%;
  }
  #theater #stage .cf-roast .ea-imprint h2 {flex:none;white-space:nowrap;font-size: clamp(20px, 5.5vw, 30px); }
  #theater #stage .cf-roast .ea-imprint div>span {
    min-width: 0;
    max-width: 150px;
    margin: 0;
    text-align: right;
    font: 500 10px/1.2 Arial, sans-serif;
    letter-spacing: .055em;
  }
  #theater #stage .cf-roast .ea-photobay {
    height: clamp(165px, 47vw, 260px);
    min-height: 0;
    width: 100%;
  }
  #theater #stage .cf-roast .ea-photobay>.cf-print {
    object-position: 50% 45%;
    mask-image: linear-gradient(180deg, transparent, #000 9%, #000 78%, transparent);
  }
  #theater #stage .cf-roast .ea-photobay::after {
    content: "";
    display: block;
    pointer-events: none;
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #33221c, rgba(51,34,28,.72) 9%, transparent 33%);
  }
  #theater #stage .cf-roast .cf-colophon {display:none;}
  #theater #stage .cf-roast .ea-slip {
    inset: auto var(--edition-inset) 3px auto;
    z-index: 2;
    max-width: 78%;
    padding: 4px 8px 5px;
    text-align: right;
    transform: none;
    background: transparent;
    box-shadow: none;
    color: #f8e6cc;
    border: 0;
  }
  #theater #stage .cf-roast .ea-ticket-body {padding: 0;}
  #theater #stage .cf-roast .ea-ticket-body>span {font-size: 9px;}
  #theater #stage .cf-roast .ea-ticket-body strong {font-size: 16px;}
  #theater #stage .cf-roast .ea-specimen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(90px, 28vw, 137px);
    column-gap: 12px;
    align-items: start;
    padding: 8px var(--edition-inset) 14px;
  }
  #theater #stage .cf-roast .ea-lot,
  #theater #stage .cf-roast .ea-title {grid-column: 1 / -1;}
  #theater #stage .cf-roast .ea-title {
    margin: .05em 0 .15em -.025em;
    font-size: clamp(43px, 11vw, 65px);
  }
  #theater #stage .cf-roast .ea-notes {grid-area: 3 / 1; font-size: clamp(19px, 5.2vw, 26px);}
  #theater #stage .cf-roast .ea-origin {grid-area: 4 / 1; margin-top: 5px;}
  #theater #stage .cf-roast .ea-specimen .wk-coffee-inline {
    grid-area: 3 / 2 / 5 / 3;
    display: grid;
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  #theater #stage .cf-roast .wk-coffee-inline .wk-beans {width: 58px;}
  #theater #stage .cf-roast .wk-coffee-inline figcaption {gap: 1px;}
  #theater #stage .cf-roast .wk-coffee-inline figcaption small {font-size: 8px;}
  #theater #stage .cf-roast .wk-coffee-inline figcaption span {font-size: 13px;}
  #theater #stage .cf-roast .ea-selector {margin-block: 10px 4px;}
  #theater #stage .cf-roast .ea-roasts {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  #theater #stage .cf-roast .ea-roasts label {font-size: 15px;}
  #theater #stage .signal-proof {padding: 12px clamp(13px, 4vw, 27px) 8px;}
  #theater #stage .signal-proof>header {padding-bottom: 9px;margin-bottom: 9px;}
  #theater #stage .signal-proof>header>span {font-size: clamp(25px, 6.4vw, 35px);}
  #theater #stage .signal-proof>header small {font-size: 9px;}
  #theater #stage .score-picker {
    --jacket: clamp(109px, 36vw, 195px);
    --opening-height: calc(var(--jacket) + 32px);
    display: block;
  }
  #theater #stage .score-picker .score-artwork {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: var(--opening-height);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
  }
  #theater #stage .score-picker .score-land {
    object-position: 43% 45%;
    filter: brightness(.68) saturate(.84);
    mask-image: linear-gradient(90deg,#000 0%,#000 26%,rgba(0,0,0,.70) 47%,rgba(0,0,0,.18) 75%,transparent),
      linear-gradient(180deg,transparent,#000 15%,#000 77%,transparent);
    mask-composite: intersect;
  }
  #theater #stage .score-picker .score-sleeve {
    inset: 50% auto auto 5px;
    width: var(--jacket);
    max-width: none;
    transform: translateY(-50%) rotate(-2deg);
  }
  #theater #stage .score-picker .score-current {
    position: relative;
    min-height: var(--opening-height);
    margin: 0;
    padding: 8px 0 8px calc(var(--jacket) + 20px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
  }
  #theater #stage .score-picker .score-context {font-size: 9px;line-height:1.35;letter-spacing:.075em;}
  #theater #stage .score-picker .score-title {font-size: clamp(25px, 6.9vw, 40px) !important;}
  #theater #stage .score-picker .score-credit {font-size: 12px !important;}
  #theater #stage .score-picker .score-current .sa-playback {width: 61px;}
  #theater #stage .score-picker .score-timeline {padding: 7px 0 5px;}
  #theater #stage .score-picker .score-wave {height: 40px; min-height:44px;}
  #theater #stage .score-picker .score-transport {margin: 11px auto 3px;}
  #theater #stage .score-picker .score-loopbox {margin-bottom: 12px;}
  #theater #stage .score-picker .score-list button {min-height: 48px;}
}
@media (forced-colors:active) {
  #theater #stage .score-picker .score-land,
  #theater #stage .cf-roast .ea-photobay>.cf-print {mask:none;}
  #theater #stage .score-picker .score-current>div:first-child {background:Canvas;color:CanvasText;}
}
