:root {
  --green-950: #063d2a;
  --green-900: #07543a;
  --green-700: #0e8a5a;
  --green-500: #23bf76;
  --mint: #bdf7d6;
  --rice: #fff8dc;
  --cream: #fffdf0;
  --yellow: #ffe456;
  --orange: #ff8f3d;
  --pink: #ff72a6;
  --blue: #47c7ff;
  --violet: #8d7cff;
  --ink: #173126;
  --muted: #5d776c;
  --line: rgba(6, 61, 42, 0.14);
  --shadow: 0 22px 48px rgba(5, 70, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    system-ui,
    sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 228, 86, 0.32), transparent 22rem),
    radial-gradient(circle at 92% 12%, rgba(71, 199, 255, 0.24), transparent 20rem),
    linear-gradient(180deg, #e9ffe9 0%, #f7fff7 42%, #fffaf1 100%);
}

button,
a,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr);
  align-items: center;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 5rem);
  background:
    linear-gradient(135deg, rgba(6, 61, 42, 0.86), rgba(14, 138, 90, 0.7)),
    linear-gradient(180deg, #22c573, #0a6041);
  color: white;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
  z-index: -2;
}

.hero-copy {
  min-width: 0;
  max-width: 39rem;
  z-index: 2;
}

.kicker,
.section-heading p,
.panel-title p {
  margin: 0 0 0.7rem;
  color: #e4ff8c;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.mini-action {
  min-height: 2.9rem;
  border: 0;
  border-radius: 999px;
  padding: 0 1.25rem;
  cursor: pointer;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.mini-action:hover {
  transform: translateY(-2px);
}

.hero-art {
  position: relative;
  min-width: 0;
  min-height: min(54vw, 38rem);
  z-index: 1;
}

.sun {
  position: absolute;
  width: clamp(7rem, 18vw, 13rem);
  aspect-ratio: 1;
  top: 4%;
  right: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, #fffeb1 0 48%, #ffe456 49% 70%, rgba(255, 228, 86, 0) 71%);
  animation: floaty 5.8s ease-in-out infinite;
}

.river {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16%;
  height: 46%;
  border-radius: 45% 50% 0 0;
  background: linear-gradient(180deg, rgba(126, 238, 209, 0.34), rgba(71, 199, 255, 0.54));
  overflow: hidden;
  transform: rotate(-3deg);
}

.river span {
  position: absolute;
  left: -12%;
  width: 130%;
  height: 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  animation: wave 5s linear infinite;
}

.river span:nth-child(1) {
  top: 28%;
}

.river span:nth-child(2) {
  top: 48%;
  animation-delay: -1.4s;
}

.river span:nth-child(3) {
  top: 68%;
  animation-delay: -2.7s;
}

.dragon-boat {
  position: absolute;
  left: 6%;
  bottom: 28%;
  width: min(82%, 34rem);
  height: 8.5rem;
  animation: boat 4.4s ease-in-out infinite;
}

.pixel-party {
  position: absolute;
  left: 21%;
  bottom: 28%;
  display: flex;
  align-items: end;
  gap: 0.55rem;
  transform: rotate(-3deg);
  z-index: 3;
}

.pixel-person {
  --shirt: var(--green-500);
  --pants: var(--blue);
  position: relative;
  width: 2rem;
  height: 3.2rem;
  image-rendering: pixelated;
  animation: pixel-hop 1.8s steps(2, end) infinite;
}

.pixel-person::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--rice);
  box-shadow:
    0 -0.22rem 0 #173126,
    -0.22rem 0.22rem 0 #173126,
    0.22rem 0.22rem 0 #173126,
    0.22rem 0.55rem 0 #173126;
}

.pixel-person::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 1.18rem;
  width: 1.44rem;
  height: 1.25rem;
  background: var(--shirt);
  box-shadow:
    -0.28rem 0.22rem 0 var(--shirt),
    1.44rem 0.22rem 0 var(--shirt),
    0 1.25rem 0 var(--pants),
    0.72rem 1.25rem 0 var(--pants),
    0 1.72rem 0 #173126,
    0.72rem 1.72rem 0 #173126;
}

.pixel-person span,
.pixel-person i,
.pixel-person b {
  position: absolute;
  display: block;
}

.pixel-person span {
  left: 0.78rem;
  top: 0.48rem;
  width: 0.18rem;
  height: 0.18rem;
  background: var(--green-950);
  box-shadow: 0.42rem 0 var(--green-950);
  z-index: 2;
}

.pixel-person i {
  left: 0.16rem;
  top: 1.62rem;
  width: 0.28rem;
  height: 0.85rem;
  background: var(--rice);
  box-shadow: 1.64rem 0 var(--rice);
  transform: rotate(-14deg);
}

.pixel-person b {
  left: 0.78rem;
  top: 0.78rem;
  width: 0.42rem;
  height: 0.18rem;
  background: #ff72a6;
  z-index: 2;
}

.pixel-green {
  --shirt: #23bf76;
  --pants: #47c7ff;
}

.pixel-yellow {
  --shirt: #ffe456;
  --pants: #ff8f3d;
  animation-delay: -0.35s;
}

.pixel-pink {
  --shirt: #ff72a6;
  --pants: #bdf7d6;
  animation-delay: -0.75s;
}

.pixel-blue {
  --shirt: #47c7ff;
  --pants: #8d7cff;
  animation-delay: -0.15s;
}

.pixel-buddy {
  position: absolute;
  right: 1.4rem;
  bottom: 1.2rem;
  transform: scale(1.25);
}

.pixel-runner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: max-content;
  margin-top: 1rem;
  padding: 0.55rem 0.8rem 0.55rem 0.65rem;
  border: 3px solid var(--green-950);
  background: var(--yellow);
  box-shadow: 0.35rem 0.35rem 0 var(--green-950);
}

.pixel-runner .pixel-person {
  width: 1.6rem;
  height: 2.6rem;
  transform: scale(0.78);
  transform-origin: left bottom;
}

.pixel-runner small {
  color: var(--green-950);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.boat-body {
  position: absolute;
  left: 8%;
  right: 3%;
  bottom: 0;
  height: 4.4rem;
  border-radius: 1rem 4rem 4rem 1rem;
  background: linear-gradient(90deg, #ff8f3d, #ffe456 42%, #23bf76);
  box-shadow: inset 0 -0.7rem rgba(6, 61, 42, 0.16);
}

.boat-body i {
  position: relative;
  display: inline-block;
  width: 1.2rem;
  height: 2.2rem;
  margin: 0.7rem 0.45rem;
  border-radius: 999px 999px 0.45rem 0.45rem;
  background: white;
}

.boat-body i::before {
  content: "";
  position: absolute;
  left: 0.18rem;
  top: -0.55rem;
  width: 0.85rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #173126;
}

.boat-head {
  position: absolute;
  right: 0;
  top: 0;
  width: 8rem;
  height: 6.5rem;
  border-radius: 5rem 5rem 1rem 5rem;
  background: linear-gradient(135deg, #ffe456, #ff72a6);
  transform: rotate(14deg);
}

.boat-head::before,
.boat-head::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.boat-head::before {
  width: 1rem;
  aspect-ratio: 1;
  right: 2.2rem;
  top: 1.4rem;
  background: var(--green-950);
}

.boat-head::after {
  width: 2.4rem;
  height: 1rem;
  right: 0.35rem;
  top: 3.4rem;
  background: white;
}

.zongzi,
.traveler {
  position: absolute;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.18));
}

.zongzi {
  width: 7.5rem;
  aspect-ratio: 1;
  left: 4%;
  top: 9%;
  border-radius: 32% 68% 48% 52%;
  background: linear-gradient(135deg, #bdf7d6, #23bf76);
  transform: rotate(-16deg);
  animation: floaty 4.8s ease-in-out infinite;
}

.zongzi::before,
.zongzi::after,
.traveler::before,
.traveler::after {
  content: "";
  position: absolute;
}

.zongzi::before {
  width: 70%;
  height: 0.34rem;
  background: rgba(6, 61, 42, 0.5);
  transform: rotate(38deg);
}

.zongzi span,
.traveler span {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-950);
  box-shadow: 1.5rem 0 var(--green-950);
}

.zongzi b,
.traveler b {
  position: absolute;
  width: 1.5rem;
  height: 0.65rem;
  bottom: 2.1rem;
  border-radius: 0 0 999px 999px;
  border-bottom: 0.22rem solid var(--green-950);
}

.traveler {
  width: 6.5rem;
  aspect-ratio: 0.8;
  right: 4%;
  bottom: 8%;
  border-radius: 3.5rem 3.5rem 1.4rem 1.4rem;
  background: linear-gradient(180deg, #fff8dc 0 35%, #ff72a6 36% 72%, #47c7ff 73%);
  animation: floaty 5.5s ease-in-out infinite -1.3s;
}

.traveler::before {
  top: -1.4rem;
  width: 3.3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff8dc;
}

.leaf {
  position: absolute;
  width: 8rem;
  height: 3.2rem;
  border-radius: 100% 0 100% 0;
  background: rgba(189, 247, 214, 0.72);
}

.leaf-a {
  right: 2%;
  top: 31%;
  transform: rotate(34deg);
}

.leaf-b {
  left: 17%;
  bottom: 10%;
  transform: rotate(-22deg);
}

.control-band,
.team-section,
.map-section,
.overview-grid,
.ai-section,
.plan-section,
.timeline-section,
.detail-lanes,
.todo-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.control-band {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 1rem;
  padding: 2rem 0 1.4rem;
}

.team-section {
  padding: 0 0 1.4rem;
}

.map-section {
  padding: 1rem 0 2rem;
}

.journey-map {
  position: relative;
  min-height: clamp(22rem, 48vw, 34rem);
  margin-top: 1rem;
  overflow: hidden;
  border: 3px solid var(--green-950);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 72% 44%, rgba(255, 228, 86, 0.52), transparent 4.5rem),
    linear-gradient(135deg, #c9ffd8 0%, #eaffba 46%, #b8f3ff 100%);
  background-size: 1.6rem 1.6rem, 1.6rem 1.6rem, auto, auto;
  box-shadow: 0.42rem 0.42rem 0 var(--green-950);
}

.journey-map::before,
.journey-map::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(14, 138, 90, 0.18);
  transform: rotate(-18deg);
}

.journey-map::before {
  left: 8%;
  top: 18%;
  width: 24%;
  height: 11%;
}

.journey-map::after {
  right: 8%;
  bottom: 17%;
  width: 28%;
  height: 13%;
}

.map-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.map-lines path {
  fill: none;
  stroke: var(--line-color);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 0.08 0.05;
  filter: drop-shadow(0 2px 0 rgba(6, 61, 42, 0.18));
  animation: route-dash 1.7s linear infinite;
}

.map-pins,
.map-destination,
.map-legend {
  position: absolute;
  z-index: 2;
}

.map-pin {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, max-content);
  gap: 0.15rem 0.45rem;
  align-items: center;
  width: max-content;
  max-width: 11rem;
  padding: 0.45rem 0.6rem;
  border: 2px solid var(--green-950);
  background: rgba(255, 253, 240, 0.92);
  box-shadow: 0.22rem 0.22rem 0 var(--green-950);
  transform: translate(-50%, -50%);
  animation: map-bounce 2.4s steps(2, end) infinite;
}

.map-pin .pixel-person {
  grid-row: span 2;
  transform: scale(0.82);
  transform-origin: left bottom;
}

.map-pin strong,
.map-pin span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.map-pin strong {
  color: var(--green-950);
  font-size: 1rem;
}

.map-pin span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.map-pin-2 {
  animation-delay: -0.35s;
}

.map-pin-3 {
  animation-delay: -0.75s;
}

.map-pin-4 {
  animation-delay: -1.05s;
}

.map-destination {
  display: grid;
  place-items: center;
  gap: 0.15rem;
  width: 6.2rem;
  aspect-ratio: 1;
  border: 3px solid var(--green-950);
  border-radius: 50%;
  color: var(--green-950);
  background: var(--yellow);
  box-shadow:
    0.3rem 0.3rem 0 var(--green-950),
    0 0 0 0.55rem rgba(255, 228, 86, 0.32);
  transform: translate(-50%, -50%);
  animation: destination-pulse 2.2s ease-in-out infinite;
}

.map-destination span {
  font-size: 0.8rem;
  font-weight: 900;
}

.map-destination strong {
  font-size: 1.55rem;
  line-height: 1;
}

.map-legend {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.map-legend p {
  margin: 0;
  padding: 0.7rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.map-legend strong {
  display: block;
  color: var(--green-950);
}

.plan-section {
  padding: 3.4rem 0 0;
}

.ai-section {
  padding: 3.4rem 0 0;
}

.ai-advice {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid rgba(14, 138, 90, 0.18);
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(228, 255, 140, 0.2), rgba(255, 255, 255, 0.84)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 30px rgba(5, 70, 45, 0.08);
}

.ai-advice-head {
  display: grid;
  gap: 0.45rem;
}

.ai-advice-head strong {
  color: var(--green-950);
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.25;
}

.ai-advice-head span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ai-alerts {
  display: grid;
  gap: 0.55rem;
}

.ai-alerts p {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-left: 0.35rem solid var(--orange);
  border-radius: 0.7rem;
  background: rgba(255, 143, 61, 0.1);
  color: var(--green-950);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ai-suggestions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.ai-suggestion {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
}

.ai-suggestion h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 1.05rem;
}

.ai-suggestion p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.ai-suggestion.priority-high {
  border-color: rgba(255, 143, 61, 0.45);
  background: rgba(255, 248, 220, 0.82);
}

.ai-questions h3 {
  margin: 0 0 0.7rem;
  color: var(--green-950);
  font-size: 1rem;
}

.ai-questions ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-questions li {
  padding-left: 1rem;
  border-left: 0.28rem solid var(--yellow);
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.team-card {
  position: relative;
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  min-height: 8.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 30px rgba(5, 70, 45, 0.08);
}

.team-card.is-current {
  border-color: rgba(255, 228, 86, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 228, 86, 0.18), rgba(255, 255, 255, 0.86)),
    white;
}

.pixel-couple {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0.22rem;
  min-height: 4.4rem;
  padding: 0.55rem 0.2rem 0.2rem;
  border: 3px solid var(--green-950);
  background:
    linear-gradient(90deg, rgba(35, 191, 118, 0.16) 50%, transparent 50%),
    #fffdf0;
  background-size: 0.8rem 0.8rem;
  box-shadow: 0.28rem 0.28rem 0 var(--green-950);
}

.pixel-couple .pixel-person {
  transform: scale(0.82);
  transform-origin: center bottom;
}

.pixel-couple .pixel-person + .pixel-person {
  animation-delay: -0.55s;
}

.team-copy {
  min-width: 0;
}

.team-copy strong {
  display: block;
  color: var(--green-950);
  font-size: 1.05rem;
}

.team-copy span,
.team-copy em {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.4;
}

.team-copy em {
  color: var(--green-700);
  font-weight: 850;
}

.section-heading h2,
.panel-title h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(1.6rem, 3.2vw, 2.45rem);
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.control-band .section-heading p,
.timeline-section .section-heading p,
.todo-section .section-heading p,
.panel-title p {
  color: var(--green-700);
}

.view-tabs,
.route-switch {
  display: flex;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(5, 70, 45, 0.08);
}

.tab,
.route-button {
  flex: 0 0 auto;
  border: 0;
  min-height: 2.55rem;
  border-radius: 999px;
  padding: 0 1rem;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.tab.active,
.route-button.active {
  color: white;
  background: var(--green-700);
  box-shadow: 0 9px 20px rgba(14, 138, 90, 0.22);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 1rem;
}

.daily-plan {
  position: relative;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
  padding-left: 1rem;
}

.daily-plan::before {
  content: "";
  position: absolute;
  left: 0.26rem;
  top: 1rem;
  bottom: 1rem;
  width: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(var(--yellow), var(--green-500), var(--pink), var(--blue));
}

.plan-card {
  position: relative;
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 30px rgba(5, 70, 45, 0.08);
}

.plan-card::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 1.35rem;
  width: 0.85rem;
  aspect-ratio: 1;
  border: 0.22rem solid var(--green-950);
  background: var(--yellow);
  box-shadow: 0.18rem 0.18rem 0 var(--green-700);
}

.plan-marker {
  display: grid;
  align-content: center;
  gap: 0.4rem;
  min-height: 7rem;
  padding: 0.9rem;
  border: 3px solid var(--green-950);
  background:
    linear-gradient(90deg, rgba(35, 191, 118, 0.13) 50%, transparent 50%),
    var(--cream);
  background-size: 0.8rem 0.8rem;
  box-shadow: 0.3rem 0.3rem 0 var(--green-950);
}

.plan-marker strong {
  color: var(--green-950);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-marker span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.plan-copy {
  min-width: 0;
}

.plan-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.9rem;
}

.plan-title-row h3 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.plan-title-row em {
  flex: 0 0 auto;
  max-width: 12rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: #e4ff8c;
  color: var(--green-950);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.plan-list {
  display: grid;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--orange);
  box-shadow: 0.16rem 0.16rem 0 rgba(6, 61, 42, 0.18);
}

.info-panel {
  position: relative;
  min-width: 0;
  min-height: 15rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(14, 138, 90, 0.16);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, opacity 220ms ease;
}

.info-panel.featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background:
    linear-gradient(135deg, rgba(6, 61, 42, 0.91), rgba(14, 138, 90, 0.88)),
    var(--green-700);
}

.featured .panel-title h2 {
  color: white;
}

.featured .panel-title p {
  color: var(--yellow);
}

.info-panel p {
  margin: 1.1rem 0 0;
  color: rgba(23, 49, 38, 0.74);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.featured p {
  color: rgba(255, 255, 255, 0.8);
}

.recommendation {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.recommendation span {
  width: max-content;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--green-950);
  font-size: 0.85rem;
  font-weight: 900;
}

.recommendation strong {
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  overflow-wrap: anywhere;
}

.pending-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.pending-list li {
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  border-left: 0.35rem solid var(--yellow);
}

.hotel-detail {
  display: grid;
  gap: 1rem;
  min-width: 0;
  margin-top: 1.15rem;
}

.hotel-scene {
  position: relative;
  min-height: 5.2rem;
  overflow: hidden;
  border: 3px solid var(--green-950);
  background:
    linear-gradient(90deg, rgba(35, 191, 118, 0.14) 50%, transparent 50%),
    linear-gradient(180deg, #e4ff8c 0 48%, #bdf7d6 49%);
  background-size: 0.8rem 0.8rem, 100% 100%;
  box-shadow: 0.32rem 0.32rem 0 var(--green-950);
}

.hotel-scene span {
  position: absolute;
  display: block;
}

.hotel-building {
  left: 1rem;
  bottom: 0.85rem;
  width: 4.5rem;
  height: 3rem;
  background: var(--cream);
  border: 0.22rem solid var(--green-950);
  box-shadow:
    0.75rem -0.75rem 0 var(--yellow),
    1rem -0.75rem 0 var(--green-950),
    0.55rem 0.75rem 0 var(--blue),
    1.65rem 0.75rem 0 var(--blue),
    2.75rem 0.75rem 0 var(--blue);
}

.hotel-building::before,
.hotel-building::after,
.hotel-sign::before,
.hotel-sign::after {
  content: "";
  position: absolute;
}

.hotel-building::before {
  left: 0.55rem;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--green-700);
  box-shadow:
    1rem 0 var(--green-700),
    2rem 0 var(--green-700);
}

.hotel-building::after {
  left: 1.75rem;
  bottom: -0.22rem;
  width: 0.85rem;
  height: 1rem;
  background: var(--orange);
  border: 0.18rem solid var(--green-950);
  border-bottom: 0;
}

.hotel-path {
  left: 6.3rem;
  right: 4.6rem;
  bottom: 1.05rem;
  height: 0.5rem;
  background: repeating-linear-gradient(
    90deg,
    var(--green-950) 0 0.75rem,
    transparent 0.75rem 1.25rem
  );
  opacity: 0.42;
  animation: path-move 1.8s steps(4, end) infinite;
}

.hotel-sign {
  right: 1.05rem;
  bottom: 0.95rem;
  width: 2.5rem;
  height: 2.1rem;
  border: 0.2rem solid var(--green-950);
  background: var(--yellow);
  box-shadow: 0.22rem 0.22rem 0 var(--green-950);
  animation: sign-bob 2.2s steps(2, end) infinite;
}

.hotel-sign::before {
  left: 0.42rem;
  top: 0.42rem;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--green-950);
  box-shadow: 0.9rem 0 var(--green-950);
}

.hotel-sign::after {
  left: 0.62rem;
  top: 1.1rem;
  width: 0.9rem;
  height: 0.25rem;
  background: var(--pink);
}

.hotel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hotel-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: rgba(14, 138, 90, 0.1);
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 850;
}

.hotel-meta span:first-child {
  background: var(--yellow);
  color: var(--green-950);
}

.hotel-lines {
  display: grid;
  gap: 0.65rem;
}

.hotel-lines p {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.65rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.hotel-lines strong {
  color: var(--green-950);
  font-weight: 950;
}

.hotel-nearby {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.hotel-nearby article {
  padding: 0.85rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hotel-nearby strong {
  display: block;
  color: var(--green-950);
  font-size: 0.98rem;
}

.hotel-nearby p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.hotel-warm {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 228, 86, 0.2);
  border: 1px dashed rgba(6, 61, 42, 0.28);
}

.hotel-warm > strong {
  color: var(--green-950);
}

.hotel-warm ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hotel-warm li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.hotel-warm li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--pink);
  box-shadow: 0.14rem 0.14rem 0 rgba(6, 61, 42, 0.2);
}

.timeline-section {
  padding: 4rem 0 0;
}

.timeline-section > .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.route-switch {
  width: max-content;
  margin: 1.3rem 0 1rem;
}

.route-view {
  display: none;
  position: relative;
  padding-left: 1.35rem;
}

.route-view.active {
  display: grid;
  gap: 0.9rem;
  animation: rise 260ms ease both;
}

.route-view::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 1.3rem;
  bottom: 1.3rem;
  width: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(var(--green-500), var(--yellow), var(--pink));
}

.timeline-item {
  position: relative;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(5, 70, 45, 0.09);
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.2rem;
  top: 1.45rem;
  width: 0.9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  border: 0.22rem solid var(--green-700);
  z-index: 2;
}

.timeline-head {
  width: 100%;
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.timeline-head.static {
  cursor: default;
}

.time {
  display: inline-grid;
  place-items: center;
  min-height: 3.4rem;
  border-radius: 1rem;
  color: var(--green-950);
  background: #e4ff8c;
  font-size: 1.18rem;
  font-weight: 950;
}

.timeline-head strong {
  display: block;
  color: var(--green-950);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  overflow-wrap: anywhere;
}

.timeline-head em {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.timeline-body {
  display: grid;
  gap: 0.45rem;
  padding: 0 1.2rem 1.2rem 7.4rem;
}

.timeline-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.timeline-body .note {
  color: var(--green-700);
  font-weight: 800;
}

.timeline-item.collapsed .timeline-body {
  display: none;
}

.detail-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 3rem 0 0;
}

.lane {
  padding: 1.35rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(5, 70, 45, 0.08);
}

.lane-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 0.35rem;
  background: var(--green-700);
  color: white;
  font-weight: 950;
  box-shadow:
    0.22rem 0.22rem 0 var(--green-950),
    inset 0.22rem 0.22rem 0 rgba(255, 255, 255, 0.22);
}

.lane h3 {
  margin: 1rem 0 0;
  color: var(--green-950);
  font-size: 1.2rem;
}

.lane p {
  min-height: 4.8rem;
  margin: 0.65rem 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.mini-action {
  min-height: 2.5rem;
  padding: 0 0.9rem;
  color: var(--green-950);
  background: var(--yellow);
}

.todo-section {
  padding: 4rem 0 5rem;
}

.todo-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.todo-board label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4rem;
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
}

.todo-board input {
  width: 1.25rem;
  aspect-ratio: 1;
  accent-color: var(--green-700);
}

.is-filtered-out {
  display: none !important;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  width: min(28rem, calc(100% - 2rem));
  padding: 1rem 1.1rem;
  border-radius: 999px;
  color: white;
  background: rgba(6, 61, 42, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translate(-50%, 150%);
  opacity: 0;
  transition: transform 240ms ease, opacity 240ms ease;
  z-index: 10;
}

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

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-0.9rem) rotate(-4deg);
  }
}

@keyframes boat {
  0%,
  100% {
    transform: translateX(0) rotate(-1deg);
  }
  50% {
    transform: translateX(0.9rem) rotate(1deg);
  }
}

@keyframes wave {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(8rem);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.55rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pixel-hop {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.28rem);
  }
}

@keyframes path-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(1.25rem);
  }
}

@keyframes sign-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.18rem);
  }
}

@keyframes route-dash {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -0.6;
  }
}

@keyframes map-bounce {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(-50%, calc(-50% - 0.22rem));
  }
}

@keyframes destination-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .hero-art {
    grid-row: 1;
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    min-height: 21rem;
  }

  .hero-copy {
    grid-row: 2;
    width: 100%;
    max-width: 22rem;
  }

  .pixel-party {
    left: 26%;
    bottom: 27%;
    transform: scale(0.86) rotate(-3deg);
    transform-origin: left bottom;
  }

  .pixel-buddy {
    display: none;
  }

  .control-band,
  .timeline-section > .section-heading {
    display: grid;
    align-items: start;
  }

  .view-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .overview-grid,
  .team-grid,
  .ai-suggestions,
  .hotel-nearby,
  .map-legend,
  .plan-card,
  .detail-lanes,
  .todo-board {
    grid-template-columns: 1fr;
  }

  .plan-title-row {
    display: grid;
  }

  .plan-title-row em {
    width: max-content;
    max-width: 100%;
  }

  .team-card {
    grid-template-columns: 4.8rem minmax(0, 1fr);
  }

  .info-panel.featured {
    grid-row: auto;
  }

  .lane p {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(2.3rem, 13vw, 2.85rem);
  }

  .lead {
    max-width: 20rem;
  }

  .journey-map {
    min-height: 31rem;
  }

  .map-pin {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.1rem;
    width: 4.3rem;
    max-width: 4.3rem;
    padding: 0.34rem 0.28rem;
  }

  .map-pin .pixel-person {
    grid-row: auto;
    transform: scale(0.58);
    height: 2.1rem;
  }

  .map-pin strong {
    font-size: 0.78rem;
    line-height: 1;
  }

  .map-pin span {
    display: none;
  }

  .map-destination {
    width: 5.2rem;
  }

  .map-destination strong {
    font-size: 1.3rem;
  }

  .map-legend {
    gap: 0.42rem;
  }

  .map-legend p {
    padding: 0.55rem;
    font-size: 0.78rem;
  }

  .timeline-head {
    grid-template-columns: 1fr;
  }

  .timeline-body {
    padding-left: 1.2rem;
  }

  .route-switch {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .route-button {
    flex: 0 0 auto;
    padding: 0 0.55rem;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
