:root {
  --glass: rgba(12, 14, 20, 0.72);
  --gs: rgba(12, 14, 20, 0.88);
  --gb: rgba(255, 255, 255, 0.07);
  --gbh: rgba(255, 255, 255, 0.14);
  --text: #f2efe8;
  --t2: #9d9a93;
  --t3: #5e5b56;
  --accent: #e07046;
  --adim: rgba(224, 112, 70, 0.15);
  --r: 16px;
  --rs: 10px;
  --blur: blur(24px);
  --e: cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: #0a0c10;
  -webkit-font-smoothing: antialiased;
}

#map {
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
}

.glass {
  background: var(--gs);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--gb);
}

/* ── Intro ── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0a0c10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 1s ease,
    visibility 1s ease;
}
.intro.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(12px);
  animation: iFade 0.8s ease 0.3s forwards;
}
.intro-city {
  font-family: "Instrument Serif", serif;
  font-size: clamp(56px, 12vw, 160px);
  line-height: 0.9;
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  animation: iCity 1s ease 0.7s forwards;
  text-align: center;
}
.intro-sub {
  font-size: 14px;
  color: var(--t2);
  font-weight: 300;
  margin-top: 16px;
  letter-spacing: 1px;
  opacity: 0;
  animation: iFade 0.8s ease 1.3s forwards;
}
@keyframes iFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes iCity {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Shared button ── */
.ibtn {
  min-width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--gb);
  background: 0;
  color: var(--t3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.25s var(--e);
  padding: 0 2px;
}
.ibtn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

/* ── Guide Panel (Desktop) ── */
.guide {
  position: fixed;
  top: 16px;
  left: 16px;
  bottom: 16px;
  width: 370px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s var(--e);
  pointer-events: none;
}
.guide.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.guide.collapsed {
  opacity: 0;
  transform: translateX(-390px);
  pointer-events: none;
}

.guide-hdr {
  border-radius: var(--r);
  padding: 18px 20px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.guide-hdr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.logo {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.guide-title {
  font-family: "Instrument Serif", serif;
  font-size: 30px;
  line-height: 1;
}
.guide-sub {
  font-size: 12px;
  color: var(--t2);
  font-weight: 300;
  margin-top: 4px;
  line-height: 1.4;
}

.guide-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}
.guide-list::-webkit-scrollbar {
  width: 3px;
}
.guide-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* ── Persistent sidebar open button (visible when collapsed) ── */
.guide-open {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: var(--rs);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--e);
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-open.show {
  opacity: 1;
  pointer-events: auto;
}
.guide-open .logo {
  margin: 0;
}
.guide-open-arrow {
  font-size: 14px;
  color: var(--t2);
}

/* ── Guide Card ── */
.gc {
  border-radius: var(--r);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.25s var(--e);
  flex-shrink: 0;
}
.gc:hover {
  border-color: var(--gbh);
  transform: translateX(3px);
}
.gc.on {
  border-color: rgba(224, 112, 70, 0.22);
  background: rgba(224, 112, 70, 0.05);
}
.gc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.gc-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--t3);
}
.gc-cat {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}
.gc-name {
  font-family: "Instrument Serif", serif;
  font-size: 19px;
  line-height: 1.15;
}
.gc-tag {
  font-size: 12px;
  color: var(--t2);
  font-weight: 300;
  margin-top: 3px;
  line-height: 1.4;
  font-style: italic;
  font-family: "Instrument Serif", serif;
}
.gc-metas {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.gc-m {
  font-size: 10.5px;
  color: var(--t3);
  display: flex;
  align-items: center;
  gap: 3px;
}
.gc-m svg {
  width: 11px;
  height: 11px;
  opacity: 0.45;
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Category Bar ── */
.catbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
  white-space: nowrap;
}
.catbar.show {
  opacity: 1;
}
.cc {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid transparent;
  color: var(--t2);
  background: 0;
  cursor: pointer;
  transition: all 0.25s var(--e);
  white-space: nowrap;
  font-family: "Outfit";
}
.cc:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.cc.on {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--adim);
}
.cdot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
  position: relative;
  top: -0.5px;
}

/* ── Zone Legend ── */
.zleg {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
  flex-wrap: nowrap;
}
.zleg.show {
  opacity: 1;
}
.zl-i {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--t3);
  font-weight: 500;
  white-space: nowrap;
}
.zl-sw {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  border: 1.5px solid;
}
.zl-sep {
  width: 1px;
  height: 12px;
  background: var(--gb);
  margin: 0 3px;
}

/* ── Tile Switcher ── */
.tile-sw {
  position: fixed;
  top: 62px;
  right: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--rs);
  opacity: 0;
  transition: opacity 0.6s ease 0.5s;
}
.tile-sw.show {
  opacity: 1;
}
.tile-toggle {
  display: none;
}
.tile-opts {
  display: flex;
  gap: 4px;
}
.tile-opt {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--e);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3px;
  font-size: 8px;
  font-weight: 600;
  color: var(--text);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.tile-opt:hover {
  border-color: rgba(255, 255, 255, 0.3);
}
.tile-opt.on {
  border-color: var(--accent);
}
.tile-dark {
  background: #1a1d25;
}
.tile-light {
  background: #d8d4cc;
}
.tile-sat {
  background: #2a3a20;
}
.tile-topo {
  background: #e0d8c8;
}

/* ── Tour ── */
.tour-start {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  padding: 8px 20px;
  border-radius: 100px;
  color: var(--text);
  cursor: pointer;
  font-family: "Outfit";
  font-size: 11.5px;
  font-weight: 500;
  transition: all 0.25s var(--e);
  opacity: 0;
  letter-spacing: 0.3px;
}
.tour-start.show {
  opacity: 1;
}
.tour-start:hover {
  background: var(--adim);
  border-color: var(--accent);
  color: var(--accent);
}
.tour-ctrl {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 51;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.tour-ctrl.show {
  opacity: 1;
  pointer-events: auto;
}
.tbtn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gb);
  background: 0;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--e);
  font-family: "Outfit";
}
.tbtn:hover {
  background: rgba(255, 255, 255, 0.08);
}
.tour-lab {
  font-size: 11px;
  color: var(--t2);
  min-width: 55px;
  text-align: center;
}
.tour-prog {
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.tour-prog-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* ── Detail Pane ── */
.detail {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 380px;
  max-height: calc(100vh - 80px);
  z-index: 60;
  border-radius: var(--r);
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--e);
  display: flex;
  flex-direction: column;
}
.detail.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.detail-scroll {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
  overscroll-behavior: contain;
}
.detail-scroll::-webkit-scrollbar {
  width: 3px;
}
.detail-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.d-hero {
  padding: 20px 22px 16px;
  position: relative;
}
.d-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.d-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.d-x {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--gb);
  background: rgba(255, 255, 255, 0.04);
  color: var(--t3);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.d-x:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.d-name {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  line-height: 1.05;
  margin-bottom: 4px;
}
.d-tagline {
  font-size: 13px;
  color: var(--t2);
  font-weight: 300;
  font-style: italic;
  font-family: "Instrument Serif", serif;
  line-height: 1.4;
}

.d-body {
  padding: 0 22px 22px;
}
.d-desc {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 16px;
}

.d-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.d-mbox {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: var(--rs);
  border: 1px solid var(--gb);
  text-align: center;
  flex: 1;
  min-width: 0;
}
.d-ml {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--t3);
  margin-bottom: 3px;
  font-weight: 600;
}
.d-mv {
  font-size: 13px;
  font-weight: 500;
}

.d-divider {
  height: 1px;
  background: var(--gb);
  margin-bottom: 14px;
}
.d-tips-hdr {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 10px;
  font-weight: 500;
}

.tip {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--rs);
  border: 1px solid var(--gb);
  margin-bottom: 6px;
  align-items: flex-start;
}
.tip-ic {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  font-weight: 700;
}
.tip-body {
  flex: 1;
  min-width: 0;
}
.tip-type {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.tip-txt {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.5;
  font-weight: 300;
}
.t-do .tip-ic {
  background: rgba(107, 184, 138, 0.15);
  color: #6bb88a;
}
.t-do .tip-type {
  color: #6bb88a;
}
.t-dont .tip-ic {
  background: rgba(217, 85, 85, 0.15);
  color: #d95555;
}
.t-dont .tip-type {
  color: #d95555;
}
.t-save .tip-ic {
  background: rgba(212, 168, 67, 0.15);
  color: #d4a843;
}
.t-save .tip-type {
  color: #d4a843;
}
.t-photo .tip-ic {
  background: rgba(91, 164, 217, 0.15);
  color: #5ba4d9;
}
.t-photo .tip-type {
  color: #5ba4d9;
}
.t-time .tip-ic {
  background: rgba(176, 124, 216, 0.15);
  color: #b07cd8;
}
.t-time .tip-type {
  color: #b07cd8;
}

.d-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gb);
  gap: 8px;
}
.d-nav-btn {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--gb);
  background: 0;
  color: var(--t2);
  cursor: pointer;
  font-size: 11px;
  font-family: "Outfit";
  font-weight: 500;
  transition: all 0.25s var(--e);
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.d-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

/* ── Map Name Overlay ── */
.map-name {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}
.map-name.show {
  opacity: 1;
}
.mn-t {
  font-family: "Instrument Serif", serif;
  font-size: clamp(24px, 3.5vw, 48px);
  color: var(--text);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
  line-height: 1;
}
.mn-c {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

/* ── Floats ── */
.zfloat {
  position: fixed;
  z-index: 45;
  padding: 10px 14px;
  border-radius: var(--rs);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  max-width: 240px;
}
.zfloat.show {
  opacity: 1;
}
.zf-name {
  font-family: "Instrument Serif", serif;
  font-size: 14px;
  margin-bottom: 2px;
}
.zf-type {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.zf-desc {
  font-size: 11px;
  color: var(--t2);
  line-height: 1.4;
  margin-top: 3px;
  font-weight: 300;
}

.mhover {
  position: fixed;
  z-index: 55;
  padding: 10px 14px;
  border-radius: var(--rs);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  width: 200px;
}
.mhover.show {
  opacity: 1;
}
.mh-cat {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.mh-name {
  font-family: "Instrument Serif", serif;
  font-size: 15px;
  line-height: 1.15;
  margin-bottom: 3px;
}
.mh-tag {
  font-size: 11px;
  color: var(--t2);
  font-weight: 300;
  line-height: 1.35;
  font-style: italic;
  font-family: "Instrument Serif", serif;
}
.mh-cta {
  font-size: 9px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 5px;
  letter-spacing: 0.3px;
}

/* ── Markers ── */
.mkr {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
}

/* ── Grain ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px;
}

.maplibregl-ctrl-attrib {
  opacity: 0.3 !important;
  font-size: 9px !important;
}
.maplibregl-ctrl-group {
  border-radius: 10px !important;
  overflow: hidden;
}
.maplibregl-ctrl-group button {
  width: 30px !important;
  height: 30px !important;
}

/* ═══════════════════════════════════════════════════
     MOBILE (<= 768px)
     ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Guide becomes a bottom drawer */
  .guide {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: auto;
    max-height: 45vh;
    border-radius: var(--r) var(--r) 0 0;
    transform: translateY(20px);
  }
  .guide.show {
    transform: translateY(0);
  }
  .guide.collapsed {
    transform: translateY(calc(100% + 20px));
  }
  .guide-hdr {
    border-radius: var(--r) var(--r) 0 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--gb);
  }
  .guide-list {
    max-height: 28vh;
  }

  /* Sidebar open button on mobile */
  .guide-open {
    top: auto;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }

  /* Detail = full-width bottom sheet */
  .detail {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 75vh;
    border-radius: var(--r) var(--r) 0 0;
    transform: translateY(100%);
  }
  .detail.open {
    transform: translateY(0);
  }

  /* Category bar above guide */
  .catbar {
    bottom: auto;
    top: auto;
    position: fixed;
    bottom: calc(45vh + 6px);
    overflow-x: auto;
    max-width: calc(100vw - 32px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .catbar::-webkit-scrollbar {
    display: none;
  }
  /* If guide is collapsed, put catbar at bottom */
  .catbar.bottom-mode {
    bottom: 72px;
  }

  /* Zone legend */
  .zleg {
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    position: fixed;
    top: 16px;
    right: 8px;
    left: 8px;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: var(--rs);
    padding: 6px 10px;
    font-size: 9px;
  }
  .zl-i {
    font-size: 9px;
  }

  /* Tour — hidden on mobile */
  .tour-start,
  .tour-ctrl {
    display: none !important;
  }

  /* Tile switcher — slide-out horizontal, toggle is active-style swatch */
  .tile-sw {
    top: 62px;
    right: 8px;
    bottom: auto;
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .tile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    background: #1a1d25;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: box-shadow 0.3s ease, transform 0.15s ease;
  }
  .tile-toggle:active {
    transform: scale(0.88);
  }
  .tile-sw.expanded .tile-toggle {
    box-shadow: 0 0 0 4px rgba(224, 112, 70, 0.18);
  }
  /* subtle map-grid overlay hint */
  .tile-toggle::after {
    content: '';
    position: absolute;
    inset: 3px;
    background-image:
      linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.22) 1px, transparent 1px);
    background-size: 8px 8px;
    border-radius: 4px;
    mix-blend-mode: overlay;
    pointer-events: none;
  }
  .tile-opts {
    display: flex;
    flex-direction: row;
    gap: 4px;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(10px);
    margin-right: 0;
    transition:
      max-width  0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
      opacity    0.28s ease,
      transform  0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
      margin-right 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .tile-sw.expanded .tile-opts {
    max-width: 200px;
    opacity: 1;
    transform: translateX(0);
    margin-right: 6px;
  }
  .tile-opt {
    width: 40px;
    height: 40px;
  }

  /* Map name overlay */
  .map-name {
    bottom: calc(45vh + 50px);
  }

  /* Hide marker hover on mobile (touch doesn't have hover) */
  .mhover {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .intro-city {
    font-size: clamp(48px, 14vw, 80px);
  }
  .zl-sep:nth-child(n) {
    display: none;
  }
  .zleg {
    gap: 8px;
    flex-wrap: wrap;
  }
}
