:root{font-family:"Microsoft YaHei UI","PingFang SC",sans-serif;color:#183145;background:#eaf4fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 8% 8%,#f7fcff 0,transparent 35%),linear-gradient(145deg,#eaf5fb,#dfeef8);padding:38px 20px}button,select,input{font:inherit}button,select{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #ffaf60;outline-offset:3px}.shell{max-width:1100px;margin:auto}.header{display:flex;align-items:center;justify-content:space-between;margin:0 4px 25px}.brand{display:flex;align-items:center;gap:15px}.brand-icon{width:58px;height:58px;border-radius:19px;background:#34a9e8;box-shadow:0 8px 20px #55b4e751;color:white;display:grid;place-items:center;font:700 38px Georgia,serif;transform:rotate(-6deg)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.17em;color:#7d9cae}h1{font-size:25px;letter-spacing:.04em;margin:5px 0 4px;color:#152f42}.brand p{margin:0;color:#7b96a7;font-size:12px;font-weight:600}.brand p span{color:#b5cbd7;padding:0 5px}.progress{text-align:right;color:#8aa3b2;font-size:11px;font-weight:700;letter-spacing:.1em}.progress span{display:block;margin-bottom:4px}.progress strong{font:700 27px Georgia,serif;color:#229de0}.progress small{font:600 13px "Microsoft YaHei UI",sans-serif;color:#a8becb}.workspace{background:#fff;border:1px solid #d8e9f1;border-radius:26px;box-shadow:0 22px 65px #7da4ba23;padding:35px 40px 30px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.section-tag{font-size:11px;letter-spacing:.08em;font-weight:700;color:#319fd6}.tag-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#36b9db;margin-right:7px}h2{font-size:29px;margin:12px 0 7px;letter-spacing:.03em}.section-head p{margin:0;font-size:13px;color:#89a1b0}.key{font:700 15px Georgia,serif;color:#608092;background:#edf7fb;padding:10px 15px;border-radius:11px;white-space:nowrap}.key span{margin-left:12px;color:#a0b8c4}.score-panel{border:1px solid #dcecf3;border-radius:19px;background:linear-gradient(#fbfdff,#f5fbfe);padding:19px 22px 16px;overflow:hidden}.score-top,.score-bottom{display:flex;justify-content:space-between;gap:10px;color:#8ba4b3;font-size:11px;font-weight:700}.score-top span:last-child{color:#32a4dc}.score-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c4dfed transparent}.score{display:flex;justify-content:space-between;min-width:650px;padding:32px 2px 28px;gap:8px}.bar{flex:1;display:flex;justify-content:space-around;gap:8px;border-right:2px solid #476170;padding:0 10px 4px 0;min-width:0}.bar+.bar{padding-left:8px}.beat{display:flex;position:relative;justify-content:center;align-items:flex-end;flex:1;min-width:max-content;padding-bottom:5px}.beat.beamed:after{content:"";position:absolute;bottom:0;left:3px;right:3px;border-bottom:2px solid #294658}.beat.triplet:before{content:'3';position:absolute;top:19px;left:4px;right:4px;height:18px;display:flex;align-items:center;justify-content:center;color:#294658;font:italic 700 19px Georgia,serif;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M 2 18 Q 6 4 35 4 M 65 4 Q 94 4 98 18' fill='none' stroke='%23294658' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center/100% 100% no-repeat}.triplet-score .solfege{height:44px}.note{min-width:23px;flex:1;text-align:center;position:relative;border-radius:7px;padding:0 1px 1px;transition:background .1s,color .1s}.note.active{color:#068fdf;background:#d9f2ff;box-shadow:0 0 0 4px #d9f2ff}.solfege{display:block;color:#7faaab;font:600 11px Georgia,serif;height:19px}.number{display:inline-block;font:700 34px Arial,"Microsoft YaHei UI",sans-serif;font-variant-numeric:lining-nums tabular-nums;line-height:1.05;position:relative}.high .number:before,.low .number:after{content:"";position:absolute;width:5px;height:5px;background:currentColor;border-radius:50%;left:50%;transform:translateX(-50%)}.high .number:before{top:-6px}.low .number:after{bottom:-14px}.dotted .number:after{content:"";position:absolute;left:calc(100% + 2px);top:75%;width:5px;height:5px;border-radius:50%;background:currentColor;transform:translateY(-50%)}.sixteenth:after{content:"";position:absolute;bottom:-10px;left:0;right:0;border-bottom:2px solid #294658}.sixteenth:first-child:after{left:3px}.sixteenth:last-child:after{right:3px}.score-bottom{border-top:1px solid #e3f0f5;padding-top:13px}.score-bottom b{color:#56a9cf}.score-bottom span:first-child{color:#82acbd}.level-nav{display:flex;justify-content:center;align-items:center;gap:9px;margin:25px 0}.nav-arrow{border:1px solid #e0edf3;background:white;color:#7a9cac;width:37px;height:37px;border-radius:12px;font-size:25px;line-height:1}.nav-arrow:hover:not(:disabled){background:#edf9ff;color:#168fce}.nav-arrow:disabled{opacity:.32;cursor:default}.level-select{position:relative;display:flex;align-items:center;gap:10px;border:1px solid #dcebf2;border-radius:12px;padding:0 10px 0 14px;height:40px}.level-select label{font-size:11px;color:#8aa3b1;font-weight:700}.level-select select{border:0;outline:0;color:#25485e;font-weight:700;background:transparent;font-size:13px;max-width:210px}.controls{display:flex;align-items:center;gap:14px;border-top:1px solid #eaf2f6;padding-top:25px}.sound-control{display:flex;flex-direction:column;gap:7px;border:1px solid #dcebf2;background:#fbfdfe;border-radius:13px;padding:10px 14px;min-width:150px}.sound-control span,.tempo-control label{font-size:10px;font-weight:800;letter-spacing:.06em;color:#91a9b5}.sound-control select{border:0;background:transparent;color:#294c60;outline:0;font-size:13px;font-weight:700}.tempo-control{flex:1;border:1px solid #dcebf2;border-radius:13px;padding:11px 15px;background:#fbfdfe;min-width:135px}.tempo-control label{display:flex;justify-content:space-between;gap:10px}.tempo-control strong{color:#349ecc}.tempo-control input{width:100%;height:5px;accent-color:#2da9e8;margin:10px 0 1px}.play,.stop{height:64px;border:0;border-radius:14px;font-weight:800}.play{color:#fff;background:#239fde;padding:0 27px;box-shadow:0 7px 15px #48afe53d;min-width:145px}.play:hover{background:#168ecb}.play span{margin-left:7px}.stop{width:58px;background:#edf6fa;color:#7ca1b4}.stop:disabled{opacity:.45;cursor:default}footer{display:flex;align-items:center;gap:8px;margin:21px 8px;color:#87a5b5;font-size:11px}footer span:first-child{color:#39a8dc;font-size:16px}footer span:last-child{margin-left:auto;font-size:9px;letter-spacing:.12em}@media(max-width:650px){body{padding:20px 12px}.header{margin-bottom:18px}.brand-icon{width:48px;height:48px;font-size:30px;border-radius:15px}h1{font-size:20px}.eyebrow{font-size:8px}.workspace{padding:23px 17px 19px;border-radius:20px}.section-head{margin-bottom:19px}h2{font-size:24px}.score-panel{padding:15px 13px}.score{padding-top:30px}.controls{display:grid;grid-template-columns:1fr 1fr auto;gap:9px}.sound-control{min-width:0}.tempo-control{min-width:0}.play{grid-column:1/3;height:52px}.stop{grid-column:3;height:52px;width:52px}.level-nav{margin:20px 0}.level-select{flex:1;max-width:260px}.level-select select{width:100%;min-width:0}.score-bottom{font-size:10px}footer span:last-child{display:none}}








/* Stage navigation and multi-line melody notation. */
.stage-switch{display:flex;gap:8px;margin:0 4px 16px}
.stage-switch button{border:1px solid #d4e8f1;border-radius:12px;background:#f6fbfe;color:#6b8b9d;padding:10px 15px;font-weight:800;font-size:12px}
.stage-switch button span{font-weight:500;margin-left:6px}
.stage-switch button[aria-pressed="true"]{background:#249fdf;border-color:#249fdf;color:white;box-shadow:0 5px 12px #48afe535}
.score-scroll.long-score{max-height:310px;overflow:auto}
.score.melody-score{display:flex;flex-direction:column;align-items:stretch;gap:25px;padding:22px 2px 25px}
.score-line{display:flex;gap:8px;width:100%}
.score-line .bar{flex:0 0 calc((100% - 24px)/4)}
.note-hold{flex:1;min-width:23px;text-align:center;font:700 28px Arial,sans-serif;line-height:1.27;color:#294658}
@media(max-width:650px){.stage-switch{gap:6px;margin-bottom:12px}.stage-switch button{padding:9px 10px;font-size:11px}.stage-switch button span{margin-left:2px}.score-scroll.long-score{max-height:285px}}
