[data-mode='game'] body > *:not(#game-shell):not(script):not(noscript) {
  display: none !important;
}
[data-mode='slides'] #game-shell {
  display: none;
}
.game-return {
  display: inline-flex;
  align-items: center;
  margin-right: 14px;
  font-size: 12px;
  text-decoration: none;
  color: var(--accent);
}
#game-shell {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(#688c8c, #c3c8ae 65%, #e4c995);
  color: #f4ecd8;
  --gold: #e5c489;
  --panel: #102c25;
  --faint: #b3c6b8;
  font-family: Overpass, sans-serif;
  isolation: isolate;
}
#game-shell * {
  box-sizing: border-box;
}
#game-shell button,
#game-shell a {
  touch-action: manipulation;
}
#game-shell svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke-width: 1.6;
}
#game-shell button:focus-visible,
#game-shell a:focus-visible {
  outline: 2px solid #ffe1a7;
  outline-offset: 4px;
}
#game-shell button:disabled {
  cursor: default;
  opacity: 0.4;
}
#game-shell a {
  text-underline-offset: 5px;
}
#game-world {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#game-world canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.game-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      #09241ef2,
      #0c2923c4 28%,
      #14392b33 57%,
      transparent 75%
    ),
    linear-gradient(0deg, #062c2760, transparent 20%);
  transition: opacity 0.9s;
}
.game-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 104px;
  padding: 0 4.5vw;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game-top .brand {
  font-size: 15px;
}
.game-top .brand small {
  color: #d1ddcd;
}
.game-top .brand-mark {
  color: #f0dcac;
  border-color: #e5d6af88;
}
.game-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.game-top-right button {
  border-radius: 50%;
  background: #102c2585;
  color: #f9eed3;
}
.slides-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  padding: 12px 17px;
  border-radius: 5px;
  background: #102c25b0;
}
.slides-link svg {
  width: 17px !important;
}
#game-intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.intro-copy {
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-47%);
  pointer-events: auto;
  max-width: 550px;
  width: 43%;
}
.intro-copy h1 {
  font-size: clamp(54px, 6vw, 94px);
  line-height: 1.04;
  font-weight: 450;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.intro-copy h1 em {
  font-style: normal;
  color: var(--gold);
}
.intro-copy > p {
  color: #d0ddce;
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.55;
  margin: 0 0 32px;
}
.game-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 17px 25px;
  background: var(--gold);
  color: #163329 !important;
  font-weight: 650;
  font-size: 17px;
  text-decoration: none;
  border-radius: 5px;
  min-height: 56px;
  border: none;
  box-shadow: 0 12px 35px #081e2226;
  transition:
    transform 0.2s,
    background 0.2s;
}
.game-primary:hover:not(:disabled) {
  background: #f5dca8;
  transform: translateY(-2px);
}
.intro-slides {
  display: block;
  color: #c0d3c5;
  font-size: 13px;
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
}
.intro-route {
  display: flex;
  gap: 19px;
  align-items: center;
  margin-top: 38px;
  font-size: 13px;
  color: #c4d6c5;
}
.intro-route b {
  color: var(--gold);
  font-weight: 500;
  font-size: 18px;
  margin-right: 5px;
}
.intro-route i {
  width: 28px;
  height: 1px;
  background: #d7be8880;
}
.intro-copy small {
  display: block;
  color: #a6bcac;
  font-size: 10px;
  line-height: 1.65;
  margin-top: 23px;
}
.intro-city-name {
  position: absolute;
  bottom: 9%;
  right: 7%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  text-shadow: 0 3px 12px #09221c70;
}
.intro-city-name span:first-child {
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 0.15em;
}
.intro-city-name span:last-child {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #f7ead0;
}
#game-shell[data-state='playing'] .game-vignette {
  opacity: 0.4;
  background:
    linear-gradient(0deg, #051b2599, transparent 27%),
    linear-gradient(180deg, #0b2c3477, transparent 30%);
}
#game-shell[data-state='playing'] .game-top {
  height: 88px;
  padding: 0 30px;
}
.game-objective {
  position: absolute;
  top: 116px;
  left: 30px;
  width: 296px;
  z-index: 5;
  background: #123329;
  border-radius: 10px;
  padding: 20px 23px;
  box-shadow: 0 15px 40px #102e302a;
}
.objective-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.objective-top > span:first-child {
  font-size: 29px;
  color: var(--gold);
  font-weight: 300;
}
.objective-top > span:nth-child(2) {
  font-size: 11px;
  color: #b4cbb9;
}
.objective-top button {
  margin-left: auto;
  min-width: 32px;
  min-height: 32px;
  color: var(--gold);
}
.game-objective h2 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.game-objective p {
  font-size: 13px;
  color: var(--faint);
  line-height: 1.5;
  margin: 0 0 13px;
}
.game-objective #route-next {
  font-size: 12px;
  padding: 0;
  gap: 14px;
  justify-content: flex-start;
  color: var(--gold);
  min-height: 33px;
}
.game-objective #route-next svg {
  width: 16px;
}
.passport-stamps {
  display: flex;
  gap: 4px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #c1c8a527;
}
.passport-stamps span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 23px;
  border-radius: 8px 8px 2px 2px;
  background: #ffffff0d;
  font-size: 9px;
  color: #91ac98;
}
.passport-stamps .collected {
  background: #dfc385;
  color: #173b2c;
}
#world-labels {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
#world-labels button {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  display: flex;
  gap: 9px;
  align-items: center;
  pointer-events: auto;
  padding: 5px 13px 5px 5px;
  border: 1px solid #e8d7a455;
  background: #13382eea;
  color: #fbedd0;
  border-radius: 5px;
  font-size: 12px;
  min-height: 32px;
  box-shadow: 0 4px 16px #082c2525;
  transition: background 0.2s;
}
#world-labels button b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: #e2c18a;
  border-radius: 3px;
  color: #163428;
  font-size: 11px;
  font-weight: 600;
}
#world-labels .visited b {
  background: #a6d7af;
}
#world-labels .locked {
  opacity: 0.7;
}
#world-labels .locked b {
  background: #7f9587;
}
.drive-status {
  position: absolute;
  left: 32px;
  bottom: 103px;
  z-index: 4;
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-shadow: 0 2px 12px #0c241c;
}
.drive-status span:first-child {
  font-size: 10px;
  letter-spacing: 0.1em;
}
.drive-status b {
  font-size: 32px;
  font-weight: 300;
  min-width: 35px;
  font-variant-numeric: tabular-nums;
}
.drive-status span:last-child {
  font-size: 10px;
  color: #e2e9d8;
}
.game-bottom-hint {
  position: absolute;
  left: 32px;
  bottom: 41px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}
.game-bottom-hint kbd {
  background: #16362de6;
  border-color: #c5d5a84a;
}
.game-bottom-hint span {
  margin-right: 8px;
  color: #e5ebd9;
}
.interact {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #15382deb;
  padding: 13px 20px 13px 12px;
  border-radius: 9px;
  color: #faf0d8;
  box-shadow: 0 10px 40px #08282033;
  max-width: 440px;
  min-height: 74px;
}
.interact:disabled {
  opacity: 0.72 !important;
}
.interact-key {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid #e5cc9070;
  border-radius: 5px;
  color: var(--gold);
  font-size: 20px;
}
.interact > span:nth-child(2) {
  text-align: left;
  min-width: 0;
}
.interact small {
  display: block;
  font-size: 10px;
  color: #bed0bb;
  margin-bottom: 4px;
}
.interact strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
}
.interact > svg {
  margin-left: 7px;
  color: var(--gold);
}
.interact:not(:disabled) {
  background: #174936;
  outline: 1px solid #e5cc9070;
}
.mini-map {
  position: absolute;
  bottom: 26px;
  right: 28px;
  z-index: 5;
  width: 208px;
  padding: 13px 12px 12px;
  background: #102d25ed;
  border-radius: 12px;
  box-shadow: 0 15px 35px #08282030;
}
.mini-map > button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  min-height: 24px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.mini-map > button svg {
  width: 15px !important;
  height: 15px !important;
}
.mini-map canvas {
  display: block;
  width: 184px;
  height: 184px;
  cursor: pointer;
}
.mini-map > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  color: #b8cdb9;
}
.mini-map > div span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.map-you {
  background: #fff9e6;
}
.map-spot {
  background: #e1bc7b;
  margin-left: 7px;
}
#game-toast {
  position: absolute;
  z-index: 25;
  left: 50%;
  top: 104px;
  transform: translate(-50%, -15px);
  background: #10392fe8;
  padding: 13px 23px;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0 8px 30px #10342e30;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
  max-width: 80%;
  text-align: center;
}
#game-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#game-shell dialog {
  color: #f4ecd8;
  background: #102c25;
  box-shadow: 0 24px 90px #071b2860;
  border: 1px solid #bccda733;
  scrollbar-width: thin;
  scrollbar-color: #8cae91 #163b2d;
}
#game-shell dialog::backdrop {
  background: #0a271b50;
  backdrop-filter: blur(3px);
}
.mission-dialog {
  position: fixed;
  inset: 18px 18px 18px auto;
  margin: 0;
  width: 465px;
  max-width: calc(100vw - 36px);
  height: calc(100dvh - 36px);
  max-height: none;
  padding: 29px 31px;
  border-radius: 12px;
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  color: #c7d8c3;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50%;
  background: #ffffff08 !important;
}
.quest-number {
  font-size: 58px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 23px;
}
.quest-number span {
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: #b6cdb8;
}
.mission-dialog h2 {
  font-size: 34px;
  line-height: 1.13;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.quest-description {
  color: #c5d6c1;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 22px;
}
.quest-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin: 0;
  padding: 17px 0;
  border-top: 1px solid #b8c79f33;
  border-bottom: 1px solid #b8c79f33;
}
.quest-facts dt {
  font-size: 10px;
  color: #a4bca4;
  margin-bottom: 7px;
}
.quest-facts dd {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}
.quest-nuance {
  font-size: 12px;
  line-height: 1.6;
  color: #b6caae;
  margin: 16px 0 25px;
}
.quest-question h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 13px;
}
.quest-question button {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 13px;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid #a3b89640;
  border-radius: 5px;
  padding: 12px 14px;
  margin: 8px 0;
  color: #e3ecd7;
  background: #173d2d;
}
.quest-question button span {
  font-size: 12px;
  color: var(--gold);
  flex-shrink: 0;
}
.quest-question button:hover:not(:disabled) {
  background: #23503a;
}
.quest-question button:disabled {
  opacity: 0.55 !important;
}
.quest-question .correct-answer {
  border-color: #b9d09a;
  background: #3a6040;
  opacity: 1 !important;
}
.quest-question .wrong-answer {
  border-color: #b68c68;
}
.mission-dialog #quest-feedback {
  font-size: 13px;
  line-height: 1.55;
  min-height: 0;
  margin: 16px 0;
}
.mission-dialog #quest-feedback:empty {
  display: none;
}
.correct {
  color: #c6e3b9;
}
.try-again {
  color: #e7c390;
}
.mission-dialog .game-primary {
  font-size: 15px;
  width: 100%;
  padding: 14px 18px;
  min-height: 52px;
  margin-top: 10px;
}
.quest-slide-link {
  display: block;
  color: #a8c2a9;
  font-size: 12px;
  margin-top: 20px;
}
.bonus-number {
  color: #9bdfb8;
}
.bonus-passport {
  border: 1px solid #a7bf8255;
  border-radius: 8px;
  padding: 20px;
  margin: 24px 0;
  background: #1a4631;
}
.bonus-passport strong {
  display: block;
  font-weight: 500;
  font-size: 22px;
  color: #dbe5bc;
  margin-bottom: 6px;
}
.bonus-passport span {
  font-size: 13px;
  color: #b2cfae;
}
.bonus-truth h3 {
  font-size: 20px;
  font-weight: 500;
}
.bonus-truth p {
  font-size: 14px;
  line-height: 1.6;
  color: #bcd0b3;
}
.quest-secondary {
  display: flex !important;
  margin: 18px auto 0;
  font-size: 13px;
  color: #b3ccac;
}
.game-map {
  width: 760px;
  max-height: 86dvh;
  padding: 30px;
  border-radius: 12px;
}
.map-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.map-dialog-head h2 {
  font-size: 30px;
  letter-spacing: -0.025em;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}
.game-map > p {
  font-size: 14px;
  color: #aac3a9;
}
.map-dialog-head button {
  min-width: 36px;
  min-height: 36px;
}
.game-map #map-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  margin-top: 24px;
}
#map-list > button {
  padding: 15px 0;
  border-bottom: 1px solid #9bad8430;
  text-align: left;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  color: #f1edd4;
}
#map-list > button > span:last-child {
  margin-left: auto;
  color: var(--gold);
}
.map-number {
  font-size: 19px;
  font-weight: 300;
  color: var(--gold);
  min-width: 25px;
}
#map-list strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
#map-list small {
  display: block;
  color: #a2bb9f;
  font-size: 10px;
  margin-top: 5px;
}
.map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  font-size: 10px;
  color: #9fb79b;
}
.map-footer button {
  font-size: 11px;
  color: var(--gold);
  padding: 0;
}
.game-map #reset-confirm {
  border-top: 1px solid #9bad8450;
  margin-top: 18px;
  padding-top: 10px;
  font-size: 13px;
}
.game-map #reset-confirm button {
  font-size: 12px;
  border: 1px solid #9bad8450;
  padding: 8px 15px;
  border-radius: 5px;
  margin-right: 8px;
}
.game-help-dialog {
  width: 570px;
  padding: 30px;
  border-radius: 12px;
}
.game-help-dialog p {
  font-size: 15px;
  color: #b6cdae;
  line-height: 1.65;
}
.game-help-dialog dl > div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 13px 0;
  border-bottom: 1px solid #a3b7852b;
  font-size: 13px;
}
.game-help-dialog dt {
  color: var(--gold);
}
.game-help-dialog dd {
  margin: 0;
  color: #d9e4cc;
  text-align: right;
}
.game-help-dialog .help-note {
  font-size: 12px;
}
.game-help-dialog .game-primary {
  width: 100%;
  margin-top: 14px;
  font-size: 15px;
}
#joystick {
  display: none;
}
.game-error {
  padding: 15vh 10vw;
  background: #12372a;
  height: 100%;
  color: #f4edd7;
}
.game-error h1 {
  font-size: 48px;
}
.game-error a,
.game-error button {
  display: inline-block;
  color: #e4ca8e;
  margin: 20px 25px 0 0;
}
.game-error p {
  font-size: 20px;
}
@media (min-width: 1800px) {
  .intro-copy {
    left: 8%;
  }
  .intro-copy h1 {
    font-size: 96px;
  }
  .game-objective {
    width: 335px;
    padding: 25px;
  }
  .game-objective h2 {
    font-size: 25px;
  }
  .game-objective p {
    font-size: 15px;
  }
  .mini-map {
    width: 230px;
  }
  .mini-map canvas {
    width: 206px;
    height: 206px;
  }
  .mission-dialog {
    width: 520px;
    padding: 35px 38px;
  }
  .mission-dialog h2 {
    font-size: 39px;
  }
  .quest-description {
    font-size: 18px;
  }
  .quest-question button {
    font-size: 15px;
  }
  .quest-question h3 {
    font-size: 20px;
  }
}
@media (max-height: 760px) and (min-width: 701px) {
  .intro-copy h1 {
    font-size: 60px;
  }
  .intro-copy > p {
    font-size: 17px;
    margin-bottom: 20px;
  }
  .intro-route {
    margin-top: 23px;
  }
  .intro-copy small {
    margin-top: 17px;
  }
  .game-objective {
    top: 95px;
  }
  .mission-dialog {
    padding-top: 23px;
  }
  .quest-number {
    font-size: 46px;
    margin-bottom: 18px;
  }
}
@media (max-width: 1000px) {
  .game-bottom-hint {
    display: none;
  }
  .drive-status {
    bottom: 30px;
  }
  .mini-map {
    width: 160px;
    right: 18px;
  }
  .mini-map canvas {
    width: 136px;
    height: 136px;
  }
  .mini-map > div {
    font-size: 8px;
    gap: 4px;
  }
  .interact {
    max-width: 350px;
    bottom: 27px;
  }
  .game-objective {
    left: 20px;
    width: 250px;
    padding: 17px 19px;
  }
  .game-objective h2 {
    font-size: 20px;
  }
  .passport-stamps {
    gap: 3px;
  }
  .passport-stamps span {
    width: 16px;
  }
  .game-top {
    padding: 0 25px;
  }
  .game-objective p {
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .game-top,
  #game-shell[data-state='playing'] .game-top {
    height: 76px;
    padding: 0 19px;
  }
  .game-top .brand {
    font-size: 11px;
    gap: 9px;
  }
  .game-top .brand-mark {
    width: 33px;
    height: 36px;
    font-size: 20px;
  }
  .game-top .brand small {
    font-size: 9px;
  }
  .game-top-right {
    gap: 3px;
  }
  .game-top-right button {
    min-width: 32px;
    min-height: 36px;
  }
  .slides-link {
    font-size: 10px;
    padding: 9px 10px;
    gap: 8px;
  }
  .slides-link svg {
    display: none;
  }
  #game-help {
    display: none;
  }
  .intro-copy {
    left: 6%;
    top: auto;
    bottom: 5%;
    transform: none;
    width: 88%;
    max-width: none;
  }
  .intro-copy h1 {
    font-size: 49px;
    margin-bottom: 15px;
    max-width: 330px;
  }
  .intro-copy > p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 22px;
  }
  .intro-copy > p br:nth-child(2) {
    display: none;
  }
  .intro-copy .game-primary {
    font-size: 15px;
    min-height: 50px;
    padding: 13px 22px;
  }
  .intro-slides {
    font-size: 11px;
    margin-top: 13px;
  }
  .intro-route {
    margin-top: 23px;
    font-size: 11px;
    gap: 12px;
  }
  .intro-route b {
    font-size: 15px;
  }
  .intro-route i {
    width: 15px;
  }
  .intro-copy small {
    font-size: 8px;
    margin-top: 15px;
    line-height: 1.5;
  }
  .intro-city-name {
    display: none;
  }
  .game-vignette {
    background: linear-gradient(
      0deg,
      #09271efc,
      #0b2b23f0 35%,
      #133b2955 65%,
      transparent
    );
  }
  .game-objective {
    top: 87px;
    left: 14px;
    width: 217px;
    padding: 14px 16px;
  }
  .objective-top {
    margin-bottom: 8px;
    gap: 8px;
  }
  .objective-top > span:first-child {
    font-size: 25px;
  }
  .objective-top > span:nth-child(2) {
    font-size: 10px;
  }
  .game-objective h2 {
    font-size: 17px;
    margin-bottom: 7px;
  }
  .game-objective p {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  .game-objective #route-next {
    font-size: 11px;
    min-height: 28px;
  }
  .passport-stamps {
    padding-top: 11px;
    margin-top: 10px;
    gap: 3px;
  }
  .passport-stamps span {
    font-size: 8px;
    height: 19px;
    width: 14px;
  }
  .mini-map {
    width: 125px;
    right: 12px;
    bottom: auto;
    top: 87px;
    padding: 8px;
    border-radius: 8px;
  }
  .mini-map canvas {
    width: 109px;
    height: 109px;
  }
  .mini-map > button {
    font-size: 7px;
    min-height: 20px;
    letter-spacing: 0.03em;
  }
  .mini-map > div {
    font-size: 7px;
    gap: 3px;
  }
  .mini-map > div span {
    width: 4px;
    height: 4px;
  }
  .map-spot {
    margin-left: 3px;
  }
  .drive-status {
    bottom: 153px;
    left: 20px;
    gap: 6px;
  }
  .drive-status span:first-child {
    font-size: 8px;
    max-width: 75px;
    line-height: 1.5;
  }
  .drive-status b {
    font-size: 25px;
  }
  .drive-status span:last-child {
    display: none;
  }
  .interact {
    left: auto;
    right: 14px;
    bottom: 30px;
    transform: none;
    max-width: calc(100vw - 158px);
    padding: 13px 14px;
    gap: 9px;
    min-height: 66px;
    border-radius: 8px;
  }
  .interact-key {
    display: none;
  }
  .interact strong {
    font-size: 12px;
    line-height: 1.35;
  }
  .interact small {
    font-size: 8px;
  }
  .interact > svg {
    width: 15px !important;
    margin-left: 0;
  }
  .interact:disabled > svg {
    display: none;
  }
  #joystick {
    display: block;
    position: absolute;
    bottom: 23px;
    left: 16px;
    z-index: 6;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid #e0d7a74d;
    background: #173e2d8c;
    touch-action: none;
    user-select: none;
  }
  #joystick span {
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 1px dashed #e0d7a728;
  }
  #joystick i {
    display: block;
    position: absolute;
    left: 38px;
    top: 38px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e5cb95d9;
    box-shadow: 0 4px 12px #122f2940;
  }
  #world-labels button {
    font-size: 10px;
    gap: 5px;
    padding: 4px 8px 4px 4px;
    min-height: 27px;
  }
  #world-labels button b {
    font-size: 9px;
    width: 20px;
    height: 20px;
  }
  #world-labels button span {
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #game-toast {
    top: auto;
    bottom: 165px;
    max-width: 90%;
    width: max-content;
    font-size: 11px;
    padding: 11px 16px;
    transform: translate(-50%, 10px);
  }
  #game-toast.visible {
    transform: translate(-50%, 0);
  }
  .mission-dialog {
    inset: 10px;
    margin: 0;
    width: calc(100vw - 20px);
    max-width: none;
    height: calc(100dvh - 20px);
    padding: 25px 23px;
  }
  .quest-number {
    font-size: 46px;
    margin-bottom: 18px;
  }
  .mission-dialog h2 {
    font-size: 29px;
  }
  .quest-description {
    font-size: 14px;
    margin-bottom: 17px;
  }
  .quest-facts {
    padding: 13px 0;
  }
  .quest-facts dd {
    font-size: 13px;
  }
  .quest-nuance {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .quest-question h3 {
    font-size: 16px;
  }
  .quest-question button {
    font-size: 12px;
    padding: 11px 12px;
  }
  .mission-dialog .game-primary {
    font-size: 14px;
  }
  .game-map {
    width: calc(100vw - 24px);
    max-width: none;
    max-height: 90dvh;
    padding: 22px;
  }
  .map-dialog-head h2 {
    font-size: 25px;
  }
  .game-map > p {
    font-size: 12px;
  }
  .game-map #map-list {
    grid-template-columns: 1fr;
    margin-top: 15px;
  }
  #map-list > button {
    padding: 12px 0;
    min-height: 60px;
  }
  .map-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .game-help-dialog {
    width: calc(100vw - 24px);
    max-width: none;
    padding: 23px;
  }
  .game-help-dialog p {
    font-size: 13px;
  }
  .game-help-dialog dl > div {
    font-size: 12px;
  }
  .game-return {
    margin-right: 5px;
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .game-objective {
    width: 195px;
    padding: 12px;
  }
  .mini-map {
    width: 112px;
  }
  .mini-map canvas {
    width: 96px;
    height: 96px;
  }
  .intro-copy h1 {
    font-size: 42px;
  }
  .intro-copy > p {
    font-size: 14px;
  }
  .slides-link {
    font-size: 9px;
    padding: 8px;
  }
  .game-top-right button {
    min-width: 28px;
  }
  .interact {
    max-width: 190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #game-shell *,
  #game-shell *:before,
  #game-shell *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* The city is the setting; the workshop is a small, playable product brief. */
#mission-dialog {
  width: min(1060px, calc(100vw - 40px));
}
#mission-dialog #mission-body {
  padding-top: 8px;
}
.workshop-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 55px 28px 0;
}
.workshop-heading .quest-number {
  margin: 0;
  font-size: 60px;
}
.workshop-heading h2 {
  font-size: 30px;
  margin: 5px 0 0;
  line-height: 1.15;
}
.workshop-heading > div > span {
  color: #b3c6b8;
  font-size: 13px;
}
.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.client-role {
  font-size: 13px;
  color: #b3c6b8;
  margin: 0 0 12px;
}
.workshop-brief blockquote {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 20px;
}
.workshop-brief .quest-description {
  font-size: 15px;
}
.workshop-steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #496153;
  margin: 24px 0 20px;
  padding-bottom: 12px;
  color: #acbeb2;
  font-size: 12px;
}
.workshop-steps .active {
  color: #f2d397;
}
#solution-step h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 16px;
}
#choice-feedback {
  color: #efd59d;
  font-size: 14px;
  line-height: 1.5;
}
.source-details,
.prompt-details {
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.5;
}
.source-details summary,
.prompt-details summary {
  cursor: pointer;
  color: #d0decf;
  padding: 10px 0;
}
.source-details a {
  color: #e7c385;
}
.prompt-details textarea {
  width: 100%;
  min-height: 185px;
  resize: vertical;
  border: 1px solid #70877b;
  background: #0b231e;
  padding: 14px;
  color: #e8e9d7;
  font: inherit;
  border-radius: 8px;
}
.simulation-note {
  font-size: 12px;
  color: #b3c6b8;
  line-height: 1.55;
}
.solution-reason {
  font-size: 15px;
  line-height: 1.5;
}
.workshop-output {
  align-self: start;
  background: #eceddc;
  border-radius: 12px;
  overflow: hidden;
  color: #173a2d;
}
.output-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #d8ddc9;
  padding: 14px 20px;
  font-size: 12px;
}
.workshop-output .simulation-note {
  color: #405c4b;
  padding: 0 22px 18px;
}
.preview-empty {
  text-align: center;
  padding: 60px 26px;
}
.preview-empty svg {
  width: 100px !important;
  height: 80px !important;
  fill: none;
  stroke: #597460;
  stroke-width: 2;
}
.preview-empty h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 25px 0 12px;
}
.preview-empty p {
  font-size: 15px;
  line-height: 1.5;
  color: #47634f;
}
.project-preview {
  min-height: 340px;
}
.project-preview button {
  color: #f4eedb;
  background: #245540;
  padding: 12px 16px;
  border-radius: 7px;
  text-align: left;
  min-height: 44px;
}
.project-preview button:hover {
  background: #326f54;
}
#game-shell .project-preview button:disabled {
  opacity: 1;
  background: #d3dac7;
  color: #385441;
}
#game-shell .project-preview button:focus-visible {
  outline-color: #245540;
}
.demo-site,
.demo-bot,
.demo-app,
.demo-crm {
  padding: 24px;
}
.demo-brand {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.demo-site h3 {
  font-size: 32px;
  line-height: 1.13;
  margin: 35px 0 16px;
}
.demo-site p,
.demo-app p {
  font-size: 15px;
  line-height: 1.5;
}
.demo-site ul {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  margin: 20px 0;
}
.demo-inbox {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #c0ccb7;
}
.demo-inbox > span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bot-bubble {
  background: #d9e1cb;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  margin: 20px 0 12px;
}
.bot-bubble.from-user {
  background: #bad0b2;
  margin-left: 35px;
}
.bot-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-menu {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.demo-menu button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.demo-menu button[aria-pressed='true'] {
  outline: 3px solid #be913e;
  outline-offset: 2px;
}
.demo-cart {
  padding-top: 10px;
  border-top: 1px solid #b5c2aa;
}
.crm-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.crm-columns > section {
  background: #dce2d0;
  padding: 12px;
  border-radius: 8px;
  min-height: 240px;
}
.crm-columns h4 {
  margin: 0 0 15px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
#demo-ticket {
  background: #f9f7e8;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
}
#demo-ticket p {
  font-size: 12px;
}
#demo-ticket button {
  font-size: 12px;
  padding: 10px;
}
#crm-empty {
  font-size: 13px;
  color: #58705c;
}
#project-result {
  margin-top: 28px;
  border-top: 1px solid #53705c;
  padding-top: 25px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}
#project-result[hidden] {
  display: none;
}
#project-result h3 {
  color: #a4dfb7;
  font-size: 25px;
  margin: 0 0 8px;
}
#project-result #quest-feedback {
  color: #e8ecd8;
  margin: 0;
}
.result-honesty {
  font-size: 12px;
  color: #b3c6b8;
  max-width: 52ch;
}
.result-actions {
  display: grid;
  align-content: start;
  gap: 8px;
}
#course-bridge {
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.55;
}
#course-bridge p {
  margin: 0 0 5px;
}
#course-bridge a {
  color: #e8c88b;
}
#visit-studio {
  display: block;
  color: #c5e9cc;
  font-size: 13px;
  padding: 5px 0 10px;
  text-align: left;
}
#visit-studio[hidden] {
  display: none;
}
.studio-heading {
  max-width: 650px;
  margin: 0 55px 30px 0;
}
.studio-heading .studio-mark {
  color: #9bd9b4;
  font-size: 34px;
}
.studio-heading h2 {
  font-size: 39px;
  margin: 12px 0;
}
.studio-heading p {
  color: #cadacb;
  line-height: 1.55;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.studio-grid h3 {
  font-size: 22px;
  margin: 0 0 20px;
}
.studio-grid h3 span {
  color: #e8c78b;
}
.portfolio-list {
  padding: 0;
  list-style: none;
  max-height: 365px;
  overflow: auto;
  margin: 0 0 18px;
}
.portfolio-list li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 0;
  border-bottom: 1px solid #39594a;
}
.portfolio-list li:first-child {
  padding-top: 0;
}
.portfolio-list span {
  color: #a2d4b1;
  font-size: 12px;
}
.portfolio-list small {
  color: #b3c6b8;
  font-size: 12px;
}
.course-offer {
  padding: 25px;
  border-radius: 12px;
  background: #214637;
}
.course-offer h3 {
  font-size: 27px;
  margin-bottom: 12px;
}
.course-offer p {
  font-size: 15px;
  line-height: 1.55;
}
.course-offer h4 {
  font-size: 15px;
  margin: 25px 0 15px;
}
.lesson-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lesson-links li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  padding: 8px 0;
  line-height: 1.4;
}
.lesson-links span {
  color: #e7c88c;
  min-width: 38px;
}
.course-offer .game-primary {
  display: flex;
  text-decoration: none;
  line-height: 1.4;
}
.studio-question {
  display: block;
  color: #d8e5d4;
  margin-top: 20px;
  font-size: 14px;
}
#back-to-city {
  margin-top: 25px;
}
#mission-dialog :focus-visible {
  outline: 2px solid #f2cd8e;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  #mission-dialog {
    width: calc(100vw - 20px);
  }
  .workshop-heading {
    gap: 12px;
    margin: 0 28px 20px 0;
  }
  .workshop-heading .quest-number {
    font-size: 38px;
  }
  .workshop-heading h2 {
    font-size: 24px;
  }
  .workshop-grid,
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .workshop-brief blockquote {
    font-size: 18px;
  }
  .workshop-steps {
    font-size: 11px;
  }
  .preview-empty {
    padding: 25px 20px;
  }
  .project-preview {
    min-height: 200px;
  }
  #project-result {
    grid-template-columns: 1fr;
  }
  .studio-heading {
    margin-right: 25px;
  }
  .studio-heading h2 {
    font-size: 30px;
  }
  .course-offer {
    padding: 20px;
  }
  .crm-columns {
    gap: 8px;
  }
  .demo-crm {
    padding: 18px;
  }
  .crm-columns > section {
    padding: 9px;
  }
  #game-intro .intro-copy h1 {
    font-size: clamp(43px, 12vw, 56px);
  }
}
#solution-step #quest-answers {
  display: grid;
  gap: 9px;
}
#solution-step [data-answer] {
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #627b68;
  border-radius: 8px;
  text-align: left;
  line-height: 1.4;
  font-size: 15px;
}
#solution-step [data-answer] > span {
  flex: none;
  color: #e5c489;
  min-width: 18px;
}
#solution-step [data-answer]:hover {
  background: #284d3b;
}
#game-shell #solution-step [data-answer].correct-answer {
  opacity: 1;
  background: #27553c;
  border-color: #88bd94;
}
#solution-step .wrong-answer {
  border-color: #ddb17b;
}
#close-mission {
  position: sticky;
  top: 0;
  float: right;
  z-index: 12;
  margin-bottom: -36px;
  background: #183c2e !important;
}

#game-shell #arrival-dialog {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  padding: 7vh 7vw;
  overflow: auto;
  background: linear-gradient(
    90deg,
    #092920fa,
    #10352bf2 38%,
    #193c2b66 67%,
    #193c2b10
  );
}
#game-shell #arrival-dialog::backdrop {
  background: #13362920;
  backdrop-filter: none;
}
#arrival-close {
  position: fixed;
  top: 22px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #153b2eef;
  color: #f3e6c6;
  font-size: 32px;
  line-height: 1;
  z-index: 5;
}
#arrival-body {
  width: min(610px, 51vw);
  min-height: 86vh;
  display: flex;
  flex-direction: column;
}
.arrival-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  color: #e9c887;
}
.arrival-heading > span:first-child {
  font-size: 49px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.arrival-heading > span:last-child {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.arrival-copy h2 {
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 23px;
  text-wrap: balance;
}
.arrival-lead {
  font-size: 21px;
  line-height: 1.5;
  color: #d2e0ca;
  margin: 0 0 24px;
}
.arrival-copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.arrival-copy li {
  position: relative;
  padding: 9px 0 9px 23px;
  font-size: 18px;
  line-height: 1.5;
}
.arrival-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e3c587;
}
.arrival-nuance {
  color: #b3cbb8;
  font-size: 14px;
  line-height: 1.6;
  margin: 22px 0;
  max-width: 55ch;
}
.arrival-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 22px 0;
}
#arrival-dialog .game-primary {
  width: auto;
  text-decoration: none;
  font-size: 15px;
}
#arrival-drive {
  color: #d0dfc4;
  padding: 13px 0;
  font-size: 14px;
}
.arrival-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 22px;
  margin-top: auto;
  color: #bdd0b8;
  font-size: 12px;
}
.arrival-footer > button {
  padding: 11px;
  border-radius: 7px;
  background: #224737;
  min-height: 42px;
}
.arrival-footer > span:nth-of-type(2) {
  margin-left: auto;
  font-size: 10px;
}
#arrival-skip {
  background: none;
  font-size: 11px;
}
.arrival-copy {
  animation: arrival-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes arrival-in {
  from {
    opacity: 0.4;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-height: 780px) and (min-width: 701px) {
  #game-shell #arrival-dialog {
    padding: 5vh 6vw;
  }
  #arrival-body {
    min-height: 90vh;
  }
  .arrival-heading {
    margin-bottom: 18px;
  }
  .arrival-heading > span:first-child {
    font-size: 36px;
  }
  .arrival-copy h2 {
    font-size: 43px;
    margin-bottom: 16px;
  }
  .arrival-lead {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .arrival-copy li {
    font-size: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .arrival-nuance {
    margin: 15px 0;
    font-size: 13px;
  }
  .arrival-actions {
    margin: 17px 0;
  }
  .arrival-footer {
    padding-top: 10px;
  }
}
@media (max-width: 700px) {
  #game-shell #arrival-dialog {
    padding: 90px 24px 25px;
    background: linear-gradient(90deg, #0a2b23f5, #11372be8);
  }
  #arrival-body {
    width: 100%;
    min-height: calc(100dvh - 115px);
  }
  #arrival-close {
    top: 16px;
    right: 18px;
  }
  .arrival-copy h2 {
    font-size: 38px;
  }
  .arrival-heading > span:first-child {
    font-size: 38px;
  }
  .arrival-lead {
    font-size: 18px;
  }
  .arrival-copy li {
    font-size: 16px;
  }
  .arrival-footer {
    flex-wrap: wrap;
    gap: 9px;
  }
  .arrival-footer > span:nth-of-type(2) {
    display: none;
  }
  #arrival-skip {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .arrival-copy {
    animation: none;
  }
}

/* The arrival scene is also a clean recording frame. */
#game-shell[data-arrival]:not([data-arrival=''])
  :is(.game-top, #game-hud, #world-labels, #game-toast) {
  visibility: hidden;
}
#arrival-body:focus {
  outline: none;
}
