:root {
  --ink: #17202b;
  --night: #10131f;
  --night-2: #211a32;
  --paper: #fffdf8;
  --muted: #64707c;
  --line: rgba(32, 45, 58, 0.14);
  --sky: #a9d8ee;
  --teal: #89d7c2;
  --rose: #e8a5b8;
  --gold: #f0c973;
  --lilac: #a99cdb;
  --leaf: #87ad74;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8f5eb;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0 5vw;
  color: #f8fbff;
  background: rgba(7, 10, 31, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #10131f;
  background: linear-gradient(135deg, var(--gold), var(--sky), var(--rose));
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(240, 201, 115, 0.34);
}

.section {
  position: relative;
  scroll-margin-top: 84px;
}

.hero {
  min-height: calc(100svh - 112px);
  overflow: hidden;
  display: grid;
  align-items: start;
  padding: 3.2rem 5vw 3rem;
  color: #f7fbff;
  background:
    radial-gradient(circle at 20% 23%, rgba(102, 231, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 42% 10%, rgba(255, 161, 232, 0.22), transparent 18rem),
    radial-gradient(circle at 66% 28%, rgba(76, 202, 255, 0.34), transparent 27rem),
    radial-gradient(circle at 86% 76%, rgba(158, 92, 255, 0.42), transparent 27rem),
    radial-gradient(circle at 16% 86%, rgba(40, 219, 218, 0.2), transparent 24rem),
    linear-gradient(180deg, #020414 0%, #06123c 36%, #141d5a 67%, #382b86 100%);
  isolation: isolate;
}

#planetCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  filter: saturate(1.28) contrast(1.06);
}

.planet-hotspot {
  position: absolute;
  right: 19vw;
  top: 30%;
  z-index: 2;
  width: min(22rem, 27vw);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.planet-hotspot:focus-visible {
  outline: 2px solid rgba(189, 232, 246, 0.8);
  outline-offset: 6px;
}

.fallback-orbit-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 55% 42%, rgba(255, 192, 238, 0.28), transparent 17rem),
    radial-gradient(circle at 69% 39%, rgba(142, 236, 255, 0.26), transparent 20rem),
    radial-gradient(circle at 82% 72%, rgba(183, 112, 255, 0.24), transparent 23rem),
    radial-gradient(circle at 20% 22%, rgba(255, 232, 179, 0.16), transparent 14rem);
}

html[data-scene-ready="true"] .fallback-orbit-scene {
  display: none;
}

.fallback-planet {
  position: absolute;
  right: 19vw;
  top: 30%;
  display: grid;
  place-items: center;
  width: min(22rem, 27vw);
  aspect-ratio: 1;
  border: 1px solid rgba(170, 230, 255, 0.34);
  border-radius: 50%;
  color: rgba(248, 251, 255, 0.78);
  font-weight: 800;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 246, 178, 0.98) 0 6%, rgba(255, 125, 206, 0.48) 12%, transparent 28%),
    radial-gradient(ellipse at 45% 58%, rgba(255, 255, 255, 0.58) 0 10%, rgba(255, 178, 230, 0.44) 18%, transparent 32%),
    radial-gradient(ellipse at 63% 43%, rgba(255, 255, 255, 0.5) 0 8%, rgba(91, 224, 255, 0.56) 18%, transparent 35%),
    radial-gradient(circle at 38% 48%, rgba(71, 210, 255, 0.88), transparent 36%),
    linear-gradient(135deg, rgba(255, 149, 221, 0.92), rgba(99, 225, 255, 0.92) 48%, rgba(167, 126, 255, 0.9));
  box-shadow:
    inset 28px 18px 44px rgba(255, 255, 255, 0.38),
    inset -58px -52px 88px rgba(63, 52, 136, 0.34),
    0 0 0 2px rgba(255, 247, 255, 0.5),
    0 0 42px rgba(255, 201, 236, 0.5),
    0 0 120px rgba(140, 224, 255, 0.36);
  opacity: 0.98;
  animation: fallbackPlanetGlow 7s ease-in-out infinite;
}

.fallback-planet::before,
.fallback-planet::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 2px solid rgba(255, 239, 250, 0.86);
  border-radius: 50%;
  box-shadow:
    0 0 22px rgba(255, 213, 244, 0.74),
    0 0 56px rgba(184, 238, 255, 0.56),
    inset 0 0 20px rgba(255, 255, 255, 0.34);
  transform: rotate(-28deg) scaleX(2.9);
  animation: fallbackRingPulse 5.6s ease-in-out infinite;
}

.fallback-planet::after {
  inset: 8%;
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.72),
    0 0 80px rgba(239, 156, 215, 0.38);
  transform: rotate(-18deg) scaleX(3.2);
  animation-delay: -2.1s;
}

.fallback-planet span {
  position: relative;
  z-index: 1;
  padding: 0.45rem 0.8rem;
  color: rgba(247, 252, 255, 0.88);
  background: rgba(6, 12, 27, 0.42);
  border: 1px solid rgba(194, 235, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(131, 220, 255, 0.16);
  backdrop-filter: blur(12px);
}

.fallback-orbiter {
  position: absolute;
  min-width: 4.8rem;
  color: rgba(248, 251, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 0 14px rgba(189, 232, 246, 0.65);
  animation: fallbackFloat 4.8s ease-in-out infinite;
}

.fallback-orbiter::before {
  content: "♪";
  display: block;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0 auto 0.28rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 2.15rem;
  line-height: 2.2rem;
  text-shadow:
    0 0 10px rgba(255, 216, 241, 0.92),
    0 0 22px rgba(184, 238, 255, 0.72);
  border: 0;
  filter: drop-shadow(0 0 15px rgba(255, 216, 241, 0.62));
}

.fallback-star {
  right: 34vw;
  top: 31%;
}

.fallback-star::before {
  content: "♫";
  color: #fff4cb;
}

.fallback-moon {
  right: 44vw;
  top: 47%;
  animation-delay: -1.4s;
}

.fallback-moon::before {
  content: "♬";
  color: #c8f2ff;
}

.fallback-flower {
  right: 19vw;
  top: 57%;
  animation-delay: -2.3s;
}

.fallback-flower::before {
  content: "♪";
  color: #ffd6f0;
}

.fallback-note {
  right: 9vw;
  top: 42%;
  animation-delay: -3.2s;
}

.fallback-note::before {
  content: "♡";
  color: #f7e7ff;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 58% 52%, rgba(255, 196, 238, 0.04), rgba(3, 8, 31, 0.06) 42%, rgba(3, 8, 31, 0.18) 88%),
    linear-gradient(90deg, rgba(2, 5, 24, 0.74) 0%, rgba(4, 9, 34, 0.22) 34%, rgba(4, 9, 34, 0) 70%),
    linear-gradient(180deg, rgba(8, 13, 39, 0) 58%, rgba(74, 52, 153, 0.2) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(36rem, 92vw);
  padding: 2.2rem 0 0;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.72rem;
  color: #5f9dbb;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bde8f6;
  text-shadow: 0 0 24px rgba(137, 215, 194, 0.38);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 12px 48px rgba(0, 0, 0, 0.32);
}

h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.48rem;
  font-size: 1.12rem;
  line-height: 1.35;
}

.hero-text {
  max-width: 31rem;
  color: rgba(247, 251, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #f9fcff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.primary {
  color: #17202b;
  background: linear-gradient(135deg, #f2d891, #bce7f5);
  border-color: rgba(255, 255, 255, 0.56);
}

.mimi-guide,
.wish-chip,
.tab,
.stop {
  cursor: pointer;
}

.mimi-guide {
  position: absolute;
  right: 5vw;
  top: 6.3rem;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.55rem;
  max-width: min(24rem, 45vw);
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #f7fbff;
  background: rgba(17, 23, 36, 0.48);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

html[data-scene-ready="true"] .mimi-guide {
  display: inline-flex;
}

.signal-dot {
  flex: 0 0 auto;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(137, 215, 194, 0.6);
  animation: signalPulse 1.8s ease-in-out infinite;
}

.speech {
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  line-height: 1.45;
}

.section-inner {
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 5rem 0;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 1.8rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.daily-section {
  background: #fffdf8;
}

.daily-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.daily-card {
  min-height: 13rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 252, 255, 0.86)),
    #fff;
  box-shadow: 0 18px 42px rgba(43, 57, 73, 0.1);
}

.daily-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  color: #192232;
  background: linear-gradient(135deg, var(--gold), var(--sky), var(--rose));
}

.daily-card p {
  color: #536170;
  line-height: 1.8;
}

.outfit-section {
  background: #f8f5eb;
}

.travel-section {
  background: #fffdf8;
}

.wish-section {
  background: #eef6f4;
}

.notes-section {
  background: #fbf1f3;
}

.outfit-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.92fr 0.92fr;
  gap: 1rem;
}

.outfit-card,
.info-card,
.note-card,
.wish-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(43, 57, 73, 0.1);
}

.photo-card img {
  display: block;
  width: 100%;
  height: 25rem;
  object-fit: cover;
  object-position: center 28%;
}

.card-body {
  padding: 1rem;
}

.card-body p,
.info-card p,
.note-card p {
  color: #536170;
  line-height: 1.8;
}

.texture-card {
  background: #fbfdfb;
}

.material-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 15.5rem;
}

.fabric {
  position: relative;
  min-height: 7.75rem;
}

.fabric::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 7px);
}

.fabric-blue {
  background: #aad7ee;
}

.fabric-pearl {
  background: #fff5df;
}

.fabric-leaf {
  background: #a9c892;
}

.fabric-rose {
  background: #ebb2c2;
}

.price-ledger {
  display: grid;
  gap: 0.8rem;
  min-height: 15.5rem;
  padding: 1rem;
  align-content: center;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #f0c973, #89d7c2, #e8a5b8) border-box;
}

.price-ledger div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(32, 45, 58, 0.1);
  border-radius: var(--radius);
  background: #fffdf8;
}

.price-ledger span {
  color: #536170;
}

.price-ledger strong {
  color: #1e3643;
  font-size: 1.15rem;
}

.travel-layout {
  display: grid;
  grid-template-columns: minmax(22rem, 1fr) minmax(20rem, 0.9fr);
  gap: 1.2rem;
  align-items: stretch;
}

.route-map {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  border: 1px solid rgba(32, 45, 58, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(135, 173, 116, 0.08) 1px, transparent 1px) 0 0 / 3rem 3rem,
    linear-gradient(0deg, rgba(135, 173, 116, 0.08) 1px, transparent 1px) 0 0 / 3rem 3rem,
    #fffdf8;
  box-shadow: 0 18px 42px rgba(43, 57, 73, 0.08);
}

.stop {
  position: absolute;
  z-index: 2;
  min-width: 5.8rem;
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(94, 143, 82, 0.5);
  border-radius: var(--radius);
  color: #243424;
  background: #eff8ea;
  box-shadow: 0 10px 18px rgba(63, 97, 62, 0.12);
}

.stop:hover {
  transform: translateY(-2px);
  background: #dff1d6;
}

.stop-one {
  left: 9%;
  top: 19%;
}

.stop-two {
  left: 37%;
  top: 32%;
}

.stop-three {
  left: 28%;
  bottom: 24%;
}

.stop-four {
  right: 8%;
  bottom: 13%;
}

.route-line {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: repeating-linear-gradient(90deg, #87ad74 0 12px, transparent 12px 20px);
}

.line-one {
  left: 21%;
  top: 29%;
  width: 21%;
  transform: rotate(22deg);
}

.line-two {
  left: 39%;
  top: 45%;
  width: 22%;
  transform: rotate(112deg);
}

.line-three {
  left: 41%;
  bottom: 25%;
  width: 42%;
  transform: rotate(13deg);
}

.travel-cards {
  display: grid;
  gap: 1rem;
}

.info-card,
.note-card {
  padding: 1.1rem;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #536170;
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--leaf);
}

.wish-board {
  padding: 1rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.tab {
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(32, 45, 58, 0.16);
  border-radius: var(--radius);
  color: #405061;
  background: #fff;
}

.tab.active {
  color: #132630;
  background: #cdebe4;
  border-color: rgba(83, 155, 136, 0.52);
}

.wish-panel {
  display: none;
  min-height: 10rem;
}

.wish-panel.active {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: flex-start;
}

.wish-chip {
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(177, 103, 123, 0.22);
  border-radius: var(--radius);
  color: #49313d;
  background: #fff5f7;
}

.wish-chip:hover {
  border-color: #d798a9;
  transform: translateY(-1px);
}

.saving {
  width: min(32rem, 100%);
}

.saving-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.saving-copy p {
  color: var(--muted);
}

.progress {
  height: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(169, 142, 67, 0.32);
  border-radius: var(--radius);
  background: #fff7dc;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f0c973, #89d7c2);
}

.lock-box {
  max-width: 32rem;
  margin-bottom: 1.2rem;
}

.lock-box label {
  display: block;
  margin-bottom: 0.5rem;
  color: #445364;
  font-weight: 700;
}

.lock-row {
  display: flex;
  gap: 0.6rem;
}

.lock-row input {
  min-width: 0;
  flex: 1;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(32, 45, 58, 0.16);
  border-radius: var(--radius);
  background: #fff;
}

.lock-box .button {
  color: #17202b;
  background: linear-gradient(135deg, #f0c973, #bce7f5);
  border-color: rgba(32, 45, 58, 0.1);
}

.lock-status {
  min-height: 1.6rem;
  margin: 0.55rem 0 0;
  color: #4d745e;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hidden {
  display: none;
}

.site-footer {
  padding: 2rem 5vw 3rem;
  color: #607080;
  text-align: center;
  background: #fbf1f3;
}

@keyframes signalPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(137, 215, 194, 0.54);
  }

  50% {
    box-shadow: 0 0 0 0.5rem rgba(137, 215, 194, 0);
  }
}

@keyframes fallbackPlanetGlow {
  0%,
  100% {
    filter: saturate(1) brightness(1);
  }

  50% {
    filter: saturate(1.16) brightness(1.08);
  }
}

@keyframes fallbackRingPulse {
  0%,
  100% {
    opacity: 0.62;
  }

  50% {
    opacity: 0.94;
  }
}

@keyframes fallbackFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.55rem);
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 0;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }

  .hero {
    min-height: 78svh;
    align-items: start;
    padding-top: 2.2rem;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(16, 19, 31, 0.38) 0%, rgba(16, 19, 31, 0.06) 52%, rgba(16, 19, 31, 0.22) 100%),
      linear-gradient(90deg, rgba(16, 19, 31, 0.28), transparent 72%);
  }

  .fallback-planet,
  .planet-hotspot {
    right: 1vw;
    top: 44%;
    width: 21rem;
    max-width: none;
  }

  .fallback-star {
    right: 26vw;
    top: 46%;
  }

  .fallback-moon {
    right: 65vw;
    top: 58%;
  }

  .fallback-flower {
    right: 33vw;
    top: 66%;
  }

  .fallback-note {
    right: 9vw;
    top: 56%;
  }

  .mimi-guide {
    top: auto;
    left: 5vw;
    right: auto;
    bottom: 1.4rem;
    max-width: min(70vw, 15rem);
    font-size: 0.82rem;
  }

  .outfit-grid,
  .travel-layout,
  .daily-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    height: 22rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .hero {
    min-height: 86svh;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .hero-copy {
    width: 100%;
    padding-top: 1.25rem;
  }

  .hero h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.45rem, 12vw, 3.1rem);
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .section-inner {
    width: min(100% - 2.2rem, 1120px);
    padding: 4rem 0;
  }

  .mimi-guide {
    left: 1.1rem;
    bottom: 1.2rem;
  }

  .route-map {
    min-height: 24rem;
  }

  .stop {
    min-width: 4.8rem;
    font-size: 0.9rem;
  }

  .stop-four {
    right: 4%;
  }

  .lock-row {
    flex-direction: column;
  }

  .saving-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

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