@font-face {
  font-family: DM Sans;
  src: url(./assets/dm-sans.woff2) format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Instrument Serif;
  src: url(./assets/instrument-serif.woff2) format('woff2');
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url(./assets/instrument-italic.woff2) format('woff2');
  font-display: swap;
  font-style: italic;
}
:root {
  color-scheme: dark;
  --ground: #15231f;
  --dark: #111c19;
  --panel: #1c2d27;
  --line: #3c4941;
  --paper: #f5eedb;
  --muted: #b1b9a9;
  --gold: #ebcb8c;
  /* Grow the visible circle by the same factor as the 180px backing canvas. */
  --mini-growth: calc(180 / 156);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --pad: clamp(22px, 4.4vw, 80px);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
}
body {
  font: 400 16px/1.45 var(--sans);
  background: var(--ground);
  color: var(--paper);
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  background: transparent;
  color: inherit;
  border: 0;
  padding: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #ffe4a6;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
i,
svg {
  flex-shrink: 0;
}
button {
  touch-action: manipulation;
}
i[data-icon],
.ico {
  display: inline-flex;
  font-style: normal;
}
svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}
a {
  color: var(--gold);
  text-underline-offset: 3px;
}
a:hover {
  color: white;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  border-radius: 5px;
  transition:
    transform 0.16s,
    background-color 0.16s,
    color 0.16s;
}
.button:active {
  transform: translateY(1px);
}
.primary {
  background: var(--gold);
  color: #22291e;
}
.primary:hover {
  background: #f5dca5;
}
.button svg {
  width: 17px;
  height: 17px;
}
.primary i[data-icon='play'] svg {
  width: 15px;
  height: 15px;
}
.secondary {
  border: 1px solid #b3ac9299;
  background: #14211d9c;
  color: #fff3d7;
}
.secondary:hover {
  background: #23332b;
}
body.playing {
  overflow: hidden;
}
#playScreen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #84988f;
}
#viewport,
#game {
  width: 100%;
  height: 100%;
}
#game {
  display: block;
  touch-action: none;
  outline: 0;
}
.play-top {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
.play-top > * {
  pointer-events: auto;
}
.player-hud {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding: max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  pointer-events: none;
}
.player-hud > :is(button, .mini-wrap, .coffee-hud) { pointer-events: auto; }
#playerNameBtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(13rem, 38%);
  min-height: 30px;
  padding: 3px 10px;
  border: 1px solid #7e846a88;
  border-radius: 5px;
  background: #17251f;
  color: var(--paper);
  font: 600 .875rem/1.2 var(--sans);
  opacity: 1;
}
#playerNameBtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#playerNameBtn svg { width: 13px; height: 13px; color: var(--gold); }
#playerNameBtn:not(:disabled):is(:hover, :focus-visible) span { text-decoration: underline; text-underline-offset: 2px; }
.place-chip,
.bearing,
.play-bottom,
.mini-wrap,
#targetChip {
  background: #17251ff2;
  color: var(--paper);
  border: 1px solid #7e846a88;
  border-radius: 5px;
}
.place-chip {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 13px;
  font-size: 14px;
  max-width: 70%;
}
.place-chip svg {
  color: var(--gold);
  width: 16px;
}
.bearing {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.play-bottom {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
}
.play-bottom button {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  font-size: 13px;
  white-space: nowrap;
  min-height: 35px;
  border-radius: 3px;
}
.play-bottom button:hover {
  background: #344138;
}
.play-bottom svg {
  width: 17px;
}
html[data-edition="visit"] #campusChatBtn { display: none; }
#campusChatBtn { position: relative; }
.world-identity { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.world-identity p { overflow-wrap:anywhere; }
.world-identity button { flex:none; }
.talk-unread {
  position: absolute;
  right: 1px;
  top: -8px;
  min-width: 17px;
  padding: 1px 4px;
  border-radius: 9px;
  background: #f7ecd5;
  color: #522c34;
  font: 700 11px/15px var(--sans);
}
.mini-wrap {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 4px;
  border-radius: 50%;
}
.mini-wrap button,
.mini-wrap canvas {
  width: calc(104px * var(--mini-growth));
  height: calc(104px * var(--mini-growth));
  display: block;
  border-radius: 50%;
}
.mini-wrap span {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-shadow: none;
  font-size: 11px;
  font-weight: 700;
}
#targetChip {
  position: absolute;
  top: 69px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  font-size: 13px;
}
#targetChip button {
  width: 24px;
}
#targetChip svg {
  width: 14px;
}
#loading {
  position: fixed;
  inset: 0;
  z-index: 7;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 0 clamp(22px, 7vw, 120px);
  background: #3a0606;
  overflow: hidden;
}
/* Maroon wash over the Main Quadrangles key art, darkest behind the type. */
.load-art {
  position: absolute;
  inset: 0;
  background: url('./assets/quads.webp') 62% center / cover no-repeat, url('./assets/quads-small.webp') 62% center / cover no-repeat;
  animation: loadDrift 26s ease-in-out infinite alternate;
}
.load-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #3d0303f5 0%, #6e0000e0 30%, #80000080 52%, #80000014 78%),
    linear-gradient(0deg, #1a0202cc 0%, transparent 38%);
}
@keyframes loadDrift { from { transform: scale(1.04); } to { transform: scale(1.11) translateX(-1.5%); } }
.load-card {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(440px, 100%);
}
.load-eyebrow {
  color: var(--gold);
  font: 600 12px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.load-brand {
  font: 400 clamp(46px, 6.4vw, 72px)/.95 var(--serif);
  letter-spacing: -.02em;
  color: #fff8ea;
}
.load-brand em { font-style: italic; color: #f4dfb4; }
.load-motto {
  font: italic 400 17px/1.3 var(--serif);
  color: #ead9c4cc;
  margin-bottom: 18px;
}
.load-stage { display: flex; gap: 12px; align-items: center; min-height: 52px; }
#loading h2 {
  font: 600 16px/1.25 var(--sans);
  letter-spacing: 0;
  color: #fff8ea;
}
.dialog-heading h2 {
  font: 400 39px/1.08 var(--serif);
  letter-spacing: -0.025em;
}
#loading .load-stage p {
  margin-top: 3px;
  color: #ead9c4;
  font-size: 14px;
  line-height: 1.35;
}
.load-bar {
  height: 3px;
  border-radius: 2px;
  background: #ffffff26;
  overflow: hidden;
}
.load-bar span {
  display: block;
  height: 100%;
  width: 4%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #fff1cf);
  box-shadow: 0 0 10px #ebcb8c99;
  transition: width .9s cubic-bezier(.3, .7, .2, 1);
}
#loadingQuip {
  min-height: 1.4em;
  color: #e6d2bdb3;
  font: italic 400 16px/1.35 var(--serif);
  transition: opacity .35s ease;
}
#loadingQuip.is-changing { opacity: 0; }
#loading.is-error .load-bar, #loading.is-error #loadingQuip { display: none; }
#startupActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.loadCompass {
  flex: none;
  width: 34px;
  height: 34px;
  animation: rotate 8s linear infinite;
}
@media (max-width: 640px) {
  #loading { align-content: end; padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
  .load-art::after {
    background: linear-gradient(0deg, #3d0303fa 0%, #6e0000e6 42%, #80000059 70%, #80000014 100%);
  }
}
@media (prefers-reduced-motion: reduce) { .load-art { animation: none; } }
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
dialog {
  border: 1px solid #526052;
  border-radius: 9px;
  background: var(--ground);
  color: var(--paper);
  padding: 0;
  max-height: calc(100dvh - 48px);
  width: min(490px, calc(100vw - 36px));
  max-width: none;
  box-shadow: 0 24px 80px #07130da6;
  overflow: auto;
}
dialog::backdrop {
  background: #0b1612b8;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 27px 17px;
  border-bottom: 1px solid var(--line);
}
.dialog-heading h2 {
  font-size: 36px;
}
.dialog-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: #d4d6c6;
}
.dialog-close:hover,
.map-tools button:hover {
  background: #39463a;
}
.modal-body {
  padding: 20px 27px 25px;
}
.control-row,
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid #38473d;
  font-size: 15px;
}
.control-row:first-child,
.setting-row:first-child {
  padding-top: 2px;
}
.control-row:last-child,
.setting-row:last-child {
  border: 0;
}
.control-row > span:last-child {
  display: flex;
  gap: 4px;
  align-items: center;
  color: #cbd1c2;
  font-size: 14px;
}
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 23px;
  border: 1px solid #64705f;
  border-bottom-width: 2px;
  border-radius: 3px;
  font: 500 12px var(--sans);
  padding: 0 5px;
  color: #eee8d7;
}
.modal-note {
  font-size: 14px;
  color: #bdc6b6;
  margin-top: 16px;
  line-height: 1.5;
}
.setting-row select {
  color: var(--paper);
  background: #28382f;
  border: 1px solid #5b6957;
  border-radius: 4px;
  padding: 7px 27px 7px 10px;
  font-size: 14px;
  max-width: 55%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23d5d3bc' fill='none'/%3E%3C/svg%3E");
  background-position: right 7px center;
  background-repeat: no-repeat;
}
.swatches {
  display: flex;
  gap: 8px;
}
.swatch {
  width: 27px;
  height: 27px;
  border: 3px solid var(--ground);
  outline: 1px solid #50604f;
  border-radius: 50%;
  background: var(--color);
}
.swatch[aria-pressed='true'] {
  outline: 2px solid var(--gold);
}
.flat-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 14px;
  padding: 7px 0;
}
.flat-action svg {
  width: 16px;
}
.modal-body .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.modal-body .button.secondary,
.atlas .button.secondary {
  background: #28382f;
  border-color: #526350;
}
#dialog.atlas {
  width: min(1050px, calc(100vw - 60px));
}
.atlas .dialog-heading {
  padding: 16px 22px;
}
.atlas .dialog-heading h2 {
  font-size: 32px;
}
.atlas-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(320px, 1.7fr);
  height: min(610px, calc(100dvh - 173px));
  min-height: 320px;
}
.atlas-list-side {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25362d;
  border: 1px solid #4c5b4d;
  border-radius: 4px;
  padding: 8px 10px;
  margin: 15px 14px 9px;
}
.search-box svg {
  width: 16px;
  color: var(--muted);
}
.search-box input {
  width: 100%;
  min-width: 0;
  color: var(--paper);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}
.search-box:focus-within {
  outline: 1px solid var(--gold);
}
.search-box input::placeholder {
  color: #b8bfaf;
}
.atlas-count {
  margin: 0 16px 8px;
  font-size: 12px;
  color: var(--muted);
}
.places-list {
  overflow: auto;
  flex: 1;
  scrollbar-color: #596650 transparent;
}
.place-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  padding: 10px 15px;
  border-left: 2px solid transparent;
}
.place-row:hover {
  background: #23382b;
}
.place-row[aria-pressed='true'] {
  background: #304035;
  border-left-color: var(--gold);
}
.place-row > svg {
  width: 16px;
  color: #cbba92;
}
.place-row > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.place-row strong {
  font-weight: 550;
  font-size: 14px;
}
.place-row small {
  font-size: 12px;
  color: #b4bfaf;
}
.place-row .found {
  width: 13px;
  margin-left: auto;
  color: var(--gold);
}
.empty {
  padding: 18px;
  color: var(--muted);
}
.map-area {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.map-drawing {
  position: relative;
  min-height: 150px;
  flex: 1;
  overflow: hidden;
  background: #d1d1b9;
}
.map-drawing canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: grab;
}
.map-drawing canvas:active {
  cursor: grabbing;
}
.map-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.map-tools button {
  width: 34px;
  height: 33px;
  display: grid;
  place-items: center;
}
.map-tools svg {
  width: 16px;
}
.map-notice {
  position: absolute;
  left: 5px;
  bottom: 3px;
  padding: 1px 3px;
  font-size: 10px;
  color: #26362b;
  background: #e0e0cae8;
}
.map-north {
  position: absolute;
  left: 12px;
  top: 10px;
  display: grid;
  justify-items: center;
  color: #26392b;
  font-weight: bold;
  font-size: 11px;
}
.map-north svg {
  width: 18px;
  height: 18px;
}
.place-detail {
  padding: 16px 21px 19px;
  background: #223328;
}
.place-detail h3,
.guide-detail h3 {
  font: 400 29px/1.09 var(--serif);
  margin: 4px 0 6px;
}
.place-detail small,
.guide-detail small {
  color: #d8c59b;
  font-size: 12px;
}
.place-detail p,
.guide-detail p {
  color: #e2e3d5;
  font-size: 14px;
  line-height: 1.55;
}
.detail-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}
.detail-actions .button {
  min-height: 36px;
  font-size: 13px;
  padding: 0 13px;
}
.guide-detail {
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: #233329;
}
.guide-detail .detail-illustration {
  height: 41%;
  min-height: 105px;
  object-fit: cover;
  object-position: 60% 45%;
  display: block;
  width: 100%;
}
.guide-inner {
  padding: 22px;
}
.guide-detail h3 {
  font-size: 35px;
}
.guide-detail p {
  font-size: 16px;
}
.source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
  font-size: 13px;
}
.source svg {
  width: 13px;
}
.guide-schematic {
  min-height: 125px;
  height: 36%;
  background: #bbc5ad;
  overflow: hidden;
}
.guide-schematic canvas {
  width: 100%;
  height: 100%;
}
.map-footer {
  padding: 8px 16px;
  font-size: 11px;
  border-top: 1px solid var(--line);
  color: #b3bcae;
}
.map-footer a {
  color: inherit;
}
.pause-stack {
  display: grid;
  gap: 10px;
}
.pause-stack .button {
  width: 100%;
}
#toast {
  position: fixed;
  z-index: 12;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 10px);
  border-radius: 5px;
  background: #101c16;
  color: var(--paper);
  padding: 10px 16px;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 3px 15px #101b1366;
  opacity: 0;
  pointer-events: none;
  max-width: 90vw;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.shown {
  opacity: 1;
  transform: translate(-50%, 0);
}
body.playing #toast {
  bottom: 82px;
}
@media (max-width: 900px) {
  :root { --pad: 24px; }
}
@media (max-width: 700px) {
  :root { --pad: 18px; }
  .button {
    min-height: 44px;
    padding: 0 15px;
  }
  .play-top {
    top: 10px;
    left: 10px;
    right: 10px;
  }
  .place-chip {
    padding: 7px 9px;
    font-size: 12px;
    max-width: 62%;
    min-height: 37px;
  }
  .mini-wrap button,
  .mini-wrap canvas {
    width: calc(68px * var(--mini-growth));
    height: calc(68px * var(--mini-growth));
  }
  .play-bottom {
    bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 2px;
  }
  .play-bottom kbd {
    display: none;
  }
  .play-bottom button {
    font-size: 12px;
    min-height: 33px;
  }
  #targetChip {
    top: 56px;
    left: 10px;
    max-width: 60%;
  }
  dialog,
  #dialog.atlas {
    max-height: calc(100dvh - 20px);
    width: calc(100vw - 20px);
  }
  .dialog-heading,
  .atlas .dialog-heading {
    padding: 12px 16px;
  }
  .modal-body {
    padding: 16px 19px;
  }
  .atlas-layout {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
    max-height: none;
  }
  .atlas-list-side {
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .places-list {
    max-height: 155px;
  }
  .map-drawing {
    min-height: 155px;
    height: 23dvh;
    flex: auto;
  }
  .map-area {
    display: block;
  }
  .search-box {
    margin: 9px 10px 6px;
  }
  .atlas-count {
    margin-bottom: 4px;
  }
  .place-detail {
    padding: 9px 12px 12px;
  }
  .place-detail h3 {
    font-size: 24px;
  }
  .place-detail p {
    font-size: 13px;
    line-height: 1.35;
  }
  .detail-actions {
    margin-top: 7px;
  }
  .place-row {
    padding: 7px 12px;
  }
  .guide-detail .detail-illustration,
  .guide-schematic {
    height: 16dvh;
    min-height: 70px;
  }
  .guide-inner {
    padding: 12px;
  }
  .guide-detail p {
    font-size: 14px;
  }
  .guide-detail h3 {
    font-size: 27px;
  }
  .source {
    margin-top: 8px;
  }
  .map-footer {
    padding: 5px 9px;
  }
  .guide-detail {
    display: block;
    overflow: visible;
  }
  .place-row small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.world-credit {
  position: absolute;
  right: 4px;
  bottom: 2px;
  font-size: 11px;
  text-decoration: none;
  color: #fbf7e3;
  background: #17251fc9;
  padding: 1px 4px;
}
.guide-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 13px 0;
}
.guide-tabs button {
  color: #b9c3b2;
  font-size: 13px;
  padding: 5px 9px;
  border-radius: 3px;
}
.guide-tabs [aria-pressed='true'] {
  background: #344537;
  color: var(--paper);
}
.guide-tabs:has([data-scope='discovered']) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.14fr);
  gap: 2px;
  padding-inline: 7px;
}
.guide-tabs:has([data-scope='discovered']) button {
  min-width: 0;
  min-height: 34px;
  padding-inline: 2px;
  white-space: nowrap;
}
.guide-tabs:has([data-scope='discovered']) button:focus-visible {
  outline-offset: -2px;
}
.walk-stops {
  margin: 12px 0 0;
  padding-left: 19px;
  color: #d8dfce;
  font-size: 14px;
}
.walk-stops li {
  margin-bottom: 3px;
}
.place-row .found svg {
  width: 13px;
  height: 13px;
}
#flightBar {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 17px;
  background: var(--ground);
  padding: 7px 7px 7px 17px;
  border-radius: 6px;
  white-space: nowrap;
}
#flightBar .button {
  min-height: 35px;
}
.flying .mini-wrap,
.flying .play-bottom,
.flying .bearing,
.flying .place-chip {
  visibility: hidden;
}
.flying .play-top {
  justify-content: flex-end;
}
@media (max-width: 700px) {
  .world-credit {
    font-size: 11px;
    bottom: 0;
    right: 0;
  }
  .guide-tabs {
    padding: 6px 10px 0;
  }
  .walk-stops {
    columns: 2;
  }
  .walk-stops li {
    break-inside: avoid;
  }
  .map-drawing {
    max-height: 34dvh;
  }
}
:is(#nearVia, #nearPhone, #nearScooter) {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 118px;
  min-height: 35px;
  background: var(--ground);
  white-space: nowrap;
}
:is(#nearVia, #nearPhone, #nearScooter) kbd {
  margin-left: 6px;
}
#nearScooter {
  border-color: #43812f;
  background: #91df52;
  color: #142a18;
  font-weight: 700;
}
#nearScooter:hover { background: #a6e770; }
#nearScooter kbd { color: inherit; background: #ffffff4d; border-color: #325d346b; }
#nearTower {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 75px;
  min-height: 35px;
  background: var(--ground);
  white-space: nowrap;
}
.carillon-keys {
  display: flex;
  gap: 4px;
  margin-top: 22px;
}
.carillon-keys button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 0 8px;
  height: 95px;
  flex: 1;
  min-width: 0;
  background: #caa775;
  border-radius: 3px;
  color: #302617;
  border-bottom: 6px solid #93723e;
}
.carillon-keys button kbd {
  color: inherit;
  border-color: #94763f;
}
.carillon-keys button:hover,
.carillon-keys button.ringing {
  background: #f1d396;
}
.carillon-keys button.ringing {
  transform: translateY(3px);
}
#flightBar .secondary {
  min-height: 35px;
}
@media (max-width: 700px) {
  #flightBar {
    max-width: calc(100% - 20px);
    gap: 6px;
    padding: 6px;
  }
  #flightBar span {
    font-size: 13px;
  }
  #flightBar .button {
    padding: 0 9px;
    font-size: 13px;
  }
}
.guide-detail .race-note {
  margin-top: 10px;
  font-size: 12px;
  color: #c4ccbc;
}
.race-result {
  font: 400 64px/1.2 var(--serif);
  font-variant-numeric: tabular-nums;
  margin: 10px 0;
}
.guide-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 120px;
  height: 46%;
  flex: none;
}
.guide-photo img {
  min-height: 0;
  object-fit: cover;
  object-position: 50% 45%;
  width: 100%;
  flex: 1;
}
.guide-photo figcaption {
  background: #1e2c24;
  padding: 4px 12px;
  color: #c8cdbd;
  font-size: 11px;
}
.guide-photo figcaption a {
  color: inherit;
}
@media (max-width: 700px) {
  .guide-photo {
    height: 20dvh;
    min-height: 105px;
  }
}
.messages {
  max-height: 140px;
  overflow: auto;
  overflow-wrap: anywhere;
}
.messages:not(:empty) {
  margin-top: 14px;
  padding: 8px;
  border: 1px solid var(--line);
}
.messages p {
  font-size: 14px;
  margin: 3px 0;
}
.messages strong {
  color: var(--gold);
  margin-right: 5px;
}


.coffee-hud {
  position: relative;
  z-index: 3;
  max-width: min(330px, 46vw);
}
.coffee-hud, .coffee-room {
  color: var(--paper);
  background: #17251ff5;
  border: 1px solid #7e846a88;
  border-radius: 5px;
  padding: 12px 14px;
  font: 14px/1.35 var(--sans);
}
.coffee-room { margin: 4px 24px 0; }
body:has(#dialog[open]) #coffeeHud { visibility: hidden; }
.coffee-room:not([hidden]) ~ #duoContent [data-world-challenge] { display: none; }
.coffee-hud[data-screen^="idle"] { padding: 0; }
.coffee-status, .coffee-quick, .coffee-controls, .coffee-controls > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.coffee-status { align-items: baseline; }
.coffee-status svg, .coffee-quick svg { color: var(--gold); width: 17px; flex: none; align-self: center; }
.coffee-quick { padding: 9px 12px; }
.coffee-hud p, .coffee-room p { color: #dddcca; margin: 5px 0; }
.coffee-controls { justify-content: space-between; margin-top: 7px; }
.coffee-controls time { font: 600 18px var(--sans); font-variant-numeric: tabular-nums; color: var(--gold); }
.coffee-action { padding: 5px 10px; border: 1px solid #758573; border-radius: 4px; }
.coffee-action.primary { border-color: transparent; }
@media (max-width: 700px), (any-pointer: coarse) {
  .coffee-hud {
    max-width: min(290px, calc(100% - 24px));
  }
  .coffee-action, .coffee-quick { min-height: 44px; }
}

.world-roster { display: grid; gap: 5px; max-height: 30vh; overflow-y: auto; }
.world-person { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 44px; border: 1px solid #92978566; border-radius: 4px; text-align: left; }
.world-person[aria-pressed="true"] { background: #dce5d4; color: #223b2d; }
.world-person i { width: 10px; height: 10px; flex: none; border-radius: 50%; border: 1px solid #676f58; }
.world-person strong, .coffee-status strong { min-width:0; overflow-wrap:anywhere; }
.world-person small { margin-left: auto; font-variant-numeric: tabular-nums; }
[data-player-detail] .actions { margin: 15px 0; }
.world-chat label { display: block; font-weight: 600; margin-bottom: 5px; }
.world-chat div { display: flex; align-items: stretch; gap: 6px; }
.world-chat input { background: #203328; color: var(--paper); min-width: 0; flex: 1; border: 1px solid #969e8c; border-radius: 4px; padding: 8px; }

.location-stack { display: grid; justify-items: start; gap: 6px; max-width: min(310px, 39%); }
.location-readout { max-width: 100%; border: 1px solid #7e846a88; border-radius: 5px; background: #17251ff2; color: var(--paper); overflow: hidden; }
.location-readout #position { width: 100%; max-width: 100%; min-width: 0; background: transparent; border: 0; border-radius: 0; }
.location-readout #position span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conditions-row { display: flex; align-items: stretch; border-top: 1px solid #a6ae944d; }
.conditions-row button { display: inline-flex; min-height: 31px; align-items: center; justify-content: center; background: transparent; font: 500 13px var(--sans); }
.conditions-row button:hover, .conditions-row button:focus-visible { background: #344138; }
#conditionsBtn { flex: 1; white-space: nowrap; gap: 5px; padding: 3px 9px; }
#conditionsBtn time { padding-right: 8px; margin-right: 2px; border-right: 1px solid #a6ae9461; font-variant-numeric: tabular-nums; }
.conditions-row i, .weather-reading i { display: inline-flex; }
.conditions-row svg { width: 16px; height: 16px; }
#conditionsBtn i { color: var(--gold); }
#conditionsBtn small { font-size: inherit; color: #d1d7c7; max-width: 98px; overflow: hidden; text-overflow: ellipsis; }
#campusSound { width: 33px; flex: none; border-left: 1px solid #a6ae944d; color: #e2e2c9; }
.location-stack #targetChip { position: static; max-width: 100%; }
.flying .play-top { justify-content: flex-start; }
.flying .location-readout #position { display: none; }
.flying .conditions-row { border-top: none; }
.weather-overview { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.weather-reading { display: flex; align-items: center; gap: 12px; }
.weather-reading i { color: var(--gold); }
.weather-reading svg { width: 35px; height: 35px; }
.weather-reading strong { font: 400 42px/1.05 var(--serif); }
.chicago-clock { display: grid; justify-items: end; gap: 3px; text-align: right; }
.chicago-clock time { font-size: 17px; font-variant-numeric: tabular-nums; }
.chicago-clock span, .weather-wind, .weather-source { font-size: 13px; color: #c3ccbc; }
#chicagoConditions .weather-description { margin: 8px 0 2px; }
#chicagoConditions .weather-wind { margin: 0; }
.daylight-track { position: relative; margin: 25px 0 9px; height: 5px; border-radius: 4px; background: linear-gradient(to right,#657389 0 var(--rise),#d6a65f var(--rise),#e7c587 calc((var(--rise) + var(--set))/2),#c59a66 var(--set),#657389 var(--set) 100%); }
.daylight-track i { position: absolute; top: 50%; left: var(--now); transform: translate(-50%,-50%); width: 10px; height: 10px; background: var(--paper); border: 2px solid var(--ground); border-radius: 50%; box-sizing: content-box; }
.solar-times { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.solar-times span { display: inline-flex; align-items: center; gap: 4px; }
.solar-times svg { width: 15px; height: 15px; color: var(--gold); }
.weather-source { display: grid; gap: 4px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.weather-source a { width: fit-content; color: var(--gold); }
#chicagoConditions [data-overrides] { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 14px; font-size: 13px; }
.volume-setting { display: inline-flex; align-items: center; gap: 6px; }
.volume-setting input { width: min(22vw,106px); accent-color: var(--gold); }
.volume-setting output { font-variant-numeric: tabular-nums; min-width: 36px; text-align: right; }

.discovery-progress:not([hidden]) {
  display: grid;
  gap: 6px;
  margin: 14px 16px 0;
}
.discovery-counts {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 8px;
  font-size: 12px;
  line-height: 1.4;
}
.discovery-counts strong {
  color: var(--paper);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.discovery-counts span { color: var(--muted); }
.discovery-progress progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 4px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #435046;
  color: var(--gold);
  accent-color: var(--gold);
}
.discovery-progress progress::-webkit-progress-bar { background: #435046; }
.discovery-progress progress::-webkit-progress-value { background: var(--gold); }
.discovery-progress progress::-moz-progress-bar { background: var(--gold); }
.atlas[data-guide-scope='discovered'] .place-row:focus-visible { outline-offset: -3px; }
.atlas[data-guide-scope='discovered'] .empty {
  max-width: 35ch;
  padding: 14px 16px;
  color: #cbd2c4;
}
.guide-discovery-card {
  padding: 18px 21px 20px;
  border: 1px solid #69715f;
  border-radius: 4px;
  background: #f6f1e4;
  color: #242f28;
}
.guide-detail .guide-discovery-card .discovery-title {
  max-width: none;
  margin: 5px 0 7px;
  color: inherit;
  font: 400 33px/1.05 var(--serif);
}
.guide-detail .guide-discovery-card .discovery-fact {
  max-width: 58ch;
  margin: 0;
  color: #3f4a40;
  font: 400 15px/1.48 var(--sans);
}

@media (min-width: 701px) {
  .atlas[data-guide-scope='discovered'] .guide-detail:empty { background: transparent; }
  .atlas[data-guide-scope='discovered']:has(.guide-detail:empty) .atlas-list-side { border-right-color: transparent; }
}

/* Key hints: one quiet line above the bottom bar, fading back once read. */

/* "Entering …" banner (app.js announcePlace). */
.enter-banner {
  position: absolute; top: 14px; left: 50%; transform: translate(-50%, -6px);
  z-index: 6; pointer-events: none; opacity: 0;
  font: 500 13px/1.2 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.92); text-shadow: 0 1px 6px rgba(0,0,0,.55);
  white-space: nowrap; max-width: 70vw; overflow: hidden; text-overflow: ellipsis;
}
.enter-banner::before { content: 'Entering · '; opacity: .7; }
.enter-banner.show { animation: enter-banner 3.2s ease forwards; }
@keyframes enter-banner {
  0% { opacity: 0; transform: translate(-50%, -6px); }
  12%, 72% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}
@media (max-width: 1100px) { .enter-banner { top: 112px; } }
@media (max-width: 760px) { .enter-banner { top: 128px; font-size: 11px; } }
