.fx-magnify { --fx-picked: 0; --fx-row: 0; display: grid; gap: 16px; }
.fx-magnify:has(#fx-magnify-june:checked), .fx-magnify:has(#fx-magnify-july:checked), .fx-magnify:has(#fx-magnify-august:checked) { --fx-picked: 1; }
.fx-magnify:has(#fx-magnify-july:checked) { --fx-row: 1; }
.fx-magnify:has(#fx-magnify-august:checked) { --fx-row: 2; }
.fx-magnify .fx-guide { margin: 0; color: var(--fx-ink); }
.fx-magnify .fx-guide ol { margin: 0; padding-left: 24px; font-size: 16px; line-height: 1.5; }
.fx-magnify .fx-guide li + li { margin-top: 6px; }
.fx-magnify .fx-goal, .fx-magnify .fx-reading-step { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fx-ink); }
.fx-magnify .fx-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-magnify .fx-controls legend { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 700; color: var(--fx-ink); }
.fx-magnify .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-magnify .fx-btn { box-sizing: border-box; min-height: 44px; min-width: 44px; padding: 10px 12px; border: 2px solid var(--fx-ink); font-size: 16px; font-weight: 700; line-height: 20px; color: var(--fx-ink); background: var(--fx-paper); cursor: pointer; transform: none; }
.fx-magnify .fx-btn:has(input:checked) { color: var(--fx-ink); background: var(--fx-mint); }
.fx-magnify .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-magnify:has(#fx-magnify-start:checked) .fx-june-choice { animation: fx-magnify-pulse 1.4s 3; }
.fx-magnify .fx-board { --fx-rh: 112px; --fx-th: 40px; --fx-ph: 96px; --fx-hh: 56px; --fx-small: 16px; --fx-large: 18px; position: relative; box-sizing: border-box; height: calc(28px + var(--fx-th) + var(--fx-ph) + var(--fx-hh) + 3 * var(--fx-rh)); padding: 12px; border: 2px dashed var(--fx-sky); background: var(--fx-sky-pale); overflow: hidden; color: var(--fx-ink); }
.fx-magnify .fx-table-title { box-sizing: border-box; height: var(--fx-th); margin: 0; font-size: 18px; line-height: 24px; }
.fx-magnify .fx-parking { height: var(--fx-ph); }
.fx-magnify .fx-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--fx-paper); color: var(--fx-ink); }
.fx-magnify .fx-table th, .fx-magnify .fx-table td { box-sizing: border-box; padding: 4px; border-bottom: 1px solid var(--fx-muted); text-align: left; vertical-align: middle; }
.fx-magnify .fx-table thead th { height: var(--fx-hh); font-size: 16px; line-height: 20px; opacity: 0.65; }
.fx-magnify .fx-table thead th:first-child { width: 100px; }
.fx-magnify .fx-table thead small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; line-height: 16px; }
.fx-magnify .fx-table tbody tr { height: var(--fx-rh); opacity: 0.65; }
.fx-magnify .fx-table tbody th { padding-left: 8px; font-size: 16px; line-height: 24px; }
.fx-magnify .fx-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 4px; }
.fx-magnify .fx-time { box-sizing: border-box; justify-self: start; padding: 0 3px; border: 2px solid var(--fx-paper); border-radius: 50%; font-size: var(--fx-small); line-height: 20px; white-space: nowrap; }
.fx-magnify .fx-count { display: grid; grid-column: 1 / -1; min-height: 20px; font-size: 14px; font-weight: 700; line-height: 20px; }
.fx-magnify .fx-count span { grid-area: 1 / 1; visibility: hidden; }
.fx-magnify:has(#fx-magnify-june:checked) .fx-june-row, .fx-magnify:has(#fx-magnify-july:checked) .fx-july-row, .fx-magnify:has(#fx-magnify-august:checked) .fx-august-row { opacity: 1; background: var(--fx-mint-pale); }
.fx-magnify:has(#fx-magnify-june:checked) .fx-june-row .fx-time, .fx-magnify:has(#fx-magnify-july:checked) .fx-july-row .fx-time, .fx-magnify:has(#fx-magnify-august:checked) .fx-august-row .fx-time { font-size: var(--fx-large); border-color: var(--fx-mint-pale); }
.fx-magnify:has(#fx-magnify-june:checked) .fx-june-row .fx-first-time { border-color: var(--fx-coral); }
.fx-magnify:has(#fx-magnify-july:checked) .fx-july-row .fx-count span, .fx-magnify:has(#fx-magnify-august:checked) .fx-august-row .fx-count span { visibility: visible; }
.fx-magnify .fx-glass { position: absolute; z-index: 1; left: 20px; top: calc(14px + var(--fx-th)); width: 82px; height: 82px; transform: translateY(calc(var(--fx-picked) * (var(--fx-ph) + var(--fx-hh) + (var(--fx-rh) - 82px) / 2 + var(--fx-row) * var(--fx-rh)))); transition: transform 0.55s; pointer-events: none; }
.fx-magnify .fx-lens { position: relative; z-index: 1; box-sizing: border-box; width: 82px; height: 82px; border: 3px solid var(--fx-ink); border-radius: 50%; display: grid; align-content: center; justify-items: center; gap: 2px; background: var(--fx-sun-pale); color: var(--fx-ink); overflow: hidden; }
.fx-magnify .fx-lens small { font-size: 12px; line-height: 16px; }
.fx-magnify .fx-lens-words { display: grid; font-size: 20px; font-weight: 700; line-height: 26px; text-align: center; }
.fx-magnify .fx-lens-words span { grid-area: 1 / 1; visibility: hidden; }
.fx-magnify .fx-handle { position: absolute; right: -10px; bottom: -3px; box-sizing: border-box; width: 26px; height: 10px; border: 2px solid var(--fx-ink); border-radius: 4px; background: var(--fx-sun); transform: rotate(48deg); }
.fx-magnify .fx-statements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fx-magnify .fx-card { min-width: 0; padding: 12px; border: 2px solid var(--fx-muted); border-radius: 12px; display: grid; align-content: start; gap: 12px; background: var(--fx-paper); color: var(--fx-ink); }
.fx-magnify .fx-card p { margin: 0; font-size: 16px; line-height: 24px; }
.fx-magnify .fx-answer { display: grid; min-height: 44px; border: 2px solid var(--fx-muted); border-radius: 8px; overflow: hidden; }
.fx-magnify .fx-answer > span { grid-area: 1 / 1; visibility: hidden; display: grid; place-items: center; padding: 6px; font-size: 18px; font-weight: 700; line-height: 24px; }
.fx-magnify .fx-c-right { background: var(--fx-mint-pale); }
.fx-magnify .fx-d-question { background: var(--fx-sun-pale); }
.fx-magnify .fx-d-wrong { background: var(--fx-coral-pale); }
.fx-magnify .fx-messages { display: grid; }
.fx-magnify .fx-messages > p { grid-area: 1 / 1; visibility: hidden; box-sizing: border-box; margin: 0; padding: 12px; font-size: 16px; line-height: 24px; color: var(--fx-ink); }
.fx-magnify:has(#fx-magnify-start:checked) .fx-say-start, .fx-magnify:has(#fx-magnify-start:checked) .fx-lens-start, .fx-magnify:has(#fx-magnify-june:checked) .fx-say-june, .fx-magnify:has(#fx-magnify-june:checked) .fx-lens-june, .fx-magnify:has(#fx-magnify-june:checked) .fx-c-right, .fx-magnify:has(#fx-magnify-july:checked) .fx-say-july, .fx-magnify:has(#fx-magnify-july:checked) .fx-lens-july, .fx-magnify:has(#fx-magnify-july:checked) .fx-d-question, .fx-magnify:has(#fx-magnify-august:checked) .fx-say-august, .fx-magnify:has(#fx-magnify-august:checked) .fx-lens-august, .fx-magnify:has(#fx-magnify-august:checked) .fx-d-wrong { visibility: visible; }
@container (max-width: 480px) { .fx-magnify .fx-statements { grid-template-columns: 1fr; } .fx-magnify .fx-board { --fx-rh: 148px; --fx-th: 54px; --fx-hh: 62px; --fx-small: 14px; --fx-large: 16px; } .fx-magnify .fx-times { grid-template-columns: 1fr; } }
@keyframes fx-magnify-pulse { 0%, 100% { background: var(--fx-paper); } 50% { background: var(--fx-sun); } }
@media (prefers-reduced-motion: reduce) { .fx-magnify .fx-glass { transition: none; } .fx-magnify .fx-june-choice { animation: none; } }