:root{color-scheme:light;--room:#f3f0ea;--paper:#fdfbf7;--ink:#827a70;--peach:#dfa48e;--lavender:#b7a6d4;--blue:#97becd;--sage:#adc49f;--stroke:#dfa48e;--dock:#f8f5ef;--shadow:130,111,88;font-family:Segoe UI Variable,Segoe UI,system-ui,sans-serif;font-synthesis:none}.style-control{--style-color:#b9aaa0;position:relative;z-index:12}.style-button{display:flex;align-items:center;gap:9px;min-height:41px;padding:9px 13px;border-radius:16px;background:#faf7f0;color:#948678;border:1px solid #fff9;box-shadow:0 3px 8px #89725006;font-size:14px;font-weight:500;white-space:nowrap}.style-button>.icon{width:18px;height:18px;color:var(--style-color)}.style-button:hover,.style-button[aria-expanded=true]{background:#fffaf3;box-shadow:0 4px 14px #8972500d}.style-chevron{width:13px;height:13px;fill:none;stroke:#aa9d8e;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}.style-button[aria-expanded=true] .style-chevron{transform:rotate(180deg)}.style-options{position:absolute;top:calc(100% + 12px);right:0;width:264px;padding:7px;background:#fcf9f3;border:1px solid #fff;border-radius:22px;box-shadow:0 12px 35px #7e67451f,0 3px 8px #7e674507}.style-options button{width:100%;display:flex;align-items:center;gap:11px;background:transparent;color:#85796c;padding:10px;border-radius:15px;font-size:14px;text-align:left;white-space:nowrap}.style-options button:hover,.style-options button[aria-checked=true]{background:#f0e9df}.style-options button:focus-visible{outline-offset:-2px}.style-swatch{height:33px;width:33px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--option-color) 24%,#fffaf5);color:color-mix(in srgb,var(--option-color) 80%,#786858);box-shadow:inset 0 1px 2px #fff8}.style-swatch .icon{width:17px;height:17px}.style-check{width:5px;height:5px;flex-shrink:0;border-radius:50%;background:#b6a28d;margin-left:auto;opacity:0}.style-options [aria-checked=true] .style-check{opacity:1}@media (max-width:760px){.style-button{padding:8px 10px;gap:7px;font-size:12px}.style-options{width:254px}}@media (max-width:540px){.style-button{width:40px;height:40px;padding:10px;justify-content:center}.style-button #style-label,.style-chevron{display:none}.style-options{right:-100px}.top-actions{gap:5px!important}.volume-control input{width:50px}}*{box-sizing:border-box}body{margin:0;background:var(--room);color:var(--ink);overflow:hidden}button,input{font:inherit}button{border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid #9584b2;outline-offset:5px}button{position:relative}button:active:not(:disabled){transform:translateY(2px);transition-duration:80ms}button:disabled{opacity:.3}button[hidden],[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.studio{height:100dvh;min-height:460px;display:flex;flex-direction:column;padding:0 clamp(20px,3.6vw,64px);max-width:2100px;margin:auto}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 7px;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;user-select:none;font-size:25px;font-weight:600;letter-spacing:-1.2px;color:#82776a}.brand-mark{width:32px;fill:none;stroke:#b2a1c5;stroke-width:3.8;stroke-linecap:round}.brand-dot{color:#c9aa90}.top-actions{display:flex;align-items:center;gap:21px}.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border-radius:14px;color:#948a7e;transition:background .2s,transform .2s,color .2s}.icon-button:hover:not(:disabled){background:#eae4da;color:#746a60}.volume-control{display:flex;align-items:center;gap:1px}input[type=range]{width:75px;appearance:none;-webkit-appearance:none;background:transparent;height:26px;cursor:pointer}input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:#d9d0c4}input[type=range]::-webkit-slider-thumb{appearance:none;width:11px;height:11px;border-radius:50%;background:#ad9d89;margin-top:-4px;box-shadow:0 2px 3px #92795820}input[type=range]::-moz-range-track{height:3px;border-radius:4px;background:#d9d0c4}input[type=range]::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:#ad9d89}.paper{position:relative;flex:1;min-height:200px;isolation:isolate;border:1px solid #ffffffc9;border-radius:28px;background:var(--paper);overflow:hidden;box-shadow:0 2px 3px #8b745406,0 12px 40px #8b745408,inset 0 1px #fff}.paper:before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background-image:radial-gradient(#98887508 .65px,transparent .65px);background-size:6px 6px}canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:none}.empty-mark{position:absolute;top:47%;left:50%;transform:translate(-50%,-50%);pointer-events:none;opacity:.6;transition:opacity .6s}.empty-mark svg{width:91px;height:50px;fill:none;stroke-width:4.5;stroke-linecap:round}.empty-a{stroke:#d8c9d8}.empty-b{stroke:#e5cfc1}.empty-dot{display:block;width:5px;height:5px;background:#d7cbbb;border-radius:50%;margin:20px auto 0}.paper-corner{position:absolute;bottom:23px;right:24px;display:flex;gap:4px;align-items:end;opacity:.42;pointer-events:none}.paper-corner span{width:3px;background:#c8bbac;border-radius:4px;height:6px}.paper-corner span:nth-child(2){height:11px}.paper-corner span:nth-child(3){height:8px}.studio.is-playing .paper-corner span{animation:equalize 1.8s ease-in-out infinite}.studio.is-playing .paper-corner span:nth-child(2){animation-delay:.3s}.studio.is-playing .paper-corner span:nth-child(3){animation-delay:.6s}.playhead{position:absolute;inset:0 auto 0 0;width:1px;pointer-events:none;will-change:transform;background:linear-gradient(transparent 2%,#c7b7cf40 18%,#c7b7cf65 50%,#c7b7cf40 82%,transparent 98%)}.playhead:before{content:"";position:absolute;left:-26px;width:27px;top:0;bottom:0;background:linear-gradient(90deg,transparent,#d2c6db0c)}.playhead span{position:absolute;top:15px;left:-3px;width:7px;height:7px;border-radius:50%;background:#c2adc7;box-shadow:0 0 10px #c9b6d84d}.cursor{position:absolute;top:0;left:0;width:16px;height:16px;margin:-8px 0 0 -8px;border:1.5px solid var(--stroke);background:color-mix(in srgb,var(--stroke) 14%,transparent);border-radius:50%;pointer-events:none;display:none;z-index:3}.paper:hover .cursor.visible{display:block}.paper.erasing .cursor{width:30px;height:30px;margin:-15px 0 0 -15px;border-color:#b6aaa0;background:#eee8de66}.pending{position:absolute;top:21px;right:24px;display:flex;gap:4px;align-items:center;padding:8px}.pending span{height:4px;width:4px;border-radius:50%;background:#bcaacd;animation:pending 1.4s ease-in-out infinite}.pending span:nth-child(2){animation-delay:.2s}.pending span:nth-child(3){animation-delay:.4s}.bottom-area{height:143px;display:flex;align-items:center;justify-content:center;flex-direction:column;flex-shrink:0;gap:17px}.dock{display:flex;align-items:center;gap:15px;background:var(--dock);padding:12px 20px;border:1px solid #ffffffef;border-radius:28px;box-shadow:0 6px 10px #89725008,0 13px 30px #89725008,inset 0 1px #fff;min-height:90px}.palette{display:flex;gap:12px;align-items:center;padding:0 5px 0 0}.pebble{--base:#eac4b3;--dark:#a8745f;--light:#f8e2d5;width:47px;height:47px;border-radius:17px 18px 16px;color:var(--dark);background:linear-gradient(145deg,var(--light),var(--base));box-shadow:inset 0 2px 2px #fff8,inset 0 -3px 4px #74504912,0 3px 5px #7a5e4111;display:grid;place-items:center;transition:transform .24s,box-shadow .24s;isolation:isolate}.pebble .icon{width:21px;height:21px;opacity:.75}.pebble.lavender{--base:#c9b9e2;--dark:#8d79ac;--light:#e6ddf2;border-radius:18px 16px 18px 17px}.pebble.blue{--base:#b6d3dd;--dark:#6e98a8;--light:#dcebf0;border-radius:16px 19px 17px 18px}.pebble.sage{--base:#c2d4b7;--dark:#839b73;--light:#e2ecd8;border-radius:19px 17px 18px 16px}.pebble:hover{transform:translateY(-3px) rotate(-3deg)}.pebble.selected{transform:translateY(-3px);box-shadow:inset 0 2px 2px #fffa,inset 0 -3px 4px #74504912,0 5px 8px #7a5e4115}.pebble.selected:after{content:"";width:5px;height:5px;position:absolute;bottom:-10px;left:calc(50% - 2.5px);border-radius:50%;background:var(--dark);opacity:.6}.divider{height:26px;width:1px;background:#ded5c9;opacity:.65;margin:0 2px}.drawing-tools{display:flex;gap:1px}.icon-button[aria-pressed=true]{background:#ebe4da;color:#807266;box-shadow:inset 0 1px 3px #88735710}.play-button{width:66px;height:66px;flex-shrink:0;display:grid;place-items:center;margin:0 5px;border-radius:24px;color:#9f7760;background:linear-gradient(145deg,#f6e5c9,#e9ceaa);box-shadow:inset 0 2px 2px #fff8,inset 0 -4px 5px #b0844420,0 4px 7px #86633b14;transition:transform .2s,box-shadow .2s}.play-button>.icon{width:27px;height:27px}.play-button:hover{transform:translateY(-2px);box-shadow:inset 0 2px 2px #fff8,inset 0 -4px 5px #b0844420,0 7px 12px #86633b1c}.play-button[aria-pressed=true]{background:linear-gradient(145deg,#f0ddbd,#e5c8a3)}.play-orbit{position:absolute;inset:-5px;border:1px solid #ceb08844;border-radius:28px;opacity:0;pointer-events:none}.studio.is-playing .play-orbit{animation:breathe 3s ease-in-out infinite}.time-control{position:relative}.time-button{background:transparent;color:#968a7c;border-radius:15px;display:flex;align-items:center;gap:9px;padding:12px 11px;font-size:14px;font-weight:500;min-width:91px;font-variant-numeric:tabular-nums}.time-button:hover{background:#eee8de}.time-button .icon{width:20px;height:20px}.time-options{position:absolute;bottom:calc(100% + 24px);left:50%;transform:translate(-50%);display:flex;gap:4px;background:#fbf8f2;border:1px solid #fff;padding:8px;border-radius:19px;box-shadow:0 6px 25px #7e674520;z-index:8}.time-options button{padding:11px 12px;border-radius:12px;white-space:nowrap;background:transparent;color:#897c6e;font-size:14px}.time-options button:hover,.time-options button[aria-pressed=true]{background:#ede4d6}.loop-progress{height:3px;width:84px;border-radius:5px;background:#dfd5c84d;overflow:hidden;opacity:0;transition:opacity .6s}.loop-progress span{display:block;transform-origin:left;height:100%;background:#c3ae94;transform:scaleX(0);border-radius:5px;will-change:transform}.studio.is-playing .loop-progress{opacity:1}[data-tip]:after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 15px);transform:translate(-50%,4px);white-space:nowrap;background:#82786ced;color:#fffdf8;font-size:12px;font-weight:400;letter-spacing:0;padding:8px 11px;border-radius:9px;box-shadow:0 3px 12px #73614b12;opacity:0;visibility:hidden;pointer-events:none;z-index:20;transition:opacity .15s,transform .15s,visibility .15s}[data-tip]:hover:after,[data-tip]:focus-visible:after{opacity:1;visibility:visible;transform:translate(-50%);transition-delay:.55s}.pebble.selected:after{content:"";left:calc(50% - 2.5px);bottom:-10px;transform:none;padding:0;background:var(--dark);visibility:visible;opacity:.6;font-size:0;transition:none;box-shadow:none}.pebble.selected:hover:after{transform:none;opacity:.6}.pebble:before{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 16px);transform:translate(-50%,3px);white-space:nowrap;background:#82786ced;color:#fffdf8;padding:8px 11px;border-radius:9px;font-size:12px;opacity:0;visibility:hidden;pointer-events:none;z-index:20;transition:opacity .15s,visibility .15s}.pebble:hover:before,.pebble:focus-visible:before{opacity:1;visibility:visible;transition-delay:.55s}.pebble:not(.selected):after{content:none}.topbar [data-tip]:after{bottom:auto;top:calc(100% + 12px)}.pending[data-tip]:after{bottom:auto;top:calc(100% + 7px)}.toast{position:fixed;left:50%;bottom:153px;transform:translate(-50%);background:#fbf8f2ef;border:1px solid white;box-shadow:0 6px 24px #7e67451a;border-radius:14px;padding:11px 18px;font-size:14px;z-index:10;color:#847869}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes breathe{0%,to{opacity:.1;transform:scale(1)}50%{opacity:.9;transform:scale(1.04)}}@keyframes equalize{0%,to{transform:scaleY(.65)}50%{transform:scaleY(1.25)}}@keyframes pending{0%,to{opacity:.3}50%{opacity:1}}@media (min-width:1600px){.topbar{height:105px}.bottom-area{height:158px}.paper{border-radius:32px}}@media (max-width:760px){.studio{padding:0 16px}.topbar{height:72px}.brand{font-size:23px}.bottom-area{height:132px;gap:13px}.dock{gap:5px;padding:10px 11px;border-radius:24px;min-height:80px}.palette{gap:6px;padding:0}.pebble{width:40px;height:42px;border-radius:14px}.pebble .icon{width:18px;height:18px}.drawing-tools .icon-button{width:34px}.icon-button{width:36px}.play-button{width:55px;height:57px;border-radius:20px;margin:0 3px}.time-button{min-width:70px;padding:10px 6px;gap:5px}.time-button .icon{width:17px}.divider{margin:0 3px;height:22px}.paper{border-radius:23px}.top-actions{gap:8px}.toast{bottom:140px}}@media (max-width:540px){.dock{flex-wrap:wrap;justify-content:center;max-width:360px;row-gap:9px;padding:12px 16px}.palette{width:100%;justify-content:center;gap:18px;padding-bottom:3px}.dock>.divider:first-of-type{display:none}.bottom-area{height:187px}.pebble{width:44px;height:44px}.toast{bottom:196px}.paper{min-height:100px}.paper-corner{bottom:16px;right:16px}.studio{min-height:480px}.time-options{left:0;transform:translate(-55%)}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.pebble.terracotta{--base:#d9b7a8;--dark:#a17e6f;--light:#efded4}.pebble.honey{--base:#e1cb9c;--dark:#a68d59;--light:#f3e7cc}.pebble.rose{--base:#dfb6c6;--dark:#a7798d;--light:#f1dae2}.pebble.sky{--base:#bfd7e6;--dark:#7f9cad;--light:#e0eef4}.pebble.sand{--base:#e5d0b3;--dark:#a78d6b;--light:#f3e7d6}@media (max-width:1050px){.dock{flex-wrap:wrap;justify-content:center;column-gap:13px;row-gap:12px;padding:14px 20px;max-width:640px}.dock>.divider:first-of-type{display:none}.palette{width:100%;justify-content:center;padding:0;gap:12px}.bottom-area{height:200px}.toast{bottom:210px}}@media (max-width:760px){.dock{padding:12px 18px;column-gap:10px}.palette{gap:8px}.bottom-area{height:182px}.toast{bottom:192px}.style-button{font-size:14px}}@media (max-width:540px){.dock{max-width:360px;column-gap:8px;padding:12px 14px}.palette{gap:6px;flex-wrap:wrap;max-width:264px;row-gap:12px}.pebble{width:44px;height:40px}.bottom-area{height:240px}.toast{bottom:250px}.time-options{gap:0;padding:5px;left:auto;right:-70px;transform:none}.time-options button{padding:10px 8px}.style-options{width:270px;right:-92px}.topbar{padding:0}.top-actions{gap:4px}.volume-control input{width:45px}}@media (max-height:600px) and (min-width:1051px){.topbar{height:65px}.bottom-area{height:112px}.dock{padding:8px 18px;min-height:80px}}
