.study-handheld{--study-header-height:calc(57px + env(safe-area-inset-top));--study-viewport-height:100vh}@supports (height:100dvh){.study-handheld{--study-viewport-height:100dvh}}.study-handheld .study-session .mobile-study-loading{position:absolute;top:66px;bottom:max(10px,env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));max-width:900px;margin:0 auto;display:grid;place-items:center;border:1px solid #22d3ee33;border-radius:18px;background:#122337;color:#94a3b8;font-size:13px}.study-handheld.study-mobile-ready .study-session .mobile-study-loading{display:none}.study-handheld .mobile-study{visibility:hidden}.study-handheld.study-mobile-ready .mobile-study{visibility:visible}.study-handheld .study-session{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;height:var(--study-viewport-height, 100dvh);min-height:0;overflow:hidden}.study-handheld .study-session .study-header{min-height:56px;padding-top:calc(6px + env(safe-area-inset-top));padding-bottom:6px;gap:8px}.study-handheld .study-session .study-header h1{font-size:clamp(15px,3.6vw,18px)}.study-handheld .study-session main{position:fixed;top:var(--study-header-height, 57px);left:0;right:0;height:calc(var(--study-viewport-height, 100dvh) - var(--study-header-height, 57px));min-height:0;max-width:none;margin:0;display:block;padding:10px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.study-handheld .study-session .flashcard-main-container{display:none}.mobile-study{display:grid;grid-template-rows:44px minmax(0,1fr);gap:12px;height:100%;min-height:0;max-width:900px;margin:0 auto}.mobile-study button{font:inherit;cursor:pointer;min-width:44px;min-height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.mobile-study svg{width:21px;height:21px;flex-shrink:0}.mobile-study-toolbar{display:grid;grid-template-columns:auto 44px minmax(0,1fr);align-items:center;gap:8px}.mobile-study-count{font-size:12px;font-weight:600;color:#cbd5e1;padding:0 8px;white-space:nowrap;font-variant-numeric:tabular-nums}.mobile-study-category,.mobile-study-shuffle{background:#182131;border:1px solid #334155;color:#cbd5e1}.mobile-study-category{justify-content:space-between!important;padding:0 12px;min-width:0!important;font-size:12px!important}.mobile-study-category span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.mobile-study-category svg{color:#22d3ee;width:17px}.mobile-study-reader{display:grid;grid-template-rows:auto minmax(0,1fr) 44px;min-height:0;gap:12px;padding:18px;border:1px solid #22d3ee44;border-radius:18px;background:linear-gradient(155deg,#132a3c,#111c2b)}.mobile-study.is-answer .mobile-study-reader{border-color:#60a5fa55;background:#122337}.mobile-study-reader-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.mobile-study-phase{color:#67e8f9;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;flex-shrink:0}.mobile-study-topic{color:#94a3b8;font-size:10px;line-height:1.5;text-align:right;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mobile-study-frame{position:relative;min-height:0;width:100%;display:flex;align-items:center;overflow:hidden;cursor:pointer}.mobile-study-copy{width:100%;font-size:clamp(19px,4.9vw,23px);line-height:1.5;color:#f1f5f9;font-weight:600;text-align:center;overflow-wrap:anywhere}.mobile-study.is-answer .mobile-study-frame{align-items:flex-start}.mobile-study.is-answer .mobile-study-copy{font-size:16px;line-height:1.6;font-weight:400;text-align:left;color:#e2e8f0}.mobile-study-copy>:first-child{margin-top:0}.mobile-study-copy>:last-child{margin-bottom:0}.mobile-study-measure{position:absolute;left:0;top:0;visibility:hidden;pointer-events:none;height:auto}.mobile-study-footer{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;min-width:0;border-top:1px solid #ffffff0a}.mobile-study-footer button{width:44px;height:44px;min-height:44px;color:#67e8f9;background:#ffffff05;border:1px solid #ffffff10}.mobile-study-cue{display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;text-align:center}.mobile-study-part-label{color:#67e8f9;font-size:10px;line-height:1.3}.mobile-study-part-label:empty{display:none}.mobile-study-tap-hint{color:#94a3b8;font-size:11px;line-height:1.35}.mobile-study button:disabled{opacity:.3;cursor:default}.mobile-study :focus-visible{outline:2px solid #22d3ee;outline-offset:2px}@media (max-height:500px){.study-handheld .study-session .mobile-study-loading{top:56px;bottom:max(6px,env(safe-area-inset-bottom));border-radius:14px}.study-handheld .study-session main{padding-top:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}.mobile-study{grid-template-rows:44px minmax(0,1fr);gap:6px}.mobile-study-reader{padding:10px 16px;gap:6px;border-radius:14px}.mobile-study-copy{font-size:19px;line-height:1.4}.mobile-study.is-answer .mobile-study-copy{font-size:16px;line-height:1.45}}@media (prefers-reduced-motion:reduce){.mobile-study *{animation:none!important;transition:none!important}}