/* [project]/workspace/src/styles/globals.css [client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-animation-delay: 0s;
      --tw-animation-direction: normal;
      --tw-animation-duration: initial;
      --tw-animation-fill-mode: none;
      --tw-animation-iteration-count: 1;
      --tw-enter-blur: 0;
      --tw-enter-opacity: 1;
      --tw-enter-rotate: 0;
      --tw-enter-scale: 1;
      --tw-enter-translate-x: 0;
      --tw-enter-translate-y: 0;
      --tw-exit-blur: 0;
      --tw-exit-opacity: 1;
      --tw-exit-rotate: 0;
      --tw-exit-scale: 1;
      --tw-exit-translate-x: 0;
      --tw-exit-translate-y: 0;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: var(--font-app-sans, ui-sans-serif, system-ui, sans-serif);
    --spacing: .25rem;
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --font-weight-bold: 700;
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --color-background: var(--background);
    --color-foreground: var(--foreground);
    --color-primary: var(--primary);
    --color-muted-foreground: var(--muted-foreground);
    --color-border: var(--border);
    --color-ring: var(--ring);
  }
}

@layer base {
  * {
    border-color: var(--color-border);
    outline-color: var(--color-ring);
  }

  @supports (color: color-mix(in lab, red, red)) {
    * {
      outline-color: color-mix(in oklab, var(--color-ring) 50%, transparent);
    }
  }

  body {
    background-color: var(--color-background);
    color: var(--color-foreground);
  }

  html {
    font-family: var(--font-app-sans, ui-sans-serif, system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

@layer components;

@layer utilities {
  .invisible {
    visibility: hidden;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .\!hidden {
    display: none !important;
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .table {
    display: table;
  }

  .size-4 {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }

  .size-5 {
    width: calc(var(--spacing) * 5);
    height: calc(var(--spacing) * 5);
  }

  .size-6 {
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
  }

  .h-full {
    height: 100%;
  }

  .min-h-full {
    min-height: 100%;
  }

  .min-h-screen {
    min-height: 100vh;
  }

  .flex-1 {
    flex: 1;
  }

  .grow {
    flex-grow: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .animate-in {
    animation: enter var(--tw-animation-duration, var(--tw-duration, .15s))var(--tw-ease, ease)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

  .animate-out {
    animation: exit var(--tw-animation-duration, var(--tw-duration, .15s))var(--tw-ease, ease)var(--tw-animation-delay, 0s)var(--tw-animation-iteration-count, 1)var(--tw-animation-direction, normal)var(--tw-animation-fill-mode, none);
  }

  .animate-pulse {
    animation: var(--animate-pulse);
  }

  .animate-spin {
    animation: var(--animate-spin);
  }

  .resize {
    resize: both;
  }

  .flex-col {
    flex-direction: column;
  }

  .items-center {
    align-items: center;
  }

  .justify-center {
    justify-content: center;
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .bg-background {
    background-color: var(--color-background);
  }

  .font-heading {
    font-family: var(--font-app-heading, var(--font-app-sans, ui-sans-serif, system-ui, sans-serif));
  }

  .font-mono {
    font-family: var(--font-app-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  }

  .font-sans {
    font-family: var(--font-app-sans, ui-sans-serif, system-ui, sans-serif);
  }

  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }

  .text-6xl {
    font-size: var(--text-6xl);
    line-height: var(--tw-leading, var(--text-6xl--line-height));
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }

  .text-foreground {
    color: var(--color-foreground);
  }

  .text-muted-foreground {
    color: var(--color-muted-foreground);
  }

  .lowercase {
    text-transform: lowercase;
  }

  .underline {
    text-decoration-line: underline;
  }

  .underline-offset-4 {
    text-underline-offset: 4px;
  }

  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .duration-500 {
    --tw-duration: .5s;
    transition-duration: .5s;
  }

  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }

  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }

  .fade-in {
    --tw-enter-opacity: 0;
  }

  .fade-out {
    --tw-exit-opacity: 0;
  }

  .paused {
    animation-play-state: paused;
  }

  .running {
    animation-play-state: running;
  }

  .slide-in-from-bottom-4 {
    --tw-enter-translate-y: calc(4*var(--spacing));
  }

  .zoom-in {
    --tw-enter-scale: 0;
  }

  .zoom-out {
    --tw-exit-scale: 0;
  }

  @media (hover: hover) {
    .hover\:text-primary:hover {
      color: var(--color-primary);
    }
  }
}

@property --tw-animation-delay {
  syntax: "*";
  inherits: false;
  initial-value: 0s;
}

@property --tw-animation-direction {
  syntax: "*";
  inherits: false;
  initial-value: normal;
}

@property --tw-animation-duration {
  syntax: "*";
  inherits: false
}

@property --tw-animation-fill-mode {
  syntax: "*";
  inherits: false;
  initial-value: none;
}

@property --tw-animation-iteration-count {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-enter-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-enter-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-blur {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-opacity {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-exit-rotate {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-scale {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-exit-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-exit-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

:root {
  --background: #fff;
  --foreground: #0a0a0a;
  --card: #fff;
  --card-foreground: #0a0a0a;
  --popover: #fff;
  --popover-foreground: #0a0a0a;
  --primary: #171717;
  --primary-foreground: #fafafa;
  --secondary: #f5f5f5;
  --secondary-foreground: #171717;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #f5f5f5;
  --accent-foreground: #171717;
  --destructive: #e40014;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #a1a1a1;
  --chart-1: #d4d4d4;
  --chart-2: #737373;
  --chart-3: #525252;
  --chart-4: #404040;
  --chart-5: #262626;
  --radius: .625rem;
  --sidebar: #fafafa;
  --sidebar-foreground: #0a0a0a;
  --sidebar-primary: #171717;
  --sidebar-primary-foreground: #fafafa;
  --sidebar-accent: #f5f5f5;
  --sidebar-accent-foreground: #171717;
  --sidebar-border: #e5e5e5;
  --sidebar-ring: #a1a1a1;
}

@supports (color: lab(0% 0 0)) {
  :root {
    --background: lab(100% 0 0);
    --foreground: lab(2.75381% 0 0);
    --card: lab(100% 0 0);
    --card-foreground: lab(2.75381% 0 0);
    --popover: lab(100% 0 0);
    --popover-foreground: lab(2.75381% 0 0);
    --primary: lab(7.78201% -.0000149012 0);
    --primary-foreground: lab(98.26% 0 0);
    --secondary: lab(96.52% -.0000298023 .0000119209);
    --secondary-foreground: lab(7.78201% -.0000149012 0);
    --muted: lab(96.52% -.0000298023 .0000119209);
    --muted-foreground: lab(48.496% 0 0);
    --accent: lab(96.52% -.0000298023 .0000119209);
    --accent-foreground: lab(7.78201% -.0000149012 0);
    --destructive: lab(48.4493% 77.4328 61.5452);
    --border: lab(90.952% 0 -.0000119209);
    --input: lab(90.952% 0 -.0000119209);
    --ring: lab(66.128% -.0000298023 .0000119209);
    --chart-1: lab(84.92% 0 -.0000119209);
    --chart-2: lab(48.496% 0 0);
    --chart-3: lab(34.924% 0 0);
    --chart-4: lab(27.036% 0 0);
    --chart-5: lab(15.204% 0 -.00000596046);
    --sidebar: lab(98.26% 0 0);
    --sidebar-foreground: lab(2.75381% 0 0);
    --sidebar-primary: lab(7.78201% -.0000149012 0);
    --sidebar-primary-foreground: lab(98.26% 0 0);
    --sidebar-accent: lab(96.52% -.0000298023 .0000119209);
    --sidebar-accent-foreground: lab(7.78201% -.0000149012 0);
    --sidebar-border: lab(90.952% 0 -.0000119209);
    --sidebar-ring: lab(66.128% -.0000298023 .0000119209);
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-duration {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

@keyframes enter {
  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0)scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1))rotate(var(--tw-enter-rotate, 0));
    filter: blur(var(--tw-enter-blur, 0));
  }
}

@keyframes exit {
  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0)scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1))rotate(var(--tw-exit-rotate, 0));
    filter: blur(var(--tw-exit-blur, 0));
  }
}

/* [project]/workspace/src/styles/town.css [client] (css) */
:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --ease-out: cubic-bezier(.23,1,.32,1);
  font-family: Inter, Segoe UI, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  color: canvastext;
  background: #172626;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

#town-root {
  display: contents;
}

[hidden] {
  display: none !important;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: .5;
}

button:focus-visible, input:focus-visible, select:focus-visible, canvas:focus-visible {
  outline-offset: 3px;
  outline: 2px solid #c5e3a7;
}

#town-view, #atlas-ui {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

#town-canvas, #fallback {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 0;
}

#town-canvas {
  touch-action: none;
}

#town-canvas:focus:not(:focus-visible) {
  outline: none;
}

#fallback {
  object-fit: cover;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  transition: opacity .5s var(--ease-out);
  z-index: 1;
}

#fallback.hidden {
  opacity: 0;
}

#town-view.is-deploying #town-canvas {
  cursor: crosshair !important;
}

#town-labels, #beacons {
  pointer-events: none;
  z-index: 2;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.dt-district, .dt-street, .dt-pin {
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
}

.dt-district, .dt-street {
  color: #edf4e8;
  text-shadow: 0 1px 3px #13221f, 0 0 8px #13221f;
  -webkit-user-select: none;
  user-select: none;
  font-weight: 680;
}

.dt-district {
  letter-spacing: .075em;
  text-transform: uppercase;
  font-size: 13px;
}

.dt-street {
  font-size: 11px;
}

.dt-pin {
  pointer-events: auto;
  background: none;
  border: 0;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px;
  display: flex;
}

.dt-pin__dot {
  border-radius: 50%;
  width: 0;
  height: 0;
}

.dt-pin--named .dt-pin__dot, .dt-pin--selected .dt-pin__dot, .dt-pin--hover .dt-pin__dot {
  background: #daefc2;
  border: 2px solid #233930;
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 3px #223b31a0;
}

.dt-pin__name {
  color: #e9f5e6;
  background: #213b34ed;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 700;
  display: none;
}

.dt-pin--named .dt-pin__name {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  #fallback {
    transition: none;
  }
}

:root {
  --paper: #f3f6ed;
  --secondary: #c2d0c6;
  --muted: #9fb4aa;
  --green: #d2edb7;
  --ink: #182e27;
  --stroke: #dbead736;
  --quiet: #e9fae911;
  --glow: #edf8e7;
  --panel-gap: clamp(10px,1.6vw,24px);
  --panel-width: min(342px,calc(100vw - 2 * var(--panel-gap)));
  --glass-blur: 25px;
  --glass-tint: #122122ad;
}

#atlas-ui {
  z-index: 10;
  pointer-events: none;
  color: var(--paper);
}

.glass {
  border: 1px solid var(--stroke);
  background: linear-gradient(147deg,#d8f1df18 0%,transparent 52%,#a4d1c90d 100%),var(--glass-tint);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.38);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.38);
  border-top-color: #f2fff265;
  box-shadow: 0 14px 40px #07181542, inset 0 1px #f5fff221, inset 0 -1px #f5fff210;
}

.panel {
  pointer-events: auto;
  border-radius: 18px;
  flex-direction: column;
  min-width: 0;
  display: flex;
  position: absolute;
  overflow: hidden;
}

.panel.is-moving {
  -webkit-user-select: none;
  user-select: none;
}

.panel.is-minimized > .panel-body {
  display: none;
}

.panel.is-minimized .panel-bar {
  border-bottom-color: #0000;
}

.panel-bar {
  border-bottom: 1px solid #d9e5d522;
  flex: none;
  align-items: center;
  gap: 7px;
  min-height: 49px;
  padding: 7px 10px 7px 15px;
  display: flex;
}

.panel h2 {
  letter-spacing: -.015em;
  margin: 0 auto 0 0;
  font-size: 14px;
  font-weight: 710;
  line-height: 1.2;
}

.panel-meta {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 11px;
}

.panel-body {
  scrollbar-width: thin;
  scrollbar-color: #a5c0ae6a transparent;
  min-height: 0;
  padding: 13px 14px 15px;
  overflow: auto;
}

.panel-button, .drag-handle, .text-button {
  color: var(--secondary);
  background: none;
  border: 0;
  border-radius: 7px;
  place-items: center;
  display: grid;
}

.panel-button, .drag-handle {
  flex: none;
  width: 27px;
  height: 29px;
  padding: 0;
  font-size: 17px;
  line-height: 1;
}

.drag-handle {
  cursor: grab;
  touch-action: none;
  letter-spacing: -.1em;
  font-size: 17px;
}

.drag-handle:active {
  cursor: grabbing;
}

.panel-button:focus-visible, .drag-handle:focus-visible {
  outline-offset: -1px;
}

.text-button {
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 650;
}

.masthead {
  top: var(--panel-gap);
  left: var(--panel-gap);
  width: min(255px,calc(100vw - 2 * var(--panel-gap)));
}

.masthead .panel-bar {
  gap: 9px;
  padding: 10px 10px 10px 12px;
}

.brand-copy {
  flex-direction: column;
  gap: 3px;
  margin-right: auto;
  line-height: 1.12;
  display: flex;
}

.brand-copy strong {
  letter-spacing: -.06em;
  font-size: 19px;
  font-weight: 760;
}

.brand-copy span {
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #bbd0c4;
  font-size: 9px;
  font-weight: 680;
}

.brand-emblem {
  width: 35px;
  height: 35px;
  color: var(--ink);
  background: #c8e9b6;
  border-radius: 10px;
  justify-content: center;
  align-items: end;
  gap: 2px;
  padding: 8px 7px;
  display: flex;
  box-shadow: inset 0 1px #f6fff1ab;
}

.brand-emblem span {
  background: currentColor;
  border-radius: 1.5px;
  width: 5px;
  height: 11px;
}

.brand-emblem span:nth-child(2) {
  height: 18px;
}

.brand-emblem span:nth-child(3) {
  height: 14px;
}

.masthead-status {
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px 6px 13px;
  display: flex;
}

#town-status {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  color: var(--secondary);
  font-size: 10.5px;
  overflow: hidden;
}

#town-status:before {
  content: "";
  vertical-align: 1px;
  background: #e6bf8f;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  display: inline-block;
}

#town-status[data-state="ready"]:before {
  background: #b9db9b;
  box-shadow: 0 0 8px #b9db9b80;
}

.directory {
  top: calc(var(--panel-gap) + 103px);
  left: var(--panel-gap);
  width: var(--panel-width);
  max-height: min(590px, 100dvh - 210px);
}

.directory-body {
  flex-direction: column;
  padding: 12px;
  display: flex;
  overflow: hidden;
}

.directory-body .place-list {
  scrollbar-width: thin;
  scrollbar-color: #a5c0ae6a transparent;
  min-height: 0;
  margin-top: 9px;
  padding: 0 2px 3px;
  overflow: auto;
}

.search {
  border: 1px solid var(--stroke);
  color: var(--muted);
  background: #091d205c;
  border-radius: 9px;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  display: flex;
}

.search span {
  font-size: 23px;
  line-height: 1;
}

.search input {
  color: var(--paper);
  background: none;
  border: 0;
  width: 100%;
  height: 34px;
  font-size: 12px;
}

.search input::placeholder {
  color: #aebfb6;
}

.search:focus-within {
  border-color: #d6edb6;
}

.search input:focus-visible {
  outline: none;
}

.place-group {
  margin: 8px 0 6px;
}

.place-group h3 {
  text-transform: uppercase;
  letter-spacing: .095em;
  color: #c4d3c8;
  align-items: center;
  gap: 7px;
  margin: 5px 0;
  font-size: 10px;
  font-weight: 700;
  display: flex;
}

.place-group h3:after {
  content: "";
  background: #e4efe52b;
  flex: 1;
  height: 1px;
}

.place-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  display: grid;
}

.place-button {
  text-align: left;
  color: #e9f1e7;
  background: #e4f5e90b;
  border: 1px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 32px;
  padding: 4px 6px;
  font-size: 11.5px;
  line-height: 1.12;
  display: flex;
}

.place-button .place-icon {
  flex: none;
  font-size: 13px;
}

.place-button[aria-current="true"] {
  color: #f5ffe9;
  background: #d1efb531;
  border-color: #c8e6ad8f;
}

.lesson {
  right: var(--panel-gap);
  bottom: calc(var(--panel-gap) + 76px);
  width: min(402px,calc(100vw - 2 * var(--panel-gap)));
  max-height: min(515px, 100dvh - 157px);
}

.lesson-body {
  padding: 13px 15px 15px;
}

.lesson-tools {
  grid-template-columns: minmax(0, 1fr) 66px auto;
  align-items: end;
  gap: 8px;
  margin-bottom: 13px;
  display: grid;
}

.label-select {
  color: var(--secondary);
  gap: 4px;
  font-size: 10px;
  font-weight: 670;
  display: grid;
}

select {
  color: var(--paper);
  border: 1px solid var(--stroke);
  background: #172b2b;
  border-radius: 8px;
  min-width: 0;
  height: 33px;
  padding: 3px 6px;
  font-size: 12px;
}

select option {
  color: var(--paper);
  background: #172b2b;
}

.speak-button {
  align-self: end;
  min-width: 35px;
}

.lesson-prompt {
  letter-spacing: -.035em;
  text-wrap: pretty;
  margin: 0 0 6px;
  font-size: clamp(16px, 1.55vw, 23px);
  font-weight: 700;
  line-height: 1.18;
}

.lesson-copy, .context, .detail-copy, .camera-tip {
  color: var(--secondary);
  margin: 6px 0 10px;
  font-size: 12px;
  line-height: 1.48;
}

.answers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
  display: grid;
}

.answers button {
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

.quiet-button, .primary-button {
  border: 1px solid var(--stroke);
  min-height: 33px;
  color: var(--paper);
  background: var(--quiet);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 620;
  transition: background-color .14s, border-color .14s;
}

.primary-button {
  color: #1b3229;
  background: #d3edbb;
  border-color: #e9f8d6;
}

.quiet-button[aria-pressed="true"], .quiet-button.is-correct {
  color: #eefbe2;
  background: #a7d18d29;
  border-color: #c9edab99;
}

.quiet-button.is-incorrect {
  color: #ffdbcd;
  background: #bc594326;
  border-color: #ffbfa37d;
}

.quiet-button:disabled.is-correct, .quiet-button:disabled.is-incorrect {
  opacity: 1;
}

.action-row, .control-pair {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.control-pair > * {
  flex: 1;
  min-width: 0;
}

.control-pair + .control-pair {
  margin-top: 7px;
}

.wide-button {
  width: 100%;
}

.lesson-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  display: flex;
}

.lesson-actions .lesson-index {
  color: var(--muted);
  margin-right: auto;
  font-size: 10.5px;
}

.feedback {
  background: #a1cfa119;
  border-left: 2px solid #baddaa;
  border-radius: 0 6px 6px 0;
  margin-top: 9px;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.4;
}

.feedback.bad {
  background: #ffbfa318;
  border-color: #ffbfa3;
}

.route-practice {
  color: #d9eee2;
  border-left: 2px solid #93c6b2;
  padding-left: 8px;
}

.tokens, .sentence-output {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}

.sentence-output {
  color: #d7e7da;
  border: 1px solid #d5e8d337;
  border-radius: 9px;
  align-items: center;
  min-height: 36px;
  margin: 8px 0;
  padding: 6px;
  font-size: 12px;
}

.tokens .quiet-button, .sentence-output .quiet-button {
  min-height: 29px;
}

.world, .details {
  top: var(--panel-gap);
  right: var(--panel-gap);
  width: var(--panel-width);
  max-height: calc(100dvh - 108px);
}

.details .panel-body {
  padding: 14px;
}

.detail-head {
  align-items: center;
  gap: 10px;
  display: flex;
}

.detail-emblem {
  color: #233728;
  border-radius: 11px;
  flex: none;
  place-items: center;
  width: 39px;
  height: 39px;
  font-size: 21px;
  display: grid;
}

.detail-head h3 {
  letter-spacing: -.04em;
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
}

.detail-head small {
  color: var(--secondary);
  font-size: 11px;
}

.detail-fields {
  grid-template-columns: max-content 1fr;
  gap: 7px 10px;
  margin: 14px 0;
  font-size: 12px;
  display: grid;
}

.detail-fields dt {
  color: var(--muted);
}

.detail-fields dd {
  margin: 0;
  font-weight: 650;
}

.example {
  border: 1px solid var(--stroke);
  background: #0c1c205b;
  border-radius: 8px;
  margin: 8px 0;
  padding: 9px;
  font-size: 13px;
  line-height: 1.45;
}

.world-body, .camera-body {
  padding: 12px 14px 15px;
}

.setting-line {
  min-height: 28px;
  color: var(--secondary);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
  font-size: 12px;
  display: flex;
}

.setting-line output {
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  accent-color: #cce9b2;
  width: 100%;
  margin: 0 0 8px;
}

input[type="checkbox"] {
  accent-color: #cce9b2;
  width: 16px;
  height: 16px;
  margin: 0 2px;
}

.time-presets {
  flex-wrap: nowrap;
}

.time-presets button {
  flex: 1;
  padding: 5px 3px;
  font-size: 10px;
}

.world-body > .wide-button, .camera-body > .wide-button {
  margin-top: 8px;
}

.camera-panel {
  top: calc(var(--panel-gap) + 7px);
  right: calc(var(--panel-gap) + 8px);
  width: var(--panel-width);
  max-height: calc(100dvh - 118px);
}

.key-list {
  gap: 4px;
  margin: 10px 0 7px;
  font-size: 11px;
  display: grid;
}

.key-list > div {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.key-list dd {
  color: var(--secondary);
  text-align: right;
  margin: 0;
}

kbd {
  color: #e7f2e4;
  background: #d7ebd610;
  border: 1px solid #dbe9d341;
  border-bottom-width: 2px;
  border-radius: 4px;
  place-items: center;
  min-width: 17px;
  padding: 2px 4px;
  font-size: 9px;
  display: inline-grid;
}

.walking {
  left: var(--panel-gap);
  bottom: calc(var(--panel-gap) + 76px);
  width: min(220px,calc(100vw - 2 * var(--panel-gap)));
}

.walking-body {
  padding: 8px;
}

.touch-pad {
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 4px;
  margin-top: 7px;
  display: none;
}

.touch-pad button {
  touch-action: none;
  border: 1px solid var(--stroke);
  background: var(--quiet);
  color: var(--paper);
  border-radius: 8px;
  min-height: 36px;
  font-size: 17px;
}

.touch-pad button:first-child {
  grid-column: 2;
}

.touch-pad button:nth-child(2) {
  grid-column: 1;
}

.touch-pad button:active {
  background: #bdeaa751;
}

.dock {
  bottom: var(--panel-gap);
  max-width: calc(100vw - 2 * var(--panel-gap));
  border-radius: 20px;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  padding: 5px 6px;
  left: 50%;
  transform: translateX(-50%);
}

.dock-actions {
  align-items: center;
  gap: 3px;
  padding: 0;
  display: flex;
  overflow: visible;
}

.dock-actions > button {
  color: #e5f0e8;
  background: none;
  border: 1px solid #0000;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  min-width: 52px;
  min-height: 49px;
  padding: 4px 5px;
  font-size: 10px;
  font-weight: 690;
  transition: background-color .14s;
  display: flex;
}

.dock-actions > button span {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.03;
}

.dock-actions > button[aria-expanded="true"], .dock-actions > button[aria-pressed="true"] {
  background: #d9f4c327;
  border-color: #dbf1cd3b;
}

.dock-divider {
  background: #dce9dd35;
  width: 1px;
  height: 25px;
  margin: 0 1px;
}

.dock-grip, .dock-collapse {
  width: 21px;
}

.notice {
  left: 50%;
  bottom: calc(var(--panel-gap) + 72px);
  text-align: center;
  z-index: 350;
  pointer-events: none;
  border-radius: 11px;
  max-width: min(88vw, 550px);
  padding: 8px 13px;
  font-size: 12px;
  position: absolute;
  transform: translateX(-50%);
}

.empty {
  color: var(--secondary);
  margin: 13px 1px;
  font-size: 12px;
}

#atlas-ui.is-presenting :is(.masthead, .directory, .details, .world, .camera-panel) {
  display: none;
}

#atlas-ui.is-presenting .lesson {
  width: min(560px,calc(100vw - 2 * var(--panel-gap)));
}

#atlas-ui.is-presenting .lesson-prompt {
  font-size: clamp(22px, 2.5vw, 36px);
}

#atlas-ui.is-presenting .dock-actions > button[data-open="places"], #atlas-ui.is-presenting .dock-actions > button[data-open="world"] {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .panel-button:hover, .drag-handle:hover, .text-button:hover, .quiet-button:hover:not(:disabled), .dock-actions > button:hover:not(:disabled), .place-button:hover {
    background-color: #d8eee22d;
  }

  .primary-button:hover {
    background-color: #e2f8cd;
  }
}

@media (max-width: 850px) {
  .directory {
    max-height: calc(100dvh - 194px);
  }

  .lesson {
    max-height: min(480px, 100dvh - 145px);
  }

  .walking {
    bottom: calc(var(--panel-gap) + 78px);
  }
}

@media (max-width: 520px) {
  .masthead {
    width: 214px;
  }

  .masthead .panel-bar {
    min-height: 43px;
    padding: 7px 8px 7px 9px;
  }

  .brand-emblem {
    width: 30px;
    height: 30px;
    padding: 6px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .panel {
    border-radius: 14px;
  }

  .panel-bar {
    min-height: 42px;
  }

  .directory {
    top: calc(var(--panel-gap) + 82px);
    width: min(326px,calc(100vw - 2 * var(--panel-gap)));
  }

  .lesson, .walking {
    bottom: calc(var(--panel-gap) + 65px);
  }

  .walking {
    width: 148px;
  }

  .walking .panel-bar {
    padding-left: 8px;
  }

  .walking .panel-bar h2 {
    font-size: 12px;
  }

  .dock {
    border-radius: 14px;
    padding: 4px 3px;
  }

  .dock-actions {
    gap: 0;
  }

  .dock-actions > button {
    gap: 1px;
    min-width: clamp(34px, 11vw, 49px);
    min-height: 41px;
    padding: 3px;
    font-size: 9px;
  }

  .dock-actions > button span {
    font-size: 17px;
  }

  .dock-grip, .dock-collapse {
    width: 18px;
  }

  .dock-divider {
    margin: 0;
  }
}

@media (pointer: coarse) {
  .touch-pad {
    display: grid;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass {
    -webkit-backdrop-filter: none;
    background: #1a302f;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    transition-duration: 0s !important;
  }
}

.interior-banner {
  pointer-events: auto;
  z-index: 1000;
  left: 50%;
  top: var(--panel-gap);
  border-radius: 14px;
  align-items: center;
  gap: 11px;
  width: max-content;
  max-width: calc(100vw - 20px);
  padding: 7px 9px 7px 13px;
  font-size: 13px;
  display: flex;
  position: absolute;
  transform: translateX(-50%);
}

.interior-banner span {
  color: var(--secondary);
  font-size: 11px;
}

.is-inside .walking {
  display: none;
}

.is-inside .directory, .is-inside .lesson {
  opacity: .82;
}

body:has(.is-inside) #town-labels {
  visibility: hidden;
}

@media (max-width: 720px) {
  .interior-banner {
    top: calc(var(--panel-gap) + 78px);
  }

  .interior-banner span, .is-inside .directory, .is-inside .lesson, .is-inside .dock {
    display: none;
  }
}

.classroom {
  top: var(--panel-gap);
  right: var(--panel-gap);
  width: min(465px,calc(100vw - 2 * var(--panel-gap)));
  max-height: calc(100dvh - 105px);
}

.classroom-body {
  flex-direction: column;
  padding: 0;
  display: flex;
  overflow: hidden;
}

.classroom-tabs {
  border-bottom: 1px solid var(--stroke);
  flex: none;
  padding: 10px 12px 8px;
}

#class-content {
  scrollbar-width: thin;
  min-height: 0;
  padding: 10px 14px 15px;
  overflow: auto;
}

.classroom .setting-line input[type="range"] {
  width: 62%;
}

#class-content h3 {
  letter-spacing: -.025em;
  margin: 5px 0 8px;
  font-size: 20px;
  line-height: 1.18;
}

#class-content h4 {
  margin: 11px 0 5px;
  font-size: 13px;
}

#class-content p, #class-content li {
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.46;
}

#class-content ol {
  padding-left: 21px;
}

.classroom .class-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
  display: flex;
}

.classroom .class-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 8px 0;
  display: grid;
}

.classroom .class-grid label {
  color: var(--secondary);
  align-items: center;
  gap: 5px;
  min-height: 30px;
  font-size: 11px;
  display: flex;
}

.classroom .class-wide {
  width: 100%;
}

.classroom input[type="number"], .classroom input[type="text"] {
  width: 100%;
  min-width: 0;
  color: var(--paper);
  border: 1px solid var(--stroke);
  background: #172b2b;
  border-radius: 8px;
  min-height: 33px;
  padding: 5px 7px;
}

.classroom .setting-line input[type="number"] {
  width: 104px;
}

.classroom .setting-line select {
  max-width: 58%;
}

.classroom .clue-card {
  background: #8ec8a215;
  border-left: 2px solid #aad4b5;
  border-radius: 0 8px 8px 0;
  padding: 6px 9px;
}

.classroom .quiz-choice {
  text-align: left;
  white-space: normal;
  min-height: 35px;
}

.classroom .class-scroll {
  scrollbar-width: thin;
  max-height: 179px;
  overflow: auto;
}

.classroom .class-score {
  color: var(--green);
}

.classroom .class-meta {
  color: var(--muted);
  font-size: 11px;
}

.class-map {
  aspect-ratio: 700 / 640;
  background: #cad7b2;
  border: 1px solid #d1e5b2;
  border-radius: 11px;
  max-width: 350px;
  margin: 10px auto;
  position: relative;
  overflow: hidden;
}

.class-map svg {
  width: 100%;
  height: 100%;
  display: block;
}

.class-map svg text {
  fill: #324337;
  text-anchor: middle;
  font-size: 22px;
  font-weight: 700;
}

.class-map svg .flat-street {
  fill: #5b6158;
  dominant-baseline: middle;
  font-size: 12px;
}

.flat-land {
  fill: #b7cba0;
}

.flat-block {
  fill: #d3ccb5;
}

.flat-road {
  fill: #f7f0df;
}

.flat-park {
  fill: #a2c283;
}

.flat-play {
  fill: #e1bf85;
}

.flat-water {
  fill: #648ba0;
}

.flat-plaza {
  fill: #ddd0ab;
}

.flat-building {
  fill: #ad8364;
  stroke: #81664f;
  stroke-width: 1.5px;
}

.flat-track {
  fill: none;
  stroke: #676356;
  stroke-width: 3px;
}

.flat-route {
  fill: none;
  stroke: #8d3c12;
  stroke-width: 6px;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 3 9;
}

.flat-route-start {
  fill: #8d3c12;
  stroke: #fff4d0;
  stroke-width: 3px;
}

.class-map button {
  color: #fff;
  cursor: pointer;
  z-index: 1;
  background: #25463b;
  border: 1px solid #e2f1c7;
  border-radius: 6px;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 1px 4px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  position: absolute;
  transform: translate(-50%, -50%);
}

.class-map button:hover, .class-map button:focus-visible, .class-map button[aria-pressed="true"] {
  color: #fff6dc;
  z-index: 2;
  background: #743c14;
}

.class-map button:disabled {
  cursor: default;
}

body.class-quiz-map #town-labels .dt-pin--selected .dt-pin__dot {
  background: #f2d588;
  border-color: #ffebbd;
}

#class-clean-exit {
  right: var(--panel-gap);
  top: var(--panel-gap);
  pointer-events: auto;
  z-index: 1400;
  position: absolute;
}

#atlas-ui.class-clean > :not(#class-clean-exit) {
  visibility: hidden;
}

body:has(#atlas-ui.class-clean) :is(#town-labels, #beacons, #place-selection) {
  visibility: hidden;
}

body.class-hide-place :is(#places, #lesson, #details, #beacons), body.class-hide-place #town-labels .dt-pin:not(.dt-pin--candidate), body.class-hide-place #town-labels .dt-pin__name {
  visibility: hidden;
}

body.class-quiz-map #town-labels .dt-pin--badge .dt-pin__dot, body.class-show-numbers:not(.class-hide-place) #town-labels .dt-pin--badge .dt-pin__dot {
  color: #192f25;
  background: #d9f2b7;
  border: 1px solid #e6f4cd;
  border-radius: 50%;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 12px;
  font-weight: 800;
  display: grid;
}

@media (max-width: 520px) {
  .classroom {
    max-height: calc(100dvh - 86px);
  }

  .dock-actions > button[data-open="classroom"] {
    min-width: 36px;
  }

  .dock-actions > button {
    min-width: clamp(30px, 9.3vw, 46px);
  }
}

.town-welcome {
  --welcome-amber: #f7bb48;
  --welcome-ink: #182733;
  z-index: 500;
  overscroll-behavior: contain;
  color: #fffaf1;
  font-family: var(--font-app-sans, "Segoe UI",sans-serif);
  background: linear-gradient(90deg, #131a27f7 0%, #131a27ce 29%, #131a2748 68%, #0d121b22), linear-gradient(0deg, #141824da, #0000 47%);
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: auto;
}

.welcome-content {
  width: min(100%, 650px);
  margin: auto 0;
  padding: 42px clamp(22px, 4vw, 60px);
}

.welcome-brand {
  text-transform: uppercase;
  letter-spacing: .19em;
  color: var(--welcome-amber);
  font-size: 12px;
  font-weight: 720;
}

.welcome-content h1 {
  font-family: var(--font-app-heading, Georgia,serif);
  font-variation-settings: "SOFT" 100;
  letter-spacing: -.07em;
  margin: 10px 0 0;
  font-size: clamp(63px, 8vw, 119px);
  line-height: .96;
}

.welcome-intro {
  letter-spacing: -.035em;
  max-width: 440px;
  margin: 24px 0 28px;
  font-size: clamp(17px, 2.05vw, 24px);
  line-height: 1.55;
}

.welcome-steps {
  counter-reset: welcome-step;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
}

.welcome-steps li {
  counter-increment: welcome-step;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #d3e5ff14;
  border: 1px solid #e9f1ff36;
  border-radius: 16px;
  min-height: 102px;
  padding: 15px 13px;
}

.welcome-steps strong {
  color: #ffca63;
  margin-bottom: 5px;
  font-size: 15px;
  display: block;
}

.welcome-steps strong:before {
  content: counter(welcome-step) ". ";
}

.welcome-steps li span {
  color: #f5f2e8;
  font-size: 13px;
  line-height: 1.4;
  display: block;
}

.welcome-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.welcome-actions button, .home-control {
  color: #fdf9ed;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #d3e5ff1f;
  border: 1px solid #f3f7ff47;
  border-radius: 15px;
  min-height: 48px;
  padding: 0 14px;
  font-weight: 650;
}

.welcome-actions button:hover, .home-control:hover {
  background: #d3e5ff39;
}

.welcome-actions .welcome-primary {
  background: var(--welcome-amber);
  min-height: 59px;
  color: var(--welcome-ink);
  padding: 0 19px;
  font-size: 21px;
  box-shadow: 0 3px #aa7427, 0 9px 27px #f7bb4838;
}

.welcome-actions .welcome-primary:hover {
  background: #ffd078;
}

.welcome-actions .welcome-primary kbd {
  color: #37230d;
  background: #86570f26;
  border: 0;
  border-radius: 5px;
  margin-left: 7px;
  padding: 2px 5px;
  font-size: 11px;
}

.welcome-actions button:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #fff4dd;
}

.welcome-status {
  color: #eeece4b9;
  flex-wrap: wrap;
  gap: 6px 15px;
  margin: 20px 0 0;
  font-size: 12px;
  display: flex;
}

#welcome-load:not(:empty):before {
  content: "";
  background: var(--welcome-amber);
  vertical-align: 2px;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  display: inline-block;
}

.welcome-dig {
  pointer-events: none;
  align-items: flex-start;
  gap: 10px;
  display: flex;
  position: absolute;
  bottom: 27px;
  right: clamp(24px, 3vw, 64px);
}

.welcome-dig p {
  max-width: 205px;
  color: var(--welcome-ink);
  background: #fff8eb;
  border-radius: 17px 17px 3px;
  margin: 0;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  box-shadow: 0 9px 30px #0006;
}

.welcome-dog {
  filter: drop-shadow(0 8px 12px #0006);
  width: 132px;
  margin-top: 25px;
}

@keyframes welcome-wag {
  from {
    transform: rotate(-11deg);
  }

  to {
    transform: rotate(12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-dog .dt-wag {
    animation: none;
  }
}

@media (max-width: 780px) {
  .town-welcome {
    background: linear-gradient(90deg, #121a27ee, #121a279c), linear-gradient(0deg, #131a26b8, #0000);
  }

  .welcome-content {
    padding-block: 35px 112px;
  }

  .welcome-dig {
    bottom: 12px;
    right: 15px;
  }

  .welcome-dig p {
    max-width: 154px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .welcome-dog {
    width: 81px;
    margin-top: 2px;
  }
}

@media (max-width: 490px) {
  .welcome-content h1 {
    font-size: clamp(46px, 14vw, 69px);
  }

  .welcome-intro {
    margin: 15px 0 19px;
  }

  .welcome-steps {
    gap: 6px;
    margin-bottom: 17px;
  }

  .welcome-steps li {
    min-height: 86px;
    padding: 8px;
  }

  .welcome-steps strong, .welcome-steps li span {
    font-size: 12px;
  }

  .welcome-actions {
    gap: 7px;
  }

  .welcome-actions button {
    min-height: 43px;
    padding: 0 9px;
    font-size: 12px;
  }

  .welcome-actions .welcome-primary {
    min-height: 46px;
    padding: 0 12px;
    font-size: 16px;
  }

  .welcome-primary kbd {
    display: none;
  }
}

@media (max-height: 590px) {
  .welcome-content {
    padding-block: 24px;
  }

  .welcome-dig {
    display: none;
  }
}

.home-control {
  border-radius: 7px;
  min-height: 23px;
  padding: 0 7px;
  font-size: 10px;
}

.welcome-active #atlas-ui, .welcome-active #town-labels, .welcome-active #beacons, .welcome-active #place-selection {
  visibility: hidden;
}

.camera-feel {
  border: 1px solid var(--stroke);
  border-radius: 11px;
  margin: 11px 0;
  padding: 6px 10px 9px;
}

.camera-feel legend {
  color: var(--paper);
  padding: 0 5px;
  font-size: 12px;
  font-weight: 650;
}

.camera-feel input[type="range"] {
  width: 50%;
}

.masthead-status {
  gap: 7px;
}

.classroom .tour-card {
  text-align: left;
  white-space: normal;
  flex-direction: column;
  align-items: flex-start;
  min-height: 65px;
  padding: 9px;
  display: flex;
}

.classroom .tour-card span {
  color: var(--secondary);
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.35;
}

:root {
  --paper: #faf3e7;
  --secondary: #e0dbd3;
  --muted: #b9c4cf;
  --green: #f9d793;
  --ink: #172534;
  --stroke: #eaf2ff36;
  --quiet: #f1f3ff15;
  --glow: #f6f0dd;
  --panel-gap: clamp(11px,1.55vw,25px);
  --panel-width: min(332px,calc(100vw - 2 * var(--panel-gap)));
  font-family: var(--font-app-sans, "Segoe UI",sans-serif);
  accent-color: #f1c681;
}

#atlas-ui {
  color: var(--paper);
}

.glass {
  --glass-tint: #101d2cbf;
  background: linear-gradient(151deg,#dae9ff19 0%,#d0e6ff04 60%,#6653430f),var(--glass-tint);
  -webkit-backdrop-filter: blur(20px) saturate(1.23);
  border: 1px solid #f3f5ff44;
  border-top-color: #fff8ee7b;
  box-shadow: 0 15px 40px #09131ea1, inset 0 1px #ffffff30, inset 0 -1px 1px #d6eaff18;
}

body.live-glass #atlas-ui .glass {
  -webkit-backdrop-filter: none;
  background: linear-gradient(151deg, #f5ecdc16, #0000 52%, #6fa5d20a), #0a192830;
}

.panel {
  border-radius: 23px;
}

.panel-bar {
  background: linear-gradient(90deg, #d9e2f511, #9fc3e405);
  border-bottom: 1px solid #e5eff71d;
  min-height: 53px;
  padding-left: 16px;
}

.panel h2 {
  letter-spacing: -.02em;
  font-size: 14px;
  font-weight: 650;
}

.panel-body {
  scrollbar-color: #fff5df70 transparent;
}

.panel-button, .drag-handle, .text-button {
  color: #f4e9d5;
}

.panel-button:hover, .drag-handle:hover, .text-button:hover {
  background: #f2e9db20;
}

.masthead {
  width: min(262px,calc(100vw - 2 * var(--panel-gap)));
  border-radius: 20px;
}

.brand-copy strong {
  font: 700 23px/.96 var(--font-app-heading, Georgia,serif);
  letter-spacing: -.047em;
  white-space: nowrap;
}

.brand-copy span {
  color: #e9ddbf;
  letter-spacing: .14em;
  margin-top: 3px;
  font-size: 8px;
  font-weight: 510;
}

.brand-emblem {
  color: #1c2f43;
  background: linear-gradient(145deg, #f9dc9c, #bb8d55);
  border-radius: 13px;
  width: 41px;
  height: 41px;
  padding: 8px;
}

.brand-emblem svg {
  width: 24px;
  height: 24px;
}

.directory {
  top: calc(var(--panel-gap) + 111px);
}

.quiet-button, .primary-button, .place-button, .control-pair select, .setting-line select, #lesson select {
  border-color: #e5edfe29;
  border-radius: 11px;
}

.quiet-button, .place-button, .control-pair select, .setting-line select, #lesson select {
  color: var(--paper);
  background: #e4edff13;
}

.quiet-button[aria-pressed="true"], .place-button[aria-current="true"] {
  color: #fff4dc;
  background: #f7d49537;
  border-color: #f6db9873;
}

.quiet-button:hover:not(:disabled), .place-button:hover {
  background: #edf0ff28;
}

.primary-button {
  color: #172739;
  background: linear-gradient(150deg, #ffe1a5, #eac078);
  border-color: #f8db9a;
  font-weight: 700;
  box-shadow: inset 0 1px #fff5c9;
}

.primary-button:hover:not(:disabled) {
  background: #ffe0a7;
}

.setting-line select option, #lesson select option {
  color: #fff7eb;
  background: #223346;
}

.brand-copy strong, .lesson-prompt, .detail-head h3, .mystery h3, #class-content h3 {
  font-family: var(--font-app-heading, Georgia,serif);
}

.lesson-prompt, .detail-head h3, .mystery h3, #class-content h3 {
  letter-spacing: -.025em;
  font-weight: 630;
}

.search, .classroom input[type="number"], .classroom input[type="text"], .mystery input {
  color: #fff6e8;
  background: #111f32ac;
  border: 1px solid #e0eaff37;
  border-radius: 10px;
}

.search input::placeholder, .mystery input::placeholder {
  color: #c4cad3;
}

.place-group h3 {
  color: #d5dbe0;
  letter-spacing: .105em;
  font-weight: 630;
}

.dock {
  border-radius: 26px;
  gap: 5px;
  padding: 6px 8px;
  box-shadow: 0 13px 34px #09131e99, inset 0 1px #fff4, inset 0 -1px 1px #d6eaff20;
}

.dock-actions {
  gap: 3px;
}

.dock-actions button {
  letter-spacing: -.03em;
  border-radius: 15px;
  min-width: 55px;
  padding: 4px 7px;
  font-size: 9px;
}

.dock-actions button svg {
  stroke-width: 1.6px;
  width: 18px;
  height: 18px;
  margin-bottom: 2px;
}

.dock-actions button[aria-expanded="true"], .dock-actions button[aria-pressed="true"] {
  color: #ffedca;
  background: linear-gradient(152deg, #fbd19449, #ecd4aa0d);
  border-color: #f6dca750;
  box-shadow: inset 0 1px #fff0c04d, 0 2px 10px #09131e33;
}

.dock-actions #dock-mystery {
  color: #ffdb92;
}

.dock-actions #dock-mystery[aria-pressed="true"] {
  color: #172638;
  background: linear-gradient(152deg, #eec57b, #c59c62);
}

.dock-divider {
  background: #d6e9f040;
}

.view-tools {
  right: var(--panel-gap);
  bottom: var(--panel-gap);
  pointer-events: auto;
  z-index: 10;
  border-radius: 19px;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  display: flex;
  position: absolute;
}

.view-tools button {
  color: #ffefd5;
  background: none;
  border: 0;
  border-radius: 12px;
  width: 33px;
  height: 36px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.view-tools button:hover {
  background: #dce7fa30;
}

.view-tools svg {
  vertical-align: middle;
  width: 18px;
  height: 18px;
}

#camera-context {
  color: #f4e2c0;
  text-align: center;
  min-width: 59px;
  padding: 0 7px;
  font-size: 10px;
}

.mystery {
  top: var(--panel-gap);
  right: var(--panel-gap);
  width: min(365px,calc(100vw - var(--panel-gap)*2));
  max-height: calc(100dvh - 123px);
}

.mystery p, .mystery label {
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.48;
}

.mystery label {
  margin-bottom: 4px;
  display: inline-block;
}

.mystery-actions {
  border-top: 1px solid #e5eff728;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 11px;
  display: flex;
}

.mystery-map-fold summary {
  color: #f9d793;
  cursor: pointer;
  font-size: 12px;
}

.mystery-input {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  display: grid;
}

.mystery input {
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
}

#mystery-feedback:empty {
  display: none;
}

.mystery-result span {
  font-size: .77em;
}

body.is-mystery :is(#lesson, #places, #classroom, #details, #town-labels) {
  visibility: hidden;
}

body.is-mystery :is([data-open="places"], [data-open="lesson"]) {
  display: none;
}

body.is-mystery .landmark-beacon {
  color: #fff0d2;
  background: linear-gradient(145deg, #41546af0, #172b40ef);
  border-color: #e1e8e779;
}

body.is-mystery .landmark-beacon.is-solved {
  color: #172638;
  background: linear-gradient(150deg, #eec686, #c8a16d);
  border-color: #f9e7ae;
}

body.is-mystery .landmark-beacon:after {
  background: #283c55;
}

body.is-mystery .landmark-beacon.is-solved:after {
  background: #d3a96f;
}

body.is-mystery .landmark-beacon.is-solved .beacon-label {
  display: inline;
}

.landmark-beacon {
  color: #fff4df;
  background: #223747e8;
  border-color: #e7ebd679;
}

.landmark-beacon:after {
  background: #223747;
}

#place-selection span {
  filter: drop-shadow(0 1px 2px #122134);
  border-color: #ffe3a1;
}

.welcome-actions {
  max-width: 565px;
}

.welcome-actions #welcome-guess {
  color: #ffe0aa;
}

.welcome-actions #welcome-guess:hover {
  color: #fff1d7;
}

@media (max-width: 960px) {
  .view-tools {
    bottom: calc(var(--panel-gap) + 66px);
  }
}

@media (max-width: 580px) {
  .dock {
    gap: 2px;
    padding: 5px;
  }

  .dock-actions {
    gap: 0;
  }

  .dock-actions button {
    min-width: clamp(29px, 10.25vw, 42px);
    padding: 3px;
    font-size: 8px;
  }

  .dock-actions button svg {
    width: 16px;
    height: 16px;
  }

  .view-tools {
    bottom: calc(var(--panel-gap) + 56px);
    right: var(--panel-gap);
    padding: 3px;
  }

  .view-tools button {
    width: 31px;
    height: 32px;
  }

  #camera-context {
    min-width: 45px;
    padding: 0 3px;
  }

  .mystery {
    top: auto;
    bottom: calc(var(--panel-gap) + 100px);
    max-height: min(38dvh, 440px);
  }

  .mystery .panel-bar {
    min-height: 42px;
  }

  .mystery .panel-body {
    padding: 10px 12px;
  }

  .masthead {
    width: min(242px, 80vw);
  }

  .brand-copy strong {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .dock-actions button {
    transition: background-color .18s, box-shadow .18s, transform .18s;
  }

  .dock-actions button:active {
    transform: scale(.95);
  }
}

.mystery {
  width: min(385px,calc(100vw - 2 * var(--panel-gap)));
  --guess-accent: #f3ce8d;
  border-color: #d9e9ff52;
}

.mystery .panel-bar {
  gap: 5px;
  min-height: 50px;
}

.mystery .panel-bar h2 {
  letter-spacing: -.015em;
  font-size: 13px;
}

.mystery .panel-meta {
  color: #eddaac;
}

.mystery .panel-body {
  padding: 14px 16px 15px;
}

.mystery-progress {
  appearance: none;
  background: #fff4e11a;
  border: 0;
  flex: none;
  width: 100%;
  height: 3px;
  display: block;
}

.mystery-progress::-webkit-progress-bar {
  background: #fff4e11a;
}

.mystery-progress::-webkit-progress-value {
  background: #f2c778;
  box-shadow: 0 0 8px #ffe2a266;
}

.mystery-progress::-moz-progress-bar {
  background: #f2c778;
}

.guess-state .guess-locator {
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #f4d8a4;
  font-variant-numeric: tabular-nums;
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 600;
}

.mystery h3 {
  margin: 0 0 10px;
  font-size: clamp(25px, 3.1vw, 36px);
  line-height: .99;
}

.guess-state p:last-child {
  color: #efe8dc;
  max-width: 29ch;
  margin: 0 0 9px;
}

.guess-switch {
  background: #101c2d9e;
  border: 1px solid #f6eaf32a;
  border-radius: 12px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 13px 0 10px;
  padding: 4px;
  display: grid;
}

.guess-switch button {
  color: #ede7d9;
  background: none;
  border: 1px solid #0000;
  border-radius: 9px;
  min-height: 34px;
  padding: 4px;
  font-size: 10.5px;
  font-weight: 620;
}

.guess-switch button[aria-pressed="true"] {
  color: #fff3d5;
  background: #eddab12d;
  border-color: #f2db9d65;
}

.guess-switch button:hover:not([aria-pressed="true"]) {
  background: #efe2c21e;
}

.mystery .mystery-input input {
  min-height: 42px;
  font-size: 15px;
}

.mystery .mystery-input button {
  min-width: 66px;
}

.guess-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}

.guess-choice {
  text-align: left;
  color: #fffaeb;
  background: #1b3049a6;
  border: 1px solid #edf5fc39;
  border-radius: 12px;
  align-items: center;
  gap: 7px;
  min-height: 47px;
  padding: 5px 7px;
  display: flex;
}

.guess-choice strong {
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.19;
}

.guess-choice span {
  color: #ffdfaa;
  background: #dcca9b25;
  border-radius: 7px;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

.guess-choice small {
  font-size: 8px;
}

.guess-choice:hover:not(:disabled) {
  background: #3b4351;
  border-color: #edce8eaf;
}

.guess-choice:disabled {
  opacity: .62;
  -webkit-text-decoration: line-through #e2bc82;
  text-decoration: line-through #e2bc82;
}

.guess-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 11px 0 0;
  display: flex;
}

.guess-actions .primary-button {
  min-height: 37px;
}

.guess-clue {
  background: #e6c88d15;
  border-left: 2px solid #e7c683;
  border-radius: 0 8px 8px 0;
  margin: 10px 0 0;
  padding: 8px 10px;
}

.guess-clue strong {
  color: #ffe1a7;
  margin-bottom: 3px;
  font-size: 10px;
  display: block;
}

.guess-solved .mystery-result {
  align-items: center;
  gap: 9px;
  line-height: 1.04;
  display: flex;
}

.guess-solved .mystery-result span {
  font-size: .64em;
}

.guess-example {
  background: #c8ddf01a;
  border-radius: 9px;
  padding: 8px 10px;
  font-style: italic;
}

.mystery-map-fold {
  margin-top: 11px;
}

.mystery-actions {
  margin-top: 12px;
  padding-top: 9px;
}

.mystery-actions .quiet-button {
  min-height: 29px;
  font-size: 10px;
}

@media (prefers-reduced-motion: no-preference) {
  .guess-reveal {
    animation: guess-reveal .2s var(--ease-out) both;
  }

  @keyframes guess-reveal {
    from {
      opacity: .65;
      transform: translateY(4px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 580px) {
  .mystery {
    max-height: min(43dvh, 370px);
  }

  .mystery .panel-bar {
    min-height: 39px;
  }

  .mystery .panel-body {
    padding: 9px 11px 11px;
  }

  .mystery .guess-locator {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .mystery h3 {
    margin-bottom: 6px;
    font-size: 24px;
  }

  .guess-switch {
    margin: 9px 0 7px;
  }

  .guess-switch button {
    min-height: 29px;
  }

  .guess-choice {
    min-height: 40px;
  }

  .guess-actions {
    margin-top: 7px;
  }

  .mystery-actions {
    margin-top: 8px;
    padding-top: 7px;
  }
}

.render-size {
  text-align: right;
  margin: -4px 0 10px;
  display: block;
}

.town-welcome {
  --welcome-amber: #f1cd93;
  --welcome-ink: #171f20;
  --welcome-ease: cubic-bezier(.23,1,.32,1);
  background: linear-gradient(0deg, #101b21cd, #0000 38%), linear-gradient(91deg, #111d22fa 2%, #17262ae8 31%, #192a2e67 58%, #1a28280a 86%);
  align-items: safe center;
}

.welcome-content {
  width: min(100%, 594px);
  padding: clamp(30px, 6vh, 72px) 26px clamp(34px, 6vh, 78px) clamp(25px, 6vw, 96px);
}

.welcome-brand {
  color: #f2d299;
  letter-spacing: .16em;
  font-size: 11px;
}

.welcome-content h1 {
  letter-spacing: -.068em;
  text-wrap: balance;
  color: #fff8e7;
  margin: 15px 0 0;
  font-size: clamp(4.25rem, 7.5vw, 7.5rem);
  font-weight: 660;
  line-height: .93;
}

.welcome-intro {
  color: #ece8db;
  letter-spacing: -.028em;
  max-width: 355px;
  margin: 22px 0 27px;
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  line-height: 1.48;
}

.welcome-actions {
  gap: 9px;
  max-width: 408px;
  display: grid;
}

.welcome-actions button {
  text-align: left;
  width: 100%;
  transition: transform .16s var(--welcome-ease),background-color .16s var(--welcome-ease);
  border-radius: 13px;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  display: flex;
}

.welcome-actions button svg {
  flex: none;
  width: 22px;
  height: 22px;
}

.welcome-actions button:active {
  transform: scale(.98);
}

.welcome-actions .welcome-primary {
  color: #182626;
  background: linear-gradient(139deg, #ffe7b9, #dfae70);
  border-color: #ffe9b8b0;
  min-height: 58px;
  padding: 11px 15px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 12px 28px #0b141a69, inset 0 1px #ffffe897;
}

.welcome-arrow {
  margin-left: auto;
  padding: 0 2px;
  font-size: 19px;
}

.welcome-modes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  display: grid;
}

.welcome-modes button {
  background-color: #b8d4cf13;
  border-color: #e6fff822;
  min-height: 58px;
  box-shadow: inset 0 1px #fff8e214, 0 6px 20px #0f161e35;
}

.welcome-modes button span {
  gap: 3px;
  display: grid;
}

.welcome-modes button strong {
  letter-spacing: -.025em;
  font-size: 14px;
  font-weight: 650;
}

.welcome-modes button small {
  color: #d9ded5;
  font-size: 11px;
  font-weight: 440;
  line-height: 1.3;
}

.welcome-modes button svg {
  color: #e8c991;
  width: 19px;
  height: 19px;
}

.welcome-status {
  min-height: 1.2em;
  margin-top: 17px;
}

.welcome-dig {
  align-items: center;
  bottom: 22px;
  right: 30px;
}

.welcome-dig .welcome-dog {
  width: 96px;
  margin: 0;
}

.welcome-dig p {
  color: #fff5df;
  background: #233332d6;
  border: 1px solid #fbefcf44;
  border-radius: 13px 13px 4px;
  padding: 8px 11px;
  font-size: 12px;
}

.welcome-dog .dt-wag {
  animation: 2.6s cubic-bezier(.45, 0, .55, 1) 2 town-tail;
}

@keyframes town-tail {
  0%, 80%, 100% {
    transform: rotate(0);
  }

  14%, 40% {
    transform: rotate(-13deg);
  }

  26%, 53% {
    transform: rotate(12deg);
  }
}

body.live-glass #atlas-ui .mystery {
  background: linear-gradient(138deg, #afb5ac16, #0000 55%), #0d1c2687;
}

.mystery .panel-bar {
  background: linear-gradient(100deg, #fff0d214, #0000);
}

.mystery .guess-choice:not(:disabled):hover {
  background-color: #b3c8bb22;
}

.mystery .guess-choice:disabled small {
  text-decoration: none;
}

.mystery .guess-locator {
  color: #efcf92;
}

@media (max-width: 760px) {
  .town-welcome {
    background: linear-gradient(0deg, #142126 1%, #142126f5 34%, #142126bc 60%, #14212610 100%);
    align-items: safe flex-end;
  }

  .welcome-content {
    padding: 28px 20px max(23px,env(safe-area-inset-bottom));
    margin: 0;
  }

  .welcome-content h1 {
    letter-spacing: -.055em;
    font-size: clamp(3.25rem, 13.5vw, 5.5rem);
  }

  .welcome-intro {
    max-width: 325px;
    margin: 13px 0 18px;
    font-size: 15px;
  }

  .welcome-actions .welcome-primary {
    min-height: 51px;
  }

  .welcome-modes button {
    min-height: 50px;
  }

  .welcome-dig {
    display: none;
  }
}

@media (max-width: 360px) {
  .welcome-modes button {
    gap: 7px;
    padding-inline: 8px;
  }
}

@media (max-height: 550px) and (orientation: landscape) {
  .welcome-content {
    padding-block: 25px;
  }

  .welcome-content h1 {
    font-size: clamp(3.1rem, 7vw, 4.9rem);
  }

  .welcome-intro {
    margin: 12px 0 16px;
  }

  .welcome-dig {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-actions button {
    transition: none;
  }

  .welcome-actions button:active {
    transform: none;
  }

  .welcome-dog .dt-wag {
    animation: none;
  }
}

.discoveries {
  top: var(--panel-gap);
  right: var(--panel-gap);
  width: min(385px,calc(100vw - var(--panel-gap)*2));
  --glass-tint: #0b1827ed;
  background: linear-gradient(151deg, #dae9ff19 0%, #d0e6ff04 60%, #6653430f), #0b1827ed;
  border-color: #d9e9ff52;
  max-height: calc(100dvh - 123px);
  box-shadow: 0 15px 40px #09131ea1, inset 0 1px #ffffff30;
}

body.live-glass #atlas-ui .discoveries {
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: linear-gradient(151deg, #dae9ff17 0%, #d0e6ff04 60%, #6653430f), #0b1827ed;
}

.discoveries h2 {
  letter-spacing: -.015em;
}

.discovery-progress {
  appearance: none;
  background: #ffffff18;
  border: 0;
  flex: none;
  width: 100%;
  height: 4px;
}

.discovery-progress::-webkit-progress-bar {
  background: #ffffff18;
}

.discovery-progress::-webkit-progress-value {
  background: linear-gradient(90deg, #84a679, #dfbc73);
  border-radius: 9px;
}

.discovery-progress::-moz-progress-bar {
  background: linear-gradient(90deg, #84a679, #dfbc73);
  border-radius: 9px;
}

.discovery-body {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.discovery-intro, .discovery-note {
  color: var(--secondary);
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.discovery-record {
  background: linear-gradient(135deg, #ffffff0a, #a9b9960d);
  border: 1px solid #e8ead53a;
  border-radius: 12px;
  padding: 10px 11px;
}

.discovery-record h3 {
  font: 600 17px/1.2 var(--font-app-heading, Georgia,serif);
  color: #f2dbab;
  margin: 0 0 4px;
}

.discovery-record p {
  color: var(--secondary);
  margin: 0;
  font-size: 12px;
  line-height: 1.48;
}

.discovery-district {
  color: #a9c5a3;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-size: 9px;
  display: block;
}

@media (max-width: 720px) {
  .discoveries {
    top: auto;
    right: var(--panel-gap);
    bottom: calc(var(--panel-gap) + 100px);
    max-height: min(58dvh, 480px);
  }
}

@media (max-width: 580px) {
  .dock-actions #dock-discovery-journal {
    white-space: nowrap;
    letter-spacing: -.06em;
    font-size: 8px;
  }
}

.directory-switch {
  background: #0e202590;
  border: 1px solid #b9d0d526;
  border-radius: 11px;
  flex: none;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 9px;
  padding: 3px;
  display: grid;
}

.directory-switch button, .regional-actions button, .regional-place {
  font: inherit;
  cursor: pointer;
}

.directory-switch button {
  color: #d0dce1;
  background: none;
  border: 1px solid #0000;
  border-radius: 8px;
  min-height: 34px;
  font-size: 12px;
  font-weight: 650;
}

.directory-switch button[aria-pressed="true"] {
  color: #fff5dd;
  background: linear-gradient(125deg, #72868b83, #57717958);
  border-color: #daeae546;
}

.directory-switch button:hover {
  color: #fff5dd;
}

.directory-body [hidden] {
  display: none !important;
}

.regional-directory {
  flex-direction: column;
  gap: 9px;
  min-height: 0;
  display: flex;
}

.regional-items {
  scrollbar-width: thin;
  scrollbar-color: #a5c0ae6a transparent;
  gap: 5px;
  min-height: 0;
  padding: 0 2px 3px;
  display: grid;
  overflow: auto;
}

.regional-place {
  text-align: left;
  color: #f3f7f5;
  background: #0d252a74;
  border: 1px solid #e2ebe521;
  border-radius: 11px;
  grid-template-columns: 38px 1fr 18px;
  align-items: center;
  gap: 10px;
  min-height: 55px;
  padding: 7px 9px;
  display: grid;
}

.regional-place:hover {
  background: #30534e8f;
  border-color: #d3e7c481;
}

.regional-place[aria-pressed="true"] {
  background: linear-gradient(100deg, #466664b5, #3054548a);
  border-color: #edcd90ab;
}

.regional-place:disabled, .regional-actions button:disabled {
  opacity: .52;
  cursor: default;
}

.regional-badge {
  background: var(--trail-tint, #4c6667);
  color: #ffefcf;
  border: 1px solid #e4f3ec30;
  border-radius: 10px;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  display: grid;
}

.regional-place strong, .regional-place small {
  display: block;
}

.regional-place strong {
  font-size: 13px;
  line-height: 1.28;
}

.regional-place small {
  color: #c4d4d7;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.35;
}

.regional-chevron {
  color: #c5d3ce;
  justify-self: end;
  font-size: 16px;
}

.regional-current {
  color: #fff3db;
  background: linear-gradient(138deg, #2e4e48db, #16333caa);
  border: 1px solid #ecd4a456;
  border-radius: 12px;
  flex: none;
  padding: 10px 11px;
}

.regional-current > strong {
  font-size: 14px;
}

.regional-current p, .regional-offline {
  color: #e0e9e6;
  margin: 4px 0 7px;
  font-size: 11px;
  line-height: 1.4;
}

.regional-actions {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}

.regional-actions button {
  color: #f1f5ed;
  background: #112b36;
  border: 1px solid #d4e1df58;
  border-radius: 8px;
  min-height: 32px;
  padding: 4px 8px;
  font-size: 10.5px;
  font-weight: 650;
}

#regional-walk {
  color: #172c2a;
  background: #f0ce91;
  border-color: #ffe4ad;
}

.regional-actions button:hover {
  filter: brightness(1.12);
}

.directory-body :is(.directory-switch button, .regional-place, .regional-actions button):focus-visible {
  outline-offset: -2px;
  outline: 2px solid #ffe1a0;
}

.airport-panel {
  z-index: 14;
  width: min(398px, 100% - 36px);
  max-height: calc(100% - 125px);
  top: 18px;
  right: 18px;
}

.airport-panel .panel-bar {
  gap: 5px;
  padding-left: 15px;
}

.airport-code {
  color: #f4daaa;
  letter-spacing: .055em;
  border: 1px solid #dbd8bf52;
  border-radius: 6px;
  padding: 3px 5px;
}

.airport-body {
  padding: 12px;
}

.airport-board {
  border-collapse: separate;
  border-spacing: 0 3px;
  text-align: left;
  width: 100%;
  font-size: 11px;
}

.airport-board th {
  color: #d9d8cb;
  white-space: nowrap;
  padding: 0 6px 3px;
  font-size: 9.5px;
  font-weight: 650;
}

.airport-board td {
  color: #f2eee1;
  background: #132d36aa;
  padding: 8px 6px;
  line-height: 1.25;
}

.airport-board td:first-child {
  white-space: nowrap;
  border-radius: 8px 0 0 8px;
}

.airport-board td:last-child {
  border-radius: 0 8px 8px 0;
  min-width: 76px;
}

.airport-board td[data-active="true"] {
  color: #f4d399;
  font-weight: 680;
}

.airport-airline {
  color: #becdd0;
  white-space: nowrap;
  margin-top: 3px;
  font-size: 9px;
  display: block;
}

.airport-visit, .airport-board-actions {
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
  display: flex;
}

.airport-board-actions {
  border-top: 1px solid #e5e4d831;
  padding-top: 9px;
}

.airport-visit button, .airport-board-actions button {
  min-height: 32px;
  padding: 5px 8px;
  font-size: 10.5px;
}

.airport-caption {
  color: #e7e1cc;
  margin: 9px 1px 1px;
  font-size: 11px;
  line-height: 1.42;
}

.airport-caption:empty {
  display: none;
}

#airport [hidden], #walk-airport[hidden] {
  display: none !important;
}

#regional-airport {
  color: #f8dfb1;
  background: #2e4c4d;
  border-color: #efd19d91;
}

#walk-airport {
  margin-top: 6px;
}

@media (max-width: 650px) {
  .airport-panel {
    width: min(398px, 100% - 16px);
    max-height: calc(100% - 115px);
    top: 8px;
    right: 8px;
  }
}

.class-map {
  aspect-ratio: 1112 / 910;
  max-width: 420px;
}

.flat-south-road {
  fill: none;
  stroke: #8f9389;
  stroke-width: 9px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.welcome-modes button:first-child {
  grid-column: auto;
}

#welcome-day-mode {
  background-color: #e1c88e16;
  border-color: #e8c88975;
}

#lesson-day-start {
  text-align: left;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 11px;
  padding: 11px 13px;
  display: flex;
}

#lesson-day-start small {
  font-size: 11px;
  font-weight: 500;
}

.day-definitions {
  pointer-events: none;
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
}

.town-day {
  top: var(--panel-gap);
  right: var(--panel-gap);
  width: min(392px,calc(100vw - 2 * var(--panel-gap)));
  color: #fff5df;
  max-height: calc(100dvh - 110px);
}

body.live-glass #atlas-ui .town-day, .town-day {
  background: linear-gradient(145deg, #1d3738f5, #111f27f5);
  border: 1px solid #c7e7d552;
  box-shadow: inset 0 1px #ffffd829, 0 18px 45px #10212c55;
}

.town-day .panel-bar {
  min-height: 44px;
}

.town-day .panel-body {
  padding: 14px 18px 16px;
}

.town-day h3 {
  letter-spacing: -.025em;
  color: #fff5df;
  margin: 9px 0;
  font: 600 clamp(24px, 2vw, 32px) / 1.1 Georgia, serif;
}

.town-day h3:focus {
  outline: none;
}

.town-day h3:focus-visible, .town-day button:focus-visible, .town-day summary:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #f7d89b;
}

.town-day p, .day-instructions {
  color: #e3ede2;
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.38;
}

.day-intro-scene {
  border: 1px solid #f3e3bd66;
  border-radius: 10px;
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  overflow: hidden;
}

.day-intro-scene svg {
  width: 100%;
}

.day-instructions {
  margin: 14px 0;
  padding-left: 24px;
}

.day-instructions li {
  padding: 3px 0 3px 3px;
}

.day-instructions li::marker {
  color: #e5c182;
  font-weight: 700;
}

.day-footer {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  display: flex;
}

.day-footer > span {
  color: #d0dccb;
  margin-left: auto;
  font-size: 12px;
}

.day-strip {
  gap: 3px;
  display: flex;
}

.day-strip i {
  background: #f1f2d321;
  border-radius: 2px;
  flex: 1;
  height: 3px;
}

.day-strip i.on {
  background: var(--day-accent, #e9bb7d);
}

.day-chapter-1 {
  --day-accent: #f1c68c;
}

.day-chapter-2 {
  --day-accent: #9ad7c7;
}

.day-chapter-3 {
  --day-accent: #f0b09c;
}

.day-chapter-4 {
  --day-accent: #aac7e6;
}

.town-day .day-kicker {
  color: var(--day-accent, #e9bb7d);
  margin: 9px 0 4px;
  font-size: 12px;
  font-weight: 700;
}

.day-kicker span {
  padding: 0 3px;
}

.town-day .day-prompt {
  margin: 5px 0 6px;
  font-size: clamp(21px, 1.65vw, 26px);
}

.town-day .day-help {
  color: #e2e8db;
  margin: 7px 0 11px;
  font-size: 12px;
}

.day-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  display: grid;
}

body #atlas-ui .day-card {
  color: #fff5df;
  text-align: left;
  box-shadow: none;
  cursor: pointer;
  background: #293f41;
  border: 1px solid #d7dcc655;
  border-radius: 10px;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  display: flex;
  overflow: hidden;
}

.day-card svg {
  aspect-ratio: 2.7;
  background: #c2cfc0;
  width: 100%;
  max-height: 57px;
  display: block;
}

.day-card span {
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 6px 7px;
  font-size: 11px;
  line-height: 1.22;
  display: flex;
}

.day-card b {
  color: #f6d296;
  font-size: 10px;
}

body #atlas-ui .day-card:hover:not(:disabled) {
  background: #39504c;
  border-color: #f4cf8d;
}

body #atlas-ui .day-card:disabled {
  opacity: .65;
  cursor: default;
}

.day-write {
  color: #e7ecde;
  margin-top: 10px;
  font-size: 12px;
}

.day-write summary {
  cursor: pointer;
  width: fit-content;
  font-weight: 600;
}

.day-write label {
  margin: 7px 0 4px;
  display: block;
}

.day-write input {
  color: #fff6e3;
  background: #1c343a;
  border: 1px solid #e4eddf55;
  border-radius: 6px;
  width: 100%;
  padding: 7px 10px;
}

.day-reveal {
  align-items: center;
  gap: 13px;
  margin: 10px 0;
  display: flex;
}

.day-result-scene, .day-finish {
  background: #c2cfc0;
  border: 1px solid #f6e1b85c;
  border-radius: 10px;
  flex: 0 0 35%;
  overflow: hidden;
}

.day-result-scene svg, .day-finish svg {
  width: 100%;
  display: block;
}

.day-reveal small {
  color: #e0d3a6;
}

.town-day .day-reveal h3 {
  margin: 3px 0;
  font-size: 29px;
}

.town-day blockquote {
  border-left: 2px solid var(--day-accent, #e9bb7d);
  color: #fff1d3;
  margin: 13px 0;
  padding: 3px 0 3px 12px;
  font-size: 17px;
}

.day-talk {
  background: #bfd8c316;
  border-radius: 9px;
  padding: 10px 12px;
}

.day-talk strong {
  color: #e7d4a9;
  font-size: 11px;
}

.town-day .day-talk p {
  margin: 3px 0 0;
}

.day-finish {
  max-width: 170px;
}

#day-status:not(:empty) {
  color: #ffe1a6;
  background: #f8ce7c12;
  padding: 9px 16px;
  font-size: 13px;
  line-height: 1.3;
  display: block;
}

.town-day.is-minimized #day-status {
  display: none;
}

body.is-town-day :is(#town-labels, #places, #lesson, #classroom, #details, #walking, #airport, #discovery-journal), body.is-town-day .landmark-beacon:not(.day-numbered) {
  visibility: hidden;
}

body.is-town-day .landmark-beacon.is-solved .beacon-label {
  display: inline;
}

@media (prefers-reduced-motion: no-preference) {
  .day-reveal, .day-talk {
    animation: .18s ease-out both day-turn;
  }

  @keyframes day-turn {
    from {
      opacity: .5;
      transform: translateY(3px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-width: 690px) {
  .town-day {
    top: auto;
    bottom: calc(var(--panel-gap) + 78px);
    width: min(375px,calc(100vw - 2 * var(--panel-gap)));
    max-height: 57dvh;
  }

  .town-day .panel-body {
    padding: 10px 12px 11px;
  }

  .town-day .panel-bar {
    min-height: 37px;
  }

  .day-card svg {
    max-height: 43px;
  }

  .day-card span {
    min-height: 25px;
    padding: 4px 6px;
  }

  .town-day .day-prompt {
    font-size: 19px;
  }
}

@media (max-height: 540px) {
  .town-day {
    max-height: calc(100dvh - 65px);
    top: 6px;
    bottom: auto;
  }
}

@media (forced-colors: active) {
  .town-day, .day-card, .day-write input {
    border: 1px solid buttontext;
  }

  .day-strip i.on {
    background: highlight;
  }
}

body #atlas-ui :is(#classroom, #details, #masthead) {
  color: #fff4e1;
  background: linear-gradient(145deg, #1e3c3cf7, #132429f2);
  border: 1px solid #cfdbc585;
  border-radius: 18px;
  box-shadow: inset 0 1px #ffebc63b, 0 12px 40px #0c22264d;
}

body #atlas-ui :is(#classroom, #details, #masthead) .panel-bar {
  background: none;
  border-bottom-color: #cad3b635;
}

body #atlas-ui :is(#classroom, #details) .panel-bar h2 {
  letter-spacing: .01em;
  color: #efe5cc;
  font-size: 15px;
}

body #atlas-ui #masthead {
  width: min(278px,calc(100vw - 2 * var(--panel-gap)));
  overflow: hidden;
}

#masthead .dt-town-seal {
  border-radius: 10px;
  flex: none;
  width: 44px;
  height: 44px;
  overflow: hidden;
  box-shadow: 0 1px 5px #071c2455;
}

.dt-town-seal svg {
  width: 100%;
  height: 100%;
}

#masthead .brand-copy strong {
  color: #fff0d0;
  font-size: 26px;
  line-height: 1;
}

#masthead .brand-copy span {
  color: #e7c88c;
}

#masthead .masthead-status {
  justify-content: flex-start;
  gap: 5px;
}

#masthead #town-status {
  margin-right: auto;
  font-size: 10px;
}

.dt-tool-icon {
  vertical-align: -3px;
  flex: none;
  width: 16px;
  height: 16px;
  display: inline-block;
}

#masthead :is(#welcome-home, #show-help) {
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  font-size: 11px;
  display: inline-flex;
}

#masthead .dt-tool-icon {
  width: 13px;
  height: 13px;
}

body #atlas-ui #classroom {
  width: min(435px,calc(100vw - 2 * var(--panel-gap)));
}

body #atlas-ui #details {
  width: min(365px,calc(100vw - 2 * var(--panel-gap)));
}

#classroom .classroom-body, #details #details-body {
  padding: 11px 13px 15px;
}

body #atlas-ui #classroom .classroom-tabs {
  background: #0e272be3;
  border-radius: 12px;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin: 0 0 11px;
  padding: 3px;
  display: grid;
}

body #atlas-ui #classroom .classroom-tabs button {
  box-shadow: none;
  color: #cadad4;
  background: none;
  border: 1px solid #0000;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 33px;
  padding: 6px 2px;
  font-size: 12px;
  display: flex;
}

body #atlas-ui #classroom .classroom-tabs button[aria-pressed="true"] {
  color: #273c3c;
  background: #f4d39f;
}

.dt-scene {
  isolation: isolate;
  box-sizing: border-box;
  background-color: #a7bdae;
  background-position: 50% 52%;
  background-size: cover;
  border: 1px solid #e5dbb66b;
  border-radius: 11px;
  width: 100%;
  height: clamp(100px, 16vh, 148px);
  position: relative;
  overflow: hidden;
}

.dt-scene:after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -20px 24px -17px #132d3b9e;
}

.dt-scene-stamp {
  z-index: 1;
  background: #fce2b2;
  border: 2px solid #f5e9c9;
  border-radius: 5px;
  width: 56px;
  height: 35px;
  position: absolute;
  bottom: 8px;
  right: 9px;
  transform: rotate(-3deg);
  box-shadow: 0 2px 7px #182a3480;
}

.dt-scene[data-photo="zoo"]:not([style]) {
  background-color: #95ac8d;
}

#details .detail-head {
  padding: 11px 1px 3px;
  display: block;
}

#details .detail-head small {
  letter-spacing: .08em;
  color: #d9be8c;
  font-size: 11px;
  font-weight: 700;
}

#details .detail-head h3, #classroom #class-content > h3 {
  color: #fff0d6;
  margin: 6px 0 9px;
  font-family: Georgia, serif;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 600;
  line-height: 1.12;
}

#details .detail-copy {
  color: #e1e8dc;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
}

#details .detail-fields {
  grid-template-columns: 6.5em 1fr;
  gap: 0 9px;
  margin: 8px 0;
  display: grid;
}

#details .detail-fields :is(dt, dd) {
  border-bottom: 1px solid #c0cebb26;
  margin: 0;
  padding: 5px 0;
  font-size: 12px;
  line-height: 1.38;
}

#details .detail-fields dt {
  color: #afcfc2;
}

#details .detail-fields dd {
  color: #f6eedc;
}

#details .example, #classroom .clue-card {
  color: #273b39;
  box-shadow: none;
  background: #f4e6c9;
  border: 0;
  border-radius: 10px;
  padding: 10px 13px;
}

#classroom .clue-card p, #classroom .clue-card li {
  color: #263836;
  font-size: 15px;
  line-height: 1.4;
}

#details .example {
  margin: 8px 0;
  font-size: 14px;
}

#details .control-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  display: grid;
}

body #atlas-ui #details .control-pair button, body #atlas-ui #classroom .class-row button {
  min-height: 33px;
  box-shadow: none;
  color: #f1edda;
  background: #c3d2ba13;
  border: 1px solid #e3d6b532;
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 600;
}

body #atlas-ui #details .control-pair button {
  text-align: left;
  align-items: center;
  gap: 7px;
  display: flex;
}

body #atlas-ui :is(#classroom, #details) button:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #f6bc6f;
}

body #atlas-ui #classroom .class-row button[data-class-action="reveal-clue"], body #atlas-ui #details #fly-to-place {
  color: #263a37;
  background: #f4d29a;
}

#classroom .class-row {
  gap: 5px;
  margin: 8px 0;
}

body #atlas-ui #classroom .tour-card {
  background: #16383a;
  border-radius: 10px;
  padding: 0 0 8px;
  overflow: hidden;
}

#classroom .tour-card .dt-scene {
  border: 0;
  border-radius: 0;
  height: 62px;
}

#classroom .tour-card .dt-scene-stamp {
  display: none;
}

#classroom .tour-card :is(strong, span) {
  margin: 6px 8px 0;
  display: block;
}

#classroom .dt-choice-art {
  border-radius: 4px;
  flex: none;
  width: 43px;
  height: 28px;
  display: block;
}

body #atlas-ui #classroom :is([data-class-action="draft-place"], [data-class-action="quiz-pick"]) {
  text-align: left;
  align-items: center;
  gap: 7px;
  display: flex;
}

.dt-settings-art .dt-scene {
  height: 68px;
}

#classroom .setting-line {
  border-bottom: 1px solid #d8d7bc24;
}

@media (max-height: 650px) {
  .dt-scene {
    height: 92px;
  }

  #classroom .classroom-tabs {
    margin-bottom: 5px;
  }
}

@media (max-width: 520px) {
  body #atlas-ui #masthead {
    width: min(245px,calc(100vw - 2 * var(--panel-gap)));
  }

  #masthead .dt-town-seal {
    width: 34px;
    height: 34px;
  }

  #masthead .brand-copy strong {
    font-size: 22px;
  }

  #classroom .classroom-body, #details #details-body {
    padding: 8px 10px 10px;
  }

  .dt-scene {
    height: 100px;
  }
}

#classroom .dt-captioned {
  align-items: flex-end;
  min-height: 145px;
  margin-bottom: 8px;
  display: flex;
}

#classroom .dt-captioned:after {
  box-shadow: none;
  background: linear-gradient(0deg, #112b31eb, #0000 70%);
}

#classroom #class-content .dt-captioned h3 {
  z-index: 1;
  color: #fff4df;
  text-shadow: 0 1px 8px #152b30;
  margin: 0;
  padding: 9px 66px 9px 12px;
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1.05;
  position: relative;
}

#classroom .dt-reveal-tools {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  display: grid;
}

body #atlas-ui #classroom .dt-reveal-tools button {
  min-height: 39px;
  font-size: 13px;
}

#classroom #class-content .dt-extra-tools {
  background: none;
  border: 1px solid #c5d0bb38;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  margin: 10px 0;
  padding: 0 2px;
}

#classroom .dt-extra-tools summary {
  cursor: pointer;
  color: #e4d8bc;
  padding: 7px 0;
  font-size: 12px;
}

#classroom .dt-extra-tools > div {
  flex-wrap: wrap;
  gap: 5px;
  padding-bottom: 7px;
  display: flex;
}

#classroom .dt-extra-tools button {
  padding: 5px;
  font-size: 12px;
}

#classroom .clue-card p:first-child {
  margin-top: 0;
}

#classroom .clue-card p:last-child {
  margin-bottom: 0;
}

#classroom .class-row:has([data-class-action="next-clue"]) [data-class-action="choose-clue"] {
  margin-left: auto;
}

.dt-scene[data-photo="airport"] {
  background-image: url("/city/img/place-airport.webp");
}

.dt-scene[data-photo="apartment"] {
  background-image: url("/city/img/place-apartment.webp");
}

.dt-scene[data-photo="bakery"] {
  background-image: url("/city/img/place-bakery.webp");
}

.dt-scene[data-photo="bank"] {
  background-image: url("/city/img/place-bank.webp");
}

.dt-scene[data-photo="building"] {
  background-image: url("/city/img/place-building.webp");
}

.dt-scene[data-photo="busstop"] {
  background-image: url("/city/img/place-busstop.webp");
}

.dt-scene[data-photo="cafe"] {
  background-image: url("/city/img/place-cafe.webp");
}

.dt-scene[data-photo="fire"] {
  background-image: url("/city/img/place-fire.webp");
}

.dt-scene[data-photo="hospital"] {
  background-image: url("/city/img/place-hospital.webp");
}

.dt-scene[data-photo="hotel"] {
  background-image: url("/city/img/place-hotel.webp");
}

.dt-scene[data-photo="house"] {
  background-image: url("/city/img/place-house.webp");
}

.dt-scene[data-photo="library"] {
  background-image: url("/city/img/place-library.webp");
}

.dt-scene[data-photo="mansion"] {
  background-image: url("/city/img/place-mansion.webp");
}

.dt-scene[data-photo="museum"] {
  background-image: url("/city/img/place-museum.webp");
}

.dt-scene[data-photo="park"] {
  background-image: url("/city/img/place-park.webp");
}

.dt-scene[data-photo="pharmacy"] {
  background-image: url("/city/img/place-pharmacy.webp");
}

.dt-scene[data-photo="playground"] {
  background-image: url("/city/img/place-playground.webp");
}

.dt-scene[data-photo="police"] {
  background-image: url("/city/img/place-police.webp");
}

.dt-scene[data-photo="post"] {
  background-image: url("/city/img/place-post.webp");
}

.dt-scene[data-photo="restaurant"] {
  background-image: url("/city/img/place-restaurant.webp");
}

.dt-scene[data-photo="school"] {
  background-image: url("/city/img/place-school.webp");
}

.dt-scene[data-photo="sports"] {
  background-image: url("/city/img/place-sports.webp");
}

.dt-scene[data-photo="stadium"] {
  background-image: url("/city/img/place-stadium.webp");
}

.dt-scene[data-photo="station"] {
  background-image: url("/city/img/place-station.webp");
}

.dt-scene[data-photo="supermarket"] {
  background-image: url("/city/img/place-supermarket.webp");
}

.dt-scene[data-photo="theater"] {
  background-image: url("/city/img/place-theater.webp");
}

.dt-scene[data-photo="zoo"] {
  background-image: url("/city/img/place-zoo.webp");
}

body #atlas-ui #mystery {
  width: min(396px,calc(100vw - 2 * var(--panel-gap)));
  color: #fff7e7;
  background: linear-gradient(145deg, #182f36f5, #0c222af5 73%);
  border-color: #b4c4ba80;
  box-shadow: 0 17px 48px #0c211a63, inset 0 1px #f4eee633;
}

#mystery .panel-bar {
  background: #d9e7d509;
  min-height: 44px;
}

#mystery .panel-bar h2 {
  font-size: 14px;
  font-weight: 720;
}

#mystery .panel-meta {
  background: #eed8ac18;
  border-radius: 20px;
  padding: 3px 8px;
}

#mystery .mystery-body {
  padding: 11px 12px 12px;
}

#mystery .guess-postcard {
  isolation: isolate;
  aspect-ratio: 2.48;
  background-color: #415b54;
  background-position: 50% 48%;
  background-size: cover;
  border: 1px solid #e1dec25c;
  border-radius: 15px;
  align-items: flex-end;
  min-height: 132px;
  margin: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

#mystery .guess-aerial {
  background-image: var(--guess-map);
  background-position: 50% 51%;
}

#mystery .guess-postcard:after {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #14262cf9 0%, #162d36a0 34%, #0000 77%);
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 24px #1f3b3730;
}

#mystery .guess-caption {
  width: 100%;
  padding: 12px 13px;
}

#mystery .guess-caption h3 {
  text-wrap: balance;
  margin: 0;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.03;
}

#mystery .guess-locator {
  color: #fde0a3;
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 680;
}

#mystery .guess-locator:empty {
  display: none;
}

#mystery .guess-short {
  margin: 12px 2px 5px;
  line-height: 1.45;
}

#mystery .guess-found {
  border-color: #ddc387bd;
}

#mystery .guess-switch {
  background: #071b2480;
  border-color: #bacdb44b;
  margin: 10px 0 8px;
  padding: 3px;
}

#mystery .guess-switch button {
  min-height: 33px;
  font-size: 12px;
}

#mystery .guess-switch button[aria-pressed="true"] {
  color: #10282d;
  background: #e9d8ab;
}

#mystery .guess-choices {
  gap: 7px;
}

#mystery .guess-choice {
  color: #fff8e5;
  background: #213e43;
  border: 1px solid #bacdc66a;
  border-radius: 10px;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 0;
  min-height: 72px;
  padding: 0;
  text-decoration: none;
  display: grid;
  position: relative;
  overflow: hidden;
}

#mystery .guess-option-art {
  object-fit: contain;
  background: #bccbbb;
  grid-column: 1 / -1;
  width: 100%;
  height: 49px;
  display: block;
}

#mystery .guess-choice strong {
  padding: 6px 5px 6px 1px;
  font-size: 12px;
  line-height: 1.14;
}

#mystery .guess-option-key {
  color: #102828;
  background: #6f8c83;
  border-radius: 5px;
  width: 18px;
  height: 18px;
  margin-left: 5px;
  font-size: 10px;
}

#mystery .guess-choice:not(:disabled):hover {
  background: #315552;
  border-color: #ffe1a3;
}

#mystery .guess-choice:focus-visible {
  outline-offset: 1px;
  outline: 2px solid #ffe1a3;
}

#mystery .guess-choice:disabled {
  opacity: .55;
}

#mystery .guess-option-wrong {
  background: #273535;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 9px;
  position: absolute;
  top: 5px;
  left: 5px;
}

#mystery #mystery-feedback:empty {
  display: none;
}

#mystery #mystery-feedback {
  color: #ffddb0;
  margin: 9px 1px 0;
  line-height: 1.35;
}

#mystery .guess-example {
  color: #1e3837;
  background: #f6e4be;
  border-left: 3px solid #cf9c59;
  margin: 10px 0 0;
  padding: 10px 12px;
  font-size: 16px;
}

#mystery .guess-actions {
  margin-top: 9px;
}

#mystery .mystery-actions {
  border-top: 1px solid #d4e2d029;
  margin-top: 9px;
  padding-top: 8px;
}

#mystery .mystery-actions .quiet-button {
  background: none;
  border-color: #acc0b443;
  font-size: 11px;
}

@media (max-width: 700px) {
  body #atlas-ui #mystery {
    bottom: calc(var(--panel-gap) + 82px);
    max-height: 59dvh;
  }

  #mystery .guess-postcard {
    aspect-ratio: 3.2;
    min-height: 87px;
  }

  #mystery .guess-caption {
    padding: 8px 10px;
  }

  #mystery .guess-option-art {
    height: 35px;
  }

  #mystery .guess-choice {
    min-height: 55px;
  }
}

.welcome-dig .welcome-dog-render {
  filter: drop-shadow(0 9px 13px #0c1d1b91);
  width: clamp(136px, 12vw, 206px);
  margin: 0 -4px 0 0;
  display: block;
}

.welcome-dog-render img {
  width: 100%;
  height: auto;
  display: block;
}

.welcome-dig:has(.welcome-dog-render) {
  align-items: center;
  gap: 5px;
  bottom: 14px;
  right: clamp(19px, 2vw, 40px);
}

.town-boot {
  --boot-gold: #efd099;
  z-index: 5000;
  isolation: isolate;
  color: #f5ebd6;
  -webkit-user-select: none;
  user-select: none;
  background: radial-gradient(at 50% 26%, #233f40 0%, #112c32 43%, #091c29 79%);
  align-content: center;
  justify-items: center;
  display: grid;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.boot-water {
  z-index: -1;
  transform-origin: top;
  opacity: .73;
  background: repeating-linear-gradient(90deg, #8bb8b30d 0 1px, #0000 1px min(9vw, 84px)), repeating-linear-gradient(0deg, #9bcdc322 0 1px, #0000 1px 32px);
  position: absolute;
  inset: 49% -20% -55%;
  transform: perspective(230px)rotateX(62deg);
  -webkit-mask-image: linear-gradient(#0000, #000 20%, #0000 64%);
  mask-image: linear-gradient(#0000, #000 20%, #0000 64%);
}

.boot-skyline {
  width: min(66vw, 480px);
  height: clamp(115px, 26vh, 240px);
  margin-top: -4vh;
  position: relative;
}

.boot-orbit {
  border: 1px solid #e7c98d38;
  border-right-color: #0000;
  border-radius: 50%;
  width: 69%;
  height: 112%;
  position: absolute;
  top: -14%;
  left: 15%;
  transform: rotate(-24deg);
}

.boot-moon {
  aspect-ratio: 1;
  background: #ecd6a4;
  border-radius: 50%;
  width: 10%;
  position: absolute;
  top: 4%;
  right: 20%;
  box-shadow: 0 0 3.3vw #f8cf926a;
}

.boot-roof {
  bottom: 16%;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  background: linear-gradient(140deg, #617a73, #28434a 47%, #19313e);
  border: 1px solid #91b2a34c;
  border-radius: 4px 4px 0 0;
  position: absolute;
  transform: skewY(-5deg);
  box-shadow: 7px 3px #091e2a, 16px 16px 30px #06132056;
}

.boot-roof:before {
  content: "";
  opacity: .44;
  animation: boot-windows 3.8s ease-in-out infinite var(--lag);
  background: repeating-linear-gradient(0deg, #132d36 0 3px, #0000 3px 10px), repeating-linear-gradient(90deg, #152e38 0 3px, #efc879e6 3px 8px, #152e38 8px 10px);
  position: absolute;
  inset: 11% 10% 9%;
}

.boot-twin {
  background: linear-gradient(135deg, #86918a, #4c645f 34%, #273d47);
}

.boot-bridge {
  background: repeating-linear-gradient(90deg, #80bbb3da 0 11%, #c5b99f90 11% 18%);
  border: 2px solid #c0b99066;
  width: 13%;
  height: 13%;
  position: absolute;
  bottom: 44%;
  left: 43%;
  transform: skewY(-5deg);
  box-shadow: 0 0 22px #8ee0c754;
}

.boot-road {
  background: linear-gradient(90deg, #0000, #d3bb8288, #0000);
  height: 2px;
  position: absolute;
  inset: auto -5% 14%;
}

.boot-train {
  filter: drop-shadow(0 0 8px #f2cf8d90);
  gap: 3px;
  width: 32%;
  height: 9%;
  animation: 4.6s linear infinite boot-train;
  display: flex;
  position: absolute;
  bottom: 9%;
  left: 0;
  transform: translateX(-120%);
}

.boot-train i {
  background: linear-gradient(#789690 0 24%, #e8d2a6 25% 51%, #547470 52%);
  border: 1px solid #c8c39871;
  border-radius: 50% 13% 12% 18%;
  width: 31%;
  box-shadow: 0 4px #0b2028;
}

.boot-caption {
  text-align: center;
  width: min(82vw, 425px);
}

.boot-heading {
  letter-spacing: -.055em;
  white-space: nowrap;
  margin: .16rem 0 .83rem;
  font: 600 clamp(41px, 8vw, 77px) / 1 Georgia, serif;
}

.boot-step {
  color: #d1e0d9;
  text-align: left;
  justify-content: space-between;
  gap: 12px;
  font: 600 clamp(12px, 2vw, 14px) / 1.4 system-ui;
  display: flex;
}

#town-boot-progress::-webkit-progress-value {
  background: linear-gradient(90deg,#87beb6,var(--boot-gold));
  border-radius: 5px;
}

@keyframes boot-windows {
  0%, 100% {
    opacity: .27;
  }

  50% {
    opacity: .86;
  }
}

@keyframes boot-train {
  0% {
    opacity: 0;
    transform: translateX(-116%);
  }

  15%, 85% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(327%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot-roof:before, .boot-train {
    animation: none;
  }

  .boot-train {
    filter: none;
    transform: translateX(121%);
  }
}

:root {
  --dt-opening-art: url("/city/img/opening-art.webp");
}

.town-boot[hidden] {
  display: none;
}

.town-boot {
  z-index: 5000;
  isolation: isolate;
  color: #fff2de;
  font-family: var(--font-app-body, system-ui);
  background: #241f35;
  align-items: flex-end;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.opening-landscape, .opening-mist, .opening-lights {
  z-index: -2;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.opening-landscape {
  background: var(--dt-opening-art) center 51%/cover no-repeat;
  transform-origin: 59% 49%;
  animation: 20s cubic-bezier(.22, 1, .36, 1) both opening-drift;
}

.town-boot:after {
  content: "";
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(9deg, #131321 1%, #1d182acf 19%, #0000 63%), linear-gradient(90deg, #19172f98, #0000 69%);
  position: absolute;
  inset: 0;
}

.opening-mist {
  z-index: -1;
  opacity: .46;
  mix-blend-mode: screen;
  background: radial-gradient(at 34% 66%, #ad82aa67, #0000 38%), radial-gradient(at 75% 58%, #e5ac8933, #0000 28%);
  animation: 16s cubic-bezier(.33, 1, .68, 1) infinite alternate opening-fog;
  inset: -12% -18%;
}

.opening-lights {
  z-index: 0;
  opacity: .86;
  width: 100%;
  height: 100%;
  inset: 0;
}

.opening-content {
  grid-template-columns: minmax(260px, 1fr) minmax(265px, 370px);
  align-items: end;
  gap: clamp(22px, 8vw, 165px);
  width: 100%;
  padding: 0 clamp(25px, 7vw, 116px) clamp(26px, 7.8vh, 96px);
  display: grid;
  position: relative;
}

.opening-title {
  min-width: 0;
  max-width: 650px;
}

.opening-mark {
  color: #ffe2a4;
  background: #4133488c;
  border: 1px solid #eac68e81;
  border-radius: 50%;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  font-size: 27px;
  line-height: 1;
  display: grid;
  box-shadow: inset 0 1px #ffe5b85a;
}

.opening-title .boot-heading {
  font-family: var(--font-app-heading, Georgia,serif);
  letter-spacing: -.073em;
  text-wrap: nowrap;
  text-shadow: 0 5px 37px #16172e8f;
  margin: 0 0 clamp(22px, 4.6vh, 51px);
  font-size: clamp(48px, 9vw, 126px);
  font-weight: 730;
  line-height: .96;
}

.boot-step {
  color: #fff0dc;
  text-shadow: 0 1px 7px #171424;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: clamp(13px, 1.65vw, 17px);
  font-weight: 620;
  display: flex;
}

#town-boot-value {
  font-variant-numeric: tabular-nums;
  color: #ffe4a5;
}

#town-boot-progress {
  appearance: none;
  background: #ffe6bc29;
  border: 0;
  border-radius: 8px;
  width: 100%;
  height: 5px;
  margin-top: 13px;
  display: block;
}

#town-boot-progress::-webkit-progress-bar {
  background: #ffe6bc29;
  border-radius: 8px;
}

#town-boot-progress::-webkit-progress-value {
  background: linear-gradient(90deg, #bda5d9, #f4b080 55%, #ffe2a0);
  border-radius: 8px;
  transition: width .28s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 0 15px #ffc08e7a;
}

#town-boot-progress::-moz-progress-bar {
  background: linear-gradient(90deg, #bda5d9, #ffe2a0);
  border-radius: 8px;
}

.opening-curiosity {
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background: linear-gradient(135deg, #523951e0, #241e38df 77%);
  border: 1px solid #ffd4a94a;
  border-radius: 22px;
  padding: 20px 21px 13px;
  box-shadow: inset 0 1px #ffe1ae36, 0 13px 42px #16132273;
}

.opening-note {
  color: #f4cfa1;
  letter-spacing: .11em;
  text-transform: uppercase;
  align-items: center;
  gap: 8px;
  font-size: .77rem;
  font-weight: 760;
  display: flex;
}

.opening-note span {
  font-size: 18px;
  line-height: 1;
}

.opening-fact {
  min-height: 103px;
  margin-top: 10px;
}

.opening-fact strong {
  font-family: var(--font-app-heading, Georgia,serif);
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 630;
}

.opening-fact p {
  color: #f4e6db;
  margin: .4em 0 0;
  font-size: .91rem;
  line-height: 1.51;
}

.opening-fact-controls {
  color: #efd0ad;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  font-size: .78rem;
  display: flex;
}

.opening-fact-controls button {
  color: #fff0d6;
  width: 35px;
  height: 35px;
  font: inherit;
  cursor: pointer;
  background: #ffe6a413;
  border: 1px solid #f6d5ac50;
  border-radius: 50%;
  place-items: center;
  font-size: 18px;
  display: grid;
}

.opening-fact-controls button:is(:focus-visible, :hover) {
  background: #edb07039;
  outline-color: #fff0d6;
}

.town-welcome {
  --welcome-amber: #f4cb94;
  background: linear-gradient(0deg, #181727ba, #0000 45%), linear-gradient(90deg, #151523fb 1%, #2f2536ed 24%, #3f324a8c 48%, #55455b12 74%);
}

.welcome-dig .welcome-dog-render {
  filter: drop-shadow(0 9px 13px #1b1728b8);
}

@media (max-width: 760px) {
  .town-welcome {
    background: linear-gradient(0deg, #151624f5, #33283bd9 67%, #31283dad);
  }
}

@keyframes opening-drift {
  from {
    transform: scale(1.045)translate(-.34%, .12%);
  }

  to {
    transform: scale(1.002)translate(0);
  }
}

@keyframes opening-fog {
  from {
    transform: translateX(-4%);
  }

  to {
    transform: translateX(5%);
  }
}

@media (max-width: 730px) {
  .opening-content {
    padding: 0 19px max(22px,env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .opening-title .boot-heading {
    margin-bottom: 15px;
    font-size: clamp(46px, 12vw, 92px);
  }

  .opening-mark {
    width: 35px;
    height: 35px;
    margin-bottom: 7px;
    font-size: 22px;
  }

  .opening-curiosity {
    padding: 13px 15px 9px;
  }

  .opening-fact {
    min-height: 75px;
    margin-top: 6px;
  }

  .opening-fact p {
    margin-top: .2em;
    font-size: .85rem;
  }

  .opening-landscape {
    background-position: 60% 48%;
  }
}

@media (max-height: 470px) {
  .opening-mark {
    display: none;
  }

  .opening-content {
    padding-bottom: 15px;
  }

  .opening-curiosity {
    padding: 11px 14px;
  }

  .opening-fact {
    min-height: 63px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening-landscape, .opening-mist {
    animation: none;
  }

  .opening-lights {
    display: none;
  }

  #town-boot-progress::-webkit-progress-value {
    transition: none;
  }
}

.town-boot[data-still] :is(.opening-landscape, .opening-mist) {
  animation: none;
}

.audio-controls summary {
  cursor: pointer;
  color: var(--ink, #fff0de);
  padding: .63rem 0;
  font-weight: 680;
}

.audio-controls {
  border-block: 1px solid #e5dbc625;
  margin-block: .45rem .68rem;
}

.world-sound {
  background: #192f3e62;
  border: 1px solid #c8dfe335;
  border-radius: 13px;
  margin: .55rem 0 .8rem;
}

.world-sound summary {
  color: #fff5df;
  cursor: pointer;
  padding: .68rem .8rem;
  font-weight: 700;
}

.world-sound[open] summary {
  border-bottom: 1px solid #d5e7f025;
}

.world-sound label {
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  padding: .47rem .8rem;
  display: flex;
}

.world-sound input {
  accent-color: #e3bd80;
}

.world-sound input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
}

.world-sound input[type="range"] {
  min-width: 65px;
  max-width: 43%;
}

.town-boot {
  background: #172b30;
}

.opening-landscape {
  transform-origin: 62% 69%;
  background-position: 50% 54%;
  animation: 18s cubic-bezier(.22, 1, .36, 1) both opening-drift;
}

.town-boot:after {
  background: linear-gradient(0deg, #102126f5 0%, #182a31c7 14%, #17292b18 60%, #0000 83%), linear-gradient(96deg, #23383f37, #0000 63%);
}

.opening-content {
  grid-template-columns: minmax(270px, 1fr) minmax(275px, 346px);
  gap: clamp(24px, 7vw, 115px);
}

.opening-title .boot-heading {
  color: #fff2d8;
  letter-spacing: -.064em;
  margin-bottom: clamp(18px, 3.4vh, 36px);
  font-size: clamp(49px, 7.3vw, 102px);
  line-height: 1;
}

.opening-mark {
  display: none;
}

.opening-curiosity {
  background: linear-gradient(135deg, #354748e8, #142b33f2 81%);
  border-color: #e2cf9b59;
  border-radius: 15px;
  box-shadow: inset 0 1px #fff4d522, 0 8px 27px #10202257;
}

.opening-note {
  color: #ead29d;
  letter-spacing: .07em;
}

.opening-fact {
  min-height: 95px;
}

.opening-fact p {
  color: #e0e9df;
}

.opening-fact-controls button {
  color: #f4e5c1;
  background: #d4dbbe13;
}

#welcome-curiosity-drawer {
  color: #f1e4c1;
  width: min(336px, 34vw);
  position: absolute;
  bottom: clamp(145px, 23vh, 237px);
  right: clamp(18px, 4vw, 60px);
}

#welcome-curiosity-drawer > summary {
  cursor: pointer;
  color: #fff0d0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #23393fd9;
  border: 1px solid #e1c99678;
  border-radius: 9px;
  width: max-content;
  margin-left: auto;
  padding: 9px 14px;
  font-size: .84rem;
  font-weight: 670;
  list-style: none;
}

#welcome-curiosity-drawer > summary:before {
  content: "⊕";
  margin: 0 .5em 0 0;
  display: inline-block;
}

#welcome-curiosity-drawer[open] > summary:before {
  content: "⊖";
}

#welcome-curiosity-drawer[open] .opening-curiosity {
  margin-top: 7px;
}

#welcome-curiosity-drawer .opening-note {
  display: none;
}

.town-welcome {
  background: linear-gradient(0deg, #17252ab8, #0000 45%), linear-gradient(90deg, #16282df9 1%, #283d41e5 24%, #3d4e4d72 48%, #0000 76%);
}

.welcome-dig p {
  background: #25393dde;
  border-color: #d8c49e68;
}

@media (max-width: 750px) {
  .opening-content {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .opening-landscape {
    background-position: 62%;
  }

  .opening-title .boot-heading {
    margin-bottom: 14px;
    font-size: clamp(46px, 12vw, 90px);
  }

  .opening-fact {
    min-height: 75px;
  }

  #welcome-curiosity-drawer {
    width: auto;
    max-width: 365px;
    margin: 5px 0 21px;
    position: static;
  }

  #welcome-curiosity-drawer > summary {
    margin-left: 0;
  }

  .town-welcome {
    background: linear-gradient(0deg, #172a31f5, #243a41dc 66%, #203b40b4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening-landscape {
    animation: none;
  }
}

#beacons {
  z-index: 3;
}

.landmark-beacon {
  pointer-events: auto;
  white-space: nowrap;
  color: #f3f7ed;
  background: #263d36e0;
  border: 1px solid #e7f0dc78;
  border-radius: 8px;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 3px 7px 3px 4px;
  font-size: 10px;
  font-weight: 670;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -100%);
  box-shadow: 0 5px 17px #14282060;
}

.landmark-beacon .beacon-icon {
  background: #e3f1db28;
  border-radius: 4px;
  place-items: center;
  width: 17px;
  height: 17px;
  font-size: 11px;
  display: grid;
}

.landmark-beacon.is-compact {
  min-height: 25px;
  padding: 3px;
}

.landmark-beacon.is-compact .beacon-label {
  display: none;
}

.landmark-beacon.is-selected {
  border-color: #dcf2ba;
  box-shadow: 0 0 0 1px #d0efab56;
}

.landmark-beacon:after {
  content: "";
  background: #263d36;
  border-radius: 1px;
  width: 6px;
  height: 6px;
  position: absolute;
  bottom: -4px;
  left: calc(50% - 3px);
  transform: rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .landmark-beacon:hover {
    background: #3c5f50;
  }
}

#place-selection {
  z-index: 2;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
}

#place-selection span {
  filter: drop-shadow(0 1px 1px #15271d);
  border: 0 solid #e4f6b9;
  border-radius: 2px;
  width: 11px;
  height: 11px;
  position: absolute;
}

#place-selection span:first-child {
  border-top-width: 2px;
  border-left-width: 2px;
  top: 0;
  left: 0;
}

#place-selection span:nth-child(2) {
  border-top-width: 2px;
  border-right-width: 2px;
  top: 0;
  right: 0;
}

#place-selection span:nth-child(3) {
  border-bottom-width: 2px;
  border-left-width: 2px;
  bottom: 0;
  left: 0;
}

#place-selection span:nth-child(4) {
  border-bottom-width: 2px;
  border-right-width: 2px;
  bottom: 0;
  right: 0;
}

#town-labels .dt-pin:not(.dt-pin--named, .dt-pin--badge) {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* [project]/workspace/src/pages/sans_a992a6ad.module.css [client] (css) */
@font-face {
  font-family: sans;
  src: url("../media/lexend-s.p.2svk7cnw5x6df.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

@font-face {
  font-family: sans Fallback;
  src: local(Arial);
  ascent-override: 90.26%;
  descent-override: 22.57%;
  line-gap-override: 0.0%;
  size-adjust: 110.79%;
}

.sans_a992a6ad-module__u7LTkq__className {
  font-family: sans, sans Fallback;
}

/* [project]/workspace/src/pages/heading_27f289c3.module.css [client] (css) */
@font-face {
  font-family: heading;
  src: url("../media/fraunces-s.p.0fuf3937kiol3.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

@font-face {
  font-family: heading Fallback;
  src: local(Arial);
  ascent-override: 84.05%;
  descent-override: 21.91%;
  line-gap-override: 0.0%;
  size-adjust: 116.36%;
}

.heading_27f289c3-module__a1L4ya__className {
  font-family: heading, heading Fallback;
}

/*# sourceMappingURL=workspace_src_19s2wo9._.css.map*/