/* The shared navigation and support surfaces use the same warm palette as the site. */
.header.header-glass { background:rgba(250,249,245,.96); border-bottom:1px solid #ddd9d0; box-shadow:none; }
.header.header-glass.is-scrolled { box-shadow:0 4px 18px #26372f0c; }
.header-glass .header-inner { width:min(1220px,calc(100% - 64px)); min-height:76px; gap:22px; }
.header-glass .header-brand { gap:10px; }
.header-glass .header-brand img { width:36px; height:36px; border-radius:6px; }
.header-glass .header-brand>span { font-size:21px; font-weight:750; letter-spacing:-.6px; }
.header-glass .header-nav { gap:4px; }
.header-glass .header-nav>a { padding:10px 13px; font-size:12px; font-weight:600; color:#59635c; border-radius:5px; }
.header-glass .header-nav>a:hover,.header-glass .header-nav>a.active { background:#eeeae1; color:#26372f; }
.header-upgrade { background:#f7f0df; border-color:#e5d7bc; color:#856323; }
.header-share,.header-language-trigger,.header-glass .header-theme { background:#fffdfa; border-color:#e4ded3; }
.header-login { background:#26372f; color:white; }
.header-glass .header-menu-toggle { width:44px; height:44px; min-width:44px; min-height:44px; border-color:#dfd9cd; }
html[data-theme=dark] .header.header-glass { background:rgba(23,28,26,.97); border-color:#3c4640; }
html[data-theme=dark] .header-glass .header-nav>a { color:#bdc8bd; }
html[data-theme=dark] .header-glass .header-nav>a:hover,html[data-theme=dark] .header-glass .header-nav>a.active { background:#303b34; color:#f2eee5; }
html[data-theme=dark] .header-share,html[data-theme=dark] .header-language-trigger,html[data-theme=dark] .header-glass .header-theme { background:#222d27; border-color:#445148; color:#f2eee5; }
html[data-theme=dark] .header-login { background:#e8e2d3; color:#1a2a22; }

/* Clear identity, visible controls and compact support on small screens. */
.zalo-bubble { right:22px; bottom:calc(22px + env(safe-area-inset-bottom,0px)); width:auto; height:54px; padding:5px 16px 5px 5px; display:flex; gap:9px; border:1px solid #ffffffad; border-radius:30px; background:#0869e8; color:#fff; box-shadow:0 8px 24px #004caa35; }
.zalo-mark { display:grid; place-items:center; width:42px; height:42px; flex:none; border-radius:50%; background:#ffffff1f; }
.zalo-bubble-label { font-size:12px; font-weight:700; white-space:nowrap; }
.zalo-bubble:hover { transform:translateY(-2px); box-shadow:0 10px 26px #004caa45; }
.zalo-contact-panel { width:min(335px,calc(100vw - 32px)); border:1px solid #dcd6ca; border-radius:10px; background:#fcfbf8; color:#27322c; box-shadow:0 16px 50px #1a2b2530; padding:20px; }
.zalo-contact-panel>.zalo-panel-heading { display:flex; align-items:center; justify-content:initial; gap:10px; padding-bottom:16px; border-bottom:1px solid #e7e1d7; }
.zalo-panel-mark { display:grid; place-items:center; width:40px; height:40px; flex:none; border-radius:11px; background:#0869e8; color:white; font:700 20px Arial,sans-serif; }
.zalo-panel-heading>span:nth-child(2) { flex:1; min-width:0; }
.zalo-panel-heading strong { display:block; font-size:14px; line-height:1.4; }
.zalo-panel-heading small { display:block; margin-top:2px; color:#6d786f; font-size:11px; }
.zalo-contact-panel>.zalo-panel-heading>button { width:36px; height:36px; flex:none; border:1px solid #e4ded4; border-radius:6px; background:transparent; color:#657168; }
.zalo-contact-panel>p { color:#59675e; }
.zalo-contact-panel>.button { border-radius:5px; }
.zalo-contact-panel>.text-link { color:#a23d32; }
html[data-theme=dark] .zalo-contact-panel { background:#202824; border-color:#435047; color:#f1eee5; }
html[data-theme=dark] .zalo-contact-panel>.zalo-panel-heading { border-color:#3c4640; }
html[data-theme=dark] .zalo-panel-heading small,html[data-theme=dark] .zalo-contact-panel>p { color:#b8c6bb; }
html[data-theme=dark] .zalo-contact-panel>.zalo-panel-heading>button { border-color:#4a584e; color:#e7ece6; }
html[data-theme=dark] .zalo-contact-panel>.text-link { color:#eea398; }

.site-announcement { border-radius:10px; border-color:#ded8cb; box-shadow:0 28px 90px #12241d66; }
.announcement-header { padding:21px 28px; }
.announcement-brand img { border-radius:6px; }
.announcement-brand small { letter-spacing:.09em; }
.announcement-kicker { letter-spacing:.08em; }
.announcement-content h2 { font-family:'Times New Roman',Times,serif; font-size:35px; line-height:1.15; font-weight:400; letter-spacing:-.025em; }
.announcement-body { line-height:1.85; }
.announcement-actions { gap:12px; }
.announcement-actions .button,.announcement-primary { border-radius:5px; }
@media(max-width:900px) { .header-glass .header-inner { width:calc(100% - 32px); min-height:70px; } }
@media(max-width:640px) {
 .header-glass .header-brand>span { font-size:20px; }
 .zalo-bubble { right:16px; bottom:calc(16px + env(safe-area-inset-bottom,0px)); width:52px; height:52px; padding:4px; justify-content:center; border-radius:50%; }
 .zalo-mark { width:42px; height:42px; }
 .zalo-bubble-label { display:none; }
 .zalo-contact-panel { right:16px; bottom:calc(80px + env(safe-area-inset-bottom,0px)); }
 .announcement-header { padding:16px 20px; }
 .announcement-content h2 { font-size:30px; }
}
@media(prefers-reduced-motion:reduce) { .zalo-bubble { transition:none; } }
.page-index .activity-refresh { display:inline-flex; align-items:center; min-height:44px; color:var(--editorial-red); font-size:11px; font-weight:650; white-space:nowrap; }
.page-index .activity-card-footer .activity-refresh { margin-left:auto; }
.page-index .leaderboard-footer-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
