:root{font-family:PingFang SC,Microsoft YaHei,sans-serif;color:#384e3c;background:#dce6d6;font-synthesis:none;font-weight:400;--ink: #384e3c;--muted: #75866f;--olive: #657655;--line: #75896c35;--paper: #f7f6ed}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:transparent}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid #6d885b;outline-offset:3px}a{color:inherit}[hidden]{display:none!important}#app{position:relative;width:100%;height:100dvh;overflow:hidden}#garden-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#eef2e9bf,transparent 28%,transparent 70%,#e8eedbbb)}.topbar{position:absolute;top:22px;left:32px;right:32px;display:flex;justify-content:space-between;align-items:center;z-index:8}.brand-nav{display:flex;align-items:center;gap:14px}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;font-size:17px;letter-spacing:2px}.brand-mark{width:40px;height:40px;border:1px solid #92a183;border-radius:50%;display:grid;place-items:center;color:#627954;transition:background .18s,border-color .18s}.brand:hover .brand-mark{background:#e8efdf99;border-color:#6d885b}.brand small{display:block;margin-top:5px;font-size:9px;letter-spacing:3px;color:#718469}.intro-link{text-decoration:none;display:inline-flex;align-items:center;gap:5px;padding:6px 13px;border:1px solid #ffffff66;border-radius:99px;background:#f4f7e9a8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-size:11px;letter-spacing:.5px;color:#53664b;white-space:nowrap;transition:background .18s,border-color .18s,color .18s}.intro-link:hover{background:#e8efdf;border-color:#859d73;color:#2f4528}.top-actions{display:flex;align-items:center;gap:16px;font-size:11px;color:#63745b}.icon-button{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%}.icon-button:hover{background:#e8eddb99}.quality-settings{position:relative}.quality-settings summary{cursor:pointer;padding:8px}.quality-settings[open]{padding:10px;border:1px solid var(--line);border-radius:14px;background:#f8f9f0f5}.quality-settings label,.quality-settings a{display:block;margin:8px 0;white-space:nowrap}.story{position:absolute;top:105px;left:6%;width:340px;max-height:calc(100dvh - 260px);overflow-y:auto;scrollbar-width:thin;z-index:4;padding:16px 20px;border-radius:20px;background:#f7f8edb5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}h1{font-size:30px;line-height:1.55;font-weight:400;margin:0 0 18px;overflow-wrap:anywhere}h2{font-size:14px;font-weight:500;margin:0 0 12px}.intro{font-size:12px;line-height:1.95;color:#65755e;margin:0 0 22px}.primary{background:#60764f;color:#f5f5e9;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 20px;border-radius:24px;font-size:12px;white-space:nowrap;transition:background .2s}.primary:hover:not(:disabled){background:#4c683e}.secondary{padding:10px 16px;border:1px solid #a8b79a;border-radius:23px;background:#f5f7edb3;font-size:12px;white-space:nowrap}.text-button{font-size:11px;color:#536d48;display:inline-flex;align-items:center;gap:7px;padding:7px;line-height:1.5;white-space:nowrap}.text-button:hover{color:#314b28}.quiet-footnote{font-size:10px;color:#75866d;line-height:1.8;margin:12px 0 0}.creation-prompt{display:flex;align-items:center;justify-content:space-between;gap:12px}.creation-prompt>p{margin:0;font-size:12px;line-height:1.8}.input-summary{margin:10px 0 0;font-size:11px;line-height:1.8;color:#63795c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.emotion-form textarea{display:block;margin-top:10px;width:100%;height:70px;min-height:48px;max-height:150px;padding:11px 13px;resize:vertical;border:1px solid #acbba2;border-radius:13px;background:#fbfcf4b8;font-size:12px;line-height:1.8}textarea::placeholder,input::placeholder{color:#8e9b82}.input-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:9px;font-size:9px;color:#7b8a70}.voice-button{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:5px 0}.voice-button.recording{color:#a25c44}.generation-controls{display:flex;align-items:center;gap:9px;margin-top:12px;flex-wrap:wrap}.generation-controls>input{min-width:100px;flex:1;border:1px solid #b8c4ac;border-radius:20px;background:#fafcf2b0;padding:9px 12px;font-size:11px}.generation-controls select{max-width:125px;border:1px solid #b8c4ac;background:#f6f8ee;padding:8px;border-radius:16px;font-size:11px}.generation-controls .primary,.generation-controls .secondary{padding:9px 15px;font-size:11px}.stage-label,.source-label{font-size:10px;color:#667c5d}.source-label{margin:8px 0 0}.inline-error{font-size:11px;line-height:1.8;color:#92523d;margin:10px 0 0;overflow-wrap:anywhere}body[data-page=input] .story,body[data-page=compose] .story{top:76px;left:50%;transform:translate(-50%);width:min(860px,calc(100% - 40px));max-height:min(260px,calc(100dvh - 310px));padding:14px 20px;transition:max-height .2s ease}body[data-page=input] .story,body[data-page=compose][data-input-expanded=true] .story{max-height:calc(100dvh - 140px);z-index:16;box-shadow:0 12px 36px #2d442926}body[data-page=input] .story{max-width:720px}body[data-page=input] .emotion-form textarea{height:84px}.growth-caption{position:absolute;top:42%;left:50%;transform:translate(-50%);font-size:10px;color:#4d6d41;pointer-events:none;margin:0;text-shadow:0 1px 5px #f5f7e9}.candidates{position:absolute;left:50%;bottom:174px;transform:translate(-50%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(830px,calc(100% - 90px));gap:18px;z-index:5;align-items:end}.candidate{background:#f8f9f0f0;border:1px solid #b1c1a58f;border-radius:18px;box-shadow:0 8px 28px #354f3520;overflow:hidden;transition:border-color .2s,box-shadow .2s;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.candidate:nth-child(2){translate:0 -34px}.candidate:hover{border-color:#779365}.candidate-sort-handle{width:100%;height:28px;display:grid;place-items:center;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.candidate-sort-handle span{width:34px;height:4px;border-radius:4px;background:#95a78b}.candidate-sort-handle:active{cursor:grabbing}.candidate.is-dragging{border-color:#496d39}.candidate.sort-target{box-shadow:0 0 0 3px #749464}.candidates:has(.is-dragging){scroll-snap-type:none}.candidate.selected{border-color:#668b51;box-shadow:0 0 0 2px #84a66d60,0 10px 25px #45683e20}.candidate.is-playing{background:#edf4e5fa}.candidate-listen{display:block;width:100%;padding:12px 14px 8px;text-align:left}.candidate-heading{display:flex;align-items:center;gap:8px;margin-bottom:8px}.candidate-number{font:13px Georgia,serif;color:#7d936c}.candidate-heading strong{font-size:12px;font-weight:500;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.listen-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:#546f43;background:#e0ead6}.piano-roll{display:block;width:100%;height:64px;overflow:visible}.roll-playhead{opacity:0;pointer-events:none}.candidate-foot{display:flex;justify-content:space-between;gap:7px;margin-top:6px;font-size:9px;line-height:1.6;color:#718468}.candidate-foot span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.candidate-foot span:last-child{flex-shrink:0}.candidate-actions{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-top:1px solid #b0c29d55;gap:6px;font-size:9px;color:#708365}.candidate-keep{font-size:11px;background:#e1ebd5;color:#4f713d;border-radius:17px;padding:6px 13px}.candidate-keep[aria-pressed=true]{background:#617e4e;color:#f8f9f0}.candidate-solo{font-size:10px;color:#5a764b;padding:5px 0}.compose-tools{position:absolute;z-index:12;bottom:66px;left:50%;transform:translate(-50%);width:min(900px,calc(100% - 36px));display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border:1px solid #bdcbb4a0;border-radius:22px;background:#f6f8edf5;box-shadow:0 5px 25px #3f593324}.composition-summary,.confirmation-tools{display:flex;align-items:center;gap:9px;font-size:10px}.compose-tools .secondary,.compose-tools .primary{font-size:11px;padding:9px 13px}.layer-rack{position:absolute;z-index:10;left:50%;bottom:132px;transform:translate(-50%);width:min(900px,calc(100% - 36px));max-height:min(500px,calc(100dvh - 240px));padding:14px 18px;border:1px solid #aabb9a;background:#f6f8eef8;border-radius:23px;box-shadow:0 0 0 100vmax #30462618,0 -10px 35px #2e4f3320;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);display:flex;flex-direction:column}.rack-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;padding-bottom:12px;flex-shrink:0}.rack-heading span{color:#66825a;font-size:11px}.rack-heading .secondary{padding:7px 12px;font-size:11px}.drawer-scroll{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;display:grid;grid-template-columns:1fr 1.1fr;gap:18px}.rack-section:first-child{grid-column:1 / -1}.sound-distribution{grid-column:1 / -1;min-width:0}.sound-distribution .quiet-footnote{margin:0 0 12px}.sound-grid-scroll{overflow-x:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:8px}.sound-grid{display:grid;grid-template-columns:108px repeat(var(--segments),minmax(170px,1fr));gap:7px;min-width:max-content}.sound-axis,.sound-row-name{position:sticky;left:0;z-index:1;display:flex;align-items:center;padding:8px;background:#f6f8ee;font-size:11px}.sound-column{text-align:left;border-bottom:2px solid #bfccb4;padding:9px;font-size:12px}.sound-column small{display:block;margin-top:5px;font-size:10px;color:#687d5d}.sound-column.is-editing{border-color:#577d42;background:#e4eedb;border-radius:9px 9px 0 0}.sound-block{min-width:0;border:1px solid var(--sound-color);border-radius:10px;background:#fbfcf5;text-align:left;padding:8px 10px}.sound-block>span{display:block;font-size:11px;overflow-wrap:anywhere}.sound-block svg{display:block;width:100%;height:30px;margin:4px 0;fill:var(--sound-color);background:repeating-linear-gradient(90deg,#93a18325 0 1px,transparent 1px 25%)}.sound-block small{color:#6c7b62;font-size:9px}.sound-block.is-muted{background:#e8ebe2;border-style:dashed}.sound-block.is-muted svg{opacity:.45}.sound-block.is-sounding{outline:2px solid #527c3d;outline-offset:1px;background:#e8f2dd}.sound-empty{display:grid;place-items:center;border:1px dashed #c7cfbe;border-radius:10px;color:#829077;font-size:11px;min-height:80px}.sound-summary{font-size:11px;line-height:1.8;color:#5d7651}.summary-facts{display:flex;flex-direction:column;gap:3px;flex-shrink:0}.generation-wait{position:absolute;top:43%;left:50%;transform:translate(-50%);z-index:15;display:flex;align-items:center;gap:12px;max-width:calc(100% - 28px);padding:9px 18px;background:#233021eb;border:1px solid #6e865f75;border-radius:99px;box-shadow:0 8px 28px #15211345;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#e9f0e2;font-size:12px}.generation-wait>span{white-space:nowrap}.generation-wait b{font-variant-numeric:tabular-nums;font-weight:500;color:#f6faef}.generation-wait .text-button{color:#d5e3c6;padding:3px 6px;font-size:12px}.generation-wait .text-button:hover{color:#fff}.wait-wave{display:inline-flex;align-items:center;gap:3px;height:16px;flex-shrink:0}.wait-wave i{display:block;width:3.5px;height:14px;border-radius:99px;background:#c2d4ae;transform-origin:center;animation:generation-wave 1.05s ease-in-out infinite}.wait-wave i:nth-child(2){animation-delay:.18s}.wait-wave i:nth-child(3){animation-delay:.36s}@keyframes generation-wave{0%,to{transform:scaleY(.38);opacity:.55}50%{transform:scaleY(1);opacity:1}}body[data-reduced-motion=true] *,body[data-reduced-motion=true] *:before,body[data-reduced-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.rack-section{padding:10px 2px}.selection-order,.segment-list{list-style:none;padding:0;margin:0}.selection-order{display:flex;flex-wrap:wrap;gap:8px}.selection-order li,.segment-list li{display:flex;align-items:center;gap:7px;border:1px solid #becdb16e;border-radius:12px;padding:8px;font-size:11px;background:#f9faf3}.selection-order li>span:nth-child(2){max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-order button,.segment-list button:not([data-segment]){font-size:10px;padding:5px 3px;white-space:nowrap}.drag-handle{display:grid;place-items:center;flex-shrink:0;cursor:grab;width:23px;height:25px;color:#648452;background:#e9efdf;border-radius:6px}.segment-list{display:grid;gap:7px}.segment-list li.is-editing{border-color:#809d68;background:#edf2e5}.segment-list li.is-playing{box-shadow:inset 3px 0 #668a51}.segment-list button[data-segment]{text-align:left;flex:1;min-width:0;overflow-wrap:anywhere}.segment-list small{display:block;margin-top:4px;font-size:9px;color:#7c8d70}.layer-item{padding:10px 0;border-bottom:1px solid #afbf9c50}.layer-title{display:flex;align-items:center;gap:7px}.layer-title strong{font-size:11px;font-weight:400;flex:1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layer-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.layer-subtitle{font-size:9px;color:#829275;padding:3px 0 7px 13px}.layer-item input[type=range]{display:block;width:100%;accent-color:#8aab70;height:15px;margin:3px 0 8px}.layer-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.layer-tools select{font-size:10px;background:transparent;border:0;padding:4px 0}.layer-tools button{font-size:10px;color:#648052;padding:5px 0;white-space:nowrap}.is-muted .layer-title,.is-muted .layer-subtitle{opacity:.5}.bottom-bar{position:absolute;bottom:17px;left:28px;right:28px;display:flex;justify-content:space-between;align-items:center;z-index:13;min-height:35px;pointer-events:none}.bottom-bar>*{pointer-events:auto}.mode-switch{padding:4px;border:1px solid #9fb88a80;border-radius:30px;display:flex;gap:4px;background:#f5f7ecdc}.mode-switch button{border-radius:24px;padding:9px 14px;font-size:11px}.mode-switch button.active{background:#dce8ce;color:#496b3a}.credits-button{font-size:9px;color:#627a53;padding:10px 0}.player{position:absolute;bottom:10px;left:50%;transform:translate(-50%);z-index:14;display:flex;align-items:center;gap:12px;border:1px solid #a7bb9670;background:#f8f9f0f2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:7px 13px 7px 8px;border-radius:28px;width:320px;max-width:calc(100% - 32px)}.player-toggle{display:grid;place-items:center;background:#dfead3;width:32px;height:32px;border-radius:50%;color:#526f42}.player-body{flex:1;min-width:80px}.player-body>span{display:block;font-size:10px;color:#607b52;max-width:175px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.play-progress{height:3px;background:#dce5ce;margin-top:7px;border-radius:4px;overflow:hidden}.play-progress i{display:block;height:100%;width:0;background:#85a66e}#player-time{font:11px Georgia,serif;color:#7a9368;min-width:26px}#loop-toggle{font-size:10px;color:#8a9c7c}#loop-toggle[aria-pressed=true]{color:#4d713b}.toast{position:absolute;z-index:30;bottom:140px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;max-width:min(92vw,500px);width:max-content;padding:12px 20px;border-radius:18px;background:#fafaf2f8;box-shadow:0 8px 35px #3c5b3528;border:1px solid #b4c6a6;font-size:11px;line-height:1.8;color:#526e43;transition:opacity .2s,transform .2s;text-align:center}.toast.visible{opacity:1;transform:translate(-50%)}.garden-dialog{background:#f7f8ee;border:1px solid #acbf9b;border-radius:24px;padding:32px;width:min(480px,calc(100vw - 30px));max-height:calc(100dvh - 32px);overflow-y:auto;color:var(--ink);box-shadow:0 24px 100px #263d2445}.garden-dialog::backdrop{background:#31452b55;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.garden-dialog h2{font-size:24px;font-weight:400;margin:10px 0 18px}.garden-dialog p{font-size:12px;line-height:1.9;color:#6d825e}.garden-dialog label{display:block;font-size:11px;margin-top:20px}.garden-dialog input{display:block;width:100%;border:1px solid #afc19e;background:#fbfcf4;border-radius:10px;padding:11px 13px;margin-top:8px}.dialog-close{position:absolute;right:13px;top:12px}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 10px}.dialog-actions .primary{flex:1}.danger{color:#966e59}.note-dialog{width:min(620px,calc(100vw - 30px))}.note-dialog .piano-roll{height:160px;margin:22px 0}.note-dialog rect[data-edit-note]{cursor:pointer}.note-properties{display:flex;align-items:center;gap:12px}.note-properties>span{min-width:40px;font-size:12px}.note-properties label{margin:0;flex:1;min-width:0}.note-properties input{padding:8px}.library-list{display:grid;gap:8px}.library-list button{text-align:left;padding:12px;border:1px solid #b7c6a8;border-radius:12px;background:#fbfcf4;overflow-wrap:anywhere}.library-list small{display:block;margin-top:5px;color:#7f936f}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}@media(max-width:900px){.topbar{top:15px;left:20px;right:20px}.candidates{width:calc(100% - 40px);gap:12px}.composition-summary>span{max-width:140px}.compose-tools{padding:9px}.compose-tools .secondary,.compose-tools .primary{padding:9px 10px}}@media(max-width:650px){.topbar{top:14px;left:16px;right:16px}.brand-nav{gap:8px}.brand{font-size:15px;gap:8px}.brand-mark{width:32px;height:32px}.brand small,#garden-count{display:none}.intro-link{padding:5px 10px;font-size:10px}.top-actions{gap:7px}.story{top:88px;left:20px;width:calc(100% - 40px);max-height:38dvh;padding:14px}body[data-page=input] .story,body[data-page=compose] .story{top:65px;width:calc(100% - 26px);max-height:min(280px,42dvh);padding:12px 14px}body[data-page=input] .story,body[data-page=compose][data-input-expanded=true] .story{max-height:calc(100dvh - 135px)}.creation-prompt>p{font-size:11px}.generation-controls{gap:6px;margin-top:8px}.generation-controls>input{order:0;min-width:150px}.generation-controls .primary,.generation-controls .secondary{padding:8px 12px}.stage-label{display:none}.input-footer>span{order:3;width:100%}.growth-caption{top:42%;font-size:9px}.candidates{width:100%;left:0;bottom:192px;transform:none;display:flex;overflow-x:auto;overscroll-behavior:contain;padding:4px 22px 10px;gap:12px;scroll-snap-type:x mandatory;scrollbar-width:thin}.candidate{width:245px;min-width:245px;flex:0 0 245px;scroll-snap-align:center}.candidate:nth-child(2){translate:none}.piano-roll{height:55px}.compose-tools{bottom:75px;width:calc(100% - 24px);display:block;padding:8px 10px;border-radius:18px}.composition-summary,.confirmation-tools{justify-content:space-between;gap:6px}.composition-summary{margin-bottom:6px}.composition-summary>span{max-width:none;font-size:9px}.confirmation-tools>span{font-size:10px}.layer-rack{bottom:185px;width:calc(100% - 24px);max-height:calc(100dvh - 265px);padding:12px}.drawer-scroll{display:block}.rack-heading{font-size:11px}.rack-heading>span{font-size:9px}.selection-order{display:grid}.selection-order li>span:nth-child(2){flex:1;max-width:none}.bottom-bar{left:16px;right:16px;bottom:15px}body[data-page=compose] .bottom-bar{bottom:44px}body[data-page=compose] .bottom-bar .credits-button{display:none}.player{bottom:4px;width:300px;padding:6px 10px}.mode-switch button{padding:8px 10px;font-size:10px}body[data-page=garden] .player,body[data-page=memory] .player{bottom:63px}.toast{bottom:200px}.garden-dialog{padding:28px 20px}.note-properties{gap:6px}.note-properties>span{min-width:30px;font-size:10px}}@media(max-height:700px)and (min-width:651px){.topbar{top:12px}body[data-page=compose]:not([data-input-expanded=true]) .story{top:65px;max-height:210px}body[data-page=input] .story,body[data-page=compose][data-input-expanded=true] .story{top:62px;max-height:calc(100dvh - 130px)}.candidates{bottom:145px;width:min(760px,calc(100% - 70px))}.candidate:nth-child(2){translate:0 -20px}.candidate-listen{padding:8px 12px 5px}.candidate-heading{margin-bottom:5px}.piano-roll{height:38px}.candidate-actions{padding:6px 10px}.layer-rack{max-height:calc(100dvh - 210px)}.growth-caption{top:39%}}@media(max-height:620px)and (max-width:650px){body[data-page=compose]:not([data-input-expanded=true]) .story{max-height:180px}.candidate-listen{padding:8px 10px}.piano-roll{height:25px}.candidate-actions{padding:5px 10px}.candidate-foot{margin-top:2px}.candidates{bottom:184px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.note-dialog{position:absolute;inset:auto auto 132px 50%;margin:0;transform:translate(-50%);z-index:11;width:min(900px,calc(100% - 36px));max-height:min(500px,calc(100dvh - 240px));padding:24px;box-shadow:0 -8px 30px #304f3528}.note-dialog .dialog-actions{position:sticky;bottom:-24px;margin-bottom:0;padding:12px 0 24px;background:#f7f8ee}.note-dialog h2{font-size:18px;margin-top:0}.note-dialog .piano-roll{height:120px;margin:16px 0}@media(max-width:650px){.note-dialog{bottom:185px;width:calc(100% - 24px);max-height:calc(100dvh - 265px);padding:18px 14px}.note-dialog .dialog-actions{bottom:-18px;padding-bottom:18px}.note-dialog .piano-roll{height:85px}}.creation-navigation{display:flex;align-items:center;gap:8px;padding:5px;border:1px solid #aec09d;border-radius:28px;background:#f8f9f0f5}.creation-navigation .primary,.creation-navigation .secondary{padding:10px 14px;font-size:11px}body:not([data-page=garden]) .bottom-bar{bottom:12px;left:20px;right:auto}body:not([data-page=garden]) .bottom-bar .credits-button{display:none}body:not([data-page=garden]) .player{left:auto;right:20px;bottom:12px;transform:none}.compose-tools{bottom:78px;flex-wrap:wrap}.composition-summary{flex-wrap:wrap}.composition-summary>.summary-facts{max-width:none}.confirmation-tools{margin-left:auto}.layer-rack,.note-dialog{bottom:162px;max-height:calc(100dvh - 250px)}.layer-tools button,.layer-title button{min-height:32px}.candidate-keep,.candidate-solo{min-height:34px}body[data-compact-viewport=true][data-page=compose]:not([data-input-expanded=true]) .story{max-height:195px}body[data-compact-viewport=true] .growth-caption{display:none}@media(max-width:760px){body:not([data-page=garden]) .bottom-bar{bottom:60px;left:12px;right:12px}.creation-navigation{width:100%;justify-content:space-between;gap:3px}.creation-navigation .primary,.creation-navigation .secondary{min-height:38px;padding:9px 11px}.creation-navigation .text-button{min-height:38px;padding:7px 5px}body:not([data-page=garden]) .player{bottom:6px;left:50%;right:auto;transform:translate(-50%);width:min(340px,calc(100% - 24px))}.compose-tools{bottom:116px;width:calc(100% - 24px);display:block;padding:9px}.composition-summary{justify-content:flex-start;margin-bottom:8px;gap:6px}.summary-facts{font-size:10px;margin-right:auto}.confirmation-tools{justify-content:space-between;gap:6px}.compose-tools .primary,.compose-tools .secondary,.compose-tools .text-button{min-height:34px}.candidates{bottom:290px}.candidate-sort-handle{height:34px}.layer-rack,.note-dialog{bottom:270px;max-height:calc(100dvh - 350px)}.drawer-scroll{display:block}.sound-grid{grid-template-columns:90px repeat(var(--segments),minmax(155px,1fr))}.sound-row-name,.sound-axis{font-size:10px}.generation-wait{top:39%;gap:6px;font-size:11px;padding:7px 10px}.generation-wait .text-button{padding:7px 4px}.toast{bottom:275px}}@media(max-height:620px){body[data-page=compose]:not([data-input-expanded=true]) .story{max-height:170px}body[data-candidate-panel=true]:not([data-input-expanded=true]) .story{display:none}.layer-rack,.note-dialog{max-height:calc(100dvh - 280px)}.generation-wait{top:30%}}@media(max-height:620px)and (max-width:760px){.candidates{bottom:270px;max-height:135px;overflow-y:auto}.candidate-listen{padding:4px 9px}.candidate-sort-handle{height:26px}.candidate-heading{margin-bottom:4px}.candidate-foot,.growth-caption{display:none}.layer-rack,.note-dialog{bottom:256px;max-height:calc(100dvh - 275px)}}.timeline-heading,.clip-inspector-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.timeline-heading>div{flex:1}.timeline-heading h2{margin:4px 0}.layer-rack .drawer-scroll{display:block}.sound-grid-scroll{position:relative;overflow:auto;max-height:48dvh;overscroll-behavior:contain;scrollbar-width:thin}.score-grid{display:grid;grid-template-columns:180px repeat(var(--segments),minmax(245px,1fr));min-width:max-content;gap:8px;padding-bottom:8px}.track-corner,.score-track{position:sticky;left:0;z-index:4;background:#f2f5eafa;padding:12px 10px;border-radius:12px}.track-corner{position:sticky;top:0;z-index:7;font-size:12px}.track-corner small,.track-name small{display:block;color:#7c8e72;font-size:10px;line-height:1.7}.score-column{position:sticky;top:0;z-index:5;background:#f1f5e9f8;border-bottom:2px solid #b7c6ad}.score-column.is-editing{background:#e0ead7;border-color:#638353}.score-column.is-playing{box-shadow:inset 0 0 0 2px #91ac76}.score-column>button:not(.timeline-sort){display:block;width:100%;text-align:left;padding:5px 12px}.score-column small{display:block;font-size:10px;color:#728767;padding-top:5px}.timeline-sort{display:grid;place-items:center;width:100%;height:26px;touch-action:none;cursor:grab}.timeline-sort span{width:32px;height:4px;border-radius:3px;background:#a9b89d}.bar-ruler{display:grid;grid-template-columns:repeat(4,1fr);margin:4px 0;font-size:9px;color:#899d7d}.bar-ruler span{border-left:1px solid #c1cdb7;padding-left:8px}.track-name{display:flex;align-items:center;gap:6px;font-size:12px}.track-sort{font-size:20px;padding:4px;cursor:grab;touch-action:none}.track-controls{display:flex;align-items:center;gap:5px;margin-top:9px}.track-controls>button,.clip-quick-tools>button,.clip-transform-tools>button{border:1px solid #b4c3a8;border-radius:9px;min-width:32px;min-height:32px;padding:5px 8px;background:#fafbf4;font-size:11px}.track-controls>button[aria-pressed=true],.clip-quick-tools>button[aria-pressed=true]{color:#fff;background:#70865f}.track-controls>.volume-knob{position:relative;width:32px;height:32px;min-width:32px;border-radius:50%;border:3px solid #d8e0cf;background:#edf1e4;box-shadow:inset 0 1px 4px #5e785c24;touch-action:none;cursor:ns-resize}.volume-knob i{position:absolute;height:11px;width:2px;border-radius:2px;background:#5e7850;left:50%;top:2px;transform-origin:50% 11px;transform:translate(-50%) rotate(var(--volume-angle))}.score-cell{position:relative;min-height:100px;background:repeating-linear-gradient(90deg,#f3f5ed66 0 calc(25% - 1px),#c3d0b755 calc(25% - 1px) 25%);border:1px dashed #c8d2be;border-radius:12px}.cell-empty{display:grid;place-items:center;height:100%;color:#92a08a;font-size:11px}.score-clip{position:absolute;top:4px;bottom:4px;min-width:4px;border:1px solid var(--sound-color);border-radius:11px;padding:9px 11px;overflow:hidden;background:#f9fbf4f2;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.clip-title{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.score-clip svg{display:block;height:30px;width:100%;margin:5px 0;fill:var(--sound-color);pointer-events:none}.score-clip small{display:block;font-size:9px;white-space:nowrap;color:#819275;pointer-events:none}.clip-edge{position:absolute;top:0;bottom:0;width:9px;cursor:ew-resize}.clip-edge.left{left:0}.clip-edge.right{right:0}.clip-edge:after{content:"";position:absolute;top:42%;width:2px;height:14px;border-radius:2px;background:#a9b89d;left:3px}.score-clip.is-selected{box-shadow:inset 0 0 0 2px #728c5e}.score-clip.is-sounding{background:#e0ecd5}.score-clip.is-muted,.score-track.is-muted{opacity:.62}.timeline-dragging{opacity:.55}.timeline-target{outline:2px solid #72915d;outline-offset:-2px}.clip-drop-preview{position:absolute;top:4px;bottom:4px;z-index:6;border:2px dashed #648753;background:#e7f0dcdd;border-radius:10px;pointer-events:none;font-size:10px;padding:8px;overflow:hidden}.clip-drop-preview.invalid{border-color:#ab7159;background:#f4dfd8dd}.timeline-playhead{position:absolute;top:0;bottom:0;width:2px;background:#647e4c;z-index:3;pointer-events:none;box-shadow:0 0 3px #fff}.clip-inspector{border-top:1px solid #c7d2bc;margin-top:14px;padding-top:12px}.clip-inspector-heading>span{font-size:11px;color:#849477}.clip-quick-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;width:100%}.clip-quick-tools label{display:flex;align-items:center;gap:7px;font-size:10px}.clip-quick-tools input{width:80px}.clip-transform summary,.pending-selection summary{font-size:11px;cursor:pointer;padding:12px 0}.clip-fields{display:flex;flex-wrap:wrap;gap:12px}.clip-fields label{flex:1;min-width:110px;font-size:10px}.clip-fields input,.clip-fields select{display:block;width:100%;padding:7px;border-radius:8px;border:1px solid #bac9ab;background:#fafbf2;margin-top:4px}.clip-transform-tools{display:flex;flex-wrap:wrap;gap:8px}#clip-error,#keyboard-error{color:#98694f;font-size:11px}.input-modes{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 8px}.input-modes .mode-toggle{display:inline-flex;align-items:center;gap:6px;border:1px solid #b2c3a1;border-radius:18px;padding:7px 14px;font-size:11px;color:#47603c;background:#f2f5e7;transition:background .16s,color .16s,border-color .16s,box-shadow .16s}.input-modes .mode-toggle:hover{border-color:#7c9767;background:#e8efe0}.input-modes .mode-toggle.has-value:not([aria-pressed=true]){border-color:#799564;background:#e6eedb;color:#39522e;font-weight:500}.input-modes .mode-toggle[aria-pressed=true]{background:#5a7747;border-color:#466135;color:#f7f9f0;font-weight:500;box-shadow:0 3px 10px #38522b2e}.input-field-label{display:block;margin-top:8px;font-size:11px;color:#5b7150}.emotion-form{margin-top:8px;padding:12px 14px;border:1px solid #bdcbb0;border-radius:16px;background:#f3f6ead8}.emotion-form textarea{margin-top:6px;background:#fbfcf5}.music-options,.keyboard-input{margin-top:10px;padding:14px 16px;border:1px solid #b4c4a4;border-radius:16px;background:#ecf1e2e6}.music-options-header,.keyboard-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:10px}.music-options-title,.keyboard-title{display:block;font-size:12px;font-weight:500;color:#374f2f}.music-options-title small,.keyboard-title small{font-weight:400;font-size:10px;color:#6c8160;margin-left:6px}.music-options-summary{margin:4px 0 0;font-size:11px;color:#59704e;line-height:1.6}.music-options-actions{display:flex;align-items:center;gap:8px}.music-options-actions .secondary,.music-options-actions .primary{padding:7px 13px;font-size:11px}.music-options-hint,.keyboard-header p{margin:6px 0 10px;font-size:10px;color:#6a7f5e;line-height:1.6}.keyboard-header p{margin:4px 0 0}.music-options .option-group{border:0;margin:10px 0 0;padding:0}.music-options .option-group legend{font-size:11px;font-weight:500;color:#48603d;padding:0 0 6px}.option-pills{display:flex;flex-wrap:wrap;gap:7px}.option-pill{border:1px solid #b1c2a0;border-radius:18px;padding:6px 13px;font-size:11px;background:#f8faf0;color:#435b38;transition:background .15s,color .15s,border-color .15s,box-shadow .15s}.option-pill:hover,.contour-card:hover{border-color:#779263;background:#edf3e4}.option-pill[aria-pressed=true],.contour-card[aria-pressed=true]{background:#5a7747;border-color:#466135;color:#f7f9f0;font-weight:500;box-shadow:0 3px 10px #38522b29}.contour-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}.contour-card{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid #b1c2a0;border-radius:14px;background:#f8faf0;color:#435b38;font-size:11px;transition:background .15s,color .15s,border-color .15s,box-shadow .15s}.contour-bars{display:grid;grid-template-columns:repeat(6,7px);align-items:end;gap:3px;height:18px;padding-bottom:1px}.contour-bars i{display:block;width:7px;height:3px;border-radius:2px;background:currentColor;opacity:.82;transform:translateY(calc((1 - var(--step)) * 2.4px))}.choice-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px}.choice-tag{display:inline-flex;align-items:center;gap:5px;padding:4px 11px;border-radius:14px;border:1px solid #9ab186;background:#e3ecd8;color:#3d5732;font-size:10px;line-height:1.5;transition:background .15s,border-color .15s}.choice-tag:hover{background:#d6e4c7;border-color:#769260}.choice-tag.is-placeholder{border-style:dashed;border-color:#b2c2a2;background:#f3f6eb;color:#677d5b}.manual-parameters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:10px 0 8px}.manual-parameters label{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#4c6440}.manual-parameters input,.manual-parameters select{width:auto;min-width:78px;border:1px solid #b2c3a1;background:#fafbf3;border-radius:10px;padding:5px 9px;font-size:11px}.manual-parameters span{font-size:10px;color:#6c7f60}.manual-actions{display:flex;gap:8px;align-items:center}.manual-actions .secondary,.manual-actions .primary{padding:7px 13px;font-size:11px}body[data-page=input] .story:has(#keyboard-host),body[data-page=compose] .story:has(#keyboard-host){width:min(860px,calc(100% - 36px))}.growth-review{position:absolute;top:88px;right:24px;bottom:82px;z-index:14;width:360px;display:flex;flex-direction:column;overflow:hidden;border:1px solid #ffffffb3;border-radius:24px;background:#f7f8eff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 12px 48px #283d2520,inset 0 0 0 1px #647c4810}body[data-review-open=true] .story,body[data-review-open=true] .compose-tools,body[data-review-open=true] .growth-caption{display:none}.review-header{display:flex;align-items:flex-start;gap:12px;padding:24px 24px 18px;flex-shrink:0}.review-title-group{flex:1;min-width:0}.review-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:2px;color:#66795b}.review-eyebrow time{font-size:10px;letter-spacing:.5px;color:#7b886f}.review-title-group h2{font-size:24px;font-weight:400;line-height:1.5;margin:12px 0 8px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.review-stage{display:flex;align-items:center;gap:7px;font-size:11px;color:#547043}.review-stage:before{content:"";width:5px;height:5px;border-radius:50%;background:#73925e}.review-stage>span{color:#77856b}.review-close{width:30px;height:30px;margin:-7px -10px 0 0;flex-shrink:0;color:#6c7d60}.review-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bcc9ad transparent;padding:0 24px 20px}.diary-card{padding:17px 0 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.diary-card-head,.trajectory-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.growth-review h3{font-size:12px;font-weight:500;letter-spacing:1px;margin:0}.diary-card-head .text-button{font-size:10px;padding:5px 0 5px 10px}.diary-text{margin:10px 0 14px;font-size:13px;line-height:1.95;color:#46563e;white-space:pre-wrap;overflow-wrap:anywhere}.diary-text.is-empty{color:#7a866f;font-size:12px}.diary-origin summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;color:#5d7151;font-size:10px;padding:6px 0;list-style:none}.diary-origin summary::-webkit-details-marker{display:none}.diary-origin summary:before{content:"+";font-size:14px;width:10px}.diary-origin[open] summary:before{content:"−"}.diary-origin summary>span{margin-left:auto;font-size:9px;color:#7a886d}.diary-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.diary-tag{padding:4px 9px;border-radius:7px;background:#e9efdf;color:#657859;font-size:10px;line-height:1.5}.diary-form{display:grid;gap:12px;margin:12px 0}.diary-form label{font-size:11px;color:#637558;display:grid;gap:7px}.diary-form input,.diary-form textarea{width:100%;border:1px solid #b8c7aa;border-radius:10px;padding:10px 12px;background:#ffffffb3;font-size:12px;color:#33482c;line-height:1.8}.diary-form textarea{resize:vertical;min-height:100px;max-height:240px}.diary-form-actions{display:flex;justify-content:flex-end;gap:8px}.diary-form-actions button{padding:9px 16px;font-size:11px}.growth-trajectory{margin-top:22px}.trajectory-heading{margin-bottom:14px}.trajectory-heading>span{font-size:10px;color:#7d8b71}.trajectory-steps{list-style:none;margin:0;padding:0;display:grid;gap:4px}.trajectory-step{position:relative}.trajectory-step:not(:last-child):after{content:"";position:absolute;left:22px;top:43px;bottom:-17px;width:1px;background:#ced9c2;pointer-events:none}.trajectory-step button{position:relative;width:100%;text-align:left;display:flex;align-items:center;gap:12px;padding:10px 8px;border-radius:12px;border:1px solid transparent;background:transparent;color:#6d7d62;transition:background .15s,border-color .15s}.trajectory-step button:hover{background:#eaf0e2}.trajectory-step.is-active button{background:#e5eddb;border-color:#becdad;color:#3e5c32}.step-dot{z-index:1;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid #c8d5bc;background:#f4f7eb;color:#7a8b6a;font:11px Georgia,serif;flex-shrink:0}.trajectory-step.is-passed .step-dot{background:#e6eedb;color:#698257}.trajectory-step.is-active .step-dot{background:#607b4e;border-color:#607b4e;color:#fffdf4;box-shadow:0 0 0 4px #607b4e0d}.step-body{min-width:0;flex:1;display:grid;gap:4px}.step-body strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.step-body small{font-size:10px;color:#7b886f;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.step-state{font-size:9px;color:#849079;flex-shrink:0}.trajectory-step.is-active .step-state{color:#60784e}.review-footer{flex-shrink:0;padding:15px 24px 12px;background:#f1f4e9;border-top:1px solid var(--line)}.trajectory-current{min-width:0;display:grid;gap:5px;margin-bottom:12px}.trajectory-current strong{font-size:11px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.trajectory-current span{font-size:10px;color:#7b886e;line-height:1.6;max-height:3.2em;overflow-y:auto;scrollbar-width:thin}.trajectory-controls{display:flex;align-items:center;gap:8px}.trajectory-controls .primary{flex:1;padding:10px 12px;font-size:11px}.trajectory-controls .secondary{padding:9px 10px;font-size:10px;border-color:#becbad}.review-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}.review-actions .text-button{font-size:10px;padding:6px 0}@media(max-width:760px){.score-grid{grid-template-columns:145px repeat(var(--segments),225px);gap:5px}.score-track{padding:8px 6px}.track-controls{gap:3px}.track-controls>button{min-width:29px;padding:4px}.track-corner{font-size:11px;padding:8px}.track-corner small{font-size:9px}.sound-grid-scroll{max-height:43dvh}.clip-inspector-heading>span{width:100%}.timeline-heading .secondary{padding:8px;font-size:10px}.contour-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.growth-review{inset:auto 12px 116px;width:auto;height:min(48dvh,430px,calc(100dvh - 376px));border-radius:22px}.review-header{padding:16px 18px 12px}.review-title-group h2{margin:6px 0;font-size:19px;-webkit-line-clamp:1}.review-eyebrow{font-size:9px}.review-scroll{padding:0 18px 16px}.diary-card{padding:12px 0}.diary-text{margin:7px 0 10px;font-size:12px}.growth-trajectory{margin-top:16px}.review-footer{padding:10px 18px 8px}.trajectory-current{margin-bottom:8px;gap:2px}.trajectory-current span{max-height:1.6em}.review-actions{margin-top:4px}.review-actions .text-button,.diary-card-head .text-button{min-height:32px}}.story{border:1px solid #ffffff80;background:#f7f8eedb;box-shadow:0 8px 32px #344a2a12}.secondary{transition:background .18s,border-color .18s}.secondary:hover:not(:disabled){background:#e8efdf;border-color:#859d73}.top-actions{gap:12px;padding:4px 8px 4px 14px;border:1px solid #ffffff66;border-radius:24px;background:#f4f7e9a8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.quality-settings[open]{position:absolute;right:0;top:0;min-width:150px;box-shadow:0 8px 30px #344a2a20}body[data-page=garden] .story{top:auto;left:32px;bottom:88px;width:340px;padding:22px;max-height:min(340px,calc(100dvh - 170px))}body[data-page=garden] .story h1{font-size:28px;margin-bottom:12px}body[data-page=garden] .story .intro{margin-bottom:18px}body[data-page=memory] .story{top:auto;left:32px;bottom:88px;width:330px;padding:22px;max-height:min(40dvh,340px)}.memory-eyebrow{display:block;font-size:10px;letter-spacing:1px;color:#7c8b70;margin-bottom:10px}body[data-page=memory] .story h1{font-size:25px;line-height:1.55;margin-bottom:10px}body[data-page=memory] .story .intro{font-size:10px;margin:8px 0 16px}body[data-page=memory] .story .manual-actions{gap:8px}body[data-page=memory] .story .manual-actions button{font-size:11px;padding:9px 13px}.library-list button{transition:background .18s,border-color .18s;padding:16px}.library-list button:hover{border-color:#8ca478;background:#eef3e5}.candidate:nth-child(2){translate:none}.candidate-listen{padding-top:8px}.candidate-sort-handle span{background:#a8b79a}.compose-tools{border-color:#ffffffa3;background:#f7f8eff2}.compose-tools:not(:has(.confirmation-tools)) .composition-summary{margin-bottom:0}.summary-facts{color:#718365;gap:4px}@media(min-width:1500px){.growth-review{width:390px;right:32px;top:96px;bottom:88px}}@media(min-width:761px)and (max-height:650px){.growth-review{top:72px;bottom:76px}.review-header{padding:16px 20px 12px}.review-title-group h2{font-size:20px;margin:6px 0;-webkit-line-clamp:1}.review-scroll{padding-left:20px;padding-right:20px}.review-footer{padding:10px 20px}.trajectory-current span{max-height:1.6em}}@media(max-width:760px){.top-actions{gap:4px;padding:2px 5px}body[data-page=garden] .story{left:16px;right:16px;width:auto;bottom:128px;padding:18px;max-height:min(320px,calc(100dvh - 210px))}body[data-page=memory] .story{left:12px;right:12px;width:auto;bottom:116px;padding:16px 18px;max-height:34dvh}body[data-page=memory] .story h1{font-size:21px}}@media(max-width:760px)and (max-height:520px){.growth-review{inset:68px 12px 68px auto;width:44%;height:auto}.review-header{padding:12px 16px 10px}.review-title-group h2{font-size:16px}.review-scroll{padding:0 16px 12px}.review-footer{padding:8px 12px}.trajectory-current{display:none}.trajectory-controls{gap:5px}.trajectory-controls .secondary{padding:8px 6px}body[data-review-open=true] .bottom-bar{left:12px;right:auto;bottom:8px;width:calc(54% - 24px)}body[data-review-open=true] .creation-navigation{padding:3px}body[data-review-open=true] .player{left:auto;right:12px;transform:none;bottom:8px;width:44%}}@media(max-width:760px)and (min-height:521px)and (max-height:620px){.review-header{padding:8px 16px}.review-title-group h2{margin:0;font-size:15px}.review-eyebrow,.review-stage,.trajectory-current{display:none}.review-close{margin-top:-3px}.diary-card{padding-top:0}.diary-card-head .text-button{min-height:26px}.review-footer{padding:6px 14px}.trajectory-controls .primary,.trajectory-controls .secondary{padding:7px 8px}.review-actions .text-button{min-height:24px;padding:2px 0}}.note-workbench{color:#33482d;outline-offset:3px}.note-workbench .ne-help,.note-workbench .ne-empty{margin:6px 0;font-size:11px;color:#5b7150;line-height:1.6}.ne-scroll{max-height:196px;overflow:auto;border:1px solid #b4c3a4;border-radius:12px;background:#f6f8ee;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-width:thin;scrollbar-color:#93a784 #e8ede0}.ne-roll{display:grid;grid-template-columns:64px minmax(680px,1fr);grid-template-rows:28px auto;min-width:744px;position:relative}.ne-corner{position:sticky;left:0;top:0;z-index:5;background:#e3ebda;font-size:10px;color:#4c6440;padding:6px;border-bottom:1px solid #c5d1b8}.ne-ruler{display:grid;grid-template-columns:repeat(16,1fr);position:sticky;top:0;z-index:4;background:#ebf1e3;border-bottom:1px solid #c5d1b8}.ne-ruler span{border-left:1px solid #ccd6c1;font-size:10px;color:#586f4c;padding:6px 4px;white-space:nowrap}.ne-ruler .is-bar{border-left:2px solid #7f9470;font-weight:600;color:#39502f}.ne-pitch-labels{position:sticky;left:0;z-index:3;background:#edf2e5}.ne-pitch-labels span{display:block;box-sizing:border-box;height:24px;padding:4px 7px;border-top:1px solid #d4ddca;font-size:10px;color:#4e6542}.ne-pitch-labels .is-c{background:#dde7d2;font-weight:600;color:#344a2a}.ne-grid{position:relative;height:calc(var(--ne-rows) * 24px);outline-offset:-2px;background:repeating-linear-gradient(to right,#81956d44 0 2px,transparent 2px 25%),repeating-linear-gradient(to right,#aebca055 0 1px,transparent 1px 6.25%),repeating-linear-gradient(to right,#c5cdb738 0 1px,transparent 1px 1.5625%)}.ne-row{height:24px;box-sizing:border-box;border-top:1px solid #cad4bf70;pointer-events:none}.ne-row.is-black{background:#82947510}.note-workbench .ne-note{position:absolute;height:20px;min-width:0;padding:0 8px 0 4px;border:1px solid #5f7a49;border-radius:5px;color:#1f311a;background:#a8be8f;font-size:10px;line-height:18px;overflow:hidden;white-space:nowrap;text-align:left;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;box-shadow:0 1px 3px #2e45231f}.note-workbench .ne-note.is-selected{background:#5a7747;color:#f7f9f0;border-color:#3d562d;box-shadow:0 0 0 1px #3d562d;z-index:2}.note-workbench .ne-note.is-invalid{border-color:#9c3d2e;background:#b97e5e;color:#fff}.ne-resize{position:absolute;right:0;top:0;bottom:0;width:8px;cursor:ew-resize;border-left:1px solid #ffffff70;background:#ffffff35}.ne-keyboard{display:flex;overflow-x:auto;gap:2px;padding:6px 2px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#93a784 transparent}.note-workbench .ne-key{flex:1 0 22px;min-height:44px;padding:18px 2px 4px;border:1px solid #b5c4a5;border-radius:0 0 6px 6px;background:#fafbf3;color:#3c5334;font-size:9px;text-align:center;transition:background .12s}.note-workbench .ne-key:hover{background:#e7efe0}.note-workbench .ne-key.is-black{background:#43573c;border-color:#34462e;color:#f4f7ec;min-height:32px;align-self:flex-start;padding-top:6px}.note-workbench .ne-key.is-black:hover{background:#536b4a}.ne-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}.note-workbench .ne-toolbar button{padding:6px 13px;border:1px solid #aac098;border-radius:16px;color:#3c5433;background:#f4f7ec;font-size:11px;transition:background .15s}.note-workbench .ne-toolbar button:hover:not(:disabled){background:#e3ecd8}.note-workbench button:disabled{cursor:default;opacity:.48}.ne-toolbar label,.ne-properties label{display:inline-flex;flex-direction:row;align-items:center;gap:5px;font-size:11px;color:#4c6440}.ne-properties{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 12px;border:1px solid #c0ceb1;border-radius:12px;background:#f4f7eb99;margin:4px 0 0}.ne-properties legend{padding:0 6px;font-size:10px;color:#5b7150}.note-workbench input,.note-workbench select{box-sizing:border-box;width:68px;padding:4px 7px;border:1px solid #b1c2a0;border-radius:8px;background:#fbfcf5;color:#33482d;font-size:11px}.ne-properties select{width:82px}.ne-status{min-height:18px;margin:6px 0 0;font-size:10px;color:#5d7352;line-height:1.5}.ne-status.is-error{color:#8e382c}@media(max-width:600px){.ne-scroll{max-height:168px}.ne-properties{gap:6px}.note-workbench .ne-help{font-size:10px}}.diary-moments{margin:24px 0 8px;padding-top:20px;border-top:1px solid #cdd5be}.moments-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;color:#516645;font-size:12px}.moments-heading small{font:10px Georgia,serif;color:#849078}.diary-place{display:flex;gap:8px;align-items:flex-start;margin:0 0 16px;font-size:11px;color:#708167;overflow-wrap:anywhere}.diary-place svg{width:14px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5}.polaroid-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;padding:4px 4px 12px}.polaroid-gallery.is-single{grid-template-columns:minmax(0,1fr);max-width:244px;margin-inline:auto;padding-left:12px;padding-right:12px}.polaroid{--photo-filter: saturate(.78) contrast(.9) sepia(.13) brightness(1.06);position:relative;margin:0;padding:8px 8px 0;background:#fffcf5;box-shadow:0 4px 14px #37442d12,0 1px 3px #37442d0c;transform:rotate(-2deg);min-width:0}.polaroid:nth-child(2n){transform:rotate(2deg)}.polaroid:nth-child(3n){transform:rotate(-1deg)}.polaroid[data-filter=warm]{--photo-filter: sepia(.3) saturate(.85) contrast(.88) brightness(1.08)}.polaroid[data-filter=mist]{--photo-filter: saturate(.62) contrast(.82) brightness(1.1) hue-rotate(12deg)}.polaroid[data-filter=mono]{--photo-filter: grayscale(1) contrast(.9) brightness(1.04)}.polaroid-image{position:relative;width:100%;aspect-ratio:1;overflow:hidden;background:#e9e7dd;display:grid;place-items:center}.polaroid-image img{display:block;width:100%;height:100%;object-fit:cover;filter:var(--photo-filter)}.polaroid-image img[hidden]{display:none}.polaroid-image:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,#f5dfb917,transparent 55%,#38564210);box-shadow:inset 0 0 20px #48351c0c}.photo-status{padding:12px;font-size:10px;line-height:1.7;text-align:center;color:#7b826f}.polaroid figcaption{min-height:40px;display:grid;place-items:center;font-family:KaiTi,STKaiti,Georgia,serif;font-size:12px;line-height:1.6;color:#718063;text-align:center;overflow-wrap:anywhere;padding:8px 2px}.polaroid figcaption input{border:0;border-bottom:1px solid #d8dccd;border-radius:0;background:transparent;padding:4px 0;font:inherit;color:inherit;width:100%;text-align:center}.polaroid-tools{display:flex;justify-content:space-between;gap:4px;padding:0 0 8px}.polaroid-tools select{width:100%;min-height:32px;padding:4px 2px;border:0;border-radius:4px;background:#f2f1e7;font-size:10px;color:#637655}.polaroid-tools label{min-width:0;flex:1}.polaroid-tools .text-button{padding:4px;font-size:10px;min-height:32px}.photo-upload{display:flex!important;align-items:center;justify-content:center;gap:8px!important;padding:14px 8px;margin-top:8px;border:1px dashed #abbba0;border-radius:10px;color:#5b7350;cursor:pointer;background:#f9faf26b;font-size:12px}.photo-upload svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3}.photo-upload input[type=file]{position:absolute;opacity:0;width:1px;height:1px;padding:0}.photo-upload:focus-within{outline:2px solid #5d784b;outline-offset:3px}.photo-upload:hover{background:#e9f0df}.photo-upload.is-disabled{cursor:default;opacity:.65}.photo-local-note,.moments-empty{margin:8px 0;font-size:10px;line-height:1.8;color:#7e8c72}.diary-location-field{position:relative;display:grid;gap:7px}.diary-location-head{display:flex;align-items:center;justify-content:space-between}.diary-location-field .text-button{min-height:28px;font-size:10px;padding:2px 0}.diary-form .diary-moments{margin-top:4px}.diary-error{font-size:11px;color:#8d4d3d;line-height:1.8;margin:8px 0}.seed-choices{padding:0;border:0;margin:8px 0 20px;min-width:0}.seed-choices legend{width:100%;padding:0;font-size:15px;color:#425839}.seed-choices legend small{display:block;font-size:10px;color:#7a896f;margin-top:6px}.seed-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}.seed-choice{min-width:0;padding:8px 4px 12px;display:flex;align-items:center;flex-direction:column;gap:4px;border:1px solid #cbd6be;border-radius:14px;background:#fbfcf47a;color:#607451;transition:background .15s,border-color .15s}.seed-choice svg{width:58px;height:72px;max-width:100%}.seed-choice strong{font-size:11px;font-weight:500}.seed-choice small{display:none}.seed-choice:hover{background:#edf3e5;border-color:#9daf8a}.seed-choice.is-selected{background:#e2ecd7;border-color:#6f8959;box-shadow:inset 0 0 0 1px #6f8959;color:#3c572d}.seed-auto{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 8px 0;border:0;background:transparent;color:#7c8a70;font-size:10px}.seed-radio{width:11px;height:11px;border:1px solid #a6b69a;border-radius:50%}.seed-auto[aria-pressed=true] .seed-radio{box-shadow:inset 0 0 0 2px #f7f8ee;background:#6f875a;border-color:#6f875a}.export-note{font-size:11px;line-height:1.8;color:#78866d}.export-progress{display:block;width:100%;height:6px;margin:20px 0 12px;accent-color:#6b8456}.audio-export-status{font-size:12px;color:#596f4d;min-height:24px}@media(max-width:380px){.seed-choice-grid{gap:4px}.seed-choice strong{font-size:10px}}@media(max-width:760px)and (min-height:621px){.growth-review:has(.polaroid),.growth-review:has(.diary-form){height:min(72dvh,calc(100dvh - 188px))}}@media(prefers-reduced-motion:reduce){.seed-choice{transition:none}}.garden-dialog.biome-preview-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden;color:#364b31}.garden-dialog.biome-preview-dialog::backdrop{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.biome-preview{position:relative;width:100%;height:100%;font-family:inherit}.biome-gallery-heading{position:absolute;top:9%;left:50%;transform:translate(-50%);width:min(600px,calc(100% - 48px));text-align:center;pointer-events:none;z-index:2}.biome-gallery-heading>span{font-size:10px;letter-spacing:.16em;color:#7c8d70}.biome-gallery-heading #biome-preview-title{font-size:clamp(25px,3vw,40px);font-weight:400;margin:16px 0 8px;letter-spacing:-.01em}.biome-gallery-heading p{font-size:12px;margin:0;color:#819075}.biome-close{position:absolute;right:32px;top:24px;z-index:3;display:flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid #cbd4bf;border-radius:24px;background:#f8faefb8;color:#627555;font-size:11px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.biome-close svg,.biome-navigation>button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.4}.biome-gesture-surface{position:absolute;inset:22% 0 27%;z-index:1;cursor:grab;touch-action:pan-y;border-radius:40%;outline-offset:-8px}.biome-gesture-surface:active{cursor:grabbing}.biome-gallery-footer{position:absolute;left:50%;bottom:3%;transform:translate(-50%);z-index:2;width:min(560px,calc(100% - 32px));text-align:center}.biome-caption{pointer-events:none}.biome-caption>span{font-size:10px;color:#7d8d70;letter-spacing:.12em}.biome-caption #biome-preview-name{font-size:25px;font-weight:400;margin:8px 0;color:#425b38}.biome-caption #biome-preview-description{font-size:12px;margin:8px 0;line-height:1.8;color:#6c7f5e}.biome-caption small{font-size:10px;color:#8a957e}.biome-navigation{display:flex;justify-content:center;align-items:center;gap:24px;margin-top:16px}.biome-navigation>button{display:grid;place-items:center;width:36px;height:36px;padding:8px;border-radius:50%;background:#f8faef8c;border:1px solid #c4cfb8;color:#688057}.biome-dots{display:flex;align-items:center}.biome-dots button{width:28px;height:28px;border:0;padding:10px;background:transparent}.biome-dots button span{display:block;width:6px;height:6px;border-radius:50%;background:#b9c4ab;transition:background .2s,transform .2s}.biome-dots button[aria-pressed=true] span{background:#60784b;transform:scale(1.35)}.biome-entry-status{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:12px;font-size:10px;color:#8a967e}.biome-entry-status button{padding:6px 12px;border-radius:16px;border:1px solid #d0d7c4;background:#f6f8ed9c;color:#8b977e;font-size:10px;cursor:default}.biome-entry-status button:not(:disabled){background:#627b50;color:#fffdf4;border-color:#627b50;cursor:pointer;padding:10px 24px}.biome-preview-dialog[data-state=entering] .biome-gesture-surface,.biome-preview-dialog[data-state=entering] .biome-navigation{pointer-events:none}.biome-preview-dialog[data-state=entering] .biome-close{visibility:hidden}.biome-preview-dialog[data-state=entering] .biome-gallery-heading{opacity:0;transition:opacity .3s}.biome-preview-dialog[data-state=entering] .biome-gallery-footer{opacity:0;transition:opacity .3s;pointer-events:none}.library-biome{margin:20px 0}.library-biome h3{font-size:13px;font-weight:500;display:flex;justify-content:space-between;color:#5b7450}.library-biome h3 small{color:#8b987e;font-size:10px}.library-biome p{margin:10px 0}.biome-preview-dialog[data-state=closing]{pointer-events:none}.biome-preview-dialog[data-state=closing] .biome-gallery-heading,.biome-preview-dialog[data-state=closing] .biome-gallery-footer,.biome-preview-dialog[data-state=closing] .biome-close{opacity:0;transition:opacity .2s}body[data-biome-preview=true] .topbar,body[data-biome-preview=true] .story,body[data-biome-preview=true] .bottom-bar,body[data-biome-preview=true] .player,body[data-biome-preview=true] .vignette,body[data-biome-preview=true] .toast{visibility:hidden}.seed-flow-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.seed-flow-header>span{color:#7c8e6d;font-size:10px;letter-spacing:.12em}.seed-flow-header .text-button{font-size:11px;padding:4px 0}.seed-flow-next{display:flex;justify-content:flex-end;margin-top:20px}.seed-flow-next .primary{padding:12px 24px}body[data-page=input][data-seed-step=choose] .story{width:min(680px,calc(100% - 40px));top:50%;transform:translate(-50%,-50%);padding:32px}body[data-seed-step=choose] .seed-choices{margin:0}body[data-seed-step=choose] .seed-choices legend{font-size:22px}body[data-seed-step=choose] .seed-choices legend small{font-size:11px;margin-top:8px}body[data-seed-step=choose] .seed-choice-grid{gap:12px;margin-top:24px}body[data-seed-step=choose] .seed-choice{padding:16px 8px;border-radius:18px}body[data-seed-step=choose] .seed-choice svg{width:80px;height:104px}body[data-seed-step=choose] .seed-choice strong{font-size:12px}body[data-seed-step=choose] .seed-auto{padding-top:20px;font-size:11px}@media(max-width:760px){.biome-gallery-heading{top:9%}.biome-close{top:16px;right:16px;padding:8px 12px}.biome-gallery-heading #biome-preview-title{font-size:26px}.biome-gesture-surface{inset:25% 0 32%}.biome-gallery-footer{bottom:5%}.biome-caption #biome-preview-name{font-size:22px}.biome-caption #biome-preview-description{max-width:320px;margin-inline:auto}body[data-page=input][data-seed-step=choose] .story{padding:24px 20px;width:calc(100% - 24px)}body[data-seed-step=choose] .seed-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body[data-seed-step=choose] .seed-choice{padding:8px}body[data-seed-step=choose] .seed-choice svg{width:64px;height:80px}.seed-flow-next .primary{width:100%}}@media(max-height:620px){.biome-gallery-heading{top:6%}.biome-gallery-heading #biome-preview-title{margin:8px 0;font-size:24px}.biome-gallery-heading p{display:none}.biome-gallery-footer{bottom:3%}.biome-caption #biome-preview-description,.biome-caption small,.biome-entry-status>span{display:none}.biome-caption #biome-preview-name{margin:4px;font-size:20px}.biome-navigation{margin-top:8px}.biome-entry-status{margin-top:4px}body[data-seed-step=choose] .seed-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.biome-dots button span,.biome-preview-dialog[data-state=closing] *{transition:none}}
