@charset "UTF-8";

:root {
  --paper: #e7ede5;
  --ink: #344e47;
  --muted: #7f9387;
  --line: #738d7329;
  --coral: #c98270;
  --gold: #b4995d;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 340px; min-height: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a, canvas { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button { border: 0; background: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, canvas:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; }
button:disabled { opacity: .38; cursor: wait; }
button, a { touch-action: manipulation; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.experience { position: relative; min-height: 800px; height: 100svh; max-height: 1400px; overflow: hidden; isolation: isolate; }
.experience::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: .038; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.76' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.header { position: absolute; top: 0; left: 0; right: 0; padding: 32px 4.3%; display: flex; align-items: center; justify-content: space-between; z-index: 6; }
.brand { display: flex; gap: 13px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-mark { width: 34px; height: 39px; stroke-width: 1.2; }
.brand-name { font-family: var(--serif); font-size: 23px; letter-spacing: 7px; line-height: 1.3; }
.brand-name > span { display: block; font-family: var(--sans); font-size: 7px; letter-spacing: 2.1px; margin-top: 4px; color: #71877b; }
.edition { font-size: 9px; letter-spacing: 2.9px; color: #849589; display: flex; align-items: center; gap: 19px; padding-right: 78px; }
.edition-line { height: 1px; width: 27px; background: var(--line); }
.header-actions { display: flex; gap: 12px; }
.icon-button { width: 39px; height: 39px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #71877c; transition: background .2s, color .2s, transform .2s; }
.icon-button svg { width: 19px; height: 19px; }
.icon-button:hover { background: #f8fbf36b; color: var(--ink); transform: translateY(-2px); }
.icon-button[aria-pressed="true"] { background: #ffffff70; color: #b67b62; }
.introduction { position: absolute; left: 6.7%; top: 22%; width: 266px; z-index: 3; animation: reveal 1.1s ease both; }
.chapter-label { color: #7d9181; font-size: 10px; letter-spacing: 2px; display: flex; align-items: center; gap: 10px; }
.tiny-diamond { width: 5px; height: 5px; transform: rotate(45deg); border: 1px solid #98ab96; margin-right: 2px; }
.chapter-divider { color: #a4b3a3; margin: 0 2px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 4.9vw, 79px); line-height: 1.28; letter-spacing: 11px; margin: 29px 0 17px -4px; }
h1 > span { display: block; }
.title-period { margin-left: -7px; font-size: 51px; color: #b2b89c; }
.english-title { font-size: 9px; letter-spacing: 3.8px; color: #788d7e; margin: 0; }
.intro-rule { width: 29px; height: 1px; background: #a9b59e; margin: 26px 0 22px; }
.story { font-family: var(--serif); font-size: 13px; line-height: 2.05; letter-spacing: 1.5px; color: #768b7c; margin: 0; }
.objective { margin-top: 35px; }
.objective-label { display: inline-block; font-size: 9px; letter-spacing: 2px; color: #9aab96; }
.objective > p { font-size: 10px; letter-spacing: .8px; margin: 11px 0 18px; color: #708578; }
.milestones { display: flex; align-items: flex-start; width: 209px; }
.milestone { width: 39px; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 9px; letter-spacing: 1px; color: #879882; transition: color .5s; }
.seal { width: 32px; height: 32px; border: 1px solid #a4b09676; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #99a487; transition: all .6s; }
.seal svg { width: 17px; height: 17px; stroke-width: 1.2; }
.moon-seal { font-family: Georgia, serif; font-size: 24px; line-height: 1; padding-bottom: 3px; }
.milestone-line { height: 1px; width: 40px; background: #a7b39458; margin: 16px 3px 0; }
.milestone.collected { color: #9c7c45; }
.milestone.collected .seal { color: #9c7c45; background: #f5e8c178; border-color: #baa36f; box-shadow: 0 0 0 5px #dbc98c13; }
.text-button { display: flex; align-items: center; gap: 8px; padding: 7px 0; color: #7b8e7c; font-size: 10px; letter-spacing: 1px; transition: color .2s; }
.text-button:hover { color: #b47862; }
.text-button svg { width: 14px; height: 14px; }
#hint-button { margin-top: 27px; }
.small-arrow { font-size: 14px; margin-left: 18px; }
.scene-area { position: absolute; left: 28%; right: 7%; top: 100px; bottom: 145px; }
.scene-halo { position: absolute; width: min(92%, 650px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 45% 36%, #f2f2df9c, #d5e1d38c 63%, #d3dfd000 71%); top: 50%; left: 50%; transform: translate(-50%, -49%); opacity: .7; pointer-events: none; }
.orbital { position: absolute; top: 49%; left: 50%; width: 78%; height: 35%; transform: translate(-50%, -50%) rotate(-25deg); border: 1px solid #8fa28d15; border-radius: 50%; pointer-events: none; }
.orbital-two { width: 82%; height: 50%; transform: translate(-50%, -50%) rotate(35deg); border-color: #8fa28d0d; }
#garden { width: 100%; height: 100%; position: relative; display: block; outline-offset: -7px; touch-action: none; cursor: grab; z-index: 1; animation: scene-reveal 1.5s ease both; }
#garden.dragging { cursor: grabbing; }
.scene-caption { position: absolute; top: 5%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: 2px; color: #879783; white-space: nowrap; z-index: 2; pointer-events: none; }
.live-dot { width: 4px; height: 4px; border-radius: 50%; background: #9dae8d; box-shadow: 0 0 0 3px #9dae8d15; }
.scene-coordinate { position: absolute; bottom: 9%; right: 1%; display: flex; flex-direction: column; gap: 7px; font-size: 7px; letter-spacing: 1.7px; color: #95a28d; text-align: right; }
.scene-coordinate span:last-child { font-size: 8px; letter-spacing: 1.2px; }
.arrival-note { position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; align-items: center; font-size: 10px; letter-spacing: 2px; color: #84927c; white-space: nowrap; pointer-events: none; transition: opacity .8s; }
.arrival-dot { width: 4px; height: 4px; background: #b79b65; transform: rotate(45deg); animation: breathe 3s ease-in-out infinite; }
.arrival-note.hidden { opacity: 0; }
.toast { position: absolute; left: 50%; bottom: 12%; max-width: min(430px, 94%); width: max-content; transform: translate(-50%, 8px); padding: 13px 20px; background: #f6f5eade; border: 1px solid #ffffffb3; box-shadow: 0 8px 30px #586e5410; border-radius: 5px; font-size: 11px; line-height: 1.8; letter-spacing: .6px; text-align: center; opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; z-index: 6; backdrop-filter: blur(10px); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.right-rail { position: absolute; top: 33%; right: 3.5%; display: flex; flex-direction: column; align-items: center; gap: 20px; z-index: 3; }
.rail-line { width: 1px; height: 40px; background: var(--line); }
.rail-label { writing-mode: vertical-rl; font-family: var(--serif); color: #8ea087; font-size: 10px; letter-spacing: 5px; }
.right-rail .icon-button { width: 32px; height: 32px; }
.right-rail .icon-button + .icon-button { margin-top: -13px; }
.footer { position: absolute; bottom: 58px; left: 4.3%; right: 4.3%; height: 74px; display: flex; align-items: center; justify-content: space-between; z-index: 4; }
.interaction-note { display: flex; gap: 12px; align-items: flex-start; padding-left: 4px; color: #728674; font-size: 10px; letter-spacing: 1px; }
.interaction-note > svg { width: 17px; height: 20px; color: #91a187; margin-top: 1px; }
.interaction-note > div > span { display: block; margin-top: 8px; color: #98a48f; font-size: 9px; letter-spacing: .8px; }
.controls { display: flex; align-items: center; gap: 20px; background: #f4f6edb0; border: 1px solid #ffffffb3; border-radius: 12px; padding: 10px 19px 10px 13px; box-shadow: 0 9px 28px #63725808, inset 0 1px 1px #ffffff6e; backdrop-filter: blur(14px); position: absolute; left: 58%; transform: translateX(-50%); }
.rotation-control { display: flex; gap: 21px; align-items: center; }
.rotate-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 31px; height: 47px; padding: 4px; border-radius: 6px; transition: background .2s; }
.rotate-button:hover { background: #e0e6d8; }
.rotate-button svg { width: 20px; height: 20px; color: #667c68; }
kbd { font-family: var(--sans); font-size: 8px; color: #9ba991; }
.view-control { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.control-eyebrow { font-size: 9px; color: #88997e; letter-spacing: 2px; white-space: nowrap; }
.view-dots { display: flex; gap: 6px; }
.view-dots > button { width: 16px; height: 15px; padding: 0; color: #a3af98; font-family: Georgia, serif; font-size: 9px; border-radius: 3px; transition: all .25s; }
.view-dots > button.active { color: #556f58; background: #dbe3d1; }
.control-separator { width: 1px; height: 32px; background: #b3c0a742; }
.lift-button { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 11px; letter-spacing: 1px; text-align: left; white-space: nowrap; }
.lift-icon { width: 31px; height: 32px; display: flex; align-items: center; justify-content: center; color: #be836e; background: #d49a7f14; border-radius: 6px; transition: background .2s; }
.lift-button:hover .lift-icon { background: #d49a7f35; }
.lift-icon svg { width: 18px; height: 18px; }
.lift-state { display: block; margin-top: 6px; color: #9aa58c; font-size: 7px; letter-spacing: 1.3px; }
.lift-state span { margin: 0 3px; }
.chapter-pagination { margin-left: auto; display: flex; align-items: center; gap: 15px; color: #8da083; font-family: var(--serif); font-size: 9px; letter-spacing: 2px; }
.chapter-pagination > span:first-child { font-family: Georgia, serif; font-style: italic; font-size: 24px; color: #84977b; }
.pagination-rule { width: 31px; height: 1px; background: #a6b49863; }
.bottom-credit { position: absolute; bottom: 23px; left: 4.3%; right: 4.3%; display: flex; justify-content: space-between; color: #a2ae97; font-size: 7px; letter-spacing: 2px; }
.bottom-credit > span:last-child { font-family: var(--serif); font-size: 9px; letter-spacing: 3px; }
.dialog { border: 1px solid #ffffffb3; background: #f0f2e8; color: var(--ink); border-radius: 16px; padding: 43px 44px 35px; width: 430px; max-width: calc(100vw - 30px); max-height: calc(100svh - 36px); box-shadow: 0 30px 130px #20382b26; }
.dialog::backdrop { background: #54695832; backdrop-filter: blur(9px); }
.dialog[open] { animation: reveal .4s ease both; }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.dialog-eyebrow { display: block; font-size: 8px; letter-spacing: 2.5px; color: #97a187; }
.dialog h2 { font-family: var(--serif); font-size: 31px; letter-spacing: 3px; font-weight: 400; margin: 20px 0 12px; }
.dialog-lead { color: #84917b; font-family: var(--serif); font-size: 12px; letter-spacing: 1px; line-height: 2; }
.help-steps { margin: 27px 0; display: flex; flex-direction: column; gap: 19px; }
.help-steps > div { display: flex; gap: 17px; }
.help-steps > div > span { font-family: Georgia, serif; font-size: 17px; font-style: italic; color: #b3b89a; padding-top: 2px; }
.help-steps p { margin: 0; color: #84917d; font-size: 10px; line-height: 1.9; }
.help-steps strong { display: block; font-weight: 500; color: #5e765e; font-size: 12px; letter-spacing: 1px; margin-bottom: 5px; }
.primary-button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: #617a65; color: #f3f4e8; border-radius: 5px; font-size: 11px; letter-spacing: 2px; transition: background .2s; }
.primary-button:hover { background: #4e6b55; }
.primary-button span { font-size: 17px; }
.complete-dialog { text-align: center; }
.completion-emblem { position: relative; width: 80px; height: 87px; margin: 6px auto 28px; display: flex; align-items: center; justify-content: center; }
.completion-emblem svg { width: 43px; height: 51px; color: #ad945b; z-index: 1; stroke-width: .8; }
.completion-emblem::before, .completion-emblem::after { content: ""; position: absolute; width: 75px; height: 75px; border: 1px solid #c6bb8870; border-radius: 50%; }
.completion-emblem::after { width: 93px; height: 93px; border-color: #c6bb8830; }
.completion-stats { display: flex; align-items: center; justify-content: center; gap: 34px; margin: 29px 0; }
.completion-stats > div { display: flex; flex-direction: column; gap: 8px; }
.completion-stats strong { font-family: Georgia, serif; font-size: 26px; font-weight: 400; color: #9a9267; }
.completion-stats > div > span { font-size: 9px; color: #93a086; letter-spacing: 1px; }
.completion-stats > span { height: 30px; width: 1px; background: #bdc6aa6b; }
.stay-button { margin: 14px auto 0; font-size: 10px; }
.accessible-navigation { position: fixed; left: 15px; bottom: 10px; z-index: 20; max-width: 360px; padding: 12px; background: #f4f4e7; border-radius: 8px; transform: translateY(calc(100% + 20px)); font-size: 11px; box-shadow: 0 10px 40px #263e2925; }
.accessible-navigation:focus-within, .accessible-navigation[open] { transform: none; }
.accessible-navigation p { color: #829076; line-height: 1.7; }
#destination-buttons { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 12px; }
#destination-buttons button { padding: 8px 10px; background: #dfe6d5; border-radius: 4px; }
.noscript { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 30px; background: var(--paper); }
@keyframes reveal { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scene-reveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes breathe { 50% { opacity: .35; } }

@media (min-width: 1600px) { .introduction { left: 9%; top: 24%; } .scene-area { left: 29%; right: 10%; } .story { font-size: 14px; } .objective { margin-top: 42px; } }
@media (max-width: 1150px) { .introduction { left: 5%; width: 220px; } .edition { font-size: 8px; letter-spacing: 1.7px; padding-right: 15px; } .scene-area { left: 26%; right: 5%; } .controls { left: 60%; gap: 13px; } .rotation-control { gap: 12px; } .chapter-pagination { gap: 9px; } .chapter-pagination > span:last-child { display: none; } .scene-coordinate { right: 7%; } .interaction-note { font-size: 9px; } .interaction-note > div > span { font-size: 8px; } }
@media (max-height: 840px) and (min-width: 761px) { .experience { min-height: 690px; } .introduction { top: 19%; } h1 { font-size: 57px; margin-top: 24px; margin-bottom: 13px; } .intro-rule { margin: 20px 0 16px; } .objective { margin-top: 22px; } #hint-button { margin-top: 17px; } .scene-area { top: 78px; bottom: 133px; } .scene-caption { top: 3%; } .footer { bottom: 51px; } .story { font-size: 12px; } }
@media (max-width: 760px) {
  .experience { height: 100svh; min-height: 780px; max-height: none; }
  .header { padding: 23px 6%; }
  .brand-mark { width: 27px; height: 31px; }
  .brand-name { font-size: 19px; }
  .brand-name > span { font-size: 6px; letter-spacing: 1.5px; }
  .edition { display: none; }
  .header-actions { gap: 7px; }
  .introduction { left: 7%; top: 106px; width: 86%; }
  .chapter-label { font-size: 8px; letter-spacing: 1px; gap: 7px; }
  h1 { font-size: 38px; margin: 16px 0 9px -2px; letter-spacing: 7px; line-height: 1.2; }
  h1 > span { display: inline; }
  .title-period { font-size: 30px; }
  .english-title { font-size: 7px; letter-spacing: 3px; }
  .intro-rule, .story, .objective-label, .objective > p { display: none; }
  .objective { position: absolute; top: 27px; right: 0; margin: 0; }
  .milestones { width: 117px; }
  .milestone { font-size: 7px; width: 27px; gap: 5px; }
  .seal { width: 25px; height: 25px; }
  .seal svg { width: 14px; height: 14px; }
  .moon-seal { font-size: 21px; }
  .milestone-line { width: 11px; margin: 12px 3px 0; }
  #hint-button { position: absolute; right: 0; top: 97px; margin: 0; font-size: 9px; z-index: 3; }
  .small-arrow { margin-left: 7px; }
  .scene-area { top: 227px; bottom: 165px; left: 1%; right: 1%; }
  .scene-caption { top: 1%; font-size: 8px; letter-spacing: 1px; left: 7%; transform: none; }
  .scene-coordinate { right: 8%; bottom: 9%; font-size: 6px; gap: 4px; }
  .scene-coordinate > span:last-child { font-size: 6px; }
  .arrival-note { bottom: -3%; font-size: 9px; letter-spacing: 1px; }
  .right-rail { top: 47%; right: 3%; gap: 14px; }
  .rail-label, .rail-line { display: none; }
  .right-rail .icon-button { background: #eef1e66b; width: 29px; height: 29px; }
  .right-rail .icon-button svg { width: 16px; height: 16px; }
  .footer { bottom: 53px; left: 5%; right: 5%; height: 74px; justify-content: center; }
  .controls { left: 50%; gap: 15px; padding: 10px 17px 10px 12px; border-radius: 10px; }
  .rotation-control { gap: 17px; }
  .view-dots { gap: 4px; }
  .interaction-note, .chapter-pagination { display: none; }
  .bottom-credit { bottom: 21px; left: 7%; right: 7%; font-size: 5px; letter-spacing: 1.3px; }
  .bottom-credit > span:last-child { font-size: 8px; letter-spacing: 1.3px; }
  .toast { bottom: 11%; font-size: 10px; max-width: 88%; padding: 11px 15px; }
}
@media (max-width: 390px) { h1 { font-size: 32px; letter-spacing: 5px; } .objective { top: 23px; } .controls { gap: 12px; padding-right: 13px; } .rotation-control { gap: 10px; } .lift-button { gap: 9px; } .dialog { padding: 39px 27px 27px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
