/**
 * MỤC ĐÍCH: Trang danh sách giải đấu theo mockup `tournaments` (17/10/2026).
 * PHỤ THUỘC: tokens.css (Barlow Condensed cho tiêu đề — như mockup) · site.css (.vbf-crumbs, .vbf-btn-red).
 * ADMIN SỬA ĐƯỢC: không.
 * MỞ RỘNG: không.
 * GỠ AN TOÀN: gỡ cùng templates/tournaments.php.
 */

.vbf-tour { background: #f3f4f7; font-family: var(--vbf-font-ui); color: #1c202b; }

/* Đầu trang */
.vbf-touh { position: relative; overflow: hidden; isolation: isolate; background: #12050a; color: #fff; }
.vbf-touh__bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.vbf-touh__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(14, 4, 8, .95) 0%, rgba(40, 6, 12, .8) 45%, rgba(120, 10, 18, .45) 100%), radial-gradient(60% 80% at 85% 30%, rgba(225, 29, 38, .35), transparent 70%); }
.vbf-touh__in { max-width: var(--vbf-max); margin: 0 auto; padding: calc(var(--vbf-head-h) + 24px) var(--vbf-gutter) 118px; box-sizing: content-box; }
.vbf-touh .vbf-crumbs a, .vbf-touh .vbf-crumbs span { color: rgba(255, 255, 255, .78); }
.vbf-touh__title { margin: 34px 0 0; color: #fff; font: 800 clamp(36px, 4.6vw, 64px)/1 var(--vbf-font-cond); text-transform: uppercase; letter-spacing: .01em; }
.vbf-touh__lead { margin-top: 14px; font-size: 15.5px; color: rgba(255, 255, 255, .86); }
.vbf-touh__stats { display: inline-flex; flex-wrap: wrap; gap: 18px 0; margin-top: 30px; padding: 18px 8px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .04); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vbf-touh__stat { display: flex; align-items: center; gap: 14px; padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .12); }
.vbf-touh__stat:first-child { border-left: 0; }
.vbf-touh__ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(225, 29, 38, .32); color: #fff; font-size: 21px; }
.vbf-touh__stat strong { display: block; font: 700 27px/1 var(--vbf-font-cond); font-variant-numeric: tabular-nums; }
.vbf-touh__stat small { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .8); }
@media (max-width: 760px) { .vbf-touh__stat { padding: 0 14px; } .vbf-touh__stat:nth-child(3) { border-left: 0; } }

/* Thân + thanh lọc nổi đè mép đầu trang */
.vbf-tour__body { max-width: var(--vbf-max); margin: -70px auto 0; padding: 0 var(--vbf-gutter) 40px; box-sizing: content-box; position: relative; }
.vbf-tf { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; padding: 20px 22px; border-radius: 12px; background: #fff; box-shadow: 0 10px 34px rgba(15, 20, 35, .1); }
.vbf-tf__field { display: flex; flex-direction: column; gap: 7px; min-width: 150px; }
.vbf-tf__field label { font-size: 12.5px; color: #4b5260; }
.vbf-tf__field--q { flex: 1 1 240px; }
.vbf-tf__sel { position: relative; display: block; }
.vbf-tf__sel select, .vbf-tf__search input { width: 100%; height: 42px; box-sizing: border-box; padding: 0 36px 0 14px; border: 1px solid #e2e5ea; border-radius: 8px; background: #fff; font: 500 14px/1 var(--vbf-font-ui); color: #1c202b; appearance: none; }
.vbf-tf__sel .vbf-ico { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #6b7280; }
.vbf-tf__search { position: relative; display: block; }
.vbf-tf__search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: 6px; background: none; color: #4b5260; cursor: pointer; }
.vbf-tf__search button:hover { color: #e01b24; }
.vbf-tf select:focus, .vbf-tf input:focus { outline: none; border-color: #e01b24; box-shadow: 0 0 0 3px rgba(225, 29, 38, .12); }
.vbf-tf__reset { display: inline-flex; align-items: center; gap: 7px; height: 42px; font-size: 13.5px; color: #4b5260; }
.vbf-tf__reset:hover { color: #e01b24; }
.vbf-tf__sort { display: flex; align-items: center; gap: 6px; margin-left: auto; height: 42px; font-size: 13.5px; color: #4b5260; }
.vbf-tf__sel--bare select { height: auto; padding: 4px 24px 4px 4px; border: 0; font-weight: 700; background: none; }
.vbf-tf__sel--bare .vbf-ico { right: 2px; }

/* Thẻ giải */
.vbf-tlist { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.vbf-tcard { display: grid; grid-template-columns: 150px minmax(0, 1.15fr) minmax(0, 1fr) 190px; align-items: center; gap: 22px 28px; padding: 22px 26px; border-radius: 12px; background: #fff; box-shadow: 0 4px 18px rgba(15, 20, 35, .05); transition: transform .25s ease, box-shadow .25s ease; }
.vbf-tcard:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 20, 35, .1); }
.vbf-tcard__logo { width: 130px; height: 130px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; color: #e01b24; font-size: 52px; background: #fdf0f1; }
.vbf-tcard__logo:has(img) { background: none; }
.vbf-tcard__logo img { width: 100%; height: 100%; object-fit: contain; }
.vbf-tcard__kick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 700 11.5px/1 var(--vbf-font-head); letter-spacing: .08em; color: #e01b24; }
.vbf-tcard__state { padding: 4px 8px; border-radius: 999px; font-size: 10.5px; letter-spacing: .04em; }
.vbf-tcard__state.is-soon { background: #fff4e5; color: #b45309; }
.vbf-tcard__state.is-live { background: #e7f7ee; color: #15803d; }
.vbf-tcard__state.is-done { background: #f1f2f5; color: #6b7280; }
.vbf-tcard__title { margin: 8px 0 12px; font: 700 clamp(19px, 1.7vw, 23px)/1.2 var(--vbf-font-cond); letter-spacing: .005em; }
.vbf-tcard__title a { color: #111318; }
.vbf-tcard__title a:hover { color: #e01b24; }
.vbf-tcard__meta { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #2b303b; }
.vbf-tcard__meta li { display: flex; align-items: center; gap: 9px; }
.vbf-tcard__meta .vbf-ico { flex: none; font-size: 15px; color: #4b5260; }
.vbf-tcard__meta a { color: inherit; text-decoration: underline; text-decoration-color: rgba(225, 29, 38, .35); text-underline-offset: 3px; }
.vbf-tcard__desc { margin: 0; font-size: 14px; line-height: 1.65; color: #4b5260; }
.vbf-tcard__acts { display: flex; flex-direction: column; gap: 10px; }
.vbf-tcard__go { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-radius: 8px; background: #e01b24; color: #fff; font: 700 14px/1 var(--vbf-font-ui); transition: background .2s ease, gap .2s ease; }
.vbf-tcard__go:hover { background: #c3121b; color: #fff; }
.vbf-tcard__cal { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border: 1px solid #e2e5ea; border-radius: 8px; color: #111318; transition: border-color .2s ease; }
.vbf-tcard__cal:hover { border-color: #e01b24; }
.vbf-tcard__cal strong { display: block; font-size: 13.5px; }
.vbf-tcard__cal small { display: block; font-size: 12px; color: #4b5260; }
.vbf-tcard__calico { position: relative; width: 26px; height: 28px; flex: none; border-radius: 5px; background: #fff; border: 2px solid #4285f4; box-sizing: border-box; display: grid; place-items: center; }
.vbf-tcard__calico::before { content: ""; position: absolute; left: -2px; right: -2px; top: -2px; height: 8px; border-radius: 5px 5px 0 0; background: #4285f4; }
.vbf-tcard__calico b { margin-top: 6px; font: 700 10px/1 var(--vbf-font-ui); color: #1a73e8; }
@media (max-width: 1179px) {
	.vbf-tcard { grid-template-columns: 110px minmax(0, 1fr); }
	.vbf-tcard__logo { width: 100px; height: 100px; }
	.vbf-tcard__desc, .vbf-tcard__acts { grid-column: 1 / -1; }
	.vbf-tcard__acts { flex-direction: row; flex-wrap: wrap; }
	.vbf-tcard__go, .vbf-tcard__cal { flex: 1 1 200px; }
}
@media (max-width: 560px) { .vbf-tcard { grid-template-columns: 1fr; } .vbf-tcard__logo { width: 84px; height: 84px; } }

/* Phân trang */
.vbf-tpages { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.vbf-tpages .page-numbers { min-width: 36px; height: 36px; padding: 0 8px; box-sizing: border-box; display: inline-grid; place-items: center; border: 1px solid #e2e5ea; border-radius: 6px; background: #fff; font-size: 14px; color: #1c202b; }
.vbf-tpages .page-numbers.current { background: #e01b24; border-color: #e01b24; color: #fff; font-weight: 700; }
.vbf-tpages a.page-numbers:hover { border-color: #e01b24; color: #e01b24; }
.vbf-tlist__empty { margin-top: 24px; padding: 28px; border-radius: 12px; background: #fff; text-align: center; color: #4b5260; }
.vbf-tlist__empty a { color: #e01b24; font-weight: 600; }

/* Dải kêu gọi đè lên chân trang */
.vbf-tour + .vbf-footer, .vbf-tour ~ .vbf-footer { padding-top: 40px; }

/* Đầu trang Giải đấu (chủ site 18/10/2026: ảnh bìa mới, "bỏ hết text chỉ giữ Các giải đấu màu đỏ… giữ các box thống kê, hiển thị nổi bật trên nền cover mới").
   Ảnh hiện trọn chiều cao, màu thật; tiêu đề đỏ lấy từ ảnh (#e02020) đặt giữa vùng trời kem trống (bố cục ảnh đối xứng, điểm tụ ở giữa);
   thẻ thống kê nền xanh đêm (= màu bóng người trong ảnh) nằm giữa, đè lên mép dưới ảnh ⇒ nổi bật mà không che người chơi. */
.vbf-touh { overflow: visible; background: #fbf7ee; color: #fff; }
.vbf-touh__bg { position: relative; z-index: 0; inset: auto; display: block; width: 100%; height: auto; object-fit: contain; opacity: 1; }
.vbf-touh__in { position: absolute; z-index: 2; inset: 0; max-width: none; margin: 0; padding: 0 var(--vbf-gutter); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.vbf-touh__title { margin: calc(var(--vbf-head-h) + clamp(6px, 2.2vw, 40px)) 0 0; color: #e02020; font: 900 clamp(26px, 4.4vw, 64px)/1 var(--vbf-font); text-align: center; text-shadow: none; }
.vbf-touh__stats { pointer-events: auto; position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); display: flex; flex-wrap: nowrap; margin: 0; padding: 14px 6px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
	background: linear-gradient(180deg, #172741, #101c2e); box-shadow: 0 22px 44px -16px rgba(10, 18, 32, .65); -webkit-backdrop-filter: none; backdrop-filter: none; white-space: nowrap; }
.vbf-touh__stat { padding: 0 clamp(14px, 2vw, 28px); }
.vbf-touh__ico { background: #e01b24; box-shadow: 0 6px 16px rgba(225, 29, 38, .4); }
.vbf-touh__stat strong { font-family: var(--vbf-font); font-weight: 800; color: #fff; }
.vbf-touh__stat small { color: #96a3b5; }
.vbf-tour__body { margin-top: 0; padding-top: clamp(64px, 6vw, 84px); }
@media (max-width: 760px) {
	.vbf-touh__stats { position: static; transform: none; margin: 14px auto 0; flex-wrap: wrap; justify-content: center; row-gap: 14px; }
	.vbf-touh__in { position: static; padding-bottom: 0; }
	.vbf-touh__title { position: absolute; top: 0; left: 0; right: 0; }
	.vbf-tour__body { padding-top: 24px; }
}

/* Hết ô số trong hero (18/10/2026) ⇒ thân trang không cần chừa chỗ cho thẻ đè mép ảnh. */
.vbf-tour__body { padding-top: clamp(20px, 2.4vw, 32px); }
/* "Sắp xếp: Mới nhất" lệch dòng chữ (chủ site 28/10/2026): bỏ margin chung của label, căn cùng tâm với ô chọn. */
.vbf-tf__sort label { margin: 0; padding: 0; line-height: 1; font-size: 13.5px; }
.vbf-tf__sort .vbf-tf__sel--bare { display: inline-flex; align-items: center; }
.vbf-tf__sort .vbf-tf__sel--bare select { height: 42px; line-height: 42px; padding: 0 22px 0 2px; font-size: 13.5px; }
/* Hero Giải đấu — ảnh cac-giai-dau-bong-ro-VBF.webp (chủ site 28/10/2026): cúp giữa, cờ VBF phải ⇒ chữ góc dưới TRÁI, trắng, lớp tối từ trái; cỡ chữ cùng thang hero Điều khoản. */
.vbf-touh { background: #0b0507; }
.vbf-touh::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(8, 4, 6, .88) 0, rgba(8, 4, 6, .62) 30%, rgba(8, 4, 6, .12) 55%, rgba(8, 4, 6, 0) 70%), linear-gradient(0deg, rgba(8, 4, 6, .55) 0, rgba(8, 4, 6, 0) 40%); }
.vbf-touh__in { align-items: flex-start !important; justify-content: flex-end; max-width: var(--vbf-max) !important; margin: 0 auto !important; left: 0; right: 0; padding: 0 var(--vbf-gutter) clamp(56px, 6vw, 92px) !important; box-sizing: border-box; pointer-events: auto; }
.vbf-touh__crumbs { margin: 0; }
.vbf-touh__title { position: relative !important; margin: 12px 0 0 !important; padding-bottom: 12px; color: #fff !important; font: 900 clamp(26px, 2.8vw, 40px)/1.3 var(--vbf-font) !important; text-align: left !important; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0, 0, 0, .45) !important; }
.vbf-touh__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: #e01b24; }
.vbf-touh__sub { margin: 12px 0 0; font: 500 clamp(13px, 1.2vw, 16px)/1.2 var(--vbf-font); letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.vbf-touh__lead { max-width: 520px; margin: 10px 0 0 !important; font: 400 14.5px/1.55 var(--vbf-font) !important; color: rgba(255, 255, 255, .82) !important; }
@media (max-width: 760px) {
	.vbf-touh__bg { height: 340px !important; object-fit: cover !important; object-position: 58% 50%; }
	.vbf-touh::after { background: linear-gradient(0deg, rgba(8, 4, 6, .92) 0, rgba(8, 4, 6, .55) 55%, rgba(8, 4, 6, .2) 100%); }
	.vbf-touh__in { position: absolute !important; inset: 0 !important; padding-bottom: 26px !important; }
	.vbf-touh__title { position: relative !important; top: auto !important; font-size: 24px !important; }
	.vbf-touh__lead { font-size: 13.5px !important; }
}
.vbf-touh__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 13px/1.3 var(--vbf-font); color: rgba(255, 255, 255, .78); }
.vbf-touh__crumbs a { color: inherit; } .vbf-touh__crumbs a:hover { color: #fff; }

/* ══ VÉ GIẢI ĐẤU (01/11/2026, khách: "style ticket vé, giống vé ở hero trang chủ"): cuống ngày đỏ (đã kết thúc: navy) mép răng cưa ·
   thân vé trắng · cột phải đếm ngược số đỏ lớn / huy hiệu trạng thái + nút đỏ. Không vạch kẻ (Gout.md): tách bằng khối màu. ══ */
.vbf-tkts { display: flex; flex-direction: column; gap: 16px; }
.vbf-tkt { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr) 210px; align-items: stretch; min-height: 150px; overflow: hidden;
	border-radius: 18px; background: #fff; box-shadow: 0 22px 44px -30px rgba(15, 23, 41, .45), 0 0 0 1px rgba(15, 23, 41, .05); transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease; }
.vbf-tkt:hover { transform: translateY(-3px); box-shadow: 0 30px 56px -30px rgba(15, 23, 41, .55), 0 0 0 1px rgba(15, 23, 41, .06); }
.vbf-tkt__stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; text-align: center;
	background: linear-gradient(150deg, #f5262f 0%, #c8121a 55%, #8c0d14 100%); }
.vbf-tkt__stub::after { content: ""; position: absolute; top: 0; bottom: 0; right: -7px; width: 14px; background: radial-gradient(circle at 7px 9px, #f4f5f7 5px, transparent 5.5px) 0 0 / 14px 18px repeat-y; }
.vbf-tkt__stub b { font: 900 46px/1 var(--vbf-font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.vbf-tkt__stub span { font: 800 13px/1.2 var(--vbf-font); letter-spacing: .16em; }
.vbf-tkt__stub small { font: 600 11px/1 var(--vbf-font); letter-spacing: .2em; opacity: .75; }
.vbf-tkt.is-done .vbf-tkt__stub, .vbf-tkt.is-none .vbf-tkt__stub { background: linear-gradient(150deg, #2a3348, #0f1729); }
.vbf-tkt__main { min-width: 0; padding: 22px 26px 22px 34px; }
.vbf-tkt__kick { margin: 0; font: 700 10.5px/1 var(--vbf-font); letter-spacing: .18em; text-transform: uppercase; color: #e11d26; }
.vbf-tkt.is-done .vbf-tkt__kick { color: #8a8f98; }
.vbf-tkt__title { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; font: 800 clamp(17px, 1.5vw, 20px)/1.3 var(--vbf-font); color: #0f1729; letter-spacing: -.01em; text-transform: none; }
.vbf-tkt__title a { color: inherit; text-decoration: none; transition: color .25s ease; }
.vbf-tkt__title a:hover { color: #b3121a; }
.vbf-tkt__logo { flex: none; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: #f4f5f7; }
.vbf-tkt__logo img { width: 100%; height: 100%; object-fit: contain; }
.vbf-tkt__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: #4b5563; }
.vbf-tkt__meta li { display: inline-flex; align-items: center; gap: 6px; }
.vbf-tkt__meta .vbf-ico { font-size: 14px; color: #9ca3af; }
.vbf-tkt__meta a { color: inherit; }
.vbf-tkt__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: #6b7280; }
.vbf-tkt__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 14px; padding: 20px 22px; background: #f8f8f6; }
.vbf-tkt__count { display: flex; flex-direction: column; align-items: flex-end; margin: 0; }
.vbf-tkt__count b { font: 900 46px/.9 var(--vbf-font); letter-spacing: -.04em; color: #e11d26; font-variant-numeric: tabular-nums; }
.vbf-tkt__count span { margin-top: 6px; font: 700 10px/1 var(--vbf-font); letter-spacing: .18em; text-transform: uppercase; color: #9ca3af; }
.vbf-tkt__badge { margin: 0; padding: 7px 12px; border-radius: 999px; background: #eceef1; font: 700 10.5px/1 var(--vbf-font); letter-spacing: .14em; text-transform: uppercase; color: #6b7280; }
.vbf-tkt__badge.is-live { background: #fdecec; color: #e11d26; }
.vbf-tkt__badge.is-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
@media (prefers-reduced-motion: no-preference) { .vbf-tkt__badge.is-live::before { animation: vbf-live 1.4s ease-in-out infinite; } @keyframes vbf-live { 50% { opacity: .25; } } }
.vbf-tkt__acts { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.vbf-tkt__go { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #e11d26; color: #fff; font: 700 11px/1 var(--vbf-font); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 22px -10px rgba(225, 29, 38, .8); transition: background .25s ease; }
.vbf-tkt__go:hover { background: #0f1729; color: #fff; }
.vbf-tkt__cal { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #6b7280; text-decoration: none; }
.vbf-tkt__cal:hover { color: #e11d26; }
@media (max-width: 900px) {
	.vbf-tkt { grid-template-columns: 96px minmax(0, 1fr); }
	.vbf-tkt__stub b { font-size: 36px; }
	.vbf-tkt__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 18px; }
	.vbf-tkt__count { flex-direction: row; align-items: baseline; gap: 8px; }
	.vbf-tkt__count b { font-size: 30px; }
	.vbf-tkt__acts { flex-direction: row; align-items: center; gap: 14px; }
}
@media (max-width: 560px) { .vbf-tkt__main { padding: 16px 16px 16px 24px; } .vbf-tkt__desc { display: none; } .vbf-tkt__acts .vbf-tkt__cal { display: none; } }

/* ══ CHI TIẾT GIẢI — VÉ ĐẦU TRANG + THÔNG TIN GIẢI (01/11/2026, khách: "dữ liệu dạng cấu trúc, trường dùng chung mọi giải, cảm hứng ticket vé").
   Nền đầu trang sáng; vé: cuống đỏ (ngày · tháng · năm · trạng thái) | thân trắng (thẻ · logo + tên · đơn vị tổ chức · tác vụ) |
   cuống phải nền giấy (đếm ngược · mã giải như số vé), hai mép răng cưa. Thông tin giải = lưới ô nền nhạt, không vạch kẻ. ══ */
.vbf-mxtour .vbf-mxpfh { background: #f1f2f4; padding-bottom: clamp(26px, 3vw, 40px); }
.vbf-mxtour .vbf-mxpfh::before, .vbf-mxtour .vbf-mxpfh::after { display: none; }
.vbf-mxtour .vbf-crumbs, .vbf-mxtour .vbf-crumbs a { color: #6b7280; }
.vbf-mxtour .vbf-crumbs [aria-current] { color: #0f1729; }
.vbf-tpass { --bg: #f1f2f4; position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) 230px; margin-top: 18px; min-height: 230px; border-radius: 22px; overflow: hidden;
	background: #fff; box-shadow: 0 34px 70px -40px rgba(15, 23, 41, .55), 0 0 0 1px rgba(15, 23, 41, .05); }
.vbf-tpass__stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 20px 10px; color: #fff; text-align: center;
	background: linear-gradient(150deg, #f5262f 0%, #c8121a 55%, #8c0d14 100%); }
.vbf-tpass.is-done .vbf-tpass__stub, .vbf-tpass.is-none .vbf-tpass__stub { background: linear-gradient(150deg, #2a3348, #0f1729); }
.vbf-tpass__stub::after, .vbf-tpass__side::before { content: ""; position: absolute; top: 0; bottom: 0; width: 16px; background: radial-gradient(circle at 8px 10px, var(--bg) 6px, transparent 6.5px) 0 0 / 16px 20px repeat-y; }
.vbf-tpass__stub::after { right: -8px; }
.vbf-tpass__side::before { left: -8px; }
.vbf-tpass__stub b { font: 900 64px/1 var(--vbf-font); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.vbf-tpass__stub span { font: 800 13px/1.2 var(--vbf-font); letter-spacing: .14em; text-transform: uppercase; }
.vbf-tpass__stub small { font: 600 12px/1 var(--vbf-font); letter-spacing: .22em; opacity: .75; }
.vbf-tpass__stub em { margin-top: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); font: 700 10px/1 var(--vbf-font); font-style: normal; letter-spacing: .14em; text-transform: uppercase; }
.vbf-tpass__main { min-width: 0; padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 40px); }
.vbf-tpass__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vbf-tpass__tags span { padding: 6px 11px; border-radius: 999px; background: #fdecec; font: 700 10.5px/1 var(--vbf-font); letter-spacing: .14em; text-transform: uppercase; color: #c8121a; }
.vbf-tpass__tags span + span { background: #f1f2f4; color: #4b5563; }
.vbf-tpass__head { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.vbf-tpass__logo { flex: none; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: #f4f5f7; }
.vbf-tpass__logo img { width: 100%; height: 100%; object-fit: contain; }
.vbf-tpass h1 { margin: 0; font: 900 clamp(22px, 2.4vw, 34px)/1.15 var(--vbf-font); letter-spacing: -.02em; color: #0f1729; text-transform: none; }
.vbf-tpass__org { margin: 10px 0 0; font-size: 13.5px; color: #6b7280; }
.vbf-tpass__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.vbf-tpass__acts a, .vbf-tpass__acts button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: #f1f2f4; color: #0f1729; font: 600 12.5px/1 var(--vbf-font); text-decoration: none; cursor: pointer; transition: background .25s ease, color .25s ease; }
.vbf-tpass__acts button, .vbf-tpass__acts a[aria-label] { width: 38px; padding: 0; justify-content: center; }
.vbf-tpass__acts a:hover, .vbf-tpass__acts button:hover { background: #0f1729; color: #fff; }
.vbf-tpass__acts a.is-main { background: #e11d26; color: #fff; box-shadow: 0 10px 22px -10px rgba(225, 29, 38, .8); }
.vbf-tpass__acts a.is-main:hover { background: #0f1729; }
.vbf-tpass__side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 22px; background: #f8f7f4; text-align: center; }
.vbf-tpass__count { display: flex; flex-direction: column; align-items: center; margin: 0; }
.vbf-tpass__count b { font: 900 64px/.9 var(--vbf-font); letter-spacing: -.05em; color: #e11d26; font-variant-numeric: tabular-nums; }
.vbf-tpass__count span { margin-top: 8px; font: 700 10.5px/1 var(--vbf-font); letter-spacing: .2em; text-transform: uppercase; color: #9ca3af; }
.vbf-tpass__badge { margin: 0; padding: 8px 14px; border-radius: 999px; background: #eceef1; font: 700 11px/1 var(--vbf-font); letter-spacing: .14em; text-transform: uppercase; color: #6b7280; }
.vbf-tpass__badge.is-live { background: #fdecec; color: #e11d26; }
.vbf-tpass__no { display: flex; flex-direction: column; gap: 5px; padding: 0; border: 0; background: none; font: 700 13px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; color: #0f1729; cursor: pointer; }
.vbf-tpass__no small { font: 700 9.5px/1 var(--vbf-font); letter-spacing: .22em; text-transform: uppercase; color: #9ca3af; }
.vbf-tpass__no:hover { color: #e11d26; }
/* Thông tin giải: ô dữ liệu kiểu trường in trên vé */
.vbf-tinfo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 8px; }
.vbf-tinfo > div { padding: 14px 16px; border-radius: 12px; background: #f6f6f4; min-width: 0; }
.vbf-tinfo dt { display: flex; align-items: center; gap: 6px; margin: 0; font: 700 10px/1.2 var(--vbf-font); letter-spacing: .14em; text-transform: uppercase; color: #9ca3af; }
.vbf-tinfo dt .vbf-ico { font-size: 13px; color: #e11d26; }
.vbf-tinfo dd { margin: 8px 0 0; font: 700 14px/1.35 var(--vbf-font); color: #0f1729; overflow-wrap: anywhere; }
.vbf-tinfo dd a { color: #c8121a; }
.vbf-tinfo dd .is-none { font-weight: 500; color: #b4b8bf; }
.vbf-tinfo__next { margin-top: 26px; }
@media (max-width: 1119px) { .vbf-tinfo { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.vbf-tpass { grid-template-columns: 110px minmax(0, 1fr); }
	.vbf-tpass__stub b { font-size: 46px; }
	.vbf-tpass__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; padding: 16px 20px; }
	.vbf-tpass__side::before { display: none; }
	.vbf-tpass__count { flex-direction: row; align-items: baseline; gap: 8px; } .vbf-tpass__count b { font-size: 36px; }
	.vbf-tpass__logo { width: 52px; height: 52px; }
	.vbf-tinfo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* đè màu chữ trắng của đầu trang hồ sơ tối (profile.css) */
.vbf-mxtour .vbf-mxpfh .vbf-tpass h1 { color: #0f1729 !important; text-shadow: none !important; }
.vbf-mxtour .vbf-mxpfh .vbf-crumbs, .vbf-mxtour .vbf-mxpfh .vbf-crumbs a, .vbf-mxtour .vbf-mxpfh .vbf-crumbs span { color: #6b7280 !important; }
.vbf-mxtour .vbf-mxpfh .vbf-crumbs [aria-current] { color: #0f1729 !important; }

/* ══ Tổng quan giải 2 CỘT (01/11/2026): trái = giới thiệu + thể lệ · phải = CUỐNG VÉ "Thông tin giải" dính khi cuộn.
   Cuống: đầu đỏ (nhãn · khoảng ngày lớn · trạng thái) mép dưới răng cưa · các dòng nhãn nhỏ in hoa | giá trị đậm, nền xen kẽ (không vạch) · đáy mã giải chữ đơn cách. ══ */
.vbf-tov { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(26px, 3.4vw, 52px); align-items: start; }
.vbf-tov__intro .vbf-prose { max-width: none; }
.vbf-tov__intro .vbf-prose p { max-width: 68ch; }
.vbf-tcard2 { position: sticky; top: calc(var(--vbf-head-h, 80px) + 70px); overflow: hidden; border-radius: 18px; background: #fff;
	box-shadow: 0 30px 60px -36px rgba(15, 23, 41, .5), 0 0 0 1px rgba(15, 23, 41, .06); }
.vbf-tcard2__top { position: relative; padding: 22px 24px 26px; color: #fff; background: linear-gradient(150deg, #f5262f 0%, #c8121a 55%, #8c0d14 100%); }
.vbf-mxtour .is-done .vbf-tcard2__top { background: linear-gradient(150deg, #2a3348, #0f1729); }
.vbf-tcard2__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 14px; background: radial-gradient(circle at 9px 7px, #fff 5px, transparent 5.5px) 0 0 / 18px 14px repeat-x; }
.vbf-tcard2__k { margin: 0; font: 700 10.5px/1 var(--vbf-font); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.vbf-tcard2__dates { margin: 10px 0 0; font: 900 24px/1.15 var(--vbf-font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vbf-tcard2__state { display: inline-block; margin: 12px 0 0; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); font: 700 10px/1 var(--vbf-font); letter-spacing: .14em; text-transform: uppercase; }
.vbf-tcard2 .vbf-tinfo { display: block; margin: 0; padding: 14px 10px 6px; }
.vbf-tcard2 .vbf-tinfo > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 10px; background: none; }
.vbf-tcard2 .vbf-tinfo > div:nth-child(odd) { background: #f7f7f5; }
.vbf-tcard2 .vbf-tinfo dt { font-size: 9.5px; letter-spacing: .16em; }
.vbf-tcard2 .vbf-tinfo dd { margin: 0; font-size: 13.5px; text-align: right; }
.vbf-tcard2__no { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: calc(100% - 20px); margin: 4px 10px 14px; padding: 14px; border: 0; border-radius: 12px; background: #0f1729; color: #fff; cursor: pointer; text-align: left; transition: background .25s ease; }
.vbf-tcard2__no small { font: 700 9.5px/1 var(--vbf-font); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.vbf-tcard2__no span { flex: 1; font: 700 15px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .1em; }
.vbf-tcard2__no .vbf-ico { color: #ff6b71; }
.vbf-tcard2__no:hover { background: #e11d26; }
.vbf-tinfo__next { display: none; }
@media (max-width: 1023px) { .vbf-tov { grid-template-columns: 1fr; } .vbf-tcard2 { position: static; order: -1; } }
.vbf-tcard2.is-done .vbf-tcard2__top, .vbf-tcard2.is-none .vbf-tcard2__top { background: linear-gradient(150deg, #2a3348, #0f1729); }
.vbf-tcard2 .vbf-tinfo > div { grid-template-columns: auto minmax(0, 1fr); }
.vbf-tcard2 .vbf-tinfo dt { white-space: nowrap; }
.vbf-tcard2__no span { white-space: nowrap; font-size: 14px; letter-spacing: .06em; }
.vbf-tov__intro .vbf-prose p, .vbf-tov__intro .vbf-prose li, .vbf-tov__intro .vbf-mxpf__prose { max-width: none !important; }

/* ══ Chi tiết giải — BỐ CỤC LẠI (01/11/2026, khách: "layout ngang dọc hơi nát, thông minh hơn, có value cho user"):
   vé = MỌI thông tin chính (cuống ngày · thẻ · tên · 4 ô in như vé · cuống phải đếm ngược + tác vụ dọc) · thân = giới thiệu | bản đồ nhà thi đấu. ══ */
.vbf-tpass { grid-template-columns: 170px minmax(0, 1fr) 250px; }
.vbf-tpass__stub small { margin-top: 6px; font: 600 11px/1.3 var(--vbf-font); letter-spacing: .06em; text-transform: none; opacity: .85; }
.vbf-tpass__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; }
.vbf-tpass__fields > div { min-width: 0; padding: 12px 14px; border-radius: 12px; background: #f6f6f4; }
.vbf-tpass__fields dt { margin: 0; font: 700 9.5px/1.2 var(--vbf-font); letter-spacing: .16em; text-transform: uppercase; color: #9ca3af; }
.vbf-tpass__fields dd { margin: 7px 0 0; font: 700 13.5px/1.35 var(--vbf-font); color: #0f1729; overflow-wrap: anywhere; }
.vbf-tpass__fields dd a { color: #c8121a; text-decoration: none; }
.vbf-tpass__fields dd a:hover { text-decoration: underline; }
.vbf-tpass__fields .is-none { font-weight: 500; color: #b4b8bf; }
.vbf-tpass__side { justify-content: space-between; gap: 18px; padding: 26px 22px; }
.vbf-tpass__side .vbf-tpass__acts { flex-direction: column; align-items: stretch; width: 100%; margin: auto 0 0; gap: 8px; }
.vbf-tpass__side .vbf-tpass__acts a:not([aria-label]) { justify-content: center; min-height: 42px; }
.vbf-tpass__side .vbf-tpass__acts button, .vbf-tpass__side .vbf-tpass__acts a[aria-label] { display: none; } /* (hiện lại ngay dưới, xem khối kế) */
.vbf-tpass__count { margin-top: 4px; }
/* thân: giới thiệu | bản đồ */
.vbf-tov { grid-template-columns: minmax(0, 1fr) 380px; }
.vbf-tmap { position: sticky; top: calc(var(--vbf-head-h, 80px) + 24px); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 26px 56px -36px rgba(15, 23, 41, .5), 0 0 0 1px rgba(15, 23, 41, .06); }
.vbf-tmap__frame { aspect-ratio: 4 / 3; background: #eef0f3; }
.vbf-tmap__frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.vbf-tmap__b { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 16px 18px 18px; }
.vbf-tmap__k { margin: 0; font: 700 9.5px/1 var(--vbf-font); letter-spacing: .18em; text-transform: uppercase; color: #9ca3af; }
.vbf-tmap__n { grid-column: 1; margin: 0; font: 800 15px/1.3 var(--vbf-font); color: #0f1729; }
.vbf-tmap__go { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: #0f1729; color: #fff; font: 700 11px/1 var(--vbf-font); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.vbf-tmap__go:hover { background: #e11d26; color: #fff; }
@media (max-width: 1119px) { .vbf-tpass__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .vbf-tov { grid-template-columns: 1fr; } .vbf-tmap { position: static; } }
@media (max-width: 900px) { .vbf-tpass { grid-template-columns: 110px minmax(0, 1fr); } .vbf-tpass__side .vbf-tpass__acts { flex-direction: row; width: auto; margin: 0; } }
.vbf-tpass__side .vbf-tpass__acts { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.vbf-tpass__side .vbf-tpass__acts a:not([aria-label]) { flex: 1 1 100%; }
.vbf-tpass__side .vbf-tpass__acts button, .vbf-tpass__side .vbf-tpass__acts a[aria-label] { display: inline-flex; width: 38px; background: transparent; color: #6b7280; }
.vbf-tmap__b { display: block; padding: 12px; } .vbf-tmap__go { display: flex; justify-content: center; padding: 13px; } /* tên nhà thi đấu đã ở ô Địa điểm trên vé */

/* Điều lệ & thể lệ: mục riêng rộng hết cột (01/11/2026). Thẻ tài liệu nền nhạt: biểu tượng tệp + đuôi tệp · tên · Xem (đỏ) · Tải về. */
.vbf-tpass__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vbf-trules { margin-top: 34px; }
.vbf-trules__doc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #f6f6f4; }
.vbf-trules__ico { position: relative; display: grid; place-items: center; width: 46px; height: 54px; border-radius: 8px; background: #fff; color: #e11d26; font-size: 22px; box-shadow: 0 6px 14px -8px rgba(15, 23, 41, .4); }
.vbf-trules__ico b { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 2px 6px; border-radius: 4px; background: #e11d26; color: #fff; font: 800 8.5px/1.2 var(--vbf-font); letter-spacing: .08em; }
.vbf-trules__name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vbf-trules__name strong { font: 800 15px/1.3 var(--vbf-font); color: #0f1729; }
.vbf-trules__name small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: #6b7280; }
.vbf-trules__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: #0f1729; font: 700 12px/1 var(--vbf-font); text-decoration: none; transition: background .25s ease, color .25s ease; }
.vbf-trules__btn.is-main { background: #e11d26; color: #fff; }
.vbf-trules__btn:hover { background: #0f1729; color: #fff; }
.vbf-trules__text { margin-top: 18px; }
@media (max-width: 600px) { .vbf-trules__doc { grid-template-columns: auto minmax(0, 1fr); } .vbf-trules__btn { justify-content: center; } }

/* Chi tiết giải: nội dung dưới vé CHIA BOX (01/11/2026, khách: "tách thành các box như Truyền thông") — Giới thiệu · Điều lệ & thể lệ · Bản đồ. */
.vbf-tov-wrap { padding: 0; }
.vbf-tov__intro { display: flex; flex-direction: column; gap: 18px; }
.vbf-tbox { padding: clamp(18px, 2vw, 26px); border: 0; border-radius: 20px; box-shadow: 0 0 0 1px rgba(15, 23, 41, .05), 0 18px 40px -34px rgba(15, 23, 41, .35); }
.vbf-trules { margin-top: 0; }
.vbf-tov { gap: 18px; }
.vbf-tpass__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; } /* còn 2 ô: Địa điểm · Đơn vị tổ chức */

/* ══ Chi tiết giải — NÉN VÉ + chữ compact toàn trang (01/11/2026, khách: "nén chiều cao box ticket, luôn compact, font nhỏ vừa phải") ══ */
.vbf-mxtour .vbf-mxpfh { padding-bottom: 22px; }
.vbf-tpass { grid-template-columns: 128px minmax(0, 1fr) 210px; min-height: 0; margin-top: 12px; border-radius: 18px; }
.vbf-tpass__stub { padding: 14px 8px; gap: 2px; }
.vbf-tpass__stub b, .vbf-mxtour .vbf-tpass__stub b { font-size: 40px !important; }
.vbf-tpass__stub span { font-size: 11px; letter-spacing: .12em; }
.vbf-tpass__stub small { font-size: 10.5px; margin-top: 4px; }
.vbf-tpass__stub em { margin-top: 8px; padding: 4px 9px; font-size: 9.5px; }
.vbf-tpass__main { padding: 18px 26px 18px 30px; }
.vbf-tpass__tags span { padding: 4px 9px; font-size: 9.5px; }
.vbf-tpass__head { margin-top: 8px; gap: 12px; }
.vbf-tpass__logo { width: 48px; height: 48px; border-radius: 10px; }
.vbf-mxtour .vbf-mxpfh .vbf-tpass h1 { font-size: clamp(19px, 1.7vw, 24px) !important; line-height: 1.25 !important; }
.vbf-tpass__fields { margin-top: 12px; gap: 6px; }
.vbf-tpass__fields > div { padding: 8px 12px; border-radius: 10px; }
.vbf-tpass__fields dt { font-size: 9px; }
.vbf-tpass__fields dd { margin-top: 4px; font-size: 13px; }
.vbf-tpass__side { padding: 16px 18px; gap: 10px; }
.vbf-tpass__count b, .vbf-mxtour .vbf-tpass__count b { font-size: 34px !important; }
.vbf-tpass__count span { margin-top: 4px; font-size: 9.5px; }
.vbf-tpass__side .vbf-tpass__acts { gap: 6px; }
.vbf-tpass__side .vbf-tpass__acts a:not([aria-label]) { min-height: 34px; font-size: 12px; }
.vbf-tpass__side .vbf-tpass__acts button, .vbf-tpass__side .vbf-tpass__acts a[aria-label] { width: 32px; min-height: 32px; }
.vbf-tpass__stub::after, .vbf-tpass__side::before { width: 12px; background-size: 12px 16px; background-image: radial-gradient(circle at 6px 8px, var(--bg) 4.5px, transparent 5px); }
.vbf-tpass__stub::after { right: -6px; } .vbf-tpass__side::before { left: -6px; }
/* chữ toàn trang giải nhỏ vừa phải */
.vbf-mxtour .vbf-crumbs { font-size: 12px; }
.vbf-mxtour .vbf-tbox .vbf-mxhead h2 { font-size: 18px !important; }
.vbf-mxtour .vbf-tbox .vbf-prose { font-size: 14.5px; line-height: 1.65; }
.vbf-mxtour .vbf-tbox { padding: 18px 22px; }
.vbf-trules__name strong { font-size: 14px; }
@media (max-width: 900px) { .vbf-tpass { grid-template-columns: 92px minmax(0, 1fr); } .vbf-tpass__stub b, .vbf-mxtour .vbf-tpass__stub b { font-size: 32px !important; } .vbf-tpass__main { padding: 14px 16px 14px 22px; } }
.vbf-tpass__stub span { white-space: nowrap; font-size: 10.5px; letter-spacing: .08em; } /* "THÁNG 11 · 2026" một dòng */

/* ===== Mobile: bộ lọc giải gọn kiểu app (02/11/2026) — ô tìm trải ngang trên cùng, 2 ô chọn chung một hàng, sắp xếp sát phải; đầu trang bỏ câu mô tả (Gout §8 "tóm tắt trước"). ===== */
@media (max-width: 760px) {
	.vbf-touh__sub, .vbf-touh__lead { display: none; }
	.vbf-tf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; border-radius: 14px; box-shadow: none; border: 1px solid #eceae6; }
	.vbf-tf__field { min-width: 0; gap: 4px; }
	.vbf-tf__field label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #8a8d93; }
	.vbf-tf__field--q { grid-column: 1 / -1; order: -1; }
	.vbf-tf__field--q label { display: none; }
	.vbf-tf__sel select, .vbf-tf__search input { height: 40px; font-size: 13.5px; border-radius: 10px; }
	.vbf-tf__sort, .vbf-tf__reset { grid-column: 1 / -1; height: 28px; margin: 0; justify-content: flex-end; font-size: 12px; }
}
.vbf-mxpf__prose figure img { height: auto; } /* 05/11/2026: ảnh trong nội dung giải giữ đúng tỉ lệ, không chừa khoảng trống */

/* ══ 07/11/2026 — chi tiết giải trên điện thoại (khách: "content đụng mép, table bị che; sắp lại cùi vé, content, button").
   1) Lưới tổng quan có cột 1fr ⇒ bảng trong nội dung đẩy cột rộng hơn màn: dùng minmax(0,1fr), bảng tự cuộn ngang trong khung.
   2) ≤ 600 px vé xếp DỌC: cùi ngày thành dải ngang trên (răng cưa mép dưới) · thân · hàng đếm ngược + nút ở đáy. ══ */
@media (max-width: 1023px) { .vbf-tov { grid-template-columns: minmax(0, 1fr); } }
.vbf-mxpf__prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vbf-mxpf__prose table td, .vbf-mxpf__prose table th { min-width: 96px; }
.vbf-mxpf__prose table td:first-child, .vbf-mxpf__prose table th:first-child { min-width: 0; }
@media (max-width: 600px) {
	.vbf-tpass { grid-template-columns: minmax(0, 1fr); border-radius: 16px; }
	.vbf-tpass__stub { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; gap: 2px 8px; padding: 12px 16px 14px; text-align: left; }
	.vbf-tpass__stub b, .vbf-mxtour .vbf-tpass__stub b { font-size: 28px !important; }
	.vbf-tpass__stub span { font-size: 11px; }
	.vbf-tpass__stub small { margin: 0 0 0 auto; font-size: 11px; }
	.vbf-tpass__stub em { margin: 0 0 0 auto; }
	.vbf-tpass__stub::after { top: auto; left: 0; right: 0; bottom: -6px; width: auto; height: 12px; background-image: radial-gradient(circle at 8px 6px, var(--bg) 4.5px, transparent 5px); background-size: 16px 12px; background-repeat: repeat-x; }
	.vbf-tpass__main { padding: 14px 16px 12px; }
	.vbf-tpass__head { align-items: flex-start; }
	.vbf-tpass__logo { width: 44px; height: 44px; }
	.vbf-mxtour .vbf-mxpfh .vbf-tpass h1 { font-size: 18px !important; text-wrap: balance; }
	.vbf-tpass__fields { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.vbf-tpass__fields > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: baseline; gap: 8px; }
	.vbf-tpass__fields dd { margin: 0; overflow-wrap: normal; }
	.vbf-tpass__side { grid-column: 1; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 12px; padding: 12px 16px; }
	.vbf-tpass__side::before { display: none; }
	.vbf-tpass__count { flex: none; flex-direction: column; align-items: center; margin: 0; }
	.vbf-tpass__count b, .vbf-mxtour .vbf-tpass__count b { font-size: 26px !important; }
	.vbf-tpass__count span { margin: 2px 0 0; font-size: 9px; letter-spacing: .1em; white-space: nowrap; }
	.vbf-tpass__side .vbf-tpass__acts { flex: 1; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
	.vbf-tpass__side .vbf-tpass__acts a:not([aria-label]) { flex: 1 1 auto; min-height: 38px; padding: 0 12px; white-space: nowrap; }
	.vbf-mxtour .vbf-tbox { padding: 16px; border-radius: 16px; }
}
@media (max-width: 600px) { .vbf-tpass__fields > div { grid-template-columns: 104px minmax(0, 1fr); } .vbf-tpass__fields dt { white-space: nowrap; } }
/* 07/11/2026 — bảng trong nội dung (vd Ban Tổ chức ≥ 4 cột) trên điện thoại: mỗi dòng thành một thẻ gọn, không cuộn ngang, không cột hẹp chữ vỡ vụn.
   Cột 1 (số TT) bên trái · cột 2 đậm (tên) · cột 3 nhạt (đơn vị) · cột 4+ nhãn đỏ nhỏ (chức vụ). */
@media (max-width: 600px) {
	.vbf-prose table:has(tbody td:nth-child(4)) { display: block; overflow: visible; border: 0; }
	.vbf-prose table:has(tbody td:nth-child(4)) thead { display: none; }
	.vbf-prose table:has(tbody td:nth-child(4)) tbody { display: flex; flex-direction: column; gap: 8px; }
	.vbf-prose table:has(tbody td:nth-child(4)) tr { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; padding: 10px 12px; border-radius: 12px; background: #f6f6f4; }
	.vbf-prose table:has(tbody td:nth-child(4)) td { display: block; min-width: 0; padding: 0; border: 0; background: none; grid-column: 2; font-size: 13px; line-height: 1.45; color: #4b5563; }
	.vbf-prose table:has(tbody td:nth-child(4)) td:first-child { grid-column: 1; grid-row: 1 / span 4; font: 800 13px/1.45 var(--vbf-font); color: #9ca3af; }
	.vbf-prose table:has(tbody td:nth-child(4)) td:nth-child(2) { font: 700 14px/1.4 var(--vbf-font); color: #0f1729; }
	.vbf-prose table:has(tbody td:nth-child(4)) td:nth-child(n+4) { margin-top: 3px; font: 700 11.5px/1.3 var(--vbf-font); color: #c8121a; }
}

/* ===== HÌNH ẢNH GIẢI (15/11/2026, khách): box riêng dưới Tài liệu · collage chia hàng cân bằng, giữ tỉ lệ · lightbox riêng (assets/js/lightbox.js) ===== */
.vbf-tphotos .vbf-mxhead h2 small { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--vbf-muted); letter-spacing: 0; }
/* Dự phòng không JS: lưới flex co giãn theo tỉ lệ (ảnh không cắt). JS thêm .is-js và đặt kích thước từng ô. */
.vbf-jg { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.vbf-jg__i { position: relative; display: block; flex: calc(var(--ar) * 100) 1 calc(var(--ar) * 200px); overflow: hidden; border-radius: 12px; background: #eef1f6; cursor: zoom-in; isolation: isolate; }
.vbf-jg__i::before { content: ""; display: block; padding-bottom: calc(100% / var(--ar)); }
.vbf-jg__end { flex: 999 1 0; }
.vbf-jg.is-js .vbf-jg__i { flex: 0 0 auto; }
.vbf-jg.is-js .vbf-jg__i::before, .vbf-jg.is-js .vbf-jg__end { display: none; }
.vbf-jg__i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--vbf-ease, cubic-bezier(.2,.7,.2,1)), filter .4s; }
.vbf-jg__i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 16, 32, .45)); opacity: 0; transition: opacity .35s; z-index: 1; pointer-events: none; }
.vbf-jg__i:hover img, .vbf-jg__i:focus-visible img { transform: scale(1.035); }
.vbf-jg__i:hover::after, .vbf-jg__i:focus-visible::after { opacity: 1; }
.vbf-jg__i:focus-visible { outline: 3px solid var(--vbf-red); outline-offset: 2px; }

/* Lightbox: nền đêm mờ kính, số thứ tự lớn, thanh tiến độ đỏ, ảnh trượt theo hướng, dải ảnh nhỏ để nhảy. */
html.vbf-lb-open { overflow: hidden; }
.vbf-lb { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: #fff; background: transparent; overflow: hidden; }
.vbf-lb[open] { display: grid; grid-template-rows: auto 2px 1fr auto; }
.vbf-lb::backdrop { background: radial-gradient(120% 90% at 50% 40%, rgba(22, 30, 54, .96), rgba(6, 9, 18, .985)); backdrop-filter: blur(10px); }
.vbf-lb[open]::backdrop { animation: vbf-lb-fade .35s ease both; }
.vbf-lb[open] .vbf-lb__bar, .vbf-lb[open] .vbf-lb__strip { animation: vbf-lb-rise .45s .05s cubic-bezier(.2,.7,.2,1) both; }
.vbf-lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 3vw, 32px); }
.vbf-lb__meta { display: flex; align-items: baseline; gap: 18px; min-width: 0; margin: 0; }
.vbf-lb__n { flex: none; font-family: var(--vbf-font-head); font-variant-numeric: tabular-nums; font-size: 15px; color: rgba(255,255,255,.55); }
.vbf-lb__n b { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: 0; }
.vbf-lb__n i { margin: 0 6px; font-style: normal; color: var(--vbf-red); font-weight: 700; }
.vbf-lb__t { order: 2; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: 0; }
.vbf-lb__acts { display: flex; gap: 8px; flex: none; }
.vbf-lb__acts a, .vbf-lb__acts button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; color: #fff; background: rgba(255,255,255,.06); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.vbf-lb__acts a:hover, .vbf-lb__acts button:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.vbf-lb__acts [data-lb-close] { background: var(--vbf-red); border-color: var(--vbf-red); }
.vbf-lb__acts [data-lb-close]:hover { transform: rotate(90deg); background: var(--vbf-red); }
.vbf-lb .vbf-ico { width: 18px; height: 18px; background: currentColor; }
.vbf-lb__x { position: relative; width: 16px; height: 16px; }
.vbf-lb__x::before, .vbf-lb__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.vbf-lb__x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.vbf-lb__prog { background: rgba(255,255,255,.08); }
.vbf-lb__prog span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--vbf-red), #ff6a4d); box-shadow: 0 0 12px rgba(225, 29, 38, .7); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.vbf-lb__stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; padding: clamp(10px, 2vw, 24px) clamp(12px, 7vw, 96px); }
.vbf-lb__fig { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; margin: 0; }
.vbf-lb__fig img { max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); opacity: 0; }
.vbf-lb.is-in .vbf-lb__fig img { animation: vbf-lb-in .5s cubic-bezier(.2,.7,.2,1) both; }
.vbf-lb.is-load .vbf-lb__fig::after { content: ""; position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--vbf-red); border-radius: 50%; animation: vbf-lb-spin .8s linear infinite; }
.vbf-lb__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; margin-top: -27px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; background: rgba(12, 18, 34, .55); backdrop-filter: blur(6px); cursor: pointer; transition: background .2s, transform .2s; }
.vbf-lb__nav .vbf-ico { width: 24px; height: 24px; }
.vbf-lb__nav.is-prev { left: clamp(8px, 2vw, 28px); }
.vbf-lb__nav.is-next { right: clamp(8px, 2vw, 28px); }
.vbf-lb__nav:hover { background: var(--vbf-red); border-color: var(--vbf-red); }
.vbf-lb__nav.is-prev:hover { transform: translateX(-3px); }
.vbf-lb__nav.is-next:hover { transform: translateX(3px); }
.vbf-lb__strip { display: flex; gap: 8px; padding: 12px clamp(14px, 3vw, 32px) max(16px, env(safe-area-inset-bottom)); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.vbf-lb__strip::-webkit-scrollbar { display: none; }
.vbf-lb__th { flex: none; width: 74px; height: 52px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #1b2236; cursor: pointer; opacity: .42; outline: 2px solid transparent; outline-offset: 2px; scroll-snap-align: center; transition: opacity .25s, outline-color .25s, transform .25s; }
.vbf-lb__th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vbf-lb__th:hover { opacity: .8; }
.vbf-lb__th.is-on { opacity: 1; outline-color: var(--vbf-red); transform: translateY(-3px); }
@keyframes vbf-lb-in { from { opacity: 0; transform: translateX(calc(var(--dir, 0) * 36px)) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes vbf-lb-fade { from { opacity: 0; } }
@keyframes vbf-lb-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes vbf-lb-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
	.vbf-jg__i { border-radius: 9px; }
	.vbf-lb__n b { font-size: 24px; }
	.vbf-lb__t { display: none; }
	.vbf-lb__acts a, .vbf-lb__acts button { width: 38px; height: 38px; }
	.vbf-lb__stage { padding: 8px 0; }
	.vbf-lb__fig img { border-radius: 0; max-height: calc(100dvh - 230px); }
	.vbf-lb__nav { top: auto; bottom: 10px; margin-top: 0; width: 44px; height: 44px; }
	.vbf-lb__th { width: 58px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .vbf-lb *, .vbf-lb::backdrop, .vbf-jg__i img { animation: none !important; transition: none !important; } .vbf-lb__fig img { opacity: 1; } }
