.beats-board {display:grid; justify-items:center; gap:clamp(16px,4vh,38px); width:100%}
.beats-model {position:relative; display:grid; place-items:center}
.beats-model img {display:block; width:clamp(120px,min(30vh,38vw),246px); aspect-ratio:1; object-fit:contain; border-radius:14%}
html:not([data-theme=dim]) .beats-model img {mix-blend-mode:multiply}
.beats-guide {position:absolute; bottom:0; display:flex; gap:8px; padding:8px 16px; background:var(--practice-surface); border:1px solid var(--practice-edge); border-radius:2em}
.beats-guide[hidden]{display:none}
.beats-choices {display:flex; align-items:center; justify-content:center; gap:clamp(12px,3.6vw,48px)}
.beats-card {position:relative; width:clamp(86px,22vw,156px); min-height:clamp(86px,17vh,136px); display:grid; place-content:center; border-radius:18px; border:2px solid var(--practice-edge); background:var(--practice-surface); color:var(--text); cursor:pointer; padding:8px}
.beats-dots {display:flex;align-items:center;justify-content:center;gap:clamp(4px,.65vw,10px)}
.beats-dots i,.beats-guide i {width:clamp(12px,1.9vw,22px); aspect-ratio:1; border-radius:50%; background:var(--link)}
.beats-card small {position:absolute;bottom:4px;left:0;right:0;text-align:center;color:var(--text-muted)}
.beats-card[aria-pressed=true] {border:3px dashed var(--link); background:var(--panel-left)}
.beats-card.matched {border-style:solid; border-color:var(--success)}
.beats-card:disabled {opacity:1}
.beats-card .ui-symbol {position:absolute;right:4px;top:4px;width:24px;height:24px;color:var(--success)}
[data-exercise-id="word-beats"] [data-ok][hidden] {display:none!important}
@media(max-height:470px){.beats-board{grid-template-columns:auto auto;justify-content:center;align-items:center;gap:18px}.beats-model img{width:88px}.beats-card{min-height:66px}}


[data-exercise-id="word-beats"] .speaker {min-width:56px;min-height:56px}
