/* Which side works (update 8e, spec §1.16 SIDE, option C-A »Rechts = rot«): the striking limb (--strike inside the
   pictogram), the impact flick and the current callout word's brush underline take the side colour of the move —
   --side-r (red: rechts) / --side-l (blue: links), defined per field in style.css §2 — while the text stays --fg.
   Strip cells carry a 14-px »L«/»R« seal (colour-independent), a » — « in the callout is a 3-px brush divider
   (back in stance; the sides count on). The legend »● L links · ● R rechts« sits under the glove-up's Kombi des Tages
   for the first three sessions. Without a side, --strike stays the field's default. Update 9 (integrator, K's Mario
   follow-up render): inside the Mario-Runde's pose the seal sits on its cell's own corner — a one-picto joint (»Schritt
   links«) or »Kick!« hung it 2 px out of .pad-pose. */
.side-l{--strike:var(--side-l)}
.side-r{--strike:var(--side-r)}
.flick[data-side="L"],.callout .w[data-side="L"]{--strike:var(--side-l)}
.flick[data-side="R"],.callout .w[data-side="R"]{--strike:var(--side-r)}
.cp-cell>.cp-side{position:absolute;right:-2px;bottom:-4px}
.pad-pose .cp-cell>.cp-side{right:0;bottom:0}
/* layout stress 8e: a strip cell's seal sits on its picture's lower corner, never on its word — laid out between the
   two (flex order) and lifted onto the picture by its negative margin, so it costs no height */
.cstrip li>svg{order:-2}
.cstrip li>.cp-side{order:-1;position:relative;align-self:flex-end;margin:-18px -2px -2px 0}
.cp-side{min-width:14px;height:14px;padding:0 2px;border-radius:3px 4px 3px 4px;display:inline-flex;align-items:center;
  justify-content:center;font:800 10px/1 var(--sans);letter-spacing:0;color:var(--bg);background:var(--side-r)}
.cp-side.side-l{background:var(--side-l)}
.cstrip li{position:relative}
.cp-div,.cstrip .cp-div{flex:none;align-self:stretch;width:3px;min-height:24px;margin:6px 1px;background:var(--fg-2);
  clip-path:polygon(20% 0,85% 6%,100% 40%,75% 70%,90% 100%,10% 96%,0 60%,25% 30%)}
.cp.is-beat .cp-picto{opacity:.9}
.side-legend{margin:2px 0 0;display:flex;justify-content:center;gap:14px;font:700 14px/1 var(--sans);color:var(--fg-2)}
.side-legend b{display:inline-flex;align-items:center;gap:6px}
.side-legend i{width:10px;height:10px;border-radius:50%;background:var(--side-l)}
.side-legend .r i{background:var(--side-r)}
/* Update 10 (spec §1.2.7): a stereo attack on the callout — data-atk (ui/callout-words.js) puts a 10-px brush band on the
   edge he hears it from (in the gutter, beside the text) and a 28-px »L« / »R« seal on top of the band (the cp-side seal
   scaled: colour-independent); no animation. Pseudo-elements only: the callout's text stays the spoken answer. */
.callout[data-atk]{position:relative}
.callout[data-atk]::before{content:'';position:absolute;top:0;bottom:0;width:10px;background:var(--side-r);
  clip-path:polygon(20% 0,85% 2%,100% 30%,75% 60%,90% 100%,10% 98%,0 60%,25% 30%)}
.callout[data-atk="L"]::before{left:-14px;background:var(--side-l)}
.callout[data-atk="R"]::before{right:-14px}
.callout[data-atk]::after{content:'R';position:absolute;top:-34px;width:28px;height:28px;border-radius:5px 7px 5px 7px;
  display:flex;align-items:center;justify-content:center;font:800 20px/1 var(--sans);letter-spacing:0;color:var(--bg);
  background:var(--side-r)}
.callout[data-atk="L"]::after{content:'L';left:-14px;background:var(--side-l)}
.callout[data-atk="R"]::after{right:-14px}
/* Update 10d (spec §2.7, builder M): Rechtsauslage — the workout field's `kit-south` class (ui/kit-layout.js kitClass)
   mirrors every pictogram (the sprites hold no text, so a geometric mirror is safe) and the stance-tied demos (their
   `data-demo`, ui/demo-player.js; a frame's own flip combines with it); never the B demos (wall, stretching, mobility,
   one leg, ankles, neck: both sides trained as the voice says them). The words beside a figure stay readable (only the
   svg turns); the impact flick follows the mirrored strike tip. */
.kit-south :is(.cp-picto,.cstrip li>svg,.k-pic,.rep-pic,.task-pic){scale:-1 1}
.kit-south .flick{left:calc(100% - var(--fx,50%))}
.kit-south :is(.dm,svg):is([data-demo="kickEnd"],[data-demo="lowEnd"],[data-demo="bagKnees"],[data-demo="bagKneeR"],
  [data-demo="bagKneeL"],[data-demo="teepSeries"],[data-demo="punch"],[data-demo="duckRoll"],[data-demo="thaiBounce"],
  [data-demo="inout"],[data-demo="teeps"],[data-demo="kickOut"],[data-demo="square"],[data-demo="lateral"],
  [data-demo="stanceHop"],[data-demo="feetTwist"]){scale:-1 1}
