:root {
  --bg: #0a1a36;
  --bg-2: #0d1f40;
  --top: #071430;
  --nav: #0e2756;
  --panel: #102650;
  --panel-2: #15306180;
  --card: #0f2348;
  --card-2: #142c58;
  --odd: #183464;
  --odd-hover: #21437c;
  --line: #1d3768;
  --wine: #6a1230;
  --wine-2: #8f1f44;
  --yellow: #ffd400;
  --yellow-2: #ffbf00;
  --text: #ffffff;
  --muted: #9fb0d3;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .45);
  --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;
  display: flex; flex-direction: column;
  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;
}
.wrap { width: 100%; max-width: 1640px; margin: 0 auto; padding: 0 10px; }

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

@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: 30px; padding: 0 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--yellow { background: var(--yellow); color: #0a1a36; }
.btn--yellow:hover { background: #ffe14d; }
.btn--outline { border: 1.5px solid var(--yellow); color: var(--yellow); }
.btn--outline:hover { background: var(--yellow); color: #0a1a36; }
.btn--lg { height: 44px; padding: 0 26px; font-size: 14px; }

.flag { display: inline-block; flex: none; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.flag--br { background: radial-gradient(circle at 50% 50%, #002776 0 22%, transparent 23%), linear-gradient(135deg, transparent 30%, #ffdf00 30% 70%, transparent 70%), linear-gradient(45deg, transparent 30%, #ffdf00 30% 70%, transparent 70%), #009c3b; background-blend-mode: normal; }
.flag--en { background: linear-gradient(90deg, transparent 42%, #ce1124 42% 58%, transparent 58%), linear-gradient(0deg, transparent 38%, #ce1124 38% 62%, transparent 62%), #fff; }
.flag--es { background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag--it { background: linear-gradient(90deg, #009246 0 33.3%, #fff 33.3% 66.6%, #ce2b37 66.6%); }
.flag--de { background: linear-gradient(180deg, #000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.flag--fr { background: linear-gradient(90deg, #0055a4 0 33.3%, #fff 33.3% 66.6%, #ef4135 66.6%); }
.flag--eu { background: radial-gradient(circle, transparent 0 30%, #ffcc00 31% 38%, transparent 39%), #003399; }
.flag--ar { background: linear-gradient(180deg, #74acdf 0 33.3%, #fff 33.3% 66.6%, #74acdf 66.6%); }

.badge {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c1, #334); color: var(--c2, #fff);
  box-shadow: inset 0 0 0 2px var(--c2, #fff);
  font-size: 7.5px; font-weight: 900; letter-spacing: -.02em; line-height: 1;
}
.badge--lg { width: 40px; height: 40px; font-size: 12px; box-shadow: inset 0 0 0 3px var(--c2, #fff); }

.topbar { background: var(--top); border-bottom: 1px solid #0f2246; }
.topbar .wrap { display: flex; align-items: center; gap: 14px; min-height: 40px; }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #dbe4f7; }
.topbar__link:hover { color: var(--yellow); }
.socials { display: flex; align-items: center; gap: 4px; margin-left: 20px; }
.socials a {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  color: #dbe4f7; transition: color .2s, background .2s;
}
.socials a:hover { color: var(--yellow); background: rgba(255, 255, 255, .06); }
.socials svg { width: 13px; height: 13px; fill: currentColor; }
.topbar__right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.lang { display: flex; align-items: center; gap: 4px; font-size: 12px; }

.nav { position: sticky; top: 0; z-index: 50; background: linear-gradient(180deg, #102c60, var(--nav)); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 52px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 22px; width: auto; }
.nav__burger { display: flex; color: #fff; }
.nav__list { display: flex; align-items: center; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__list a {
  position: relative; flex: none;
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; white-space: nowrap; color: #e6ecfa;
  transition: background .2s, color .2s;
}
.nav__list a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav__list a.is-active { background: rgba(255, 212, 0, .12); box-shadow: inset 0 0 0 1.5px var(--yellow); color: var(--yellow); }
.nav__new {
  position: absolute; top: -3px; right: -2px;
  padding: 0 4px; border-radius: 3px; background: var(--red);
  font-size: 8px; font-weight: 800; line-height: 12px; text-transform: none; color: #fff;
}

.layout {
  display: grid; grid-template-columns: 215px minmax(0, 1fr) 300px 240px; gap: 10px; align-items: start;
  padding-top: 10px; padding-bottom: 10px;
}

.box { border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.box + .box { margin-top: 10px; }
.box__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 38px; padding: 0 12px;
  background: var(--card-2); font-size: 13px; font-weight: 700;
}
.box__head--yellow { background: linear-gradient(180deg, var(--yellow), var(--yellow-2)); color: #0a1a36; text-transform: uppercase; font-size: 12px; }
.box__body { padding: 10px; }

.left-promo {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  min-height: 92px; padding: 12px 14px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--wine-2), #3c0a1f);
  font-size: 16px; font-weight: 800; line-height: 1.15;
}
.left-promo img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.left-promo__close {
  position: absolute; top: 6px; right: 6px;
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); color: #0a1a36; font-size: 11px; font-weight: 900;
}
.field { position: relative; margin-top: 10px; }
.field input {
  width: 100%; height: 38px; padding: 0 12px 0 34px;
  border: 0; border-radius: 4px; background: #fff; color: #0a1a36; outline: none; font-size: 13px;
}
.field input::placeholder { color: #8a94a8; }
.field input:focus { box-shadow: 0 0 0 2px var(--yellow); }
.field .ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); filter: grayscale(1); opacity: .7; }

.league-list { list-style: none; margin: 0; padding: 4px 0; }
.league-list a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; font-size: 13px; transition: background .2s;
}
.league-list a:hover { background: var(--card-2); }
.league-list .league-list__ball { margin-left: auto; filter: grayscale(1) brightness(1.6); font-size: 12px; }

.side-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.side-tabs button { height: 36px; font-size: 12px; background: var(--card); color: var(--muted); }
.side-tabs button.is-active { background: var(--panel); color: #fff; font-weight: 700; }
.range { padding: 12px 12px 6px; }
.range input[type=range] { width: 100%; accent-color: var(--yellow); height: 14px; }
.range__labels { display: flex; justify-content: space-between; margin-top: 2px; font-size: 10.5px; font-weight: 700; color: #dbe4f7; }
.range__labels span.is-active { color: var(--yellow); }
.sport-list { list-style: none; margin: 0; padding: 4px 0 6px; }
.sport-list a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; font-size: 13px; transition: background .2s;
}
.sport-list a:hover { background: var(--card-2); }
.sport-list__count { margin-left: auto; font-size: 12px; color: #dbe4f7; }
.sport-list__chev { color: var(--muted); }

.hero { position: relative; overflow: hidden; border-radius: var(--radius); background: #12306a; }
.hero__track { display: flex; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.hero__slide { position: relative; flex: 0 0 100%; display: block; }
.hero__slide img { width: 100%; aspect-ratio: 1000 / 260; object-fit: cover; }
.hero__arrow {
  position: absolute; top: 50%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: #fff; color: #0a1a36; font-size: 20px; font-weight: 700; box-shadow: var(--shadow);
}
.hero__arrow--prev { left: 10px; }
.hero__arrow--next { right: 10px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.hero__dot.is-active { background: var(--yellow); }

.block { margin-top: 10px; border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.block__head {
  display: flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 12px;
  background: linear-gradient(90deg, var(--wine) 0%, var(--wine-2) 100%);
  font-size: 13px; font-weight: 500;
}
.block__head b { font-weight: 700; }
.block__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .35); }
.block__sub { color: #f7c9d7; }
.block__nav { display: flex; gap: 6px; margin-left: auto; }
.block__nav button {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); font-size: 16px; font-weight: 700;
}
.block__nav button:hover { background: var(--yellow); color: #0a1a36; }
.block__more { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--yellow); }
.block__more:hover { text-decoration: underline; }
.block__body { padding: 10px; }

.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 8px) / 3); gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 2px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; background: #3a5486; }
.dots button.is-active { background: #fff; }

.match {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 8px;
  padding: 8px; border-radius: var(--radius); background: var(--card);
}
.match__top { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.match__top b { color: #fff; }
.match__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; }
.match__team { display: flex; align-items: center; gap: 6px; min-width: 0; }
.match__team span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match__team--away { flex-direction: row-reverse; text-align: right; }
.match__vs { font-size: 11px; color: var(--muted); }
.match__meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.match__plus { color: var(--yellow); font-weight: 700; }

.odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.odds--2 { grid-template-columns: repeat(2, 1fr); }
.odd {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 40px; padding: 4px 2px; border-radius: 4px;
  background: var(--odd); transition: background .15s, color .15s, transform .1s;
}
.odd:hover { background: var(--odd-hover); }
.odd:active { transform: scale(.97); }
.odd b { font-size: 13.5px; font-weight: 700; }
.odd small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.odd.is-selected { background: var(--yellow); color: #0a1a36; }
.odd.is-selected small { color: #403300; }

.groups { display: grid; grid-template-columns: 110px repeat(6, minmax(0, 1fr)); gap: 6px; }
.group {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 66px; padding: 8px 4px; border-radius: var(--radius); background: var(--card);
  font-size: 11px; font-weight: 700; text-align: center; transition: background .2s;
}
.group:hover { background: var(--card-2); }
.group__flags { display: flex; gap: 3px; }
.group__codes { display: flex; gap: 4px; font-size: 9px; color: var(--muted); }
.group--all { font-size: 13px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.events { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0 4px; }
.events th { padding: 4px 6px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; text-align: center; }
.events th:first-child, .events th:nth-child(2) { text-align: left; }
.events td { padding: 6px; background: var(--card); vertical-align: middle; }
.events td:first-child { border-radius: 4px 0 0 4px; width: 70px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.events td:last-child { border-radius: 0 4px 4px 0; width: 60px; text-align: center; }
.events td.cell-odd { width: 76px; padding: 4px 2px; }
.events .odd { min-height: 34px; }
.event__teams { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 500; }
.event__teams span { display: flex; align-items: center; gap: 6px; }
.event__league { font-size: 11px; color: var(--muted); }
.live-dot { display: inline-flex; align-items: center; gap: 4px; color: var(--red); font-weight: 700; }
.live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.featured { border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.featured + .featured { margin-top: 10px; }
.featured__media { position: relative; display: block; overflow: hidden; isolation: isolate; min-height: 128px; }
.featured__media img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.featured__media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 26, 54, .95) 0%, rgba(10, 26, 54, .2) 70%); }
.featured__caption { position: absolute; left: 10px; right: 10px; bottom: 8px; }
.featured__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.2; }
.featured__league { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 11.5px; color: #dbe4f7; }
.featured__plus { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 4px; background: var(--odd); font-size: 11px; font-weight: 700; color: var(--yellow); }
.featured__goto { position: absolute; right: 8px; bottom: 8px; padding: 6px 10px; border-radius: 4px; background: var(--wine-2); font-size: 12px; font-weight: 700; }
.market { padding: 8px 10px; }
.market + .market { border-top: 1px solid var(--line); }
.market__title { margin: 0 0 6px; font-size: 12px; font-weight: 500; text-align: center; color: #dbe4f7; }
.mini-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 10px; background: var(--card); font-size: 12px; }
.mini-row__teams { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row__meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }

.slip { position: sticky; top: 62px; }
.slip__empty { padding: 28px 16px; font-size: 13px; font-weight: 700; line-height: 1.4; text-align: center; color: #dbe4f7; }
.slip__count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--yellow); color: #0a1a36; font-size: 11px; font-weight: 800; }
.slip__clear { font-size: 11px; font-weight: 500; color: var(--muted); text-decoration: underline; }
.slip__clear:hover { color: #fff; }
.slip__list { list-style: none; margin: 0; padding: 6px; }
.slip__item { position: relative; padding: 8px 28px 8px 10px; border-radius: 4px; background: var(--card); }
.slip__item + .slip__item { margin-top: 6px; }
.slip__pick { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; font-weight: 700; }
.slip__pick b { color: var(--yellow); }
.slip__match { margin-top: 2px; font-size: 11px; color: var(--muted); }
.slip__remove { position: absolute; top: 6px; right: 6px; display: flex; color: var(--muted); font-size: 13px; }
.slip__remove:hover { color: #fff; }
.slip__foot { padding: 10px; border-top: 1px solid var(--line); }
.slip__row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 12.5px; color: #dbe4f7; }
.slip__row b { color: #fff; }
.slip__stake { display: flex; align-items: center; gap: 6px; margin: 8px 0; }
.slip__stake label { font-size: 12px; color: var(--muted); }
.slip__stake input {
  flex: 1; min-width: 0; height: 34px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: #fff; outline: none; text-align: right;
}
.slip__stake input:focus { border-color: var(--yellow); }
.slip__quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 8px; }
.slip__quick button { height: 26px; border-radius: 4px; background: var(--odd); font-size: 11.5px; font-weight: 700; }
.slip__quick button:hover { background: var(--odd-hover); }
.slip__win b { color: var(--yellow); font-size: 15px; }
.slip__submit { width: 100%; height: 40px; margin-top: 4px; border-radius: 4px; }
.slip [hidden] { display: none !important; }

.popular { list-style: none; margin: 0; padding: 4px 6px 6px; }
.popular li { display: grid; grid-template-columns: 38px minmax(0, 1fr) 54px; gap: 6px; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.popular li:last-child { border-bottom: 0; }
.popular__date { font-size: 10.5px; line-height: 1.25; color: var(--muted); }
.popular__teams { font-size: 11.5px; line-height: 1.3; }
.popular__teams small { display: block; color: var(--muted); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popular .odd { min-height: 30px; }

.slip-fab {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: 50px; padding: 0 16px; border-radius: 10px;
  background: linear-gradient(180deg, var(--yellow), var(--yellow-2)); color: #0a1a36;
  box-shadow: var(--shadow); font-size: 14px; font-weight: 800; text-transform: uppercase;
}
.slip-fab[hidden] { display: none; }
.slip-fab__count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: #0a1a36; color: var(--yellow); font-size: 12px; }

.content {
  min-width: 0;
  margin-top: 10px; padding: 32px 34px;
  border-radius: var(--radius); background: var(--panel);
  font-size: 15.5px; line-height: 1.75; color: #d7e0f3;
  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; padding: 8px 14px; border-radius: 4px; background: linear-gradient(90deg, var(--wine) 0%, transparent 100%); }
.content h3 { font-size: 19px; margin: 28px 0 12px; color: var(--yellow); }
.content h4 { font-size: 17px; margin: 22px 0 10px; }
.content h5, .content h6 { font-size: 15px; margin: 18px 0 8px; }
.content p { margin: 0 0 16px; }
.content a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.content a:hover { color: #ffe466; }
.content strong, .content b { color: #fff; font-weight: 700; }
.content mark { padding: 0 4px; border-radius: 3px; background: var(--yellow); color: #0a1a36; }
.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(--yellow); }
.content ol li::marker { color: var(--yellow); 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); 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: linear-gradient(90deg, var(--wine), var(--wine-2)); 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(255, 212, 0, .07); }
.content blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; background: var(--card); 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-2); font-size: .9em; }
.content pre { margin: 24px 0; padding: 16px; overflow-x: auto; border-radius: var(--radius); background: var(--bg); }
.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); }
.content summary { cursor: pointer; font-weight: 700; color: #fff; }
.content details[open] summary { margin-bottom: 10px; color: var(--yellow); }

.footer { margin-top: auto; padding: 40px 0 24px; background: var(--top); border-top: 3px solid var(--wine-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.footer__about { margin: 14px 0 16px; font-size: 13.5px; color: var(--muted); }
.footer__title { margin: 0 0 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--yellow); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { font-size: 14px; color: #c9d4ec; transition: color .2s; }
.footer__list a:hover { color: var(--yellow); }
.pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pay span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 4px; background: var(--panel); font-size: 12.5px; font-weight: 700; }
.footer__resp { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.badge-18 { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border: 2px solid var(--red); border-radius: 50%; font-size: 13px; font-weight: 900; color: var(--red); }
.org { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; font-weight: 700; color: #dbe4f7; transition: border-color .2s, color .2s; }
.org:hover { border-color: var(--yellow); color: var(--yellow); }
.footer__note { flex: 1 1 320px; margin: 0; font-size: 12.5px; color: var(--muted); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 20px; font-size: 12.5px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: #fff; }

.drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 70;
  width: min(86vw, 320px); padding: 14px 12px 30px;
  background: var(--bg-2); box-shadow: var(--shadow);
  overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease;
}
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer__close { display: flex; color: var(--muted); font-size: 20px; }
.drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.drawer__actions .btn { height: 38px; }
.drawer__nav { list-style: none; margin: 0 0 12px; padding: 0; }
.drawer__nav a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 6px; font-size: 14px; font-weight: 500; }
.drawer__nav a:hover { background: var(--panel); }
.overlay { position: fixed; inset: 0; z-index: 65; background: rgba(3, 10, 25, .75); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
body.menu-open, body.slip-open { overflow: hidden; }
body.menu-open .drawer { transform: none; }
body.menu-open .overlay, body.slip-open .overlay { opacity: 1; visibility: visible; }

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

.error-page { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 60px 16px; text-align: center; }
.error-page__code { display: flex; align-items: center; gap: .04em; font-size: clamp(100px, 20vw, 180px); font-weight: 900; line-height: 1; }
.error-ball {
  position: relative; width: .74em; height: .74em; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #111 0 14%, transparent 15%), radial-gradient(circle at 18% 30%, #111 0 9%, transparent 10%), radial-gradient(circle at 82% 30%, #111 0 9%, transparent 10%), radial-gradient(circle at 30% 85%, #111 0 9%, transparent 10%), radial-gradient(circle at 70% 85%, #111 0 9%, transparent 10%), radial-gradient(circle at 35% 30%, #fff, #d9dee8);
  box-shadow: 0 0 0 .03em var(--yellow), 0 18px 40px rgba(0, 0, 0, .5);
  animation: roll 6s linear infinite;
}
@keyframes roll { to { transform: rotate(360deg); } }
.error-page h1 { margin: 24px 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: 10px; }
.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: 34px; padding: 0 14px; border-radius: 999px; background: var(--panel); font-size: 13px; font-weight: 500; }
.error-page__links a:hover { background: var(--card-2); }

@media (max-width: 1440px) {
  .layout { grid-template-columns: 205px minmax(0, 1fr) 270px 220px; }
  .carousel { grid-auto-columns: calc((100% - 8px) / 2); }
  .groups { grid-template-columns: 90px repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1280px) {
  .layout { grid-template-columns: 205px minmax(0, 1fr) 270px; }
  .col-left { grid-column: 1; grid-row: 1 / span 2; }
  .col-center { grid-column: 2; grid-row: 1 / span 2; }
  .col-right { grid-column: 3; grid-row: 1; }
  .col-slip { grid-column: 3; grid-row: 2; }
  .slip { position: static; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  .topbar__hide { display: none; }
  .socials { margin-left: 8px; }
  .nav .wrap { gap: 12px; min-height: 52px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  .nav__actions { display: flex; gap: 6px; margin-left: auto; }
  .nav__list { order: 3; flex: 1 0 100%; padding-bottom: 2px; }

  .layout { grid-template-columns: minmax(0, 1fr); padding-top: 8px; }
  .col-left { display: none; }
  .col-left, .col-center, .col-right, .col-slip { grid-column: auto; grid-row: auto; }
  .col-right { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .featured + .featured { margin-top: 0; }

  .col-slip {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    max-height: 82vh; overflow-y: auto; border-radius: 14px 14px 0 0; background: var(--panel);
    transform: translateY(105%); transition: transform .3s ease;
  }
  body.slip-open .col-slip { transform: none; }
  .col-slip .box { border-radius: 14px 14px 0 0; }
  .col-slip .box + .box { border-radius: 0; margin-top: 0; }
  .slip__close { display: flex !important; font-size: 18px; color: var(--muted); }

  .carousel { grid-auto-columns: calc((100% - 8px) / 2); }
  .groups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .group--all { grid-column: 1 / -1; min-height: 40px; }

  .footer { padding-bottom: 80px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@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: 600px) {
  .topbar__right .topbar__link { display: none; }
  .col-right { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: 86%; }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__slide img { aspect-ratio: 16 / 7; }
  .hero__arrow { width: 26px; height: 26px; margin-top: -13px; font-size: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .events { min-width: 0; table-layout: fixed; }
  .events th:last-child, .events td:last-child { display: none; }
  .events th:first-child, .events td:first-child { width: 52px; font-size: 10.5px; }
  .events th:nth-child(2) { width: auto; }
  .events th:nth-child(3), .events th:nth-child(4), .events th:nth-child(5), .events td.cell-odd { width: 50px; }
  .events td { padding: 6px 4px; }
  .events td:nth-child(5) { border-radius: 0 4px 4px 0; }
  .event__teams { font-size: 12px; }
  .event__teams span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .events .odd b { font-size: 12.5px; }
}

@media (max-width: 380px) {
  .logo img { height: 18px; }
  .nav__actions .btn { padding: 0 10px; }
}

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