/* ==========================================================================
   account.css — Khu tài khoản (/tai-khoan/*), thông báo (chuông + /thong-bao),
   tin nhắn (/tin-nhan), thẻ thông tin thành viên (#view-profile .upc), đăng xuất.
   Dùng token --ah-* của modern.css. Nạp sau modern.css / mobile.css (header.php).
   ========================================================================== */

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── Khung trang ────────────────────────────────────────────────────────── */
.acc-page--narrow { max-width: 640px; }
.acc-page__title {
  font-size: 20px; font-weight: 800; margin: 0 0 14px; color: var(--ah-text);
  letter-spacing: -.2px;
}
/* Tab tài khoản: cuộn ngang trên điện thoại thay vì xuống 3 dòng */
.acc-tabs { scrollbar-width: none; }
.acc-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
  .acc-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 10px; margin-bottom: 16px; }
  .acc-tab { flex: 0 0 auto; padding: 7px 12px; }
}
.acc-tab:focus-visible, .acc-btn:focus-visible, .acc-chip:focus-visible,
.noti-act:focus-visible, .noti-item__link:focus-visible, .noti-tab:focus-visible {
  outline: 2px solid var(--ah-accent); outline-offset: 2px;
}

.acc-section { display: flex; flex-direction: column; gap: 16px; }
.acc-h2 {
  display: flex; align-items: center; gap: 8px; margin: 4px 0 0;
  font-size: 16px; font-weight: 700; color: var(--ah-text);
}
.acc-h2 .material-icons-round { font-size: 20px; color: var(--ah-accent); }
.acc-note { font-size: 12.5px; line-height: 1.6; color: var(--ah-text-muted); margin: 0; }
.acc-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px;
  font-size: 13px; color: var(--ah-text-muted); text-decoration: none;
}
.acc-back:hover { color: var(--ah-text); }
.acc-back .material-icons-round { font-size: 18px; }

/* ── Thẻ ───────────────────────────────────────────────────────────────── */
.acc-card {
  background: var(--ah-surface); border: 1px solid var(--ah-border);
  border-radius: var(--ah-radius); padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.acc-card__head { display: flex; align-items: flex-start; gap: 12px; }
.acc-card__icon {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ah-accent-soft); color: var(--ah-accent); font-size: 20px;
}
.acc-card__title { font-size: 15px; font-weight: 700; margin: 0; color: var(--ah-text); }
.acc-card__sub { font-size: 12.5px; color: var(--ah-text-muted); margin: 3px 0 0; line-height: 1.55; }
.acc-card__sub a, .acc-field__hint a, .acc-note a { color: var(--ah-accent); }
.acc-card__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.acc-card__actions form { margin: 0; }
.acc-card__actions--center { justify-content: center; }

/* ── Nút ───────────────────────────────────────────────────────────────── */
.acc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 8px 16px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: background var(--ah-fast), border-color var(--ah-fast), opacity var(--ah-fast);
}
.acc-btn .material-icons-round { font-size: 18px; }
.acc-btn--primary { background: var(--ah-accent); color: #fff; }
.acc-btn--primary:hover { opacity: .9; color: #fff; }
.acc-btn--ghost { background: transparent; color: var(--ah-text); border-color: var(--ah-border); }
.acc-btn--ghost:hover { background: var(--ah-surface-2); color: var(--ah-text); }
.acc-btn--danger { background: rgba(239, 68, 68, .12); color: #ef4444; border-color: rgba(239, 68, 68, .35); }
.acc-btn--danger:hover { background: rgba(239, 68, 68, .2); color: #ef4444; }
.acc-btn[disabled] { opacity: .55; cursor: not-allowed; }

.acc-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ah-text-muted); text-decoration: none;
  background: var(--ah-surface-2); border: 1px solid var(--ah-border);
}
.acc-chip:hover { color: var(--ah-text); border-color: var(--ah-accent); }
.acc-chip .material-icons-round { font-size: 15px; }
.acc-quicklinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* ── Form ──────────────────────────────────────────────────────────────── */
.acc-form { display: flex; flex-direction: column; gap: 14px; }
.acc-field { display: flex; flex-direction: column; gap: 6px; }
.acc-field__label { font-size: 13px; font-weight: 600; color: var(--ah-text); }
.acc-field__hint { font-size: 12px; color: var(--ah-text-dim); line-height: 1.5; }
.acc-input {
  width: 100%; min-height: 42px; padding: 9px 12px; border-radius: 10px;
  background: var(--ah-bg); color: var(--ah-text); border: 1px solid var(--ah-border);
  font: inherit; font-size: 14px; outline: none; box-sizing: border-box;
}
.acc-input:focus { border-color: var(--ah-accent); box-shadow: 0 0 0 3px var(--ah-accent-soft); }
.acc-inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 10px; background: var(--ah-surface-2); border: 1px solid var(--ah-border); }
.acc-inline__val { font-size: 13.5px; color: var(--ah-text-muted); word-break: break-all; }
.acc-inline__link { font-size: 13px; font-weight: 600; color: var(--ah-accent); text-decoration: none; }

/* Công tắc bật / tắt (checkbox thật, giao diện switch) */
.acc-switch {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  background: var(--ah-surface-2); border: 1px solid var(--ah-border); cursor: pointer;
}
.acc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.acc-switch__ui {
  position: relative; flex: 0 0 40px; width: 40px; height: 22px; border-radius: 999px;
  background: var(--ah-border); transition: background var(--ah-fast);
}
.acc-switch__ui::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; transition: transform var(--ah-fast);
}
.acc-switch input:checked + .acc-switch__ui { background: var(--ah-accent); }
.acc-switch input:checked + .acc-switch__ui::after { transform: translateX(18px); }
.acc-switch input:focus-visible + .acc-switch__ui { outline: 2px solid var(--ah-accent); outline-offset: 2px; }
.acc-switch__icon { font-size: 20px; color: var(--ah-text-muted); }
.acc-switch__text { font-size: 13.5px; color: var(--ah-text); line-height: 1.4; }

/* ── Thông báo kết quả ─────────────────────────────────────────────────── */
.acc-alerts { display: flex; flex-direction: column; gap: 8px; }
.acc-alert {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px;
  font-size: 13px; line-height: 1.5; border: 1px solid transparent;
}
.acc-alert .material-icons-round { font-size: 18px; flex-shrink: 0; }
.acc-alert--success { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .3); color: #22c55e; }
.acc-alert--error { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .3); color: #ef4444; }

/* ── Trạng thái rỗng ───────────────────────────────────────────────────── */
.acc-empty { align-items: center; text-align: center; padding: 32px 20px; }
.acc-empty__icon { font-size: 44px; color: var(--ah-text-dim); }
.acc-empty__title { font-size: 18px; font-weight: 700; margin: 0; color: var(--ah-text); }
.acc-empty__desc { font-size: 13.5px; color: var(--ah-text-muted); margin: 0; line-height: 1.6; max-width: 440px; }

/* ── Số dư ─────────────────────────────────────────────────────────────── */
.acc-balance {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 16px 18px;
  background: var(--ah-surface); border: 1px solid var(--ah-border); border-radius: var(--ah-radius);
}
.acc-balance__item { display: flex; align-items: center; gap: 10px; }
.acc-balance__icon { font-size: 26px; line-height: 1; }
.acc-balance__val { font-size: 18px; font-weight: 800; color: var(--ah-text); }
.acc-balance__label { font-size: 12px; color: var(--ah-text-muted); }
.acc-balance__cta { margin-left: auto; }
@media (max-width: 480px) { .acc-balance__cta { margin-left: 0; width: 100%; } }

/* ── Cách kiếm xu ──────────────────────────────────────────────────────── */
.acc-earn { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.acc-earn__item {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: var(--ah-surface); border: 1px solid var(--ah-border); border-radius: var(--ah-radius);
}
.acc-earn__icon {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(245, 166, 35, .12); color: #f5a623;
}
.acc-earn__body { flex: 1; min-width: 0; }
.acc-earn__title { font-size: 14px; font-weight: 700; color: var(--ah-text); }
.acc-earn__desc { font-size: 12.5px; color: var(--ah-text-muted); margin-top: 2px; line-height: 1.5; }
.acc-earn__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.acc-earn__gift { font-size: 13px; font-weight: 800; color: #22c55e; white-space: nowrap; }
.acc-earn__cta { font-size: 12px; font-weight: 600; color: var(--ah-accent); text-decoration: none; white-space: nowrap; }
@media (max-width: 420px) {
  .acc-earn__item { flex-wrap: wrap; }
  .acc-earn__side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}

/* ── Phân trang đơn giản ───────────────────────────────────────────────── */
.acc-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.acc-pager__btn {
  display: inline-flex; align-items: center; gap: 2px; min-height: 36px; padding: 6px 12px; border-radius: 9px;
  border: 1px solid var(--ah-border); color: var(--ah-text); text-decoration: none; font-size: 13px; font-weight: 600;
}
.acc-pager__btn:hover { border-color: var(--ah-accent); color: var(--ah-accent); }
.acc-pager__btn .material-icons-round { font-size: 18px; }
.acc-pager__info { font-size: 13px; color: var(--ah-text-muted); }

/* ── Lịch sử giao dịch (bổ sung cho ht-* của modern.css) ───────────────── */
.ht-list { list-style: none; margin: 0; padding: 0; }
.ht-tabs { overflow-x: auto; scrollbar-width: none; }
.ht-tabs::-webkit-scrollbar { display: none; }
a.ht-tab { text-decoration: none; flex: 0 0 auto; }
.ht-item__user { color: var(--ah-accent); text-decoration: none; font-weight: 600; }
.ht-item__fee { font-size: 10.5px; color: var(--ah-text-dim); font-weight: 500; }
.ht-item__hint { color: var(--ah-text-dim); cursor: help; margin-left: 2px; }
.ht-item__msg { font-size: 12px; color: var(--ah-text-muted); margin-top: 4px; font-style: italic; word-break: break-word; }
.ht-empty__sub { font-size: 12px; color: var(--ah-text-dim); margin-top: -4px; }

/* ── Menu avatar: nút Đăng xuất là <button> trong form POST ────────────── */
.dd2-footer form { margin: 0; }
.dd2-footer button.dd2-logout {
  width: 100%; background: none; border: 0; font: inherit; cursor: pointer; text-align: left;
}

/* ==========================================================================
   Thông báo: mục có nút thao tác (✓ đã đọc, ✕ xoá)
   .noti-item giờ là <div> bọc link + nhóm nút (không lồng nút trong <a>)
   ========================================================================== */
.noti-panel__tools { display: inline-flex; align-items: center; gap: 4px; }
.noti-settings-link {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 8px; color: var(--ah-text-muted); text-decoration: none;
}
.noti-settings-link:hover { background: var(--ah-surface-2); color: var(--ah-text); }
.noti-settings-link .material-icons-round { font-size: 18px; }
.noti-page__tools { display: flex; flex-wrap: wrap; gap: 6px; }
.noti-page__tools a.noti-mark-all { text-decoration: none; }

.noti-item { padding: 0 !important; gap: 0 !important; align-items: stretch !important; cursor: default; }
.noti-item__link {
  flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 4px 11px 14px; color: inherit !important; text-decoration: none !important;
}
.noti-item__avatar, .noti-item__body, .noti-item__icon { display: block; }
.noti-item__icon { display: flex; }
.noti-item__title, .noti-item__content { display: block; }
.noti-item__title { display: -webkit-box; }
.noti-item__actions {
  flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 6px 8px 6px 0;
  opacity: .45; transition: opacity var(--ah-fast);
}
.noti-item:hover .noti-item__actions, .noti-item:focus-within .noti-item__actions { opacity: 1; }
@media (hover: none) { .noti-item__actions { opacity: .85; } }
.noti-act {
  width: 28px; height: 28px; border-radius: 8px; border: 0; background: transparent; color: var(--ah-text-muted);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.noti-act:hover { background: var(--ah-surface-3, var(--ah-surface-2)); color: var(--ah-text); }
.noti-act--read:hover { color: #22c55e; }
.noti-act--del:hover { color: #ef4444; }
.noti-act .material-icons-round { font-size: 17px; }
.noti-item--removing { opacity: 0; transform: translateX(12px); transition: opacity .18s, transform .18s; }
button.noti-load-more-sentinel { width: 100%; background: none; border: 0; font: inherit; color: var(--ah-text-muted); cursor: pointer; }

/* ==========================================================================
   Tin nhắn hệ thống / phần thưởng (/tin-nhan/...)
   ========================================================================== */
.msg-card { gap: 16px; }
.msg-card__head { display: flex; align-items: center; gap: 12px; }
.msg-card__icon {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(245, 166, 35, .14); color: #f5a623;
}
.msg-card__icon--reward { background: rgba(34, 197, 94, .14); color: #22c55e; }
.msg-card__title { margin: 0; font-size: 17px; font-weight: 800; color: var(--ah-text); }
.msg-card__time { font-size: 12px; color: var(--ah-text-dim); }
.msg-card__body {
  font-size: 15px; line-height: 1.75; color: var(--ah-text); word-break: break-word;
  padding: 14px 16px; border-radius: 12px; background: var(--ah-surface-2); border: 1px solid var(--ah-border);
}
.msg-card__body a { color: var(--ah-accent); }

/* ==========================================================================
   Thẻ thông tin nhanh của thành viên (#view-profile, nội dung từ API get_profile)
   ========================================================================== */
.upc { display: flex; flex-direction: column; gap: 12px; padding: 14px; min-width: min(300px, 86vw); }
.upc__head { display: flex; align-items: center; gap: 12px; }
.upc__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ah-border); flex-shrink: 0; }
.upc__id { min-width: 0; }
.upc__name { font-size: 16px; font-weight: 800; color: var(--ah-text); word-break: break-word; }
.upc__vip, .upc__banned {
  display: inline-block; vertical-align: middle; margin-left: 4px; padding: 1px 7px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800;
}
.upc__vip { background: rgba(245, 166, 35, .16); color: #f5a623; }
.upc__banned { background: rgba(239, 68, 68, .14); color: #ef4444; }
.upc__lv { font-size: 12.5px; font-weight: 700; margin-top: 2px; }
.upc__bar { height: 6px; border-radius: 999px; background: var(--ah-surface-2); overflow: hidden; }
.upc__bar span { display: block; height: 100%; border-radius: inherit; }
.upc__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.upc__stats div { padding: 8px 10px; border-radius: 10px; background: var(--ah-surface-2); }
.upc__stats dt { font-size: 11px; color: var(--ah-text-dim); }
.upc__stats dd { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: var(--ah-text); }
.upc__quote { margin: 0; font-size: 13px; font-style: italic; color: var(--ah-text-muted); line-height: 1.55; word-break: break-word; }
.upc__wall {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; border-radius: 10px;
  background: var(--ah-accent); color: #fff !important; text-decoration: none; font-size: 13px; font-weight: 700;
}
.upc__wall:hover { opacity: .9; }
.upc__wall .material-icons-round { font-size: 18px; }

/* ==========================================================================
   Thông báo v3 — huy hiệu loại ở góc ảnh, mục chưa đọc rõ ràng, gộp "N tập mới",
   nhóm theo ngày, menu "Khác ▾" trong chuông, tab trang /thong-bao cuộn ngang
   ========================================================================== */

/* Chuông đang mở: vẫn là chuông, chỉ tô màu (trước đây đổi thành ⊗ đỏ) */
.ah-action-btn.is-open { background: var(--ah-accent-soft, rgba(255,59,92,.12)); color: var(--ah-accent) !important; }

/* "Thông báo · 3 chưa đọc" */
.noti-unread-count { font-size: 12px; font-weight: 600; color: var(--ah-text-muted); margin-left: 2px; white-space: nowrap; }
.noti-page__title .noti-unread-count { font-size: 14px; }

/* Bỏ vòng tròn loại to bên trái (dữ liệu cũ / skeleton vẫn dùng class này) */
.noti-item .noti-item__icon { display: none !important; }

/* Ảnh + huy hiệu loại ở góc */
.noti-item__avatar {
  position: relative; overflow: visible !important; width: 42px !important; height: 42px !important;
  border-radius: 10px; background: transparent !important; flex-shrink: 0;
}
.noti-item__avatar img { border-radius: 10px; width: 42px; height: 42px; object-fit: cover; background: var(--ah-surface-3); }
.noti-item__badge {
  position: absolute; right: -5px; bottom: -5px; width: 19px; height: 19px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--ah-surface);
}
.noti-item__badge .material-icons-round { font-size: 12px; color: #fff; }

/* Chưa đọc: nền sáng hơn + viền trái + tiêu đề đậm; đã đọc: dịu hơn */
.noti-item { position: relative; }
.noti-item--unread { background: rgba(255, 59, 92, .07) !important; }
.noti-item--unread::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--ah-accent);
}
.noti-item--unread:hover { background: rgba(255, 59, 92, .11) !important; }
.noti-item--unread .noti-item__title { color: var(--ah-text) !important; font-weight: 700; }
.noti-item:not(.noti-item--unread) .noti-item__title { font-weight: 600; color: var(--ah-text-muted); }
.noti-item:not(.noti-item--unread) .noti-item__avatar img { opacity: .8; }
.noti-item__dot { align-self: flex-start !important; margin-top: 6px; }

.noti-item__content { color: var(--ah-text-dim); }
.noti-item--unread .noti-item__content { color: var(--ah-text-muted); }
.noti-item--group .noti-item__content { font-weight: 600; }
.noti-item__meta { margin-top: 3px !important; }
.noti-item__time::before { content: none !important; }

/* "▶ Xem tập 712" */
.noti-item__cta {
  display: inline-flex !important; align-items: center; gap: 2px; margin-top: 6px; padding: 3px 10px 3px 6px;
  border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.3;
  color: #fff; background: var(--ah-accent);
}
.noti-item__cta .material-icons-round { font-size: 16px; }
.noti-item__link:hover .noti-item__cta { filter: brightness(1.08); }
.noti-item:not(.noti-item--unread) .noti-item__cta { background: var(--ah-surface-3, rgba(255,255,255,.08)); color: var(--ah-text-muted); }

/* ✓ / ✕: máy tính có chuột → chỉ hiện khi rê chuột / focus; màn cảm ứng → luôn hiện */
@media (hover: hover) and (pointer: fine) {
  .noti-item__actions { opacity: 0 !important; }
  .noti-item:hover .noti-item__actions,
  .noti-item:focus-within .noti-item__actions { opacity: 1 !important; }
}
@media (hover: none), (pointer: coarse) {
  .noti-item__actions { opacity: .9 !important; }
  .noti-act { width: 34px; height: 34px; }
}

/* Tiêu đề nhóm theo ngày */
.noti-day {
  position: sticky; top: 0; z-index: 2;
  padding: 7px 14px 5px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--ah-text-dim); background: var(--ah-surface);
}
.noti-page .noti-day { position: static; padding: 12px 4px 6px; background: transparent; }
.noti-page .noti-day:first-child { padding-top: 0; }

/* ── Dropdown: Tất cả · Chưa đọc · Phim mới · Khác ▾ (menu không bị hàng tab cắt) ── */
#drop-down-3.noti-panel .noti-tabs { overflow: visible !important; flex-wrap: nowrap; }
.noti-more { position: relative; display: inline-flex; margin-left: auto; }
.noti-more__btn { gap: 2px !important; }
.noti-more__btn .material-icons-round { font-size: 16px; transition: transform var(--ah-fast); }
.noti-more__btn[aria-expanded="true"] .material-icons-round { transform: rotate(180deg); }
.noti-more__btn.active { color: var(--ah-accent); border-bottom-color: var(--ah-accent); font-weight: 600; }
.noti-more__menu {
  position: absolute; right: 0; top: calc(100% + 2px); z-index: 5; min-width: 168px;
  display: flex; flex-direction: column; padding: 6px;
  background: var(--ah-surface-2); border: 1px solid var(--ah-border); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
.noti-more__menu[hidden] { display: none; }
.noti-more__item {
  display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px;
  background: transparent; color: var(--ah-text-muted); font: 500 13px/1.3 var(--ah-font); text-align: left; cursor: pointer;
}
.noti-more__item:hover, .noti-more__item:focus-visible { background: var(--ah-surface-3, rgba(255,255,255,.06)); color: var(--ah-text); outline: none; }
.noti-more__item[aria-checked="true"] { color: var(--ah-accent); font-weight: 700; }

/* ── Trang /thong-bao: tab cuộn ngang, mờ mép còn tab bị khuất ── */
.noti-page .noti-tabs { flex-wrap: nowrap !important; overflow-x: auto; scroll-behavior: smooth; }
.noti-page .noti-tab { flex: 0 0 auto; }
.noti-tabs.is-fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.noti-tabs.is-fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.noti-tabs.is-fade-l.is-fade-r {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
}

#drop-down-3 .noti-panel__title { white-space: nowrap; min-width: 0; }
@media (max-width: 480px) {
  .noti-item__avatar, .noti-item__avatar img { width: 38px !important; height: 38px !important; }
  /* "Đọc tất cả" chỉ còn biểu tượng (tên vẫn đọc được: chữ ẩn bằng font-size 0 + title) */
  #drop-down-3 .noti-panel__header .noti-mark-all { font-size: 0; gap: 0; padding: 6px; }
  #drop-down-3 .noti-panel__header .noti-mark-all .material-icons-round { font-size: 18px; }
  .noti-unread-count { font-size: 11px; }
}
