.fx-lift { display: grid; gap: 16px; }
.fx-lift .fx-steps { list-style: none; padding: 0; margin: 0; }
.fx-lift .fx-steps li + li { margin-top: 6px; }
.fx-lift .fx-goal { margin: 0; }
.fx-lift .fx-controls { min-width: 0; margin: 0; padding: 12px; border: 2px solid var(--fx-ink); border-radius: 12px; background: var(--fx-paper); color: var(--fx-ink); }
.fx-lift .fx-controls legend { font-weight: 700; padding: 0 6px; }
.fx-lift .fx-panel-title { text-align: center; margin: 0 0 12px; }
.fx-lift .fx-buttons { display: grid; grid-template-columns: repeat(3, minmax(44px, 1fr)); gap: 8px; width: 100%; max-width: 220px; margin: 0 auto; }
.fx-lift .fx-btn { grid-row: var(--fx-r); grid-column: var(--fx-c); justify-self: center; display: grid; place-items: center; box-sizing: border-box; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; margin: 0; border: 2px solid var(--fx-ink); border-radius: 50%; background: var(--fx-paper); color: var(--fx-ink); font-size: 14px; line-height: 1; cursor: pointer; }
.fx-lift .fx-btn:has(input:checked) { background: var(--fx-sun); color: var(--fx-ink); box-shadow: 0 0 0 3px var(--fx-sun-pale); }
.fx-lift .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-lift .fx-hint { text-align: center; margin: 16px 0 0; }
.fx-lift .fx-view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.fx-lift .fx-figure { min-width: 0; margin: 0; }
.fx-lift .fx-scene { --fx-n: 0; position: relative; box-sizing: border-box; height: 500px; min-width: 0; padding: 0; overflow: hidden; color: var(--fx-ink); }
.fx-lift .fx-tower { position: absolute; bottom: 56px; left: 50%; width: min(calc(100% - 24px), 280px); height: 390px; transform: translateX(-50%); outline: 2px solid var(--fx-ink); background: var(--fx-paper); }
.fx-lift .fx-floor { box-sizing: border-box; height: 30px; padding-left: 8px; display: flex; align-items: center; border-bottom: 1px solid var(--fx-muted); font-size: 14px; }
.fx-lift .fx-ten { background: var(--fx-sun-pale); }
.fx-lift .fx-ten b { background: var(--fx-sun); padding: 1px 3px; }
.fx-lift .fx-top { position: absolute; top: -30px; right: 0; font-size: 14px; font-weight: 700; line-height: 24px; }
.fx-lift .fx-star { position: absolute; top: -32px; left: 72px; font-size: 24px; line-height: 26px; visibility: hidden; color: var(--fx-ink); }
.fx-lift .fx-reference { position: absolute; top: 100%; width: 100%; background: var(--fx-sky-pale); outline: 1px dashed var(--fx-sky); visibility: hidden; }
.fx-lift .fx-shaft { position: absolute; bottom: 0; left: 56px; width: 62px; height: 100%; box-sizing: border-box; border-left: 1px solid var(--fx-muted); border-right: 1px solid var(--fx-muted); }
.fx-lift .fx-car { position: absolute; bottom: 2px; left: 59px; width: 56px; height: 26px; box-sizing: border-box; display: grid; place-items: center; border: 2px solid var(--fx-ink); border-radius: 3px; background: var(--fx-sun); font-size: 12px; transform: translateY(calc(var(--fx-n) * -30px)); transition: transform 0.65s ease-in-out; }
.fx-lift .fx-tag { position: absolute; right: 4px; width: calc(100% - 124px); height: 30px; padding: 2px 0; box-sizing: border-box; font-size: 12px; line-height: 13px; }
.fx-lift .fx-down { bottom: calc((var(--fx-n) - 1) * 30px); }
.fx-lift .fx-up { bottom: calc((var(--fx-n) + 1) * 30px); }
.fx-lift .fx-caption { margin-top: 8px; font-size: 12px; color: var(--fx-ink); }
.fx-lift .fx-says { display: grid; min-width: 0; }
.fx-lift .fx-says p { grid-area: 1 / 1; visibility: hidden; margin: 0; align-self: stretch; line-height: 1.5; }
.fx-lift:has(#fx-lift-89:checked) .fx-scene { --fx-n: 1; }
.fx-lift:has(#fx-lift-90:checked) .fx-scene { --fx-n: 2; }
.fx-lift:has(#fx-lift-91:checked) .fx-scene { --fx-n: 3; }
.fx-lift:has(#fx-lift-92:checked) .fx-scene { --fx-n: 4; }
.fx-lift:has(#fx-lift-93:checked) .fx-scene { --fx-n: 5; }
.fx-lift:has(#fx-lift-94:checked) .fx-scene { --fx-n: 6; }
.fx-lift:has(#fx-lift-95:checked) .fx-scene { --fx-n: 7; }
.fx-lift:has(#fx-lift-96:checked) .fx-scene { --fx-n: 8; }
.fx-lift:has(#fx-lift-97:checked) .fx-scene { --fx-n: 9; }
.fx-lift:has(#fx-lift-98:checked) .fx-scene { --fx-n: 10; }
.fx-lift:has(#fx-lift-99:checked) .fx-scene { --fx-n: 11; }
.fx-lift:has(#fx-lift-100:checked) .fx-scene { --fx-n: 12; }
.fx-lift:has(#fx-lift-88:checked) .fx-reference, .fx-lift:has(#fx-lift-100:checked) .fx-star { visibility: visible; }
.fx-lift:has(#fx-lift-100:checked) .fx-up { visibility: hidden; }
.fx-lift:has(#fx-lift-89:checked) .fx-f88, .fx-lift:has(#fx-lift-90:checked) .fx-f89, .fx-lift:has(#fx-lift-91:checked) .fx-f90, .fx-lift:has(#fx-lift-92:checked) .fx-f91, .fx-lift:has(#fx-lift-93:checked) .fx-f92, .fx-lift:has(#fx-lift-94:checked) .fx-f93, .fx-lift:has(#fx-lift-95:checked) .fx-f94, .fx-lift:has(#fx-lift-96:checked) .fx-f95, .fx-lift:has(#fx-lift-97:checked) .fx-f96, .fx-lift:has(#fx-lift-98:checked) .fx-f97, .fx-lift:has(#fx-lift-99:checked) .fx-f98, .fx-lift:has(#fx-lift-100:checked) .fx-f99 { background: var(--fx-sky-pale); }
.fx-lift:has(#fx-lift-88:checked) .fx-f89, .fx-lift:has(#fx-lift-89:checked) .fx-f90, .fx-lift:has(#fx-lift-90:checked) .fx-f91, .fx-lift:has(#fx-lift-91:checked) .fx-f92, .fx-lift:has(#fx-lift-92:checked) .fx-f93, .fx-lift:has(#fx-lift-93:checked) .fx-f94, .fx-lift:has(#fx-lift-94:checked) .fx-f95, .fx-lift:has(#fx-lift-95:checked) .fx-f96, .fx-lift:has(#fx-lift-96:checked) .fx-f97, .fx-lift:has(#fx-lift-97:checked) .fx-f98, .fx-lift:has(#fx-lift-98:checked) .fx-f99, .fx-lift:has(#fx-lift-99:checked) .fx-f100 { background: var(--fx-mint-pale); }
.fx-lift:has(#fx-lift-90:checked) .fx-f90 { background: var(--fx-sun); box-shadow: inset 0 0 0 2px var(--fx-ink); }
.fx-lift:has(#fx-lift-88:checked) .fx-m88, .fx-lift:has(#fx-lift-89:checked) .fx-m89, .fx-lift:has(#fx-lift-90:checked) .fx-m90, .fx-lift:has(#fx-lift-91:checked) .fx-m91, .fx-lift:has(#fx-lift-92:checked) .fx-m92, .fx-lift:has(#fx-lift-93:checked) .fx-m93, .fx-lift:has(#fx-lift-94:checked) .fx-m94, .fx-lift:has(#fx-lift-95:checked) .fx-m95, .fx-lift:has(#fx-lift-96:checked) .fx-m96, .fx-lift:has(#fx-lift-97:checked) .fx-m97, .fx-lift:has(#fx-lift-98:checked) .fx-m98, .fx-lift:has(#fx-lift-99:checked) .fx-m99, .fx-lift:has(#fx-lift-100:checked) .fx-m100 { visibility: visible; }
@container (max-width: 480px) { .fx-lift .fx-view { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) { .fx-lift:has(#fx-lift-89:checked) .fx-f90, .fx-lift:has(#fx-lift-99:checked) .fx-f100 { animation: fx-lift-flash 0.7s 2; } }
@media (prefers-reduced-motion: reduce) { .fx-lift .fx-car { transition: none; } }
@keyframes fx-lift-flash { 0%, 100% { background: var(--fx-mint-pale); } 50% { background: var(--fx-mint); } }