:root {
  font-family: 'Inter', 'Poppins', 'Jersey 20', system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
  background: #f7f7f7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f7f7f7;
  color: #0a0908;
}

.local-shell {
  position: relative;
  /* 统一为与 GAFA2.0 相同的手机画布尺寸：375 × 812 */
  width: 375px;
  min-height: 812px;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  padding: 24px 20px 120px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

/* 窄屏（如 iPhone 17 / 428 宽）下，满宽显示并保证至少一屏高度 */
@media (max-width: 428px) {
  .local-shell {
    width: 100%;
    max-width: 375px;
    min-height: 100vh;
  }
}

.blob {
  position: absolute;
  filter: blur(50px);
  z-index: 0;
}

.blob-a {
  width: 257px;
  height: 294px;
  left: -88px;
  top: 20px;
  background: rgba(180, 242, 225, 0.81);
}

.blob-b {
  width: 200px;
  height: 548px;
  left: -200px;
  top: 260px;
  background: rgba(250, 145, 145, 0.6);
  transform: rotate(150deg);
}

.blob-c {
  width: 392px;
  height: 532px;
  left: 52px;
  top: 48px;
  background: rgba(255, 233, 197, 0.61);
  transform: rotate(28deg);
  filter: blur(45px);
}

.blob-d {
  width: 120px;
  height: 120px;
  right: 20px;
  top: 80px;
  background: #ffe9c5;
  filter: blur(45px);
}

.local-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.back-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.back-button .chevron {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-left: 2px solid #0a0908;
  border-bottom: 2px solid #0a0908;
  transform: rotate(45deg);
}

.logo {
  font-family: 'Jersey 20', cursive;
  font-size: 26px;
  letter-spacing: 2px;
}

.current-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  animation: local-header-in 0.45s ease-out both;
}

.current-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.current-icon span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 6px solid #0a0908;
}

.current-copy .label-cn {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.current-copy .label-en {
  margin: 2px 0 0;
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

.hero-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  transform: translateX(-6px);
}

.sub-label {
  position: relative;
  z-index: 1;
  margin: 4px 0 24px;
  font-size: 12px;
  font-weight: 600;
  color: #3b3a39;
}

.building-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 1fr));
  gap: 20px 16px;
  margin-bottom: 32px;
  animation: local-grid-in 0.5s ease-out 0.1s both;
}

.building-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.building-dot .letter {
  font-size: 26px;
  font-weight: 700;
  color: #2c2c2c;
}

.building-dot small {
  font-size: 11px;
  color: #6c6b6b;
}

.building-dot:hover {
  transform: scale(1.08);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(255, 255, 255, 0.9);
}

.building-dot:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.map-wrapper {
  position: relative;
  z-index: 1;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.25);
  margin-bottom: 24px;
  animation: local-map-in 0.5s ease-out 0.05s both;
}

.map-card {
  position: relative;
  height: 330px;
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  width: 100%;
  display: block;
}

.map-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #0a0908;
}

.map-marker span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 6px solid #0a0908;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}

.marker-bridge {
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
}

.home-fab {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #0a0908;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-fab-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.home-fab-icon::before,
.home-fab-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-color: currentColor;
}

.home-fab-icon::before {
  width: 16px;
  height: 10px;
  bottom: 2px;
  border: 1.5px solid currentColor;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.home-fab-icon::after {
  width: 12px;
  height: 12px;
  top: 0;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.home-fab:active {
  transform: translate(-50%, 1px) scale(0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes local-header-in {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes local-map-in {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes local-grid-in {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

