
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;600;700&display=swap');
:root{
  --green:#16a34a;
  --green-600:#12833d;
  --mint:#e9f8ef;
  --teal:#2ea98a;
  --gold:#e5c662;
  --gold-700:#b9922d;
  --text:#253238;
  --card:#ffffffcc;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Noto Sans Thai', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, #fff 0, #f6fff9 35%, #eefbf4 60%, #e6f7ef 100%),
    linear-gradient(180deg, #ffffff 0%, #f9fff7 100%);
}
.container{max-width:980px;margin:18px auto 28px;padding:12px}

.header{text-align:center;margin-bottom:8px}
.logo-wrap{
  width:140px;height:140px;margin:0 auto;
  display:flex;align-items:center;justify-content:center;
  background:none;border:none;box-shadow:none;
}
.logo-wrap img{width:100%;height:100%;object-fit:contain}
.title{margin-top:10px;line-height:1.35}
.title .t1{font-weight:700;font-size:1.5rem;color:var(--green-600)}
.title .t2{font-weight:600;font-size:1.05rem;color:var(--gold-700)}
.date{margin-top:6px;font-size:.95rem;color:#537264}

.section-title{
  margin:20px auto 10px;
  width:max-content;
  background:linear-gradient(180deg,#fffdf0,#fff1b8);
  border:1.5px solid var(--gold);
  color:#6b560a;
  font-weight:700;
  padding:6px 14px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(203,162,53,.18);
}

.grid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:6px}
.card{
  background: var(--card);
  border: 1.5px solid var(--gold);
  border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: 0 10px 30px rgba(17,110,55,.08);
  backdrop-filter: blur(2px);
}
.card h2{margin:0 0 8px 0;font-size:1.1rem;color:var(--green-600)}

.btn{appearance:none;border:0;cursor:pointer;
  background: linear-gradient(180deg, #fff7cf, #ffe89c);
  border:1.5px solid var(--gold);
  color:#6b560a;font-weight:700;padding:10px 14px;border-radius:12px;width:100%;
  box-shadow:0 6px 18px rgba(203,162,53,.25);
  transition:transform .03s ease, box-shadow .2s ease;
}
.btn:active{transform:translateY(1px) scale(.998)}

.results{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.box{
  background:white;border:1.5px solid #d9efe3;border-radius:12px;padding:10px 14px;
  text-align:center;min-height:44px;display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:1.35rem;color:var(--teal);
  box-shadow:inset 0 0 0 3px #f2fbf6;
}
.big{font-size:1.65rem;border-color:#c9eadb;box-shadow:inset 0 0 0 3px #ecfaf2}
.badge{margin-top:12px;width:82px;height:82px;border-radius:50%;border:2px solid var(--gold);
  display:flex;align-items:center;justify-content:center;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #fff9e1 70%, #ffeaa2 100%);
  color:#6b560a;font-weight:700;font-size:1.35rem;margin-left:auto;margin-right:auto;
}

.limit,.note{text-align:center;font-size:.95rem;color:#537264;margin-top:10px}

.disclaimer{
  margin-top:24px;font-size:.95rem;padding:14px 16px;border-left:4px solid var(--gold);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.75));
  border-radius:12px;color:#415b50
}
.footer-space{height:8px}
