:root {
  --bg: #1f1f1f;
  --bg-2: #181818;
  --side: #1b1b1b;
  --card: #2b2b2b;
  --card-2: #333333;
  --card-3: #3b3b3b;
  --line: #3a3a3a;
  --green: #1ed68f;
  --green-2: #14b277;
  --green-dark: #0e3a2c;
  --green-head: #126b4f;
  --yellow: #ffdf1b;
  --odd: #f2d04b;
  --text: #ffffff;
  --muted: #b3b3b3;
  --red: #ef4444;
  --radius: 6px;
  --radius-lg: 10px;
  --header-h: 82px;
  --side-w: 384px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .5);
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); font-size: 14px; line-height: 1.45;
  color: var(--text); background: var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 19px; font-style: normal; font-weight: 400; line-height: 1;
  user-select: none;
}
.ico--glyph { font-family: var(--font); font-weight: 700; font-size: 18px; }
.ico--sm { width: 16px; height: 16px; font-size: 13px; }
.ico--lg { width: 28px; height: 28px; font-size: 24px; }

@media (min-width: 992px) { .mobile-only { display: none !important; } }
@media (max-width: 991px) { .desktop-only { display: none !important; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid #6b7d76;
  font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--yellow { border-color: var(--yellow); color: var(--yellow); }
.btn--yellow:hover { background: var(--yellow); color: #111; border-color: var(--yellow); }
.btn--solid { background: var(--yellow); border-color: var(--yellow); color: #111; }
.btn--solid:hover { background: #ffe94f; color: #111; }
.btn--sm { height: 30px; padding: 0 12px; border-radius: 4px; font-size: 13px; border-color: #8a8a8a; }
.btn--lg { height: 46px; padding: 0 26px; font-size: 15px; }

.shirt {
  position: relative; display: inline-block; flex: none;
  width: 18px; height: 18px;
  background: var(--c1, #ccc);
  clip-path: polygon(28% 0, 40% 8%, 60% 8%, 72% 0, 100% 16%, 90% 40%, 80% 36%, 80% 100%, 20% 100%, 20% 36%, 10% 40%, 0 16%);
}
.shirt--stripes { background: repeating-linear-gradient(90deg, var(--c1) 0 3px, var(--c2) 3px 6px); }
.shirt--half { background: linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%); }
.shirt--band { background: linear-gradient(180deg, var(--c1) 0 35%, var(--c2) 35% 60%, var(--c1) 60%); }

.header {
  position: sticky; top: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: var(--header-h); padding: 0 80px;
  background: linear-gradient(180deg, #0f4a37 0%, #0c3a2c 60%, #0a2f24 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.header__left { display: flex; align-items: center; gap: 14px; }
.burger { display: flex; color: #fff; }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: stretch; gap: 10px; height: 100%; }
.nav a {
  position: relative; display: flex; align-items: center;
  padding: 0 34px; font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: color .2s;
}
.nav a:hover { color: var(--green); }
.nav a.is-active { color: var(--green); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); }
.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }

.sidebar {
  position: fixed; top: var(--header-h); bottom: 0; left: 0; z-index: 50;
  width: var(--side-w); padding: 30px 30px 40px 72px;
  background: var(--side);
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: #555 transparent;
  transition: transform .3s ease;
}
.side-title { margin: 12px 0 18px; font-size: 19px; font-weight: 700; color: var(--green); }
.side-title + .side-list { margin-bottom: 38px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a {
  display: flex; align-items: center; gap: 14px;
  min-height: 52px; font-size: 15px; font-weight: 700;
  transition: color .2s;
}
.side-list a:hover { color: var(--green); }
.side-list .ico { width: 26px; height: 26px; font-size: 22px; }
.side-list__soon { width: 0; height: 0; margin: 0 6px 0 2px; border-left: 12px solid var(--green); border-top: 10px solid transparent; border-bottom: 10px solid transparent; filter: drop-shadow(6px 0 0 var(--green)); }

.overlay { position: fixed; inset: 0; z-index: 65; background: rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
body.menu-open { overflow: hidden; }
body.menu-open .overlay { opacity: 1; visibility: visible; }

.page { min-width: 0; margin-left: var(--side-w); padding: 12px 100px 0 38px; }
.search { position: relative; }
.search .ico { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); filter: grayscale(1) brightness(1.8); font-size: 18px; }
.search input {
  width: 100%; height: 52px; padding: 0 24px 0 62px;
  border: 0; border-radius: 999px; background: #2e2e2e; color: #fff; outline: none;
  font-size: 18px; font-weight: 700;
}
.search input::placeholder { color: #fff; }
.search input:focus { box-shadow: 0 0 0 2px var(--green); }

.section { margin-top: 36px; }
.section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.section__title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 20px; font-weight: 700; }
.section__actions { display: flex; gap: 8px; margin-left: auto; }
.section__arrow { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 4px; border: 1.5px solid #8a8a8a; font-size: 18px; font-weight: 700; }
.section__arrow:hover { border-color: #fff; }

.featured {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 8px) / 4); gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.featured::-webkit-scrollbar { display: none; }
.combo {
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 18px 6px 6px; border-radius: var(--radius); background: var(--card);
}
.combo__title { margin: 0 6px 14px; font-size: 15px; font-weight: 700; }
.combo__legs { list-style: none; margin: 0 6px; padding: 0; flex: 1; }
.combo__legs li { display: flex; align-items: center; gap: 12px; padding: 4px 0; font-size: 15px; color: #e6e6e6; }
.combo__legs li[hidden] { display: none; }
.combo__legs .ico { width: 18px; height: 18px; font-size: 13px; filter: grayscale(1) brightness(1.8); }
.combo__more { display: flex; align-items: center; gap: 12px; margin: 4px 6px 0; font-size: 14px; color: var(--green); }
.combo__more::before { content: "⌄"; display: inline-flex; justify-content: center; width: 18px; color: #8a8a8a; }
.combo__more[aria-expanded="true"]::before { transform: rotate(180deg); }
.combo__boost { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 22px 6px 10px; font-size: 14px; font-weight: 900; color: var(--green); text-transform: uppercase; letter-spacing: -.01em; }
.combo__boost--plain { color: var(--green); }
.combo__fire { display: inline-flex; align-items: center; gap: 4px; flex: none; color: #fff; text-transform: none; font-weight: 700; }
.combo__fire::before { content: ""; width: 10px; height: 13px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 75%, #ffd36a 0 25%, transparent 26%), #ff7a1a; }
.combo__odd {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 56px; padding: 6px; border-radius: 4px; background: var(--card-3);
  transition: background .15s;
}
.combo__odd:hover { background: #454545; }
.combo__odd b { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; line-height: 1.1; }
.combo__odd b s { font-size: 15px; font-weight: 400; color: #bdbdbd; }
.combo__odd b em { font-style: normal; color: var(--odd); }
.combo__odd small { font-size: 12.5px; color: #e6e6e6; }
.combo__odd.is-selected { background: var(--green-head); }

.day-head {
  display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 230px); align-items: center;
  height: 52px; padding: 0 10px; margin-top: 16px;
  border-radius: var(--radius); background: var(--card);
  font-size: 15px; font-weight: 700;
}
.day-head span:not(:first-child) { text-align: center; }

.match {
  display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 230px); gap: 0 6px;
  margin-top: 10px; padding: 10px 10px 8px;
  border-radius: var(--radius); background: var(--card);
}
.match__info { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding-top: 12px; }
.match__team { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.match__league { margin-top: -8px; font-size: 14px; color: #d0d0d0; }
.match__meta { display: flex; align-items: center; gap: 6px; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 2px; height: 20px; padding: 0 5px; border: 1px solid #9a9a9a; border-radius: 4px; font-size: 12px; }
.chip--play::before { content: ""; border-left: 7px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.chip--green { border-color: var(--green); color: #fff; font-weight: 700; }
.chip--green::after { content: "»"; color: var(--green); font-weight: 900; }
.match .odd { min-height: 94px; }
.match__stats { grid-column: 1 / -1; justify-self: end; margin-top: -24px; }
.stats-btn { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px; border: 1px solid #9a9a9a; border-radius: 4px; font-size: 12px; }
.stats-btn::after { content: ""; width: 9px; height: 9px; background: linear-gradient(#fff, #fff) 0 100% / 2px 45% no-repeat, linear-gradient(#fff, #fff) 3.5px 100% / 2px 100% no-repeat, linear-gradient(#fff, #fff) 7px 100% / 2px 70% no-repeat; }
.stats-btn:hover { border-color: #fff; }

.odd {
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px; background: var(--card-3);
  font-size: 17px; color: var(--odd);
  transition: background .15s, color .15s;
}
.odd:hover { background: #454545; }
.odd.is-selected { background: var(--green-head); color: #fff; font-weight: 700; }
.odd small { display: none; }

.slip {
  position: fixed; right: 24px; bottom: 0; z-index: 58;
  width: 340px; max-height: 80vh; overflow: hidden;
  border-radius: 10px 10px 0 0; background: #2a2a2a; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .3s ease;
}
.slip.is-visible { transform: translateY(calc(100% - 48px)); }
.slip.is-open { transform: none; }
.slip__bar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; background: var(--green-head); font-size: 15px; font-weight: 700; flex: none; }
.slip__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--yellow); color: #111; font-size: 12px; font-weight: 800; }
.slip__chev { margin-left: auto; font-size: 14px; transition: transform .25s; }
.slip.is-open .slip__chev { transform: rotate(180deg); }
.slip__body { padding: 10px 12px 14px; overflow-y: auto; }
.slip__list { list-style: none; margin: 0; padding: 0; }
.slip__item { position: relative; padding: 10px 28px 10px 12px; border-radius: 4px; background: #333; }
.slip__item + .slip__item { margin-top: 6px; }
.slip__pick { display: flex; justify-content: space-between; gap: 6px; font-size: 13.5px; font-weight: 700; }
.slip__pick b { color: var(--odd); }
.slip__match { margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.slip__remove { position: absolute; top: 8px; right: 8px; display: flex; color: var(--muted); font-size: 13px; }
.slip__remove:hover { color: #fff; }
.slip__row { display: flex; justify-content: space-between; margin: 10px 0 6px; font-size: 13.5px; color: #ddd; }
.slip__row b { color: #fff; }
.slip__stake { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.slip__stake label { font-size: 12.5px; color: var(--muted); }
.slip__stake input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid #555; border-radius: 4px; background: #1f1f1f; color: #fff; outline: none; text-align: right; }
.slip__stake input:focus { border-color: var(--green); }
.slip__quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.slip__quick button { height: 28px; border-radius: 4px; background: #3b3b3b; font-size: 12.5px; font-weight: 700; color: var(--odd); }
.slip__quick button:hover { background: #454545; }
.slip__win b { color: var(--yellow); font-size: 16px; }
.slip__actions { display: flex; gap: 8px; margin-top: 10px; }
.slip__actions .btn { flex: 1; height: 44px; border-radius: 6px; }
.slip__clear { flex: none !important; padding: 0 14px; }

.content {
  min-width: 0;
  margin: 36px 0 0; padding: 32px 36px;
  border-radius: var(--radius-lg); background: var(--card);
  font-size: 15.5px; line-height: 1.75; color: #e2e2e2;
  overflow-wrap: break-word;
}
.content > :first-child { margin-top: 0; }
.content > :last-child { margin-bottom: 0; }
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 { color: #fff; font-weight: 700; line-height: 1.3; }
.content h1 { font-size: 30px; margin: 0 0 18px; }
.content h2 { font-size: 23px; margin: 36px 0 14px; color: var(--green); }
.content h3 { font-size: 19px; margin: 28px 0 12px; }
.content h4 { font-size: 17px; margin: 22px 0 10px; color: var(--yellow); }
.content h5, .content h6 { font-size: 15px; margin: 18px 0 8px; }
.content p { margin: 0 0 16px; }
.content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.content a:hover { color: #6ff0bd; }
.content strong, .content b { color: #fff; font-weight: 700; }
.content mark { padding: 0 4px; border-radius: 3px; background: var(--yellow); color: #111; }
.content small { font-size: 13px; color: var(--muted); }
.content ul, .content ol { margin: 0 0 18px; padding-left: 24px; }
.content li { margin-bottom: 8px; }
.content li > ul, .content li > ol { margin: 8px 0 0; }
.content ul li::marker { color: var(--green); }
.content ol li::marker { color: var(--green); font-weight: 700; }
.content img { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: var(--radius-lg); }
.content figure { margin: 24px 0; }
.content figure img { margin: 0 auto; }
.content figcaption { margin-top: 8px; font-size: 13px; text-align: center; color: var(--muted); }
.content table {
  width: 100%; margin: 24px 0;
  border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--card-2); font-size: 14.5px; line-height: 1.5;
}
.content caption { padding: 0 0 10px; font-size: 13px; color: var(--muted); text-align: left; }
.content th { padding: 12px 14px; text-align: left; font-weight: 700; background: var(--green-head); color: #fff; }
.content td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.content tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.content tbody tr:hover { background: rgba(30, 214, 143, .08); }
.content blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; background: var(--card-2); font-style: italic; }
.content blockquote p:last-child { margin-bottom: 0; }
.content hr { height: 1px; margin: 32px 0; border: 0; background: var(--line); }
.content code { padding: 2px 6px; border-radius: 4px; background: var(--card-3); font-size: .9em; }
.content pre { margin: 24px 0; padding: 16px; overflow-x: auto; border-radius: var(--radius); background: var(--bg-2); }
.content pre code { padding: 0; background: none; }
.content iframe, .content video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 24px 0; border: 0; border-radius: var(--radius-lg); }
.content dl { margin: 0 0 18px; }
.content dt { font-weight: 700; color: #fff; }
.content dd { margin: 0 0 10px 18px; color: var(--muted); }
.content details { margin: 0 0 8px; padding: 14px 18px; border-radius: var(--radius); background: var(--card-2); }
.content summary { cursor: pointer; font-weight: 700; color: #fff; }
.content details[open] summary { margin-bottom: 10px; color: var(--green); }

.footer { margin: 50px -100px 0 -38px; padding: 40px 100px 26px 38px; background: var(--bg-2); border-top: 1px solid #2c2c2c; }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.3fr; gap: 28px; }
.footer__about { margin: 14px 0; font-size: 13px; color: var(--muted); }
.footer__title { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--green); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { font-size: 13.5px; color: #cfcfcf; transition: color .2s; }
.footer__list a:hover { color: #fff; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--card); font-size: 12.5px; font-weight: 700; }
.pay .ico { width: 16px; height: 16px; font-size: 13px; }
.orgs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge-18 { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border: 2px solid var(--yellow); border-radius: 50%; font-size: 13px; font-weight: 900; color: var(--yellow); }
.org { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1.5px solid #6b6b6b; border-radius: 999px; font-size: 13px; font-weight: 700; transition: border-color .2s, color .2s; }
.org:hover { border-color: var(--green); color: var(--green); }
.footer__note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid #2c2c2c; font-size: 12.5px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: #fff; }

.to-top {
  position: fixed; right: 24px; bottom: 64px; z-index: 45;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-head); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s;
}
.to-top:hover { background: var(--green-2); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
body:not(.has-slip) .to-top { bottom: 20px; }

.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - var(--header-h) - 200px); padding: 60px 16px; text-align: center; }
.error-page__code { display: flex; align-items: center; gap: .04em; font-size: clamp(100px, 20vw, 190px); font-weight: 900; line-height: 1; }
.error-page__code span:first-child, .error-page__code span:last-child { color: var(--yellow); }
.error-ball {
  width: .72em; height: .72em; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1f1f1f 0 14%, transparent 15%), radial-gradient(circle at 18% 30%, #1f1f1f 0 9%, transparent 10%), radial-gradient(circle at 82% 30%, #1f1f1f 0 9%, transparent 10%), radial-gradient(circle at 30% 85%, #1f1f1f 0 9%, transparent 10%), radial-gradient(circle at 70% 85%, #1f1f1f 0 9%, transparent 10%), radial-gradient(circle at 35% 30%, #fff, #c8ccd2);
  box-shadow: 0 0 0 .03em var(--green), 0 18px 40px rgba(0, 0, 0, .5);
  animation: roll 5s linear infinite;
}
@keyframes roll { to { transform: rotate(360deg); } }
.error-page h1 { margin: 22px 0 10px; font-size: clamp(24px, 4vw, 34px); }
.error-page p { max-width: 520px; margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.error-page__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.error-page__links a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 700; }
.error-page__links a:hover { background: var(--card-3); color: var(--green); }
.error-page__links .ico { width: 18px; height: 18px; font-size: 14px; }

@media (max-width: 1600px) {
  :root { --side-w: 300px; }
  .header { padding: 0 32px; }
  .nav a { padding: 0 20px; }
  .sidebar { padding: 26px 24px 40px 34px; }
  .page { padding: 12px 32px 0 28px; }
  .footer { margin: 50px -32px 0 -28px; padding: 40px 32px 26px 28px; }
  .day-head, .match { grid-template-columns: minmax(0, 1fr) repeat(3, 170px); }
}

@media (max-width: 1280px) {
  :root { --side-w: 250px; }
  .header__actions { gap: 8px; }
  .header__actions .btn { padding: 0 12px; font-size: 14px; }
  .nav a { padding: 0 14px; font-size: 14px; }
  .featured { grid-auto-columns: calc((100% - 2 * 8px) / 3); }
  .day-head, .match { grid-template-columns: minmax(0, 1fr) repeat(3, 120px); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  :root { --header-h: 108px; }
  .header { grid-template-columns: 1fr auto; grid-template-rows: 60px 48px; gap: 0 10px; height: var(--header-h); padding: 0 12px; }
  .logo img { height: 26px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; border-top: 1px solid rgba(255, 255, 255, .08); }
  .nav a { padding: 0 16px; font-size: 14px; }
  .header__actions .btn { height: 34px; padding: 0 12px; font-size: 13px; }

  .sidebar { top: 0; z-index: 70; width: min(84vw, 320px); padding: 18px 20px 40px; transform: translateX(-100%); box-shadow: var(--shadow); }
  .sidebar__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .sidebar__top img { height: 26px; }
  .sidebar__close { font-size: 20px; color: var(--muted); }
  body.menu-open .sidebar { transform: none; }
  .side-list a { min-height: 46px; }

  .page { margin-left: 0; padding: 10px 10px 0; }
  .search input { height: 46px; font-size: 16px; }
  .section { margin-top: 26px; }
  .section__title { font-size: 18px; }
  .featured { grid-auto-columns: 82%; }
  .day-head, .match { grid-template-columns: minmax(0, 1fr) repeat(3, 76px); }
  .match .odd { min-height: 76px; font-size: 16px; }
  .match__team { font-size: 15px; }
  .footer { margin: 40px -10px 0; padding: 30px 14px 80px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .slip { left: 0; right: 0; width: auto; border-radius: 14px 14px 0 0; }
  .to-top { right: 12px; }
}

@media (max-width: 768px) {
  .content { padding: 22px 16px; font-size: 15px; line-height: 1.7; }
  .content h1 { font-size: 25px; }
  .content h2 { font-size: 20px; margin-top: 28px; }
  .content h3 { font-size: 17.5px; }
  .content h4 { font-size: 16px; }
  .content table {
    display: block; width: 100%; max-width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    white-space: nowrap; font-size: 14px;
  }
  .content th, .content td { padding: 10px 12px; }
}

@media (max-width: 560px) {
  .header__actions .btn--rewards { display: none; }
  .nav a { padding: 0 12px; }
  .day-head, .match { grid-template-columns: minmax(0, 1fr) repeat(3, 56px); gap: 0 4px; }
  .day-head { font-size: 13px; }
  .match__info { gap: 12px; padding-top: 4px; }
  .match__team { font-size: 14px; gap: 8px; }
  .match__league { font-size: 12px; margin-top: 0; }
  .match .odd { min-height: 0; font-size: 14.5px; }
  .match__stats { margin-top: 6px; }
  .combo__legs li { font-size: 14px; }
  .combo__boost { font-size: 12.5px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 370px) {
  .logo img { height: 22px; }
  .header__actions .btn { padding: 0 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.match[hidden] { display: none; }
