:root { --bg: #f6f4ef; --ink: #161616; --muted: #77736b; --line: #e2ded5; --card: #fff; --acc: #161616; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: Anuphan, system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
.muted { color: var(--muted); }
.offline::after { content: 'กำลังต่อใหม่…'; position: fixed; top: 0; left: 0; right: 0; background: #161616; color: #fff; text-align: center; padding: 6px; font-size: .9rem; z-index: 99; }
.btn { border: 0; background: var(--ink); color: #fff; border-radius: 14px; padding: .85em 1.3em; font-weight: 600; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.overlay { position: fixed; inset: 0; display: grid; place-items: center; background: var(--ink); color: #fff; z-index: 50; text-align: center; animation: pop .25s; }
.overlay b { display: block; font-size: clamp(3rem, 14vw, 9rem); line-height: 1.05; }
.overlay img { width: min(50vw, 36vh); border-radius: 50%; background: var(--bg); margin-bottom: 1rem; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
