.fx-lift { --fx-open: 0; display: grid; }
.fx-lift .fx-content { display: grid; gap: 16px; min-width: 0; color: var(--fx-ink); font-size: 16px; line-height: 1.5; }
.fx-lift .fx-content p { margin: 0; }
.fx-lift .fx-note ol { margin: 0; padding-left: 24px; }
.fx-lift .fx-controls, .fx-lift .fx-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.fx-lift .fx-control { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 12px; border: 2px solid var(--fx-muted); border-radius: 12px; }
.fx-lift .fx-control legend { padding: 0 4px; font-weight: 800; }
.fx-lift .fx-email { font-size: 14px; }
.fx-lift .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-lift .fx-btn { box-sizing: border-box; min-width: 24px; min-height: 36px; padding: 8px 10px; border: 2px solid var(--fx-ink); background: var(--fx-paper); color: var(--fx-ink); font-size: 14px; font-weight: 700; white-space: normal; }
.fx-lift .fx-btn:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-lift .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-lift .fx-banner { grid-column: 1 / -1; }
.fx-lift .fx-figure { display: grid; gap: 12px; min-width: 0; margin: 0; }
.fx-lift .fx-stage { position: relative; box-sizing: border-box; width: 100%; max-width: 360px; height: 440px; margin: 0 auto; border-bottom: 6px solid var(--fx-muted); color: var(--fx-ink); }
.fx-lift .fx-b .fx-stage { box-shadow: 0 0 0 4px var(--fx-sun-pale); }
.fx-lift:has(#fx-lift-b-open:checked) .fx-b .fx-stage { box-shadow: none; }
.fx-lift .fx-box-title { position: absolute; top: 14px; left: 14px; font-size: 18px; }
.fx-lift .fx-perspective { position: absolute; top: 60px; left: 16px; right: 16px; height: 200px; perspective: 750px; perspective-origin: 50% 35%; }
.fx-lift .fx-parcel { position: absolute; inset: 45px 4px 15px; transform-style: preserve-3d; transform: rotateX(22deg) rotateY(-8deg); }
.fx-lift .fx-floor, .fx-lift .fx-lid { position: absolute; inset: 0; box-sizing: border-box; border: 2px solid var(--fx-ink); background: var(--fx-sun-pale); }
.fx-lift .fx-floor { transform: translateZ(0px); }
.fx-lift .fx-lid { display: grid; place-items: center; background: var(--fx-sun); transform-origin: 50% 0; transform: translateZ(12px) rotateX(calc(var(--fx-open) * -110deg)); transition: transform 0.65s; }
.fx-lift .fx-inside { position: absolute; inset: 0; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 7px; font-size: 14px; line-height: 1.25; visibility: hidden; transform: translateZ(calc(var(--fx-open) * 8px)); transition: transform 0.65s, visibility 0s; }
.fx-lift .fx-inside b { font-size: 12px; }
.fx-lift .fx-card { padding: 3px 5px; border: 1px solid var(--fx-ink); border-radius: 3px; background: var(--fx-paper); }
.fx-lift .fx-front { position: absolute; left: 12px; right: 12px; bottom: 14px; box-sizing: border-box; height: 168px; display: grid; align-content: start; gap: 8px; padding: 10px; border: 2px solid var(--fx-ink); background: var(--fx-sun-pale); font-size: 14px; line-height: 1.4; }
.fx-lift .fx-front b { font-size: 12px; }
.fx-lift .fx-mark { position: absolute; top: -30px; right: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--fx-ink); border-radius: 50%; font-size: 18px; font-weight: 800; color: var(--fx-ink); visibility: hidden; transform: translateZ(18px); }
.fx-lift .fx-mark.fx-good { background: var(--fx-mint); }
.fx-lift .fx-mark.fx-bad { background: var(--fx-sun); }
.fx-lift .fx-says { display: grid; min-width: 0; }
.fx-lift .fx-msg { grid-area: 1 / 1; visibility: hidden; font-size: 14px; line-height: 1.5; }
.fx-lift .fx-start { visibility: visible; }
.fx-lift:has(.fx-answer:checked) .fx-start, .fx-lift:has(.fx-opener:checked) .fx-start { visibility: hidden; }
.fx-lift:has(#fx-lift-a-open:checked) .fx-a, .fx-lift:has(#fx-lift-b-open:checked) .fx-b, .fx-lift:has(#fx-lift-c-open:checked) .fx-c { --fx-open: 1; }
.fx-lift:has(#fx-lift-a-open:checked) .fx-a .fx-inside, .fx-lift:has(#fx-lift-b-open:checked) .fx-b .fx-inside, .fx-lift:has(#fx-lift-c-open:checked) .fx-c .fx-inside { visibility: visible; transition-delay: 0.25s; }
.fx-lift:has(#fx-lift-a-open:not(:checked)):has(#fx-lift-a-none:checked) .fx-a .fx-shut-none, .fx-lift:has(#fx-lift-b-open:not(:checked)):has(#fx-lift-b-none:checked) .fx-b .fx-shut-none, .fx-lift:has(#fx-lift-c-open:not(:checked)):has(#fx-lift-c-none:checked) .fx-c .fx-shut-none { visibility: visible; }
.fx-lift:has(#fx-lift-a-open:not(:checked)):has(#fx-lift-a-stated:checked) .fx-a .fx-shut-stated, .fx-lift:has(#fx-lift-b-open:not(:checked)):has(#fx-lift-b-stated:checked) .fx-b .fx-shut-stated, .fx-lift:has(#fx-lift-c-open:not(:checked)):has(#fx-lift-c-stated:checked) .fx-c .fx-shut-stated { visibility: visible; }
.fx-lift:has(#fx-lift-a-open:not(:checked)):has(#fx-lift-a-implied:checked) .fx-a .fx-shut-implied, .fx-lift:has(#fx-lift-b-open:not(:checked)):has(#fx-lift-b-implied:checked) .fx-b .fx-shut-implied, .fx-lift:has(#fx-lift-c-open:not(:checked)):has(#fx-lift-c-implied:checked) .fx-c .fx-shut-implied { visibility: visible; }
.fx-lift:has(#fx-lift-a-open:checked):has(#fx-lift-a-none:checked) .fx-a .fx-open-none, .fx-lift:has(#fx-lift-b-open:checked):has(#fx-lift-b-none:checked) .fx-b .fx-open-none, .fx-lift:has(#fx-lift-c-open:checked):has(#fx-lift-c-none:checked) .fx-c .fx-open-none { visibility: visible; }
.fx-lift:has(#fx-lift-a-open:checked):has(#fx-lift-a-stated:checked) .fx-a .fx-good, .fx-lift:has(#fx-lift-b-open:checked):has(#fx-lift-b-implied:checked) .fx-b .fx-good, .fx-lift:has(#fx-lift-c-open:checked):has(#fx-lift-c-implied:checked) .fx-c .fx-good { visibility: visible; }
.fx-lift:has(#fx-lift-a-open:checked):has(#fx-lift-a-implied:checked) .fx-a .fx-bad, .fx-lift:has(#fx-lift-b-open:checked):has(#fx-lift-b-stated:checked) .fx-b .fx-bad, .fx-lift:has(#fx-lift-c-open:checked):has(#fx-lift-c-stated:checked) .fx-c .fx-bad { visibility: visible; }
.fx-lift:has(#fx-lift-a-open:checked):has(#fx-lift-b-open:checked):has(#fx-lift-c-open:checked) .fx-all { visibility: visible; }
@container (max-width: 760px) { .fx-lift .fx-controls, .fx-lift .fx-shelf { grid-template-columns: 1fr; } }
@container (max-width: 480px) { .fx-lift .fx-controls, .fx-lift .fx-shelf { grid-template-columns: 1fr; } .fx-lift .fx-control { padding: 10px; } }