.concern-instruction{margin:0 0 18px;color:var(--text-muted);font-size:16px;line-height:1.5}.concern-options{display:grid;gap:10px}.concern-clear{display:block;min-height:var(--touch-target);margin:12px 0 0 auto;padding:8px 12px;color:var(--text-muted);background:transparent;font-size:15px}.concern-option{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:12px 16px;border:2px solid transparent;border-radius:18px;background:var(--surface-raised);text-align:left}.concern-option strong{flex:1;font-size:var(--type-body);font-weight:500;line-height:var(--leading-body)}.concern-option.selected{background:var(--pink-light);border-color:var(--pink)}.concern-option .selection-check{width:25px;height:25px;flex-shrink:0;display:grid;place-items:center;border-radius:50%}.concern-option.selected .selection-check{background:var(--pink);color:var(--text-on-accent)}.concern-option.selected .selection-check svg{opacity:1}.skin-concerns--grid .concern-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.skin-concerns--grid .concern-option{position:relative;flex-direction:column;justify-content:center;gap:6px;min-width:0;min-height:0;padding:12px 6px 10px;border:1px solid var(--border-subtle);border-radius:16px;text-align:center}.skin-concerns--grid .concern-art{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px}.skin-concerns--grid .concern-option .art-icon{width:48px;height:48px;flex:0 0 48px;object-fit:contain}.skin-concerns--grid .concern-option strong{display:block;flex:none;min-height:var(--leading-detail);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:500;word-break:keep-all;overflow-wrap:normal}.skin-concerns--grid .concern-option .selection-check{position:absolute;top:7px;right:7px;width:16px;height:16px;border-radius:50%}.skin-concerns--grid .concern-option.selected{border-color:var(--pink);box-shadow:none}.skin-concerns--grid .concern-clear{margin-top:4px}.care-funnel.care-funnel--concerns .onboard-question{min-height:0}.care-funnel.care-funnel--concerns .onboard-question h1{margin:12px 0 20px;font-size:var(--type-section);line-height:var(--leading-section)}.care-funnel--concerns .onboard-main[data-pages="1"]>.page-turner{display:none}@media(max-height:700px),(max-width:359px){.skin-concerns--grid .concern-option{padding:6px 4px;gap:4px}.skin-concerns--grid .concern-art{width:48px;height:48px;flex-basis:48px}.care-funnel.care-funnel--concerns .onboard-question h1{margin-block:12px}}.concern-tags{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 24px;list-style:none}.concern-tags li{padding:7px 11px;border-radius:12px;background:var(--pink-light);color:var(--pink);font-size:14px}.skin-preview h2{margin:0 0 12px;font-size:var(--type-section);line-height:var(--leading-section);font-weight:600;letter-spacing:-.02em}.skin-preview-list{list-style:none;padding:0;margin:0}.skin-preview-list li{border-bottom:1px solid var(--surface-control)}.skin-preview-list summary{display:flex;align-items:center;gap:12px;min-height:84px;cursor:pointer;list-style:none}.skin-preview-list summary::-webkit-details-marker{display:none}.skin-preview-list summary>span{flex:1;min-width:0}.skin-preview-list summary strong{display:block;font-size:var(--type-body);font-weight:500;line-height:var(--leading-body);word-break:keep-all}.skin-preview-list summary .quest-reason-tag{margin-top:6px;margin-bottom:6px}.skin-preview-list summary time{display:block;color:var(--text-muted);margin-bottom:3px;font-size:var(--type-detail);line-height:var(--leading-detail);font-variant-numeric:tabular-nums}.skin-preview-list summary>svg{flex-shrink:0;color:var(--text-muted)}.skin-preview-list details[open] summary>svg{transform:rotate(180deg)}.skin-preview-detail{padding:4px 0 20px;font-size:var(--type-reading);line-height:var(--leading-reading)}.skin-preview-detail a{display:inline-flex;align-items:center;min-height:var(--touch-target);color:var(--pink)}.daily-concerns{display:flex;align-items:center;width:100%;gap:12px;min-height:52px;padding:12px 0;margin:-12px 0 16px;background:transparent;text-align:left}.daily-concerns span{flex:1;font-size:15px;line-height:1.6;color:var(--pink);word-break:keep-all}.daily-concerns svg{flex-shrink:0}.page-select-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;min-width:0;border:1px solid var(--border-strong);border-radius:12px;padding:10px 12px;background:var(--surface-control);color:var(--text-strong);font:inherit}.page-select-trigger>span{min-width:0}.page-select-trigger>svg{flex-shrink:0;color:var(--text-muted)}.page-select-trigger:focus-visible,.page-select-dialog button:focus-visible{outline:2px solid var(--pink);outline-offset:2px}dialog.page-select-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:var(--app-height,100dvh);max-width:none;max-height:none;margin:0;border:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:var(--surface-page);color:var(--text-strong);overflow:clip;overscroll-behavior:none}dialog.page-select-dialog[open]{display:flex;flex-direction:column}.page-select-dialog::backdrop{background:var(--surface-page)}.page-select-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:16px;width:min(100%,620px);min-height:72px;padding:12px 20px;margin:0 auto}.page-select-header h2{margin:0;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600}.page-select-dialog .page-select-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:14px;background:var(--surface-raised);color:var(--text-strong)}.page-select-dialog .page-select-pages{width:min(100%,620px);margin:0 auto}.page-select-options{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:8px 20px 16px}.page-select-options.page-select-numeric{grid-template-columns:repeat(3,minmax(0,1fr))}.page-select-dialog .page-select-option{min-height:56px;padding:12px 8px;border:1px solid var(--border-strong);border-bottom-width:3px;border-radius:16px;background:var(--surface-raised);color:var(--text-strong);font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.page-select-dialog .page-select-option[aria-selected=true]{border-color:var(--pink);background:var(--pink);color:var(--text-on-accent);font-weight:600}.time-select .page-select-trigger{width:100%;min-height:80px;border-radius:16px;padding:8px 31px 8px 16px;justify-content:center;font-size:var(--type-section);line-height:var(--leading-section);font-weight:600;font-variant-numeric:tabular-nums}.schedule-field .time-select .page-select-trigger{min-height:62px}.time-picker.time-picker-compact{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:12px;max-width:none;align-items:center}.time-picker-compact .period-switch{width:100%;margin:0}.time-picker-compact .period-switch button{font-size:var(--type-detail);line-height:var(--leading-detail)}.time-picker-compact .time-select{max-width:none}.time-picker-compact .time-select .page-select-trigger{min-height:52px;font-size:var(--type-body);line-height:var(--leading-body);padding:8px 26px 8px 8px;border-radius:12px}.time-picker-compact .time-select svg{width:14px;right:8px}.time-picker-compact .time-colon{font-size:var(--type-body);margin:0}.time-picker-compact .time-columns{gap:6px}.avatar-portrait{display:block;position:relative;width:100%;height:100%;isolation:isolate;container-type:size}.avatar-portrait-aura{position:absolute;top:14%;right:0;bottom:4%;left:0;border-radius:50%;background:radial-gradient(ellipse,var(--pink-light),transparent 68%);opacity:.8;z-index:0}.guardian-portrait .avatar-portrait-aura{transition:opacity .26s ease-out}.guardian-portrait[data-mood=exhausted] .avatar-portrait-aura{opacity:.18}.guardian-portrait[data-mood=tired] .avatar-portrait-aura{opacity:.4}.guardian-portrait[data-mood=happy] .avatar-portrait-aura{opacity:1}.backdrop-moon .avatar-portrait-aura{background:radial-gradient(ellipse at 50% 35%,var(--surface-control),transparent 67%);border:1px solid var(--border-strong);top:18%;right:0;bottom:10%;left:0}.backdrop-peach .avatar-portrait-aura{background:radial-gradient(ellipse at 50% 80%,color-mix(in srgb,var(--stage-peach) 22%,transparent),transparent 70%);border-bottom:3px solid var(--stage-peach);top:30%;right:0;bottom:4%;left:0;border-radius:50%}.guardian-figure{position:absolute;display:block;width:min(100cqw,100cqh);aspect-ratio:1;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.avatar-portrait .guardian-figure>.guardian-body-layer{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;display:block;animation:none}.guardian-atlas-frame{position:absolute;display:block;top:5%;right:5%;bottom:5%;left:5%;overflow:hidden}.guardian-atlas-frame>.guardian-atlas{position:absolute;display:block;width:300%;height:300%;max-width:none;object-fit:fill}.avatar-portrait .guardian-figure>.avatar-accessory-layer{position:absolute;display:block;object-fit:contain;z-index:3;height:auto;aspect-ratio:1;animation:none}.avatar-portrait .accessory-bow{width:27%;top:16%;left:55%;transform:rotate(-12deg)}.avatar-portrait :is(.accessory-star-clip,.accessory-moon-clip,.accessory-blossom-clip){width:22%;top:18%;left:56%;transform:rotate(-12deg)}.avatar-portrait .accessory-moon-clip{width:21%;top:17%;left:57%}.avatar-portrait .accessory-blossom-clip{width:23%;top:17%;left:55%}.avatar-portrait .accessory-rose-crown{width:32%;top:0%;left:29%}.avatar-portrait .accessory-glasses{width:58%;top:13.5%;left:16%}.avatar-portrait[data-guardian=blossom-bunny] :is(.accessory-star-clip,.accessory-moon-clip,.accessory-blossom-clip,.accessory-bow){top:27%;left:55%}.avatar-portrait[data-guardian=blossom-bunny] .accessory-rose-crown{top:12%;left:30%}.avatar-portrait[data-guardian=blossom-bunny] .accessory-glasses{top:24%;left:18%;width:54%}.avatar-portrait[data-guardian=cloud-dragon] .accessory-glasses{top:17%;left:13%;width:58%}.home-screen .avatar-character:has(.guardian-portrait){width:min(100%,calc(100vw - 72px),360px)}.avatar-portrait.profile-avatar-icon{width:36px;height:40px}.avatar-portrait.nav-profile{width:34px;height:38px}.profile-avatar-icon .avatar-portrait-aura,.nav-profile .avatar-portrait-aura{display:none}.my-character .avatar-portrait{flex:0 0 112px;height:130px}.profile-settings-character>.avatar-portrait{flex:0 0 88px;height:110px}.my-character-customize{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--touch-target);padding:8px 14px;margin-top:12px;border:1px solid var(--pink);border-bottom-width:3px;border-radius:14px;color:var(--pink);background:var(--pink-light);font-size:var(--type-detail);font-weight:600}.my-character-customize:active{transform:translateY(2px);border-bottom-width:1px}@media(prefers-reduced-motion:reduce){.my-character-customize:active{transform:none}}.guardian-figure.is-celebrating{animation:guardian-cheer-arrive .56s cubic-bezier(.2,.75,.3,1) both}[data-reaction=clap] .guardian-figure.is-celebrating{animation-name:guardian-clap-arrive}[data-reaction=wink] .guardian-figure.is-celebrating{animation-name:guardian-wink-arrive}[data-reaction=smile] .guardian-figure.is-celebrating{animation-name:guardian-smile-arrive}@keyframes guardian-cheer-arrive{0%,to{transform:translate(-50%,-50%) scale(1)}35%{transform:translate(-50%,calc(-50% - 8px)) scale(1.035)}72%{transform:translate(-50%,calc(-50% + 1px)) scale(.995)}}@keyframes guardian-clap-arrive{0%,to{transform:translate(-50%,-50%) rotate(0)}24%{transform:translate(-50%,calc(-50% - 3px)) rotate(-2deg)}58%{transform:translate(-50%,calc(-50% - 3px)) rotate(2deg)}}@keyframes guardian-wink-arrive{0%,to{transform:translate(-50%,-50%) rotate(0)}40%{transform:translate(-50%,calc(-50% - 4px)) rotate(-3deg)}}@keyframes guardian-smile-arrive{0%,to{transform:translate(-50%,-50%) scale(1)}40%{transform:translate(-50%,calc(-50% - 3px)) scale(1.025)}}@media(prefers-reduced-motion:reduce){.guardian-figure.is-celebrating{animation:none}.guardian-portrait .avatar-portrait-aura{transition:none}}.welcome-header-space{width:44px;min-height:var(--touch-target)}.type-option.illustrated-option{display:flex;align-items:center;gap:14px;text-align:left}.illustrated-option>.art-icon{flex-shrink:0;object-fit:contain}.illustrated-option>span:not(.selection-check),.illustrated-option>strong{flex:1}.illustrated-option .selection-check{flex-shrink:0;margin-left:0}.welcome-setup.onboarding{--welcome-panel-height:min( calc(100dvh - 180px) , calc(24rem + 156px) );background:var(--surface-page)}.welcome-header{display:flex;align-items:center;justify-content:space-between;gap:20px;width:min(100%,620px);height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 20px 0;margin:0 auto}.welcome-header .icon-button{width:44px;height:44px;flex-shrink:0}.welcome-progress{display:flex;gap:6px;width:140px}.welcome-progress>span{height:5px;flex:1;border-radius:5px;background:var(--surface-control)}.welcome-progress>span.active{background:var(--pink)}.welcome-step-count{width:44px;color:var(--text-muted);text-align:center;font-size:var(--type-detail);line-height:var(--leading-detail);font-variant-numeric:tabular-nums}.welcome-companion{display:flex;flex:1;min-height:0;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:min(100%,620px);margin:0 auto;padding:8px 24px 16px}.welcome-guardian{width:min(100%,300px);height:min(35dvh,300px);min-height:0;flex:0 1 auto}.welcome-guardian.is-responding{animation:welcome-choice-nod .28s ease-out both}.welcome-dialogue{flex-shrink:0;margin:0;height:calc(2 * var(--leading-detail));max-width:100%;display:flex;align-items:center;justify-content:center;font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:500;color:var(--pink);text-align:center;word-break:keep-all}.welcome-form{display:flex;flex-direction:column;flex:0 0 var(--welcome-panel-height);height:var(--welcome-panel-height);min-height:0;width:min(calc(100% - 32px),520px);margin:0 auto calc(12px + env(safe-area-inset-bottom));border:1px solid var(--border-subtle);border-radius:28px;background:var(--surface-base);overflow:clip}.welcome-question{position:relative;display:flex;align-items:center;min-height:71px;flex-shrink:0;margin:0;padding:24px 20px 16px}.welcome-question h1{flex:1}.welcome-clear{position:absolute;right:16px;top:17px;width:44px;height:44px;color:var(--text-muted)}.welcome-question:has(.welcome-clear){padding-right:64px}.welcome-clear:disabled{visibility:hidden}.welcome-question h1{margin:0;outline:none;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600;letter-spacing:-.02em;word-break:keep-all;overflow-wrap:anywhere}.welcome-form>.welcome-choices{width:100%;max-width:none;min-height:0;margin:0;padding:0;flex:1}.welcome-form>.welcome-choices>.paged-stage>.paged-window>.paged-content{padding:0 20px}.welcome-choices>.page-turner{background:var(--surface-base)}.welcome-choices[data-pages="1"]>.page-turner{display:none}.welcome-choices:has(.welcome-gender-options)>.paged-stage{container-type:size}.welcome-choices>.paged-stage{animation:welcome-step-reveal .14s ease-out both}.welcome-setup .type-options{gap:10px;margin:0}.welcome-setup .type-option{min-height:64px;padding:8px 12px;border-radius:18px;border:1px solid var(--border-subtle);background:var(--surface-raised)}.welcome-setup .type-option.selected{border-color:var(--pink);background:var(--pink-light);box-shadow:inset 0 0 0 1px var(--pink)}.welcome-setup .type-option strong{font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.welcome-setup .type-option small{display:block;margin-top:2px;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted);font-weight:400}.welcome-setup .selection-check{display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px}.welcome-setup .welcome-gender-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:calc(100cqh - 4px)}.welcome-gender-options .type-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:130px;padding:16px 24px;text-align:center;border-radius:20px}.welcome-gender-options .type-option>.art-icon{display:block;flex:none;width:80px;height:80px;object-fit:contain}.welcome-gender-options .type-option>strong{flex:none;white-space:nowrap}.welcome-gender-options .selection-check{position:absolute;right:10px;top:10px;margin:0;color:var(--pink)}.welcome-setup .welcome-skin-options .type-option,.welcome-setup .concern-option{min-height:90px;padding:12px;gap:12px;border:1px solid var(--border-subtle);border-radius:20px}.welcome-setup .welcome-skin-options .art-icon,.welcome-setup .concern-option .art-icon{width:64px;height:64px;flex:0 0 64px;object-fit:contain}.welcome-setup .concern-options{margin:0;gap:10px}.welcome-setup .concern-option.selected{border-color:var(--pink);box-shadow:inset 0 0 0 1px var(--pink)}.welcome-setup .concern-option strong{min-width:0;word-break:keep-all}.welcome-setup .concern-option .selection-check{background:none;color:var(--pink);border-radius:0}.welcome-setup .skin-concerns--grid .concern-option{min-height:0;padding:12px 6px 10px;gap:6px;border-radius:16px}.welcome-setup .skin-concerns--grid .concern-option .art-icon{width:48px;height:48px;flex:none}.welcome-setup .skin-concerns--grid .concern-options{gap:10px}.welcome-setup .skin-concerns--grid .concern-option strong{font-size:var(--type-detail);line-height:var(--leading-detail)}.welcome-setup .skin-concerns--grid .concern-option.selected{box-shadow:none}.welcome-setup .skin-concerns--grid .concern-option .selection-check{width:16px;height:16px;background:var(--pink);color:var(--text-on-accent);border-radius:50%}.welcome-setup .skin-concerns--grid .concern-option:not(.selected) .selection-check{visibility:hidden}.welcome-question:has(.welcome-clear) h1{font-size:var(--type-section);line-height:var(--leading-section)}.welcome-form>.onboard-cta{position:static;inset:auto;transform:none;flex-shrink:0;width:100%;max-width:none;margin:0;padding:16px 20px 20px;background:var(--surface-base)}.welcome-form .onboard-cta .action-button{height:56px;min-height:56px}@keyframes welcome-choice-nod{0%,to{transform:rotate(0)}45%{transform:rotate(-3deg) translateY(-3px)}}@keyframes welcome-step-reveal{0%{opacity:0}to{opacity:1}}@media(max-height:700px),(max-width:359px){.welcome-setup.onboarding{--welcome-panel-height:max(min( calc(100dvh - 164px) , calc(18rem + 162px) ), calc(11.5rem + 108px) )}.welcome-header{height:calc(48px + env(safe-area-inset-top));padding-inline:16px}.welcome-companion{padding:4px 20px 8px;gap:4px}.welcome-guardian{height:min(30dvh,200px);width:min(100%,200px)}.welcome-form{width:calc(100% - 24px);margin-bottom:calc(8px + env(safe-area-inset-bottom));border-radius:24px}.welcome-question{min-height:64px;padding:18px 16px 14px}.welcome-question:has(.welcome-clear){padding-right:60px}.welcome-clear{top:11px;right:12px}.welcome-form>.welcome-choices>.paged-stage>.paged-window>.paged-content{padding-inline:16px}.welcome-form>.onboard-cta{padding:16px}.welcome-setup .type-option{gap:10px;padding:8px 10px}.welcome-setup .welcome-skin-options .type-option,.welcome-setup .concern-option{padding:8px 10px;gap:8px;min-height:76px}.welcome-setup .welcome-skin-options .art-icon,.welcome-setup .concern-option .art-icon{width:48px;height:48px;flex-basis:48px}.welcome-setup .skin-concerns--grid .concern-option{padding:6px 4px;gap:4px}.welcome-setup .skin-concerns--grid .concern-option .art-icon{width:48px;height:48px;flex:0 0 48px}.welcome-form>.onboard-cta{padding:12px 16px}.welcome-gender-options .type-option{min-height:110px;padding:10px 20px;gap:6px}.welcome-gender-options .type-option>.art-icon{width:64px;height:64px}}@media(prefers-reduced-motion:reduce){.welcome-guardian.is-responding,.welcome-choices>.paged-stage{animation:none}}.welcome-completion{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;height:100dvh;min-height:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);overflow:clip;background:var(--surface-page)}.welcome-completion-shell{display:flex;flex-direction:column;width:min(100%,520px);height:100%;min-height:0;padding:12px 24px 0}.welcome-completion-stage{position:relative;flex:0 0 clamp(152px,32dvh,300px);width:100%;min-height:0;display:grid;place-items:center}.welcome-completion-guardian{position:relative;width:100%;max-width:300px;height:100%;z-index:1}.welcome-completion-title{flex-shrink:0;margin:6px 0 20px;min-height:calc(2 * var(--leading-question));text-align:center;color:var(--text-strong);font-size:var(--type-question);line-height:var(--leading-question);font-weight:600;letter-spacing:-.025em;outline:none;word-break:keep-all;overflow-wrap:anywhere}.welcome-completion-seal{position:absolute;right:calc(50% - 102px);bottom:25px;z-index:2;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:5px solid var(--surface-page);background:var(--pink);color:var(--text-on-accent);opacity:0;transform:scale(.8)}.welcome-completion-seal svg{width:25px;height:25px}.welcome-completion[data-welcome-completion=ready] .welcome-completion-seal{opacity:1;transform:none;animation:welcome-plan-ready .28s ease-out both}.welcome-completion-reading{width:100%}.welcome-completion-reading[data-pages="1"]>.page-turner{display:none}.welcome-completion-reading:not([data-pages="1"]) .welcome-completion-preview{padding:0;border:0;background:none}.welcome-completion-reading:not([data-pages="1"]) .welcome-completion-preview li{padding:10px 12px;margin-bottom:8px;border:1px solid var(--border-subtle);border-radius:16px;background:var(--surface-base)}.welcome-completion-reading>.paged-stage{display:flex;flex-direction:column;justify-content:center}.welcome-completion-reading>.paged-stage>.paged-window{flex-shrink:0}.welcome-completion{--welcome-processing-offset:max(0px,min(160px, calc((100dvh - 24rem - 120px)/2) ))}.welcome-completion-stage,.welcome-completion-title{transition:transform .36s cubic-bezier(.2,.8,.2,1)}.welcome-completion[data-welcome-completion=preparing] .welcome-completion-stage,.welcome-completion[data-welcome-completion=preparing] .welcome-completion-title{transform:translateY(var(--welcome-processing-offset))}.welcome-completion-processing-copy{text-align:center;padding:var(--welcome-processing-offset) 8px 4px}.welcome-completion-processing-copy p{margin:0;color:var(--text-body);font-size:var(--type-body);line-height:var(--leading-body);font-weight:400;word-break:keep-all;overflow-wrap:anywhere}.welcome-completion-guardian{transition:transform .36s cubic-bezier(.2,.8,.2,1);transform-origin:50% 48%}.welcome-completion[data-welcome-completion=preparing] .welcome-completion-guardian{transform:scale(.7)}.welcome-completion[data-welcome-completion=preparing] .welcome-completion-reading>.paged-stage{justify-content:flex-start;padding-top:10px}.welcome-processing-scene{--merge-y:17cqh;position:absolute;top:0;right:0;bottom:0;left:0;container-type:size;pointer-events:none;z-index:2}.welcome-processing-token{position:absolute;left:50%;top:50%;display:block;width:clamp(42px,20cqw,68px);aspect-ratio:1;filter:drop-shadow(0 8px 12px #0003);will-change:transform,opacity}.welcome-processing-token .art-icon{display:block;width:100%;height:100%;object-fit:contain}.welcome-processing-token:not([data-kind=plan]){animation:welcome-data-gather var(--welcome-preparation-duration) cubic-bezier(.22,.68,.3,1) both}.welcome-processing-token[data-slot="0"]{--source-x:-31cqw;--source-y:-16cqh}.welcome-processing-token[data-slot="1"]{--source-x:31cqw;--source-y:-16cqh}.welcome-processing-token[data-slot="2"]{--source-x:0cqw;--source-y:28cqh}.welcome-processing-plan{width:clamp(58px,28cqw,100px);animation:welcome-plan-materialize var(--welcome-preparation-duration) cubic-bezier(.2,.8,.2,1) both}@keyframes welcome-data-gather{0%{opacity:0;transform:translate(-50%,-50%) translate(var(--source-x),calc(var(--source-y) + 8cqh)) scale(.82)}20%,40%{opacity:1;transform:translate(-50%,-50%) translate(var(--source-x),var(--source-y)) scale(1)}66%{opacity:.4;transform:translate(-50%,-50%) translateY(var(--merge-y)) scale(.3)}74%,to{opacity:0;transform:translate(-50%,-50%) translateY(var(--merge-y)) scale(.15)}}@keyframes welcome-plan-materialize{0%,60%{opacity:0;transform:translate(-50%,-50%) translateY(var(--merge-y)) scale(.65)}80%,to{opacity:1;transform:translate(-50%,-50%) translateY(var(--merge-y)) scale(1)}}.welcome-completion-result{padding:0 0 4px}.welcome-completion-profile{text-align:center;margin:0 0 18px}.welcome-completion-profile h2{margin:0 0 8px;font-size:var(--type-body);line-height:var(--leading-body);font-weight:400;word-break:keep-all;overflow-wrap:anywhere}.welcome-completion-profile h2 strong{color:var(--pink);font-weight:600}.welcome-completion-profile p{margin:0;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-body);word-break:keep-all;overflow-wrap:anywhere}.welcome-completion-profile .welcome-completion-concerns{margin-top:6px;color:var(--text-muted)}.welcome-completion-preview{list-style:none;margin:0;padding:4px 18px;border:1px solid var(--border-subtle);border-radius:22px;background:var(--surface-base)}.welcome-completion-preview li{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 0;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;word-break:keep-all;overflow-wrap:anywhere}.welcome-completion-preview li+li{border-top:1px solid var(--border-subtle)}.welcome-completion-number{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:9px;background:var(--pink-light);color:var(--pink);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:600}.welcome-completion-footer{padding:20px 0}.welcome-completion-footer .action-button{height:56px;min-height:56px;border-radius:var(--quest-action-radius)}.welcome-completion.is-still *,.welcome-completion.is-still *:before,.welcome-completion.is-still *:after{animation:none!important;transition:none!important}@keyframes welcome-plan-ready{0%{opacity:0;transform:translateY(5px) scale(.9)}to{opacity:1;transform:none}}@media(min-height:900px){.welcome-completion-shell{padding-top:min(8dvh,80px)}}@media(max-height:700px),(max-width:359px){.welcome-completion-shell{padding:4px 20px 0}.welcome-completion-stage{flex-basis:clamp(100px,23dvh,160px)}.welcome-completion-guardian{max-width:180px}.welcome-completion-seal{right:calc(50% - 64px);bottom:8px;width:34px;height:34px;border-width:4px}.welcome-completion-seal svg{width:21px;height:21px}.welcome-completion-title{margin:4px 0 12px}.welcome-completion-profile{margin-bottom:12px}.welcome-completion-preview{padding-inline:14px}.welcome-completion-footer{padding:12px 0}}@media(prefers-reduced-motion:reduce){.welcome-completion *,.welcome-completion *:before,.welcome-completion *:after{animation:none!important;transition:none!important}}.welcome-arrival{position:fixed;z-index:200;pointer-events:none;opacity:0;transform-origin:top left;will-change:transform}.welcome-arrival.is-ready{opacity:1}.welcome-arrival .avatar-portrait-aura{display:none}.welcome-arrival.is-travelling{animation:guardian-welcome-flight .42s cubic-bezier(.22,.75,.25,1) both}.app[data-welcome-motion=true].is-welcome-arriving .avatar-character .guardian-figure{opacity:0}.app[data-welcome-motion=true].is-welcome-arriving :is(.home-quest,.app-header){animation:guardian-welcome-home .32s ease-out both}@keyframes guardian-welcome-flight{0%{transform:translate(0) scale(1)}to{transform:translate(var(--arrival-x),var(--arrival-y)) scale(var(--arrival-scale))}}@keyframes guardian-welcome-home{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.welcome-arrival{display:none;animation:none}.app[data-welcome-motion=true].is-welcome-arriving .avatar-character .guardian-figure{opacity:1}.app[data-welcome-motion=true].is-welcome-arriving :is(.home-quest,.app-header){animation:none}}.completion-control{display:grid;place-items:center;width:100%;min-width:var(--action-height);height:var(--action-height);min-height:var(--action-height);padding:12px 20px;border:0;border-radius:var(--quest-action-radius);color:var(--text-on-accent);background:var(--pink);box-shadow:inset 0 1px #ffffff2b;transition:background-color .1s,transform 90ms}.completion-control:hover{background:#ffd0e1}.completion-control:active:not(:disabled){transform:translateY(1px)}.completion-control:focus-visible{outline:2px solid var(--text-strong);outline-offset:3px}.quest-completion-content{display:inline-flex;align-items:center;justify-content:center;gap:8px;pointer-events:none}.quest-completion-content>svg{flex-shrink:0;width:1.375em;height:1.375em}.completion-control .quest-completion-label{color:var(--text-on-accent);font-family:inherit;font-size:var(--type-body);line-height:var(--leading-body);font-weight:600;letter-spacing:-.015em;pointer-events:none}@media(prefers-reduced-motion:reduce){.completion-control{transition:none}.completion-control:active:not(:disabled){transform:none}}.overlay:has(>.quest-guide-dialog){padding:0;align-items:stretch;background:var(--surface-page)}.modal.quest-guide-dialog{display:flex;flex-direction:column;width:100%;max-width:none;height:100dvh;max-height:none;overflow:hidden;padding:0;border-radius:0;background:var(--surface-page);scroll-padding:0}.quest-guide-dialog .modal-close{top:calc(10px + env(safe-area-inset-top));right:max(16px,calc((100vw - var(--reading-width)) / 2 + 16px));z-index:2;color:var(--text-strong)}.quest-guide-header{width:min(100%,var(--reading-width));margin:0 auto;min-height:calc(64px + env(safe-area-inset-top));padding:calc(16px + env(safe-area-inset-top)) 72px 16px 24px;flex-shrink:0;font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:500}.quest-guide-header>span{color:var(--text-muted)}.quest-guide-header h2{margin:6px 0 0;color:var(--text-strong);font-size:var(--type-title);line-height:var(--leading-title);font-weight:600;word-break:keep-all}.quest-guide-body{flex:1;min-height:0;overflow-y:clip;overscroll-behavior:contain;scrollbar-width:thin}.quest-guide-inner{width:min(100%,var(--reading-width));margin:0 auto;padding:0 24px 24px}.quest-guide-context{font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--pink);margin:0 0 12px}.quest-guide-dialog .quest-guide-inner>h2{font-size:var(--type-title);line-height:var(--leading-title);margin:0 0 12px;font-weight:600;word-break:keep-all}.quest-guide-intro{margin:0 0 30px}.quest-guide-dialog .care-instructions{margin:0}.quest-guide-settings{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:var(--action-height);padding:12px 0;color:var(--text-body);font-size:var(--type-detail)}.quest-guide-footer{width:min(100%,var(--reading-width));margin:0 auto;flex-shrink:0;padding:12px 24px calc(16px + env(safe-area-inset-bottom));background:var(--surface-page);border-top:1px solid var(--surface-raised)}.quest-guide-footer .primary{min-height:var(--action-height);gap:8px}@media(max-width:359px){.quest-guide-inner{padding:0 20px 24px}.quest-guide-footer{padding-left:20px;padding-right:20px}}.quest-guide-footer{display:flex;justify-content:center}.quest-guide-return{display:grid;place-items:center;min-height:var(--action-height);width:100%;border-radius:var(--quest-action-radius);border:1px solid var(--border-strong);background:transparent;color:var(--text-strong)}.beauty-gauge-hud{display:flex;align-items:center;gap:5px;width:190px;max-width:100%;min-width:0;flex:0 1 190px}.game-header .header-inner:has(.beauty-gauge-hud) .home-record-tools{position:relative;flex:0 0 46px}.game-header .header-inner:has(.beauty-gauge-hud) .developer-mode-label{position:absolute;top:calc(100% + 5px);left:0;z-index:2}.beauty-gauge-trigger{position:relative;display:block;min-width:0;min-height:48px;flex:1;padding:3px 9px 5px 3px;border:1px solid var(--border-strong);border-bottom-width:3px;border-radius:20px;background:linear-gradient(var(--surface-raised),var(--surface-base));color:var(--text-strong)}.beauty-wallet-hud{display:flex;align-items:center;gap:6px;font-size:var(--type-detail);line-height:var(--leading-detail)}.beauty-wallet-hud strong{display:flex;align-items:baseline;gap:2px;color:var(--pink);font-size:var(--type-body);font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.beauty-wallet-hud strong span{font-size:var(--type-detail)}.beauty-wallet-hud>span{margin-left:auto;white-space:nowrap}.beauty-wallet-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;width:min(calc(100% - 48px),calc(var(--reading-width) - 48px));margin:0 auto 12px;font-size:var(--type-detail);line-height:var(--leading-detail)}.beauty-wallet-balance strong{color:var(--pink);font-size:var(--type-section);line-height:var(--leading-section);font-variant-numeric:tabular-nums}.beauty-reward-shortfall{margin:0;text-align:center;color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail)}.beauty-gauge-meter{display:flex;align-items:center;gap:4px;min-width:0}.beauty-energy-art{width:35px;height:35px;object-fit:contain;flex-shrink:0}.beauty-meter-body{display:block;flex:1;min-width:0}.beauty-meter-value{display:flex;align-items:baseline;gap:4px;font-variant-numeric:tabular-nums;line-height:var(--leading-detail)}.beauty-meter-value strong{font-size:var(--type-body);font-weight:600;color:var(--pink)}.beauty-meter-value>span{font-size:var(--type-caption);color:var(--text-muted);white-space:nowrap}.beauty-meter-slots{display:flex;gap:3px;width:100%;height:9px;margin-top:3px;padding:1px}.beauty-meter-slots>span{position:relative;display:block;min-width:0;flex:1;border:1px solid var(--border-strong);border-radius:4px;background:var(--surface-page)}.beauty-meter-slots>.is-filled{border-color:color-mix(in srgb,var(--pink) 78%,var(--text-on-accent));background:var(--pink);box-shadow:inset 0 2px color-mix(in srgb,var(--text-strong) 35%,transparent)}.beauty-gauge-trigger:active{transform:translateY(2px)}.beauty-gauge-trigger:focus-visible,.beauty-dialog-close:focus-visible{outline:2px solid var(--pink);outline-offset:3px}.beauty-gauge-hud.is-gaining .beauty-gauge-trigger{border-color:var(--pink);box-shadow:0 0 15px color-mix(in srgb,var(--pink) 24%,transparent)}.beauty-gauge-hud.is-gaining .beauty-meter-slots>.is-filled{animation:beauty-slot-charge .45s ease-out}.beauty-gauge-gain{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:visible}.beauty-gauge-gain i{position:absolute;width:6px;height:6px;left:20%;bottom:5px;border-radius:50%;background:var(--pink);box-shadow:0 0 9px var(--pink);animation:beauty-light-collect .45s ease-out both}.beauty-gauge-gain i:nth-child(2){left:55%;width:4px;height:4px;animation-delay:35ms}.beauty-gauge-gain i:nth-child(3){left:80%;width:3px;height:3px;animation-delay:65ms}@keyframes beauty-light-collect{0%{transform:translateY(64px) scale(.4);opacity:0}22%{opacity:.85}75%{opacity:1}to{transform:translateY(-4px) scale(.6);opacity:0}}@keyframes beauty-slot-charge{0%{filter:brightness(1.5)}to{filter:brightness(1)}}.beauty-energy-flight{position:fixed;z-index:1000;top:0;left:0;width:26px;height:26px;pointer-events:none;animation:beauty-energy-flight .48s cubic-bezier(.24,.62,.4,1) both;will-change:transform}.beauty-energy-flight img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--pink) 35%,transparent))}@keyframes beauty-energy-flight{0%{transform:translate(calc(var(--flight-x) - 13px),calc(var(--flight-y) - 13px)) scale(.65);opacity:0}12%{opacity:1}55%{transform:translate(calc(var(--flight-x) - 13px + var(--flight-dx) * .55),calc(var(--flight-y) - 13px + var(--flight-dy) * .67)) scale(1);opacity:1}87%{opacity:1}to{transform:translate(calc(var(--flight-x) - 13px + var(--flight-dx)),calc(var(--flight-y) - 13px + var(--flight-dy))) scale(.45);opacity:0}}.beauty-gauge-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;color:var(--text-strong);background:var(--surface-page);overflow:hidden}.beauty-gauge-dialog[open]{display:flex;flex-direction:column}.beauty-gauge-dialog::backdrop{background:var(--surface-page)}.beauty-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,var(--reading-width));margin:0 auto;padding:calc(12px + env(safe-area-inset-top)) 20px 12px 24px;flex-shrink:0}.beauty-dialog-header h2{margin:0;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600}.beauty-dialog-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:var(--surface-raised);color:var(--text-strong)}.beauty-dialog-pages{display:flex;flex:1;min-height:0;width:min(100%,var(--reading-width));margin-inline:auto;overflow:clip}.beauty-dialog-content{width:min(100%,var(--reading-width));margin:0 auto;padding:8px 24px 0}.beauty-guardian-state{display:flex;align-items:center;gap:14px;margin-bottom:20px;padding:12px 0}.beauty-guardian-state>.beauty-guardian-portrait{flex:0 0 100px;width:100px;height:112px}.beauty-guardian-state>div{min-width:0}.beauty-guardian-state h3{margin:0;font-size:var(--type-section);line-height:var(--leading-section);font-weight:600;word-break:keep-all}.beauty-guardian-state p{margin:6px 0 0;color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail);word-break:keep-all}.beauty-gauge-summary{margin-bottom:20px;padding:20px;border:1px solid var(--border-strong);border-bottom-width:4px;border-radius:26px;background:var(--surface-base)}.beauty-gauge-summary.is-full{border-color:color-mix(in srgb,var(--pink) 24%,var(--surface-control))}.beauty-gauge-summary .beauty-gauge-meter{gap:12px}.beauty-gauge-summary .beauty-energy-art{width:58px;height:58px}.beauty-gauge-summary .beauty-meter-value{gap:7px;line-height:var(--leading-title)}.beauty-gauge-summary .beauty-meter-value strong{font-size:var(--type-title)}.beauty-gauge-summary .beauty-meter-value>span{font-size:var(--type-detail)}.beauty-gauge-summary .beauty-meter-slots{height:17px;gap:5px;margin-top:5px}.beauty-gauge-summary .beauty-meter-slots>span{border-radius:6px}.beauty-gauge-summary>p{margin:13px 0 0;color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail);text-align:center}.beauty-credit-total{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:var(--type-body);line-height:var(--leading-body)}.beauty-credit-total strong{color:var(--pink);font-size:var(--type-section);line-height:var(--leading-section)}.beauty-credit-total small{color:var(--text-body);font-size:var(--type-detail);font-weight:400}.beauty-credit-earned{margin:6px 0 0;color:var(--pink);font-size:var(--type-detail);line-height:var(--leading-detail)}.beauty-dialog-tabs{display:flex;gap:6px;flex-shrink:0;width:min(calc(100% - 48px),calc(var(--reading-width) - 48px));margin:0 auto 8px;padding:5px;border:1px solid var(--border-subtle);border-radius:19px;background:var(--surface-base)}.beauty-dialog-tabs>button{display:flex;align-items:center;justify-content:center;flex:1;flex-wrap:wrap;gap:6px;min-height:44px;padding:6px 9px;border-radius:14px;background:transparent;color:var(--text-muted);font-size:var(--type-body);line-height:var(--leading-body);font-weight:600}.beauty-dialog-tabs>button[aria-selected=true]{background:var(--pink-light);color:var(--pink);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pink) 25%,transparent)}.beauty-dialog-tabs button>span{color:inherit;font-size:var(--type-detail);line-height:var(--leading-detail);font-variant-numeric:tabular-nums}.beauty-dialog-tabs>button{min-width:0;padding-inline:4px;font-size:var(--type-detail);white-space:nowrap}.guardian-shop-thumbnail{display:block;width:72px;height:72px}.guardian-shop-hero .guardian-shop-concept{margin:0 0 4px;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-body)}.guardian-shop-row .beauty-inventory-slot{min-height:132px}.guardian-shop-row .beauty-slot-name{font-size:var(--type-detail)}@media(max-height:720px){.beauty-inventory-hero.guardian-shop-hero{min-height:110px;padding:8px 10px;margin-bottom:10px}.guardian-shop-hero .beauty-inventory-character{height:90px}.guardian-shop-thumbnail{width:44px;height:44px}.guardian-shop-row .beauty-inventory-slot{min-height:108px}}@media(min-width:360px)and (max-height:720px){.guardian-shop-row .beauty-inventory-slot{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:6px;row-gap:0;min-height:82px;padding:10px;text-align:left}.guardian-shop-row .guardian-shop-thumbnail{grid-row:1 / 3}.guardian-shop-row .beauty-slot-status{justify-content:flex-start}}.beauty-dialog-tabs button:focus-visible,.beauty-inventory-slot:focus-visible,.beauty-next-reward:focus-visible{outline:2px solid var(--pink);outline-offset:2px}.beauty-inventory-hero{position:relative;display:flex;align-items:center;gap:8px;min-height:174px;margin:0 0 14px;padding:12px;border:1px solid var(--border-strong);border-bottom-width:4px;border-radius:28px;background:radial-gradient(ellipse at 27% 80%,var(--pink-light),transparent 65%),var(--surface-base)}.beauty-inventory-character{position:relative;align-self:center;flex:1 1 50%;min-width:0;height:156px}.beauty-inventory-character:after{content:"";position:absolute;z-index:0;width:82%;height:12px;left:9%;bottom:-4px;border:1px solid color-mix(in srgb,var(--pink) 25%,transparent);border-bottom-width:3px;border-radius:50%;background:var(--pink-light)}.beauty-inventory-character .avatar-portrait{z-index:1}.beauty-inventory-copy{display:flex;align-items:center;flex-direction:column;flex:1 1 50%;min-width:0;text-align:center}.beauty-inventory-art{display:block;width:66px;height:66px;object-fit:contain;margin-bottom:5px;filter:drop-shadow(0 4px 7px color-mix(in srgb,var(--pink) 12%,transparent))}.beauty-inventory-copy h3{margin:0;color:var(--text-strong);font-size:var(--type-section);line-height:var(--leading-section);font-weight:600;overflow-wrap:anywhere}.beauty-inventory-state{display:flex;align-items:center;justify-content:center;gap:5px;margin:6px 0 0;color:var(--pink);font-size:var(--type-detail);line-height:var(--leading-detail)}.beauty-inventory-state svg{flex-shrink:0}.beauty-inventory-preview-label{display:block;margin-top:6px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.beauty-inventory-hero.is-newly-claimed{animation:beauty-reward-reveal .48s ease-out}@keyframes beauty-reward-reveal{0%{box-shadow:0 0 0 2px var(--pink),0 0 24px color-mix(in srgb,var(--pink) 30%,transparent)}to{box-shadow:0 0 0 0 transparent}}.beauty-claim-message{display:flex;align-items:center;gap:10px;padding:8px 12px;margin:0 0 12px;border-radius:16px;background:var(--pink-light);color:var(--pink);font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.beauty-claim-message img{flex-shrink:0;width:40px;height:40px;object-fit:contain}.beauty-collection-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;margin:0 0 8px}.beauty-collection-heading h3{margin:0;font-size:var(--type-section);line-height:var(--leading-section);font-weight:600}.beauty-next-reward{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:3px 10px 3px 5px;border:1px solid var(--border-strong);border-bottom-width:3px;border-radius:16px;color:var(--pink);background:var(--surface-raised);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:600}.beauty-next-reward img{width:31px;height:31px;object-fit:contain}.beauty-inventory-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 10px}.beauty-inventory-slot{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:118px;padding:7px 6px 9px;border:1px solid var(--border-strong);border-bottom-width:4px;border-radius:22px;background:linear-gradient(155deg,var(--surface-raised),var(--surface-base));color:var(--text-strong)}.beauty-inventory-slot.is-selected{border-color:var(--pink);background:linear-gradient(155deg,var(--pink-light),var(--surface-base));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pink) 25%,transparent)}.beauty-inventory-slot:active,.beauty-next-reward:active{transform:translateY(2px)}.beauty-slot-art{display:grid;place-items:center;width:58px;height:54px;border-radius:19px;background:radial-gradient(ellipse,var(--pink-light),transparent 70%)}.beauty-slot-art>img{width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 3px 4px color-mix(in srgb,var(--text-on-accent) 65%,transparent))}.beauty-slot-name{font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;overflow-wrap:anywhere}.beauty-slot-status{display:flex;align-items:center;justify-content:center;gap:4px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.beauty-inventory-slot.is-owned .beauty-slot-status{color:var(--pink)}.beauty-slot-status svg{flex-shrink:0}.beauty-inventory-rule{margin:8px 0 12px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail);word-break:keep-all}.beauty-plan-intro>h3{margin:0 0 8px;font-size:var(--type-section);line-height:var(--leading-section);font-weight:600}.beauty-plan-rule{margin:0 0 16px;color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail);word-break:keep-all}.beauty-plan-list{display:flex;flex-direction:column;gap:16px;list-style:none;padding:0;margin:0}.beauty-plan-unit{display:flex;align-items:flex-start;gap:12px;position:relative}.beauty-plan-unit:not(:last-child):before{content:"";position:absolute;top:43px;left:21px;bottom:-18px;border-left:2px dashed var(--border-strong)}.beauty-plan-node{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 44px;height:44px;border:1px solid var(--border-strong);border-bottom-width:3px;border-radius:16px;background:var(--surface-control);color:var(--text-muted);font-size:var(--type-body);font-weight:600}.beauty-plan-node img{width:36px;height:36px;object-fit:contain}.beauty-plan-unit.is-done .beauty-plan-node{background:var(--pink-light);border-color:color-mix(in srgb,var(--pink) 38%,var(--surface-control))}.beauty-plan-unit-content{flex:1;min-width:0;padding:12px 14px;border:1px solid var(--border-subtle);border-radius:18px;background:var(--surface-base)}.beauty-plan-unit.is-done .beauty-plan-unit-content{border-color:var(--pink-light)}.beauty-unit-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.beauty-unit-title h4{margin:0;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;word-break:keep-all;overflow-wrap:anywhere}.beauty-unit-title>span{flex-shrink:0;padding-top:2px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail);font-variant-numeric:tabular-nums}.beauty-member-status{display:block;margin-top:6px;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.beauty-member-status.is-success{color:var(--pink)}.beauty-member-list{margin:12px 0 0;padding:10px 0 0;list-style:none;border-top:1px solid var(--border-subtle)}.beauty-member-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:4px 0;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-body)}.beauty-member-list li>span:first-child{overflow-wrap:anywhere}.beauty-member-list .beauty-member-status{flex-shrink:0;margin:0}.beauty-gauge-rules{margin-top:24px;padding-top:18px;border-top:1px solid var(--border-subtle)}.beauty-gauge-rules p{margin:0 0 12px;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted);word-break:keep-all}.beauty-gauge-rules p:last-child{margin-bottom:0}.beauty-dialog-footer{display:flex;flex-direction:column;gap:10px;flex-shrink:0;width:min(100%,var(--reading-width));margin:0 auto;padding:12px 24px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--border-subtle);background:var(--surface-page)}.beauty-dialog-footer .action-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:var(--action-height);margin:0;font-size:var(--type-body);line-height:var(--leading-body);font-weight:600}.beauty-dialog-footer .action-button>img{width:34px;height:34px;object-fit:contain}.beauty-reward-error{margin:0;color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail);word-break:keep-all}@media(max-width:450px){.game-header .header-inner:has(.beauty-gauge-hud){padding-inline:12px;gap:4px}.game-header .header-inner:has(.beauty-gauge-hud) .home-record-tools{flex-basis:44px}.game-header .header-inner:has(.beauty-gauge-hud) .game-tool{width:44px;flex-shrink:0}.game-header .header-inner:has(.beauty-gauge-hud) .game-tools{gap:4px}}@media(max-width:359px){.beauty-gauge-hud{gap:3px}.beauty-gauge-trigger{padding-right:6px;border-radius:17px}.beauty-gauge-hud .beauty-energy-art{width:27px;height:31px}.beauty-gauge-hud .beauty-meter-value{gap:2px}.beauty-gauge-hud .beauty-meter-value>span{display:none}.beauty-gauge-hud .beauty-meter-slots{gap:2px}.beauty-dialog-header{padding-left:20px;padding-right:16px}.beauty-dialog-content,.beauty-dialog-footer{padding-left:20px;padding-right:20px}.beauty-dialog-tabs{width:calc(100% - 40px)}.beauty-inventory-character{height:166px}.beauty-inventory-art{width:44px;height:44px}.beauty-slot-art,.beauty-slot-art>img{width:48px;height:48px}.beauty-inventory-hero{min-height:186px;gap:4px;padding:10px 8px}.beauty-plan-unit{gap:9px}.beauty-plan-unit-content{padding:12px}.beauty-member-list li{flex-direction:column;gap:2px}}@media(prefers-reduced-motion:reduce){.beauty-gauge-gain,.beauty-energy-flight{display:none}.beauty-gauge-hud.is-gaining .beauty-meter-slots>.is-filled,.beauty-inventory-hero.is-newly-claimed{animation:none}.beauty-gauge-trigger:active,.beauty-inventory-slot:active,.beauty-next-reward:active{transform:none}.beauty-inventory-hero.is-newly-claimed{border-color:var(--pink)}}.recurrence-picker{margin:24px 0}.recurrence-picker h2{margin:0 0 12px;font-size:var(--type-body);line-height:var(--leading-body);font-weight:600}.recurrence-picker h3{margin:20px 0 10px;font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:500}.recurrence-frequency{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.recurrence-frequency button{min-height:56px;padding:10px 6px;border:1px solid var(--border-strong);border-radius:14px;background:var(--surface-raised);font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.recurrence-frequency button[aria-pressed=true]{border-color:var(--pink);background:var(--pink-light);color:var(--pink);font-weight:600}.recurrence-weekdays{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));gap:2px}.recurrence-weekdays button{min-height:48px;min-width:44px;border-radius:12px;border:1px solid var(--border-strong);background:var(--surface-raised);font-size:var(--type-detail);line-height:var(--leading-detail)}.recurrence-weekdays button[aria-pressed=true]{background:var(--pink);border-color:var(--pink);color:var(--text-on-accent);font-weight:600}.recurrence-monthly .page-select-trigger,.recurrence-quarter .page-select-trigger{width:100%;min-height:56px;font-size:var(--type-body);line-height:var(--leading-body)}.recurrence-limit{margin:10px 0 0;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.recurrence-filter{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 12px}.recurrence-filter button{min-width:44px;min-height:44px;padding:8px 12px;border-radius:12px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.recurrence-filter button[aria-pressed=true]{color:var(--pink);background:var(--pink-light);font-weight:500}.recurrence-picker button:focus-visible,.recurrence-filter button:focus-visible{outline:2px solid var(--pink);outline-offset:2px}@media(max-width:367px){.recurrence-weekdays{grid-template-columns:repeat(4,minmax(44px,1fr))}}@media(max-width:359px){.recurrence-frequency{grid-template-columns:repeat(2,minmax(0,1fr))}.recurrence-filter button{padding-inline:9px}}.app>.content.today-quests{display:flex;flex:1;min-height:0;width:min(100%,650px);max-width:650px;margin:0 auto;padding:0;overflow:hidden}.today-quests-page{display:flex;flex-direction:column;width:100%;min-height:0}.today-quests-dialog .today-quests-page{flex:1;width:min(100%,650px);align-self:center;padding-top:calc(64px + env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom)}.today-quests-dialog .today-quests-header{padding-bottom:20px}.today-quest-row.today-pick-row{padding:0}.today-pick-action{display:flex;align-items:center;gap:12px;width:100%;min-height:72px;padding:18px 14px;text-align:left;color:var(--text-strong);border-radius:inherit}.task-illustration{display:flex;align-items:center;justify-content:center;flex:0 0 96px;width:96px;height:104px}.task-illustration img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:14px}.today-pick-action .today-quest-copy{word-break:keep-all}.today-pick-time{display:block;margin-top:6px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.today-pick-cta{display:flex;align-items:center;gap:4px;flex-shrink:0;color:var(--pink);font-size:var(--type-detail);font-weight:600}.today-pick-action:disabled{opacity:1;cursor:default}.today-pick-action:disabled .today-pick-cta{color:var(--text-muted);font-weight:400}.today-pick-action:focus-visible{outline:2px solid var(--pink);outline-offset:2px}.today-pick-action:enabled:hover{background:var(--pink-light)}@media(max-width:479px){.today-pick-action{display:grid;grid-template-columns:96px minmax(0,1fr);column-gap:14px;row-gap:6px;padding:14px}.today-pick-action .task-illustration{grid-row:1 / 3}.today-pick-cta{grid-column:2;justify-self:end}}.today-quests-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:12px;padding:4px 24px 8px}.today-quests-header h1{margin:0;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600}.today-manage{min-height:44px;padding:8px 0 8px 12px;color:var(--pink);font-size:var(--type-detail);white-space:nowrap}.today-quests-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--surface-control) transparent}.today-quests-content{padding:0 24px 24px}.today-quests-date{margin:0 0 12px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.today-summary{margin-bottom:12px}.today-summary-counts{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0}.today-summary-counts strong{font-size:var(--type-body);font-weight:500}.today-summary-counts span{color:var(--text-muted);font-size:var(--type-detail)}.today-category-filters{display:flex;gap:4px;padding:4px;border-radius:14px;background:var(--surface-base)}.today-category-filters button{flex:1;min-width:0;min-height:44px;padding:6px;border-radius:10px;font-size:var(--type-detail);color:var(--text-muted)}.today-category-filters button[aria-pressed=true]{color:var(--text-strong);background:var(--surface-control);font-weight:500}.today-filters{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 16px}.today-filters button{min-height:44px;padding:8px 12px;border-radius:22px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.today-filters button[aria-pressed=true]{color:var(--pink);background:var(--pink-light);font-weight:500}.today-quest-section+.today-quest-section{margin-top:24px}.today-quest-section h2{display:flex;gap:8px;align-items:baseline;margin:0 0 10px;font-size:var(--type-body);line-height:var(--leading-body);font-weight:600}.today-quest-section h2 span{color:var(--text-muted);font-size:var(--type-detail);font-weight:400}.today-task-list{display:flex;flex-direction:column;gap:8px;list-style:none;margin:0;padding:0}.today-quest-row{min-width:0;padding:10px 12px 6px;border:1px solid var(--border-subtle);border-radius:18px;background:var(--surface-base)}.today-quest-row.is-current{border-color:color-mix(in srgb,var(--pink) 30%,var(--surface-base))}.today-quest-main{display:flex;align-items:center;gap:10px}.today-quest-copy{flex:1;min-width:0}.today-quest-copy strong{display:block;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;overflow-wrap:anywhere}.today-quest-copy p{margin:3px 0 0;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.today-settings{flex:0 0 44px;width:44px;height:44px}.today-quest-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding-left:106px}.today-quest-actions>button{margin-left:auto}.today-state{font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.is-current .today-state,.is-success .today-state{color:var(--pink)}.today-resume,.today-undo{display:flex;gap:6px;align-items:center;justify-content:center;min-width:68px;min-height:44px;padding:8px 10px;font-size:var(--type-detail);line-height:var(--leading-detail);border-radius:12px}.today-resume{color:var(--pink);background:var(--pink-light)}.today-undo{color:var(--text-muted)}.today-empty{padding:24px 0;color:var(--text-muted);font-size:var(--type-body)}.today-empty button{min-height:44px;color:var(--pink)}.today-gauge-details{margin-top:24px;border-top:1px solid var(--border-subtle)}.today-gauge-details summary{min-height:44px;padding:14px 0;font-size:var(--type-detail);cursor:pointer}.today-beauty-gauge{padding:8px 0 16px;font-size:var(--type-detail);color:var(--text-muted)}.today-energy-state{margin:12px 0 0}.home-today-label{font-size:var(--type-detail);line-height:1.2;color:var(--text-body);white-space:nowrap}.home-record-tools .developer-mode-target{display:flex;flex-direction:column;justify-content:center;width:44px;min-width:44px;min-height:48px;gap:0;padding:0}.app:has(>.content.today-quests)>.care-nav{margin-top:20px}@media(max-width:359px){.today-quests-header,.today-quests-content{padding-inline:16px}.today-filters{gap:2px}.today-filters button{padding-inline:9px}}@media(max-width:359px){.today-pick-action{column-gap:12px;padding:14px 10px}.today-quest-actions{padding-left:0}}.app>.content.calendar{display:flex;flex:1;min-height:0;width:min(100%,650px);max-width:650px;margin:0 auto;padding:0;overflow:hidden}.quest-calendar{display:flex;flex-direction:column;width:100%;min-height:0}.quest-calendar,.calendar-agenda-sheet{--calendar-daily:#f6b8d0;--calendar-weekly:#c7b8f5;--calendar-monthly:#98dac4;--calendar-quarterly:#efce91;--calendar-recorded:#b0b8c1}.quest-calendar [data-frequency=daily],.calendar-agenda-sheet [data-frequency=daily]{--cadence-color:var(--calendar-daily)}.quest-calendar [data-frequency=weekly],.calendar-agenda-sheet [data-frequency=weekly]{--cadence-color:var(--calendar-weekly)}.quest-calendar [data-frequency=monthly],.calendar-agenda-sheet [data-frequency=monthly]{--cadence-color:var(--calendar-monthly)}.quest-calendar [data-frequency=quarterly],.calendar-agenda-sheet [data-frequency=quarterly]{--cadence-color:var(--calendar-quarterly)}.quest-calendar [data-frequency=recorded],.calendar-agenda-sheet [data-frequency=recorded]{--cadence-color:var(--calendar-recorded)}.calendar-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:12px;padding:0 24px 12px}.calendar-header h1{margin:0;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600}.calendar-header h1:focus{outline:none}.calendar-today{min-width:56px;min-height:44px;padding:8px 12px;border-radius:14px;color:var(--pink);background:var(--pink-light);font-size:var(--type-detail);font-weight:600}.calendar-overview.paged-viewport--fit{flex:1;height:auto}.calendar-content{padding:0 24px 4px}.calendar-overview>.paged-pinned-actions{padding:8px 0 0}.calendar-sheet-peek{display:block;width:100%;min-height:68px;padding:10px 24px 14px;border:1px solid var(--border-strong);border-bottom:0;border-radius:24px 24px 0 0;background:var(--surface-raised);color:var(--text-strong);text-align:left;box-shadow:0 -8px 24px #0002;touch-action:none;transition:transform .16s ease-out}.calendar-sheet-peek .calendar-sheet-handle{margin-bottom:8px}.calendar-peek-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.calendar-peek-heading>span{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;min-width:0}.calendar-peek-heading strong{display:block;font-size:var(--type-body);line-height:var(--leading-body);font-weight:600;word-break:keep-all;overflow-wrap:anywhere}.calendar-peek-heading>span>span{display:block;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted);white-space:nowrap}.calendar-peek-heading svg{flex-shrink:0;color:var(--text-muted)}.calendar-sheet-peek[data-dragging=true],.calendar-agenda-sheet[data-dragging=true]{transition:none;animation:none}.calendar-modes{display:flex;gap:4px;padding:4px;border-radius:16px;background:var(--surface-base)}.calendar-modes button{flex:1;min-width:0;min-height:44px;padding:6px 12px;color:var(--text-muted);border-radius:10px;font-size:var(--type-body)}.calendar-modes button[aria-checked=true]{color:var(--text-strong);background:var(--surface-control);font-weight:600}.calendar-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin:8px 0}.calendar-navigation>button{width:44px;height:44px}.calendar-period{position:relative;display:flex;min-width:0;min-height:44px;align-items:center;justify-content:center;border-radius:10px;cursor:pointer}.calendar-period>span{display:flex;align-items:center;justify-content:center;gap:5px;text-align:center;font-size:var(--type-body);line-height:var(--leading-body);font-weight:600}.calendar-period svg{flex-shrink:0;color:var(--text-muted)}.calendar-period input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;color-scheme:dark}.calendar-period:focus-within{outline:2px solid var(--pink);outline-offset:2px}.calendar-weekdays,.calendar-dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-weekdays{margin:0 0 6px}.calendar-dates{row-gap:4px}.calendar-weekdays span{padding:2px 0;text-align:center;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.calendar-date{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:44px;min-height:46px;padding:2px 0;border:1px solid transparent;border-radius:14px;color:var(--text-strong)}.calendar-date:hover{background:var(--surface-base)}.calendar-date.is-outside .calendar-day-number{color:var(--text-muted)}.calendar-date[aria-current=date] .calendar-day-number{color:var(--pink);font-weight:600;text-decoration:underline;text-underline-offset:4px}.calendar-date[aria-pressed=true]{border-color:var(--pink);background:var(--pink-light)}.calendar-day-number{font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.calendar-day-detail{display:flex;align-items:center;justify-content:center;gap:2px 3px;flex-wrap:wrap;min-height:1em;font-size:var(--type-detail);line-height:1}.calendar-day-markers{display:flex;justify-content:center;align-items:center;gap:2px;height:5px}.calendar-day-markers i{width:5px;height:5px;border-radius:50%;background:var(--cadence-color)}.calendar-day-count{min-height:1em;color:var(--text-muted);font-size:var(--type-detail);line-height:1;font-variant-numeric:tabular-nums}.calendar-cadences{display:flex;flex-wrap:wrap;gap:4px;padding:8px 0;border-bottom:1px solid var(--border-subtle)}.calendar-grid+.calendar-cadences{margin-top:8px}.calendar-cadences button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 11px;border-radius:12px;border:1px solid transparent;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.calendar-cadences button[aria-pressed=true]{color:var(--text-strong);border-color:var(--border-subtle);background:var(--surface-control);font-weight:600}.calendar-cadences i{flex-shrink:0;width:7px;height:7px;background:var(--cadence-color);border-radius:50%}.calendar-agenda{padding:16px 0 8px}.calendar-context{margin:0 0 12px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.calendar-task-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.calendar-task{border:1px solid var(--border-subtle);border-left:3px solid var(--cadence-color);border-radius:18px;background:var(--surface-base);padding:12px 12px 8px;min-width:0}.calendar-task-main{display:flex;align-items:flex-start;gap:4px}.calendar-task-reading{display:flex;align-items:flex-start;flex:1;min-width:0;gap:12px;padding:8px 2px;text-align:left;color:var(--text-strong);border-radius:8px}.calendar-task-time{flex:0 0 3.2rem;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-body);font-variant-numeric:tabular-nums}.calendar-task-copy{min-width:0;flex:1}.calendar-task-copy strong{display:block;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;word-break:keep-all;overflow-wrap:anywhere}.calendar-task-cadence{display:block;margin-top:4px;color:var(--cadence-color);font-size:var(--type-detail);line-height:var(--leading-detail)}.calendar-task-settings{flex:0 0 44px;width:44px;height:44px;color:var(--text-muted)}.calendar-task-footer{display:flex;align-items:center;justify-content:space-between;gap:4px 8px;flex-wrap:wrap;min-height:44px;padding-left:calc(3.2rem + 14px)}.calendar-task[data-source=record] .calendar-task-footer{min-height:0;padding:4px 2px}.calendar-task-state{display:flex;align-items:center;gap:4px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.calendar-task[data-status=completed] .calendar-task-state{color:var(--text-strong)}.calendar-home-action{display:flex;align-items:center;justify-content:center;gap:4px;margin-left:auto;min-height:44px;border-radius:10px;padding:6px;color:var(--pink);font-size:var(--type-detail);line-height:var(--leading-detail)}.calendar-empty{padding:12px 0 28px;color:var(--text-muted);font-size:var(--type-body);line-height:var(--leading-body)}.calendar-empty p{margin:0 0 10px}.calendar-empty button{min-height:44px;color:var(--pink)}.quest-calendar button:focus-visible,.calendar-agenda-sheet button:focus-visible{outline:2px solid var(--pink);outline-offset:2px}.quest-calendar .calendar-sheet-peek:focus-visible{outline-offset:-4px}.quest-calendar button:active,.calendar-agenda-sheet button:active{filter:brightness(.88)}.app:has(>.content.calendar)>.care-nav{margin-top:32px}.today-header-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}.today-header-actions .today-manage{padding-inline:0}.today-quests-header:has(.today-header-actions){flex-wrap:wrap}@media(min-height:800px){.calendar-date{min-height:50px}}@media(min-height:950px){.calendar-date{min-height:60px}}@media(max-height:949px){.calendar-grid[data-weeks="6"] .calendar-date{min-height:46px;padding-block:1px}}@media(max-width:479px){.calendar-date{border-radius:12px}.calendar-cadences{gap:2px}.calendar-cadences button{padding-inline:8px}}@media(max-width:359px){.calendar-header,.calendar-content,.calendar-sheet-peek{padding-inline:16px}.calendar-grid{margin-inline:-10px}.calendar-cadences{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.calendar-cadences button{padding-inline:4px}.calendar-task-reading{flex-direction:column;gap:2px}.calendar-task-time{flex-basis:auto}.calendar-task-footer{padding-left:2px}}.calendar-day-summary{padding:24px 0}.calendar-day-summary h2{margin:0 0 8px;font-size:var(--type-section);line-height:var(--leading-section);font-weight:600}.calendar-day-summary p{margin:0;font-size:var(--type-body);color:var(--text-muted)}.calendar-agenda-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,650px);max-width:none;max-height:min(calc(var(--app-height,100dvh) * .82),760px);padding:0;border:1px solid var(--border-strong);border-bottom:0;border-radius:28px 28px 0 0;background:var(--surface-raised);color:var(--text-strong);overflow:clip;transition:transform .16s ease-out}.calendar-agenda-sheet[open],.calendar-agenda-sheet[data-suspended=true]{display:flex;flex-direction:column}.calendar-agenda-sheet[data-suspended=true]{visibility:hidden;pointer-events:none}.calendar-agenda-sheet[open]{animation:calendar-sheet-enter .16s ease-out}.calendar-agenda-sheet::backdrop{background:#0009}.calendar-sheet-header{flex-shrink:0;padding:12px 24px;touch-action:none}.calendar-sheet-handle{display:block;margin:0 auto 16px;width:32px;height:4px;background:var(--border-strong);border-radius:4px}.calendar-sheet-header>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.calendar-sheet-header h2{margin:0;font-size:var(--type-section);line-height:var(--leading-section);font-weight:600;word-break:keep-all;overflow-wrap:anywhere}.calendar-sheet-header h2:focus{outline:none}.calendar-sheet-header h2 span{display:block;margin-top:4px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:400}.calendar-sheet-header button{flex:0 0 44px;width:44px;height:44px}.calendar-sheet-pages{min-height:0;padding-bottom:env(safe-area-inset-bottom)}.calendar-sheet-pages>.paged-stage>.paged-window>.paged-content{padding:0 24px 12px}.calendar-sheet-pages>.page-turner{flex-basis:72px;min-height:72px;padding:14px 24px;border-top:1px solid var(--border-subtle);background:var(--surface-raised)}@keyframes calendar-sheet-enter{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@media(max-height:620px){.calendar-agenda-sheet{max-height:calc(var(--app-height,100dvh) - 24px - env(safe-area-inset-top))}}@media(max-width:359px){.calendar-sheet-header{padding-inline:16px}.calendar-sheet-pages>.paged-stage>.paged-window>.paged-content{padding-inline:16px}}@media(prefers-reduced-motion:reduce){.calendar-agenda-sheet[open]{animation:none}.calendar-agenda-sheet,.calendar-sheet-peek{transition:none}}.routine-plan-page{display:flex;flex:1;flex-direction:column;width:100%;min-width:0;min-height:0}.routine-plan-header{flex-shrink:0;padding:8px 24px 18px}.routine-plan-header h1{margin:0;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600}.routine-plan-header h1:focus{outline:none}.routine-plan-header p{margin:6px 0 0;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.routine-plan-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--surface-control) transparent}.routine-plan-content{padding:0 24px 20px}.routine-plan-timeline{list-style:none;margin:0;padding:0}.routine-plan-row{position:relative;display:grid;grid-template-columns:4.25rem minmax(0,1fr);column-gap:18px;min-width:0}.routine-plan-time{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding-top:2px;color:var(--pink);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:600}.routine-plan-time:after{position:absolute;content:"";width:1px;top:20px;bottom:0;right:4px;background:var(--border-strong)}.routine-plan-row:last-child .routine-plan-time:after{display:none}.routine-plan-time time{white-space:nowrap;font-variant-numeric:tabular-nums}.routine-plan-time>span{z-index:1;flex:0 0 9px;height:9px;margin-top:6px;border:2px solid var(--pink);border-radius:50%;background:var(--surface-page)}.routine-plan-task{min-width:0;padding:0 0 22px}.routine-plan-task h2{margin:0;color:var(--text-strong);font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;overflow-wrap:anywhere}.routine-plan-recurrence{margin:4px 0 0;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.routine-plan-row-actions{display:flex;gap:8px;margin-top:8px}.routine-plan-row-actions button{min-height:44px;min-width:64px;padding:10px 16px;border-radius:12px;background:var(--surface-base);color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:500}.routine-plan-row-actions button:first-child{color:var(--pink)}.routine-plan-intro,.routine-plan-empty{margin:0 0 24px;color:var(--text-body);font-size:var(--type-body);line-height:var(--leading-body);overflow-wrap:anywhere}.routine-plan-note{margin:14px 0 0;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail);overflow-wrap:anywhere}.routine-code-label{display:block;margin:0 0 10px;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.routine-code{display:block;width:100%;min-height:9rem;height:12rem;max-height:16rem;resize:vertical;padding:16px;border:1px solid var(--border-subtle);border-radius:16px;background:var(--surface-base);color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail);overflow-wrap:anywhere;word-break:break-all;white-space:pre-wrap}.routine-code:focus-visible{outline:3px solid var(--pink);outline-offset:3px}.routine-code-input{word-break:normal}.routine-code::placeholder{color:var(--text-muted)}.routine-share-link-field,.routine-share-legacy-code{margin-top:24px}.routine-share-title-field{margin-bottom:24px}.routine-share-title-input{display:block;width:100%;min-height:56px;padding:14px 16px;border:1px solid var(--border-subtle);border-radius:16px;background:var(--surface-base);color:var(--text-strong);font-size:var(--type-body);line-height:var(--leading-body)}.routine-share-title-input:focus-visible{outline:3px solid var(--pink);outline-offset:3px}.routine-share-title-input::placeholder{color:var(--text-muted)}.routine-share-fallbacks{margin-top:24px;border-top:1px solid var(--border-subtle)}.routine-share-fallbacks>summary{min-height:44px;padding:14px 0;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail);cursor:pointer}.routine-share-fallbacks>summary:focus-visible{outline:3px solid var(--pink);outline-offset:3px;border-radius:6px}.routine-share-link-field .routine-link{min-height:5rem;height:5rem}.routine-share-link-field .action-button,.routine-share-legacy-code .action-button{margin-top:12px;width:100%}.routine-public-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:14px 18px;border-radius:var(--quest-action-radius);background:var(--surface-control);color:var(--pink);font-size:var(--type-body);line-height:var(--leading-body);font-weight:600;text-decoration:none}.routine-public-link:focus-visible{outline:3px solid var(--pink);outline-offset:3px}.routine-public-preview{margin-top:24px}.routine-public-preview>h2{margin:0 0 20px;font-size:var(--type-section);line-height:var(--leading-section);font-weight:600}.routine-import-supplements{min-width:0;margin:0 0 24px;padding:16px;border:1px solid var(--border-subtle);border-radius:16px}.routine-import-supplements legend{max-width:100%;padding:0 4px;color:var(--text-strong);font-size:var(--type-body);line-height:var(--leading-body);font-weight:600}.routine-import-supplements>p{margin:0 0 12px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.routine-supplement-choice{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:10px 0;cursor:pointer}.routine-supplement-choice input{flex:0 0 20px;width:20px;height:20px;margin:3px 0 0;accent-color:var(--pink)}.routine-supplement-choice span{min-width:0}.routine-supplement-choice strong{display:block;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;overflow-wrap:anywhere}.routine-supplement-choice small{display:block;margin-top:3px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.routine-import-supplements>.routine-supplement-omitted{margin:12px 0 0}.routine-plan-footer{flex-shrink:0;padding:12px 24px;border-top:1px solid var(--border-subtle);background:var(--surface-page)}.routine-plan-footer-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px}.routine-plan-footer-actions>.action-button{flex:1 1 8rem;min-width:0;min-height:56px;height:auto;margin:0;padding:14px 12px;border-radius:var(--quest-action-radius);font-size:var(--type-body);line-height:var(--leading-body);font-weight:600;overflow-wrap:anywhere}.routine-plan-footer-actions>.soft-button{background:var(--surface-control);color:var(--text-strong)}.routine-plan-error,.routine-plan-notice{margin:0 0 12px;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--pink);overflow-wrap:anywhere}.routine-plan-undo{display:flex;align-items:center;gap:10px;margin-top:6px}.routine-plan-undo p{flex:1;min-width:0;margin:0;color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail);overflow-wrap:anywhere}.routine-plan-undo button{min-height:44px;padding:8px 10px;border-radius:12px;color:var(--pink);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:600}@media(max-width:359px){.routine-plan-header,.routine-plan-content,.routine-plan-footer{padding-inline:16px}.routine-plan-row{column-gap:12px}}.shared-routine-page{display:flex;flex-direction:column;width:min(100%,650px);height:var(--app-height,100dvh);min-width:0;min-height:0;margin:auto;background:var(--surface-page)}.shared-routine-toolbar{flex-shrink:0;padding:calc(8px + env(safe-area-inset-top)) 20px 2px}.shared-routine-back{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:0;border-radius:50%;color:var(--text-strong)}.shared-routine-scroll{flex:1;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--surface-control) transparent}.shared-routine-content{padding:12px 24px 28px}.shared-routine-hero{display:flex;align-items:center;gap:16px;margin:0 0 28px}.shared-routine-heading{flex:1;min-width:0}.shared-routine-heading h1{margin:0;color:var(--text-strong);font-size:var(--type-title);line-height:var(--leading-title);font-weight:600;overflow-wrap:anywhere}.shared-routine-heading h1:focus{outline:none}.shared-routine-heading p{margin:8px 0 0;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.shared-routine-guardian{display:block;flex:0 0 96px;width:96px;height:96px;object-fit:contain}.shared-routine-setup-note{margin:0 0 24px;color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail);overflow-wrap:anywhere}.shared-routine-timeline{margin:0;padding:24px 20px 0;border:1px solid var(--border-subtle);border-radius:24px;background:var(--surface-base);list-style:none}.shared-routine-row{display:grid;grid-template-columns:3.75rem minmax(0,1fr);column-gap:20px;min-width:0}.shared-routine-time{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding-top:1px;color:var(--pink);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:600}.shared-routine-time:after{position:absolute;content:"";width:1px;top:calc((var(--leading-detail) + 9px) / 2);right:4px;bottom:0;background:var(--border-strong)}.shared-routine-row:last-child .shared-routine-time:after{display:none}.shared-routine-time time{white-space:nowrap;font-variant-numeric:tabular-nums}.shared-routine-dot{position:relative;z-index:1;flex:0 0 9px;height:9px;margin-top:calc((var(--leading-detail) - 9px) / 2);border:2px solid var(--pink);border-radius:50%;background:var(--surface-base)}.shared-routine-task{min-width:0;padding-bottom:26px}.shared-routine-task h2{margin:0;color:var(--text-strong);font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;word-break:keep-all;overflow-wrap:anywhere}.shared-routine-task p{margin:5px 0 0;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail);word-break:keep-all;overflow-wrap:anywhere}.shared-routine-message{padding:24px 20px;border-radius:20px;background:var(--surface-base)}.shared-routine-message p{margin:0;color:var(--text-body);font-size:var(--type-body);line-height:var(--leading-body);overflow-wrap:anywhere}.shared-routine-footer{flex-shrink:0;padding:12px 24px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--border-subtle);background:var(--surface-page)}.shared-routine-footer>.action-button{min-height:56px;height:auto;margin:0;padding:14px 16px;border-radius:var(--quest-action-radius);font-size:var(--type-body);line-height:var(--leading-body);overflow-wrap:anywhere}.shared-routine-back:focus-visible{outline:3px solid var(--pink);outline-offset:3px}@media(max-width:359px){.shared-routine-toolbar{padding-inline:12px}.shared-routine-content,.shared-routine-footer{padding-inline:16px}.shared-routine-hero{gap:12px}.shared-routine-guardian{flex-basis:80px;width:80px;height:80px}.shared-routine-timeline{padding-inline:14px}.shared-routine-row{column-gap:14px}}.content:has(.care-settings-page){display:block;max-width:620px;margin:0 auto;padding:28px 24px 130px}.care-settings-page h1{margin:0 0 32px;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600;letter-spacing:-.02em}.care-settings-group{margin-bottom:24px;padding:8px 22px;border-radius:24px;background:var(--surface-raised)}.care-setting-row,.care-interest-row{display:flex;align-items:center;gap:18px;width:100%;min-height:94px;text-align:left}.care-settings-inline .care-settings-group{padding:2px 20px;margin-bottom:16px;border-radius:22px}.care-settings-inline .care-setting-row{min-height:88px;gap:16px}.care-settings-inline .care-interest-row{min-height:76px;padding:16px 0}.care-settings-inline .care-setting-row strong,.care-settings-inline .care-interest-row strong{font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.care-settings-inline small{font-size:var(--type-detail);line-height:var(--leading-detail);margin-top:6px}.care-setting-row>span,.care-interest-row>span{flex:1;min-width:0}.care-setting-row strong,.care-interest-row strong{display:block;font-size:var(--type-body);font-weight:500;line-height:var(--leading-body)}.care-setting-row small,.care-interest-row small{display:block;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted);margin-top:4px}.care-interest-row{border-top:1px solid #34343c;padding:18px 0}.content:has(.care-management){display:block;width:100%;max-width:620px;margin:0 auto;padding:28px 24px 144px}.care-management>h1{margin:8px 0 32px;font-size:var(--type-title);line-height:var(--leading-title);letter-spacing:-.02em;font-weight:600}.daily-filters{display:flex;gap:10px;margin:0 0 32px;flex-wrap:wrap}.daily-filters button{min-height:46px;padding:0 20px;border-radius:24px;font-size:var(--type-detail);background:var(--surface-raised);color:var(--text-muted);line-height:var(--leading-detail)}.daily-filters button[aria-pressed=true]{color:var(--text-on-accent);background:var(--pink)}.managed-quests-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:36px 0 12px}.managed-quests-heading h2{margin:0;font-size:var(--type-body);font-weight:600;line-height:var(--leading-body);letter-spacing:-.01em}.managed-add{min-height:var(--touch-target);display:flex;align-items:center;gap:5px;font-size:var(--type-detail);color:var(--pink);padding:0 6px;line-height:var(--leading-detail)}.managed-quest-list{list-style:none;margin:0;padding:0}.managed-quest{display:flex;align-items:center;gap:20px;min-height:88px;padding:14px 0;border-bottom:1px solid var(--surface-control)}.managed-quest .daily-task{display:flex;align-items:center;gap:12px;flex:1;min-width:0;min-height:var(--action-height);text-align:left}.managed-quest .daily-task strong{flex:1;min-width:0;font-size:var(--type-body);font-weight:500;line-height:var(--leading-body);word-break:keep-all;overflow-wrap:anywhere}.managed-quest .daily-task>svg{flex-shrink:0;color:#79828d}.managed-quest-copy{display:flex;flex-direction:column;align-items:flex-start;gap:6px;flex:1;min-width:0}.managed-quest-schedule{font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.managed-quest-next{font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--pink)}.managed-quest.is-off .daily-task{color:#8d969f}.managed-quest .quest-switch{flex-shrink:0}.management-empty{display:flex;flex-direction:column;align-items:center;gap:20px;padding:36px 0}.management-empty p{margin:0;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail)}.funnel-essential{color:var(--text-muted);font-size:16px;line-height:1.6;margin:0 0 24px}@media(max-width:359px){.content:has(.care-management){padding:24px 20px 136px}.managed-quest{gap:14px}.managed-quest .daily-task strong{font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}}.overlay:has(>.concern-collection-dialog){padding:0;align-items:stretch;background:var(--surface-page)}.modal.concern-collection-dialog{display:flex;flex-direction:column;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;overflow:hidden;border:0;border-radius:0;padding:0;background:var(--surface-page)}.concern-collection-dialog .modal-close{top:calc(12px + env(safe-area-inset-top));right:max(16px,calc((100vw - var(--reading-width)) / 2 + 16px))}.concern-collection-header{width:min(100%,var(--reading-width));margin:0 auto;padding:calc(24px + env(safe-area-inset-top)) 72px 12px 24px}.concern-collection-header h2{margin:0;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600}.concern-collection-header p{margin:8px 0 0;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.concern-collection-tabs{display:grid;grid-template-columns:repeat(3,1fr);width:min(100%,var(--reading-width));margin:0 auto;padding:0 20px 12px;gap:6px}.concern-collection-tabs button{min-height:48px;padding:8px 4px;border:1px solid var(--border-subtle);border-radius:14px;font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:500;word-break:keep-all}.concern-collection-tabs button[aria-pressed=true]{color:var(--pink);background:var(--surface-raised);border-color:var(--pink)}.concern-collection-pages{flex:1;min-height:0}.concern-collection-body,.concern-collection-guide{max-width:var(--reading-width);margin:0 auto;padding:0 20px 12px}.concern-section-condition{margin:2px 0 14px;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.concern-collection-list{margin:0;padding:0;list-style:none}.concern-collection-row{padding:16px;margin:0 0 12px;border:1px solid var(--border-subtle);border-radius:20px;background:var(--surface-raised)}.concern-row-heading{display:flex;align-items:center;gap:12px}.concern-row-heading h3{flex:1;min-width:0;margin:0;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.concern-row-heading .quest-switch{flex-shrink:0}.concern-collection-row p{margin:6px 0 8px;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.concern-method-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;gap:8px;padding:8px 0 0;border-top:1px solid var(--border-subtle);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:500;text-align:left}.concern-method-button svg{flex-shrink:0}.concern-collection-actions{width:min(100%,var(--reading-width));margin:auto;padding:12px 20px max(16px,env(safe-area-inset-bottom))}.concern-collection-actions .primary{min-height:56px}.concern-collection-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;margin:0 0 18px;padding:14px 18px;text-align:left;border-radius:18px;background:var(--surface-raised);font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.concern-collection-entry svg{flex-shrink:0}.concern-collection-header p,.concern-section-condition,.concern-collection-row p{word-break:keep-all;overflow-wrap:anywhere}@media(max-height:700px){.concern-collection-header{padding-top:calc(16px + env(safe-area-inset-top));padding-bottom:8px}.concern-collection-tabs{padding-bottom:8px}}.content:has(.profile-settings){display:block;max-width:620px;margin:0 auto;padding:28px 24px calc(140px + env(safe-area-inset-bottom))}.profile-settings h1{margin:0 0 28px;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600}.profile-settings h2{margin:0 0 12px;font-size:var(--type-section);line-height:var(--leading-section);font-weight:600}.profile-settings-character{display:flex;align-items:center;gap:20px;padding:20px;margin-bottom:32px;border-radius:24px;background:var(--surface-base)}.profile-settings-character>img{width:88px;height:120px;object-fit:contain}.profile-settings fieldset{border:0;padding:0;margin:0;min-width:0;flex:1}.profile-settings legend{font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;margin-bottom:12px}.profile-genders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-genders button{min-height:44px;padding:8px;border-radius:12px;background:var(--surface-control);font-size:var(--type-detail);line-height:var(--leading-detail)}.profile-genders button[aria-pressed=true]{background:var(--pink);color:var(--text-on-accent);font-weight:600}.profile-settings-block{margin-bottom:32px}.profile-type-row,.profile-settings-link{display:flex;align-items:center;gap:12px;width:100%;min-height:72px;padding:14px 0;text-align:left;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;border-bottom:1px solid var(--border-subtle)}.profile-type-row>span,.profile-settings-link>span:first-child{flex:1}.profile-type-row .page-select-trigger{min-height:44px;max-width:50%;border:0;border-radius:12px;padding:10px 12px;color:var(--pink);background:var(--surface-control);font:inherit}.profile-settings-link>span{min-width:0}.profile-settings-link>span:last-child{display:flex;align-items:center;gap:8px;color:var(--text-muted)}.profile-settings-link>svg{margin-left:auto;flex-shrink:0;color:var(--text-muted)}.profile-settings-link strong{display:block;font-weight:500}.profile-settings-link small{font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.profile-care{padding:0 18px;margin-bottom:12px;background:var(--surface-base);border-radius:20px}.profile-care .profile-settings-link{border:0}.profile-care .profile-settings-link>span{flex:1}.profile-care small{display:block;margin-top:4px}.profile-care .profile-interest{border-top:1px solid var(--border-subtle)}.profile-time{padding:18px;background:var(--surface-base);border-radius:20px;margin:12px 0}.profile-time h3{margin:0 0 12px;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.profile-time .time-picker{margin:0}@media(max-width:360px){.profile-settings-character{gap:12px;padding:16px}.profile-settings-character>img{width:64px}}.content:has(.quest-settings-page),.content:has(.deferred-page){max-width:650px;width:100%;margin:0 auto;padding:8px 24px 110px}.app:has(.quest-settings-page)>.toast{bottom:110px;pointer-events:none}.quest-settings-page{padding:8px 0 110px}.quest-settings-title{display:flex;align-items:center;gap:16px;margin:20px 0 12px}.quest-settings-title h2{font-size:var(--type-section);line-height:var(--leading-section);font-weight:600;letter-spacing:-.02em}.quest-preference{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:74px;border-bottom:1px solid var(--surface-control);font-size:var(--type-body);line-height:var(--leading-body)}.quest-switch{display:flex;align-items:center;width:60px;height:44px;padding:6px;border-radius:24px;background:#393b43}.quest-switch>span{width:32px;height:32px;border-radius:50%;background:var(--text-strong);transition:transform .12s}.quest-switch.on{background:var(--pink)}.quest-switch.on>span{transform:translate(16px);background:var(--text-on-accent)}.quest-time-setting{margin:30px 0}.quest-time-setting h2{font-size:var(--type-body);margin-bottom:16px;line-height:var(--leading-body);font-weight:600}.quest-default-time{min-height:var(--touch-target);margin-top:14px;color:var(--pink);font-size:var(--type-detail);line-height:var(--leading-detail);text-align:left}.quest-default-recurrence{margin-top:0}.quest-reason{display:block;margin:4px 0 12px;font-size:16px;color:var(--pink)}.quest-care-details{border-top:1px solid var(--surface-control)}.quest-care-details summary{padding:20px 0;font-size:var(--type-body);line-height:var(--leading-body);cursor:pointer}.quest-care-details p{color:var(--text-muted);font-size:16px;line-height:1.8}.quest-care-details a{display:inline-flex;align-items:center;gap:7px;color:var(--pink);min-height:var(--touch-target);margin-top:12px}.quest-settings-save{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(100%,650px);padding:18px 24px calc(18px + env(safe-area-inset-bottom));background:var(--surface-page);z-index:5}.quest-settings-save>button{min-height:var(--action-height)}.quest-unavailable{padding:50px 0}.deferred-page{padding-top:8px}.deferred-list{padding:16px 0;list-style:none;margin:0}.deferred-list li{display:flex;align-items:center;gap:10px;min-height:90px;border-bottom:1px solid var(--surface-control)}.deferred-list strong{flex:1;font-size:17px;font-weight:500;word-break:keep-all}.deferred-complete{min-width:60px;min-height:var(--touch-target);border-radius:12px;background:var(--pink-light);color:var(--pink);font-size:15px}.deferred-empty{display:flex;flex-direction:column;align-items:center;gap:25px;padding:70px 0}@media(prefers-reduced-motion:reduce){.quest-switch>span{transition:none}}.action-parts{margin:28px 0}.action-parts h2{font-size:var(--type-body);line-height:var(--leading-body);margin-bottom:12px}.action-parts ul{margin:0;padding:0;list-style:none}.action-parts li{display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--border-subtle)}.action-parts li>button:first-child{flex:1;min-height:76px;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:12px 0;gap:12px}.action-parts strong{display:block;font-size:var(--type-body);font-weight:500}.action-parts time{display:block;font-size:var(--type-detail);color:var(--text-muted);margin-top:4px}.app .care-nav{--nav-height: 78px;--nav-home-size: 60px;--nav-notch-width: 116px;--nav-home-lift: 26px;display:grid;grid-template-columns:1fr 1fr calc(var(--nav-home-size) + 16px) 1fr 1fr;gap:0;width:min(626px,calc(100% - 24px));height:var(--nav-height);min-height:var(--nav-height);bottom:calc(12px + env(safe-area-inset-bottom));padding:6px;background:transparent;border:0;border-radius:0;isolation:isolate}.app .care-nav:before{display:none}.app:not(.home-screen) .care-nav:after{content:"";position:absolute;inset:-32px -12px calc(-12px - env(safe-area-inset-bottom));z-index:-2;pointer-events:none;background:linear-gradient(to bottom,transparent,var(--surface-page) 32px)}.care-nav-surface{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;grid-template-columns:1fr var(--nav-notch-width) 1fr;z-index:-1;pointer-events:none;filter:drop-shadow(0 5px 18px #0004)}.care-nav-surface>span{background:var(--surface-base)}.care-nav-surface>span:first-child{border-radius:25px 0 0 25px}.care-nav-surface>span:last-child{border-radius:0 25px 25px 0}.care-nav-surface>svg{width:var(--nav-notch-width);height:100%;fill:var(--surface-base)}.app .care-nav button{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:calc(var(--nav-height) - 12px);padding:4px 0 7px;font-size:var(--type-caption);border-radius:18px;line-height:var(--leading-caption)}.app .care-nav button.active{background:transparent;color:var(--pink)}.app .care-nav button:not(.brand-home):hover{background:#ffffff06}.app .care-nav button:not(.brand-home).active:after{content:"";position:absolute;bottom:2px;width:16px;height:3px;border-radius:3px;background:var(--pink)}.app .care-nav .nav-icon{position:relative}.app .care-nav button .art-icon{width:30px;height:30px}.app .care-nav .brand-home{align-self:start;width:var(--nav-home-size);height:var(--nav-home-size);min-height:var(--nav-home-size);padding:0;justify-self:center;transform:translateY(calc(-1 * var(--nav-home-lift)));border-radius:50%;background:transparent}.app .care-nav .brand-home .nav-icon{width:var(--nav-home-size);height:var(--nav-home-size);border-radius:50%;overflow:hidden;background:var(--pink);box-shadow:0 5px 16px #0004;transition:transform .16s,box-shadow .16s}.app .care-nav .brand-home.active .nav-icon{box-shadow:0 0 0 2px #ffd0e133,0 5px 16px #0004}.app .care-nav .brand-home:active .nav-icon{transform:scale(.94)}.app .care-nav .brand-home .home-brand-mark{width:var(--nav-home-size);height:var(--nav-home-size);display:block;border-radius:50%}.app .care-nav .brand-home>span:not(.nav-icon){position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.app .care-nav .nav-profile{width:30px;height:30px;object-fit:contain}.app.home-screen .care-nav{bottom:auto;margin-top:40px;margin-bottom:calc(12px + env(safe-area-inset-bottom));flex-shrink:0}.app.home-screen .avatar-home{gap:16px;padding-bottom:0}.app.home-screen .avatar-subtitle{min-height:0;padding:4px 12px 0}.app.home-screen .avatar-subtitle p{margin:0;font-size:var(--type-detail);line-height:var(--leading-detail)}.app .catalog-row{padding:24px 0}.app .routine-copy strong{font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.app .catalog-row .routine-icon{margin-right:8px}.app .history-row{gap:16px;padding:22px 0}.app .history-row strong{font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.app .history-row small{color:var(--text-muted);font-size:14px}.app .settings-row{min-height:76px;padding-top:18px;padding-bottom:18px}.app .settings-row>span{font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}@media(max-height:700px){.app.home-screen .avatar-home{gap:10px}.app.home-screen .care-nav{margin-top:32px;margin-bottom:calc(8px + env(safe-area-inset-bottom))}}@media(max-height:450px){.app .care-nav{--nav-height: 62px;--nav-home-size: 48px;--nav-notch-width: 96px;--nav-home-lift: 22px}.app.home-screen .avatar-home{gap:8px 20px}.app .care-nav button{flex-direction:row}.app.home-screen .care-nav{margin-top:26px}}@media(prefers-reduced-motion:reduce){.app .care-nav .brand-home .nav-icon{transition:none}}@media(max-height:650px){.app.home-screen .avatar-home{gap:8px}.app.home-screen .avatar-subtitle{min-height:36px;padding:4px 0 6px}.app.home-screen .avatar-subtitle>span{display:none}}.home-quest{position:relative;--quest-card-radius: 24px;width:calc(100% - 8px);max-width:520px;align-self:center;flex-shrink:0;padding:0 0 6px}.quest-deck{position:relative;isolation:isolate;clip-path:inset(-100dvh calc(-1.375rem - 8px) -100dvh calc(-1.375rem - 8px))}.quest-stack{position:absolute;top:6px;right:12px;bottom:-6px;left:12px;border:1px solid #ffffff06;border-radius:calc(var(--quest-card-radius) - 2px);background:var(--surface-base);pointer-events:none;z-index:-1}.quest-remaining-badge{position:absolute;z-index:3;top:0;left:-8px;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:88px;height:max(48px,2.5rem);padding:0 10px;border:3px solid var(--surface-page);border-radius:999px;background:var(--pink);color:var(--text-on-accent);font-size:var(--type-section);line-height:1;font-weight:600;font-variant-numeric:tabular-nums;cursor:pointer;box-shadow:0 4px #a66d83,0 7px 14px #0005,inset 0 1px #fff8;transition:box-shadow .12s ease,filter .12s ease,transform .12s ease}.quest-remaining-label{font-size:var(--type-detail)}.quest-remaining-count{font-size:var(--type-section);font-weight:700}.quest-remaining-badge>svg{flex-shrink:0}.quest-remaining-badge:hover{filter:brightness(1.08)}.quest-remaining-badge:focus-visible{outline:3px solid var(--text-strong);outline-offset:3px}.quest-remaining-badge:active:not(:disabled){transform:translateY(calc(-50% + 3px));box-shadow:0 1px #a66d83,inset 0 1px #fff6}@media(prefers-reduced-motion:reduce){.quest-remaining-badge{transition:none}}.home-quest .quest-deck>.quest-face:has(.quest-settings-toggle){padding-top:max(36px,calc(1.25rem + 12px))}.quest-face{position:relative;display:flex;flex-direction:column;gap:8px;padding:24px;border:1px solid var(--border-strong);border-radius:var(--quest-card-radius);background:var(--surface-raised);box-shadow:0 8px 24px #00000014;touch-action:pan-y}.quest-identity{display:flex;align-items:center;gap:8px;min-width:0}.quest-identity h2{margin:0;flex:1;min-width:0;font-size:var(--type-section);line-height:var(--leading-section);letter-spacing:-.02em;word-break:keep-all;overflow-wrap:anywhere;font-weight:600}.quest-title-group{display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1;min-width:0}.quest-title-group h2{flex:0 1 auto;max-width:100%}.quest-title-group .quest-reason-tag{flex:0 1 auto}.quest-card-reason{display:flex;min-width:0}.quest-card-reason .quest-reason-tag{padding:0;border-radius:0;background:transparent}.quest-guidance-summary{margin:0;color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:400;word-break:keep-all;overflow-wrap:anywhere}.quest-card-reading{width:100%;flex-shrink:0}.quest-card-copy{display:flex;flex-direction:column;gap:10px}.quest-reading-controls[hidden],.quest-next-preview[hidden]{display:none}.quest-reading-controls{flex:0 0 auto}.quest-reading-controls .page-turner{min-height:44px;flex-basis:44px;padding:0;gap:2px;background:transparent}.quest-reading-controls .page-turner>span{min-width:40px}.home-quest[data-reading-paged=true] .quest-next-preview{flex-wrap:nowrap;gap:4px}.home-quest[data-reading-paged=true] .quest-choose-start>svg{display:none}.quest-face[data-reading-paged=true]{padding:12px}.quest-face[data-reading-paged=true] .quest-guide-toggle{flex:0 0 auto;padding-inline:8px}.quest-face[data-reading-paged=true] .quest-actions{display:flex;align-items:stretch}.home-quest[data-reading-paged=true] .waiting .quest-countdown{grid-column:1 / -1;grid-row:1;align-items:flex-start;text-align:left;width:100%}.app.home-screen .avatar-home:has(.home-quest[data-reading-paged=true]){display:grid;grid-template-columns:80px 1fr;grid-template-rows:minmax(72px,1fr) auto;gap:8px}.avatar-home:has(.home-quest[data-reading-paged=true]) .avatar-stage{grid-column:1;grid-row:1;min-height:72px;align-self:stretch}.avatar-home:has(.home-quest[data-reading-paged=true]) .avatar-character{width:80px;height:90px}.avatar-home:has(.home-quest[data-reading-paged=true]) .avatar-subtitle{grid-column:2;grid-row:1;align-self:center;min-height:0;padding:0;text-align:left}.avatar-home:has(.home-quest[data-reading-paged=true]) .avatar-subtitle p{font-size:var(--type-detail);line-height:var(--leading-detail)}.avatar-home:has(.home-quest[data-reading-paged=true]) .avatar-subtitle>span{display:none}.avatar-home:has(.home-quest[data-reading-paged=true]) .home-quest{grid-column:1 / -1;grid-row:2;margin-top:0}.quest-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:stretch;gap:8px;margin-top:16px}.quest-guide-toggle{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:max-content;height:var(--action-height);min-height:var(--action-height);padding:0 8px;border:1px solid transparent;border-radius:var(--quest-action-radius);background:var(--surface-control);color:var(--text-body);font-size:var(--type-body);line-height:var(--leading-body);font-weight:600;text-align:center}.quest-settings-toggle{position:absolute;z-index:3;top:-22px;right:8px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--border-strong);border-radius:50%;background:var(--surface-control);color:var(--text-body);cursor:pointer;box-shadow:0 3px 8px #0004}.quest-settings-toggle:focus-visible{outline:2px solid var(--pink);outline-offset:3px}.quest-settings-toggle:hover{color:var(--pink)}.quest-guide-label{white-space:nowrap}.quest-guide-toggle:hover .quest-guide-label{color:var(--pink)}.quest-guide-toggle:focus-visible{outline:2px solid var(--pink);outline-offset:3px}.quest-guide-toggle:active:not(:disabled){transform:none}.quest-actions .quest-complete{flex:1.2 1 0;min-width:4.5em;width:auto;padding-inline:8px;white-space:nowrap}.quest-actions .quest-complete .quest-completion-label{display:none}.quest-actions .quest-complete .quest-completion-content{gap:0}.quest-actions .quest-complete .quest-completion-content>svg{width:32px;height:32px}.quest-actions .quest-start{flex:1.5 1 auto;min-width:max-content;width:auto;height:var(--action-height);min-height:var(--action-height);border-radius:var(--quest-action-radius);font-size:var(--type-body);line-height:var(--leading-body);font-weight:600}.quest-choose-start{display:flex;align-items:center;justify-content:center;gap:4px;min-height:var(--touch-target);color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail)}.quest-next-preview{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:10px 4px 0}.quest-next-preview .quest-countdown{flex:0 1 auto;flex-direction:column;align-items:flex-end;gap:0;margin-left:auto}.quest-next-preview .quest-countdown strong{font-size:var(--type-detail);line-height:var(--leading-detail)}.quest-countdown{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-width:0}.quest-countdown>span{font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.quest-countdown strong{font-size:var(--type-section);line-height:var(--leading-section);font-weight:500;font-variant-numeric:tabular-nums;color:var(--pink);white-space:normal}.quest-countdown:focus-visible{outline:3px solid var(--pink);outline-offset:4px}.deferred-link{min-height:var(--touch-target);padding:0;font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.quest-setup{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:var(--action-height);border-radius:16px;color:var(--text-on-accent);background:var(--pink);font-size:var(--type-body);font-weight:600;line-height:var(--leading-body)}.quest-setup:hover{background:#ffd0e1}.quest-leaving{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;pointer-events:none;background:var(--pink-light);border-color:#f6b8d066;animation:quest-swipe-out var(--quest-swipe-duration) cubic-bezier(.2,.65,.25,1) both;will-change:transform}.quest-leaving .quest-complete{filter:brightness(1.05)}.quest-deck[data-completing=true]>article{animation:quest-slide-in var(--quest-swipe-duration) cubic-bezier(.16,1,.3,1) both;will-change:transform}@keyframes quest-swipe-out{0%{transform:translate(var(--quest-start-x, 0px))}to{transform:translate(calc(112% * var(--quest-exit-direction)))}}@keyframes quest-slide-in{0%{transform:translate(calc(-12px * var(--quest-exit-direction)))}to{transform:none}}@media(max-width:359px),(max-height:700px){.home-quest{--quest-card-radius: 24px}.quest-face{padding:16px;gap:4px}.quest-identity{gap:4px}.quest-actions{margin-top:6px}}@media(max-height:450px){.home-quest{align-self:start}.quest-face{padding:12px;gap:4px}}.quest-face.waiting .quest-countdown{flex-direction:column;align-items:flex-end;gap:0;text-align:right}@media(min-width:360px)and (min-height:760px){.app.home-screen .avatar-home .avatar-stage{flex:1 1 0}.app.home-screen .avatar-home .home-quest{margin-top:0}.app.home-screen .avatar-subtitle p{min-height:calc(2 * var(--leading-detail))}}@media(max-width:359px)and (max-height:700px),(max-height:650px)and (min-height:451px){.app.home-screen .avatar-home:has(article.available){display:grid;grid-template-columns:112px 1fr;grid-template-rows:minmax(0,1fr) auto;gap:8px}.avatar-home:has(article.available) .avatar-stage{grid-column:1;grid-row:1;min-height:0;align-self:stretch}.avatar-home:has(article.available) .avatar-character{width:112px;height:128px}.avatar-home:has(article.available) .avatar-subtitle{grid-column:2;grid-row:1;align-self:center;min-height:0;padding:0;text-align:left}.avatar-home:has(article.available) .avatar-subtitle p{font-size:var(--type-detail);line-height:var(--leading-detail)}.avatar-home:has(article.available) .avatar-subtitle>span{display:none}.avatar-home:has(article.available) .home-quest{grid-column:1 / -1;grid-row:2}.app.home-screen .avatar-home:has(.ready-to-complete){display:grid;grid-template-columns:80px 1fr;grid-template-rows:minmax(72px,1fr) auto;gap:8px}.avatar-home:has(.ready-to-complete) .avatar-stage{grid-column:1;grid-row:1;min-height:72px;align-self:stretch}.avatar-home:has(.ready-to-complete) .avatar-character{width:80px;height:90px}.avatar-home:has(.ready-to-complete) .avatar-subtitle{grid-column:2;grid-row:1;align-self:center;min-height:0;padding:0;text-align:left}.avatar-home:has(.ready-to-complete) .avatar-subtitle p{font-size:var(--type-detail);line-height:var(--leading-detail)}.avatar-home:has(.ready-to-complete) .avatar-subtitle>span{display:none}.avatar-home:has(.ready-to-complete) .home-quest{grid-column:1 / -1;grid-row:2}.app.home-screen .avatar-home:has(article.waiting){display:grid;grid-template-columns:80px 1fr;grid-template-rows:minmax(72px,1fr) auto;gap:8px}.avatar-home:has(article.waiting) .avatar-stage{grid-column:1;grid-row:1;min-height:72px;align-self:stretch}.avatar-home:has(article.waiting) .avatar-character{width:80px;height:90px}.avatar-home:has(article.waiting) .avatar-subtitle{grid-column:2;grid-row:1;align-self:center;min-height:0;padding:0;text-align:left}.avatar-home:has(article.waiting) .avatar-subtitle p{font-size:var(--type-detail);line-height:var(--leading-detail)}.avatar-home:has(article.waiting) .avatar-subtitle>span{display:none}.avatar-home:has(article.waiting) .home-quest{grid-column:1 / -1;grid-row:2}}@media(prefers-reduced-motion:reduce){.quest-leaving,.quest-deck[data-completing=true]>article{animation:none}.quest-complete,.quest-guide-toggle{transition:none}}.app.home-screen .avatar-home .home-quest{margin-top:max(24px,1.5rem)}.home-quest{position:relative}.quest-success-effect{position:absolute;top:0;right:0;bottom:6px;left:0;z-index:4;pointer-events:none;border-radius:var(--quest-card-radius, 24px)}.quest-success-effect *{pointer-events:none}.quest-success-aura{position:absolute;top:-12px;right:-12px;bottom:-12px;left:-12px;border-radius:34px;background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--pink) 24%,transparent),transparent 66%);opacity:0;animation:success-aura .62s ease-out both;animation-delay:var(--success-elapsed)}.quest-success-edge{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid var(--pink);border-radius:inherit;box-shadow:0 0 16px color-mix(in srgb,var(--pink) 18%,transparent),inset 0 0 12px color-mix(in srgb,var(--pink) 8%,transparent);opacity:0;animation:success-edge .62s ease-out both;animation-delay:var(--success-elapsed)}.quest-success-burst{position:absolute;top:0;left:50%;width:0;height:0}.quest-success-ring{position:absolute;width:64px;height:64px;left:-32px;top:-32px;border:1px solid var(--pink);border-radius:50%;opacity:0;animation:success-ring .52s cubic-bezier(.16,.8,.25,1) both;animation-delay:var(--success-elapsed)}.quest-success-flare{position:absolute;width:19px;height:19px;left:-9.5px;top:-9.5px;background:var(--pink);clip-path:polygon(50% 0%,62% 36%,100% 50%,62% 64%,50% 100%,38% 64%,0% 50%,38% 36%);opacity:0;animation:success-flare .47s ease-out both;animation-delay:var(--success-elapsed)}.quest-success-spark{position:absolute;width:var(--spark-size);height:var(--spark-size);left:calc(var(--spark-size) / -2);top:calc(var(--spark-size) / -2);background:var(--pink);opacity:0;animation:success-spark .62s cubic-bezier(.15,.75,.25,1) both;animation-delay:calc(var(--success-elapsed) + var(--spark-delay))}.quest-success-spark.is-dot{border-radius:50%}.quest-success-spark.is-star{background:var(--text-strong);clip-path:polygon(50% 0%,64% 36%,100% 50%,64% 64%,50% 100%,36% 64%,0% 50%,36% 36%)}@keyframes success-spark{0%{transform:translate(0) scale(.25);opacity:0}16%{transform:translate(calc(var(--spark-x) * .4),calc(var(--spark-y) * .4)) scale(1);opacity:.9}55%{transform:translate(calc(var(--spark-x) * .85),calc(var(--spark-y) * .85)) scale(.9);opacity:.75}to{transform:translate(var(--spark-x),var(--spark-y)) scale(.35);opacity:0}}@keyframes success-ring{0%{transform:scale(.35);opacity:.6}to{transform:scale(1.8);opacity:0}}@keyframes success-flare{0%{transform:scale(.4) rotate(-20deg);opacity:.8}30%{transform:scale(1.12) rotate(0);opacity:1}to{transform:scale(.7) rotate(15deg);opacity:0}}@keyframes success-edge{0%{opacity:.7}28%{opacity:.48}to{opacity:0}}@keyframes success-aura{0%{opacity:0}20%{opacity:.8}to{opacity:0}}@media(prefers-reduced-motion:reduce){.quest-success-burst{display:none}.quest-success-effect *{animation:none}.quest-success-edge{opacity:.45;box-shadow:none}.quest-success-aura{opacity:.3}}.home-task-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,520px);max-width:none;max-height:calc(var(--app-height,100dvh) - 24px - env(safe-area-inset-top));padding:0;border:1px solid var(--border-strong);border-bottom:0;border-radius:28px 28px 0 0;background:var(--surface-raised);color:var(--text-strong);overflow:clip}.home-task-sheet[open]{display:flex;flex-direction:column;animation:home-task-sheet-enter .18s ease-out}.home-task-sheet::backdrop{background:#0009}.home-task-sheet-header{flex-shrink:0;padding:12px 24px 16px}.home-task-sheet-handle{display:block;width:32px;height:4px;border-radius:4px;background:var(--border-strong);margin:0 auto 20px}.home-task-sheet h2{margin:0;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600}.home-task-sheet-pages .paged-content{padding:0 24px}.home-task-sheet-title{margin:0 0 12px;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;word-break:keep-all;overflow-wrap:anywhere}.home-task-sheet-option{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:16px 0;border-top:1px solid var(--border-strong);color:var(--text-strong);background:transparent;text-align:left}.home-task-sheet-option>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;word-break:keep-all;overflow-wrap:anywhere}.home-task-sheet-option strong{font-size:var(--type-body);line-height:var(--leading-body);font-weight:500}.home-task-sheet-option span span,.home-task-sheet-error{font-size:var(--type-detail);line-height:var(--leading-detail);color:var(--text-muted)}.home-task-sheet-option>svg{flex-shrink:0}.home-task-sheet-option:focus-visible{outline:2px solid var(--pink);outline-offset:-2px;border-radius:8px}.home-task-sheet-footer{flex-shrink:0;padding:16px 24px calc(20px + env(safe-area-inset-bottom))}.home-task-sheet-footer button{width:100%}.home-task-sheet .page-turner{background:var(--surface-raised)}@keyframes home-task-sheet-enter{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.home-task-sheet[open]{animation:none}}.content:has(.character-settings){display:block;width:100%;max-width:620px;margin:0 auto;padding:18px 24px calc(124px + env(safe-area-inset-bottom))}.character-settings h1{margin:0 0 18px;font-size:var(--type-title);line-height:var(--leading-title);font-weight:600}.character-preview{position:relative;display:flex;flex-direction:column;align-items:center;border:1px solid var(--border-subtle);border-radius:28px;padding:8px 20px 12px;margin-bottom:22px;overflow:hidden;background:radial-gradient(ellipse at 50% 28%,color-mix(in srgb,var(--pink) 14%,transparent),transparent 70%),var(--surface-base)}.character-preview-moon{background:radial-gradient(ellipse at 50% 28%,color-mix(in srgb,var(--stage-moon) 16%,transparent),transparent 70%),var(--surface-base)}.character-preview-peach{background:radial-gradient(ellipse at 50% 28%,color-mix(in srgb,var(--stage-peach) 16%,transparent),transparent 70%),var(--surface-base)}.character-preview-portrait{position:relative;width:min(100%,220px);height:210px}.character-preview-selection{margin:4px 0 10px;color:var(--text-body);font-size:var(--type-detail);line-height:var(--leading-detail);text-align:center;word-break:keep-all}.character-expression-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:min(100%,288px);padding:4px;background:var(--surface-page);border-radius:16px}.character-expression-picker button{min-height:var(--touch-target);border-radius:12px;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:500}.character-expression-picker button[aria-pressed=true]{background:var(--surface-control);color:var(--pink);box-shadow:0 2px #0004;font-weight:600}.wardrobe-choices,.character-setting-section{border:0;padding:0;margin:0 0 24px;min-width:0}.wardrobe-choices legend,.character-setting-section legend{padding:0;margin:0 0 12px;font-size:var(--type-body);line-height:var(--leading-body);font-weight:600}.wardrobe-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wardrobe-option{display:flex;flex-direction:column;align-items:center;position:relative;min-width:0;min-height:126px;padding:10px 6px;border:2px solid var(--border-subtle);border-bottom-width:4px;border-radius:20px;background:var(--surface-base)}.wardrobe-option[aria-pressed=true]{border-color:var(--pink);background:var(--pink-light)}.wardrobe-thumbnail{width:72px;max-width:100%;height:70px;display:grid;place-items:center}.wardrobe-thumbnail>img{max-width:100%;width:100%;height:100%;object-fit:contain}.wardrobe-option-label{margin-top:8px;font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:500;word-break:keep-all;overflow-wrap:anywhere}.wardrobe-selected{position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:50%;background:var(--pink);color:var(--text-on-accent);display:grid;place-items:center}.wardrobe-none{width:32px;height:32px;border:2px solid var(--text-muted);border-radius:50%;position:relative}.wardrobe-none:after{content:"";position:absolute;height:2px;width:100%;background:var(--text-muted);top:calc(50% - 1px);left:0;transform:rotate(-45deg)}.character-extra-settings{border-top:1px solid var(--border-subtle)}.character-extra-settings>summary{min-height:56px;display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;cursor:pointer}.character-extra-settings>summary::-webkit-details-marker{display:none}.character-extra-settings[open]>summary{margin-bottom:16px}.character-extra-settings[open]>summary svg{transform:rotate(180deg)}.character-backdrop-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.character-backdrop-picker button{display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px 6px;min-height:88px;border:2px solid var(--border-subtle);border-radius:18px;background:var(--surface-base);font-size:var(--type-detail);line-height:var(--leading-detail)}.character-backdrop-picker button[aria-pressed=true]{border-color:var(--pink);background:var(--pink-light)}.character-backdrop-swatch{display:grid;place-items:center;width:44px;height:28px;border-radius:50%;color:var(--text-on-accent)}.character-backdrop-rose{background:var(--pink)}.character-backdrop-moon{background:var(--stage-moon)}.character-backdrop-peach{background:var(--stage-peach)}.character-reaction-setting{display:flex;align-items:center;gap:16px;padding:18px 0;border-top:1px solid var(--border-subtle)}.character-reaction-setting>div{flex:1;min-width:0}.character-reaction-setting .quest-switch{flex-shrink:0}.character-reaction-setting h2{margin:0;font-size:var(--type-body);line-height:var(--leading-body);font-weight:500;word-break:keep-all}.character-settings-footer{position:fixed;z-index:5;left:50%;bottom:0;transform:translate(-50%);display:grid;grid-template-columns:1fr 2fr;gap:10px;width:min(100%,620px);padding:16px 24px calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--border-subtle);background:var(--surface-page)}.character-settings-footer .action-button{min-height:var(--action-height);padding-right:12px;padding-left:12px;font-size:var(--type-body);line-height:var(--leading-body);font-weight:600}@media(max-width:360px){.content:has(.character-settings){padding-right:18px;padding-left:18px}.character-preview{padding-right:12px;padding-left:12px}.character-preview-portrait{height:184px;width:min(100%,194px)}.wardrobe-options{gap:6px}.wardrobe-option{padding-right:4px;padding-left:4px}.character-settings-footer{padding-right:18px;padding-left:18px;grid-template-columns:72px minmax(0,1fr)}.character-settings-footer .action-button{word-break:keep-all}}@media(prefers-reduced-motion:reduce){.wardrobe-option{transition:none}}.character-joy-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,288px);gap:6px;margin-top:10px}.character-joy-picker button{min-height:44px;padding:8px 10px;border:1px solid var(--border-strong);border-radius:12px;background:transparent;color:var(--text-muted);font-size:var(--type-detail);line-height:var(--leading-detail);font-weight:500}.character-joy-picker button[aria-pressed=true]{color:var(--pink);border-color:var(--pink);background:var(--pink-light)}
