/* V6: one paper palette and legible editorial hierarchy across all four chapters. */
@font-face{font-family:'Xiequ Song';src:url('assets/xiequ-song.woff') format('woff');font-weight:400 700;font-display:swap}
:root{--paper:#f7f3eb;--ink:#2c342c;--muted:#6d7366;--orange:#ed782b;--line:#d9d3c4;--serif:'Xiequ Song','Noto Serif SC','Songti SC','STSong',serif}
body{background:#1d211d}.app-shell{box-shadow:0 0 85px #0002}.app-header{height:76px;padding:12px 24px;background:#e77b34}.app-header:after{opacity:.4}.brand-mark{width:70px}.brand-mark svg{height:52px}.brand-lockup{gap:12px;font-size:17px;letter-spacing:3px}.brand-lockup small{font-size:10px;letter-spacing:1px}.icon-button{width:42px;height:42px}.bottom-nav{min-height:76px;background:#f8f5edf5;padding-top:10px}.nav-item{font-size:14px}.nav-item svg{height:25px;width:25px}.nav-item.active:after{height:1px;width:21px}main{padding-bottom:78px;min-height:calc(100svh - 76px)}
.primary{background:#de7a36;border-color:#de7a36;border-radius:2px;min-height:50px;letter-spacing:2px;font-size:16px}.primary:hover{background:#c96b2c}.text-button{min-height:40px;padding:8px 5px;font-size:14px}.tiny,.eyebrow{font-size:12px;color:#68715f}.note-box{font-size:12px;line-height:1.9;color:#67715e}.modal-title{font-size:23px;letter-spacing:2px}.modal-copy{font-size:15px;line-height:1.95}.modal-close{width:44px;height:44px}.form-input{font-size:16px}
/* Keep ink at the lake edge, and information on clean paper. */
.home-page{background:none;padding:25px 28px 25px;min-height:calc(100svh - 152px)}
.home-page:after{display:none}.home-page .title-row{min-height:115px}.home-page .page-title{font-size:28px;font-weight:500;line-height:1.6;letter-spacing:3px}.home-page .season{font-size:12px;color:#7b806e}
.home-page .pond{height:292px;margin-top:0;background:none}.home-page .pond>.pond-landscape{object-fit:cover;opacity:.28;mask-image:linear-gradient(transparent 0%,#000 18%,#000 75%,transparent 100%);mix-blend-mode:multiply}
.home-page .pet-caption{top:0;font-size:12px;letter-spacing:2px;padding:5px 15px 8px;border-bottom-color:#95987a55}.home-page .pond .pet-wrap.stage-0{width:97px;height:91px;top:43%}.home-page .pond .pet-wrap.stage-1{width:132px;height:110px;top:43%}.home-page .pond .pet-wrap.stage-2{width:172px;height:137px;top:43%}.home-page .pond .pet-wrap.stage-3{width:208px;height:158px;top:43%}
.home-page .pond-ripple{bottom:121px;width:186px;height:45px;color:#bb814e;opacity:.7}.home-page .pet-name{bottom:91px;font-size:17px;letter-spacing:2px}.pet-name .tiny{font-size:11px;letter-spacing:1px;margin-top:3px}.pet-name button{padding:3px 8px}
.home-page .pond-action{bottom:3px;width:119px;height:93px;grid-template-rows:63px 28px;gap:0}.home-page .pond-action svg{height:65px;overflow:hidden!important}.home-page .pond-action span{font-size:14px;letter-spacing:2px}.home-page .sing-action{left:24px}.home-page .feed-action{right:24px}.home-page .pond-action span:before{height:3px;width:3px;margin-right:6px}
.home-page .info-line{border-top:1px solid var(--line);padding:19px 0 0;font-size:14px}.home-page .info-line .tag{font-size:12px;color:#ac622b}.home-page .growth-net{height:69px;margin:4px 0 0}.home-page .growth-caption{font-size:12px;letter-spacing:0;color:#616c57;border:0;margin:0;padding:0}.home-page .footnote{font-size:12px;color:#7c816f;margin:15px 0 23px}
.home-page .song-teaser{background:#2d342c;border:0;border-left:3px solid #dc873f;padding:18px;margin:0 0 26px;color:#f4ead5;min-height:96px;box-shadow:0 5px 12px #33331c0a}.home-page .song-teaser .tiny{color:#c0c2ad;font-size:12px;letter-spacing:1px}.home-page .song-teaser p{font-size:18px;margin-top:6px;letter-spacing:2px}.home-page .mini-ripple{color:#d89b66;width:70px;height:53px}.home-page .section-head{margin:21px 0 12px}.home-page .section-head h3{font-size:18px;letter-spacing:3px}.home-page .section-head span{font-size:12px}.home-page .milestones{font-size:12px;padding:5px 0 18px;gap:5px;border-bottom:1px solid var(--line);color:#7c816f}.home-page .milestones .on{color:#a6602e}.home-page .accessories{padding:0;gap:7px}.home-page .accessories button{padding:7px 9px;font-size:13px;background:transparent;min-height:40px;border-color:#c7c9b9}.home-page .accessories button.on{background:#ed782b0a;border-color:#d9894b;color:#a85926}
/* Responsive voice stage: paper, lake and foreground are separate planes. */
.voice-game{background:var(--paper);padding-bottom:16px}.voice-game .practice-top{border-bottom-color:var(--line);padding:7px 24px}.voice-game .practice-top button{font-size:14px;min-height:42px}.voice-game .practice-top strong{font-size:15px;letter-spacing:2px}
.voice-game .game-status{padding:15px 20px 9px}.game-status .eyebrow{font-size:11px;letter-spacing:3px}.voice-game h2{font-size:23px;margin:7px 0 3px;letter-spacing:2px;font-weight:500}.voice-game .practice-tag{font-size:12px;color:#7b826d}
.voice-game .practice-scene{height:330px;background:linear-gradient(#f7f3eb,#f0f1e5);margin:0;overflow:hidden}
.voice-game .pond-landscape{opacity:.3;object-fit:cover;mask-image:linear-gradient(transparent 0%,#000 35%,#000 88%,transparent);mix-blend-mode:multiply}.voice-game .lake-water{background:linear-gradient(transparent,#b5c7b337);height:46%;opacity:.7}.voice-game .lake-water>svg{opacity:.6}.voice-game .bird-perch{left:10%;bottom:36px;width:110px;opacity:.65}.voice-game .bird{width:33%;height:152px;left:10%;bottom:55px;mix-blend-mode:normal}.voice-game .crab{right:10%;bottom:48px;width:30%;height:108px;mix-blend-mode:normal}.voice-game .crab:has([aria-label="奶蟹水墨蟹宠"]){width:19%;height:74px;right:15%;bottom:49px}
.voice-game .crab[data-motion="submerge"]{transform:translateY(30px);opacity:.22;clip-path:inset(0 0 42%)}.voice-game .speaker-ripple{bottom:31px;height:38px;width:40%;color:#91a58f;opacity:.6}.voice-game .speaker-ripple.left{left:5%}.voice-game .speaker-ripple.right{right:4%}.voice-game .speaker-ripple.active{color:#d77a34;opacity:.95}.voice-game .ripple-svg{stroke-width:1.3}
.lyric-bubble{padding:11px 12px;background:#faf6eada;box-shadow:none;border:1px solid #b1b99f;opacity:.8;border-radius:5px 15px 6px 12px;top:21px;width:43%}.bubble-lead{left:4%}.bubble-response{right:4%;top:69px}.lyric-bubble small{font-size:12px;letter-spacing:1px;color:#627256}.lyric-bubble p{font-size:18px;letter-spacing:0;line-height:1.65;color:#3c4933;word-break:normal}.lyric-bubble:after{height:10px;width:11px;border-color:#b1b99f;background:#faf6ea;bottom:-6px}.bubble-meter{margin-top:8px;background:#d9deca}
[data-phase="response"] .bubble-response{background:#fff5e3;border-color:#da8c4d}[data-phase="lead"] .bubble-lead,[data-phase="example"] .bubble-response{border-color:#bf8553}.turn-cue{bottom:2px;background:#f7f3ebd9;font-size:12px;letter-spacing:1px;color:#617451;padding:7px 9px}
.game-console{background:var(--paper);border-top:1px solid var(--line);padding:0 24px 10px}.voice-game .round-dots{margin:15px 0 9px;gap:17px}.voice-game .round-dots i{height:24px;width:24px;border-color:#a5af92}.round-dots span{font-size:11px}.voice-game .phase-caption{font-size:14px;line-height:1.8;min-height:29px}.voice-game .progress-track{margin:10px 0 13px;height:3px;background:#dedfd1}.voice-game .mic-control{gap:5px}.voice-game .mic-button{width:76px;height:76px;border-radius:46%;background:#df803d;box-shadow:0 0 0 6px #e7dbc54d,0 0 0 7px #b6baa04d;touch-action:none}.voice-game .mic-button .song-basket-mic{width:56px;height:56px}.voice-game .mic-meter{height:3px;width:96px;background:#dddccf}.voice-game .meter-caption{font-size:13px;color:#657052;min-height:24px}.voice-game .practice-actions{gap:20px;margin-top:6px}.voice-game .practice-actions .text-button{font-size:12px;min-height:38px}.game-options{padding:0 24px 14px}.game-options>.text-button{font-size:13px}.partner-tabs{margin-top:0}.partner-tabs button{font-size:14px;min-height:40px;padding:7px 15px}.voice-game:has([data-phase="response"]) .mic-button{box-shadow:0 0 0 7px #ed782b15,0 0 0 8px #cc8a5255}.voice-game:has([data-phase="retry"]) .mic-button{background:#7a8862}
/* Restrained character motion. Keep scale and anatomy stable. */
[data-motion="waiting"]>svg{animation:none}[data-motion="singing"]>svg{animation:quiet-sing .7s ease-in-out infinite alternate}[data-motion="shake"]>svg{animation:quiet-no .3s ease-in-out 3}[data-motion="happy"]>svg{animation:quiet-joy .65s ease-in-out 2}[data-motion="feeding"]>svg{animation:quiet-joy .65s ease-in-out 2}.character-emotion{border-top-width:2px;top:5%;right:17%;width:12px;height:10px}.water-splash i{width:3px;height:6px;background:#8fae9c;opacity:0}.user-voicing .speaker-ripple.right{transition:transform .12s ease}
@keyframes quiet-sing{to{transform:translateY(-3px) rotate(-1deg)}}@keyframes quiet-no{25%{transform:rotate(-3deg)}75%{transform:rotate(3deg)}}@keyframes quiet-joy{50%{transform:translateY(-5px)}}
/* Dining stationery: small headings, readable details and plenty of plain paper. */
.feast-editorial,.memory-editorial,.memory-detail{background:var(--paper);padding:28px 28px 28px}.editorial-title h1{font-size:28px;letter-spacing:4px}.feast-date{font-size:14px;letter-spacing:1px}.feast-date small{font-size:11px}.feast-clock{font-size:18px}.season-stamp{font-size:15px;border-color:#d59460}.invitation-card{margin:25px 0 29px;min-height:228px;background:#2c332b;border-left-width:5px}.invitation-card p{font-size:12px}.invitation-card small{font-size:11px}.invitation-card h2{font-size:21px;line-height:1.85;letter-spacing:2px}.invitation-vertical{font-size:13px}.card-logo{height:54px}.editorial-section-head{margin:25px 0 16px}.editorial-section-head h2{font-size:19px;letter-spacing:2px}.editorial-section-head>.text-button{font-size:13px;min-height:40px}.companion-seat small{font-size:13px}.companion-seat>i{font-size:11px}.editorial-note{font-size:12px;line-height:1.9;color:#7b806f}.editorial-body{font-size:15px;line-height:2;color:#627057}.banquet-menu li{min-height:56px}.banquet-menu li>span{font-size:11px}.banquet-menu strong{font-size:16px;letter-spacing:1px}.feast-scene-fragment{margin:25px 0 20px}.feast-scene-fragment p{font-size:12px}.banquet-memory-card{box-shadow:0 6px 17px #4440220a;min-height:228px}.banquet-memory-card>small{font-size:11px;letter-spacing:.5px}.banquet-memory-card>small>span{font-size:11px}.banquet-memory-card h2{font-size:26px;margin-top:32px}.banquet-memory-card p{font-size:12px;letter-spacing:.5px;gap:8px}.memory-card-open{font-size:12px}.journal-label{font-size:14px}.journal-input{font-size:16px;line-height:1.7;min-height:45px}.memory-poem{font-size:17px}.memory-harvest small{font-size:12px}.memory-harvest span{font-size:14px}.edition-number small{font-size:11px}.memory-detail .eyebrow{font-size:12px}.time-net{background:#28342d}.time-net span{font-size:17px;letter-spacing:3px}
.result{background:var(--paper)}.result h2{font-size:25px;font-weight:500}.result .subtitle{font-size:15px}.result-hero .pet-wrap{mix-blend-mode:normal}.share-preview .share-pet{mix-blend-mode:normal}
@media(max-width:500px){.app-shell,.bottom-nav{width:100%}.desktop-note,.desktop-side{display:none}.app-shell{box-shadow:none}}
@media(max-width:380px){.page{padding-left:23px;padding-right:23px}.home-page{padding:22px 23px}.app-header{padding-left:20px;padding-right:17px}.brand-mark{width:62px}.brand-lockup{font-size:16px;letter-spacing:2px}.home-page .pond-action{width:105px}.voice-game .practice-scene{height:310px}.lyric-bubble p{font-size:18px}.voice-game .bird{height:137px}.feast-editorial,.memory-editorial,.memory-detail{padding-left:23px;padding-right:23px}}
@media(max-height:760px){.voice-game .game-status{padding-top:8px;padding-bottom:5px}.voice-game .practice-scene{height:272px}.voice-game h2{font-size:21px}.voice-game .mic-button{width:66px;height:66px}.voice-game .mic-button .song-basket-mic{width:49px;height:49px}.voice-game .round-dots{margin-top:10px}.voice-game .phase-caption{font-size:13px}.voice-game .practice-actions{margin-top:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.portrait-intro .landed-art{opacity:1!important}}

.game-ready .lyric-bubble{opacity:1}.voice-game .practice-scene[data-phase="lead"] .bubble-lead,.voice-game .practice-scene[data-phase="example"] .bubble-response,.voice-game .practice-scene[data-phase="response"] .bubble-response{opacity:1}

svg:has(image){overflow:hidden!important}
