@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap");

:root {
  color-scheme: dark;
  --orange: #df592e;
  --sand: #e0c79e;
  --paper: #eadebf;
  --ink: #13150f;
  --mono: "Space Mono", monospace;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--paper);
  background: #0c0d0a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 14%, #b96a241d, transparent 57%),
    radial-gradient(ellipse at 50% 88%, #de4c1010, transparent 50%),
    repeating-linear-gradient(
      90deg,
      #0c0d0a 0 79px,
      #161710 80px,
      #0c0d0a 81px 160px
    );
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 180px #0008;
}
.arcade-room {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 18px 24px 12px;
}
.cabinet {
  position: relative;
  width: min(100%, 1000px, calc((100dvh - 355px) * 1.333333 + 96px));
  padding: 0 10px;
  border: 1px solid #62523b;
  border-radius: 15px 15px 7px 7px;
  background: linear-gradient(
    90deg,
    #2b1b10 0,
    #a84b26 3px,
    #bd592d 8px,
    #271f14 12px,
    #292a1d 22px,
    #1b1c14 calc(100% - 22px),
    #271f14 calc(100% - 12px),
    #bd592d calc(100% - 8px),
    #8b3c20 calc(100% - 3px),
    #291b10 100%
  );
  box-shadow:
    0 30px 100px #000c,
    0 0 80px #b9641c0e,
    inset 0 1px 1px #ffe5ad4d;
}
.cabinet:before {
  content: "";
  position: absolute;
  inset: 0 7px;
  pointer-events: none;
  border-left: 1px solid #e1a76a55;
  border-right: 1px solid #e1a76a44;
  border-radius: 12px;
}
.marquee {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 89px;
  margin: 8px 8px 0;
  padding: 10px 36px;
  border: 3px solid #11120b;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(100deg, #5b321c, #aa502b 46%, #68361f);
  box-shadow:
    inset 0 0 25px #080b0780,
    inset 0 0 0 1px #e393534d,
    0 2px 2px #f1d8a21c;
  overflow: hidden;
}
.marquee:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #f9bc6a09 3px);
  pointer-events: none;
}
.marquee-emblem {
  font: 52px var(--display);
  color: #ffe1a0;
  text-shadow: 0 0 18px #ffb84766;
}
.marquee-title {
  text-align: center;
  flex: 1;
}
.marquee-topline {
  font: 6px var(--mono);
  letter-spacing: 0.28em;
  color: #edc492;
}
.marquee h1 {
  font: 800 clamp(25px, 3.5vw, 43px)/1 var(--display);
  letter-spacing: 0.045em;
  margin: 4px 0 0;
  color: #ffe7ae;
  text-shadow:
    0 0 15px #ffb95444,
    2px 2px 0 #401c0d;
}
.marquee h1 span {
  color: #f5d49a;
}
.marquee-edition {
  text-align: center;
  font: 700 15px var(--mono);
  letter-spacing: 0.12em;
  color: #f4d19a;
}
.marquee-edition span {
  font: 6px var(--mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.monitor-housing {
  position: relative;
  margin: 0 8px;
  background: linear-gradient(105deg, #27291e, #1b1d15 30%, #24261a 100%);
  padding: 0 32px;
  border-top: 2px solid #11120b;
  box-shadow:
    inset 4px 0 10px #0005,
    inset -4px 0 10px #0005;
}
.monitor-label {
  height: 29px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 9px;
  font: 6px var(--mono);
  letter-spacing: 0.08em;
  color: #9e9b7d;
  gap: 10px;
}
.monitor-label > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.monitor-label i {
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 7px #ef6628;
}
.monitor-label b {
  font-weight: 400;
  color: #dfaa72;
  margin-left: 5px;
}
.monitor-label button {
  background: none;
  border: 0;
  color: #b3ad8e;
  cursor: pointer;
  padding: 2px;
  font: 11px var(--mono);
  display: flex;
  align-items: center;
  gap: 5px;
}
.monitor-label button span {
  font-size: 6px;
}
.crt-bezel {
  position: relative;
  border: 8px solid #0d0f0a;
  border-radius: 30px/24px;
  background: #0a0c08;
  box-shadow:
    0 2px 0 #85806122,
    0 -1px 1px #000,
    inset 0 0 25px #000;
}
.screen-wrap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 21px/16px;
  border: 1px solid #4b4c3455;
  box-shadow: inset 0 0 50px #000;
  background: #14150f;
}
.screen-wrap:before {
  content: "";
  position: absolute;
  z-index: 9;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 42px #0008,
    inset 0 0 9px #000b;
  background: linear-gradient(
    125deg,
    #fbefd909,
    transparent 22%,
    transparent 75%,
    #e6d4ac05
  );
}
.screen-wrap:after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #0009 3px 4px);
}
#game {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  touch-action: none;
  outline-offset: -5px;
}
.monitor-chin {
  height: 27px;
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  font: 6px var(--mono);
  color: #9f9a79;
  letter-spacing: 0.15em;
}
.speaker {
  width: 77px;
  height: 9px;
  background: repeating-linear-gradient(90deg, #0b0d07 0 2px, #37392a 3px 4px);
  border-radius: 2px;
  box-shadow: 0 1px 0 #c7b9910c;
}
.screw {
  position: absolute;
  width: 7px;
  height: 7px;
  background: radial-gradient(
    circle at 30% 25%,
    #a1a087,
    #434739 55%,
    #141710 90%
  );
  border: 1px solid #11160c;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #0004;
  pointer-events: none;
}
.screw:after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 2px;
  height: 1px;
  background: #161a11;
  transform: rotate(33deg);
}
.screw--tl {
  top: 9px;
  left: 10px;
}
.screw--tr {
  top: 9px;
  right: 10px;
}
.screw--bl {
  bottom: 10px;
  left: 12px;
}
.screw--br {
  bottom: 10px;
  right: 12px;
}
.control-deck {
  position: relative;
  min-height: 107px;
  margin: 0 5px;
  padding: 9px 36px 13px;
  border-top: 2px solid #676246;
  border-bottom: 5px solid #10130b;
  background: linear-gradient(
    177deg,
    #454b32,
    #323a27 17%,
    #252c1d 75%,
    #1e2418
  );
  box-shadow:
    inset 0 2px 0 #b7bb7e22,
    0 2px 0 #080b06;
  transform: perspective(800px) rotateX(3deg);
  transform-origin: top;
  border-radius: 0 0 4px 4px;
}
.deck-instruction {
  display: flex;
  justify-content: space-between;
  font: 5px var(--mono);
  letter-spacing: 0.12em;
  color: #c5bc90;
  margin-bottom: 7px;
}
.deck-model {
  color: #999e78;
}
.physical-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.deck-label {
  display: block;
  font: 700 7px var(--mono);
  letter-spacing: 0.08em;
  color: #dcd1a8;
  white-space: nowrap;
}
.key-note {
  font-weight: 400;
  font-size: 5px;
  color: #aeb28d;
  margin-left: 6px;
}
.movement-control {
  position: relative;
  min-width: 160px;
}
.movement-control > .deck-label {
  margin-bottom: 4px;
  text-align: center;
}
.movement-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 47px;
  gap: 8px;
}
.direction-button {
  height: 34px;
  width: 35px;
  border: 1px solid #11170c;
  border-radius: 5px;
  background: linear-gradient(140deg, #727958, #4e573a);
  color: #e7e3be;
  box-shadow:
    0 4px 0 #151b10,
    inset 0 1px 1px #d6d6a44d;
  cursor: pointer;
  font-size: 12px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.direction-button:active,
.direction-button.is-held {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #151b10;
  background: #6f7850;
}
.joystick {
  position: relative;
  display: block;
  width: 56px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 45% 50%,
    #0b1008 20%,
    #60664a 22%,
    #313c25 40%,
    #0e150a 43%,
    #62684a 45%,
    #272e1e 70%
  );
  box-shadow: 0 2px 3px #0008;
  align-self: end;
  margin-bottom: 1px;
}
.joystick:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 27px;
  left: 24px;
  bottom: 13px;
  background: linear-gradient(90deg, #808477, #f1f0ce 40%, #525e48 80%);
  transform: rotate(-12deg);
  transform-origin: bottom;
}
.joystick i {
  position: absolute;
  left: 9px;
  bottom: 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 25%,
    #fa8d62,
    #c14622 35%,
    #7a2913 75%
  );
  box-shadow:
    2px 5px 6px #0007,
    inset -2px -2px 4px #441e09;
}
.action-controls {
  display: flex;
  align-items: start;
  gap: 27px;
}
.round-control {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
}
.arcade-button {
  width: 49px;
  height: 45px;
  border-radius: 50%;
  border: 4px solid #171a0e;
  cursor: pointer;
  position: relative;
  box-shadow:
    0 5px 0 #0b0e06,
    0 6px 5px #0008,
    inset 0 2px 1px #ffe5c270;
  font: 22px Arial;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  margin-bottom: 9px;
  transition: transform 0.06s;
}
.fire-button {
  background: radial-gradient(
    ellipse at 40% 25%,
    #f47543,
    #d24a22 60%,
    #8b3113
  );
  color: #ffe4b5;
  text-shadow: 0 1px 3px #7d200b;
}
.arcade-button:active,
.arcade-button.is-held {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 #0b0e06,
    0 2px 3px #0008,
    inset 0 1px 4px #0006;
}
.burst-button {
  background: radial-gradient(
    ellipse at 40% 25%,
    #c4ba81,
    #9d945b 60%,
    #665f37
  );
  color: #393a21;
}
.burst-button:disabled {
  filter: brightness(0.7);
  cursor: default;
}
.burst-button.is-ready {
  background: radial-gradient(
    ellipse at 35% 25%,
    #fff2b9,
    #dcc071 60%,
    #b78a32
  );
  box-shadow:
    0 5px 0 #0b0e06,
    0 0 18px #e6bf5e55,
    inset 0 2px 1px #fff9c9;
}
.burst-track {
  position: absolute;
  right: -12px;
  top: 5px;
  width: 4px;
  height: 35px;
  background: #171c10;
  display: flex;
  align-items: end;
  border: 1px solid #74764c;
  border-radius: 2px;
  overflow: hidden;
}
.burst-track > span {
  display: block;
  min-height: 1px;
  background: #e3bd6f;
  width: 100% !important;
  transition: height 0.15s;
}
#burst-label {
  font: 4px var(--mono);
  letter-spacing: 0.01em;
  color: #b7b990;
  position: absolute;
  top: 74px;
  white-space: nowrap;
}
.utility-controls {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: end;
  min-width: 85px;
}
.utility-button {
  font: 6px var(--mono);
  letter-spacing: 0.05em;
  padding: 4px 7px;
  border: 1px solid #626c43;
  border-radius: 2px;
  background: linear-gradient(#373f29, #252e1d);
  box-shadow: 0 2px 0 #131c0c;
  cursor: pointer;
  color: #d1cda8;
  white-space: nowrap;
  min-width: 78px;
  text-align: left;
}
.utility-button:hover {
  border-color: #c4b980;
  color: #fff0bf;
}
.utility-button:disabled {
  opacity: 0.4;
  cursor: default;
}
.cabinet-plinth {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 29px;
  background: linear-gradient(#1a1e13, #12160d);
  font: 5px var(--mono);
  letter-spacing: 0.15em;
  color: #908b64;
  border-radius: 0 0 3px 3px;
  margin: 0 7px 5px;
  border-top: 1px solid #43482e;
}
.cabinet-plinth > span:first-child {
  color: #c7a06b;
}
.room-caption {
  font: 5px var(--mono);
  letter-spacing: 0.18em;
  color: #78715b;
  text-align: center;
  margin: 11px 0 0;
}
.room-caption span {
  margin-left: 16px;
  color: #5a5945;
}
button:focus-visible,
canvas:focus-visible {
  outline: 2px solid #efd591;
  outline-offset: 4px;
}
button {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
button[hidden] {
  display: none;
}
.screen-overlay {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 25px 7%;
  text-align: left;
  background:
    linear-gradient(90deg, #10110999, #1011091f 67%, transparent),
    url("assets/art/outlands.webp") center/cover;
}
.screen-overlay.is-hidden {
  display: none;
}
.eyebrow {
  font: 7px/1.6 var(--mono);
  letter-spacing: 0.12em;
  color: #ead1a6;
  margin: 0 0 15px;
}
.screen-overlay h2 {
  font: 800 clamp(58px, 7vw, 105px)/0.82 var(--display);
  letter-spacing: -0.025em;
  transform: none;
  text-shadow: 0 3px 18px #231a0d50;
  margin: 0 0 23px;
  color: #f5e1b7;
}
.screen-overlay h2 em {
  display: inline-block;
  font-size: 0.56em;
  letter-spacing: 0.09em;
  font-style: normal;
  color: #f5e1b7;
}
.screen-overlay #overlay-copy {
  font:
    12px/1.7 "DM Sans",
    sans-serif;
  max-width: 290px;
  color: #f0dfc2;
  text-shadow: 0 1px 9px #21160b;
  margin: 0 0 20px;
}
.primary-button {
  min-width: 210px;
  padding: 15px 20px;
  background: #d95529;
  color: #fff1d3;
  border: 1px solid #ed8152;
  font: 700 9px var(--mono);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  box-shadow: 3px 3px 0 #21180650;
  cursor: pointer;
}
.primary-button:hover {
  background: #ee7140;
}
.primary-button:disabled {
  opacity: 0.55;
  cursor: default;
}
.primary-button b {
  font-size: 17px;
  line-height: 1;
}
.text-button {
  margin-top: 11px;
  border: 0;
  background: none;
  color: #f0dfc2;
  text-decoration: underline;
  font: 9px var(--mono);
  padding: 6px 0;
  cursor: pointer;
}
.overlay-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 23px;
  color: #e4d3b5;
  font: 6px var(--mono);
}
.overlay-controls > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
kbd {
  font: 8px var(--mono);
  border: 1px solid #a5947055;
  padding: 2px 4px;
  min-width: 18px;
  display: inline-flex;
  justify-content: center;
  color: #f4e7ce;
  box-shadow: 0 2px 0 #0004;
}
.touch-intro {
  display: none;
  font: 5px var(--mono);
  color: #e5d7ba;
  margin-top: 15px;
}
.wave-toast {
  position: absolute;
  z-index: 4;
  top: 17%;
  left: 50%;
  transform: translate(-50%, -8px);
  background: #d8c198;
  color: #222316;
  border: 1px solid #f3d8ab;
  max-width: 90%;
  padding: 11px 18px;
  font: 700 11px var(--mono);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  white-space: pre-line;
  box-shadow: 4px 4px 0 #0005;
}
.wave-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.combo-callout {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 45%;
  transform: translateX(-50%);
  font: 800 30px var(--display);
  color: var(--sand);
  opacity: 0;
  pointer-events: none;
  text-shadow: 2px 2px 0 #000;
}
.combo-callout.is-visible {
  animation: combo 0.75s ease-out;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cabinet-options {
  color: var(--paper);
  background: linear-gradient(135deg, #24291c, #171b12);
  border: 2px solid #8e784d;
  max-width: 460px;
  width: calc(100% - 36px);
  max-height: 85dvh;
  padding: 24px;
  box-shadow: 0 20px 100px #000;
  border-radius: 4px;
}
.cabinet-options::backdrop {
  background: #080a06d9;
  backdrop-filter: blur(5px);
}
.options-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.options-heading > .eyebrow {
  font-size: 6px;
  margin: 0;
  color: #a5a584;
}
.options-heading > button {
  border: 0;
  background: none;
  color: var(--paper);
  font-size: 24px;
  cursor: pointer;
}
.cabinet-options h2 {
  font: 800 29px var(--display);
  margin: 10px 0 16px;
  letter-spacing: 0.02em;
}
.cabinet-options p {
  font:
    11px/1.8 "DM Sans",
    sans-serif;
  color: #c4c3a9;
  margin: 0 0 13px;
}
.orange {
  color: var(--orange);
}
.transmission-heading {
  display: flex;
  justify-content: space-between;
  font: 7px var(--mono);
  letter-spacing: 0.05em;
  color: #a1a485;
  margin: 20px 0 8px;
}
.wave-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wave-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #444a31;
  padding: 10px;
  font-size: 11px;
  color: #aaa98e;
}
.wave-list li > span:first-child {
  font: 9px var(--mono);
}
.wave-list li > span:nth-child(2) {
  flex: 1;
}
.wave-list small {
  display: block;
  color: #868e72;
  font: 6px/1.6 var(--mono);
  margin-top: 2px;
}
.wave-list .is-current {
  border-left: 2px solid var(--orange);
  padding-left: 8px;
  background: #d95d1810;
  color: var(--paper);
}
.wave-list .is-cleared {
  color: #a9b58d;
}
.option-toggles {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.option-toggles button {
  background: #343d26;
  border: 1px solid #6b7149;
  color: var(--paper);
  font: 7px var(--mono);
  padding: 10px;
  cursor: pointer;
}
.cabinet-options .track-credit {
  font: 6px var(--mono);
  color: #929273;
  margin: 18px 0 0;
  line-height: 1.7;
}
.reduced-fx *,
.reduced-fx *:after {
  animation: none !important;
  transition: none !important;
}
.reduced-fx .screen-wrap:after {
  display: none;
}
.cabinet:fullscreen {
  max-width: none;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0c0e08;
  padding: 10px;
}
.cabinet:fullscreen:before {
  display: none;
}
.cabinet:fullscreen > .marquee,
.cabinet:fullscreen > .monitor-housing,
.cabinet:fullscreen > .control-deck,
.cabinet:fullscreen > .cabinet-plinth {
  width: min(950px, calc((100dvh - 345px) * 1.333333 + 96px));
}
.cabinet:fullscreen .screen-wrap {
  width: 100%;
}
@keyframes combo {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.8);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1.05);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .arcade-room {
    padding-block: 10px;
  }
  .cabinet {
    width: min(100%, 850px, calc((100dvh - 319px) * 1.333333 + 96px));
  }
  .marquee {
    height: 72px;
  }
  .marquee h1 {
    font-size: 32px;
  }
  .marquee-emblem {
    font-size: 36px;
  }
  .marquee-topline {
    font-size: 5px;
  }
  .control-deck {
    min-height: 98px;
    padding-top: 7px;
    padding-bottom: 10px;
  }
  .monitor-label {
    height: 24px;
  }
  .monitor-chin {
    height: 22px;
  }
  .screen-overlay h2 {
    font-size: clamp(48px, 10dvh, 78px);
  }
  .screen-overlay .eyebrow {
    font-size: 6px;
    margin-bottom: 12px;
  }
  .screen-overlay #overlay-copy {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .primary-button {
    padding: 12px 16px;
    font-size: 8px;
  }
  .overlay-controls {
    font-size: 5px;
    margin-top: 17px;
    gap: 9px;
  }
  .room-caption {
    margin-top: 8px;
    font-size: 4px;
  }
}
@media (max-width: 760px) {
  .arcade-room {
    justify-content: center;
    padding: 16px 8px;
    min-height: 100svh;
  }
  .cabinet {
    width: 100%;
    max-width: 600px;
    padding: 0 5px;
    border-radius: 10px;
  }
  .marquee {
    height: 70px;
    margin: 5px 4px 0;
    padding: 10px 20px;
    gap: 10px;
  }
  .marquee-emblem {
    font-size: 30px;
  }
  .marquee-topline {
    font-size: 4px;
    letter-spacing: 0.1em;
  }
  .marquee h1 {
    font-size: clamp(23px, 5.6vw, 34px);
    letter-spacing: 0.02em;
  }
  .marquee-edition {
    font-size: 10px;
  }
  .marquee-edition span {
    font-size: 4px;
  }
  .monitor-housing {
    margin: 0 4px;
    padding: 0 11px;
  }
  .monitor-label {
    height: 25px;
    padding: 0 4px;
    font-size: 4px;
    letter-spacing: 0.02em;
  }
  .monitor-label button {
    font-size: 12px;
  }
  .monitor-label button span {
    display: none;
  }
  .crt-bezel {
    border-width: 5px;
    border-radius: 21px/17px;
  }
  .screen-wrap {
    border-radius: 15px/12px;
  }
  .monitor-chin {
    height: 25px;
    gap: 12px;
    font-size: 4px;
    letter-spacing: 0.08em;
  }
  .speaker {
    width: 42px;
    height: 7px;
  }
  .control-deck {
    margin: 0 2px;
    min-height: 128px;
    padding: 9px 17px 15px;
    transform: none;
  }
  .physical-controls {
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  .deck-instruction {
    font-size: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
  }
  .deck-model {
    display: none;
  }
  .movement-control {
    min-width: 113px;
  }
  .movement-buttons {
    gap: 5px;
  }
  .direction-button {
    width: 35px;
    height: 38px;
    font-size: 10px;
  }
  .joystick {
    width: 35px;
    height: 22px;
  }
  .joystick:before {
    left: 14px;
    height: 22px;
    bottom: 10px;
    width: 6px;
  }
  .joystick i {
    width: 24px;
    height: 24px;
    left: 4px;
    bottom: 24px;
  }
  .deck-label {
    font-size: 6px;
    letter-spacing: 0.03em;
  }
  .key-note {
    display: none;
  }
  .action-controls {
    gap: 20px;
  }
  .arcade-button {
    width: 46px;
    height: 42px;
    font-size: 20px;
    margin-bottom: 9px;
  }
  #burst-label {
    top: 67px;
    font-size: 3px;
    max-width: 80px;
    white-space: normal;
    text-align: center;
  }
  .burst-track {
    height: 30px;
    right: -9px;
  }
  .utility-controls {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    min-width: 100%;
    margin-top: 8px;
    align-items: center;
  }
  .utility-button {
    font-size: 5px;
    min-width: 66px;
    padding: 5px 6px;
  }
  .cabinet-plinth {
    height: 23px;
    padding: 0 13px;
    font-size: 4px;
    letter-spacing: 0.02em;
    margin: 0 4px 3px;
  }
  .cabinet-plinth > span:last-child {
    display: none;
  }
  .room-caption {
    font-size: 4px;
    letter-spacing: 0.08em;
    margin-top: 13px;
  }
  .room-caption span {
    margin-left: 8px;
  }
  .screen-overlay {
    padding: 17px 7%;
    background-position: 60% center;
  }
  .screen-overlay h2 {
    font-size: clamp(47px, 13vw, 75px);
    margin-bottom: 15px;
  }
  .screen-overlay .eyebrow {
    font-size: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
  }
  .screen-overlay #overlay-copy {
    font-size: 9px;
    line-height: 1.5;
    max-width: 190px;
    margin-bottom: 12px;
  }
  .screen-overlay .primary-button {
    min-width: 165px;
    padding: 10px 12px;
    font-size: 7px;
  }
  .primary-button b {
    font-size: 14px;
  }
  .overlay-controls {
    display: none;
  }
  .touch-intro {
    display: block;
    font-size: 4px;
    margin-top: 13px;
  }
  .wave-toast {
    font-size: 8px;
    padding: 9px 12px;
  }
  .combo-callout {
    font-size: 22px;
  }
  .screen-overlay:has(#overlay-secondary:not([hidden])) {
    padding-block: 10px;
  }
  .screen-overlay:has(#overlay-secondary:not([hidden])) h2 {
    font-size: 36px;
    margin-bottom: 9px;
  }
  .screen-overlay:has(#overlay-secondary:not([hidden])) #overlay-copy {
    font-size: 8px;
    line-height: 1.4;
    margin-bottom: 9px;
    max-width: 220px;
  }
  .screen-overlay:has(#overlay-secondary:not([hidden])) .touch-intro {
    display: none;
  }
  .screen-overlay:has(#overlay-secondary:not([hidden])) .text-button {
    margin-top: 5px;
    font-size: 7px;
  }
  .cabinet:fullscreen > .marquee,
  .cabinet:fullscreen > .monitor-housing,
  .cabinet:fullscreen > .control-deck,
  .cabinet:fullscreen > .cabinet-plinth {
    width: 100%;
    max-width: 600px;
  }
}
@media (max-width: 370px) {
  .physical-controls {
    gap: 9px;
  }
  .movement-control {
    min-width: 100px;
  }
  .direction-button {
    width: 31px;
  }
  .action-controls {
    gap: 15px;
  }
  .arcade-button {
    width: 41px;
    height: 39px;
  }
  .control-deck {
    padding-inline: 14px;
  }
  .marquee {
    padding-inline: 15px;
  }
  .marquee-emblem {
    display: none;
  }
  .screen-overlay h2 {
    font-size: 43px;
  }
  .screen-overlay .eyebrow {
    font-size: 3.5px;
  }
  .screen-overlay #overlay-copy {
    font-size: 8px;
    max-width: 175px;
  }
  .screen-overlay .primary-button {
    padding: 9px 11px;
    min-width: 155px;
  }
}
@media (pointer: coarse) {
  .overlay-controls {
    display: none;
  }
  .touch-intro {
    display: block;
  }
  .key-note {
    display: none;
  }
}
.moving-left .joystick i {
  transform: translateX(-5px);
}
.moving-right .joystick i {
  transform: translateX(5px);
}
.moving-left .joystick:before {
  transform: rotate(-24deg);
}
.moving-right .joystick:before {
  transform: rotate(16deg);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
