:root {
  --bg: #f4f5f7;
  --card: #fff;
  --ink: #111318;
  --muted: #6b7280;
  --line: #eceef2;
  --red: #e11d2e;
  --dark: #111318;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Cairo, Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.ys-wrap { width: min(920px, calc(100% - 28px)); margin-inline: auto; }

.ys-header { background: #fff; border-bottom: 1px solid var(--line); }
.ys-header-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.ys-logo { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.ys-logo b { font-weight: 800; letter-spacing: -.03em; }
.ys-ball {
  width: 22px; height: 22px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 28%, transparent 29%),
    radial-gradient(circle at 70% 65%, #111 0 18%, transparent 19%),
    #111;
}
.ys-menu-btn {
  display: none; appearance: none; border: 0; background: transparent;
  width: 42px; height: 42px; padding: 10px; cursor: pointer;
}
.ys-menu-btn span {
  display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0;
}
.ys-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: .92rem; }
.ys-nav .is-on a, .ys-nav a:hover { color: var(--red); }

.ys-hero { padding: 22px 0 8px; }
.ys-hero-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--dark); color: #fff;
  border-radius: 28px; padding: 22px 22px 22px 18px;
}
.ys-hero-icon {
  width: 56px; height: 56px; border-radius: 16px; flex: 0 0 56px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='%23111318'/%3E%3Cpath d='M12 7.6 15.4 10l-1.3 4h-4.2L8.6 10z' fill='%23fff'/%3E%3C/svg%3E") center/34px no-repeat;
}
.ys-hero-kicker { margin: 0 0 4px; color: #9ca3af; font-size: .78rem; font-weight: 700; }
.ys-hero-card strong { display: block; font-size: 1.15rem; }
.ys-hero-card span { display: block; color: #cbd5e1; font-size: .86rem; }
.ys-hero-cta {
  margin-right: auto; background: #fff; color: var(--ink);
  border-radius: 999px; padding: 10px 16px; font-weight: 800; white-space: nowrap;
}

.ys-table-sec { padding: 18px 0 36px; }
.ys-table-head { text-align: right; margin-bottom: 16px; }
.ys-table-head h1 { margin: 0; font-size: 2rem; font-weight: 900; }
.ys-table-sub { margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.ys-days {
  display: flex; background: #fff; border-radius: 999px;
  padding: 6px; margin: 0 0 18px; gap: 6px;
}
.ys-day {
  flex: 1; text-align: center; border-radius: 999px;
  padding: 10px 8px; font-weight: 800; color: #6b7280;
}
.ys-day.is-on { background: var(--red); color: #fff; }

.ys-list { display: grid; gap: 10px; }
.ys-card-tools {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 6px;
}
.ys-card-tools a {
  background: #f5f7fa; border: 1px solid #e7eaf0; color: #14171a;
  border-radius: 8px; padding: 4px 10px; font-size: 10.5px; font-weight: 800;
}
.ys-card-tools a:hover { border-color: var(--red); color: var(--red); }
.ys-mid-link { display: block; color: inherit; }
.ys-league-tools {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.ys-league-tools a {
  background: #f5f7fa; border: 1px solid #e7eaf0; color: #14171a;
  border-radius: 10px; padding: 8px 14px; font-size: .86rem; font-weight: 800;
}
.ys-league-tools a:hover { border-color: var(--red); color: var(--red); }
.ys-league-sec {
  background: #fff; border-radius: 20px; padding: 16px 18px; margin-top: 12px;
}
.ys-league-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ys-league-sec-head h2 { margin: 0; font-size: 1.1rem; }
.ys-league-sec-head span { color: var(--muted); font-weight: 700; font-size: .88rem; }
.ys-comps { padding: 0 0 36px; }
.ys-comps h2 { margin: 0 0 14px; }
.ys-comps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ys-comp-link {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; padding: 14px 16px; font-weight: 800;
}
.ys-comp-link img { width: 36px; height: 36px; object-fit: contain; }
.ys-comp { padding-bottom: 48px; }
.ys-comp-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 12px; }
.ys-comp-head h1 { margin: 0; font-size: 1.7rem; }
.ys-comp-tabs {
  display: flex; background: #fff; border-radius: 999px; padding: 6px; margin: 0 0 16px; gap: 6px;
}
.ys-comp-tabs a { flex: 1; text-align: center; border-radius: 999px; padding: 10px 8px; font-weight: 800; color: #6b7280; }
.ys-comp-tabs a.is-on { background: var(--red); color: #fff; }
.ys-comp-card { background: #fff; border-radius: 24px; padding: 8px 10px 16px; overflow: hidden; }
.ys-stand-scroll { overflow: auto; }
.ys-stand-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.ys-stand-table th, .ys-stand-table td { padding: 10px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.ys-stand-table th { color: var(--muted); font-size: .75rem; }
.ys-stand-table td.ys-st-team { text-align: right; font-weight: 800; }
.ys-stand-table td.ys-st-team span { vertical-align: middle; }
.ys-stand-table td.ys-st-team img { vertical-align: middle; margin-left: 8px; }
.ys-scorers { display: grid; gap: 8px; padding: 8px; }
.ys-scorer {
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 10px;
  padding: 10px; border-radius: 14px; background: #f8f9fb;
}
.ys-scorer-rank { font-weight: 900; color: var(--muted); min-width: 1.5rem; text-align: center; }
.ys-scorer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #e5e7eb; }
.ys-scorer-info b { display: block; }
.ys-scorer-info span { color: var(--muted); font-size: .82rem; font-weight: 700; }
.ys-scorer-goals { text-align: center; min-width: 48px; }
.ys-scorer-goals b { display: block; font-size: 1.1rem; color: var(--red); }
.ys-scorer-goals span { font-size: .72rem; color: var(--muted); font-weight: 800; }

.ys-card {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 10px; background: #fff; border-radius: var(--radius);
  padding: 16px 14px; min-height: 118px;
}
.ys-card.has-tools { padding-bottom: 12px; }
.ys-team { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.ys-team.away { flex-direction: row-reverse; text-align: left; }
.ys-badge {
  width: 42px; height: 42px; border-radius: 50%; background: #f3f4f6;
  display: grid; place-items: center; overflow: hidden; flex: 0 0 42px; font-weight: 800;
}
.ys-badge img { width: 34px; height: 34px; object-fit: contain; }
.ys-mid { text-align: center; min-width: 110px; }
.ys-score { font-size: 1.35rem; font-weight: 900; letter-spacing: .04em; }
.ys-time { font-weight: 800; color: #374151; }
.ys-st { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 800; color: #6b7280; }
.ys-st.is-live { color: var(--red); }
.ys-st.is-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-left: 6px; animation: pulse 1.2s infinite; }
.ys-league { display: block; margin-top: 2px; font-size: .75rem; color: #9ca3af; font-weight: 700; }
@keyframes pulse { 50% { opacity: .35; } }
.ys-state, .ys-empty { text-align: center; padding: 28px; color: var(--muted); }

.ys-arts { padding: 0 0 48px; }
.ys-arts h2 { margin: 0 0 14px; }
.ys-arts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ys-art {
  background: #fff; border-radius: 18px; padding: 16px 16px 18px; display: block;
}
.ys-art span { color: var(--red); font-size: .75rem; font-weight: 800; }
.ys-art strong { display: block; margin: 4px 0 6px; }
.ys-art p { margin: 0; color: var(--muted); font-size: .9rem; }

.ys-footer { background: #fff; border-top: 1px solid var(--line); padding: 32px 0 24px; }
.ys-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.ys-footer ul { list-style: none; margin: 8px 0 0; padding: 0; }
.ys-footer li { margin: 4px 0; }
.ys-footer p { color: var(--muted); }
.ys-copy { margin: 22px 0 0; color: #9ca3af; font-size: .85rem; }

.ys-ads { width: min(920px, calc(100% - 28px)); margin: 10px auto; }
.client-ad { overflow: hidden; }

.ys-crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 18px 0 0; margin: 0; color: var(--muted); font-size: .86rem; font-weight: 700; }
.ys-crumbs li:not(:last-child)::after { content: "/"; margin-right: 8px; color: #d1d5db; }
.ys-crumbs a:hover { color: var(--red); }

.ys-match { padding-bottom: 48px; }
.ys-hero-match {
  background: #fff; border-radius: 28px; padding: 28px 18px 22px; text-align: center; margin-top: 12px;
}
.ys-hero-match .lg { color: var(--muted); font-weight: 800; }
.ys-hero-match h1 { margin: 8px 0 22px; font-size: 1.7rem; }
.ys-vs {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.ys-vs .side { display: grid; justify-items: center; gap: 8px; font-weight: 800; }
.ys-vs img, .ys-vs .ph { width: 70px; height: 70px; object-fit: contain; }
.ys-vs .ph { border-radius: 50%; background: #f3f4f6; display: grid; place-items: center; font-size: 1.4rem; }
.ys-vs .center { min-width: 120px; }
.ys-vs .score { font-size: 2rem; font-weight: 900; }
.ys-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: #fff; border-radius: 20px; padding: 14px; margin-top: 12px;
}
.ys-facts div { background: #f8f8fa; border-radius: 14px; padding: 10px 8px; text-align: center; }
.ys-facts span { display: block; color: var(--muted); font-size: .75rem; font-weight: 800; }
.ys-facts b { font-size: .92rem; }

.ys-play-sec { background: #fff; border-radius: 20px; padding: 16px; margin-top: 12px; }
.ys-play-sec h2 { margin: 0 0 12px; font-size: 1.15rem; }
.ys-player {
  position: relative; background: #0b0b0d; border-radius: 16px; overflow: hidden;
  min-height: 240px; display: grid; place-items: center;
}
.ys-play-btn {
  appearance: none; border: 0; background: transparent; color: #fff;
  display: grid; justify-items: center; gap: 10px; cursor: pointer; font: inherit; font-weight: 800;
  text-decoration: none;
}
.ys-play-btn .tri {
  width: 72px; height: 72px; border-radius: 50%; background: #fff;
  display: grid; place-items: center;
}
.ys-play-btn .tri::after {
  content: ""; width: 0; height: 0;
  border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #111;
  margin-right: -4px;
}
.ys-play-btn[hidden] { display: none; }
.ys-play-off { color: #9ca3af; padding: 40px 16px; text-align: center; font-weight: 700; }

.ys-copy-block { background: #fff; border-radius: 20px; padding: 20px 18px; margin-top: 12px; }
.ys-copy-block h2 { font-size: 1.15rem; }
.ys-rel { margin-top: 18px; }
.ys-rel h2 { margin: 0 0 10px; }
.ys-rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ys-rel a { background: #fff; border-radius: 16px; padding: 14px; display: block; }
.ys-rel small { color: var(--muted); font-weight: 700; }

.ys-prose { background: #fff; border-radius: 20px; padding: 22px 18px 28px; margin: 12px 0 40px; }
.ys-prose h1 { margin-top: 0; }
.ys-prose h2 { font-size: 1.2rem; }
.ys-static { padding-bottom: 40px; }

@media (max-width: 720px) {
  .ys-menu-btn { display: block; }
  .ys-header-in { position: relative; }
  .ys-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 8px; z-index: 40; box-shadow: 0 12px 32px rgba(17,19,24,.08);
  }
  .ys-nav.is-open { display: block; }
  .ys-nav ul { flex-direction: column; gap: 0; }
  .ys-nav li a { display: block; padding: 10px 12px; border-radius: 12px; }
  .ys-hero-card { flex-wrap: wrap; }
  .ys-hero-cta { margin: 0; }
  .ys-arts-grid, .ys-rel-grid, .ys-foot-grid, .ys-facts, .ys-comps-grid { grid-template-columns: 1fr; }
  .ys-card { padding: 14px 10px; }
  .ys-team { font-size: .86rem; }
}
