@font-face {
  font-family: Cinzel;
  src: url("/type/cinzel-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #302316;
  --dim: #59452f;
  --wine: #782a16;
  --gold: #ffdf98;
  --parchment: #dec69b;
  --hair: #967b52;
  --type: Verdana, Tahoma, Arial, sans-serif;
  --display: Cinzel, Georgia, serif;
  --paper: var(--parchment) url("/stills/parchment.webp") repeat;
  font: 100%/1.48 var(--type);
  color: var(--ink);
  background: #100f0d;
  scrollbar-color: #827050 #191714;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd, figure, blockquote, ul { margin: 0; }
body {
  min-height: 100vh;
  padding: clamp(6px, 1.6vw, 24px) clamp(6px, 2vw, 32px) 34px;
  background: radial-gradient(ellipse at center 3rem, #393329 0, #1a1815 41rem, #0d0d0c 73rem);
}
button, input, summary { font: inherit; }
button, summary { cursor: pointer; }
a { color: var(--wine); text-underline-offset: .19em; }
a:hover { color: #4d160b; text-decoration-thickness: 2px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, video:focus-visible {
  outline: 3px solid #196783; outline-offset: 3px;
}
.theater :focus-visible { outline-color: #ffe49a; outline-offset: 2px; }
::selection { color: #fff7df; background: #804025; }
[hidden] { display: none !important; }
.icon-bank { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: currentColor; display: block; pointer-events: none; }
.stroke { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter; }
.skip { position: fixed; z-index: 10; top: 10px; left: 10px; padding: .65rem 1rem; background: #fff0cb; transform: translateY(-180%); }
.skip:focus { transform: none; }

.hall {
  max-width: 1120px; margin-inline: auto; padding: 5px;
  border: 1px solid #171513;
  background: linear-gradient(90deg, #262725 0, #73716a 2px, #2b2b28 4px, #332e25 8px,
    #332e25 calc(100% - 7px), #242420 calc(100% - 5px), #77746a calc(100% - 3px), #191917 100%);
  box-shadow: 0 0 0 1px #4c4536, 0 9px 35px #000a;
}
.masthead {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; min-height: clamp(88px, 9vw, 110px);
  padding: 14px clamp(20px, 3.1vw, 46px);
  border: 1px solid #100f0d; border-block-color: #a18a57 #100f0d;
  background: linear-gradient(105deg, #281a17 4%, #4f2c1b 37%, #86522a 66%, #5e3c25);
}
.masthead::before {
  content: ""; position: absolute; z-index: -2; inset: 0 0 0 23%;
  background: url("/stills/arena-banner.webp") 51% 24% / cover no-repeat;
  filter: sepia(.56) saturate(.92);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
}
.masthead::after {
  content: ""; position: absolute; inset: 3px; z-index: -1; pointer-events: none;
  border: 1px solid #d1a96172;
  background: linear-gradient(0deg, #18131083, transparent 33%, transparent 78%, #21191057);
}
.masthead h1 {
  color: #f7e4b4; font: 600 clamp(1.35rem, 3.15vw, 2.55rem)/1.08 var(--display);
  letter-spacing: -.03em; text-shadow: 1px 2px 1px #130e0a, 0 3px 7px #1f100b;
}
.masthead h1 span { display: block; color: #f2c578; font-size: .69em; letter-spacing: .065em; line-height: 1.16; }

main {
  background: var(--paper); border: 1px solid #2c271e; border-top: 3px double #948058;
  padding: clamp(11px, 1.8vw, 23px);
  box-shadow: inset 0 0 22px #8465383b;
}
.stage { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(245px, 1fr); gap: clamp(13px, 1.65vw, 22px); align-items: start; }
.theater {
  min-width: 0; position: relative; color-scheme: dark; color: #e9d8aa;
  background: #151615; border: 1px solid #302b22; padding: 3px;
  box-shadow: inset 0 0 0 1px #a0967e, inset 0 0 0 2px #41423a, 0 2px 4px #2c211a57;
}
.iron-heading, .ink-heading {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  border-top: 1px solid #737163; border-bottom: 1px solid #0b0c0b;
  background: linear-gradient(#45443b, #2c2d28 45%, #272823 52%, #30312b);
  color: var(--gold); text-shadow: 0 1px 1px #080807;
}
.player-heading {
  position: relative; padding: 6px 22px 7px; min-height: 36px;
  background: linear-gradient(#59584f, #373933 44%, #2a2c28 46%, #363730);
}
.player-heading::before, .player-heading::after {
  content: ""; position: absolute; top: 50%; width: 5px; height: 5px; transform: translateY(-50%);
  border-radius: 50%; background: linear-gradient(135deg, #e0c48e 0%, #998051 50%, #50412b 71%);
  box-shadow: 0 1px 2px #000; border: 1px solid #322b21;
}
.player-heading::before { left: 7px; }
.player-heading::after { right: 7px; }
.player-heading h2 { font: 600 clamp(1.03rem, 1.65vw, 1.28rem)/1.1 var(--display); overflow-wrap: anywhere; }
.player-heading > span { font-size: .72rem; color: #e0d6bb; white-space: nowrap; font-variant-numeric: tabular-nums; }
.player-heading i { font-style: normal; padding-inline: .14em; }
.picture { position: relative; width: 100%; aspect-ratio: 16/9; background: #080907; border: 1px solid #090a09; }
.picture video { display: block; width: 100%; height: 100%; object-fit: contain; background: #080907; }
.theater.enhanced video { cursor: pointer; }
.play-seal {
  position: absolute; bottom: clamp(10px, 2vw, 22px); left: clamp(10px, 2vw, 22px);
  display: grid; place-items: center; width: 54px; height: 45px;
  border: 2px outset #9c8763; border-radius: 3px;
  background: linear-gradient(#3c3c32f5, #242721f5 49%, #1c1f1af5 50%, #2b2d24f5);
  color: #f9d688; box-shadow: inset 0 0 0 1px #171810, 0 2px 5px #080804ab;
}
.play-seal .icon { width: 29px; height: 29px; filter: drop-shadow(0 1px 1px black); }
.play-seal:hover { color: #fff2bc; border-color: #c6ad7f; }

.transport {
  display: flex; align-items: center; gap: clamp(4px, .85vw, 10px);
  padding: 4px 6px; min-height: 44px;
  border-top: 1px solid #8c8675; border-bottom: 1px solid #24231e;
  background: linear-gradient(#454640 0%, #353630 46%, #2b2d27 47%, #373a32);
}
.metal-key {
  display: grid; place-items: center; flex: 0 0 34px; height: 32px;
  border: 1px solid; border-color: #928d79 #161913 #11130f #787665;
  border-radius: 2px; color: #f0dfb0;
  background: linear-gradient(#56564b, #3a3c33 48%, #30332b 50%, #3c3d33);
  box-shadow: 0 1px 2px #12130e8a;
}
.metal-key:hover { color: #fff1bc; background: linear-gradient(#626155, #444538 49%, #36392e 50%, #494939); }
.metal-key:active, .play-seal:active { border-style: inset; color: #fff3ca; }
.metal-key:disabled, .rail:disabled { opacity: .5; cursor: default; }
.metal-key .icon { width: 17px; height: 17px; }
.clock {
  flex: none; color: #cbbb90; border: 1px inset #6b6858; background: #1b1c17;
  padding: 3px 5px; font: 500 .75rem/1.25 "Courier New", monospace;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.clock #elapsed { color: #ffe098; }
.rail {
  --fill: 0%; --rail-color: #cf9c42; --track-bg: #171914;
  appearance: none; -webkit-appearance: none; flex: 1 1 0; min-width: 22px;
  height: 32px; cursor: pointer; margin: 0; padding: 0; background: transparent;
}
.rail::-webkit-slider-runnable-track {
  height: 8px; border: 1px solid; border-color: #10120f #716e5b #827d67 #181a14;
  background: linear-gradient(to right, var(--rail-color) var(--fill), var(--track-bg) var(--fill));
}
.rail::-moz-range-track { height: 6px; border: 1px inset #726d58; background: var(--track-bg); }
.rail::-moz-range-progress { height: 6px; background: var(--rail-color); }
.rail::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; margin-top: -4px;
  width: 13px; height: 14px; border: 1px solid;
  border-color: #fff0b4 #685126 #513c1d #e5c77b; border-radius: 1px;
  background: linear-gradient(90deg, #bfa46f, #f3da9c 50%, #b38f52 51%, #a37f42);
}
.rail::-moz-range-thumb { width: 11px; height: 12px; border: 1px outset #e0c384; border-radius: 1px; background: #dbbc79; }
.volume { --fill: 100%; --rail-color: #958e6d; flex: 0 1 55px; }
#play-status:not(:empty) { padding: 7px; font-size: .8rem; }
.theater:fullscreen, .expanded-player .theater { display: flex; flex-direction: column; width: 100%; height: 100%; border: 0; padding: 0; }
.theater:fullscreen .picture, .expanded-player .picture { flex: 1; min-height: 0; aspect-ratio: auto; }
.theater:fullscreen .transport, .theater:fullscreen .player-heading, .expanded-player .transport, .expanded-player .player-heading { flex: none; }
.expanded-player { overflow: hidden; }
.expanded-player .theater { position: fixed; inset: 0; z-index: 8; }
.expanded-player :is(.skip, .masthead, .credits, .lineup, .brief) { display: none; }

.credits, .lineup { min-width: 0; border: 1px solid #756247; box-shadow: 0 1px 2px #59432234; }
.ink-heading { padding: 5px 12px; min-height: 30px; }
.ink-heading h2, .ink-heading h3 { font: 600 1.05rem/1.18 var(--display); }
.credits-body { padding: clamp(12px, 1.4vw, 18px); }
.pitch { font: 400 1.02rem/1.43 Georgia, serif; }
.credits dl { margin: .9rem 0 .7rem; border-top: 1px solid var(--hair); }
.credits dl > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: baseline; gap: 8px;
  padding: .38rem 0; border-bottom: 1px solid #ae966e; font-size: .77rem;
}
.credits dt { color: var(--dim); }
.credits dd { text-align: right; font-weight: 700; }
.downloads { display: flex; align-items: baseline; flex-wrap: wrap; gap: .18rem .8rem; }
.downloads a, .notes summary, .notes button { font: 700 .75rem/1.5 var(--type); color: var(--wine); }
.downloads a { display: inline-flex; align-items: center; gap: .28rem; padding-block: 4px; }
.downloads .icon { width: 14px; height: 14px; }
.notes { margin-top: .5rem; border-top: 1px solid #a18a62; padding-top: .4rem; }
.notes summary { width: fit-content; padding-block: 4px; }
.notes > p { font-size: .77rem; margin-top: .58rem; }
.notes button { display: block; margin-top: .5rem; padding: 5px 8px; background: #f2ddaf; border: 1px outset #a88d5e; text-align: left; }
.notes code { overflow-wrap: anywhere; }
.lineup { margin-top: clamp(15px, 1.8vw, 24px); }
.ink-heading p { font-size: .72rem; color: #e6dcc2; }
.film-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1px; background: #a28a60; padding: 0; list-style: none; }
.film-list li { background: var(--paper); min-width: 0; }
.film-card { display: block; height: 100%; padding: 10px; text-decoration: none; color: var(--ink); }
.film-card[aria-current] { background: #69451913; }
.film-card figure { display: flex; align-items: center; gap: 10px; }
.film-card img { flex: none; width: clamp(76px, 8.2vw, 104px); height: auto; aspect-ratio: 16/9; object-fit: cover; border: 2px ridge #877452; }
.film-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .13rem .55rem; }
.film-name strong { color: #702818; font: 600 1.05rem/1.14 var(--display); }
.current { color: #5b492d; font-size: .63rem; font-weight: 700; }
.film-card p { margin-top: .22rem; color: var(--dim); font-size: .72rem; }
.film-card:hover { background: #fff0cd72; }
.film-card:hover strong { text-decoration: underline; }
.film-card:focus-visible { outline-offset: -3px; }
.pending { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 16px; padding: 9px 12px; border-top: 1px solid #9c8560; }
.pending h3 { font-size: .72rem; }
.pending ul { display: flex; flex-wrap: wrap; gap: 2px 16px; padding: 0; list-style: none; font-size: .7rem; color: var(--dim); }
.brief { display: grid; grid-template-columns: minmax(140px, 1fr) 4.2fr; gap: 18px; margin-top: 19px; padding: 14px 3px 5px; border-top: 3px double #967b51; }
.brief h2 { font: 600 1.08rem/1.25 var(--display); }
.brief blockquote { max-width: 72ch; font: 400 .98rem/1.45 Georgia, serif; }
.brief p { margin-top: .45rem; font-size: .74rem; color: var(--dim); }

@media (max-width: 800px) {
  .stage { grid-template-columns: minmax(0, 1.88fr) minmax(205px, 1fr); gap: 10px; }
  .film-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
  .film-card figure { gap: 7px; }
  .film-card img { width: 73px; }
}
@media (max-width: 675px) {
  .masthead { min-height: 85px; padding-left: 15px; }
  .masthead::before { left: 30%; background-position: 62% 50%; }
  .masthead h1 { font-size: clamp(1.26rem, 5.2vw, 1.7rem); }
  .stage { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .play-seal { width: 47px; height: 41px; }
  .credits-body { padding: 12px 14px; }
  .credits dl { margin: .6rem 0 .35rem; }
  .credits dl > div { padding: .27rem 0; }
  .film-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
  .film-card img { width: 95px; }
  .brief { grid-template-columns: 1fr; gap: 7px; }
}
@media (max-width: 460px) {
  body { padding: 5px 4px 16px; }
  .hall { padding: 3px; }
  main { padding: 8px; }
  .transport { gap: 5px; padding: 3px; }
  .metal-key { flex-basis: 33px; height: 34px; }
  .volume { flex-basis: 36px; }
  .clock { font-size: .69rem; padding-inline: 3px; }
  .pending { display: grid; gap: 3px; }
}
@media (max-width: 345px) { .volume { display: none; } }
@media (pointer: coarse) { .rail, .metal-key { min-height: 42px; } }
