.fx-flipnote { display: grid; gap: 16px; }
.fx-flipnote .fx-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fx-flipnote .fx-goal { margin: 0; color: var(--fx-ink); }
.fx-flipnote .fx-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-flipnote .fx-controls legend { font-weight: 800; margin-bottom: 10px; padding: 0; }
.fx-flipnote .fx-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fx-flipnote .fx-btn { box-sizing: border-box; min-width: 0; min-height: 60px; padding: 10px; background: var(--fx-sun-pale); color: var(--fx-ink); border: 2px solid var(--fx-ink); text-align: left; white-space: normal; }
.fx-flipnote .fx-btn small { display: block; font-size: 12px; margin-bottom: 3px; }
.fx-flipnote .fx-btn:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-flipnote .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-flipnote .fx-help { margin: 10px 0 0; font-size: 14px; }
.fx-flipnote .fx-scene { box-sizing: border-box; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; height: 928px; padding: 12px; color: var(--fx-ink); }
.fx-flipnote .fx-board, .fx-flipnote .fx-sheet { box-sizing: border-box; min-width: 0; padding: 10px; border: 2px solid var(--fx-ink); display: grid; grid-template-rows: 48px repeat(5, 156px); gap: 8px; align-content: start; }
.fx-flipnote .fx-board { background: var(--fx-sun-pale); }
.fx-flipnote .fx-sheet { position: relative; background: var(--fx-paper); }
.fx-flipnote .fx-title { display: flex; align-items: center; font-size: 16px; line-height: 1.35; }
.fx-flipnote .fx-depth { min-width: 0; height: 156px; perspective: 800px; }
.fx-flipnote .fx-turn { display: grid; height: 100%; transform-style: preserve-3d; transform: rotateY(-4deg) rotateZ(-1deg); transition: transform 0.6s; }
.fx-flipnote .fx-turn > p, .fx-flipnote .fx-turn > label { box-sizing: border-box; grid-area: 1 / 1; min-width: 0; height: 156px; padding: 10px; margin: 0; border: 1px solid var(--fx-ink); border-radius: 4px; backface-visibility: hidden; color: var(--fx-ink); font-size: 14px; line-height: 1.4; }
.fx-flipnote .fx-front { position: relative; background: var(--fx-sun); transform: translateZ(1px); visibility: visible; cursor: pointer; }
.fx-flipnote .fx-front > b { display: block; margin-top: 16px; font-size: 18px; line-height: 1.35; }
.fx-flipnote .fx-back { background: var(--fx-paper); transform: rotateY(180deg) translateZ(1px); visibility: hidden; }
.fx-flipnote .fx-key { display: block; margin-bottom: 8px; font-size: 12px; line-height: 1.5; }
.fx-flipnote .fx-explain { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; }
.fx-flipnote .fx-subject { text-decoration: underline; text-decoration-color: var(--fx-sky); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.fx-flipnote .fx-verb { background: var(--fx-coral-pale); border-bottom: 2px solid var(--fx-coral); }
.fx-flipnote .fx-nudge { position: absolute; bottom: 8px; left: 10px; right: 10px; display: grid; font-size: 12px; font-weight: 800; }
.fx-flipnote .fx-nudge > span { grid-area: 1 / 1; visibility: hidden; }
.fx-flipnote .fx-line { display: grid; min-width: 0; border-bottom: 1px solid var(--fx-sky); }
.fx-flipnote .fx-copy { grid-area: 1 / 1; margin: 0; padding: 22px 3px 0; font-size: 16px; line-height: 1.6; visibility: hidden; }
.fx-flipnote .fx-seal { position: absolute; bottom: 16px; right: 12px; padding: 8px; border: 2px solid var(--fx-ink); background: var(--fx-mint); font-size: 14px; transform: rotate(-4deg); visibility: hidden; }
.fx-flipnote .fx-status { display: grid; }
.fx-flipnote .fx-status > p { grid-area: 1 / 1; margin: 0; visibility: hidden; }
.fx-flipnote:has(#fx-flipnote-c1:checked) .fx-card1, .fx-flipnote:has(#fx-flipnote-c2:checked) .fx-card2, .fx-flipnote:has(#fx-flipnote-c3:checked) .fx-card3, .fx-flipnote:has(#fx-flipnote-c4:checked) .fx-card4, .fx-flipnote:has(#fx-flipnote-c5:checked) .fx-card5 { transform: rotateY(180deg) rotateZ(0deg); }
.fx-flipnote:has(#fx-flipnote-c1:checked) .fx-card1 .fx-back, .fx-flipnote:has(#fx-flipnote-c1:checked) .fx-copy1, .fx-flipnote:has(#fx-flipnote-c2:checked) .fx-card2 .fx-back, .fx-flipnote:has(#fx-flipnote-c2:checked) .fx-copy2, .fx-flipnote:has(#fx-flipnote-c3:checked) .fx-card3 .fx-back, .fx-flipnote:has(#fx-flipnote-c3:checked) .fx-copy3, .fx-flipnote:has(#fx-flipnote-c4:checked) .fx-card4 .fx-back, .fx-flipnote:has(#fx-flipnote-c4:checked) .fx-copy4, .fx-flipnote:has(#fx-flipnote-c5:checked) .fx-card5 .fx-back, .fx-flipnote:has(#fx-flipnote-c5:checked) .fx-copy5 { visibility: visible; }
.fx-flipnote:has(#fx-flipnote-c1:checked) .fx-card1 .fx-front, .fx-flipnote:has(#fx-flipnote-c2:checked) .fx-card2 .fx-front, .fx-flipnote:has(#fx-flipnote-c3:checked) .fx-card3 .fx-front, .fx-flipnote:has(#fx-flipnote-c4:checked) .fx-card4 .fx-front, .fx-flipnote:has(#fx-flipnote-c5:checked) .fx-card5 .fx-front { visibility: hidden; }
.fx-flipnote:not(:has(input:checked)) .fx-first, .fx-flipnote:not(:has(input:checked)) .fx-start { visibility: visible; }
.fx-flipnote:has(input:checked):not(:has(#fx-flipnote-c1:checked)) .fx-next1, .fx-flipnote:has(#fx-flipnote-c1:checked):not(:has(#fx-flipnote-c2:checked)) .fx-next2, .fx-flipnote:has(#fx-flipnote-c1:checked):has(#fx-flipnote-c2:checked):not(:has(#fx-flipnote-c3:checked)) .fx-next3, .fx-flipnote:has(#fx-flipnote-c1:checked):has(#fx-flipnote-c2:checked):has(#fx-flipnote-c3:checked):not(:has(#fx-flipnote-c4:checked)) .fx-next4, .fx-flipnote:has(#fx-flipnote-c1:checked):has(#fx-flipnote-c2:checked):has(#fx-flipnote-c3:checked):has(#fx-flipnote-c4:checked):not(:has(#fx-flipnote-c5:checked)) .fx-next5 { visibility: visible; }
.fx-flipnote:has(input:checked):has(input:not(:checked)) .fx-partway { visibility: visible; }
.fx-flipnote:not(:has(input:not(:checked))) .fx-complete, .fx-flipnote:not(:has(input:not(:checked))) .fx-seal { visibility: visible; }
@container (max-width: 480px) { .fx-flipnote .fx-choices { grid-template-columns: 1fr; } .fx-flipnote .fx-scene { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: 1844px; } }
@media (prefers-reduced-motion: reduce) { .fx-flipnote .fx-turn { transition: none; } }