/* V7 — ink on paper, not ink over the text. */
@font-face{font-family:'Qingke';src:url('assets/fz-qingke-song.woff') format('woff');font-weight:400;font-display:swap}
:root{--serif:'Qingke','Songti SC',serif;--sans:'Qingke','PingFang SC',serif;--paper:#f7f2e8;--ink:#302e27;--muted:#716c5c;--line:#d9cdb8;--orange:#ed782b}
body{font-family:var(--sans);background:#201e1a;color:var(--ink)}button,input,textarea,select{font-family:inherit}.app-shell{background:var(--paper)}
.app-header{background:#272720;color:#f6e9ce;border-bottom:2px solid #c77a37}.app-header .brand-lockup small{color:#c8baa0}.app-header .brand-mark{color:#ed782b}.app-header .icon-button{color:#dfcdaa}.app-header:before{opacity:.09}
.bottom-nav{background:#f7f2e8f7;border-top:1px solid #d4c6ac}.nav-item{color:#6f6959}.nav-item.active{color:#b05d25}.nav-item svg{stroke-width:1.25}
.page-title,.editorial-title h1,.lake-heading h1,.voice-game h2{font-weight:400;color:#302f27}.page-title{letter-spacing:4px}.eyebrow{color:#746d5c}.primary{background:#d87730;border-color:#d87730}.text-button{color:#685e4b}
/* A fine ink-paper grain is global; pictorial ink is kept at the edges. */
.app-shell:before{opacity:.21}.home-page,.feast-editorial,.memory-editorial,.memory-detail{position:relative;isolation:isolate;background:linear-gradient(105deg,#fcf8efeb,#f4eddfed)}
.home-page:before,.feast-editorial:before,.memory-editorial:before{content:'';position:absolute;z-index:-1;pointer-events:none;right:0;top:0;width:130px;height:140px;background:url('assets/brand-ripples-v4.svg') center/110px auto no-repeat;opacity:.11;mask-image:linear-gradient(#000,transparent)}
.home-page .title-row{border-bottom:1px solid #d7c9ad;padding-bottom:17px;margin-bottom:16px;min-height:134px}.home-page .season{color:#8f734a;border-left-color:#c9b38d}.home-page .pond{height:304px;background:linear-gradient(#f7f2e800,#e7e7d63b,#f7f2e800)}
.home-page .pond:before{opacity:.23!important}.home-page .pet-caption{background:#f8f3e9d9;border-bottom-color:#c6ab7b;color:#5e6451}.home-page .growth-net{color:#7a765b;filter:contrast(1.2)}.home-page .info-line{padding-top:20px}.home-page .song-teaser{background:linear-gradient(110deg,#292820,#383a2d);border-left-color:#ed782b;position:relative;overflow:hidden}.home-page .song-teaser:after{content:'';position:absolute;inset:0;background:url('assets/ink-water-v2.png') center/cover;mix-blend-mode:screen;opacity:.045;pointer-events:none}.home-page .song-teaser .tiny{color:#d0c4a9}.home-page .song-teaser p{color:#f8edda;font-size:20px}
.home-page .milestones{border:1px solid #dccdb3;padding:12px 6px;background:#fffcf43d}.home-page .accessories button{border:1px solid #d6c8ac;background:#fbf7ef}.home-page .accessories button.on{border-color:#be763c;background:#f1e2cb}
/* The chapter title has its own unpainted paper area, before the lake begins. */
.lake-heading{position:relative;inset:auto;padding:24px 20px 21px;background:linear-gradient(120deg,#fcf8ef,#f5eddd);text-align:center;z-index:4;border-bottom:1px solid #d4c3a35c;overflow:hidden;isolation:isolate}
.lake-heading:after{content:'';position:absolute;left:9%;right:9%;bottom:9px;height:1px;background:linear-gradient(90deg,transparent,#c39a65,transparent);z-index:-1}.lake-heading .eyebrow{font-size:12px;color:#8c795a;margin-bottom:8px}.lake-heading h1{font-size:25px;line-height:1.6;letter-spacing:3px}.lake-heading>p:last-child{font-size:14px;color:#68644f;margin-top:8px}
.hub-scene{position:relative}.lake-hub .lake-cast{height:calc(100svh - 297px);min-height:560px;max-height:720px}.lake-hub .lake-backdrop{opacity:.93}.hub-bottom{left:7%;right:34%;top:24%;z-index:5}.hub-song-button{background:transparent;border:0;box-shadow:none;backdrop-filter:none;border-radius:0;font-size:16px;padding:10px 0}.hub-song-button small{font-size:12px;letter-spacing:2px}.hub-song-symbol{color:#b77235;border-color:#cfb18a}.hub-links{gap:10px}.hub-links .text-button{font-size:13px;color:#665b43}
/* Unboxed, local lines of dialogue sit next to each animal, never over it. */
.portrait-intro .intro-dialog{background:none;border:0;box-shadow:none;padding:0;min-height:0;left:18%;right:auto;top:36%;width:65%;font-size:19px;line-height:1.8;text-align:left;color:#3e4934;letter-spacing:2px;text-shadow:0 1px 5px #fff9e9,0 0 12px #fff9e9;pointer-events:none;z-index:4}
.portrait-intro [data-panel="0"] .intro-dialog{font-size:16px;top:38%;width:62%;left:20%}
.portrait-intro [data-panel="1"] .intro-dialog{left:45%;top:68%;width:48%}
.portrait-intro [data-panel="2"] .intro-dialog{left:13%;top:31%;width:43%}
.portrait-intro [data-panel="3"] .intro-dialog{left:13%;top:44%;width:44%}
.portrait-intro [data-panel="4"] .intro-dialog{left:55%;top:78%;width:40%;font-size:17px}
.portrait-intro .intro-toolbar{background:linear-gradient(#fcf6e6eb,transparent);color:#605f47;font-size:13px}.portrait-intro .intro-location{background:none;text-shadow:0 0 12px #fff6e6}.portrait-intro .intro-controls{background:#f7f2e8;border-top:1px solid #d6c8af}.portrait-intro .intro-next{font-size:15px}
/* Voice stage: clear ink figures, shallow water, and stationery-like controls. */
.voice-game{background:#f7f2e8}.voice-game .practice-top{background:#292b24;color:#e8dbc0;border-bottom:1px solid #b47b44}.voice-game .practice-top button{color:#e8dbc0}.voice-game .practice-top strong{color:#d89c60;font-size:16px}.voice-game .game-status{background:linear-gradient(#fcf8ef,#f7f2e8);padding:19px 20px 14px;position:relative;border-bottom:1px solid #ddd0b848}.voice-game .game-status:after{content:'';width:28px;height:2px;background:#c77836;display:block;margin:12px auto 0}.voice-game .practice-tag{color:#736b56;font-size:14px}
.voice-game .practice-scene{height:350px;background:linear-gradient(#f7f2e8,#e6e9da);border-bottom:1px solid #b4b9a0}.voice-game .pond-landscape{opacity:.32;mask-image:linear-gradient(transparent 0%,#000 52%,#000 88%,transparent);z-index:0}.voice-game .lake-water{opacity:.55}.voice-game .bird-perch{opacity:.7}
.voice-game .bird{height:155px;bottom:52px}.voice-game .crab{height:117px;width:32%;right:10%;bottom:43px;z-index:3}.voice-game .crab:has([aria-label="奶蟹水墨蟹宠"]){width:25%;height:101px;right:12%;bottom:43px}
.voice-game .crab[data-motion="submerge"]{transform:translateY(9px);opacity:.92;clip-path:inset(0 0 8%);filter:none}.voice-game .crab[data-motion="submerge"]:after{content:'';position:absolute;left:3%;right:3%;height:13px;bottom:3%;border-radius:50%;background:linear-gradient(transparent,#a1b9a064);border-bottom:1px solid #8a9f7c;pointer-events:none}
.voice-game .speaker-ripple.right{width:35%;right:7%;opacity:.7}.voice-game .speaker-ripple.active{color:#d07832}
.voice-game .lyric-bubble{opacity:1;background:#fcf8efed;border:1px solid #c7b792;border-radius:2px 13px 2px 11px;box-shadow:0 3px 12px #70623a06;top:19px;padding:12px 11px;width:43%;z-index:4}.voice-game .bubble-response{top:74px}.lyric-bubble small{color:#817052;font-size:13px}.voice-game .lyric-bubble p{color:#3b4231;font-size:18px;letter-spacing:0;line-height:1.7}.lyric-bubble:after{background:#fcf8ef;border-color:#c7b792}.bubble-meter{height:2px;background:#d9ccb0}.bubble-meter i{background:#c37c3b}
.voice-game [data-phase="lead"] .bubble-lead,.voice-game [data-phase="example"] .bubble-response,.voice-game [data-phase="response"] .bubble-response{border-color:#c87e39;background:#fff8e8;box-shadow:0 0 0 2px #ed782b0c}
.voice-game .turn-cue{background:#f8f3e8ef;color:#5d674c;bottom:0;font-size:13px;letter-spacing:2px}.game-console{position:relative;background:linear-gradient(#faf6ee,#f4ecdc);border-top:0;padding-top:5px}.voice-game .round-dots{gap:28px;position:relative;width:max-content;margin:12px auto}.voice-game .round-dots:before{content:'';position:absolute;left:12px;right:12px;top:50%;border-top:1px solid #ceb68c;z-index:0}.voice-game .round-dots i{background:#f7f2e8;z-index:1;border-color:#b6a980;width:27px;height:27px}.voice-game .round-dots i.done{background:#f0d4ae}.voice-game .round-dots span{font-size:13px}.voice-game .phase-caption{color:#5c604e;font-size:15px}.voice-game .progress-track{background:#d5cab2;height:2px}.voice-game .mic-button{background:#e08035;box-shadow:0 0 0 5px #f8f1e4,0 0 0 6px #c7ab7a,0 0 0 11px #c9b18419;border:1px solid #f5cca0;border-radius:50%;margin:7px}.voice-game .meter-caption{font-size:14px;color:#665f4b}.voice-game .practice-actions .text-button{font-size:14px}.game-options{background:#f4ecdc;padding:10px 24px 20px}.partner-tabs button{border-color:#cebd9e}
/* Dark ink fragments and fine net geometry echo the feast identity. */
.invitation-card{background:linear-gradient(130deg,#25261f,#37372a);border-left-color:#dc8137}.invitation-card h2{color:#f3e7cf}.invitation-card p,.invitation-card small{color:#c6b99a}.banquet-menu li{border-bottom-style:dotted;border-bottom-color:#c8b58f}.editorial-section-head{border-bottom:1px solid #d9c6a4;padding-bottom:7px}.banquet-memory-card{border-color:#d5bd94;background-color:#f6efdf}.journal-input{border-color:#c8b18a;background:#fcf8ef}.memory-poem{color:#585d47}.desktop-note,.desktop-side{color:#c9bea6}.desktop-net{color:#b28148}.side-ripples{color:#d47e35}
@media(max-width:380px){.lake-heading{padding:20px 17px}.lake-heading h1{font-size:22px}.lake-heading>p:last-child{font-size:13px}.hub-song-button{font-size:14px;padding:10px 8px;gap:6px}.hub-song-symbol{width:31px;height:31px;flex-shrink:0}.hub-song-button small{font-size:11px}.portrait-intro .intro-dialog{font-size:17px}.voice-game .crab:has([aria-label="奶蟹水墨蟹宠"]){height:93px}.voice-game .lyric-bubble p{font-size:16px}.voice-game .lyric-bubble small{font-size:12px}.voice-game .phase-caption{font-size:14px}}
@media(max-height:760px){.voice-game .practice-scene{height:295px}.voice-game .bird{height:138px}.voice-game .crab:has([aria-label="奶蟹水墨蟹宠"]){height:90px}.voice-game .game-status{padding:12px 18px 8px}.voice-game .game-status:after{margin-top:8px}}
.home-page .pond:before{content:'';position:absolute;inset:28px 0 96px;background:url('assets/ink-water-v2.png') center 64%/cover no-repeat;opacity:.3!important;mask-image:linear-gradient(transparent,#000 32%,#000 70%,transparent);pointer-events:none;z-index:0}.home-page .pond-action svg{width:81px;height:65px;justify-self:center}.portrait-intro .intro-location{top:8%;font-size:26px}.portrait-intro .intro-location small{display:none}
.portrait-intro [data-panel="1"] .intro-dialog{left:44%;top:59%;width:45%}
/* The pet lives in the lake; information stays in a clean shore margin. */
.home-page .pond{height:373px;margin-left:-28px;margin-right:-28px;overflow:hidden;background:linear-gradient(#f7f2e8 0%,transparent 28%,transparent 85%,#f7f2e8 100%),url('assets/lake-clean-v6.webp') center 70%/100% auto no-repeat}
.home-page .pond:before{display:none}.home-page .pond:after{content:'';position:absolute;bottom:0;left:0;right:0;height:116px;pointer-events:none;background:linear-gradient(transparent,#f7f2e8ee 70%);z-index:0}.home-page .pond .pet-wrap{z-index:2;top:47%!important}.home-page .pond .pet-wrap.stage-0{width:112px;height:104px}.home-page .pet-caption{top:9px;background:#fbf6ecef;z-index:2;font-size:14px}.home-page .pet-name{bottom:121px;z-index:3;font-size:18px;background:radial-gradient(ellipse,#f8f2e5ed,transparent 66%)}.home-page .pet-name .tiny{font-size:13px}.home-page .pond-ripple{bottom:141px;width:202px}.home-page .pond-actions{z-index:3}.home-page .pond-action{height:102px;bottom:3px}.home-page .pond-action span{background:#f9f2e4d9;padding:2px 9px;border-bottom:1px solid #c9a373}.home-page .pond-action svg{width:82px;height:65px}.home-page .info-line{margin-top:7px}
.lesson-picker{padding:19px 24px;background:#f5ecdc;border-top:1px solid #d4bd95}.lesson-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;font-size:17px}.lesson-heading small{font-size:14px;color:#8d6c41}.lesson-picker>button{display:flex;align-items:center;gap:14px;width:100%;padding:11px 12px;text-align:left;border-bottom:1px solid #dbccb2;background:#fffaf240;min-height:65px}.lesson-picker>button.on{background:#e7d9bd7a;border-left:2px solid #c27b37}.lesson-index{color:#b17638;font-size:17px}.lesson-picker button small{display:block;font-size:14px;color:#746e5b;margin-top:3px}.lesson-picker button em{margin-left:auto;font-size:13px;font-style:normal;color:#8e734c}.lesson-picker>p{font-size:12px;color:#80765d;padding-top:12px;line-height:1.8}.result-learning{margin-top:17px}.result-learning>span{display:block;font-size:14px;color:#756c56;margin-bottom:12px;text-align:center}
.home-page .pet-name{bottom:105px}

/* The lake invitation is lettering on the landscape, without a card backdrop. */
.lake-hub .hub-song-button{position:relative;background:none;border:0;box-shadow:none;backdrop-filter:none;text-align:left;min-height:66px;gap:11px;color:#354633}
.lake-hub .hub-song-button:after{content:'';position:absolute;left:54px;right:8px;bottom:4px;height:1px;background:linear-gradient(90deg,#cd7b3b88,transparent)}
.lake-hub .hub-song-symbol{border:0;border-radius:0;width:43px;height:43px;color:#cb7331;flex-shrink:0}
.lake-hub .hub-song-symbol svg{width:43px;height:35px}
.lake-hub .hub-song-button small{color:#68775b;font-size:13px;letter-spacing:2px;margin-top:5px}
.lake-hub .hub-song-button:hover{background:none;color:#b15e2c}
.lake-hub .hub-song-button:focus-visible{outline:1px dashed #c77737;outline-offset:5px}
@media(max-width:380px){.lake-hub .hub-song-button{padding:10px 0;gap:7px}.lake-hub .hub-song-button small{font-size:12px}.lake-hub .hub-song-symbol{width:36px}.lake-hub .hub-song-symbol svg{width:36px}.lake-hub .hub-song-button:after{left:43px}}
