@font-face { font-family: Anuphan; src: url(/Anuphan-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Anuphan; src: url(/Anuphan-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Anuphan; src: url(/Anuphan-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Anuphan, system-ui, sans-serif; font-weight: 500; color: #3A3850; line-height: 1.7;
  background: linear-gradient(180deg, #A8D8F0 0, #C5E6F5 260px, #FFF7EC 520px) no-repeat, #FFF7EC; -webkit-font-smoothing: antialiased; }
header { display: flex; justify-content: space-between; align-items: center; padding: max(14px, env(safe-area-inset-top)) 16px 0; max-width: 760px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: #57281A; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 2px 6px rgba(96,52,32,.18); }
.langs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: 0 1px 3px rgba(58,56,80,.12); }
.langs button { font: inherit; font-weight: 600; font-size: 13px; color: #6B6680; border: 0; background: none; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: #fff; color: #3A3850; box-shadow: 0 1px 2px rgba(58,56,80,.15); }
main { max-width: 760px; margin: 20px auto 0; padding: 0 16px; }
article { background: #FFFCF9; border-radius: 22px; padding: 26px 22px 18px; box-shadow: 0 2px 0 #F2D6C6, 0 12px 28px rgba(96,52,32,.10); margin-bottom: 18px; }
h1 { font-weight: 700; font-size: clamp(24px, 6vw, 32px); color: #57281A; margin: 0 0 4px; line-height: 1.3; }
h2 { font-weight: 700; font-size: 18px; color: #57281A; margin: 22px 0 4px; }
p { margin: 0 0 10px; }
.updated { color: #8A7468; font-size: 14px; margin-bottom: 14px; }
a { color: #A04A26; }
footer { max-width: 760px; margin: 0 auto; padding: 8px 16px max(24px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; }
footer a { font-weight: 600; font-size: 14px; color: #57281A; text-decoration: none; background: #FFFCF9; border-radius: 999px; padding: 7px 14px; box-shadow: 0 2px 0 #F2D6C6; }
footer a[aria-current="page"] { background: #FFDBC7; box-shadow: 0 2px 0 #EB966F; }
html[data-show="en"] [lang="th"]:not(html), html[data-show="th"] [lang="en"]:not(html) { display: none; }
