:root {
  color-scheme:dark;
  /* Match the website palette in src/styles/_theme.scss, without its background image. */
  --bg:#1b2126;
  --panel:var(--bg);
  --text:#d6e0e5;
  --muted:#a4b7c0;
  --heading:#fff;
  --accent:#7ac7c9;
  --npc:#69d391;
  --mob:#ff8585;
  --reactor:var(--accent);
  --raised:color-mix(in srgb,var(--accent) 8%,var(--bg));
  --inset:color-mix(in srgb,#000 12%,var(--bg));
  --hover:color-mix(in srgb,var(--accent) 16%,var(--bg));
  --selected:color-mix(in srgb,var(--accent) 15%,var(--bg));
  --line:color-mix(in srgb,var(--accent) 20%,transparent);
  --line-subtle:color-mix(in srgb,var(--accent) 10%,transparent);
  --line-hover:color-mix(in srgb,var(--accent) 30%,transparent);
  --shadow:0 20px 40px color-mix(in srgb,#000 30%,transparent);
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  font-size:14px
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text)
}
button,input,select {
  font:inherit
}
button {
  cursor:pointer;
  color:inherit;
  background:none;
  border:0
}
button:focus-visible,input:focus-visible,select:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:3px
}
button:disabled {
  cursor:default;
  opacity:.4
}
button:hover {
  color:var(--accent)
}
[hidden] {
  display:none!important
}
.atlas {
  max-width:2200px;
  margin:auto
}
#map-access-status { padding:48px; text-align:center; color:var(--text) }
#map-access-status a, #map-access-status button { color:var(--accent) }
.masthead {
  height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 38px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(110deg,var(--raised),var(--panel))
}
.brand {
  display:flex;
  align-items:center;
  gap:18px
}
.eyebrow {
  font-size:10px;
  letter-spacing:.22em;
  color:var(--accent);
  font-weight:650;
  margin:0 0 6px
}
.atlas-back {
  color:var(--accent);
  font-size:12px;
  white-space:nowrap;
  text-decoration:none
}
.atlas-back:hover { text-decoration:underline }
h1 {
  font:32px Georgia,serif;
  letter-spacing:-.04em;
  margin:0
}
.header-right {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:12px
}
.live-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--npc);
  box-shadow:0 0 14px color-mix(in srgb,var(--npc) 33%,transparent)
}
.quiet-button {
  margin-left:24px;
  border-bottom:1px solid var(--line-hover);
  padding:7px 0;
  font-size:12px;
  color:var(--accent)
}
.workspace {
  display:flex;
  position:relative;
  height:calc(100dvh - 144px);
  min-height:610px;
  max-height:1200px
}
.navigation {
  width:246px;
  flex-shrink:0;
  background:var(--panel);
  border-right:1px solid var(--line);
  padding:28px 20px;
  display:flex;
  flex-direction:column;
  z-index:2;
  overflow:auto
}
.search-label {
  font:20px Georgia,serif;
  margin-bottom:14px
}
.search-wrap {
  display:flex;
  align-items:center;
  border:1px solid var(--line-hover);
  border-radius:6px;
  background:var(--inset);
  padding:0 10px;
  gap:8px
}
.search-wrap>span {
  font-size:25px;
  color:var(--muted)
}
.search-wrap input {
  background:none;
  border:0;
  outline:0;
  color:var(--text);
  width:100%;
  height:42px;
  min-width:0;
  font-size:12px
}
.search-wrap input::-webkit-search-cancel-button {
  display:none
}
.search-wrap input::placeholder {
  color:var(--muted)
}
.search-wrap button {
  font-size:20px;
  padding:0
}
.nav-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:10px;
  letter-spacing:.15em;
  color:var(--muted);
  margin:30px 0 12px
}
.region-button {
  display:flex;
  gap:11px;
  align-items:center;
  width:100%;
  padding:11px 8px;
  text-align:left;
  border-radius:5px;
  margin:2px 0;
  color:var(--muted);
  font-size:12px
}
.region-button.active {
  background:var(--raised);
  color:var(--text)
}
.region-button .zone-dot {
  height:6px;
  width:6px;
  border-radius:2px;
  background:var(--zone-color)
}
.region-button .count {
  margin-left:auto;
  color:var(--muted);
  font-size:10px
}
.nav-footer {
  margin-top:auto;
  padding-top:35px
}
.outline-button {
  border:1px solid var(--line-hover);
  border-radius:4px;
  padding:10px 12px;
  font-size:11px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--text)
}
.nav-footer .outline-button {
  width:100%;
}
.map-stage {
  position:relative;
  flex:1;
  min-width:0;
  overflow:hidden;
  background:radial-gradient(ellipse at 30% 50%,color-mix(in srgb,var(--accent) 5%,transparent),transparent 60%),var(--inset)
}
#world {
  width:100%;
  height:100%;
  display:block;
  touch-action:none;
  cursor:grab;
  color:var(--muted);
  user-select:none
}
#world.dragging {
  cursor:grabbing
}
.map-topline {
  position:absolute;
  top:23px;
  left:28px;
  right:28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  pointer-events:none;
  z-index:1;
  font-size:12px
}
.map-topline>span:first-child {
  color:var(--accent);
  letter-spacing:.07em
}
.map-subtitle {
  font-size:11px;
  color:var(--muted)
}
.map-legend {
  position:absolute;
  bottom:24px;
  left:26px;
  display:flex;
  gap:17px;
  align-items:center;
  padding:10px 13px;
  background:color-mix(in srgb,var(--panel) 90%,transparent);
  border:1px solid var(--line);
  border-radius:5px;
  font-size:10px;
  color:var(--muted);
  pointer-events:none
}
.map-legend>span {
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap
}
.key-dot {
  width:6px;
  height:6px;
  display:inline-block;
  border-radius:50%;
  flex-shrink:0
}
.npc {
  background:var(--npc)
}
.mob {
  background:var(--mob)
}
.reactor {
  background:var(--reactor)
}
.map-controls {
  position:absolute;
  bottom:24px;
  right:24px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:6px;
  display:flex;
  align-items:center;
  padding:2px;
  box-shadow:0 5px 15px color-mix(in srgb,#000 20%,transparent)
}
.map-controls button {
  width:34px;
  height:33px;
  font-size:22px
}
.map-controls>span {
  font-size:10px;
  min-width:38px;
  text-align:center;
  color:var(--muted)
}
.page-footer {
  height:40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 32px;
  background:var(--panel);
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:10px;
  letter-spacing:.05em
}
.footer-separator {
  margin:0 10px;
  color:var(--muted)
}
.map-field {
  cursor:pointer;
  outline:none;
  transition:opacity .18s
}
.map-field.dimmed {
  opacity:.13
}
.field-surface {
  fill:var(--raised);
  stroke:var(--zone-color);
  stroke-width:2;
  transition:fill .15s,stroke .15s
}
.map-field:hover .field-surface,.map-field:focus-visible .field-surface {
  stroke:var(--zone-color);
  stroke-width:2.7;
  fill:var(--hover)
}
.map-field.selected .field-surface {
  fill:var(--selected);
  stroke:var(--zone-color);
  stroke-width:3
}
.field-name {
  fill:var(--heading);
  font-size:17px;
  font-weight:550;
  text-anchor:middle;
  pointer-events:none
}
.field-miniature {
  color:var(--zone-color);
  pointer-events:none;
  opacity:.72
}
.field-count {
  fill:var(--muted);
  font-size:10px;
  pointer-events:none
}
.field-kind {
  fill:var(--accent);
  font-size:8px;
  text-anchor:end;
  letter-spacing:.04em
}
.connection {
  fill:none;
  stroke:var(--accent);
  stroke-width:1.4;
  vector-effect:non-scaling-stroke;
  opacity:.45;
  pointer-events:none
}
.connection.scripted {
  stroke-dasharray:4 5;
  stroke:var(--muted)
}
.connection.highlight {
  stroke:var(--accent);
  opacity:.85;
  stroke-width:2
}
.connection.dimmed {
  opacity:.08
}
.zone-title {
  fill:var(--zone-color);
  font-size:21px;
  font-weight:450;
  letter-spacing:5px;
  opacity:.6;
  pointer-events:none
}
.landscape-shape {
  fill:var(--zone-color);
  opacity:.035;
  stroke:var(--zone-color);
  stroke-width:1.5;
  stroke-opacity:.22;
  pointer-events:none
}
.tooltip {
  position:absolute;
  z-index:10;
  pointer-events:none;
  width:330px;
  background:var(--panel);
  border:1px solid var(--line-hover);
  border-radius:10px;
  box-shadow:var(--shadow);
  padding:19px;
  max-height:min(70%,570px);
  overflow:hidden
}
.tooltip h2 {
  font:23px/1.2 Georgia,serif;
  margin:2px 0 7px
}
.tooltip .tip-street {
  font-size:10px;
  color:var(--accent);
  letter-spacing:.08em;
  margin:0 0 15px
}
.tip-columns {
  display:grid;
  grid-template-columns:1fr;
  gap:12px
}
.tip-category h3 {
  font-size:10px;
  margin:0 0 5px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:7px;
  font-weight:500;
  letter-spacing:.08em
}
.tip-category p {
  margin:0;
  color:var(--text);
  font-size:11px;
  line-height:1.65
}
.tip-category .none {
  color:var(--muted);
  font-style:italic
}
.tip-hint {
  font-size:10px;
  color:var(--accent);
  border-top:1px solid var(--line);
  padding-top:12px;
  margin:13px 0 0
}
.inspector {
  width:340px;
  flex-shrink:0;
  border-left:1px solid var(--line);
  padding:25px;
  background:var(--panel);
  overflow:auto;
  z-index:3
}
.inspector-head {
  display:flex;
  justify-content:space-between;
  align-items:center
}
.inspector-head button {
  font-size:25px;
  color:var(--muted);
  margin:-8px -7px 0 0
}
.inspector h2 {
  font:29px/1.1 Georgia,serif;
  margin:9px 0 7px
}
.detail-street {
  font-size:11px;
  color:var(--muted);
  margin-bottom:23px
}
.small-label {
  display:block;
  font-size:9px;
  letter-spacing:.15em;
  color:var(--muted);
  margin-bottom:7px
}
.inspector select {
  width:100%;
  color:var(--text);
  background:var(--inset);
  border:1px solid var(--line);
  border-radius:5px;
  padding:8px;
  font-size:11px
}
.floorplan {
  height:180px;
  margin:13px 0 9px;
  border-radius:6px;
  border:1px solid var(--line);
  background:radial-gradient(ellipse,var(--raised),var(--inset));
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:15px
}
.floorplan svg {
  width:100%;
  height:100%
}
.floor-platform {
  stroke:var(--text);
  stroke-linecap:round;
  fill:none
}
.floor-rope {
  stroke:var(--muted);
  opacity:.6;
  stroke-dasharray:4 5
}
.floor-portal {
  stroke:var(--accent);
  fill:none
}
.marker-toggles {
  display:flex;
  gap:5px
}
.marker-toggles button {
  display:flex;
  gap:6px;
  align-items:center;
  font-size:10px;
  border:1px solid var(--line);
  padding:7px;
  border-radius:4px;
  flex:1;
  justify-content:center
}
.marker-toggles button[aria-pressed=false] {
  opacity:.35
}
.stage-note {
  font-size:10px;
  line-height:1.65;
  color:var(--muted);
  margin:12px 0 20px
}
.detail-group {
  margin:23px 0
}
.detail-group h3,.destinations h3 {
  font-size:10px;
  font-weight:500;
  color:var(--accent);
  letter-spacing:.14em;
  margin:0 0 12px;
  text-transform:uppercase
}
.entity-row {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  padding:7px 0;
  border-bottom:1px solid var(--line-subtle);
  font-size:12px;
  color:var(--text)
}
.entity-row .entity-meta {
  color:var(--muted);
  font-size:10px;
  text-align:right;
  white-space:nowrap
}
.detail-group .none {
  font-size:11px;
  color:var(--muted)
}
.connection-button {
  display:block;
  padding:8px 0;
  text-align:left;
  font-size:11px;
  line-height:1.4;
  width:100%;
  color:var(--text)
}
.connection-button span {
  float:right;
  color:var(--muted)
}
.destinations {
  border-top:1px solid var(--line);
  padding-top:22px
}
.result-button {
  display:block;
  text-align:left;
  width:100%;
  border-bottom:1px solid var(--line-subtle);
  padding:11px 2px;
  font-size:12px
}
.result-button small {
  display:block;
  color:var(--muted);
  margin-top:5px;
  font-size:10px
}
.help {
  position:absolute;
  z-index:12;
  top:60px;
  right:20px;
  max-width:350px;
  padding:25px;
  border:1px solid var(--line-hover);
  border-radius:9px;
  background:var(--panel);
  box-shadow:var(--shadow)
}
.help h2 {
  font:24px Georgia,serif;
  margin:0 0 15px;
  color:var(--accent)
}
.help p {
  font-size:12px;
  line-height:1.7;
  color:var(--text)
}
.help .outline-button {
  margin-top:20px
}
.empty-state {
  position:absolute;
  left:50%;
  top:45%;
  transform:translate(-50%,-50%);
  text-align:center;
  border-radius:8px;
  background:var(--panel);
  padding:24px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  font-size:13px
}
.empty-state button {
  display:block;
  color:var(--accent);
  padding:14px 0 0;
  margin:auto
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
@media(min-width:1700px) {
  .navigation {
    width:270px;
    padding:30px 26px
  }
  .inspector {
    width:365px
  }
}
@media(max-width:1100px) {
  .navigation {
    width:210px;
    padding:22px 15px
  }
  .masthead {
    padding:0 24px
  }
  .inspector {
    position:absolute;
    right:0;
    top:0;
    bottom:0;
    width:320px;
    box-shadow:var(--shadow)
  }
  .map-subtitle {
    display:none
  }
  .route-key {
    display:none!important
  }
}
@media(max-width:680px) {
  .masthead {
    height:87px;
    padding:0 18px
  }
  .brand {
    gap:12px
  }
  .eyebrow {
    font-size:8px
  }
  h1 {
    font-size:27px
  }
  .header-right #area-count,.header-right .live-dot {
    display:none
  }
  .quiet-button {
    font-size:10px;
    margin:0
  }
  .workspace {
    height:calc(100dvh - 126px);
    min-height:570px;
    display:block
  }
  .navigation {
    position:absolute;
    top:0;
    left:0;
    right:0;
    width:auto;
    height:140px;
    z-index:4;
    background:var(--panel);
    padding:13px 15px;
    border:0;
    border-bottom:1px solid var(--line);
    overflow:hidden
  }
  .search-label,.nav-heading,.nav-footer {
    display:none
  }
  .search-wrap {
    max-width:none
  }
  .search-wrap input {
    height:37px;
    font-size:12px
  }
  #regions {
    display:flex;
    gap:5px;
    overflow-x:auto;
    padding:10px 0 4px;
    scrollbar-width:thin
  }
  .region-button {
    flex-shrink:0;
    width:auto;
    font-size:10px;
    padding:8px;
    gap:5px;
    white-space:nowrap
  }
  .region-button .count {
    display:none
  }
  .map-stage {
    height:100%;
    padding-top:140px
  }
  .map-topline {
    top:157px;
    left:18px;
    right:18px;
    font-size:10px
  }
  .map-legend {
    left:12px;
    bottom:16px;
    padding:9px;
    gap:11px;
    font-size:9px
  }
  .map-controls {
    right:12px;
    bottom:63px
  }
  .map-controls button {
    width:31px
  }
  .page-footer {
    font-size:8px;
    padding:0 14px
  }
  .page-footer>span:last-child {
    display:none
  }
  .tooltip {
    width:270px;
    padding:16px;
    max-height:55%
  }
  .inspector {
    position:absolute;
    top:140px;
    width:min(100%,360px);
    padding:20px;
    z-index:7
  }
  .inspector h2 {
    font-size:26px
  }
  .floorplan {
    height:155px
  }
  .help {
    top:152px;
    right:12px;
    left:12px;
    max-width:none
  }
  .navigation:has(#search-results:not([hidden])) {
    height:310px;
    overflow:auto;
    box-shadow:var(--shadow)
  }
  #search-results .nav-heading {
    display:block
  }
  .result-button {
    font-size:11px;
    padding:8px 3px
  }
  .empty-state {
    font-size:12px;
    max-width:230px
  }
  .map-stage:has(+.inspector:not([hidden])) .tooltip {
    display:none
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important
  }
}
button,.map-field {
  -webkit-tap-highlight-color:transparent
}
