html, body {
  height: 100%;
  margin: 0;
  background: #000;
  font-family: var(--font-body, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
}

:root {
  --map-page-height: 100vh;
  --map-navbar-height: 5rem;
  --map-toc-panel-border: #334155;
  --map-toc-panel-bg: #0f172a;
  --map-toc-panel-color: #f8fafc;
  --map-toc-ui-font-family: var(--font-body, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --map-toc-ui-font-weight: 800;
  --map-toc-title-font-family: var(--map-toc-ui-font-family);
  --map-toc-title-font-weight: 900;
  --map-toc-meta-font-family: var(--map-toc-ui-font-family);
  --map-toc-meta-font-weight: 500;
  --map-toc-meta-letter-spacing: 0.02em;
  --map-toc-control-border: #475569;
  --map-toc-control-border-strong: #94a3b8;
  --map-toc-control-bg: #111827;
  --map-toc-control-bg-soft: #1f2937;
  --map-toc-control-bg-active: #334155;
  --map-toc-control-bg-hover: #273449;
  --map-toc-control-color: #f8fafc;
  --map-toc-item-bg: #111827;
  --map-toc-item-bg-hover: #1f2937;
  --map-toc-placeholder: #94a3b8;
  --map-toc-focus-ring: rgba(148, 163, 184, 0.35);
  --map-toc-scrollbar-track: #0b1220;
  --map-toc-scrollbar-thumb: #334155;
  --map-toc-scrollbar-thumb-hover: #475569;
}

#map {
  --area-uni-label-zoom-scale: 1;
  --area-uni-label-device-scale: 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


/* Bottom-right controls (location, attribution). */
.map-controls {
  position: absolute;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  pointer-events: none; /* allow map interactions around the control capsule */
}

.map-controls-stack {
  pointer-events: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.ctl-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--map-toc-control-border);
  background: var(--map-toc-control-bg);
  color: var(--map-toc-control-color);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  user-select: none;
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}

.ctl-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.ctl-btn:hover {
  background: var(--map-toc-control-bg-hover);
  border-color: var(--map-toc-control-border-strong);
  transform: translateY(-1px);
}

.ctl-btn:active {
  transform: translateY(0);
}

.ctl-btn.is-active {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(147, 197, 253, 0.95);
  box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.35), 0 12px 24px rgba(15, 23, 42, 0.28);
}

.ctl-btn.is-busy {
  opacity: 0.78;
  cursor: wait;
}

.map-attribution {
  pointer-events: auto;
  color: var(--map-toc-panel-color);
  opacity: 0.72;
}

.map-attribution a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: color 120ms ease, opacity 120ms ease;
}

.map-attribution a:hover {
  color: #fff;
  opacity: 1;
}


.toc-panel {
  position: absolute;
  z-index: 12;
  top: calc(var(--map-navbar-height, 5rem) + 12px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  left: 12px;
  width: min(360px, calc(100vw - 20px));
  max-height: calc(var(--map-page-height, 100vh) - var(--map-navbar-height, 5rem) - env(safe-area-inset-bottom, 0px) - 24px);
  border: none;
  border-radius: 14px;
  background: var(--map-toc-panel-bg);
  color: var(--map-toc-panel-color);
  overflow: visible;
  box-shadow: none;
  transition: transform 180ms ease;
  overscroll-behavior: contain;
  font-family: var(--map-toc-ui-font-family);
}

.toc-panel.toc-collapsed {
  transform: translateX(calc(-100% + 16px));
}

.toc-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  overscroll-behavior: contain;
}

.toc-body[hidden] {
  display: none;
}

.toc-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.toc-mode-btn {
  padding: 7px 10px;
  border: none;
  border-radius: 8px;
  background: var(--map-toc-control-bg-soft);
  color: var(--map-toc-control-color);
  cursor: pointer;
  font-family: var(--map-toc-ui-font-family);
  font-weight: var(--map-toc-ui-font-weight);
}

.toc-mode-btn.is-active {
  background: var(--map-toc-control-bg-active);
}

#toc-search,
#toc-category {
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  background: var(--map-toc-control-bg);
  color: var(--map-toc-control-color);
  font-family: var(--map-toc-ui-font-family);
  font-weight: var(--map-toc-ui-font-weight);
}

#toc-search::placeholder,
#toc-category::placeholder {
  color: var(--map-toc-placeholder);
}

#toc-search:focus,
#toc-category:focus,
.toc-mode-btn:focus,
.toc-cat-btn:focus,
.toc-item:focus,
.toc-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--map-toc-focus-ring);
}

.toc-category-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.toc-cat-btn {
  --toc-cat-accent: #ffffff;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: none;
  background: var(--map-toc-control-bg-soft);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--map-toc-ui-font-family);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 120ms ease, background 120ms ease, opacity 120ms ease;
  white-space: nowrap;
}

.toc-cat-btn svg {
  display: none;
}

.toc-cat-btn:hover {
  background: var(--map-toc-control-bg-hover);
  transform: translateY(-1px);
}

.toc-cat-btn.is-on {
  background-color: var(--toc-cat-accent);
  color: #fff;
}

.toc-cat-btn:active {
  transform: translateY(0);
}

.toc-cat-btn:not(.is-on) {
  background: var(--map-toc-control-bg);
  opacity: 1;
}

.toc-list {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--map-toc-scrollbar-thumb) var(--map-toc-scrollbar-track);
}

.toc-list::-webkit-scrollbar,
.toc-body::-webkit-scrollbar {
  width: 10px;
}

.toc-list::-webkit-scrollbar-track,
.toc-body::-webkit-scrollbar-track {
  background: var(--map-toc-scrollbar-track);
  border-radius: 999px;
}

.toc-list::-webkit-scrollbar-thumb,
.toc-body::-webkit-scrollbar-thumb {
  background: var(--map-toc-scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.toc-list::-webkit-scrollbar-thumb:hover,
.toc-body::-webkit-scrollbar-thumb:hover {
  background: var(--map-toc-scrollbar-thumb-hover);
  background-clip: padding-box;
}

.toc-item {
  --toc-item-accent: #ffffff;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border: none;
  border-radius: 10px;
  background: var(--map-toc-item-bg);
  color: var(--map-toc-control-color);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 62px;
}

.toc-item::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--toc-item-accent);
}

.toc-item-layout {
  display: block;
  position: relative;
  z-index: 1;
  min-height: 38px;
}

.toc-item-copy {
  min-width: 0;
}

.toc-item-art {
  position: absolute;
  top: -18px;
  right: -26px;
  bottom: -18px;
  width: 58%;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 135%;
  opacity: 0.18;
  pointer-events: none;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.42) 68%, #000 90%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 44%, rgba(0, 0, 0, 0.42) 68%, #000 90%);
}

.toc-item strong {
  display: block;
  line-height: 1.2;
  font-family: var(--map-toc-title-font-family);
  font-weight: var(--map-toc-title-font-weight);
}

.map-category-badge {
  --map-category-accent: #3b82f6;
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: none;
  background-color: var(--map-category-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 10;
}

@media (min-width: 640px) {
  .map-category-badge {
    right: 1.5rem;
    top: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .map-category-badge {
    right: 2rem;
  }
}

.toc-item:hover {
  background: var(--map-toc-item-bg-hover);
}

.toc-item small {
  display: block;
  margin-top: 4px;
  line-height: 1.25;
  color: var(--map-toc-placeholder);
  font-family: var(--map-toc-meta-font-family);
  font-weight: var(--map-toc-meta-font-weight);
  font-size: 0.68rem;
  letter-spacing: var(--map-toc-meta-letter-spacing);
  text-transform: none;
}

.toc-toggle {
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: var(--map-toc-control-bg);
  color: var(--map-toc-control-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  z-index: 20;
  box-shadow: none;
}

.toc-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform 160ms ease;
}

/* When collapsed, point the chevron to the right. */
.toc-panel.toc-collapsed .toc-toggle svg {
  transform: rotate(180deg);
}

.toc-empty {
  padding: 8px 4px;
  font-size: 0.92rem;
  color: var(--map-toc-placeholder);
}

.area-uni-section {
  margin-top: 14px;
}

.area-uni-built-by {
  display: none;
}

.area-uni-built-by-row,
.area-genres-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.area-genres-row {
  margin-top: 8px;
}

.area-genres-badge,
.area-uni-built-by-badge {
  display: inline-flex;
  border-radius: 9999px;
  border: none;
  background: var(--map-category-accent, rgba(255, 255, 255, 0.1));
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fff;
  text-transform: uppercase;
  flex-shrink: 0;
}

.area-genres-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.map-genre-badge {
  display: inline-flex;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  border: none;
}

.area-popup-header {
  text-align: center;
  margin-bottom: 24px;
}

.area-uni-section--top {
  margin-top: 8px;
}

.area-uni-section--top .area-timetable-btn-row {
  display: none;
}

.area-uni-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-uni-built-by-row.is-stacked {
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.area-uni-list.is-stacked {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.area-uni-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  cursor: pointer;
  transition: opacity 120ms ease;
}

.area-uni-item:hover {
  color: #fff;
}

.area-uni-item:hover .area-uni-name {
  text-decoration: underline;
}

.area-uni-item--static {
  cursor: default;
}

.area-uni-item--static:hover .area-uni-name {
  text-decoration: none;
}

.area-uni-marker-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s;
  flex-shrink: 0;
}

.area-uni-item:hover .area-uni-marker-inline {
  color: #ffffff;
}

.area-uni-marker-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.area-uni-name {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Timetable Button */
.area-timetable-btn-row {
  margin-top: 16px;
}

.area-timetable-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: none;
  background: var(--map-category-accent, #334155);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.area-timetable-badge-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.area-timetable-btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}


@media (max-width: 768px) {
  #map {
    --area-uni-label-device-scale: 1;
  }

  .map-controls {
    right: 12px;
    bottom: 12px;
    align-items: flex-end;
  }

  .toc-panel {
    top: calc(var(--map-navbar-height, 5rem) + 8px);
    left: 8px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
    width: calc(100vw - 16px);
    max-height: calc(var(--map-page-height, 100vh) - var(--map-navbar-height, 5rem) - env(safe-area-inset-bottom, 0px) - 16px);
  }

  .toc-toggle {
    right: -10px;
  }

  .map-area-uni-label {
    line-height: 0.9;
    letter-spacing: 0.025em;
    -webkit-text-stroke-width: 1.6px;
  }
}

.hotspot-dom-marker {
  --poi-base-size: 56px;
  width: calc(var(--poi-base-size) * var(--poi-zoom-scale, 1));
  height: calc(var(--poi-base-size) * var(--poi-zoom-scale, 1));
  border: 0;
  padding: 0;
  background-color: transparent;
  background-image: var(--poi-icon-url, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.hotspot-dom-marker:hover,
.hotspot-dom-marker:focus-visible {
  filter:
    drop-shadow(0 0 10px rgba(255, 21, 144, 0.34))
    drop-shadow(0 0 18px rgba(15, 118, 110, 0.28));
  transform: scale(1.035);
}

.map-page #map .maplibregl-marker.hotspot-dom-marker {
  position: absolute !important;
  left: 0;
  top: 0;
  transition: none !important;
  will-change: transform;
  z-index: 12;
}

.hotspot-dom-marker.has-icon-grain {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='rgba(255,255,255,0)'/%3E%3Ccircle cx='8' cy='9' r='0.8' fill='rgba(255,255,255,0.30)'/%3E%3Ccircle cx='19' cy='16' r='0.7' fill='rgba(255,255,255,0.22)'/%3E%3Ccircle cx='31' cy='11' r='0.8' fill='rgba(255,255,255,0.28)'/%3E%3Ccircle cx='44' cy='18' r='0.8' fill='rgba(255,255,255,0.24)'/%3E%3Ccircle cx='57' cy='12' r='0.7' fill='rgba(255,255,255,0.26)'/%3E%3Ccircle cx='12' cy='32' r='0.7' fill='rgba(255,255,255,0.22)'/%3E%3Ccircle cx='26' cy='27' r='0.9' fill='rgba(255,255,255,0.26)'/%3E%3Ccircle cx='38' cy='34' r='0.8' fill='rgba(255,255,255,0.24)'/%3E%3Ccircle cx='53' cy='29' r='0.7' fill='rgba(255,255,255,0.20)'/%3E%3Ccircle cx='6' cy='50' r='0.8' fill='rgba(255,255,255,0.24)'/%3E%3Ccircle cx='18' cy='56' r='0.7' fill='rgba(255,255,255,0.20)'/%3E%3Ccircle cx='34' cy='48' r='0.8' fill='rgba(255,255,255,0.24)'/%3E%3Ccircle cx='47' cy='55' r='0.7' fill='rgba(255,255,255,0.22)'/%3E%3Ccircle cx='60' cy='46' r='0.8' fill='rgba(255,255,255,0.20)'/%3E%3C/svg%3E"),
    var(--poi-icon-url);
  background-size: 100% 100%, 28px 28px, contain;
  background-repeat: no-repeat, repeat, no-repeat;
  background-position: center, center, center;
  background-blend-mode: overlay, overlay, normal;
  pointer-events: auto;
}

.map-area-name-marker {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: default;
}

.map-area-name-label {
  --area-label-scale: 1;
  display: inline-block;
  color: rgba(255, 255, 255, 0.1);
  font-family: "Museo Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 2px 6px;
  user-select: none;
  transform: scale(var(--area-label-scale));
  transform-origin: center center;
  will-change: transform;
}

.map-area-uni-label-marker {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.map-area-uni-label {
  --area-uni-label-base-font-size: 20px;
  --area-uni-label-scale: 1;
  display: inline-block;
  font-family: "active", "Museo Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  transform: scale(calc(var(--area-uni-label-scale, 1) * var(--area-uni-label-zoom-scale, 1) * var(--area-uni-label-device-scale, 1)));
  transform-origin: center center;
  font-size: var(--area-uni-label-base-font-size);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  color: #ffffff;
  padding: 0;
  background: transparent;
  -webkit-text-stroke: 1.95px rgba(0, 0, 0, 0.99);
  paint-order: stroke fill;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.42),
    0 4px 10px rgba(0, 0, 0, 0.3);
  text-rendering: geometricPrecision;
  transition: filter 120ms ease;
}

.map-area-uni-label.is-multiline {
  white-space: pre-line;
}

.map-area-uni-label-marker:hover .map-area-uni-label {
  color: #fff9e6;
  -webkit-text-stroke: 2.05px rgba(0, 0, 0, 0.995);
  text-shadow:
    0 0 6px rgba(245, 158, 11, 0.42),
    0 0 11px rgba(245, 158, 11, 0.24),
    0 3px 8px rgba(0, 0, 0, 0.32);
  filter: brightness(1.03);
}

.map-area-uni-label-marker:focus-visible {
  outline: none;
}

.map-area-uni-label-marker:focus-visible .map-area-uni-label {
  color: #fff9e6;
  -webkit-text-stroke: 2.05px rgba(0, 0, 0, 0.995);
  text-shadow:
    0 0 6px rgba(245, 158, 11, 0.42),
    0 0 11px rgba(245, 158, 11, 0.24),
    0 3px 8px rgba(0, 0, 0, 0.32);
  filter: brightness(1.03);
}

.map-page .app-popup-overlay {
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.map-page .app-popup-close {
  top: 10px;
  right: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  transition: opacity 120ms ease;
}

.map-page .app-popup-close:hover {
  opacity: 0.75;
}

.map-page .app-popup-layer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12px;
}

.map-page .app-popup-container {
  width: min(980px, 100%);
  max-width: 980px;
}

.map-page .app-popup-close {
  top: 10px;
  right: 10px;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.map-page .app-popup-panel {
  width: min(980px, 100%);
  height: auto;
  max-height: calc(100vh - 24px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  text-align: center;
  padding: 10px 12px 22px;
}

.map-page .map-popup-topbar {
  width: min(980px, 100%);
  min-height: 2.25rem;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 3rem;
}

.map-page .map-popup-topbar .map-category-badge {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  transform: none;
  margin: 0;
  z-index: auto;
}

.map-page .map-popup-topbar .uni-popup-type-badge {
  margin: 0;
}

.map-page .app-popup-body {
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.55;
}

.map-page .app-popup-title,
.map-page .uni-popup-name,
.map-page .area-popup-name {
  font-family: "Museo Sans", var(--map-toc-ui-font-family);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.map-page .uni-popup-name,
.map-page .area-popup-name {
  margin: 0;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 0.98;
  text-transform: none;
}

.map-page .area-popup-name.is-small {
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
}

.map-page .uni-popup-nav {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #fff;
  transition: transform 120ms ease, opacity 120ms ease;
}

.map-page .uni-popup-nav:hover {
  transform: translateY(-1px);
  opacity: 0.82;
}

.map-page .uni-popup-nav svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.map-page .uni-popup-header {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.map-page .uni-popup-header.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.map-page .uni-popup-center {
  min-width: 0;
  text-align: center;
}

.map-page .uni-popup-badge-row {
  display: flex;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.map-page .uni-popup-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 0;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-page .uni-popup-camping,
.map-page .area-popup-subtitle {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.86rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.map-page .app-popup-richtext h3,
.map-page .app-popup-richtext h4 {
  font-family: "Museo Sans", var(--map-toc-ui-font-family);
  font-weight: 900;
}

.map-page .app-popup-richtext h3 {
  text-transform: none;
  letter-spacing: 0;
}

.map-page .app-popup-richtext h4 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.map-page .app-popup-richtext {
  max-width: 760px;
  margin: 22px auto 0;
  color: #ffffff;
  text-wrap: balance;
}

.map-page .app-popup-richtext p {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 12px;
  margin-left: 0;
}

.map-page .app-popup-richtext ul,
.map-page .app-popup-richtext ol {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.map-page .app-popup-richtext li {
  margin: 0 0 6px;
}

.map-page .uni-popup-details {
  max-width: min(980px, 100%);
  margin: 34px auto 0;
  text-align: left;
  --uni-popup-kicker-color-1: #f7f1d2;
  --uni-popup-kicker-color-2: #d7eef5;
  --uni-popup-linked-accent: #ff1590;
}

.map-page .uni-popup-detail-section + .uni-popup-detail-section {
  margin-top: 1.05rem;
}

.map-page .uni-popup-detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.map-page .uni-popup-detail-body {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.map-page .uni-popup-detail-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  width: fit-content;
  min-height: clamp(2.6rem, 4.8vw, 3.45rem);
  max-width: 100%;
  margin: 0 0 0.2rem;
  padding: 0.68rem 0.9rem 0.14rem 1.9rem;
  color: #ffffff;
  font-family: "active", "Museo Sans", var(--map-toc-ui-font-family);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: none;
  isolation: isolate;
}

.map-page .uni-popup-detail-kicker::before,
.map-page .uni-popup-detail-kicker::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-mask-image: url("assets/uni-popup-kicker-mask.06bcb7e8472e.webp");
  mask-image: url("assets/uni-popup-kicker-mask.06bcb7e8472e.webp");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.map-page .uni-popup-detail-kicker::before {
  z-index: -2;
  background-color: rgba(0, 0, 0, 0.94);
  transform: scale(1.016, 1.028);
}

.map-page .uni-popup-detail-kicker::after {
  z-index: -1;
  background-image: linear-gradient(
    135deg,
    var(--uni-popup-kicker-color-1) 0%,
    var(--uni-popup-kicker-color-2) 100%
  );
  transform: scale(0.984, 0.958);
}

.map-page .uni-popup-detail-kicker-label {
  position: relative;
  z-index: 1;
  color: #ffffff;
  -webkit-text-stroke: 1.15px rgba(0, 0, 0, 0.92);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.9),
    1px 0 0 rgba(0, 0, 0, 0.9),
    0 -1px 0 rgba(0, 0, 0, 0.9),
    -1px 0 0 rgba(0, 0, 0, 0.9);
}

.map-page .uni-popup-detail-kicker[data-kicker-size="medium"] {
  padding: 0.64rem 0.8rem 0.14rem 1.72rem;
}

.map-page .uni-popup-detail-kicker[data-kicker-size="short"] {
  padding: 0.6rem 0.64rem 0.12rem 1.48rem;
}

.map-page .uni-popup-detail-title {
  margin: 0.08rem 0 0;
  color: #ffffff;
  font-family: "Museo Sans", var(--map-toc-ui-font-family);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
}

.map-page .uni-popup-empty-note {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.map-page .uni-popup-detail-meta {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: left;
}

.map-page .uni-popup-detail-copy {
  width: 100%;
  max-width: none;
  margin: 0.14rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.38;
  text-align: left;
  text-wrap: pretty;
}

.map-page .uni-popup-stage-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.45rem 0.75rem;
  margin-top: 0.6rem;
}

.map-page .uni-popup-stage-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(12rem, 24vw, 14rem);
  height: clamp(12rem, 24vw, 14rem);
  color: #ffffff;
  text-decoration: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease;
}

.map-page .uni-popup-stage-link:hover {
  transform: translateY(-1px) scale(1.04);
  opacity: 0.92;
}

.map-page .uni-popup-stage-icon {
  width: clamp(11rem, 21vw, 12.75rem);
  height: clamp(11rem, 21vw, 12.75rem);
  flex: 0 0 auto;
  object-fit: contain;
}

.map-page .uni-popup-linked-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.4rem 0.85rem;
  margin-top: 0.16rem;
}

.map-page .uni-popup-linked-list.is-compact {
  gap: 0.18rem 0.55rem;
  margin-top: 0.08rem;
}

.map-page .uni-popup-linked-item {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  line-height: 1.08;
}

.map-page .uni-popup-linked-item--button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: opacity 120ms ease, transform 120ms ease;
}

.map-page .uni-popup-linked-item--button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.map-page .uni-popup-linked-item--button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
  border-radius: 6px;
}

.map-page .uni-popup-linked-list.is-compact .uni-popup-linked-item {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.79rem;
  font-weight: 500;
}

.map-page .uni-popup-linked-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--uni-popup-linked-accent);
}

.map-page .uni-popup-linked-symbol svg {
  width: 1.02rem;
  height: 0.58rem;
  display: block;
}

.map-page .uni-popup-linked-list.is-compact .uni-popup-linked-symbol svg {
  width: 0.82rem;
  height: 0.48rem;
}

.map-page .uni-popup-video-panel {
  margin: 0.14rem 0 0;
  max-width: min(100%, 640px);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.84);
}

.map-page .uni-popup-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000000;
}

.map-page .uni-popup-teams-table {
  width: min(100%, 620px);
  margin: 0.7rem 0 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.map-page .uni-popup-teams-table td {
  padding: 0.48rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

.map-page .uni-popup-team-sport-cell {
  width: 4.2rem;
  padding-right: 0.45rem;
  text-align: center;
}

.map-page .uni-popup-team-mainline {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.26rem;
}

.map-page .uni-popup-team-name {
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  line-height: 1.08;
}

.map-page .uni-popup-team-name-cell {
  text-align: left;
}

.map-page .uni-popup-team-sport-group {
  display: inline-flex;
  align-items: center;
  gap: 0.16rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1;
}

.map-page .uni-popup-team-sport-icon {
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 auto;
}

.map-page .uni-popup-team-sport-gender-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  opacity: 0.82;
}

.map-page .uni-popup-team-sport-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.08;
}

@media (min-width: 960px) {
  .map-page .uni-popup-detail-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(1.35rem, 2.4vw, 2rem);
    align-items: start;
  }

  .map-page .uni-popup-detail-body {
    grid-column: 2;
  }

  .map-page .uni-popup-detail-kicker {
    justify-self: end;
    margin-top: 0.1rem;
  }
}

.map-page .maplibregl-popup:not(.app-tooltip-popup) .maplibregl-popup-content {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 12px 0;
}

.map-page .maplibregl-popup:not(.app-tooltip-popup) .maplibregl-popup-close-button {
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  font-size: 28px;
  line-height: 34px;
  background: transparent;
  border: 0;
}

.map-page .maplibregl-popup:not(.app-tooltip-popup) .maplibregl-popup-tip {
  border-color: transparent !important;
}

@media (max-width: 639.98px) {
  .map-page .area-popup-header {
    padding-top: 1.2rem;
  }

  .map-page .map-popup-topbar .map-category-badge,
  .map-page .map-popup-topbar .uni-popup-type-badge {
    margin-top: 0.4rem;
  }

  .map-page .uni-popup-header {
    gap: 0.7rem;
  }

  .map-page .uni-popup-details {
    text-align: center;
  }

  .map-page .uni-popup-detail-section {
    align-items: center;
  }

  .map-page .uni-popup-detail-body {
    align-items: center;
  }

  .map-page .uni-popup-detail-kicker {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .map-page .uni-popup-detail-title,
  .map-page .uni-popup-empty-note,
  .map-page .uni-popup-detail-meta,
  .map-page .uni-popup-detail-copy,
  .map-page .uni-popup-team-name,
  .map-page .uni-popup-team-name-cell,
  .map-page .uni-popup-linked-item--button {
    text-align: center;
  }

  .map-page .uni-popup-stage-list,
  .map-page .uni-popup-linked-list {
    justify-content: center;
  }

  .map-page .uni-popup-video-panel,
  .map-page .uni-popup-teams-table {
    margin-left: auto;
    margin-right: auto;
  }

  .map-page .uni-popup-team-mainline {
    justify-content: center;
  }
}

.map-page #map .maplibregl-popup.app-tooltip-popup {
  z-index: 250000 !important;
}

.map-page .app-tooltip-popup .maplibregl-popup-content {
  background: var(--year-theme-panel-color, #0f172a);
  border-color: var(--map-toc-control-border);
  padding: 0;
}

.map-page .app-tooltip-content {
  padding: 0.7rem 1rem;
  font-size: 0.96rem;
  line-height: 1.35;
}

.map-page .app-tooltip-content strong {
  display: block;
  font-size: inherit;
  font-weight: 700;
}

.map-page .app-tooltip-popup.maplibregl-popup-anchor-top .maplibregl-popup-tip,
.map-page .app-tooltip-popup.maplibregl-popup-anchor-top-left .maplibregl-popup-tip,
.map-page .app-tooltip-popup.maplibregl-popup-anchor-top-right .maplibregl-popup-tip {
  border-bottom-color: var(--year-theme-panel-color, #0f172a) !important;
}

.map-page .app-tooltip-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
.map-page .app-tooltip-popup.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
.map-page .app-tooltip-popup.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip {
  border-top-color: var(--year-theme-panel-color, #0f172a) !important;
}

.map-page .app-tooltip-popup.maplibregl-popup-anchor-left .maplibregl-popup-tip {
  border-right-color: var(--year-theme-panel-color, #0f172a) !important;
}

.map-page .app-tooltip-popup.maplibregl-popup-anchor-right .maplibregl-popup-tip {
  border-left-color: var(--year-theme-panel-color, #0f172a) !important;
}

.map-popup-shell {
  max-width: 360px;
  text-align: center;
}

.map-popup-shell--wide {
  max-width: 760px;
}

.map-popup-title {
  margin: 6px 0 0;
  font-family: "Museo Sans", var(--map-toc-ui-font-family);
  font-size: clamp(1.5rem, 4.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: none;
}

.map-popup-title.is-small {
  font-size: 1.25rem;
}

.map-popup-body {
  margin-top: 16px;
  line-height: 1.5;
  color: #ffffff;
}

.map-feature-popup-header {
  margin-top: 10px;
}

.map-feature-popup-title {
  margin: 8px 0 0;
  font-family: "Museo Sans", var(--map-toc-ui-font-family);
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: none;
}

.map-feature-popup-meta {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.86rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.map-feature-hero {
  width: min(46vw, 300px);
  margin: 0 auto;
}

.map-feature-hero.is-small {
  width: min(28vw, 140px);
}

.map-feature-hero.is-wide {
  width: min(62vw, 340px);
}

.map-feature-hero.is-small.is-wide {
  width: min(56vw, 220px);
}

.map-feature-hero.is-ultra-wide {
  width: min(68vw, 380px);
}

.map-feature-hero.is-small.is-ultra-wide {
  width: min(62vw, 248px);
}

.map-feature-hero-container {
  position: relative;
  width: 100%;
  margin-bottom: 8px;
}

.map-feature-hero-icon {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.4));
}

.map-feature-hero.is-small .map-feature-hero-icon {
  max-height: 132px;
}

.map-user-marker {
  --my-marker-accent: #ff1590;
  --my-marker-accent-rgb: 255, 21, 144;
  --my-marker-base-width: 74px;
  --my-marker-base-height: 92px;
  position: relative;
  display: block;
  width: calc(var(--my-marker-base-width) * var(--poi-zoom-scale, 1));
  height: calc(var(--my-marker-base-height) * var(--poi-zoom-scale, 1));
  border: 0;
  padding: 0;
  background: transparent;
  color: #f8fafc;
  cursor: pointer;
}

.map-page #map .maplibregl-marker.map-user-marker {
  position: absolute !important;
  left: 0;
  top: 0;
  transition: none !important;
  will-change: transform;
  z-index: 250100 !important;
}

.map-user-marker:focus-visible {
  outline: 2px solid rgba(191, 219, 254, 0.95);
  outline-offset: 3px;
}

.map-user-marker__pulse {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 62%;
  height: 52%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(var(--my-marker-accent-rgb), 0.22);
  animation: map-user-marker-pulse 2.6s ease-out infinite;
}

.map-user-marker__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 16px 30px rgba(255, 21, 144, 0.28));
}

.map-user-marker__pin-shape {
  fill: var(--my-marker-accent);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 2.25;
  stroke-linejoin: round;
}

.map-user-marker__pin-face {
  fill: rgba(0, 0, 0, 0.82);
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2;
}

.map-user-marker__pin-text {
  fill: #ffffff;
  font-family: "Museo Sans", var(--map-toc-ui-font-family);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  dominant-baseline: middle;
  paint-order: stroke fill;
}

@keyframes map-user-marker-pulse {
  0% {
    opacity: 0.75;
    transform: translateX(-50%) scale(0.88);
  }
  70% {
    opacity: 0;
    transform: translateX(-50%) scale(1.4);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.48);
  }
}

.map-page .maplibregl-popup.my-marker-popup-shell {
  --my-marker-accent: #ff1590;
  --my-marker-accent-rgb: 255, 21, 144;
  pointer-events: auto;
  z-index: 250200 !important;
}

.map-page .maplibregl-popup.my-marker-popup-shell .maplibregl-popup-content,
.map-page .maplibregl-popup.my-marker-popup-shell .maplibregl-popup-tip {
  opacity: 0;
  transition: opacity 180ms ease;
}

.map-page .maplibregl-popup.my-marker-popup-shell.my-marker-popup-open .maplibregl-popup-content,
.map-page .maplibregl-popup.my-marker-popup-shell.my-marker-popup-open .maplibregl-popup-tip {
  opacity: 1;
}

.map-page .maplibregl-popup.my-marker-popup-shell.my-marker-popup-closing {
  pointer-events: none;
}

.map-page .maplibregl-popup.my-marker-popup-shell .maplibregl-popup-content {
  min-width: 264px;
  padding: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.8);
  color: #f8fafc;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(255, 21, 144, 0.16);
  backdrop-filter: blur(12px);
}

.map-page .maplibregl-popup.my-marker-popup-shell .maplibregl-popup-close-button {
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 30px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.map-page .maplibregl-popup.my-marker-popup-shell .maplibregl-popup-close-button:hover,
.map-page .maplibregl-popup.my-marker-popup-shell .maplibregl-popup-close-button:focus {
  background: transparent;
  color: #ffffff;
}

.map-page .maplibregl-popup.my-marker-popup-shell .maplibregl-popup-tip {
  display: none;
}

.my-marker-popup {
  padding: 18px 18px 17px;
}

.my-marker-popup__title {
  margin: 0;
  color: #ffffff;
  font-family: "Museo Sans", var(--map-toc-ui-font-family);
  font-size: 1.08rem;
  font-weight: 900;
  padding-right: 34px;
  line-height: 1.25;
}

.my-marker-popup__meta {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  line-height: 1.4;
}

.my-marker-popup__warning {
  margin-top: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--my-marker-accent-rgb), 0.28);
  background: rgba(var(--my-marker-accent-rgb), 0.14);
  color: #ffd6ea;
  font-size: 0.84rem;
  line-height: 1.35;
}

.my-marker-popup__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.95rem;
}

.my-marker-popup__btn {
  appearance: none;
  border: 1px solid rgba(var(--my-marker-accent-rgb), 0.48);
  border-radius: 999px;
  background: var(--my-marker-accent);
  color: #ffffff;
  padding: 0.58rem 0.92rem;
  font-family: "Museo Sans", var(--map-toc-ui-font-family);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.my-marker-popup__btn:hover {
  transform: translateY(-1px);
}

.my-marker-popup__btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.my-marker-popup__btn.is-secondary {
  background: rgba(var(--my-marker-accent-rgb), 0.12);
  color: #ffffff;
}

.my-marker-popup__btn.is-danger {
  background: rgba(var(--my-marker-accent-rgb), 0.18);
  color: #ffffff;
}

@media (min-width: 1024px) {
  .map-page .app-popup-layer {
    align-items: center;
  }

  .map-page .map-popup-topbar .map-category-badge,
  .map-page .map-popup-topbar .uni-popup-type-badge {
    margin-top: 0.4rem;
  }

  .map-page .app-popup-panel {
    width: min(1080px, 100%);
  }

  .map-page .uni-popup-details {
    text-align: center;
  }

  .map-page .uni-popup-detail-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .map-page .uni-popup-detail-body {
    grid-column: auto;
    align-items: center;
  }

  .map-page .uni-popup-detail-kicker {
    justify-content: center;
    justify-self: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .map-page .uni-popup-detail-title,
  .map-page .uni-popup-empty-note,
  .map-page .uni-popup-detail-meta,
  .map-page .uni-popup-detail-copy,
  .map-page .uni-popup-team-name,
  .map-page .uni-popup-team-name-cell,
  .map-page .uni-popup-linked-item--button {
    text-align: center;
  }

  .map-page .uni-popup-stage-list,
  .map-page .uni-popup-linked-list {
    justify-content: center;
  }

  .map-page .uni-popup-video-panel,
  .map-page .uni-popup-teams-table {
    margin-left: auto;
    margin-right: auto;
  }

  .map-page .uni-popup-team-mainline {
    justify-content: center;
  }

  .map-page .uni-popup-stage-link {
    width: clamp(13rem, 25vw, 15rem);
    height: clamp(13rem, 25vw, 15rem);
  }

  .map-page .uni-popup-stage-icon {
    width: clamp(12rem, 22vw, 13.75rem);
    height: clamp(12rem, 22vw, 13.75rem);
  }
}
