:root {
  color-scheme: dark;
  --ink: #151c29;
  --cream: #f9e9cb;
  --gold: #efbe72;
  --teal: #86d9cf;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
}
header {
  height: 100px;
  max-width: 1440px;
  margin: auto;
  padding: 0 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 3px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
}
.brand-symbol {
  grid-row: span 2;
  font-size: 38px;
  color: var(--gold);
}
.brand-sub {
  font-size: 8px;
  letter-spacing: 3.9px;
  margin-top: 4px;
  font-weight: 400;
}
.header-right {
  display: flex;
  gap: 42px;
  font-size: 12px;
}
.edition {
  color: #a4a9b1;
}
main {
  max-width: 1440px;
  padding: 0 54px;
  margin: auto;
}
.marquee {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 8px 1px 17px;
  color: #b3b6bc;
}
.marquee i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 8px;
  box-shadow: 0 0 10px #86d9cf77;
}
.theatre {
  height: min(66vw, 660px);
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border: 1px solid #73624b;
  border-radius: 160px 160px 5px 5px;
  isolation: isolate;
  background: #162833;
  box-shadow: 0 28px 80px #070c194d;
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.intro {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(90deg, #10172122, #10172100, #10172122);
}
.intro-inner {
  padding-bottom: 65px;
}
.eyebrow {
  font-family: Georgia, serif;
  font-size: 16px;
  font-style: italic;
  color: var(--gold);
  margin: 0 0 16px;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 0.88;
  margin: 0;
  color: #fff0d4;
  text-shadow:
    0 4px 0 #78413c,
    0 6px 22px #0b111b70;
}
h1 span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 46px);
  letter-spacing: 10px;
  margin-top: 15px;
  padding-left: 10px;
  font-weight: 800;
}
.tagline {
  font-size: 14px;
  color: #e6d6c0;
  line-height: 1.8;
  margin: 26px 0 25px;
}
.primary {
  background: var(--gold);
  color: #2b2523;
  border: 1px solid #ffe2aa;
  border-radius: 4px;
  padding: 17px 24px;
  font-size: 14px;
  font-weight: 700;
  min-width: 216px;
  box-shadow: 0 0 30px #efbe7220;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary:hover {
  background: #ffdaa0;
  transform: translateY(-2px);
}
.primary span {
  margin-left: 25px;
}
.play-hint {
  color: #c2b6a9;
  font-size: 10px;
  margin-top: 16px;
}
.bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 49px;
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #10202dcc;
  border-top: 1px solid #ecc78524;
  font-size: 10px;
  letter-spacing: 1px;
  color: #dacbb6;
}
.bottom-bar > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.bottom-bar button {
  background: none;
  border: 0;
  color: #dacbb6;
  padding: 8px 0;
  font-size: 11px;
}
#fullscreen {
  font-size: 23px;
}
.below {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 32px;
  border-bottom: 1px solid #ffffff17;
}
.invitation {
  display: flex;
  gap: 17px;
  align-items: center;
}
.tiny-star {
  font-size: 39px;
  color: var(--gold);
}
.invitation p {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.45;
  margin: 0;
}
.invitation strong {
  font-weight: 400;
  color: #aeb8c0;
}
.instructions {
  display: flex;
  gap: 24px;
  font-size: 10px;
  color: #b5bec5;
  align-items: center;
}
kbd {
  font: 9px Arial;
  border: 1px solid #67727b;
  border-radius: 3px;
  padding: 5px 7px;
  margin-right: 4px;
  color: #e0e1de;
}
.record {
  border-left: 1px solid #ffffff25;
  padding-left: 25px;
}
.record b {
  display: block;
  color: var(--gold);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  margin-top: 5px;
  letter-spacing: 2px;
}
footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #89949f;
  padding: 22px 0 26px;
}
.hud {
  position: absolute;
  top: 35px;
  left: 55px;
  right: 55px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  text-shadow: 0 2px 10px #000;
}
.hud span {
  font-size: 11px;
  color: #e7d6b8;
  display: block;
  margin-bottom: 5px;
}
.hud strong {
  font-size: 24px;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}
.hud .act {
  text-align: center;
}
.hud .act strong {
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0;
}
.hud .life {
  text-align: right;
}
.life strong {
  color: var(--gold);
  font-size: 19px;
}
.toast {
  position: absolute;
  left: 50%;
  top: 26%;
  transform: translateX(-50%);
  color: #ffe4a6;
  font: bold 23px Georgia;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 2px 12px #000;
}
#jump {
  position: absolute;
  bottom: 65px;
  right: 20px;
  border: 1px solid #f6d49699;
  background: #152b37bb;
  color: #ffe3ac;
  border-radius: 50%;
  height: 83px;
  width: 83px;
  font-size: 10px;
  touch-action: manipulation;
}
#jump span {
  display: block;
  font-size: 27px;
  margin-top: 3px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 900px) and (pointer: fine) {
  #jump {
    opacity: 0.55;
  }
}
@media (max-width: 700px) {
  header {
    height: 83px;
    padding: 0 20px;
  }
  .brand {
    font-size: 15px;
    letter-spacing: 2px;
  }
  .brand-sub {
    font-size: 7px;
    letter-spacing: 2.4px;
  }
  .header-right {
    font-size: 10px;
  }
  .edition {
    display: none;
  }
  main {
    padding: 0 14px;
  }
  .marquee {
    font-size: 8px;
    letter-spacing: 0.4px;
  }
  .theatre {
    height: 70svh;
    min-height: 490px;
    max-height: 760px;
    border-radius: 95px 95px 4px 4px;
  }
  .intro-inner {
    padding: 0 10px 70px;
  }
  h1 {
    font-size: 68px;
    letter-spacing: -3px;
  }
  h1 span {
    font-size: 26px;
    letter-spacing: 6px;
  }
  .tagline {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 14px;
  }
  .hud {
    left: 22px;
    right: 22px;
    top: 38px;
  }
  .hud strong {
    font-size: 20px;
  }
  .hud .act strong {
    font-size: 11px;
  }
  .hud .act span {
    font-size: 9px;
  }
  .below {
    gap: 20px;
    align-items: flex-start;
    padding: 22px 4px;
  }
  .invitation p {
    font-size: 14px;
  }
  .tiny-star {
    font-size: 27px;
  }
  .instructions {
    gap: 0;
  }
  .instructions > span:not(.record) {
    display: none;
  }
  .record {
    padding-left: 15px;
    font-size: 9px;
  }
  .record b {
    font-size: 15px;
  }
  footer {
    font-size: 9px;
    line-height: 1.6;
    gap: 25px;
  }
  footer span:last-child {
    display: none;
  }
  .bottom-bar {
    padding: 0 16px;
  }
  .bottom-bar > div {
    gap: 14px;
  }
  .toast {
    font-size: 19px;
    width: 80%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.theatre:fullscreen {
  width: 100vw;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-radius: 0;
}

.about-game {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 42px 0;
  border-bottom: 1px solid #ffffff17;
}
.about-game h2 {
  font:
    25px/1.25 Georgia,
    serif;
  color: var(--cream);
  margin: 0 0 20px;
  letter-spacing: 0;
}
.about-game p {
  color: #b9c2ca;
  font-size: 13px;
  line-height: 1.8;
  max-width: 65ch;
}
.about-game a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.game-questions h2 {
  font-size: 21px;
}
.game-questions details {
  border-bottom: 1px solid #ffffff17;
}
.game-questions summary {
  cursor: pointer;
  padding: 15px 0;
  font-size: 13px;
  color: var(--cream);
}
.game-questions summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}
.game-questions p {
  margin: 0 0 18px;
}
.no-script {
  padding: 20px;
  color: var(--cream);
}
@media (max-width: 700px) {
  .about-game {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 6px;
  }
  .about-game h2 {
    font-size: 23px;
  }
}
