/* BIA Hóng: kiểu chung. Màu chủ đạo vàng bia hơi. */
:root {
  --bg: #faf7f0; --card: #ffffff; --text: #1d1a14; --muted: #6b6457; --line: #e7e0d2;
  --accent: #c7962c; --accent-ink: #5b3f00; --hot: #d9480f; --ok: #2b8a3e; --danger: #c92a2a;
  --radius: 12px; --gap: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14120e; --card: #1f1c16; --text: #f1ece2; --muted: #a39b8b; --line: #332e25; --accent: #e0b04a; --accent-ink: #ffe3a3; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.5; -webkit-text-size-adjust: 100%; }
a { color: inherit; }
main { max-width: 760px; margin: 0 auto; padding: 12px 16px 80px; }
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.in-app .top .brand { display: none; }
.brand { font-weight: 700; text-decoration: none; }
.tabs { display: flex; gap: 4px; flex: 1; }
.tabs a { text-decoration: none; padding: 6px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; }
.tabs a.on { background: var(--accent); color: #fff; }
.me { display: flex; align-items: center; gap: 10px; }
.avatar img, .initials { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; object-fit: cover; }
.bell { position: relative; text-decoration: none; }
.bell span { position: absolute; top: -6px; right: -8px; background: var(--danger); color: #fff; border-radius: 999px; font-size: 10px; padding: 0 5px; }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.small { padding: 4px 10px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: default; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: var(--gap); }
.muted { color: var(--muted); font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; text-decoration: none; white-space: nowrap; }
.chip.hot { border-color: var(--hot); color: var(--hot); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.scroll-x { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
h1 { font-size: 22px; line-height: 1.3; margin: 8px 0 12px; }
h2 { font-size: 18px; margin: 20px 0 10px; }
textarea, input[type=text], select { width: 100%; font: inherit; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
#toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); background: #1d1a14; color: #fff; padding: 10px 16px; border-radius: 999px; opacity: 0; transition: .2s; pointer-events: none; font-size: 14px; max-width: 90vw; }
#toast.show { opacity: .95; transform: translateX(-50%); }
