@font-face{font-family:ForestTitle;src:url('./assets/fonts/title.woff2') format('woff2');font-weight:700;font-display:swap}
:root{--ink:#233f34;--green:#244b3d;--muted:#526758;--sage:#e9f0df;--paper:#fff9ea;--border:#cad6bd;--gold:#d49a44;--danger:#8a3d30;font-family:'Noto Sans TC','PingFang TC','Microsoft JhengHei',sans-serif;color:var(--ink);font-synthesis:none;background:#e9f0df;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-underline-offset:4px}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--green);outline-offset:4px;box-shadow:0 0 0 2px var(--paper)}input{accent-color:var(--green);caret-color:var(--green)}::selection{background:#c5dab3;color:#203d30}[hidden]{display:none!important}svg{display:block}button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2{font-family:ForestTitle,'Noto Serif TC','PMingLiU',serif;font-weight:700;text-wrap:balance}button{border:0}fieldset{padding:0;margin:0;border:0}legend{padding:0;margin-bottom:14px;font-weight:600;font-size:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;left:20px;top:-80px;background:var(--paper);padding:12px;z-index:100}.skip-link:focus{top:12px}
#app{min-height:100dvh;position:relative;isolation:isolate;overflow:hidden}#forest-scene{height:auto;min-height:0}.site-header{height:88px;position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 max(4.5vw,env(safe-area-inset-right)) 0 max(4.5vw,env(safe-area-inset-left));background:linear-gradient(#f6f8edee,#f6f8ed88 75%,transparent);gap:16px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;white-space:nowrap;font-size:23px;letter-spacing:.08em;font-weight:700}.brand>svg{height:35px;width:31px}.header-actions{display:flex;gap:18px;align-items:center}.text-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;color:var(--ink);min-height:44px}.text-button{padding:8px 12px;font-size:14px}.icon-button{width:44px;padding:10px;border-radius:50%}.icon-button:hover,.text-button:hover{background:#dfe9d8}.tiny-count{font-size:11px;min-width:20px;height:20px;display:grid;place-items:center;background:#d8e5cc;border-radius:50%;font-weight:700}.plain-link{display:inline-flex;align-items:center;min-height:44px;background:transparent;color:var(--muted);text-decoration:underline;text-underline-offset:5px;padding:8px 0;font-size:13px}.plain-link:hover{color:var(--green)}
main{min-height:calc(100dvh - 88px);position:relative}#forest-scene{position:absolute;inset:-88px 0 0;overflow:hidden;z-index:-1;background:#dce9d1}.welcome-panel{width:420px;margin:2.5vh 0 40px 6.2vw;background:var(--paper);padding:38px 38px 22px;border-radius:28px 28px 85px 28px;position:relative;box-shadow:0 18px 50px #2d51321c;border:1px solid #fffefa99}.welcome-panel:before{content:'';position:absolute;width:48px;height:5px;background:#d5dfc1;border-radius:50%;top:18px;left:38px;transform:rotate(-8deg)}h1{font-size:40px;line-height:1.55;letter-spacing:.025em;margin-bottom:16px}.welcome-copy{font-size:15px;line-height:1.9;color:var(--muted);margin-bottom:26px}.companion-options{display:flex;gap:10px}.companion-option{flex:1;min-width:0;cursor:pointer;position:relative}.companion-option input{position:absolute;top:8px;right:8px;width:13px;height:13px;opacity:0}.companion-option>span{display:flex;flex-direction:column;align-items:center;border:1px solid #dce2ce;border-radius:16px;padding:10px 6px 8px;transition:background .2s,border-color .2s;background:#fffdf4;gap:5px}.companion-option img{object-fit:contain;height:54px;max-width:70px;transition:transform .2s}.companion-option strong{font-size:13px;font-weight:500}.companion-option input:checked+span{background:#e4ecd7;border-color:#78966e;box-shadow:inset 0 0 0 1px #78966e}.companion-option:hover img{transform:translateY(-3px)}.companion-option input:focus-visible+span{outline:3px solid var(--green);outline-offset:3px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:14px;padding:12px 20px;line-height:1.4;font-size:15px;font-weight:600;transition:background .2s,transform .2s}.primary-button{background:var(--green);color:#fffdf1;box-shadow:0 5px 12px #244b3d14}.primary-button:hover{background:#193d30;transform:translateY(-1px)}.secondary-button{background:#f5f6e9;color:var(--green);border:1px solid var(--border)}.secondary-button:hover{background:#e3ebd6}.start-button{width:100%;margin-top:25px;justify-content:flex-start;padding:16px 18px;min-height:56px}.start-button .arrow{margin-left:auto;width:19px}.demo-button{width:100%;min-height:44px;margin-top:7px;display:flex;justify-content:center;align-items:center;gap:7px;color:var(--muted);background:transparent;font-size:14px}.demo-button svg{width:15px;height:15px;fill:currentColor;stroke:none}.demo-button:hover{color:var(--green);text-decoration:underline;text-underline-offset:4px}.privacy-note{display:flex;align-items:flex-start;justify-content:center;gap:6px;font-size:11px;line-height:1.8;color:var(--muted);margin-top:8px}.privacy-note svg{width:12px;height:14px;fill:none;stroke:currentColor;stroke-width:1.3;flex-shrink:0;margin-top:2px}.welcome-footer{border-top:1px solid #e5e6d5;margin-top:24px;padding-top:16px;display:flex;flex-direction:column;gap:0;font-size:11px;color:var(--muted)}.welcome-footer .plain-link{font-size:11px;min-height:32px;width:max-content}.scene-caption{position:absolute;right:8%;bottom:58px;display:flex;align-items:center;gap:14px;color:#2d513d;pointer-events:none}.scene-caption p{font-size:12px;letter-spacing:.1em;line-height:1.8}.scene-caption strong{display:block;font-size:18px;font-weight:500;letter-spacing:.06em}.caption-leaf{width:25px;height:40px;background:#6f8b5a;border-radius:90% 0 90% 0;transform:rotate(-22deg)}
.session-ui{position:absolute;inset:0;pointer-events:none}.session-top{position:absolute;top:10px;left:50%;transform:translateX(-50%);width:min(90%,530px);text-align:center}.session-message{display:inline-flex;align-items:center;gap:9px;padding:12px 20px;border-radius:50px;background:#fff9eae8;box-shadow:0 5px 18px #244b3d0d}.session-message p{font-size:14px;line-height:1.6}.status-dot{width:8px;height:8px;border-radius:50%;background:#65854f;flex-shrink:0}#app[data-noise='too-loud'] .status-dot{background:#b78445}#app[data-paused='true'] .status-dot{background:#81918b}.demo-label{font-size:11px;background:#fff9eadb;color:#526758;border-radius:8px;padding:6px 10px;width:max-content;max-width:100%;margin:8px auto}.parent-dock{position:absolute;bottom:40px;left:50%;transform:translateX(-50%);display:flex;gap:14px;align-items:center;pointer-events:auto;padding:14px 16px 14px 22px;border-radius:22px;background:#fff9eaf2;box-shadow:0 12px 30px #244b3d20;border:1px solid #fffff688;max-width:calc(100% - 32px)}.meal-meta{display:flex;flex-direction:column;min-width:130px;gap:3px;padding-right:12px}.meal-meta span{font-size:11px;color:var(--muted)}.meal-meta strong{font-size:21px;font-weight:500;letter-spacing:.035em;font-variant-numeric:tabular-nums}.parent-dock button{white-space:nowrap}.arrival-note{position:absolute;left:50%;top:80px;transform:translateX(-50%);background:var(--paper);border:1px solid var(--border);border-radius:14px;padding:12px 20px;text-align:center;box-shadow:0 8px 24px #244b3d16;color:var(--green);font-size:14px;max-width:90%}.demo-controls{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;pointer-events:auto;white-space:nowrap}.demo-controls>span{font-size:11px;color:var(--green)}.demo-controls button{font-size:12px;text-decoration:underline;text-underline-offset:4px}.session-error{font-size:13px;line-height:1.7;margin-top:8px;background:var(--paper);padding:10px 16px;border-radius:14px;color:var(--danger)}.inline-error{font-size:13px;line-height:1.7;color:var(--danger);margin-top:12px;padding:10px 12px;background:#f9e9dd;border-radius:10px}
.summary-panel{position:relative;margin:3vh auto 50px;width:min(450px,calc(100% - 32px));padding:30px 34px;text-align:center;background:var(--paper);border:1px solid #fffef3;border-radius:28px 28px 70px 28px;box-shadow:0 18px 60px #244b3d25}.summary-illustration{height:95px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}.summary-illustration img{width:130px;height:90px;object-fit:contain}.summary-panel h2{font-size:29px;line-height:1.5;margin-bottom:16px}.summary-panel>p{font-size:14px;line-height:1.9;color:var(--muted)}.summary-guests{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px 0}.summary-guests img{width:60px;height:52px;object-fit:contain}.summary-panel .summary-end{font-size:12px;margin:16px 0 24px}.summary-panel>.primary-button{width:100%}.summary-panel>.plain-link{margin-top:8px}
.parent-dialog{border:1px solid var(--border);border-radius:24px;background:var(--paper);color:var(--ink);padding:0;width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 40px);box-shadow:0 24px 70px #13372b40;overflow:auto;scrollbar-width:thin;scrollbar-color:#9dac8e var(--paper)}.parent-dialog::backdrop{background:#183a3166}.dialog-header{position:sticky;top:0;background:var(--paper);z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 26px 15px;border-bottom:1px solid #e0e4d2}.dialog-header h2{font-size:24px}.dialog-body{padding:24px 28px}.dialog-intro{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:28px}.dialog-footer{position:sticky;bottom:0;background:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 26px;border-top:1px solid #e0e4d2}.dialog-footer>span{font-size:11px;color:var(--muted)}.dialog-footer>.primary-button,.dialog-footer>.secondary-button{font-size:13px;min-height:44px}.setting-group{margin-bottom:28px}.setting-group:last-child{margin-bottom:0}.setting-group legend,.setting-group h3{font-size:15px;font-weight:600;margin-bottom:12px}.segmented{display:flex;gap:8px}.segmented>label{flex:1;position:relative;cursor:pointer}.segmented input{position:absolute;opacity:0;width:1px;height:1px}.segmented span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:62px;padding:10px 4px;gap:4px;border:1px solid var(--border);border-radius:12px;font-size:14px}.segmented small{font-size:11px;color:var(--muted)}.segmented input:checked+span{background:#e0ead2;border-color:#6c8a61;box-shadow:inset 0 0 0 1px #6c8a61}.segmented input:focus-visible+span{outline:3px solid var(--green);outline-offset:3px}.segmented.compact span{font-size:12px;min-height:46px}.field-help{font-size:11px;color:var(--muted);line-height:1.8;margin-top:8px}.range-label,.meter-label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;margin-top:18px}.range-label output{font-variant-numeric:tabular-nums;background:#e1e9d6;padding:3px 9px;border-radius:7px}input[type=range]{width:100%;min-height:44px;margin:0}meter{width:100%;height:14px;display:block;accent-color:#6c8a61}meter::-webkit-meter-bar{background:#e3e9d7;border:0}meter::-webkit-meter-optimum-value{background:#6c8a61}meter::-moz-meter-bar{background:#6c8a61}.meter-label{margin:3px 0 6px;color:var(--muted);font-size:11px}.choice-row{display:flex;gap:10px;align-items:flex-start;padding:12px 0;cursor:pointer;min-height:56px}.choice-row input{margin:5px 0 0;width:18px;height:18px;flex-shrink:0}.choice-row span{display:flex;flex-direction:column;gap:5px}.choice-row strong{font-size:14px;font-weight:500}.choice-row small{font-size:11px;color:var(--muted);line-height:1.6}.calibration-group{border-top:1px solid var(--border);padding-top:24px}.calibration-group>.secondary-button{margin-top:12px;font-size:13px;min-height:44px}#calibration-status{display:block}#calibration-panel{background:var(--sage);padding:18px;border-radius:14px;margin-top:16px}#calibration-instruction{font-size:13px;line-height:1.8;margin-bottom:10px}#calibration-progress{width:100%;height:8px;accent-color:var(--green);margin-bottom:12px}#calibration-panel .secondary-button{width:100%;font-size:13px}#calibration-panel .plain-link{display:block;margin:auto}
.collection-dialog{width:min(660px,calc(100% - 28px))}.collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px 12px}.animal-entry{text-align:center;min-width:0}.animal-entry img{width:100%;height:70px;object-fit:contain}.animal-entry strong{display:block;font-size:12px;font-weight:500;margin-top:7px}.animal-entry small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.animal-entry.unseen img{filter:brightness(0) opacity(.14)}.animal-entry.unseen strong{color:var(--muted)}.animal-entry[data-tier=rare]:not(.unseen) strong:after{content:' · 稀有';font-size:11px;color:#8a632b}.memory-section{margin-top:36px;padding-top:24px;border-top:1px solid var(--border)}.memory-section h3{font-size:15px;font-weight:600;margin-bottom:14px}.memory-row{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #e1e5d5;font-size:12px;line-height:1.7}.memory-row small{color:var(--muted);display:block}.empty-memory{font-size:12px;line-height:1.8;color:var(--muted)}.about-copy p{font-size:14px;line-height:1.9;color:var(--muted);margin-bottom:24px}.about-copy h3{font-size:15px;margin-bottom:8px}.noscript{position:fixed;inset:auto 0 0;padding:20px;background:var(--paper);color:var(--danger);z-index:100}
@media(min-width:1440px){.welcome-panel{margin-top:6vh;width:450px;padding:42px}.welcome-panel h1{font-size:44px}.welcome-copy{margin-bottom:30px}.companion-option img{height:64px}.companion-option>span{padding-top:14px;padding-bottom:12px}}
@media(max-width:900px){.site-header{padding:0 max(24px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left));height:76px}#forest-scene{inset:-76px 0 0}main{min-height:calc(100dvh - 76px)}.welcome-panel{margin:2vh 0 30px 24px;width:365px;padding:30px 28px 20px}.welcome-panel h1{font-size:34px}.welcome-copy{font-size:14px;margin-bottom:22px}.scene-caption{right:4%;bottom:30px}.scene-caption strong{font-size:14px}.scene-caption p{font-size:11px}.brand{font-size:20px}.header-actions{gap:6px}}
@media(max-width:640px){#app{overflow:hidden}.site-header{height:72px;padding:0 max(18px,env(safe-area-inset-right)) 0 max(18px,env(safe-area-inset-left));background:#f4f7eae6}.brand{font-size:20px;gap:8px}.brand>svg{width:25px;height:30px}.header-actions{gap:2px}.header-actions .text-button{padding:6px;font-size:12px;gap:6px}.header-actions .text-button svg{width:20px}.tiny-count{width:17px;min-width:17px;height:17px;font-size:11px}main{min-height:calc(100dvh - 72px)}#forest-scene{inset:-72px 0 0}.welcome-panel{width:calc(100% - 40px);max-width:410px;margin:21vh auto 30px;padding:24px 26px 18px;border-radius:24px 24px 55px 24px;background:#fff9eaf5;box-shadow:0 12px 30px #244b3d18}.welcome-panel:before{display:none}.welcome-panel h1{font-size:31px;line-height:1.5;margin-bottom:10px}.welcome-copy{font-size:13px;line-height:1.75;margin-bottom:20px}.welcome-copy br{display:none}.companion-options{gap:10px}.companion-option>span{padding:7px 4px;gap:2px}.companion-option img{height:42px}.companion-option strong{font-size:12px}legend{font-size:12px;margin-bottom:10px}.start-button{margin-top:20px;min-height:52px;font-size:14px}.privacy-note{font-size:11px;line-height:1.7;margin-top:3px}.welcome-footer{margin-top:16px;padding-top:12px;font-size:11px}.welcome-footer .plain-link{min-height:30px;font-size:11px}.scene-caption{display:none}#app[data-mode=intro] #forest-scene{height:35vh;bottom:auto}#app[data-mode=intro]{background:#dbe7cb}#app[data-mode=intro] #forest-scene:after{content:'';position:absolute;inset:auto 0 0;height:80px;background:linear-gradient(transparent,#dbe7cb)}.session-top{top:8px;width:calc(100% - 32px)}.session-message{padding:10px 14px}.session-message p{font-size:12px}.parent-dock{width:calc(100% - 24px);bottom:max(20px,env(safe-area-inset-bottom));padding:12px;gap:8px;flex-wrap:wrap;border-radius:20px}.meal-meta{flex-basis:100%;flex-direction:row;justify-content:space-between;align-items:center;padding:0 4px;min-width:0}.meal-meta span{font-size:11px}.meal-meta strong{font-size:15px}.parent-dock button{flex:1;min-height:48px;font-size:14px;padding:12px 10px}.parent-dock button svg{width:18px;height:18px}#app[data-mode=demo] .parent-dock{bottom:44px}.demo-controls{bottom:2px;gap:6px}.demo-controls button{font-size:11px}.demo-controls>span{font-size:11px}.arrival-note{top:88px;width:max-content;max-width:90%;font-size:12px;padding:10px 14px}.summary-panel{margin:5vh auto 30px;padding:26px}.summary-panel h2{font-size:27px}.parent-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:20px}.dialog-header{padding:14px 20px 10px}.dialog-header h2{font-size:21px}.dialog-body{padding:20px}.dialog-footer{padding:12px 20px}.dialog-footer>span{font-size:11px}.collection-grid{grid-template-columns:repeat(3,1fr);gap:22px 10px}.animal-entry img{height:62px}.dialog-intro{font-size:13px;margin-bottom:24px}.about-copy p{font-size:13px}}
@media(max-width:360px){.welcome-panel{width:calc(100% - 24px);padding:22px}.welcome-panel h1{font-size:28px}.header-actions .text-button>span:not(.tiny-count){display:none}.segmented.compact span{font-size:11px}.parent-dock button{font-size:12px}}
@media(max-height:650px) and (min-width:641px){.site-header{height:64px}#forest-scene{inset:-64px 0 0}main{min-height:calc(100dvh - 64px)}.welcome-panel{margin-top:5px;padding:23px 28px 14px;width:350px}.welcome-panel:before{display:none}.welcome-panel h1{font-size:29px;margin-bottom:8px;line-height:1.4}.welcome-copy{font-size:12px;line-height:1.6;margin-bottom:14px}.companion-option img{height:36px}.companion-option strong{font-size:11px}.start-button{margin-top:14px;min-height:46px;padding:12px 14px}.welcome-footer{margin-top:12px;padding-top:10px}.privacy-note{font-size:11px}.scene-caption{bottom:25px}.parent-dock{bottom:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}.primary-button:hover,.companion-option:hover img{transform:none}}

/* Round 2: prevent first-child margins moving the scene, improve parent readability. */
main{display:flow-root}.privacy-note{font-size:12px}.welcome-footer .plain-link{min-height:44px;font-size:12px}.field-help{font-size:12px}.choice-row small{font-size:12px}.dialog-footer>span{font-size:12px}

/* The parent guide is readable HTML below the invitation, outside the live scene. */
.welcome-links{display:flex;flex-wrap:wrap;gap:0 20px}
.parent-guide{padding:72px max(24px,calc((100vw - 1120px)/2)) 0;background:var(--paper);border-top:1px solid var(--border)}
#app:not([data-mode="intro"]) + .parent-guide{display:none}
.guide-introduction{max-width:720px;margin-bottom:42px}
.guide-kicker{color:var(--muted);font-size:13px;letter-spacing:.06em;margin-bottom:12px}
.parent-guide h2{font-family:inherit;font-size:30px;line-height:1.5;letter-spacing:.015em;margin-bottom:16px}
.guide-introduction>p:last-child{font-size:15px;line-height:2;color:var(--muted)}
.guide-columns{display:grid;grid-template-columns:1fr 1fr;gap:64px}
.parent-guide h3{font-size:18px;line-height:1.6;margin-bottom:20px;font-weight:600}
.guide-steps ol{padding-left:23px;margin:0;color:var(--muted);font-size:14px;line-height:1.9}
.guide-steps li{padding-left:6px;margin-bottom:18px}
.guide-steps strong{display:block;color:var(--ink);font-weight:600;margin-bottom:4px}
.guide-return{display:inline-flex;align-items:center;gap:14px;min-height:44px;margin-top:5px;font-size:14px}
.guide-questions details{border-bottom:1px solid var(--border);padding:0 0 6px}
.guide-questions summary{padding:15px 2px;min-height:48px;cursor:pointer;font-size:14px;line-height:1.6;font-weight:600}
.guide-questions summary:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.guide-questions details p{font-size:14px;line-height:1.9;color:var(--muted);padding:0 2px 16px}
.guide-footer{margin-top:56px;border-top:1px solid var(--border);padding:20px 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;color:var(--muted);font-size:12px}
.guide-footer a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:700px){.parent-guide{padding:42px 24px 0}.parent-guide h2{font-size:24px}.guide-introduction{margin-bottom:32px}.guide-columns{grid-template-columns:1fr;gap:36px}.guide-introduction>p:last-child{font-size:14px}.guide-footer{margin-top:36px}}
/* Parent tools: the goal stays still while the native meter reports level. */
select{font:inherit;color:var(--ink);accent-color:var(--green)}
select:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.microphone-group h3{font-size:14px;margin-bottom:14px}
#microphone-device{width:100%;min-height:46px;padding:10px 36px 10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--paper)}
#device-status:empty{display:none}
.volume-meter{position:relative;margin:12px 0 10px}
.volume-meter meter{display:block;width:100%;height:16px;margin:0}
#goal-marker{position:absolute;top:-4px;bottom:-4px;width:2px;background:var(--ink);transform:translateX(-1px);pointer-events:none}
.volume-status{font-size:13px;line-height:1.7;margin:12px 0 8px;padding:10px 12px;border-radius:10px;background:#e8eddf;color:var(--green)}
.volume-status[data-state=waiting]{background:#f4e8d2;color:#76501e}
.volume-status[data-state=inactive]{background:#eeeee5;color:var(--muted)}
.display-error{position:fixed;right:16px;top:85px;z-index:25;max-width:min(360px,calc(100vw - 32px));background:var(--paper);color:var(--danger);border:1px solid var(--border);padding:12px 16px;border-radius:12px;font-size:13px;line-height:1.7}
:root:fullscreen{background:var(--sage);overflow:auto}
@media(max-width:640px){.site-header{gap:8px}.header-actions{gap:0}.header-actions .text-button>span:not(.tiny-count){display:none}}
/* Optional parent timer stays separate from earned quiet time. */
.custom-pace{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;font-size:13px}
.custom-pace input,.timer-inputs input{font:inherit;color:var(--ink);border:1px solid var(--border);border-radius:9px;background:#fffdf5;min-height:44px;width:72px;padding:8px 10px}
.timer-group h3{font-size:14px;margin-bottom:12px}.timer-inputs{display:flex;align-items:end;gap:12px;margin:16px 0}.timer-inputs label{display:flex;flex-direction:column;gap:6px;font-size:12px}.timer-inputs>span{padding-bottom:12px}
.timer-settings-status{display:flex;gap:14px;align-items:center;margin:14px 0;font-size:13px}.timer-settings-status strong{font-size:24px;font-variant-numeric:tabular-nums;font-weight:500}.timer-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#timer-storage-status:empty{display:none}.timer-display{position:absolute;right:24px;top:100px;z-index:22;display:flex;align-items:center;border:1px solid var(--border);border-radius:14px;background:#fff9eaf5;max-width:calc(100% - 24px);box-shadow:0 4px 12px #244b3d12}
.timer-readout{display:flex;align-items:center;gap:12px;min-height:44px;background:transparent;color:var(--ink);padding:8px 4px 8px 14px}.timer-readout span{font-size:12px}.timer-readout strong{font-size:20px;font-weight:500;font-variant-numeric:tabular-nums}.timer-display .icon-button{font-size:22px}.timer-display[data-status=done]{background:#f7edcd}
@media(max-width:900px){.timer-display{top:86px}#app[data-timer-open=true] .session-top{top:65px}#app[data-timer-open=true] .arrival-note{top:143px}}
@media(max-width:640px){.timer-display{top:80px;right:max(12px,env(safe-area-inset-right))}.timer-readout strong{font-size:17px}}
@media(max-height:650px) and (min-width:641px){.timer-display{top:74px}}
