:root {
  --paper: #f4efdf;
  --paper-light: #fffdf6;
  --ink: #183b2b;
  --muted: #657568;
  --green: #315d45;
  --sprout: #83a35f;
  --lemon: #edcf4b;
  --orange: #de754a;
  --line: rgba(35, 72, 52, .16);
  --shadow: 0 28px 80px rgba(42, 62, 45, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.paper-grain {
  position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .22;
  /* Avoid SVG feTurbulence here: it forces a full-viewport repaint on scroll. */
  background-image: radial-gradient(rgba(24,59,43,.08) .7px, transparent .7px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}
.site-header {
  position: fixed; z-index: 15; top: 0; left: 0; right: 0; height: 76px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 4vw;
  background: rgba(244, 239, 223, .82); border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px); transition: .3s;
}
.site-header.scrolled { border-color: var(--line); }
.brand { display: flex; gap: 11px; align-items: center; font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.brand-fruit {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 52% 48% 50% 45%;
  color: var(--ink); background: var(--lemon); font-family: serif; transform: rotate(-5deg);
}
.brand-fruit::before { content: ""; position: absolute; width: 8px; height: 5px; background: var(--green); border-radius: 100% 0; transform: translate(10px, -18px) rotate(-25deg); }
.chapter-nav { display: flex; gap: 30px; font-size: 13px; color: var(--muted); }
.chapter-nav a { position: relative; }
.chapter-nav a::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -7px; background: var(--green); transition: .25s; }
.chapter-nav a:hover::after { right: 0; }
.personal-home-entry {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 14px;
  min-height: 34px; padding: 0 13px; border: 1px solid rgba(49,93,69,.25);
  border-radius: 999px; color: var(--green); background: rgba(255,253,246,.68);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; transition: .25s;
}
.personal-home-entry:hover { color: var(--paper-light); background: var(--green); transform: translateY(-1px); }
.personal-home-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lemon); box-shadow: 0 0 0 4px rgba(237,207,75,.18); }
.sound-button { border: 1px solid var(--line); background: rgba(255,255,255,.28); border-radius: 50px; padding: 9px 14px; display: flex; align-items: center; gap: 9px; color: var(--muted); cursor: pointer; }
.sound-bars { display: flex; height: 12px; align-items: center; gap: 2px; }
.sound-bars i { display: block; width: 2px; height: 5px; background: var(--green); }
.sound-bars i:nth-child(2) { height: 10px; }
.sound-button[aria-pressed="true"] .sound-bars i { animation: soundWave .7s ease-in-out infinite alternate; }
.sound-button[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -.3s; }
.sound-button[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -.5s; }
@keyframes soundWave { to { height: 12px; } }
.sound-label { font-size: 11px; }

.hero { min-height: 100svh; position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; padding: 120px 8vw 90px; }
.hero::before { content: ""; position: absolute; inset: 76px 0 0; background: linear-gradient(90deg, transparent 49.9%, var(--line) 50%, transparent 50.1%); pointer-events: none; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--orange); }
.hero h1, h2 { font-family: "Songti SC", "STSong", serif; font-weight: 500; }
.hero h1 { margin: 20px 0 28px; font-size: clamp(48px, 5.7vw, 83px); line-height: 1.12; letter-spacing: -.05em; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-intro { max-width: 630px; font-size: 17px; line-height: 1.9; color: var(--muted); }
.hero-actions, .now-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border-radius: 14px; font-size: 14px; font-weight: 700; }
.button.primary { color: #fffdf6; background: var(--green); box-shadow: 0 12px 30px rgba(49,93,69,.2); }
.button.primary:hover { transform: translateY(-2px); }
.text-button { padding: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.text-button span { margin-left: 10px; color: var(--orange); }
.hero-garden { height: 610px; position: relative; display: grid; place-items: center; }
.hero-garden::after { content: ""; position: absolute; width: 66%; height: 20px; bottom: 65px; border-radius: 50%; background: rgba(44,69,49,.12); filter: blur(10px); }
.orbit { position: absolute; border: 1px dashed rgba(49,93,69,.24); border-radius: 50%; }
.orbit-one { width: 480px; height: 480px; animation: orbit 40s linear infinite; will-change: transform; }
.orbit-two { width: 360px; height: 520px; transform: rotate(34deg); }
@keyframes orbit { to { transform: rotate(360deg); } }
.tree { position: relative; width: 300px; height: 480px; }
.trunk { position: absolute; left: 143px; bottom: 30px; width: 18px; height: 310px; border-radius: 100% 0 30% 10%; background: var(--green); transform: rotate(3deg); }
.trunk::before, .trunk::after { content: ""; position: absolute; width: 115px; height: 10px; background: var(--green); border-radius: 10px; transform-origin: left; }
.trunk::before { top: 80px; left: 5px; transform: rotate(-38deg); }
.trunk::after { top: 145px; left: 9px; transform: rotate(210deg); }
.leaf { position: absolute; z-index: 2; width: 115px; height: 65px; background: var(--sprout); border-radius: 100% 0 100% 0; box-shadow: inset 0 -7px 0 rgba(24,59,43,.08); }
.leaf-a { left: 35px; top: 95px; transform: rotate(12deg); }
.leaf-b { right: 10px; top: 160px; transform: rotate(104deg); }
.leaf-c { left: 38px; top: 230px; transform: rotate(30deg) scale(.8); }
.leaf-d { right: 35px; top: 52px; transform: rotate(125deg) scale(.76); }
.fruit { position: absolute; z-index: 3; display: grid; place-items: center; width: 78px; height: 86px; border-radius: 54% 46% 52% 48%; background: var(--lemon); font-family: serif; font-weight: 700; box-shadow: inset -8px -8px 0 rgba(198,152,26,.12), 0 14px 20px rgba(46,69,47,.12); animation: float 5s ease-in-out infinite; }
.fruit-a { top: 100px; right: 43px; }
.fruit-b { top: 225px; left: 15px; animation-delay: -2s; }
.fruit-c { top: 298px; right: 32px; width: 64px; height: 70px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(2deg); } }
.sun-note { position: absolute; right: 3%; top: 12%; width: 108px; height: 108px; border-radius: 50%; background: var(--orange); color: #fff7e9; display: grid; place-content: center; text-align: center; font: 12px/1.5 serif; transform: rotate(8deg); }
.sun-note b { font-size: 22px; }
.hand-note { position: absolute; left: 1%; bottom: 20%; font-family: "Kaiti SC", serif; line-height: 1.65; transform: rotate(-7deg); color: var(--muted); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.scroll-cue i { display: block; height: 36px; width: 1px; background: var(--green); animation: scrollLine 1.8s ease infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

.route-picker { padding: 42px 8vw 60px; background: var(--ink); color: var(--paper-light); }
.route-picker > p { margin: 0 0 24px; color: #b7c5bb; font-size: 13px; }
.route-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.route-list a { display: grid; grid-template-columns: 35px 1fr; padding: 10px 30px 10px 0; border-right: 1px solid rgba(255,255,255,.14); }
.route-list a + a { padding-left: 30px; }
.route-list a:last-child { border: 0; }
.route-list span { grid-row: span 2; color: var(--lemon); font: 15px serif; }
.route-list b { font: 22px serif; }
.route-list small { color: #a7b6ab; margin-top: 7px; }

.story-section, .worlds-section, .now-section { padding: 130px 8vw; position: relative; }
.story-section, .reborn, .worlds-section, .now-section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}
.section-number { position: absolute; left: 3vw; top: 138px; writing-mode: vertical-rl; font: 10px serif; letter-spacing: .16em; color: var(--muted); }
.section-heading { max-width: 820px; margin-bottom: 72px; }
.section-heading h2, .reborn-sticky h2, .now-card h2 { margin: 14px 0 24px; font-size: clamp(40px, 5vw, 70px); line-height: 1.18; letter-spacing: -.04em; }
.section-heading > p:last-child { font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 620px; }
.story-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 9vw; align-items: center; }
.story-prose { max-width: 540px; }
.story-prose p { line-height: 1.95; color: var(--muted); }
.story-prose .lead { color: var(--ink); font: 25px/1.6 serif; }
.story-prose aside { margin-top: 38px; padding: 28px 0 28px 28px; border-left: 3px solid var(--lemon); font: 23px/1.7 "Kaiti SC", serif; }
.root-map { height: 570px; position: relative; }
.root-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.root-map path { fill: none; stroke: var(--green); stroke-width: 1.5; stroke-dasharray: 5 7; }
.root-core, .root-item { position: absolute; z-index: 2; background: var(--paper-light); border: 1px solid var(--line); box-shadow: var(--shadow); }
.root-core { left: 50%; top: 50%; transform: translate(-50%,-50%); width: 152px; height: 152px; border-radius: 50%; display: grid; place-content: center; text-align: center; font: 30px serif; background: var(--lemon); }
.root-core span { display: block; margin-top: 5px; font: 11px sans-serif; }
.root-item { width: 180px; padding: 20px; border-radius: 50% 45% 50% 45%; }
.root-item b, .root-item span { display: block; }
.root-item b { font: 19px serif; margin-bottom: 7px; }
.root-item span { font-size: 11px; color: var(--muted); line-height: 1.5; }
.item-a { left: 0; top: 20px; transform: rotate(-3deg); }
.item-b { right: 0; top: 0; transform: rotate(4deg); }
.item-c { left: -15px; bottom: 10px; transform: rotate(2deg); }
.item-d { right: -10px; bottom: 0; transform: rotate(-4deg); }

.reborn { background: var(--green); color: var(--paper-light); }
.reborn .section-number { color: #aec1b4; }
.reborn-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.reborn-sticky { position: sticky; top: 150px; height: max-content; }
.reborn-sticky .eyebrow { color: var(--lemon); }
.reborn-sticky > p:not(.eyebrow) { color: #c4d1c7; font-size: 16px; line-height: 1.85; max-width: 500px; }
.chapter-progress { margin-top: 50px; display: flex; align-items: center; gap: 15px; color: #adbeaf; font-size: 11px; }
.chapter-progress i { width: 70px; height: 1px; background: var(--lemon); }
.transformation-list { display: grid; gap: 26px; }
.transform-card { min-height: 320px; padding: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: rgba(255,255,255,.055); }
.transform-card > span { color: var(--lemon); font: 13px serif; }
.transform-card p { margin: 38px 0 7px; color: #afc1b3; font-size: 12px; }
.transform-card h3 { margin: 0; font: 34px/1.35 serif; }
.transform-card i { display: block; margin: 28px 0 8px; color: var(--lemon); font: 14px "Kaiti SC", serif; }
.transform-card.signature { background: var(--lemon); color: var(--ink); transform: rotate(-1.2deg); }
.transform-card.signature > span, .transform-card.signature p { color: var(--ink); opacity: .65; }
.transform-card.signature small { display: block; margin-top: 35px; line-height: 1.8; }

.worlds-section { background: #e9e4d4; }
.world-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.world-card { min-height: 500px; padding: 24px; border-radius: 24px; background: var(--paper-light); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; overflow: hidden; contain: layout paint; }
.world-card[type="button"] { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.world-card:hover { transform: translateY(-8px) rotate(.3deg); box-shadow: var(--shadow); }
.status { float: right; padding: 7px 10px; border: 1px solid var(--line); border-radius: 20px; font-size: 10px; }
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--sprout); }
.world-visual { clear: both; position: relative; height: 230px; margin: 28px 0 22px; border-radius: 18px; overflow: hidden; background: #d8e0c7; }
.world-visual--image { background-color: #f4eddf; background-position: center; background-repeat: no-repeat; background-size: cover; border: 1px solid rgba(39,65,49,.1); }
.design .world-visual--image { background-image: url("./workspace-design-art-v2.png"); }
.reader .world-visual--reader { background-image: url("./workspace-reader-art-v2.png"); }
.world-visual--image::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(39,65,49,.12); border-radius: 14px; pointer-events: none; }
.product-poster {
  border: 1px solid rgba(39,65,49,.12);
  color: var(--ink);
}
.product-poster::before {
  content: ""; position: absolute; left: 50%; top: 52%;
  transform: translate(-50%,-50%); box-shadow: inset -10px -12px 0 rgba(24,59,43,.08);
}
.product-poster::after {
  content: ""; position: absolute; left: calc(50% + 36px); top: 24%;
  width: 42px; height: 22px; border-radius: 100% 0;
  background: #4f754e; transform: rotate(-26deg);
}
.poster-design { background: #ead675; }
.poster-reader { background: #c8d8c0; }
.poster-studio { background: #b9d0d2; }
.poster-community { background: #d99a7e; }
.poster-lemon { background: #d8bdc5; }

.fruit-lemon::before {
  width: 122px; height: 150px; border-radius: 55% 45% 53% 47%;
  background: #f5dc48; transform: translate(-50%,-50%) rotate(-8deg);
}
.fruit-pear::before {
  width: 120px; height: 148px; border-radius: 48% 52% 52% 48% / 66% 66% 34% 34%;
  background: #a9bf67; transform: translate(-50%,-42%);
}
.fruit-pear::after { left: calc(50% + 20px); top: 21%; }
.fruit-orange::before {
  width: 145px; height: 145px; border-radius: 50%;
  background: #e98d47;
}
.fruit-orange::after { left: calc(50% + 24px); top: 22%; }
.fruit-apple::before {
  width: 150px; height: 140px; border-radius: 48% 52% 50% 50% / 40% 42% 58% 60%;
  background: #c95f4c;
}
.fruit-apple::after { left: calc(50% + 22px); top: 21%; }
.fruit-peach::before {
  width: 148px; height: 148px; border-radius: 52% 48% 50% 50%;
  background: #ef9d89; transform: translate(-50%,-50%) rotate(8deg);
}
.fruit-peach::after { left: calc(50% + 30px); top: 22%; background: #55764f; }
.design .world-visual { background: #e6c94d; }
.design .world-visual i { position: absolute; width: 160px; height: 110px; background: #fff9eb; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.design .world-visual i:nth-child(1) { left: 18%; top: 18%; transform: rotate(-8deg); }
.design .world-visual i:nth-child(2) { right: 15%; bottom: 12%; transform: rotate(7deg); }
.design .world-visual i:nth-child(3) { left: 38%; top: 36%; background: var(--orange); }
.design .world-visual b { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; font: 90px serif; }
.book::before, .book::after { content: ""; position: absolute; top: 42px; bottom: 42px; width: 37%; background: #fffdf6; border: 1px solid var(--line); }
.book::before { left: 13%; transform: skewY(5deg); }
.book::after { right: 13%; transform: skewY(-5deg); }
.book b { position: absolute; z-index: 2; left: 0; right: 0; top: 95px; text-align: center; font: 25px/1.7 serif; }
.nodes i { position: absolute; width: 65px; height: 65px; border: 1px solid var(--ink); border-radius: 18px; background: var(--paper-light); }
.nodes i::after { content: ""; position: absolute; width: 110px; height: 1px; background: var(--ink); top: 32px; left: 63px; transform-origin: left; }
.nodes i:nth-child(1) { left: 12%; top: 39%; }
.nodes i:nth-child(2) { left: 42%; top: 14%; }
.nodes i:nth-child(3) { right: 10%; top: 42%; }
.nodes i:nth-child(4) { left: 42%; bottom: 10%; }
.nodes i:nth-child(2)::after { transform: rotate(40deg); }
.nodes i:nth-child(3)::after { display:none; }
.nodes i:nth-child(4)::after { transform: rotate(-145deg); }
.people { background: #df805c; }
.people i { position: absolute; bottom: 35px; width: 110px; height: 160px; background: var(--paper-light); border-radius: 60px 60px 15px 15px; }
.people i::before { content: ""; position: absolute; left: 25px; top: -43px; width: 60px; height: 60px; border-radius: 50%; background: var(--lemon); }
.people i:nth-child(1) { left: 9%; transform: rotate(-5deg); }
.people i:nth-child(2) { left: 38%; height: 180px; }
.people i:nth-child(3) { right: 8%; transform: rotate(5deg); }
.people b { position: absolute; z-index: 2; top: 25px; left: 0; right: 0; text-align: center; font: 25px "Kaiti SC", serif; }
.miniapp { grid-column: 1 / -1; min-height: 470px; display: grid; grid-template-columns: minmax(320px, .95fr) 1.05fr; grid-template-rows: auto 1fr; column-gap: 54px; }
.miniapp .status { grid-column: 2; justify-self: end; }
.miniapp .miniapp-visual { grid-column: 1; grid-row: 1 / span 2; height: 410px; margin: 0; background: var(--ink); }
.miniapp > p, .miniapp > h3, .miniapp > small, .miniapp > strong { grid-column: 2; }
.miniapp > p { align-self: end; }
.miniapp > h3 { font-size: clamp(32px, 4vw, 54px); max-width: 600px; }
.miniapp-visual::before { content: ""; position: absolute; width: 210px; height: 235px; left: 50%; top: 48%; transform: translate(-50%,-50%) rotate(-4deg); border-radius: 54% 46% 50% 48%; background: var(--lemon); box-shadow: inset -18px -20px 0 rgba(198,152,26,.15), 0 30px 60px rgba(0,0,0,.25); }
.miniapp-visual b { position: absolute; z-index: 3; left: 0; right: 0; top: 115px; color: var(--ink); text-align: center; font: 38px/1.05 serif; transform: rotate(-4deg); }
.miniapp-visual b em { font-size: 55px; font-style: normal; }
.miniapp-visual > small { position: absolute; z-index: 3; left: 50%; bottom: 57px; width: 230px; transform: translateX(-50%); color: #c4d1c7; text-align: center; line-height: 1.7; }
.miniapp-leaf { position: absolute; z-index: 4; left: calc(50% + 58px); top: 63px; width: 55px; height: 28px; border-radius: 100% 0; background: var(--sprout); transform: rotate(-25deg); }
.miniapp-orbit { position: absolute; border: 1px dashed rgba(237,207,75,.32); border-radius: 50%; }
.miniapp-orbit.orbit-a { width: 330px; height: 330px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.miniapp-orbit.orbit-b { width: 385px; height: 245px; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(32deg); }
.world-card > p { margin: 0; font-size: 10px; letter-spacing: .16em; color: var(--orange); }
.world-card h3 { max-width: 470px; margin: 12px 0; font: 29px/1.45 serif; }
.world-card small { color: var(--muted); }
.world-card strong { display: block; margin-top: 28px; font-size: 13px; }

.now-section { padding-bottom: 150px; }
.now-card { position: relative; padding: 75px; background: var(--paper-light); border: 1px solid var(--line); border-radius: 36px; box-shadow: var(--shadow); overflow: hidden; }
.now-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); border-radius: 28px; pointer-events: none; }
.now-card h2 { max-width: 820px; }
.now-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 900px; margin-top: 55px; }
.now-columns span { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.now-columns ul { padding: 0; list-style: none; }
.now-columns li { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.now-columns li::before { content: "↳"; margin-right: 10px; color: var(--green); }
.growing-seal { position: absolute; right: 70px; bottom: 60px; width: 105px; height: 105px; border: 1px solid var(--orange); border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--orange); font: 19px/1.4 "Kaiti SC", serif; transform: rotate(-10deg); }
footer { min-height: 190px; display: flex; align-items: center; justify-content: space-between; padding: 0 8vw; border-top: 1px solid var(--line); }
footer > div { display: flex; align-items: center; gap: 12px; }
footer p, footer a { color: var(--muted); font-size: 11px; }
.audio-dock {
  position: fixed; z-index: 18; left: 50%; bottom: 24px; transform: translate(-50%, 130%);
  width: min(720px, calc(100vw - 32px)); min-height: 76px; padding: 11px 14px;
  display: grid; grid-template-columns: 48px 1fr auto auto 28px; align-items: center; gap: 14px;
  color: var(--paper-light); background: rgba(24,59,43,.96); border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px; box-shadow: 0 24px 70px rgba(15,36,25,.32); backdrop-filter: blur(10px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.audio-dock.open { transform: translate(-50%, 0); }
.audio-main { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--lemon); color: var(--ink); cursor: pointer; font-size: 16px; }
.audio-copy { min-width: 0; }
.audio-kicker { display: block; color: #b8cabd; font-size: 9px; letter-spacing: .16em; }
.audio-title { display: block; margin: 5px 0 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 14px serif; }
.audio-next { display: block; margin: -2px 0 7px; color: #b8cabd; font-size: 9px; }
.audio-progress { height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; cursor: pointer; }
.audio-progress i { display: block; width: 0; height: 100%; background: var(--lemon); }
.audio-time { font-size: 10px; color: #b8cabd; font-variant-numeric: tabular-nums; }
.audio-switch { border: 1px solid rgba(255,255,255,.22); color: var(--paper-light); background: transparent; border-radius: 50px; padding: 9px 13px; cursor: pointer; font-size: 10px; }
.audio-close { border: 0; background: transparent; color: #b8cabd; font-size: 20px; cursor: pointer; }
.copy-toast { position: fixed; z-index: 30; left: 50%; bottom: 120px; padding: 13px 19px; border-radius: 50px; color: var(--paper-light); background: var(--ink); box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .25s; }
.copy-toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Keep the page calm on low-power devices and for motion-sensitive visitors. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 900px) {
  .chapter-nav { display: none; }
  .personal-home-entry { margin-left: auto; margin-right: 8px; min-height: 31px; padding: 0 10px; }
  .personal-home-entry span:last-child { display: none; }
  .sound-label { display: none; }
  .site-header { height: 64px; padding: 0 20px; }
  .hero { grid-template-columns: 1fr; padding: 115px 24px 75px; }
  .hero::before { display: none; }
  .hero h1 { font-size: 44px; }
  .hero-garden { height: 460px; transform: scale(.82); margin: -25px -40px; }
  .scroll-cue { display: none; }
  .route-picker { padding: 35px 24px; }
  .route-list { grid-template-columns: 1fr; }
  .route-list a, .route-list a + a { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .story-section, .worlds-section, .now-section { padding: 90px 24px; }
  .section-number { display: none; }
  .section-heading h2, .reborn-sticky h2, .now-card h2 { font-size: 40px; }
  .story-grid, .reborn-layout { grid-template-columns: 1fr; gap: 60px; }
  .root-map { transform: scale(.86); margin: -35px; }
  .reborn-sticky { position: relative; top: 0; }
  .world-grid { grid-template-columns: 1fr; }
  .world-card { min-height: 540px; }
  .miniapp { grid-column: auto; display: block; min-height: 600px; }
  .miniapp .status { float: right; }
  .miniapp .miniapp-visual { height: 330px; margin: 42px 0 28px; }
  .miniapp > h3 { font-size: 34px; }
  .now-card { padding: 52px 28px; border-radius: 24px; }
  .now-columns { grid-template-columns: 1fr; gap: 30px; }
  .growing-seal { display: none; }
  .now-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  footer { padding: 45px 24px; align-items: flex-start; flex-direction: column; gap: 25px; }
  .audio-dock { grid-template-columns: 42px 1fr auto 22px; gap: 10px; bottom: 12px; min-height: 70px; padding: 10px; border-radius: 18px; }
  .audio-main { width: 42px; height: 42px; }
  .audio-switch { grid-column: 2 / 5; width: max-content; padding: 5px 0; border: 0; color: var(--lemon); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
