@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;800;900&display=swap');
.demo-credit{font-size:12px;line-height:1.6;margin:14px 0 0;color:#596671}.demo-credit a{color:#27578b;text-underline-offset:3px}
.sequencer{margin-top:24px;padding:22px;background:#f6fbff;border:3px solid var(--ink);border-radius:18px;box-shadow:5px 6px 0 var(--ink)}.score-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.score-heading h2{font-size:21px;margin:0}.score-heading p{font-size:14px;margin:6px 0 18px}.score-limit{font-size:12px;white-space:nowrap;color:#566578}.score-transport,.score-edit-actions,.score-files{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.score-transport button{font-size:14px}.score-transport output{margin-left:auto;font:800 22px/1.5 monospace;font-variant-numeric:tabular-nums}.sequencer progress{display:block;width:100%;height:8px;margin:18px 0 10px;accent-color:#ed5d88}.score-state{font-size:14px;font-weight:800;margin:8px 0}.sequencer[data-state=capturing]{border-color:#b72850}.sequencer[data-state=playing] #playScore{opacity:1;background:var(--pink)}#scoreEmpty{font-size:14px;line-height:1.8;color:#566578}.sequencer details{border-top:1px solid #c5d3df;margin-top:16px;padding-top:14px}.sequencer summary{cursor:pointer;font-weight:800;font-size:14px;padding:4px 0}.sequencer summary:focus-visible{outline:3px solid #1672ff;outline-offset:3px}.sequencer fieldset{border:0;padding:16px 0 0;margin:0;min-width:0}.score-edit-actions button,.score-files button{font-size:14px;padding:8px 12px}.score-table{overflow:auto;max-height:300px;margin-top:14px;border:1px solid #c5d3df;border-radius:8px}.score-table table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.score-table th,.score-table td{padding:8px;border-bottom:1px solid #dce5ec}.score-table thead{position:sticky;top:0;background:#e3edf5;z-index:1}.score-table input,.score-table select{font:inherit;width:100%;min-height:38px;min-width:70px;padding:6px;border:1px solid #8899aa;background:white;color:var(--ink);border-radius:5px}.score-table input{max-width:160px}.score-table button{font-size:12px;padding:8px}.score-files{margin-top:18px}.score-files span{font-size:12px;color:#566578}#scoreNotice{font-size:14px;margin:12px 0 0;color:#7a2844}#scoreNotice:empty{display:none}.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}@media(max-width:700px){.sequencer{padding:16px 12px;margin-top:20px}.score-heading{display:block}.score-heading p{margin-bottom:8px}.score-limit{display:block;margin-bottom:14px}.score-transport{gap:7px}.score-transport button{padding:10px}.score-transport output{font-size:19px}.score-table th,.score-table td{padding:6px}.score-table table{min-width:400px}.score-files span{width:100%}}
.camera-toolbar{position:absolute;left:18px;top:66px;display:flex;align-items:center;gap:8px}.camera-toolbar button{font-size:12px;padding:6px 11px;background:#ffffffdf;backdrop-filter:blur(5px)}.camera-toolbar button[aria-pressed=true]{background:#ffe44d}.camera-presets{display:flex;gap:4px}.stage #callout{bottom:36px;font-size:15px;max-width:90%;overflow:hidden;text-overflow:ellipsis}.stage{background:#c7eaf1}.stage-top .tag{background:#fffdf2}.stage canvas{cursor:grab}.camera-toolbar button:focus-visible{outline-offset:1px}@media(max-width:700px){.camera-toolbar{left:10px;right:10px;top:55px;gap:6px}.camera-toolbar button{font-size:11px;padding:5px 9px}.stage #callout{font-size:12px;padding:7px 10px}.stage-bottom #cameraLabel{font-size:10px}}@media(prefers-reduced-motion:reduce){button{transition:none!important}}
:root{font-family:'Noto Sans JP',sans-serif;color:#1a2634;background:#b8e8f3;font-synthesis:none;--ink:#1a2634;--pink:#ff7199;--yellow:#ffe44d}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:2px solid var(--ink);color:var(--ink);background:white;border-radius:9px;font-weight:800;padding:10px 17px;transition:transform .12s,background .12s;touch-action:manipulation}button:hover{background:#fff3a8;transform:translateY(-2px)}button:active{transform:translateY(2px)}button:focus-visible,input:focus-visible{outline:3px solid #1672ff;outline-offset:3px}button:disabled{opacity:.5;cursor:default}main{max-width:1600px;margin:auto;padding:22px 34px 18px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:16px}.brand{display:flex;align-items:center;gap:14px}.logo{font-size:38px;display:grid;place-items:center;background:var(--yellow);width:66px;height:66px;border:3px solid;border-radius:19px;transform:rotate(-9deg);box-shadow:3px 4px 0 var(--ink)}h1{margin:0;font-weight:900;font-size:32px;letter-spacing:-1.5px;line-height:1.2}h1 span{display:block;font-size:11px;letter-spacing:2.3px;margin-top:5px}header p{margin:5px 0 0;font-size:13px;font-weight:600}.header-actions{display:flex;align-items:center;gap:23px}.live{font-size:14px;font-weight:800}.header-actions button{background:var(--ink);color:white;box-shadow:3px 3px 0 #69b9cc}.stage{position:relative;height:clamp(340px,54vh,610px);border:3px solid;border-radius:20px 20px 0 0;overflow:hidden;background:#c9eff6}canvas{display:block;width:100%;height:100%;touch-action:none}.stage-top{position:absolute;top:17px;left:19px;right:19px;display:flex;justify-content:space-between;pointer-events:none;gap:10px}.tag{font-size:13px;background:#fff;border:2px solid;border-radius:30px;padding:8px 14px;height:max-content;font-weight:800}.view-controls{display:flex;gap:6px;pointer-events:auto}.view-controls button{padding:6px 12px;background:#ffffffc9;font-size:14px}.stage-bottom{position:absolute;bottom:12px;left:18px;right:18px;display:flex;justify-content:space-between;font-size:12px;font-weight:600;pointer-events:none}#hitCount{font-family:monospace;font-size:16px}#callout{position:absolute;bottom:40px;left:50%;transform:translateX(-50%);border:2px solid;background:#ffe44d;padding:6px 20px;border-radius:7px;box-shadow:3px 3px 0 var(--ink);font-weight:900;font-size:17px;white-space:nowrap;pointer-events:none}#loading{position:absolute;top:45%;left:50%;transform:translateX(-50%);padding:20px;background:white;border:2px solid;border-radius:12px}.console{background:#fff;border:3px solid;border-top:0;border-radius:0 0 20px 20px;padding:19px 22px 13px;box-shadow:5px 6px 0 #1a2634}.transport,.demo-controls,.sound-controls{display:flex;align-items:center;gap:12px}.transport{justify-content:space-between;flex-wrap:wrap}.primary{background:var(--yellow);box-shadow:3px 3px 0 var(--ink)}#guide[aria-pressed=true]{background:var(--yellow)}.tempo,.volume{display:flex;align-items:center;gap:8px;font-size:13px;white-space:nowrap;font-weight:600}input[type=range]{accent-color:var(--ink);width:90px;cursor:pointer}.volume input{width:65px}.segmented{display:flex;border:2px solid;border-radius:9px;overflow:hidden}.segmented button{border:0;border-radius:0;font-size:13px;padding:9px 12px}.segmented button[aria-pressed=true]{background:var(--pink)}#slapMode[aria-pressed=true]{background:var(--yellow)}.keyboard-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:17px 0 10px;font-size:13px}.octave{display:flex;gap:10px;align-items:center;white-space:nowrap;font-family:monospace;font-weight:800}.octave button{padding:0 8px;font-size:18px}.keyboard{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));position:relative;height:174px;padding-top:0;border:3px solid var(--ink);border-top:10px solid var(--ink);border-radius:5px 5px 10px 10px;background:var(--ink);isolation:isolate;user-select:none;touch-action:manipulation;gap:0}.keyboard .key{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;grid-row:1;padding:0 2px 12px;border:1px solid #74808d;border-top:0;border-radius:0 0 6px 6px;font-weight:800;min-width:0;transition:background .08s,box-shadow .08s;transform:none;touch-action:manipulation}.key.natural{height:100%;background:linear-gradient(#e8ecf0 0%,#fff 24%,#fff 90%,#e1e6ec 100%);color:var(--ink);box-shadow:inset 0 -5px 0 #b9c3cd;z-index:1}.key.sharp{position:absolute;top:0;left:calc(var(--position)*100%/7);translate:-50% 0;width:9%;height:62%;background:linear-gradient(100deg,#45505e,#1a2634 45%,#101820);color:#fff;border:1px solid #0b1520;box-shadow:inset 0 -6px 0 #060e16,2px 4px 3px #0004;z-index:2;padding-bottom:10px}.keyboard .key-title{font-size:16px;line-height:1.3;padding:0}.keyboard .key small{display:block;font:600 12px/1.2 'Noto Sans JP',sans-serif;opacity:.7}.keyboard .sharp .key-title{font-size:14px}.keyboard .key:hover{background:#e2efff}.keyboard .sharp:hover{background:#354860}.keyboard .key:focus-visible{outline:3px solid #1672ff;outline-offset:-4px}.keyboard .key.expected{outline:4px solid #ff477e;outline-offset:-5px}.keyboard .key.expected::before{content:'';position:absolute;bottom:57px;width:9px;height:9px;border-radius:50%;background:#ff477e}.keyboard .key{position:relative}.keyboard .key.sharp{position:absolute}.keyboard .key.playing,.keyboard .key:active{background:var(--pink);color:var(--ink);box-shadow:inset 0 4px 8px #1a263435,inset 0 -2px 0 #a8546e}.keyboard .key.playing[data-kind=slap]{background:var(--yellow);box-shadow:inset 0 4px 8px #1a263435,inset 0 -2px 0 #ae9923}footer{display:flex;justify-content:space-between;gap:12px;margin-top:13px;font-size:12px;color:#596671}footer b{letter-spacing:1px}#record.recording{background:#f44369;color:white}#status{font-weight:600}.error{max-width:90%;font-size:14px}.stage,#scene{user-select:none}@media(min-width:1400px){main{padding-top:30px}.stage{height:56vh}}@media(max-width:850px){main{padding:15px}.live{display:none}.transport{gap:15px}.sound-controls{margin-left:auto}.tempo input{width:65px}.stage{height:48vh;min-height:330px}.console{padding:15px}footer>span:first-child{display:none}}@media(max-width:700px){main{padding:10px}header{margin:6px 0 15px}.logo{height:47px;width:47px;font-size:30px;border-radius:13px}h1{font-size:25px}h1 span{font-size:9px}header p{font-size:12px}.brand{gap:10px}.header-actions button{font-size:12px;padding:10px}.stage{height:390px;min-height:0;border-radius:15px 15px 0 0}.stage-top{top:12px;left:10px;right:10px}.tag{font-size:11px;padding:7px 9px}.view-controls button{padding:4px 9px}.stage-bottom{font-size:9px;left:10px;right:10px}#callout{font-size:14px;bottom:36px}.console{padding:13px 10px}.demo-controls{gap:8px;flex-wrap:wrap}.demo-controls button{padding:10px 11px;font-size:13px}.tempo{font-size:12px}.tempo input{width:62px}.sound-controls{width:100%;justify-content:space-between}.keyboard{height:146px}.keyboard .key-title,.keyboard .sharp .key-title{font-size:12px}.keyboard .key{padding-bottom:9px}.keyboard .key small{font-size:12px}.keyboard .key.expected::before{bottom:49px}.keyboard-top{font-size:12px;align-items:flex-start}.keyboard-top>span{max-width:66%}footer{font-size:11px}.volume{font-size:12px}}

.keyboard .key.held{background:var(--pink);color:var(--ink);box-shadow:inset 0 4px 8px #1a263435,inset 0 -2px 0 #a8546e}.keyboard .key.held[data-held-kind=slap]{background:var(--yellow);box-shadow:inset 0 4px 8px #1a263435,inset 0 -2px 0 #ae9923}
.model-trial{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.model-trial button{font-size:14px;padding:8px 12px}.model-trial button[aria-pressed=true]{background:#ffe44d}.model-trial span{font-size:13px;color:#596671}

.asset-credit{margin:20px 0 8px;font-size:14px;line-height:1.8;color:#435663;text-align:center}.asset-credit a{color:#27578b;text-underline-offset:3px}
