/* A calm practice surface; detailed editing remains an explicit view. */
.song-practice{padding:25px 32px;margin-bottom:20px}.song-top,.song-bottom,.song-actions,.song-position{display:flex;align-items:center;justify-content:space-between;gap:12px}.song-eyebrow{color:#938ba6;font-size:11px;letter-spacing:.08em}.song-top h2{font-size:20px;line-height:1.5;margin:5px 0;color:#363348}.song-stage{text-align:center;padding:22px 0 10px}.song-adjacent{min-height:24px;font-size:14px;color:#9993a7;margin:8px 0;line-height:1.7}.song-current-line{display:flex;align-items:center;gap:20px;justify-content:space-between}.song-current-line h3{font-size:clamp(24px,2.4vw,36px);line-height:1.7;color:#5640a0;margin:10px 0;font-weight:750}.song-current-line .square-btn{flex-shrink:0;border-color:transparent;background:#f8f6fc}.song-position{justify-content:center;font-size:11px;color:#8b8599;margin:12px 0}.song-position select{max-width:290px;border:0;border-radius:7px;padding:6px;background:#f7f5fb;color:#81798e;font:inherit}.song-actions{justify-content:center;margin:15px 0 23px}.song-actions .btn-primary{padding:13px 28px;border-radius:30px}.song-bottom{border-top:1px solid #f0edf5;padding-top:14px;font-size:11px;color:#8c869a}.song-bottom>div{display:flex;gap:16px}.song-bottom .text-button{font-size:11px}.song-align-message{background:#f5f2fc;padding:12px 15px;border-radius:10px;font-size:12px;color:#77648e;line-height:1.7;margin:15px 0 0}.song-empty-text{text-align:center;color:#8e869e;font-size:14px;padding:24px;line-height:1.8}.song-difference{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:22px;border-top:1px solid #eeebf5;margin-top:15px;padding:15px 0 2px;color:#71687e;font-size:12px;min-height:42px}.song-difference strong{font-size:20px;color:#5b4796;margin-left:6px}.song-difference small{color:#a69aac;font-size:10px}
#practicePage.practice-simple{max-width:1160px;margin:0 auto}.practice-simple .practice-heading{margin-bottom:22px}.practice-simple .practice-heading h1{font-size:28px}.practice-simple .practice-heading p{font-size:13px}.practice-simple .hero-actions .btn{font-size:12px;padding:10px 13px}.practice-simple:not(.is-recording) #recordBtn{display:none}.practice-simple .session-bar,.practice-simple .practice-empty,.practice-simple #phraseWorkbench,.practice-simple #practiceReferenceDetails,.practice-simple #lyricsCard,.practice-simple #comparisonCard,.practice-simple #inspector,.practice-simple #notesCard,.practice-simple>.disclaimer{display:none!important}.practice-simple .workspace{display:block;grid-template-columns:1fr}.practice-simple .primary-column{width:100%;gap:0}.practice-simple .practice-savebar{margin:0 2px 14px}.practice-simple .practice-savebar #saveStatus{font-size:10px;color:#aaa3b3}.practice-simple #timelineCard{padding:23px 28px}.practice-simple #timelineCard .chart-header h2{font-size:17px}.practice-simple #timelineCard .chart-header p,.practice-simple #timelineCard .section-label,.practice-simple .chart-toggles,.practice-simple .plot-hint,.practice-simple #exportCsv,.practice-simple .legend>span:nth-child(2),.practice-simple .legend>span:nth-child(4){display:none}.practice-simple .wave-shell{height:35px;margin-top:15px}.practice-simple .plot-caption{margin-top:17px}.practice-simple .plot-caption-main{font-size:11px}.practice-simple #timelineTitle{font-size:0!important}.practice-simple #timelineTitle:after{content:'金色是参考，紫色是你的声音';font-size:15px}.practice-simple .plot-footer{justify-content:center}.practice-simple.without-audio .workspace,.practice-simple.without-audio .practice-savebar{display:none}
#practicePage.is-recording #songPractice,#practicePage.is-recording .workspace,#practicePage.is-recording .session-bar,#practicePage.is-recording .practice-savebar,#practicePage.is-recording #notesCard,#practicePage.is-recording>.disclaimer,#practicePage.is-recording .practice-empty{display:none!important}#practicePage.is-recording .hero-actions>*:not(#recordBtn),#practicePage.is-recording .hero-copy p{display:none}body:has(#practicePage.is-recording) #audioPlayer{display:none!important}#practicePage.is-recording .practice-heading{margin-bottom:12px}#practicePage.is-recording .practice-heading h1{font-size:22px}#practicePage.is-recording #recordBtn{background:#7656ce;color:#fff;border-color:#7656ce}body[data-page='practice']:has(#practicePage.practice-simple) .content{padding-top:30px}
@media(max-width:760px){.song-practice{padding:20px 16px}.song-current-line{gap:8px}.song-current-line h3{font-size:24px}.song-bottom{align-items:flex-start;flex-wrap:wrap}.song-top h2{font-size:17px}.song-actions{gap:9px;flex-wrap:wrap}.song-position{flex-direction:column;gap:5px}.practice-simple #timelineCard{padding:20px 14px}.song-difference{gap:13px}.practice-simple .practice-heading{gap:15px}.practice-simple .hero-actions{flex-wrap:wrap}}

.practice-simple .pitch-candidate{display:none}
.practice-simple:not(.without-audio) .song-practice{padding:18px 27px;margin-bottom:12px}.practice-simple:not(.without-audio) .song-stage{padding:0}.practice-simple:not(.without-audio) .song-adjacent{display:none}.practice-simple:not(.without-audio) .song-current-line h3{font-size:27px;margin:10px 0 3px}.practice-simple:not(.without-audio) .song-position{margin:5px 0 8px}.practice-simple:not(.without-audio) .song-actions{margin:8px 0 13px}.practice-simple:not(.without-audio) .song-top h2{font-size:16px}.practice-simple:not(.without-audio) .song-align-message{font-size:11px;margin-top:10px;padding:8px 12px}.practice-simple:not(.without-audio) .practice-heading{padding-bottom:8px;margin-bottom:15px}.practice-simple:not(.without-audio) .hero-copy>p{display:none}
.practice-simple:not(.without-audio) .song-eyebrow{display:none}.practice-simple:not(.without-audio) .practice-heading h1{font-size:23px;margin:5px 0}.practice-simple:not(.without-audio) .song-practice{padding:14px 24px}.practice-simple:not(.without-audio) .song-current-line h3{font-size:25px;line-height:1.5;margin:7px 0 2px}.practice-simple:not(.without-audio) .song-actions .btn{padding:9px 18px}.practice-simple:not(.without-audio) .song-bottom{padding-top:10px}.practice-simple:not(.without-audio) .song-align-message{margin:8px 0 0;padding:6px 10px}.practice-simple #timelineCard .wave-shell{display:none}.practice-simple #timelineCard .chart-header{margin-bottom:8px}.practice-simple #timelineCard .chart-header h2{margin:0}.practice-simple #timelineCard .plot-caption{margin:10px 0}.practice-simple #timelineCard{padding:18px 24px}.practice-simple:not(.without-audio) .practice-savebar{margin-bottom:10px}

/* Playback puts the comparison first. Recognition details open separately. */
#practicePage .song-practice.song-practice-compact{
  padding:13px 20px 15px;
  margin-bottom:8px;
  border-radius:14px;
  box-shadow:0 3px 14px #29233c04;
}
.song-compact-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px}
.song-compact-title{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.song-compact-title h2{font-size:15px;line-height:1.5;margin:0;color:#3c394b;font-weight:650;overflow-wrap:anywhere}
.song-compact-meta{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.6;color:#888192;white-space:nowrap}
.song-compact-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.song-compact-actions .text-button{font-size:12px;padding:6px 8px;color:#7c728e;white-space:nowrap;border-radius:7px}
.song-compact-actions .text-button:hover{background:#f4f1fb;color:#6250b5}
.song-compact-controls{display:flex;align-items:center;gap:8px;min-width:0}
.song-compact-controls .square-btn{width:36px;height:36px;flex:0 0 36px;background:#faf9fc;border-color:#eeeaf4;color:#766a92}
.song-compact-controls label{display:block;flex:1;min-width:0}
.song-compact-controls select{width:100%;min-width:0;flex:1;border:1px solid #e9e5f1;background:#f8f6fc;color:#584577;border-radius:8px;height:36px;padding:0 11px;font-size:13px;font-weight:600;text-overflow:ellipsis;outline:none}
.song-compact-controls select:focus-visible{border-color:#9281da;box-shadow:0 0 0 3px #8b75d315}
.song-compact-controls .btn{height:36px;padding:0 16px;font-size:12px;flex-shrink:0;margin-left:4px;justify-content:center}
.song-compact-status{font-size:12px;color:#78618f;line-height:1.65;margin:10px 0 0;padding:8px 12px;background:#f5f2fb;border-radius:8px}
.song-compact-status:empty{display:none}
.song-compact-status.error-text{color:#a34f4b;background:#fff1ef}

body[data-page='practice']:has(#practicePage.practice-simple:not(.without-audio):not(.is-recording)) .content{padding-top:18px}
#practicePage.practice-simple:not(.without-audio):not(.is-recording) .practice-heading{flex-direction:row;align-items:center;padding:0;margin-bottom:12px;gap:14px}
#practicePage.practice-simple:not(.without-audio):not(.is-recording) .practice-heading .hero-copy{display:flex;align-items:center;gap:17px;min-width:0}
#practicePage.practice-simple:not(.without-audio):not(.is-recording) .practice-heading h1{font-size:21px;line-height:1.6;margin:0;white-space:nowrap;letter-spacing:-.02em}
#practicePage.practice-simple:not(.without-audio):not(.is-recording) .practice-heading .back-link{font-size:11px;white-space:nowrap}
#practicePage.practice-simple:not(.without-audio):not(.is-recording) .hero-actions{width:auto;padding:0;gap:8px}
#practicePage.practice-simple:not(.without-audio):not(.is-recording) .hero-actions .btn{padding:8px 11px;font-size:11px;flex:none}
#practicePage.practice-simple:not(.without-audio):not(.is-recording) .practice-savebar{min-height:26px;margin:0 2px 8px}
#practicePage.practice-simple:not(.without-audio):not(.is-recording) .practice-savebar .btn{padding:5px 9px;font-size:11px;border-radius:7px}

#songMoreDialog{width:min(94vw,510px)}
#songRecognitionDialog{width:min(94vw,720px)}
#songMoreDialog h2,#songRecognitionDialog h2{font-size:21px;margin:12px 0 16px}
.song-more-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.song-more-actions>button{order:1}
.song-more-actions .btn{justify-content:center;white-space:normal;min-height:40px;line-height:1.5}
.song-more-actions .text-button{min-height:40px;padding:9px 12px;background:#faf9fc;border:1px solid #eeeaf4;border-radius:9px;text-align:center;font-size:12px;line-height:1.5}
.song-more-help{grid-column:1/-1;order:2;font-size:12px;line-height:1.8;color:#8b8397;margin:4px 0 0;padding:11px 13px;border-radius:9px;background:#f8f6fc}
.song-recognition-details{font-size:12px;color:#7b738a;line-height:1.8}
.song-recognition-details .song-align-message{margin:8px 0;padding:9px 12px;font-size:12px}
.song-recognition-details .transcript-lines{max-height:40vh;margin:16px 0 0}
.song-recognition-details .transcript-line{padding:11px 13px}

@media(max-width:760px){
  #practicePage .song-practice.song-practice-compact{padding:12px 14px}
  .song-compact-top{align-items:flex-start;gap:8px}
  .song-compact-title{display:block}
  .song-compact-title h2{font-size:14px}
  .song-compact-meta{margin-top:4px;font-size:10px}
  .song-compact-actions{gap:0}
  .song-compact-actions .text-button{font-size:11px;padding:6px}
  .song-compact-controls{flex-wrap:wrap;gap:6px}
  .song-compact-controls select{font-size:12px}
  .song-compact-controls .btn{margin-left:0;padding:0 11px}
  #practicePage.practice-simple:not(.without-audio):not(.is-recording) .practice-heading{flex-wrap:wrap;gap:8px}
  #practicePage.practice-simple:not(.without-audio):not(.is-recording) .practice-heading .hero-copy{gap:10px}
  #practicePage.practice-simple:not(.without-audio):not(.is-recording) .practice-heading h1{font-size:19px}
  #practicePage.practice-simple:not(.without-audio):not(.is-recording) .hero-actions .btn{padding:7px 9px;font-size:10px}
}
@media(max-width:480px){
  .song-compact-top{flex-wrap:wrap}
  .song-compact-title{flex:1}
  .song-compact-controls select{flex-basis:calc(100% - 90px)}
  .song-compact-controls #songListen{width:100%}
  .song-more-actions{grid-template-columns:1fr}
}
