@font-face{font-family:Wenkai;src:url('assets/fonts/wenkai.woff2') format('woff2');font-display:swap}
:root{--ink:#365d65;--muted:#6a8790;--blue:#507f8b;--line:#c7dfe3;--pink:#fae0e7;--paper:#f8f0dd;--font:Wenkai,'Kaiti SC',KaiTi,STKaiti,serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fcfefe;color:var(--ink);font-family:var(--font);font-size:16px;letter-spacing:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button{border:0}button:disabled{cursor:default;opacity:.48}button:not(:disabled),a{transition:background .25s,color .25s,box-shadow .25s,transform .25s}button:not(:disabled):hover{transform:translateY(-2px)}:focus-visible{outline:3px solid #6c9ea7;outline-offset:5px}svg{width:20px;height:20px;stroke-width:1.5;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:400}p{line-height:1.9}button svg{pointer-events:none}.site-header{height:88px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d9e9eb;background:#ffffffeb;position:relative;z-index:20;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-size:25px;white-space:nowrap}.brand-mark{width:43px;height:43px;border:1px solid #9abcc3;border-radius:50%;display:grid;place-items:center}.brand-mark svg{width:27px;height:27px;transform:rotate(-12deg)}.brand small{display:block;font-size:10px;margin-top:5px;color:var(--muted)}nav{display:flex;gap:39px;font-size:16px}nav a{position:relative;padding:12px 0}nav a:hover,nav a.active{color:#286274}nav a.active:after{content:'';position:absolute;bottom:2px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#56838c}.header-tools{display:flex;align-items:center;gap:8px}.sound-button{display:flex;align-items:center;gap:10px;background:transparent;font-size:14px;padding:10px}.sound-dot{width:5px;height:5px;border-radius:50%;background:#b6c8c9}.sound-button[aria-pressed=true] .sound-dot{background:#659e8b;box-shadow:0 0 0 4px #659e8b15}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;background:transparent;border-radius:50%}.icon-button:hover{background:#d8ebed8a}.sound-popover{position:absolute;right:4%;top:77px;z-index:30;width:290px;padding:24px;background:#fcffff;border:1px solid var(--line);box-shadow:0 10px 30px #45677319;border-radius:8px}.sound-popover p{font-size:16px}.sound-popover label{display:flex;align-items:center;gap:12px;margin-top:18px;font-size:14px}.sound-popover input{width:130px;accent-color:#719ba3}.home-hero{height:455px;min-height:400px;position:relative;display:flex;align-items:center;justify-content:center;text-align:center;background:#e6f7fa url('assets/with-you.jpg') center 46%/cover;isolation:isolate;overflow:hidden}.home-hero:before{content:'';position:absolute;inset:0;background:#f3fcfc36;z-index:-1}.hero-inner{padding:35px 24px 30px;animation:arrive 1.8s both}.eyebrow{font-size:11px;color:#608994;margin-bottom:23px;font-family:Georgia,serif}.home-hero h1{font-size:66px;margin-bottom:12px;line-height:1.2}.hero-verse{font-size:27px;margin-bottom:13px}.hero-description{color:#66828a;font-size:15px;line-height:1.9;margin-bottom:23px}.hero-action{display:inline-flex;gap:18px;align-items:center;font-size:14px;border-bottom:1px solid #7b9da699;padding:8px 2px}.hero-action svg{width:15px;height:15px}.hero-side-note{position:absolute;right:5%;bottom:27px;writing-mode:vertical-rl;font-size:13px;color:#749ba1;line-height:1.8}.hero-corner{position:absolute;left:5%;bottom:26px;display:flex;align-items:center;gap:9px;font-size:11px;color:#6d939a}.hero-corner svg{width:15px;height:15px}.spaces{padding:43px 5% 46px;max-width:1540px;margin:auto;scroll-margin-top:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.section-heading h2{font-size:25px;margin:0}.section-heading h2 span{font-size:13px;color:#8ca2a5;margin-left:18px}.section-heading>p{font-size:13px;color:var(--muted);margin:0}.space-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.space-link{display:block;min-width:0}.space-art{height:207px;position:relative;overflow:hidden;border-radius:5px;background:#e6f4f6}.space-art>img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s}.space-link:hover .space-art>img{transform:scale(1.045)}.space-link:nth-child(1) .space-art>img{object-position:center 41%}.space-link:nth-child(2) .space-art>img{object-position:center 66%}.space-link:nth-child(3) .space-art>img{object-position:72% center}.space-link:nth-child(4) .space-art>img{object-position:center 67%}.space-number{position:absolute;top:12px;left:14px;font-size:11px;color:#4c7681;background:#ffffffb0;padding:5px 7px;border-radius:50%;width:28px;height:28px;display:grid;place-items:center}.space-title{display:flex;align-items:center;justify-content:space-between;margin:17px 0 9px}.space-title h3{font-size:21px;margin:0}.space-title>span{width:29px;height:29px;border:1px solid #c3dadd;border-radius:50%;display:grid;place-items:center}.space-title svg{width:15px;height:15px}.space-link p{font-size:13px;color:var(--muted);margin:0;line-height:1.7}.quiet-band{background:#eef5f0 url('assets/garden.jpg') center/cover;text-align:center;padding:34px 20px;color:#486d66}.quiet-band svg{width:20px;height:20px;display:block;margin:0 auto 12px}.quiet-band p{font-size:20px;margin:0 0 6px}.quiet-band small{font-size:12px}.site-footer{padding:25px 5%;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#8a9b9e;font-size:11px}.site-footer>a{font-size:15px;color:#5e7d84}.site-footer button{background:none;display:flex;align-items:center;gap:4px;font-size:11px}.site-footer svg{width:12px;height:12px}.room{min-height:calc(100svh - 160px);position:relative;isolation:isolate;overflow:hidden;animation:arrive .8s both}.room-top{display:flex;align-items:center;justify-content:space-between;padding:25px 5%;position:relative;z-index:3}.back-link{display:inline-flex;align-items:center;gap:9px;font-size:14px}.back-link svg{width:17px;height:17px}.room-label{font-size:12px;color:var(--muted)}.room-content{position:relative;z-index:2;margin:auto;max-width:1190px;padding:35px 45px 60px}.room-content h1{font-size:44px;margin-bottom:20px;line-height:1.5}.room-content .intro{font-size:17px;line-height:2;color:#64858e}.room-eyebrow{font-family:Georgia,serif;font-size:11px;color:#6e9199;margin-bottom:20px}.primary-button,.soft-button{display:inline-flex;align-items:center;justify-content:center;gap:13px;border:1px solid #88aeb6;border-radius:4px;padding:14px 25px;min-height:50px;font-size:16px;background:#f5fcfccf;color:#3e6d79;line-height:1.5}.primary-button{background:#507e89;color:#fff;border-color:#507e89;box-shadow:0 5px 18px #4b76851a}.primary-button:hover{background:#426f7b}.soft-button:hover{background:#fff}.primary-button svg,.soft-button svg{width:17px;height:17px}.small-note{font-size:12px;color:#7a959c;margin:18px 0 0}.separation-room{background:#e7f4f7 url('assets/with-you.jpg') center/cover}.rain-art{position:absolute;width:52%;height:100%;right:0;top:0;z-index:-1}.rain-art img{position:absolute;width:100%;height:100%;object-fit:contain;object-position:center}.handwriting-layer{animation:ink-in 3.5s ease both}.rain-art.replay .handwriting-layer{animation:ink-in 4s ease both}.separation-room .room-content{margin:0 auto;padding-top:50px;min-height:580px}.separation-copy{width:47%;max-width:480px}.separation-copy .intro{margin-bottom:32px}.separation-copy h1{font-size:39px}.gentle-note{font-size:13px;color:#7a959d;line-height:1.9;margin-top:28px;max-width:340px}.exercise{width:48%;max-width:500px}.step-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;font-size:12px;color:#6e9199}.step-track{display:flex;gap:7px}.step-track span{width:28px;height:3px;background:#c7dfe4}.step-track span.complete{background:#6a9aa5}.exercise h2{font-size:27px;line-height:1.55;margin-bottom:14px}.exercise .step-explanation{font-size:15px;color:#64828c;line-height:1.9;margin-bottom:22px}.writing-field{width:100%;resize:vertical;min-height:110px;max-height:240px;background:#ffffff9c;border:1px solid #b9d5dd;border-radius:4px;padding:16px;outline:none;line-height:1.9;color:#456c77}.writing-field:focus{border-color:#6c9ea7;box-shadow:0 0 0 3px #ffffff60}textarea::placeholder,input::placeholder{color:#8fa5a9}.step-options{display:grid;gap:10px}.option{padding:13px 16px;display:flex;align-items:center;gap:12px;background:#ffffff91;border:1px solid #c2dce2;border-radius:4px;text-align:left;font-size:15px}.option .radio{width:15px;height:15px;border:1px solid #87aab5;border-radius:50%;flex:none}.option.selected{border-color:#608d9b;background:#f3fcff}.option.selected .radio{background:#608d9b;box-shadow:inset 0 0 0 3px #f3fcff}.exercise-actions{display:flex;align-items:center;gap:18px;margin-top:25px}.text-button{background:none;padding:8px;font-size:14px;color:#6b8992}.acknowledgment{font-size:18px;color:#527e89;min-height:31px;margin-top:20px;animation:arrive 1s both}.reflection{font-size:15px;padding:16px 0;border-top:1px solid #c2d9df;line-height:1.9}.completion-verse{font-size:30px;line-height:1.7;margin:20px 0;animation:ink-in 3s both}.listen-room{background:#366e6c;color:#fff}.forest-art{position:absolute;inset:0;z-index:-1;background:url('assets/listen-clean.jpg') center 65%/cover}.forest-art:after{content:'';position:absolute;inset:0;background:#0d343d20}.listen-handwriting{position:absolute;top:55px;right:9%;height:370px;max-width:48%;object-fit:contain;animation:ink-in 5s both;z-index:-1}.listen-room .room-content{padding-top:120px;min-height:610px}.listen-room .room-content h1{font-size:48px}.listen-room .intro,.listen-room .room-label,.listen-room .room-eyebrow,.listen-room .small-note{color:#e7f0dc}.listen-room .primary-button{background:#f1f6e9ed;color:#3d635b;border:1px solid #eff4dc;margin-top:20px;max-width:100%}.listen-room .room-content>div{max-width:500px}.letter-room{background:var(--paper);color:#6c6b53}.letter-room:before{content:'';position:absolute;inset:0;z-index:-1;opacity:.13;background:url('assets/garden.jpg') center/cover;mix-blend-mode:multiply}.letter-room .room-label{color:#8d8c74}.letter-sheet{max-width:800px;margin:0 auto;padding:16px 36px 48px;position:relative}.letter-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#99947c;border-bottom:1px solid #c8bd9d;padding-bottom:22px}.letter-sheet h1{font-size:30px;margin:30px 0 20px}.letter-input{width:100%;height:310px;resize:vertical;border:0;outline:none;color:#6c6a55;line-height:38px;font-size:19px;background:repeating-linear-gradient(transparent 0,transparent 37px,#c4b89765 37px,#c4b89765 38px);padding:0 3px;background-attachment:local;border-radius:0}.letter-input::placeholder{color:#b0a48e;font-size:17px}.letter-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:27px;gap:20px}.letter-bottom small{font-size:12px;color:#9b947e}.letter-bottom .primary-button{background:#7b8d7c;border-color:#7b8d7c}.letter-sheet.rolling{animation:roll-letter 1.7s ease-in both;transform-origin:center}.bottle-scene{min-height:580px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;padding:40px 20px;background:#e5f3f3 url('assets/with-you.jpg') center/cover}.bottle-scene h1{font-size:29px;margin-top:34px;line-height:1.6}.bottle-scene p{color:#64818b;font-size:16px;line-height:1.9}.bottle{width:80px;height:135px;border:2px solid #84b7ba;background:#e4ffff8c;border-radius:15px 15px 26px 26px;position:relative;transform:rotate(20deg);animation:bottle-arrive 2s both,float 5s 2s infinite ease-in-out;box-shadow:inset 8px 0 0 #ffffff60,5px 10px 15px #6a9a9b18}.bottle:before{content:'';position:absolute;width:27px;height:35px;top:-35px;left:24px;background:#dff9f4bf;border:2px solid #84b7ba;border-bottom:0;border-radius:5px 5px 0 0}.bottle:after{content:'';position:absolute;width:30px;height:12px;top:-42px;left:23px;background:#bca98c;border-radius:3px}.bottle-letter{position:absolute;width:28px;height:74px;left:25px;top:28px;background:#f4e9ca;box-shadow:inset -7px 0 #dfcfac;border-radius:10px;transform:rotate(-10deg);border:1px solid #cabb97}.bottle-letter:after{content:'';position:absolute;top:30px;left:-3px;width:32px;height:3px;background:#b3998f}.happiness-room{background:#fff0f2 url('assets/happiness.jpg') center/cover}.happiness-room .room-content{min-height:590px;padding-top:85px}.happiness-room .intro{color:#a77989}.happiness-room .room-eyebrow{color:#b58996}.happiness-room .room-content h1{color:#966578}.happiness-room .primary-button{background:#b57c91;border-color:#b57c91}.happiness-room .room-content>.happiness-intro{max-width:560px}.happiness-room .small-note{color:#a57d8d}.heart-board{padding:0 5% 45px;text-align:center}.heart-board h1{font-size:32px;margin-bottom:8px;color:#966578}.heart-board .board-description{color:#a5808d;font-size:14px}.hearts{display:flex;justify-content:center;gap:35px;flex-wrap:wrap;margin:38px auto 32px;max-width:1100px}.heart-note{width:280px;height:265px;position:relative;filter:drop-shadow(0 9px 9px #c8879b20);animation:arrive .8s both;isolation:isolate}.heart-note:before{content:'';position:absolute;inset:0;background:#f6c6d4;clip-path:polygon(50% 95%,8% 54%,2% 40%,2% 25%,9% 11%,23% 5%,37% 8%,50% 21%,63% 8%,77% 5%,91% 11%,98% 25%,98% 40%,92% 54%);z-index:-1}.heart-note:nth-child(2){transform:rotate(3deg);animation-delay:.15s}.heart-note:nth-child(2):before{background:#f8d6df}.heart-note:nth-child(3){transform:rotate(-3deg);animation-delay:.3s}.heart-note:nth-child(3):before{background:#f3bdcf}.heart-note label{display:block;padding-top:63px;color:#9f6078;font-size:13px}.heart-note textarea{display:block;width:169px;height:98px;margin:8px auto 0;background:none;border:0;outline:none;resize:none;text-align:center;color:#94566e;font-size:16px;line-height:1.8}.heart-note textarea::placeholder{color:#b77f92;font-size:14px}.saved-count{font-size:12px;color:#a47c8b;margin-top:18px}.happiness-bloom{font-size:32px;color:#a36d84;animation:ink-in 2s both;text-align:center;margin:15px 0}.happiness-history{max-width:850px;margin:35px auto 0;border-top:1px solid #dbb3c1;padding-top:24px;text-align:left}.happiness-history h2{font-size:19px;color:#9b6a7d}.memory-row{padding:15px 0;border-bottom:1px solid #e4c9d2;display:flex;gap:25px;font-size:15px;color:#97697a;line-height:1.8}.memory-row time{font-size:12px;white-space:nowrap;min-width:65px;color:#ae8b97}.chat-room{background:#e3f5f7 url('assets/with-you.jpg') center/cover}.chat-shell{width:min(740px,90%);margin:0 auto 35px}.chat-heading{text-align:center;margin:6px 0 24px}.chat-heading h1{font-size:32px;margin-bottom:9px}.chat-heading p{font-size:13px;color:#79929b;margin:0}.mode-indicator{display:inline-flex;align-items:center;gap:6px;font-size:11px;margin-top:9px;color:#648b90}.mode-indicator:before{content:'';width:5px;height:5px;border-radius:50%;background:#88aca4}.chat-messages{height:330px;overflow:auto;scroll-behavior:smooth;padding:12px 7px;display:flex;flex-direction:column;gap:19px;scrollbar-width:thin;scrollbar-color:#a4c7cd transparent}.message{display:flex;gap:10px;align-items:flex-start;max-width:91%;animation:arrive .4s both}.message-avatar{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid #c0dce0;background:#f5fcfd99}.message-avatar svg{width:16px;height:16px}.message-text{padding:13px 18px;background:#ffffffbc;border:1px solid #cbe1e6;border-radius:4px 8px 8px 8px;line-height:1.9;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{align-self:flex-end}.message.user .message-text{background:#c5e5ebaa;border-color:#b7d9e2;border-radius:8px 4px 8px 8px}.chat-suggestions{display:flex;gap:8px;flex-wrap:wrap;padding:16px 0}.chat-suggestions button{border:1px solid #a6c6ce;background:#f6fdff91;padding:7px 12px;border-radius:3px;font-size:12px}.chat-compose{display:flex;gap:12px;border:1px solid #a5c7cf;background:#ffffffcb;padding:12px;border-radius:6px;align-items:flex-end}.chat-compose textarea{border:0;background:none;outline:none;resize:none;height:50px;max-height:130px;flex:1;min-width:0;color:#456b77;font-size:15px;line-height:1.8}.send-button{width:40px;height:40px;flex:none;border-radius:4px;background:#5c8a95;color:#fff;display:grid;place-items:center}.chat-fine-print{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#819ba2;margin:12px 0;gap:14px}.chat-fine-print button{background:none;color:#819ba2;font-size:11px;padding:5px}.typing{animation:breathe 1.2s infinite}.toast{position:fixed;left:50%;bottom:35px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100;background:#fbfffff2;box-shadow:0 5px 30px #4d768124;border:1px solid #bfd8dc;padding:17px 26px;border-radius:6px;color:#537782;text-align:center;font-size:19px;transition:opacity .4s,transform .4s;max-width:90%;width:max-content}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #bbd7da;border-radius:8px;background:#f8fcfb;color:#53747d;max-width:500px;width:90%;padding:40px;box-shadow:0 20px 70px #24495826}dialog::backdrop{background:#24495855;backdrop-filter:blur(4px)}dialog h2{font-size:27px}dialog p{font-size:14px}dialog .dialog-close{position:absolute;right:13px;top:13px}dialog .dialog-icon{width:30px;height:30px;margin-bottom:20px}.error-text{color:#99647b;font-size:13px;line-height:1.7}.petal{position:fixed;pointer-events:none;font-size:23px;color:#c77797;z-index:80;animation:petal-float 2.8s ease-out both}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@keyframes arrive{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}@keyframes ink-in{0%{opacity:0;filter:blur(4px);clip-path:inset(0 100% 0 0)}35%{opacity:.45;filter:blur(1px)}100%{opacity:1;filter:blur(0);clip-path:inset(0 0 0 0)}}@keyframes roll-letter{0%{transform:scale(1);opacity:1}45%{transform:perspective(800px) rotateX(35deg) scaleX(.8) scaleY(.3);border-radius:30px}80%{transform:scaleX(.12) scaleY(.25) rotate(-15deg);opacity:1}100%{transform:translateY(100px) scale(.04) rotate(20deg);opacity:0}}@keyframes bottle-arrive{from{opacity:0;translate:0 -40px}to{opacity:1;translate:0 0}}@keyframes float{50%{translate:0 10px;rotate:-5deg}}@keyframes breathe{50%{opacity:.4}}@keyframes petal-float{from{translate:0 0;opacity:0}25%{opacity:.9}to{translate:var(--drift) -200px;rotate:35deg;opacity:0}}
@media(min-width:1600px){.home-hero{height:510px}.space-art{height:240px}.spaces{padding-top:45px}.site-header{padding-left:7%;padding-right:7%}}
@media(max-width:1000px){.site-header{padding:0 4%;gap:15px}nav{gap:22px;font-size:14px}.brand{font-size:22px}.sound-button{padding:8px}.sound-button span:not(.sound-dot){display:none}.space-grid{gap:18px}.space-art{height:180px}.section-heading h2 span{display:none}.rain-art{width:49%}.room-content{padding-left:5%;padding-right:5%}.separation-copy h1{font-size:34px}.exercise h2{font-size:24px}.hearts{gap:10px}.heart-note{width:250px;height:245px}.heart-note textarea{width:155px}.listen-handwriting{right:4%;max-width:49%;height:330px}.room-content h1{font-size:38px}}
@media(max-width:700px){.site-header{height:108px;flex-wrap:wrap;padding:15px 5% 0;gap:0;align-content:space-between}.brand{font-size:21px;gap:8px}.brand-mark{width:33px;height:33px}.brand-mark svg{width:22px;height:22px}.brand small{font-size:8px;margin-top:3px}.header-tools{margin-left:auto}nav{order:3;width:100%;justify-content:space-between;gap:10px;height:40px;font-size:13px}nav a{padding:10px 0}.sound-button{gap:7px}.sound-popover{top:67px;right:5%}.home-hero{height:429px;min-height:0;background-position:center 44%}.home-hero h1{font-size:48px}.eyebrow{font-size:9px;margin-bottom:26px}.hero-verse{font-size:23px}.hero-description{font-size:13px}.hero-inner{padding:28px 20px 48px}.hero-corner{bottom:17px;font-size:9px}.hero-side-note{right:5%;bottom:28px;font-size:11px}.spaces{padding:30px 5%}.section-heading{margin-bottom:20px;align-items:baseline;gap:10px}.section-heading h2{font-size:21px;white-space:nowrap}.section-heading>p{font-size:10px}.space-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 17px}.space-art{height:164px}.space-title{margin-top:12px;margin-bottom:6px}.space-title h3{font-size:19px}.space-link p{font-size:11px;line-height:1.9}.space-title>span{width:24px;height:24px}.space-number{font-size:10px;width:23px;height:23px;left:10px;top:10px}.quiet-band{padding:28px 20px}.quiet-band p{font-size:17px}.quiet-band small{font-size:10px}.site-footer{padding:22px 5%;flex-wrap:wrap;gap:13px;font-size:10px}.site-footer>span{order:3;width:100%;font-size:9px}.site-footer button{margin-left:auto;font-size:10px}.room-top{padding:22px 5%}.room-label{font-size:10px}.back-link{font-size:12px}.room-content{padding:22px 6% 40px}.room-content h1{font-size:33px}.rain-art{position:relative;width:100%;height:330px;top:auto;margin-top:-30px;z-index:0}.separation-room .room-content{min-height:0;padding-top:5px;padding-bottom:32px}.separation-copy,.exercise{width:100%;max-width:none}.separation-copy h1{font-size:29px}.separation-copy .intro{font-size:15px;line-height:1.9;margin-bottom:22px}.separation-copy .intro br{display:none}.separation-copy .gentle-note{max-width:none;font-size:12px;margin-top:20px}.room-eyebrow{font-size:10px;margin-bottom:15px}.separation-room .room-content:has(.exercise){padding-top:0}.exercise h2{font-size:24px}.exercise .step-explanation{font-size:14px}.step-meta{margin-bottom:20px}.option{font-size:14px}.primary-button,.soft-button{font-size:14px;min-height:46px;padding:12px 19px}.exercise-actions{margin-top:20px}.acknowledgment{font-size:16px}.forest-art{background-size:cover;background-position:48% 66%}.listen-room .room-content{padding-top:290px;min-height:710px}.listen-room .room-content h1{font-size:34px}.listen-room .intro{font-size:15px}.listen-handwriting{top:68px;left:6%;right:auto;max-width:88%;width:88%;height:242px}.listen-room .room-content>div{background:#143c4c55;padding:20px 16px;border-radius:4px}.listen-room .primary-button{font-size:13px;padding:12px 14px;gap:8px}.listen-room .small-note{font-size:10px}.letter-sheet{padding:8px 6% 35px}.letter-meta{font-size:10px;padding-bottom:20px}.letter-sheet h1{font-size:25px}.letter-input{height:330px;font-size:17px}.letter-input::placeholder{font-size:14px}.letter-bottom{align-items:flex-start;flex-direction:column;gap:17px}.letter-bottom .primary-button{align-self:flex-end}.bottle-scene{min-height:620px}.bottle-scene h1{font-size:25px}.bottle-scene p{font-size:14px}.happiness-room{background-position:75% top;background-size:auto 700px;background-repeat:repeat-y}.happiness-room .room-content{padding-top:235px;min-height:570px}.happiness-room .room-content h1{font-size:32px}.happiness-room .intro{font-size:15px}.heart-board{padding-top:15px}.heart-board h1{font-size:27px}.hearts{margin-top:20px;gap:12px}.heart-note{width:270px;height:253px}.heart-note textarea{width:165px}.heart-board .board-description{font-size:12px}.happiness-history{margin-top:25px}.happiness-bloom{font-size:27px}.chat-heading{margin-top:0;margin-bottom:15px}.chat-heading h1{font-size:28px}.chat-heading p{font-size:12px}.chat-messages{height:350px;padding:10px 0}.message{max-width:96%;gap:7px}.message-text{font-size:14px;padding:11px 13px}.message-avatar{width:27px;height:27px}.chat-suggestions{gap:7px;padding:13px 0}.chat-suggestions button{font-size:11px;padding:7px 10px}.chat-fine-print{font-size:9px;align-items:flex-start}.chat-fine-print button{font-size:10px;white-space:nowrap}.toast{font-size:16px;bottom:25px;padding:15px 20px}.completion-verse{font-size:27px}.memory-row{font-size:14px;gap:15px}dialog{padding:32px 25px}dialog p{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.hearts .heart-note:before{background:transparent url('assets/heart-paper.png') center/100% 100% no-repeat;clip-path:none}
.space-link:nth-child(3) .space-art>img{object-position:right center}
.bottle-scene{min-height:calc(100svh - 225px)}
@media(max-width:700px){.happiness-room{background-image:none;background-color:#fcebef}.happiness-room:before{content:'';position:absolute;inset:0 0 auto;height:450px;background:url('assets/happiness.jpg') right top/auto 400px no-repeat;mask-image:linear-gradient(#000 78%,transparent);z-index:-1}.heart-board{padding-top:165px}.section-heading{display:block}.section-heading>p{margin-top:9px;font-size:11px}.bottle-scene{min-height:620px}}
@media(max-width:700px) and (max-height:650px){.home-hero{height:340px}}
.heart-board h1{text-wrap:balance}
@media(max-width:700px){.happiness-room:before{height:400px}}
@font-face{font-family:MaShanZheng;src:url('assets/fonts/mashanzheng.woff2') format('woff2');font-display:swap}
@font-face{font-family:LongCang;src:url('assets/fonts/longcang.woff2') format('woff2');font-display:swap}
@font-face{font-family:Xiaolai;src:url('assets/fonts/xiaolai.woff2') format('woff2');font-display:swap;font-weight:400;font-style:normal}
:root{--font:Xiaolai,Wenkai,'Kaiti SC',KaiTi,serif;--display:var(--font)}
body{font-size:21px}h1,h2,h3,.brand,.completion-verse,.happiness-bloom{font-family:var(--display);font-weight:400;text-wrap:balance}
.brand{font-size:28px}.brand small{font-family:var(--font);font-size:14px}.site-header nav{font-size:20px;gap:30px}.header-tools{gap:5px}.sound-button{font-size:18px}
.home-hero h1{font-size:72px}.hero-verse{font-size:33px}.hero-description{font-size:22px;line-height:1.7}.hero-action{font-size:20px}.hero-corner,.hero-side-note{font-size:16px}.eyebrow{margin-bottom:16px}
.section-heading h2{font-size:29px}.section-heading>p,.space-link p{font-size:19px}.section-heading h2 span{font-size:10px}.space-title h3{font-size:26px}.space-number{font-family:Georgia,serif}.quiet-band p{font-size:28px}.quiet-band small{font-size:18px}
.primary-button,.soft-button{font-size:22px}.text-button,.back-link{font-size:19px}.site-footer{font-size:16px}.site-footer>a{font-size:21px}.site-footer button{font-size:16px}.room-tools{display:flex;align-items:center;gap:23px}.room-label{font-size:16px}.pause-button{display:flex;align-items:center;gap:7px}.pause-button svg{width:16px;height:16px}.room-top{gap:15px}
.room-content .intro{font-size:25px;line-height:1.75}.small-note,.gentle-note{font-size:18px;line-height:1.65}.room-eyebrow{font-size:15px;font-family:var(--font)}.room-content h1{font-size:44px}.room-content .gentle-note{max-width:none}.room-content{scroll-margin-top:15px}
.separation-room{background:#e8f5f8 url('assets/rain-clean.jpg') center top/cover}.rain-art{position:absolute;inset:62px 0 auto;width:100%;height:310px;margin:0;z-index:-1;pointer-events:none}.rain-art .handwriting-layer{position:absolute;left:50%;top:0;width:min(750px,88%);height:100%;object-fit:contain;object-position:center;transform:translateX(-50%)}.handwriting-layer.settled{animation:none}
.separation-room .room-content{width:100%;max-width:790px;margin:0 auto;min-height:0;padding:345px 36px 45px}.separation-copy,.exercise{width:100%;max-width:none}.separation-copy{text-align:center}.separation-copy h1{font-size:37px}.separation-copy .intro{margin-bottom:26px}.separation-copy .gentle-note{margin:22px auto 0}.exercise h2{font-size:32px;line-height:1.45}.exercise .step-explanation{font-size:23px;line-height:1.6;margin-bottom:20px}.step-meta{font-size:19px;margin-bottom:24px}.step-track span{width:23px}.writing-field{font-size:23px;line-height:1.7;min-height:130px}.option{font-size:23px;line-height:1.5;padding:13px 17px;align-items:flex-start}.option .radio{margin-top:10px}.acknowledgment{font-size:22px;min-height:25px;margin-top:15px}.exercise-actions{flex-wrap:wrap;gap:13px}.completion-verse{font-size:38px}.reflection{font-size:23px;line-height:1.6;margin:18px 0}.story-anchor{border-left:2px solid #7caeb8;padding:12px 18px;background:#faffff94;margin-bottom:24px}.story-anchor>span{font-size:18px;color:#658c96}.story-anchor>p{font-size:23px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;max-height:170px;overflow:auto;margin:9px 0 0}.answer-memory{padding-top:10px;margin-top:10px;border-top:1px solid #bdd6dc66;font-size:21px;line-height:1.55;overflow-wrap:anywhere}.answer-memory>span{color:#7798a0;display:block;font-size:17px}.care-response{padding:0 0 19px;border-bottom:1px solid #bdd6dc;margin-bottom:25px}.care-response>span{font-size:25px;color:#457886}.care-response>p{font-size:24px;line-height:1.65;margin:13px 0 0;white-space:pre-wrap}.custom-answer-label{font-size:20px;display:block;margin:22px 0 10px;color:#668992}.custom-answer{min-height:75px;max-height:180px}.guide-mode{font-size:17px;color:#789ba3;margin-top:13px}.guide-mode button{font-size:17px;text-decoration:underline;padding:0 4px}.guide-wait{font-size:24px;padding:25px 0 50px;line-height:1.7;display:flex;align-items:center;gap:12px}.guide-wait svg{width:26px;height:26px}.boundary-summary{display:grid;grid-template-columns:1fr 1fr;gap:25px;border-top:1px solid #c0d9e0;border-bottom:1px solid #c0d9e0;padding:18px 0;margin:24px 0}.boundary-summary p{font-size:23px;line-height:1.6;margin:0}.boundary-summary span{display:block;font-size:18px;color:#6c929d;margin-bottom:6px}
.room-paths{position:relative;z-index:2;padding:29px 5% 35px;border-top:1px solid #aacdd477;background:#faffff8a;text-align:center}.room-paths>p{font-size:23px;margin:0 0 17px}.room-paths>.primary-button{margin-bottom:23px}.room-path-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 28px}.room-path-links a,.room-path-links button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:21px;background:none;padding:5px 0}.room-path-links svg{width:16px;height:16px}.listen-room .room-paths{color:#386269;background:#f0f9eeeb}.happiness-room .room-paths{color:#a16c82;background:#fff5f8a3}.rest-room{background:#e6f6f8 url('assets/with-you.jpg') center/cover;display:grid;place-items:center;text-align:center;min-height:calc(100svh - 170px)}.rest-inner{padding:70px 24px;max-width:750px}.rest-inner>svg{width:45px;height:45px;margin-bottom:25px}.rest-inner h1{font-size:46px}.rest-inner>p{font-size:25px;line-height:1.7}.rest-inner>.small-note{font-size:18px;margin-top:35px}.rest-inner .exercise-actions{justify-content:center}
.letter-meta{font-size:18px}.letter-sheet h1{font-size:34px}.letter-input{font-size:26px}.letter-input::placeholder{font-size:23px}.letter-bottom small{font-size:18px}.listen-room .room-content .intro{font-size:25px}.happiness-room .room-content .intro{font-size:25px}.heart-board .board-description{font-size:22px}.heart-note label{font-size:19px;padding-top:65px}.heart-note textarea{font-size:24px;width:185px;line-height:1.4}.heart-note textarea::placeholder{font-size:21px}.saved-count{font-size:18px}.memory-row{font-size:23px}.memory-row time{font-size:18px}.happiness-history h2{font-size:27px}.happiness-bloom{font-size:38px}.bottle-scene h1{font-size:37px}.bottle-scene p{font-size:23px}.bottle-scene .small-note{font-size:18px}
.chat-shell{width:min(800px,90%)}.chat-heading h1{font-size:37px}.chat-heading p{font-size:21px}.mode-indicator{background:transparent;border:0;font-size:17px;line-height:1.5}.mode-indicator svg{width:14px;height:14px}.chat-messages{height:420px}.message-text{font-size:24px;line-height:1.55}.chat-suggestions button{font-size:19px}.chat-compose textarea{font-size:24px;line-height:1.6;height:68px}.chat-fine-print,.chat-fine-print button{font-size:17px}.chat-fine-print svg{width:14px;height:14px}.chat-context{border-left:2px solid #88afb7;padding:10px 15px;background:#ffffff8a;margin:16px 0}.chat-context>span{font-size:18px;display:flex;align-items:center;gap:6px}.chat-context>p{font-size:23px;line-height:1.5;max-height:105px;overflow:auto;white-space:pre-wrap;margin:10px 0}.chat-context button{font-size:16px;padding:0}.chat-context svg{width:15px;height:15px}
dialog{max-height:90svh;overflow:auto;max-width:560px;padding:35px}dialog h2{font-size:34px}dialog p{font-size:22px;line-height:1.6}.welcome-dialog{text-align:center;background:#effafa url('assets/with-you.jpg') center/cover;padding:42px 32px}.welcome-dialog .room-eyebrow{font-size:17px}.welcome-dialog>h2{font-size:35px;line-height:1.4}.welcome-dialog>p{font-size:23px}.welcome-dialog>.dialog-icon{margin-bottom:17px;width:40px;height:40px}.welcome-actions{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:25px}#close-ai{position:absolute;right:13px;top:13px}#ai-form>label{display:block;margin:17px 0 8px;font-size:22px}#ai-form label span{font-size:16px;color:#78959c;margin-left:8px}#ai-form input,#ai-form select{width:100%;min-height:44px;border:1px solid #b6d1d5;border-radius:4px;padding:9px 12px;background:#fff;color:#496f7b;min-width:0}#ai-form select{font-size:20px}#ai-form input{font-size:14px;font-family:monospace}#ai-form .config-note{font-size:18px;line-height:1.55;color:#799298;margin:13px 0}.model-input{display:flex;align-items:center;gap:6px}.model-input input{flex:1}.model-input button{flex:none}.model-input button svg{width:20px;height:20px}#ai-status{font-size:20px;line-height:1.5;color:#59828c;overflow-wrap:anywhere;margin:17px 0 0}.toast{font-size:24px}.sound-popover p{font-size:23px}.sound-popover label{font-size:21px}.sound-popover{width:320px}
@media(max-width:1000px){.site-header nav{gap:20px;font-size:18px}.brand{font-size:25px}.brand small{font-size:11px}.space-grid{gap:18px}.space-link p{font-size:18px}.section-heading>p{font-size:17px}.section-heading h2{font-size:26px}.header-tools{gap:2px}.space-title h3{font-size:24px}}
@media(max-width:700px){body{font-size:22px}.site-header{height:112px;padding-top:15px}.brand{font-size:25px}.brand small{font-size:11px}.site-header nav{font-size:19px;gap:8px;height:40px}.header-tools .icon-button{width:32px;height:32px}.header-tools svg{width:18px;height:18px}.sound-button{padding:7px}.home-hero h1{font-size:57px}.hero-verse{font-size:29px}.hero-description{font-size:22px}.hero-action{font-size:20px}.hero-corner{font-size:13px}.hero-side-note{font-size:15px}.home-hero{height:450px}.hero-inner{padding-bottom:40px}.section-heading h2{font-size:27px}.section-heading>p{font-size:18px}.space-link p{font-size:17px;line-height:1.55}.space-title h3{font-size:25px}.quiet-band p{font-size:25px}.quiet-band small{font-size:17px}.site-footer{font-size:15px}.site-footer>a{font-size:20px}.site-footer>span{font-size:14px}.site-footer button{font-size:15px}.room-top{padding:18px 5%;align-items:center;gap:10px}.room-label{display:none}.room-tools{gap:0}.back-link,.pause-button{font-size:18px}.pause-button{padding:7px 0}.room-content .intro{font-size:24px}.primary-button,.soft-button{font-size:22px;padding:12px 18px}.room-eyebrow{font-size:15px}.small-note,.gentle-note{font-size:18px}.rain-art{position:absolute;inset:58px 0 auto;width:100%;height:225px;margin:0;z-index:-1}.rain-art .handwriting-layer{width:92%;height:100%}.separation-room .room-content,.separation-room .room-content:has(.exercise){padding:245px 6% 35px}.separation-copy h1{font-size:32px}.separation-copy .intro{font-size:24px;line-height:1.65}.separation-copy .intro br{display:block}.separation-copy .gentle-note{font-size:19px;margin-top:22px}.exercise h2{font-size:30px}.exercise .step-explanation{font-size:23px}.step-meta{font-size:18px}.step-track{gap:5px}.step-track span{width:19px}.writing-field{font-size:23px;min-height:145px}.custom-answer{min-height:85px}.option{font-size:23px;padding:12px;gap:10px}.option .radio{margin-top:9px}.care-response>p{font-size:24px}.care-response>span{font-size:25px}.acknowledgment{font-size:21px}.story-anchor{padding:12px 14px}.story-anchor>p{font-size:23px}.answer-memory{font-size:22px}.custom-answer-label{font-size:21px}.completion-verse{font-size:33px}.boundary-summary{grid-template-columns:1fr;gap:15px}.boundary-summary p{font-size:24px}.reflection{font-size:23px}.room-paths{padding:25px 6% 30px}.room-paths>p{font-size:24px}.room-path-links{gap:12px 20px;justify-content:space-evenly}.room-path-links a,.room-path-links button{font-size:21px}.room-paths>.primary-button{font-size:22px;width:100%}.rest-inner{padding:65px 6%}.rest-inner h1{font-size:35px}.rest-inner>p{font-size:24px}.rest-inner>.small-note{font-size:18px}.rest-inner .exercise-actions{flex-direction:column}.letter-meta{font-size:17px}.letter-sheet h1{font-size:30px}.letter-input{font-size:25px}.letter-input::placeholder{font-size:22px}.letter-bottom small{font-size:19px}.listen-room .room-content h1{font-size:35px}.listen-room .intro{font-size:24px}.listen-room .primary-button{font-size:22px}.listen-room .small-note{font-size:18px}.happiness-room .intro{font-size:24px}.heart-board h1{font-size:30px}.heart-board .board-description{font-size:22px;line-height:1.5}.heart-note label{font-size:19px}.heart-note textarea{font-size:24px;width:180px}.heart-note textarea::placeholder{font-size:21px}.saved-count{font-size:18px}.happiness-history h2{font-size:27px}.memory-row{font-size:23px}.memory-row time{font-size:17px}.bottle-scene h1{font-size:31px}.bottle-scene p{font-size:24px}.bottle-scene .small-note{font-size:18px}.chat-heading h1{font-size:33px}.chat-heading p{font-size:22px}.mode-indicator{font-size:17px}.chat-messages{height:410px}.message-text{font-size:24px;padding:12px 14px;line-height:1.55}.chat-suggestions{gap:8px}.chat-suggestions button{font-size:18px}.chat-compose textarea{font-size:24px;height:67px}.chat-fine-print{font-size:16px;line-height:1.5}.chat-fine-print button{font-size:16px}.chat-context>p{font-size:23px}.toast{font-size:23px;padding:14px 18px}dialog{padding:32px 24px;max-width:92%}dialog h2{font-size:31px}dialog p{font-size:22px}.welcome-dialog>h2{font-size:32px}.welcome-dialog>p{font-size:23px}.welcome-dialog .primary-button{font-size:22px}#ai-form select{font-size:20px}#ai-form label span{display:block;margin:4px 0 0;font-size:18px}#ai-form .config-note{font-size:19px}.sound-popover{width:300px}}
@media(max-width:700px) and (max-height:700px){.home-hero{height:365px}.home-hero h1{font-size:49px}.hero-description{font-size:21px;margin-bottom:10px}.eyebrow{margin-bottom:14px}.hero-verse{margin-bottom:10px}.hero-inner{padding-bottom:30px}.hero-corner{font-size:12px}}
.section-heading h2 span{display:none}
#ai-form select{font-family:var(--font);font-size:22px}
#ai-form input{font-family:var(--font);font-size:20px}
.chat-relay{margin-top:9px}.chat-relay .text-button{display:inline-flex;align-items:center;gap:7px;font-size:21px;border-bottom:1px solid #aacbd2;padding:5px 0}.chat-relay svg{width:17px;height:17px}
#doubao-dialog{width:660px;max-width:92%;padding:35px;color:var(--ink);background:#f5fcfc}
#close-doubao{position:absolute;right:13px;top:13px}
#doubao-dialog .room-eyebrow{font-size:18px;padding-right:22px;margin-bottom:12px}
#doubao-dialog h2{margin-bottom:15px}
#doubao-dialog .relay-note{font-size:22px;margin-bottom:18px}
.relay-options{border:0;padding:0;margin:0 0 22px;display:grid;gap:12px;min-width:0}
.relay-options label{display:flex;gap:10px;align-items:flex-start;font-size:21px;line-height:1.5}
.relay-options input{width:18px;height:18px;flex:none;margin:6px 0 0;accent-color:#507e89}
.relay-options label:has(input:disabled){color:#8da4a9}
.relay-label{display:block;font-size:21px;margin-bottom:10px}
#doubao-preview{display:block;width:100%;height:240px;min-height:150px;max-height:45svh;resize:vertical;border:1px solid #b6d1d5;border-radius:4px;background:#fff;color:var(--ink);font-size:23px;line-height:1.55;padding:15px;overflow-wrap:anywhere}
.relay-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.relay-actions>*{flex:1;min-width:0}
#doubao-status{font-size:20px;line-height:1.5;margin:15px 0 0;overflow-wrap:anywhere}
#doubao-dialog .relay-privacy{font-size:18px;color:#6a8790;margin:17px 0 0;line-height:1.5}
@media(max-width:700px){#doubao-dialog{padding:32px 22px 25px}#doubao-dialog .room-eyebrow{font-size:17px}#doubao-dialog .relay-note{font-size:22px}.relay-actions{flex-direction:column}.relay-actions>*{flex:auto;width:100%}#doubao-preview{font-size:23px;height:210px}.relay-options label,.relay-label{font-size:21px}}

/* Each painted space supplies one palette to its text and controls. */
body,.welcome-dialog{
  --theme-ink:#697e8b;
  --theme-muted:#748793;
  --theme-heading:#7c96aa;
  --theme-accent:#8ba6b9;
  --theme-line:#c1d2dd;
  --theme-fill:#e6eff5;
  --theme-hover:#dce9f1;
  --theme-soft:#f6fafded;
  --theme-placeholder:#8498a5;
  --ink:var(--theme-ink);
  --muted:var(--theme-muted);
  color:var(--theme-ink);
}
body:has(.listen-room),body:has(.letter-room),.space-link:nth-child(2),.quiet-band{
  --theme-ink:#71816f;
  --theme-muted:#7e8b78;
  --theme-heading:#83957e;
  --theme-accent:#9aaf91;
  --theme-line:#cbd8c5;
  --theme-fill:#e8eee2;
  --theme-hover:#dfe8d7;
  --theme-soft:#f6f9f1ed;
  --theme-placeholder:#909d88;
}
body:has(.happiness-room),.space-link:nth-child(3){
  --theme-ink:#947180;
  --theme-muted:#a17e8e;
  --theme-heading:#ac8798;
  --theme-accent:#bc9aab;
  --theme-line:#dfc7d2;
  --theme-fill:#f3e5eb;
  --theme-hover:#ecdce4;
  --theme-soft:#fff7faed;
  --theme-placeholder:#ae8b9b;
}
.brand,.home-hero h1,.hero-verse,.separation-copy h1,.exercise h2,
.completion-verse,.chat-heading h1,.rest-inner h1,dialog h2,
.section-heading h2,.space-title h3,.bottle-scene h1{color:var(--theme-heading)}
.site-header nav a,.sound-button,.site-footer>a{color:var(--theme-ink)}
.site-header nav a:hover,.site-header nav a.active{color:var(--theme-heading)}
.site-header nav a.active:after{background:var(--theme-accent)}
.brand small,.eyebrow,.hero-description,.hero-side-note,.hero-corner,
.section-heading>p,.space-link p,.site-footer,.room-label,.room-eyebrow,
.room-content .intro,.small-note,.gentle-note,.exercise .step-explanation,
.step-meta,.story-anchor>span,.answer-memory>span,.custom-answer-label,
.guide-mode,.boundary-summary span,.chat-heading p,.mode-indicator,
.chat-fine-print,.chat-fine-print button,.text-button,
#ai-form label span,#ai-form .config-note,#ai-status,
#doubao-dialog .relay-privacy{color:var(--theme-muted)}
.space-number,.space-link,.quiet-band{color:var(--theme-ink)}
.writing-field,.chat-compose textarea,#ai-form input,#ai-form select{color:var(--theme-ink)}
textarea::placeholder,input::placeholder{color:var(--theme-placeholder);opacity:1}
.care-response>span,.acknowledgment{color:var(--theme-heading)}
.primary-button,.soft-button{
  color:var(--theme-ink);background:var(--theme-fill);border-color:var(--theme-line);
  box-shadow:0 4px 14px #a8b8c315;
}
.primary-button:hover,.soft-button:hover{background:var(--theme-hover);color:var(--theme-ink)}
.soft-button{background:var(--theme-soft)}
.send-button{background:var(--theme-fill);color:var(--theme-ink)}
.option{color:var(--theme-ink)}
.option.selected{border-color:var(--theme-accent);background:var(--theme-soft)}
.option.selected .radio,.step-track span.complete{background:var(--theme-accent)}
.story-anchor,.chat-context{border-left-color:var(--theme-line)}
.toast,dialog{color:var(--theme-ink);border-color:var(--theme-line);background:var(--theme-soft)}
dialog::backdrop{background:#586a7355}
.welcome-dialog{background:#effafa url('assets/with-you-clean.jpg') center/cover}
.chat-relay .text-button{color:var(--theme-heading);border-bottom-color:var(--theme-line)}
.sound-popover{background:var(--theme-soft);border-color:var(--theme-line)}
.sound-popover input,.relay-options input{accent-color:var(--theme-accent)}
.error-text{color:var(--theme-ink)}
.listen-room{color:#edf3e8}
.listen-room .room-content h1{color:#edf3e8}
.listen-room .intro,.listen-room .room-label,.listen-room .room-eyebrow,
.listen-room .small-note,.listen-room .room-top .text-button{color:#e1ebd9}
.listen-room .primary-button,.letter-bottom .primary-button{
  background:var(--theme-fill);color:var(--theme-ink);border-color:var(--theme-line);
}
.listen-room .primary-button:hover{background:var(--theme-hover);color:var(--theme-ink)}
.room-paths,.listen-room .room-paths,.happiness-room .room-paths{
  color:var(--theme-ink);background:var(--theme-soft);border-color:var(--theme-line);
}
.letter-room,.letter-input,.bottle-scene p{color:var(--theme-ink)}
.letter-room .room-label,.letter-meta,.letter-bottom small{color:var(--theme-muted)}
.letter-input::placeholder{color:var(--theme-placeholder)}
.letter-sheet h1{color:var(--theme-heading)}
.happiness-room .room-content h1,.heart-board h1,.happiness-bloom,
.happiness-history h2{color:var(--theme-heading)}
.happiness-room .intro,.happiness-room .room-eyebrow,
.happiness-room .small-note,.heart-board .board-description,
.saved-count,.memory-row,.memory-row time{color:var(--theme-ink)}
.happiness-room .primary-button{background:var(--theme-fill);border-color:var(--theme-line);color:var(--theme-ink)}
.happiness-room .primary-button:hover{background:var(--theme-hover)}
.heart-note label,.heart-note textarea{color:var(--theme-ink)}
.heart-note textarea::placeholder{color:var(--theme-placeholder)}
.petal{color:var(--theme-accent)}
.brand-mark,.space-title>span,.chat-suggestions button,.chat-compose,
.message-avatar,.message-text,.writing-field,#ai-form input,#ai-form select,
#doubao-preview{border-color:var(--theme-line)}
.chat-suggestions button,.message.user .message-text{background:var(--theme-fill);border-color:var(--theme-line)}
.chat-context,.story-anchor{background:var(--theme-soft)}
.icon-button:hover{background:var(--theme-fill)}
:focus-visible{outline-color:var(--theme-accent)}
.writing-field:focus{border-color:var(--theme-accent)}
.sound-button[aria-pressed=true] .sound-dot,.mode-indicator:before{background:var(--theme-accent)}
.sound-button[aria-pressed=true] .sound-dot{box-shadow:0 0 0 4px var(--theme-fill)}
.relay-options label:has(input:disabled){color:var(--theme-placeholder)}
#doubao-dialog{color:var(--theme-ink);background:var(--theme-soft)}

.site-header nav{gap:22px;font-size:19px}
.space-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.space-art{height:185px}
.space-link:nth-child(5) .space-art>img{object-position:center}
body:has(.portrait-room),.space-link:nth-child(5){
  --theme-ink:#71816f;--theme-muted:#7e8b78;--theme-heading:#83957e;
  --theme-accent:#9aaf91;--theme-line:#cbd8c5;--theme-fill:#e8eee2;
  --theme-hover:#dfe8d7;--theme-soft:#f6f9f1ed;--theme-placeholder:#909d88;
}
.home-hero,.chat-room,.rest-room,.bottle-scene{background-image:url('assets/with-you-clean.jpg')}
@font-face{font-family:DancingScript;src:url('assets/fonts/dancingscript.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap}
.companion-lettering{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:12px 10px 17px;pointer-events:none}
.companion-script{display:block;font-family:DancingScript,cursive;font-weight:600;font-size:64px;line-height:1.35;letter-spacing:0;white-space:nowrap;color:#9bc3d9;transform:rotate(-4deg);text-shadow:-1px -1px 0 #ffffff,1px 1px 0 #eaf7fc,1px 2px 0 #accbdd,2px 3px 0 #c1dce9,3px 4px 0 #d6eaf3,3px 6px 9px #8bb5ce33}
.hero-wordmark{position:relative;height:120px;width:260px;max-width:100%;margin:0 auto 10px}
.welcome-wordmark{position:relative;height:100px;width:250px;max-width:100%;margin:0 auto 16px}
.welcome-wordmark .companion-script{font-size:58px}
.rest-wordmark,.bottle-wordmark{position:relative;width:300px;max-width:100%;height:115px;margin:0 auto 20px;z-index:2}
.space-wordmark{position:absolute;inset:0;z-index:1;pointer-events:none}
.space-wordmark .companion-script{font-size:40px}
.welcome-dialog>.dialog-icon{display:none}
.welcome-dialog>.bubble-invitation{font-size:20px;line-height:1.5;color:var(--theme-heading);margin:14px 0 0}
.site-footer>a>small{display:block;font-size:16px;line-height:1.6;margin-top:6px;color:var(--theme-muted)}
.site-footer>.footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px}
.site-footer .footer-links button{margin:0}
#close-copyright{position:absolute;right:13px;top:13px}
#copyright-dialog .room-eyebrow{margin-bottom:12px}
#copyright-dialog .small-note{font-size:18px;line-height:1.6}
@media(max-width:700px){.site-footer>.footer-links{width:100%;justify-content:space-between}.site-footer>a>small{font-size:15px}.site-footer>span{line-height:1.6}}
.home-hero .eyebrow{display:none}
.home-hero .hero-inner{padding:15px 24px 32px}
.home-hero h1{font-size:60px;margin-bottom:8px}
.home-hero .hero-verse{font-size:29px;line-height:1.5;margin-bottom:8px}
.home-hero .hero-description{font-size:21px;line-height:1.5;margin-bottom:14px}
.bottle-scene{position:relative;isolation:isolate}
.chat-wordmark{position:relative;isolation:isolate;height:160px;margin:-8px 0 20px;pointer-events:none}
.chat-wordmark .companion-script{font-size:88px}
.ink-reveal,.rain-art.replay .handwriting-layer{animation:ink-in 5.5s ease both}
.ink-reveal.settled,.rain-art.replay .handwriting-layer.settled{animation:none}
.happiness-room{background-image:url('assets/happiness-clean.jpg')}
.happiness-handwriting{position:absolute;top:70px;left:50%;transform:translateX(-50%);width:min(610px,90%);height:230px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 1px 1px #ba9da622);z-index:1}
.happiness-room .room-content{padding-top:250px;min-height:690px}
.happiness-room .room-content>.happiness-intro{max-width:680px;margin:auto;text-align:center}
.heart-board{position:relative;z-index:2;padding-top:250px}
.chat-shell,.rest-inner,.letter-sheet,.bottle-scene>h1,.bottle-scene>p,.bottle-scene>.exercise-actions{position:relative;z-index:2}
.ambient-layer{position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none;contain:layout paint}
.ambient-mark{position:absolute;left:var(--left);top:var(--top);width:max(44px,var(--size));height:max(44px,var(--size));padding:0;border:0;border-radius:50%;background:none;color:var(--theme-accent);animation:ambient-drift var(--duration) var(--delay) ease-in-out infinite;opacity:0;pointer-events:auto}
.ambient-mark:hover,.ambient-mark:focus-visible{animation-play-state:paused}
.ambient-mark:focus-visible{opacity:1!important;outline:2px solid var(--theme-accent);outline-offset:3px}
.ambient-mark svg{position:absolute;inset:0;margin:auto;width:var(--size);height:var(--size);stroke-width:1;fill:color-mix(in srgb,currentColor 8%,transparent)}
.ambient-whisper{position:fixed;z-index:90;width:max-content;max-width:min(420px,calc(100vw - 32px));padding:8px 14px;border:1px solid var(--whisper-line);border-radius:8px;background:var(--whisper-fill);box-shadow:0 5px 20px #8cabb222;backdrop-filter:blur(8px);font-family:var(--font);font-size:30px;line-height:1.5;text-align:center;overflow-wrap:anywhere;color:var(--whisper-ink);text-shadow:0 1px 2px #fff;pointer-events:none;animation:comfort-arrive 4.4s ease both}
@keyframes comfort-arrive{0%{opacity:0;transform:translateY(10px) scale(.94)}14%,76%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-14px) scale(1)}}
@media(max-width:700px){.ambient-whisper{font-size:27px}}
@media(prefers-reduced-motion:reduce){.ambient-whisper{animation:none!important}}
.ambient-hearts .ambient-mark{color:var(--theme-accent)}
.ambient-hearts .ambient-mark svg{fill:color-mix(in srgb,currentColor 20%,transparent);stroke-width:.9}
.ambient-bubble{animation-name:bubble-drift}
.bubble-surface{
  position:absolute;inset:0;margin:auto;width:var(--size);height:var(--size);border-radius:50%;
  border:1px solid color-mix(in srgb,currentColor 25%,#ffffffa6);
  background:
    radial-gradient(ellipse 21% 13% at 28% 22%,#fffffff2 0%,#ffffff85 35%,#ffffff00 100%),
    radial-gradient(ellipse 15% 24% at 78% 74%,#ffffff94 0%,#ffffff00 100%),
    radial-gradient(circle at 43% 38%,#ffffff00 40%,color-mix(in srgb,currentColor 8%,transparent) 64%,color-mix(in srgb,currentColor 25%,transparent) 83%,#ffffffbd 100%);
  box-shadow:
    inset 1px 2px 3px #ffffffd9,
    inset -2px -3px 5px color-mix(in srgb,currentColor 32%,transparent),
    inset 0 0 5px 1px #ffffff80,
    1px 3px 5px color-mix(in srgb,currentColor 13%,transparent);
  animation:bubble-breathe 8s var(--delay) ease-in-out infinite alternate;
}
.bubble-surface:before{
  content:'';position:absolute;left:12%;top:10%;width:47%;height:35%;
  border-radius:50%;border:2px solid transparent;border-top-color:#fffffff2;border-left-color:#ffffffa6;
  transform:rotate(-29deg);
}
.bubble-surface:after{
  content:'';position:absolute;right:13%;bottom:13%;width:26%;height:16%;
  border-radius:50%;border-bottom:1px solid #ffffffdb;transform:rotate(-35deg);
}
.hero-inner,.hero-corner,.hero-side-note{z-index:1}
.hero-inner{position:relative}
@keyframes bubble-drift{
  0%{opacity:0;transform:translate(0,55px) scale(.94)}
  18%{opacity:.68;transform:translate(calc(var(--sway)*-.3),24px) scale(1)}
  43%{opacity:.82;transform:translate(calc(var(--sway)*.55),-20px) scale(1.02)}
  72%{opacity:.7;transform:translate(calc(var(--sway)*.15),-68px) scale(.98)}
  100%{opacity:0;transform:translate(var(--sway),-120px) scale(.94)}
}
@keyframes bubble-breathe{from{transform:scaleX(.98) scaleY(1.02)}to{transform:scaleX(1.02) scaleY(.98)}}
.quiet-band{position:relative;isolation:isolate;overflow:hidden}
.quiet-band>p,.quiet-band>small,.quiet-band>svg{position:relative;z-index:1}
@keyframes ambient-drift{0%{opacity:0;transform:translate(0,55px) rotate(-9deg)}25%,65%{opacity:.36}100%{opacity:0;transform:translate(var(--sway),-105px) rotate(12deg)}}
.portrait-room{background:#eaf3e5 url('assets/garden.jpg') center top/cover}
.portrait-inner{position:relative;z-index:2;max-width:1100px;padding:15px 36px 45px;margin:auto}
.portrait-heading{text-align:center;margin-bottom:30px}
.portrait-heading h1{font-size:36px;color:var(--theme-heading);margin:0 0 15px}
.portrait-heading .room-eyebrow{margin-bottom:13px}
.portrait-affirmation{font-family:var(--display);font-size:30px;line-height:1.6;color:var(--theme-heading);margin:0 0 17px}
.portrait-invitation{font-size:23px;color:var(--theme-ink);line-height:1.6;margin:0}
.portrait-studio{max-width:940px;margin:auto}
.portrait-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:13px 0;border-top:1px solid var(--theme-line);border-bottom:1px solid var(--theme-line);margin-bottom:15px}
.portrait-tools,.portrait-colours{display:flex;align-items:center;gap:5px}
.portrait-tools .icon-button{width:40px;height:40px;border-radius:4px;background:var(--theme-soft)}
.portrait-tools .icon-button[aria-pressed=true]{background:var(--theme-fill);box-shadow:inset 0 0 0 1px var(--theme-accent)}
.portrait-tools .icon-button:hover{background:var(--theme-fill)}
.colour-swatch{width:29px;height:34px;display:grid;place-items:center;border:1px solid transparent;border-radius:4px;background:none;padding:4px}
.colour-swatch>span{display:block;width:21px;height:21px;border-radius:50%;background:var(--swatch)}
.colour-swatch[aria-pressed=true]{border-color:var(--theme-accent);background:#ffffff8a}
.custom-colour{position:relative;width:32px;height:36px;display:grid;place-items:center;cursor:pointer}
.custom-colour input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.custom-colour:focus-within{outline:2px solid var(--theme-accent);outline-offset:2px}
.portrait-size{display:flex;align-items:center;gap:8px;font-size:19px;white-space:nowrap}
.portrait-size input{width:90px;accent-color:var(--theme-accent)}
.portrait-size output{width:2ch;font-size:18px;text-align:right}
.portrait-paper{position:relative;background:#fbfdf9ed;border:1px solid var(--theme-line);border-radius:4px;box-shadow:0 12px 35px #72856e12;overflow:hidden}
#portrait-canvas{display:block;width:100%;height:auto;aspect-ratio:4/3;touch-action:none;cursor:crosshair}
#portrait-canvas.erasing{cursor:cell}
.portrait-paper-note{font-size:18px;line-height:1.5;margin:0;padding:12px 16px;border-top:1px solid #dbe4d466;text-align:center;color:var(--theme-muted);pointer-events:none}
.portrait-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}
#portrait-status{font-size:21px;line-height:1.6;margin:0;flex:1}
.portrait-bottom .primary-button{flex:none}
.portrait-privacy{text-align:center;margin-top:19px}
@media(max-width:1100px){.site-header nav{gap:13px;font-size:18px}.space-grid{gap:15px}.space-art{height:165px}.portrait-toolbar{justify-content:center;gap:12px 20px}}
@media(max-width:700px){
  .site-header nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;width:100%;font-size:16px}
  .site-header nav a{text-align:center;white-space:nowrap}
  .hero-side-note{display:none}
  .space-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 17px}
  .space-link:last-child{grid-column:1/-1}.space-link:last-child .space-art{height:160px}
  .hero-wordmark{height:105px;width:245px;margin-bottom:8px}
  .hero-wordmark .companion-script{font-size:58px}
  .space-wordmark .companion-script{font-size:34px}
  .home-hero h1{font-size:50px}
  .home-hero .hero-verse{font-size:26px}
  .home-hero .hero-inner{padding:12px 20px 34px}
  .chat-wordmark{height:140px;margin:0 0 18px}
  .chat-wordmark .companion-script{font-size:72px}
  .happiness-room{background-image:none}
  .happiness-room:before{height:440px;background-image:url('assets/happiness-clean.jpg');background-size:auto 440px;background-position:right top}
  .happiness-handwriting{top:70px;width:94%;height:210px}
  .happiness-room .room-content{padding-top:235px;min-height:650px}
  .heart-board{padding-top:235px}
  .portrait-inner{padding:12px 5% 35px}
  .portrait-heading{margin-bottom:23px}.portrait-heading h1{font-size:32px}
  .portrait-affirmation{font-size:27px}.portrait-invitation{font-size:22px}
  .portrait-toolbar{justify-content:space-between;gap:9px;padding:11px 0}
  .portrait-colours{gap:2px}.colour-swatch{width:27px}
  .portrait-size input{width:83px}
  .portrait-paper-note{font-size:17px;padding:12px}
  .portrait-bottom{align-items:stretch;flex-direction:column;gap:15px}
  #portrait-status{font-size:22px;text-align:center;min-height:35px}
  .portrait-bottom .primary-button{width:100%}
}
@media(max-width:359px){.site-header nav{font-size:13px}.hero-side-note{display:none}.home-hero .hero-description{font-size:18px}.portrait-affirmation{font-size:25px}.portrait-toolbar{justify-content:center}}
@media(max-width:700px) and (max-height:700px){.home-hero{height:390px}.hero-wordmark{height:82px}.hero-wordmark .companion-script{font-size:46px}.home-hero h1{font-size:44px}.home-hero .hero-description{font-size:18px}}
@media(prefers-reduced-motion:reduce){.ambient-layer{display:none}.ink-reveal{animation:none!important}}
