#ygam-focus-mode-root{display:none}html.ygam-focus-mode-on{overflow:hidden}html.ygam-focus-mode-on #ygam-focus-mode-root{display:block;position:fixed;inset:0;z-index:999999;background:#fff;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px;box-sizing:border-box}#ygam-focus-mode-root:fullscreen{padding:16px}.ygam-focus-mode-exit-bar{display:flex;align-items:center;justify-content:flex-end;margin-bottom:8px}.ygam-focus-mode-exit-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;min-height:40px;font-size:.85rem;font-weight:600;background:var(--ygam-bg-muted,#f7f8fa);border:1px solid var(--ygam-border,#e0e0e0);border-radius:999px;cursor:pointer;color:var(--ygam-text,#1a1a1a)}.ygam-focus-mode-exit-btn:hover{border-color:var(--ygam-primary,#1a73e8);color:var(--ygam-primary,#1a73e8)}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-runner{max-width:none;width:100%;margin:0}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-header{top:0}@media (max-width:600px){html.ygam-focus-mode-on #ygam-focus-mode-root{padding:6px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-header{flex-direction:column;align-items:stretch;gap:8px;padding:10px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-timer{text-align:center;font-size:1.4rem}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-lang-switch{justify-content:center}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-body{gap:12px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-question-panel{padding:14px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-nav-grid{grid-template-columns:repeat(6,1fr)}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-nav-item{min-height:44px;min-width:44px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-option{min-height:48px;padding:14px 12px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-actions{position:sticky;bottom:0;background:#fff;padding:10px 0;margin-top:12px;border-top:1px solid var(--ygam-border,#e0e0e0)}}.ygam-reading-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.ygam-reading-tools-group{display:inline-flex;border:1px solid var(--ygam-border,#e0e0e0);border-radius:6px;overflow:hidden}.ygam-reading-tools-group button,.ygam-reading-toggle{border:none;background:var(--ygam-bg-muted,#f7f8fa);padding:6px 10px;font-size:.8rem;cursor:pointer;color:var(--ygam-text,#1a1a1a)}.ygam-reading-tools-group button+button{border-left:1px solid var(--ygam-border,#e0e0e0)}.ygam-reading-toggle{border:1px solid var(--ygam-border,#e0e0e0);border-radius:6px}.ygam-reading-tools-group button.active,.ygam-reading-toggle.active{background:var(--ygam-primary,#1a73e8);color:#fff}#ygam-focus-mode-root[data-ygam-font-size=small] .ygam-quiz-question-text,#ygam-focus-mode-root[data-ygam-font-size=small] .ygam-quiz-option span{font-size:.85em}#ygam-focus-mode-root[data-ygam-font-size=large] .ygam-quiz-question-text,#ygam-focus-mode-root[data-ygam-font-size=large] .ygam-quiz-option span{font-size:1.25em}#ygam-focus-mode-root[data-ygam-spacing=compact] .ygam-quiz-option{padding:8px 10px;margin-bottom:4px}#ygam-focus-mode-root[data-ygam-spacing=comfortable] .ygam-quiz-option{padding:16px 14px;margin-bottom:10px}#ygam-focus-mode-root.ygam-highlight-question .ygam-quiz-question-text{background:var(--ygam-highlight-bg,#fff8d6);padding:10px;border-radius:6px}#ygam-focus-mode-root[data-ygam-theme=dark]{--ygam-text:#f0f0f0;--ygam-bg-muted:#2a2a2e;--ygam-border:#444;--ygam-highlight-bg:#4a4420;background:#1c1c1f;color:#f0f0f0}#ygam-focus-mode-root[data-ygam-theme=dark] .ygam-quiz-question-panel,#ygam-focus-mode-root[data-ygam-theme=dark] .ygam-quiz-navigator,#ygam-focus-mode-root[data-ygam-theme=dark] .ygam-quiz-header,#ygam-focus-mode-root[data-ygam-theme=dark] .ygam-modal{background:#26262a;color:#f0f0f0;border-color:#444}#ygam-focus-mode-root[data-ygam-theme=dark] .ygam-quiz-actions{background:#26262a}.ygam-quiz-question-block{border:1px solid var(--ygam-border,#e0e0e0);border-radius:8px;padding:16px;margin-bottom:16px}.ygam-quiz-palette-summary{display:flex;flex-wrap:wrap;gap:10px;font-size:.8rem;margin-bottom:8px;color:var(--ygam-text-muted,#666)}.ygam-quiz-marking-scheme{font-size:.8rem;font-weight:600;color:var(--ygam-text-muted,#666)}.ygam-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:1000000;padding:16px;overflow-y:auto}.ygam-modal{background:#fff;border-radius:10px;padding:24px;max-width:420px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px rgba(0,0,0,.2)}.ygam-modal-summary{list-style:none;margin:12px 0;padding:0}.ygam-modal-summary li{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid var(--ygam-border,#eee)}.ygam-modal-warning{color:#b45309;font-size:.85rem}.ygam-modal-actions{display:flex;gap:10px;margin-top:16px;justify-content:flex-end}.ygam-quiz-timer.ygam-timer-caution{color:#b45309}html.ygam-focus-mode-on #ygam-focus-mode-root{padding:8px 16px}html.ygam-focus-mode-on #ygam-focus-mode-root #ygam-quiz-app{max-width:none;width:100%;margin:0}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-body{margin-top:10px;align-items:start}@media (min-width:900px){html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-body{grid-template-columns:minmax(0, 1fr) 340px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-question-panel{min-height:calc(100vh - 150px);min-height:calc(100dvh - 150px);padding:24px 28px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-navigator{position:sticky;top:8px;max-height:calc(100vh - 60px);max-height:calc(100dvh - 60px);overflow-y:auto}}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-question-text{font-size:1.25rem}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-option{padding:14px 16px}.ygam-focus-mode-exit-bar{gap:8px}a.ygam-focus-mode-exit-btn{text-decoration:none}html.ygam-focus-mode-on #ygam-focus-mode-root{height:100vh;height:100dvh;padding-top:max(12px, env(safe-area-inset-top));padding-bottom:max(12px, env(safe-area-inset-bottom));padding-left:max(12px, env(safe-area-inset-left));padding-right:max(12px, env(safe-area-inset-right));overscroll-behavior:contain}@media (min-width:601px) and (max-width:899px){html.ygam-focus-mode-on #ygam-focus-mode-root{padding-left:max(14px, env(safe-area-inset-left));padding-right:max(14px, env(safe-area-inset-right))}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-body{grid-template-columns:1fr;gap:16px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-question-panel{padding:20px 22px;min-height:0}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-question-text{font-size:1.15rem}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-nav-grid{grid-template-columns:repeat(auto-fill,minmax(48px, 1fr))}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-navigator{position:static;max-height:none}}@media (max-height:500px) and (orientation:landscape){html.ygam-focus-mode-on #ygam-focus-mode-root{padding-top:max(4px, env(safe-area-inset-top))}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-focus-mode-exit-bar{margin-bottom:4px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-header{flex-direction:row;flex-wrap:wrap;padding:6px 10px;gap:6px}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-timer{font-size:1.05rem}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-question-panel{padding:12px 14px;min-height:0}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-option{padding:9px 12px;margin-bottom:7px}}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-runner.ygam-quiz-fit{height:var(--ygam-quiz-fit-h,100%);max-height:var(--ygam-quiz-fit-h,100%)}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-fit .ygam-quiz-question-panel{min-height:0;overflow:hidden;display:flex;flex-direction:column}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-fit .ygam-quiz-qscroll{min-height:0;overflow-y:auto}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-fit .ygam-quiz-navigator{min-height:0;max-height:none;position:static;overflow-y:auto}@media (max-width:899px){html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-fit .ygam-quiz-navigator{position:fixed;max-height:62dvh}}#ygam-focus-mode-root[data-ygam-theme=dark] .ygam-quiz-fit .ygam-quiz-actions{border-top-color:#444}#ygam-focus-mode-root[data-ygam-theme=dark] .ygam-quiz-palette-toggle,#ygam-focus-mode-root[data-ygam-theme=dark] .ygam-quiz-palette-close{background:#2f2f34;color:#f0f0f0;border-color:#444}html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-runner[hidden],html.ygam-focus-mode-on #ygam-focus-mode-root #ygam-quiz-runner[hidden],html.ygam-focus-mode-on #ygam-focus-mode-root #ygam-quiz-result[hidden],html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-header[hidden],html.ygam-focus-mode-on #ygam-focus-mode-root .ygam-quiz-navigator[hidden]{display:none !important}html.ygam-attempt-finalized #ygam-focus-mode-root .ygam-quiz-header,html.ygam-attempt-finalized #ygam-focus-mode-root .ygam-quiz-navigator,html.ygam-attempt-finalized #ygam-focus-mode-root .ygam-quiz-actions,html.ygam-attempt-finalized #ygam-focus-mode-root .ygam-quiz-runner{display:none !important}html.ygam-attempt-finalized #ygam-focus-mode-root #ygam-quiz-result{display:block !important;order:-1;width:100%;max-width:none;margin:0}