/* ===== Reunion homepage sections (blueprint theme) ===== */

/* Skip link — visible only when focused via keyboard */
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 400;
  background: var(--cyan-deep); color: #fff;
  font-family: var(--mono); font-size: 12px;
  padding: 10px 16px; border-radius: 6px;
  transition: top 0.15s;
}
.skip-link:focus-visible { top: 12px; color: #fff; }

/* Quick amount chips in donate modal */
.amount-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.amount-chip {
  font-family: var(--mono); font-size: 11.5px; cursor: pointer;
  background: var(--cyan-soft); color: var(--cyan-deep);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.amount-chip:hover { border-color: var(--cyan); }
.amount-hint { font-family: var(--mono); font-size: 11.5px; color: var(--good); min-height: 16px; margin-top: 4px; }

.topnav { display: flex; gap: 16px; margin-left: auto; margin-right: 14px; }
.topnav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-dim); padding: 6px 2px; border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.topnav a:hover { color: var(--cyan-deep); border-color: var(--cyan); }

/* ---- Blue header ---- */
.site-header--blue {
  background: linear-gradient(120deg, #0B4C81 0%, #0369A1 55%, #0EA5E9 130%);
  border-bottom: none;
  box-shadow: 0 6px 22px -12px rgba(3, 105, 161, 0.7);
}
.site-header--blue .brand-title { color: #fff; }
.site-header--blue .brand-title span { color: #FFD54A; }
.site-header--blue .brand-sub { color: rgba(255,255,255,0.72); }
.site-header--blue .brand-mark { color: #BAE6FD; }
.site-header--blue .topnav a { color: rgba(255,255,255,0.85); }
.site-header--blue .topnav a:hover { color: #fff; border-color: #FFD54A; }
.btn--onblue { background: #fff; border-color: #fff; color: var(--cyan-deep); box-shadow: 0 6px 16px -8px rgba(0,0,0,0.35); }
.btn--onblue:hover { background: #FFF7E6; border-color: #FFF7E6; color: var(--amber-deep); }
.btn--onblue-ghost { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.55); color: #fff; box-shadow: none; }
.btn--onblue-ghost:hover { background: rgba(255,255,255,0.20); border-color: #fff; color: #fff; }
.btn--lg { padding: 13px 22px; font-size: 14px; }
.site-header--blue .header-actions { gap: 6px; }
.site-header--blue .header-actions .btn { padding: 9px 13px; white-space: nowrap; }

/* Header hẹp (laptop nhỏ / tablet): nav xuống hàng riêng, cuộn ngang được, hết tràn nút */
@media (max-width: 1320px) {
  .site-header--blue .header-inner { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 8px 14px; }
  .site-header--blue .topnav {
    order: 4; flex: 1 0 100%; justify-content: center;
    margin: 0; gap: 4px 18px; flex-wrap: wrap;
  }
  .site-header--blue .header-actions { margin-left: auto; }
}

/* ---- Hero unified panel ---- */
.hero-sub { color: var(--ink-dim); max-width: 660px; margin: 0 auto 18px; font-size: 17px; font-weight: 500; }
.hero-panel {
  max-width: 940px; margin: 8px auto 24px; padding: 24px 26px 26px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.cd-wrap { text-align: center; }
.cd-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.hero-panel .countdown { margin: 0 auto 4px; }
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); }
/* Flex column + .sc-foot margin-top:auto → thanh tiến độ của 3 ô luôn thẳng hàng
   kể cả khi ô tài trợ chương trình chưa đặt mục tiêu (thanh bị ẩn). */
.stat-card { display: flex; flex-direction: column; text-align: center; padding: 16px 12px; background: var(--panel-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.sc-foot { margin-top: auto; }
/* Tô màu 3 chỉ số chính: đăng ký (cyan) · học bổng (xanh lá) · chương trình (vàng) */
.stat-card:nth-child(1) {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0.04));
  border-color: rgba(14, 165, 233, 0.4);
}
.stat-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.11), rgba(22, 163, 74, 0.03));
  border-color: rgba(22, 163, 74, 0.4);
}
.stat-card:nth-child(2) .sc-num { color: var(--good); }
.stat-card--soft {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.13), rgba(245, 158, 11, 0.04));
  border-color: rgba(245, 158, 11, 0.45);
}
.stat-card--soft .sc-num { color: var(--amber-deep); }
.stat-card--soft .sc-track { background: rgba(245,158,11,0.14); }
.stat-card--soft .sc-track span { background: linear-gradient(90deg, #FBBF24, var(--amber-deep)); }
.sc-ico { font-size: 22px; line-height: 1; margin-bottom: 6px; }
.sc-num { font-family: var(--display); font-size: 32px; font-weight: 800; color: var(--cyan-deep); line-height: 1.05; }
.sc-lbl { font-size: 12.5px; color: var(--ink-dim); margin-top: 3px; font-weight: 500; }
/* Dòng phụ dưới nhãn: số người tham dự */
.sc-side { font-family: var(--mono); font-size: 11.5px; color: var(--ink-dim); margin-top: 5px; }
/* Chip "đã xác nhận" — con số phụ, nhỏ hơn số tổng nhưng vẫn nổi để đọc được ngay */
.sc-ok {
  display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  background: rgba(22,163,74,0.13); color: #15803D; white-space: nowrap;
}
/* Thanh tiến độ 2 lớp: .sc-bar-all (nhạt) = tổng gồm chờ xác nhận · .sc-bar-ok (đậm) chồng lên = đã xác nhận */
.sc-track { position: relative; height: 7px; background: rgba(14,165,233,0.12); border-radius: 999px; overflow: hidden; margin: 9px 4px 6px; }
.sc-track span { position: absolute; left: 0; top: 0; height: 100%; background: linear-gradient(90deg, var(--cyan-2), var(--cyan-deep)); border-radius: 999px; transition: width 0.7s ease; }
.sc-track .sc-bar-all { opacity: 0.3; }
.stat-card:nth-child(2) .sc-track span { background: linear-gradient(90deg, #34D399, var(--good)); }
.sc-sub { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.hero-cta .btn { min-width: 190px; justify-content: center; }

/* ---- Schedule timeline ---- */
.timeline { padding: 24px 28px; }
.tl-item { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: start; padding: 12px 0; position: relative; border-left: 2px solid var(--line); margin-left: 8px; padding-left: 22px; }
.tl-item:first-child { padding-top: 4px; }
.tl-item:last-child { padding-bottom: 4px; }
.tl-dot { position: absolute; left: -8px; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--cyan); }
.tl-time { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--cyan-deep); background: var(--cyan-soft); padding: 4px 10px; border-radius: 6px; display: inline-block; justify-self: start; }
.tl-text { color: var(--ink-2); font-size: 15px; padding-top: 3px; }
.tl-item--note { grid-template-columns: 1fr; }
.plan-empty { text-align: center; padding: 40px 24px; }
.pe-ico { font-size: 40px; }
.pe-title { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); margin: 10px 0 4px; }
.pe-sub { color: var(--ink-dim); font-size: 14px; max-width: 460px; margin: 0 auto; }

/* ---- Payment summary (one frame, 3 columns) ---- */
.pay-summary { display: flex; align-items: stretch; margin-bottom: 22px; padding: 4px 0; }
.ps-col { flex: 1; text-align: center; padding: 20px 14px; }
.ps-div { width: 1px; background: var(--line); margin: 16px 0; flex-shrink: 0; }
.ps-num { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--ink); }
.ps-col--money .ps-num { color: var(--good); }
.ps-col--program .ps-num { color: var(--amber-deep); }
.ps-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }
/* Số phụ "đã xác nhận" dưới tổng — cùng ngôn ngữ với chip .sc-ok ở hero */
.ps-ok {
  display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  background: rgba(22,163,74,0.13); color: #15803D; white-space: nowrap;
}

/* ---- Section head: title + inline search on the left, button on the right ---- */
.bangvang-head { align-items: center; gap: 16px; }
.bh-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; flex: 1; }
.bh-left .section-title { margin-bottom: 0; }
.bh-left .donor-search { flex: 0 1 320px; }

/* ---- Sponsor groups ---- */
.sponsor-group { margin-bottom: 34px; }
.sponsor-group-title { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.sgt-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.sgt-chip { padding: 6px 18px; border-radius: 999px; font-size: 14px; letter-spacing: 0.08em; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow-sm); }
.sponsor-group-title--kc .sgt-chip { background: linear-gradient(120deg, #E6F7FF, #F0FBFF); border-color: rgba(14,165,233,0.45); color: var(--cyan-deep); }
.sponsor-group-title--vang .sgt-chip { background: linear-gradient(120deg, #FFF7E0, #FFFBEF); border-color: rgba(245,158,11,0.5); color: var(--amber-deep); }
.sponsor-group-title--bac .sgt-chip { background: linear-gradient(120deg, #F1F5F9, #F8FAFC); border-color: #CBD5E1; color: #475569; }
.sponsor-group-title--dong .sgt-chip { background: linear-gradient(120deg, #FBEEE0, #FDF6EE); border-color: rgba(180,105,47,0.45); color: #92561F; }
.sponsor-group-title--khac .sgt-chip { color: var(--ink-dim); }

/* Featured Kim cương: banner lớn, chữ phủ trên ảnh */
.sp-feature-list { display: flex; flex-direction: column; gap: 22px; max-width: 980px; margin: 0 auto; }
.sp-feature {
  position: relative; display: block; overflow: hidden; border-radius: 14px;
  aspect-ratio: 21 / 9; min-height: 260px; color: #fff;
  border: 1px solid rgba(14,165,233,0.35);
  box-shadow: 0 24px 50px -18px rgba(3,105,161,0.45), var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s; isolation: isolate;
}
.sp-feature:hover { transform: translateY(-4px); box-shadow: 0 32px 64px -20px rgba(3,105,161,0.6); color: #fff; }
.sp-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sp-feature:hover img { transform: scale(1.03); }
.spf-noimg {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: clamp(28px, 5vw, 52px); color: #fff;
  background: linear-gradient(120deg, #0B4C81, #0369A1 55%, #0EA5E9);
}
.spf-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,36,0.18) 0%, transparent 38%, rgba(6,20,36,0.82) 100%); pointer-events: none; }
.spf-tier {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #06283D; background: linear-gradient(120deg, #BAE6FD, #E0F2FE 60%, #FFFFFF);
  padding: 7px 14px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5);
}
.spf-tier--vang { background: linear-gradient(120deg, #FFD54A, #FDE68A 60%, #FFFBEB); color: #4a2f00; }
.spf-tier--bac { background: linear-gradient(120deg, #CBD5E1, #E2E8F0 60%, #F8FAFC); color: #1f2937; }
.spf-tier--dong { background: linear-gradient(120deg, #F0B27A, #F5CBA7 60%, #FDF2E9); color: #3b1f00; }
.spf-tier--khac { background: linear-gradient(120deg, #E2E8F0, #F1F5F9 60%, #FFFFFF); color: #334155; }

/* Thanh đếm nhà tài trợ theo hạng */
.tier-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.tier-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em;
  background: var(--panel); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.tier-chip:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.tier-chip .count {
  font-weight: 700; font-size: 11.5px;
  background: rgba(11,34,64,0.08); color: var(--ink);
  border-radius: 999px; padding: 2px 8px;
}
.tier-chip--kc { border-color: rgba(14,165,233,0.5); color: var(--cyan-deep); }
.tier-chip--kc .count { background: rgba(14,165,233,0.14); color: var(--cyan-deep); }
.tier-chip--vang { border-color: rgba(245,158,11,0.55); color: var(--amber-deep); }
.tier-chip--vang .count { background: rgba(245,158,11,0.16); color: var(--amber-deep); }
.tier-chip--bac { border-color: #CBD5E1; color: #475569; }
.tier-chip--bac .count { background: #E2E8F0; color: #334155; }
.tier-chip--dong { border-color: rgba(180,105,47,0.5); color: #92561F; }
.tier-chip--dong .count { background: rgba(180,105,47,0.14); color: #92561F; }

/* Hàng cuộn ngang cho hạng có nhiều nhà tài trợ: Vàng = 2/3 KC, Bạc/Đồng = 1/2 KC */
.sp-scroll {
  display: flex; gap: 18px;
  overflow-x: auto; padding: 4px 4px 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--cyan) rgba(14,165,233,0.1);
  max-width: 980px; margin: 0 auto;
}
.sp-scroll::-webkit-scrollbar { height: 8px; }
.sp-scroll::-webkit-scrollbar-track { background: rgba(14,165,233,0.08); border-radius: 999px; }
.sp-scroll::-webkit-scrollbar-thumb { background: rgba(14,165,233,0.45); border-radius: 999px; }
.sp-scroll > * { flex: 0 0 auto; scroll-snap-align: center; }
.sp-scroll--lg > * { width: min(650px, 86vw); }
.sp-scroll--md > * { width: min(490px, 80vw); }
.sp-scroll--lg .sp-name { font-size: 19px; }
.sp-scroll--md .sp-name { font-size: 17px; }
.sponsor-group { scroll-margin-top: 96px; }
.spf-info { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; }
.spf-name { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.15; text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
.spf-amt { font-family: var(--mono); font-size: clamp(13px, 1.8vw, 16px); font-weight: 700; color: #FFD54A; margin-top: 5px; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.spf-note { font-size: 13.5px; color: rgba(255,255,255,0.88); margin-top: 4px; max-width: 640px; text-shadow: 0 1px 6px rgba(0,0,0,0.55); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spf-link { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #BAE6FD; margin-top: 8px; }

/* ---- Section scaffolding ---- */
.section { position: relative; z-index: 1; padding: 50px 0 34px; }
/* Dải nền xen kẽ để các khối tách nhau rõ trên nền sáng */
.section--alt {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.13), rgba(14, 165, 233, 0.06));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.section-title--center { justify-content: center; text-align: center; }
.section-sub--center { text-align: center; margin-left: auto; margin-right: auto; }
/* Gạch chân vàng đồng cho tiêu đề section — điểm nhấn nhận diện */
.section-title::after { content: ''; width: 34px; height: 3px; background: linear-gradient(90deg, var(--amber), #FFD54A); border-radius: 2px; margin-left: 2px; }
.section-title {
  font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: 0.02em;
  color: var(--ink); margin: 0 0 6px; display: flex; align-items: center; gap: 12px;
}
.section-title .st-num {
  font-family: var(--mono); font-size: 13px; color: var(--cyan-deep);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 3px 8px; background: var(--cyan-soft);
}
.section-sub { color: var(--ink-dim); margin: 0 0 18px; max-width: 720px; }
.section-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }

.panel-frame {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px -14px rgba(11, 34, 64, 0.22), 0 2px 8px -2px rgba(11, 34, 64, 0.08);
}
.panel-frame > .corner {
  position: absolute; width: 12px; height: 12px; border: 2px solid var(--cyan); z-index: 2;
}
.panel-frame > .corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.panel-frame > .corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.panel-frame > .corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.panel-frame > .corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---- Hero / countdown ---- */
.hero--reunion {
  text-align: center; padding: 54px 0 40px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.14) 0%, rgba(14, 165, 233, 0.05) 60%, transparent 100%);
}
.hero--reunion .hero-tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; color: var(--cyan-deep);
  text-transform: uppercase; margin-bottom: 14px;
}
/* Dòng nhận diện trường / khoa phía trên tiêu đề */
.hero-school {
  display: inline-block;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan-deep);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 8px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
/* Slogan chính thức: Thanh xuân · Trưởng thành · Tiếp nối */
.hero-slogan {
  font-family: var(--display) !important;
  font-size: clamp(17px, 2.2vw, 22px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  color: var(--amber-deep) !important;
  text-transform: uppercase;
}
.hero--reunion .hero-title { font-size: clamp(28px, 5vw, 52px); margin: 0 auto 12px; max-width: 900px; }
.hero--reunion .hero-sub { color: var(--ink-dim); max-width: 640px; margin: 0 auto 26px; font-size: 16px; }
.accent { color: var(--cyan-deep); }
.accent-num { font-family: var(--display); color: var(--amber-deep); }

.countdown { display: flex; justify-content: center; gap: 14px; margin: 8px auto 22px; flex-wrap: wrap; }
.cd-box {
  min-width: 92px; padding: 14px 10px;
  background: linear-gradient(180deg, #FFFFFF, #EFF8FE);
  border: 1px solid rgba(14, 165, 233, 0.38); border-radius: var(--radius-lg);
  box-shadow: 0 6px 16px -8px rgba(3, 105, 161, 0.35);
}
.cd-num { font-family: var(--display); font-size: 36px; font-weight: 800; color: var(--cyan-deep); line-height: 1; }
.cd-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 6px; }

.event-meta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.ev-chip {
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px;
  box-shadow: var(--shadow-sm);
}
/* Ngày tổ chức — thông tin quan trọng nhất, tô vàng nổi bật */
#evDate {
  background: linear-gradient(120deg, #FFF3D6, #FFFBEF);
  border-color: rgba(245, 158, 11, 0.55);
  color: var(--amber-deep); font-weight: 700;
}
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---- Polaroid memory cards in hero ---- */
.hero-polaroids { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.polaroid {
  margin: 0;
  background: #fff;
  padding: 10px 10px 12px;
  border-radius: 4px;
  border: 1px solid rgba(11, 34, 64, 0.08);
  box-shadow: 0 18px 40px -14px rgba(11, 34, 64, 0.45);
  transform: rotate(var(--tilt, -6deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: absolute;
  width: 235px;
  pointer-events: auto;
}
.polaroid:hover { transform: rotate(0deg) scale(1.05); box-shadow: 0 26px 54px -16px rgba(11, 34, 64, 0.55); z-index: 5; }
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 2px; }
.polaroid figcaption {
  font-family: 'Dancing Script', 'Be Vietnam Pro', cursive;
  font-size: 20px; font-weight: 700; line-height: 1.2;
  color: #0B4C81; text-align: center; margin-top: 9px;
}
/* Băng keo dán góc trên */
.polaroid::before {
  content: '';
  position: absolute; top: -11px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 76px; height: 24px;
  background: rgba(186, 230, 253, 0.7);
  border: 1px solid rgba(14, 165, 233, 0.28);
  box-shadow: 0 2px 6px rgba(11, 34, 64, 0.12);
}
/* Logo sự kiện 20 năm FME — huy hiệu cố định góc trên trái (PNG nền trong, không khung) */
.hero-fme {
  position: absolute; margin: 0;
  left: max(28px, calc(50% - 890px)); top: 6px;
  width: 276px;
  filter: drop-shadow(0 14px 26px rgba(3, 60, 110, 0.35));
  pointer-events: none;
}
.hero-fme img { width: 100%; height: auto; display: block; }
/* 2 ảnh kỷ niệm xếp chồng bên phải — cách xa khối nội dung chính */
.polaroid--left { --tilt: 5deg; left: auto; right: max(26px, calc(50% - 878px)); top: 100px; }
.polaroid--right { --tilt: -5deg; right: max(60px, calc(50% - 838px)); top: 430px; }

/* Màn hẹp hơn: không đủ chỗ 2 bên — xếp thành hàng dưới nội dung hero */
@media (max-width: 1599px) {
  .hero-polaroids {
    position: static; pointer-events: auto;
    display: flex; justify-content: center; align-items: center;
    gap: 26px; flex-wrap: wrap;
    padding: 26px 18px 0;
    order: 10;
  }
  .hero--reunion { display: flex; flex-direction: column; }
  .hero--reunion > .container { order: 1; }
  .polaroid { position: static; width: min(250px, 42vw); }
  .hero-fme { position: static; width: min(216px, 40vw); pointer-events: auto; }
  .polaroid--left { --tilt: -3deg; }
  .polaroid--right { --tilt: 2.5deg; margin-top: 16px; }
}
@media (max-width: 560px) {
  .polaroid { width: min(240px, 68vw); }
  .polaroid--right { margin-top: 0; }
  .polaroid figcaption { font-size: 18px; }
}

/* ---- Fundraising dashboard ---- */
.fund-panel { display: flex; gap: 30px; padding: 26px 30px; align-items: center; flex-wrap: wrap; }
.fund-main { flex: 1 1 340px; }
.fund-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.fund-total { font-family: var(--display); font-size: clamp(34px, 6vw, 56px); font-weight: 800; color: var(--good); line-height: 1.05; margin: 6px 0; }
.fund-progress { margin-top: 8px; }
.fund-bar { height: 12px; background: rgba(14,165,233,0.12); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.fund-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--cyan-deep)); border-radius: 999px; transition: width 0.6s ease; }
.fund-progress-text { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); margin-top: 6px; }
.fund-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.fund-stat { text-align: center; }
.fs-num { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--ink); }
.fs-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }

/* ---- Goal dashboard (people + money) ---- */
.goal-panel { display: flex; gap: 40px; padding: 28px 34px; align-items: center; flex-wrap: wrap; }
.goal-total { flex: 1 1 300px; }
.goal-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.goal-total-num { font-family: var(--display); font-size: clamp(34px, 6vw, 54px); font-weight: 800; color: var(--good); line-height: 1.05; margin: 6px 0 4px; letter-spacing: -0.01em; }
.goal-suggest { font-family: var(--mono); font-size: 12.5px; color: var(--ink-dim); }
.goal-bars { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.goal-bar-block { }
.gb-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.gb-lbl { font-size: 13px; color: var(--ink-dim); font-weight: 500; }
.gb-val { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); }
.gb-track { height: 13px; background: rgba(14,165,233,0.12); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.gb-track span { display: block; height: 100%; border-radius: 999px; transition: width 0.7s cubic-bezier(.2,.7,.2,1); }
#gbPeopleBar { background: linear-gradient(90deg, var(--cyan-2), var(--cyan-deep)); }
#gbMoneyBar { background: linear-gradient(90deg, #34D399, var(--good)); }

/* ---- Sub-table titles + status badges ---- */
.subtable-title { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); margin: 26px 0 12px; }
.subtable-note { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--amber-deep); }
.col-people { width: 96px; white-space: nowrap; }
.col-fee { width: 128px; white-space: nowrap; }
.dt-people { font-family: var(--mono); font-weight: 600; }

/* Phân trang danh sách tham dự */
.pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pager button {
  min-width: 38px; height: 38px; padding: 0 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  background: var(--panel); color: var(--ink-dim);
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.pager button:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan-deep); }
.pager button.is-active { background: linear-gradient(135deg, var(--cyan), var(--cyan-deep)); border-color: var(--cyan-deep); color: #fff; }
.pager button:disabled { opacity: 0.35; cursor: default; }
.head-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.st-badge { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; font-weight: 500; }
.st-ok { background: rgba(22,163,74,0.12); color: #15803D; }
.st-wait { background: rgba(245,158,11,0.14); color: var(--amber-deep); }
.st-checking { background: rgba(14,165,233,0.12); color: var(--cyan-deep); } /* đã khai CK — chờ BTC đối soát */
.st-attend { background: rgba(14,165,233,0.12); color: var(--cyan-deep); }
.st-sponsor { background: rgba(245,158,11,0.12); color: var(--amber-deep); }
.donor-table tr.is-pending { opacity: 0.78; }
.donor-table tr.is-pending .dt-amt { color: var(--ink-dim); }
.dt-item { color: var(--ink-2); }
.donate-note { font-size: 13px; color: var(--ink-dim); background: var(--cyan-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin: 4px 0 4px; }

/* ---- Plan box ---- */
.plan-box { padding: 22px 26px; }
.plan-content { color: var(--ink-2); line-height: 1.7; white-space: normal; }
.plan-placeholder { color: var(--ink-faint); font-style: italic; font-family: var(--mono); }

/* ---- Donor table ---- */
.donor-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.donor-search { flex: 0 1 320px; }
.donor-count { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); }
.donor-table-wrap { padding: 10px; }
.donor-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
/* Header bảng: nền xanh Bách Khoa nổi bật */
.donor-table thead th {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; text-align: left; padding: 13px 12px;
  background: linear-gradient(135deg, #0B4C81, #0369A1);
  border-bottom: 2px solid var(--amber);
}
.donor-table thead th:first-child { border-radius: 8px 0 0 0; }
.donor-table thead th:last-child { border-radius: 0 8px 0 0; }
.donor-table td { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; overflow: hidden; text-overflow: ellipsis; }
.donor-table tr:last-child td { border-bottom: 0; }
.donor-table tr.is-top .dt-amt { color: var(--good); font-weight: 700; }
.ta-r { text-align: right; }
.col-rank { width: 52px; }
.col-cls { width: 112px; }
.cls-tag { white-space: nowrap; }
.col-amt { width: 172px; white-space: nowrap; }
.col-kind { width: 152px; }
.col-st { width: 148px; white-space: nowrap; }
/* Bảng tài trợ có badge dài hơn ("Đã chuyển khoản cho trường") nên cần cột rộng hơn */
.donor-table--sponsor .col-st { width: 254px; }
/* Nhãn loại tài trợ: học bổng (xanh lá — về trường) · chương trình (vàng — kinh phí tổ chức) */
.kind-tag { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.kind-tag--hb { background: rgba(22,163,74,0.12); color: #15803D; }
.kind-tag--ct { background: rgba(245,158,11,0.15); color: var(--amber-deep); }
.sp-kind, .spf-kind { margin-top: 6px; }
.dt-item { white-space: normal; }
.dt-name { font-weight: 600; color: var(--ink); }
.dt-co { display: block; font-size: 12px; color: var(--ink-faint); font-weight: 400; }
.dt-amt { font-family: var(--mono); font-weight: 600; }
.dt-note { color: var(--ink-dim); font-size: 13px; }
.cls-tag { font-family: var(--mono); font-size: 11px; background: var(--cyan-soft); color: var(--cyan-deep); border-radius: 4px; padding: 2px 7px; }
.rank { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-family: var(--mono); font-size: 12px; font-weight: 700; background: rgba(11,34,64,0.06); color: var(--ink-dim); }
.rank--1 { background: linear-gradient(135deg,#FFD54A,#F59E0B); color: #4a2f00; }
.rank--2 { background: linear-gradient(135deg,#E2E8F0,#94A3B8); color: #1f2937; }
.rank--3 { background: linear-gradient(135deg,#F0B27A,#B4692F); color: #3b1f00; }
.donor-empty, .sponsor-empty, .gallery-empty { padding: 26px; text-align: center; color: var(--ink-faint); font-family: var(--mono); font-size: 13px; }

/* ---- Sponsors (Vàng / Bạc / Đồng: card gọn, căn giữa) ---- */
.sponsor-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.sponsor-grid > * { flex: 0 1 300px; max-width: 340px; }
.sponsor-card { display: block; overflow: hidden; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; color: inherit; }
.sponsor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--cyan); }
.sp-banner { position: relative; aspect-ratio: 16/9; background: var(--panel-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sp-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sponsor-card:hover .sp-banner img { transform: scale(1.04); }
.sp-noimg { font-family: var(--display); font-weight: 800; color: var(--ink-dim); font-size: 20px; text-align: center; padding: 12px; }
.sp-tier { position: absolute; top: 10px; left: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; background: var(--amber); color: #3b1f00; padding: 4px 10px; border-radius: 999px; z-index: 2; font-weight: 700; box-shadow: 0 6px 14px -6px rgba(0,0,0,0.4); }
.sp-tier--kc { background: linear-gradient(120deg, #BAE6FD, #E0F2FE); color: #06283D; }
.sp-tier--vang { background: linear-gradient(120deg, #FFD54A, #F59E0B); color: #4a2f00; }
.sp-tier--bac { background: linear-gradient(120deg, #E2E8F0, #94A3B8); color: #1f2937; }
.sp-tier--dong { background: linear-gradient(120deg, #F0B27A, #B4692F); color: #3b1f00; }
.sp-info { padding: 14px 16px; }
.sp-name { font-weight: 700; color: var(--ink); font-size: 16px; }
.sp-amt { font-family: var(--mono); font-size: 13px; color: var(--good); margin-top: 4px; font-weight: 600; }
.sp-note { color: var(--ink-dim); font-size: 13px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan-deep); margin-top: 8px; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 14px; }
.ph-item { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--panel); cursor: zoom-in; box-shadow: var(--shadow-sm); }
.ph-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.25s; }
.ph-item:hover img { transform: scale(1.05); }
.ph-item figcaption { padding: 9px 11px; display: flex; flex-direction: column; gap: 3px; }
.ph-cls { font-family: var(--mono); font-size: 11px; color: var(--cyan-deep); font-weight: 600; }
.ph-by { font-size: 12px; color: var(--ink-dim); }
.ph-cap { font-size: 12px; color: var(--ink-2); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,20,36,0.86); display: flex; align-items: center; justify-content: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox-fig { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox-fig img { max-width: 92vw; max-height: 80vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-fig figcaption { color: #cfe6f5; font-family: var(--mono); font-size: 13px; margin-top: 12px; }
.lightbox-close { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color 0.15s, border-color 0.15s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); border-color: #fff; }
.lightbox-nav--prev { left: 18px; }
.lightbox-nav--next { right: 18px; }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav--prev { left: 8px; }
  .lightbox-nav--next { right: 8px; }
}

/* ---- Thầy cô & Khách mời ---- */
.guest-group { margin-bottom: 30px; }
.guest-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 18px;
  max-width: 1230px; margin: 0 auto;
}
.guest-card {
  flex: 0 0 auto; width: 185px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 18px 12px 14px;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.guest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--cyan); }
.guest-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 10px; overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--line-strong), 0 8px 18px -8px rgba(3, 105, 161, 0.5);
  background: linear-gradient(135deg, #E6F2FB, #D7E8F5);
  display: grid; place-items: center;
}
.guest-avatar img { width: 100%; height: 100%; object-fit: cover; }
.guest-initials { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--cyan-deep); }
.guest-name { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.25; }
.guest-title { font-family: var(--mono); font-size: 11px; color: var(--cyan-deep); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.04em; }
.guest-org { font-size: 12px; color: var(--ink-dim); margin-top: 2px; }
.guest-card .st-badge { display: inline-block; margin-top: 8px; }
.guest-note { font-size: 12px; color: var(--ink-faint); font-style: italic; margin-top: 7px; line-height: 1.4; }
@media (max-width: 480px) { .guest-card { width: 46%; } .guest-avatar { width: 78px; height: 78px; } }

/* ---- Ban tổ chức ---- */
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.org-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.org-avatar {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep)); color: #fff;
  box-shadow: 0 8px 18px -8px rgba(3,105,161,0.6);
}
.org-avatar svg { width: 22px; height: 22px; }
.org-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.org-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-deep); }
.org-name { font-family: var(--display); font-weight: 700; font-size: 15.5px; color: var(--ink); word-break: break-word; }
.org-note { font-size: 13px; color: var(--ink-faint); font-style: italic; text-align: center; margin: 18px 0 0; }

/* ---- Perf: skip rendering/decoding off-screen media-heavy items ---- */
#memberGrid .card { content-visibility: auto; contain-intrinsic-size: auto 380px; }
.gallery-grid .ph-item { content-visibility: auto; contain-intrinsic-size: auto 240px; }
.sponsor-grid .sponsor-card { content-visibility: auto; contain-intrinsic-size: auto 300px; }

/* ---- Directory toolbar ---- */
.dir-toolbar { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dir-search { flex: 0 1 360px; }
.dir-filter {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px;
  background: var(--panel); color: var(--ink-dim);
  font-family: var(--mono); font-size: 12px; cursor: pointer; outline: none;
  max-width: 210px; box-shadow: var(--shadow-sm);
}
.dir-filter:focus-visible { border-color: var(--cyan); }
.opt-contact { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-dim); line-height: 1.5; }
.opt-contact input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan-deep); flex: 0 0 auto; }

@media (max-width: 720px) {
  /* Keep nav reachable on mobile: full-width horizontally scrollable row */
  .topnav {
    order: 4;
    flex: 1 0 100%;
    margin: 0;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .topnav::-webkit-scrollbar { display: none; }
  .fund-panel { flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 20px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .stat-card--soft { grid-column: 1 / -1; }
  .ps-col { padding: 14px 6px; }
  .ps-num { font-size: 20px; }
  .head-tools { width: 100%; }
  .head-tools .donor-search { flex: 1 1 auto; }
  .tl-item { grid-template-columns: 1fr; gap: 7px; }
  .hero-panel { padding: 18px 16px 20px; }
  .hero-cta .btn { min-width: 0; flex: 1; }
}
@media (max-width: 640px) {
  .sp-feature { aspect-ratio: 16 / 10; min-height: 200px; }
  .spf-info { left: 14px; right: 14px; bottom: 12px; }
  .spf-tier { top: 10px; left: 10px; font-size: 10.5px; padding: 5px 10px; }
  .sponsor-grid > * { flex-basis: 100%; max-width: 420px; }
}
@media (max-width: 440px) {
  .stat-cards { grid-template-columns: 1fr; }
  /* Fit all 4 countdown boxes on one row */
  .countdown { gap: 8px; }
  .cd-box { min-width: 0; flex: 1 1 0; padding: 10px 4px; }
  .cd-num { font-size: 24px; }
  .cd-lbl { font-size: 9.5px; letter-spacing: 0.08em; }
}

/* Panel tóm tắt 3 cột không đủ chỗ trên mobile → xếp dọc, gạch ngăn xoay ngang */
@media (max-width: 640px) {
  .pay-summary { flex-direction: column; }
  .pay-summary .ps-div { width: auto; height: 1px; margin: 0 28px; }
  .ps-col { padding: 15px 10px; }
}

/* Mobile donor table: keep #, name, loại tài trợ + amount visible (drop class/status/sponsor columns) */
@media (max-width: 640px) {
  .donor-table { table-layout: auto; }
  .donor-table th.col-cls, .donor-table td.col-cls,
  .donor-table th.col-tt, .donor-table td.col-tt,
  .donor-table th.col-st, .donor-table td.col-st { display: none; }
  .donor-table th, .donor-table td { padding: 12px 8px; }
  .col-amt, .col-kind { width: auto; }
  .kind-tag { font-size: 10px; padding: 3px 7px; }
  .dt-cls-m { display: block; }
}
/* Bảng tài trợ có thêm cột "Tài trợ cho" + badge dài → dồn Lớp xuống dưới tên sớm hơn
   để cột tên không bị bóp trên màn hình vừa (tablet / laptop nhỏ). */
@media (max-width: 1024px) {
  .donor-table--sponsor th.col-cls, .donor-table--sponsor td.col-cls { display: none; }
  .donor-table--sponsor .dt-cls-m { display: block; }
}
/* Lớp hiển thị dưới tên khi cột Lớp riêng bị ẩn */
.dt-cls-m { display: none; font-size: 11px; color: var(--cyan-deep); font-weight: 600; font-family: var(--mono); }

/* ---- Thầy cô & Khách mời dạng bảng (không ảnh) ---- */
.guest-tables-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.guest-table-center { max-width: 660px; margin: 0 auto; }
.guest-table th.gt-hon, .guest-table td.gt-hon { width: 92px; white-space: nowrap; }
.guest-table td.gt-hon { color: var(--cyan-deep); font-weight: 600; font-family: var(--mono); font-size: 13px; }
.guest-table td.gt-name { font-weight: 600; color: var(--ink); }
.guest-table td.gt-role { color: var(--ink-dim); font-size: 13.5px; }
.gt-dim { color: var(--ink-faint); }
.guest-group + .guest-group { margin-top: 30px; }
@media (max-width: 720px) {
  .guest-tables-pair { grid-template-columns: 1fr; gap: 14px; }
}

/* ---- Sort bằng cách bấm header bảng danh sách tham dự ---- */
.th-sort { cursor: pointer; user-select: none; }
.th-sort::after { content: ' ⇅'; opacity: 0.4; font-size: 10px; }
.th-sort.is-asc::after { content: ' ▲'; opacity: 1; }
.th-sort.is-desc::after { content: ' ▼'; opacity: 1; }
.th-sort:hover { filter: brightness(1.2); }
