body {
  --pixel: Pixel, monospace;
  background: #f3e6d2;
  color: #482f38;
  font:
    650 16px/1.43 Nunito,
    sans-serif;
}
header {
  background: #493341;
  border-bottom: 4px solid #c59962;
}
.brand,
.top nav a {
  color: #faebc9;
}
.top nav a:hover {
  text-decoration: underline;
}
.top,
main,
footer {
  max-width: 1240px;
}
#puppet {
  padding-top: 22px;
}
footer {
  border-top: 1px solid #d0b69b;
  margin: 23px auto 0;
  padding-top: 13px;
}
footer a,
.prompt-book > a,
.prompt-shelf a,
.paper-data a {
  color: #754c49;
}
.showbill {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border: 2px solid #715048;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px #c9a98e;
  background: #61424b;
}
.poster-art {
  position: relative;
  min-height: 355px;
}
.poster-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.poster-title {
  padding: clamp(21px, 3.4vw, 46px);
  color: #fff0cd;
  align-self: center;
}
.poster-title small,
.marquee-heading small,
.playbill small,
.ticket-prize small {
  font:
    950 0.72rem Nunito,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.poster-title small {
  color: #f5ce9b;
}
.poster-title h1,
.marquee-heading h1 {
  font:
    700 clamp(2.7rem, 5vw, 4.8rem)/0.95 Georgia,
    serif;
  letter-spacing: -0.055em;
  margin: 7px 0 13px;
}
.poster-title p {
  max-width: 31ch;
  margin: 0 0 18px;
  font-size: 1.06rem;
}
#puppet .gold {
  display: inline-flex;
  align-items: center;
  color: #503837;
  border-radius: 7px;
  box-shadow: 0 2px #9a7658;
  border: 1px solid #a47d4c;
  background: #f3cc89;
  text-decoration: none;
  font-weight: 950;
  padding: 9px 14px;
}
.playbills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 17px 0;
}
.playbill {
  display: flex;
  gap: 11px;
  padding: 14px 12px;
  align-items: flex-start;
  background: #fff6df;
  color: #583d44;
  text-decoration: none;
  border-block: 2px solid #bc9980;
  border-inline: 1px dashed #bc9980;
  border-radius: 7px;
  box-shadow: 0 2px #dcc2a4;
}
.playbill:hover {
  background: #ffedc5;
}
.playbill > span {
  font:
    700 26px Georgia,
    serif;
  color: #a66954;
}
.playbill strong {
  font:
    700 1.32rem/1.12 Georgia,
    serif;
  display: block;
  margin: 6px 0;
}
.playbill em {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
}
.playbill small,
.marquee-heading small,
.ticket-prize small {
  color: #835f51;
}
.prompt-shelf {
  padding: 10px 2px;
  border-block: 1px solid #d0b69b;
}
.prompt-shelf summary,
.optics summary,
.cue-tape summary {
  cursor: pointer;
  font-weight: 850;
}
.marquee-heading h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.55rem);
  margin: 5px 0 11px;
}
.acts-nav,
.spool-row,
.switches,
.beat-strip,
.pin-entry,
.frame-spec {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
.acts-nav {
  margin-bottom: 12px;
}
.acts-nav a {
  padding: 5px 11px;
  border: 1px solid #b7a08a;
  border-radius: 5px;
  text-decoration: none;
  color: #574047;
  background: #fff4dc;
  font-weight: 850;
}
.acts-nav .on {
  color: #fff1d3;
  background: #684954;
  border-color: #684954;
}
.production {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(245px, 0.83fr);
  align-items: start;
  gap: 15px;
  margin-bottom: 15px;
}
.stage-bench,
.prompt-book {
  min-width: 0;
  border-radius: 12px;
  border: 1px solid #b9a28d;
  background: #fff8e9;
  box-shadow: 0 3px #cbb49c;
}
.stage-bench {
  border-top: 5px solid #815767;
}
.prompt-book {
  padding: 16px 18px;
  background: #f7ecd7;
  border-top: 5px solid #a68058;
}
.prompt-book h2,
.cue-order h2,
.ticket-prize h2,
.press-desk h3 {
  font:
    700 1.46rem/1.11 Georgia,
    serif;
  margin: 0 0 6px;
}
.prompt-book > p {
  font-size: 0.92rem;
  line-height: 1.45;
}
.act-body {
  padding: 15px clamp(12px, 2vw, 20px);
}
.cue-order p {
  margin: 3px 0 11px;
}
.act-body button {
  background: #fff9e9;
  color: #553b42;
  border: 1px solid #b7a28d;
  border-radius: 6px;
  min-height: 36px;
  padding: 6px 11px;
  font-weight: 850;
}
.act-body button[aria-pressed='true'] {
  background: #edd2b9;
  border: 2px solid #926e62;
  color: #4e323b;
}
.monitor {
  margin: 11px 0;
  border-radius: 10px;
  border: 2px solid #785648;
  overflow: hidden;
  background: #513a40;
}
.monitor figcaption {
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
  color: #fff2d3;
  font-size: 0.87rem;
}
.monitor figcaption small {
  font-size: 0.75rem;
  color: #f1cda8;
}
.monitor canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: fill;
}
.monitor canvas[data-aim] {
  cursor: crosshair;
  touch-action: manipulation;
}
.monitor canvas:focus-visible {
  outline: 3px dashed #ffdc8f;
  outline-offset: -4px;
}
.pin-entry {
  gap: 5px 9px;
  margin: 9px 0;
}
.pin-entry label {
  font-weight: 900;
}
.pin-entry input {
  font: inherit;
  border: 1px solid #b5a18b;
  border-radius: 5px;
  background: #fffdf3;
  color: #423a35;
  padding: 3px 6px;
  width: 5.2em;
}
.pin-entry small {
  font-size: 0.8rem;
  color: #765e54;
}
.frame-spec {
  padding: 8px 10px;
  border: 1px solid #d3bea3;
  border-radius: 8px;
  background: #f6ecd4;
  gap: 7px 17px;
  font-size: 0.85rem;
}
.frame-spec span {
  display: block;
}
.frame-spec b {
  white-space: nowrap;
}
.switches {
  align-items: stretch;
  margin: 10px 0;
}
.switches fieldset {
  border: 1px solid #c9b59b;
  border-radius: 7px;
  margin: 0;
  padding: 3px 6px 6px;
}
.switches legend {
  font-size: 0.82rem;
  font-weight: 900;
}
.switches button {
  margin: 2px;
  font-size: 0.88rem;
}
.optics,
.carbon,
.tree-card,
.cue-tape,
.paper-data,
.press-desk,
.consent-card {
  border: 1px solid #ccb69a;
  border-radius: 8px;
  padding: 9px 12px;
  margin: 9px 0;
  background: #f4ead5;
}
.optics {
  font-size: 0.88rem;
}
.optics p,
.tree-card p,
.cue-tape p {
  margin: 4px 0;
}
.carbon {
  font-size: 0.9rem;
  background: #f6edda;
  border-left: 3px solid #ac7c62;
}
.spool-row,
.beat-strip {
  margin: 9px 0;
}
.tree-card > div {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.tree-card p,
.cue-tape p {
  font-size: 0.86rem;
}
.tree-card p b {
  font-family: monospace;
  padding: 1px 6px;
  border-radius: 4px;
  background: #d1dfc9;
  color: #34524d;
}
.split-bar {
  display: flex;
  min-height: 35px;
  margin: 9px 0;
  overflow: hidden;
  border-radius: 6px;
}
.split-bar span {
  text-align: center;
  padding: 6px;
  color: #fff8de;
  background: #647e73;
}
.split-bar span + span {
  background: #956475;
}
.paper-data p,
.press-desk p,
.consent-card p {
  margin: 6px 0;
}
.paper-data small {
  font-size: 0.8rem;
}
.press-desk {
  background: #f6ead3;
}
.consent-card {
  background: #edf0dc;
  border-color: #a5b69c;
}
.backdrop-note {
  font-size: 0.85rem;
  font-style: italic;
  color: #6f5c54;
}
.beat-strip > * {
  flex: 1;
}
.beat-strip button.on-air {
  outline: 3px solid #9c6652;
  background: #f9db93;
}
.score-table {
  font-size: 0.89rem;
  margin: 10px 0;
}
.score-table > div {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 4px;
  padding: 4px 8px;
  border-bottom: 1px solid #d3c0a8;
}
.score-table > div:first-child {
  background: #e8d9bc;
  font-weight: 900;
  border-radius: 5px;
}
.ticket-prize > span {
  font:
    30px Georgia,
    serif;
  display: block;
  color: #945f4f;
}
.ticket-prize p {
  margin: 7px 0;
}
.ticket-prize > a,
.ticket-prize > button {
  margin: 6px 5px 4px 0;
}
#stage-message {
  padding: 9px 12px;
  margin: 0 14px 13px;
  background: #f5e5c6;
  border-left: 3px solid #ab7c57;
  border-radius: 4px;
  color: #513d36;
}
#stage-message:empty {
  display: none;
}
@media (max-width: 870px) {
  .playbills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .production {
    grid-template-columns: minmax(0, 1.6fr) minmax(210px, 0.8fr);
  }
  .showbill {
    grid-template-columns: 1.2fr 1fr;
  }
  .poster-art {
    min-height: 310px;
  }
}
@media (max-width: 680px) {
  .top {
    flex-wrap: wrap;
    gap: 4px 14px;
    padding-block: 7px;
  }
  .top nav {
    gap: 5px 10px;
    flex-wrap: wrap;
    font-size: 0.84rem;
  }
  #puppet {
    padding-top: 13px;
  }
  .production,
  .showbill {
    grid-template-columns: 1fr;
  }
  .poster-art {
    min-height: 0;
    aspect-ratio: 1.65;
  }
  .poster-title {
    padding: 17px 19px;
  }
  .poster-title br {
    display: none;
  }
  .poster-title h1 {
    font-size: 2.65rem;
  }
  .poster-title p {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .playbill {
    padding: 10px;
  }
  .playbill > span {
    display: none;
  }
  .playbill strong {
    font-size: 1.1rem;
  }
  .acts-nav {
    gap: 4px;
  }
  .acts-nav a {
    font-size: 0.83rem;
    padding: 5px 7px;
  }
  .act-body {
    padding: 12px;
  }
  .act-body button {
    min-height: 41px;
  }
  .switches button {
    padding: 6px 8px;
  }
  .pin-entry input {
    width: 4.5em;
  }
  .pin-entry small {
    flex-basis: 100%;
  }
  .frame-spec {
    gap: 5px 11px;
  }
  .monitor figcaption {
    font-size: 0.8rem;
    padding: 4px 7px;
  }
  .monitor figcaption small {
    font-size: 0.7rem;
  }
  .score-table {
    font-size: 0.84rem;
  }
}

.share-playbill {
  padding: 12px;
  background: #e8ecda;
  border: 1px solid #abb599;
  border-radius: 8px;
  margin: 12px 0;
}
.share-playbill label,
.share-playbill small {
  display: block;
}
.share-playbill input {
  display: block;
  font: inherit;
  width: 100%;
  padding: 6px;
  margin: 4px 0 8px;
}
.share-playbill a {
  color: #625144;
  font-weight: 900;
}

.matinee-link {
  display: block;
  color: #ffe7b7;
  font-weight: 850;
  margin-top: 10px;
  text-underline-offset: 3px;
}
