@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=Nunito:wght@600;700;800&display=swap');
:root{--ink:#203b36;--muted:#73817b;--green:#426e5c;--line:#e5e9e1;--cream:#f8f7f0}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'IBM Plex Sans Thai',sans-serif}button,select,textarea{font:inherit}button{cursor:pointer}header{height:76px;padding:0 max(5%,calc((100% - 1160px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8ebe3;background:#fbfaf5}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-weight:700;font-size:20px;line-height:1.1}.brand small{display:block;font:700 8px Nunito,sans-serif;letter-spacing:.2em;margin-top:5px;color:#87a394}.logo{display:grid;place-items:center;background:#426e5c;color:white;width:38px;height:38px;border-radius:12px;font-size:24px}.header-note{font-size:12px;color:#87938b}main{max-width:1160px;margin:auto;padding:0 22px}.intro{min-height:285px;display:flex;align-items:center;justify-content:space-between;padding:40px 52px 32px}.eyebrow,.overline{font:800 10px Nunito,sans-serif;letter-spacing:.15em;color:#789586}.eyebrow{font-family:'IBM Plex Sans Thai',sans-serif;letter-spacing:.06em}.eyebrow span{display:inline-block;width:7px;height:7px;background:#f1aa76;border-radius:50%;margin-right:7px}h1{font-size:clamp(35px,5vw,55px);line-height:1.23;letter-spacing:-.04em;margin:14px 0;font-weight:700}h1 em{font-style:normal;color:#68947e}.intro p,.practice-head p{font-size:14px;line-height:1.8;color:#596f62;margin:0}.intro-art{position:relative;width:265px;height:175px}.key{position:absolute;display:grid;place-items:center;width:88px;height:85px;border-radius:23px;font:bold 40px Nunito,sans-serif;box-shadow:0 7px 0 #c8d9c7}.k1{background:#dfece0;transform:rotate(-13deg);left:20px;top:50px}.k2{background:#f7d9c8;box-shadow:0 7px 0 #eac4b2;transform:rotate(10deg);left:100px;top:20px}.k3{background:#e9e3f1;box-shadow:0 7px 0 #d8cfe3;transform:rotate(12deg);left:160px;top:70px}.spark{position:absolute;right:4px;top:5px;color:#e5ae79;font-size:30px}.art-caption{position:absolute;bottom:-5px;left:80px;font:800 9px Nunito;letter-spacing:.18em;color:#aab7a8}.workspace{background:white;border:1px solid #edf0e9;border-radius:24px;padding:30px;box-shadow:0 15px 55px #4358470a}.section-title,.practice-head{display:flex;justify-content:space-between;align-items:end;gap:20px}h2{font-size:21px;margin:6px 0 0}.hint{color:#a1ada3;font-size:12px}.modes{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0 25px}.mode{text-align:left;display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e9ede7;border-radius:15px;padding:15px;color:var(--ink)}.mode.active{border:1.5px solid #729e84;background:#f5faf5}.mode b,.mode small{display:block}.mode b{font-size:14px}.mode small{font-size:11px;color:#607568;margin-top:3px}.icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;font-size:20px}.mint{background:#dceee0}.peach{background:#fceadd}.lilac{background:#eee7f6}.arrow{margin-left:auto;color:#aab8ad}.practice{background:#fafbf7;border:1px solid #eef0e9;border-radius:18px;padding:25px}.practice-head h2 span{color:#dfa77b}.settings{display:flex;gap:8px;flex-wrap:wrap}.settings label{font-size:11px;color:#8a9990;display:flex;align-items:center;gap:8px;background:white;border:1px solid #e9eee6;border-radius:10px;padding:8px 10px}select{border:0;background:transparent;color:var(--ink);font-weight:600;font-size:12px;outline:none}.stats{display:flex;align-items:center;gap:45px;margin:23px 0 20px;padding:16px 20px;background:white;border:1px solid #edf0e9;border-radius:12px}.stats small,.stats strong{display:block}.stats small{font-size:10px;color:#607568}.stats strong{font:800 21px Nunito,sans-serif;margin-top:4px}.stats strong span{font-size:12px}.status{margin-left:auto;font-size:11px;color:#527b5f}.prompt-label{font-size:12px;font-weight:700;display:flex;justify-content:space-between}.prompt-label span{font-size:10px;font-weight:400;color:#63786b}.prompt{font-size:20px;line-height:2;color:#344d43;padding:16px 0;min-height:80px;white-space:pre-wrap}.correct{color:#256745}.wrong{color:#a72e2b;background:#ffe6e0;border-radius:3px}.current{border-bottom:2px solid #779e83}textarea{width:100%;resize:vertical;min-height:80px;border:1px solid #dce6db;border-radius:12px;background:white;padding:14px 16px;color:var(--ink);font-size:16px;outline:none}textarea:focus{border-color:#7ca68a;box-shadow:0 0 0 3px #dfeee2}textarea::placeholder{color:#788a7c}.bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.bottom p{font-size:11px;color:#64796c}.restart{border:0;border-radius:10px;background:#456e5b;color:#fff;padding:11px 18px;font-weight:600;font-size:12px}.restart:hover{background:#315946}.result{background:#e5f2e6;border-radius:12px;padding:15px;margin-top:12px;font-size:14px}.sr{position:absolute;left:-9999px}footer{display:flex;justify-content:space-between;color:#aab7ab;font-size:11px;padding:25px 5px 38px}footer b{color:#dca77d}@media(max-width:700px){header{padding:0 20px}.header-note,.intro-art,.hint{display:none}.intro{min-height:0;padding:35px 4px}.intro p br{display:none}.workspace{padding:18px}.modes{grid-template-columns:1fr}.mode{padding:10px}.practice{padding:16px}.practice-head{align-items:start;flex-direction:column}.stats{gap:20px;flex-wrap:wrap}.status{width:100%;margin:0}.prompt{font-size:18px}footer{gap:15px;flex-wrap:wrap}}

.home-link{color:#587768;text-decoration:none;font-size:12px;font-weight:600;padding:9px 13px;border:1px solid #dce7dc;border-radius:10px;background:#fff;white-space:nowrap}.home-link:hover{background:#edf5ee}.home-link:focus-visible{outline:3px solid #91b69a;outline-offset:3px}
