/* =====================================================================
   BỘ SƯU TẬP STICKER & HUY HIỆU (DÙNG CHUNG TOÁN 1–5 & TIẾNG ANH)
   Phạm vi class .bst-* độc lập để không xung đột CSS với bất kỳ trang học nào.
   ===================================================================== */

.bst-nut {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px 0 8px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.9);
  color: #1e3a5f;
  font-family: "Be Vietnam Pro", "Baloo 2", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(15, 42, 82, 0.14), inset 0 1px 0 #ffffff;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, filter 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.bst-nut:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(15, 42, 82, 0.18), inset 0 1px 0 #ffffff;
}

.bst-nut:active {
  transform: translateY(0.5px);
  box-shadow: 0 2px 6px rgba(15, 42, 82, 0.14);
}

.bst-nut.bst-nut-chuc {
  animation: bstNutChuc 0.72s cubic-bezier(0.2, 1.3, 0.35, 1) 2;
}

@keyframes bstNutChuc {
  0%, 100% { transform: scale(1); box-shadow: 0 3px 10px rgba(15, 42, 82, 0.14); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(251, 191, 36, 0.35), 0 8px 22px rgba(245, 158, 11, 0.45); }
}

.bst-nut-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: none;
}

.bst-nut-ic svg {
  width: 20px;
  height: 20px;
  display: block;
}

.bst-nut-chu {
  letter-spacing: 0.05px;
}

.bst-nut-dem {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fef3c7, #fde68a);
  color: #92400e;
  font-size: 11px;
  font-weight: 800;
}

.bst-cham {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
  animation: bstPulse 1.6s infinite;
}

.bst-cham[hidden] {
  display: none !important;
}

@keyframes bstPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Hàng chứa thanh sao + nút Bộ sưu tập gọn gàng trên trang Toán */
.bst-hang-toan {
  max-width: 520px;
  margin: 14px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bst-hang-toan .tong {
  flex: 1 1 200px;
  max-width: 295px;
  min-width: 0;
  margin: 0 !important;
}

.bst-nut-toan {
  height: 34px;
  padding: 0 11px 0 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.98);
  color: #1e3a5f;
}

.bst-nut-toan:hover {
  background: #ffffff;
}

/* Nút kính mờ ánh vàng dịu trên header tối (Tiếng Anh SGK & Luyện nghe) */
.bst-nut-tasgk,
.bst-nut-tanghe {
  height: 36px;
  padding: 0 11px 0 8px;
  font-size: 12.5px;
  background: linear-gradient(135deg, rgba(255, 224, 102, 0.22), rgba(245, 158, 11, 0.14));
  border: 1.5px solid rgba(253, 224, 71, 0.52);
  color: #fef9c3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.bst-nut-tasgk:hover,
.bst-nut-tanghe:hover {
  background: linear-gradient(135deg, rgba(255, 224, 102, 0.34), rgba(245, 158, 11, 0.22));
  border-color: #fde047;
}

.bst-nut-tasgk .bst-nut-dem,
.bst-nut-tanghe .bst-nut-dem {
  background: rgba(254, 240, 138, 0.22);
  color: #fde68a;
}

/* Nút thanh mảnh trên thanh đầu trang Luyện giao tiếp (nền trắng sáng) */
.bst-nut-gt {
  height: 36px;
  padding: 0 11px 0 8px !important;
  width: auto !important;
  font-size: 12.5px;
  background: linear-gradient(180deg, #fffdf5 0%, #fef3c7 100%) !important;
  border: 1.5px solid #fcd34d !important;
  color: #78350f !important;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.1) !important;
}

.bst-nut-gt:hover {
  background: linear-gradient(180deg, #ffffff 0%, #fde68a 100%) !important;
}

.bst-nut-gt .bst-nut-dem {
  background: rgba(255, 255, 255, 0.92);
  color: #92400e;
}

/* Sidebar menu item trong Luyện giao tiếp */
.bst-muc-ben-dem {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 900px) {
  #mnBoSuuTap {
    display: none !important;
  }
}

@media (max-width: 780px) {
  .bst-nut-tasgk .bst-nut-chu,
  .bst-nut-tanghe .bst-nut-chu,
  .bst-nut-gt .bst-nut-chu {
    display: none;
  }

  .bst-nut-tasgk,
  .bst-nut-tanghe,
  .bst-nut-gt {
    height: 34px !important;
    padding: 0 8px 0 6px !important;
    gap: 5px;
    width: auto !important;
  }

  .bst-nut-tasgk .bst-nut-dem,
  .bst-nut-tanghe .bst-nut-dem,
  .bst-nut-gt .bst-nut-dem {
    padding: 2px 6px;
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .bst-hang-toan {
    flex-wrap: wrap;
    gap: 8px;
  }

  .bst-hang-toan .tong {
    flex: 1 1 100%;
    max-width: 320px;
  }

  .bst-nut-toan {
    width: auto;
    height: 34px;
    padding: 0 12px 0 8px;
  }

  /* Giữ header Tiếng Anh SGK & Luyện nghe luôn gọn 1 hàng trên 390px, không cắt nút menu */
  .dau-trong {
    padding: 8px 8px !important;
    gap: 5px !important;
  }

  .ten-app .not {
    display: none !important;
  }

  .ten-app {
    font-size: 14px !important;
    gap: 4px !important;
  }

  .dau-phai {
    gap: 4px !important;
  }

  .bst-nut-tasgk,
  .bst-nut-tanghe {
    height: 34px !important;
    padding: 0 6px !important;
    gap: 4px !important;
  }

  .bst-nut-tasgk .bst-nut-ic,
  .bst-nut-tanghe .bst-nut-ic,
  .bst-nut-tasgk .bst-nut-ic svg,
  .bst-nut-tanghe .bst-nut-ic svg {
    width: 18px;
    height: 18px;
  }

  .bst-nut-tasgk .bst-nut-dem,
  .bst-nut-tanghe .bst-nut-dem {
    padding: 2px 5px;
    font-size: 10.5px;
  }

  .dau-phai .the-nguoi {
    height: 34px !important;
    padding: 0 4px 0 6px !important;
    gap: 4px !important;
  }

  .dau-phai .the-nguoi .vuong {
    font-size: 14px !important;
  }

  .dau-phai .the-nguoi .ten {
    max-width: 52px !important;
    font-size: 11.5px !important;
  }

  .dau-phai .the-nguoi .ngay {
    padding: 3px 5px !important;
    font-size: 10.5px !important;
  }

  .dau-phai .the-nguoi .thu {
    display: none !important;
  }

  .dau-phai .nut-ve {
    display: none !important;
  }

  .dau-phai .nut-am,
  .dau-phai .nut-menu-dt,
  .dau-phai .nut-menu {
    width: 34px !important;
    height: 34px !important;
  }
}

/* =====================================================================
   MODAL BỘ SƯU TẬP STICKER DIE-CUT & TỦ HUY HIỆU HOÀNG GIA
   ===================================================================== */
.bst-lop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.64);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.bst-lop.mo {
  opacity: 1;
  pointer-events: auto;
}

/* Hiệu năng (24/11): lớp phủ đang đóng thì ẩn hẳn, không để lớp kính mờ toàn màn hình nằm ngầm
   (opacity 0 vẫn bị vẽ trên nhiều máy). Đóng: mờ dần xong mới ẩn. Mở: hiện ngay rồi rõ dần. */
.bst-lop:not(.mo) {
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}

.bst-hop {
  position: relative;
  width: 100%;
  max-width: 1080px;
  max-height: 92vh;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, #fff3b0 0%, #fef9e0 34%, #dff4ea 100%);
  color: #1e293b;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.44);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.2, 0.85, 0.35, 1);
}

.bst-lop.mo .bst-hop {
  transform: translateY(0) scale(1);
}

.bst-hop *,
.bst-hop *::before,
.bst-hop *::after {
  box-sizing: border-box;
}

.bst-dau {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 8px;
  flex: none;
}

.bst-hs-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(245, 158, 11, 0.38);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  min-width: 0;
}

.bst-hs-avt {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  font-size: 17px;
  flex: none;
}

.bst-hs-info {
  min-width: 0;
}

.bst-hs-ten {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bst-hs-phu {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

.bst-dong {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-size: 19px;
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s, background 0.15s;
}

.bst-dong:hover {
  background: #ffffff;
  transform: scale(1.06);
}

.bst-than {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 2px 24px 30px;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.35) transparent;
}

/* Tiêu đề chính */
.bst-tieu-de-chinh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px 0 12px;
  font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 800;
  color: #243b53;
  text-align: center;
  line-height: 1.2;
}

.bst-tieu-de-chinh .bst-ic-huy-chuong {
  width: 34px;
  height: 34px;
  flex: none;
}

/* Tab môn */
.bst-tab-mon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 14px;
}

.bst-mon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid rgba(36, 59, 83, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: #334e68;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bst-mon-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.bst-mon-btn.chon {
  background: #243b53;
  color: #ffffff;
  border-color: #243b53;
  box-shadow: 0 4px 12px rgba(36, 59, 83, 0.24);
}

.bst-mon-btn small {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(245, 183, 39, 0.28);
  color: inherit;
  font-size: 11px;
  font-weight: 800;
}

.bst-mon-btn.chon small {
  background: rgba(255, 216, 77, 0.26);
  color: #fde68a;
}

/* Thẻ tiến độ trên cùng */
.bst-the-tien-do {
  max-width: 780px;
  margin: 0 auto 20px;
  padding: 15px 26px 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.bst-tien-do-chu {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #243b53;
  line-height: 1.4;
}

.bst-thanh-ngoai {
  max-width: 440px;
  height: 15px;
  margin: 0 auto;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.08);
}

.bst-thanh-trong {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 48%, #22c55e 100%);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.bst-kpi-nho {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.bst-kpi-chip,
.bst-kpi-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334e68;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
}

.bst-kpi-btn {
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
}

.bst-kpi-btn:hover {
  transform: translateY(-1px);
  background: #e2e8f0;
}

.bst-kpi-btn.vang {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.bst-kpi-btn.vang:hover {
  background: #fde68a;
}
.bst-kpi-btn.dh {
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  color: #1d4ed8;
  border-color: #93c5fd;
}

.bst-kpi-btn.dh:hover {
  background: #bfdbfe;
}

/* ==================== LỘ TRÌNH 5 DANH HIỆU ==================== */
.bst-dh-tomtat {
  text-align: center;
  margin: -6px auto 12px;
  padding: 7px 14px;
  max-width: 720px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-size: 12.5px;
  font-weight: 600;
  color: #334e68;
}

.bst-dh-tomtat b {
  color: #0369a1;
  font-weight: 800;
}

.bst-luoi-dh {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 26px;
}

.bst-the-dh {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 12px 9px 11px;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.85);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bst-the-dh.dat {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border-color: #86efac;
  box-shadow: 0 6px 14px rgba(22, 163, 74, 0.1);
  cursor: pointer;
}

.bst-the-dh.hien-tai {
  background: linear-gradient(165deg, #eff6ff 0%, #dbeafe 55%, #fef9c3 100%);
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18), 0 12px 24px rgba(37, 99, 235, 0.18);
  transform: translateY(-2px);
  cursor: pointer;
}

.bst-the-dh.dat:hover,
.bst-the-dh.hien-tai:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.bst-the-dh.khoa {
  background: rgba(241, 245, 249, 0.9);
  border-style: dashed;
  border-color: #cbd5e1;
  cursor: pointer;
}

.bst-dh-cap {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}

.bst-the-dh.hien-tai .bst-dh-cap {
  background: #2563eb;
  color: #fff;
}

.bst-the-dh.dat .bst-dh-cap {
  background: #dcfce7;
  color: #15803d;
}

.bst-dh-ic {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 2px 0;
  flex: none;
}

.bst-dh-ic svg {
  width: 48px;
  height: 48px;
  display: block;
}

.bst-the-dh.dat .bst-dh-ic svg,
.bst-the-dh.hien-tai .bst-dh-ic svg {
  filter: drop-shadow(0 5px 10px rgba(15, 23, 42, 0.18));
}

.bst-the-dh.khoa .bst-dh-ic svg {
  filter: grayscale(0.7) opacity(0.55);
}

@media (prefers-reduced-motion: no-preference) {
  .bst-the-dh.hien-tai .bst-dh-ic {
    animation: bstDhFloat 3.4s ease-in-out infinite;
  }

  @keyframes bstDhFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }
}

.bst-dh-nd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
  width: 100%;
}

.bst-dh-ten {
  font-size: 13px;
  font-weight: 800;
  color: #0f2a56;
  line-height: 1.2;
}

.bst-the-dh.khoa .bst-dh-ten {
  color: #475569;
}

.bst-dh-moc {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
}

.bst-dh-chip {
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}

.bst-dh-chip.ht {
  background: #fef08a;
  color: #854d0e;
  border: 1px solid #eab308;
}

.bst-dh-chip.ok {
  background: #dcfce7;
  color: #15803d;
}

.bst-dh-chip.lock {
  background: #e2e8f0;
  color: #475569;
}


/* Tiêu đề từng khu vực */
.bst-tieu-de-phu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 0 13px;
  font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #243b53;
  scroll-margin-top: 12px;
}

.bst-dem-hh {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 800;
  color: #b45309;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
}

/* Lọc nhóm sticker */
.bst-loc-sticker {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.bst-loc-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(36, 59, 83, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #334e68;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bst-loc-btn.chon {
  background: #f59e0b;
  color: #ffffff;
  border-color: #d97706;
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.28);
}

/* ==================== LƯỚI STICKER DIE-CUT 5 CỘT ==================== */
.bst-luoi-sticker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.bst-the-sticker {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 10px 11px;
  border-radius: 22px;
  border: 2px solid transparent;
  text-align: center;
  transition: transform 0.2s cubic-bezier(0.2, 0.85, 0.35, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.bst-the-sticker.mo {
  background: rgba(255, 255, 255, 0.96);
  border-color: #fde68a;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.bst-the-sticker.mo:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 24px rgba(245, 158, 11, 0.24);
  border-color: #f59e0b;
}

.bst-the-sticker.mo.hiem-1:hover {
  border-color: #38bdf8;
  box-shadow: 0 14px 24px rgba(56, 189, 248, 0.22);
}

.bst-the-sticker.mo.hiem-2 {
  border-color: #a78bfa;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.16);
}

.bst-the-sticker.mo.hiem-3 {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fffef2 0%, #fef3c7 100%);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.26);
}

@media (prefers-reduced-motion: no-preference) {
  .bst-the-sticker.mo.hiem-3::after,
  .bst-the-hh.mo.hang-vang::after,
  .bst-the-hh.mo.hang-kimcuong::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.56) 50%, transparent 70%);
    transform: translateX(-130%);
    animation: bstSheen 4.5s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes bstSheen {
    0%, 55% { transform: translateX(-130%); }
    100% { transform: translateX(130%); }
  }
}

.bst-the-sticker.khoa {
  background: rgba(241, 245, 249, 0.88);
  border: 2px dashed #cbd5e1;
  cursor: default;
}

.bst-stk-hinh {
  position: relative;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  flex: none;
}

.bst-stk-hinh svg {
  width: 108px;
  height: 108px;
  display: block;
}

.bst-the-sticker.mo .bst-stk-hinh svg {
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.15));
}

.bst-stk-ten {
  font-size: 12px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bst-the-sticker.khoa .bst-stk-ten {
  color: #475569;
  font-weight: 700;
}

.bst-stk-khoa-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #64748b;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
}

.bst-stk-cap {
  margin-top: auto;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}

.bst-cap-1 { background: #e0f2fe; color: #0369a1; }
.bst-cap-2 { background: #ede9fe; color: #6d28d9; }
.bst-cap-3 { background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; }

/* ==================== TỦ TRƯNG BÀY HUY HIỆU 5 CỘT (2 × 5) ==================== */
.bst-luoi-huy-hieu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.bst-the-hh {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px 12px;
  border-radius: 22px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.2, 0.85, 0.35, 1), box-shadow 0.18s ease, border-color 0.18s ease;
  user-select: none;
}

.bst-the-hh:hover {
  transform: translateY(-4px);
}

.bst-the-hh.khoa {
  background: rgba(236, 242, 249, 0.94);
  border: 1.5px dashed #cbd5e1;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.04);
}

.bst-the-hh.khoa:hover {
  border-color: #94a3b8;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.bst-the-hh.mo.hang-dong {
  background: linear-gradient(180deg, #fffaf3 0%, #ffedd5 100%);
  border-color: #d97706;
  box-shadow: 0 10px 22px rgba(217, 119, 6, 0.18);
}

.bst-the-hh.mo.hang-bac {
  background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 100%);
  border-color: #60a5fa;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.18);
}

.bst-the-hh.mo.hang-vang {
  background: linear-gradient(180deg, #fffdf0 0%, #fef08a 100%);
  border-color: #f59e0b;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.28);
}

.bst-the-hh.mo.hang-kimcuong {
  background: linear-gradient(180deg, #f5f9ff 0%, #e0e7ff 56%, #f3e8ff 100%);
  border-color: #6366f1;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.28);
}

.bst-hh-hang {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.25;
}

.bst-hang-dong { background: #ffedd5; color: #9a3412; border: 1px solid #fdba74; }
.bst-hang-bac { background: #e0f2fe; color: #1e40af; border: 1px solid #93c5fd; }
.bst-hang-vang { background: #fef3c7; color: #92400e; border: 1px solid #fbbf24; }
.bst-hang-kimcuong { background: #e0e7ff; color: #3730a3; border: 1px solid #a5b4fc; }

.bst-the-hh.khoa .bst-hh-hang {
  background: #e2e8f0;
  color: #475569;
  border-color: #cbd5e1;
}

.bst-hh-ic {
  width: 112px;
  height: 118px;
  margin: 5px auto 6px;
  flex: none;
  display: grid;
  place-items: center;
}

.bst-hh-ic svg {
  width: 112px;
  height: 118px;
  display: block;
}

.bst-the-hh.mo .bst-hh-ic svg {
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.2));
}

.bst-hh-ten {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
  margin-bottom: 3px;
}

.bst-the-hh.khoa .bst-hh-ten {
  color: #334155;
}

.bst-hh-dk {
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bst-hh-chan {
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
}

.bst-hh-dat {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 10.5px;
  font-weight: 800;
  border: 1px solid #86efac;
}

.bst-hh-cho {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 800;
  border: 1px solid #fcd34d;
}

/* Thanh lộ trình thăng hạng tuần tự */
.bst-thang-hang {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 auto 14px;
}

.bst-thang-ten {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.bst-thang-buoc {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid #cbd5e1;
  background: rgba(241, 245, 249, 0.9);
  color: #475569;
}

.bst-thang-buoc.dong.mo { background: #ffedd5; color: #9a3412; border-color: #fdba74; }
.bst-thang-buoc.bac.mo { background: #e0f2fe; color: #1e40af; border-color: #93c5fd; }
.bst-thang-buoc.vang.mo { background: #fef3c7; color: #92400e; border-color: #fbbf24; }
.bst-thang-buoc.kimcuong.mo { background: #e0e7ff; color: #3730a3; border-color: #a5b4fc; }

.bst-hh-td {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #475569;
}

.bst-hh-bar {
  flex: 1 1 auto;
  height: 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.34);
  overflow: hidden;
}

.bst-hh-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.bst-the-hh.mo .bst-hh-bar i,
.bst-xem-tiendo .bst-hh-bar i {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* ==================== POPUP PHÓNG TO STICKER / HUY HIỆU ==================== */
.bst-xem-to {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.54);
  backdrop-filter: blur(5px);
}

.bst-xem-to[hidden] {
  display: none !important;
}

.bst-xem-card {
  width: 100%;
  max-width: 360px;
  padding: 24px 22px 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fffdf4 0%, #ffffff 100%);
  border: 3px solid #fbbf24;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.34);
  text-align: center;
  color: #1e293b;
}

.bst-xem-svg {
  width: 176px;
  height: 176px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
}

.bst-xem-svg.hh {
  width: 176px;
  height: 188px;
}

.bst-xem-svg svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(15, 23, 42, 0.18));
}

.bst-xem-ten {
  font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 6px 0 3px;
  color: #1e293b;
  line-height: 1.2;
}

.bst-xem-phu {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
}

.bst-xem-tiendo {
  margin: 10px auto 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.bst-xem-trangthai {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
}

.bst-xem-trangthai.dat { color: #15803d; }
.bst-xem-trangthai.chua { color: #b45309; }

.bst-xem-loi {
  font-size: 13.5px;
  line-height: 1.45;
  color: #334155;
  margin: 0 0 16px;
}

.bst-xem-nut-hang {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bst-xem-hieu-ung {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid #f59e0b;
  background: #fffbeb;
  color: #b45309;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
}

.bst-xem-hieu-ung:hover {
  background: #fef3c7;
  transform: translateY(-1px);
}

.bst-xem-dong {
  padding: 9px 24px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #ffd84d, #f59e0b);
  color: #4a2800;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 3px 0 #c97e00;
}

/* ==================== LỄ VINH DANH MỞ KHÓA HOÀNH TRÁNG ==================== */
.bst-le-lop {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: radial-gradient(circle at 50% 42%, rgba(49, 46, 129, 0.78) 0%, rgba(15, 23, 42, 0.88) 58%, rgba(2, 6, 23, 0.94) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
}

.bst-le-lop.hien {
  opacity: 1;
  pointer-events: auto;
}

.bst-le-lop:not(.hien) {
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}

.bst-le-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bst-le-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 464px;
  padding: 24px 24px 22px;
  border-radius: 30px;
  text-align: center;
  color: #1e293b;
  background: linear-gradient(180deg, #fffdf5 0%, #ffffff 55%, #fffbeb 100%);
  border: 3px solid #fbbf24;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.65), 0 0 42px rgba(251, 191, 36, 0.35);
  overflow: hidden;
  animation: bstTheBatRa 0.5s cubic-bezier(0.2, 1.28, 0.35, 1) both;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.bst-le-card.dang-dong {
  opacity: 0 !important;
  transform: scale(0.86) translateY(14px) !important;
}

.bst-le-dong {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
  font-size: 16px;
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
  transition: transform 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.bst-le-dong:hover {
  background: #ffffff;
  color: #0f172a;
  transform: scale(1.08);
}

.bst-le-card *,
.bst-le-card *::before,
.bst-le-card *::after {
  box-sizing: border-box;
}

.bst-le-card.le-danhhieu {
  border-color: #38bdf8;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 50%, #fefce8 100%);
  box-shadow: 0 28px 74px rgba(2, 6, 23, 0.68), 0 0 54px rgba(56, 189, 248, 0.48);
}

.bst-le-card.le-danhhieu.cap-4,
.bst-le-card.le-danhhieu.cap-5 {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 45%, #fef3c7 100%);
  box-shadow: 0 28px 76px rgba(2, 6, 23, 0.72), 0 0 60px rgba(251, 191, 36, 0.52);
}

.bst-le-card.le-danhhieu .bst-le-ribbon {
  background: linear-gradient(90deg, #0284c7 0%, #2563eb 52%, #7c3aed 100%);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.38);
}

.bst-le-card.le-danhhieu.cap-5 .bst-le-ribbon {
  background: linear-gradient(90deg, #f59e0b 0%, #ef4444 48%, #7c3aed 100%);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.bst-le-card.le-danhhieu .bst-le-hao-quang {
  background: repeating-conic-gradient(from 0deg, rgba(56, 189, 248, 0.42) 0deg 9deg, rgba(253, 224, 71, 0.25) 9deg 15deg, transparent 15deg 22.5deg);
}

.bst-le-card.le-danhhieu .bst-le-song {
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.45);
}

.bst-le-svg.dh {
  width: 186px;
  height: 186px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 24%, #38bdf8 0%, #1d4ed8 58%, #0f172a 100%);
  border: 4px solid #fef08a;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.34), 0 0 28px rgba(56, 189, 248, 0.42), inset 0 3px 10px rgba(255, 255, 255, 0.35);
}

.bst-le-svg.dh svg {
  width: 126px;
  height: 126px;
  filter: drop-shadow(0 8px 16px rgba(2, 6, 23, 0.42));
}

.bst-dh-badge-le {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  color: #1e40af;
  border: 1.5px solid #93c5fd;
}

.bst-le-card.le-danhhieu.cap-4 .bst-dh-badge-le,
.bst-le-card.le-danhhieu.cap-5 .bst-dh-badge-le {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border-color: #f59e0b;
}

.bst-le-card.le-danhhieu .bst-le-nut-chinh {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  box-shadow: 0 4px 0 #1e40af, 0 8px 20px rgba(37, 99, 235, 0.36);
}

.bst-le-card.le-hiem {
  border-color: #8b5cf6;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 56%, #f3e8ff 100%);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.65), 0 0 44px rgba(167, 139, 250, 0.42);
}

.bst-le-card.le-huyenthoai,
.bst-le-card.le-vang {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fffdf0 0%, #ffffff 52%, #fef3c7 100%);
  box-shadow: 0 28px 72px rgba(2, 6, 23, 0.68), 0 0 54px rgba(251, 191, 36, 0.5);
}

.bst-le-card.le-dong {
  border-color: #d97706;
  background: linear-gradient(180deg, #fffaf4 0%, #ffffff 55%, #ffedd5 100%);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.65), 0 0 40px rgba(245, 158, 11, 0.34);
}

.bst-le-card.le-bac {
  border-color: #3b82f6;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 55%, #e0f2fe 100%);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.65), 0 0 44px rgba(96, 165, 250, 0.42);
}

.bst-le-card.le-kimcuong {
  border-color: #6366f1;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 48%, #ede9fe 100%);
  box-shadow: 0 28px 76px rgba(2, 6, 23, 0.72), 0 0 60px rgba(99, 102, 241, 0.56);
}

@keyframes bstTheBatRa {
  0% { opacity: 0; transform: scale(0.76) translateY(28px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.bst-le-dau {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 28px;
  position: relative;
  z-index: 3;
}

.bst-le-ribbon {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: linear-gradient(90deg, #f59e0b 0%, #ef4444 50%, #f59e0b 100%);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.36);
}

.bst-le-card.le-hiem .bst-le-ribbon {
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.36);
}

.bst-le-card.le-bac .bst-le-ribbon {
  background: linear-gradient(90deg, #2563eb, #0284c7);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.36);
}

.bst-le-card.le-kimcuong .bst-le-ribbon {
  background: linear-gradient(90deg, #06b6d4, #6366f1, #ec4899);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.42);
}

.bst-le-dem {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.9);
}

.bst-le-san-khau {
  position: relative;
  width: 248px;
  height: 226px;
  margin: 4px auto 6px;
  display: grid;
  place-items: center;
}

.bst-le-hao-quang {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(251, 191, 36, 0.36) 0deg 10deg, transparent 10deg 22.5deg);
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 0) 68%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 0) 68%);
  animation: bstQuayHaoQuang 14s linear infinite;
  pointer-events: none;
}

.bst-le-card.le-hiem .bst-le-hao-quang {
  background: repeating-conic-gradient(from 0deg, rgba(167, 139, 250, 0.4) 0deg 10deg, transparent 10deg 22.5deg);
}

.bst-le-card.le-bac .bst-le-hao-quang {
  background: repeating-conic-gradient(from 0deg, rgba(96, 165, 250, 0.42) 0deg 10deg, transparent 10deg 22.5deg);
}

.bst-le-card.le-kimcuong .bst-le-hao-quang {
  background: repeating-conic-gradient(from 0deg, rgba(56, 189, 248, 0.42) 0deg 8deg, rgba(192, 132, 252, 0.24) 8deg 14deg, transparent 14deg 22.5deg);
}

@keyframes bstQuayHaoQuang {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bst-le-song {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid rgba(251, 191, 36, 0.8);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.5);
  pointer-events: none;
  opacity: 0;
  animation: bstSongNo 1.15s ease-out forwards;
}

.bst-le-song.s2 {
  animation-delay: 0.24s;
  border-color: rgba(255, 255, 255, 0.9);
}

.bst-le-card.le-kimcuong .bst-le-song {
  border-color: rgba(99, 102, 241, 0.85);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.55);
}

@keyframes bstSongNo {
  0% { transform: scale(0.45); opacity: 0.92; }
  100% { transform: scale(1.85); opacity: 0; }
}

.bst-le-sao {
  position: absolute;
  font-style: normal;
  font-size: 16px;
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.85);
  pointer-events: none;
  z-index: 4;
  animation: bstLapLanhSao 1.7s ease-in-out infinite;
}

.bst-le-card.le-kimcuong .bst-le-sao { color: #38bdf8; text-shadow: 0 0 10px #818cf8; }
.bst-le-sao.s1 { top: 14px; left: 26px; animation-delay: 0s; font-size: 18px; }
.bst-le-sao.s2 { top: 20px; right: 22px; animation-delay: 0.35s; font-size: 15px; }
.bst-le-sao.s3 { top: 104px; left: 10px; animation-delay: 0.7s; font-size: 14px; color: #f472b6; }
.bst-le-sao.s4 { top: 108px; right: 12px; animation-delay: 0.2s; font-size: 17px; }
.bst-le-sao.s5 { bottom: 16px; left: 32px; animation-delay: 0.55s; font-size: 13px; }
.bst-le-sao.s6 { bottom: 14px; right: 28px; animation-delay: 0.9s; font-size: 16px; color: #34d399; }

@keyframes bstLapLanhSao {
  0%, 100% { transform: scale(0.75) rotate(0deg); opacity: 0.55; }
  50% { transform: scale(1.28) rotate(22deg); opacity: 1; }
}

.bst-le-svg {
  position: relative;
  z-index: 3;
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
  animation: bstBatRaHoanhTrang 0.82s cubic-bezier(0.2, 1.32, 0.35, 1) both, bstLoLung 2.8s ease-in-out 0.85s infinite;
}

.bst-le-svg.hh {
  width: 200px;
  height: 214px;
}

.bst-le-svg svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 16px 26px rgba(15, 23, 42, 0.28));
}

@keyframes bstBatRaHoanhTrang {
  0% { opacity: 0; transform: scale(0.22) rotate(-18deg); }
  62% { opacity: 1; transform: scale(1.12) rotate(5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes bstLoLung {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.bst-le-nhan {
  position: relative;
  z-index: 3;
  margin-bottom: 4px;
}

.bst-le-ten {
  position: relative;
  z-index: 3;
  margin: 4px 0 4px;
  font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
  font-size: 25px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.18;
}

.bst-le-phu {
  position: relative;
  z-index: 3;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
}

.bst-le-loi {
  position: relative;
  z-index: 3;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.bst-le-nut-hang {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bst-le-nut-chinh {
  flex: 1 1 180px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #ffe066 0%, #f59e0b 100%);
  color: #4a2800;
  font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 0 #c97e00, 0 8px 18px rgba(245, 158, 11, 0.32);
  transition: transform 0.14s ease, filter 0.14s ease;
}

.bst-le-card.le-kimcuong .bst-le-nut-chinh {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #ffffff;
  box-shadow: 0 4px 0 #4338ca, 0 8px 20px rgba(99, 102, 241, 0.4);
}

.bst-le-nut-chinh:hover {
  transform: translateY(-1.5px);
  filter: brightness(1.04);
}

.bst-le-nut-phu {
  padding: 11px 13px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.bst-le-nut-phu:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

@media (prefers-reduced-motion: reduce) {
  .bst-le-hao-quang,
  .bst-le-svg,
  .bst-le-song,
  .bst-le-sao,
  .bst-le-card,
  .bst-nut.bst-nut-chuc {
    animation: none !important;
  }
}

@media (max-width: 960px) {
  .bst-luoi-dh {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bst-luoi-sticker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bst-luoi-huy-hieu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bst-lop {
    padding: 0;
  }

  .bst-hop {
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  .bst-dau {
    padding: 12px 14px 8px;
  }

  .bst-than {
    padding: 2px 12px 24px;
  }

  .bst-the-tien-do {
    border-radius: 22px;
    padding: 13px 14px 14px;
  }

  .bst-tien-do-chu {
    font-size: 14px;
  }

  .bst-dh-tomtat {
    border-radius: 14px;
    font-size: 11.5px;
  }

  .bst-luoi-dh {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
  }

  .bst-the-dh:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    text-align: left;
    gap: 12px;
    padding: 10px 14px;
  }

  .bst-the-dh:last-child .bst-dh-nd {
    align-items: flex-start;
    width: auto;
  }

  .bst-luoi-sticker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .bst-the-sticker {
    padding: 9px 6px 9px;
    border-radius: 18px;
  }

  .bst-stk-hinh,
  .bst-stk-hinh svg {
    width: 82px;
    height: 82px;
  }

  .bst-luoi-huy-hieu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bst-the-hh {
    padding: 11px 8px 10px;
    border-radius: 18px;
  }

  .bst-hh-ic,
  .bst-hh-ic svg {
    width: 92px;
    height: 98px;
  }

  .bst-hh-ten {
    font-size: 12px;
  }

  .bst-hh-dk {
    font-size: 10px;
  }

  .bst-le-lop {
    padding: 12px;
  }

  .bst-le-card {
    max-width: calc(100vw - 24px);
    padding: 18px 16px 18px;
    border-radius: 24px;
  }

  .bst-le-san-khau {
    width: 210px;
    height: 188px;
  }

  .bst-le-hao-quang {
    width: 256px;
    height: 256px;
  }

  .bst-le-svg {
    width: 164px;
    height: 164px;
  }

  .bst-le-svg.hh {
    width: 164px;
    height: 176px;
  }

  .bst-le-svg.dh {
    width: 154px;
    height: 154px;
  }

  .bst-le-svg.dh svg {
    width: 104px;
    height: 104px;
  }

  .bst-le-dong {
    top: 9px;
    right: 9px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .bst-le-ten {
    font-size: 21px;
  }

  .bst-le-nut-hang {
    flex-direction: column;
  }

  .bst-le-nut-chinh,
  .bst-le-nut-phu {
    width: 100%;
    flex: none;
  }
}
