.eg-trigger {border:0; color:var(--accent); background:transparent; text-align:left; padding:0; border-radius:8px; line-height:1.35}
.eg-trigger-label {display:block; font-size:.94rem; font-weight:700}
.eg-trigger:hover .eg-trigger-label {text-decoration:underline}
.eg-link {min-height:44px; padding:5px 4px}
.eg-tile,.eg-hero-art {display:block; width:100%; border:1px solid #e2ddd5; border-radius:15px; overflow:hidden; background:#fff}
.eg-tile .eg-trigger-label,.eg-hero-art .eg-trigger-label {padding:9px 12px}
.eg-mat {--picture-height:145px; display:grid; place-items:center; width:100%; height:var(--picture-height); background:#f8f5ed; color:#504d61}
.eg-crop {display:block; overflow:hidden; width:min(100%,calc(var(--picture-height) * var(--frame-ratio)))}
.eg-crop img {position:relative; display:block; height:auto; max-width:none; margin:0; border:0}
.eg-crop[data-frames="2"] img {width:200%}
.eg-crop[data-frames="3"] img {width:300%}
.eg-crop[data-frames="4"] img {width:400%}
.eg-crop[data-step="1"] img {left:-100%}
.eg-crop[data-step="2"] img {left:-200%}
.eg-crop[data-step="3"] img {left:-300%}
.eg-missing {padding:.75rem; text-align:center}
.eg-missing:empty {display:none}
.exercise-guide {width:min(550px,calc(100% - 20px)); max-width:550px; max-height:calc(100dvh - 20px); padding:clamp(14px,3vw,26px); background:#fffdf9; border-radius:22px; overflow:auto; overscroll-behavior:contain}
.exercise-guide::backdrop {background:#28263c80}
.eg-head {display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.eg-head .eg-kicker,.eg-count {margin:0 0 4px; color:var(--accent); font-size:.87rem; font-weight:700}
.eg-head h2 {font-size:clamp(1.4rem,4vw,2rem); line-height:1.1; margin:0; overflow-wrap:anywhere}
.eg-head h2:focus {outline:none}
.eg-close {flex:none; width:44px; height:44px; padding:0; font-size:1.55rem; line-height:1}
.eg-equipment {font-size:.94rem; color:var(--muted); margin:7px 0 12px}
.eg-art {overflow:hidden; border:1px solid #e5dfd4; border-radius:15px}
.eg-art .eg-mat {--picture-height:clamp(152px,36dvh,320px)}
.eg-caption {margin:12px 0}
.eg-cue {margin:2px 0; font-size:1.3rem; line-height:1.25}
.eg-description {font-size:1rem; margin:4px 0 0; line-height:1.45}
.eg-controls {display:grid; grid-template-columns:1fr 1.5fr; gap:8px}
.eg-controls button,.eg-more summary {min-height:44px}
.eg-more {margin-top:12px; border-top:1px solid var(--line)}
.eg-more summary {padding:12px 0 4px; color:var(--accent); cursor:pointer; font-weight:650}
.eg-more p {margin:6px 0; font-size:.95rem}
.guide .eg-tile {margin-top:10px}
#guided-guide .eg-tile {max-width:340px; margin-block:8px}
#guided-guide .eg-mat,.eg-hero-art .eg-mat {--picture-height:128px}
[data-guide-slot] .eg-tile {max-width:360px; margin:12px 0}

@media(max-width:700px) {
  .home-movement.has-visual-guide {display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:0 12px; margin-top:12px; padding:8px 12px}
  .home-movement.has-visual-guide > strong {grid-column:1; grid-row:2; overflow-wrap:anywhere}
  .home-movement.has-visual-guide .eg-hero-art {grid-column:2; grid-row:1 / span 2; width:auto; min-height:44px; border:0; background:transparent; white-space:nowrap}
  .home-movement.has-visual-guide .eg-mat {display:none}
  .home-movement.has-visual-guide .eg-trigger-label {padding:6px 4px; text-decoration:underline}
}
