/* Multicolor music notes are displayed only during instrumental / idle lyric gaps. */
.kb-ccm-music-notes {
  display:flex;align-items:center;justify-content:center;gap:clamp(5px,1.6vw,16px);
  width:100%;min-height:55px;white-space:nowrap;overflow:hidden;pointer-events:none;
}
.kb-ccm-music-note {
  --n-color:#f8cc74;
  display:inline-block;flex:0 0 auto;color:var(--n-color);opacity:.85;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(24px,3.1vw,40px);font-weight:750;line-height:1;
  text-shadow:0 0 12px currentColor,0 5px 20px rgba(0,0,0,.3);
  animation:kbCcmFloatNote 3.35s ease-in-out infinite;
  will-change:transform,opacity;
}
.kb-ccm-music-note--1{--n-color:#ffd474;animation-delay:-.3s}
.kb-ccm-music-note--2{--n-color:#6ee7ca;animation-delay:-1.15s}
.kb-ccm-music-note--3{--n-color:#bc9bff;animation-delay:-2.1s}
.kb-ccm-music-note--4{--n-color:#7ad1ff;animation-delay:-.9s}
.kb-ccm-music-note--5{--n-color:#ff91c5;animation-delay:-1.8s}
.kb-ccm-music-note--6{--n-color:#f4dd8a;animation-delay:-2.85s}
@keyframes kbCcmFloatNote {
  0%,100%{transform:translateY(8px) rotate(-8deg) scale(.88);opacity:.52}
  48%{transform:translateY(-8px) rotate(7deg) scale(1.1);opacity:1}
}
/* Existing caption stage dimensions are preserved so switching text ↔ notes never jumps. */
.page-ccm .ccm-inline-caption__current.is-music-idle {
  width:100%;font-size:1rem!important;min-height:55px;display:flex;align-items:center;justify-content:center;
  color:inherit;text-shadow:none;letter-spacing:normal;
}
.ccm-premium-free .ccm-premium-caption {
  display:flex;align-items:center;justify-content:center;
  min-height:58px;margin-top:10px;padding:8px 12px;
  border:1px solid rgba(241,201,112,.18);border-radius:12px;
  background:rgba(6,23,29,.35);color:#fae8b8;
  font-size:clamp(.79rem,1.15vw,.98rem);font-weight:750;
  line-height:1.55;text-align:center;white-space:normal;overflow-wrap:anywhere;
}
.ccm-premium-free .ccm-premium-caption .kb-ccm-music-notes {min-height:40px}
.ccm-premium-free .ccm-premium-caption .kb-ccm-music-note {font-size:clamp(19px,3.3vw,27px)}
@media(max-width:650px){
  .ccm-premium-free .ccm-premium-caption{min-height:52px;padding:6px 9px}
  .kb-ccm-music-notes{min-height:44px;gap:7px}
  .page-ccm .ccm-inline-caption__current.is-music-idle{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.kb-ccm-music-note{animation:none!important;will-change:auto;opacity:1}}
