/* A reading desk: one sheet of music, one row of answers, one round at a time. */
.reading-intro{align-items:center;margin-bottom:28px}.reading-intro p{font-size:15px;margin-top:10px}
.reading-intro h1{font-size:clamp(30px,4vw,46px)!important;letter-spacing:-.035em}
.trainer{background:#141618;border:1px solid #ffffff20;border-radius:24px;overflow:hidden;margin-bottom:24px}
.trainer-top{padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.round-count{font-variant-numeric:tabular-nums;font-size:15px;color:#aaaeb3}.round-count strong{color:#f4f8f9;font-size:23px;font-weight:500;margin-right:4px}
.text-button{background:none;border:0;color:#aaaeb3;padding:8px 0;font-size:14px;min-height:44px;text-decoration:underline;text-underline-offset:5px}
.progress{height:3px;background:#ffffff10}.progress span{display:block;background:#70d9ed;height:100%;width:0;transition:width .2s}
.sheet{position:relative;background:#fafbf9;color:#111;min-height:236px;display:flex;align-items:center;justify-content:center}
.sheet-label{position:absolute;top:17px;left:28px;font-size:12px;color:#626969}.sheet-count{position:absolute;top:17px;right:28px;color:#626969;font-size:12px}
#notation{width:100%;max-width:560px;height:228px;margin:12px 0 0}#notation svg{width:100%;height:100%;display:block}
.answer-area{padding:20px 28px 26px}.answer-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;color:#aaaeb3;font-size:13px}.answer-heading p{font-size:13px}
.answers{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.note-answer{height:64px;background:#222528;border:1px solid #ffffff20;border-radius:12px;font-size:25px;font-weight:500;line-height:1;transition:background .15s,border .15s}.note-answer:hover:not(:disabled){background:#303639;border-color:#70d9ed}.note-answer:disabled{opacity:1;cursor:default;color:#858b90}.note-answer.correct{background:#70d9ed;color:#040404;border-color:#70d9ed}.note-answer.wrong{border-color:#efaa95;color:#ffd1c2;background:#412b26}
.answers.has-accidentals .note-answer{height:48px;font-size:20px}
.feedback-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px;padding-top:18px}.feedback-row p{font-size:14px;color:#aaaeb3;line-height:1.6}.feedback-row strong{color:#f4f8f9;font-weight:600}.feedback-row.is-correct strong{color:#70d9ed}.feedback-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.feedback-actions button{min-height:44px;border-radius:24px;padding:8px 22px;font-size:14px}.listen{background:none;color:#f4f8f9;border:1px solid #ffffff38}.next{background:#f4f8f9;color:#040404;border:0;font-weight:600}
#settings{border:1px solid #ffffff20;border-radius:18px;padding:0 24px;margin-bottom:24px;background:#101214}#settings summary{padding:18px 0;cursor:pointer;font-size:15px;min-height:56px}#settings-summary{color:#aaaeb3;font-size:13px;margin-left:12px}.settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:4px 0 20px}.settings-grid label{display:grid;gap:8px;color:#aaaeb3;font-size:13px}.settings-grid select{width:100%;min-height:48px;background:#222528;border:1px solid #ffffff28;border-radius:10px;padding:8px;color:#f4f8f9;font-size:15px}.settings-bottom{display:flex;gap:20px;align-items:center;padding:0 0 22px}.settings-bottom p{font-size:13px}.settings-bottom button{border-radius:24px;min-height:44px;white-space:nowrap;padding:8px 20px;background:#f4f8f9;border:0;color:#040404}
#results{padding:42px 28px 30px}.result-title{font-size:26px!important;text-align:center}.result-score{text-align:center;margin:20px 0 4px;color:#f4f8f9;font-size:68px;line-height:1.1;letter-spacing:-.05em;font-variant-numeric:tabular-nums}.result-score span{font-size:28px;color:#888f94;letter-spacing:0}.result-caption{text-align:center;font-size:14px}.mistakes{list-style:none;margin:28px 0;padding:0;border-top:1px solid #ffffff20}.mistakes li{display:flex;gap:16px;justify-content:space-between;padding:14px 0;border-bottom:1px solid #ffffff20;font-size:14px}.mistakes li span{color:#aaaeb3}.result-actions{display:flex;justify-content:center;gap:12px;margin-top:26px;flex-wrap:wrap}.result-actions button{padding:12px 24px;min-height:48px;border-radius:28px;border:1px solid #ffffff38;background:none;color:#f4f8f9}.result-actions .review{background:#70d9ed;border-color:#70d9ed;color:#040404;font-weight:600}
.reading-help{margin-top:30px}.reading-help p{font-size:14px;margin:12px 0}.reading-help h2{font:600 17px var(--sans);margin-top:20px}.reading-related{display:flex;gap:24px;flex-wrap:wrap;margin:28px 0;font-size:14px;color:#aaaeb3}
[hidden]{display:none!important}
@media(max-width:760px){.reading-intro{margin-bottom:20px}.reading-intro p{font-size:14px}.trainer{border-radius:18px}.trainer-top{padding:10px 18px}.sheet{min-height:210px}#notation{height:200px}.sheet-label{left:18px;top:12px}.sheet-count{right:18px;top:12px}.answer-area{padding:16px}.answers{gap:5px}.note-answer{height:52px;border-radius:9px;font-size:22px}.answers.has-accidentals .note-answer{height:44px;font-size:18px}.feedback-row{gap:12px;align-items:start;min-height:96px}.feedback-actions{gap:6px}.feedback-actions button{padding:8px 15px}.feedback-row p{font-size:13px}.answer-heading p{font-size:12px}.keyboard-hint{display:none}#settings{padding:0 18px}#settings-summary{display:block;margin:2px 0 0}.settings-grid{grid-template-columns:1fr;gap:14px}.settings-bottom{align-items:start;flex-direction:column;gap:12px}#results{padding:30px 20px}.mistakes li{font-size:13px;gap:8px}}
@media(prefers-reduced-motion:reduce){.progress span,.note-answer{transition:none}}
@media(min-width:361px) and (max-width:760px){.answers{margin-left:-8px;margin-right:-8px;gap:4px}}
@media(max-width:360px){.answers{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.note-answer,.answers.has-accidentals .note-answer{height:48px}}
.round-live{display:block;font-size:12px;color:#aaaeb3;line-height:1.5;margin-top:2px}
.sound-control{display:flex;align-items:center;gap:8px;font-size:12px;flex-shrink:0;color:#aaaeb3}.sound-control select{font-size:14px;color:#f4f8f9;background:#222528;border:1px solid #ffffff30;border-radius:10px;min-height:44px;min-width:96px;padding:6px 10px}
.keyboard-hint{display:none}.audio-status{font-size:12px;color:#d5bd9d;margin-top:8px}.audio-status:empty{display:none}.result-detail{font-size:17px;color:#f4f8f9;text-align:center;margin:12px 0 4px}.result-caption{max-width:620px;margin:0 auto}
.feedback-row>p{flex:1;min-width:0;text-wrap:wrap}
@media(max-width:360px){.feedback-row{flex-wrap:wrap}.feedback-row>p{flex-basis:100%}.feedback-actions{margin-left:auto}}

#notation{position:relative}#notation .note-audition{position:absolute;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;touch-action:manipulation}#notation .note-audition:focus-visible{outline:2px solid #087f99;outline-offset:2px;background:#70d9ed18}#notation .note-audition:active{background:#70d9ed30}#notation .note-audition:disabled{cursor:not-allowed}@media(hover:hover){#notation .note-audition:hover:not(:disabled){background:#70d9ed18}}
