:root {
  --bg: #101310;
  --surface: #171c17;
  --line: #30372f;
  --text: #ecefe5;
  --muted: #a0aa9b;
  --green: #c0ef83;
  --purple: #ab96ce;
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
button {
  color: inherit;
}
::selection {
  background: var(--green);
  color: var(--bg);
}
.site-header,
.site-footer,
.hero,
.community,
.signal-section,
.closing,
.arcade-shell main,
.arcade-footer,
.profile-panel {
  max-width: 1440px;
  margin: auto;
}
.site-header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.2%;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.wordmark {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -2.5px;
  white-space: nowrap;
}
.wordmark span {
  color: var(--green);
}
.wordmark small {
  font-size: 21px;
  letter-spacing: -1.3px;
  font-weight: 400;
}
.header-note,
.eyebrow,
.section-index,
.quiet-label,
.coming,
.hero-foot,
.coordinate,
.signal-type,
.signal-date,
.section-bar,
.arcade-area,
.art-label,
.game-tags,
.future-note > span,
.board-labels,
.game-hud,
.verified,
.build-note {
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 1.4px;
  line-height: 1.6;
}
.header-note {
  color: #b0b9a9;
  display: flex;
  gap: 12px;
  align-items: center;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px #c0ef831e;
}
.text-link {
  font-size: 12px;
  background: none;
  border: 0;
  padding: 8px 0;
}
.text-link span {
  color: var(--green);
  margin-left: 15px;
}
.text-link:hover,
a:hover {
  color: var(--green);
}
.hero {
  min-height: 688px;
  position: relative;
  overflow: hidden;
  padding: 115px 5.2% 90px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.eyebrow {
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: center;
}
.tiny-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--green);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(46px, 5.9vw, 86px);
  font-weight: 500;
  letter-spacing: -4.7px;
  line-height: 1.06;
}
.hero h1 {
  margin: 36px 0 26px;
}
.hero h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--green);
  letter-spacing: -4px;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 480px;
}
.coming {
  margin-top: 35px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c8d1be;
  font-size: 9px;
  letter-spacing: 1.4px;
}
.coming-separator {
  height: 12px;
  width: 1px;
  background: #465140;
  margin: 0 5px;
}
.hero-foot {
  position: absolute;
  bottom: 28px;
  left: 5.2%;
  right: 5.2%;
  display: flex;
  justify-content: space-between;
  color: #84917c;
  font-size: 8px;
}
.down-arrow {
  color: var(--green);
  font-size: 16px;
  margin-left: 17px;
}
.portal-scene {
  position: absolute;
  width: 540px;
  height: 560px;
  right: 2%;
  top: 25px;
  isolation: isolate;
  opacity: 0.9;
  pointer-events: none;
}
.portal-halo {
  position: absolute;
  inset: 20% -10% 0;
  background: radial-gradient(ellipse at 50% 50%, #6d9c3c1c, transparent 58%);
  filter: blur(35px);
}
.portal {
  position: absolute;
  width: 238px;
  height: 328px;
  left: 175px;
  top: 76px;
  transform: perspective(750px) rotateY(-31deg) rotateZ(10deg);
  border-radius: 125px 125px 8px 8px;
  border: 1px solid #718655;
  background: linear-gradient(115deg, #c3ea961c, transparent 50%);
  box-shadow:
    -5px 6px 0 #0d100c,
    -6px 7px 0 #536143,
    inset 0 0 40px #6584421a;
}
.portal > div {
  position: absolute;
  border-radius: 120px 120px 7px 7px;
  border: 1px solid;
  inset: 9px;
  border-color: #91ae6566;
  box-shadow: inset 2px 2px 8px #aec9780b;
}
.portal > div:nth-child(2) {
  inset: 19px;
  border-color: #b4ce7d70;
}
.portal > div:nth-child(3) {
  inset: 30px;
  border-color: #bdde8b80;
}
.portal > div:nth-child(4) {
  inset: 42px;
  border-color: #c2eaa077;
}
.portal > div:nth-child(5) {
  inset: 54px;
  border-color: #aacc8655;
}
.portal > div:nth-child(6) {
  inset: 67px;
  border-color: #c9f891aa;
  box-shadow: 0 0 14px #b1df8c30;
}
.portal > div:nth-child(7) {
  inset: 80px 80px 70px;
  background: linear-gradient(90deg, #b6ef7940, #050904);
  border: 0;
  box-shadow: -7px 0 18px #aeef6f44;
}
.portal-line {
  position: absolute;
  left: 218px;
  top: 430px;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b8de7980, transparent);
  transform: rotate(-6deg);
  filter: blur(3px);
}
.orbital {
  position: absolute;
  left: 50px;
  top: 160px;
  width: 480px;
  height: 205px;
  border: 1px solid #79925d30;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.orbital-two {
  left: 65px;
  top: 40px;
  width: 420px;
  height: 420px;
  transform: rotate(20deg);
  border: 1px dashed #63765016;
}
.coordinate {
  position: absolute;
  color: #748467;
  font-size: 7px;
  letter-spacing: 2px;
}
.coordinate-one {
  top: 45px;
  left: 235px;
}
.coordinate-two {
  bottom: 90px;
  left: 172px;
}
.floating-grain {
  position: absolute;
  background: var(--green);
  width: 3px;
  height: 3px;
  box-shadow: 0 0 12px #c0ef8355;
}
.grain-one {
  left: 88px;
  top: 270px;
}
.grain-two {
  right: 27px;
  top: 160px;
  background: var(--purple);
}
.mystery {
  position: absolute;
  right: 16.3%;
  bottom: 126px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  z-index: 3;
  border-radius: 50%;
  border: 1px solid #627c3c38;
  background: #182113a6;
  animation: breathe 5s ease-in-out infinite;
}
.mystery-glyph {
  width: 25px;
  height: 25px;
  position: relative;
  display: block;
  transform: rotate(-15deg);
  transition: transform 0.4s;
}
.mystery-glyph i {
  display: block;
  position: absolute;
  width: 14px;
  height: 14px;
  background: #c0ef83;
  transform: rotate(45deg);
  box-shadow: 0 0 20px #b6f37240;
}
.mystery-glyph i:nth-child(2) {
  left: 10px;
  top: 0;
  background: #799c4b;
}
.mystery-glyph i:nth-child(3) {
  left: 5px;
  top: 10px;
  background: #a7c975;
}
.mystery:hover .mystery-glyph,
.mystery:focus-visible .mystery-glyph {
  transform: rotate(75deg);
}
.mystery-hint {
  position: absolute;
  top: 75px;
  white-space: nowrap;
  font-size: 9px;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.3s;
}
.mystery:hover .mystery-hint,
.mystery:focus-visible .mystery-hint {
  opacity: 1;
}
.community {
  border-top: 1px solid var(--line);
  padding: 85px 5.2%;
  display: grid;
  grid-template-columns: 1fr 2.3fr 1fr;
  gap: 30px;
  background: #141813;
}
.section-index {
  color: #87967d;
  font-size: 9px;
}
.community h2 {
  font-size: 32px;
  letter-spacing: -1.2px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 26px;
}
.community h2 span {
  color: #899681;
}
.community-copy p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 490px;
  margin-top: 15px;
}
.margin-note {
  align-self: end;
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: #95a18b;
  padding-bottom: 10px;
}
.asterisk {
  color: var(--purple);
  font-family: Arial, sans-serif;
  font-size: 62px;
  line-height: 1;
}
.signal-section {
  padding: 76px 5.2% 40px;
  border-top: 1px solid var(--line);
}
.signal-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 35px;
  gap: 25px;
}
.signal-heading h2 {
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.35;
  margin-top: 23px;
}
.signal-heading h2 span {
  color: #8d9985;
}
.quiet-label {
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a1af95;
}
.signal-list {
  border-top: 1px solid var(--line);
}
.signal-row {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px 10px;
  border-bottom: 1px solid var(--line);
}
.signal-symbol {
  font-size: 25px;
  color: var(--green);
  width: 36px;
  flex-shrink: 0;
  text-align: center;
}
.signal-symbol.purple {
  color: var(--purple);
}
.signal-type {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #8b9a7f;
}
.signal-row h3 {
  font-weight: 400;
  font-size: 16px;
  margin: 7px 0;
}
.signal-row p {
  font-size: 12px;
  color: #8f9b87;
  line-height: 1.6;
}
.signal-date {
  margin-left: auto;
  align-self: center;
  font-size: 8px;
  color: #87947d;
  flex-shrink: 0;
}
.signal-empty {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 14px;
  color: #89967d;
  font-size: 11px;
}
.signal-dashes {
  font-size: 24px;
  letter-spacing: 3px;
}
.signal-arrow {
  margin-left: auto;
  font-size: 20px;
}
.closing {
  text-align: center;
  padding: 70px 20px 85px;
}
.small-orbit {
  font-size: 28px;
  color: var(--green);
}
.closing p {
  font-size: 26px;
  letter-spacing: -0.5px;
  margin: 20px 0 12px;
}
.closing em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #b5c4a7;
}
.closing > span:last-child {
  font-size: 12px;
  color: #8d9a80;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 35px 5.2%;
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-footer .wordmark {
  font-size: 27px;
}
.site-footer .wordmark small {
  font-size: 16px;
}
.site-footer > span {
  font-size: 10px;
  color: #829076;
}
.site-footer nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 11px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 16px 23px;
  background: var(--green);
  color: #172110;
  border: 1px solid var(--green);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.primary:hover {
  background: #d2f5ab;
}
.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.subtle-button {
  background: none;
  border: 0;
  font-size: 12px;
  color: var(--muted);
  padding: 12px 0;
}
.subtle-button:hover {
  color: var(--green);
}
.full {
  width: 100%;
}
.arcade-area {
  font-size: 11px;
}
.arcade-area span {
  color: #68795a;
  margin: 0 9px;
}
.account-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.arcade-shell main {
  padding: 0 5.2%;
}
.arcade-intro {
  padding: 66px 0 40px;
}
.arcade-intro h1 {
  font-size: 70px;
  margin: 24px 0;
  letter-spacing: -3px;
}
.arcade-intro h1 em {
  font-family: Georgia, serif;
  color: var(--green);
  font-weight: 400;
}
.arcade-intro-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.arcade-intro-bottom p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}
.arcade-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr);
  gap: 48px;
}
.section-bar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 9px;
  color: #a1ad98;
}
.game-card {
  border: 1px solid #36412f;
  background: #171d15;
  border-radius: 5px;
  overflow: hidden;
}
.game-art {
  height: 290px;
  background:
    radial-gradient(ellipse at 75% 10%, #65854144, transparent 65%), #10180f;
  position: relative;
  overflow: hidden;
}
.art-label {
  position: absolute;
  left: 25px;
  top: 23px;
  font-size: 8px;
  color: #b1c39c;
}
.speed-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    110deg,
    transparent 0 55px,
    #99bd6720 56px,
    transparent 57px 110px
  );
  transform: scale(1.5);
}
.art-title {
  position: absolute;
  bottom: 27px;
  left: 26px;
  font-size: 74px;
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 0.85;
  color: #d7e4c4;
  transform: skew(-7deg);
}
.art-title span {
  display: block;
  font-family: "Courier New", monospace;
  font-size: 8px;
  letter-spacing: 5px;
  font-weight: 400;
  line-height: 3;
  padding-left: 4px;
  color: #abbf93;
}
.art-road {
  position: absolute;
  right: 38px;
  top: -90px;
  height: 500px;
  width: 230px;
  transform: rotate(22deg);
  border-left: 1px solid #8faf5c55;
  border-right: 1px solid #8faf5c55;
  display: flex;
  justify-content: space-around;
  background: linear-gradient(90deg, #68833d15, transparent);
}
.art-road i {
  width: 1px;
  background: #789c4330;
}
.art-player {
  position: absolute;
  right: 108px;
  bottom: 50px;
  width: 24px;
  height: 24px;
  background: #c4f68a;
  transform: rotate(22deg);
  box-shadow: 0 0 30px #c4f68a66;
}
.art-player:after {
  content: "";
  position: absolute;
  width: 20px;
  left: 2px;
  height: 100px;
  top: 24px;
  background: linear-gradient(#b0d87566, transparent);
}
.art-block {
  position: absolute;
  width: 58px;
  height: 16px;
  background: linear-gradient(#bfa6df, #776191);
  transform: rotate(22deg);
  box-shadow: 0 4px 15px #0005;
}
.b1 {
  right: 164px;
  top: 90px;
}
.b2 {
  right: 55px;
  top: 150px;
}
.b3 {
  right: 95px;
  top: 25px;
}
.art-corner {
  position: absolute;
  right: 23px;
  bottom: 23px;
  font-size: 29px;
  color: #b5d487;
}
.game-card-body {
  padding: 27px;
  display: flex;
  align-items: end;
  gap: 20px;
  justify-content: space-between;
}
.game-card-body .eyebrow {
  font-size: 7px;
  letter-spacing: 1.3px;
}
.game-card-body h2 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.7px;
  margin: 12px 0;
}
.game-card-body p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.game-card-body .primary {
  white-space: nowrap;
  padding: 14px 20px;
  gap: 13px;
  font-size: 12px;
}
.game-tags {
  display: flex;
  gap: 15px;
  font-size: 8px;
  letter-spacing: 0.3px;
  color: #9eae8f;
  margin-top: 23px;
}
.game-tags span:before {
  content: "·";
  margin-right: 6px;
  color: var(--green);
}
.guest-note {
  display: flex;
  gap: 17px;
  padding: 24px 3px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.guest-note > span {
  font-size: 23px;
  color: var(--green);
}
.guest-note button {
  border: 0;
  background: none;
  color: #d5e4c8;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.future-note {
  border-top: 1px solid var(--line);
  padding: 30px 3px;
  position: relative;
}
.future-note > span {
  font-size: 8px;
  color: #8e9c83;
}
.future-note p {
  font-size: 13px;
  color: #a0ae95;
  line-height: 1.8;
  margin-top: 13px;
}
.future-note .mini-asterisk {
  position: absolute;
  right: 25px;
  bottom: 33px;
  font-family: Arial;
  font-size: 43px;
  color: var(--purple);
}
.leaderboard {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.board-heading .eyebrow {
  font-size: 8px;
}
.board-heading h2 {
  font-size: 33px;
  font-weight: 400;
  letter-spacing: -1px;
  display: flex;
  justify-content: space-between;
  margin: 16px 0 9px;
}
.board-heading h2 span {
  color: var(--green);
}
.board-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 25px;
}
.segmented {
  display: flex;
  gap: 3px;
  background: #191f16;
  border: 1px solid #2b3525;
  padding: 4px;
  border-radius: 4px;
}
.segmented button {
  border: 0;
  background: none;
  color: #93a086;
  padding: 10px 8px;
  font-size: 11px;
  flex: 1;
  border-radius: 2px;
}
.segmented .selected {
  background: #35402c;
  color: #e4ecd9;
}
.board-filters {
  display: flex;
  gap: 12px;
  padding: 17px 0;
}
.board-filters label {
  flex: 1;
  font-size: 9px;
  color: #a8b399;
}
.board-filters select {
  width: 100%;
  margin-top: 7px;
  font-size: 10px;
  padding: 8px;
  background: #131810;
  border: 1px solid #303b27;
  color: #b9c5ab;
  border-radius: 2px;
}
.board-empty {
  padding: 42px 10px;
  text-align: center;
  color: #92a083;
  font-size: 12px;
  line-height: 1.8;
  min-height: 220px;
}
.board-empty > span {
  font-size: 38px;
  color: #91ae6b;
}
.board-empty h3 {
  font-size: 19px;
  color: #cbd9be;
  font-weight: 400;
  margin: 13px 0 7px;
}
.board-note {
  font-size: 10px;
  line-height: 1.7;
  color: #87957a;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.board-labels,
.board-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #283122;
}
.board-labels {
  font-size: 8px;
  color: #93a185;
}
.board-row {
  font-size: 13px;
}
.board-row b {
  font-family: monospace;
  font-weight: 400;
  font-size: 11px;
  color: #8e9c7e;
  margin-right: 20px;
}
.board-row strong {
  color: var(--green);
  font-family: monospace;
}
.arcade-signal {
  margin: 35px 0 55px;
}
.arcade-signal .signal-list {
  border-top: 0;
}
.arcade-footer {
  padding: 30px 5.2%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #a1af94;
}
.arcade-footer > span {
  color: #7d8a71;
}
dialog {
  background: #191f17;
  border: 1px solid #45553a;
  border-radius: 7px;
  color: var(--text);
  width: 500px;
  max-width: calc(100vw - 30px);
  padding: 38px;
  box-shadow: 0 30px 120px #0008;
  max-height: 90vh;
  overflow-y: auto;
}
dialog::backdrop {
  background: #080c09c9;
  backdrop-filter: blur(8px);
}
.dialog-close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 26px;
  border: 0;
  background: none;
  color: var(--muted);
}
dialog h2 {
  font-size: 33px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -1.3px;
  margin: 22px 0 17px;
}
dialog p {
  font-size: 13px;
  color: #a8b49c;
  line-height: 1.8;
  margin-bottom: 22px;
}
dialog .eyebrow {
  font-size: 8px;
}
dialog .segmented {
  margin-bottom: 22px;
}
dialog label {
  display: block;
  font-size: 12px;
  color: #cbd8bd;
  margin-top: 18px;
}
dialog input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  background: #10160d;
  border: 1px solid #3a4930;
  border-radius: 3px;
  padding: 13px;
  color: var(--text);
  margin-top: 8px;
  font-size: 13px;
}
dialog small {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: #91a282;
  margin-top: 9px;
}
.email-note {
  padding: 15px;
  border: 1px solid #34422a;
  font-size: 11px;
  line-height: 1.7;
  color: #a0b18e;
  margin: 22px 0;
}
.form-error {
  color: #efb7b1 !important;
  font-size: 12px !important;
}
.account-dialog > .subtle-button {
  display: block;
  margin: 12px auto 0;
}
.recovery-code {
  display: block;
  font-size: 15px;
  word-break: break-all;
  padding: 18px;
  background: #0f160b;
  color: var(--green);
  border: 1px solid #3a4b2b;
  margin-bottom: 20px;
  user-select: all;
}
.check-label {
  display: flex !important;
  gap: 10px;
  align-items: start;
  line-height: 1.6;
  margin-bottom: 25px;
}
.check-label input {
  accent-color: var(--green);
}
.service-message {
  padding: 15px 5.2%;
  font-size: 12px;
  background: #38291f;
  color: #e4c4a8;
}
.service-message button {
  background: none;
  border: 0;
  float: right;
}
.profile-panel {
  padding: 30px 5.2%;
  background: #1c2417;
}
.profile-panel > .subtle-button {
  float: right;
}
.profile-panel h2 {
  margin: 12px 0;
}
.profile-panel p {
  font-size: 14px;
  margin: 10px 0;
}
.profile-panel .small-copy {
  font-size: 11px;
  color: var(--muted);
}
.game-room {
  padding: 26px 0 50px;
}
.game-room-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
}
.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(240px, 1fr);
  gap: 55px;
  padding-top: 32px;
}
.game-stage {
  position: relative;
  border: 1px solid #3b4b31;
  border-radius: 5px;
  overflow: hidden;
  background: #0b110b;
}
.game-stage canvas {
  width: 100%;
  height: 520px;
  display: block;
}
.game-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 25px;
  border-bottom: 1px solid #2a3924;
  font-size: 9px;
  color: #97ab85;
  height: 66px;
}
.game-hud strong {
  font-size: 28px;
  color: var(--green);
  letter-spacing: 3px;
}
.game-shade {
  position: absolute;
  inset: 66px 0 67px;
  background: #0b130bdd;
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 25px;
}
.game-overlay {
  text-align: center;
  max-width: 360px;
}
.game-overlay .eyebrow {
  justify-content: center;
  font-size: 9px;
}
.game-overlay h2 {
  font-size: 70px;
  letter-spacing: -4px;
  font-weight: 400;
  margin: 17px 0;
  font-family: Georgia, serif;
  color: var(--green);
}
.game-overlay p {
  font-size: 13px;
  line-height: 1.8;
  color: #b0c2a0;
  margin-bottom: 23px;
}
.game-overlay .primary {
  min-width: 180px;
}
.game-overlay .subtle-button,
.game-overlay .secondary {
  display: block;
  margin: 13px auto 0;
}
.verified {
  display: block;
  color: var(--green);
  font-size: 9px;
  margin-top: 18px;
}
.game-options {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}
.game-options label {
  font-size: 10px;
  text-align: left;
  color: var(--muted);
  width: 50%;
}
.game-options select {
  display: block;
  width: 100%;
  padding: 10px 6px;
  margin-top: 6px;
  background: #1a2814;
  color: #c9d9bc;
  border: 1px solid #405634;
  font-size: 11px;
}
.touch-controls {
  display: flex;
  height: 67px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #283c1f;
  padding: 0 15px;
  touch-action: none;
}
.touch-controls button {
  background: #1a2913;
  color: var(--green);
  border: 1px solid #3a532a;
  border-radius: 3px;
  padding: 8px 25px;
  font-size: 22px;
  touch-action: none;
}
.touch-controls > span {
  font-family: monospace;
  font-size: 10px;
  color: #7e956c;
}
.game-guide {
  padding: 20px 0;
}
.game-guide h3 {
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 24px 0;
}
.game-guide > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}
.guide-rule {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 12px;
  line-height: 1.7;
  color: #a8b59c;
}
.guide-rule:first-of-type {
  margin-top: 25px;
}
.guide-rule > span {
  color: var(--green);
  font: 10px monospace;
  padding-top: 4px;
}
.game-guide .small-copy {
  font-size: 11px;
  margin: 17px 0;
}
.build-note {
  font-size: 8px;
  color: #718565;
}
.obs-page {
  position: fixed;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: end;
  padding: 20px;
}
body:has(.obs-page),
html:has(.obs-page) {
  background: transparent;
}
.obs-ticker {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 18px 25px;
  background: #101710e8;
  border: 1px solid #4f683c;
  border-radius: 5px;
  font-size: 18px;
}
.obs-ticker strong {
  font-size: 17px;
  letter-spacing: 1px;
}
.obs-ticker strong span {
  color: var(--green);
  margin-left: 12px;
}
.obs-ticker > span:last-child {
  color: #b4c4a5;
  font-size: 15px;
}
@keyframes breathe {
  0%,
  100% {
    box-shadow: 0 0 0 0 #9cd85900;
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 24px 2px #9cd85912;
    transform: translateY(-5px);
  }
}
@media (min-width: 1500px) {
  .landing,
  .arcade-shell {
    border-left: 1px solid #252c22;
    border-right: 1px solid #252c22;
    max-width: 1440px;
    margin: auto;
  }
}
@media (max-width: 1050px) {
  .hero h1 {
    font-size: 64px;
  }
  .portal-scene {
    right: -110px;
    opacity: 0.65;
  }
  .mystery {
    right: 13%;
  }
  .community {
    grid-template-columns: 1fr 3fr;
  }
  .margin-note {
    display: none;
  }
  .arcade-grid {
    gap: 28px;
  }
  .game-card-body {
    flex-direction: column;
    align-items: stretch;
  }
  .game-card-body .primary {
    width: 100%;
  }
  .game-layout {
    gap: 28px;
  }
  .game-guide h3 {
    font-size: 36px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 85px;
    padding: 0 6%;
    gap: 12px;
  }
  .header-note {
    display: none;
  }
  .wordmark {
    font-size: 31px;
  }
  .text-link {
    font-size: 11px;
  }
  .hero {
    padding: 62px 6% 90px;
    min-height: 900px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
  .hero h1 {
    font-size: clamp(43px, 9vw, 65px);
    letter-spacing: -2.8px;
    margin: 28px 0 22px;
  }
  .hero h1 em {
    letter-spacing: -2.4px;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 360px;
    line-height: 1.8;
  }
  .desktop-break {
    display: none;
  }
  .coming {
    font-size: 8px;
    margin-top: 26px;
    gap: 10px;
  }
  .portal-scene {
    width: 500px;
    right: calc(50% - 215px);
    top: 385px;
    height: 430px;
    transform: scale(0.87);
    transform-origin: top center;
    opacity: 0.85;
  }
  .portal-scene .coordinate-two {
    bottom: -10px;
  }
  .mystery {
    right: calc(50% - 35px);
    bottom: 104px;
    width: 58px;
    height: 58px;
  }
  .mystery-hint {
    font-size: 8px;
    opacity: 0.7;
    top: 64px;
  }
  .hero-foot {
    left: 6%;
    right: 6%;
    font-size: 6px;
    letter-spacing: 0.8px;
    gap: 15px;
    bottom: 26px;
  }
  .hero-foot > span:first-child {
    max-width: 160px;
  }
  .hero-foot > span:last-child {
    white-space: nowrap;
  }
  .community {
    padding: 50px 6%;
    display: block;
  }
  .community .section-index {
    margin-bottom: 26px;
  }
  .community h2 {
    font-size: 27px;
    letter-spacing: -0.9px;
  }
  .community-copy p {
    font-size: 13px;
  }
  .signal-section {
    padding: 50px 6% 20px;
  }
  .signal-heading {
    display: block;
  }
  .signal-heading h2 {
    font-size: 26px;
  }
  .signal-heading .quiet-label {
    margin-top: 25px;
    font-size: 7px;
  }
  .signal-row {
    gap: 13px;
    padding: 22px 0;
  }
  .signal-symbol {
    width: 26px;
    font-size: 22px;
  }
  .signal-row h3 {
    font-size: 14px;
    line-height: 1.5;
  }
  .signal-row p {
    font-size: 11px;
  }
  .signal-date {
    font-size: 6px;
    align-self: start;
    padding-top: 5px;
  }
  .signal-type {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .signal-empty {
    padding: 22px 0;
    gap: 17px;
    font-size: 10px;
    line-height: 1.7;
  }
  .closing {
    padding: 47px 20px 60px;
  }
  .closing p {
    font-size: 22px;
  }
  .closing > span:last-child {
    font-size: 11px;
  }
  .site-footer {
    padding: 30px 6%;
    flex-wrap: wrap;
    gap: 20px;
  }
  .site-footer > span {
    margin-left: auto;
    font-size: 8px;
  }
  .site-footer nav {
    margin-left: 0;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 23px;
    gap: 10px;
    font-size: 10px;
  }
  .arcade-area {
    display: none;
  }
  .account-nav {
    gap: 15px;
  }
  .account-nav .subtle-button {
    font-size: 10px;
  }
  .arcade-shell main {
    padding: 0 6%;
  }
  .arcade-intro {
    padding: 42px 0 30px;
  }
  .arcade-intro .eyebrow {
    font-size: 8px;
  }
  .arcade-intro h1 {
    font-size: 49px;
    letter-spacing: -2px;
  }
  .arcade-intro-bottom {
    display: block;
  }
  .arcade-intro-bottom p {
    font-size: 13px;
  }
  .arcade-intro-bottom .quiet-label {
    font-size: 7px;
    margin-top: 23px;
  }
  .arcade-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .game-art {
    height: 260px;
  }
  .art-title {
    font-size: 64px;
  }
  .art-road {
    right: 10px;
  }
  .art-player {
    right: 80px;
  }
  .b1 {
    right: 126px;
  }
  .b2 {
    right: 25px;
  }
  .b3 {
    right: 67px;
  }
  .game-card-body {
    padding: 23px;
  }
  .game-card-body h2 {
    font-size: 25px;
  }
  .game-tags {
    margin-top: 17px;
  }
  .guest-note {
    font-size: 11px;
  }
  .leaderboard {
    padding-top: 26px;
  }
  .board-empty {
    min-height: 180px;
    padding: 25px 0;
  }
  .arcade-footer {
    padding: 25px 6%;
    font-size: 10px;
  }
  .arcade-footer > span {
    display: none;
  }
  .arcade-signal {
    margin: 20px 0 35px;
  }
  .section-bar {
    font-size: 8px;
    gap: 15px;
  }
  .game-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 22px;
  }
  .game-stage canvas {
    height: 430px;
  }
  .game-guide {
    padding: 15px 0;
  }
  .game-guide h3 {
    font-size: 32px;
  }
  .game-guide h3 br {
    display: none;
  }
  .game-room-top > .eyebrow {
    font-size: 8px;
  }
  .game-room-top .subtle-button {
    font-size: 10px;
  }
  .game-hud {
    padding: 15px;
    font-size: 7px;
  }
  .game-hud strong {
    font-size: 24px;
  }
  .game-shade {
    padding: 20px;
  }
  .game-overlay h2 {
    font-size: 60px;
  }
  .game-overlay p {
    font-size: 12px;
  }
  .game-overlay .eyebrow {
    font-size: 8px;
  }
  .game-options {
    margin: 14px 0;
  }
  .touch-controls > span {
    font-size: 8px;
  }
  .touch-controls button {
    padding: 8px 22px;
  }
  dialog {
    padding: 30px 24px;
  }
  dialog h2 {
    font-size: 30px;
  }
  .obs-ticker {
    gap: 15px;
    font-size: 13px;
  }
  .obs-ticker > span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* Arcade title screen: presentation only; games and identity remain independent. */
.cabinet-lobby {
  padding: 28px 0 48px;
  max-width: 1110px;
  margin: auto;
}
.cabinet-above {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font:
    10px "Courier New",
    monospace;
  letter-spacing: 1.4px;
  color: #8b9586;
}
.crt-cabinet {
  position: relative;
  padding: 22px 24px 0;
  background: linear-gradient(
    145deg,
    #34343b 0%,
    #1c1d23 12%,
    #101115 60%,
    #26262d 100%
  );
  border: 1px solid #45444e;
  border-radius: 20px 20px 32px 32px;
  box-shadow:
    0 16px 50px #0007,
    inset 0 2px 2px #77777b42,
    inset 3px 0 6px #ffffff0a;
}
.crt-bezel {
  position: absolute;
  inset: 11px;
  pointer-events: none;
}
.crt-bezel span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #090a0b;
  box-shadow: 0 1px 1px #aaa5;
}
.crt-bezel span:nth-child(1) {
  top: 0;
  left: 0;
}
.crt-bezel span:nth-child(2) {
  top: 0;
  right: 0;
}
.crt-bezel span:nth-child(3) {
  bottom: 15px;
  left: 0;
}
.crt-bezel span:nth-child(4) {
  bottom: 15px;
  right: 0;
}
.crt-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 8px solid #060708;
  border-radius: 48px / 32px;
  background: radial-gradient(
    ellipse at 50% 34%,
    #1c2142 0%,
    #11142a 42%,
    #060c16 86%
  );
  box-shadow:
    0 0 0 2px #41404a,
    inset 0 0 70px 20px #000b;
  min-height: 590px;
  color: #faf2bd;
  font-family: "Courier New", monospace;
}
.crt-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, #0000 0 2px, #0003 2px 3px);
  border-radius: inherit;
  box-shadow: inset 0 0 50px 12px #0008;
  opacity: 0.65;
}
.crt-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    #ccd8ff0b,
    transparent 28%,
    transparent 78%,
    #b7ccff04
  );
}
.crt-status {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  font-size: 11px;
  letter-spacing: 1.8px;
  color: #a49fdb;
}
.crt-status > span:first-child {
  color: #f3c577;
}
.crt-status b {
  font-weight: 400;
  color: #b9f37a;
  margin-left: 12px;
}
.crt-sound {
  color: #9adedd;
  background: #09121e80;
  border: 1px solid #477481;
  padding: 9px 12px;
  font: inherit;
  letter-spacing: 1px;
  font-size: 10px;
  min-width: 135px;
}
.crt-sound[aria-pressed="true"] {
  color: #c5f383;
  border-color: #82ac57;
}
.crt-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 15px 25px 67px;
}
.crt-kicker {
  font-size: 10px;
  letter-spacing: 3.8px;
  color: #b0a6d9;
  margin: 9px 0 25px;
}
.crt-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0 !important;
  line-height: 1;
}
.crt-title > span:first-child {
  width: min(460px, 80%);
  color: #ffe49a;
  filter: drop-shadow(0 5px 0 #97598b) drop-shadow(0 0 12px #e6b27935);
}
.crt-title > span:last-child {
  width: min(294px, 53%);
  color: #baf685;
  filter: drop-shadow(0 5px 0 #367373) drop-shadow(0 0 16px #a4ef7c44);
}
.crt-title svg {
  display: block;
  width: 100%;
  fill: currentColor;
  shape-rendering: crispEdges;
}
.crt-tagline {
  font-size: 10px;
  letter-spacing: 3.5px;
  color: #8ed0d8;
  margin: 29px 0 31px;
}
.crt-menu {
  width: min(350px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.crt-menu-button {
  position: relative;
  width: 100%;
  text-align: left;
  font-family: "Courier New", monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  min-height: 57px;
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 13px 20px;
  color: #b8afd9;
  border: 1px solid #706492;
  background: #111228d9;
  box-shadow: inset 0 -3px 0 #0007;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.crt-menu-primary {
  color: #d3ff9f;
  border-color: #92c963;
  background: #33462460;
}
.crt-cursor {
  font-size: 12px;
  opacity: 0.3;
  color: #d3ff9f;
}
.crt-menu-primary .crt-cursor {
  opacity: 1;
}
.crt-menu-number {
  margin-left: auto;
  font-size: 10px;
  color: #7f7b9c;
  font-weight: 400;
}
.crt-menu-button:hover,
.crt-menu-button:focus-visible {
  background: #404c3480;
  color: #dcffb4;
  border-color: #b8ed80;
  box-shadow:
    0 0 18px #b5ef8020,
    inset 0 -3px 0 #0007;
}
.crt-menu-button:hover .crt-cursor,
.crt-menu-button:focus-visible .crt-cursor {
  opacity: 1;
}
.crt-prompt {
  font-size: 9px;
  letter-spacing: 2px;
  color: #aa9eb9;
  margin: 25px 0 0;
}
.crt-prompt > span {
  margin-left: 5px;
  color: #c5f18e;
  animation: crt-caret 1.5s steps(2, end) infinite;
}
.crt-stars {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    radial-gradient(circle at 16% 31%, #a4a1d9 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 25%, #d3bb92 0 1px, transparent 1.5px),
    radial-gradient(circle at 9% 69%, #9bb7d4 0 1px, transparent 1.5px),
    radial-gradient(circle at 92% 61%, #d3bb92 0 1px, transparent 1.5px),
    radial-gradient(circle at 28% 54%, #af9bd4 0 1px, transparent 1.5px),
    radial-gradient(circle at 77% 79%, #90d5d9 0 1px, transparent 1.5px);
}
.crt-horizon {
  position: absolute;
  bottom: -74px;
  height: 210px;
  left: -30%;
  right: -30%;
  opacity: 0.22;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 24px,
      #be82d0 25px,
      transparent 26px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 64px,
      #9b75ba 65px,
      transparent 66px
    );
  transform: perspective(170px) rotateX(45deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(transparent, #000 55%);
}
.crt-bottom {
  position: absolute;
  bottom: 23px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #837f9c;
  z-index: 3;
}
.crt-bottom > span:last-child {
  color: #b293c9;
  letter-spacing: 5px;
}
.cabinet-chin {
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #85838c;
  font:
    8px "Courier New",
    monospace;
  letter-spacing: 1.5px;
}
.cabinet-chin > span:first-child {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cabinet-chin i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bbf480;
  box-shadow: 0 0 7px #bbf4808a;
}
.cabinet-brand {
  color: #706e7a;
  font-weight: 700;
  letter-spacing: 2px;
}
.cabinet-vents {
  width: 58px;
  height: 13px;
  background: repeating-linear-gradient(
    90deg,
    #08090b 0 3px,
    transparent 3px 7px
  );
  transform: skew(-15deg);
}
.cabinet-account {
  margin: 30px auto 0;
  padding: 29px 0 0;
  border-top: 1px solid #32362f;
  display: flex;
  align-items: center;
  gap: 22px;
}
.account-pixel-icon {
  font: 30px monospace;
  color: #b9ec82;
  flex-shrink: 0;
  background: #1f2a19;
  padding: 10px 14px;
  border: 1px solid #3b4d2d;
}
.cabinet-account .eyebrow {
  font-size: 8px;
  letter-spacing: 1.2px;
}
.cabinet-account h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  font-weight: 400;
  margin: 8px 0 10px;
}
.cabinet-account p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  color: #a1ac98;
  max-width: 590px;
}
.cabinet-account .primary {
  flex-shrink: 0;
  font-size: 11px;
  padding: 15px 19px;
}
.cabinet-signed-in {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 30px 0;
  font: 11px monospace;
  color: #9cad8d;
}
.cabinet-signed-in strong {
  color: #c5ee95;
}
.cabinet-signed-in > span:last-child {
  margin-left: auto;
  color: #97a28f;
}
.crt-soon {
  max-width: 460px;
  margin: 24px auto 0;
  padding: 20px;
  background: #111629ed;
  border: 1px dashed #7a7393;
}
.crt-soon h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.6;
  color: #ffe0a0;
}
.crt-soon p {
  font-size: 11px;
  line-height: 1.9;
  color: #bbb6d1;
  margin: 11px 0;
}
.crt-soon .crt-soon-date {
  font-size: 10px;
  color: #929bb4;
}
.crt-soon button {
  font:
    11px "Courier New",
    monospace;
  border: 0;
  border-bottom: 1px solid #8bc0bd;
  padding: 8px;
  color: #a1e2da;
  background: none;
}
.crt-audio-error {
  color: #f0c0bb;
  font-size: 11px;
  margin-top: 15px;
}
@keyframes crt-caret {
  50% {
    opacity: 0;
  }
}
@media (max-width: 760px) {
  .cabinet-lobby {
    padding: 20px 0 30px;
  }
  .cabinet-above {
    font-size: 8px;
    letter-spacing: 0.6px;
    gap: 12px;
    margin-bottom: 17px;
  }
  .crt-cabinet {
    padding: 11px 10px 0;
    border-radius: 13px 13px 20px 20px;
  }
  .crt-screen {
    border-width: 5px;
    border-radius: 26px / 20px;
    min-height: 530px;
  }
  .crt-status {
    padding: 17px 14px;
    gap: 9px;
    flex-wrap: wrap;
    font-size: 9px;
    letter-spacing: 0.7px;
  }
  .crt-status > span:nth-child(2) {
    display: none;
  }
  .crt-status b {
    margin-left: 5px;
  }
  .crt-sound {
    font-size: 8px;
    padding: 10px 8px;
    min-width: 112px;
  }
  .crt-content {
    padding: 20px 16px 65px;
  }
  .crt-kicker {
    font-size: 8px;
    letter-spacing: 1.4px;
    margin: 7px 0 28px;
  }
  .crt-title {
    gap: 16px;
  }
  .crt-title > span:first-child {
    width: 100%;
  }
  .crt-title > span:last-child {
    width: 65%;
  }
  .crt-tagline {
    font-size: 8px;
    letter-spacing: 1.2px;
    margin: 29px 0;
  }
  .crt-menu-button {
    font-size: 14px;
    letter-spacing: 1.4px;
    padding: 12px;
    gap: 12px;
    min-height: 55px;
  }
  .crt-menu-number {
    font-size: 8px;
  }
  .crt-prompt {
    font-size: 7px;
    letter-spacing: 1px;
    line-height: 1.8;
    margin-top: 26px;
  }
  .crt-bottom {
    left: 16px;
    right: 16px;
    bottom: 20px;
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .crt-bottom > span:nth-child(2) {
    display: none;
  }
  .cabinet-chin {
    height: 38px;
    padding: 0 6px;
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .cabinet-brand {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .cabinet-vents {
    width: 36px;
    height: 10px;
  }
  .cabinet-account {
    display: grid;
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 25px;
    padding-top: 25px;
  }
  .account-pixel-icon {
    display: none;
  }
  .cabinet-account h2 {
    font-size: 22px;
    line-height: 1.3;
  }
  .cabinet-account p:not(.eyebrow) {
    font-size: 12px;
  }
  .cabinet-account .primary {
    justify-self: start;
    font-size: 12px;
  }
  .cabinet-signed-in {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .cabinet-signed-in > span:last-child {
    width: 100%;
    margin-left: 18px;
  }
  .crt-soon {
    padding: 14px;
    margin-top: 20px;
  }
  .crt-soon h2 {
    font-size: 11px;
  }
  .crt-soon p {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .crt-prompt > span {
    animation: none;
  }
}
/* Expanded monitor: a native modal keeps focus inside the game selector. */
dialog.crt-selection {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-radius: 0;
  transform-origin: top left;
  overflow-x: hidden;
  overflow-y: auto;
  background: radial-gradient(
    ellipse at 63% 28%,
    #202544 0%,
    #10152b 43%,
    #060b16 90%
  );
  color: #e9e6cb;
  box-shadow: inset 0 0 110px #0009;
  font-family: "Courier New", monospace;
  isolation: isolate;
}
.crt-selection::backdrop {
  background: #030710;
  backdrop-filter: none;
  animation: monitor-backdrop 0.75s ease both;
}
.crt-selection:after {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  z-index: 6;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #0002 2px 3px);
  box-shadow: inset 0 0 70px #0008;
  opacity: 0.55;
}
.selection-interface {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 5vw;
}
.crt-arriving .selection-interface {
  animation: monitor-content 1.05s ease both;
}
.selection-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid #6b628c42;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 2px;
}
.selection-top > button:first-child {
  border: 0;
  background: none;
  color: #aca9c2;
  font:
    10px "Courier New",
    monospace;
  letter-spacing: 1px;
  padding: 12px 0;
}
.selection-top small {
  font-size: 8px;
  color: #918baf;
  border: 1px solid #56516e;
  padding: 3px 5px;
  margin-left: 12px;
}
.selection-top > span {
  color: #aaa2c4;
  font-weight: bold;
}
.selection-top b {
  color: #c6ee9b;
  margin-left: 8px;
}
.selection-top .crt-sound {
  font-size: 10px;
  letter-spacing: 1px;
  padding: 11px 12px;
}
.arcade-shell .selection-main {
  padding: 44px 0 36px;
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.selection-heading {
  margin-bottom: 46px;
}
.selection-heading .selection-eyebrow {
  font-size: 9px;
  letter-spacing: 3px;
  color: #98a4ba;
  margin: 0 0 20px;
}
.selection-heading h1 {
  font-family: "Courier New", monospace;
  font-weight: 900;
  font-size: clamp(38px, 5.8vw, 80px);
  letter-spacing: -4px;
  line-height: 1.1;
  color: #ffe4a0;
  text-shadow:
    3px 4px 0 #856087,
    0 0 30px #d4a27720;
  margin: 0 0 19px;
}
.selection-heading h1 span {
  color: #bff289;
  text-shadow:
    3px 4px 0 #326b70,
    0 0 25px #8cf77624;
}
.selection-heading h1 i {
  font-style: normal;
  color: #a7dce1;
  text-shadow: none;
  font-size: 0.65em;
  vertical-align: baseline;
  margin-left: 14px;
  animation: crt-caret 1.5s steps(2, end) infinite;
}
.selection-heading > p:last-child {
  font:
    12px "Courier New",
    monospace;
  color: #a8a5bd;
  line-height: 1.8;
  margin: 0;
}
.selection-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
}
.selection-list-label {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #81749a55;
  padding: 0 0 16px;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #a3a0b8;
}
.game-name-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  text-align: left;
  padding: 27px 22px;
  border: 1px solid #b7dd8677;
  border-left: 4px solid #c3f487;
  background: linear-gradient(90deg, #b4e9821c, #b4e98205);
  color: #d1faa1;
  margin-top: 18px;
  font-family: inherit;
  box-shadow: 0 0 28px #afea6f09;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.game-option-cursor {
  font-size: 14px;
  text-shadow: 0 0 10px #b8f48155;
}
.game-name-option strong {
  display: block;
  font-size: 35px;
  letter-spacing: 3px;
  line-height: 1;
  text-shadow: 2px 2px #3f6b5a;
}
.game-name-option small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #a5be92;
  letter-spacing: 2px;
  margin-top: 11px;
}
.game-option-number {
  margin-left: auto;
  align-self: start;
  font-size: 11px;
  color: #829974;
}
.game-name-option:hover,
.game-name-option:focus-visible {
  background: #b6ea8425;
  box-shadow: 0 0 25px #a7e57915;
}
.game-name-option:focus-visible {
  outline-offset: 5px;
}
.game-name-option.game-placeholder {
  cursor: default;
  border-color: #81749a66;
  background: linear-gradient(90deg, #9d87bb18, #9d87bb04);
  color: #bfb2d0;
  box-shadow: none;
}
.game-placeholder strong {
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 1px;
  text-shadow: 2px 2px #39304a;
}
.game-placeholder small,
.game-placeholder .game-option-number {
  color: #a59ab6;
}
.selection-unrevealed {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: radial-gradient(ellipse at center, #352b4844, #0a0d1b);
  color: #a997bd;
}
.selection-unrevealed > span {
  font-size: 76px;
  font-weight: bold;
  text-shadow: 3px 3px #493b60;
}
.selection-unrevealed small {
  font-size: 9px;
  letter-spacing: 3px;
}
.selection-original {
  position: fixed;
  right: max(8px, env(safe-area-inset-right));
  bottom: max(8px, env(safe-area-inset-bottom));
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #85849a;
  font:
    12px "Courier New",
    monospace;
  transition:
    color 150ms ease,
    text-shadow 150ms ease;
}
.selection-original:hover,
.selection-original:focus-visible,
.selection-original:active {
  color: #c6ed92;
  text-shadow: 0 0 8px #aaf07766;
}
.selection-original:focus-visible {
  outline: 1px dotted #c6ed92;
  outline-offset: -6px;
}
.crt-selection .selection-footer {
  padding-right: 44px;
}
.selection-future {
  padding: 36px 0 32px;
  border-bottom: 1px dashed #635c764d;
}
.selection-future > span {
  color: #726383;
  letter-spacing: 10px;
  font-size: 13px;
}
.selection-future p {
  font:
    10px "Courier New",
    monospace;
  color: #ada0bc;
  letter-spacing: 1.6px;
  margin: 17px 0 10px;
}
.selection-future small {
  font:
    11px "Courier New",
    monospace;
  color: #8f91a7;
  line-height: 1.8;
}
.selection-scores-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 17px;
  padding: 15px 0;
  background: none;
  border: 0;
  font:
    11px "Courier New",
    monospace;
  color: #a5d9db;
  letter-spacing: 1.7px;
}
.selection-scores-link span {
  font-size: 17px;
}
.selection-preview-art {
  position: relative;
  padding: 8px;
  border: 1px solid #6f63863d;
  background: #060b17;
}
.selection-preview .game-art {
  height: 220px;
  background:
    radial-gradient(ellipse at 75% 10%, #526b4144, transparent 65%), #0c160f;
}
.selection-preview .art-title {
  font-size: 65px;
}
.selection-preview .art-road {
  right: 30px;
}
.selection-preview .art-player {
  right: 100px;
  bottom: 50px;
}
.preview-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #c3a0d2;
  border-style: solid;
}
.corner-tl {
  left: -1px;
  top: -1px;
  border-width: 2px 0 0 2px;
}
.corner-br {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}
.selection-game-info {
  padding: 23px 0 0;
}
.selection-game-info > span {
  font-size: 9px;
  letter-spacing: 2px;
  color: #ae96c1;
}
.selection-game-info h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin: 14px 0;
  color: #eee8c9;
}
.selection-game-info p {
  font:
    12px "Courier New",
    monospace;
  color: #a9abc1;
  line-height: 1.8;
  margin: 0 0 19px;
}
.selection-inputs {
  display: flex;
  gap: 20px;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #93ada6;
}
.selection-inputs span:before {
  content: "·";
  color: #c2e79a;
  margin-right: 8px;
}
.selection-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  font:
    700 12px "Courier New",
    monospace;
  letter-spacing: 2px;
  background: #bdeb8d;
  color: #142314;
  border: 1px solid #d0ff9f;
  margin-top: 25px;
  box-shadow: 0 3px 0 #405d43;
}
.selection-start:hover {
  background: #d2faaa;
}
.selection-footer {
  border-top: 1px solid #635c764d;
  padding: 23px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #9796ac;
  font-size: 9px;
  letter-spacing: 1.3px;
}
.selection-footer > span:first-child {
  color: #c2e5a6;
  display: flex;
  gap: 10px;
  align-items: center;
}
.selection-footer i {
  width: 5px;
  height: 5px;
  background: #c6ed92;
  box-shadow: 0 0 7px #aaf07755;
}
.selection-footer b {
  font-size: 15px;
  margin-left: 9px;
  color: #c4dfb4;
}
.selection-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 23%, #ddc6eb 0 1px, transparent 1.5px),
    radial-gradient(circle at 94% 36%, #93aeda 0 1px, transparent 1.5px),
    radial-gradient(circle at 57% 77%, #ccd9a3 0 1px, transparent 1.5px),
    radial-gradient(circle at 47% 12%, #a5a3d9 0 1px, transparent 1.5px);
  opacity: 0.3;
}
.selection-grid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 250px;
  opacity: 0.08;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 34px,
      #aa89c9 35px,
      transparent 36px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 99px,
      #ab8bcd 100px,
      transparent 101px
    );
  mask-image: linear-gradient(transparent, #000);
}
.selection-board {
  max-width: 850px;
  margin: auto;
}
.selection-board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.selection-board-top h2 {
  font:
    700 22px "Courier New",
    monospace;
  color: #d8bcdf;
  letter-spacing: 2px;
  margin: 0;
}
.selection-board-top button {
  font:
    10px "Courier New",
    monospace;
  background: none;
  color: #b9da9d;
  border: 1px solid #5b6d4d;
  padding: 12px;
}
.selection-board .leaderboard {
  margin-top: 25px;
}
.selection-board .board-empty {
  min-height: 160px;
}
.selection-board .signal-list {
  margin: 30px 0 0;
}
.selection-board .board-heading h2 {
  font-family: inherit;
  font-size: 26px;
}
.selection-board .segmented button {
  font-family: inherit;
}
@keyframes monitor-content {
  0%,
  35% {
    opacity: 0;
    filter: blur(6px);
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}
@keyframes monitor-backdrop {
  from {
    background: #03071000;
  }
  to {
    background: #030710;
  }
}
@media (max-width: 760px) {
  .selection-interface {
    padding: 0 6%;
  }
  .selection-top {
    padding: 15px 0;
    gap: 10px;
  }
  .selection-top > span {
    display: none;
  }
  .selection-top > button:first-child {
    font-size: 8px;
    letter-spacing: 0.5px;
    padding: 13px 0;
  }
  .selection-top small {
    display: none;
  }
  .selection-top .crt-sound {
    font-size: 8px;
    min-width: 106px;
    padding: 10px 7px;
  }
  .arcade-shell .selection-main {
    padding: 31px 0 30px;
  }
  .selection-heading {
    margin-bottom: 30px;
  }
  .selection-heading .selection-eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
    margin-bottom: 17px;
  }
  .selection-heading h1 {
    font-size: clamp(29px, 8.4vw, 56px);
    letter-spacing: -1.7px;
    margin-bottom: 16px;
    white-space: nowrap;
    text-shadow: 2px 3px #856087;
  }
  .selection-heading h1 i {
    margin-left: 7px;
  }
  .selection-heading > p:last-child {
    font-size: 10px;
  }
  .selection-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .selection-list-label {
    font-size: 8px;
    letter-spacing: 1px;
    padding-bottom: 13px;
  }
  .game-name-option {
    padding: 22px 17px;
    gap: 16px;
  }
  .game-name-option strong {
    font-size: 32px;
  }
  .game-name-option small {
    font-size: 8px;
  }
  .selection-future {
    padding: 25px 0;
  }
  .selection-future p {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .selection-future small {
    font-size: 10px;
  }
  .selection-scores-link {
    font-size: 10px;
    margin-top: 9px;
    padding: 13px 0;
  }
  .selection-preview .game-art {
    height: 195px;
  }
  .selection-preview .art-title {
    font-size: 54px;
  }
  .selection-preview .art-road {
    right: 0;
  }
  .selection-preview .art-player {
    right: 74px;
  }
  .selection-game-info h2 {
    font-size: 25px;
  }
  .selection-game-info p {
    font-size: 11px;
  }
  .selection-inputs {
    font-size: 8px;
  }
  .selection-footer {
    flex-wrap: wrap;
    font-size: 8px;
    padding: 21px 0;
    line-height: 1.7;
  }
  .selection-footer > span:nth-child(2) {
    display: none;
  }
  .selection-footer > span:last-child {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .selection-board-top h2 {
    font-size: 18px;
  }
  .selection-board-top button {
    font-size: 9px;
  }
  .crt-selection:after {
    box-shadow: inset 0 0 35px #0005;
  }
}
@media (prefers-reduced-motion: reduce) {
  .crt-arriving .selection-interface,
  .crt-selection::backdrop,
  .selection-heading h1 i {
    animation: none !important;
  }
  .game-name-option {
    transition: none;
  }
}
/* Keep the desktop selector within a typical monitor height. */
.selection-top small {
  display: inline;
  margin-top: 0;
}
@media (min-width: 761px) {
  .selection-top {
    padding: 18px 0;
  }
  .arcade-shell .selection-main {
    padding-top: 30px;
    padding-bottom: 24px;
  }
  .selection-heading {
    margin-bottom: 28px;
  }
  .selection-heading h1 {
    font-size: clamp(42px, 5.2vw, 70px);
  }
  .selection-heading .selection-eyebrow {
    margin-bottom: 16px;
  }
  .selection-preview .game-art {
    height: 185px;
  }
  .selection-game-info {
    padding-top: 18px;
  }
  .selection-game-info h2 {
    font-size: 24px;
    margin: 12px 0;
  }
  .selection-game-info p {
    margin-bottom: 15px;
  }
  .selection-start {
    margin-top: 20px;
  }
  .selection-footer {
    padding: 20px 0;
  }
}
@media (max-width: 760px) {
  .selection-top small {
    display: none;
  }
}
/* Move toward the real cabinet, then dissolve into its screen. */
.afterglow-art {
  background:
    radial-gradient(ellipse at 50% 45%, #b6b16a22, transparent 45%),
    repeating-linear-gradient(30deg, transparent 0 32px, #8fd5bb0a 33px 34px),
    #0c1c21;
  color: #f4dc9b;
}
.afterglow-art > span {
  text-shadow: 0 0 40px #eac87788;
}
.afterglow-room {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 28px 70px;
}
.ag-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  font: 11px monospace;
  letter-spacing: 2px;
  color: #c5d8c8;
}
.ag-toolbar i {
  color: #7c938c;
  font-style: normal;
}
.ag-toolbar > div {
  display: flex;
  gap: 8px;
}
.ag-toolbar > div button {
  border: 1px solid #36504b;
  border-radius: 5px;
  padding: 9px;
  font: 10px monospace;
  color: #afc7b9;
  background: #101c1c;
  letter-spacing: 0;
}
.ag-toolbar button[aria-pressed="true"] {
  color: #f5dfaa;
  border-color: #89794c;
}
.ag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
}
.ag-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid #38534c;
  border-radius: 12px;
  background: #0a151b;
  box-shadow: 0 20px 80px #0005;
}
.ag-stage canvas {
  display: block;
  width: 100%;
  height: min(58vw, 560px);
  min-height: 430px;
  touch-action: none;
  outline-offset: -4px;
}
.ag-hud {
  height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 10px 22px;
  background: #0b151be8;
  font-family: monospace;
}
.ag-hud small {
  display: block;
  color: #8db6a6;
  font-size: 9px;
  letter-spacing: 1px;
}
.ag-hud strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: #e5ebd8;
  margin-top: 3px;
}
.ag-hud strong span {
  font-size: 9px;
  color: #8da296;
}
.ag-time {
  margin-left: auto;
  font-size: 20px;
  color: #ecdeb2;
  text-align: right;
}
.ag-time small {
  font-size: 8px;
  margin-top: 4px;
}
.ag-hud button {
  background: #213334;
  border: 1px solid #49635a;
  color: #c3d6bf;
  min-height: 36px;
  min-width: 36px;
  border-radius: 5px;
}
.ag-health {
  position: relative;
  height: 16px;
  background: #392933;
}
.ag-health > span {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, #6e9d80, #b6d5a1);
  transition: width 0.15s linear;
}
.ag-health b {
  position: relative;
  display: block;
  font: 9px monospace;
  color: #12221c;
  text-align: center;
  padding: 2px;
}
.ag-xp {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: 25px;
  padding: 6px 15px;
  font: 10px monospace;
  color: #e0d3f3;
  background: #211f32;
}
.ag-xp > span {
  position: absolute;
  inset: 0 auto 0 0;
  background: #82749a66;
  transition: width 0.1s;
}
.ag-xp b,
.ag-xp small {
  position: relative;
  z-index: 1;
  font-size: 10px;
}
.ag-loadout {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  font: 9px monospace;
  color: #d7d2a3;
  background: #0b161b;
  min-height: 40px;
}
.ag-loadout b {
  margin-left: auto;
  color: #efc988;
}
.ag-shade {
  position: absolute;
  inset: 82px 0 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #060f17b8;
  backdrop-filter: blur(4px);
  padding: 25px;
  overflow-y: auto;
}
.ag-intro {
  text-align: center;
  width: 100%;
  max-width: 600px;
}
.ag-eyebrow {
  font: 9px monospace;
  letter-spacing: 2.5px;
  color: #bdd1a4;
}
.ag-intro h2 {
  font-family: Georgia, serif;
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 400;
  letter-spacing: -3px;
  color: #e7e8d7;
  margin: 20px 0 14px;
  line-height: 1.05;
}
.ag-intro h2 span {
  color: #eccb87;
  font-style: italic;
}
.ag-intro > p {
  color: #afc3bc;
  font-size: 13px;
  line-height: 1.7;
}
.ag-instructions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 30px 0;
  gap: 20px;
}
.ag-instructions > span {
  color: #d9d8a1;
  font-size: 25px;
}
.ag-instructions b {
  display: block;
  font: 10px monospace;
  color: #dfe6d3;
  margin: 9px 0;
}
.ag-instructions > span {
  font-size: 12px;
  line-height: 1.6;
  color: #a6b8b1;
}
.ag-play {
  background: #e2ce98;
  color: #182525;
  border: 1px solid #f6e7bb;
  border-radius: 5px;
  min-height: 48px;
  padding: 12px 30px;
  margin: 10px 0;
  font-weight: 700;
  box-shadow: 0 4px 25px #d5b56816;
}
.ag-play:hover:not(:disabled) {
  background: #f4e1b3;
}
.ag-intro .subtle-button {
  display: block;
  margin: 7px auto;
}
.ag-message {
  font-size: 12px !important;
  color: #dcd19f !important;
}
.ag-result {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin: 20px 0;
}
.ag-result strong {
  font:
    30px Georgia,
    serif;
  color: #efdaa4;
}
.ag-result small {
  display: block;
  font: 9px monospace;
  margin-top: 9px;
  letter-spacing: 2px;
  color: #b4c8bc;
}
.ag-upgrading {
  background: #08131bef;
}
.ag-upgrade-panel {
  width: 100%;
  text-align: center;
}
.ag-upgrade-panel h2 {
  font:
    36px Georgia,
    serif;
  color: #ecdfc6;
  margin: 12px 0;
}
.ag-upgrade-panel > p {
  font-size: 12px;
  color: #a8bbb1;
  margin: 10px 0 25px;
}
.ag-upgrade-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ag-upgrade-cards button {
  text-align: left;
  border: 1px solid #506057;
  background: linear-gradient(155deg, #243533, #111e26);
  border-radius: 9px;
  padding: 20px 16px;
  color: #dfe5d9;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.ag-upgrade-cards button:hover,
.ag-upgrade-cards button:focus-visible {
  border-color: var(--spell-color);
  background: #2b3d38;
}
.ag-upgrade-cards button > span {
  font:
    36px Georgia,
    serif;
  display: block;
  color: var(--spell-color);
  margin-bottom: 20px;
}
.ag-upgrade-cards small {
  display: block;
  font: 8px monospace;
  letter-spacing: 1px;
  color: #9fb4ab;
}
.ag-upgrade-cards strong {
  display: block;
  font:
    22px Georgia,
    serif;
  color: var(--spell-color);
  margin: 8px 0;
}
.ag-upgrade-cards p {
  font-size: 11px;
  line-height: 1.7;
  color: #b7c6bf;
  min-height: 60px;
}
.ag-upgrade-cards b {
  display: block;
  font: 9px monospace;
  margin-top: 18px;
  color: var(--spell-color);
}
.ag-camp {
  padding: 10px 0;
}
.ag-camp h2 {
  font:
    32px/1.2 Georgia,
    serif;
  letter-spacing: -1px;
  color: #dce2d0;
  margin: 18px 0;
}
.ag-camp > p {
  font-size: 12px;
  color: #9eafa6;
  line-height: 1.8;
}
.ag-bank {
  padding: 20px 0;
  margin: 15px 0;
  border-top: 1px solid #2f4139;
  border-bottom: 1px solid #2f4139;
}
.ag-bank > span {
  font: 9px monospace;
  color: #adba99;
  letter-spacing: 2px;
}
.ag-bank strong {
  display: block;
  font:
    32px Georgia,
    serif;
  color: #ead49a;
  margin: 8px 0;
}
.ag-bank small {
  color: #83978d;
  font-size: 11px;
}
.ag-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 10px monospace;
  color: #afc2b4;
}
.ag-field select {
  background: #14211e;
  color: #cfdbce;
  border: 1px solid #3d5145;
  padding: 10px 7px;
  border-radius: 5px;
  width: 100%;
  font: 11px monospace;
}
.ag-camp .ag-mode-note {
  font-size: 11px;
  color: #91a69b;
}
.ag-perks {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.ag-perks button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 14px 12px;
  border: 1px solid #405044;
  border-radius: 6px;
  background: #18261e;
  color: #d7dec8;
}
.ag-perks button:disabled {
  opacity: 0.65;
}
.ag-perks strong {
  font-size: 12px;
  display: block;
}
.ag-perks i {
  color: #94ad8a;
  font: 10px monospace;
  margin-left: 5px;
}
.ag-perks small {
  display: block;
  font-size: 10px;
  color: #94a58e;
  margin-top: 6px;
}
.ag-perks b {
  font: 11px monospace;
  white-space: nowrap;
  color: #e1c889;
}
.ag-settings {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  padding-top: 10px;
}
.ag-footnote {
  border-top: 1px solid #2f4139;
  padding-top: 15px;
  margin-top: 20px;
}
.ag-build {
  display: block;
  margin-top: 14px;
  font: 9px monospace;
  color: #647f70;
}
.ag-stick {
  position: absolute;
  width: 80px;
  height: 80px;
  margin: -40px;
  border: 1px solid #c4dfb966;
  border-radius: 50%;
  background: #a4cab511;
  pointer-events: none;
}
.ag-stick i {
  display: block;
  position: absolute;
  left: 25px;
  top: 25px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d5e7b955;
  border: 1px solid #dcecc088;
}
@media (max-width: 1000px) {
  .ag-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .ag-camp {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
  }
  .ag-stage canvas {
    height: 520px;
  }
}
@media (max-width: 600px) {
  .afterglow-room {
    padding: 10px 10px 45px;
  }
  .ag-toolbar {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
  }
  .ag-toolbar i {
    display: none;
  }
  .ag-toolbar > div {
    width: 100%;
    justify-content: flex-end;
  }
  .ag-stage canvas {
    height: 480px;
    min-height: 480px;
  }
  .ag-hud {
    padding: 10px 12px;
    gap: 10px;
  }
  .ag-hud small {
    font-size: 8px;
  }
  .ag-hud strong {
    font-size: 20px;
  }
  .ag-time {
    font-size: 17px;
  }
  .ag-shade {
    padding: 20px 14px;
  }
  .ag-intro h2 {
    font-size: 48px;
  }
  .ag-instructions {
    gap: 9px;
    margin: 24px 0;
  }
  .ag-instructions > span {
    font-size: 10px;
  }
  .ag-instructions b {
    font-size: 8px;
  }
  .ag-upgrade-panel h2 {
    font-size: 28px;
  }
  .ag-upgrade-panel > p {
    margin-bottom: 16px;
  }
  .ag-upgrade-cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ag-upgrade-cards button {
    padding: 12px 12px 12px 56px;
    position: relative;
  }
  .ag-upgrade-cards button > span {
    position: absolute;
    left: 16px;
    top: 20px;
    font-size: 26px;
    margin: 0;
  }
  .ag-upgrade-cards strong {
    font-size: 19px;
    margin: 4px 0;
  }
  .ag-upgrade-cards p {
    min-height: 0;
    margin: 0;
    font-size: 10px;
  }
  .ag-upgrade-cards b {
    display: none;
  }
  .ag-camp {
    padding: 0 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ag-health > span,
  .ag-xp > span,
  .ag-upgrade-cards button {
    transition: none;
  }
}
.monitor-zoom-shade {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: #050811;
  touch-action: none;
  animation: monitor-surroundings 1100ms ease forwards;
}
.crt-cabinet.monitor-zooming {
  z-index: 901;
  transform-origin: 0 0;
  will-change: transform;
  pointer-events: none;
}
.crt-selection.crt-arriving::backdrop {
  background: transparent;
  animation: none;
}
.crt-arriving .selection-interface {
  animation: none;
}
@keyframes monitor-surroundings {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .monitor-zoom-shade {
    animation: none;
  }
}
.controller-button {
  border: 1px solid #67706e;
  background: #1b2627;
  color: #d5e7dd;
  border-radius: 6px;
  padding: 9px 12px;
  font: 11px monospace;
  cursor: pointer;
}
.controller-cursor {
  position: fixed;
  width: 19px;
  height: 19px;
  border: 2px solid white;
  outline: 2px solid #613da5;
  border-radius: 50%;
  background: #a76fff70;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px #ba8aff30;
}
.controller-dialog {
  position: fixed;
  margin: auto;
  width: min(640px, 94vw);
  max-height: 90dvh;
  overflow: auto;
  background: #152025;
  color: #dce7eb;
  border: 1px solid #81878d;
  border-radius: 16px;
  padding: 28px;
}
.controller-dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(5px);
}
.controller-dialog h2 {
  font-size: 25px;
  margin: 18px 0;
}
.controller-dialog p {
  font-size: 13px;
  line-height: 1.7;
  color: #b5c6d2;
}
.controller-dialog small {
  display: block;
  line-height: 1.6;
  color: #a4b8c4;
}
.controller-dialog button,
.controller-dialog select {
  border: 1px solid #647888;
  background: #263644;
  color: #e5edf3;
  padding: 9px;
  border-radius: 6px;
  font-size: 12px;
  min-height: 40px;
}
.controller-close {
  float: right;
}
.controller-live {
  display: block;
  padding: 13px;
  background: #0e171c;
  font: 11px monospace;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.controller-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.controller-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
}
.controller-fields fieldset {
  padding: 12px;
  border: 1px solid #536574;
}
.controller-fields legend {
  font-size: 11px;
}
.controller-fields fieldset label + label {
  margin-top: 9px;
}
.controller-presets {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.controller-dialog > p:first-of-type {
  clear: both;
}
.controller-dialog *:focus-visible {
  outline: 2px solid #cbaaef;
  outline-offset: 3px;
}
.neonfox-option {
  border-color: #ca8fdf !important;
}
.neonfox-option strong {
  color: #ecc2ff !important;
}
.neonfox-room .ag-stage {
  border: 3px solid #73669c;
  background: #d4dded;
  box-shadow:
    0 14px 0 #201b32,
    0 25px 65px #9a67c41c;
  border-radius: 22px;
}
.neonfox-room .ag-hud {
  background: linear-gradient(110deg, #7664a9, #9887c6);
  height: 78px;
  font-family: system-ui, sans-serif;
}
.neonfox-room .ag-hud strong {
  font-size: 34px;
  font-weight: 950;
  color: #fff;
  text-shadow: 2px 3px 0 #383350;
  letter-spacing: -1px;
}
.neonfox-room .ag-hud small,
.neonfox-room .ag-hud strong span {
  color: #f0eafa;
  letter-spacing: 1px;
}
.neonfox-room .ag-time {
  color: #fff;
  font-weight: 800;
}
.neonfox-room .ag-hud button {
  background: #ead8f5;
  color: #503e78;
  border: 2px solid #524278;
  box-shadow: 0 3px 0 #524278;
  border-radius: 10px;
}
.neonfox-room .ag-health {
  height: 18px;
  background: #74486c;
}
.neonfox-room .ag-health > span {
  background: linear-gradient(90deg, #69d5ba, #a5f2bd);
}
.neonfox-room .ag-health b {
  font-weight: 800;
  color: #274b59;
}
.neonfox-room .ag-stage canvas {
  height: 550px;
  min-height: 420px;
}
.neonfox-room .ag-xp {
  background: #eee8fc;
  color: #49376e;
  height: 32px;
  border-top: 2px solid #8272a2;
  padding: 8px 15px;
}
.neonfox-room .ag-xp > span {
  background: linear-gradient(90deg, #b0d9ff, #c6a6f6);
  border-right: 2px solid #9273c5;
}
.neonfox-room .ag-xp b {
  font: bold 12px system-ui;
}
.neonfox-room .ag-loadout {
  background: #51456a;
  color: #f4e6ff;
}
.neonfox-room .ag-loadout span {
  color: #f4e6ff !important;
}
.neonfox-room .ag-loadout b {
  color: #ffdc96;
}
.neonfox-room .ag-shade {
  inset: 96px 0 72px;
  background: #26263bcd;
  backdrop-filter: blur(2px);
}
.neonfox-room .ag-intro h2 {
  font-family: system-ui, sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 950;
  color: #fff;
  letter-spacing: -4px;
  text-shadow: 3px 4px 0 #544476;
}
.neonfox-room .ag-intro h2 span {
  color: #ffaed8;
  font-style: normal;
}
.neonfox-room .ag-intro p {
  color: #dfd8eb;
}
.neonfox-room .ag-eyebrow {
  color: #d6bbef;
}
.neonfox-room .ag-instructions b {
  color: #f4e3fc;
}
.neonfox-room .ag-instructions > span {
  color: #d5c8e6;
}
.neonfox-room .ag-play {
  background: #e6b7f4;
  border: 2px solid #fbe1ff;
  color: #423554;
  border-radius: 12px;
  box-shadow: 0 5px 0 #715388;
}
.neonfox-room .ag-play:hover:not(:disabled) {
  background: #f1d1fc;
}
.neonfox-room .ag-camp h2 {
  font-family: system-ui;
  font-weight: 850;
  letter-spacing: -1px;
}
.neonfox-room .ag-upgrade-cards button {
  background: #383550;
  border-color: #9980b4;
  border-radius: 14px;
}
.neonfox-room .ag-upgrade-cards button p {
  color: #e0d6ed;
}
.neonfox-room .ag-toolbar > span {
  color: #e6c3ff;
}
@media (max-width: 600px) {
  .controller-fields {
    grid-template-columns: 1fr 1fr;
  }
  .controller-dialog {
    padding: 20px;
  }
  .controller-fields fieldset {
    grid-column: span 2;
    display: flex;
    gap: 16px;
  }
  .controller-fields fieldset label + label {
    margin-top: 0;
  }
  .account-nav .controller-button {
    font-size: 9px;
    max-width: 140px;
  }
  .neonfox-room .ag-stage canvas {
    height: 520px;
    min-height: 0;
  }
  .neonfox-room .ag-hud {
    padding: 10px 14px;
    gap: 10px;
  }
  .neonfox-room .ag-hud strong {
    font-size: 30px;
  }
  .neonfox-room .ag-shade {
    padding: 15px;
  }
  .neonfox-room .ag-instructions {
    gap: 9px;
  }
  .neonfox-room .ag-intro h2 {
    letter-spacing: -2px;
  }
  .neonfox-room .ag-toolbar {
    flex-wrap: wrap;
  }
  .neonfox-room .ag-toolbar > div {
    flex-wrap: wrap;
  }
  .neonfox-room .ag-stage {
    border-width: 2px;
    border-radius: 15px;
  }
}
.neonfox-room .ag-stage {
  display: flex;
  flex-direction: column;
}
.neonfox-room .ag-xp {
  order: -1;
  border-top: 0;
  border-bottom: 2px solid #8272a2;
  flex-shrink: 0;
}
.neonfox-room .ag-shade {
  inset: 128px 0 40px;
}
.neonfox-room:not(.gentle-effects) .ag-hud strong {
  animation: fox-score-pop 180ms ease-out;
}
@keyframes fox-score-pop {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .neonfox-room .ag-hud strong {
    animation: none !important;
  }
}
