:root{font-family:Inter,Segoe UI,sans-serif;color:#4b365f;background:#faf5fd;background-image:radial-gradient(ellipse at 12% 0%,#f7e3f2 0%,transparent 48%),radial-gradient(ellipse at 100% 20%,#eee4fa 0%,transparent 55%);min-height:100%;font-synthesis:none;font-weight:500}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button{color:inherit}button:disabled{cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8c58ba;outline-offset:3px}button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.app{max-width:1180px;margin:0 auto;padding:32px 48px 24px}header{display:flex;align-items:center;gap:24px}.brand{display:flex;gap:12px;text-decoration:none;color:inherit;font-size:24px;font-weight:800;letter-spacing:-1.1px;align-items:center}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:2.7px;margin-top:5px;font-weight:600}.brand-mark{display:flex;align-items:center;gap:4px;width:39px;height:42px}.brand-mark i{width:9px;height:22px;background:#e9a9ca;border-radius:4px}.brand-mark i:nth-child(2){height:38px;background:#bda1e5}.brand-mark i:nth-child(3){height:30px;background:#a9a8e8}.version{margin-left:auto;font-size:9px;letter-spacing:1.5px;color:#85758f}.version span{color:#b47ab8;margin:0 7px}.new{min-height:44px;background:transparent;border:1px solid #e7d9f0;border-radius:24px;padding:0 18px;font-size:12px}.welcome{display:flex;justify-content:space-between;align-items:center;padding:49px 40px 39px 4px}.eyebrow{font-size:10px;letter-spacing:2.4px;color:#a564a0;font-weight:700}h1{font-size:48px;line-height:1.12;letter-spacing:-2px;margin:16px 0 15px;font-weight:750}h1 span{color:#9c70b8}.welcome p{font-size:13px;color:#83708e;margin:0}.art{position:relative;width:270px;height:180px}.orbit{position:absolute;width:170px;height:170px;background:#f0e4f8;border-radius:50%;left:55px;top:4px}.music-note{position:absolute;font-size:132px;color:#b292d3;left:90px;top:-16px;transform:rotate(-13deg)}.spark{position:absolute;font-size:34px;color:#d9a4db}.s1{left:30px;top:27px}.s2{right:0;bottom:18px;color:#e4a2c4}.art-dot{position:absolute;width:13px;height:13px;background:#c5a2e6;border-radius:50%;left:65px;bottom:10px}.studio{background:#fffcff;border:1px solid #e7d9ef;border-radius:23px;box-shadow:0 12px 32px #8b58a510;overflow:hidden}.transport{display:flex;align-items:center;gap:12px;padding:22px 26px;background:#f1e7f8;border-bottom:1px solid #e5d5ee}.play{border:0;border-radius:13px;background:#8051a3;color:#fffaff;min-height:52px;padding:0 25px;display:flex;gap:13px;align-items:center;min-width:121px}.play.is-playing{background:#a072c0}.stop{background:#fffaff;border:1px solid #e2d2ed;border-radius:13px;min-width:50px;min-height:52px;font-size:18px}.transport-divider{height:32px;width:1px;background:#ddcaeb;margin:0 10px}.tempo>span,.volume>span{font-size:8px;letter-spacing:1.5px;color:#7e668d}.tempo>div{display:flex;align-items:center;gap:15px}.tempo input{width:118px}.tempo output{font-size:22px;font-weight:700;min-width:70px}.tempo small{font-size:8px;letter-spacing:1px;margin-left:5px;color:#8c7798}.volume{margin-left:auto;display:flex;flex-direction:column;gap:9px}.volume input{width:90px}input[type=range]{accent-color:#9563b6;cursor:pointer;height:20px}.loop-badge{font-size:8px;letter-spacing:1px;color:#92769f;margin-left:20px;white-space:nowrap}.pattern-bar{display:flex;align-items:center;gap:21px;padding:21px 28px;border-bottom:1px solid #f0e5f5}.section-label{font-size:9px;letter-spacing:1.5px;color:#8e759d}.slots{display:flex;gap:8px}.slots button{position:relative;border:1px solid #e8dcf0;border-radius:10px;background:#fbf6fe;width:48px;height:44px;font-size:14px}.slots .selected{background:#ebc9e6;border-color:#d9a9d6}.slots .sounding{box-shadow:inset 0 -3px #9b65b5}.slots button span{position:absolute;font-size:9px;right:4px;top:2px}.slots .queued{border-style:dashed;border-color:#9460ab}.copy{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:11px;color:#8c749a}.copy select{border:1px solid #e8dcf0;border-radius:9px;min-width:45px;height:44px;background:#fbf6fe;color:#77518e;padding:0 9px}.editor{padding:24px 28px 0}.editor-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.tabs{display:flex;background:#f3eaf8;padding:4px;border-radius:12px;gap:3px}.tabs button{border:0;background:transparent;border-radius:9px;min-height:43px;padding:0 19px;font-size:12px;color:#8b729a;display:flex;gap:10px;align-items:center}.tabs .active{background:#fffcff;box-shadow:0 2px 7px #82539f16;color:#71448c}.tabs button span{font-size:20px}.sound{display:flex;align-items:center;gap:10px;font-size:10px;color:#8b7597}.sound select{border:1px solid #e7d8ef;background:#fffcff;border-radius:9px;padding:0 10px;min-height:42px;color:#79558b;font-size:11px}.sequencer{display:grid;grid-template-columns:103px repeat(16,minmax(0,1fr));gap:6px 5px}.grid-row{display:contents}.beat-label{font-size:7px;letter-spacing:1.2px;color:#9c84a8;align-self:center}.beat{font-size:11px;text-align:center;line-height:24px;color:#cdb9d8}.beat.major{color:#9376a3}.beat.now{background:#82519f;color:#fff;border-radius:6px}.row-label{display:flex;gap:7px;align-items:center;font-size:10px;color:#856c95;white-space:nowrap}.row-label>span{width:6px;height:6px;border-radius:50%;flex-shrink:0}.cell{position:relative;width:100%;min-width:0;height:48px;border:1px solid color-mix(in srgb,var(--note) 25%,#ebe2f2);border-radius:7px;background:color-mix(in srgb,var(--note) 12%,#fffcff);padding:0;transition:background .08s,transform .08s}.cell.bar-start{border-left:2px solid #d2b9e2;margin-left:2px;width:calc(100% - 2px)}.cell.on{background:var(--note);border-color:color-mix(in srgb,var(--note),#573469 24%);box-shadow:inset 0 -3px color-mix(in srgb,var(--note) 78%,#573469)}.cell.on>span{display:block;width:7px;height:7px;border-radius:50%;background:#5734698c;margin:auto}.cell.playhead{box-shadow:inset 0 0 0 2px #82509f;background:color-mix(in srgb,var(--note) 22%,#fcf8ff)}.cell.on.playhead{background:var(--note);filter:brightness(1.12)}.cell:active{transform:scale(.9)}.note-grid .cell{height:35px}.editor-bottom{display:flex;justify-content:space-between;align-items:center;min-height:65px;font-size:9px;color:#917b9d;gap:10px}.editor-bottom p{font-size:11px}.editor-bottom p span{color:#b17dba;margin-right:6px}footer{display:flex;justify-content:space-between;color:#927d9f;font-size:9px;padding:20px 4px;gap:15px}.save-status{display:flex;align-items:center;gap:6px}.save-status i{width:5px;height:5px;background:#b084c9;border-radius:50%}.message{font-size:12px;color:#89609f;text-align:center}.notice{position:fixed;bottom:20px;left:50%;transform:translate(-50%);padding:15px 20px;border-radius:12px;background:#76508f;color:#fff;box-shadow:0 8px 30px #0002;display:flex;gap:18px;align-items:center;font-size:12px;max-width:90%;z-index:4}.notice button{background:transparent;border:1px solid #fff5;color:#fff;border-radius:8px;min-height:36px;padding:0 10px}.loading{padding:50px;text-align:center}@media(min-width:1400px){.app{padding-top:45px}.welcome{padding-top:60px;padding-bottom:50px}}@media(max-width:900px){.app{padding:24px}.welcome{padding-top:32px;padding-bottom:30px}h1{font-size:42px}.art{transform:scale(.85);transform-origin:right}.transport{padding:18px;gap:9px}.loop-badge{display:none}.transport-divider{margin:0 4px}.editor{padding:20px 18px 0}.sequencer{grid-template-columns:82px repeat(16,minmax(0,1fr));gap:5px 3px}.row-label{font-size:9px}.cell{height:46px}.pattern-bar{padding:18px}.volume input{width:75px}}@media(max-width:600px){.app{padding:18px 12px}.brand{font-size:21px}.version{display:none}.new{margin-left:auto;padding:0 12px}.welcome{padding:30px 8px 27px}.welcome h1{font-size:35px}.welcome p{font-size:11px}.art{width:125px;height:140px;transform:scale(.65);transform-origin:right center}.orbit{left:-45px}.music-note{left:-10px}.s1{left:-70px}.art-dot{left:-35px}.s2{right:10px}.transport{flex-wrap:wrap;padding:14px;gap:9px}.play{padding:0 18px;min-width:105px}.tempo{margin-left:auto}.tempo input{width:75px}.transport-divider{display:none}.volume{width:100%;flex-direction:row;align-items:center;justify-content:flex-end;gap:12px;margin-top:3px}.volume input{width:100px}.pattern-bar{gap:10px;flex-wrap:wrap;padding:14px}.section-label{font-size:8px}.slots{gap:5px}.slots button{width:39px}.copy{font-size:10px;gap:5px}.copy select{min-width:35px;width:37px;padding:0 3px}.editor{padding:14px 10px 0}.editor-top{gap:7px;margin-bottom:16px}.tabs{gap:0;padding:3px}.tabs button{padding:0 10px;gap:5px;font-size:10px}.tabs button span{font-size:16px}.sound{gap:4px;font-size:0}.sound select{font-size:10px;max-width:85px;padding:0 5px}.grid-scroll{overflow-x:auto;padding:3px 2px 7px}.sequencer{min-width:510px;grid-template-columns:66px repeat(16,minmax(0,1fr));gap:5px 3px}.cell{height:44px}.note-grid .cell{height:37px}.row-label{font-size:8px;gap:4px}.beat-label{font-size:6px}.editor-bottom{min-height:65px;align-items:flex-start;flex-direction:column;justify-content:center;gap:2px}.editor-bottom p{margin:3px 0;font-size:10px}footer{font-size:8px;line-height:1.6}footer>span:last-child{max-width:125px;text-align:right}}.studio{overflow:clip}.transport{position:sticky;top:0;z-index:2}@media(min-width:601px)and (max-height:900px){.app{padding:20px 24px}.welcome{padding:20px 4px}.welcome h1{font-size:30px;margin:10px 0}.welcome h1 br{display:none}.welcome h1 span:before{content:" "}.art{height:95px;width:180px;transform:scale(.55);transform-origin:center}.transport,.pattern-bar{padding:14px 20px}.editor{padding-top:16px}.editor-top{margin-bottom:16px}.editor-bottom{min-height:48px}}@media(min-width:601px)and (max-height:650px){.welcome{display:none}header{margin-bottom:20px}}.brand-name{max-width:300px;font-size:21px;line-height:1.2;letter-spacing:-.7px}.brand-mark{flex-shrink:0}@media(max-width:900px){.version{display:none}.new{margin-left:auto}}@media(max-width:600px){header{gap:12px}.brand{gap:9px}.brand-name{max-width:170px;font-size:17px}.brand small{font-size:6px;letter-spacing:1.7px}.new{padding:0 10px;white-space:nowrap}}.slots button:nth-child(1){--slot: #efb5cd}.slots button:nth-child(2){--slot: #efdaa0}.slots button:nth-child(3){--slot: #b8ded1}.slots button:nth-child(4){--slot: #c9b9eb}.slots button{background:color-mix(in srgb,var(--slot) 18%,#fffaff)}.slots .selected{background:var(--slot);border:2px solid color-mix(in srgb,var(--slot) 60%,#70458d);color:#513362;font-weight:750}.tabs button:nth-child(1){--tab: #bfe4da}.tabs button:nth-child(2){--tab: #f4cdb5}.tabs button:nth-child(3){--tab: #d6c0ed}.tabs .active{background:var(--tab);color:#503460;font-weight:700;box-shadow:0 2px 6px #82539f16,inset 0 0 0 1px color-mix(in srgb,var(--tab) 65%,#80519d)}.play.is-playing{background:#b6dfcf;color:#3d5650;box-shadow:inset 0 0 0 1px #83b8a5}@media(hover:hover){.cell:hover{background:color-mix(in srgb,var(--note) 28%,#fffaff)}.cell.on:hover{background:var(--note);filter:brightness(1.04)}}.pattern-bar{flex-wrap:wrap}.slots{gap:10px}.slots button{width:72px;height:56px}.slots button small{display:block;font-size:8px;font-weight:500;line-height:13px;min-height:13px}.slots .sounding{outline:2px solid #8f62ab;outline-offset:2px;box-shadow:inset 0 -3px #8f62ab}.slots .queued{border:2px dashed #9962b8}.performance-panel{border-bottom:1px solid #eee2f4;padding:0 24px}.performance-panel summary{cursor:pointer;min-height:52px;padding:15px 0;font-size:12px;color:#72518b}.performance-panel summary>span{margin-left:12px;font-size:10px;color:#937ba2}.track-controls{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.track-control{padding:12px 8px;background:#f7f0fb;border:1px solid #e7d8ef;border-radius:12px}.track-control strong{font-size:11px;display:block;margin-bottom:10px}.track-control strong>span{color:#a275b8}.track-control.quiet strong{color:#96869e}.track-control>div{display:flex;gap:5px}.track-control button{flex:1;min-width:0;min-height:44px;border:1px solid #dfcce9;background:#fffaff;border-radius:8px;font-size:11px}.track-control button[aria-pressed=true]{background:#eebccf;border-color:#c18ca8;font-weight:700}.track-control .solo[aria-pressed=true]{background:#bce1d3;border-color:#89bca8}.performance-panel>p{font-size:10px;color:#8e769b}@media(max-width:600px){.pattern-bar{gap:9px}.slots{gap:7px}.slots button{width:56px}.section-label{width:100%}.performance-panel{padding:0 14px}.track-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.track-control:last-child{grid-column:1/-1}}.magic-panel{padding:0 24px;border-bottom:1px solid #eee2f4}.magic-panel summary{min-height:52px;cursor:pointer;padding:15px 0;color:#80579a;font-size:12px}.magic-panel summary>span{margin-left:12px;font-size:10px;color:#927b9e}.magic-content{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(180px,1fr);gap:24px;padding:8px 0 20px}.xy-pad{height:220px;position:relative;overflow:hidden;border:2px solid #e0cfeb;border-radius:18px;background:linear-gradient(0deg,#fff7ed33,#d4c3ef99),linear-gradient(90deg,#e7b4dc,#f5d9ad 48%,#b8e0d5);touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair}.xy-pad.enabled{border-color:#aa79c6;box-shadow:0 3px 14px #ad7fc02b}.xy-pad:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 calc(25% - 1px),#ffffff38 calc(25% - 1px) 25%),repeating-linear-gradient(0deg,transparent 0 calc(25% - 1px),#ffffff38 calc(25% - 1px) 25%);pointer-events:none}.echo-high,.echo-low{position:absolute;left:16px;color:#6e4b83;font-size:11px;pointer-events:none}.echo-high{top:12px}.echo-low{bottom:12px}.xy-cursor{position:absolute;width:38px;height:38px;margin:-19px;border:3px solid white;border-radius:50%;background:#8854aaa6;color:#fff;display:grid;place-items:center;box-shadow:0 3px 12px #5e38684d;pointer-events:none}.xy-labels{display:flex;justify-content:space-between;font-size:11px;color:#8a6b9d;padding:10px 4px 0}.magic-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:center}.magic-controls p{grid-column:1/-1;margin:0 0 4px;font-size:12px;color:#866797}.magic-controls button,.recovery-button{border:1px solid #ddc8eb;border-radius:10px;min-height:44px;background:#faf2ff;color:#79518f;font-size:11px}.magic-controls button[aria-pressed=true]{background:#d5bdec;border-color:#ac7dc8}.magic-controls label{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#80658e}.magic-controls input{width:65%;min-height:36px}@media(max-width:600px){.magic-panel{padding:0 14px}.magic-content{grid-template-columns:1fr;gap:12px}.xy-pad{height:210px}footer{flex-wrap:wrap}}.project-controls{min-width:0;padding:0;margin:0;border:0}.discovery-panel{padding:0 24px;border-bottom:1px solid #eee2f4}.discovery-panel summary{cursor:pointer;padding:15px 0;min-height:52px;font-size:12px;color:#80579a}.discovery-panel summary>span{font-size:10px;color:#927b9e;margin-left:12px}.groove-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:4px 0 18px}.groove-cards>button{text-align:left;padding:16px;border:1px solid color-mix(in srgb,var(--groove),#8c6a9e 18%);border-radius:14px;background:color-mix(in srgb,var(--groove) 22%,#fffaff);min-height:140px}.groove-icon{display:inline-grid;place-items:center;width:32px;height:32px;background:var(--groove);border-radius:10px;font-size:20px;margin-bottom:10px}.groove-cards strong{font-size:12px;display:block}.groove-cards p{margin:7px 0 10px;font-size:11px;color:#826c8d;line-height:1.5}.groove-cards small{display:flex;justify-content:space-between;font-size:9px;color:#896e99}.previous-project{margin:0 0 18px;padding:0 15px;min-height:44px;background:#f5eafa;border:1px solid #d8bee7;border-radius:10px;font-size:11px}@media(max-width:900px){.groove-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.discovery-panel{padding:0 14px}.discovery-panel summary>span{display:block;margin:8px 0 0 14px}.groove-cards{gap:8px}.groove-cards>button{padding:12px}}
