.fx-tone { --fx-turn: 60deg; display: grid; gap: 16px; }
.fx-tone:has(#fx-tone-chatty:checked) { --fx-turn: -60deg; }
.fx-tone:has(#fx-tone-named:checked) { --fx-turn: 0deg; }
.fx-tone * { box-sizing: border-box; }
.fx-tone .fx-tone-steps { margin: 0; padding-left: 24px; }
.fx-tone .fx-tone-steps li { margin: 4px 0; }
.fx-tone .fx-tone-goal { margin: 0; color: var(--fx-ink); }
.fx-tone .fx-tone-controls { border: 0; padding: 0; margin: 0; min-width: 0; }
.fx-tone .fx-tone-controls legend { padding: 0; margin-bottom: 10px; font-weight: 800; }
.fx-tone .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-tone .fx-tone-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-tone .fx-btn { min-width: 44px; min-height: 44px; max-width: 100%; padding: 10px 12px; white-space: normal; overflow-wrap: anywhere; color: var(--fx-ink); background: var(--fx-paper); }
.fx-tone .fx-btn:has(input:checked) { color: var(--fx-ink); background: var(--fx-sky); border-color: var(--fx-ink); }
.fx-tone .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-tone .fx-tone-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.fx-tone .fx-tone-card { position: relative; height: 430px; min-width: 0; padding: 14px; color: var(--fx-ink); font-size: 16px; line-height: 1.4; }
.fx-tone .fx-tone-title { margin: 0; font-weight: 800; font-size: 16px; line-height: 1.4; }
.fx-tone .fx-tone-reader { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; }
.fx-tone .fx-tone-swap { display: grid; min-width: 0; }
.fx-tone .fx-tone-swap > * { display: block; grid-area: 1 / 1; visibility: hidden; margin: 0; min-width: 0; }
.fx-tone .fx-tone-readers { align-self: center; }
.fx-tone .fx-tone-readers > div { display: grid; grid-template-rows: 150px auto; gap: 12px; align-content: start; text-align: center; }
.fx-tone .fx-tone-readers p { margin: 0; }
.fx-tone .fx-tone-readers svg { width: 100%; height: 150px; }
.fx-tone .fx-tone-marks p { padding: 10px; border: 2px solid var(--fx-ink); border-radius: 8px; font-weight: 800; }
.fx-tone .fx-tone-good { background: var(--fx-mint); }
.fx-tone .fx-tone-check { background: var(--fx-sun); }
.fx-tone .fx-tone-rethink { background: var(--fx-coral); }
.fx-tone .fx-tone-letter { display: grid; align-content: start; gap: 8px; background: var(--fx-paper); border: 2px solid var(--fx-ink); }
.fx-tone .fx-tone-letter .fx-tone-title { padding-bottom: 6px; border-bottom: 1px solid var(--fx-muted); }
.fx-tone .fx-tone-part { font-size: 12px; line-height: 1.4; }
.fx-tone .fx-tone-name { margin: 0; }
.fx-tone .fx-tone-dialcard { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; }
.fx-tone .fx-tone-dial { display: block; width: 100%; max-width: 260px; height: 220px; justify-self: center; align-self: center; }
.fx-tone .fx-tone-svgtext { fill: var(--fx-ink); stroke: none; text-anchor: middle; font-size: 12px; }
.fx-tone .fx-tone-skin { fill: var(--fx-sun-pale); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tone .fx-tone-clothes { fill: var(--fx-mint); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tone .fx-tone-eye { fill: var(--fx-ink); }
.fx-tone .fx-tone-line { fill: none; stroke: var(--fx-ink); stroke-width: 3; stroke-linecap: round; }
.fx-tone .fx-tone-building { fill: var(--fx-sky-pale); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tone .fx-tone-badge { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tone .fx-tone-windows { fill: var(--fx-sky); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tone .fx-tone-dialface { fill: var(--fx-sun-pale); stroke: var(--fx-ink); stroke-width: 3; }
.fx-tone .fx-tone-click { fill: var(--fx-ink); }
.fx-tone .fx-tone-pointer { transform-origin: 110px 130px; transform: rotate(var(--fx-turn)); transition: transform 0.4s; }
.fx-tone .fx-tone-pointer path { fill: var(--fx-coral); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tone .fx-tone-hub { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 2; }
.fx-tone .fx-tone-setting { text-align: center; }
.fx-tone .fx-tone-feedback { display: grid; gap: 10px; }
.fx-tone .fx-tone-feedback .fx-right, .fx-tone .fx-tone-feedback .fx-wrong { color: var(--fx-ink); padding: 14px; font-size: 16px; line-height: 1.5; }
.fx-tone:has(#fx-tone-sarah:checked) .fx-tone-rs, .fx-tone:has(#fx-tone-jones:checked) .fx-tone-rj, .fx-tone:has(#fx-tone-company:checked) .fx-tone-rb, .fx-tone:has(#fx-tone-chatty:checked) .fx-tone-chatty, .fx-tone:has(#fx-tone-named:checked) .fx-tone-named, .fx-tone:has(#fx-tone-unnamed:checked) .fx-tone-unnamed, .fx-tone:has(#fx-tone-named:checked) .fx-tone-polite, .fx-tone:has(#fx-tone-unnamed:checked) .fx-tone-polite { visibility: visible; }
.fx-tone:has(#fx-tone-sarah:checked):has(#fx-tone-chatty:checked) .fx-tone-sc, .fx-tone:has(#fx-tone-sarah:checked):has(#fx-tone-named:checked) .fx-tone-sn, .fx-tone:has(#fx-tone-sarah:checked):has(#fx-tone-unnamed:checked) .fx-tone-su, .fx-tone:has(#fx-tone-jones:checked):has(#fx-tone-chatty:checked) .fx-tone-jc, .fx-tone:has(#fx-tone-jones:checked):has(#fx-tone-named:checked) .fx-tone-jn, .fx-tone:has(#fx-tone-jones:checked):has(#fx-tone-unnamed:checked) .fx-tone-ju, .fx-tone:has(#fx-tone-company:checked):has(#fx-tone-chatty:checked) .fx-tone-bc, .fx-tone:has(#fx-tone-company:checked):has(#fx-tone-named:checked) .fx-tone-bn, .fx-tone:has(#fx-tone-company:checked):has(#fx-tone-unnamed:checked) .fx-tone-bu { visibility: visible; }
@container (max-width: 760px) { .fx-tone .fx-tone-scene { grid-template-columns: minmax(0, 1fr); } .fx-tone .fx-tone-reader, .fx-tone .fx-tone-dialcard { height: 340px; } }
@container (max-width: 480px) { .fx-tone .fx-tone-options, .fx-tone .fx-tone-scene { grid-template-columns: minmax(0, 1fr); } .fx-tone .fx-tone-options .fx-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .fx-tone .fx-tone-pointer { transition: none; } }