@font-face {
  font-family: Inter; src: url(inter.woff2) format("woff2"); font-weight:100 900; font-display:swap;
}
@font-face {
  font-family:"Theatre Display"; src:url(barlow-condensed-black.woff2) format("woff2"); font-weight:900; font-display:swap;
}
body.game-page {margin:0;background:#000;color-scheme:dark}
.game-theatre {
  --stock:#000;
  --ink:#fff;
  --title-face:"Theatre Display","Arial Narrow",Impact,sans-serif;
  background:var(--stock); color:var(--ink);
  font:500 16px/1.4 Inter,Arial,sans-serif;
}
.game-theatre *, .game-theatre *::before, .game-theatre *::after {box-sizing:border-box}
.game-theatre a {color:inherit;text-decoration:none}
.game-theatre button,.game-theatre select {font:inherit;color:inherit}
.game-theatre button {border:0;background:none;padding:0;cursor:pointer}
.game-theatre img {display:block}
.game-theatre a:focus-visible,.game-theatre button:focus-visible,.game-theatre select:focus-visible,.game-theatre iframe:focus-visible {
  outline:2px solid currentColor; outline-offset:3px;
}
.game-theatre .booth {
  --edge:clamp(12px,2.2vw,44px);
  --rail:clamp(97px,6.6vw,128px);
  width:100%; height:calc(100svh - var(--fcs-header-height,64px)); min-height:260px;
  display:grid;grid-template-columns:var(--rail) minmax(0,1fr) var(--rail);
  gap:clamp(7px,1.3vw,23px);padding:clamp(8px,2.4svh,25px) var(--edge);
  position:relative; isolation:isolate;
}
.theatre-spine {
  display:grid;grid-template-rows:auto minmax(0,1fr) 52px;min-width:0;align-items:center;justify-items:start;
  padding-top:clamp(7px,1.3svh,15px);
}
.theatre-spine a,.help-top,.view-control {color:#fff}
.theatre-spine a {font-size:16px;display:inline-flex;align-items:center;min-height:44px;gap:6px}
.theatre-spine a:is(:hover,:focus-visible) {color:white}
.game-theatre .return-link {color:#fff;gap:7px;min-width:84px;min-height:48px;justify-content:flex-start;font-size:clamp(16px,1.25vw,20px);font-weight:580;letter-spacing:-.025em}
.game-theatre .return-link img {width:22px;height:22px}
.return-link img,.player-tools img,.close-help img {filter:invert(1)}
.return-link img {transition:transform .23s ease}
.return-link:hover img {transform:translateX(-3px)}
.title-rail {display:grid;place-items:center;width:100%;height:100%;min-height:0;container-type:size}
.game-theatre h1,.game-theatre h2,.game-theatre p {margin:0}
.title-rail h1 {
  writing-mode:vertical-rl; transform:rotate(180deg); white-space:nowrap;
  font-family:var(--title-face);font-weight:900;text-transform:uppercase;letter-spacing:-.018em;
  font-size:min(105cqw,13cqh);line-height:.88;
}
.stage {display:grid;min-width:0;min-height:0;align-items:stretch}
.screen {min-width:0;min-height:0;display:grid;place-items:center;container-type:size}
.player {
  position:relative;isolation:isolate;--ratio:1.77777778;
  width:min(100cqw,calc(100cqh * var(--ratio)));aspect-ratio:var(--ratio);background:#000;
}
.player.portrait {--ratio:.5625}
#game {display:block;width:100%;height:100%;border:0;background:#000;touch-action:none}
.loading-state {
  position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:15px;
  background:#000;color:var(--ink);pointer-events:none;font-size:16px;
}
.loading-state[hidden] {display:none}
.player-tools {
  align-self:center; justify-self:center; display:flex; flex-direction:column;
  width:clamp(110px,8.3vw,150px); max-width:calc(100% + var(--edge) - 5px); min-width:0;
  gap:1px; padding:4px; border-radius:14px; background:#fff; color:#000;
}
.player-tools button {
  position:relative; display:grid; grid-template-columns:19px minmax(0,1fr);
  align-items:center; justify-items:start; gap:4px; padding:4px;
  min-width:44px; min-height:44px; border-radius:9px; color:#000;
  font:900 clamp(17px,1.2vw,20px)/1 var(--title-face); letter-spacing:-.015em;
  text-align:left; overflow-wrap:normal; transition:background-color .15s ease;
}
.player-tools button img {width:19px;height:19px;filter:none;}
.info-toggle b {display:grid;place-items:center;width:19px;height:19px;font:650 16px/1 Inter,Arial,sans-serif;border:1.5px solid currentColor;border-radius:50%;}
.view-control {
  display:flex; align-items:center; margin:0; width:100%; color:#000;
}
.player-tools .view-control select {
  width:100%; min-width:0; min-height:44px; padding:4px;
  border:0; border-radius:9px; color:#000; background-color:#fff; color-scheme:light;
  font:900 18px/1 var(--title-face); cursor:pointer;
}
.player-tools select option {background:#fff;color:#000;}
.game-theatre .player-tools :is(button,select):is(:focus-visible,:active) {
  background:#000; color:#fff;
}
.player-tools button:is(:focus-visible,:active) img {filter:invert(1);}
.game-theatre .player-tools :is(button,select):focus-visible {outline:2px solid #000;outline-offset:-3px;}
@media(hover:hover) {
  .game-theatre .player-tools :is(button,select):hover {background:#000;color:#fff;}
  .player-tools button:hover img {filter:invert(1);}
}
.game-theatre #status {position:absolute;pointer-events:none;z-index:2;left:50%;bottom:4px;transform:translateX(-50%);font-size:16px;color:#fff;max-width:90%;text-align:center;margin:0}
.game-theatre #status:not(:empty) {background:#000;padding:4px 11px}
.game-theatre dialog {
  width:min(480px,calc(100% - 30px));background:#000;color:#fff;padding:clamp(24px,4vw,44px);
  border:0;max-height:calc(100dvh - 30px);overflow:auto;
}
.game-theatre dialog::backdrop {background:rgb(0 0 0 / 83%)}
.help-top {display:flex;align-items:center;justify-content:space-between;gap:15px;line-height:1.3}
.close-help {display:grid;place-items:center;width:44px;height:44px}
#help-title {font:520 clamp(38px,5.2vw,64px)/1 Inter,Arial,sans-serif;letter-spacing:-.075em}
.game-theatre dialog p {margin-top:22px;line-height:1.55;font-size:clamp(16px,1.5vw,21px);color:#fff}
.next-game {padding:clamp(46px,7vw,125px) var(--fcs-edge) clamp(26px,3.5vw,70px);background:#000;overflow:hidden}
.game-theatre + .fcs-footer {position:relative;padding-top:clamp(40px,4.5vw,85px);}
.next-game a {display:block}
.next-title {margin:0;display:flex;align-items:center;justify-content:space-between;gap:2vw;perspective:1000px}
.next-title h2 {
  font:900 clamp(40px,9.6vw,190px)/.93 var(--title-face);text-transform:uppercase;letter-spacing:-.018em;
  overflow-wrap:anywhere;transform-origin:0 90%;
}
body:has(#game-help[open]) {overflow:hidden}
.immersive {overflow:hidden}
body .game-theatre .booth:fullscreen,body.immersive .game-theatre .booth {
  position:fixed;inset:0;z-index:2147483644;background:#000;height:100dvh;width:100%;
  min-height:0;max-height:none;padding:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 44px;gap:0;
}
:is(.booth:fullscreen,body.immersive .booth) .stage {grid-column:1;grid-row:1}
:is(.booth:fullscreen,body.immersive .booth) .theatre-spine,
:is(.booth:fullscreen,body.immersive .booth) #status,
:is(.booth:fullscreen,body.immersive .booth) .player-tools>:not(#fullscreen) {display:none}
:is(.booth:fullscreen,body.immersive .booth) .player-tools {display:flex;grid-column:1;grid-row:2;flex-direction:row;justify-content:center;justify-self:center;width:max-content;padding:0 10px}
:is(.booth:fullscreen,body.immersive .booth) #fullscreen {display:flex;align-items:center;gap:8px}
@media (min-width:641px) and (max-height:555px) and (orientation:landscape) {
  .game-theatre .booth {--rail:97px;--edge:8px;gap:7px;padding-block:2px}
  .theatre-spine {padding-top:12px;}
  .player-tools {align-items:center; width:100%}
  .player-tools button {display:grid;grid-template-columns:1fr;justify-items:center;width:100%}
  .player-tools button img {width:22px;height:22px}
  .player-tools .view-control {min-width:44px}
  .theatre-spine a {min-height:33px}
}
@media (max-width:640px) {
  .game-theatre .booth {--edge:clamp(8px,3vw,16px);height:calc(100svh - var(--fcs-header-height,58px));min-height:262px;
    grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:9px;
    padding:clamp(16px,2.4svh,24px) var(--edge) max(4px,env(safe-area-inset-bottom));}
  .theatre-spine {display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto;align-items:center;gap:14px;padding:0 0 5px;}
  .title-rail {display:block;min-width:0;height:auto;container-type:inline-size}
  .title-rail h1 {font-size:clamp(21px,15cqw,47px);writing-mode:horizontal-tb;transform:none;line-height:1;white-space:normal}
  .player-tools {justify-self:center; flex-direction:row;align-items:center;width:max-content;max-width:100%;gap:1px; padding:2px;}
  .player-tools button {display:grid;grid-template-columns:1fr;justify-items:center;min-width:44px;min-height:44px;padding:3px;}
  .player-tools button img {width:22px;height:22px}
  .view-control {width:96px;min-width:0}
  .view-control select {min-height:44px;font-size:16px}
  .next-title h2 {font-size:clamp(44px,12vw,74px)}
  .next-game {padding-block:48px}
  .game-theatre #status:not(:empty) {bottom:48px}
}
@media (max-width:640px), (orientation:landscape) and (max-height:555px) {
  .player-tools button span {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
  .player-tools button:focus-visible span {clip-path:none;width:max-content;height:auto;max-width:90vw;bottom:100%;left:0;overflow:visible;background:#000;color:#fff;padding:5px 9px;font-size:16px}
  :is(.booth:fullscreen,body.immersive .booth) #fullscreen span {position:static;clip-path:none;width:auto;height:auto}
}
@media (prefers-reduced-motion:reduce) {
  .game-theatre *,.game-theatre *::before,.game-theatre *::after {animation:none!important;transition:none!important}
}
