:root {
  --ink: #19171b;
  --paper: #fff;
  --red: #861046;
  --gold: #ffc400;
  --line: var(--ink);
  --muted: #574c59;
  --pink: #ff80ad;
  --lilac: #c8b4ed;
  --pink-paper: #fff1f7;
  --lilac-paper: #f7f0ff;
  --yellow-paper: #fff7cd;
}

.mast { background: white; }
.mast::after { background: var(--ink); }
.logo span { color: var(--red); }
.mast nav a:hover { text-decoration-thickness: 3px; }
.button { background: var(--pink); }
.button.alt { background: white; }
.button:hover { background: var(--gold); }
.eyebrow { color: var(--red); }
.notice { background: var(--yellow-paper); }

.journal-footer { padding-bottom: 4.5rem; }
.sound-credits { margin-top: .85rem; max-width: 72ch; }
.sound-credits summary { cursor: pointer; font-weight: 800; }
.sound-credits ul { margin-block: .5rem 0; padding-left: 1.2rem; }
.sound-credits li + li { margin-top: .45rem; }

.press-audio { position: fixed; z-index: 25; left: max(.65rem, env(safe-area-inset-left)); bottom: max(1.15rem, env(safe-area-inset-bottom)); }
.press-audio button {
  min-height: 40px;
  min-width: 92px;
  padding: .35rem .47rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 2px 3px var(--ink);
  font: 900 .67rem/1 ui-monospace, monospace;
  cursor: pointer;
  white-space: nowrap;
}
.press-audio button b { font-size: .95rem; }
.press-audio button[aria-pressed="true"] { background: var(--gold); }
.press-audio button:hover { background: var(--pink); }
.audio-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.edition-scrolling .edition-toolbar { left: max(7.6rem, 5vw, calc((100vw - 1460px) / 2)); }

.maker { background: var(--lilac-paper); }
.edition.tint { background: var(--pink-paper); }
#round-lineup { background: var(--lilac-paper); }
#watch, #press-hour { background: var(--yellow-paper); }
select, textarea, .fee-fields input { background: white; }
.item, .entry, .round-dialog, .round-deck .lineup-card,
.round-deck .lineup-card:nth-child(n+4) { background: white; }
.round-deck .lineup-card { border-top-color: var(--pink); box-shadow: 4px 4px var(--ink); }
.round-deck .lineup-card:nth-child(2) { border-top-color: var(--lilac); }
.round-deck .lineup-card:nth-child(3) { border-top-color: var(--gold); }
.round-deck .lineup-card:nth-child(n+4) { border-top-color: var(--ink); }
.round-deck .lineup-card[data-active="true"] { background: var(--yellow-paper); border-top-color: var(--gold); }
.item, .entry { box-shadow: 4px 4px var(--ink); }
.entry-body .button { margin-bottom: .2rem; }
.clip, .strip canvas { box-shadow: 5px 5px var(--ink); }
canvas { background: white; }
.clip figcaption, .stage figcaption { background: var(--ink); color: white; }
.round-dialog::backdrop { background: #1e1a248a; }
.round-filter a { border-width: 2px; }
.round-filter a[aria-current="page"] { box-shadow: 2px 2px var(--ink); }

[data-view="contest"] .contest-art {
  background: white;
  min-height: 0;
  aspect-ratio: 3 / 2;
  align-self: center;
  box-shadow: 6px 7px var(--ink);
}
.contest-art img { object-fit: contain; }
@media (min-width: 761px) {
  [data-view="contest"] .contest-art { rotate: -2deg; }
}

.hat-game {
  --game-ink: var(--ink);
  --game-paper: white;
  --game-gold: var(--gold);
  background: var(--pink-paper);
}
.hat-board { background: white url("edition-art/game-table.webp") center / 100% 100% no-repeat; }
.hat-board::before, .hat-board::after { content: none; }
.hat-pigeon { filter: none; }
.hat-choice::before, .hat-choice::after { box-shadow: none; }
.hat-choice::before {
  background: var(--lilac);
  border-radius: 49% 45% 12% 9%;
}
.hat-choice::after { background: var(--pink); rotate: -2deg; border-radius: 44% 56% 48% 52%; }
.hat-cell:nth-child(2) .hat-choice::before { background: var(--gold); }
.hat-cell:nth-child(2) .hat-choice::after { rotate: 2deg; }
.hat-cell:nth-child(3) .hat-choice::before { background: var(--pink); }
.hat-cell:nth-child(3) .hat-choice::after { background: var(--lilac); }
.hat-machine footer { background: white; }
.hat-choice:focus-visible { outline-color: var(--red); }

.stage-scene { background: white url("edition-art/briefing.webp") center / contain no-repeat; }
.stage-scene::before { content: none; }
.stage-fallback { object-fit: contain; }
.stage-scene .pigeon-actor { width: 42%; height: 75%; left: 40%; bottom: 25%; transform-origin: 50% 85%; }
.stage .mic-marks { z-index: 4; left: 28%; bottom: 40%; }
.stage.tapped .mic-marks i { background: var(--red); }

.city-opening { background: white; color: var(--ink); }
.city-window { background: white; }
.city-plate img, .city-interior img {
  object-fit: contain;
  object-position: 88% 46%;
  padding: clamp(.6rem, 4vh, 3rem) 2vw 2rem 36vw;
}
.city-window[data-city="inside"] .city-shade, .city-shade {
  background: linear-gradient(90deg, #ffffff 7%, #ffffffef 28%, transparent 62%);
}
.city-copy h1, .city-copy h2 { text-shadow: none; }
.city-copy h1 span:last-child { color: var(--red); }
.city-copy p { color: var(--ink); }
.city-copy .button.alt { color: var(--ink); border-color: var(--ink); background: white; box-shadow: 3px 3px var(--ink); }
.castle-door, .city-prop { border-radius: 0; background: var(--gold); }
.city-landmarks button {
  background: white;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.city-landmarks button[aria-pressed="true"], .city-landmarks button:hover { background: var(--pink); color: var(--ink); }
.city-copy :focus-visible { outline-color: var(--red); }
.city-window[data-city="inside"][data-prop-active="true"] .city-glass { opacity: .21; }
.room-pigeon { z-index: -1; width: clamp(120px, 16vw, 250px); top: 66%; left: 79%; }

@media (max-width: 760px) {
  .edition-scrolling .edition-toolbar { left: max(7.2rem, 5vw); right: 5vw; }
  .edition-steps a { min-width: 22px; min-height: 41px; }
  .edition-switch { min-height: 41px; }
  .press-audio { bottom: max(1.14rem, env(safe-area-inset-bottom)); }
  .city-plate img, .city-interior img { object-position: 50% 15%; padding: 0 0 36%; }
  .city-window[data-city="inside"] .city-shade, .city-shade {
    background: linear-gradient(0deg, #fff 12%, #fffffff4 39%, transparent 68%);
  }
  .room-pigeon { left: 76%; top: 37%; }
  .city-window .castle-door { top: 41%; }
}

@media (max-width: 380px) {
  .edition-scrolling .edition-toolbar { left: 6.25rem; gap: .26rem; right: 4vw; }
  .edition-steps a { min-width: 21px; }
  .press-audio button { min-width: 80px; }
}
