/* member site: mobile first, system fonts with Thai glyphs, no external fonts */
:root { --bg: #f3f4f8; --card: #fff; --ink: #1d2230; --muted: #5b6275; --accent: #e8590c; --accent-ink: #fff;
        --ok: #1b7f3b; --err: #b42318; --line: #d8dbe3; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #12141a; --card: #1c1f27; --ink: #e8eaf0; --muted: #a2a8b8; --line: #2f3442; --ok: #5ccf86; --err: #ff8a7a; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
       font: 16px/1.6 Tahoma, "Leelawadee UI", "Noto Sans Thai", "Sarabun", sans-serif; }
a { color: var(--accent); }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
       padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.brand { font-weight: bold; color: var(--ink); text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 14px; }
.card { max-width: 480px; margin: 20px auto; padding: 20px 16px; background: var(--card);
        border: 1px solid var(--line); border-radius: 10px; }
h1 { font-size: 1.35rem; margin: 0 0 12px; }
label { display: block; margin: 0 0 14px; font-weight: bold; }
label small { font-weight: normal; color: var(--muted); }
input { display: block; width: 100%; margin-top: 4px; padding: 10px; font: inherit; color: var(--ink);
        background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
button, .button { display: inline-block; padding: 10px 18px; font: inherit; font-weight: bold; border: 0; border-radius: 6px;
                  background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; }
.button.alt { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
button.link { padding: 0; background: none; color: var(--accent); font-weight: normal; text-decoration: underline; }
form.inline { display: inline; margin: 0; }
.errors { margin: 0 0 14px; padding: 10px 10px 10px 28px; border: 1px solid var(--err); border-radius: 6px; color: var(--err); }
.err { color: var(--err); }
.ok { color: var(--ok); }
.info, .warn, .small { color: var(--muted); }
.small { font-size: .9rem; }
.actions .button { margin: 0 8px 8px 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 18px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; word-break: break-all; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 0 0 14px; }
.foot { text-align: center; padding: 8px 16px 24px; font-size: .9rem; }
@media (max-width: 360px) { .facts { grid-template-columns: 1fr; } }
