    /* ==============================================
       DESIGN TOKENS – LIGHT & DARK
    ============================================== */
    :root {
      --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
      --font-serif: 'Merriweather', Georgia, serif;

      --bg-base:        #ffffff;
      --bg-surface:     #f5f5f5;
      --bg-elevated:    #ffffff;
      --bg-hover:       #f0f0f0;
      --bg-tag:         #efefef;

      --text-primary:   #111111;
      --text-secondary: #444444;
      --text-muted:     #777777;
      --text-inverse:   #ffffff;

      --border-base:    #e0e0e0;
      --border-subtle:  #ebebeb;

      --accent:         #d62828;
      --accent-bg:      #fff0f0;
      --accent-hover:   #b31c1c;

      --tag-red-bg:     #fde8e8; --tag-red-text:    #9b1c1c;
      --tag-purple-bg:  #ede9fe; --tag-purple-text:  #4c1d95;
      --tag-blue-bg:    #dbeafe; --tag-blue-text:    #1e40af;
      --tag-amber-bg:   #fef3c7; --tag-amber-text:   #78350f;
      --tag-teal-bg:    #d1fae5; --tag-teal-text:    #064e3b;
      --tag-green-bg:   #dcfce7; --tag-green-text:   #14532d;
      --tag-gray-bg:    #f3f4f6; --tag-gray-text:    #1f2937;

      --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
      --shadow-md:  0 4px 12px rgba(0,0,0,.10);

      --radius-sm:  4px;
      --radius-md:  8px;
      --radius-lg:  12px;

      --header-h:   56px;

      /* ✅ Skeleton shimmer color */
      --skeleton-base:   #e8e8e8;
      --skeleton-shine:  #f5f5f5;
    }

    [data-theme="dark"] {
      --bg-base:        #0f0f0f;
      --bg-surface:     #1a1a1a;
      --bg-elevated:    #1f1f1f;
      --bg-hover:       #262626;
      --bg-tag:         #2a2a2a;

      --text-primary:   #f0f0f0;
      --text-secondary: #c0c0c0;
      --text-muted:     #888888;
      --text-inverse:   #111111;

      --border-base:    #2e2e2e;
      --border-subtle:  #252525;

      --accent:         #f05050;
      --accent-bg:      #2a1010;
      --accent-hover:   #d63030;

      --tag-red-bg:     #2a1212; --tag-red-text:    #fca5a5;
      --tag-purple-bg:  #1e1230; --tag-purple-text:  #c4b5fd;
      --tag-blue-bg:    #0f1f3a; --tag-blue-text:    #93c5fd;
      --tag-amber-bg:   #2a1a06; --tag-amber-text:   #fcd34d;
      --tag-teal-bg:    #0a2018; --tag-teal-text:    #6ee7b7;
      --tag-green-bg:   #0d2015; --tag-green-text:   #86efac;
      --tag-gray-bg:    #222222; --tag-gray-text:    #d1d5db;

      --shadow-sm:  0 1px 3px rgba(0,0,0,.40);
      --shadow-md:  0 4px 12px rgba(0,0,0,.50);

      --skeleton-base:   #2a2a2a;
      --skeleton-shine:  #333333;
    }

    /* ==============================================
       RESET & BASE
    ============================================== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; font-size: 15px; }

    body {
      font-family: var(--font-sans);
      background: var(--bg-surface);
      color: var(--text-primary);
      line-height: 1.6;
      min-height: 100vh;
      transition: background .2s ease, color .2s ease;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; width: 100%; height: 100%; object-fit: cover; }
    button { cursor: pointer; font-family: inherit; border: none; background: none; }

    /* ==============================================
       SCROLLBAR
    ============================================== */
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--border-base); border-radius: 99px; }

    /* ==============================================
       ✅ SKELETON SHIMMER – hiển thị khi ảnh chưa load
    ============================================== */
    @keyframes shimmer {
      0%   { background-position: -400px 0; }
      100% { background-position: 400px 0; }
    }

    .img-wrap {
      position: relative;
      overflow: hidden;
      background: var(--skeleton-base);
    }

    /* Shimmer overlay trước khi ảnh load */
    .img-wrap::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        90deg,
        var(--skeleton-base) 0%,
        var(--skeleton-shine) 50%,
        var(--skeleton-base) 100%
      );
      background-size: 800px 100%;
      animation: shimmer 1.4s ease-in-out infinite;
      z-index: 1;
      transition: opacity .3s ease;
    }

    /* ✅ Ẩn shimmer sau khi ảnh đã load xong */
    .img-wrap.loaded::before { opacity: 0; pointer-events: none; }

    /* ✅ Blur-up effect: bắt đầu mờ → rõ dần */
    .img-wrap img {
      position: relative;
      z-index: 2;
      transition: filter .4s ease, opacity .4s ease, transform .35s ease;
      filter: blur(6px);
      opacity: 0;
      will-change: filter, opacity;
    }

    .img-wrap.loaded img {
      filter: blur(0);
      opacity: 1;
    }

    /* ==============================================
       HEADER
    ============================================== */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      height: var(--header-h);
      background: var(--bg-base);
      border-bottom: 1px solid var(--border-base);
      display: flex;
      align-items: center;
    }

    .header__inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      width: 100%;
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .logo__mark {
      width: 32px;
      height: 32px;
      background: var(--accent);
      color: #fff;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 16px;
      letter-spacing: -.5px;
    }

    .logo__text {
      font-size: 17px;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -.3px;
    }

    .logo__text span { color: var(--accent); }

    .header__nav {
      display: flex;
      align-items: center;
      gap: 2px;
    }

    .header__nav a {
      font-size: 13px;
      font-weight: 500;
      color: var(--text-secondary);
      padding: 5px 10px;
      border-radius: var(--radius-sm);
      transition: background .15s, color .15s;
      white-space: nowrap;
    }

    .header__nav a:hover { background: var(--bg-hover); color: var(--text-primary); }
    .header__nav a.active { color: var(--accent); background: var(--accent-bg); }

    .header__search {
      flex: 1;
      max-width: 320px;
      position: relative;
      margin-left: auto;
    }

    .header__search input {
      width: 100%;
      height: 34px;
      background: var(--bg-surface);
      border: 1px solid var(--border-base);
      border-radius: var(--radius-md);
      padding: 0 12px 0 34px;
      font-size: 13px;
      color: var(--text-primary);
      outline: none;
      transition: border-color .15s, background .15s;
    }

    .header__search input::placeholder { color: var(--text-muted); }
    .header__search input:focus { border-color: var(--accent); background: var(--bg-base); }

    .header__search svg {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 15px;
      height: 15px;
      color: var(--text-muted);
      pointer-events: none;
    }

    .theme-btn {
      width: 34px;
      height: 34px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      background: var(--bg-surface);
      border: 1px solid var(--border-base);
      flex-shrink: 0;
      transition: background .15s, color .15s;
    }

    .theme-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
    .theme-btn svg { width: 16px; height: 16px; }

    /* ==============================================
       TICKER
    ============================================== */
    .ticker {
      background: var(--accent);
      color: #fff;
      display: flex;
      align-items: center;
      height: 36px;
      overflow: hidden;
    }

    .ticker__label {
      padding: 0 14px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      white-space: nowrap;
      background: rgba(0,0,0,.15);
      height: 100%;
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    .ticker__track { flex: 1; overflow: hidden; }

    .ticker__items {
      display: flex;
      align-items: center;
      gap: 0;
      /* ✅ dùng CSS custom property để dễ tune tốc độ theo số lượng item */
      animation: tickerScroll var(--ticker-duration, 40s) linear infinite;
      white-space: nowrap;
      /* ✅ GPU composite layer riêng để ticker không block main thread */
      will-change: transform;
      transform: translateZ(0);
    }

    .ticker__items:hover { animation-play-state: paused; }

    .ticker__item {
      font-size: 12px;
      font-weight: 500;
      color: rgba(255,255,255,.92);
      padding: 0 28px;
      border-right: 1px solid rgba(255,255,255,.2);
      transition: color .15s;
      display: inline-flex;
      align-items: center;
    }

    .ticker__item:hover { color: #fff; }
    .ticker__item::before { content: '▸'; margin-right: 7px; font-size: 9px; opacity: .7; }

    @keyframes tickerScroll {
      0%   { transform: translate3d(0, 0, 0); }
      100% { transform: translate3d(-50%, 0, 0); }
    }

    /* ==============================================
       CATEGORY BAR
    ============================================== */
    .cat-bar {
      background: var(--bg-base);
      border-bottom: 1px solid var(--border-base);
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .cat-bar::-webkit-scrollbar { display: none; }

    .cat-bar__inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      align-items: center;
      gap: 2px;
      height: 44px;
    }

    .cat-btn {
      font-size: 12.5px;
      font-weight: 500;
      color: var(--text-secondary);
      padding: 5px 12px;
      border-radius: var(--radius-sm);
      white-space: nowrap;
      transition: background .15s, color .15s;
      letter-spacing: .01em;
    }

    .cat-btn:hover { background: var(--bg-hover); color: var(--text-primary); }
    .cat-btn.active { background: var(--accent); color: #fff; }

    /* ==============================================
       LAYOUT
    ============================================== */
    .page {
      max-width: 1200px;
      margin: 0 auto;
      padding: 24px 20px 48px;
    }

    .grid-layout {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 28px;
      align-items: start;
    }

    /* ==============================================
       SECTION LABEL
    ============================================== */
    .section-label {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }

    .section-label__line {
      width: 3px;
      height: 18px;
      background: var(--accent);
      border-radius: 2px;
      flex-shrink: 0;
    }

    .section-label__text {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-primary);
      text-transform: uppercase;
      letter-spacing: .07em;
    }

    .section-label__count {
      font-size: 11px;
      color: var(--text-muted);
      margin-left: auto;
    }

    /* ==============================================
       HERO CARD
    ============================================== */
    .hero-card {
      display: block;
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      aspect-ratio: 16 / 7;
      margin-bottom: 24px;
      background: var(--bg-surface);
      box-shadow: var(--shadow-md);
    }

    /* ✅ Hero img-wrap chiếm toàn bộ */
    .hero-card .img-wrap {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border-radius: 0;
    }

    .hero-card .img-wrap img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .4s ease, filter .4s ease, opacity .4s ease;
    }

    .hero-card:hover .img-wrap.loaded img { transform: scale(1.03); }

    .hero-card__overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.05) 100%);
      z-index: 3;
    }

    .hero-card__body {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 24px 28px;
      z-index: 4;
    }

    .hero-card__meta {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
    }

    .hero-card__title {
      font-family: var(--font-serif);
      font-size: 22px;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.35;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .hero-card__desc {
      font-size: 13px;
      color: rgba(255,255,255,.78);
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .hero-card__foot {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: 10px;
    }

    .hero-card__time { font-size: 11.5px; color: rgba(255,255,255,.65); }

    /* ==============================================
       SECONDARY GRID (3 cards)
    ============================================== */
    .secondary-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 28px;
    }

    .sec-card {
      display: block;
      background: var(--bg-elevated);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: box-shadow .2s, transform .2s;
    }

    .sec-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }

    .sec-card__thumb {
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: var(--bg-surface);
    }

    /* ✅ sec-card img-wrap */
    .sec-card__thumb .img-wrap {
      width: 100%;
      height: 100%;
      border-radius: 0;
    }

    .sec-card:hover .sec-card__thumb .img-wrap.loaded img { transform: scale(1.05); }

    .sec-card__body { padding: 12px 14px 14px; }

    .sec-card__title {
      font-size: 13.5px;
      font-weight: 600;
      color: var(--text-primary);
      line-height: 1.4;
      margin: 7px 0 8px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .sec-card:hover .sec-card__title { color: var(--accent); }

    .sec-card__foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .sec-card__time { font-size: 11px; color: var(--text-muted); }

    .sec-card__views {
      font-size: 11px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 3px;
    }

    .sec-card__views svg { width: 12px; height: 12px; }

    /* ==============================================
       TAG / BADGE
    ============================================== */
    .tag {
      display: inline-flex;
      align-items: center;
      font-size: 10.5px;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: var(--radius-sm);
      letter-spacing: .02em;
      white-space: nowrap;
    }

    .tag--white { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); }
    .tag--new { background: #16a34a; color: #fff; }

    .tag--red    { background: var(--tag-red-bg);    color: var(--tag-red-text);    }
    .tag--purple { background: var(--tag-purple-bg); color: var(--tag-purple-text); }
    .tag--blue   { background: var(--tag-blue-bg);   color: var(--tag-blue-text);   }
    .tag--amber  { background: var(--tag-amber-bg);  color: var(--tag-amber-text);  }
    .tag--teal   { background: var(--tag-teal-bg);   color: var(--tag-teal-text);   }
    .tag--green  { background: var(--tag-green-bg);  color: var(--tag-green-text);  }
    .tag--gray   { background: var(--tag-gray-bg);   color: var(--tag-gray-text);   }

    /* ==============================================
       NEWS LIST (horizontal rows)
    ============================================== */
    .news-list { display: flex; flex-direction: column; gap: 1px; }

    .news-row {
      display: flex;
      gap: 14px;
      background: var(--bg-elevated);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 14px;
      margin-bottom: 8px;
      transition: box-shadow .18s, border-color .18s;
      /* ✅ contain layout để tránh reflow khi nhiều item */
      contain: layout style;
    }

    .news-row:hover { box-shadow: var(--shadow-sm); border-color: var(--border-base); }

    .news-row__thumb {
      width: 110px;
      height: 76px;
      border-radius: var(--radius-sm);
      overflow: hidden;
      flex-shrink: 0;
      background: var(--bg-surface);
    }

    /* ✅ news-row img-wrap */
    .news-row__thumb .img-wrap {
      width: 100%;
      height: 100%;
      border-radius: 0;
    }

    .news-row:hover .news-row__thumb .img-wrap.loaded img { transform: scale(1.06); }

    .news-row__body {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .news-row__top {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 5px;
    }

    .news-row__title {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      transition: color .15s;
    }

    .news-row:hover .news-row__title { color: var(--accent); }

    .news-row__desc {
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.45;
      margin-top: 4px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .news-row__foot {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 8px;
    }

    .news-row__meta {
      font-size: 11px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .news-row__meta svg { width: 11px; height: 11px; }

    /* ==============================================
       ✅ LAZY REVEAL – news-row fade in từ dưới lên
       (chỉ hiệu ứng cho item ngoài viewport, item
        trong viewport render ngay, tránh CLS)
    ============================================== */
    .news-row[data-reveal="pending"] {
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .28s ease, transform .28s ease;
    }

    .news-row[data-reveal="done"] {
      opacity: 1;
      transform: translateY(0);
    }

    /* ==============================================
       HOT DOT
    ============================================== */
    .hot-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
      animation: pulse 1.5s ease-in-out infinite;
      flex-shrink: 0;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: .4; transform: scale(.7); }
    }

    /* ==============================================
       SIDEBAR
    ============================================== */
    .sidebar { display: flex; flex-direction: column; gap: 16px; }

    .sidebar-card {
      background: var(--bg-elevated);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .sidebar-card__head {
      padding: 12px 16px 10px;
      font-size: 12px;
      font-weight: 700;
      color: var(--text-primary);
      text-transform: uppercase;
      letter-spacing: .07em;
      border-bottom: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .sidebar-card__head svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

    .sidebar-card__body { padding: 12px 0; }

    /* STATS */
    .stats-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1px;
      background: var(--border-subtle);
    }

    .stat-cell {
      background: var(--bg-elevated);
      padding: 14px 16px;
      text-align: center;
    }

    .stat-cell__num {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1;
      margin-bottom: 4px;
    }

    .stat-cell__label {
      font-size: 11px;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* TRENDING LIST */
    .trend-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 10px 16px;
      transition: background .15s;
    }

    .trend-item:hover { background: var(--bg-hover); }

    .trend-item__num {
      font-size: 17px;
      font-weight: 800;
      color: var(--border-base);
      line-height: 1.1;
      min-width: 22px;
      flex-shrink: 0;
    }

    .trend-item:nth-child(-n+3) .trend-item__num { color: var(--accent); }

    .trend-item__title {
      font-size: 12.5px;
      font-weight: 500;
      color: var(--text-primary);
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .trend-item:hover .trend-item__title { color: var(--accent); }

    .trend-item__meta {
      font-size: 10.5px;
      color: var(--text-muted);
      margin-top: 3px;
    }

    /* SOURCE FILTER */
    .source-item {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 8px 16px;
      cursor: pointer;
      transition: background .15s;
    }

    .source-item:hover { background: var(--bg-hover); }

    .source-item__dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .source-item__name {
      font-size: 12.5px;
      color: var(--text-secondary);
      flex: 1;
    }

    .source-item__count {
      font-size: 11px;
      color: var(--text-muted);
      background: var(--bg-tag);
      padding: 1px 7px;
      border-radius: 99px;
    }

    /* LATEST MINI */
    .latest-item {
      display: flex;
      gap: 10px;
      padding: 9px 16px;
      align-items: flex-start;
      transition: background .15s;
    }

    .latest-item:hover { background: var(--bg-hover); }

    .latest-item__img {
      width: 50px;
      height: 36px;
      border-radius: var(--radius-sm);
      overflow: hidden;
      flex-shrink: 0;
      background: var(--bg-surface);
    }

    /* ✅ sidebar latest img-wrap */
    .latest-item__img .img-wrap {
      width: 100%;
      height: 100%;
      border-radius: 0;
    }

    .latest-item__title {
      font-size: 12px;
      font-weight: 500;
      color: var(--text-primary);
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .latest-item:hover .latest-item__title { color: var(--accent); }

    .latest-item__time { font-size: 10.5px; color: var(--text-muted); margin-top: 3px; }

    /* DIVIDER */
    .sidebar-divider { height: 1px; background: var(--border-subtle); margin: 0 16px; }

    /* ==============================================
       EMPTY STATE
    ============================================== */
    .empty-state {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 80px 20px;
      text-align: center;
    }

    .empty-state__icon { font-size: 48px; margin-bottom: 16px; opacity: .5; }

    .empty-state__title {
      font-size: 18px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 8px;
    }

    .empty-state__desc { font-size: 14px; color: var(--text-muted); }
    .empty-state__desc a { color: var(--accent); }

    /* ==============================================
       FOOTER
    ============================================== */
    .site-footer {
      background: var(--bg-base);
      border-top: 1px solid var(--border-base);
      padding: 20px;
      text-align: center;
      font-size: 12px;
      color: var(--text-muted);
    }

    .site-footer a { color: var(--text-secondary); }
    .site-footer a:hover { color: var(--accent); }

    /* ==============================================
       SCROLL TO TOP
    ============================================== */
    .scroll-top {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 38px;
      height: 38px;
      background: var(--accent);
      color: #fff;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s, transform .2s;
      z-index: 200;
      box-shadow: var(--shadow-md);
    }

    .scroll-top.visible { opacity: 1; pointer-events: auto; }
    .scroll-top:hover { transform: translateY(-2px); }
    .scroll-top svg { width: 16px; height: 16px; }

    /* ==============================================
       NO RESULTS
    ============================================== */
    .no-results {
      text-align: center;
      padding: 40px;
      color: var(--text-muted);
      font-size: 13px;
      display: none;
    }

    /* ==============================================
       ✅ LOADING INDICATOR – khi đang filter/search
    ============================================== */
    .list-loading {
      display: none;
      text-align: center;
      padding: 20px;
      color: var(--text-muted);
      font-size: 12px;
    }

    .list-loading.active { display: block; }

    .list-loading::after {
      content: '';
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid var(--border-base);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin .7s linear infinite;
      vertical-align: middle;
      margin-left: 8px;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    /* ==============================================
       RESPONSIVE – TABLET
    ============================================== */
    @media (max-width: 1024px) {
      .grid-layout { grid-template-columns: 1fr; }
      .sidebar { order: -1; }
      .stats-row { grid-template-columns: repeat(4, 1fr); }
      .sidebar-card--trending { display: none; }
    }

    @media (max-width: 768px) {
      .header__nav { display: none; }
      .hero-card { aspect-ratio: 16 / 9; }
      .hero-card__title { font-size: 17px; }
      .secondary-grid { grid-template-columns: 1fr 1fr; }
      .secondary-grid .sec-card:nth-child(3) { display: none; }
      .news-row__desc { display: none; }
      .news-row__thumb { width: 88px; height: 62px; }
    }

    @media (max-width: 480px) {
      .page { padding: 16px 12px 40px; }
      .secondary-grid { grid-template-columns: 1fr; }
      .secondary-grid .sec-card:nth-child(n+2) { display: none; }
      .hero-card__body { padding: 16px; }
      .hero-card__title { font-size: 15px; }
      .stats-row { grid-template-columns: repeat(2, 1fr); }
      .header__search { max-width: 160px; }
    }

    /* ==============================================
       REDUCED MOTION – tắt toàn bộ animation
    ============================================== */
    @media (prefers-reduced-motion: reduce) {
      .ticker__items { animation: none; }
      .hot-dot { animation: none; }
      .img-wrap img { transition: none; filter: none; opacity: 1; }
      .img-wrap::before { animation: none; display: none; }
      .news-row[data-reveal="pending"] { opacity: 1; transform: none; }
      * { transition-duration: .01ms !important; }
    }