:root{--paper:#f5f2e9;--surface:#fffdf7;--ink:#273e35;--muted:#5c6b60;--line:#d8ded2;--wash:#e6ece1;--accent:#4e6954;--soft:#ece3cc;--shadow:0 20px 70px #3c4c3210;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-size:16px}:root[data-theme=dark]{--paper:#19211e;--surface:#222d27;--ink:#e9ecdf;--muted:#b8c2b5;--line:#465349;--wash:#303e34;--accent:#afc4a9;--soft:#4b4939;--shadow:0 20px 70px #0003;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif;line-height:1.6;transition:background .25s,color .25s}body:before{content:"";pointer-events:none;z-index:-1;background:radial-gradient(at 90% 10%,#d5daba50,#0000 45%),radial-gradient(at 5% 70%,#e3d3b23b,#0000 45%);position:fixed;inset:0}[data-theme=dark] body:before{opacity:.12}button,select,a{font:inherit}button,select{color:inherit}button{cursor:pointer;background:0 0;border:0;min-height:44px}button:disabled{cursor:default}button,a,select,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px;display:block}button svg{pointer-events:none}.serif,h1,h2,.quote-line{font-family:Noto Serif SC,Songti SC,SimSun,serif;font-weight:400}.app{max-width:1140px;margin:auto;padding:0 44px}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;height:94px;display:flex}.brand{align-items:center;gap:11px;display:flex}.brand-mark{border:1px solid var(--accent);border-radius:50%;place-items:center;width:33px;height:33px;display:grid;transform:rotate(-12deg)}.brand-mark:after{content:"";border:1px solid var(--accent);border-top-color:#0000;border-radius:50%;width:21px;height:21px}.brand-name{letter-spacing:.13em;font-size:23px}.top-actions{gap:8px;display:flex}.utility{border-radius:24px;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:.82rem;display:inline-flex}.utility:hover{background:var(--wash)}.icon-button{border:1px solid var(--line);background:var(--surface);border-radius:50%;place-items:center;width:44px;display:inline-grid}.icon-button:hover{background:var(--wash)}.experience{grid-template-columns:1fr 1.05fr;grid-template-areas:"quote quote""intro art""controls art";align-items:center;column-gap:66px;padding:34px 28px 0;display:grid}.intro{grid-area:intro;align-self:end;padding-bottom:20px}.eyebrow{color:var(--muted);letter-spacing:.12em;align-items:center;gap:10px;margin:0 0 18px;font-size:.77rem;display:flex}.eyebrow:before{content:"";background:var(--accent);width:26px;height:1px}h1{letter-spacing:.04em;margin:0 0 18px;font-size:2.75rem;line-height:1.45}#prompt{color:var(--muted);max-width:26em;min-height:3.8em;margin:0;font-size:1.02rem;line-height:1.9}.art-zone{grid-area:art;justify-items:center;padding:8px 0;display:grid}.scene{aspect-ratio:1;isolation:isolate;background:radial-gradient(circle, var(--surface) 20%, var(--wash) 72%, transparent 73%);touch-action:manipulation;border-radius:50%;place-items:center;width:min(100%,390px);padding:30px;display:grid;position:relative}.scene:before,.scene:after{content:"";border:1px solid var(--line);pointer-events:none;border-radius:50%;transition:transform .7s,opacity .7s;position:absolute;inset:12px}.scene:after{opacity:.55;border-style:dashed;inset:-7px}.scene:hover:before{transform:scale(1.03)}.scene:active{transform:scale(.99)}.scene img{object-fit:cover;mix-blend-mode:multiply;pointer-events:none;border-radius:50%;width:100%;height:100%;transition:filter .5s,transform .7s}.scene:hover img{transform:scale(1.025)}[data-theme=dark] .scene img{mix-blend-mode:normal;filter:brightness(.72)saturate(.75)}.scene-flash{pointer-events:none;opacity:0;border:1px solid var(--accent);border-radius:50%;position:absolute;inset:18%;box-shadow:0 0 40px #aabd9850}.scene.responding .scene-flash{animation:1.3s ease-out ripple}.scene.ringing .scene-flash{animation:2.2s ease-out infinite ripple}.scene.ringing:after{animation:2.2s ease-out .5s infinite ripple}.scene-label{color:var(--muted);align-items:center;gap:8px;min-height:24px;margin:22px 0 0;font-size:.78rem;display:flex}.scene-label svg{width:15px;height:15px}.controls{grid-area:controls;align-self:start}.choices{flex-wrap:wrap;gap:8px;margin:0 0 23px;display:flex}.choice{border:1px solid var(--line);background:var(--surface);border-radius:24px;padding:5px 17px;font-size:.83rem;transition:background .18s,border-color .18s}.choice[aria-pressed=true]{border-color:var(--accent);background:var(--wash)}.primary{background:var(--ink);min-height:50px;color:var(--paper);letter-spacing:.04em;border-radius:28px;justify-content:center;align-items:center;gap:28px;padding:10px 24px;font-size:.92rem;display:inline-flex}.primary:hover{box-shadow:0 5px 18px #263c3420}.primary svg{width:18px;height:18px}.permission{color:var(--muted);margin:13px 0 0;font-size:.76rem}.quote-card{border-bottom:1px solid var(--line);grid-area:quote;justify-content:space-between;align-items:flex-start;gap:28px;margin:0 0 34px;padding:0 0 24px;display:flex}.quote-content{flex:1;max-width:750px}.quote-line{margin:0 0 8px;font-size:1.07rem;line-height:1.8}.quote-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px 14px;font-size:.74rem;display:flex}.source-details{color:var(--muted);font-size:.76rem;line-height:1.9}.source-details summary{cursor:pointer;text-underline-offset:4px;width:fit-content;min-height:44px;text-decoration:underline;-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line);align-items:center;list-style:none;display:flex}.source-details p{max-width:700px}.quote-tools{gap:8px;padding-top:4px;display:flex}.saved{background:var(--wash);border-color:var(--accent)}.saved svg{fill:var(--accent);stroke:var(--accent)}.nav-wrap{z-index:10;background:linear-gradient(transparent, var(--paper) 20%);padding:15px 0 22px;position:sticky;bottom:0}.senses{border:1px solid var(--line);background:var(--surface);width:fit-content;box-shadow:var(--shadow);border-radius:22px;gap:10px;margin:auto;padding:8px;display:flex}.sense{width:98px;min-height:67px;color:var(--muted);border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:.81rem;transition:background .18s,color .18s;display:flex}.sense[aria-pressed=true]{background:var(--wash);color:var(--ink)}.sense:hover{background:var(--wash)}.sense svg{width:23px;height:23px}.footer-note{text-align:center;color:var(--muted);letter-spacing:.04em;margin:0;padding:0 12px 15px;font-size:.72rem}dialog{color:var(--ink);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:28px;width:min(480px,100% - 32px);max-height:88dvh;padding:28px;overflow-y:auto}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#15221ccc}.dialog-top{justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px;display:flex}.dialog-top h2{margin:0;font-size:1.5rem}.dialog-close{border:1px solid var(--line);border-radius:50%;place-items:center;width:44px;min-width:44px;height:44px;display:grid}.setting-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 0;font-size:.9rem;display:flex}.setting-row select{border:1px solid var(--line);background:var(--paper);border-radius:10px;max-width:160px;min-height:44px;padding:5px 12px}.small{color:var(--muted);font-size:.78rem;line-height:1.8}.focus-inner{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:28px;min-height:calc(100dvh - 150px);display:flex}.focus-inner img{mix-blend-mode:multiply;border-radius:50%;width:min(60vw,400px)}[data-theme=dark] .focus-inner img{mix-blend-mode:normal;filter:brightness(.72)}.focus-inner h2{max-width:22em;margin:0;font-size:clamp(1.5rem,5vw,2.15rem)}.focus-inner p{color:var(--muted);margin:0;font-size:.85rem}.text-button{border:1px solid var(--line);background:var(--surface);border-radius:24px;padding:4px 16px;font-size:.84rem}.download{width:fit-content;margin:18px auto 0;text-decoration:none;display:flex}.breath-shape{border:1px solid var(--accent);background:radial-gradient(circle,#b2c7a880,#769d6a28);border-radius:50%;width:53%;height:53%;display:none;box-shadow:0 0 50px #9cb89020}.scene.breathing img{display:none}.scene.breathing .breath-shape{animation:9s ease-in-out infinite natural-breath;display:block}.scene.mind-soft img{filter:contrast(.85)}.paused *{animation-play-state:paused!important}@keyframes ripple{0%{opacity:.65;transform:scale(.85)}to{opacity:0;transform:scale(1.45)}}@keyframes natural-breath{0%,to{transform:scale(.82)}50%{transform:scale(1.14)}}@media (width>=1200px){.experience{padding-top:48px}.quote-card{margin-bottom:64px}.nav-wrap{padding-top:22px}}@media (width<=760px){.app{padding:0 20px}.topbar{height:62px}.brand-name{font-size:20px}.brand-mark{width:28px;height:28px}.brand-mark:after{width:18px;height:18px}.top-actions{gap:2px}.utility{padding:0 9px}.utility span{display:none}.experience{grid-template-columns:1fr;grid-template-areas:"quote""intro""art""controls";gap:0;padding:18px 0 0;display:grid}.intro{text-align:center;padding-bottom:0}.eyebrow{letter-spacing:.08em;justify-content:center;margin-bottom:4px;font-size:.7rem}.eyebrow:before{width:17px}h1{letter-spacing:.025em;margin-bottom:6px;font-size:1.75rem;line-height:1.4}#prompt{max-width:22em;min-height:3.6em;margin:auto;font-size:.91rem;line-height:1.8}.art-zone{padding:2px 0 0}.scene{width:234px;padding:21px}.scene-label{margin-top:12px;font-size:.72rem}.controls{text-align:center}.choices{justify-content:center;gap:8px;margin:8px 0 15px}.choice{padding:4px 17px;font-size:.8rem}.primary{gap:25px;min-height:46px;padding:8px 23px;font-size:.85rem}.permission{margin-top:6px;font-size:.7rem}.quote-card{gap:10px;margin:0 0 14px;padding:0 0 10px}.quote-content{text-align:center}.quote-meta{justify-content:center;gap:0 8px;margin-bottom:4px;font-size:.68rem}.source-details summary{margin:0 auto}.quote-card--lead{grid-template-columns:1fr auto;grid-template-areas:"line line""meta meta""details tools";gap:4px 8px;display:grid}.quote-card--lead .quote-content{display:contents}.quote-card--lead .quote-line{grid-area:line;line-height:1.66}.quote-card--lead .quote-meta{grid-area:meta;margin-bottom:0}.quote-card--lead .source-details{grid-area:details}.quote-card--lead .source-details summary{margin:0}.quote-card--lead .quote-tools{grid-area:tools;padding-top:0}.quote-line{font-size:.93rem;line-height:1.85}.source-details{font-size:.73rem}.source-details summary{font-size:.72rem}.quote-tools{gap:3px}.quote-tools .icon-button{background:0 0;border-color:#0000;width:44px;min-width:44px;height:44px}.quote-tools svg{width:18px;height:18px}.quote-tools .saved{background:var(--wash)}.nav-wrap{padding:12px 0 calc(10px + env(safe-area-inset-bottom,0px));margin:0 -8px}.senses{border-radius:19px;gap:2px;width:100%;padding:5px}.sense{border-radius:13px;flex:1;gap:4px;width:auto;min-width:0;min-height:60px;font-size:.7rem}.sense svg{width:21px;height:21px}.footer-note{padding-bottom:12px;font-size:.68rem}.dialog-top h2{font-size:1.3rem}.focus-inner img{width:min(75vw,380px)}}@media (width<=350px){.app{padding:0 16px}.brand-name{font-size:18px}.brand{gap:8px}.brand-mark{display:none}.experience{padding-top:18px}h1{font-size:1.55rem}#prompt{font-size:.85rem}.scene{width:205px}.quote-card{gap:4px}.quote-tools{flex-direction:column}.sense{font-size:.68rem}.nav-wrap{margin:0 -5px}.quote-line{font-size:.87rem}}.utility{min-width:44px}.quote-meta,.footer-note{font-size:.75rem}@media (width<=760px){#prompt,.quote-line{font-size:1rem}.quote-meta,.eyebrow,.source-details summary,.sense,.footer-note{font-size:.75rem}.permission{font-size:.78rem}.choice{font-size:.875rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.scene:active,.scene:hover img,.scene:hover:before{transform:none}}.app{touch-action:pan-y pinch-zoom;min-height:100dvh}[hidden]{display:none!important}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}button,a,input,select{touch-action:manipulation}input{font:inherit;accent-color:var(--accent)}.skip-link{z-index:100;color:var(--paper);background:var(--ink);border-radius:12px;padding:12px 18px;position:fixed;top:-90px;left:16px}.skip-link:focus{top:12px}.quote-line,.quote-meta{margin:0 0 8px}.quote-tools .icon-button{flex-shrink:0}.quote-en{font-family:Georgia,serif;line-height:1.8}.source-details summary{min-width:44px}.scene{transition:transform .18s}.scene-label{text-align:center;justify-content:center;max-width:29em;line-height:1.6}.scene-label svg{flex-shrink:0}.scene .breath-shape{display:block}.scene.breath-still .breath-shape{animation-play-state:paused}.art-zone{position:relative}.stop-bell{z-index:2;align-items:center;gap:8px;font-size:.78rem;display:inline-flex;position:absolute;bottom:-29px}.stop-bell svg{width:15px;height:15px}.art-fallback{background:var(--wash);border-radius:50%;place-items:center;width:100%;height:100%;display:grid}.art-fallback svg{stroke-width:1px;width:72px;height:72px}.scene-effect{pointer-events:none;border-radius:50%;position:absolute;inset:19%}.scene-effect i{border:1px solid var(--accent);border-radius:50%;animation:1.8s ease-out both sense-ripple;position:absolute;inset:0}.scene-effect i:nth-child(2){animation-delay:.16s}.scene-effect i:nth-child(3){animation-delay:.32s}.scene[data-sense=seeing] .scene-effect{animation:1.8s ease-out both sense-glow;box-shadow:0 0 38px #d8b76b55}.scene[data-sense=touching] .scene-effect{background:#b6c59722;animation:1.8s ease-out both sense-glow}.scene[data-sense=smelling] .scene-effect i{border:0;border-left:1px solid var(--accent);animation:2.5s ease-out both steam;inset:10% 30%}.scene[data-sense=smelling] .scene-effect i:nth-child(2){margin-left:15%;animation-delay:.18s}.scene[data-sense=smelling] .scene-effect i:nth-child(3){margin-left:-15%;animation-delay:.36s}@keyframes sense-ripple{0%{opacity:.65;transform:scale(.78)}to{opacity:0;transform:scale(1.5)}}@keyframes sense-glow{0%,to{opacity:0}25%{opacity:1}}@keyframes steam{0%{opacity:.65;transform:translateY(12px)rotate(-12deg)}to{opacity:0;transform:translateY(-40px)rotate(12deg)}}.page-footer{flex-wrap:wrap;justify-content:center;align-items:center;column-gap:18px;padding:0 0 18px;display:flex}.page-footer .footer-note{padding:0}.footer-link{color:var(--muted);text-underline-offset:4px;padding:8px 4px;font-size:.75rem;text-decoration:underline}.notice{left:50%;bottom:calc(108px + env(safe-area-inset-bottom,0px));z-index:30;width:max-content;max-width:min(560px,100vw - 32px);color:var(--paper);background:var(--ink);box-shadow:var(--shadow);border-radius:20px;align-items:center;gap:8px;padding:6px 10px 6px 18px;font-size:.85rem;display:flex;position:fixed;transform:translate(-50%)}.notice button{color:inherit;flex-shrink:0;padding:8px}.notice-close{place-items:center;width:44px;display:grid}.notice-close svg{width:16px;height:16px}.notice--inline{width:100%;max-width:none;margin-top:20px;position:static;transform:none}.modal{overscroll-behavior:contain}.dialog-top h2{flex:1}.dialog-back{flex-shrink:0;place-items:center;width:44px;display:grid}.modal--quiet{background:var(--paper);width:100%;max-width:none;height:100dvh;max-height:none;padding:calc(16px + env(safe-area-inset-top,0px)) 24px calc(16px + env(safe-area-inset-bottom,0px));border:0;border-radius:0;margin:0}.modal--quiet .dialog-top{max-width:1060px;margin:0 auto 16px}.modal--quiet .dialog-top h2{font-size:1rem}.focus-inner{gap:22px;min-height:calc(100dvh - 145px)}.focus-inner .art-zone{width:100%}.focus-inner .scene{width:min(70vw,390px)}.focus-inner .scene img{width:100%;height:100%}.focus-inner h2{font-size:clamp(1.2rem,3.6vw,1.55rem);line-height:1.9}.focus-inner .scene-label{font-size:.8rem}.setting-row{min-height:56px}.setting-row input[type=checkbox]{width:44px;height:44px;margin:0}.switch{flex-shrink:0;width:44px;height:44px;display:inline-block;position:relative}.switch input{opacity:0;cursor:pointer;z-index:1;position:absolute;inset:0}.switch-track{border:1px solid var(--muted);background:var(--line);pointer-events:none;border-radius:20px;width:44px;height:24px;position:absolute;top:10px;left:0}.switch-track:after{content:"";background:var(--surface);border-radius:50%;width:18px;height:18px;transition:transform .18s;position:absolute;top:2px;left:2px}.switch input:checked+.switch-track{background:var(--accent);border-color:var(--accent)}.switch input:checked+.switch-track:after{background:var(--paper);transform:translate(20px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--ink);outline-offset:4px}.switch input:disabled+.switch-track{opacity:.5}.setting-row input[type=time]{max-width:160px;min-height:44px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:5px 10px}.setting-row select{min-width:100px}.setting-link{text-align:left;width:100%}.setting-link:hover{background:var(--wash)}.count-label{color:var(--muted);margin-left:6px}.settings-section{border-bottom:1px solid var(--line);padding:4px 0 12px}.settings-section summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:.9rem}.settings-section .small{margin-top:5px}.empty-state{color:var(--muted);padding:22px 0;line-height:1.9}.saved-list{margin:0;padding:0;list-style:none}.saved-item{border-bottom:1px solid var(--line);padding:16px 0}.saved-item p{margin:0 0 10px}.saved-item .serif{font-size:1.05rem;line-height:1.9}.saved-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.clear-saved{margin:16px 0 0 10px}.quote-card--reading{border:0;margin:0;padding:0 0 24px;display:block}.quote-card--reading .quote-line{font-size:1.2rem}.quote-card--reading .quote-tools{justify-content:flex-end}.export-preview{object-fit:contain;background:var(--paper);border-radius:16px;width:100%;max-height:55dvh;display:block}.export-panel .small{text-align:center}.export-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-top:18px;display:flex}.export-actions .download{margin:0}.export-actions .text-button{align-items:center;gap:10px;display:inline-flex}.export-loading{min-height:320px;color:var(--muted);place-items:center;display:grid}.about-panel{font-size:1rem;line-height:1.9}.about-panel h3{margin-top:26px;font-size:1rem;font-weight:500}.about-panel .serif{font-size:1.3rem}.about-panel a{color:var(--ink);text-underline-offset:3px;overflow-wrap:anywhere}.error-page{text-align:center;max-width:620px;margin:14vh auto;padding:24px}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media (width<=760px){.experience{padding-top:4px}.choices{gap:6px}.choice{padding:5px 12px}.scene-label{max-width:calc(100vw - 44px);min-height:26px;margin-top:4px}.scene{width:clamp(180px,50vw,214px)}.stop-bell{margin-top:5px;position:static}.quote-card{margin-top:23px}.nav-wrap{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.page-footer{column-gap:12px;padding-bottom:8px}.page-footer .footer-note,.footer-link{font-size:.75rem}.modal{width:min(480px,100% - 24px);max-height:90dvh;padding:20px}.modal--quiet{width:100%;max-height:none;padding-top:calc(16px + env(safe-area-inset-top,0px))}.modal--quiet .dialog-top h2{font-size:.9rem}.modal--quiet .text-button{font-size:.8rem}.modal--quiet .focus-inner{min-height:calc(100dvh - 140px)}.notice{font-size:.8rem}}@media (height<=640px){.modal--quiet .scene{width:min(37dvh,220px)}.focus-inner{gap:10px}}
