:root { color-scheme: dark; color: #eeebe3; background: #14130f; font: 16px/1.55 Onest, "IBM Plex Sans Thai", sans-serif; }
body { margin: 0; padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
main { max-width: 680px; margin: auto; }
nav { display: flex; gap: 16px; }
a { color: #4fd1b5; }
h1, h2 { font-family: Unbounded, "IBM Plex Sans Thai", sans-serif; font-weight: 500; overflow-wrap: anywhere; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.1rem; }
#tests, .choices { padding: 0; list-style: none; display: grid; gap: 8px; }
#tests button, .choices button { width: 100%; text-align: left; }
button { min-height: 44px; border-radius: 10px; border: 1px solid #555044; padding: 10px 14px; background: #25221b; color: inherit; font: inherit; cursor: pointer; overflow-wrap: anywhere; }
button:focus-visible, a:focus-visible { outline: 2px solid #4fd1b5; outline-offset: 2px; }
button.correct { border-color: #4ade80; }
button.incorrect { border-color: #f87171; }
#quiz { border-top: 1px solid #555044; margin-top: 18px; padding-top: 12px; }
#quiz p { overflow-wrap: anywhere; }
#tests-status { color: #b3aa98; }
