:root { color-scheme: dark; --muted:#94a3b8; } * { box-sizing:border-box; } body { margin:0; background:#080e1b; color:#e2e8f0; font-family:'DM Sans',sans-serif; line-height:1.6; } main { max-width:1000px; margin:auto; padding:24px; } h1,h2,h3 { font-family:Syne,sans-serif; line-height:1.3; } h1 { font-size:clamp(1.6rem,4vw,2.4rem); } h2 { font-size:1.25rem; } small { display:block; color:#94a3b8; font: .85rem 'DM Mono',monospace; margin-top:8px; } button,select { color:#e2e8f0; background:#1e293b; border:1px solid #64748b; border-radius:8px; padding:10px 16px; font:inherit; cursor:pointer; } button:hover { border-color:#38bdf8; } .start-card,.question-card,header,#results { background:#111b2e; border:1px solid #334155; border-radius:14px; padding:24px; margin-bottom:20px; } .question-text,.explanation p { white-space:pre-wrap; overflow-wrap:anywhere; } fieldset { border:0; padding:0; margin-top:20px; min-width:0; } legend { color:#94a3b8; margin-bottom:10px; } .option-row,.matching-row { display:flex; gap:12px; border:1px solid #334155; border-radius:8px; padding:12px; margin-bottom:8px; cursor:pointer; white-space:pre-wrap; } .option-row input { flex-shrink:0; } .matching-row { flex-direction:column; } select { width:100%; white-space:normal; } img { display:block; max-width:100%; height:auto; background:white; margin:12px auto; } summary { cursor:pointer; color:#38bdf8; } .correct,.correct-answer { border-color:#34d399; } .incorrect,.wrong-answer { border-color:#fb7185; } .explanation { border-top:1px solid #334155; margin-top:20px; } .warning { color:#fbbf24; }.danger { color:#fb7185; } footer { color:#94a3b8; font-size:.8rem; overflow-wrap:anywhere; } a { color:#38bdf8; } .confirm-overlay { display:none; position:fixed; inset:0; background:#000b; z-index:100; align-items:center; justify-content:center; padding:20px; } .confirm-overlay.open { display:flex; } .confirm-card { background:#111b2e; padding:24px; border:1px solid #64748b; border-radius:14px; max-width:480px; } [hidden] { display:none!important; } @media(max-width:600px) { main { padding:12px; }.start-card,.question-card,header,#results { padding:16px; } } .code-block { margin:12px 0; padding:12px 14px; overflow-x:auto; white-space:pre; tab-size:4; background:#0b1220; border:1px solid #334155; border-radius:8px; font:0.9rem/1.5 'DM Mono',ui-monospace,Menlo,Consolas,monospace; color:#e2e8f0; } .code-block:focus-visible { outline:2px solid #38bdf8; outline-offset:2px; }