:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f7f2;--card:#fff;--ink:#1d2a22;--muted:#5f6f65;--brand:#1d7a56;--brand-strong:#14563d;--danger:#9f1b1b;--line:#d8e0da;--focus:#0b7bff}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:radial-gradient(circle at 15% 0%,#e8f2eb,var(--bg));color:var(--ink);-webkit-tap-highlight-color:#1d7a5629;font-family:Pretendard Variable,Noto Sans KR,Apple SD Gothic Neo,sans-serif;overflow-x:hidden}a{color:inherit}.skip-link{border:1px solid var(--line);z-index:100;background:#fff;border-radius:10px;padding:.5rem .75rem;position:absolute;top:-3rem;left:.75rem}.skip-link:focus-visible{outline:3px solid var(--focus);outline-offset:2px;top:.75rem}.container{width:100%;max-width:860px;margin:0 auto;padding:.9rem}.hero,.subject-card,.quiz-card,.result-box,.danger-zone,.alerts{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:1rem}.hero h1,.subject-card h2,.quiz-card h2,.page-header h1{text-wrap:balance}.hero p,.quiz-card p,.result-box p,.alerts p,.muted{color:var(--muted)}.page-header{flex-direction:column;align-items:flex-start;gap:.8rem;margin-bottom:.9rem;display:flex}.subject-grid,.quiz-list{grid-template-columns:1fr;gap:.8rem;margin-top:.8rem;display:grid}.button-row{flex-wrap:wrap;gap:.5rem;display:flex}.button{background:var(--brand);color:#fff;cursor:pointer;touch-action:manipulation;border:1px solid #0000;border-radius:10px;min-height:44px;padding:.7rem .9rem;font-weight:700;text-decoration:none;transition:background-color .12s,border-color .12s,transform .12s}.button:hover{background:var(--brand-strong)}.button:active{transform:translateY(1px)}.button:focus-visible,.choice:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.button:disabled{opacity:.55;cursor:not-allowed}.button-secondary{background:#104734}.button-secondary:hover{background:#0b3728}.button-ghost{color:var(--ink);border-color:var(--line);background:#eef4ef}.button-ghost:hover{background:#e4ede6}.button-danger{background:var(--danger)}.button-danger:hover{background:#801616}.choice-list{gap:.5rem;margin:.8rem 0;padding:0;list-style:none;display:grid}.choice{text-align:left;border:1px solid var(--line);width:100%;color:inherit;cursor:pointer;touch-action:manipulation;word-break:break-word;background:#f8faf8;border-radius:10px;min-height:44px;padding:.8rem}.choice-selected{background:#eff6f1;border-color:#749986}.choice-correct{background:#e7f8ef;border-color:#1d7a56}.choice-wrong{background:#fdeeee;border-color:#b63737}.badge{color:var(--muted);margin:0;font-size:.82rem;display:inline-block}.explanation{border-top:1px solid var(--line);margin-top:.8rem;padding-top:.8rem}.quiz-card h2{word-break:break-word}.footer-nav,.sticky-submit{background:linear-gradient(180deg,transparent,var(--bg)30%);padding:.7rem 0 .8rem;padding-bottom:calc(.8rem + env(safe-area-inset-bottom,0px));justify-content:center;gap:.6rem;margin:1rem 0;display:flex;position:sticky;bottom:0}.details{margin-top:.6rem}@media (min-width:768px){.container{padding:1rem}.page-header{flex-direction:row;justify-content:space-between;align-items:center}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
