:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #faf8f2;
  background: #19221e;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
button:disabled {
  cursor: progress;
  opacity: 0.62;
}
[hidden] {
  display: none !important;
}
#stage {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 300px;
  overflow: hidden;
}
#viewport,
#viewport canvas,
#still,
.vignette,
#title-screen,
#hud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#viewport {
  background: #444e46;
  outline: none;
  touch-action: none;
}
#viewport canvas {
  display: block;
  touch-action: none;
}
#still {
  object-fit: cover;
  object-position: center 50%;
  transition: opacity 1.1s;
  pointer-events: none;
}
#still.ready {
  opacity: 0;
}
.vignette {
  pointer-events: none;
  background:
    linear-gradient(
      0deg,
      #10130fd1,
      transparent 26%,
      transparent 83%,
      #14201719
    ),
    radial-gradient(ellipse at 50% 48%, #131a1929, transparent 60%);
  transition: opacity 0.6s;
}
body.playing .vignette {
  opacity: 0;
}
#title-screen {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  background: radial-gradient(ellipse at 50% 49%, #09100f59, transparent 63%);
  pointer-events: none;
}
.title-menu {
  margin-bottom: 2.3vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.title-menu h1 {
  margin: 0 0 37px;
  font-size: clamp(23px, 3.35vw, 53px);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.46em;
  text-indent: 0.46em;
  text-shadow: 0 2px 21px #0a100eaa;
  display: flex;
  justify-content: center;
  gap: 0.68em;
  flex-wrap: wrap;
  line-height: 1.35;
}
.menu-buttons {
  width: min(258px, 72vw);
  display: grid;
  gap: 9px;
}
.username-field {
  display: grid;
  gap: 4px;
  padding: 7px 13px 8px;
  pointer-events: auto;
  text-align: left;
  background: #202a26ce;
  backdrop-filter: blur(5px);
  border: 1px solid #e3ebe294;
  color: #e0e7de;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.username-field:focus-within { outline: 2px solid #fafcf4; outline-offset: 2px; }
#username {
  min-width: 0;
  padding: 0;
  outline: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 16px/1.2 ui-monospace, monospace;
}
#username::placeholder { color: #c0cbc3; opacity: 1; }
#local-preview {
  max-width: 30em;
  padding: 5px 20px;
  background: #16201be8;
  border-radius: 6px;
  line-height: 1.5;
  pointer-events: auto;
}
#local-preview a {
  color: inherit;
}
.action,
.hud-button,
.map-submit {
  border: 1px solid #fff8;
  background: #1d252045;
  color: #fbfaf6;
  font-size: 11px;
  font-weight: 450;
  letter-spacing: 0.21em;
  text-indent: 0.21em;
  text-transform: uppercase;
  min-height: 45px;
  transition:
    background 0.16s,
    border-color 0.16s;
}
.action {
  pointer-events: auto;
  backdrop-filter: blur(3px);
}
.action:hover,
.action:focus-visible {
  background: #283029c7;
  border-color: #fff;
}
.main-action,
.map-submit {
  background: #f5f4eeed;
  color: #232721;
  border-color: #f5f4ee;
}
.main-action:hover,
.map-submit:hover {
  background: #fff;
  color: #101411;
}
#load-feedback {
  position: absolute;
  top: calc(100% + 14px);
  display: grid;
  justify-items: center;
  gap: 8px;
  width: max-content;
  max-width: 85vw;
  text-shadow: 0 1px 4px #000;
  color: #fcfbf6;
  font-size: 12px;
}
.loading-track {
  display: none;
  width: 106px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: #f0f3e54a;
}
#load-feedback[data-loading] .loading-track {
  display: block;
}
.loading-track::after {
  content: "";
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #f8f8e9 53%, transparent);
  will-change: transform;
  animation: campus-loading 1.5s ease-in-out infinite;
}
@keyframes campus-loading {
  from { transform: translateX(-100%); }
  to { transform: translateX(200%); }
}
#home-foot,
.hud-top,
.hud-bottom {
  position: absolute;
  left: max(28px, env(safe-area-inset-left));
  right: max(28px, env(safe-area-inset-right));
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
#home-foot {
  bottom: max(25px, env(safe-area-inset-bottom));
  align-items: flex-end;
  text-shadow: 0 1px 7px #10170d;
}
.small-label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #e5e6da;
}
.place-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 3px 0 -4px -8px;
}
.place-line button,
.foot-menu button {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  padding: 8px 3px;
  text-shadow: inherit;
}
.place-line button:first-child,
.place-line button:last-child {
  font: 300 22px/1 Arial;
  color: #e2e4d8;
  padding: 1px 7px;
}
.place-line button:hover,
.foot-menu button:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.foot-menu {
  display: flex;
  gap: clamp(9px, 1.6vw, 27px);
  align-items: center;
}
.foot-menu button {
  font-size: 9px;
  color: #f0f1e9;
}
.hud-top {
  top: max(17px, env(safe-area-inset-top));
  align-items: flex-start;
}
.hud-top #current-place {
  text-transform: uppercase;
  letter-spacing: 0.21em;
  font-size: 10px;
  line-height: 1.3;
  color: #fff;
  text-shadow:
    0 1px 5px #000,
    0 0 10px #162016;
}
.hud-location { display: grid; gap: 3px; max-width: 42vw; }
#nearby-chat {
  position: absolute;
  z-index: 1;
  top: calc(max(17px, env(safe-area-inset-top)) + 44px);
  left: max(28px, env(safe-area-inset-left));
  max-width: calc(100% - 56px);
}
#chat-toggle, #chat-preview { vertical-align: middle; }
#chat-preview {
  display: inline-block;
  max-width: min(240px, 49vw);
  margin-left: 4px;
  padding: 5px 9px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #18201be8;
  font-size: 12px;
}
#chat-panel {
  width: min(310px, 100%);
  margin-top: 5px;
  padding: 10px 12px;
  background: #151e1bf5;
  box-shadow: 0 3px 12px #0004;
  pointer-events: auto;
  font-size: 13px;
}
#nearby-chat:has(#chat-panel:not([hidden])) { width: 310px; }
.chat-heading, #chat-form { display: flex; gap: 8px; align-items: center; }
.chat-heading span, #chat-feedback { color: #bcc8bf; font-size: 11px; }
#chat-close { margin-left: auto; font-size: 18px; }
#chat-log { max-height: min(21dvh, 135px); overflow-y: auto; overflow-wrap: anywhere; }
#chat-log p { margin: 6px 0; line-height: 1.35; }
#chat-log strong { color: #d0e7d3; margin-right: .25em; }
#chat-form { margin-top: 7px; }
#chat-text { flex: 1; min-width: 0; padding: 7px 8px; border: 1px solid #758379; color: white; background: #29332d; }
#chat-text::placeholder { color: #c5ccc7; }
#chat-form button { background: #354b3d; }
#chat-feedback:not(:empty) { display: block; margin-top: 7px; }
@media (max-width:620px) {
  #nearby-chat { left: max(14px, env(safe-area-inset-left)); max-width: calc(100% - 28px); }
  #chat-text { font-size: 16px; }
}
#online-status { color: #e0eae3; font-size: 10px; text-shadow: 0 1px 4px #000, 0 0 6px #17231e; }
.hud-bottom {
  bottom: max(16px, env(safe-area-inset-bottom));
  align-items: flex-end;
}
.hud-button,
.map-submit {
  min-height: 34px;
  padding: 0 12px;
  background: #18201bc7;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.hud-button:hover {
  background: #151d18f0;
}
.travel-tools {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
#hud {
  pointer-events: none;
}
#hud button,
#stick {
  pointer-events: auto;
}
#jump { display:none; position:absolute; right:max(22px,env(safe-area-inset-right)); bottom:76px; }
@media (pointer:coarse) { #jump {display:block;} }
@media (pointer:coarse) and (max-width:460px) { #jump {bottom:106px;} }
.reticle {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: #ffffffe0;
  box-shadow: 0 0 2px #333;
  border-radius: 50%;
}
.first-person .reticle { display: block; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.student-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
.student-card {
  position: relative;
  display: grid;
  border: 1px solid #69736a;
  background: #252e29;
  cursor: pointer;
}
.student-card img { width: 100%; aspect-ratio: 1.21; object-fit: cover; }
.student-card input {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #277451;
  cursor: pointer;
}
.student-card:has(input:checked) { border-color: #e7e8da; }
.student-card:has(input:focus-visible) { outline: 2px solid white; outline-offset: 3px; }
#student-done { width: 100%; }
@media (max-width: 460px) {
  .travel-tools { display: grid; grid-template-columns: auto auto; gap: 5px; }
  .travel-tools .hud-button { padding: 0 6px; column-gap: 4px; }
}
kbd {
  font:
    10px/1.3 ui-monospace,
    monospace;
  color: #d8ded1;
  border: 1px solid #e6e9db5c;
  padding: 1px 4px;
  border-radius: 2px;
}
.hud-button kbd, .foot-menu kbd, #mini-map kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.5em;
  padding: 1px 3px;
  color: #f1f0e5;
  background: #1b241dc4;
  letter-spacing: 0;
  text-indent: 0;
  text-transform: none;
  text-shadow: none;
}
.travel-tools button, .foot-menu button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 6px;
  white-space: nowrap;
}
#walk-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: #162019c9;
  text-shadow: 0 1px 4px #000;
  padding: 7px 11px;
  font-size: 12px;
  max-width: 85vw;
}
#walk-hint:empty {
  display: none;
}
#stick {
  display: none;
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: 88px;
  height: 88px;
  border: 1px solid #fff8;
  border-radius: 50%;
  background: #18231a50;
  touch-action: none;
}
#stick span {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #fff8;
  background: #ffffff75;
}
dialog {
  width: min(440px, calc(100vw - 32px));
  margin: auto;
  padding: 22px 26px 25px;
  color: #faf9f3;
  border: 1px solid #dce0d268;
  background: #19211eed;
  box-shadow: 0 14px 70px #0b120f55;
  max-height: 87svh;
  overflow: auto;
  backdrop-filter: blur(12px);
}
dialog::backdrop {
  background: #101a1459;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 21px;
}
.dialog-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.dialog-head button {
  font: 300 24px/1 Arial;
  color: #e2e7dc;
  padding: 2px 6px;
}
.dialog-head button:hover {
  color: white;
  background: #ffffff12;
}
#dialog-content {
  font-size: 13px;
  line-height: 1.55;
  color: #e6e8e0;
}
#dialog-content p {
  margin: 0 0 12px;
}
#dialog-content p:last-child {
  margin-bottom: 0;
}
#dialog-content a {
  color: inherit;
  text-underline-offset: 3px;
}
.map-place {
  font-size: 12px;
  padding: 9px 6px;
  border: 1px solid #b9c5b760;
  color: #e4e9df;
}
.map-place:hover {
  background: #ffffff13;
}
.map-place[aria-pressed="true"] {
  background: #eeeee5;
  color: #242a24;
  border-color: #eeeee5;
}
.menu-note,
.attribution {
  font-size: 11px;
  color: #c2cabc;
}
.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #ffffff1d;
}
.menu-note {
  margin-top: 15px !important;
}
.map-dialog {
  width: min(780px, calc(100vw - 28px));
}
.map-frame {
  position: relative;
  aspect-ratio: 1.98;
  background: #25352b;
  border: 1px solid #bac2b25c;
  overflow: hidden;
}
.map-frame canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-compass {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #e4e8d9;
  border-radius: 50%;
  background: #28382e;
  color: #fff9e4;
  font: 700 11px/1 system-ui, sans-serif;
}
.map-compass:hover, .map-compass:focus-visible { background: #14261b; }
.map-bearing { display: grid; justify-items: center; gap: 2px; }
.map-compass.clockwise .map-bearing { transform: rotate(90deg); }
.map-compass.clockwise .map-bearing > span { transform: rotate(-90deg); }
.map-bearing::after {
  content: "";
  width: 11px;
  height: 15px;
  background: linear-gradient(90deg, #fff9e4 50%, #b5c1af 50%);
  clip-path: polygon(50% 0, 100% 100%, 50% 76%, 0 100%);
}
.map-pin {
  position: absolute;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  width: 23px;
  height: 23px;
  border: 2px solid #eeeade;
  border-radius: 50%;
  background: #3c4440;
  color: white;
  font-size: 10px;
  font-weight: 600;
  box-shadow: 0 1px 3px #000;
}
.map-pin[aria-pressed="true"] {
  background: #853834;
  outline: 2px solid #f2f0db;
}
.map-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.map-place {
  font-size: 11px;
  padding: 5px 8px;
}
.map-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.map-submit {
  background: #eeeee5;
  color: #242a24;
  min-height: 36px;
}
.location-picker {
  display: grid;
  gap: 5px;
}
.pick-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid transparent;
  padding: 5px;
  font-size: 14px;
}
.pick-row[aria-pressed="true"] {
  border-color: #d6d9cf8c;
}
.pick-row:hover {
  background: #fff1;
}
.pick-row img {
  width: 76px;
  height: 45px;
  object-fit: cover;
}
.pick-row small {
  display: block;
  color: #bbc4b7;
  font-size: 11px;
}
.source-list {
  padding-left: 17px;
  margin: 5px 0 15px;
}
.source-list li {
  margin-bottom: 5px;
}
@media (max-width: 620px) {
  .title-menu h1 {
    font-size: 26px;
    gap: 0 0.46em;
    letter-spacing: 0.32em;
    text-indent: 0.32em;
    margin-bottom: 26px;
  }
  .menu-buttons {
    width: 215px;
  }
  .action {
    min-height: 43px;
  }
  .foot-menu {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 7px;
  }
  .foot-menu button {
    font-size: 8px;
    letter-spacing: 0.09em;
  }
  .small-label {
    font-size: 7px;
    letter-spacing: 0.17em;
  }
  .place-line {
    gap: 0;
  }
  .place-line #pick-place {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  #home-foot,
  .hud-top,
  .hud-bottom {
    left: 14px;
    right: 14px;
  }
  #home-foot {
    bottom: 14px;
  }
  .hud-top #current-place {
    font-size: 8px;
    letter-spacing: 0.11em;
  }
  .hud-button {
    font-size: 8px;
    padding: 0 8px;
  }
  .map-frame {
    aspect-ratio: 1.6;
  }
  .map-list {
    gap: 4px;
  }
  .map-place {
    font-size: 10px;
  }
  .map-foot .attribution {
    max-width: 135px;
    font-size: 9px;
  }
  dialog {
    padding: 17px;
  }
  .dialog-head {
    margin-bottom: 16px;
  }
  #walk-hint {
    bottom: 130px;
    font-size: 10px;
    width: max-content;
  }
}
@media (pointer: coarse) {
  #stick {
    display: block;
  }
}
@media (max-height: 450px) {
  .title-menu h1 {
    font-size: 24px;
    margin-bottom: 17px;
  }
  .menu-buttons {
    width: min(230px, 72vw);
  }
  #home-foot {
    bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
  .loading-track::after {
    animation: none;
    transform: translateX(50%);
  }
}

#conditions {
  position: absolute;
  z-index: 2;
  top: max(21px, env(safe-area-inset-top));
  right: max(28px, env(safe-area-inset-right));
  text-align: right;
  display: grid;
  gap: 3px;
  pointer-events: none;
  color: #f6f7f3;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 1px 4px #111,
    0 1px 10px #111;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.03em;
}
#campus-weather {
  font-size: 10px;
  color: #e5e7e1;
  max-width: 40vw;
}
.hud-top {
  justify-content: flex-start;
  align-items: center;
}
#menu-sound {
  margin-top: 13px;
}
@media (max-width: 620px) {
  #conditions {
    top: 15px;
    right: 14px;
    font-size: 10px;
  }
  #campus-weather {
    font-size: 9px;
  }
}
#mini-map { width:clamp(148px,14vw,198px); aspect-ratio:1; position:relative; display:block; flex:none; padding:0; border:4px solid #292f29; border-radius:50%; background:#677761; box-shadow:0 0 0 1px #dedfc99e,0 2px 9px #0008; }
#mini-map kbd { position:absolute; right:0; bottom:0; background:#202e24eb; }
#mini-clip { position:absolute;inset:0;overflow:hidden;border-radius:inherit;isolation:isolate;transform:translateZ(0); }
#mini-layer,#mini-markers { position:absolute;inset:0;pointer-events:none; }
#mini-layer canvas { position:absolute;left:0;top:0;display:block;max-width:none;transform-origin:0 0;will-change:transform; }
#mini-north,.mini-access,#mini-player { position:absolute;left:50%;top:50%;pointer-events:none;will-change:transform; }
#mini-north,.mini-access { display:grid;place-items:center;width:16px;height:16px;margin:-8px;border-radius:50%;background:#29382e;color:#fff9e4;font:700 10px/1 system-ui;letter-spacing:0; }
.mini-access { width:12px;height:12px;margin:-6px;border:1px solid #edead6;background:#395e67;font-size:8px; }
#mini-player { width:14px;height:19px;margin:-9.5px -7px;filter:drop-shadow(0 1px 1px #14231b); }
#mini-player::before,#mini-player::after { content:"";position:absolute;inset:0;background:#223327;clip-path:polygon(50% 0,100% 100%,50% 78%,0 100%); }
#mini-player::after { inset:2px 1.8px 3px;background:#fff9e4; }
#mini-map:hover,#mini-map:focus-visible { border-color:#e8e7d8; }
#interact {position:absolute;bottom:82px;left:50%;transform:translateX(-50%);border:1px solid #dad8c7c0;border-radius:4px;}
.map-dialog {width:min(1130px,calc(100vw - 24px));max-height:94dvh;overflow:auto;}
.map-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,25%);gap:17px;}
.map-frame {height:clamp(240px,61vh,650px);aspect-ratio:auto;}
.map-directory {display:flex;flex-direction:column;align-items:stretch;gap:9px;min-width:0;}
.map-directory label {font-size:13px;}
.map-directory input,.map-directory select {width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:13px;background:#222a24;border:1px solid #aab5a865;color:#f5f6ec;padding:7px;}
.map-directory select {flex:1;min-height:110px;}
.map-directory option {padding:4px;}
.map-directory #map-detail {font-size:12px;min-height:2.6em;margin:0;color:#ced3c9;}
.map-submit:disabled {opacity:.45;}
@media (max-width:640px){.map-layout{grid-template-columns:1fr;gap:9px;}.map-frame{height:clamp(169px,39dvh,360px);}.map-directory{display:grid;grid-template-columns:1fr auto;gap:5px;}.map-directory label,.map-directory input,.map-directory select{grid-column:1/-1;}.map-directory select{height:85px;min-height:0;}.map-directory #map-detail{align-self:center;min-height:0;}.map-foot{margin-top:8px;}#mini-map{width:128px;border-width:3px;}#interact{bottom:156px;}}
@media (pointer:coarse){#mini-map{margin-bottom:105px;width:clamp(106px,16vw,149px);}}
@media (max-height:450px) and (pointer:coarse){#mini-map{width:90px;margin-bottom:87px;}}

/* The map uses a light field-guide palette and keeps its labels upright. */
.map-dialog {color-scheme:light;background:#f7f6ef;color:#233a30;border:1px solid #c0c6b7;border-radius:12px;padding:18px 20px 12px;box-shadow:0 16px 72px #10191055;}
.map-dialog .dialog-head {margin-bottom:13px;}
.map-dialog .dialog-head h2 {text-transform:none;letter-spacing:-.025em;font-size:21px;font-weight:600;}
.map-dialog .dialog-head button {color:#4e5e50;}
.map-dialog .dialog-head button:hover {background:#e9ebe0;}
.map-dialog #dialog-content {color:#354d3f;}
.map-frame {background:#e1e5d7;border:1px solid #c9cebf;border-radius:7px;}
.map-frame canvas {touch-action:none;cursor:crosshair;}
.map-frame canvas:active {cursor:grabbing;}
.map-zoom {position:absolute;bottom:12px;right:12px;display:grid;border:1px solid #bac2b5;border-radius:5px;overflow:hidden;box-shadow:0 1px 3px #41503c22;}
.map-zoom button {font:500 20px/1 system-ui;color:#304a3a;width:33px;height:32px;padding:0;background:#fffef7;}
.map-zoom button+button {border-top:1px solid #d5d8cd;}
.map-zoom button:disabled {color:#99a397;opacity:1;cursor:default;}
.map-compass {right:11px;top:11px;width:35px;height:35px;background:#fcfbf4;color:#385240;border:1px solid #b7c1ae;font-size:9px;}
.map-compass:hover,.map-compass:focus-visible,.map-zoom button:enabled:hover {background:#e9eddf;}
.map-bearing {gap:1px;}.map-bearing::after {height:12px;width:9px;background:linear-gradient(90deg,#3e5643 50%,#92a390 50%);}
.map-directory {gap:8px;}
.map-directory label {font-weight:600;}
.map-directory input,.map-directory select {background:#fffef9;color:#314337;border:1px solid #c9cfc0;border-radius:5px;}
.map-directory input {min-height:36px;padding:7px 10px;}
.map-directory select {padding:3px;}
.map-directory option {padding:6px 8px;border-radius:3px;}
.map-directory option:checked {background:#dce7d7;color:#1f422e;}
.map-directory #map-detail {color:#536051;}
.map-dialog .map-submit {text-transform:none;text-indent:0;letter-spacing:.01em;font-weight:600;font-size:13px;min-height:37px;color:#fffef7;background:#2f503c;border:0;border-radius:5px;}
.map-dialog .map-submit:enabled:hover {background:#203e2c;}
.map-dialog :focus-visible {outline:2px solid #4c7254;outline-offset:1px;}
.map-foot {margin-top:8px;}.map-foot .attribution {color:#657264;font-size:10px;max-width:none;}
@media(max-width:640px){.map-dialog{padding:12px;}.map-dialog .dialog-head{margin-bottom:8px;}.map-dialog .dialog-head h2{font-size:18px;}.map-directory select{height:76px;}.map-directory{gap:5px;}.map-zoom{right:8px;bottom:8px;}}
