[hidden]{display:none!important}
.nav-item:not(.active) .nav-dot{display:none}
.side-navigation{display:flex;flex-direction:column;gap:7px}.sidebar .nav-item{border:0;width:100%;text-align:left;background:transparent}.sidebar .nav-item.active{background:#edeeFA}.sidebar .nav-item:not(.active){color:#858b9b}.mode-tabs{display:inline-flex;gap:5px;padding:5px;background:#ebece7;border-radius:10px;margin-bottom:23px}.mode-tabs button{border:0;background:transparent;padding:9px 21px;border-radius:7px;color:#8b90a0;font-size:12px}.mode-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 2px 5px #222b3b0a}.mode-tabs small{font-size:8px;padding-left:5px;letter-spacing:1px;color:#9b9fbd}.secondary{background:#fff;border:1px solid #dfe2ec;border-radius:8px;color:#626b80;padding:11px 14px;font-size:11px}.secondary:hover:not(:disabled){background:#f2f3fd;border-color:#b7c0f4;color:var(--blue)}.secondary:disabled{opacity:.45}.melody-hero{padding:21px 26px 8px;text-align:center}.melody-hero h2{font-size:22px;letter-spacing:1px;font-weight:600;margin:10px 0}.melody-hero>p{font-size:11px;color:#969baa;margin:0}.melody-first{display:flex;gap:15px;align-items:center;justify-content:center;background:#f6f7fd;border:1px solid #e9ebfa;border-radius:9px;padding:14px;margin:23px 0 20px}.melody-first>span{font-size:11px;color:#949baf}.melody-first>strong{font-size:25px;color:var(--blue);font-weight:500;min-width:39px}.melody-first>small{font-size:10px;color:#a0a5b3;border-left:1px solid #dfe3f3;padding-left:15px}.melody-progress{height:3px;border-radius:3px;background:#eff0f6}.melody-progress>div{height:100%;width:0;background:var(--blue);transition:width .15s}.melody-play-label{font-size:10px;color:#a0a6b4;margin-top:8px;min-height:18px}.melody-transport{display:flex;flex-wrap:wrap;gap:8px;padding:14px 26px 24px;justify-content:center;border-bottom:1px solid #eeeff2}.melody-transport .primary{font-size:12px;padding:11px 18px}.melody-input-area{padding:23px 26px 12px}.melody-input-area .answer-heading{margin-bottom:14px}.melody-slots{display:grid;grid-template-columns:repeat(var(--slot-count,5),minmax(0,1fr));gap:9px}.melody-slot{height:83px;position:relative;border:1px dashed #d9dfea;border-radius:9px;background:#fafbfe;color:#b3bacb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.melody-slot>span{font-size:9px;color:#a6adbf}.melody-slot>strong{font-size:20px;font-weight:500}.melody-slot>small{font-size:8px;color:#a7adbf}.melody-slot.filled{background:#f4f5fd;color:#4f5eac;border-style:solid;border-color:#d6dbf3}.melody-slot.current{border:2px solid #7e8cef;background:#f1f3ff}.melody-slot.current>span{color:var(--blue)}.melody-slot.is-correct{background:#eef7f1;color:#39795b;border-color:#9ac8ae;border-style:solid}.melody-slot.is-wrong{background:#fcf0ea;color:#a0644b;border-color:#dcb6a2;border-style:solid}.melody-slot:disabled{cursor:default}.melody-edit{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:10px 0 18px;color:#a0a6b5;font-size:9px}.melody-edit>div{display:flex;gap:12px;flex-shrink:0}.melody-edit .text-button{font-size:10px}.melody-submit-row{display:flex;gap:10px;margin-top:23px}.melody-submit-row .primary{font-size:12px}.melody-status{font-size:11px;color:#929bad;line-height:1.9;margin:14px 0 5px;min-height:22px}.melody-status.error{color:#a6644c}.melody-results{padding:22px 26px 25px;border-top:1px solid #eff0f5;background:#fcfcff}.melody-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.melody-result-heading h3{font-size:18px;font-weight:500;margin:6px 0 0}.melody-result-heading>span{font-size:10px;color:#959dab}.melody-table{border-collapse:collapse;width:100%;font-size:12px;text-align:center}.melody-table th{font-size:10px;font-weight:500;color:#9ba2b2;background:#f0f2f8;padding:11px 5px}.melody-table td{padding:12px 5px;border-bottom:1px solid #edf0f6}.melody-table .is-correct{color:#438365}.melody-table .is-wrong{color:#ad6a51}.melody-table .is-wrong td:nth-child(3){background:#fcf0e9}.melody-results>p{font-size:11px;line-height:1.9;color:#939cac;margin:17px 0 0}.melody-results>a{font-size:10px;color:#7181bd;text-decoration:none}.melody-settings select+.field-label{margin-top:22px}.melody-settings input[type=range]{margin-bottom:4px}.melody-card .card-bottom{gap:12px}.melody-card .card-bottom>span:last-child{font-size:9px;text-align:right}
@media(max-width:950px){.side-navigation .nav-item{margin-top:0}.side-navigation{margin-top:42px}.melody-hero h2{font-size:19px}.melody-transport,.melody-input-area,.melody-results{padding-left:20px;padding-right:20px}.melody-first{gap:10px}.melody-first>small{font-size:9px;padding-left:10px}}
@media(max-width:740px){.side-navigation{flex-direction:row;gap:5px;margin:0}.side-navigation .nav-item{white-space:nowrap;padding:8px}.sidebar .nav-item{width:auto}.mode-tabs{margin-bottom:18px;width:100%;justify-content:center}.mode-tabs button{flex:1;padding:9px 10px}.melody-settings{grid-row:span 2}.melody-input-area{padding-top:20px}.melody-hero h2{font-size:19px}.melody-slots{gap:6px}.melody-slot{height:77px}.melody-slot>strong{font-size:18px}.melody-edit{align-items:flex-start;flex-direction:column;gap:4px}.melody-edit>div{align-self:flex-end}.melody-transport .secondary{font-size:10px;padding:10px}.melody-first{flex-wrap:wrap}.melody-result-heading{align-items:flex-start}.melody-result-heading>span{max-width:100px}.melody-table{font-size:11px}.melody-results>p{font-size:10px}}
@media(max-width:420px){.side-navigation .nav-item{font-size:10px}.side-navigation .nav-item>span:first-child{font-size:14px}.melody-hero{padding-left:16px;padding-right:16px}.melody-transport,.melody-input-area,.melody-results{padding-left:16px;padding-right:16px}.melody-first{gap:10px}.melody-first>strong{font-size:23px}.melody-first>small{font-size:9px}.melody-submit-row .primary{padding:12px 15px}.melody-table td{padding:12px 3px}}
#mPersonalOptions{padding:13px;border:1px solid #e3e7f5;background:#f8f9fe;border-radius:8px;margin-bottom:22px}.library-status{font-size:10px;color:#7481a5;line-height:1.9;margin:10px 0}.personal-method{font-size:10px;color:#939caf;line-height:1.9}.personal-method summary{cursor:pointer}.personal-method p{margin:8px 0 0}.melody-settings select:disabled{color:#969db0;background:#f3f4f8}

@media(max-width:740px){
  .sidebar{height:60px;padding-top:8px;padding-bottom:8px}
  .topbar{height:32px}
  .intro{padding:12px 0 10px}
  .intro .eyebrow,.melody-hero>.eyebrow{display:none}
  h1{font-size:23px;margin:0 0 3px}
  .intro p{line-height:1.6}
  .mode-tabs{margin-bottom:10px;padding:4px}
  .mode-tabs button{min-height:40px;padding:7px 10px}
  .workspace{gap:12px}
  .card-top{padding-top:10px;padding-bottom:8px}
  .card-bottom{padding-top:8px;padding-bottom:8px}
  .melody-hero{padding-top:6px;padding-bottom:0}
  .melody-hero h2{font-size:18px;margin:4px 0}
  .melody-hero>p{font-size:10px;line-height:1.6}
  .melody-first{padding:8px 10px;margin:10px 0}
  .melody-play-label{margin-top:4px;min-height:16px}
  .melody-transport{gap:6px;padding-top:8px;padding-bottom:10px}
  .melody-transport .primary,.melody-transport .secondary{min-height:44px;padding:8px 10px;font-size:10px}
  .melody-input-area{padding-top:12px;padding-bottom:8px}
  .melody-input-area .answer-heading{margin-bottom:8px}
  .melody-slot{height:64px}
  .melody-slots{grid-template-columns:repeat(var(--mobile-slot-count,5),minmax(0,1fr))}
  .melody-edit{margin:6px 0 10px;gap:2px}
  .melody-edit .text-button{min-height:32px}
  .melody-submit-row{margin-top:12px;gap:8px}
  .melody-submit-row button{min-height:44px;padding-top:9px;padding-bottom:9px}
  .melody-status{margin:8px 0 3px;line-height:1.7}
  .piano-help{margin-top:6px}
  .melody-results{padding-top:14px;padding-bottom:14px}
  .melody-result-heading{margin-bottom:10px}
  .melody-table th,.melody-table td{padding-top:8px;padding-bottom:8px}
  .settings-card{padding:16px}
  .section-heading{margin-bottom:14px}
  .field-label{margin-bottom:5px}
  select{min-height:44px;padding-top:8px;padding-bottom:8px}
  .field-help{margin:5px 0 12px}
  .field-group{margin:12px 0}
  .melody-settings select+.field-label{margin-top:12px}
  #mPersonalOptions{margin-bottom:12px;padding:10px}
  input[type=range]{margin-top:8px;margin-bottom:12px}
  .switch-row{padding-top:12px}
  .tip-card{padding:16px;margin-top:12px}
  .tip-card h3{margin:8px 0 6px}
  .tip-divider{margin:12px 0 10px}
  .storage-note{margin:8px 0}
  .sound-stage{padding-top:12px;padding-bottom:14px}
  .sound-orb{width:100px;height:100px;margin:8px auto}
  .sound-stage>p{margin-bottom:12px}
  .listen-row{padding-bottom:14px}
  .answer-area{padding-top:14px;padding-bottom:8px}
  .answer-heading{margin-bottom:10px}
  .feedback{min-height:36px;padding-top:6px}
  .stats{margin-top:12px;padding-top:12px;padding-bottom:12px}
  .stats strong{margin-top:3px}
  footer{padding-top:16px;padding-bottom:16px}
}
