:root {
  --bg: #f7f2f5;
  --panel: rgba(255, 255, 255, 0.46);
  --ink: #261d27;
  --muted: #746975;
  --line: rgba(255, 255, 255, 0.56);
  --accent: #c25a83;
  --accent-2: #f3c1d9;
  --deep: #2d1826;
  --night: #0b1020;
  --sky: #e5edf4;
  --green: #8ab182;
  --gold: #e8be69;
  --glass: rgba(255, 255, 255, 0.36);
  --glass-strong: rgba(255, 255, 255, 0.52);
  --shadow: 0 30px 90px rgba(60, 37, 52, 0.16);
}

/* Rebuilt paper-theatre hero: every moving object is an independent layer. */
.hero-background-stage {
  --scene-shift: 0px;
  background:
    linear-gradient(90deg, rgba(64, 27, 43, 0.16), transparent 34%),
    url("./assets/hero-paper-scene-clean.png") center / cover no-repeat !important;
  transform: none !important;
  perspective: none;
}

.hero-background-stage::before,
.hero-background-stage::after,
.hero-stage-card.hero-background-stage::before,
.hero-stage-card.hero-background-stage::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

.planet-motion {
  position: absolute;
  z-index: 2;
  left: -3%;
  right: -3%;
  bottom: -1%;
  height: 44%;
  pointer-events: none;
  opacity: 0.26;
  background: url("./assets/layers/planet-surface-texture.png") 0 100% / 103% 100% repeat-x;
  mix-blend-mode: soft-light;
  filter: contrast(1.08) saturate(0.88);
  mask-image: radial-gradient(ellipse 78% 95% at 50% 100%, #000 28%, rgba(0, 0, 0, 0.9) 66%, transparent 100%);
  animation: planet-counterclockwise 18s linear infinite;
}

.planet-motion::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 237, 192, 0.2) 47%, transparent 62%);
  animation: planet-light-sweep 9s ease-in-out infinite alternate;
}

.character-pair {
  position: absolute;
  z-index: 5;
  left: 21.5%;
  top: 18%;
  width: min(67vw, 1080px);
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform-origin: 58% 88%;
  animation: paper-pair-walk 5.8s steps(6, end) infinite;
  -webkit-tap-highlight-color: transparent;
}

.character-pair img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 13px rgba(73, 42, 37, 0.24));
  user-select: none;
  pointer-events: none;
}

.character-pair:focus-visible {
  outline: 3px solid rgba(255, 246, 234, 0.9);
  outline-offset: 8px;
  border-radius: 32%;
}

.hero-background-stage.is-charging,
.hero-background-stage.is-charging .planet-motion,
.hero-background-stage.is-charging .sky-decor,
.hero-background-stage.is-charging .sunset-glow {
  animation-play-state: running;
}

.hero-background-stage.is-charging .character-pair {
  animation: paper-pair-charge 1080ms cubic-bezier(0.2, 0.78, 0.16, 1) both;
}

.sky-decor {
  position: absolute;
  z-index: 3;
  display: block;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 8px rgba(75, 44, 42, 0.13));
  transform-origin: 50% 70%;
}

.decor-planet-left {
  left: 7.1%;
  top: 3.5%;
  width: 20.2%;
  animation: paper-float-left 10.8s ease-in-out infinite alternate;
}

.decor-donut {
  left: 36.1%;
  top: 5%;
  width: 8.4%;
  animation: paper-float-donut 8.9s ease-in-out infinite alternate;
}

.decor-star-top {
  left: 62.1%;
  top: 10.2%;
  width: 7.7%;
  animation: paper-float-star 7.7s ease-in-out infinite alternate;
}

.decor-star-left {
  left: 1.2%;
  top: 41.4%;
  width: 6%;
  animation: paper-float-star 8.6s -2.1s ease-in-out infinite alternate-reverse;
}

.decor-star-lower-left {
  left: 7.8%;
  top: 51.5%;
  width: 6%;
  animation: paper-float-star 9.4s -4.2s ease-in-out infinite alternate;
}

.decor-planet-right {
  right: 7.5%;
  top: 38.8%;
  width: 13%;
  animation: paper-float-right 11.6s ease-in-out infinite alternate;
}

.sunset-glow {
  position: absolute;
  z-index: 4;
  right: 3%;
  top: 2%;
  width: 45%;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.25;
  background: radial-gradient(circle, rgba(255, 255, 221, 0.78) 0 14%, rgba(255, 202, 116, 0.2) 38%, transparent 70%);
  mix-blend-mode: screen;
  filter: blur(12px);
  animation: sunset-light-breathe 8.4s ease-in-out infinite alternate;
}

.charge-streaks {
  position: absolute;
  z-index: 4;
  left: 17%;
  top: 39%;
  width: 40%;
  height: 22%;
  pointer-events: none;
  opacity: 0;
  background: repeating-linear-gradient(168deg, transparent 0 16px, rgba(255, 245, 223, 0.72) 17px 20px, transparent 21px 42px);
  filter: blur(1px);
  clip-path: polygon(0 10%, 100% 0, 84% 100%, 4% 84%);
}

.hero-background-stage.is-charging .charge-streaks {
  animation: paper-charge-streaks 1080ms ease-out both;
}

@keyframes paper-pair-walk {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.35deg); }
  25% { transform: translate3d(3px, -4px, 0) rotate(0.25deg); }
  50% { transform: translate3d(6px, 1px, 0) rotate(-0.15deg); }
  75% { transform: translate3d(3px, -3px, 0) rotate(0.2deg); }
}

@keyframes paper-pair-charge {
  0% { transform: translate3d(0, 0, 0) rotate(-0.3deg) scale(1); }
  18% { transform: translate3d(-18px, 3px, 0) rotate(-2deg) scale(0.99); }
  62% { transform: translate3d(13vw, -12px, 0) rotate(1.5deg) scale(1.025); }
  100% { transform: translate3d(0, 0, 0) rotate(-0.35deg) scale(1); }
}

@keyframes planet-counterclockwise {
  from { background-position: 0 100%; }
  to { background-position: -100vw 100%; }
}

@keyframes planet-light-sweep {
  from { transform: translateX(-7%); opacity: 0.38; }
  to { transform: translateX(8%); opacity: 0.88; }
}

@keyframes paper-float-left {
  from { transform: translate3d(-2px, 3px, 0) rotate(-1.2deg); }
  to { transform: translate3d(7px, -7px, 0) rotate(1.4deg); }
}

@keyframes paper-float-donut {
  from { transform: translate3d(0, -2px, 0) rotate(-2deg); }
  to { transform: translate3d(-5px, 7px, 0) rotate(2deg); }
}

@keyframes paper-float-star {
  from { transform: translate3d(-2px, 2px, 0) rotate(-2.5deg); }
  to { transform: translate3d(4px, -5px, 0) rotate(2deg); }
}

@keyframes paper-float-right {
  from { transform: translate3d(2px, -2px, 0) rotate(0.8deg); }
  to { transform: translate3d(-7px, 6px, 0) rotate(-1.2deg); }
}

@keyframes sunset-light-breathe {
  from { opacity: 0.2; transform: scale(0.96) translate(-1%, 1%); filter: blur(14px) brightness(0.96); }
  to { opacity: 0.4; transform: scale(1.035) translate(1%, -1%); filter: blur(10px) brightness(1.09); }
}

@keyframes paper-charge-streaks {
  0% { opacity: 0; transform: translateX(30%); }
  28% { opacity: 0.72; }
  100% { opacity: 0; transform: translateX(-28%); }
}

@media (max-width: 760px) {
  .character-pair {
    left: -1%;
    top: 35%;
    width: 102%;
  }

  .planet-motion {
    left: -18%;
    right: -18%;
    height: 39%;
    opacity: 0.2;
  }

  .decor-planet-left { left: 2%; width: 28%; }
  .decor-donut { left: 37%; width: 12%; }
  .decor-star-top { left: 66%; width: 10%; }
  .decor-planet-right { right: 0; width: 20%; }
}

@media (prefers-reduced-motion: reduce) {
  .planet-motion,
  .character-pair,
  .sky-decor,
  .sunset-glow {
    animation: none !important;
  }
}

/* Final hero composition: sky, full rotating planet, characters, and decor. */
.hero-background-stage {
  background:
    linear-gradient(90deg, rgba(64, 27, 43, 0.16), transparent 34%),
    url("./assets/hero-paper-sky-clean.png") center / cover no-repeat !important;
  transform: none !important;
  animation: none !important;
}

.hero-background-stage::before,
.hero-background-stage::after,
.hero-stage-card.hero-background-stage::before,
.hero-stage-card.hero-background-stage::after {
  content: none !important;
  display: none !important;
}

.planet-motion {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 53%;
  width: min(108vw, 1580px);
  height: auto;
  pointer-events: none;
  opacity: 1;
  object-fit: contain;
  background: none;
  mix-blend-mode: normal;
  filter: drop-shadow(0 -18px 38px rgba(112, 60, 42, 0.2));
  mask-image: none;
  transform-origin: 50% 50%;
  animation: full-planet-counterclockwise 42s linear infinite;
}

.planet-motion::after {
  content: none;
}

.character-pair {
  left: 21%;
  top: 20%;
  width: min(64vw, 1030px);
}

.sunset-glow {
  right: 2%;
  top: -4%;
  z-index: 4;
  width: 47%;
  opacity: 0.22;
  background: radial-gradient(circle, rgba(255, 255, 225, 0.76) 0 13%, rgba(255, 199, 112, 0.18) 40%, transparent 71%);
  mix-blend-mode: screen;
  animation: sunset-light-breathe 8.4s ease-in-out infinite alternate;
}

@keyframes full-planet-counterclockwise {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(-360deg); }
}

@media (max-width: 760px) {
  .planet-motion {
    top: 59%;
    width: 172vw;
  }

  .character-pair {
    left: -3%;
    top: 36%;
    width: 106%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .planet-motion,
  .character-pair,
  .sky-decor,
  .sunset-glow {
    animation: none !important;
  }

  .planet-motion {
    transform: translateX(-50%) rotate(-8deg);
  }
}

/* Hero refinement: larger globe, cleaner ornaments, and paper-cut lettering. */
.planet-motion {
  width: min(116vw, 1700px);
}

.sunset-glow {
  right: -1%;
  top: -8%;
  width: 54%;
  opacity: 0.34;
  background:
    radial-gradient(circle at 58% 44%, rgba(255, 255, 232, 0.94) 0 11%, rgba(255, 216, 145, 0.36) 28%, rgba(255, 166, 93, 0.1) 51%, transparent 72%);
  animation: sunset-light-breathe-strong 7.2s ease-in-out infinite alternate;
}

.sky-decor {
  opacity: 0.88;
  filter: drop-shadow(0 8px 7px rgba(83, 45, 40, 0.18));
}

.decor-planet-left {
  left: 9.5%;
  top: 4.5%;
  width: min(11vw, 158px);
}

.decor-donut {
  left: 37.5%;
  top: 7%;
  width: min(5.2vw, 74px);
}

.decor-star-top {
  left: 63%;
  top: 13%;
  width: min(4.4vw, 64px);
}

.decor-star-left {
  left: 2.2%;
  top: 43%;
  width: min(4.2vw, 60px);
}

.decor-star-lower-left {
  left: 9.2%;
  top: 54%;
  width: min(4vw, 58px);
  opacity: 0.76;
}

.decor-planet-right {
  right: 6.5%;
  top: 39%;
  width: min(11vw, 158px);
}

.decor-moon {
  right: 18%;
  top: 8%;
  width: min(4.2vw, 62px);
  opacity: 0.72;
  animation: paper-float-donut 10.2s -3s ease-in-out infinite alternate;
}

.decor-comet {
  right: 1.8%;
  top: 22%;
  width: min(8.4vw, 122px);
  opacity: 0.78;
  animation: paper-float-right 12.4s -4s ease-in-out infinite alternate;
}

.decor-star-coral {
  left: 32%;
  top: 5.5%;
  width: min(3.2vw, 46px);
  opacity: 0.67;
  animation: paper-float-star 8.2s -1.8s ease-in-out infinite alternate;
}

.decor-star-rose {
  right: 29%;
  top: 48%;
  width: min(3vw, 44px);
  opacity: 0.62;
  animation: paper-float-star 9.8s -5.1s ease-in-out infinite alternate-reverse;
}

.hero-title {
  gap: 0.1em;
  width: min(600px, 44vw);
  font-family: "幼圆", "YouYuan", "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(31px, 3.05vw, 44px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.035em;
  transform: rotate(-0.8deg);
  filter: none;
}

.hero-title::after {
  content: none;
}

.hero-title::before {
  content: "";
  position: absolute;
  left: 68%;
  top: -0.5em;
  width: 5.6em;
  height: 2.1em;
  border: 0;
  border-top: 1.5px solid rgba(255, 247, 236, 0.72);
  border-radius: 50%;
  box-shadow: none;
  transform: rotate(-8deg);
  opacity: 0.75;
}

.hero-title span {
  padding: 0.03em 0.06em 0.09em;
  background: linear-gradient(180deg, #fffdf8 0%, #fff5ef 48%, #f4cec7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.48),
    0 5px 12px rgba(105, 55, 50, 0.22),
    0 15px 30px rgba(92, 45, 48, 0.13);
}

.hero-title span::before {
  color: rgba(112, 58, 53, 0.26);
  -webkit-text-fill-color: rgba(112, 58, 53, 0.26);
  transform: translate(0.045em, 0.065em);
  filter: blur(0.35px);
}

.hero-title span::after {
  opacity: 0.17;
  transform: translate(-0.012em, -0.018em);
  clip-path: polygon(0 0, 100% 0, 100% 28%, 0 46%);
}

.hero-title span:nth-child(1) {
  font-size: 0.9em;
  transform: rotate(-0.4deg);
}

.hero-title span:nth-child(2) {
  margin-left: 0.38em;
  font-size: 1.04em;
  transform: rotate(0.35deg);
}

.hero-title span:nth-child(3) {
  margin-left: 0.12em;
  font-size: 0.94em;
  transform: rotate(-0.25deg);
}

@keyframes sunset-light-breathe-strong {
  from {
    opacity: 0.25;
    transform: scale(0.95) translate(-1.5%, 1%);
    filter: blur(15px) brightness(0.92) saturate(0.96);
  }
  to {
    opacity: 0.52;
    transform: scale(1.055) translate(1.4%, -1%);
    filter: blur(9px) brightness(1.15) saturate(1.08);
  }
}

@media (max-width: 760px) {
  .planet-motion {
    width: 184vw;
  }

  .hero-title {
    width: 92vw;
    font-size: clamp(26px, 7.3vw, 32px);
  }

  .decor-comet,
  .decor-star-coral,
  .decor-star-rose {
    display: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 213, 229, 0.46), transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(212, 229, 241, 0.72), transparent 32%),
    radial-gradient(circle at 82% 54%, rgba(201, 165, 190, 0.24), transparent 32%),
    linear-gradient(180deg, #fbf6fb 0%, #eee6ec 45%, #fbf8f4 100%);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
}

body.editing .locked {
  outline: 2px solid rgba(200, 76, 97, 0.2);
}

body:not(.editing) .locked {
  display: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(58, 38, 46, 0.08);
  backdrop-filter: blur(22px) saturate(1.16);
}

.brand,
.nav,
.hero-actions,
.stats-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 34px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #351923, #9b4058);
  border-radius: 8px;
  font-size: 13px;
}

.nav {
  gap: clamp(10px, 2.2vw, 24px);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--accent);
}

.section-panel {
  padding: 78px clamp(18px, 5vw, 72px);
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 780px;
  height: calc(100vh - 64px);
  max-height: 980px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(99, 46, 69, 0.22), rgba(99, 46, 69, 0.02) 38%, rgba(255, 218, 176, 0.02)),
    linear-gradient(180deg, #f7d9c7 0%, #f2cfae 34%, #e9d5dc 68%, #efe4ec 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 44%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(150deg, transparent 0 42%, rgba(255, 255, 255, 0.16) 43% 44%, transparent 45%),
    repeating-linear-gradient(8deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
  animation: sunsetBreath 7s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background:
    radial-gradient(circle at 22% 34%, rgba(96, 57, 54, 0.12) 0 1px, transparent 1.4px),
    radial-gradient(circle at 68% 66%, rgba(96, 57, 54, 0.1) 0 1px, transparent 1.5px),
    repeating-linear-gradient(90deg, rgba(110, 73, 57, 0.035) 0 1px, transparent 1px 5px);
  background-size: 120px 120px, 160px 160px, auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-title {
  position: relative;
  display: grid;
  gap: 0.04em;
  width: min(590px, 42vw);
  font-family: "YouYuan", "Yuanti SC", "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  transform: rotate(-1.6deg);
  filter: drop-shadow(0 14px 20px rgba(78, 37, 45, 0.24));
}

.hero-title::after {
  content: "";
  position: absolute;
  inset: -18px -28px -16px -22px;
  z-index: -2;
  display: block;
  background:
    radial-gradient(ellipse at 24% 30%, rgba(255, 244, 232, 0.36), transparent 58%),
    radial-gradient(ellipse at 54% 62%, rgba(139, 74, 75, 0.18), transparent 66%);
  border-radius: 999px;
  filter: blur(16px);
  transform: rotate(2deg);
}

.hero-title span {
  position: relative;
  display: block;
  width: fit-content;
  padding: 0.02em 0.05em 0.06em;
  color: #fff5ed;
  background:
    linear-gradient(180deg, #fffaf4 0%, #fff1e8 46%, #ffd8cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.66),
    0 2px 0 rgba(166, 91, 86, 0.32),
    0 8px 18px rgba(84, 42, 48, 0.28);
}

.hero-title span::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: rgba(118, 63, 63, 0.52);
  -webkit-text-fill-color: rgba(118, 63, 63, 0.52);
  transform: translate(0.05em, 0.075em);
  filter: blur(0.2px);
  text-shadow: none;
}

.hero-title span::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: 1;
  color: rgba(255, 255, 255, 0.44);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.44);
  clip-path: polygon(0 0, 100% 0, 100% 26%, 0 48%);
  opacity: 0.42;
  transform: translate(-0.018em, -0.025em);
  pointer-events: none;
}

.hero-title span:nth-child(2) {
  margin-left: 0.16em;
  transform: rotate(0.55deg);
}

.hero-title span:nth-child(3) {
  margin-left: 0.02em;
  transform: rotate(-0.35deg);
}

.hero-title::before {
  content: "";
  position: absolute;
  left: 4.55em;
  top: -0.66em;
  width: 0.42em;
  height: 0.42em;
  border: 2px solid rgba(255, 246, 253, 0.92);
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.08),
    0.58em 0.22em 0 -0.16em rgba(255, 246, 253, 0.95),
    1.04em -0.08em 0 -0.2em rgba(255, 246, 253, 0.95);
  transform: rotate(-18deg);
  opacity: 0.72;
}


h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
}

.hero-copy p,
.section-desc,
.record-card p,
.feature-card p,
.plan-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy > p {
  max-width: 720px;
  font-size: 18px;
}

.hero-copy,
.hero-actions,
.stats-row,
.stage-note {
  position: relative;
  z-index: 3;
}

.hero-copy {
  position: absolute;
  top: clamp(22px, 3.6vh, 40px);
  left: clamp(16px, 2.4vw, 34px);
  max-width: min(720px, 62vw);
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #a83d54, #d66d80);
  border-color: var(--accent);
  box-shadow: 0 14px 34px rgba(185, 75, 99, 0.28);
}

.button.small {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 13px;
}

.stats-row {
  gap: 12px;
  flex-wrap: wrap;
}

.stats-row div,
.hero-stage-card,
.feature-card,
.record-card,
.plan-card,
.more-grid article,
.editor-form,
.island,
.mood,
.memory-dialog {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px) saturate(1.16);
}

.stats-row div {
  min-width: 130px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.38);
}

.stats-row strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.stats-row span {
  color: var(--muted);
  font-size: 13px;
}

.hero-stage-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 0px;
  --my: 0px;
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at calc(50% + var(--mx)) calc(34% + var(--my)), rgba(255, 255, 255, 0.75), transparent 0 18%, transparent 19%),
    radial-gradient(circle at 18% 16%, rgba(255, 226, 214, 0.72), transparent 31%),
    radial-gradient(circle at 82% 24%, rgba(217, 235, 237, 0.72), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22));
  border-radius: 18px;
  transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
}

.hero-background-stage {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: auto;
  min-height: auto;
  height: auto;
  padding: 0;
  pointer-events: auto;
  background:
    linear-gradient(90deg, rgba(87, 37, 56, 0.1), rgba(255, 220, 187, 0) 34%),
    url("./assets/hero-paper-planet.png") center center / 104% auto no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
  animation: none;
}

.hero-background-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 36%, rgba(255, 255, 255, 0.62) 39% 40%, transparent 44%),
    linear-gradient(105deg, transparent 0 48%, rgba(255, 232, 244, 0.55) 51% 52%, transparent 56%),
    linear-gradient(105deg, transparent 0 61%, rgba(255, 255, 255, 0.46) 64% 65%, transparent 69%);
  opacity: 0;
  transform: translateX(-24%);
}

.hero-background-stage::after {
  content: "";
  position: absolute;
  right: 14%;
  top: 23%;
  z-index: 1;
  display: block;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32), transparent 60%);
  opacity: 0;
  transform: scale(0.82);
}

.hero-background-stage.is-charging {
  animation: heroSceneCharge 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-background-stage.is-charging::before {
  animation: chargeStreaks 760ms ease-out;
}

.hero-background-stage.is-charging::after {
  animation: chargePulse 760ms ease-out;
}

.hero-background-stage.is-charging .hero-character-motion {
  animation: characterChargeHint 820ms cubic-bezier(0.22, 0.9, 0.28, 1);
  opacity: 0.28;
}

.hero-stage-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: inherit;
}

.hero-stage-card.hero-background-stage::before {
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(105deg, transparent 0 36%, rgba(255, 255, 255, 0.62) 39% 40%, transparent 44%),
    linear-gradient(105deg, transparent 0 48%, rgba(255, 232, 244, 0.55) 51% 52%, transparent 56%),
    linear-gradient(105deg, transparent 0 61%, rgba(255, 255, 255, 0.46) 64% 65%, transparent 69%);
  opacity: 0;
  transform: translateX(-24%);
}

.hero-stage-card.hero-background-stage::after {
  content: "";
  position: absolute;
  right: 14%;
  top: 23%;
  z-index: 1;
  display: block;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32), transparent 60%);
  opacity: 0;
  transform: scale(0.82);
}

.stage-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-background-stage .stage-orb,
.hero-background-stage .charge-line,
.hero-background-stage .hand-link,
.hero-background-stage .hedgehog-princess,
.hero-background-stage .sword-dog > * {
  display: none;
}

.hero-character-motion,
.sunset-glow,
.float-decor {
  position: absolute;
  pointer-events: none;
}

.hero-character-motion {
  left: 18.8%;
  top: 27.4%;
  z-index: 2;
  width: 62.5%;
  height: 55%;
  opacity: 0.14;
  background: url("./assets/layers/hero-character-layer.png") center / contain no-repeat;
  filter: drop-shadow(0 16px 12px rgba(78, 44, 43, 0.08));
  transform-origin: 50% 70%;
  animation: characterWalkHint 6.8s ease-in-out infinite;
}

.sunset-glow {
  right: 5%;
  top: 8%;
  z-index: 2;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  opacity: 0.42;
  background:
    radial-gradient(circle, rgba(255, 253, 210, 0.82) 0 18%, rgba(255, 189, 108, 0.42) 43%, transparent 72%);
  mix-blend-mode: screen;
  filter: blur(14px);
  animation: sunsetGlowShift 7.8s ease-in-out infinite alternate;
}

.float-decor {
  display: block;
  z-index: 2;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.62;
  filter: drop-shadow(0 12px 10px rgba(82, 48, 48, 0.08));
  transform-origin: 50% 70%;
}

.star-a {
  left: 52%;
  top: 19%;
  width: min(10.8vw, 148px);
  animation: floatStarA 8.8s ease-in-out infinite alternate;
}

.star-b {
  left: 0.2%;
  top: 51%;
  width: min(8vw, 118px);
  animation: floatStarB 9.2s ease-in-out infinite alternate;
}

.balloon-a {
  left: 10.2%;
  top: 42.5%;
  width: min(10.4vw, 148px);
  animation: floatBalloon 10.4s ease-in-out infinite alternate;
}

.planet-a {
  right: 3.6%;
  top: 40.5%;
  width: min(17vw, 244px);
  animation: floatPlanet 11.2s ease-in-out infinite alternate;
}

.dot-a {
  left: 45.4%;
  top: 26%;
  width: min(7.2vw, 104px);
  animation: floatDot 7.6s ease-in-out infinite alternate;
}

.stage-floor {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: clamp(-86px, -7vh, -52px);
  z-index: 2;
  display: block;
  width: min(1260px, 92vw);
  height: clamp(230px, 24vh, 330px);
  pointer-events: none;
  opacity: 0.4;
  background: url("./assets/layers/planet-surface-texture.png") center / 112% 100% repeat-x;
  border-radius: 50%;
  box-shadow: none;
  mix-blend-mode: multiply;
  transform: translateX(-50%) rotateX(64deg) rotateZ(-5deg);
  transform-origin: 50% 50%;
  animation: planetSurfaceFlow 13s linear infinite;
}

.stage-floor::before,
.stage-floor::after {
  content: none;
  position: absolute;
  display: block;
  border-radius: 999px;
}

.stage-floor::before {
  left: 17%;
  top: 34%;
  width: 3px;
  height: 28px;
  background: #6d7f57;
  box-shadow:
    28px 9px 0 #6d7f57,
    318px -6px 0 #6d7f57,
    352px 2px 0 #6d7f57;
}

.stage-floor::after {
  left: 15%;
  top: 25%;
  width: 13px;
  height: 13px;
  background: #d55773;
  box-shadow:
    5px -4px 0 #ffd1dc,
    30px 8px 0 #c44d68,
    322px -8px 0 #d55773,
    352px 2px 0 #ffd1dc;
}

.charge-line {
  position: absolute;
  height: 8px;
  background: linear-gradient(90deg, transparent, rgba(184, 87, 105, 0.26), transparent);
  border-radius: 999px;
  transform: rotate(-10deg);
}

.line-a {
  left: auto;
  right: 38%;
  top: 43%;
  width: 180px;
}

.line-b {
  left: auto;
  right: 48%;
  top: 51%;
  width: 120px;
}

.hand-link {
  position: absolute;
  z-index: 11;
  left: auto;
  right: min(330px, 29vw);
  top: 51%;
  width: 170px;
  height: 54px;
  border-top: 8px solid #21151a;
  border-left: 0;
  border-radius: 50%;
  transform: rotate(5deg) translateZ(58px);
  filter: drop-shadow(0 4px 5px rgba(54, 32, 37, 0.18));
}

.hand-link::before,
.hand-link::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 19px;
  height: 17px;
  background: #fff0de;
  border: 6px solid #21151a;
  border-radius: 50%;
}

.hand-link::before {
  left: -4px;
}

.hand-link::after {
  right: -3px;
  background: #f5a344;
}

.character,
.character span,
.character i {
  position: absolute;
  display: block;
}

.character {
  transform-style: preserve-3d;
  image-rendering: auto;
}

.character::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    repeating-linear-gradient(8deg, rgba(255, 255, 255, 0.36) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 22% 28%, rgba(96, 57, 54, 0.14) 0 1px, transparent 1.5px);
  background-size: auto, 44px 44px;
  mix-blend-mode: soft-light;
}

.sword-dog {
  --dog-scale: 1;
  z-index: 15;
  right: 19%;
  bottom: 23%;
  width: min(26vw, 420px);
  height: min(32vw, 500px);
  cursor: pointer;
  transform: translateZ(110px) scale(var(--dog-scale));
  animation: none;
  filter: none;
}

.dog-head {
  left: 36px;
  top: 16px;
  width: 145px;
  height: 112px;
  background: linear-gradient(145deg, #ffbd58, #f29b35);
  border: 8px solid #21151a;
  border-radius: 48% 48% 44% 44%;
  box-shadow: inset -14px -12px 0 rgba(151, 85, 34, 0.1);
}

.dog-head,
.dog-body,
.dog-ear,
.dog-leg,
.dog-arm,
.hedgehog-spines,
.hedgehog-face,
.princess-dress,
.princess-skirt {
  box-shadow:
    inset -7px -7px 0 rgba(90, 48, 42, 0.1),
    inset 5px 5px 0 rgba(255, 255, 255, 0.16),
    0 3px 0 rgba(43, 28, 30, 0.18);
}

.dog-ear {
  z-index: -1;
  top: 52px;
  width: 54px;
  height: 82px;
  background: #f2a13d;
  border: 8px solid #21151a;
  border-radius: 50% 44% 48% 52%;
}

.dog-ear.left {
  left: 14px;
  transform: rotate(28deg);
}

.dog-ear.right {
  right: 20px;
  transform: rotate(-34deg);
}

.eye {
  top: 42px;
  width: 13px;
  height: 29px;
  background: #120d10;
  border-radius: 999px;
}

.eye.left {
  left: 42px;
}

.eye.right {
  right: 42px;
}

.dog-nose {
  left: 61px;
  top: 58px;
  width: 27px;
  height: 18px;
  background: #0f0b0d;
  border-radius: 50%;
}

.dog-mouth {
  left: 69px;
  top: 77px;
  width: 15px;
  height: 9px;
  background: #ef6e7d;
  border: 5px solid #120d10;
  border-top: 0;
  border-radius: 0 0 999px 999px;
}

.dog-blush {
  top: 68px;
  width: 24px;
  height: 12px;
  background: rgba(255, 151, 174, 0.78);
  border-radius: 50%;
}

.dog-blush.left {
  left: 20px;
}

.dog-blush.right {
  right: 20px;
}

.dog-body {
  left: 51px;
  top: 117px;
  width: 126px;
  height: 92px;
  background: linear-gradient(145deg, #ffb252, #ee9131);
  border: 8px solid #21151a;
  border-radius: 42% 42% 36% 36%;
}

.sword-dog .dog-head,
.sword-dog .dog-body {
  transform: skewX(-3deg);
}

.dog-scarf {
  left: 80px;
  top: 126px;
  width: 70px;
  height: 28px;
  border-bottom: 11px solid #fff6e7;
  border-radius: 50%;
  transform: rotate(2deg);
}

.dog-leg {
  bottom: 0;
  width: 55px;
  height: 54px;
  background: #ef9634;
  border: 8px solid #21151a;
  border-radius: 42% 42% 48% 48%;
}

.dog-leg.leg-a {
  left: 58px;
  transform: rotate(21deg) translateY(-2px);
}

.dog-leg.leg-b {
  left: 123px;
  transform: rotate(-18deg) translateY(8px);
}

.dog-tail {
  right: 0;
  top: 139px;
  width: 68px;
  height: 46px;
  border-right: 9px solid #21151a;
  border-bottom: 9px solid #21151a;
  border-radius: 0 0 52px 0;
  transform: rotate(-18deg);
}

.dog-arm {
  width: 58px;
  height: 32px;
  background: #f6a13d;
  border: 8px solid #21151a;
  border-radius: 999px;
}

.sword-arm {
  right: 6px;
  top: 122px;
  transform: rotate(-34deg);
}

.leash-arm {
  left: 12px;
  top: 132px;
  transform: rotate(22deg);
}

.sword {
  right: -74px;
  top: 45px;
  width: 150px;
  height: 92px;
  transform: rotate(10deg);
  transform-origin: 22px 70px;
}

.sword .blade {
  right: 0;
  top: 0;
  width: 112px;
  height: 22px;
  background: linear-gradient(90deg, #fdfdfd, #a9c3d5);
  clip-path: polygon(0 50%, 78% 0, 100% 50%, 78% 100%);
  filter: drop-shadow(0 8px 10px rgba(40, 52, 64, 0.16));
}

.sword .guard {
  left: 36px;
  top: 5px;
  width: 34px;
  height: 12px;
  background: #e7bf71;
  border-radius: 999px;
}

.sword .handle {
  left: 24px;
  top: 6px;
  width: 34px;
  height: 10px;
  background: #6b4238;
  border-radius: 999px;
}

.hedgehog-princess {
  --princess-scale: 0.9;
  z-index: 9;
  right: clamp(290px, 31vw, 430px);
  left: auto;
  bottom: clamp(180px, 23vh, 232px);
  width: 210px;
  height: 230px;
  transform: translateZ(34px) scale(var(--princess-scale)) rotate(3deg);
  animation: princessFloat 2.8s steps(8, end) infinite;
  filter: drop-shadow(0 24px 20px rgba(44, 30, 39, 0.19));
}

.hedgehog-spines {
  left: 9px;
  top: 16px;
  width: 188px;
  height: 150px;
  background: #8a6b5d;
  border: 8px solid #21151a;
  clip-path: polygon(50% 0, 62% 19%, 84% 10%, 82% 33%, 100% 45%, 82% 58%, 93% 83%, 67% 78%, 50% 100%, 33% 78%, 7% 83%, 18% 58%, 0 45%, 18% 33%, 16% 10%, 38% 19%);
  border-radius: 38%;
}

.hedgehog-face {
  left: 50px;
  top: 62px;
  width: 112px;
  height: 92px;
  background: #fff0de;
  border: 7px solid #21151a;
  border-radius: 45% 45% 42% 42%;
}

.hedgehog-face .eye {
  top: 36px;
  width: 12px;
  height: 22px;
}

.hedgehog-face .eye.left {
  left: 31px;
}

.hedgehog-face .eye.right {
  right: 31px;
}

.hedgehog-face .nose {
  left: 49px;
  top: 54px;
  width: 16px;
  height: 12px;
  background: #111;
  border-radius: 50%;
}

.hedgehog-face .blush {
  top: 58px;
  width: 22px;
  height: 11px;
  background: rgba(255, 164, 184, 0.68);
  border-radius: 50%;
}

.hedgehog-face .blush.left {
  left: 12px;
}

.hedgehog-face .blush.right {
  right: 12px;
}

.princess-crown {
  z-index: 2;
  left: 81px;
  top: 24px;
  width: 52px;
  height: 30px;
  background: linear-gradient(180deg, #ffe08a, #d8a849);
  clip-path: polygon(0 100%, 0 38%, 20% 70%, 50% 0, 80% 70%, 100% 38%, 100% 100%);
  filter: drop-shadow(0 6px 6px rgba(98, 69, 38, 0.18));
}

.princess-dress {
  left: 60px;
  top: 142px;
  width: 92px;
  height: 66px;
  background: linear-gradient(180deg, #ffd6e4, #c97092);
  border: 7px solid #21151a;
  border-radius: 42px 42px 16px 16px;
}

.princess-skirt {
  left: 43px;
  bottom: 6px;
  width: 126px;
  height: 70px;
  background: linear-gradient(180deg, #ffe6f0, #d887a7);
  border: 7px solid #21151a;
  border-radius: 50% 50% 24px 24px;
  clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
}

.tiny-hand {
  right: 34px;
  top: 154px;
  width: 42px;
  height: 18px;
  background: #fff0de;
  border: 7px solid #21151a;
  border-radius: 999px;
  transform: rotate(-16deg);
}

.glass-chip {
  position: absolute;
  z-index: 18;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(68, 42, 50, 0.14);
  backdrop-filter: blur(20px) saturate(1.22);
}

.stage-note {
  right: clamp(22px, 5vw, 76px);
  bottom: clamp(28px, 7vw, 86px);
  max-width: 240px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.34);
}

.stage-note p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.stage-note strong {
  display: block;
  font-size: 22px;
}

.stage-note span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.hero-stage-card.is-charging .sword-dog {
  animation: dogDash 620ms steps(5, end);
}

.hero-stage-card.is-charging .hedgehog-princess {
  animation: princessTug 620ms steps(5, end);
}

@keyframes dogCharge {
  0%,
  100% {
    transform: translateZ(110px) scale(var(--dog-scale)) translateX(0) rotate(-7deg);
  }
  50% {
    transform: translateZ(110px) scale(var(--dog-scale)) translateX(12px) translateY(-5px) rotate(-11deg);
  }
}

@keyframes princessFloat {
  0%,
  100% {
    transform: translateZ(34px) scale(var(--princess-scale)) translateY(0) rotate(3deg);
  }
  50% {
    transform: translateZ(34px) scale(var(--princess-scale)) translateY(-5px) rotate(1deg);
  }
}

@keyframes dogDash {
  0% {
    transform: translateZ(110px) scale(var(--dog-scale)) translateX(0) rotate(-7deg);
  }
  45% {
    transform: translateZ(132px) scale(var(--dog-scale)) translateX(48px) translateY(-8px) rotate(-14deg);
  }
  100% {
    transform: translateZ(110px) scale(var(--dog-scale)) translateX(0) rotate(-7deg);
  }
}

@keyframes princessTug {
  0% {
    transform: translateZ(34px) scale(var(--princess-scale)) translateX(0) rotate(3deg);
  }
  45% {
    transform: translateZ(42px) scale(var(--princess-scale)) translateX(18px) translateY(-4px) rotate(7deg);
  }
  100% {
    transform: translateZ(34px) scale(var(--princess-scale)) translateX(0) rotate(3deg);
  }
}

.feature-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: -86px;
  padding-top: 18px;
}

.feature-card {
  min-height: 230px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  transform-style: preserve-3d;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 118px;
  height: 118px;
  background: radial-gradient(circle, rgba(185, 75, 99, 0.18), transparent 66%);
}

.feature-card:hover {
  transform: translateY(-4px) translateZ(8px);
}

.feature-card span {
  color: var(--accent);
  font-weight: 800;
}

.earth-section {
  position: relative;
  min-height: 860px;
  height: 100vh;
  max-height: 1120px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 74% 42%, rgba(98, 168, 255, 0.24), transparent 28%),
    radial-gradient(circle at 48% 50%, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(135deg, #070a14 0%, #111a31 48%, #28172d 100%);
}

.earth-stage,
.earth-canvas {
  position: absolute;
  inset: 0;
}

.earth-canvas {
  overflow: hidden;
}

.earth-canvas canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.css-earth {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.earth-canvas.webgl-ready .css-earth {
  display: none;
}

.css-earth-sphere {
  position: relative;
  width: min(72vw, 760px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.46), transparent 0 11%, transparent 12%),
    radial-gradient(circle at 44% 35%, #5aaa77 0 8%, transparent 9%),
    radial-gradient(circle at 62% 46%, #7fc48d 0 13%, transparent 14%),
    radial-gradient(circle at 34% 58%, #6eb782 0 16%, transparent 17%),
    linear-gradient(120deg, #2b8cc9, #0d4776 56%, #06263f);
  box-shadow:
    inset -46px -36px 80px rgba(0, 0, 0, 0.42),
    inset 32px 24px 56px rgba(255, 255, 255, 0.18),
    0 0 80px rgba(102, 175, 255, 0.34);
  animation: earthDrift 18s ease-in-out infinite alternate;
}

.css-earth-sphere::before {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(ellipse at 24% 30%, transparent 0 18%, rgba(255, 255, 255, 0.16) 19% 21%, transparent 22%),
    radial-gradient(ellipse at 58% 62%, transparent 0 22%, rgba(255, 255, 255, 0.12) 23% 25%, transparent 26%);
  filter: blur(2px);
}

.css-earth-glow {
  position: absolute;
  width: min(80vw, 860px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(107, 172, 255, 0.24);
}

.earth-marker {
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  color: transparent;
  background: #ffd166;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.9);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
}

.earth-marker[data-scope="中国城市"] {
  background: #ff6d8d;
  box-shadow: 0 0 18px rgba(255, 109, 141, 0.95);
}

.earth-copy-panel,
.earth-record-panel {
  position: relative;
  z-index: 4;
  background: rgba(9, 15, 31, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.earth-copy-panel {
  width: min(520px, calc(100% - 32px));
  margin: 9vh 0 0 clamp(18px, 5vw, 72px);
  padding: 26px;
}

.earth-copy-panel .section-desc,
.earth-record-panel p,
.earth-copy-panel label {
  color: rgba(255, 255, 255, 0.74);
}

.earth-record-panel {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 56px);
  width: min(440px, calc(100% - 32px));
  max-height: 48vh;
  padding: 18px;
  overflow: auto;
}

.earth-record-panel .record-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.earth-record-panel .record-card p {
  color: rgba(255, 255, 255, 0.7);
}

.earth-record-panel .button {
  background: rgba(255, 255, 255, 0.94);
}

.earth-fallback {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  max-width: 420px;
  padding: 12px 16px;
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.38);
  border-radius: 8px;
  transform: translateX(-50%);
}

@keyframes earthDrift {
  from {
    transform: rotate(-5deg) scale(1);
  }
  to {
    transform: rotate(5deg) scale(1.025);
  }
}

@keyframes planetSurfaceFlow {
  from {
    background-position: 0 50%;
  }
  to {
    background-position: -720px 50%;
  }
}

@keyframes characterWalkHint {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    filter: drop-shadow(0 14px 10px rgba(78, 44, 43, 0.05));
  }
  50% {
    transform: translate3d(2px, -1px, 0);
    filter: drop-shadow(-3px 15px 10px rgba(78, 44, 43, 0.06));
  }
}

@keyframes characterChargeHint {
  0% {
    transform: translate3d(0, 0, 0);
  }
  45% {
    transform: translate3d(30px, -5px, 0) scale(1.01);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes floatingDetailA {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  to {
    transform: translate3d(-10px, 8px, 0) rotate(3deg);
  }
}

@keyframes floatingDetailB {
  from {
    transform: translate3d(0, 0, 0) rotate(1deg);
  }
  to {
    transform: translate3d(12px, -10px, 0) rotate(-3deg);
  }
}

@keyframes floatStarA {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg) scale(1);
  }
  to {
    transform: translate3d(-8px, 7px, 0) rotate(4deg) scale(1.02);
  }
}

@keyframes floatStarB {
  from {
    transform: translate3d(0, 0, 0) rotate(3deg) scale(0.98);
  }
  to {
    transform: translate3d(7px, -8px, 0) rotate(-4deg) scale(1.02);
  }
}

@keyframes floatBalloon {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  to {
    transform: translate3d(8px, -14px, 0) rotate(3deg);
  }
}

@keyframes floatPlanet {
  from {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }
  to {
    transform: translate3d(-14px, 8px, 0) rotate(4deg);
  }
}

@keyframes floatDot {
  from {
    opacity: 0.4;
    transform: translate3d(0, 0, 0) scale(0.86);
  }
  to {
    opacity: 0.95;
    transform: translate3d(6px, -10px, 0) scale(1.1);
  }
}

@keyframes sunsetBreath {
  from {
    opacity: 0.62;
    filter: saturate(0.98) brightness(0.98);
  }
  to {
    opacity: 0.88;
    filter: saturate(1.08) brightness(1.06);
  }
}

@keyframes sunsetGlowShift {
  from {
    opacity: 0.26;
    transform: translate3d(0, 0, 0) scale(0.96);
  }
  to {
    opacity: 0.66;
    transform: translate3d(-8px, 6px, 0) scale(1.08);
  }
}

@keyframes heroSceneCharge {
  0% {
    background-position: 50% 50%;
    background-size: 104% auto;
  }
  42% {
    background-position: 45% 48%;
    background-size: 116% auto;
  }
  100% {
    background-position: 50% 50%;
    background-size: 104% auto;
  }
}

@keyframes chargeStreaks {
  0% {
    opacity: 0;
    transform: translateX(-26%);
  }
  28% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(24%);
  }
}

@keyframes chargePulse {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }
  40% {
    opacity: 1;
    transform: scale(1.06);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.editor-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px;
}

.editor-form.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  margin-top: 0;
}

.editor-form.compact textarea,
.editor-form.compact button {
  grid-column: span 3;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

textarea {
  resize: vertical;
}

.locator-status {
  margin: -2px 0 0;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 13px;
}

.locator-status[data-type="success"] {
  color: #dff3de;
  border-color: rgba(159, 216, 151, 0.36);
}

.locator-status[data-type="warn"],
.locator-status[data-type="error"] {
  color: #ffe3c4;
  border-color: rgba(231, 191, 113, 0.42);
}

.advanced-location {
  color: rgba(255, 255, 255, 0.72);
}

.advanced-location summary {
  width: fit-content;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.advanced-location .form-grid {
  margin-top: 12px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.section-heading > div {
  max-width: 720px;
}

.record-list,
.timeline,
.plan-board {
  display: grid;
  gap: 14px;
}

.record-card,
.plan-card {
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.23)),
    var(--glass);
}

.record-card header,
.plan-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.tag {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--deep);
  background: #ffe8ed;
  border-radius: 999px;
  font-size: 12px;
}

.media-preview {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  margin-top: 12px;
  border-radius: 8px;
  background: #f1e1dc;
}

.timeline {
  position: relative;
}

.timeline .record-card {
  border-left: 5px solid var(--accent);
}

.island-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.island {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.82), transparent 0 8%, transparent 9%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.56), rgba(235, 226, 221, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.18);
  isolation: isolate;
}

.island::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(185, 75, 99, 0.14), transparent 24%),
    radial-gradient(circle at 18% 86%, rgba(74, 102, 130, 0.16), transparent 30%);
  z-index: -2;
}

.island::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.36), transparent 45%);
  pointer-events: none;
  z-index: 3;
}

.island-scene {
  position: absolute;
  left: 50%;
  top: 36%;
  width: min(82%, 300px);
  height: 210px;
  transform: translate(-50%, -50%);
}

.island-shadow,
.island-base {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.island-shadow {
  bottom: 8px;
  width: 80%;
  height: 28px;
  background: radial-gradient(ellipse, rgba(35, 27, 32, 0.22), transparent 70%);
}

.island-base {
  bottom: 30px;
  width: 82%;
  height: 116px;
  background:
    radial-gradient(ellipse at 28% 28%, rgba(255, 255, 255, 0.42), transparent 0 12%, transparent 13%),
    linear-gradient(135deg, #acd8a4, #6fa56e 58%, #4d7c58);
  border-radius: 50%;
  box-shadow:
    inset -18px -20px 28px rgba(33, 71, 47, 0.22),
    0 22px 34px rgba(58, 83, 68, 0.22);
}

.island-base::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: -18px;
  height: 34px;
  background: linear-gradient(180deg, #8c664f, #5d4036);
  border-radius: 0 0 50% 50%;
  filter: saturate(0.9);
}

.island-path {
  position: absolute;
  z-index: 2;
  display: block;
  height: 9px;
  background: rgba(255, 232, 191, 0.72);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(92, 70, 48, 0.12);
}

.path-main {
  left: 30%;
  top: 55%;
  width: 42%;
  transform: rotate(-9deg);
}

.path-side {
  left: 47%;
  top: 48%;
  width: 26%;
  transform: rotate(34deg);
}

.island-object {
  position: absolute;
  z-index: 4;
  display: block;
  transform: translate(-50%, -50%) scale(var(--s));
  transform-origin: 50% 100%;
  filter: drop-shadow(0 10px 10px rgba(45, 32, 39, 0.22));
}

.island-empty .island-base {
  filter: saturate(0.74);
  opacity: 0.72;
}

.island-empty .path-main,
.island-empty .path-side {
  opacity: 0.34;
}

.island-empty .island-scene::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 12px;
  height: 12px;
  background: rgba(185, 75, 99, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(185, 75, 99, 0.24);
  transform: translate(-50%, -50%);
}

.island-object > span,
.island-object i,
.island-object b {
  position: absolute;
  display: block;
}

.object-house,
.object-hotel,
.object-lighthouse,
.object-tower {
  width: 58px;
  height: 82px;
}

.object-house .model-body,
.object-hotel .model-body,
.object-tower .model-body {
  left: 9px;
  top: 31px;
  width: 40px;
  height: 50px;
  background: linear-gradient(145deg, #fff9f0, #dfc2ae);
  border: 1px solid rgba(51, 33, 38, 0.14);
  border-radius: 8px 8px 5px 5px;
  box-shadow: inset -9px -8px 14px rgba(96, 57, 51, 0.1);
  z-index: 2;
}

.object-house .model-body,
.object-hotel .model-body {
  overflow: hidden;
}

.object-house .model-body {
  top: 34px;
  height: 47px;
}

.object-hotel .model-body {
  top: 25px;
  height: 61px;
  background: linear-gradient(145deg, #f7f1e9, #cfd9df);
}

.object-house .model-roof,
.object-hotel .model-roof {
  left: 4px;
  top: 0;
  width: 50px;
  height: 34px;
  background: linear-gradient(135deg, #c54f65, #722b3d);
  clip-path: polygon(50% 0, 100% 62%, 88% 62%, 88% 100%, 12% 100%, 12% 62%, 0 62%);
  filter: drop-shadow(0 6px 5px rgba(80, 35, 48, 0.18));
  z-index: 8;
}

.object-house i,
.object-hotel i,
.object-tower i {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #cfe7f0, #6f95aa);
  border-radius: 3px;
  box-shadow: inset -2px -2px 3px rgba(25, 40, 54, 0.16);
}

.object-house i:nth-child(1),
.object-hotel i:nth-child(1),
.object-tower i:nth-child(1) {
  left: 8px;
  top: 13px;
}

.object-house i:nth-child(2),
.object-hotel i:nth-child(2),
.object-tower i:nth-child(2) {
  right: 8px;
  top: 13px;
}

.object-hotel i:nth-child(3),
.object-tower i:nth-child(3) {
  left: 8px;
  top: 31px;
}

.object-hotel i:nth-child(4) {
  right: 8px;
  top: 31px;
}

.object-house b,
.object-hotel b {
  left: 16px;
  bottom: 0;
  width: 11px;
  height: 18px;
  background: linear-gradient(180deg, #8d5a45, #5b392f);
  border-radius: 5px 5px 2px 2px;
}

.object-house .model-chimney {
  right: 11px;
  top: 2px;
  width: 9px;
  height: 19px;
  background: #7b5047;
  border-radius: 3px 3px 0 0;
  z-index: 7;
}

.object-hotel .model-flag {
  left: 42px;
  top: 0;
  width: 2px;
  height: 30px;
  background: #6c4851;
  z-index: 6;
}

.object-hotel .model-flag::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  width: 18px;
  height: 12px;
  background: linear-gradient(135deg, #f1c677, #b94b63);
  clip-path: polygon(0 0, 100% 18%, 70% 50%, 100% 82%, 0 100%);
}

.object-lighthouse {
  width: 44px;
  height: 92px;
}

.object-lighthouse .model-body {
  left: 9px;
  bottom: 0;
  width: 26px;
  height: 72px;
  background: repeating-linear-gradient(180deg, #fff7ee 0 15px, #c55267 15px 27px);
  border-radius: 10px 10px 5px 5px;
  box-shadow: inset -7px -8px 12px rgba(63, 35, 45, 0.13);
}

.object-lighthouse .model-cap,
.object-tower .model-cap {
  left: 5px;
  top: 12px;
  width: 34px;
  height: 15px;
  background: #5c3444;
  border-radius: 9px 9px 3px 3px;
}

.object-lighthouse .model-light,
.object-lamp .model-light {
  left: 50%;
  top: 1px;
  width: 18px;
  height: 18px;
  background: #f5ca72;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(245, 202, 114, 0.95);
  transform: translateX(-50%);
}

.object-lighthouse .model-beam {
  left: -30px;
  top: 6px;
  width: 100px;
  height: 28px;
  background: radial-gradient(ellipse, rgba(245, 202, 114, 0.34), transparent 70%);
}

.object-tree {
  width: 42px;
  height: 66px;
}

.object-tree .model-leaf {
  background: linear-gradient(135deg, #a8dc96, #4e965f);
  border-radius: 50%;
}

.object-tree .leaf-a {
  left: 7px;
  top: 0;
  width: 29px;
  height: 38px;
}

.object-tree .leaf-b {
  left: 0;
  top: 17px;
  width: 42px;
  height: 32px;
}

.object-tree .model-trunk {
  left: 18px;
  bottom: 0;
  width: 8px;
  height: 26px;
  background: #7b5643;
  border-radius: 5px;
}

.object-lamp {
  width: 28px;
  height: 68px;
}

.object-lamp .model-pole {
  left: 12px;
  top: 15px;
  width: 5px;
  height: 45px;
  background: linear-gradient(180deg, #a99087, #6a4a45);
  border-radius: 4px;
}

.object-lamp .model-base {
  left: 5px;
  bottom: 0;
  width: 19px;
  height: 8px;
  background: #6a4a45;
  border-radius: 9px 9px 3px 3px;
}

.object-cake,
.object-gift,
.object-suitcase,
.object-ticket,
.object-bench,
.object-bridge,
.object-balloon,
.object-lantern,
.object-flower,
.object-book {
  width: 58px;
  height: 58px;
}

.object-cake .model-body {
  left: 8px;
  bottom: 5px;
  width: 42px;
  height: 30px;
  background: linear-gradient(180deg, #ffd4df, #b94b63);
  border-radius: 9px;
}

.object-cake .model-cream {
  left: 7px;
  top: 17px;
  width: 44px;
  height: 14px;
  background: #fff6ed;
  border-radius: 14px 14px 6px 6px;
}

.object-cake .model-candle {
  left: 27px;
  top: 2px;
  width: 5px;
  height: 18px;
  background: #f4c56d;
  border-radius: 3px;
}

.object-cake .model-candle::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -8px;
  width: 11px;
  height: 11px;
  background: #ffd578;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.object-gift {
  background: linear-gradient(145deg, #ffcad4, #b94b63);
  border-radius: 10px;
}

.object-gift .model-ribbon-v {
  left: 25px;
  top: 0;
  width: 8px;
  height: 58px;
  background: #f2ca78;
}

.object-gift .model-ribbon-h {
  left: 0;
  top: 24px;
  width: 58px;
  height: 8px;
  background: #f2ca78;
}

.object-gift .model-bow {
  top: -12px;
  width: 23px;
  height: 18px;
  border: 5px solid #f2ca78;
  border-radius: 50%;
}

.object-gift .bow-a {
  left: 8px;
  transform: rotate(-18deg);
}

.object-gift .bow-b {
  right: 8px;
  transform: rotate(18deg);
}

.object-suitcase .model-body {
  left: 6px;
  bottom: 5px;
  width: 46px;
  height: 34px;
  background: linear-gradient(180deg, #d8aa70, #87573e);
  border-radius: 9px;
}

.object-suitcase .model-handle {
  left: 19px;
  top: 8px;
  width: 20px;
  height: 14px;
  border: 4px solid #6b4436;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.object-suitcase .model-sticker {
  right: 10px;
  bottom: 14px;
  width: 13px;
  height: 9px;
  background: #b7d7ed;
  border-radius: 3px;
  transform: rotate(-10deg);
}

.object-ticket {
  height: 34px;
  background: linear-gradient(135deg, #fff4c7, #e6bb66);
  border-radius: 8px;
  transform: translate(-50%, -50%) rotate(-12deg) scale(var(--s));
}

.object-ticket .model-line {
  left: 12px;
  height: 3px;
  background: rgba(111, 78, 58, 0.38);
  border-radius: 3px;
}

.object-ticket .line-a {
  top: 11px;
  width: 32px;
}

.object-ticket .line-b {
  top: 21px;
  width: 22px;
}

.object-ticket .model-dot {
  top: 12px;
  width: 9px;
  height: 9px;
  background: #f6efe9;
  border-radius: 50%;
}

.object-ticket .dot-a {
  left: -4px;
}

.object-ticket .dot-b {
  right: -4px;
}

.object-bench .model-back,
.object-bench .model-seat {
  left: 6px;
  width: 46px;
  background: linear-gradient(180deg, #a7795e, #624236);
  border-radius: 6px;
}

.object-bench .model-back {
  top: 16px;
  height: 13px;
}

.object-bench .model-seat {
  top: 35px;
  height: 10px;
}

.object-bench .model-leg {
  top: 43px;
  width: 6px;
  height: 15px;
  background: #624236;
}

.object-bench .leg-a {
  left: 13px;
}

.object-bench .leg-b {
  right: 13px;
}

.object-bridge .model-arch {
  left: 2px;
  top: 16px;
  width: 54px;
  height: 28px;
  border: 8px solid #9b7059;
  border-bottom: 0;
  border-radius: 50px 50px 0 0;
}

.object-bridge .model-rail {
  left: 5px;
  top: 22px;
  width: 48px;
  height: 4px;
  background: #7a5547;
}

.object-bridge .model-post {
  top: 17px;
  width: 5px;
  height: 26px;
  background: #7a5547;
}

.object-bridge .post-a {
  left: 16px;
}

.object-bridge .post-b {
  right: 16px;
}

.object-balloon .model-balloon {
  left: 15px;
  top: 0;
  width: 29px;
  height: 38px;
  background: linear-gradient(135deg, #ffc5d1, #b94b63);
  border-radius: 50% 50% 45% 45%;
}

.object-balloon .model-string {
  left: 29px;
  top: 36px;
  width: 1px;
  height: 22px;
  background: #7d5b62;
}

.object-balloon .model-knot {
  left: 26px;
  top: 34px;
  width: 7px;
  height: 6px;
  background: #b94b63;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.object-lantern .model-hook {
  left: 27px;
  top: 0;
  width: 2px;
  height: 12px;
  background: #6d4b4a;
}

.object-lantern .model-lantern {
  left: 17px;
  top: 10px;
  width: 25px;
  height: 38px;
  background: linear-gradient(180deg, #ffb0bf, #b94b63);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 0 16px rgba(185, 75, 99, 0.38);
}

.object-lantern .model-light {
  left: 24px;
  top: 21px;
  width: 10px;
  height: 16px;
  background: rgba(255, 228, 154, 0.72);
  border-radius: 50%;
}

.object-flower .model-stem {
  left: 28px;
  top: 28px;
  width: 3px;
  height: 28px;
  background: #4f8d58;
}

.object-flower .model-petal {
  width: 20px;
  height: 20px;
  background: #d66d80;
  border-radius: 50%;
}

.object-flower .petal-a {
  left: 19px;
  top: 8px;
}

.object-flower .petal-b {
  left: 9px;
  top: 18px;
}

.object-flower .petal-c {
  left: 29px;
  top: 18px;
}

.object-flower .model-core {
  left: 24px;
  top: 20px;
  width: 11px;
  height: 11px;
  background: #f2ca78;
  border-radius: 50%;
}

.object-tower .model-body {
  top: 21px;
  height: 66px;
  background: linear-gradient(180deg, #dbe7ee, #6f8ca1);
}

.object-tower .model-base {
  left: 5px;
  bottom: 0;
  width: 48px;
  height: 9px;
  background: #546f82;
  border-radius: 8px;
}

.object-book {
  transform: translate(-50%, -50%) rotate(-8deg) scale(var(--s));
}

.object-book .model-page {
  top: 16px;
  width: 28px;
  height: 32px;
  background: linear-gradient(145deg, #fff8ee, #d7e2ea);
  border-radius: 6px;
}

.object-book .page-a {
  left: 3px;
  transform: skewY(8deg);
}

.object-book .page-b {
  right: 3px;
  transform: skewY(-8deg);
}

.object-book .model-line {
  top: 27px;
  width: 16px;
  height: 2px;
  background: rgba(74, 76, 83, 0.28);
}

.object-book .line-a {
  left: 10px;
}

.object-book .line-b {
  right: 10px;
}

.island-content {
  position: relative;
  z-index: 4;
  display: grid;
  align-content: end;
  min-height: 312px;
  padding: 202px 0 0;
}

.island-index {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.island h3 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.island p {
  max-width: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.growth-line {
  height: 4px;
  overflow: hidden;
  margin-top: 12px;
  background: rgba(53, 25, 35, 0.1);
  border-radius: 999px;
}

.growth-line span {
  display: block;
  width: var(--growth);
  height: 100%;
  background: linear-gradient(90deg, #b94b63, #e7bf71);
  border-radius: inherit;
}

.plan-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card[data-status="已完成"] {
  border-color: rgba(87, 135, 92, 0.45);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.more-grid article {
  min-height: 320px;
  padding: 24px;
}

.mood-weather {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.mood {
  display: grid;
  min-height: 118px;
  place-items: center;
  padding: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mood strong {
  display: block;
  font-size: 26px;
}

.secret-box {
  display: grid;
  gap: 12px;
}

.memory-dialog {
  width: min(720px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.memory-dialog::backdrop {
  background: rgba(20, 10, 16, 0.45);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

#dialogContent {
  padding: 28px;
}

.footer {
  padding: 30px 18px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .feature-grid,
  .island-map,
  .plan-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .more-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 900px;
    height: auto;
    align-items: flex-start;
  }

  .hero-copy {
    top: 32px;
    left: 16px;
    max-width: none;
    margin-top: 0;
  }

  .hero-background-stage {
    inset: 0;
    width: auto;
    height: auto;
  }

  .stage-note {
    right: 34px;
    bottom: 52px;
  }

  .earth-copy-panel {
    margin: 72px 16px 0;
  }

  .earth-record-panel {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .section-panel {
    padding: 56px 16px;
  }

  .feature-grid.section-panel {
    padding-top: 20px;
  }

  h1 {
    font-size: 40px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-copy {
    padding: 0;
    width: min(320px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    overflow: hidden;
  }

  .hero-title {
    width: 100%;
    font-size: 31px;
    transform: rotate(-1.2deg);
  }

  .hero-title span {
    width: auto;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-title span:nth-child(2),
  .hero-title span:nth-child(3) {
    margin-left: 0;
  }

  .hero-background-stage {
    height: auto;
    border-radius: 0;
    background-size: auto 62%;
    background-position: center 58%;
  }

  .hero-background-stage .stage-floor {
    bottom: 132px;
    width: min(520px, 112vw);
    height: 128px;
    opacity: 0.18;
    background-size: 124% 100%;
  }

  .hero-character-motion {
    left: -2%;
    top: 32%;
    width: 104%;
    height: 36%;
    opacity: 0.1;
  }

  .sunset-glow {
    right: -18%;
    top: 20%;
    width: 250px;
  }

  .float-decor {
    display: none;
  }

  .sword-dog {
    --dog-scale: 0.82;
    right: 0;
    top: 360px;
    bottom: auto;
    width: 190px;
    height: 220px;
  }

  .hedgehog-princess {
    --princess-scale: 0.74;
    right: 43%;
    left: auto;
    bottom: 148px;
  }

  .hand-link {
    right: 28%;
    left: auto;
    top: 54%;
    width: 126px;
  }

  .stage-note {
    right: auto;
    left: 16px;
    bottom: 26px;
    max-width: 176px;
  }

  .feature-grid,
  .form-grid,
  .editor-form.compact,
  .island-map,
  .plan-board,
  .mood-weather {
    grid-template-columns: 1fr;
  }

  .editor-form.compact textarea,
  .editor-form.compact button {
    grid-column: auto;
  }

  .section-heading {
    display: grid;
  }

  .earth-section {
    min-height: 118vh;
  }

  .earth-copy-panel,
  .earth-record-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    max-height: none;
    margin: 16px;
  }

  .earth-copy-panel {
    margin-top: 74px;
  }

  .css-earth-sphere {
    width: 96vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-background-stage,
  .hero-character-motion,
  .sunset-glow,
  .float-decor,
  .hero-background-stage .stage-floor,
  .hero-background-stage.is-charging,
  .hero-background-stage.is-charging::before,
  .hero-background-stage.is-charging::after {
    animation: none !important;
  }
}

/* Cascade lock for the rebuilt layered hero. */
/* Site-wide paper-glass system below the hero. */
:root {
  --bg: #f5e9ea;
  --panel: rgba(255, 250, 248, 0.62);
  --ink: #34252d;
  --muted: #7c6872;
  --line: rgba(255, 255, 255, 0.72);
  --accent: #c85272;
  --accent-2: #f2b7c5;
  --deep: #3f2633;
  --glass: rgba(255, 249, 247, 0.54);
  --glass-strong: rgba(255, 250, 248, 0.76);
  --shadow: 0 24px 70px rgba(92, 53, 69, 0.13);
}

body {
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 210, 217, 0.42), transparent 26%),
    radial-gradient(circle at 86% 38%, rgba(239, 190, 174, 0.28), transparent 30%),
    repeating-linear-gradient(7deg, rgba(121, 76, 77, 0.018) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #f8efef 0%, #eadcdf 54%, #f6ecea 100%);
}

.site-header {
  min-height: 62px;
  padding: 10px clamp(18px, 3.8vw, 52px);
  background: rgba(255, 248, 247, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 36px rgba(79, 45, 58, 0.09);
  backdrop-filter: blur(24px) saturate(1.18);
}

.brand {
  color: #3b2731;
  letter-spacing: 0.01em;
}

.brand-mark {
  background: linear-gradient(145deg, #5a2d40, #b85070);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 8px 18px rgba(102, 48, 69, 0.2);
}

.nav {
  gap: clamp(8px, 1.6vw, 20px);
}

.nav a {
  position: relative;
  padding: 9px 2px;
  color: #75636d;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 4px;
  height: 1px;
  background: #c85272;
  transition: left 180ms ease, right 180ms ease;
}

.nav a:hover::after {
  left: 0;
  right: 0;
}

.edit-toggle {
  min-height: 36px;
  padding: 8px 15px;
  color: #fff9f6;
  background: linear-gradient(145deg, #5b3042, #a94867);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  box-shadow: 0 9px 22px rgba(105, 47, 70, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.edit-toggle:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(105, 47, 70, 0.25); }
.edit-toggle:active { transform: translateY(1px) scale(0.98); }
.edit-toggle[aria-pressed="true"] { background: linear-gradient(145deg, #b64f6d, #dc7c92); }

.feature-grid {
  position: relative;
  z-index: 4;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 56px clamp(18px, 5vw, 72px) 72px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 218, 222, 0.5), transparent 30%),
    linear-gradient(180deg, rgba(250, 240, 242, 0.96), rgba(237, 223, 227, 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.feature-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background: repeating-linear-gradient(8deg, rgba(111, 70, 74, 0.04) 0 1px, transparent 1px 8px);
}

.feature-card {
  position: relative;
  min-height: 220px;
  padding: 28px 25px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 251, 249, 0.74), rgba(255, 242, 243, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(96, 55, 70, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 116px;
  aspect-ratio: 1;
  border: 1px solid rgba(200, 82, 114, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.1), 0 0 0 32px rgba(200, 82, 114, 0.05);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 62px rgba(92, 48, 67, 0.16), inset 0 1px 0 #fff;
}

.feature-card > span {
  color: #c85272;
  font-family: "Century Gothic", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.feature-card h2 {
  margin-top: 42px;
  color: #35232d;
  font-family: "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 720;
}

.feature-card p { color: #806d76; font-size: 14px; }

.earth-section {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 52% 40%, rgba(125, 78, 100, 0.36), transparent 31%),
    radial-gradient(circle at 88% 8%, rgba(224, 137, 116, 0.18), transparent 26%),
    repeating-linear-gradient(7deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 8px),
    linear-gradient(150deg, #1d151d 0%, #392432 48%, #241820 100%);
}

.earth-section::before {
  content: "共赴之地  ·  OUR EARTH";
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  top: 36px;
  z-index: 4;
  color: rgba(255, 235, 230, 0.7);
  font-family: "Century Gothic", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.earth-copy-panel,
.earth-record-panel {
  background: rgba(39, 24, 33, 0.52);
  border: 1px solid rgba(255, 235, 230, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(12, 6, 11, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.08);
}

.earth-copy-panel h2,
.earth-record-panel h3 { color: #fff8f3; }
.earth-copy-panel .section-desc,
.earth-record-panel { color: #d4c1c7; }

.section-panel:not(.hero):not(.feature-grid) {
  position: relative;
  overflow: hidden;
  padding: 92px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.62);
}

#firsts {
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 204, 211, 0.34), transparent 28%),
    linear-gradient(180deg, #f8eeee, #ecdcdf);
}

#planet {
  background:
    radial-gradient(circle at 15% 20%, rgba(239, 175, 160, 0.28), transparent 27%),
    linear-gradient(155deg, #f0e0df, #e8d5da 58%, #f6e9e7);
}

#plans {
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 214, 218, 0.46), transparent 25%),
    linear-gradient(180deg, #f8eeee, #eadcdf);
}

#more {
  background:
    radial-gradient(circle at 20% 0%, rgba(209, 116, 139, 0.18), transparent 28%),
    linear-gradient(145deg, #ead9dd, #f7ecea);
}

.section-heading {
  align-items: end;
  gap: 28px;
  margin-bottom: 38px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(111, 69, 82, 0.12);
}

.section-heading h2,
.more-grid h2 {
  color: #3a2731;
  font-family: "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  font-weight: 720;
}

.section-heading .eyebrow,
.more-grid .eyebrow { color: #b54b6b; }

.editor-form {
  padding: 24px;
  background: rgba(255, 250, 248, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(91, 52, 67, 0.12), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px);
}

body.editing .editor-form {
  animation: editor-reveal 260ms ease-out both;
}

.editor-form input,
.editor-form select,
.editor-form textarea,
.secret-box input {
  color: #3a2931;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(122, 78, 94, 0.16);
  border-radius: 7px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.editor-form input:focus,
.editor-form select:focus,
.editor-form textarea:focus,
.secret-box input:focus {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(194, 76, 108, 0.56);
  box-shadow: 0 0 0 3px rgba(194, 76, 108, 0.1);
}

.record-card,
.plan-card,
.island,
.more-grid article {
  background: linear-gradient(145deg, rgba(255, 251, 249, 0.76), rgba(255, 244, 244, 0.48));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(92, 52, 68, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.08);
}

.record-card,
.plan-card { padding: 24px; }

.timeline {
  position: relative;
  gap: 18px;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(#ca607d, rgba(202, 96, 125, 0.08));
}

.timeline .record-card::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 30px;
  width: 10px;
  height: 10px;
  background: #fff7f2;
  border: 3px solid #c65a79;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(198, 90, 121, 0.1);
}

.island-map {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.island {
  min-height: 360px;
  padding: 22px;
  overflow: hidden;
}

.island::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 80%, rgba(222, 137, 145, 0.12), transparent 42%);
}

.plan-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.more-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.more-grid article {
  min-height: 270px;
  padding: 30px;
}

.button.primary {
  background: linear-gradient(145deg, #a94162, #d76c85);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 28px rgba(157, 57, 87, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px) scale(0.98); }

.footer {
  color: rgba(255, 241, 237, 0.68);
  background: linear-gradient(145deg, #2b1b25, #442a37);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes editor-reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .island-map, .plan-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 3px; }
  .nav a { flex: 0 0 auto; }
  .edit-toggle { position: absolute; right: 16px; top: 13px; }
  .feature-grid, .island-map, .plan-board, .more-grid { grid-template-columns: 1fr; }
  .feature-grid { padding: 34px 16px 52px; }
  .feature-card { min-height: 188px; }
  .section-panel:not(.hero):not(.feature-grid) { padding: 66px 16px; }
  .section-heading { align-items: start; }
}

/* Final below-hero art direction. */
.feature-grid {
  z-index: 6;
  margin-top: -46px;
  padding: 46px clamp(18px, 5vw, 72px) 54px;
  background:
    linear-gradient(180deg, rgba(248, 235, 238, 0.5), rgba(237, 221, 226, 0.88));
  border-top: 1px solid rgba(255, 255, 255, 0.54);
}

.feature-card {
  min-height: 220px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 246, 247, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 52px rgba(91, 52, 67, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(28px) saturate(1.16);
}

.feature-card::after {
  opacity: 0.46;
}

.earth-record-panel {
  width: min(340px, calc(100% - 32px));
  max-height: 34vh;
  padding: 14px;
}

.earth-record-panel h3 { margin-bottom: 10px; font-size: 18px; }
.earth-record-panel .record-list { gap: 9px; }
.earth-record-panel .record-card { padding: 12px; }
.earth-record-panel .record-card h3 { font-size: 15px; }
.earth-record-panel .record-card header { display: block; }
.earth-record-panel .record-card header > div:last-child { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.earth-record-panel .record-card > p { display: none; }
.earth-record-panel .button.small { min-height: 28px; padding: 4px 8px; font-size: 11px; }
.button.danger { color: #a33b58; background: rgba(255, 232, 236, 0.94); }

#firsts {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 210, 217, 0.38), transparent 28%),
    repeating-linear-gradient(8deg, rgba(94, 63, 76, 0.018) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #faf3f3, #eadcdf);
}

#firsts .timeline {
  max-width: 1080px;
  margin: 0 auto;
}

#firsts .record-card {
  background: linear-gradient(135deg, rgba(255, 253, 250, 0.82), rgba(252, 232, 235, 0.48));
}

#firsts .record-card:nth-child(even) {
  margin-left: 7%;
  background: linear-gradient(135deg, rgba(250, 230, 235, 0.62), rgba(255, 252, 248, 0.76));
}

#planet {
  color: #f9eef0;
  background:
    radial-gradient(circle at 14% 12%, rgba(211, 104, 130, 0.24), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(236, 164, 132, 0.12), transparent 30%),
    repeating-linear-gradient(7deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 8px),
    linear-gradient(145deg, #241721, #422936 56%, #2c1b27);
}

#planet .section-heading { border-bottom-color: rgba(255, 255, 255, 0.1); }
#planet .section-heading h2 { color: #fff7f2; }
#planet .section-desc { color: rgba(255, 240, 237, 0.7); }

#planet .island {
  background:
    radial-gradient(circle at 50% 76%, rgba(232, 151, 142, 0.16), transparent 35%),
    linear-gradient(145deg, rgba(255, 249, 246, 0.11), rgba(255, 226, 230, 0.045));
  border-color: rgba(255, 238, 234, 0.15);
  box-shadow: 0 28px 70px rgba(9, 4, 8, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.08);
}

#planet .island h3 { color: #fff7f2; }
#planet .island p { color: rgba(255, 239, 236, 0.68); }

#plans {
  background:
    radial-gradient(circle at 83% 5%, rgba(240, 163, 148, 0.28), transparent 30%),
    repeating-linear-gradient(8deg, rgba(112, 76, 70, 0.02) 0 1px, transparent 1px 8px),
    linear-gradient(160deg, #f9eeeb, #ead7d7 60%, #f6e9e5);
}

#plans .plan-board { position: relative; }
#plans .plan-card {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  background: linear-gradient(145deg, rgba(255, 253, 249, 0.8), rgba(255, 234, 234, 0.48));
}

#plans .plan-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 14px;
  height: 1px;
  background: linear-gradient(90deg, #c65474, rgba(198, 84, 116, 0.08));
}

#more {
  color: #f7ecee;
  background:
    radial-gradient(circle at 18% 4%, rgba(200, 82, 114, 0.2), transparent 28%),
    radial-gradient(circle at 84% 80%, rgba(222, 142, 119, 0.12), transparent 30%),
    repeating-linear-gradient(8deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 8px),
    linear-gradient(145deg, #241820, #3c2632 54%, #281a23);
}

#more article {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 250, 247, 0.12), rgba(255, 224, 230, 0.05));
  border-color: rgba(255, 238, 234, 0.14);
  box-shadow: 0 28px 64px rgba(9, 4, 8, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.08);
}

#more article::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 130px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 211, 217, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.025);
}

#more h2 { color: #fff7f2; }
#more p, #more .record-card p { color: rgba(255, 239, 236, 0.68); }
#more .record-card {
  background: rgba(255, 248, 246, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.mood-weather {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.mood {
  display: grid;
  min-height: 108px;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: #fff2ee;
  background: linear-gradient(145deg, rgba(255, 243, 240, 0.14), rgba(255, 219, 227, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.mood-icon { font-family: "华文行楷", "STXingkai", serif; font-size: 28px; font-weight: 400; }
.mood span { color: rgba(255, 241, 238, 0.72); font-size: 12px; }
.mood b { color: #f1a7b9; font-family: "Century Gothic", sans-serif; font-size: 13px; }

.year-slice { position: relative; overflow: hidden; }
.year-slice header { align-items: center; }
.year-slice header strong {
  display: grid;
  min-width: 48px;
  aspect-ratio: 1;
  place-items: center;
  color: #ffdce3;
  border: 1px solid rgba(255, 220, 227, 0.18);
  border-radius: 50%;
}

.empty-state {
  padding: 28px;
  color: rgba(255, 240, 236, 0.68);
  text-align: center;
  border: 1px dashed rgba(255, 236, 232, 0.18);
  border-radius: 8px;
}

.secret-box { position: relative; z-index: 1; }
#more .secret-box input {
  color: #fff7f2;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 760px) {
  .feature-grid { margin-top: -24px; padding: 24px 16px 46px; }
  #firsts .record-card:nth-child(even) { margin-left: 0; }
  .earth-record-panel { width: min(320px, calc(100% - 32px)); max-height: 30vh; }
  .mood-weather { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sky-decor {
  opacity: 0.88;
  filter: drop-shadow(0 8px 7px rgba(83, 45, 40, 0.18));
}

.decor-planet-left { left: 48%; top: 2.5%; width: min(9vw, 132px); opacity: 0.76; }
.decor-donut { left: 37.5%; top: 7%; width: min(5.2vw, 74px); }
.decor-star-top { left: 63%; top: 13%; width: min(4.4vw, 64px); }
.decor-star-left { left: 2.2%; top: 43%; width: min(4.2vw, 60px); }
.decor-star-lower-left { left: 9.2%; top: 54%; width: min(4vw, 58px); opacity: 0.76; }
.decor-planet-right { right: 6.5%; top: 39%; width: min(11vw, 158px); }
.decor-moon { right: 18%; top: 8%; width: min(4.2vw, 62px); opacity: 0.72; animation: paper-float-donut 10.2s -3s ease-in-out infinite alternate; }
.decor-comet { right: 1.8%; top: 22%; width: min(8.4vw, 122px); opacity: 0.78; animation: paper-float-right 12.4s -4s ease-in-out infinite alternate; }
.decor-star-coral { left: 32%; top: 5.5%; width: min(3.2vw, 46px); opacity: 0.67; animation: paper-float-star 8.2s -1.8s ease-in-out infinite alternate; }
.decor-star-rose { right: 29%; top: 48%; width: min(3vw, 44px); opacity: 0.62; animation: paper-float-star 9.8s -5.1s ease-in-out infinite alternate-reverse; }

.hero-title {
  gap: 0.1em;
  width: min(600px, 44vw);
  font-family: "幼圆", "YouYuan", "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(31px, 3.05vw, 44px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.035em;
  transform: rotate(-0.8deg);
  filter: none;
}

.hero-title::after { content: none; }

.hero-title::before {
  content: "";
  position: absolute;
  left: 68%;
  top: -0.5em;
  width: 5.6em;
  height: 2.1em;
  border: 0;
  border-top: 1.5px solid rgba(255, 247, 236, 0.72);
  border-radius: 50%;
  box-shadow: none;
  transform: rotate(-8deg);
  opacity: 0.75;
}

.hero-title span {
  padding: 0.03em 0.06em 0.09em;
  background: linear-gradient(180deg, #fffdf8 0%, #fff5ef 48%, #f4cec7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.48), 0 5px 12px rgba(105, 55, 50, 0.22), 0 15px 30px rgba(92, 45, 48, 0.13);
}

.hero-title span::before {
  color: rgba(112, 58, 53, 0.26);
  -webkit-text-fill-color: rgba(112, 58, 53, 0.26);
  transform: translate(0.045em, 0.065em);
  filter: blur(0.35px);
}

.hero-title span::after {
  opacity: 0.17;
  transform: translate(-0.012em, -0.018em);
  clip-path: polygon(0 0, 100% 0, 100% 28%, 0 46%);
}

.hero-title span:nth-child(1) { font-size: 0.9em; transform: rotate(-0.4deg); }
.hero-title span:nth-child(2) { margin-left: 0.38em; font-size: 1.04em; transform: rotate(0.35deg); }
.hero-title span:nth-child(3) { margin-left: 0.12em; font-size: 0.94em; transform: rotate(-0.25deg); }

.hero-background-stage {
  background:
    linear-gradient(90deg, rgba(64, 27, 43, 0.16), transparent 34%),
    url("./assets/hero-paper-sky-clean.png") center / cover no-repeat !important;
  transform: none !important;
  animation: none !important;
}

.hero-background-stage::before,
.hero-background-stage::after,
.hero-stage-card.hero-background-stage::before,
.hero-stage-card.hero-background-stage::after {
  content: none !important;
  display: none !important;
}

.planet-motion {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 53%;
  width: min(116vw, 1700px);
  height: auto;
  pointer-events: none;
  opacity: 1;
  object-fit: contain;
  background: none;
  mix-blend-mode: normal;
  filter: drop-shadow(0 -18px 38px rgba(112, 60, 42, 0.2));
  mask-image: none;
  transform-origin: 50% 50%;
  animation: full-planet-counterclockwise 42s linear infinite;
}

.character-pair {
  left: 21%;
  top: 20%;
  width: min(64vw, 1030px);
}

.sunset-glow {
  right: -1%;
  top: -8%;
  z-index: 4;
  width: 54%;
  opacity: 0.34;
  background: radial-gradient(circle at 58% 44%, rgba(255, 255, 232, 0.94) 0 11%, rgba(255, 216, 145, 0.36) 28%, rgba(255, 166, 93, 0.1) 51%, transparent 72%);
  mix-blend-mode: screen;
  animation: sunset-light-breathe-strong 7.2s ease-in-out infinite alternate;
}

@media (max-width: 760px) {
  .planet-motion {
    top: 59%;
    width: 184vw;
  }

  .character-pair {
    left: -3%;
    top: 36%;
    width: 106%;
  }

  .hero-title { width: 92vw; font-size: clamp(26px, 7.3vw, 32px); }
  .decor-comet, .decor-star-coral, .decor-star-rose { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .planet-motion,
  .character-pair,
  .sky-decor,
  .sunset-glow {
    animation: none !important;
  }

  .planet-motion {
    transform: translateX(-50%) rotate(-8deg);
  }
}

/* Floating home entries and dynamic 3D island system. */
.feature-grid {
  z-index: 8;
  margin-top: -138px;
  padding: 0 clamp(18px, 5vw, 72px) 46px;
  background: transparent;
  border: 0;
}

.feature-grid::before {
  content: none;
}

.feature-card {
  min-height: 230px;
  background: linear-gradient(145deg, rgba(255, 249, 250, 0.48), rgba(247, 235, 243, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 58px rgba(70, 43, 61, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(30px) saturate(1.14);
}

.feature-card::after {
  opacity: 0.24;
}

.island-source-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.island-source-guide span {
  padding: 7px 10px;
  color: rgba(255, 242, 238, 0.78);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 12px;
}

#planet .island {
  min-height: 430px;
}

#planet .island-scene {
  left: 50%;
  top: 45%;
  width: min(94%, 390px);
  height: 285px;
  transform: translate(-50%, -50%);
}

.island-base-art {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  display: block;
  width: 94%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 20px rgba(8, 4, 7, 0.32));
  transform: translate(-50%, -50%);
}

.island-prop {
  position: absolute;
  z-index: calc(4 + var(--order));
  display: block;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 7px rgba(18, 8, 13, 0.26));
  transform: translate(-50%, -50%) scale(0.84);
  transform-origin: 50% 76%;
  animation: island-prop-arrive 420ms cubic-bezier(0.2, 0.9, 0.2, 1.18) both;
  animation-delay: calc(var(--order) * 45ms);
}

.island-empty .island-base-art {
  filter: saturate(0.82) brightness(0.94) drop-shadow(0 24px 20px rgba(8, 4, 7, 0.3));
}

.island-empty .growth-line span {
  width: 0;
}

.island .island-base,
.island .island-path,
.island .island-object {
  display: none !important;
}

.island-content {
  position: relative;
  z-index: 20;
}

.island-content p {
  max-width: 34ch;
}

.together-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 220px !important;
}

.together-card > .eyebrow,
.together-card > h2,
.together-card > p,
.together-card > form {
  grid-column: 1;
}

.together-number {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 20px 34px;
}

.together-number strong {
  color: #fff7f2;
  font-family: "Century Gothic", sans-serif;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 500;
  line-height: 0.9;
  text-shadow: 0 18px 42px rgba(7, 3, 6, 0.3);
}

.together-number span {
  color: #eaa0b3;
  font-size: 18px;
}

#secretResult .media-preview {
  max-height: 320px;
  margin-top: 16px;
}

.island-tag {
  color: #fff3ee;
  background: linear-gradient(145deg, #9d435f, #c9617c);
}

@keyframes island-prop-arrive {
  from { opacity: 0; transform: translate(-50%, -40%) scale(0.34) rotate(-5deg); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(0.84) rotate(0); }
}

@media (max-width: 1080px) {
  .feature-grid { margin-top: -92px; }
}

@media (max-width: 760px) {
  .feature-grid {
    margin-top: -54px;
    padding: 0 16px 42px;
  }

  .together-card {
    grid-template-columns: 1fr;
  }

  .together-number {
    grid-column: 1;
    grid-row: auto;
    padding: 18px 0;
  }

  #planet .island-scene {
    width: min(98%, 370px);
  }
}

/* Independent event log and compact memory utilities. */
#records {
  background:
    radial-gradient(circle at 88% 12%, rgba(225, 139, 156, 0.26), transparent 28%),
    repeating-linear-gradient(8deg, rgba(99, 67, 76, 0.018) 0 1px, transparent 1px 8px),
    linear-gradient(160deg, #f7eceb, #e7d7dc 62%, #f5e9e7);
}

.event-record-list {
  display: grid;
  gap: 10px;
  max-width: 1120px;
  margin: 0 auto;
}

.event-record-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 13px 16px 13px 20px;
  background: linear-gradient(145deg, rgba(255, 253, 250, 0.76), rgba(255, 235, 239, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-left: 3px solid #c75775;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(92, 52, 68, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.event-record-copy {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.event-record-copy h3 {
  margin: 0;
  overflow: hidden;
  color: #3a2731;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-record-copy p {
  margin: 0;
  overflow: hidden;
  color: #7f6973;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-record-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

#reminderList {
  gap: 7px;
}

#reminderList .record-card {
  min-height: 0;
  padding: 9px 11px;
}

#reminderList .record-card header {
  align-items: center;
}

#reminderList .record-card h3 {
  margin: 0 0 2px;
  font-size: 14px;
}

#reminderList .record-card p {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
}

#reminderList .button.small {
  min-height: 26px;
  padding: 3px 7px;
  font-size: 11px;
}

.year-slice p {
  font-size: 14px;
  line-height: 1.85;
}

.year-memory-line {
  display: grid;
  grid-template-columns: auto minmax(30px, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: rgba(255, 231, 230, 0.62);
  font-size: 11px;
}

.year-memory-line i {
  height: 1px;
  background: linear-gradient(90deg, rgba(236, 150, 170, 0.22), #e49bb0, rgba(236, 150, 170, 0.22));
}

.empty-state.light {
  color: #806a74;
  border-color: rgba(117, 76, 91, 0.18);
}

@media (max-width: 760px) {
  .event-record-row,
  .event-record-copy {
    grid-template-columns: 1fr;
  }

  .event-record-copy { gap: 4px; }
  .event-record-actions { flex-wrap: wrap; }
}
.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.media-gallery .media-preview {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin: 0;
}
@media (max-width: 760px) {
  .media-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .media-gallery .media-preview { height: 150px; }
}
.earth-canvas canvas {
  cursor: grab;
  touch-action: none;
}
.earth-canvas canvas:active { cursor: grabbing; }
.earth-interaction-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  transform: translateX(-50%);
  padding: 9px 14px;
  color: rgba(255, 246, 244, 0.82);
  font-size: 12px;
  white-space: nowrap;
  background: rgba(18, 11, 22, 0.46);
  border: 1px solid rgba(255, 239, 235, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  pointer-events: none;
}
.earth-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.75) 0 1px, transparent 1.8px),
    radial-gradient(circle at 76% 18%, rgba(255,219,228,.7) 0 1px, transparent 1.7px),
    radial-gradient(circle at 82% 70%, rgba(181,207,255,.75) 0 1.2px, transparent 2px),
    radial-gradient(circle at 35% 78%, rgba(255,255,255,.65) 0 1px, transparent 1.8px);
  background-size: 190px 190px, 270px 270px, 340px 340px, 230px 230px;
  opacity: .42;
  animation: universeDrift 36s linear infinite;
  pointer-events: none;
}
@keyframes universeDrift {
  to { background-position: 190px -95px, -270px 135px, 170px 340px, -115px -230px; }
}
.zoomable-image { cursor: zoom-in; }
.video-frame { position: relative; display: grid; gap: 7px; isolation: isolate; }
.video-frame .media-preview { position: relative; z-index: 1; width: 100%; background: #09070b; }
.video-format-note { margin: 0; color: var(--muted); font-size: 12px; }
.image-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 24px;
  border: 0;
  background: rgba(8, 5, 10, 0.94);
}
.image-lightbox::backdrop { background: rgba(8, 5, 10, 0.94); }
.image-lightbox[open] { display: grid; place-items: center; }
.image-lightbox img {
  display: block;
  max-width: min(96vw, 1800px);
  max-height: 92dvh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 90px rgba(0,0,0,.52);
}
.image-lightbox .dialog-close { position: fixed; color: #24151e; }
@media (max-width: 760px) {
  .earth-interaction-hint { bottom: 18px; font-size: 11px; }
  .image-lightbox { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .earth-section::after { animation: none; }
}
/* Layered deep-space field for the full-screen Earth stage. */
.earth-stage::before,
.earth-stage::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
}
.earth-stage::before {
  z-index: 0;
  background:
    radial-gradient(ellipse at 22% 38%, rgba(120, 82, 190, .34), transparent 24%),
    radial-gradient(ellipse at 72% 28%, rgba(36, 103, 176, .3), transparent 27%),
    radial-gradient(ellipse at 62% 78%, rgba(205, 82, 128, .2), transparent 23%),
    conic-gradient(from 215deg at 48% 52%, transparent, rgba(82, 48, 126, .18), transparent 38%);
  filter: blur(28px) saturate(1.28);
  animation: nebulaOrbit 26s ease-in-out infinite alternate;
}
.earth-stage::after {
  z-index: 1;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(171,207,255,.85) 0 1.4px, transparent 2px),
    radial-gradient(circle, rgba(255,197,218,.75) 0 .9px, transparent 1.6px);
  background-size: 83px 83px, 137px 137px, 211px 211px;
  background-position: 0 0, 34px 61px, 102px 18px;
  opacity: .72;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 88%);
  animation: starParallax 38s linear infinite;
}
.earth-canvas { z-index: 2; }
.earth-interaction-hint { z-index: 6; }
@keyframes nebulaOrbit {
  0% { transform: translate3d(-2%, -1%, 0) rotate(-2deg) scale(1); opacity: .72; }
  55% { opacity: 1; }
  100% { transform: translate3d(3%, 2%, 0) rotate(3deg) scale(1.08); opacity: .8; }
}
@keyframes starParallax {
  to { background-position: 83px -166px, -137px 274px, 211px -211px; }
}
@media (prefers-reduced-motion: reduce) {
  .earth-stage::before,
  .earth-stage::after { animation: none; }
}
.video-play-toggle {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 110px;
  min-width: 82px;
  min-height: 42px;
  padding: 9px 18px;
  color: #fff;
  font: 700 14px/1 "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  background: rgba(37, 19, 31, .78);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.video-play-toggle:hover { background: rgba(190, 75, 111, .92); }
.video-play-toggle.is-playing {
  top: 28px;
  left: auto;
  right: 12px;
  min-width: 62px;
  min-height: 34px;
  padding: 7px 12px;
  transform: none;
  opacity: .78;
}
.video-frame:focus-within .video-play-toggle { outline: 2px solid rgba(255,255,255,.9); outline-offset: 3px; }
.globe-place-marker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: max-content;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, .58));
  cursor: pointer;
  pointer-events: auto;
}
.globe-place-dot {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: #ffafc4;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 126, 160, .2), 0 0 14px 5px rgba(255, 112, 153, .42);
}
.globe-place-dot[data-favorite="true"] {
  background: #ffd166;
  box-shadow: 0 0 0 3px rgba(255, 209, 102, .2), 0 0 15px 5px rgba(255, 193, 70, .45);
}
.globe-place-name {
  display: block;
  max-width: 150px;
  overflow: hidden;
  padding: 4px 8px 5px;
  color: rgba(255, 250, 248, .96);
  font: 650 12px/1.15 "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(19, 12, 25, .62);
  border: 1px solid rgba(255, 239, 235, .24);
  border-radius: 6px;
  backdrop-filter: blur(9px);
}
.globe-place-marker:hover .globe-place-name,
.globe-place-marker:focus-visible .globe-place-name {
  color: #fff;
  background: rgba(111, 50, 78, .86);
  border-color: rgba(255, 226, 234, .58);
}
.globe-place-marker:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 7px; }
@media (max-width: 760px) {
  .globe-place-name { max-width: 96px; font-size: 10px; }
  .globe-place-marker { gap: 5px; }
}
/* H&W Liuli palette system */
:root {
  --liuli-blue: #63B5B7;
  --liuli-blue-deep: #245D5F;
  --liuli-blue-ink: #173F40;
  --bergamot-yellow: #F9D367;
  --mist-white: #EDEEE8;
  --cinnabar-red: #C2412D;
  --cinnabar-deep: #8F2F22;
  --bg: var(--mist-white);
  --panel: rgba(237, 238, 232, .74);
  --ink: #173F40;
  --muted: #536C6B;
  --line: rgba(36, 93, 95, .18);
  --accent: var(--cinnabar-red);
  --accent-2: var(--bergamot-yellow);
  --deep: var(--liuli-blue-deep);
  --sky: #D8E8E5;
  --green: var(--liuli-blue);
  --gold: var(--bergamot-yellow);
  --glass: rgba(237, 238, 232, .66);
  --glass-strong: rgba(237, 238, 232, .84);
  --shadow: 0 24px 72px rgba(23, 63, 64, .14);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(99, 181, 183, .22), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(249, 211, 103, .2), transparent 26%),
    radial-gradient(circle at 68% 88%, rgba(194, 65, 45, .09), transparent 27%),
    var(--mist-white);
}

.site-header {
  background: rgba(237, 238, 232, .8);
  border-color: rgba(36, 93, 95, .16);
  box-shadow: 0 12px 38px rgba(23, 63, 64, .1);
  backdrop-filter: blur(24px) saturate(1.16);
}
.site-brand strong,
.site-nav a { color: var(--liuli-blue-ink); }
.site-brand span,
.site-nav a:hover { color: var(--cinnabar-red); }

.button.primary {
  color: #fff;
  background: linear-gradient(145deg, #D64D37, var(--cinnabar-red) 62%, var(--cinnabar-deep));
  border-color: rgba(143, 47, 34, .34);
  box-shadow: 0 12px 28px rgba(194, 65, 45, .24);
}
.button.primary:hover { background: var(--cinnabar-deep); }
.button:not(.primary):not(.danger) {
  color: var(--liuli-blue-ink);
  background: rgba(237, 238, 232, .86);
  border-color: rgba(36, 93, 95, .2);
}
.button.danger { color: #fff; background: var(--cinnabar-red); border-color: var(--cinnabar-deep); }

.feature-grid {
  background:
    radial-gradient(circle at 16% 20%, rgba(99, 181, 183, .18), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(249, 211, 103, .2), transparent 26%),
    transparent;
}
.feature-card {
  background:
    linear-gradient(145deg, rgba(237, 238, 232, .84), rgba(216, 232, 229, .66)),
    radial-gradient(circle at 90% 10%, rgba(249, 211, 103, .22), transparent 36%);
  border-color: rgba(99, 181, 183, .34);
  box-shadow: 0 24px 58px rgba(36, 93, 95, .16), inset 0 1px 0 rgba(255, 255, 255, .72);
}
.feature-card:hover { border-color: rgba(194, 65, 45, .42); box-shadow: 0 30px 68px rgba(36, 93, 95, .2); }
.feature-card .feature-index,
.eyebrow { color: var(--cinnabar-red); }
.feature-card h2 { color: var(--liuli-blue-ink); }
.feature-card p { color: #536C6B; }

#firsts,
#records,
#planet,
#plans,
#more {
  color: var(--ink);
}
#firsts {
  background:
    radial-gradient(circle at 88% 12%, rgba(249, 211, 103, .3), transparent 28%),
    radial-gradient(circle at 10% 78%, rgba(99, 181, 183, .2), transparent 32%),
    linear-gradient(155deg, #F5F6F1, var(--mist-white) 58%, #DDEBE8);
}
#records {
  background:
    radial-gradient(circle at 14% 10%, rgba(99, 181, 183, .25), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(194, 65, 45, .09), transparent 28%),
    linear-gradient(145deg, #E6EFEC, #F4F4EE 55%, #E5ECE7);
}
#planet {
  background:
    radial-gradient(circle at 18% 18%, rgba(249, 211, 103, .28), transparent 28%),
    radial-gradient(circle at 84% 70%, rgba(99, 181, 183, .25), transparent 32%),
    linear-gradient(145deg, #E5EFEC, #F2F2EB 58%, #D7E8E5);
}
#plans {
  background:
    radial-gradient(circle at 82% 14%, rgba(249, 211, 103, .28), transparent 26%),
    radial-gradient(circle at 12% 86%, rgba(99, 181, 183, .2), transparent 30%),
    linear-gradient(165deg, #F4F4EE, #E5EFEC 66%, #F0EEE3);
}
#more {
  background:
    radial-gradient(circle at 15% 12%, rgba(99, 181, 183, .23), transparent 30%),
    radial-gradient(circle at 80% 86%, rgba(249, 211, 103, .2), transparent 28%),
    linear-gradient(145deg, #DDEAE7, var(--mist-white) 54%, #E7E5D9);
}

.section-heading { border-color: rgba(36, 93, 95, .18); }
.section-heading h2,
.more-grid h2,
.record-card h3,
.event-record-row h3,
.plan-card h3 { color: var(--liuli-blue-ink); }
.section-desc,
.record-card p,
.event-record-row p,
.plan-card p,
#more p { color: #536C6B; }

.record-card,
.event-record-row,
.plan-card,
.more-grid article,
.editor-form,
.island,
.mood {
  background:
    linear-gradient(145deg, rgba(237, 238, 232, .82), rgba(226, 237, 233, .7));
  border-color: rgba(99, 181, 183, .28);
  box-shadow: 0 18px 48px rgba(36, 93, 95, .12), inset 0 1px 0 rgba(255, 255, 255, .74);
}
input,
textarea,
select {
  color: var(--liuli-blue-ink);
  background: rgba(247, 248, 243, .88);
  border-color: rgba(36, 93, 95, .22);
}
input:focus,
textarea:focus,
select:focus { border-color: var(--liuli-blue); box-shadow: 0 0 0 3px rgba(99, 181, 183, .18); }

.tag {
  color: #694E09;
  background: rgba(249, 211, 103, .36);
  border: 1px solid rgba(180, 137, 20, .2);
}
.island-source-guide span,
.island-tag {
  color: var(--liuli-blue-ink);
  background: rgba(99, 181, 183, .18);
  border-color: rgba(36, 93, 95, .18);
}
.growth-line,
.plan-progress { background: rgba(99, 181, 183, .16); }
.growth-line span,
.plan-progress span { background: linear-gradient(90deg, var(--liuli-blue), var(--bergamot-yellow)); }
.island-index,
.year-slice header strong { color: var(--cinnabar-red); }

.mood-icon,
.together-number strong { color: var(--liuli-blue-deep); }
.together-number span { color: var(--cinnabar-red); }
.year-memory-line i { background: linear-gradient(90deg, var(--liuli-blue), var(--bergamot-yellow), var(--cinnabar-red)); }

/* Preserve the approved Earth model, markers and universe palette. */
.earth-section {
  --ink: #fff8f3;
  --muted: #d4c1c7;
  --line: rgba(255, 235, 230, .14);
  --accent: #c25a83;
  --accent-2: #f3c1d9;
  --deep: #2d1826;
  --glass: rgba(39, 24, 33, .52);
  --glass-strong: rgba(39, 24, 33, .66);
}
.earth-section .button:not(.primary):not(.danger) {
  color: #3a2731;
  background: rgba(255, 248, 246, .92);
  border-color: rgba(255, 235, 230, .26);
}

:focus-visible { outline-color: var(--bergamot-yellow); }
::selection { color: var(--liuli-blue-ink); background: var(--bergamot-yellow); }

/* Warm diffusion refinement */
#firsts,
#records,
#planet,
#plans,
#more {
  --ink: #294748;
  --muted: #596A68;
  --glass: rgba(247, 246, 239, .72);
  --glass-strong: rgba(250, 248, 239, .86);
  color: var(--ink);
  background:
    radial-gradient(ellipse 48% 44% at 82% 14%, rgba(249, 211, 103, .38) 0%, rgba(249, 211, 103, .14) 45%, transparent 76%),
    radial-gradient(ellipse 42% 38% at 10% 82%, rgba(194, 65, 45, .19) 0%, rgba(194, 65, 45, .07) 46%, transparent 78%),
    radial-gradient(ellipse 32% 30% at 18% 12%, rgba(99, 181, 183, .13), transparent 72%),
    linear-gradient(145deg, #F7F6EF 0%, #EDEEE8 54%, #F4E9D5 100%);
  background-attachment: fixed;
}
#records,
#plans {
  background:
    radial-gradient(ellipse 54% 42% at 14% 14%, rgba(249, 211, 103, .34) 0%, transparent 72%),
    radial-gradient(ellipse 42% 40% at 88% 78%, rgba(194, 65, 45, .2) 0%, transparent 74%),
    radial-gradient(ellipse 30% 28% at 82% 8%, rgba(99, 181, 183, .12), transparent 70%),
    linear-gradient(155deg, #F6F4E9 0%, #EDEEE8 58%, #F5E8DC 100%);
}
#planet,
#more {
  background:
    radial-gradient(ellipse 52% 44% at 76% 16%, rgba(249, 211, 103, .4) 0%, transparent 72%),
    radial-gradient(ellipse 46% 40% at 12% 80%, rgba(194, 65, 45, .17) 0%, transparent 76%),
    radial-gradient(ellipse 28% 26% at 8% 10%, rgba(99, 181, 183, .12), transparent 70%),
    linear-gradient(145deg, #F8F6EC 0%, #EDEEE8 57%, #F4E7D7 100%);
}

#firsts::before,
#records::before,
#planet::before,
#plans::before,
#more::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .46;
  background:
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, .72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 22%, rgba(194, 65, 45, .18) 0 1px, transparent 1.7px),
    radial-gradient(circle at 64% 76%, rgba(249, 211, 103, .32) 0 1px, transparent 1.8px);
  background-size: 210px 210px, 310px 310px, 270px 270px;
  mask-image: radial-gradient(ellipse at center, #000 22%, transparent 90%);
}

#firsts .section-heading h2,
#records .section-heading h2,
#planet .section-heading h2,
#plans .section-heading h2,
#more h2,
#firsts .record-card h3,
#records .event-record-row h3,
#plans .plan-card h3,
#more .record-card h3 { color: #294748; }
#firsts .section-desc,
#records .section-desc,
#planet .section-desc,
#plans .section-desc,
#more p,
#firsts .record-card p,
#records .event-record-row p,
#plans .plan-card p { color: #596A68; }

#firsts .record-card,
#records .event-record-row,
#planet .island,
#plans .plan-card,
#more .more-grid article,
#more .record-card,
#firsts .editor-form,
#records .editor-form,
#plans .editor-form,
#more .editor-form,
#more .mood {
  background:
    radial-gradient(circle at 92% 10%, rgba(249, 211, 103, .16), transparent 34%),
    linear-gradient(145deg, rgba(250, 249, 242, .82), rgba(239, 238, 229, .72));
  border-color: rgba(173, 123, 63, .18);
  box-shadow: 0 22px 62px rgba(91, 67, 49, .14), inset 0 1px 0 rgba(255, 255, 255, .8);
  backdrop-filter: blur(24px) saturate(1.1);
}
#firsts .record-card:nth-child(even),
#records .event-record-row:nth-child(even),
#plans .plan-card:nth-child(even),
#more .record-card:nth-child(even) {
  background:
    radial-gradient(circle at 8% 88%, rgba(194, 65, 45, .1), transparent 36%),
    linear-gradient(145deg, rgba(250, 249, 242, .84), rgba(241, 235, 226, .74));
}

#firsts input,
#firsts textarea,
#firsts select,
#records input,
#records textarea,
#records select,
#plans input,
#plans textarea,
#plans select,
#more input,
#more textarea,
#more select {
  color: #294748;
  background: rgba(252, 250, 241, .9);
  border-color: rgba(157, 112, 54, .2);
}
#firsts input:focus,
#firsts textarea:focus,
#firsts select:focus,
#records input:focus,
#records textarea:focus,
#records select:focus,
#plans input:focus,
#plans textarea:focus,
#plans select:focus,
#more input:focus,
#more textarea:focus,
#more select:focus {
  border-color: var(--cinnabar-red);
  box-shadow: 0 0 0 3px rgba(194, 65, 45, .12);
}

#firsts .tag,
#records .tag,
#plans .tag,
#more .tag {
  color: #6C4C06;
  background: rgba(249, 211, 103, .32);
  border-color: rgba(180, 137, 20, .2);
}
#planet .island-source-guide span,
#records .island-tag {
  color: #7C2E22;
  background: rgba(194, 65, 45, .09);
  border-color: rgba(194, 65, 45, .18);
}
#planet .island-index,
#more .year-slice header strong { color: var(--cinnabar-red); }
#more .mood-icon,
#more .together-number strong { color: #8F6B14; }

@media (max-width: 760px) {
  #firsts,
  #records,
  #planet,
  #plans,
  #more { background-attachment: scroll; }
}
/* Weighted 40-32-22-6 palette correction */
.site-header {
  background:
    radial-gradient(ellipse 36% 180% at 78% 0%, rgba(249, 211, 103, .34), transparent 72%),
    radial-gradient(ellipse 26% 160% at 12% 100%, rgba(194, 65, 45, .16), transparent 74%),
    linear-gradient(90deg, rgba(246, 246, 239, .94), rgba(237, 238, 232, .92));
  border-color: rgba(194, 65, 45, .16);
  box-shadow: 0 10px 34px rgba(105, 65, 43, .12);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cinnabar-red) 0 22%, var(--bergamot-yellow) 22% 82%, var(--liuli-blue) 82% 88%, transparent 88%);
  opacity: .72;
  pointer-events: none;
}
.brand-mark {
  color: #fff;
  background: linear-gradient(145deg, #D3563F, var(--cinnabar-red));
  box-shadow: 0 7px 18px rgba(194, 65, 45, .24);
}
.site-brand strong { color: #3F4542; }
.site-brand span { color: var(--cinnabar-red); }
.site-nav a { color: #655E50; }
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--cinnabar-red); background: rgba(249, 211, 103, .22); }

.feature-grid {
  background:
    radial-gradient(ellipse 42% 90% at 76% 4%, rgba(249, 211, 103, .42), transparent 74%),
    radial-gradient(ellipse 36% 88% at 12% 94%, rgba(194, 65, 45, .2), transparent 76%),
    linear-gradient(90deg, rgba(237, 238, 232, .76), rgba(249, 211, 103, .16));
}
.feature-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(249, 211, 103, .34), transparent 44%),
    radial-gradient(circle at 8% 92%, rgba(194, 65, 45, .1), transparent 40%),
    linear-gradient(145deg, rgba(247, 246, 239, .9), rgba(240, 235, 217, .8));
  border-color: rgba(184, 132, 44, .22);
  box-shadow: 0 22px 54px rgba(103, 69, 43, .16), inset 0 1px 0 rgba(255, 255, 255, .82);
}
.feature-card:nth-child(even) {
  background:
    radial-gradient(circle at 12% 14%, rgba(194, 65, 45, .2), transparent 42%),
    radial-gradient(circle at 90% 88%, rgba(249, 211, 103, .28), transparent 42%),
    linear-gradient(145deg, rgba(247, 246, 239, .9), rgba(244, 230, 215, .8));
  border-color: rgba(194, 65, 45, .2);
}
.feature-card:nth-child(3) {
  background:
    radial-gradient(circle at 86% 12%, rgba(249, 211, 103, .38), transparent 44%),
    radial-gradient(circle at 10% 88%, rgba(99, 181, 183, .08), transparent 36%),
    linear-gradient(145deg, rgba(247, 246, 239, .92), rgba(242, 235, 211, .8));
}
.feature-card:hover {
  border-color: rgba(194, 65, 45, .38);
  box-shadow: 0 30px 68px rgba(115, 72, 41, .2), inset 0 1px 0 rgba(255, 255, 255, .88);
}
.feature-card .feature-index { color: var(--cinnabar-red); }
.feature-card h2 { color: #3D504D; }
.feature-card p { color: #625F54; }

#firsts,
#records,
#planet,
#plans,
#more {
  background:
    radial-gradient(ellipse 54% 46% at 80% 12%, rgba(249, 211, 103, .46) 0%, rgba(249, 211, 103, .18) 44%, transparent 76%),
    radial-gradient(ellipse 46% 42% at 10% 84%, rgba(194, 65, 45, .25) 0%, rgba(194, 65, 45, .09) 46%, transparent 78%),
    radial-gradient(ellipse 24% 22% at 14% 10%, rgba(99, 181, 183, .08), transparent 70%),
    linear-gradient(145deg, #F7F6EF 0%, #EDEEE8 42%, #F6E5C5 100%);
}
#records,
#plans {
  background:
    radial-gradient(ellipse 56% 44% at 14% 12%, rgba(249, 211, 103, .44) 0%, transparent 72%),
    radial-gradient(ellipse 48% 44% at 88% 82%, rgba(194, 65, 45, .26) 0%, transparent 76%),
    radial-gradient(ellipse 22% 20% at 82% 8%, rgba(99, 181, 183, .07), transparent 68%),
    linear-gradient(155deg, #F6F4E9 0%, #EDEEE8 40%, #F7E3D4 100%);
}
#planet,
#more {
  background:
    radial-gradient(ellipse 58% 48% at 76% 14%, rgba(249, 211, 103, .48) 0%, transparent 72%),
    radial-gradient(ellipse 48% 42% at 10% 84%, rgba(194, 65, 45, .24) 0%, transparent 76%),
    radial-gradient(ellipse 22% 20% at 8% 8%, rgba(99, 181, 183, .07), transparent 68%),
    linear-gradient(145deg, #F8F6EC 0%, #EDEEE8 41%, #F6E2CF 100%);
}

#firsts .record-card,
#records .event-record-row,
#planet .island,
#plans .plan-card,
#more .more-grid article,
#more .record-card,
#firsts .editor-form,
#records .editor-form,
#plans .editor-form,
#more .editor-form,
#more .mood {
  background:
    radial-gradient(circle at 90% 10%, rgba(249, 211, 103, .24), transparent 38%),
    radial-gradient(circle at 8% 90%, rgba(194, 65, 45, .08), transparent 36%),
    linear-gradient(145deg, rgba(249, 248, 240, .86), rgba(241, 235, 220, .76));
  border-color: rgba(181, 128, 43, .2);
  box-shadow: 0 22px 60px rgba(109, 70, 40, .14), inset 0 1px 0 rgba(255, 255, 255, .82);
}
/* Contrast hardening pass */
.site-brand strong {
  color: #343B39;
}
.site-nav a {
  color: #494A45;
  font-weight: 650;
}
.feature-card h2 {
  color: #243F40;
}
.feature-card p {
  color: #4F5752;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.65;
}

/* Island captions sit on bright artwork, so use grounded ink with a soft paper lift. */
#planet .island .island-content h3 {
  color: #263F40 !important;
  font-weight: 780;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .96),
    0 2px 8px rgba(247, 246, 239, .92);
}
#planet .island .island-content p {
  color: #435451 !important;
  font-weight: 620;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .96),
    0 2px 7px rgba(247, 246, 239, .96);
}
#planet .island .island-index {
  color: #C2412D !important;
  font-weight: 800;
}

/* The Earth record rail is intentionally dark and needs its own inverse palette. */
.earth-section .earth-record-panel,
.earth-section .earth-record-panel p {
  color: #EDEEE8;
}
.earth-section .earth-record-panel .record-card h3 {
  color: #F9D367 !important;
  font-weight: 760;
}
.earth-section .earth-record-panel .record-card p,
.earth-section .earth-record-panel .record-card time {
  color: #E8E5DE !important;
}
.earth-section .earth-record-panel .tag {
  color: #302716 !important;
  background: #F9D367 !important;
  border-color: rgba(249, 211, 103, .72) !important;
  font-weight: 700;
}

/* Keep all light content surfaces on one readable ink scale. */
#firsts .record-card p,
#records .event-record-row p,
#plans .plan-card p,
#more .record-card p,
#more .more-grid article p,
#more .year-slice p,
#more #reminderList .record-card p {
  color: #4B5B58 !important;
  font-weight: 520;
}
#more .year-slice h3,
#more #reminderList .record-card h3 {
  color: #294748 !important;
}
#more .year-memory-line span {
  color: #485753 !important;
  font-weight: 650;
}
#more .mood span {
  color: #465653 !important;
  font-weight: 650;
}
#more .mood b {
  color: #294748 !important;
}
#firsts label,
#records label,
#plans label,
#more label {
  color: #3E504D;
}
#firsts input::placeholder,
#firsts textarea::placeholder,
#records input::placeholder,
#records textarea::placeholder,
#plans input::placeholder,
#plans textarea::placeholder,
#more input::placeholder,
#more textarea::placeholder {
  color: #747D78;
  opacity: 1;
}

@media (max-width: 760px) {
  .site-nav a {
    color: #3F4542;
    font-weight: 700;
  }
  .feature-card p {
    font-size: 12px;
  }
}
/* Floating entry transparency refinement */
.feature-grid {
  z-index: 8;
  margin-top: -154px;
  padding: 0 clamp(18px, 5vw, 72px) 46px;
  background: transparent !important;
  border: 0;
  box-shadow: none;
}
.feature-grid::before,
.feature-grid::after {
  content: none !important;
  display: none !important;
}
.feature-card,
.feature-card:nth-child(even),
.feature-card:nth-child(3) {
  background:
    radial-gradient(circle at 88% 12%, rgba(249, 211, 103, .11), transparent 46%),
    radial-gradient(circle at 8% 92%, rgba(194, 65, 45, .035), transparent 42%),
    linear-gradient(145deg, rgba(247, 246, 239, .36), rgba(240, 235, 217, .22));
  border-color: rgba(255, 255, 255, .66);
  box-shadow:
    0 24px 58px rgba(76, 54, 40, .16),
    inset 0 1px 0 rgba(255, 255, 255, .82);
  backdrop-filter: blur(24px) saturate(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
}
.feature-card:nth-child(even) {
  background:
    radial-gradient(circle at 12% 14%, rgba(194, 65, 45, .06), transparent 44%),
    radial-gradient(circle at 90% 88%, rgba(249, 211, 103, .09), transparent 44%),
    linear-gradient(145deg, rgba(247, 246, 239, .34), rgba(244, 230, 215, .21));
}
.feature-card:nth-child(3) {
  background:
    radial-gradient(circle at 86% 12%, rgba(249, 211, 103, .12), transparent 46%),
    radial-gradient(circle at 10% 88%, rgba(99, 181, 183, .03), transparent 38%),
    linear-gradient(145deg, rgba(247, 246, 239, .36), rgba(242, 235, 211, .22));
}
.feature-card:hover {
  border-color: rgba(255, 255, 255, .9);
  box-shadow:
    0 30px 68px rgba(90, 58, 38, .2),
    inset 0 1px 0 rgba(255, 255, 255, .92);
}

@media (max-width: 760px) {
  .feature-grid {
    margin-top: -92px;
    padding: 0 16px 42px;
  }
}
/* Compact Earth title panel */
body:not(.editing) .earth-copy-panel {
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 17px 22px 18px;
}
body:not(.editing) .earth-copy-panel .eyebrow {
  margin: 0 0 7px;
}
body:not(.editing) .earth-copy-panel h2 {
  margin: 0;
  line-height: 1.08;
}
body.editing .earth-copy-panel {
  width: min(520px, calc(100% - 32px));
  padding: 26px;
}

@media (max-width: 760px) {
  body:not(.editing) .earth-copy-panel {
    width: fit-content;
    margin: 74px 16px 16px;
    padding: 15px 19px 16px;
  }
  body.editing .earth-copy-panel {
    width: auto;
    margin: 74px 16px 16px;
  }
}
/* Shared cloud editing */
.cloud-status {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #5F625D;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  border: 1px solid rgba(99, 181, 183, .18);
  border-radius: 999px;
  background: rgba(237, 238, 232, .52);
}
.cloud-status[data-type="success"] {
  color: #285D5E;
  background: rgba(99, 181, 183, .15);
}
.cloud-status[data-type="saving"] {
  color: #775B14;
  background: rgba(249, 211, 103, .2);
}
.cloud-status[data-type="error"],
.cloud-status[data-type="warn"] {
  color: #8F3023;
  background: rgba(194, 65, 45, .1);
}
.logout-button {
  min-height: 34px;
  padding: 7px 11px;
  color: #69483F;
  font-size: 12px;
  background: rgba(237, 238, 232, .66);
  border: 1px solid rgba(194, 65, 45, .16);
  border-radius: 999px;
  cursor: pointer;
}
.login-dialog {
  width: min(420px, calc(100% - 32px));
  padding: 0;
  color: #294748;
  background: transparent;
  border: 0;
  overflow: visible;
}
.login-dialog::backdrop {
  background: rgba(21, 18, 22, .54);
  backdrop-filter: blur(10px);
}
.login-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 30px;
  background:
    radial-gradient(circle at 86% 8%, rgba(249, 211, 103, .24), transparent 38%),
    linear-gradient(145deg, rgba(247, 246, 239, .94), rgba(237, 238, 232, .88));
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(25, 20, 24, .28), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(26px);
}
.login-panel h2,
.login-panel p {
  margin: 0;
}
.login-panel > p:not(.eyebrow):not(.login-error) {
  color: #586560;
  line-height: 1.7;
}
.login-panel label {
  display: grid;
  gap: 8px;
  color: #344D4B;
  font-size: 13px;
  font-weight: 700;
}
.login-panel input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: #293C3A;
  font: inherit;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(99, 181, 183, .28);
  border-radius: 7px;
  outline: none;
}
.login-panel input:focus {
  border-color: #63B5B7;
  box-shadow: 0 0 0 3px rgba(99, 181, 183, .15);
}
.login-error {
  min-height: 20px;
  color: #A03526;
  font-size: 13px;
}
.login-panel .dialog-close {
  right: 12px;
  top: 12px;
}
@media (max-width: 760px) {
  .cloud-status {
    order: 4;
  }
  .logout-button {
    order: 5;
  }
  .login-panel {
    padding: 26px 22px 22px;
  }
}