:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --card: #fcfaf5;
  --ink: #322e27;
  --brown: #503d29;
  --muted: #6c665c;
  --bronze: #89683c;
  --line: #ded7c8;
  --jade: #31594c;
  --serif: "Baskervville", Georgia, "Times New Roman", "Noto Serif TC", "Noto Serif SC", "Songti TC", "Songti SC", SimSun, PMingLiU, serif;
  --sans: "Source Sans 3", "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --calligraphy: "Kaiti TC", "Kaiti SC", "STKaiti", "KaiTi", "DFKai-SB", var(--serif);
  --shell: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-padding-bottom: 100px; }
body { margin: 0; min-width: 280px; min-height: 100vh; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--serif); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }
::selection { background: #d6e3d4; color: #213a2d; }
:focus-visible { outline: 2px solid #346757; outline-offset: 4px; }
[hidden], .symbols { display: none !important; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 30; padding: 8px 16px; background: white; }
.skip:focus { top: 8px; }
.icon, .step-art, .illustration-icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
main:focus { outline: none; }
.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: #f9f7f1; }
body[data-page="home"] .site-header { position: absolute; inset: 0 0 auto; background: transparent; border: 0; }
.header-inner, .hero-inner { max-width: 1488px; margin: auto; padding-inline: clamp(26px, 6.4vw, 104px); }
.header-inner { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; width: fit-content; color: #26251e; line-height: 1; }
.brand-cn { display: flex; align-items: center; gap: 5px; font: 600 2.12rem/.98 var(--calligraphy); letter-spacing: .025em; }
.brand-cn img { width: 16px; height: 18px; object-fit: fill; mix-blend-mode: multiply; }
.brand-en { margin: 5px 0 0 3px; font: 600 .67rem/1 Georgia, serif; letter-spacing: .35em; }
.header-tools { display: flex; align-items: center; gap: 20px; }
body[data-page="home"] .date-label { padding: 5px 11px; border-radius: 20px; background: #fbf8eddf; }
.date-label { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: #574d3c; }
.date-label .icon { width: 16px; height: 16px; color: var(--bronze); }
.audio-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 39px; padding: 6px 16px; border: 1px solid #ad9e806c; border-radius: 30px; background: #fbf8efe3; color: #4e4636; font-size: .875rem; letter-spacing: .055em; transition: background .18s; }
.audio-toggle:hover { background: #fffaf0; }
.audio-toggle .icon { width: 17px; height: 17px; }
.audio-toggle[aria-pressed="true"] { background: #e0eadd; border-color: #aabbaa; color: var(--jade); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #eee9dd; }
.hero-image { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, #faf7eff2 0%, #faf6ecd9 21%, #f7f3e878 40%, #faf5eb12 65%), url("assets/moon-window.webp"); background-position: center, 50% 63%; background-size: cover; background-repeat: no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 18px; pointer-events: none; background: linear-gradient(transparent, #f7f5ef60); }
.hero-inner { min-height: clamp(465px, 35.9vw, 570px); display: flex; align-items: center; padding-top: 87px; padding-bottom: 28px; }
.hero-copy { max-width: 53%; }
.hero h1 { font-size: clamp(4.1rem, 6.1vw, 6.45rem); line-height: 1.19; font-weight: 600; letter-spacing: .07em; color: #493a28; }
.hero-en { margin: 2px 0 0 3px; font-size: clamp(1.48rem, 2.12vw, 2.28rem); font-style: italic; line-height: 1.3; color: #645139; }
.hero-rule, .little-rule { display: block; height: 1px; width: 45px; background: #ad8951; }
.hero-rule { margin: 23px 0 16px 3px; }
.hero-motto { font-size: clamp(1.16rem, 1.52vw, 1.58rem); letter-spacing: .12em; line-height: 1.55; }
.hero-description { margin: 3px 0 0 2px; color: #5c5449; font-size: clamp(.97rem, 1.12vw, 1.14rem); line-height: 1.45; }
.start-button { width: max-content; min-height: 47px; margin: 26px 0 0 1px; padding: 9px 20px 10px 25px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; background: linear-gradient(108deg,#946f40,#80603a 85%); border: 1px solid #b6996c; border-radius: 999px; box-shadow: inset 0 1px 0 #ffedcf73, 0 5px 14px #6e50231c; color: #fffcf5; font-size: 1.06rem; letter-spacing: .1em; transition: background .2s, box-shadow .2s, transform .2s; }
.start-en { color: #faf0df; padding-left: 12px; border-left: 1px solid #e1c69e82; font: italic 1rem/1.1 var(--serif); letter-spacing: .005em; }
.start-button>span { white-space: nowrap; }
.start-button .icon { width: 16px; height: 16px; margin-left: 2px; }
.start-button:hover { background: #785730; box-shadow: 0 7px 18px #77582d38; transform: translateY(-1px); }
.home-content, .page { width: min(var(--shell), calc(100% - clamp(56px, 12.8vw, 208px))); margin-inline: auto; }
.steps { padding-top: clamp(24px, 2.35vw, 40px); }
.section-heading { text-align: center; margin-bottom: 20px; }
.section-heading h2 { display: flex; align-items: center; justify-content: center; gap: 17px; color: var(--brown); font-size: clamp(1.45rem, 2.05vw, 2rem); font-weight: 600; letter-spacing: .105em; line-height: 1.45; }
.section-heading h2::before, .section-heading h2::after { content: ""; height: 1px; width: clamp(29px, 5vw, 73px); background: linear-gradient(90deg, transparent, #bda27b); }
.section-heading h2::after { transform: rotate(180deg); }
.section-heading p { color: var(--muted); font-size: 1.02rem; line-height: 1.45; margin-top: 2px; }
.step-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px, 2.5vw, 40px); }
.step-card { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 123px; padding: 13px clamp(15px, 1.9vw, 30px) 15px; border: 1px solid #dfd7c8; border-radius: 12px; background: linear-gradient(115deg, #fffcf6, #f3eee3); box-shadow: inset 0 1px 1px #fff; transition: border-color .18s, box-shadow .18s; }
.step-card:hover, .quick-links a:hover, .recommend-card:hover, .article-link:hover, .scent-card:hover { border-color: #bba17b; box-shadow: 0 5px 18px #6151310d; }
.step-card:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: calc(clamp(18px, 2.5vw, 40px) / -2 - 2px); width: 7px; height: 7px; border: solid #a68b63; border-width: 1px 1px 0 0; transform: translateY(-50%) rotate(45deg); }
.step-no { display: flex; align-items: center; gap: 10px; color: #977345; font: italic 1.6rem/1.05 var(--serif); }
.step-no::after { content: ""; height: 1px; width: 20px; background: #c7b898; }
.step-name { margin-top: 9px; font-size: 1.29rem; color: var(--brown); font-weight: 600; line-height: 1.35; letter-spacing: .09em; }
.step-en { margin-top: 2px; color: #6c6356; line-height: 1.25; font-size: .92rem; position: relative; z-index: 1; }
.step-art { position: absolute; right: 6.3%; top: 50%; width: clamp(44px, 5.6vw, 79px); height: auto; transform: translateY(-50%); color: #9c8761; stroke-width: 1.05; }
.step-card:nth-child(2) .step-art { color: #788772; }
.home-lower { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(190px, 1fr); gap: 22px; }
.recommend-card { overflow: hidden; position: relative; isolation: isolate; display: flex; align-items: center; min-height: 225px; background: #f5efe5; border: 1px solid var(--line); border-radius: 15px; transition: border-color .18s, box-shadow .18s; }
.recommend-scene { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 56%; background: url("assets/recommendation.webp") 62% 67% / cover no-repeat; mask-image: linear-gradient(90deg, transparent, black 42%); }
.recommend-copy { max-width: 62%; padding: 23px clamp(19px, 2.3vw, 36px); }
.recommend-copy h2 { font-size: 1.7rem; letter-spacing: .12em; font-weight: 600; line-height: 1.35; color: var(--brown); }
.recommend-en { font-size: 1.08rem; color: #5f513f; line-height: 1.35; }
.little-rule { margin: 13px 0 11px; width: 32px; }
.recommend-desc { font-size: 1rem; line-height: 1.65; letter-spacing: .055em; }
.english-note { margin-top: 5px; color: #6b6357; font-size: .89rem; line-height: 1.35; }
#home-match:not(:empty) { display: inline-block; margin-top: 9px; color: var(--jade); font-size: .9rem; }
.quick-links { display: grid; grid-template-rows: repeat(3,1fr); gap: 9px; }
.quick-links a { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 21px; background: #fcfaf4b3; transition: border-color .18s, box-shadow .18s; }
.quick-links .icon { width: 23px; height: 23px; color: #817050; }
.quick-links a>span { font-size: 1.06rem; letter-spacing: .09em; line-height: 1.45; }
.quick-links small { display: block; color: var(--muted); font-size: .87rem; line-height: 1.16; letter-spacing: 0; }
.mountain-foot { pointer-events: none; min-height: 145px; margin-top: 18px; background: linear-gradient(to bottom, var(--paper), #f7f5ef28 48%), url("assets/mountains.webp") center bottom / 100% 100% no-repeat; }
.dock { position: fixed; z-index: 10; left: 50%; bottom: max(15px,env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 3px; width: min(625px,calc(100% - 26px)); padding: 6px; background: #fcfbf3f2; border: 1px solid #d6d5c5; border-radius: 22px; box-shadow: inset 0 1px 1px #fff, 0 6px 25px #393b301a; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; padding: 5px 2px; border-radius: 16px; color: #5f5e52; transition: color .16s, background .16s; }
.dock a:hover { background: #edece2; }
.dock a[aria-current="page"] { background: #d8e8db; color: #294f40; box-shadow: inset 0 0 0 1px #b9cfc04d; }
.dock .icon { width: 21px; height: 21px; stroke-width: 1.45; }
.dock span { display: flex; flex-direction: column; font-size: .99rem; letter-spacing: .08em; line-height: 1.25; }
.dock small { color: #68685b; font-size: .77rem; line-height: 1.2; letter-spacing: .01em; }
.dock [aria-current] small { color: #42664f; }
.toast { position: fixed; z-index: 15; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translate(-50%,8px); opacity: 0; pointer-events: none; transition: .2s ease; padding: 8px 17px; color: #fffdf3; background: #314b3ff2; border-radius: 24px; font: .9rem/1.5 var(--sans); text-align: center; max-width: calc(100vw - 28px); width: max-content; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

/* Interior pages */
.page { padding-top: clamp(27px, 3.7vw, 55px); min-height: min(56vh,550px); }
.page-narrow { max-width: 900px; }
.page-heading { margin-bottom: 25px; }
.page-heading h1, .inner-banner h1 { font-size: clamp(2.2rem,4.6vw,4.3rem); line-height: 1.28; font-weight: 600; letter-spacing: .09em; color: var(--brown); }
.page-heading .eng, .inner-banner .eng { font-size: clamp(1.1rem,1.9vw,1.55rem); color: #806b50; font-style: italic; line-height: 1.45; }
.page-heading>.lead { margin-top: 12px; }
.lead { max-width: 44em; font-size: 1.02rem; line-height: 1.8; color: var(--muted); }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin: -4px 0 20px; min-height: 37px; color: #715f48; font-size: .92rem; }
.back-link .icon { width: 18px; height: 18px; }
.back-link:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .28em; }
.inner-banner { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; padding: clamp(23px,3.6vw,53px); background: #f1eee4; display: flex; align-items: center; min-height: 198px; margin-bottom: 26px; }
.inner-banner>div { max-width: 65%; }
.inner-banner .lead { margin-top: 9px; }
.inner-banner>img { position: absolute; right: 5%; height: 86%; width: 27%; object-fit: contain; z-index: -1; }
.inner-banner.culture-banner { background: linear-gradient(105deg,#eee8d8,#f8f4e8 60%,#e7dfcb); }
.inner-banner.scent-banner { background: linear-gradient(105deg,#e9ece0,#f4f1e6 65%,#e6e5d5); }
.subheading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 11px; margin: 0 0 14px; }
.subheading h2 { font-size: 1.45rem; font-weight: 600; letter-spacing: .07em; }
.subheading span { font: italic 1rem/1.4 var(--serif); color: var(--muted); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 17px; padding: clamp(20px, 3.1vw, 40px); }
.primary, .secondary, .soft-button, .chip { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: .95rem/1.35 var(--sans); cursor: pointer; }
.primary, .secondary, .soft-button { border-radius: 999px; padding: 10px 20px; }
.primary { background: #806039; border: 1px solid #806039; color: #fffaf1; }
.primary:hover { background: #6d512e; }
.secondary, .soft-button { border: 1px solid #cfc4ae; background: #fcfaf4; color: #5a4f3e; }
.secondary:hover, .soft-button:hover { background: #f2ecdf; }
.soft-button[aria-pressed="true"], .bookmark[aria-pressed="true"] { background: #e2ecdf; color: var(--jade); border-color: #adbfaa; }
.soft-button .icon, .primary .icon, .secondary .icon { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.text-link { color: var(--jade); font-size: .94rem; text-decoration: underline; text-decoration-color: #849f8d; text-underline-offset: .25em; }
.stepper { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin: 0 0 18px; border-bottom: 1px solid var(--line); list-style: none; }
.stepper a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 3px; min-height: 46px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .96rem; letter-spacing: .04em; }
.stepper b { font: italic 1.12rem var(--serif); color: #82785f; }
.stepper [aria-current="step"] { border-color: #977445; color: #67491f; font-weight: 600; }
.wizard { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(165px,.78fr); overflow: hidden; padding: 0; }
.wizard-main { padding: clamp(22px,3.5vw,43px); }
.wizard h2, .standalone h2, .ritual-box h2 { font-size: 1.55rem; letter-spacing: .07em; color: var(--brown); }
.form-intro { color: var(--muted); margin: 5px 0 21px; }
.form-field { display: block; margin-top: 17px; }
.form-field>span, .field-label { display: flex; align-items: baseline; gap: 9px; margin-bottom: 6px; font-weight: 600; }
.form-field small { color: var(--muted); font-size: .87rem; font-weight: 400; }
input[type="date"], select, textarea, .search-input input { min-width: 0; width: 100%; background: #fffdfa; border: 1px solid #cfc7b8; border-radius: 9px; outline-offset: 2px; font: 1rem/1.5 var(--sans); }
input[type="date"], select { min-height: 46px; padding: 9px 12px; }
.select-wrap { position: relative; display: block; }
select { appearance: none; padding-right: 36px; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 17px; width: 8px; height: 8px; transform: rotate(45deg); border: solid #776850; border-width: 0 1.5px 1.5px 0; pointer-events: none; }
textarea { display: block; min-height: 90px; resize: vertical; padding: 10px 12px; }
.form-footnote, .meta { color: var(--muted); font: .86rem/1.55 var(--sans); }
.form-footnote { margin-top: 12px; }
.form-footnote.error { color: #944b37; }
.wizard-aside { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: 100%; background: #ebe7d8; padding: 24px; }
.wizard-aside::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#eee9dd 0%,#efeadd33 47%), url("assets/moon-window.webp") 78% 50% / auto 100% no-repeat; opacity: .8; }
.wizard-aside p { font-size: 1.12rem; color: #4e4533; letter-spacing: .09em; }
.wizard-aside small { display: block; margin-top: 3px; letter-spacing: 0; font: italic .95rem/1.4 var(--serif); }
.mood-field { padding: 0; margin: 0; border: 0; min-width: 0; }
.mood-field legend { margin-bottom: 8px; }
.mood-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.mood-choice { cursor: pointer; display: block; position: relative; }
.mood-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-face { display: flex; gap: 10px; align-items: center; height: 100%; min-height: 61px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 9px; background: #f8f5ee; }
.choice-face>.icon { color: #847352; height: 21px; width: 21px; }
.choice-face strong, .choice-face small { display: block; }
.choice-face strong { font-size: 1rem; font-weight: 600; }
.choice-face small { font: .82rem/1.5 var(--sans); color: var(--muted); }
.mood-choice input:checked+.choice-face { color: #2e533e; background: #e8eee2; border-color: #91aa91; box-shadow: inset 0 0 0 1px #a8bba56b; }
.mood-choice input:focus-visible+.choice-face { outline: 2px solid var(--jade); outline-offset: 2px; }
.standalone { max-width: 760px; margin-inline: auto; text-align: center; }
.standalone>.illustration-icon { width: 72px; height: 72px; color: #9c8057; stroke-width: 1.1; }
.standalone p { margin-top: 7px; color: var(--muted); }
.standalone .actions { justify-content: center; }
.shelf-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 17px; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-width: 39px; min-height: 38px; padding: 7px 13px; border-radius: 999px; background: transparent; border: 1px solid #d8d1c1; color: #625d51; }
.chip[aria-pressed="true"] { background: #365846; color: #fffdf6; border-color: #365846; }
.search-input { position: relative; display: flex; align-items: center; width: min(100%,260px); }
.search-input .icon { position: absolute; left: 12px; width: 18px; height: 18px; color: #7b766a; }
.search-input input { padding: 8px 12px 8px 38px; min-height: 42px; }
.scent-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.scent-card { position: relative; min-width: 0; overflow: hidden; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: .18s ease; }
.scent-card>a { display: block; height: 100%; }
.scent-art { display: grid; place-items: center; background: var(--art-bg); overflow: hidden; }
.scent-art img { display: block; object-fit: contain; width: 70%; height: 100%; }
.scent-wood { --art-bg: #e5ecdc; }
.scent-fire { --art-bg: #f0e5d3; }
.scent-earth { --art-bg: #ecdcd0; }
.scent-metal { --art-bg: #e9e6dd; }
.scent-water { --art-bg: #415451; }
.scent-card .scent-art { height: 176px; padding: 12px 0; }
.scent-card .scent-art img { max-height: 152px; }
.scent-card-copy { padding: 14px 19px 19px; }
.scent-card-copy h3 { font-size: 1.44rem; letter-spacing: .08em; }
.scent-card-copy h3 small { margin-left: 7px; font: italic .94rem var(--serif); color: var(--muted); letter-spacing: 0; }
.scent-card-copy p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.bookmark { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d4cdbf; border-radius: 50%; background: #faf9f0f0; color: #6a6354; }
.bookmark .icon { height: 18px; width: 18px; }
.bookmark[aria-pressed="true"] .icon { fill: #b1c8af; }
.results-summary { font: .875rem/1.5 var(--sans); color: var(--muted); min-height: 1.5em; margin: 0 0 10px; }
.detail-spread { display: grid; grid-template-columns: minmax(155px,.78fr) minmax(0,1.65fr); overflow: hidden; padding: 0; }
.detail-spread .scent-art { padding: 22px; min-height: 260px; }
.detail-spread .scent-art img { width: 100%; max-height: 264px; }
.detail-copy { padding: clamp(24px,3vw,40px); align-self: center; }
.detail-copy h1, .detail-copy h2 { font-size: clamp(2.3rem,4.5vw,3.8rem); letter-spacing: .07em; line-height: 1.35; font-weight: 600; color: var(--brown); }
.detail-copy h1 small, .detail-copy h2 small { font: italic 1.27rem var(--serif); color: #827056; letter-spacing: 0; display: inline-block; }
.detail-copy .lead { margin-top: 10px; }
.note-list { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 12px 0 0; }
.note-list li { padding: 3px 11px; border: 1px solid #d7cbb7; border-radius: 22px; font-size: .86rem; color: #6b5940; }
.ritual-box, .story-section { margin-top: 24px; }
.story-section p, .ritual-box>p { color: #514d44; margin-top: 6px; line-height: 1.9; }
.story-section h2, .profile-section h2 { font-size: 1.4rem; letter-spacing: .075em; }
.facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 17px 0 0; padding: 19px 0; border-block: 1px solid var(--line); }
.facts dt { color: var(--muted); font: .87rem var(--sans); margin-bottom: 5px; }
.facts dd { margin: 0; font-size: 1.05rem; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.article-link { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--card); transition: .18s ease; }
.article-picture { display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center; overflow: hidden; height: 175px; padding: 17px; }
.article-picture img { display: block; min-height: 0; width: 83%; height: 100%; object-fit: contain; }
.reed { background: #e6e9df; } .linen { background: #ede7db; } .amber { background: #eee1cb; }
.article-copy { padding: 18px 20px 24px; }
.article-copy h2 { font-size: 1.32rem; line-height: 1.55; color: var(--brown); }
.article-copy p { margin-top: 8px; color: var(--muted); font-size: .96rem; line-height: 1.75; }
.article-read { max-width: 760px; }
.article-read .article-picture { height: 190px; border-radius: 12px; margin: 21px 0; }
.article-read .story-section p { font-size: 1.05rem; }
.track-list { display: flex; gap: 8px; flex-wrap: wrap; }
.track-list .soft-button { padding: 8px 13px; }
.profile-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 9px; border: 1px solid #ccd5c8; border-radius: 14px; background: #e9eee3; }
.profile-strip a { display: flex; flex-direction: column; text-align: center; padding: 10px; }
.profile-strip a+a { border-left: 1px solid #cbd5c6; }
.profile-strip strong { color: #36513f; font-weight: 500; font-size: 1.85rem; line-height: 1.2; }
.profile-strip span { color: #546054; font-size: .93rem; }
.profile-section { margin-top: 26px; }
.section-row, .collection-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.collection-row { padding: 15px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.collection-row+.collection-row { margin-top: 8px; }
.collection-row h3 { font-size: 1.08rem; font-weight: 600; }
.collection-row p { color: var(--muted); font-size: .94rem; word-break: break-word; white-space: pre-wrap; }
.collection-row>div { min-width: 0; }
.section-row { margin-bottom: 12px; }
.empty { padding: 23px; background: #f2f1e9; border: 1px dashed #cfcbbd; border-radius: 11px; }
.empty p { color: var(--muted); }
.empty .actions { margin-top: 11px; }
.journal-form { margin: 0 0 20px; }
.journal-form h2 { margin-bottom: 14px; }
.journal-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.top-gap { margin-top: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (min-width: 1600px) {
  .hero-image { background-position: center,50% 67%; }
}
@media (max-width: 1000px) {
  .home-content, .page { width: calc(100% - 64px); }
  .header-inner, .hero-inner { padding-inline: 32px; }
  .hero-inner { min-height: 445px; }
  .step-card { padding-inline: 17px; }
  .step-art { width: 49px; right: 5%; top: 34%; }
  .step-name { font-size: 1.19rem; }
  .home-lower { gap: 14px; }
  .quick-links a { gap: 12px; padding-inline: 15px; }
  .wizard { grid-template-columns: minmax(0,1.9fr) minmax(150px,.7fr); }
  .scent-grid { gap: 12px; }
  .article-grid { gap: 12px; }
  .article-copy { padding: 15px; }
}
@media (max-width: 700px) {
  .header-inner, .hero-inner { padding-inline: 22px; }
  .header-inner { min-height: 72px; }
  .header-tools { gap: 10px; }
  .brand-cn { font-size: 1.83rem; gap: 4px; }
  .brand-cn img { width: 13px; height: 16px; }
  .brand-en { font-size: .6rem; letter-spacing: .3em; margin-top: 4px; }
  .date-label { display: none; }
  .audio-toggle { min-height: 36px; padding: 6px 12px; font-size: .81rem; }
  .hero { background: #f2ede5; }
  .hero-image { bottom: 53px; background: linear-gradient(145deg,#eee9e2,#f8f0e6 58%,#ede7dd); }
  .hero-image::before { content: ""; position: absolute; inset: auto 0 0 auto; width: 50.5%; aspect-ratio: 352 / 490; max-height: 100%; background: url("assets/moon-window-mobile.webp") right bottom / 100% auto no-repeat; mask-image: linear-gradient(90deg,transparent,#000 19%),linear-gradient(180deg,transparent,#000 12%); mask-composite: intersect; }
  .hero-image::after { content: ""; position: absolute; inset: auto 0 -1px; height: 19px; background: linear-gradient(transparent,#f2ede5); }
  .hero::after { background: linear-gradient(transparent,var(--paper)); }
  .hero-inner { min-height: clamp(341px,86vw,415px); display: block; padding-top: clamp(90px,23vw,106px); padding-bottom: 74px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(2.85rem,8.5vw,3.8rem); line-height: 1.2; letter-spacing: .055em; }
  .hero-en { font-size: clamp(1.04rem,3.55vw,1.44rem); margin-left: 1px; }
  .hero-rule { margin: 17px 0 12px 1px; width: 31px; }
  .hero-motto { font-size: clamp(1.04rem,3.6vw,1.3rem); letter-spacing: .085em; }
  .hero-description { max-width: 57%; margin: 3px 0 0 1px; font-size: .85rem; line-height: 1.38; }
  .start-button { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); min-height: 43px; width: min(76%,295px); margin: 0; padding: 8px 13px; gap: 10px; font-size: 1rem; }
  .start-button:hover { transform: translateX(-50%); }
  .start-en { padding-left: 10px; font-size: .95rem; }
  .home-content, .page { width: calc(100% - 36px); }
  .steps { padding-top: 17px; }
  .section-heading { margin-bottom: 13px; }
  .section-heading h2 { gap: 10px; font-size: clamp(1.19rem,4.3vw,1.5rem); letter-spacing: .075em; }
  .section-heading h2::before, .section-heading h2::after { width: 31px; }
  .section-heading p { font-size: .88rem; }
  .step-grid { gap: 12px; }
  .step-card { min-height: 105px; padding: 10px 3px; align-items: center; justify-content: flex-start; text-align: center; border-radius: 12px; background: linear-gradient(145deg,#fffcf6,#f3eee5); }
  .step-card:not(:last-child)::after { width: 5px; height: 5px; right: -9px; }
  .step-no { font-size: 1.39rem; }
  .step-no::after, .step-art { display: none; }
  .step-name { margin: 6px 0 1px; font-size: 1.01rem; letter-spacing: .025em; }
  .step-en { font-size: .8rem; line-height: 1.13; max-width: 100%; }
  .home-lower { margin-top: 17px; grid-template-columns: minmax(0,1fr); gap: 12px; }
  .recommend-card { min-height: 176px; border-radius: 15px; }
  .recommend-copy { max-width: 66%; padding: 15px 16px; }
  .recommend-copy h2 { font-size: 1.4rem; }
  .recommend-en { font-size: .98rem; }
  .little-rule { margin: 8px 0; width: 27px; }
  .recommend-desc { font-size: .88rem; letter-spacing: .015em; line-height: 1.52; }
  .english-note { font-size: .79rem; line-height: 1.25; }
  .recommend-scene { width: 55%; background-position: 65% center; }
  .quick-links { grid-template-rows: auto; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .quick-links a { padding: 9px 2px; flex-direction: column; gap: 4px; justify-content: center; text-align: center; border-radius: 14px; }
  .quick-links .icon { width: 18px; height: 18px; }
  .quick-links a>span { font-size: .95rem; letter-spacing: .05em; }
  .quick-links small { font-size: .76rem; }
  .dock { bottom: max(8px,env(safe-area-inset-bottom)); width: min(460px,calc(100% - 18px)); padding: 4px; gap: 1px; border-radius: 21px; }
  .dock a { flex-direction: column; min-height: 55px; gap: 2px; }
  .dock .icon { width: 17px; height: 17px; }
  .dock span { align-items: center; font-size: .82rem; line-height: 1.08; }
  .dock small { margin-top: 2px; font-size: .7rem; }
  .mountain-foot { min-height: calc(105px + env(safe-area-inset-bottom)); margin-top: 12px; background-size: auto,cover; }
  .toast { bottom: calc(83px + env(safe-area-inset-bottom)); }
  .page { padding-top: 23px; }
  .page-heading { margin-bottom: 18px; }
  .inner-banner { min-height: 160px; padding: 17px; }
  .inner-banner h1, .page-heading h1 { font-size: 2.18rem; }
  .inner-banner>div { max-width: 70%; }
  .inner-banner>img { right: 2%; width: 26%; height: 70%; }
  .lead { font-size: .96rem; }
  .wizard { display: block; }
  .wizard-aside { display: none; }
  .wizard-main { padding: 19px; }
  .stepper { margin-bottom: 13px; }
  .stepper a { gap: 5px; font-size: .89rem; }
  .stepper b { font-size: .96rem; }
  .choice-face { padding: 9px; gap: 7px; }
  .choice-face small { font-size: .78rem; }
  .shelf-tools { align-items: stretch; flex-direction: column-reverse; }
  .search-input { width: 100%; }
  .scent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .scent-card .scent-art { height: 146px; }
  .scent-card .scent-art img { max-height: 122px; }
  .scent-card-copy { padding: 12px; }
  .scent-card-copy h3 { font-size: 1.2rem; }
  .scent-card-copy h3 small { display: block; margin: 2px 0 0; font-size: .82rem; }
  .scent-card-copy p { font-size: .85rem; }
  .detail-spread { grid-template-columns: minmax(85px,.67fr) minmax(0,1.5fr); }
  .detail-spread .scent-art { padding: 8px; min-height: 180px; }
  .detail-copy { padding: 17px; }
  .detail-copy h1, .detail-copy h2 { font-size: 2.15rem; }
  .detail-copy h1 small, .detail-copy h2 small { font-size: 1rem; }
  .note-list { gap: 5px; }
  .note-list li { font-size: .8rem; padding: 2px 7px; }
  .detail-copy .actions { gap: 7px; margin-top: 15px; }
  .detail-copy .soft-button, .detail-copy .primary { font-size: .85rem; padding: 8px 11px; }
  .facts { gap: 9px; }
  .facts dt { font-size: .81rem; }
  .facts dd { font-size: .95rem; }
  .article-grid { grid-template-columns: 1fr; }
  .article-link { display: grid; grid-template-columns: 30% 1fr; }
  .article-picture { height: 100%; min-height: 110px; padding: 8px; }
  .article-picture img { max-height: 105px; }
  .article-read .article-picture img { max-height: 160px; }
  .article-copy { padding: 12px; }
  .article-copy h2 { font-size: 1.13rem; }
  .article-copy p { margin-top: 4px; font-size: .9rem; }
}
@media (max-width: 370px) {
  .header-inner, .hero-inner { padding-inline: 16px; }
  .home-content, .page { width: calc(100% - 24px); }
  .hero-description { max-width: 64%; }
  .section-heading p { font-size: .81rem; }
  .step-grid { gap: 10px; }
  .step-card:not(:last-child)::after { right: -8px; }
  .step-en { font-size: .74rem; }
  .step-card:last-child .step-en { font-size: clamp(.6rem,3.15vw,.72rem); letter-spacing: -.015em; }
  .recommend-copy { max-width: 70%; padding-left: 12px; }
  .mood-grid { grid-template-columns: 1fr; }
  .choice-face { min-height: 48px; }
  .dock { width: calc(100% - 12px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
