:root {
  --ink: #243447;
  --muted: #5e7288;
  --blue: #4ea8de;
  --deep-blue: #1769aa;
  --pink: #ff8fab;
  --red: #ff5a5f;
  --cream: #fff8e8;
  --green: #76c893;
  --yellow: #ffd166;
  --glass: rgba(255, 255, 255, 0.76);
  --shadow: 0 24px 60px rgba(23, 105, 170, 0.18);
  font-family: 'M PLUS Rounded 1c', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at var(--pointer-x, 20%) var(--pointer-y, 20%), rgba(255, 209, 102, 0.25), transparent 17rem),
    radial-gradient(circle at top left, rgba(255, 143, 171, 0.35), transparent 30rem),
    radial-gradient(circle at 75% 15%, rgba(118, 200, 147, 0.3), transparent 24rem),
    linear-gradient(135deg, #f8fdff 0%, #fff8e8 100%);
  overflow-x: hidden;
}

.magic-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cursor-glow {
  position: fixed;
  left: -90px;
  top: -90px;
  z-index: 1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(78, 168, 222, 0.22), transparent 68%);
  mix-blend-mode: multiply;
  transition: transform 0.08s linear;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(36, 52, 71, 0.42), rgba(36, 52, 71, 0.52)),
    radial-gradient(circle at 30% 20%, #9be7ff, transparent 28rem),
    linear-gradient(135deg, #ffb3c7, #fff8e8 45%, #8ed8ff);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.password-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.gate-card {
  width: min(100%, 480px);
  padding: 34px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  text-align: center;
}
.gate-badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 143, 171, 0.18);
  color: #bf315b;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.gate-card h1 { margin: 18px 0 8px; font-size: clamp(2rem, 7vw, 3.4rem); }
.password-form { display: grid; gap: 12px; margin-top: 24px; text-align: left; }
.password-form label { font-weight: 900; }
.password-form input {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid rgba(23, 105, 170, 0.2);
  border-radius: 18px;
  font: inherit;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  text-align: center;
  background: white;
}
button, .primary, .ghost {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}
button:hover, .primary:hover, .ghost:hover { filter: brightness(1.03); }
button:disabled { cursor: not-allowed; opacity: 0.35; transform: none; }
.password-form button, .primary {
  color: white;
  background: linear-gradient(135deg, var(--red), var(--pink), var(--blue));
  box-shadow: 0 14px 32px rgba(255, 90, 95, 0.28);
}
.error { min-height: 1.5em; color: #d62828; font-weight: 900; text-align: center; }

.site-shell { position: relative; z-index: 2; min-height: 100vh; transition: filter 0.4s ease; }
.site-shell.is-locked { filter: blur(8px); height: 100vh; overflow: hidden; }
.route-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 6px;
  background: rgba(255, 255, 255, 0.55);
}
.route-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--blue));
  box-shadow: 0 0 18px rgba(78, 168, 222, 0.5);
  transition: width 0.48s cubic-bezier(.2,.8,.2,1);
}
.page {
  display: none;
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
  padding-bottom: 116px;
  animation: pageIn 0.62s cubic-bezier(.2,.8,.2,1) both;
}
.page.is-active { display: grid; align-content: center; }
.hero-page {
  position: relative;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: clamp(24px, 6vw, 72px);
  overflow: hidden;
}
.floating-icons span {
  position: fixed;
  font-size: clamp(1.6rem, 3vw, 3rem);
  opacity: 0.18;
  animation: float 8s ease-in-out infinite;
}
.floating-icons span:nth-child(1) { left: 8%; top: 14%; }
.floating-icons span:nth-child(2) { left: 78%; top: 12%; animation-delay: 1s; }
.floating-icons span:nth-child(3) { left: 88%; top: 66%; animation-delay: 2s; }
.floating-icons span:nth-child(4) { left: 16%; top: 78%; animation-delay: 3s; }
.floating-icons span:nth-child(5) { left: 50%; top: 8%; animation-delay: 4s; }
.floating-icons span:nth-child(6) { left: 62%; top: 84%; animation-delay: 5s; }
.floating-icons span:nth-child(7) { left: 92%; top: 28%; animation-delay: 6s; }
.floating-icons span:nth-child(8) { left: 28%; top: 46%; animation-delay: 7s; }
.hero-title {
  margin: 18px 0;
  display: grid;
  gap: 0.02em;
  font-size: clamp(2.2rem, 6.4vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}
.hero-title span {
  display: block;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
}
.hero-title .blue {
  color: var(--deep-blue);
  text-shadow: 3px 3px 0 #bde0fe, 0 0 28px rgba(78, 168, 222, 0.28);
}
.hero-copy { max-width: 680px; font-size: clamp(1rem, 2.1vw, 1.35rem); line-height: 1.9; font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ghost { color: var(--deep-blue); background: white; border: 2px solid rgba(23, 105, 170, 0.16); text-decoration: none; }

.aomori-illustration {
  position: relative;
  min-height: 540px;
  border-radius: 44px;
  background: linear-gradient(180deg, #dff7ff 0 42%, #e7f9ef 42% 62%, #9be7ff 62% 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.aomori-illustration:hover { box-shadow: 0 34px 80px rgba(23, 105, 170, 0.25); }
.aurora {
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 180deg, transparent, rgba(255,143,171,.28), rgba(118,200,147,.22), rgba(78,168,222,.25), transparent);
  animation: auroraSpin 13s linear infinite;
}
.cloud {
  position: absolute;
  width: 110px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  filter: blur(.2px);
  animation: cloudDrift 12s linear infinite;
}
.cloud::before, .cloud::after { content: ''; position: absolute; border-radius: 50%; background: inherit; }
.cloud::before { width: 48px; height: 48px; left: 16px; bottom: 8px; }
.cloud::after { width: 62px; height: 62px; right: 14px; bottom: 3px; }
.cloud-1 { left: 8%; top: 16%; }
.cloud-2 { right: -20%; top: 30%; animation-delay: -5s; }
.mountain {
  position: absolute;
  bottom: 35%;
  background: linear-gradient(135deg, #9dd9a7, #368f8b);
  clip-path: polygon(0 100%, 50% 8%, 100% 100%);
  filter: drop-shadow(0 18px 12px rgba(36, 52, 71, 0.1));
}
.mountain-left { left: 8%; width: 42%; height: 34%; }
.mountain-right { right: 8%; width: 54%; height: 46%; }
.route-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 43%;
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, white 0 18px, transparent 18px 32px);
  transform: rotate(-7deg);
  opacity: .82;
}
.train {
  position: absolute;
  top: 37%;
  left: 4%;
  font-size: 2.7rem;
  animation: trainRun 7s cubic-bezier(.45,0,.55,1) infinite;
}
.lake {
  position: absolute;
  left: -8%; right: -8%; bottom: 0;
  height: 40%;
  background: repeating-radial-gradient(ellipse at center, rgba(255,255,255,0.58) 0 3px, transparent 4px 18px), linear-gradient(#6ed4ff, #2f9fe0);
  animation: shimmer 3s linear infinite;
}
.nebuta-face {
  position: absolute;
  right: 10%; top: 50%;
  width: 160px; height: 120px;
  display: grid; place-items: center;
  border-radius: 28px 28px 44px 44px;
  background: #fff;
  border: 8px solid #ff5a5f;
  color: #243447;
  font-weight: 900;
  text-align: center;
  transform: rotate(6deg);
  box-shadow: 0 14px 0 rgba(36, 52, 71, 0.08);
  animation: nebutaPulse 2.2s ease-in-out infinite;
}
.dog { position: absolute; left: 12%; bottom: 17%; font-size: 5rem; animation: bounce 2.5s infinite; }
.apple-orbit span { position: absolute; z-index: 2; font-size: 2.6rem; animation: orbit 5s linear infinite; }
.apple-orbit span:nth-child(1) { left: 10%; top: 10%; }
.apple-orbit span:nth-child(2) { right: 18%; top: 12%; animation-delay: 1.5s; }
.apple-orbit span:nth-child(3) { left: 44%; top: 34%; animation-delay: 3s; }

.page-heading { max-width: 940px; margin: 0 auto 28px; text-align: center; }
.page-heading h2 {
  margin: 16px 0 8px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.12;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}
.page-heading h2 span { display: inline-block; white-space: nowrap; }
.page-heading p { font-size: 1.08rem; line-height: 1.9; font-weight: 800; }
.highlight-grid {
  width: min(100%, 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.highlight-card {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border-radius: 32px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
}
.highlight-card::after {
  content: '';
  position: absolute;
  inset: auto -30% -48% 18%;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,168,222,.24), transparent 68%);
  animation: breathe 4s ease-in-out infinite;
}
.big-icon { display: inline-block; font-size: 3rem; animation: bounce 2.8s ease-in-out infinite; }
.highlight-card h3 { margin: 12px 0; font-size: 1.45rem; }
.highlight-card p { margin: 0; color: var(--muted); line-height: 1.85; font-weight: 800; }
.mini-route {
  width: min(100%, 980px);
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 12px 34px rgba(36, 52, 71, 0.08);
}
.mini-route span { padding: 8px 12px; border-radius: 999px; background: white; color: var(--deep-blue); font-weight: 900; }
.mini-route i { width: 36px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--pink), var(--blue)); animation: routeBlink 1.6s ease-in-out infinite; }
.timeline {
  width: min(100%, 1060px);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.timeline-card {
  display: grid;
  grid-template-columns: 88px 64px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 105, 170, 0.1);
  box-shadow: 0 12px 34px rgba(36, 52, 71, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.timeline-card:hover { transform: translateX(8px) scale(1.01); box-shadow: var(--shadow); }
.time-chip { padding: 10px; border-radius: 16px; background: #e3f2fd; color: var(--deep-blue); font-weight: 900; text-align: center; }
.card-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 22px; background: #fff0f4; font-size: 2rem; }
.timeline-card h3 { margin: 0 0 6px; font-size: 1.35rem; }
.timeline-card p { margin: 0 0 8px; line-height: 1.75; font-weight: 800; }
.timeline-card a { color: var(--deep-blue); font-weight: 900; text-decoration-thickness: 3px; }

.map-page { align-content: start; }
.link-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.link-card {
  min-height: 148px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border-radius: 26px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(36, 52, 71, 0.08);
  border: 1px solid rgba(23, 105, 170, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.link-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.link-card span { font-size: 2.2rem; }
.link-card small { color: var(--deep-blue); font-weight: 800; overflow-wrap: anywhere; }

.pager {
  position: fixed;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.pager button { width: 48px; height: 48px; padding: 0; color: white; background: var(--deep-blue); }
.dots { display: flex; gap: 8px; }
.dots button { width: 12px; height: 12px; padding: 0; background: #bde0fe; }
.dots button.is-active { width: 32px; background: var(--pink); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 180ms; }

@keyframes pageIn { from { opacity: 0; transform: translateY(16px) scale(0.985); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(8deg); } }
@keyframes shimmer { from { background-position: 0 0, 0 0; } to { background-position: 80px 0, 0 0; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-18px); } }
@keyframes orbit { from { transform: rotate(0deg) translateX(12px) rotate(0deg); } to { transform: rotate(360deg) translateX(12px) rotate(-360deg); } }
@keyframes auroraSpin { to { transform: rotate(360deg); } }
@keyframes cloudDrift { from { transform: translateX(-8vw); } to { transform: translateX(72vw); } }
@keyframes trainRun { 0% { transform: translateX(0) rotate(-7deg); opacity: 0; } 12%, 82% { opacity: 1; } 100% { transform: translateX(560px) rotate(-7deg); opacity: 0; } }
@keyframes nebutaPulse { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255,90,95,0)); } 50% { filter: drop-shadow(0 0 18px rgba(255,90,95,.42)); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.22); opacity: 1; } }
@keyframes routeBlink { 0%, 100% { opacity: .35; transform: scaleX(.82); } 50% { opacity: 1; transform: scaleX(1); } }

@media (max-width: 980px) {
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight-card { min-height: auto; }
}

@media (max-width: 820px) {
  .page { padding: 24px; padding-bottom: 108px; }
  .page-heading h2 { font-size: clamp(1.72rem, 8vw, 3rem); }
  .hero-page { grid-template-columns: 1fr; align-content: start; }
  .hero-title {
    font-size: clamp(2.05rem, 10.4vw, 3.6rem);
    line-height: 0.98;
    letter-spacing: -0.075em;
  }
  .hero-title span { white-space: normal; word-break: keep-all; overflow-wrap: normal; }
  .aomori-illustration { min-height: 360px; }
  .train { animation-name: trainRunMobile; }
  .timeline-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .timeline-card:hover { transform: translateY(-4px); }
  .pager { width: calc(100% - 28px); justify-content: space-between; }
}

@media (max-width: 420px) {
  .hero-title { font-size: clamp(1.86rem, 9.6vw, 2.55rem); letter-spacing: -0.09em; }
  .page-heading h2 { font-size: clamp(1.5rem, 7.4vw, 2.15rem); }
  .eyebrow { font-size: .78rem; }
  .nebuta-face { right: 6%; width: 132px; height: 102px; }
  .dog { font-size: 4rem; }
}

@keyframes trainRunMobile { 0% { transform: translateX(0) rotate(-7deg); opacity: 0; } 12%, 82% { opacity: 1; } 100% { transform: translateX(320px) rotate(-7deg); opacity: 0; } }

.install-panel {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 30;
  width: min(calc(100% - 28px), 620px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(23, 105, 170, 0.24);
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  animation: installPop .55s cubic-bezier(.2,.8,.2,1) both;
}
.install-panel[hidden] { display: none; }
.install-panel strong { display: block; font-size: 1.05rem; }
.install-panel p { margin: 4px 0 0; color: var(--muted); line-height: 1.6; font-weight: 800; }
.install-actions { display: flex; gap: 10px; flex-shrink: 0; }
.install-actions .ghost { padding: 12px 16px; }


.aomori-map-page { align-content: center; }
.aomori-map-wrap {
  width: min(100%, 1050px);
  margin: 0 auto;
  padding: clamp(14px, 3vw, 28px);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(223,247,255,.76));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
}
.aomori-map {
  position: relative;
  min-height: clamp(520px, 58vw, 660px);
  border-radius: 30px;
  overflow: hidden;
  background: #dff7ff;
  isolation: isolate;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.aomori-map.is-dragging { cursor: grabbing; }
.map-pan-layer {
  position: absolute;
  inset: -16%;
  transform: translate(var(--pan-x, 0), var(--pan-y, 0)) scale(var(--map-scale, 1));
  transform-origin: center;
  transition: transform .22s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.aomori-map.is-dragging .map-pan-layer { transition: none; }
.gsi-map-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #e8f4ff;
}
.gsi-tile-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--tile-columns), 1fr);
  grid-template-rows: repeat(var(--tile-rows), 1fr);
  filter: saturate(1.18) contrast(.98) brightness(1.04);
  transform: scale(1.015);
}
.gsi-tile {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-soft-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 209, 102, .25), transparent 11rem),
    radial-gradient(circle at 72% 18%, rgba(78, 168, 222, .2), transparent 13rem),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,240,244,.22));
  box-shadow: inset 0 0 0 999px rgba(255,255,255,.03), inset 0 0 48px rgba(23,105,170,.13);
}
.map-kawaii-label {
  position: absolute;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--deep-blue);
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 28px rgba(36, 52, 71, .12);
  font-weight: 900;
  letter-spacing: .08em;
  backdrop-filter: blur(12px);
}
.label-aomori { left: 18px; top: 18px; }
.label-trip { right: 18px; bottom: 34px; color: #bf315b; }
.map-float {
  position: absolute;
  z-index: 2;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  filter: drop-shadow(0 12px 18px rgba(36,52,71,.18));
  animation: float 5s ease-in-out infinite;
}
.map-float-apple { left: 16%; bottom: 10%; }
.map-float-sea { right: 10%; top: 14%; animation-delay: 1.3s; }
.map-spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  text-decoration: none;
  color: var(--ink);
  transform: translate(-50%, -50%);
}
.spot-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 12px;
  background: white;
  box-shadow: 0 14px 30px rgba(36, 52, 71, .18);
  border: 4px solid var(--pink);
  font-size: 1.65rem;
  transform: rotate(-45deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.map-spot.famous .spot-icon { border-color: var(--blue); opacity: .92; }
.spot-icon::after {
  content: '♥';
  position: absolute;
  right: -5px;
  top: -10px;
  color: var(--red);
  font-size: .9rem;
  opacity: 0;
}
.map-spot.planned .spot-icon::after { opacity: 1; }
.spot-icon > * { transform: rotate(45deg); }
.map-spot .spot-icon { animation: pinBounce 2.8s ease-in-out infinite; }
.spot-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: 190px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 44px rgba(36, 52, 71, .18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(.96);
  transition: opacity .2s ease, transform .2s ease;
}
.map-spot:hover .spot-card,
.map-spot:focus-visible .spot-card {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.spot-card strong { display: block; color: var(--deep-blue); font-size: .98rem; }
.spot-card small { display: block; margin-top: 4px; line-height: 1.5; font-weight: 800; color: var(--muted); }
.map-attribution {
  position: absolute;
  left: 12px;
  bottom: 8px;
  z-index: 3;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.84);
  font-size: .72rem;
  font-weight: 900;
}
.map-controls {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 6;
  display: grid;
  gap: 8px;
}
.map-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(23, 105, 170, .16);
  color: var(--deep-blue);
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(36, 52, 71, .14);
  backdrop-filter: blur(12px);
}
.map-hint {
  position: absolute;
  left: 50%;
  top: 14px;
  z-index: 6;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  transform: translateX(-50%);
  color: var(--deep-blue);
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 24px rgba(36, 52, 71, .1);
  font-size: .86rem;
  font-weight: 900;
  pointer-events: none;
  white-space: nowrap;
}
.map-legend {
  width: min(100%, 1050px);
  margin: 16px auto 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-weight: 900;
}
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 28px rgba(36, 52, 71, .08);
}
.pin {
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 4px;
  display: inline-block;
  transform: rotate(-45deg);
  background: var(--blue);
}
.pin.planned { background: var(--pink); }

@keyframes installPop { from { opacity: 0; transform: translate(-50%, 18px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes mapFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes pinBounce { 0%, 100% { transform: rotate(-45deg) translateY(0); } 50% { transform: rotate(-45deg) translateY(-8px); } }

@media (max-width: 820px) {
  .install-panel { bottom: 92px; align-items: flex-start; flex-direction: column; }
  .install-actions { width: 100%; }
  .install-actions button { flex: 1; }
  .aomori-map { min-height: 620px; }
  .spot-icon { width: 46px; height: 46px; font-size: 1.35rem; }
  .spot-card { width: 160px; }
  .map-attribution { max-width: calc(100% - 24px); font-size: .66rem; }
  .map-hint { top: auto; bottom: 38px; font-size: .76rem; }
  .map-controls button { width: 40px; height: 40px; }
}
.spot-icon b { display: block; transform: rotate(45deg); }
