@font-face{font-family:Itim;src:url(fonts/itim-regular.woff2)}@font-face{font-family:Thai;src:url(fonts/noto-sans-thai-variable.ttf)}
*{box-sizing:border-box}body{margin:0;background:#fafbf5;color:#223e36;font:16px Thai,sans-serif}header{background:white;border-bottom:2px solid #dfe7dc}.bar,main{max-width:1040px;margin:auto;padding:0 28px}.bar{height:70px;display:flex;align-items:center;gap:20px}.brand{font:bold 22px Arial;letter-spacing:-1px;color:#123d74;text-decoration:none}.brand span{color:#72ba45}.section,small,.heading>span{font:bold 13px/1.6 Arial,sans-serif;letter-spacing:2px}.section{border-left:1px solid #ddd;padding-left:20px}.xp{margin-left:auto;border:1px solid #ebd481;background:#fff7d1;color:#825600;font-weight:700;border-radius:20px;padding:4px 16px}.heading{margin:32px 0 20px}.heading>span{color:#317851}.heading h1{font:44px/1.2 Itim;margin:5px 0}.layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(245px,1fr);gap:24px;align-items:start;margin-bottom:42px}.board,.card{border:2px solid #d8e3d6;border-radius:24px;overflow:hidden;background:white}.banner{display:flex;align-items:center;justify-content:space-between;padding:18px 28px;color:white;background:#29775c;border-bottom:5px solid #206448}.banner small{color:#dcf3cc}.banner h2,.card h2,dialog h2{font:32px/1.2 Itim;margin:4px 0}.flag{font-size:32px}.map{height:660px;position:relative;background-color:#f2f8e8;background-image:radial-gradient(#d6e4c9 1px,transparent 1.6px);background-size:17px 17px}.trail,#stages{position:absolute;left:7%;width:86%;top:10px;height:600px}.trail path{fill:none;stroke:#bfceac;stroke-width:6;stroke-dasharray:3 11;stroke-linecap:round}#stages{list-style:none;margin:0;padding:0}.stage{position:absolute;transform:translate(-50%,-50%);text-align:center}.node{width:66px;height:55px;border:3px solid #fff9;border-radius:50%;background:#dae1d6;color:#657163;box-shadow:0 7px #bbc5b5;font:700 25px Arial;cursor:pointer}.node:disabled{cursor:default}.stage.current .node{background:#70bc37;color:white;box-shadow:0 7px #448b23,0 0 0 6px white,0 0 0 9px #8bc55c}.stage.done .node{background:#ffca39;color:#805700;box-shadow:0 7px #d89d1a}.caption{position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%);white-space:nowrap;font:18px Itim;background:#f2f8e8;padding:0 5px}.mascot{position:absolute;top:105px;right:10%;width:clamp(88px,19%,135px);height:auto;transform:rotate(5deg)}.sprout{position:absolute;font-size:23px}.s1{left:13%;top:54px}.s2{right:14%;top:493px}.s3{left:17%;top:387px}.card{padding:24px}.card small,dialog small{color:#497456}.count b{font:36px Itim}.count{margin:17px 0 0}progress{width:100%;height:12px;accent-color:#66ab36}.action{width:100%;background:#29775c;color:white;border:0;border-bottom:4px solid #19543e;border-radius:13px;padding:11px;font:20px Itim;cursor:pointer}.legend{display:flex;gap:14px;flex-wrap:wrap;padding:18px 5px;color:#566458;font-size:14px}dialog{border:2px solid #d6dfd0;border-radius:22px;padding:28px;width:min(390px,90vw);color:inherit}dialog::backdrop{background:#142e2370}.close{float:right;background:none;border:0;font-size:26px;cursor:pointer}#choices{display:grid;gap:8px}#choices button{font:inherit;text-align:left;background:#f4f8ef;border:1px solid #bacbb7;border-radius:12px;padding:12px;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #0756a0;outline-offset:4px}#feedback{font-weight:600}
@media(max-width:700px){.layout{grid-template-columns:1fr}.section{display:none}.bar,main{padding:0 16px}.bar{height:54px}.heading{margin:20px 0 14px}.heading h1{font-size:34px}.banner{padding:15px 18px}.legend{justify-content:center}}
