@import url("./alerts.css");

@font-face {
  font-family: AliDisplay;
  src: local("Avenir Next");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #11101e;
  --surface: #191725;
  --text: #f6f4ff;
  --muted: #aaa6bc;
  --line: #ffffff12;
  --cyan: #76e8f5;
  --purple: #b2a0ff;
  --font: AliDisplay, "Avenir Next", "Trebuchet MS", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 82% 15%, #28203e60, transparent 42%), var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  object-fit: cover;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1360px, calc(100% - 100px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  padding: 16px;
  background: var(--cyan);
  color: #101020;
}
.skip-link:focus {
  top: 12px;
}
#site-header {
  border-bottom: 1px solid var(--line);
  background: #11101e90;
}
.header-inner {
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand > img {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  box-shadow: 0 0 20px #71bfff12;
}
.brand > span {
  font-size: 26px;
  letter-spacing: -1.2px;
  font-weight: 900;
  line-height: 1.05;
}
.brand > span > span {
  color: var(--cyan);
}
.brand small {
  display: block;
  letter-spacing: 2.1px;
  font-size: 8px;
  font-weight: 600;
  margin-top: 7px;
  color: #b9b5ce;
}
.header-inner nav {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 100%;
  margin-left: 50px;
}
.header-inner nav > a {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.header-inner nav > a:hover,
.header-inner nav > a[aria-current] {
  color: var(--text);
}
.header-inner nav > a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  margin: auto;
  width: 19px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.language-switch {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.language-switch button {
  background: none;
  color: #8a859f;
  padding: 12px 5px;
  min-height: 40px;
}
.language-switch button[aria-pressed="true"] {
  color: var(--cyan);
}
.language-switch > span {
  color: #464155;
}
.primary-button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--cyan);
  color: #12222a;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 3px 20px #76e8f50b;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 22px #76e8f530;
}
.primary-button > span:first-child[aria-hidden] {
  font-size: 20px;
  line-height: 1;
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-block: 51px 38px;
  gap: 60px;
}
.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #b1acc7;
  line-height: 1.6;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px #76e8f550;
}
h1 {
  font-weight: 900;
  font-size: clamp(45px, 4.8vw, 72px);
  line-height: 1.06;
  letter-spacing: -3.4px;
  margin: 0;
  position: relative;
  width: max-content;
  max-width: 100%;
}
.gradient-text {
  background: linear-gradient(100deg, #78e6ef 0%, #a4c6ff 50%, #c1a2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.title-star {
  display: inline-block;
  color: var(--cyan);
  font-size: 40px;
  position: absolute;
  right: -60px;
  top: 4px;
  transform: rotate(13deg);
  font-weight: 500;
}
.intro-aside {
  max-width: 330px;
  padding-bottom: 4px;
}
.intro-aside > p {
  font-size: 13px;
  line-height: 1.85;
  color: #b5b0c8;
  margin: 0 0 24px;
}
.intro-facts {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  color: #9f99b6;
  white-space: nowrap;
}
.intro-facts b {
  color: var(--text);
  font-size: 13px;
}
.intro-facts i {
  height: 13px;
  width: 1px;
  background: #ffffff20;
}
.explorer {
  border: 1px solid #b3a2e223;
  border-radius: 17px;
  background: #151321;
  overflow: hidden;
  box-shadow: 0 25px 90px #00000020;
}
.explorer-bar {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.explorer-bar h2 {
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.explorer-bar h2 > span:first-child {
  font-size: 19px;
  font-weight: 400;
  color: var(--purple);
}
.view-switch {
  padding: 4px;
  border: 1px solid #ffffff0c;
  border-radius: 8px;
  display: flex;
  gap: 3px;
  background: #100f1a;
}
.view-switch button {
  padding: 7px 10px;
  min-height: 32px;
  border-radius: 5px;
  background: none;
  font-size: 10px;
  color: #aaa3be;
  display: flex;
  gap: 6px;
  align-items: center;
}
.view-switch button[aria-pressed="true"] {
  background: #2c283e;
  color: #e5dcff;
  box-shadow: 0 2px 6px #0002;
}
.view-switch button > span:first-child {
  font-size: 15px;
  line-height: 1;
}
.world-viewport {
  height: 658px;
  position: relative;
  overflow: hidden;
  cursor: grab;
  isolation: isolate;
  touch-action: pan-y;
  background:
    radial-gradient(ellipse at 50% 48%, #4a306746, transparent 60%),
    radial-gradient(ellipse at 32% 50%, #1437512c, transparent 50%),
    radial-gradient(circle, #9687bc3b 0.7px, transparent 1px);
  background-size:
    auto,
    auto,
    25px 25px;
}
.world-viewport.dragging {
  cursor: grabbing;
}
.world-scene {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 1320px;
  height: 700px;
  transform: translate(-50%, -50%) scale(var(--world-scale, 1))
    translate(var(--pan-x, 0px), var(--pan-y, 0px));
  transform-origin: center;
  will-change: transform;
}
.world-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.world-connections path {
  fill: none;
  stroke-width: 1;
  stroke-dasharray: 5 7;
  opacity: 0.45;
}
.world-connections circle {
  filter: drop-shadow(0 0 4px currentColor);
}
.map-coordinates {
  position: absolute;
  inset: 24px 26px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
  color: #7d7594;
  font-family: monospace;
  letter-spacing: 2px;
  font-size: 8px;
}
.game-card {
  --game-color: var(--purple);
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid #ffffff18;
  border-radius: 11px;
  background: #211d30;
  box-shadow: 0 8px 20px #08071340;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--game-color);
  box-shadow:
    0 12px 36px #06040f80,
    0 0 20px color-mix(in srgb, var(--game-color) 12%, transparent);
}
.game-art {
  position: relative;
  aspect-ratio: 2.28;
  overflow: hidden;
  background: #28213b;
}
.game-art > img {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.45s;
}
.game-card:hover .game-art > img {
  transform: scale(1.07);
}
.game-number {
  position: absolute;
  left: 11px;
  top: 10px;
  border: 1px solid #ffffff30;
  color: #ffffffc7;
  border-radius: 4px;
  background: #140f2540;
  padding: 3px 5px;
  font-family: monospace;
  font-size: 8px;
  line-height: 1;
}
.game-play {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ffffffdd;
  color: #15111c;
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 2px 8px #0002;
}
.game-card-content {
  padding: 13px 15px;
}
.game-category {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 8px;
  font-weight: 800;
  color: var(--game-color);
  margin-bottom: 6px;
}
.game-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.game-card-content > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 12px 0;
}
.card-play-text {
  display: none;
  color: var(--game-color);
  font-size: 11px;
  font-weight: 700;
}
.map-card {
  position: absolute;
  width: 218px;
  left: calc(50% + var(--x));
  top: calc(50% + var(--y));
  transform: translate(-50%, -50%);
  animation: card-arrive 0.75s both;
  animation-delay: calc(var(--card-index) * 0.07s);
}
.map-card:hover {
  transform: translate(-50%, calc(-50% - 6px));
}
.map-card:focus-visible {
  z-index: 5;
}
.map-card h3 {
  font-size: 14px;
}
.map-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 60px 12px #15132145;
}
.world-controls {
  position: absolute;
  z-index: 5;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-button {
  border: 1px solid #ffffff20;
  border-radius: 7px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #211c32cc;
  color: #c6badf;
  font-size: 18px;
}
.icon-button:hover {
  background: #393047;
}
.reset-button {
  font-size: 9px;
  background: #201a32df;
  padding: 11px 13px;
  border: 1px solid #ffffff13;
  border-radius: 7px;
  color: #b7aaca;
  white-space: nowrap;
}
.explorer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  min-height: 57px;
}
.explorer-bottom p {
  margin: 0;
  color: #a49ab9;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.drag-symbol {
  font-size: 18px;
  color: #a294ba;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  background: none;
  color: #e3d9f4;
  padding: 8px 0;
}
.text-button:hover {
  color: var(--cyan);
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 30px;
}
.game-grid .game-art {
  aspect-ratio: 1.9;
}
.game-grid .card-play-text {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}
.game-grid .game-card-content {
  padding: 20px;
}
.maker-strip {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-block: 35px 38px;
}
.maker-icon {
  display: grid;
  place-items: center;
  font-family: monospace;
  font-size: 17px;
  width: 43px;
  height: 43px;
  border-radius: 11px;
  background: #272136;
  color: #ba9ae9;
  flex-shrink: 0;
  border: 1px solid #ba9ae920;
}
.maker-strip h2 {
  font-size: 12px;
  margin: 0 0 6px;
  font-weight: 700;
}
.maker-strip p {
  color: #8d859f;
  font-size: 11px;
  margin: 0;
}
.maker-strip > a {
  margin-left: auto;
  color: #b7a2d8;
}
#site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 88px;
  justify-content: space-between;
}
.footer-brand {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -1px;
}
.footer-brand > span:first-child {
  color: var(--cyan);
}
.footer-brand .footer-domain {
  color: #777086;
  font-size: 13px;
  letter-spacing: 0;
}
.footer-inner > p {
  color: #7f778e;
  font-size: 10px;
}
.footer-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a49ab6;
  font-size: 9px;
}
.footer-credit .status-dot {
  width: 4px;
  height: 4px;
}
.about-main {
  padding-bottom: 80px;
}
.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 80px;
  min-height: 650px;
  padding-block: 60px;
}
.about-copy h1 {
  font-size: 76px;
}
.about-copy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 470px;
}
.about-copy > .about-lead {
  font-size: 19px !important;
  color: #e9e0f8 !important;
  margin-top: 27px;
}
.about-copy > .primary-button {
  margin-top: 16px;
}
.about-portrait {
  position: relative;
  display: grid;
  place-items: center;
}
.about-portrait > img {
  width: 100%;
  max-width: 420px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 100px #8b54f32b;
}
.portrait-ring {
  position: absolute;
  inset: -16px;
  border: 1px solid #bb9aff40;
  border-radius: 50%;
  transform: rotate(-22deg) scaleY(0.85);
}
.portrait-sticker {
  position: absolute;
  right: -10px;
  bottom: 55px;
  z-index: 2;
  transform: rotate(-10deg);
  padding: 15px 20px;
  background: var(--cyan);
  color: #142931;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 900;
  border-radius: 7px;
  box-shadow: 0 10px 30px #0004;
}
.about-story {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  max-width: 700px;
}
.about-story > h2 {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -1px;
}
.about-story > p {
  color: var(--muted);
  line-height: 1.9;
}
.about-note {
  padding-left: 17px;
  border-left: 2px solid var(--purple);
  font-size: 12px;
  margin-top: 28px;
}
.play-header {
  border-bottom: 1px solid var(--line);
  background: #151321;
}
.play-header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.play-back {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #c8bfdc;
}
.play-back img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.play-back > span:first-of-type {
  font-size: 20px;
  color: var(--cyan);
}
.play-header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}
.play-header-right > a {
  font-size: 11px;
  color: var(--muted);
}
.game-main {
  padding-top: 30px;
  padding-bottom: 50px;
}
.game-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 22px;
}
.game-heading h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
}
.game-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 9px;
}
.game-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 0;
}
.game-language-control {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.game-language-control > label {
  font-size: 10px;
  color: var(--muted);
}
select {
  background: #272136;
  color: #eee6ff;
  border: 1px solid #ffffff25;
  padding: 10px;
  border-radius: 6px;
  font-size: 12px;
}
.game-stage {
  border: 1px solid #74618d55;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0912;
  position: relative;
  display: flex;
  flex-direction: column;
}
.game-toolbar {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 14px;
  background: #1e192c;
  border-bottom: 1px solid var(--line);
}
.game-toolbar-title {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #bdb2cf;
}
.game-toolbar-actions {
  display: flex;
  gap: 13px;
}
.game-toolbar button {
  background: none;
  color: #c6bbdb;
  padding: 7px 4px;
  font-size: 10px;
}
.game-toolbar button:hover {
  color: var(--cyan);
}
.game-frame-wrap {
  position: relative;
  min-height: 500px;
  flex: 1;
  display: flex;
  background: #0b0a13;
}
.game-frame-wrap iframe {
  width: 100%;
  border: 0;
  display: block;
  min-height: 680px;
  height: 74vh;
  max-height: 960px;
  background: #0b0a13;
}
.game-stage:fullscreen {
  border: 0;
  border-radius: 0;
  background: #0b0a13;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.game-stage:fullscreen .game-frame-wrap {
  min-height: 0;
}
.game-stage:fullscreen iframe {
  height: 100%;
  max-height: none;
  min-height: 0;
}
.game-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 18px;
  background: #151020;
  z-index: 2;
  font-size: 13px;
  color: var(--muted);
}
.game-loading:before {
  content: "";
  width: 27px;
  height: 27px;
  border: 2px solid #76e8f522;
  border-top-color: var(--cyan);
  border-radius: 50%;
  margin: auto;
  animation: spin 1s linear infinite;
}
.game-info {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
  padding-block: 24px;
}
.game-info h2 {
  font-size: 12px;
  margin: 0 0 8px;
}
.game-info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  max-width: 700px;
}
.translation-note {
  font-size: 10px !important;
  max-width: 260px !important;
  color: #80738f !important;
}
.more-games {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.more-games h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 0 0 22px;
}
.more-games .game-grid {
  padding: 0;
}
.game-error {
  padding: 15px;
  color: #ffbdc8;
  text-align: center;
  font-size: 12px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes card-arrive {
  from {
    opacity: 0;
    translate: 0 15px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (min-width: 1600px) {
  .world-viewport {
    height: 720px;
  }
  .intro {
    padding-top: 65px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .header-inner nav {
    margin-left: 0;
    gap: 23px;
  }
  .intro {
    gap: 35px;
  }
  .intro-aside {
    max-width: 280px;
  }
  .title-star {
    right: -44px;
    font-size: 30px;
  }
  .world-viewport {
    height: 620px;
  }
  .intro-facts {
    gap: 8px;
    font-size: 9px;
  }
  .maker-strip {
    gap: 13px;
  }
  .maker-strip h2 {
    max-width: 420px;
    line-height: 1.5;
  }
  .about-hero {
    gap: 40px;
  }
  .about-copy h1 {
    font-size: 66px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 84px;
    gap: 15px;
  }
  .brand > img {
    width: 39px;
    height: 39px;
  }
  .brand > span {
    font-size: 22px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.8px;
  }
  .header-inner nav {
    gap: 17px;
  }
  .header-inner nav > a {
    font-size: 11px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions > .primary-button {
    display: none;
  }
  .header-inner nav > a[aria-current]:after {
    bottom: 17px;
  }
  .intro {
    padding-block: 34px 30px;
    gap: 25px;
    align-items: start;
  }
  .intro h1 {
    font-size: 46px;
    letter-spacing: -2.5px;
  }
  .intro .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
    margin-bottom: 15px;
  }
  .title-star {
    font-size: 24px;
    right: -33px;
  }
  .intro-aside {
    max-width: 240px;
    padding-top: 20px;
  }
  .intro-aside > p {
    font-size: 11px;
    margin-bottom: 15px;
  }
  .intro-facts {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 6px;
  }
  .explorer-bar {
    padding: 0 15px;
    height: 60px;
  }
  .explorer-bar h2 {
    font-size: 10px;
  }
  .view-switch button {
    font-size: 9px;
    padding-inline: 8px;
  }
  .world-viewport {
    height: 600px;
  }
  .map-coordinates {
    inset: 20px 18px auto;
    font-size: 6px;
    letter-spacing: 1px;
  }
  .world-controls {
    bottom: 20px;
  }
  .world-scene {
    top: 48%;
  }
  .explorer-bottom {
    padding: 13px 16px;
    gap: 15px;
  }
  .explorer-bottom p {
    font-size: 9px;
    line-height: 1.6;
  }
  .text-button {
    font-size: 10px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 20px;
  }
  .maker-strip {
    flex-wrap: wrap;
    padding-block: 25px;
  }
  .maker-strip > div:nth-child(2) {
    flex: 1;
  }
  .maker-strip h2 {
    font-size: 11px;
  }
  .maker-strip p {
    font-size: 10px;
    line-height: 1.6;
  }
  .maker-strip > a {
    margin-left: 58px;
    margin-top: -8px;
  }
  .footer-inner {
    gap: 15px;
    min-height: 80px;
    flex-wrap: wrap;
    padding-block: 22px;
  }
  .footer-inner > p {
    display: none;
  }
  .footer-credit {
    font-size: 8px;
  }
  .about-hero {
    min-height: 0;
    padding-block: 45px;
    gap: 25px;
  }
  .about-copy h1 {
    font-size: 55px;
  }
  .about-copy > .about-lead {
    font-size: 16px !important;
  }
  .about-copy > p:not(.eyebrow) {
    font-size: 12px;
  }
  .portrait-sticker {
    font-size: 8px;
    bottom: 0;
    right: 0;
    padding: 12px;
  }
  .about-story > h2 {
    font-size: 25px;
  }
  .about-story > p {
    font-size: 12px;
  }
  .play-header-inner {
    height: 65px;
    gap: 12px;
  }
  .play-back {
    font-size: 10px;
    gap: 8px;
  }
  .play-header-right {
    gap: 15px;
  }
  .game-main {
    padding-top: 24px;
  }
  .game-heading {
    align-items: start;
  }
  .game-heading h1 {
    font-size: 27px;
  }
  .game-description {
    font-size: 11px;
  }
  .game-language-control {
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
  }
  .game-language-control > label {
    font-size: 9px;
  }
  .game-frame-wrap {
    min-height: 550px;
  }
  .game-frame-wrap iframe {
    min-height: 620px;
    height: 80vh;
  }
  .game-info {
    gap: 16px;
  }
  .game-info p {
    font-size: 11px;
  }
  .translation-note {
    max-width: 160px !important;
    font-size: 9px !important;
  }
}
@media (max-width: 520px) {
  .header-inner {
    height: 76px;
  }
  .header-inner nav {
    gap: 14px;
  }
  .header-inner nav > a {
    font-size: 10px;
  }
  .brand {
    gap: 7px;
  }
  .brand > img {
    width: 34px;
    height: 34px;
  }
  .brand > span {
    font-size: 20px;
  }
  .brand small {
    font-size: 5.5px;
    letter-spacing: 1.3px;
  }
  .language-switch {
    gap: 0;
    font-size: 10px;
  }
  .language-switch button {
    padding: 10px 5px;
  }
  .intro {
    display: block;
    padding-top: 30px;
  }
  .intro h1 {
    font-size: 50px;
  }
  .intro .eyebrow {
    font-size: 7px;
  }
  .title-star {
    right: -38px;
    top: 2px;
    font-size: 29px;
  }
  .intro-aside {
    max-width: 310px;
    padding-top: 19px;
  }
  .intro-aside > p {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 15px;
  }
  .intro-facts {
    font-size: 9px;
    gap: 12px;
  }
  .explorer {
    border-radius: 12px;
  }
  .explorer-bar {
    gap: 8px;
    padding: 0 11px;
  }
  .explorer-bar h2 {
    gap: 6px;
    max-width: 150px;
    line-height: 1.5;
  }
  .explorer-bar h2 > span:first-child {
    font-size: 16px;
  }
  .view-switch {
    padding: 3px;
  }
  .view-switch button {
    padding: 6px;
    font-size: 8px;
    gap: 4px;
  }
  .world-viewport {
    height: 555px;
  }
  .map-coordinates span:last-child {
    display: none;
  }
  .world-scene {
    top: 47%;
  }
  .map-card {
    width: 218px;
  }
  .explorer-bottom {
    align-items: flex-start;
    gap: 12px;
  }
  .explorer-bottom p {
    font-size: 8px;
    max-width: 195px;
  }
  .explorer-bottom .text-button {
    font-size: 9px;
    gap: 5px;
  }
  .world-controls {
    gap: 6px;
  }
  .reset-button {
    font-size: 8px;
    padding: 10px;
  }
  .icon-button {
    width: 33px;
    height: 33px;
  }
  .maker-strip h2 {
    font-size: 10px;
  }
  .maker-icon {
    width: 37px;
    height: 37px;
    font-size: 14px;
  }
  .maker-strip > a {
    margin-left: 50px;
  }
  .game-grid {
    gap: 13px;
    padding: 16px;
    grid-template-columns: 1fr;
  }
  .game-grid .game-art {
    aspect-ratio: 2.1;
  }
  .game-grid .game-card-content {
    padding: 16px;
  }
  .game-grid h3 {
    font-size: 17px;
  }
  .about-hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 40px;
    padding-top: 40px;
  }
  .about-portrait {
    width: 230px;
    margin: auto;
  }
  .portrait-sticker {
    font-size: 8px;
    right: -13px;
    bottom: 12px;
  }
  .about-copy h1 {
    font-size: 59px;
  }
  .about-copy .eyebrow {
    font-size: 8px;
  }
  .about-story {
    padding-top: 30px;
  }
  .play-header-inner {
    height: 62px;
  }
  .play-header-right > a {
    display: none;
  }
  .game-heading {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 17px;
  }
  .game-language-control {
    flex-direction: row;
    align-items: center;
  }
  .game-language-control select {
    padding: 8px;
  }
  .game-stage {
    margin-inline: -10px;
    border-radius: 8px;
  }
  .game-toolbar {
    padding: 5px 9px;
  }
  .game-toolbar-actions {
    gap: 9px;
  }
  .game-toolbar button {
    font-size: 9px;
  }
  .game-toolbar-title {
    font-size: 9px;
  }
  .game-frame-wrap iframe {
    min-height: 680px;
    height: 80vh;
  }
  .game-info {
    display: block;
    padding-block: 20px;
  }
  .translation-note {
    margin-top: 15px !important;
    max-width: none !important;
  }
  .more-games .game-grid {
    grid-template-columns: 1fr;
  }
  .game-main {
    padding-bottom: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 520px) {
  .header-inner nav > a:first-child {
    display: none;
  }
  .header-inner nav {
    margin-left: auto;
  }
  .intro h1 {
    font-size: 42px;
    letter-spacing: -2px;
  }
  .intro .title-star {
    right: -25px;
    top: -8px;
    font-size: 22px;
  }
  .intro > div:first-child {
    padding-right: 22px;
  }
  .intro .eyebrow {
    font-size: 6.5px;
    letter-spacing: 1px;
  }
  .brand small {
    display: none;
  }
  .header-inner {
    gap: 18px;
  }
  .brand > span {
    font-size: 21px;
  }
  .game-info .translation-note {
    display: none;
  }
}
/* The illustrated logo belongs to the world; headers use the wordmark. */
.play-back > span.play-wordmark {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  margin-right: 12px;
}
.play-wordmark > span {
  color: var(--cyan);
}
@media (max-width: 520px) {
  .play-back > span.play-wordmark {
    font-size: 17px;
    margin-right: 4px;
  }
}
