.score-mode-entry{display:flex;align-items:center;gap:14px;padding:16px 20px;margin:-10px 0 22px;border:1px solid #fff;background:linear-gradient(110deg,#e3f2ee,#f4f8f4);border-radius:20px;text-decoration:none;color:#385c61;box-shadow:0 10px 30px #608c8410}.score-mode-entry strong,.score-mode-entry small{display:block}.score-mode-entry small{font-size:.75rem;color:#839e99;margin-top:3px}.score-mode-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#cee8dc;color:#5b9a87;font-size:1.3rem}.score-mode-arrow{margin-left:auto;font-size:.82rem;font-weight:700;white-space:nowrap}.score-singing-page{max-width:1200px;margin:auto;padding:30px 0 70px;color:#2c4449}.score-top{display:flex;justify-content:space-between;color:#8aa19f;font-size:.8rem}.score-top a{text-decoration:none;color:#63868b}.score-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:45px 0 30px}.score-eyebrow{font-size:.66rem;letter-spacing:.16em;color:#8aa5a1;font-weight:750}.score-heading h1{font-size:clamp(2.2rem,4vw,3.25rem);font-weight:750;margin:9px 0}.score-heading p,.control-card>p{color:#819895;font-size:.9rem;margin:0}.score-meta{display:flex;gap:8px}.score-meta span{border:1px solid #d9e9e4;background:#f3f8f5;color:#719189;border-radius:99px;padding:7px 12px;font-size:.75rem;white-space:nowrap}.score-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.score-main,.score-sidebar{display:grid;gap:20px;min-width:0}.score-card{background:#ffffffbd;border:1px solid white;border-radius:23px;padding:26px;box-shadow:0 15px 40px #4c77750d}.score-card h2{font-size:1.18rem;margin:9px 0 0;font-weight:700}.score-card-heading{display:flex;justify-content:space-between;align-items:center}.score-card-heading>span{font-size:.8rem;color:#83a19a}.notation-legend{font-size:.9rem;font-weight:650;color:#466b67;margin:26px 0 5px}.notation-legend span{font-size:.72rem;color:#92a9a3;font-weight:400}.notation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));row-gap:28px;margin:22px 0}.measure{display:flex;align-items:stretch;justify-content:space-evenly;border-right:1px solid #9eb6af;min-width:0;gap:1px;padding:0 3px}.measure:nth-child(4n){border-right:2px solid #789990}.notation-note{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:start;min-width:0;flex:1;border-radius:8px;padding:5px 0;color:#354d4a;transition:background .15s,color .15s}.notation-note.active{background:#d8f0e7;color:#2c846d}.notation-note.scored-good{color:#459b80}.notation-note.scored-low{color:#c58d72}.notation-note .digit{display:block;font-size:1.15rem;line-height:1.25;font-weight:700;white-space:nowrap}.notation-note .under{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}.notation-note .low-dot{height:8px;line-height:7px;font-weight:700}.notation-note .lyric{font-size:.72rem;color:#7b918c;white-space:nowrap;height:1.3em}.notation-help,.score-privacy,.score-explanation{font-size:.74rem;color:#91a5a0;line-height:1.7;margin:0}.control-card>p{line-height:1.7;margin:11px 0 24px}.control-card label{display:flex;justify-content:space-between;font-size:.8rem;color:#69847e}.control-card input{width:100%;accent-color:#68aa95;margin:14px 0 2px}.tempo-labels{display:flex;justify-content:space-between;color:#9eb1ab;font-size:.7rem;margin-bottom:22px}.score-button{display:block;width:100%;padding:12px;border-radius:13px;font-size:.85rem;font-weight:650;cursor:pointer;margin-top:10px}.score-button.primary{background:#408678;color:#fff;border:1px solid #408678}.score-button.secondary{background:#f2f8f5;border:1px solid #dbece4;color:#578a7c}.score-button:disabled{opacity:.45;cursor:not-allowed}.control-hint{font-size:.75rem!important;margin:15px 0 0!important}.live-card h2{margin-bottom:20px}.live-pitch{display:flex;align-items:center;justify-content:space-around;text-align:center;background:#f2f8f5;border-radius:16px;padding:16px}.live-pitch small,.live-pitch strong{display:block}.live-pitch small{color:#93a9a1;font-size:.7rem}.live-pitch strong{font-size:1.55rem;color:#4a8478;margin-top:4px}.live-divider{width:1px;height:36px;background:#dcebe5}.score-meter{display:flex;align-items:center;gap:8px;color:#9aacaa;font-size:.68rem;margin-top:22px}.score-meter>div{height:6px;position:relative;flex:1;border-radius:9px;background:linear-gradient(90deg,#e2eae5,#88bda9,#e2eae5)}.score-meter i{position:absolute;left:50%;top:-4px;width:2px;height:14px;background:#75a595}.score-meter b{position:absolute;top:-5px;width:16px;height:16px;border-radius:50%;background:#4a9986;border:3px solid white;transform:translateX(-50%)}.live-card>p{font-size:.76rem;color:#82a198;text-align:center;margin:12px 0 0}.score-result-layout{display:flex;align-items:center;gap:24px;margin:20px 0}.score-number{white-space:nowrap;color:#84a39a}.score-number strong{font-size:3.2rem;color:#4b9981;line-height:1}.score-result-layout p{margin:0 0 8px}.feedback-list{display:flex;flex-wrap:wrap;gap:7px}.feedback-chip{padding:6px 9px;border-radius:9px;background:#edf6f1;color:#608779;font-size:.72rem}.feedback-chip.low{background:#faf0ea;color:#b58370}@media(max-width:900px){.score-layout{grid-template-columns:1fr}.score-sidebar{grid-template-columns:1fr 1fr}.score-privacy{grid-column:1/-1}}@media(max-width:600px){.score-heading{display:block;margin:30px 0 20px}.score-heading p{margin-bottom:15px}.score-sidebar{grid-template-columns:1fr}.score-privacy{grid-column:auto}.score-card{padding:20px}.notation{grid-template-columns:repeat(2,minmax(0,1fr))}.measure:nth-child(2n){border-right:2px solid #789990}.score-top span{display:none}.notation-legend span{display:block;margin-top:8px}.score-result-layout{align-items:flex-start}.score-mode-entry small{font-size:.68rem}.score-mode-arrow{font-size:0}.score-mode-arrow:after{content:'→';font-size:1rem}}
/* 简谱时值线：相邻八分音符共用一条线，低音点位于线下。 */
.measure{justify-content:space-around;gap:0;padding:0 4px;border-right:1px solid #9eb6af}
.measure:nth-child(4n){border-right:1px solid #9eb6af}
.measure:last-child{border-right:4px double #789990}
.note-bundle{position:relative;display:flex;flex:1;min-width:0;align-items:flex-start}
.note-bundle.paired{flex:2}
.note-bundle.has-beam:after{content:'';position:absolute;top:29px;left:23%;right:23%;height:1px;background:currentColor;color:#354d4a;pointer-events:none}
.note-bundle.paired.has-beam:after{left:12%;right:12%}
.notation-note{flex:1;min-width:0}
.notation-note .digit{height:25px;line-height:25px}
.notation-note .low-dot{height:10px;line-height:10px;font-size:.9rem}
.note-extension{display:flex;align-items:flex-start;justify-content:center;flex:1;min-width:0;padding-top:4px;color:#354d4a;font-size:1.1rem;font-weight:700}
@media(max-width:600px){.measure:nth-child(2n){border-right:1px solid #9eb6af}.measure:last-child{border-right:4px double #789990}}
/* 将实时音准置于乐谱上方，保持跟唱时的视线集中。 */
.score-heading{align-items:center}
.score-heading .score-meta{margin-top:16px}
.score-heading .live-card{width:min(460px,48%);flex:none;display:grid;grid-template-columns:minmax(100px,1fr) minmax(150px,1.1fr);column-gap:18px;align-items:center;padding:17px 20px}
.score-heading .live-card .score-eyebrow{grid-column:1}
.score-heading .live-card h2{grid-column:1;margin:5px 0 0;font-size:1rem}
.score-heading .live-pitch{grid-column:2;grid-row:1 / span 2;padding:9px 14px}
.score-heading .live-pitch strong{font-size:1.2rem;margin-top:1px}
.score-heading .live-divider{height:28px}
.score-heading .score-meter{grid-column:1 / -1;margin-top:12px}
.score-heading .live-card>p{grid-column:1 / -1;margin:7px 0 0}
@media(max-width:700px){.score-heading{display:flex;align-items:stretch;flex-direction:column}.score-heading .live-card{width:100%;margin-top:0}.score-heading .score-meta{margin-top:12px}}
@media(max-width:380px){.score-heading .live-card{grid-template-columns:minmax(80px,1fr) minmax(120px,1.15fr);column-gap:10px}}
/* 四拍预备：数字和音符落在同一拍，结束后露出乐谱。 */
.notation-card{position:relative}
.count-in{position:absolute;inset:0;z-index:3;display:grid;place-items:center;border-radius:inherit;background:rgba(239,248,245,.76);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);pointer-events:none}
.count-in-disc{width:164px;height:164px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(150deg,rgba(255,255,255,.96),rgba(225,243,236,.93));border:1px solid #fff;box-shadow:0 18px 44px #518c7b2b,0 0 0 12px #ffffff60,0 0 0 25px #d9eee957}
.count-in-label,.count-in-caption{font-size:.73rem;letter-spacing:.08em;color:#73988c;font-weight:600}
.count-in-disc strong{color:#448b79;font-size:4.3rem;line-height:1.05;font-weight:750;font-variant-numeric:tabular-nums}
@media(max-width:600px){.count-in-disc{width:138px;height:138px}.count-in-disc strong{font-size:3.5rem}}
.visual-metronome{margin:0 0 20px;padding:13px 15px;border:1px solid #e2efea;border-radius:15px;background:#f5faf7}
.metronome-heading{display:flex;justify-content:space-between;gap:10px;color:#75938b;font-size:.75rem;font-weight:600}
.metronome-beats{display:flex;justify-content:space-between;gap:8px;margin-top:12px}
.beat-dot{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#e1eee8;color:#84a49a;font-size:.7rem;font-weight:700;transition:background .1s,color .1s,transform .1s}
.beat-dot.active{background:#4b9882;color:white;transform:scale(1.12);box-shadow:0 0 0 5px #d5eee2}
@media(prefers-reduced-motion:reduce){.beat-dot{transition:none}.beat-dot.active{transform:none}}
/* 提高简谱对比度，当前音符使用浅红色定位。 */
.notation-note,.note-extension{color:#202c30}
.notation-note .lyric{color:#344649}
.notation-legend{color:#293e40}
.notation-legend span,.notation-help{color:#526965}
.note-bundle.has-beam:after{color:#202c30}
.measure,.measure:nth-child(4n){border-right-color:#667b78}
.measure:last-child{border-right-color:#526965}
.notation-note.scored-good{color:#2e695a}
.notation-note.scored-low{color:#914e40}
.notation-note.active,.notation-note.active.scored-good,.notation-note.active.scored-low{background:#ffd9d7;color:#8b3035;box-shadow:inset 0 0 0 1px #edaaa8}
.notation-note.active .lyric{color:#81383b}
