/* Home page: hero, «امروز در پیش‌بینی» (match + bonus of the day, today's matches,
   tutorials strip) and the latest-posts head. Red ↔ blue laser theme. */
:root {
  --hm-red: #ff2e4f; --hm-red2: #e11d48; --hm-red-t: #ff6b81;
  --hm-blue: #3b82ff; --hm-blue2: #1d4ed8; --hm-blue-t: #7aa7ff;
  --hm-gold: #ffb020;
  --hm-card: rgba(16, 12, 24, .86);
  --hm-line: rgba(255, 255, 255, .09);
  --hm-muted: #a3acc0;
}

.hm-top { padding-top: 80px; }
@media (min-width: 768px) { .hm-top { padding-top: 104px; } }

/* every block shares the same width */
.hm-hero, .hm-sec, .td { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
@media (min-width: 768px) { .hm-hero, .hm-sec, .td { width: min(1200px, calc(100% - 64px)); } }

/* ---------- buttons ---------- */
.hm-btn, .td-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.hm-btn { padding: 13px 24px; font-size: 15px; }
.td-btn { padding: 10px 18px; font-size: 14px; }
.hm-btn svg, .td-btn svg { width: 16px; height: 16px; flex: none; }
.hm-btn:hover, .td-btn:hover { transform: translateY(-1px); }
.hm-btn-red, .td-btn-red { color: #fff; background: linear-gradient(135deg, var(--hm-red), var(--hm-red2)); box-shadow: 0 10px 26px -10px rgba(255, 46, 79, .75); }
.hm-btn-red:hover, .td-btn-red:hover { box-shadow: 0 0 0 1px rgba(255, 107, 129, .6), 0 12px 30px -8px rgba(255, 46, 79, .85); }
.td-btn-blue { color: #fff; background: linear-gradient(135deg, var(--hm-blue), var(--hm-blue2)); box-shadow: 0 10px 26px -10px rgba(59, 130, 255, .75); }
.td-btn-blue:hover { box-shadow: 0 0 0 1px rgba(122, 167, 255, .6), 0 12px 30px -8px rgba(59, 130, 255, .85); }
.hm-btn-ghost, .td-btn-ghost { color: #e2e8f0; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .2); }
.hm-btn-ghost:hover, .td-btn-ghost:hover { color: #fff; border-color: rgba(122, 167, 255, .7); box-shadow: 0 0 18px rgba(59, 130, 255, .35); }
.hm-btn-gold { color: #1c1300; background: linear-gradient(135deg, #ffd56b, var(--hm-gold)); box-shadow: 0 10px 26px -10px rgba(255, 176, 32, .7); }
.hm-btn:focus-visible, .td-btn:focus-visible, .td-link:focus-visible, .hm-more:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- hero ---------- */
.hm-hero {
  position: relative; overflow: hidden; margin-bottom: 26px; border-radius: 24px;
  background: #05050a; border: 1px solid var(--hm-line);
  box-shadow: -30px 30px 80px -40px rgba(255, 46, 79, .45), 30px 30px 80px -40px rgba(59, 130, 255, .45);
}
.hm-hero-pic img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: left center; }
.hm-hero-body { position: relative; padding: 4px 20px 24px; margin-top: -48px; }
.hm-hero-pic { position: relative; display: block; }
.hm-hero-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #05050a 100%); }
@media (min-width: 768px) {
  .hm-hero { min-height: 440px; display: flex; align-items: center; }
  .hm-hero-pic { position: absolute; inset: 0; }
  .hm-hero-pic img { width: 100%; height: 100%; aspect-ratio: auto; }
  .hm-hero-pic::after { background: linear-gradient(270deg, rgba(5, 5, 10, .96) 0%, rgba(5, 5, 10, .78) 38%, rgba(5, 5, 10, .1) 68%, transparent 100%); }
  .hm-hero-body { margin: 0; padding: 48px 52px; max-width: 600px; }
}
.hm-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: #e2e8f0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.hm-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--hm-red); box-shadow: 0 0 0 0 rgba(255, 46, 79, .7); animation: hmPulse 1.8s ease-out infinite; }
@keyframes hmPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 46, 79, .7); } 70% { box-shadow: 0 0 0 10px rgba(255, 46, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 79, 0); } }
.hm-title { margin: 14px 0 12px; font-family: 'Noto Sans Arabic', 'Vazirmatn', sans-serif; font-size: clamp(30px, 6.4vw, 50px); line-height: 1.65; color: #fff; font-weight: 800; }
.hm-red { color: var(--hm-red-t); text-shadow: 0 0 22px rgba(255, 46, 79, .65); }
.hm-blue { color: var(--hm-blue-t); text-shadow: 0 0 22px rgba(59, 130, 255, .65); }
.hm-lead { margin: 0 0 22px; color: #cbd2de; font-size: 15px; line-height: 2; max-width: 520px; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.hm-facts li { display: flex; flex-direction: column; gap: 2px; padding: 0 16px; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.hm-facts li:first-child { padding-inline-start: 0; border: 0; }
.hm-facts b { font-size: 15px; color: #fff; }
.hm-facts span { font-size: 12px; color: var(--hm-muted); }

/* ---------- today ---------- */
.td { margin-bottom: 34px; }
.td-head, .hm-sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 14px; }
.hm-sec-head { justify-content: space-between; align-items: center; }
.td-title, .hm-sec-title {
  position: relative; margin: 0; padding-inline-start: 14px;
  font-family: 'Noto Sans Arabic', 'Vazirmatn', sans-serif; font-weight: 800; font-size: clamp(21px, 4.6vw, 27px); line-height: 1.4; color: #fff;
}
.td-title::before, .hm-sec-title::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 18%; bottom: 18%; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--hm-red), var(--hm-blue));
}
.td-sub { font-size: 13px; color: var(--hm-muted); }
.td-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .td-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } .td-grid.td-solo { grid-template-columns: minmax(0, 1fr); } }
.td-side { display: grid; gap: 16px; }
.td-side > .td-bonus:only-child { justify-content: center; gap: 16px; padding: 22px; }
.td-side > .td-bonus:only-child .td-acts { margin-top: 0; }

.td-card {
  position: relative; overflow: hidden; border-radius: 20px;
  background: var(--hm-card); border: 1px solid var(--hm-line);
}
.td-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.td-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.td-tag svg { width: 15px; height: 15px; }
.td-tag-red { color: var(--hm-red-t); background: rgba(255, 46, 79, .13); border: 1px solid rgba(255, 46, 79, .38); }
.td-tag-blue { color: var(--hm-blue-t); background: rgba(59, 130, 255, .13); border: 1px solid rgba(59, 130, 255, .38); }
.td-free { padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: var(--hm-red2); background: #fff; box-shadow: 0 0 18px rgba(255, 255, 255, .35); }
.td-ad { margin-inline-start: auto; padding: 2px 8px; border-radius: 6px; font-size: 11px; color: #94a3b8; border: 1px solid rgba(148, 163, 184, .35); }
.td-h { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.75; color: #fff; }
.td-h a { color: inherit; text-decoration: none; }
.td-h a:hover { color: var(--hm-red-t); }
.td-ex { margin: 0; font-size: 13.5px; line-height: 1.95; color: var(--hm-muted); }
.td-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 4px; }

/* match of the day */
.td-match { display: flex; min-height: 100%; }
.td-match::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, var(--hm-red), rgba(255, 46, 79, 0) 38%, rgba(59, 130, 255, 0) 62%, var(--hm-blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.td-match-bg { position: absolute; inset: 0; background: url('/assets/img/cover-match-480.webp') center / cover no-repeat; opacity: .42; }
@media (min-width: 768px) { .td-match-bg { background-image: url('/assets/img/cover-match-800.webp'); } }
.td-match-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 7, 13, .25) 0%, rgba(8, 7, 13, .82) 46%, rgba(8, 7, 13, .97) 100%); }
.td-match-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; width: 100%; padding: 20px; }
.td-match .td-acts { margin-top: 6px; }
.td-match .td-tags { position: absolute; top: 20px; inset-inline-start: 20px; }
.td-match-body { padding-top: 64px; }
@media (min-width: 768px) { .td-match-body { padding: 72px 28px 26px; } .td-match .td-tags { top: 24px; inset-inline-start: 28px; } }
.td-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 10px; text-align: center; }
.td-teams:has(> :only-child) { grid-template-columns: 1fr; }
.td-team { font-family: 'Noto Sans Arabic', 'Vazirmatn', sans-serif; font-size: clamp(24px, 5.4vw, 40px); line-height: 1.3; color: #fff; overflow-wrap: anywhere; }
.td-home { text-shadow: 0 0 24px rgba(255, 46, 79, .7); }
.td-away { text-shadow: 0 0 24px rgba(59, 130, 255, .7); }
.td-vs {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  font: 700 14px/1 'Space Mono', monospace; color: #fff; background: linear-gradient(135deg, var(--hm-red), var(--hm-blue));
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .06), 0 0 26px rgba(255, 46, 79, .45), 0 0 26px rgba(59, 130, 255, .45);
}
.td-count {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px; padding: 10px 14px;
  border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #e2e8f0;
}
.td-count-l { font-size: 13px; color: var(--hm-muted); }
.td-count-v { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.td-count.td-live { color: var(--hm-red-t); font-weight: 700; border-color: rgba(255, 46, 79, .4); background: rgba(255, 46, 79, .1); }
.td-count.td-over { color: #94a3b8; }
.td-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--hm-red); animation: hmPulse 1.6s ease-out infinite; }
.td-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13.5px; color: #cbd5e1; text-align: center; }
.td-when, .td-venue { display: inline-flex; align-items: center; gap: 6px; }
.td-meta svg { width: 16px; height: 16px; color: var(--hm-blue-t); flex: none; }
.td-empty-t { margin: 26px 0 8px; font-size: 16px; color: #e2e8f0; }

/* bonus of the day */
.td-bonus { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-color: rgba(59, 130, 255, .28);
  background: radial-gradient(120% 90% at 0% 0%, rgba(59, 130, 255, .16), transparent 60%), var(--hm-card); }
.td-brand { display: flex; align-items: center; gap: 12px; }
.td-logo { width: 56px; height: 56px; flex: none; border-radius: 50%; overflow: hidden; background: #fff; border: 2px solid rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; }
.td-logo img { width: 100%; height: 100%; object-fit: cover; }
.td-ini { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font: 700 24px/1 'Vazirmatn', sans-serif; color: #fff; background: linear-gradient(135deg, var(--hm-red), var(--hm-blue)); }
.td-bn { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.td-bn strong { font-size: 17px; color: #fff; }
.td-rate { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: #fcd34d; }
.td-rate svg { width: 14px; height: 14px; }
.td-bonus-t { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 16px; font-weight: 700; line-height: 1.8; color: #fff;
  background: rgba(59, 130, 255, .1); border: 1px dashed rgba(122, 167, 255, .5); }
.td-note { margin: 0; font-size: 11.5px; color: #8b93a7; }

/* count badge inside a button */
.td-n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; font-size: 12px; color: #fff; background: linear-gradient(135deg, var(--hm-red), var(--hm-blue)); }

/* today's matches (closed until a button opens it) */
.tm { margin-top: 16px; border-radius: 18px; background: var(--hm-card); border: 1px solid var(--hm-line); overflow: hidden; scroll-margin-top: 90px; }
.tm-sum { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.tm-sum::-webkit-details-marker { display: none; }
.tm-sum:hover { background: rgba(255, 255, 255, .03); }
.tm-sum:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.tm-sum-t { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; color: #fff; }
.tm-sum-t svg { width: 18px; height: 18px; color: var(--hm-red-t); }
.tm-n { font-size: 12.5px; color: var(--hm-muted); padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.tm-chev { margin-inline-start: auto; width: 10px; height: 10px; margin-top: -4px; border-right: 2px solid #cbd5e1; border-bottom: 2px solid #cbd5e1; transform: rotate(45deg); transition: transform .2s ease, margin .2s ease; }
.tm[open] .tm-chev { transform: rotate(-135deg); margin-top: 4px; }
.tm-list { list-style: none; margin: 0; padding: 0 10px 6px; }
.tm-list li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.tm-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px 14px;
  padding: 12px 8px; border-radius: 12px; color: #e2e8f0; text-decoration: none; }
.tm-row:hover { background: rgba(255, 255, 255, .04); }
.tm-row.tm-pick { background: linear-gradient(90deg, rgba(59, 130, 255, .1), rgba(255, 46, 79, .12)); }
.tm-time { min-width: 52px; font-size: 13.5px; font-weight: 700; color: var(--hm-blue-t); font-variant-numeric: tabular-nums; }
.tm-teams { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.tm-team { font-weight: 700; font-size: 14.5px; color: #fff; overflow-wrap: anywhere; }
.tm-vs { font: 700 10px/1 'Space Mono', monospace; color: #fff; padding: 3px 6px; border-radius: 6px; background: linear-gradient(135deg, var(--hm-red), var(--hm-blue)); }
.tm-st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.tm-free { color: var(--hm-red2); background: #fff; }
.tm-live { color: var(--hm-red-t); background: rgba(255, 46, 79, .14); border: 1px solid rgba(255, 46, 79, .4); }
.tm-done { color: #94a3b8; background: rgba(148, 163, 184, .12); }
.tm-go { display: inline-flex; color: #64748b; }
.tm-go svg { width: 15px; height: 15px; }
.tm-row:hover .tm-go { color: #fff; }
.tm-all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; font-size: 13.5px; font-weight: 700;
  color: var(--hm-blue-t); text-decoration: none; border-top: 1px solid rgba(255, 255, 255, .06); }
.tm-all svg { width: 14px; height: 14px; }
.tm-all:hover { color: #fff; }
@media (max-width: 480px) {
  .tm-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .tm-go { display: none; }
}

/* tutorials strip (horizontal, swipe on phones / arrows on desktop) */
.tu { margin-top: 26px; }
.tu .hm-sec-head { margin-bottom: 12px; }
.tu-nav { display: flex; align-items: center; gap: 8px; }
.tu-btn { display: none; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer;
  color: #e2e8f0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: border-color .2s, box-shadow .2s; }
.tu-btn svg { width: 16px; height: 16px; }
.tu-btn[data-dir="prev"] svg { transform: scaleX(-1); }
.tu-btn:hover { border-color: rgba(122, 167, 255, .7); box-shadow: 0 0 14px rgba(59, 130, 255, .35); }
@media (min-width: 768px) { .tu-btn { display: inline-flex; } }
.tu-track { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
@media (min-width: 560px) { .tu-track { grid-auto-columns: 44%; } }
@media (min-width: 900px) { .tu-track { grid-auto-columns: calc((100% - 28px) / 3); } }
@media (min-width: 1180px) { .tu-track { grid-auto-columns: calc((100% - 42px) / 4); } }
.tu-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; text-decoration: none;
  background: var(--hm-card); border: 1px solid var(--hm-line); transition: border-color .2s, transform .15s; }
.tu-card:hover { border-color: rgba(122, 167, 255, .55); transform: translateY(-2px); }
.tu-card.tu-day { border-color: rgba(59, 130, 255, .55); box-shadow: 0 0 0 1px rgba(59, 130, 255, .25), 0 12px 30px -16px rgba(59, 130, 255, .7); }
.tu-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #120a14; overflow: hidden; }
.tu-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tu-card:hover .tu-img img { transform: scale(1.04); }
.tu-tag { position: absolute; top: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
  border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--hm-blue), var(--hm-blue2)); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.tu-tag svg { width: 13px; height: 13px; }
.tu-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.tu-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 700; line-height: 1.8; color: #fff; }
.tu-ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.9; color: var(--hm-muted); }
.tu-more { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 700; color: var(--hm-blue-t); }
.tu-more svg { width: 13px; height: 13px; }

/* ---------- latest posts ---------- */
.hm-sec { margin-bottom: 34px; }
.hm-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--hm-blue-t); text-decoration: none; }
.hm-more svg { width: 15px; height: 15px; }
.hm-more:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hm-pulse, .td-dot { animation: none; }
  .hm-btn, .td-btn, .tu-img img, .tm-chev { transition: none; }
}

/* «بونوس روز» in the hero: gold, with a soft blinking glow (still for people who turn motion off) */
.hm-btn-gold { border: 1px solid rgba(255, 224, 140, .9); font-weight: 700; }
.hm-btn-gold svg { color: #3a2500; }
.hm-btn-gold:hover { box-shadow: 0 0 0 1px #ffe08a, 0 0 26px rgba(255, 196, 64, .75); }
.hm-blink { position: relative; animation: hmBlink 1.6s ease-in-out infinite; }
.hm-blink::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); background-size: 250% 100%;
  animation: hmShine 2.4s ease-in-out infinite; }
@keyframes hmBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 196, 64, .0), 0 10px 26px -10px rgba(255, 176, 32, .7); filter: brightness(1); }
  50% { box-shadow: 0 0 0 4px rgba(255, 196, 64, .25), 0 0 28px 4px rgba(255, 196, 64, .65); filter: brightness(1.12); }
}
@keyframes hmShine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .hm-blink, .hm-blink::after { animation: none; } }

/* Visual52: match of the day and fixture rows. No markup/data changes. */
.td-card, .tm { background-color: #0c0c13; }
.td-match-bg { opacity: .22; }
.td-match-body { gap: 16px; }
.td-match .td-tags { position: static; flex-wrap: wrap; }
.td-match-body { padding: 22px; }
.td-tags { gap: 8px; }
.td-tag { min-height: 30px; border-radius: 8px; }
.td-free, .tm-free { color: #a8c9ff; background: #132139; border: 1px solid #375b91; box-shadow: none; }
.td-free { margin-inline-start: auto; padding: 5px 13px; font-size: 12px; font-weight: 700; }
.td-teams { gap: 14px; margin: 4px 0; align-items: stretch; }
.td-team { display: flex; justify-content: center; align-items: center; min-width: 0; padding: 16px 8px;
  font-size: clamp(19px, 2.4vw, 29px); font-weight: 800; line-height: 1.7; border: 1px solid #512a37;
  border-top: 3px solid #ff2e4f; border-radius: 12px; background: #19121c; text-shadow: none; }
.td-away { border-color: #294363; border-top-color: #3b82ff; background: #111c2b; }
.td-vs, .tm-vs { direction: ltr; font-family: Arial, sans-serif; font-weight: 800; color: #f8fafc; background: #141720;
  border: 1px solid #414858; box-shadow: 3px 0 0 -1px #ff2e4f, -3px 0 0 -1px #3b82ff; }
.td-vs { width: 40px; height: 40px; border-radius: 12px; align-self: center; font-size: 12px; }
.td-count { background: #10131c; border-color: #2b3444; border-radius: 10px; }
.td-count-v { font-size: 23px; letter-spacing: 0; }
.td-meta { flex-direction: column; gap: 7px; padding: 12px; border-radius: 10px; background: #10131c; border: 1px solid #282f3d; }
.td-when, .td-venue { justify-content: center; line-height: 1.9; }
.td-when { font-weight: 600; color: #e1e9f5; }
.td-venue { font-size: 12px; color: #b2bdd0; }
.td-ex { color: #b7c1d1; }
.tm { border-color: #303340; background: #0d1018; }
.tm-sum { padding: 17px 18px; }
.tm-list { padding: 0 12px 10px; }
.tm-list li + li { border: 0; margin-top: 6px; }
.tm-row { grid-template-columns: 88px minmax(0,1fr) auto auto; padding: 13px 12px; gap: 12px;
  background: #141720; border: 1px solid #282e3b; border-radius: 12px; }
.tm-row.tm-pick { background: #151924; border-color: #3b526f; }
.tm-row:hover, .tm-row:focus-visible { background: #1a2030; border-color: #3b82ff; }
.tm-row:focus-visible { outline: 2px solid #82b0ff; outline-offset: 2px; }
.tm-time { text-align: center; min-width: 0; font-size: 12.5px; line-height: 1.9; color: #aacaff; }
.tm-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 10px; text-align: center; }
.tm-teams:has(> :only-child) { grid-template-columns: 1fr; }
.tm-team { font-size: 13px; line-height: 1.8; }
.tm-vs { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; padding: 0; border-radius: 7px; font-size: 9px; }
.tm-st { justify-content: center; min-height: 27px; padding: 3px 9px; font-size: 11px; }
@media (max-width: 600px) {
  .td-match-body { padding: 16px; }
  .td-teams { gap: 10px; }
  .td-team { padding: 14px 6px; font-size: 20px; }
  .td-vs { width: 30px; height: 34px; font-size: 10px; border-radius: 9px; }
  .td-meta { font-size: 12.5px; }
  .td-acts > .td-btn { flex: 1 1 100%; min-height: 44px; white-space: normal; line-height: 1.8; text-align: center; }
  .tm-row { grid-template-columns: minmax(0,1fr) auto; gap: 9px 12px; }
  .tm-teams { grid-column: 1 / -1; grid-row: 1; }
  .tm-time { text-align: start; grid-column: 1; grid-row: 2; }
  .tm-st { grid-column: 2; grid-row: 2; }
  .tm-go { display: none; }
  .hm-title { font-size: 30px; line-height: 1.65; }
}
.td-tg { background: linear-gradient(135deg, #2aa3e0, #1d6fd1); }
.td-tg svg { width: 28px; height: 28px; color: #fff; }
