/* ==========================================================================
   SHBET — Bảng Điểm Thể Thao — nền tảng giao diện
   Phong cách: nhật báo thể thao, giấy báo ngà, đường kẻ đen dày, số liệu
   dạng bảng điểm, gần như không bo góc. Khác hoàn toàn các site cùng thư mục.
   ========================================================================== */

/* ---------- 1. Token ---------- */
:root {
  --paper: #f4efe3;
  --paper-2: #efe9db;
  --paper-3: #e8e1d0;
  --white: #fffdf7;

  --ink: #14181c;
  --ink-2: #2a3037;
  --muted: #6b655a;
  --muted-2: #918a7c;

  --line: #d5cdb9;
  --line-2: #e4ded0;
  --line-dark: #14181c;

  --red: #d7263d;
  --red-2: #b31d31;
  --blue: #123a8f;
  --blue-2: #0d2c6d;
  --yellow: #ffe14d;
  --green: #1a7f4b;

  --r: 2px;
  --wrap: 1220px;

  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --num: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
  background-image: repeating-linear-gradient(0deg, rgba(20, 24, 28, .028) 0 1px, transparent 1px 5px);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- 3. Bố cục ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }
main { position: relative; z-index: 1; }
.skip { position: absolute; left: -9999px; background: var(--ink); color: var(--white); padding: 10px 18px; font-weight: 700; z-index: 99; }
.skip:focus { left: 12px; top: 12px; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }

/* ---------- 4. Dải nhận diện trên cùng ---------- */
.flagbar { height: 6px; background: var(--ink); position: relative; z-index: 2; }
.flagbar::after { content: ""; position: absolute; inset: 6px 0 auto; height: 2px; background: var(--red); }

/* ---------- 5. Masthead ---------- */
.masthead { position: relative; z-index: 2; border-bottom: 2px solid var(--ink); background: var(--paper); }
.masthead__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px 0 12px; }
.masthead__left { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.masthead__left b { color: var(--ink); font-family: var(--num); font-size: 12px; letter-spacing: .06em; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.brand__word {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -.045em;
  line-height: .92; text-transform: uppercase;
}
.brand__word i { font-style: normal; color: var(--red); }
.brand__sub {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--num); font-size: 8.5px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted);
}
.brand__sub::before, .brand__sub::after { content: ""; width: 18px; height: 1px; background: var(--line); }
.masthead__right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 11px; color: var(--muted); }
.masthead__right a { font-family: var(--num); font-size: 12px; color: var(--ink); font-weight: 700; }
.masthead__right a:hover { color: var(--red); }

/* ---------- 6. Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 1px 0 rgba(20, 24, 28, .12);
}
.navbar__in { display: flex; align-items: stretch; gap: 0; min-height: 50px; }
.nav { display: flex; align-items: stretch; flex: 1; }
.nav a {
  position: relative; display: flex; align-items: center;
  padding: 0 15px; font-size: 13px; font-weight: 700; color: var(--ink-2);
  border-right: 1px solid var(--line-2);
  transition: background .15s ease, color .15s ease;
}
.nav a:first-child { border-left: 1px solid var(--line-2); }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red);
}
.navbar__cta { display: flex; align-items: center; gap: 8px; padding-left: 14px; }
.burger {
  display: none; width: 42px; align-items: center; justify-content: center;
  border-left: 1px solid var(--line); background: var(--paper-2); color: var(--ink);
}

/* ---------- 7. Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 1px solid var(--ink);
  background: var(--red); color: var(--white);
  font-size: 13.5px; font-weight: 800; letter-spacing: .01em;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .13s ease, box-shadow .13s ease, background .13s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); background: var(--red-2); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--blue { background: var(--blue); }
.btn--blue:hover { background: var(--blue-2); }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #000; }
.btn--ghost { background: var(--white); color: var(--ink); }
.btn--ghost:hover { background: var(--yellow); }
.btn--sm { padding: 8px 14px; font-size: 12px; box-shadow: 2px 2px 0 var(--ink); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- 8. Nhãn & tiêu đề khối ---------- */
.stamp {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--white);
  padding: 4px 10px;
  font-family: var(--num); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
}
.stamp b { color: var(--yellow); font-weight: 700; }
.sec { padding: 40px 0; border-bottom: 1px solid var(--line); position: relative; }
.sec:last-of-type { border-bottom: 0; }
.sec--white { background: var(--white); }
.sec--tight { padding: 26px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.sec-head__no {
  display: block; font-family: var(--num); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--red); margin-bottom: 7px;
}
.sec-head h2 { font-size: clamp(22px, 2.7vw, 30px); }
.sec-head h2 em { font-style: normal; color: var(--red); }
.sec-head p { margin-top: 7px; font-size: 13.5px; color: var(--muted); max-width: 620px; }
.sec-head__side { flex: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--num); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.link-arrow:hover { color: var(--red); }

/* ---------- 9. Ticker tỷ số ---------- */
.ticker {
  background: var(--ink); color: var(--paper); overflow: hidden;
  border-bottom: 1px solid var(--ink);
  font-family: var(--num); font-size: 11px; letter-spacing: .05em;
}
.ticker__in { display: flex; align-items: center; gap: 0; height: 30px; }
.ticker__label {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 0 12px; align-self: stretch; background: var(--red); color: var(--white);
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
}
.ticker__label i { width: 5px; height: 5px; background: var(--white); border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.ticker__track { flex: 1; overflow: hidden; position: relative; height: 30px; }
.ticker__set {
  position: absolute; top: 0; display: flex; align-items: center; gap: 26px; height: 30px;
  white-space: nowrap; animation: slide 34s linear infinite;
}
.ticker__set span b { color: var(--yellow); }
.ticker__set em { font-style: normal; color: var(--paper-3); opacity: .6; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__set { animation: none; } }

/* ---------- 10. Bố cục ba cột trang chủ ---------- */
.front { display: grid; grid-template-columns: 258px minmax(0, 1fr) 282px; gap: 0; border-bottom: 1px solid var(--ink); }
.front__col { padding: 22px 20px; }
.front__col + .front__col { border-left: 1px solid var(--line); }
.front__col--lead { padding: 24px 24px 28px; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 8px; margin-bottom: 12px; border-bottom: 2px solid var(--ink);
}
.panel-head h2 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-family: var(--num); font-weight: 700; }
.panel-head span { font-family: var(--num); font-size: 10px; color: var(--muted-2); }

/* ---------- 11. Khối dẫn trang chủ ---------- */
.lead__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.lead h1 { font-size: clamp(28px, 4vw, 46px); line-height: 1.06; }
.lead h1 em {
  font-style: normal; color: var(--ink);
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 3px;
}
.lead__lead { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); max-width: 620px; }
.lead__lead b { background: var(--paper-3); padding: 0 3px; }
.lead__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 20px; border: 1px solid var(--ink); }
.lead__stat { padding: 11px 12px; border-right: 1px solid var(--line); }
.lead__stat:last-child { border-right: 0; }
.lead__stat b { display: block; font-family: var(--num); font-size: 21px; line-height: 1; color: var(--blue); }
.lead__stat span { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .04em; color: var(--muted); }

/* ---------- 12. Danh sách trận ---------- */
.matches { display: grid; gap: 0; }
.match {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center; gap: 10px;
  padding: 9px 4px; border-bottom: 1px dotted var(--line);
  font-size: 12.5px;
}
.match:last-child { border-bottom: 0; }
.match__t { font-family: var(--num); font-size: 11px; color: var(--red); font-weight: 700; }
.match__n { font-weight: 700; font-size: 12.5px; line-height: 1.25; }
.match__n span { display: block; font-weight: 400; font-size: 10.5px; color: var(--muted-2); margin-top: 1px; }
.match__s { font-family: var(--num); font-size: 12.5px; font-weight: 700; padding: 2px 6px; background: var(--paper-2); }
.match.is-live .match__s { background: var(--red); color: var(--white); }

/* ---------- 13. Bảng xếp hạng ---------- */
.standings { width: 100%; font-size: 11.5px; }
.standings th {
  text-align: left; padding: 5px 4px; font-family: var(--num); font-size: 9px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
  border-bottom: 1px solid var(--ink);
}
.standings td { padding: 6px 4px; border-bottom: 1px solid var(--line-2); }
.standings tr:last-child td { border-bottom: 0; }
.standings td:first-child { font-family: var(--num); color: var(--muted-2); width: 18px; }
.standings td:last-child, .standings th:last-child { text-align: right; font-family: var(--num); font-weight: 700; }
.standings tr.is-top td { background: rgba(255, 225, 77, .28); }

/* ---------- 14. Thẻ số liệu / odds ---------- */
.odds-card { background: var(--white); border: 1px solid var(--ink); }
.odds-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 12px; background: var(--ink); color: var(--white);
  font-family: var(--num); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
}
.odds-card__head b { color: var(--yellow); }
.odds-card__body { padding: 12px; }
.odds-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px dotted var(--line); font-size: 12.5px; }
.odds-row:last-child { border-bottom: 0; }
.odds-row b { font-family: var(--num); font-size: 13px; color: var(--blue); }
.odds-row small { display: block; font-size: 10px; color: var(--muted-2); }
.odds-pick {
  padding: 4px 9px; font-family: var(--num); font-size: 11px; font-weight: 700;
  background: var(--paper-2); border: 1px solid var(--line);
  transition: all .14s ease;
}
.odds-pick:hover, .odds-pick.is-on { background: var(--yellow); border-color: var(--ink); }

/* ---------- 15. Lưới sự kiện / môn ---------- */
.sports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.sport {
  display: flex; gap: 11px; padding: 13px 12px;
  border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2);
  transition: background .15s ease;
}
.sport:nth-child(2n) { border-right: 0; }
.sport:hover { background: var(--paper-2); }
.sport__ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; color: var(--red); background: var(--paper-2); border: 1px solid var(--line); }
.sport__ico svg { width: 19px; height: 19px; }
.sport h3 { font-size: 13.5px; }
.sport p { font-size: 11px; color: var(--muted-2); margin-top: 2px; }
.sport__n { margin-left: auto; font-family: var(--num); font-size: 10px; color: var(--muted); align-self: center; }

/* ---------- 16. Lưới sự kiện đầy đủ ---------- */
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.event {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px; background: var(--white);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.event:hover { background: var(--paper-2); }
.event__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.event__league { font-family: var(--num); font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); }
.event__live { font-family: var(--num); font-size: 9px; letter-spacing: .12em; padding: 2px 5px; background: var(--red); color: var(--white); }
.event h3 { font-size: 14.5px; line-height: 1.3; }
.event__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--num); font-size: 10.5px; color: var(--muted); }
.event__odds { display: flex; gap: 4px; margin-top: auto; }
.event__odds span {
  flex: 1; text-align: center; padding: 5px 2px;
  font-family: var(--num); font-size: 11.5px; font-weight: 700;
  background: var(--paper-2); border: 1px solid var(--line-2);
}
.event__odds span:hover { background: var(--yellow); border-color: var(--ink); }

/* ---------- 17. Dải khuyến mãi ---------- */
.strip {
  display: grid; grid-template-columns: 108px minmax(0, 1fr) auto;
  align-items: stretch; gap: 0;
  background: var(--white); border: 1px solid var(--ink);
  position: relative; overflow: hidden;
}
.strip + .strip { margin-top: 9px; }
.strip::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--strip, var(--red));
}
.strip__val {
  display: grid; place-content: center; text-align: center;
  padding: 12px 8px; border-right: 1px dashed var(--line);
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 8px, var(--paper) 8px 16px);
}
.strip__val b { font-family: var(--num); font-size: 22px; line-height: 1; color: var(--red); }
.strip__val span { margin-top: 3px; font-family: var(--num); font-size: 8.5px; letter-spacing: .1em; color: var(--muted); }
.strip__mid { padding: 12px 16px; }
.strip__mid h3 { font-size: 14.5px; }
.strip__mid p { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.strip__code {
  display: inline-block; margin-top: 7px; padding: 2px 7px;
  font-family: var(--num); font-size: 10px; letter-spacing: .08em;
  background: var(--paper-2); border: 1px dashed var(--line);
}
.strip__side { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px 14px; border-left: 1px solid var(--line-2); }
.copy {
  padding: 5px 10px; font-family: var(--num); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; background: var(--ink); color: var(--white); border: 1px solid var(--ink);
}
.copy:hover { background: var(--red); border-color: var(--red); }

/* ---------- 18. Đồng hồ đếm ngược ---------- */
.countdown { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 20px 22px; border: 1px solid var(--ink); background: var(--white); }
.countdown h3 { font-size: 19px; }
.countdown p { font-size: 12.5px; color: var(--muted); margin-top: 5px; max-width: 480px; }
.countdown__digits { display: flex; align-items: flex-end; gap: 4px; }
.cd {
  min-width: 62px; padding: 8px 6px; text-align: center;
  background: var(--ink); color: var(--white);
}
.cd b { display: block; font-family: var(--num); font-size: 27px; line-height: 1; letter-spacing: -.04em; }
.cd span { display: block; margin-top: 4px; font-family: var(--num); font-size: 8.5px; letter-spacing: .16em; color: var(--paper-3); }
.cd--sep { min-width: auto; background: none; color: var(--ink); padding: 0 2px 14px; font-family: var(--num); font-size: 22px; }
.countdown__acts { display: flex; gap: 6px; margin-top: 12px; }

/* ---------- 19. FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: baseline; gap: 12px;
  padding: 13px 2px; text-align: left; font-size: 14.5px; font-weight: 700;
}
.faq__q .q-no { font-family: var(--num); font-size: 11px; color: var(--red); flex: none; width: 22px; }
.faq__q .q-sign { margin-left: auto; flex: none; position: relative; width: 11px; height: 11px; }
.faq__q .q-sign::before, .faq__q .q-sign::after { content: ""; position: absolute; background: var(--ink); transition: transform .2s ease; }
.faq__q .q-sign::before { left: 0; right: 0; top: 5px; height: 1.5px; }
.faq__q .q-sign::after { top: 0; bottom: 0; left: 5px; width: 1.5px; }
.faq__item.is-open .q-sign::after { transform: scaleY(0); }
.faq__item.is-open .faq__q { color: var(--red); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding: 0 2px 14px 34px; font-size: 13px; color: var(--muted); }

/* ---------- 20. CTA ---------- */
.cta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 26px 28px; background: var(--ink); color: var(--white);
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 220px;
  background: repeating-linear-gradient(115deg, rgba(215, 38, 61, .9) 0 14px, transparent 14px 28px);
  opacity: .16;
}
.cta h2 { font-size: clamp(21px, 2.6vw, 28px); position: relative; z-index: 1; }
.cta p { margin-top: 7px; font-size: 13px; color: var(--paper-3); position: relative; z-index: 1; }
.cta .btn-row { margin-top: 0; position: relative; z-index: 1; }
.cta .btn--ghost { border-color: var(--white); box-shadow: 3px 3px 0 rgba(255, 255, 255, .3); }

/* ---------- 21. Footer ---------- */
.foot { background: var(--paper-2); border-top: 3px solid var(--ink); padding: 34px 0 22px; position: relative; z-index: 1; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot__about { margin-top: 10px; font-size: 12px; color: var(--muted); max-width: 300px; }
.foot__18 { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-family: var(--num); font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.foot__18 b { padding: 1px 5px; background: var(--red); color: var(--white); font-size: 9.5px; }
.foot__col h3 {
  font-family: var(--num); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 10px; font-weight: 700;
}
.foot__col ul { display: grid; gap: 7px; }
.foot__col a { font-size: 12.5px; color: var(--ink-2); }
.foot__col a:hover { color: var(--red); }
.foot__rule { height: 2px; background: var(--ink); margin: 22px 0 12px; }
.foot__bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.foot__bottom nav { display: flex; gap: 14px; }
.foot__legal { margin-top: 10px; font-size: 10.5px; color: var(--muted-2); line-height: 1.7; max-width: 900px; }

/* ---------- 22. Dock di động ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; background: var(--white); border-top: 2px solid var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
}
.dock a {
  flex: 1; display: grid; place-items: center; gap: 1px;
  padding: 7px 2px; font-size: 9px; font-weight: 700; color: var(--muted);
  border-right: 1px solid var(--line-2);
}
.dock a:last-child { border-right: 0; }
.dock a span { font-family: var(--num); font-size: 13px; line-height: 1; }
.dock a[aria-current="page"] { color: var(--red); background: var(--paper-2); }

/* ---------- 23. Lên đầu & toast ---------- */
.to-top {
  position: fixed; right: 14px; bottom: 14px; z-index: 44;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--ink); color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--yellow); }
.toast {
  position: fixed; left: 50%; bottom: 76px; transform: translate(-50%, 10px);
  z-index: 60; padding: 10px 16px;
  background: var(--ink); color: var(--white); border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--red);
  font-size: 12.5px; font-weight: 700; opacity: 0; pointer-events: none;
  transition: all .22s ease; max-width: calc(100% - 30px); white-space: nowrap;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 24. Sheet menu ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column;
  background: var(--paper); padding: 16px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease;
}
.sheet.is-on { opacity: 1; visibility: visible; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.sheet__x { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--white); }
.sheet__list { display: grid; margin-top: 14px; border-top: 1px solid var(--line); }
.sheet__list a {
  display: flex; align-items: center; gap: 12px; padding: 13px 4px;
  font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--line);
}
.sheet__list a span { font-family: var(--num); font-size: 10px; color: var(--red); }
.sheet__meta { margin-top: auto; padding-top: 16px; font-size: 11px; color: var(--muted); }

/* ---------- 25. Hiệu ứng xuất hiện ---------- */
[data-rv] { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
[data-rv].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-rv] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 26. Đáp ứng ---------- */
@media (max-width: 1120px) {
  .front { grid-template-columns: 232px minmax(0, 1fr); }
  .front__col--right { display: none; }
  .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__top { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 900px) {
  .front { grid-template-columns: 1fr; }
  .front__col + .front__col { border-left: 0; border-top: 1px solid var(--line); }
  .front__col--left { display: none; }
  .front__col--right { display: block; }
  .nav a { padding: 0 10px; font-size: 12px; }
  .lead__stats { grid-template-columns: repeat(2, 1fr); }
  .lead__stat:nth-child(2) { border-right: 0; }
  .lead__stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 780px) {
  .nav, .navbar__cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .navbar__in { justify-content: space-between; }
  .masthead__in { grid-template-columns: 1fr; gap: 8px; justify-items: center; text-align: center; padding: 12px 0; }
  .masthead__left, .masthead__right { align-items: center; }
  .masthead__right { flex-direction: row; gap: 10px; }
  .events { grid-template-columns: 1fr; }
  .countdown { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .dock { display: flex; }
  .to-top { bottom: 62px; }
  .foot { padding-bottom: 68px; }
  .strip { grid-template-columns: 88px minmax(0, 1fr); }
  .strip__side { grid-column: 1 / -1; flex-direction: row; border-left: 0; border-top: 1px solid var(--line-2); }
  .sports { grid-template-columns: 1fr; }
  .sport { border-right: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 14px; }
  .sec { padding: 30px 0; }
  .front__col { padding: 18px 14px; }
  .lead h1 { font-size: 27px; }
  .lead__stats { grid-template-columns: 1fr 1fr; }
  .foot__top { grid-template-columns: 1fr; }
  .cd { min-width: 52px; }
  .cd b { font-size: 22px; }
  .strip { grid-template-columns: 1fr; }
  .strip__val { border-right: 0; border-bottom: 1px dashed var(--line); }
}
