/* VIDL web khách · lớp bao ngoài khung WebSan. Biến màu ở css/tokens.css (mặc định tối, [data-nen="sang"] là sáng). */
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
input::placeholder { color: rgba(var(--ink-rgb), 0.45); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
img { max-width: 100%; }

/* hai bản dựng trong một tệp: máy tính / điện thoại */
.ban-m { display: none; }
@media (max-width: 760px) { .ban-d { display: none; } .ban-m { display: block; } }

/* logo theo nền; nơi nằm trên video/ảnh luôn bản trắng */
.lg-d { display: none; }
html[data-nen="sang"] .lg:not(.lg-hero) .lg-w { display: none; }
html[data-nen="sang"] .lg:not(.lg-hero) .lg-d { display: block; }

/* nút đổi sáng/tối */
html { --sw-sun-bg: transparent; --sw-sun-ink: rgba(var(--ink-rgb), 0.6); --sw-moon-bg: var(--ink); --sw-moon-ink: var(--bg); }
html[data-nen="sang"] { --sw-sun-bg: var(--ink); --sw-sun-ink: var(--bg); --sw-moon-bg: transparent; --sw-moon-ink: rgba(var(--ink-rgb), 0.6); }

/* khung chờ (đặt, QR): chưa thu tiền thật */
.khung-cho { position: sticky; top: 0; z-index: 20; padding: 10px 18px; background: #FFFBEB; color: #92400E; font-size: 13.5px; line-height: 1.5; text-align: center; border-bottom: 1px solid #F5B83D; }

/* tiếng Việt chồng dấu: dòng chữ lớn không để line-height dưới 1,2 */
h1, h2 { line-height: 1.2 !important; }
