.fx-voice { display:grid; gap:14px; --fx-va:-60deg; --fx-sa:-60deg; --fx-wordgap:12px; --fx-size:16px; --fx-weight:500; --fx-clarity:0.65; --fx-edge:var(--fx-muted); --fx-line:2px; --fx-bubble:var(--fx-sky-pale); --fx-shake:0deg; }
.fx-voice:has(#fx-voice-medium:checked) { --fx-va:0deg; --fx-size:18px; --fx-weight:650; --fx-clarity:1; --fx-edge:var(--fx-ink); --fx-line:3px; --fx-bubble:var(--fx-paper); }
.fx-voice:has(#fx-voice-loud:checked) { --fx-va:60deg; --fx-size:22px; --fx-weight:850; --fx-clarity:1; --fx-edge:var(--fx-ink); --fx-line:5px; --fx-bubble:var(--fx-sun-pale); }
.fx-voice:has(#fx-voice-steady:checked) { --fx-sa:0deg; --fx-wordgap:4px; }
.fx-voice:has(#fx-voice-fast:checked) { --fx-sa:60deg; --fx-wordgap:0px; }
.fx-voice:has(#fx-voice-medium:checked):has(#fx-voice-steady:checked) { --fx-weight:800; }
.fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-slow:checked), .fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-fast:checked) { --fx-shake:3deg; }
.fx-voice .fx-steps { margin:0; padding-left:24px; line-height:1.6; }
.fx-voice .fx-goal, .fx-voice .fx-look { margin:0; color:var(--fx-ink); }
.fx-voice .fx-controls { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; }
.fx-voice .fx-control { min-width:0; padding:0; margin:0; border:0; }
.fx-voice .fx-control legend { padding:0; margin-bottom:8px; font-size:16px; font-weight:800; }
.fx-voice .fx-choices { display:flex; flex-wrap:wrap; gap:6px; }
.fx-voice .fx-btn { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:44px; padding:8px 10px; border:2px solid var(--fx-muted); border-radius:12px; font-size:14px; font-weight:800; color:var(--fx-ink); background:var(--fx-paper); cursor:pointer; }
.fx-voice .fx-btn:has(input:checked) { color:var(--fx-ink); background:var(--fx-sun); border-color:var(--fx-ink); }
.fx-voice .fx-btn:focus-within { outline:3px solid var(--fx-ink); outline-offset:3px; }
.fx-voice .fx-theatre { height:470px; padding:12px; box-sizing:border-box; color:var(--fx-ink); }
.fx-voice .fx-scene { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:16px; height:100%; }
.fx-voice .fx-presenter { display:grid; grid-template-rows:20px 144px 96px 132px; gap:6px; align-content:start; min-width:0; }
.fx-voice .fx-presenter-label { font-size:14px; text-align:center; }
.fx-voice .fx-bubble { box-sizing:border-box; padding:10px; border:var(--fx-line) solid var(--fx-edge); border-radius:20px; background:var(--fx-bubble); min-width:0; }
.fx-voice .fx-bubble-label { display:block; font-size:12px; margin-bottom:8px; }
.fx-voice .fx-utterance { display:flex; flex-wrap:wrap; align-content:start; column-gap:var(--fx-wordgap); row-gap:4px; font-size:var(--fx-size); line-height:1.25; font-weight:var(--fx-weight); opacity:var(--fx-clarity); }
.fx-voice .fx-utterance span { transform:rotate(var(--fx-shake)); transition:transform 0.25s; }
.fx-voice .fx-utterance span:nth-child(even) { transform:rotate(calc(0deg - var(--fx-shake))); }
.fx-voice .fx-presenter-picture { width:100%; height:96px; }
.fx-voice .fx-floor, .fx-voice .fx-detail, .fx-voice .fx-stand, .fx-voice .fx-mouth { fill:none; stroke:var(--fx-ink); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.fx-voice .fx-skin { fill:var(--fx-sun-pale); stroke:var(--fx-ink); stroke-width:2; }
.fx-voice .fx-shirt { fill:var(--fx-mint); stroke:var(--fx-ink); stroke-width:2; }
.fx-voice .fx-mic { fill:var(--fx-sky); stroke:var(--fx-ink); stroke-width:2; }
.fx-voice .fx-knobs { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; }
.fx-voice .fx-knob { display:grid; grid-template-rows:18px 72px 36px; gap:2px; text-align:center; min-width:0; }
.fx-voice .fx-knob b { font-size:12px; }
.fx-voice .fx-dial { width:100%; height:72px; }
.fx-voice .fx-dial-face { fill:var(--fx-sun); stroke:var(--fx-ink); stroke-width:2; }
.fx-voice .fx-ticks { fill:none; stroke:var(--fx-muted); stroke-width:3; }
.fx-voice .fx-pointer { transform-origin:50px 46px; transition:transform 0.4s; }
.fx-voice .fx-pointer path { fill:none; stroke:var(--fx-ink); stroke-width:4; stroke-linecap:round; }
.fx-voice .fx-volume-pointer { transform:rotate(var(--fx-va)); }
.fx-voice .fx-speed-pointer { transform:rotate(var(--fx-sa)); }
.fx-voice .fx-hub, .fx-voice .fx-eye { fill:var(--fx-ink); }
.fx-voice .fx-marks { display:flex; flex-wrap:wrap; justify-content:center; align-content:start; gap:2px 6px; font-size:12px; line-height:16px; }
.fx-voice .fx-audience { display:grid; grid-template-rows:repeat(3,100px) 96px; gap:6px; min-width:0; }
.fx-voice .fx-listener { --fx-q:visible; --fx-t:hidden; --fx-e:hidden; --fx-tint:var(--fx-paper); --fx-frame:var(--fx-muted); display:flex; align-items:center; gap:8px; min-width:0; padding:8px; border:2px solid var(--fx-frame); border-radius:16px; background:var(--fx-tint); box-shadow:0 0 0 3px var(--fx-tint); }
.fx-voice .fx-listener b { font-size:14px; }
.fx-voice .fx-face { width:72px; height:66px; flex-shrink:0; }
.fx-voice .fx-question { visibility:var(--fx-q); }
.fx-voice .fx-question text { font-size:26px; font-weight:900; fill:var(--fx-ink); }
.fx-voice .fx-tick { visibility:var(--fx-t); }
.fx-voice .fx-tick circle { fill:var(--fx-mint); }
.fx-voice .fx-tick path { fill:none; stroke:var(--fx-ink); stroke-width:4; stroke-linecap:round; stroke-linejoin:round; }
.fx-voice .fx-hands { visibility:var(--fx-e); fill:var(--fx-sun); stroke:var(--fx-ink); stroke-width:2; }
.fx-voice .fx-key { margin:0; padding:8px 0; font-size:12px; line-height:1.6; }
.fx-voice:has(#fx-voice-quiet:checked):has(#fx-voice-steady:checked) .fx-front, .fx-voice:has(#fx-voice-medium:checked):has(#fx-voice-slow:checked) .fx-front, .fx-voice:has(#fx-voice-medium:checked):has(#fx-voice-slow:checked) .fx-middle, .fx-voice:has(#fx-voice-medium:checked):has(#fx-voice-steady:checked) .fx-listener, .fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-steady:checked) .fx-back { --fx-q:hidden; --fx-t:visible; --fx-tint:var(--fx-mint-pale); --fx-frame:var(--fx-mint); }
.fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-slow:checked) .fx-front, .fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-steady:checked) .fx-front, .fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-steady:checked) .fx-middle, .fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-fast:checked) .fx-listener { --fx-q:hidden; --fx-e:visible; --fx-tint:var(--fx-coral-pale); --fx-frame:var(--fx-coral); }
.fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-fast:checked) .fx-listener { --fx-q:visible; }
.fx-voice .fx-results { display:grid; }
.fx-voice .fx-results .fx-case { grid-area:1 / 1; visibility:hidden; margin:0; line-height:1.5; color:var(--fx-ink); }
.fx-voice .fx-description { display:block; margin-top:8px; font-size:14px; font-weight:400; }
.fx-voice:has(#fx-voice-quiet:checked):has(#fx-voice-slow:checked) .fx-qs, .fx-voice:has(#fx-voice-quiet:checked):has(#fx-voice-steady:checked) .fx-qt, .fx-voice:has(#fx-voice-quiet:checked):has(#fx-voice-fast:checked) .fx-qf, .fx-voice:has(#fx-voice-medium:checked):has(#fx-voice-slow:checked) .fx-ms, .fx-voice:has(#fx-voice-medium:checked):has(#fx-voice-steady:checked) .fx-mt, .fx-voice:has(#fx-voice-medium:checked):has(#fx-voice-fast:checked) .fx-mf, .fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-slow:checked) .fx-ls, .fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-steady:checked) .fx-lt, .fx-voice:has(#fx-voice-loud:checked):has(#fx-voice-fast:checked) .fx-lf { visibility:visible; }
@container (max-width:480px) { .fx-voice .fx-controls { grid-template-columns:1fr; } .fx-voice .fx-theatre { height:828px; } .fx-voice .fx-scene { grid-template-columns:1fr; grid-template-rows:410px 360px; } .fx-voice .fx-audience { grid-template-rows:repeat(3,84px) 72px; gap:8px; } .fx-voice .fx-face { width:64px; height:60px; } }
@media (prefers-reduced-motion:reduce) { .fx-voice .fx-pointer, .fx-voice .fx-utterance span { transition:none; } }