.map-world {
  position: relative;
  min-height: max(840px, 100svh);
  overflow: hidden;
}

/* Keep the refreshed, more professional corner system at every viewport. */
.map-nav { border-radius: 12px; }
.map-nav-home,
.map-nav-link,
.online-pill,
.map-music-player,
.social-link { border-radius: 8px; }
.map-nav-home img,
.home-cat,
.anime-stack-card img { border-radius: 6px; }
.anime-stack-card,
.place-node,
.place-projects,
.place-blog,
.place-radar,
.place-links,
.place-status,
.place-music,
.place-node.is-home { border-radius: 12px; }
.place-mark { border-radius: 7px; }

.map-nav {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 45;
  display: flex;
  gap: 3px;
  align-items: center;
  min-height: 62px;
  padding: 7px 9px;
  border-radius: 12px;
  transform: translateX(-50%);
}

.map-nav-home {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 8px;
  background: color-mix(in oklch, var(--oi-yellow-1) 46%, white);
  box-shadow: inset 0 1px 0 white;
  place-items: center;
  transition: transform var(--duration-fast) var(--ease-bounce-soft), background var(--duration-fast) ease;
}

.map-nav-home img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.map-nav-home:hover,
.map-nav-home:focus-visible {
  background: rgba(255,255,255,.86);
  transform: translateY(-2px) rotate(-2deg);
}

.map-nav-link,
.map-nav-details > summary {
  display: grid;
  min-width: 54px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--fg-secondary);
  cursor: pointer;
  font-family: var(--font-cute);
  font-size: .88rem;
  font-weight: 700;
  list-style: none;
  place-items: center;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease, transform var(--duration-fast) var(--ease-bounce-soft);
}

.map-nav-onepiece {
  min-width: 110px;
}

.map-nav-contact {
  min-width: 72px;
}

.map-nav-about {
  min-width: 66px;
}

.map-nav-details > summary::-webkit-details-marker {
  display: none;
}

.map-nav-link:hover,
.map-nav-link:focus-visible,
.map-nav-details > summary:hover,
.map-nav-details > summary:focus-visible,
.map-nav-details[open] > summary {
  background: rgba(255,255,255,.68);
  color: var(--accent-strong);
  transform: translateY(-2px);
}

.map-nav-details {
  position: relative;
}

.map-nav-more {
  position: absolute;
  top: calc(100% + 12px);
  right: -4px;
  display: grid;
  gap: 6px;
  width: 196px;
  padding: 9px;
  border-radius: 22px;
  transform-origin: 82% top;
  animation: nav-more-in 220ms var(--ease-bounce-soft) both;
}

.map-nav-more::before {
  position: absolute;
  top: -7px;
  right: 25px;
  width: 15px;
  height: 15px;
  border-top: 1px solid rgba(255,255,255,.9);
  border-left: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.62);
  content: "";
  transform: rotate(45deg);
}

.map-nav-more a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 6px 10px 6px 7px;
  border-radius: 16px;
  color: var(--fg-secondary);
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease, transform var(--duration-fast) var(--ease-bounce-soft);
}

.map-nav-more a:hover,
.map-nav-more a:focus-visible {
  background: rgba(255,255,255,.72);
  color: var(--accent-strong);
  transform: translateX(3px);
}

.map-nav-more a span {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 13px;
  background: color-mix(in oklch, var(--oi-yellow-1) 62%, white);
  color: var(--accent-strong);
  font: 700 .67rem/1 var(--font-cute);
  place-items: center;
}

.map-nav-more a strong {
  font-family: var(--font-cute);
  font-size: .9rem;
}

@keyframes nav-more-in {
  from { opacity: 0; transform: translateY(-8px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.map-title {
  position: absolute;
  top: 86px;
  left: 50%;
  z-index: 20;
  width: min(720px, calc(100% - 48px));
  padding: 5px 28px 8px;
  text-align: center;
  filter: drop-shadow(0 13px 24px rgba(72, 137, 127, .08));
  transform: translateX(-50%);
}

.map-title::before,
.map-title::after {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.map-title::before {
  top: 2px;
  left: 3%;
  width: 13px;
  height: 13px;
  background: #f3d96e;
  box-shadow: 19px 12px 0 -4px rgba(83, 191, 173, .58);
  opacity: .78;
}

.map-title::after {
  right: 5%;
  bottom: 15px;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(80, 183, 165, .55);
  box-shadow: -14px 11px 0 -2px rgba(237, 206, 81, .6);
}

.map-title p {
  margin: 0;
  color: var(--fg-muted);
  font: var(--caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-title .hello-line {
  color: var(--fg-primary);
  font-family: var(--font-cute);
  font-size: clamp(1.25rem, 1.1rem + 0.55vw, 1.72rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.map-title h1 {
  margin: 3px 0 0;
  font-family: var(--font-cute);
  font-size: clamp(1.35rem, 1.15rem + 0.75vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.005em;
}

.map-title h1 .username-inline {
  position: relative;
  z-index: 0;
  color: var(--accent-primary);
  font-size: 1.08em;
}

.map-title h1 .username-inline::after {
  position: absolute;
  right: -.08em;
  bottom: .02em;
  left: -.08em;
  z-index: -1;
  height: .28em;
  border-radius: 55% 42% 52% 46%;
  background: rgba(245, 217, 95, .42);
  content: "";
  transform: rotate(-1.5deg);
}

.map-title h1 .hello-inline {
  color: var(--fg-primary);
  font-size: 1em;
}

@media (min-width: 901px) {
  .map-title h1 {
    white-space: nowrap;
  }
}

.map-title .role-line {
  display: inline-flex;
  gap: .28em;
  align-items: center;
  margin: 8px 0 0;
  padding: 2px 0;
  color: var(--fg-secondary);
  font-family: var(--font-cute);
  font-size: clamp(.76rem, .7rem + .2vw, .92rem);
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: none;
}

.map-title .role-line::before,
.map-title .role-line::after {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 999px 72% 999px 64%;
  background: linear-gradient(90deg, rgba(240, 207, 80, .14), rgba(240, 207, 80, .76));
  content: "";
}

.map-title .role-line::before {
  margin-right: 7px;
  transform: rotate(-2deg);
}

.map-title .role-line::after {
  margin-left: 7px;
  background: linear-gradient(90deg, rgba(240, 207, 80, .76), rgba(240, 207, 80, .14));
  transform: rotate(2deg);
}

.map-title .role-line i {
  margin: 0 .22em;
  color: var(--accent-primary);
  font-style: normal;
}

.online-pill {
  position: absolute;
  top: 31px;
  right: 30px;
  z-index: 20;
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--fg-secondary);
  font: var(--caption);
}

.online-pill::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 0 5px color-mix(in oklch, var(--accent-primary) 20%, transparent);
  content: "";
}

.map-plane {
  position: absolute;
  top: 76px;
  left: 50%;
  width: min(1480px, 98vw);
  height: min(830px, calc(100svh - 170px));
  min-height: 680px;
  transform: translateX(-50%);
}

.island-silhouette {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  transform: scale(1.09);
  transform-origin: center;
}

.island-silhouette path {
  fill: color-mix(in srgb, var(--oi-cream-1) 76%, rgba(255, 255, 255, 0.52));
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 28px 54px rgba(47, 111, 76, 0.14));
}

.map-routes {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.map-routes path {
  fill: none;
  stroke: color-mix(in srgb, var(--accent-route) 68%, white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 11;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 4px rgba(70, 170, 160, 0.18));
  animation: route-draw 1.1s var(--ease-map) both;
}

.map-routes path:nth-child(1) { animation-delay: .36s; }
.map-routes path:nth-child(2) { animation-delay: .44s; }
.map-routes path:nth-child(3) { animation-delay: .52s; }
.map-routes path:nth-child(4) { animation-delay: .60s; }
.map-routes path:nth-child(5) { animation-delay: .68s; }
.map-routes path:nth-child(6) { animation-delay: .76s; }

.map-nav,
.map-title,
.online-pill,
.place-home,
.earth-book-node,
.anime-stack,
.little-notes-node,
.project-archive-node,
.island-mailbox,
.map-socials,
.map-music-player {
  will-change: opacity, translate;
  animation: map-piece-drop 620ms var(--ease-bounce-soft) both;
}

.map-nav { animation-delay: .03s; }
.map-title { animation-delay: .12s; }
.online-pill { animation-delay: .20s; }
.place-home { animation-delay: .30s; }
.earth-book-node { animation-delay: .43s; }
.anime-stack { animation-delay: .55s; }
.little-notes-node { animation-delay: .67s; }
.project-archive-node { animation-delay: .79s; }
.island-mailbox { animation-delay: .91s; }
.map-socials { animation-delay: 1.03s; }
.map-music-player { animation-delay: 1.15s; }

.island-silhouette {
  animation: map-island-arrive 720ms .16s var(--ease-map) both;
}

@keyframes map-piece-drop {
  0% {
    opacity: 0;
    translate: 0 -42px;
  }
  66% {
    opacity: 1;
    translate: 0 5px;
  }
  84% {
    translate: 0 -2px;
  }
  100% {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes map-island-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

.anime-stack {
  position: absolute;
  z-index: 9;
  width: 304px;
  height: 216px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  isolation: isolate;
  touch-action: manipulation;
  transform: translate(-50%, -50%);
}

.anime-stack-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 7px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 24px 52px rgba(68, 159, 151, 0.2), inset 0 1px 0 white;
  transform: rotate(-0.6deg);
  transition: opacity 260ms ease, transform 260ms var(--ease-map), filter 260ms ease;
}

.anime-stack-card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.anime-stack:hover .anime-stack-card {
  box-shadow: 0 28px 58px rgba(68, 159, 151, 0.23), inset 0 1px 0 white;
  transform: translateY(-3px) rotate(0deg);
}

.anime-stack:active .anime-stack-card {
  transform: translateY(-1px) rotate(0deg) scale(0.985);
}

.project-archive-node {
  position: absolute;
  z-index: 9;
  display: block;
  width: 240px;
  height: 184px;
  color: var(--fg-primary);
  transform: translate(-50%, -50%);
  isolation: isolate;
}

.project-archive-art {
  position: absolute;
  inset: 4px 14px 16px;
  display: block;
  filter: drop-shadow(0 20px 24px rgba(176, 143, 57, .17));
  transform: scale(1.08);
  transition: filter 240ms ease, transform 360ms var(--ease-bounce-soft);
}

.project-file {
  position: absolute;
  top: 28px;
  z-index: 1;
  display: grid;
  width: 64px;
  height: 76px;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(135, 114, 50, .11);
  color: var(--fg-primary);
  font-family: var(--font-cute);
  opacity: .82;
  place-items: start center;
  transform: translateY(33px) scale(.93);
  transition: opacity 240ms ease, transform 430ms var(--ease-bounce-soft);
}

.project-file b {
  margin-top: 13px;
  font-size: .82rem;
  letter-spacing: .06em;
}

.project-file::after {
  position: absolute;
  right: 12px;
  bottom: 15px;
  left: 12px;
  height: 13px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  opacity: .2;
}

.project-file-ai {
  left: 37px;
  background: linear-gradient(145deg, #f1fff8, #dff4df);
  color: #3b9478;
  opacity: 1;
  transform: translate(-5px, -17px) rotate(-6deg) scale(.96);
}

.project-file-java {
  right: 38px;
  background: linear-gradient(145deg, #fffdf0, #ffecaa);
  color: #bd8e1d;
  opacity: 1;
  transform: translate(5px, -20px) rotate(6deg) scale(.96);
}

.project-archive-lid {
  position: absolute;
  top: 66px;
  left: 13px;
  z-index: 3;
  width: 166px;
  height: 34px;
  border: 3px solid rgba(255,255,255,.95);
  border-radius: 9px 9px 6px 6px;
  background: linear-gradient(145deg, #fffbdc, #f0d873);
  box-shadow: 0 8px 15px rgba(155, 126, 42, .12);
  transform-origin: 12% 80%;
  transform: translate(-3px, -4px) rotate(-5deg);
  transition: transform 430ms var(--ease-bounce-soft);
}

.project-archive-front {
  position: absolute;
  top: 83px;
  left: 19px;
  z-index: 4;
  display: grid;
  width: 154px;
  height: 64px;
  border: 3px solid rgba(255,255,255,.96);
  border-radius: 8px 8px 12px 12px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.54), transparent 42%),
    linear-gradient(145deg, #fff8c9, #edd36e);
  box-shadow: inset -7px -6px 12px rgba(161, 126, 27, .07), 0 13px 22px rgba(164, 133, 43, .13);
  place-items: center;
}

.project-archive-front i {
  display: grid;
  width: 47px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 10px;
  background: rgba(255,255,255,.45);
  color: var(--accent-strong);
  font-size: .88rem;
  font-style: normal;
  place-items: center;
}

.project-archive-title,
.little-notes-title {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  z-index: 8;
  color: rgba(91, 106, 98, .68);
  font-family: var(--font-cute);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 0 white, 0 7px 16px rgba(75, 143, 132, .14);
  transition: color 220ms ease, opacity 220ms ease, transform 320ms var(--ease-bounce-soft);
}

.project-archive-node:hover,
.project-archive-node:focus-visible,
.little-notes-node:hover,
.little-notes-node:focus-visible {
  z-index: 18;
}

.project-archive-node:hover .project-archive-art,
.project-archive-node:focus-visible .project-archive-art {
  filter: drop-shadow(0 27px 27px rgba(176, 143, 57, .22));
  transform: translateY(-4px) scale(1.08);
}

.project-archive-node:hover .project-archive-lid,
.project-archive-node:focus-visible .project-archive-lid {
  transform: translate(-4px, -7px) rotate(-6deg);
}

.project-archive-node:hover .project-file-ai,
.project-archive-node:focus-visible .project-file-ai {
  opacity: 1;
  transform: translate(-7px, -21px) rotate(-7deg) scale(.98);
}

.project-archive-node:hover .project-file-java,
.project-archive-node:focus-visible .project-file-java {
  opacity: 1;
  transform: translate(7px, -24px) rotate(7deg) scale(.98);
}

.project-archive-node:hover .project-archive-title,
.project-archive-node:focus-visible .project-archive-title,
.little-notes-node:hover .little-notes-title,
.little-notes-node:focus-visible .little-notes-title {
  color: var(--accent-strong);
  transform: translateY(-3px) scale(1.06);
}

.little-notes-node {
  position: absolute;
  z-index: 9;
  display: block;
  width: 200px;
  height: 150px;
  color: var(--fg-primary);
  transform: translate(-50%, -50%);
  isolation: isolate;
}

.little-notes-art {
  position: absolute;
  inset: 5px 22px 20px;
  display: block;
  filter: drop-shadow(0 18px 21px rgba(161, 139, 62, .15));
  transition: filter 240ms ease, transform 360ms var(--ease-bounce-soft);
}

.little-note {
  position: absolute;
  top: 13px;
  left: 50%;
  display: block;
  width: 112px;
  height: 92px;
  padding: 17px 16px 12px;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 12px 15px 10px 14px;
  box-shadow: 0 12px 20px rgba(135, 114, 50, .1);
  font-style: normal;
  transform-origin: center bottom;
  transition: transform 430ms var(--ease-bounce-soft);
}

.little-note b {
  display: block;
  margin-bottom: 11px;
  color: #a88927;
  font-family: var(--font-cute);
  font-size: .68rem;
  letter-spacing: .07em;
}

.little-note span {
  display: block;
  height: 5px;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(92, 119, 109, .18);
  font-family: var(--font-cute);
  font-size: .68rem;
  line-height: 1;
}

.little-note-back {
  z-index: 1;
  background: #e9f7ee;
  transform: translateX(-55%) rotate(-9deg);
}

.little-note-mid {
  z-index: 2;
  background: #fff1b5;
  transform: translateX(-45%) rotate(7deg);
}

.little-note-front {
  z-index: 3;
  background: #fffef1;
  transform: translateX(-50%) rotate(-1deg);
}

.little-note-front span {
  height: auto;
  margin-top: 5px;
  background: none;
  color: var(--fg-secondary);
  text-align: center;
}

.little-notes-art > em {
  position: absolute;
  top: 5px;
  left: 50%;
  z-index: 5;
  width: 48px;
  height: 17px;
  background: rgba(155, 220, 202, .62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  opacity: .86;
  transform: translateX(-50%) rotate(-3deg);
}

.little-notes-node:hover .little-notes-art,
.little-notes-node:focus-visible .little-notes-art {
  filter: drop-shadow(0 25px 25px rgba(161, 139, 62, .2));
  transform: translateY(-5px);
}

.little-notes-node:hover .little-note-back,
.little-notes-node:focus-visible .little-note-back {
  transform: translate(-79%,-5px) rotate(-16deg);
}

.little-notes-node:hover .little-note-mid,
.little-notes-node:focus-visible .little-note-mid {
  transform: translate(-19%,-8px) rotate(14deg);
}

.little-notes-node:hover .little-note-front,
.little-notes-node:focus-visible .little-note-front {
  transform: translate(-50%,-14px) rotate(0);
}

.earth-book-node {
  position: absolute;
  z-index: 7;
  display: block;
  width: 285px;
  height: 186px;
  color: var(--fg-primary);
  transform: translate(-50%, -50%);
  perspective: 760px;
}

.earth-book-node::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 254px;
  height: 202px;
  border: 0;
  background: url("assets/book-stack-illustration.png") center / contain no-repeat;
  box-shadow: none;
  content: "";
  transform: translate(-50%, -50%);
  transform-origin: center bottom;
  transition: opacity 280ms ease, transform 500ms var(--ease-bounce-soft), filter 280ms ease;
}

.earth-book-node::after {
  display: none;
}

.earth-book-art {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 22px 22px rgba(176, 143, 57, 0.17));
  transform-origin: 50% 72%;
  transition: transform 360ms var(--ease-bounce-soft), filter 260ms ease;
}

.book-shadow {
  fill: rgba(185, 151, 58, 0.14);
  filter: blur(5px);
}

.book-open,
.book-closed {
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: opacity 300ms ease, transform 480ms var(--ease-bounce-soft);
}

.book-closed {
  display: none;
}

.book-open {
  opacity: 0;
  transform: translateY(14px) scale(0.76);
}

.book-closed {
  opacity: 1;
  transform: translateY(2px) scale(0.94);
}

.closed-book-back {
  fill: #eee5aa;
  stroke: rgba(208, 192, 126, 0.58);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.closed-book-pages {
  fill: #fffef2;
  stroke: rgba(211, 199, 151, 0.62);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.closed-book-cover {
  fill: #f7f4cf;
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: left bottom;
  transition: opacity 300ms ease, transform 460ms var(--ease-map);
}

.closed-book-spine {
  fill: #eee2a0;
  stroke: rgba(193, 171, 91, 0.42);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.closed-book-edge {
  fill: none;
  stroke: rgba(204, 190, 137, 0.52);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.closed-book-ribbon {
  fill: #efe3a0;
  stroke: rgba(184, 161, 72, 0.34);
  stroke-width: 1.6;
}

.closed-book-doodle {
  fill: none;
  stroke: #d2bb52;
  stroke-width: 2;
  stroke-linecap: round;
}

.book-cover {
  fill: #f7f4cf;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 3;
  stroke-linejoin: round;
}

.book-pages {
  fill: #fbf9df;
  stroke: rgba(210, 199, 146, 0.52);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.book-leaf {
  fill: #fffef5;
  stroke: rgba(214, 203, 154, 0.5);
  stroke-width: 2.2;
  stroke-linejoin: round;
  transition: transform 430ms var(--ease-map);
}

.book-leaf-left {
  transform-box: fill-box;
  transform-origin: right bottom;
}

.book-leaf-right {
  transform-box: fill-box;
  transform-origin: left bottom;
  fill: #f8f5d5;
}

.book-spine {
  fill: #fffef8;
  stroke: rgba(211, 198, 141, 0.44);
  stroke-width: 1.8;
}

.book-lines,
.book-doodles {
  fill: none;
  stroke: #c9b988;
  stroke-width: 2;
  stroke-linecap: round;
}

.book-doodles {
  stroke: #d1bb54;
}

.book-doodles,
.closed-book-doodle {
  display: none;
}

.book-ribbon {
  fill: #eee3a0;
  stroke: rgba(185, 164, 80, 0.3);
  stroke-width: 1.5;
}

.earth-book-title {
  position: absolute;
  top: 91%;
  left: 50%;
  z-index: 4;
  width: max-content;
  color: rgba(148, 120, 34, .66);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.94), 0 5px 16px rgba(179, 142, 29, 0.2);
  opacity: .48;
  pointer-events: none;
  transform: translate(-50%, 2px) scale(0.86);
  transition: top 420ms var(--ease-map), color 220ms ease, opacity 220ms ease, transform 340ms var(--ease-bounce-soft);
}

.manga-sticker-set {
  position: absolute;
  inset: -34px -32px -20px -68px;
  z-index: 5;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.manga-sticker-set i,
.manga-sticker-set b {
  position: absolute;
  display: block;
  font-style: normal;
}

.manga-cut {
  top: 8px;
  left: 18px;
  padding: 6px 9px 5px;
  border: 3px solid rgba(255, 255, 255, .94);
  border-radius: 4px;
  background: var(--accent-strong);
  box-shadow: 0 7px 14px rgba(47, 111, 76, .14);
  color: white;
  font: 700 .66rem/1 var(--font-mono);
  letter-spacing: .08em;
  transform: rotate(-7deg);
}

.manga-sfx {
  top: 58px;
  left: 0;
  color: var(--fg-primary);
  font: 700 1.5rem/1 var(--font-display);
  letter-spacing: -.08em;
  -webkit-text-stroke: 5px rgba(255, 255, 255, .94);
  paint-order: stroke fill;
  transform: rotate(-12deg);
}

.manga-spark {
  top: 19px;
  right: 10px;
  color: var(--oi-yellow-2);
  font: 700 2.6rem/1 var(--font-display);
  text-shadow: 2px 0 white, -2px 0 white, 0 2px white, 0 -2px white;
  transform: rotate(12deg);
}

.manga-orbit {
  right: -3px;
  bottom: 25px;
  width: 68px;
  height: 34px;
  border: 3px solid color-mix(in srgb, var(--accent-primary) 68%, white);
  border-left-color: transparent;
  border-radius: 50%;
  opacity: .72;
  transform: rotate(-18deg);
}

.manga-orbit b:first-child {
  top: -6px;
  right: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--oi-yellow-1);
  box-shadow: 0 0 0 3px white;
}

.manga-orbit b:last-child {
  right: -5px;
  bottom: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.earth-book-node:hover .manga-cut,
.earth-book-node:focus-visible .manga-cut { transform: translateY(-3px) rotate(-4deg); }
.earth-book-node:hover .manga-sfx,
.earth-book-node:focus-visible .manga-sfx { transform: translate(-3px, -2px) rotate(-9deg) scale(1.04); }
.earth-book-node:hover .manga-spark,
.earth-book-node:focus-visible .manga-spark { transform: rotate(30deg) scale(1.08); }
.earth-book-node:hover .manga-orbit,
.earth-book-node:focus-visible .manga-orbit { transform: translate(3px, -2px) rotate(-12deg); }

.manga-cut,
.manga-sfx,
.manga-spark,
.manga-orbit {
  transition: transform 260ms var(--ease-bounce-soft);
}

.earth-book-node:hover,
.earth-book-node:focus-visible {
  z-index: 14;
}

.earth-book-node:hover .earth-book-art,
.earth-book-node:focus-visible .earth-book-art {
  filter: drop-shadow(0 30px 28px rgba(176, 143, 57, 0.22));
  transform: translateY(-7px) rotateX(4deg) scale(1.035);
}

.earth-book-node:hover::before,
.earth-book-node:focus-visible::before {
  opacity: 0;
  filter: blur(2px);
  transform: translate(-55%, -61%) rotate(-7deg) scale(0.82);
}

.earth-book-node:hover .book-closed,
.earth-book-node:focus-visible .book-closed {
  opacity: 0;
  transform: translate(-16px, -10px) rotate(-5deg) scale(0.78);
}

.earth-book-node:hover .closed-book-cover,
.earth-book-node:focus-visible .closed-book-cover {
  opacity: 0;
  transform: translate(-24px, -42px) rotate(-13deg) scale(0.9);
}

.earth-book-node:hover .book-open,
.earth-book-node:focus-visible .book-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.earth-book-node:hover .book-leaf-left,
.earth-book-node:focus-visible .book-leaf-left {
  transform: rotate(-3deg) translateY(-3px);
}

.earth-book-node:hover .book-leaf-right,
.earth-book-node:focus-visible .book-leaf-right {
  transform: rotate(3deg) translateY(-3px);
}

.earth-book-node:hover .earth-book-title,
.earth-book-node:focus-visible .earth-book-title {
  top: 47%;
  color: #b48e1d;
  opacity: 1;
  transform: translate(-50%, -16px) scale(1);
  transition-delay: 140ms;
}

.island-mailbox {
  position: absolute;
  z-index: 10;
  display: block;
  width: 168px;
  height: 174px;
  color: var(--fg-primary);
  cursor: pointer;
  transform: translate(-50%, -50%);
  isolation: isolate;
}

.mailbox-unit {
  position: absolute;
  inset: 4px 14px 5px;
  display: block;
  filter: drop-shadow(0 18px 19px rgba(174, 146, 56, 0.18));
  transition: filter 240ms ease, transform 360ms var(--ease-bounce-soft);
}

.mailbox-post {
  display: none;
}

.mailbox-post::after {
  display: none;
}

.mailbox-body {
  position: absolute;
  top: 34px;
  left: 18px;
  width: 112px;
  height: 106px;
  overflow: visible;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.56), transparent 38%),
    linear-gradient(145deg, #fffbdc 0%, #f8edac 68%, #efd87b 100%);
  box-shadow: inset -7px -7px 14px rgba(188, 150, 47, 0.07), 0 11px 22px rgba(171, 140, 45, 0.12);
}

.mailbox-body::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: #dfbd48;
  content: "";
}

.mailbox-slot {
  position: absolute;
  top: 25px;
  left: 22px;
  z-index: 4;
  width: 64px;
  height: 8px;
  border: 2px solid rgba(180, 147, 48, 0.38);
  border-radius: 999px;
  background: rgba(114, 96, 39, 0.28);
  box-shadow: inset 0 2px 3px rgba(90, 70, 20, 0.15);
}

.mailbox-letter {
  position: absolute;
  top: 15px;
  left: 27px;
  z-index: 3;
  display: block;
  width: 53px;
  height: 36px;
  overflow: hidden;
  border: 2px solid rgba(222, 207, 155, 0.7);
  border-radius: 5px 5px 7px 7px;
  background: #fffef5;
  box-shadow: 0 6px 10px rgba(133, 111, 37, 0.13);
  opacity: 0.34;
  transform: translateY(17px) rotate(1deg);
  transition: opacity 220ms ease, transform 440ms var(--ease-bounce-soft);
}

.mailbox-letter::before,
.mailbox-letter::after {
  position: absolute;
  top: -5px;
  width: 35px;
  height: 28px;
  border-bottom: 1.5px solid rgba(219, 193, 101, 0.52);
  content: "";
}

.mailbox-letter::before {
  left: -11px;
  transform: rotate(32deg);
}

.mailbox-letter::after {
  right: -11px;
  transform: rotate(-32deg);
}

.mailbox-letter i {
  position: absolute;
  right: 6px;
  bottom: 5px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #efcf50;
  box-shadow: 0 0 0 2px rgba(255, 249, 204, 0.9);
}

.mailbox-knob {
  display: none;
}

.mailbox-flag {
  position: absolute;
  top: 67px;
  right: 5px;
  z-index: 8;
  width: 10px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  background: #e8b94f;
  box-shadow: 0 6px 12px rgba(169, 128, 37, 0.14);
  transform: rotate(0deg);
  transform-origin: 50% 91%;
  transition: transform 420ms var(--ease-bounce-soft);
}

.mailbox-flag::after {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: #edc85e;
  content: "";
}

.mailbox-flag i {
  position: absolute;
  top: -2px;
  left: 5px;
  width: 26px;
  height: 21px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 6px 10px 10px 4px;
  background: linear-gradient(145deg, #fff4b9, #f0cf62);
}

.mailbox-title {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 12;
  width: max-content;
  color: #a98215;
  font-family: var(--font-cute);
  font-size: 1.18rem;
  font-weight: 700;
  text-shadow: 0 2px 0 white, 0 7px 18px rgba(169, 131, 21, 0.18);
  opacity: .42;
  transform: translate(-50%, 13px) scale(0.78);
  transition: opacity 220ms ease, transform 360ms var(--ease-bounce-soft);
}

.island-mailbox:hover,
.island-mailbox:focus-visible {
  z-index: 18;
}

.island-mailbox:hover .mailbox-unit,
.island-mailbox:focus-visible .mailbox-unit {
  filter: drop-shadow(0 23px 22px rgba(174, 146, 56, 0.23));
  transform: translateY(-5px) rotate(-1deg);
}

.island-mailbox:hover .mailbox-flag,
.island-mailbox:focus-visible .mailbox-flag {
  transform: rotate(-88deg);
}

.island-mailbox:hover .mailbox-letter,
.island-mailbox:focus-visible .mailbox-letter {
  opacity: 1;
  transform: translateY(-17px) rotate(-3deg);
}

.island-mailbox:hover .mailbox-title,
.island-mailbox:focus-visible .mailbox-title {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.island-mailbox.is-sending .mailbox-flag {
  transform: rotate(-88deg);
}

.island-mailbox.is-sending .mailbox-letter {
  z-index: 20;
  animation: mailbox-letter-send 660ms cubic-bezier(.2,.76,.22,1) both;
}

.island-mailbox.is-sending .mailbox-title {
  opacity: 0;
}

@keyframes mailbox-letter-send {
  0% { opacity: 1; transform: translateY(-17px) rotate(-3deg) scale(1); }
  42% { opacity: 1; transform: translate(-28px, -94px) rotate(-12deg) scale(1.06); }
  100% { opacity: 0; transform: translate(210px, -180px) rotate(18deg) scale(.7); }
}

.place-home.is-poked .home-cat {
  animation: poke-home-cat 420ms var(--ease-bounce-soft) both;
}

.place-home.is-poked .home-copy {
  animation: poke-home-copy 420ms 35ms var(--ease-bounce-soft) both;
}

.poke-heart-burst {
  position: fixed;
  top: var(--heart-y);
  left: var(--heart-x);
  z-index: 120;
  display: block;
  width: 0;
  height: 0;
  pointer-events: none;
}

.poke-heart-main,
.poke-heart-spark {
  position: absolute;
  display: block;
  color: #ff6687;
  font-family: Arial, sans-serif;
  line-height: 1;
  text-shadow: 0 5px 18px rgba(234, 75, 113, 0.3), 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
}

.poke-heart-main {
  font-size: 86px;
  animation: poke-heart-pop 720ms var(--ease-bounce-soft) both;
}

.poke-heart-spark {
  font-size: 24px;
  opacity: 0;
  animation: poke-heart-spark 620ms var(--ease-map) var(--spark-delay) both;
}

@keyframes poke-home-cat {
  40% { transform: scale(0.96) rotate(-1deg); }
  72% { transform: scale(1.035) rotate(1deg); }
  100% { transform: none; }
}

@keyframes poke-home-copy {
  42% { transform: translateY(2px) scale(.98); }
  75% { transform: translateY(-2px) scale(1.025); }
  100% { transform: none; }
}

@keyframes poke-heart-pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.15) rotate(-18deg); }
  36% { opacity: 1; transform: translate(-50%, -58%) scale(1.18) rotate(7deg); }
  64% { opacity: 1; transform: translate(-50%, -66%) scale(0.96) rotate(-2deg); }
  100% { opacity: 0; transform: translate(-50%, -118%) scale(1.05) rotate(3deg); }
}

@keyframes poke-heart-spark {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) rotate(var(--spark-rotate)) scale(1.05); }
}

@keyframes route-draw {
  from {
    opacity: 0;
    stroke-dashoffset: 80;
  }
}

.place-node {
  position: absolute;
  z-index: 6;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 164px;
  min-height: 70px;
  padding: 10px 12px;
  border-radius: 12px;
  transform: translate(-50%, -50%);
  transition: transform var(--duration-fast) var(--ease-bounce-soft), background var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.place-projects {
  grid-template-columns: 48px minmax(0, 1fr);
  width: 189px;
  min-height: 81px;
  padding: 12px 14px;
  border-radius: 12px;
}

.place-projects .place-mark {
  width: 48px;
  height: 48px;
}

.place-projects strong {
  font-size: 1.14rem;
}
.place-blog {
  width: 194px;
  min-height: 80px;
  border-radius: 12px;
}
.place-radar { border-radius: 12px; }
.place-links { border-radius: 12px; }
.place-status {
  width: 202px;
  min-height: 84px;
  border-radius: 12px;
}

.place-status .place-mark {
  width: 48px;
  height: 48px;
}

.place-status .place-mark-icon {
  width: 29px;
  height: 29px;
}
.place-music { border-radius: 12px; }

.place-node:hover {
  z-index: 8;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 56px rgba(68, 159, 151, 0.19), inset 0 1px 0 white;
  transform: translate(-50%, calc(-50% - 6px)) scale(1.025);
}

.place-mark {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 7px;
  background: color-mix(in srgb, var(--oi-yellow-1) 32%, white);
  color: var(--accent-strong);
  font: 700 0.73rem / 1 var(--font-mono);
  place-items: center;
}

.place-node strong,
.place-node small {
  display: block;
}

.place-node strong {
  font-family: var(--font-display);
  font-size: 1.03rem;
  line-height: 1.1;
}

.place-node small {
  margin-top: 4px;
  color: var(--fg-muted);
  font: var(--caption);
}

.place-node.is-home {
  display: block;
  width: 238px;
  height: 258px;
  padding: 14px;
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.place-mark-icon {
  width: 25px;
  height: 25px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.place-node.is-home:hover {
  transform: translate(-50%, calc(-50% - 6px)) scale(1.015);
}

.home-halo {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--oi-teal-1) 32%, white);
  filter: blur(12px);
  transform: translateX(-50%);
}

.home-cat {
  position: relative;
  z-index: 1;
  width: 184px;
  height: 140px;
  margin-top: 7px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 9px;
  object-fit: cover;
  object-position: 50% 42%;
  filter: drop-shadow(0 16px 18px rgba(130, 106, 60, 0.16));
}

.home-copy {
  position: relative;
  z-index: 2;
  margin-top: 10px;
}

.home-copy strong {
  font-size: 1.2rem;
}

.home-copy span {
  display: block;
  margin-top: 3px;
  color: var(--accent-strong);
  font: var(--caption);
}

.map-music-player {
  position: absolute;
  z-index: 13;
  width: 310px;
  padding: 11px 15px 9px;
  border-radius: 10px;
  color: var(--fg-secondary);
  transform: translate(-50%, -50%);
  transition: background var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.map-music-player:hover,
.map-music-player.is-playing {
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 22px 48px rgba(68, 159, 151, 0.16), inset 0 1px 0 white;
}

.music-player-top,
.music-controls,
.music-timeline {
  display: flex;
  align-items: center;
}

.music-player-top {
  justify-content: center;
}

.music-controls {
  gap: 4px;
}

.music-controls button {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  place-items: center;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease, transform var(--duration-fast) var(--ease-bounce-soft);
}

.music-controls button:hover,
.music-controls button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-strong);
  transform: translateY(-2px);
}

.music-controls button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-controls .music-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 8px 18px color-mix(in oklch, var(--accent-primary) 26%, transparent);
  color: white;
}

.music-controls .music-play:hover {
  background: var(--accent-strong);
  color: white;
  transform: scale(1.06);
}

.music-play .play-icon {
  margin-left: 2px;
  fill: currentColor;
  stroke: none;
}

.music-play .pause-icon {
  display: none;
}

.map-music-player.is-playing .music-play .play-icon {
  display: none;
}

.map-music-player.is-playing .music-play .pause-icon {
  display: block;
}

.music-timeline {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 8px;
  margin-top: 7px;
  color: var(--fg-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.music-timeline input {
  width: 100%;
  height: 14px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.music-timeline input::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in oklch, var(--accent-primary) 68%, white), rgba(105, 139, 137, 0.22));
}

.music-timeline input::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  margin-top: -4px;
  border: 2px solid white;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(31, 143, 134, 0.25);
}

.music-timeline input::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(105, 139, 137, 0.22);
}

.music-timeline input::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--accent-primary);
}

.map-socials {
  position: absolute;
  top: 72%;
  left: 50%;
  z-index: 12;
  display: flex;
  gap: 8px;
  align-items: center;
  transform: translate(-50%, -50%);
}

.social-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  color: var(--fg-secondary);
  font-weight: var(--weight-bold);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-bounce-soft), background var(--duration-fast) ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-3px);
}

.github-link {
  border-color: rgba(36, 39, 41, 0.92);
  background: #202326;
  box-shadow: 0 9px 18px rgba(32, 35, 38, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: white;
}

.github-link:hover {
  background: #101213;
}

.csdn-link {
  background: rgba(255, 255, 255, 0.68);
  min-width: 112px;
}

.brand-icon {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  place-items: center;
}

.github-icon {
  background: white;
}

.github-icon img {
  display: block;
  width: 25px;
  height: 25px;
}

.csdn-brand-logo {
  display: block;
  width: 78px;
  height: 40px;
  object-fit: contain;
}

.email-link {
  width: 48px;
  padding: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-strong);
}

.email-link svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.email-link.is-copied {
  background: color-mix(in oklch, var(--oi-mint-1) 76%, white);
  transform: translateY(-3px) scale(1.06);
}

.email-toast {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 11px;
  background: rgba(40, 66, 66, 0.86);
  color: white;
  font: var(--caption);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.email-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.map-tip {
  position: absolute;
  bottom: 14px;
  left: 50%;
  z-index: 20;
  margin: 0;
  color: var(--fg-muted);
  font: var(--caption);
  transform: translateX(-50%);
}

@media (min-width: 901px) and (max-width: 1350px) {
  .map-world {
    min-height: max(840px, 100svh);
  }

  .map-nav {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
  }

  .map-title {
    top: 82px;
  }

  .map-plane {
    top: 76px;
  }
}

@media (max-width: 900px) {
  .map-nav {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
  }

  .map-title {
    top: 82px;
    width: min(520px, calc(100% - 24px));
  }

  .map-plane {
    top: 76px;
  }

  .online-pill {
    display: none;
  }

  .place-node {
    width: 148px;
  }

  .anime-stack {
    width: 260px;
    height: 189px;
  }

  .place-projects {
    width: 170px;
    min-height: 80px;
  }
}

@media (max-width: 680px) {
  .map-world {
    min-height: 940px;
  }

  .map-title {
    top: 82px;
    width: calc(100% - 24px);
    padding: 12px 16px;
    border-radius: 22px;
  }

  .map-title h1 {
    font-size: 1.48rem;
  }

  .map-title .role-line::before,
  .map-title .role-line::after {
    width: 18px;
  }

  .map-plane {
    top: 154px;
    width: 100%;
    height: 780px;
    min-height: 0;
  }

  .map-nav {
    right: 10px;
    left: 10px;
    width: auto;
    min-height: 60px;
    justify-content: space-between;
    transform: none;
  }

  .map-nav-home {
    width: 46px;
    height: 46px;
  }

  .map-nav-link,
  .map-nav-details > summary {
    min-width: 0;
    padding: 0 5px;
    font-size: .73rem;
  }

  .map-nav-about {
    min-width: 50px;
  }

  .map-nav-onepiece {
    min-width: 78px;
    padding: 0 3px;
    font-size: .64rem;
  }

  .map-nav-contact {
    min-width: 52px;
  }

  .map-nav-more {
    right: 0;
    width: 184px;
  }

  .island-silhouette {
    transform: scale(1.02);
  }

  .place-node {
    width: 138px;
    min-height: 62px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 7px;
    padding: 8px;
    border-radius: 25px 34px 22px 31px / 29px 23px 34px 25px;
  }

  .place-projects {
    grid-template-columns: 39px minmax(0, 1fr);
    width: 159px;
    min-height: 71px;
    padding: 9px 10px;
  }

  .place-projects .place-mark {
    width: 39px;
    height: 39px;
  }

  .place-projects strong {
    font-size: 1.06rem;
  }

  .place-status {
    width: 162px;
    min-height: 72px;
  }

  .place-blog {
    width: 164px;
    min-height: 72px;
  }

  .project-archive-node {
    width: 178px;
    height: 146px;
  }

  .project-archive-art {
    inset: 0 -2px 10px;
    transform: scale(.79);
  }

  .project-archive-node:hover .project-archive-art,
  .project-archive-node:focus-visible .project-archive-art {
    transform: translateY(-4px) scale(.79);
  }

  .project-archive-title {
    bottom: 0;
    font-size: .88rem;
  }

  .little-notes-node {
    width: 164px;
    height: 132px;
  }

  .little-notes-art {
    inset: 0 5px 12px;
    transform: scale(.8);
  }

  .little-notes-node:hover .little-notes-art,
  .little-notes-node:focus-visible .little-notes-art {
    transform: translateY(-4px) scale(.8);
  }

  .little-notes-title {
    bottom: 0;
    font-size: .88rem;
  }

  .place-status .place-mark {
    width: 40px;
    height: 40px;
  }

  .place-status .place-mark-icon {
    width: 25px;
    height: 25px;
  }

  .earth-book-node {
    width: 200px;
    height: 136px;
  }

  .earth-book-node::before {
    width: 182px;
    height: 145px;
    background: url("assets/book-stack-illustration.png") center / contain no-repeat;
  }

  .earth-book-title {
    font-size: 0.9rem;
  }

  .manga-sticker-set {
    inset: -24px -25px -12px -42px;
    transform: scale(.76);
  }

  .island-mailbox {
    width: 136px;
    height: 148px;
  }

  .mailbox-unit {
    inset: 2px 10px 3px;
    transform: scale(.84);
    transform-origin: center bottom;
  }

  .island-mailbox:hover .mailbox-unit,
  .island-mailbox:focus-visible .mailbox-unit {
    transform: translateY(-4px) rotate(-1deg) scale(.84);
  }

  .mailbox-title {
    top: -2px;
    font-size: 1rem;
  }

  .place-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .place-node.is-home {
    width: 178px;
    height: 198px;
    border-radius: 42% 58% 47% 53% / 52% 43% 57% 48%;
  }

  .home-halo {
    width: 92px;
    height: 92px;
  }

  .home-cat {
    width: 138px;
    height: 104px;
    border-radius: 24px;
  }

  .home-copy strong {
    font-size: 1rem;
  }

  .map-socials {
    top: 56.5%;
  }

  .anime-stack {
    width: 173px;
    height: 136px;
  }

  .anime-stack-card {
    padding: 5px;
    border-radius: 22px 26px 20px 24px;
  }

  .anime-stack-card img {
    border-radius: 17px 21px 16px 19px;
  }

  .map-music-player {
    width: min(300px, calc(100% - 24px));
    padding: 11px 12px 9px;
    border-radius: 22px;
  }

  .music-player-top {
    justify-content: center;
  }

  .music-controls {
    gap: 1px;
  }

  .music-controls button {
    width: 27px;
    height: 27px;
  }

  .music-controls .music-play {
    width: 36px;
    height: 36px;
  }

  .music-controls button svg {
    width: 17px;
    height: 17px;
  }

  .map-tip {
    display: none;
  }
}

/* Viewport-safe corner override. */
.map-nav { border-radius: 12px; }
.map-nav-home,
.map-nav-link,
.online-pill,
.map-music-player,
.social-link { border-radius: 8px; }
.map-nav-home img,
.home-cat,
.anime-stack-card img { border-radius: 6px; }
.anime-stack-card,
.place-node,
.place-projects,
.place-blog,
.place-radar,
.place-links,
.place-status,
.place-music,
.place-node.is-home { border-radius: 12px; }
.place-mark { border-radius: 7px; }
