  /* ---------- Thanh cuộn mỏng, màu theo tab đang mở (--accent đổi theo tab) ---------- */
  * { scrollbar-width: thin; scrollbar-color: var(--accent, #e11d2e) transparent;
  scrollbar-color: color-mix(in srgb, var(--accent) 65%, transparent) transparent; }
  ::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
  ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
  ::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  ::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 60%, transparent); border: 2px solid transparent; border-radius: 99px; background-clip: padding-box; min-height: 36px; min-width: 36px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--accent); border-width: 1px; background-clip: padding-box; }
  ::-webkit-scrollbar-thumb:active { background: var(--accent-hover); border-width: 1px; background-clip: padding-box; }
  /* Chromium mới ưu tiên scrollbar-color nên chỉ dùng nó khi trình duyệt không hiểu ::-webkit-scrollbar (Firefox) */
  @supports selector(::-webkit-scrollbar) { * { scrollbar-width: auto; scrollbar-color: auto; } }
