.fx-squash { display: grid; gap: 14px; }
.fx-squash .fx-squash-shell { display: grid; gap: 14px; min-width: 0; color: var(--fx-ink); font-size: 16px; line-height: 1.5; }
.fx-squash .fx-squash-steps { margin: 0; padding-left: 24px; }
.fx-squash .fx-squash-goal, .fx-squash .fx-squash-read { margin: 0; }
.fx-squash .fx-squash-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-squash .fx-squash-controls legend { padding: 0; margin-bottom: 8px; font-weight: 800; }
.fx-squash .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-squash .fx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 2px solid var(--fx-muted); background: var(--fx-paper); color: var(--fx-ink); font-size: 16px; line-height: 1.3; cursor: pointer; }
.fx-squash .fx-btn:has(input:checked) { background: var(--fx-mint); border-color: var(--fx-ink); color: var(--fx-ink); }
.fx-squash .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-squash .fx-squash-tick { opacity: 0; }
.fx-squash:has(#fx-squash-on:checked) .fx-squash-tick { opacity: 1; }
.fx-squash .fx-squash-hint, .fx-squash .fx-squash-says, .fx-squash .fx-squash-cards { display: grid; min-width: 0; }
.fx-squash .fx-squash-hint p, .fx-squash .fx-squash-says p, .fx-squash .fx-squash-cards p { grid-area: 1 / 1; margin: 0; }
.fx-squash .fx-squash-hint p { font-size: 14px; }
.fx-squash:has(#fx-squash-on:checked) .fx-squash-hint p { visibility: hidden; }
.fx-squash .fx-squash-says p { display: block; visibility: hidden; padding: 14px; color: var(--fx-ink); line-height: 1.5; }
.fx-squash .fx-squash-picture { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; box-sizing: border-box; height: 330px; padding: 12px; }
.fx-squash .fx-squash-workbench { position: relative; min-width: 0; }
.fx-squash .fx-squash-apostrophe-label { position: absolute; top: 4px; left: 0; right: 0; text-align: center; font-size: 14px; }
.fx-squash .fx-squash-table { position: absolute; top: 155px; left: 3%; right: 3%; height: 12px; border-radius: 4px; background: var(--fx-muted); }
.fx-squash .fx-squash-tray { position: absolute; top: 204px; left: 8%; width: 84%; height: 88px; box-sizing: border-box; border: 3px solid var(--fx-ink); border-top: 2px dashed var(--fx-ink); border-radius: 0 0 12px 12px; background: var(--fx-mint-pale); }
.fx-squash .fx-squash-tray b { position: absolute; bottom: 5px; left: 0; right: 0; text-align: center; font-size: 12px; line-height: 1.4; }
.fx-squash .fx-squash-words { position: absolute; z-index: 2; top: 101px; left: 0; width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; visibility: hidden; font-size: 32px; font-weight: 800; line-height: 1; white-space: nowrap; }
.fx-squash .fx-squash-tile { position: relative; display: flex; align-items: center; box-sizing: border-box; height: 1.5em; padding: 0 0.18em; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-sun-pale); transition: padding 0.7s, border-width 0.7s, border-radius 0.7s; }
.fx-squash .fx-squash-word-label { position: absolute; top: -36px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; line-height: 1.3; }
.fx-squash .fx-squash-join { position: relative; flex: 0 0 auto; box-sizing: border-box; width: 0.75em; height: 1.5em; border-top: 2px solid var(--fx-paper); border-bottom: 2px solid var(--fx-paper); background: var(--fx-paper); transition: width 0.7s; }
.fx-squash .fx-squash-join::before { content: ""; position: absolute; top: -75px; left: 50%; height: 30px; border-left: 1px solid var(--fx-ink); transition: opacity 0.3s; }
.fx-squash .fx-squash-apostrophe { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 100%; height: 100%; transform: translateY(-52px); transition: transform 0.7s; }
.fx-squash .fx-squash-cut { display: block; min-width: 0; max-width: 1.35em; transition: max-width 0.7s; }
.fx-squash .fx-squash-scene-is .fx-squash-cut { max-width: 0.35em; }
.fx-squash .fx-squash-fall { display: block; width: max-content; transform: translate(0, 0) rotate(0deg); transition: transform 0.7s; }
.fx-squash:has(#fx-squash-on:checked) .fx-squash-cut { max-width: 0; }
.fx-squash:has(#fx-squash-on:checked) .fx-squash-fall { transform: translate(-0.45em, 104px) rotate(12deg); }
.fx-squash:has(#fx-squash-on:checked) .fx-squash-first { padding-right: 0; border-right-width: 0; border-radius: 8px 0 0 8px; }
.fx-squash:has(#fx-squash-on:checked) .fx-squash-second { padding-left: 0; border-left-width: 0; border-radius: 0 8px 8px 0; }
.fx-squash:has(#fx-squash-on:checked) .fx-squash-join { width: 0.28em; background: var(--fx-sun-pale); border-color: var(--fx-ink); }
.fx-squash:has(#fx-squash-on:checked) .fx-squash-apostrophe { transform: translateY(0); }
.fx-squash:has(#fx-squash-on:checked) .fx-squash-join::before { opacity: 0; }
.fx-squash .fx-squash-shelf { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; padding: 10px; border-bottom: 6px solid var(--fx-ink); background: var(--fx-sun-pale); }
.fx-squash .fx-squash-shelf-label { font-size: 14px; line-height: 1.35; }
.fx-squash .fx-squash-cards p { visibility: hidden; line-height: 1.4; }
.fx-squash:has(#fx-squash-he:checked) .fx-squash-scene-he, .fx-squash:has(#fx-squash-is:checked) .fx-squash-scene-is, .fx-squash:has(#fx-squash-has:checked) .fx-squash-scene-has, .fx-squash:has(#fx-squash-he:checked) .fx-squash-card-he, .fx-squash:has(#fx-squash-is:checked) .fx-squash-card-whose, .fx-squash:has(#fx-squash-has:checked) .fx-squash-card-whose { visibility: visible; }
.fx-squash:has(#fx-squash-he:checked):has(#fx-squash-on:not(:checked)) .fx-squash-he-off, .fx-squash:has(#fx-squash-he:checked):has(#fx-squash-on:checked) .fx-squash-he-on, .fx-squash:has(#fx-squash-is:checked):has(#fx-squash-on:not(:checked)) .fx-squash-is-off, .fx-squash:has(#fx-squash-is:checked):has(#fx-squash-on:checked) .fx-squash-is-on, .fx-squash:has(#fx-squash-has:checked):has(#fx-squash-on:not(:checked)) .fx-squash-has-off, .fx-squash:has(#fx-squash-has:checked):has(#fx-squash-on:checked) .fx-squash-has-on { visibility: visible; }
@container (max-width: 480px) { .fx-squash .fx-squash-picture { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 180px; height: 522px; } }