@import url('/fonts.css');
:root{--bg:#f7f5f2;--paper:#fffefa;--white:#fff;--ink:#433a35;--muted:#8b7f77;--brand:#a99993;--brand-dark:#77665e;--line:#e7e0d9;--soft:#efe9e3;--sage:#6d8275;--sage-soft:#edf1eb;--peach:#bc8667;--mauve:#928092;--shadow:0 8px 28px #503c2606;font-family:"Avenir Next","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;color:var(--ink);font-size:14px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b99b72;outline-offset:4px}input,select,textarea{background:#fff;border:1px solid var(--line);border-radius:8px;padding:11px 12px;max-width:100%;min-width:0}input[type=range]{padding:0;accent-color:var(--brand-dark)}input[type=checkbox]{accent-color:var(--brand-dark)}textarea{resize:vertical;min-height:80px}h1,h2,h3,h4,p{margin:0}svg.icon{width:20px;height:20px;display:block;flex:none;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}small{font-size:11px}button .icon{width:17px;height:17px}.skip{position:fixed;top:-80px;z-index:500;background:var(--paper);padding:12px}.skip:focus{top:8px}.sidebar{width:224px;position:fixed;inset:0 auto 0 0;background:var(--paper);border-right:1px solid var(--line);padding:30px 20px 0;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:10px;align-items:center;margin-left:3px}.brand img{width:46px;height:46px;object-fit:contain}.brand>span{font-size:13px;letter-spacing:1.2px;font-weight:600}.brand small{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);margin-top:5px}.side-rule{height:1px;background:var(--line);margin:28px 5px 25px}.nav-label{font-size:10px;letter-spacing:1.4px;color:var(--muted);padding:0 15px;margin-bottom:14px}.sidebar nav>a{display:flex;gap:12px;padding:13px 15px;margin:4px 0;border-radius:9px;font-size:13px;color:#85776e;align-items:center;transition:background .2s}.sidebar nav>a:hover{background:#f4efeb}.sidebar nav>a.active{background:#eee7e2;color:#69574e;font-weight:600}.nav-dot{display:none;width:5px;height:5px;background:var(--brand-dark);border-radius:50%;margin-left:auto}.active .nav-dot{display:block}.management-label{margin-top:34px}.sidebar-bottom{margin-top:auto}.side-note{position:relative;padding:26px 15px 26px;color:#a99a8e}.music-symbol{font-size:27px;font-family:Georgia,serif}.side-note p{font-family:"Songti TC","Noto Serif TC",serif;font-size:16px;line-height:1.9;letter-spacing:2px;margin:10px 0 14px;color:#9b8b80}.side-note small{font-size:8px;letter-spacing:2px}.account{display:flex;align-items:center;gap:9px;background:none;padding:20px 0;width:100%;border-top:1px solid var(--line);text-align:left;font-size:11px}.account-circle{display:grid;place-items:center;background:var(--soft);width:32px;height:32px;border-radius:50%}.account small{display:block;font-size:7px;letter-spacing:.6px;margin-top:4px;color:var(--muted)}.account>span:last-child{margin-left:auto}.account>span:last-child .icon{width:14px}.workspace{margin-left:224px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px;background:#fbf9f6}.breadcrumb{font-size:10px;letter-spacing:1.6px;color:#92867d;display:flex;gap:17px;align-items:center}.breadcrumb span:last-child{font-size:12px;letter-spacing:.4px;color:#63574f}.top-actions{display:flex;align-items:center;gap:19px}.keyboard-badge{display:flex;gap:7px;align-items:center;font-size:11px;color:#7c8572}.keyboard-badge i,.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8e9d80}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:transparent;border:1px solid var(--line);border-radius:8px}.topbar .icon-button{border:0;color:#8c8077}main{padding:34px 38px 30px;max-width:1600px;width:100%;margin:0 auto;flex:1;outline:none}footer{padding:20px 38px;display:flex;justify-content:space-between;font-size:9px;color:#a49689;letter-spacing:.4px;border-top:1px solid var(--line)}footer>span:last-child{font-size:8px;letter-spacing:1.3px}.footer-dot{margin:0 8px}.eyebrow{font-size:9px;letter-spacing:2.4px;color:#aa9586;font-weight:500;margin-bottom:11px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:16px}.page-heading h1{font-size:26px;letter-spacing:1.1px;font-weight:600}.page-heading p{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.8}.page-number{font-size:9px;color:#b2a59b;letter-spacing:1.5px}.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:20px;margin-bottom:30px}.hero{position:relative;overflow:hidden;border-radius:14px;min-height:300px;color:#f8f0e5;background:#51443c;display:flex;align-items:center;padding:35px 32px;isolation:isolate}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 80% 35%,#947c652a,transparent 64%);z-index:-1}.hero-copy{position:relative;z-index:1;max-width:60%;pointer-events:none}.hero-copy button{pointer-events:auto}.hero .eyebrow{color:#c2aa90;font-size:8px;letter-spacing:2.5px;display:flex;align-items:center;gap:8px}.hero .eyebrow:before{content:"";width:20px;height:1px;background:#c2aa90}.hero h2{font-family:"Songti TC","Noto Serif TC","PMingLiU",serif;font-size:35px;font-weight:400;letter-spacing:2px;line-height:1.65;margin:15px 0 12px}.hero p{font-size:10px;line-height:2;color:#c6b8ab;letter-spacing:.8px}.hero-caption{display:flex;align-items:center;gap:16px;margin-top:23px;font-size:8px;letter-spacing:1.8px;color:#b7a28b}.hero-caption>span{display:flex;align-items:center;gap:6px}.hero-caption .icon{width:13px;height:13px}.hero-art{position:absolute;right:-14px;top:0;width:53%;height:100%;overflow:visible}.hero-tag{position:absolute;right:20px;bottom:20px;font-size:8px;letter-spacing:1.5px;color:#c6b8a1;border:1px solid #a18c6b40;border-radius:20px;padding:5px 9px}.session-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:22px;display:flex;flex-direction:column}.card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.card-title h2,.card-title h3{font-size:14px;letter-spacing:.5px;font-weight:600}.card-title .tiny-label{font-size:8px;letter-spacing:1.5px;color:#b0a095}.form-label{display:block;font-size:10px;color:#8e8077;margin-bottom:8px}.mode-segment{display:flex;gap:4px;padding:4px;background:#f3efea;border-radius:8px;margin-bottom:14px}.mode-segment button{flex:1;padding:8px 0;background:none;font-size:10px;border-radius:6px;color:#9b8a80}.mode-segment button.selected{background:#fff;color:#66534a;box-shadow:0 2px 6px #483a2212}.mode-segment small{display:block;font-size:7px;margin-top:3px;letter-spacing:.8px}.session-card select{width:100%;padding:8px 10px;font-size:11px;background:#fffefa}.selected-song{display:flex;align-items:center;gap:9px;margin:15px 0}.mini-cover{width:34px;height:34px;border-radius:7px;background:#e4e8de;display:grid;place-items:center;font-size:16px;color:#7b8d72}.selected-song strong{display:block;font-size:11px;font-weight:500}.selected-song small{color:#a59688;font-size:8px;display:block;margin-top:3px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;font-size:11px;border-radius:8px;border:1px solid var(--line);background:var(--paper);transition:background .2s,transform .2s}.button:hover{background:var(--soft)}.button.primary{background:#9e8b7e;color:#fffaf4;border-color:#9e8b7e}.button.primary:hover{background:#857064}.button.dark{background:#51443c;color:#fff9ec;border-color:#51443c}.button.danger{color:#a26152;background:#fbf0eb}.button.full{width:100%}.session-card>.button{margin-top:auto}.session-foot{font-size:8px;text-align:center;color:#a2968b;margin-top:9px;letter-spacing:.6px}.library-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:17px}.section-title{display:flex;align-items:center;gap:10px}.section-title h2{font-size:17px;font-weight:600;letter-spacing:.5px}.section-title .count{font-size:9px;color:#a89584;border:1px solid #e0d6cc;border-radius:20px;padding:2px 7px}.section-title>small{color:#ac9e92;font-size:8px;letter-spacing:1.2px}.search{display:flex;align-items:center;border:1px solid var(--line);background:#fbf9f6;border-radius:7px;padding:0 11px;color:#ab9e93}.search input{background:none;border:0;width:159px;padding:9px 8px;font-size:10px;outline:none}.search .icon{width:14px;height:14px}.library-tools{display:flex;align-items:center;gap:20px}.filters{display:flex;gap:17px;align-items:center}.filters button{font-size:10px;padding:9px 0;background:none;color:#a59689;border-bottom:1px solid transparent}.filters button.selected{color:#6f5c4c;border-bottom-color:#9e8b7e}.song-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.song-card{border:1px solid var(--line);background:var(--paper);border-radius:11px;overflow:hidden;cursor:pointer;transition:border .2s,transform .2s;position:relative;text-align:left;padding:0;width:100%}.song-card:hover{transform:translateY(-3px);border-color:#b2a191}.song-card.selected{border-color:#ac9a82;box-shadow:0 0 0 1px #ac9a8233}.cover{height:150px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#e5e9df;color:#64785f}.cover.peach{background:#f0e0d2;color:#b68060}.cover.mauve{background:#e7e0e6;color:#8a7185}.cover svg{width:100%;height:100%}.cover-label{position:absolute;left:15px;top:13px;font-size:7px;letter-spacing:1.8px}.cover-bottom{position:absolute;left:15px;bottom:13px;font-size:9px;letter-spacing:2px;font-weight:500}.cover-badge{position:absolute;right:12px;top:12px;background:#fff9efb8;border:1px solid #ffffff80;border-radius:4px;padding:4px 6px;font-size:7px;letter-spacing:.6px}.song-meta{padding:16px}.song-title-line{display:flex;justify-content:space-between;align-items:center}.song-meta h3{font-size:13px;letter-spacing:.5px;font-weight:600}.song-meta .check{width:17px;height:17px;border-radius:50%;background:#a58f78;color:#fff;display:none;align-items:center;justify-content:center;font-size:10px}.selected .song-meta .check{display:flex}.song-meta p{font-size:8px;color:#a19285;margin-top:7px;letter-spacing:.5px}.song-stats{border-top:1px solid #eee8e0;margin-top:14px;padding-top:12px;display:flex;gap:14px;font-size:8px;color:#928174;align-items:center}.song-stats>span{display:flex;align-items:center;gap:4px}.song-stats .icon{width:11px;height:11px}.song-stats .level{margin-left:auto;gap:2px;align-items:end;height:11px}.level i{display:block;width:3px;background:#b3a28f;border-radius:1px}.level i:nth-child(1){height:4px}.level i:nth-child(2){height:7px}.level i:nth-child(3){height:10px}.level i:nth-child(4){height:12px;opacity:.25}.info-strip{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:23px}.info-tile{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;background:#f4f0ea;padding:15px 16px}.info-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;background:#e9e1d7;color:#9a826b}.info-icon .icon{width:17px}.info-tile strong{font-size:10px;font-weight:500;display:block}.info-tile p{font-size:8px;color:#a19487;margin-top:5px;line-height:1.7}.info-tile>a,.info-tile>button{margin-left:auto;color:#a28d75;background:transparent}.info-tile .icon{width:16px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:22px;box-shadow:var(--shadow)}.panel h2{font-size:16px;letter-spacing:.4px;margin-bottom:18px}.panel h3{font-size:13px;margin-bottom:12px}.muted{color:var(--muted);line-height:1.8;font-size:12px}.empty{padding:45px 20px;text-align:center;background:#f4f0eb;border:1px dashed #d8ccc1;border-radius:10px;color:#a18f7e;grid-column:1/-1;font-size:12px;line-height:2}.empty .icon{width:34px;height:34px;margin:0 auto 13px}.row{display:flex;gap:12px;align-items:center}.row.wrap{flex-wrap:wrap}.row.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:15px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.field{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}.field>span,.field>label{font-size:11px;color:#89796e}.field input,.field select{width:100%}.field small{font-size:10px;line-height:1.7;color:var(--muted)}.form-error{color:#a35648;font-size:11px;line-height:1.8;min-height:18px;margin:10px 0}.pill{display:inline-flex;align-items:center;gap:5px;border:1px solid #dfd9cd;background:#f3f0e8;border-radius:20px;padding:5px 9px;font-size:9px;color:#8b7a67}.pill.green{background:#edf1ea;border-color:#dce3d5;color:#738266}.pill.sand{background:#f1e9df;color:#9e805f}.small{font-size:10px}.loading{padding:80px;text-align:center;color:var(--muted)}.divider{height:1px;background:var(--line);margin:22px 0}kbd{display:inline-flex;justify-content:center;min-width:24px;border:1px solid #dbd3c7;border-bottom-width:3px;border-radius:5px;padding:4px 6px;background:#fffdf6;font:11px monospace;color:#80705f}dialog{border:1px solid #d9cec2;border-radius:17px;padding:0;max-width:min(95vw,540px);width:100%;background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #2e211d33}dialog::backdrop{background:#372b2480;backdrop-filter:blur(4px)}.modal-inner{padding:30px}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modal-header h2{font-size:20px;letter-spacing:1px}.modal-inner p{font-size:12px;color:var(--muted);line-height:1.9}.modal-inner form{margin-top:20px}.modal-inner .button{font-size:12px}.modal-inner .stack{gap:17px}#toast{position:fixed;bottom:28px;left:calc(50% + 112px);transform:translateX(-50%) translateY(100px);z-index:100;background:#51443c;color:#fff4e7;padding:13px 23px;border-radius:9px;font-size:12px;box-shadow:0 4px 24px #30251c22;transition:transform .25s;max-width:80vw;line-height:1.8;pointer-events:none}#toast.show{transform:translateX(-50%) translateY(0)}.device-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.device-card{border:1px solid var(--line);border-radius:10px;padding:18px;background:#fcfaf6}.device-card h3{font-size:13px;word-break:break-word}.pad{display:grid;grid-template-columns:repeat(3,52px);grid-template-rows:repeat(3,52px);gap:6px;justify-content:center;margin:20px auto}.pad>span{display:grid;place-items:center;border:1px solid #ddd3c7;background:#f3eee7;border-radius:8px;font-size:23px;color:#a18b75}.pad>span[data-dir=LEFT]{grid-area:2/1}.pad>span[data-dir=DOWN]{grid-area:3/2}.pad>span[data-dir=UP]{grid-area:1/2}.pad>span[data-dir=RIGHT]{grid-area:2/3}.pad .pad-center{grid-area:2/2;border:0;background:#ece4da;font-size:18px}.pad>span.pressed{background:#9e8b7e;color:white;box-shadow:0 0 0 3px #9e8b7e33}.raw-inputs{display:flex;gap:5px;flex-wrap:wrap;font-size:8px;font-family:monospace;margin-top:14px}.raw-inputs span{background:#eee9e2;padding:5px;border-radius:4px}.raw-inputs span.on{background:#8b9b7f;color:white}.device-actions{display:flex;gap:8px;margin-top:15px;flex-wrap:wrap}.device-actions select{font-size:10px;padding:8px}.device-actions .button{font-size:10px;padding:8px 10px}.calibrate-target{text-align:center;font-size:70px;padding:20px;color:var(--brand-dark)}.notice{border-left:3px solid #baa084;padding:14px 18px;background:#f2ebe1;line-height:1.9;font-size:11px;color:#998169;margin-bottom:20px}.calibration-settings{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.song-table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}th{color:#a18d7b;font-size:10px;font-weight:500;padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:16px 10px;border-bottom:1px solid #eee7df;vertical-align:middle}td strong{font-size:12px;font-weight:500;display:block}td small{display:block;color:#a49280;margin-top:5px;font-size:9px}.table-actions{display:flex;gap:6px;flex-wrap:wrap}.table-actions .button{padding:7px 9px;font-size:9px}.table-cover{width:38px;height:38px;border-radius:8px;background:#e3e8dc;display:grid;place-items:center;font-size:20px;color:#829271}.table-cover.peach{background:#f0e0d2;color:#b98c6b}.table-cover.mauve{background:#e7e0e6;color:#9f88a2}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:20px}.editor-settings .field{margin-bottom:16px}.editor-settings .button{width:100%;margin-bottom:9px}.editor-toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.editor-toolbar select{font-size:11px;padding:8px}.editor-toolbar .button{padding:8px 10px}.beat-editor{height:440px;overflow:auto;border:1px solid var(--line);border-radius:8px;position:relative;background:#faf7f1;scroll-behavior:auto}.beat-header{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:44px repeat(4,1fr);background:#e9e1d6;color:#806e5e;text-align:center;height:40px;align-items:center}.beat-row{display:grid;grid-template-columns:44px repeat(4,1fr);height:34px;border-bottom:1px solid #eee6da}.beat-row.bar{border-top:2px solid #cbb69a}.beat-row>span{font-size:8px;color:#ab9784;display:flex;align-items:center;justify-content:center}.beat-cell{background:transparent;border-left:1px solid #e6dccd;padding:0;font-size:22px;position:relative}.beat-cell:hover{background:#e9dfd1}.beat-cell.has-note{color:#806651;background:#ded2c1}.beat-cell.playhead{box-shadow:inset 0 0 0 2px #a58b60}.editor-player{width:100%;height:38px;margin:16px 0}.editor-foot{font-size:10px;color:#a18d7b;line-height:1.9;margin-top:14px}.guide-steps{counter-reset:steps}.guide-step{display:flex;gap:20px;padding:23px 0;border-bottom:1px solid var(--line)}.guide-step:last-child{border:0}.guide-step:before{counter-increment:steps;content:'0' counter(steps);color:#b9a38c;font-size:24px;letter-spacing:1px}.guide-step h3{font-size:14px;margin:2px 0 9px}.guide-step p{font-size:12px;line-height:1.9;color:#9a8674}.game-overlay{position:fixed;inset:0;background:#342c27;color:#f6eddf;z-index:20;display:flex;flex-direction:column}.game-top{height:80px;display:flex;align-items:center;justify-content:space-between;padding:15px 35px;border-bottom:1px solid #a48a6530;gap:18px}.game-brand{display:flex;align-items:center;gap:12px}.game-brand img{width:40px;height:40px}.game-brand strong{font-size:14px;font-weight:500;letter-spacing:1px}.game-brand small{display:block;font-size:9px;color:#b7a18b;margin-top:6px}.game-top .button{background:#514238;border-color:#8a715d55;color:#e8d7c3}.game-progress{height:3px;background:#51443a}.game-progress>span{display:block;height:100%;background:#cdb08b;width:0}.game-stage{flex:1;position:relative;min-height:0;display:flex;justify-content:center;overflow:hidden}.game-stage canvas{display:block;width:100%;height:100%}.game-hud{height:100px;display:flex;justify-content:space-around;align-items:center;border-top:1px solid #a48a6530}.game-score{display:flex;gap:40px;align-items:center}.game-score>div{text-align:center}.game-score small{display:block;font-size:9px;color:#ae957d;letter-spacing:2px;margin-bottom:7px}.game-score strong{font-size:27px;font-weight:400;letter-spacing:2px}.game-score .combo strong{color:#e1c6a0}.game-controls{display:flex;align-items:center;gap:15px;color:#ae957d;font-size:10px}.game-controls input{width:80px}.game-countdown{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;pointer-events:none}.game-countdown strong{font-size:96px;font-family:Georgia,serif;color:#e5c79f;font-weight:400}.game-countdown span{font-size:14px;letter-spacing:4px}.pause-panel{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#2c2520cc;backdrop-filter:blur(4px)}.pause-panel>div{text-align:center;padding:36px;width:350px}.pause-panel h2{font-size:26px;font-weight:400;margin-bottom:15px}.pause-panel p{font-size:12px;line-height:1.9;color:#bba58d;margin-bottom:23px}.pause-panel .row{justify-content:center}.result-screen{padding:35px 20px;overflow:auto;text-align:center;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.result-screen .eyebrow{color:#b6a086}.result-screen h1{font-family:"Songti TC",serif;font-weight:400;font-size:32px;letter-spacing:4px;margin:10px 0}.result-screen>p{font-size:12px;color:#bba58d;margin-bottom:24px}.result-columns{display:flex;gap:25px;justify-content:center;margin-bottom:25px;max-width:900px;width:100%}.result-card{padding:24px 30px;background:#44382f;border:1px solid #a98b6433;border-radius:13px;flex:1;max-width:410px}.result-rank{font-family:Georgia,serif;font-size:76px;color:#dfbf8e;line-height:1.2}.result-card .result-score{font-size:30px;margin:9px 0 20px;letter-spacing:3px}.result-counts{display:grid;grid-template-columns:1fr 1fr;gap:13px;font-size:11px;text-align:left;color:#baa28a}.result-counts>span{display:flex;justify-content:space-between}.result-counts b{color:#f4e6d4;font-weight:400}.result-extra{display:flex;justify-content:space-around;border-top:1px solid #a88d6533;margin-top:22px;padding-top:17px;font-size:10px;color:#baa28a}.result-extra strong{display:block;color:#efd8b7;font-size:22px;font-weight:400;margin-bottom:5px}.result-screen>.row{margin-top:5px}.result-screen .button{background:#514238;border-color:#8a715d55;color:#ead9c5}.result-screen .button.primary{background:#b8a084;color:#302820}.save-status{font-size:10px!important;min-height:20px;margin:0 0 18px!important;color:#bca78d}.save-status button{font-size:10px;color:#e5c39a;background:none;text-decoration:underline}.hidden{display:none!important}
@media(min-width:1500px){.hero{min-height:330px}.hero h2{font-size:43px}.hero-copy{max-width:55%}.cover{height:185px}}
@media(max-width:1200px){.sidebar{width:200px;padding:26px 13px 0}.workspace{margin-left:200px}.brand>span{font-size:11px}.brand img{width:41px;height:41px}.brand small{font-size:7px}main{padding:28px}.topbar{padding:0 28px}.hero-layout{grid-template-columns:minmax(0,1fr) 260px;gap:15px}.hero{padding:25px 22px}.hero h2{font-size:29px}.hero-copy{max-width:70%}.hero-art{right:-45px;width:60%;opacity:.75}.hero-copy p{max-width:210px}.session-card{padding:19px}.library-tools{gap:13px}.search input{width:115px}.filters{gap:10px}.song-grid{gap:12px}.cover{height:135px}.song-meta{padding:13px}.song-stats{gap:9px}footer{padding:20px 28px}.editor-layout{grid-template-columns:minmax(0,1fr) 230px}#toast{left:calc(50% + 100px)}}
@media(max-width:1000px){.sidebar{width:76px;padding:20px 10px 0}.brand{margin:0;justify-content:center}.brand>span,.sidebar .nav-label,.sidebar nav>a>.nav-dot,.sidebar-bottom .side-note,.account #account-label,.account>span:last-child{display:none}.brand img{width:43px;height:43px}.side-rule{margin:23px 5px}.sidebar nav>a{font-size:0;justify-content:center;gap:0;padding:14px}.sidebar nav>a .icon{width:21px;height:21px}.sidebar nav>a:nth-of-type(4){margin-top:30px}.account{justify-content:center}.workspace{margin-left:76px}.hero-layout{grid-template-columns:minmax(0,1fr) 255px}.hero h2{font-size:28px}.hero-art{right:-58px;opacity:.6}.hero-copy{max-width:90%}.library-head{align-items:flex-start}.library-tools{align-items:flex-end;flex-direction:column;gap:4px}.search input{width:155px}.cover-label{font-size:6px}.cover-bottom{font-size:8px}.song-stats .level{display:none}.info-tile{padding:12px}.info-tile p{font-size:8px}#toast{left:calc(50% + 38px)}}
@media(max-width:740px){.topbar{height:60px;padding:0 19px}.breadcrumb{font-size:8px;gap:10px}.breadcrumb span:last-child{font-size:10px}.top-actions{gap:7px}.keyboard-badge{font-size:9px}main{padding:23px 19px}.page-heading h1{font-size:23px}.page-number{display:none}.hero-layout{grid-template-columns:1fr}.hero{min-height:275px;padding:25px}.hero h2{font-size:32px}.hero-copy{max-width:68%}.hero-art{opacity:.8;right:-15px;width:55%}.session-card{padding:18px}.session-card .card-title{margin-bottom:14px}.session-card .mode-segment{margin-bottom:12px}.session-card .selected-song{margin:12px 0}.hero-layout{gap:16px}.song-grid{grid-template-columns:1fr}.song-card{display:grid;grid-template-columns:40% 1fr}.cover{height:146px}.song-meta{display:flex;flex-direction:column;justify-content:center;padding:17px}.song-stats{margin-top:17px}.song-stats .level{display:flex}.library-head{gap:10px}.section-title h2{font-size:16px}.section-title>small{display:none}.search{display:none}.filters{gap:14px}.info-strip{grid-template-columns:1fr;gap:10px}.info-tile p{font-size:10px}.two-col,.device-grid,.calibration-settings,.editor-layout{grid-template-columns:1fr}.panel{padding:19px}.editor-settings{order:-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.editor-settings .field{margin:0}.editor-settings h2,.editor-settings .editor-foot{grid-column:1/-1}.editor-settings .button{margin:0}.page-heading .row{flex-wrap:wrap;justify-content:flex-end}.page-heading .button{padding:9px 11px;font-size:10px}footer{padding:18px 19px;font-size:8px}footer>span:last-child{display:none}.game-top{padding:10px 14px;height:70px}.game-brand img{width:32px;height:32px}.game-brand strong{font-size:11px}.game-brand small{font-size:8px}.game-top .row{gap:7px}.game-top .button{padding:8px 10px;font-size:10px}.game-top .game-time{display:none}.game-hud{height:100px;flex-wrap:wrap;gap:10px;padding:12px}.game-controls{display:none}.game-score{gap:23px}.game-score strong{font-size:22px}.game-score small{font-size:8px}.result-screen{padding:20px 10px}.result-columns{gap:10px}.result-card{padding:17px 15px}.result-screen h1{font-size:24px}.result-rank{font-size:54px}.result-card .result-score{font-size:24px}.result-counts{font-size:9px;gap:10px}.result-extra{font-size:9px}.result-extra strong{font-size:19px}.modal-inner{padding:24px}.notice{font-size:10px}.info-strip{margin-top:18px}}
@media(max-width:440px){.sidebar{width:58px;padding:17px 5px 0}.brand img{width:37px;height:37px}.sidebar nav>a{padding:13px}.sidebar nav>a .icon{width:19px;height:19px}.workspace{margin-left:58px}main{padding:20px 15px}.topbar{padding:0 15px}.breadcrumb{font-size:7px;gap:7px}.keyboard-badge #device-status{font-size:0}.keyboard-badge #device-status:after{content:'鍵盤';font-size:8px}.top-actions{gap:3px}.hero{padding:24px 20px;min-height:270px}.hero h2{font-size:28px;letter-spacing:1px}.hero-copy{max-width:100%}.hero-art{opacity:.25;right:-20px;width:75%}.hero-caption{gap:10px;font-size:7px}.hero-tag{font-size:6px;bottom:15px;right:15px}.hero p{font-size:9px}.page-heading h1{font-size:21px}.page-heading p{font-size:10px}.page-heading .eyebrow{font-size:7px}.section-title h2{font-size:14px}.section-title{gap:6px}.filters{gap:10px}.filters button{font-size:9px}.song-card{grid-template-columns:38% 1fr}.song-meta{padding:12px}.song-meta h3{font-size:12px}.song-stats{gap:7px;font-size:7px;margin-top:12px}.song-stats .level{display:none}.cover-label{font-size:5px;left:10px}.cover-bottom{font-size:6px;left:10px;letter-spacing:1px}.cover-badge{right:8px;top:30px;font-size:6px}.cover{height:130px}.info-tile{gap:9px}.info-tile strong{font-size:10px}.info-tile p{font-size:9px}.panel{padding:15px}.two-col{gap:16px}#toast{left:calc(50% + 29px);max-width:75vw;font-size:11px}.page-heading:has(.row){align-items:flex-start}.page-heading .row{flex-direction:column}.calibration-settings{gap:14px}.result-columns{flex-direction:column;align-items:center}.result-card{width:100%}.editor-settings{grid-template-columns:1fr}.editor-settings h2,.editor-settings .editor-foot{grid-column:1}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
