@font-face{font-family:Bricolage;src:url(assets/fonts/bricolage.woff2) format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:DM Sans;src:url(assets/fonts/dm-sans.woff2) format("woff2");font-weight:100 1000;font-display:swap}
:root{--paper:#fcfaf6;--ink:#302c33;--muted:#706b71;--line:#dedad4;--coral:#f58b70;--purple:#b99bd5;--round:Bricolage,"Arial Rounded MT Bold",sans-serif;--body:"DM Sans",Arial,sans-serif;--width:1120px;color:var(--ink);font:16px/1.45 var(--body);background:var(--paper);scroll-behavior:smooth}
*,*:before,*:after{box-sizing:border-box}body{margin:0}button,textarea,input,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{background:none;border:0;padding:0;cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #795d9f;outline-offset:3px}button:disabled{opacity:.4}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}.wrap{width:min(calc(100% - 96px),var(--width));margin:auto}h1,h2,h3,p{margin:0}h1,h2,h3,.footer-brand,.voice-info strong{font-family:var(--round)}.sound-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid #d9d5ce;border-radius:24px;background:#fffdf8;padding:7px 13px;font-size:13px;font-weight:650}.sound-pill .icon{width:16px;height:16px}.sound-pill[aria-pressed=true]{background:#eeeae3;color:#635e64}.icon-btn{width:36px;height:36px;display:inline-grid;place-items:center;border-radius:10px}.icon-btn:not(:disabled):hover,.reset-btn:hover{background:#eeeae5}.help-btn{width:32px}.help-btn .icon{width:21px;height:21px}
.intro{min-height:167px;display:flex;justify-content:space-between;align-items:center;position:relative;gap:25px;padding:19px 10px 17px 0}.intro h1{font-size:clamp(42px,4.45vw,66px);line-height:.99;font-weight:755;letter-spacing:-.045em}.intro h1 span{color:#e48268}.intro p,.section-head p{color:var(--muted);font-size:16px;margin-top:9px;letter-spacing:-.18px}.key-art{width:clamp(220px,25vw,310px);height:auto;display:block;max-height:142px}.console{border:1.4px solid #b2a8b9;border-radius:18px;background:#f7f3fa;box-shadow:0 4px 0 #ddd6e2;overflow:hidden;position:relative;isolation:isolate}.console-head{height:49px;padding:0 21px 0 25px;display:flex;align-items:center;justify-content:space-between;position:absolute;inset:0 0 auto;z-index:3;pointer-events:none}.console-head>*{pointer-events:auto}.live-label,.lang,.tools{display:inline-flex;align-items:center}.live-label{gap:8px;font-family:var(--body);font-weight:720;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#635869}.live-label i{width:8px;height:8px;border-radius:50%;background:#d7766c;box-shadow:0 0 0 3px #eedbdc}.console[data-playing=true] .live-label i{background:#c26d59;animation:pulse .65s ease-in-out infinite alternate}.tools{gap:10px}.tools .icon-btn{width:29px;height:29px;color:#6b6074}.tools .icon-btn:hover{background:#e9e1ef}.tools .icon{width:15px;height:15px}.vline{height:15px;width:1px;background:#cec5d6}.lang{color:#655b6b;gap:5px;font-weight:580;font-size:12px}.lang span{font-size:9px;letter-spacing:.3px;border:1px solid #d3cbd8;padding:0 3px;border-radius:3px}
.stage{min-height:237px;padding:55px 24px 34px;display:grid;align-items:center;position:relative;cursor:text;background-color:#f7f3fa;background-image:radial-gradient(#dcd3e3 .8px,transparent .9px);background-size:13px 13px}.deco,.deco svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.deco{transition:opacity .22s}.stage.has-text .deco{opacity:.21}.demo{position:absolute;left:0;right:0;top:51%;transform:translateY(-50%);text-align:center;pointer-events:none;z-index:1}.hello{display:flex;justify-content:center;align-items:center;font-family:var(--round);font-size:clamp(82px,7.5vw,111px);line-height:1.05;font-weight:800;letter-spacing:-.04em;user-select:none}.hello span{display:inline-block;color:var(--color);text-shadow:-1px 0 #493c49,1px 0 #493c49,0 -1px #493c49,0 1px #493c49,0 2px #493c49,0 3px #493c49;transform:translateY(var(--shift,0)) rotate(var(--tilt,0deg))}.hello span:nth-child(1){--color:#b69bd7;--tilt:-8deg;--shift:2px}.hello span:nth-child(2){--color:#f2a18b;--tilt:7deg;--shift:2px}.hello span:nth-child(3){--color:#eac46c;--tilt:-6deg;--shift:-3px}.hello span:nth-child(4){--color:#9fbda5;--tilt:5deg;--shift:1px}.hello span:nth-child(5){--color:#9cb9d7;--tilt:-5deg;--shift:2px}.hello span:nth-child(6){--color:#e8a5be;--tilt:8deg;--shift:-4px}.hello i{width:2.5px;height:.65em;display:block;background:#766581;margin-left:13px;border-radius:2px;animation:cursor 1.4s steps(1) infinite}.demo small{display:block;font-size:13px;color:#736a7d;margin-top:12px}.editor-box{width:100%;position:relative;z-index:2;min-width:0;align-self:center}.text-face{font-family:var(--round);font-size:clamp(40px,5.3vw,70px);font-weight:700;text-align:center;line-height:1.23;letter-spacing:-.035em;font-kerning:none;font-variant-ligatures:none;white-space:pre-wrap;overflow-wrap:break-word;word-break:break-word;tab-size:4;padding:2px 5px;margin:0;border:0;width:100%;background:none}.editor-box textarea{position:relative;display:block;resize:none;outline:none;color:transparent;caret-color:#513d5b;min-height:1.23em;height:1.23em;max-height:220px;overflow-y:auto;scrollbar-width:none;border-radius:0;box-shadow:none}.editor-box textarea::-webkit-scrollbar{display:none}.editor-box textarea::selection{background:#c0a5de77;color:transparent}.mirror{position:absolute;inset:0;overflow:hidden;pointer-events:none;color:#50425b}.mirror span{position:relative}.stage:not(.has-text) textarea{caret-color:transparent}.has-text .demo,.demo[hidden]{display:none}.stage:focus-within{box-shadow:inset 0 0 0 2px #ad94c0}.stage[data-long=true] .text-face{font-size:clamp(27px,3.2vw,43px)}.pop-letter{animation:ink-print .34s cubic-bezier(.2,.7,.2,1)}.flying-letter{position:absolute;pointer-events:none;z-index:3;animation:leap .39s ease-out forwards;color:var(--color);font:800 30px/1 var(--round);text-shadow:0 1px #4a394a}.console-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:9px 17px 9px 24px;background:#fffdfb;border-top:1px solid #ddd5df}.tip,.transport,kbd,.listen{display:flex;align-items:center}.tip{gap:8px;color:var(--muted);font-size:13px}kbd{font:600 11px var(--body);gap:5px;color:#5d5860;background:#f7f5f2;border:1px solid #d6d1cd;border-bottom-width:2px;border-radius:5px;padding:3px 6px}kbd .icon{width:13px;height:13px}.transport{gap:9px}.transport #counts{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.transport .icon-btn{width:30px}.listen{color:white;background:#353039;padding:9px 15px;border-radius:9px;font-size:13px;font-weight:650;gap:7px;min-height:36px}.listen:hover{background:#504654}.listen .icon{width:14px;height:14px}
.cast,.sound-section{margin-top:39px;scroll-margin-top:16px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.section-head h2,.guide-head h2{font-size:32px;line-height:1.13;font-weight:770;letter-spacing:-1.5px;display:flex;align-items:center;gap:12px}.quantity{font:600 11px var(--body);letter-spacing:0;border:1px solid #d9d4ce;border-radius:20px;padding:3px 8px;color:#726b74}.section-head p{font-size:14px;margin-top:5px}.arrows{display:flex;gap:7px;flex:none}.arrows .icon-btn{border:1px solid #d6d0c8;background:#fffdf9;border-radius:50%;width:34px;height:34px}.arrows .icon{width:15px;height:15px}.rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 60px)/5);gap:15px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 2px 6px;margin:-3px -2px -6px}.rail::-webkit-scrollbar{display:none}.voice{position:relative;border:1px solid #d9d2cc;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;scroll-snap-align:start;text-align:left;background:#fffdfa;transition:transform .16s,border-color .16s;min-width:0}.voice:hover{transform:translateY(-2px);border-color:#a69a9b}.voice:focus-visible{outline-offset:-4px}.voice.selected{border-color:#bd674f;box-shadow:0 0 0 1px #c87661}.portrait{display:grid;place-items:center;width:100%;height:103px;background:var(--tint);overflow:hidden;position:relative;border-bottom:1px solid #2720270e}.portrait img{height:96px;width:115px;position:relative;z-index:1;transition:transform .23s cubic-bezier(.2,.6,.25,1.6)}.voice:hover .portrait img{transform:rotate(-3deg) translateY(-2px)}.portrait-dot{position:absolute;inset:0;background-image:radial-gradient(#66556948 .7px,transparent .8px);background-size:5px 5px;opacity:.47;mask-image:linear-gradient(122deg,#0007,transparent 42%,transparent 70%,#0008)}.portrait:before,.portrait:after{content:"";position:absolute;left:18%;top:34%;width:4px;height:4px;border-radius:50%;background:#54434d38}.portrait:after{left:auto;right:16%;top:64%;width:3px;height:3px}.select-mark{position:absolute;z-index:2;right:8px;top:8px;background:#3c3239;border-radius:50%;width:19px;height:19px;display:none;align-items:center;justify-content:center;color:#fff5e9}.select-mark .icon{width:13px;height:13px;stroke-width:2.7}.selected .select-mark{display:flex}.voice-info{padding:9px 13px 11px;display:grid;gap:1px}.voice-info strong{font-size:19px;line-height:1.15;letter-spacing:-.58px;font-weight:750}.voice-info small{font-size:12px;color:#706a71}.sound-section{margin-top:38px;margin-bottom:42px}.mix-board{border:1px solid var(--line);border-radius:15px;background:#fffdf9;display:grid;grid-template-columns:1fr 1fr}.fx-group,.mixer{padding:24px}.mixer{border-left:1px solid var(--line)}h3{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:720;letter-spacing:-.6px}h3 .icon{width:18px;height:18px;color:#75697a}.reset-btn{display:flex;align-items:center;gap:6px;color:#6a626a;font-size:12px;padding:8px;border-radius:8px}.reset-btn .icon{width:14px;height:14px}.chips,.switch-row{display:flex;flex-wrap:wrap;gap:7px}.chips{margin-top:13px}.chip{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;background:#fffdfb;padding:6px 10px;font-size:12px;min-height:32px}.chip .icon{width:14px;height:14px}.chip[aria-pressed=true]{border-color:#bf94a2;background:#fae5df;color:#653e3e}.listen-label{margin-top:21px}.switch-row{margin-top:10px;gap:15px}.switch-row label{font-size:12px;display:flex;gap:5px;align-items:center;cursor:pointer}.switch-row input{accent-color:#9974ab;width:15px;height:15px;margin:0}.ranges{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin-top:12px}.range{font-size:12px;display:grid;gap:5px}.range>span,.duo{display:flex;justify-content:space-between;align-items:center;gap:7px}.range output{color:#756b79;font-variant-numeric:tabular-nums}.range input{width:100%;height:17px;accent-color:#9675a8;margin:0;cursor:pointer}.duo{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:13px}.duo>span{display:flex;gap:6px;align-items:center}.duo .icon{width:16px}.duo select{border:1px solid #d5cfd5;background:#f9f6f8;padding:4px 7px;border-radius:6px;max-width:50%}.page-footer{border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.page-footer .wrap{min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:12px}.footer-brand{display:flex;align-items:center;gap:7px;font-weight:750;color:#484149;font-size:17px;letter-spacing:-.7px}.guide-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.guide-head h2{font-size:26px}dialog{background:var(--paper);color:var(--ink);border:1px solid #aa9bac;border-radius:18px;padding:24px;max-width:440px;width:calc(100% - 32px);box-shadow:0 14px 56px #2e223646}dialog::backdrop{background:#30283867;backdrop-filter:blur(3px)}dialog p{margin-top:14px;font-size:15px}dialog .minor{font-size:13px;color:#716679}.toast{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);padding:9px 17px;background:#39313c;color:white;border-radius:9px;z-index:20;font-size:13px;text-align:center;max-width:90vw;width:max-content;pointer-events:none;opacity:0;transition:opacity .2s}.toast.show{opacity:1}.console.enlarged{position:fixed;inset:24px;z-index:10;display:flex;flex-direction:column;box-shadow:0 0 0 100vmax #3028388c}.enlarged .stage{flex:1}.enlarged .editor-box textarea{max-height:60svh}.focus-mode{overflow:hidden}
@keyframes cursor{0%,65%,100%{opacity:1}70%,95%{opacity:.12}}@keyframes pulse{to{box-shadow:0 0 0 5px #eacdd2}}@keyframes ink-print{0%{color:#d77261;text-shadow:0 -4px #edbe9855}100%{text-shadow:0 0 transparent}}@keyframes leap{0%{opacity:.86;transform:translate(-50%,-35%) scale(.65)}65%{opacity:.8}100%{opacity:0;transform:translate(calc(-50% + var(--drift)),-125%) rotate(var(--angle)) scale(1.15)}}
@media(min-width:1550px){.wrap{--width:1180px}.intro{min-height:185px}.stage{min-height:257px}.portrait{height:113px}.portrait img{height:104px;width:124px}}
@media(max-width:950px){.wrap{width:calc(100% - 56px)}.rail{grid-auto-columns:calc((100% - 45px)/4)}.fx-group,.mixer{padding:18px}.intro{min-height:148px}.stage{min-height:220px}}
@media(max-width:680px){.wrap{width:calc(100% - 36px)}.sound-pill{height:34px;width:34px;justify-content:center;padding:0}.sound-pill span{display:none}.intro{padding:22px 0;min-height:123px;gap:0}.intro h1{font-size:clamp(34px,7.3vw,47px);letter-spacing:-.04em}.intro p{font-size:13px;max-width:235px;margin-top:7px}.key-art{width:28%;max-height:90px;flex-shrink:0}.rail{grid-auto-columns:calc((100% - 24px)/2.65);gap:10px}.portrait{height:89px}.portrait img{height:84px;width:101px}.section-head{gap:9px;margin-bottom:13px}.section-head h2{font-size:27px;gap:8px;letter-spacing:-1.3px}.section-head p{font-size:13px;max-width:300px}.quantity{font-size:10px;white-space:nowrap}.cast,.sound-section{margin-top:30px}.stage{min-height:215px;padding:55px 12px 40px}.demo{top:52%}.hello{font-size:84px}.demo small{font-size:12px;margin-top:8px}.console{border-radius:14px}.console-head{height:42px;padding:0 10px 0 15px}.live-label{font-size:9px}.console-foot{padding:8px 10px;min-height:54px}.tip{gap:5px;font-size:11px}.tip kbd{font-size:10px;padding:2px 4px;gap:3px}.tip kbd .icon{width:11px}.transport{gap:4px}.transport #counts{display:none}.listen{padding:8px 10px;min-height:34px;font-size:12px}.voice-info{padding:8px 9px 10px}.voice-info strong{font-size:17px}.voice-info small{font-size:11px}.arrows{gap:4px}.arrows .icon-btn{width:31px;height:31px}.mix-board{grid-template-columns:1fr}.mixer{border-left:0;border-top:1px solid var(--line)}.reset-btn{font-size:11px}.page-footer .wrap{font-size:10px}.console.enlarged{inset:8px}.enlarged .console-foot{padding-bottom:max(9px,env(safe-area-inset-bottom))}}
@media(max-width:420px){.wrap{width:calc(100% - 28px)}.intro h1{font-size:clamp(32px,8.8vw,37px)}.intro p{max-width:210px}.rail{grid-auto-columns:calc((100% - 18px)/2.3)}.arrows .icon-btn{width:29px;height:29px}.section-head p{max-width:245px}.key-art{width:26%}.tips{font-size:10px}}
@media(max-width:355px){.intro p{max-width:185px}.lang{font-size:11px}.transport .icon-btn{width:23px}.listen{padding:7px}.section-head h2{font-size:25px}.ranges{column-gap:12px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition:none!important}.flying-letter{display:none}}
body.still *,body.still *:before,body.still *:after{animation:none!important;transition:none!important}body.still .flying-letter{display:none}html:has(body.still){scroll-behavior:auto}

@media(max-width:680px){.stage:not(.has-text):before,.stage:not(.has-text):after{content:"✦";position:absolute;color:#b79dc8;font-size:16px;top:39%;left:7%;transform:rotate(8deg)}.stage:not(.has-text):after{left:auto;right:7%;top:63%;font-size:12px;color:#ce9b55}}
.recorder,.rec-actions,.rec-actions a,.rec-actions button,.rec-stop{display:flex;align-items:center;gap:8px}.recorder{margin-top:13px;padding:15px 20px;justify-content:space-between;border:1px solid var(--line);border-radius:13px;background:#fffdf9}.recorder h3{font-size:16px}.recorder h3 .icon{color:#bf715c}.recorder p{font-size:13px;color:var(--muted);margin-top:2px}.rec-actions a,.rec-actions button{font-size:12px;border:1px solid #d6ccc6;padding:8px 10px;border-radius:8px;background:#faf5f0;font-weight:630}.rec-actions .icon{width:15px;height:15px}.rec-stop{background:#fae2db;border:1px solid #d69e90;border-radius:6px;padding:3px 6px;color:#954b3c;font-size:11px;font-variant-numeric:tabular-nums}.rec-stop .icon{width:10px;height:10px}.recorder[hidden],.rec-stop[hidden],.rec-actions a[hidden]{display:none}
@media(max-width:680px){.recorder{align-items:flex-start;flex-wrap:wrap;padding:15px}.rec-actions{margin-left:auto}.rec-actions button,.rec-actions a{min-height:36px}}

.touch-hint{display:none}@media(pointer:coarse){.pointer-hint{display:none}.touch-hint{display:inline}}

.console-head .sound-pill{height:28px;padding:3px 9px;gap:6px;background:#fffaf98a;font-size:11px}
.console-head .sound-pill .icon{width:14px;height:14px}
.families{display:flex;align-items:center;gap:5px;margin:0 0 13px}
.families button{font-size:12px;font-weight:600;padding:5px 12px;border:1px solid transparent;border-radius:16px;color:var(--muted)}
.families button[aria-pressed=true]{border-color:#d6ccc4;background:#f4ece4;color:#44373d}
.families button:hover{background:#f3eee8}
.voice[hidden]{display:none}
@media(max-width:680px){.console-head .sound-pill{width:29px;height:29px;padding:0}.console-head .tools{gap:4px}.console-head .sound-pill span{display:none}.families{margin-bottom:10px}.families button{padding:6px 10px}}

.melody-trace{position:absolute;right:18px;bottom:3px;height:31px;pointer-events:none;color:#8b779d}
.melody-trace svg{display:block;overflow:visible}.melody-trace .staff{fill:none;stroke:#a999b4;stroke-width:.65;opacity:.42}
.melody-trace g{fill:currentColor}.melody-trace g path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.15}
@media(max-width:680px){.melody-trace{right:9px;bottom:3px}}
