#ada-anim [hidden]{display:none!important}
#ada-anim .ada-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;margin:1rem 0}
#ada-anim .ada-panel{min-width:0;border:1px solid var(--line);border-radius:10px;padding:.6rem;background:#fffdf9}
#ada-anim h5{font-size:.95rem;line-height:1.5;margin:0 0 .4rem}
#ada-anim .ada-panel h5{text-align:center}
#ada-anim .ada-panel svg,#ada-anim .ada-panel img{display:block;width:100%;height:auto;margin-inline:auto}
#ada-anim .ada-panel img{max-width:340px}
#ada-anim .ada-legend{display:flex;flex-wrap:wrap;gap:.5rem 1rem;font-size:.9rem;line-height:1.6;margin:.8rem 0}
#ada-anim .ada-legend span{display:inline-flex;align-items:center;gap:.4rem}
#ada-anim .ada-legend i{width:12px;height:12px;border-radius:50%;background:#16785a;flex-shrink:0}
#ada-anim .ada-legend .class-b{background:#b35426}
#ada-anim .ada-legend .stump-miss{background:transparent;border:2px solid #c62828}
#ada-info,#ada-rule,#ada-anim .ada-caption{font-size:.9rem;line-height:1.65;margin:.7rem 0}
#ada-rule{font-weight:700}
#ada-anim .ada-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:1rem 0}
#ada-anim .ada-stats div{min-width:0;padding:.7rem;border:1px solid var(--line);border-radius:8px;background:#fffdf9}
#ada-anim .ada-stats dt{font-size:14px;line-height:1.6}
#ada-anim .ada-stats dd{font-size:16px;font-weight:700;margin:.2rem 0 0;line-height:1.5}
#ada-anim .ada-history{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.3rem;list-style:none;padding:0;margin:.7rem 0}
#ada-anim .ada-history li{margin:0;min-width:0;text-align:center;font-size:14px;line-height:1.6}
#ada-anim .ada-history strong{display:block;font-size:14px;padding:.4rem 0;background:#edf4ef;border:1px solid #cbd7d0;border-radius:7px}
#ada-anim .ada-weights{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:.7rem;margin:.8rem 0}
#ada-anim .ada-weight-row{min-width:0;border:1px solid var(--line);border-radius:8px;padding:.6rem}
#ada-anim .ada-weight-row[data-missed="true"]{border-color:#c62828}
#ada-anim .ada-weight-row h5,#ada-anim .ada-weight-row p{font-size:14px;line-height:1.6;margin:.2rem 0}

@media (max-width:600px){
  .ensemble-notes #ada-worked-example{padding:.7rem 0;border-width:1px 0;border-radius:0}
}
