:root {
  --bg: #1b1c20;
  --side: #232428;
  --panel: #2a2b30;
  --panel-2: #313238;
  --panel-3: #3a3b42;
  --line: #34353b;
  --blue: #2f6df6;
  --blue-hover: #4a82ff;
  --blue-soft: rgba(47, 109, 246, .15);
  --green: #16a34a;
  --green-hover: #1cba57;
  --orange: #ff6b1a;
  --text: #ffffff;
  --muted: #9a9ca5;
  --radius: 10px;
  --radius-lg: 18px;
  --side-w: 256px;
  --side-mini: 72px;
  --top-h: 56px;
  --bottom-h: 62px;
  --shadow: 0 14px 34px rgba(0, 0, 0, .5);
  --font: 'Inter', 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: 20px; height: 20px;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 15px; font-style: normal; font-weight: 400; line-height: 1;
  user-select: none;
}
.ico--glyph { font-family: var(--font); font-weight: 700; font-size: 17px; }
.ico--mono { filter: grayscale(1) brightness(1.6); }
.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: 8px;
  height: 40px; padding: 0 18px; border-radius: 8px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .2s, color .2s, transform .15s;
}
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--panel-2); }
.btn--dark:hover { background: var(--panel-3); }
.btn--green { background: var(--green); }
.btn--green:hover { background: var(--green-hover); }
.btn--blue { background: var(--blue); }
.btn--blue:hover { background: var(--blue-hover); }
.btn--white { background: #fff; color: #111; }
.btn--white:hover { background: #e9ecf3; }
.btn--lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 10px; }

.flag-br { display: inline-block; width: 18px; height: 18px; border-radius: 50%; flex: none; background: radial-gradient(circle at 50% 50%, #002776 0 22%, transparent 23%), linear-gradient(135deg, transparent 28%, #ffdf00 28% 72%, transparent 72%), linear-gradient(45deg, transparent 28%, #ffdf00 28% 72%, transparent 72%), #009c3b; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 60;
  display: flex; flex-direction: column;
  width: var(--side-w); padding: 10px 14px 14px;
  background: var(--side);
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--panel-3) transparent;
  transition: width .25s ease, transform .3s ease, padding .25s ease;
}
.user { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 2px; font-size: 14px; font-weight: 600; }
.user__avatar { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--panel-3); font-size: 18px; }
.user__chev { margin-left: auto; color: var(--muted); }
.free {
  position: relative; display: flex; align-items: center; overflow: hidden;
  height: 56px; margin-top: 8px; padding: 0 12px; border-radius: 10px;
  background: linear-gradient(90deg, #0f3a3d 0%, #1b5c5f 100%);
  font-size: 11.5px; font-weight: 700; line-height: 1.25;
}
.free img { position: absolute; right: 0; top: 0; height: 100%; width: auto; }
.collapse { display: flex; justify-content: flex-end; margin: 4px -10px 8px; }
.collapse button { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--panel-3); color: #d0d2d8; font-size: 15px; font-weight: 700; transition: transform .25s; }

.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav + .side-nav { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.side-nav a, .side-nav__toggle {
  display: flex; align-items: center; gap: 12px; width: 100%;
  height: 37px; padding: 0 8px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; text-align: left; color: #e5e6ea; white-space: nowrap;
  transition: background .2s;
}
.side-nav a:hover, .side-nav__toggle:hover { background: var(--panel); }
.side-nav a.is-active { background: var(--blue-soft); color: #fff; }
.side-nav .ico { filter: grayscale(1) brightness(1.5); }
.side-nav__chev { margin-left: auto; font-size: 12px; color: var(--muted); transition: transform .25s; }
.side-nav__item.is-open .side-nav__chev { transform: rotate(180deg); }
.side-nav__sub { list-style: none; margin: 2px 0 4px; padding: 0 0 0 32px; }
.side-nav__item:not(.is-open) .side-nav__sub { display: none; }
.side-nav__sub a { height: 32px; font-size: 13px; color: var(--muted); }
.count { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange); font-size: 11px; font-weight: 700; }

.side-bottom { margin-top: auto; padding-top: 16px; }
.app-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--panel); }
.app-card:hover { background: var(--panel-2); }
.app-card__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #111; font-size: 20px; flex: none; }
.app-card b { display: block; font-size: 12px; }
.app-card small { display: block; font-size: 11px; line-height: 1.3; color: var(--muted); }
.app-card__chev { margin-left: auto; color: var(--muted); }
.side-tools { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.side-tools a, .side-tools button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: var(--panel); color: #e5e6ea; }
.side-tools a:hover { background: var(--panel-2); }
.side-tools svg { width: 17px; height: 17px; fill: currentColor; }
.lang { display: flex !important; gap: 6px; width: auto !important; margin-left: auto; padding: 0 10px; font-size: 13px; font-weight: 600; }
.support { display: flex; align-items: center; gap: 12px; height: 48px; margin: 12px -14px -14px; padding: 0 16px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 500; }
.support__badge { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--blue); font-size: 11px; font-weight: 700; }

@media (min-width: 992px) {
  body.sidebar-mini .sidebar { width: var(--side-mini); padding: 10px 10px 14px; }
  body.sidebar-mini .page { margin-left: var(--side-mini); }
  body.sidebar-mini .label, body.sidebar-mini .user__chev, body.sidebar-mini .free, body.sidebar-mini .side-nav__chev,
  body.sidebar-mini .count, body.sidebar-mini .side-nav__sub, body.sidebar-mini .app-card > :not(.app-card__icon),
  body.sidebar-mini .side-tools, body.sidebar-mini .support__badge { display: none; }
  body.sidebar-mini .side-nav a, body.sidebar-mini .side-nav__toggle, body.sidebar-mini .user, body.sidebar-mini .support { justify-content: center; padding: 0; }
  body.sidebar-mini .collapse { justify-content: center; margin: 8px 0; }
  body.sidebar-mini .collapse button { transform: rotate(180deg); }
  body.sidebar-mini .app-card { justify-content: center; padding: 8px 0; }
}

.overlay { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }

.page { min-width: 0; margin-left: var(--side-w); padding: 0 44px 0 44px; transition: margin-left .25s ease; }

.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; height: calc(var(--top-h) + 0px); margin: 0 -44px; padding: 0 44px; background: rgba(27, 28, 32, .95); backdrop-filter: blur(8px); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 28px; width: auto; }
.burger { display: flex; color: #fff; }
.seg { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 12px; background: var(--panel); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a {
  flex: none; display: flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 16px; border-radius: 9px;
  font-size: 14px; font-weight: 600; white-space: nowrap; color: #e5e6ea;
  transition: background .2s;
}
.seg a:hover { background: var(--panel-3); }
.seg a.is-active { background: var(--blue); color: #fff; }
.seg a .ico { filter: grayscale(1) brightness(1.8); }
.seg a.is-active .ico { filter: grayscale(1) brightness(3); }
.topbar__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.subtabs { display: inline-flex; gap: 2px; margin-top: 20px; padding: 3px; border-radius: 999px; background: var(--panel); }
.subtabs a { height: 30px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; font-size: 13.5px; font-weight: 600; }
.subtabs a:hover { background: var(--panel-3); }
.subtabs a.is-active { background: var(--blue); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 16px; margin-top: 28px; }
.slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #26324a; }
.slider__track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.slide { position: relative; flex: 0 0 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; min-height: 312px; padding: 36px; }
.slide__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(14, 18, 32, .55) 0%, rgba(14, 18, 32, .2) 45%, transparent 65%); }
.slide > :not(.slide__img) { position: relative; z-index: 1; }
.slide__title { margin: 0; max-width: 330px; font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.slider__dots { position: absolute; left: 36px; bottom: 18px; z-index: 2; display: flex; gap: 6px; }
.slider__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .4); transition: width .3s; }
.slider__dot.is-active { width: 22px; border-radius: 4px; background: #fff; }

.week {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 18px 16px; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, #6aa1ff 0%, #3c6ff0 45%, #2c55d6 100%);
  text-align: center;
}
.week::before, .week::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: .6; box-shadow: 40px 90px 0 #fff, 300px 40px 0 #fff, 320px 200px 0 #fff, -10px 220px 0 #fff, 260px 120px 0 rgba(255,255,255,.6); }
.week::before { left: 30px; top: 30px; }
.week::after { display: none; }
.week__title { margin: 0; font-size: 25px; font-weight: 600; line-height: 1.2; }
.week__prov { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: #e5ecff; }
.week__prov::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7fb3ff, #1f5bd8); }
.week__stage { position: relative; display: flex; justify-content: center; width: 100%; margin-top: 12px; }
.laurel { position: absolute; top: 18px; width: 64px; height: 130px; }
.laurel--l { left: 18px; }
.laurel--r { right: 18px; transform: scaleX(-1); }
.week__game { width: 130px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.week__game img { width: 100%; aspect-ratio: 130 / 172; object-fit: cover; }
.week .btn { position: relative; z-index: 1; width: 100%; height: 32px; margin-top: -12px; border-radius: 8px; font-size: 13px; }

.tools { display: grid; grid-template-columns: minmax(0, 1fr) 294px; gap: 8px; margin-top: 28px; }
.search { position: relative; }
.search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }
.search input { width: 100%; height: 40px; padding: 0 14px 0 40px; border: 0; border-radius: 10px; background: var(--panel); color: #fff; outline: none; font-size: 14px; }
.search input::placeholder { color: var(--muted); }
.search input:focus { box-shadow: 0 0 0 2px var(--blue); }
.providers-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; background: var(--panel); font-size: 14px; font-weight: 600; }
.providers-btn:hover { background: var(--panel-2); }

.chips-row { display: flex; align-items: center; gap: 6px; margin-top: 18px; }
.chips { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 14px; border-radius: 10px; background: var(--panel);
  font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s;
}
.chip:hover { background: var(--panel-2); }
.chip.is-active { background: var(--blue); }
.chip .ico { filter: grayscale(1) brightness(1.7); }
.chip.is-active .ico { filter: grayscale(1) brightness(3); }
.round-btn { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 38px; border-radius: 8px; font-size: 20px; font-weight: 600; }
.round-btn:hover { background: var(--panel); }

.row { margin-top: 34px; }
.row__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.row__title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; font-weight: 600; }
.row__all { display: flex; align-items: center; gap: 8px; height: 30px; margin-left: auto; padding: 0 12px; border-radius: 8px; background: var(--panel); font-size: 13px; font-weight: 600; }
.row__all:hover { background: var(--panel-2); }
.row__nav { display: flex; gap: 4px; }
.row__nav button { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--panel); font-size: 17px; font-weight: 600; }
.row__nav button:first-child { color: #6a6c74; }
.row__nav button:hover { background: var(--panel-2); color: #fff; }
.brandmark { font-weight: 900; font-style: italic; letter-spacing: -.06em; font-size: 15px; }

.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 6 * 16px) / 7); gap: 16px;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.game { position: relative; display: block; overflow: hidden; scroll-snap-align: start; border-radius: 12px; background: var(--panel); }
.game img { width: 100%; aspect-ratio: 160 / 214; object-fit: cover; transition: transform .35s; }
.game:hover img { transform: scale(1.05); }
.game[hidden] { display: none; }
.game__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 10px; text-align: center;
  background: rgba(15, 16, 20, .78); opacity: 0; transition: opacity .25s;
}
.game:hover .game__overlay, .game:focus-visible .game__overlay { opacity: 1; }
.game__name { font-size: 13px; font-weight: 600; }
.game__play { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); font-size: 16px; padding-left: 3px; }
.game__tag { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 6px; background: var(--green); font-size: 10.5px; font-weight: 700; text-transform: uppercase; }
.game__tag--hot { background: var(--orange); }

.content {
  min-width: 0;
  margin: 40px 0 0; padding: 34px 36px;
  border-radius: var(--radius-lg); background: var(--side);
  font-size: 15.5px; line-height: 1.75; color: #d8d9de;
  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.25; letter-spacing: -.01em; }
.content h1 { font-size: 30px; margin: 0 0 18px; }
.content h2 { font-size: 23px; margin: 38px 0 14px; }
.content h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 10px; border-radius: 2px; background: var(--blue); }
.content h3 { font-size: 19px; margin: 28px 0 12px; }
.content h4 { font-size: 17px; margin: 22px 0 10px; color: #8fb0ff; }
.content h5, .content h6 { font-size: 15px; margin: 18px 0 8px; }
.content p { margin: 0 0 16px; }
.content a { color: #6f9bff; text-decoration: underline; text-underline-offset: 3px; }
.content a:hover { color: #9dbbff; }
.content strong, .content b { color: #fff; font-weight: 700; }
.content mark { padding: 0 4px; border-radius: 3px; background: var(--blue); color: #fff; }
.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(--blue); }
.content ol li::marker { color: var(--blue); 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(--panel); 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: 600; background: var(--blue); 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, .02); }
.content tbody tr:hover { background: var(--blue-soft); }
.content blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: var(--panel); 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(--panel-3); 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(--panel); }
.content summary { cursor: pointer; font-weight: 600; color: #fff; }
.content details[open] summary { margin-bottom: 10px; color: #8fb0ff; }

.footer { margin: 50px -44px 0; padding: 40px 44px 26px; background: #18191c; border-top: 1px solid var(--line); }
.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: 14px; font-weight: 700; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { font-size: 13.5px; color: var(--muted); 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: 32px; padding: 0 12px; border-radius: 8px; background: var(--panel); font-size: 12.5px; font-weight: 600; }
.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 #ef4444; border-radius: 50%; font-size: 13px; font-weight: 900; color: #ef4444; }
.org { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 8px; background: var(--panel); font-size: 12.5px; font-weight: 600; transition: background .2s; }
.org:hover { background: var(--panel-3); }
.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 var(--line); font-size: 12.5px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: #fff; }

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--side); border-top: 1px solid var(--line);
}
.bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.bottom-nav .ico { width: 24px; height: 24px; font-size: 20px; filter: grayscale(1) brightness(1.4); }
.bottom-nav .is-active { color: #fff; }
.bottom-nav .is-active .ico { filter: none; }

.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: 12px;
  background: var(--blue); 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(--blue-hover); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 200px); padding: 60px 16px; text-align: center; }
.error-page__code { display: flex; align-items: center; gap: .05em; font-size: clamp(100px, 20vw, 190px); font-weight: 900; font-style: italic; letter-spacing: -.04em; line-height: 1; }
.error-wheel {
  position: relative; width: .7em; height: .7em; border-radius: 50%;
  background: conic-gradient(#16a34a 0 10deg, #d32f2f 10deg 30deg, #1d1d22 30deg 50deg, #d32f2f 50deg 70deg, #1d1d22 70deg 90deg, #d32f2f 90deg 110deg, #1d1d22 110deg 130deg, #d32f2f 130deg 150deg, #1d1d22 150deg 170deg, #d32f2f 170deg 190deg, #1d1d22 190deg 210deg, #d32f2f 210deg 230deg, #1d1d22 230deg 250deg, #d32f2f 250deg 270deg, #1d1d22 270deg 290deg, #d32f2f 290deg 310deg, #1d1d22 310deg 330deg, #d32f2f 330deg 350deg, #16a34a 350deg);
  box-shadow: 0 0 0 .04em #c9ced8, 0 18px 40px rgba(0, 0, 0, .5);
  animation: spin 8s linear infinite;
}
.error-wheel::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #e6e9ef, #8a92a3); }
@keyframes spin { 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 .chips { flex: none; flex-wrap: wrap; justify-content: center; margin-top: 28px; }

@media (max-width: 1440px) {
  .page { padding: 0 28px; }
  .topbar { margin: 0 -28px; padding: 0 28px; }
  .footer { margin: 50px -28px 0; padding: 40px 28px 26px; }
  .track { grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px; }
  .hero { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 1200px) {
  .track { grid-auto-columns: calc((100% - 4 * 12px) / 5); gap: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr) 300px; }
  .slide__title { font-size: 27px; }
  .seg a { padding: 0 12px; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  .sidebar { z-index: 70; width: min(84vw, 300px); transform: translateX(-100%); box-shadow: var(--shadow); }
  .collapse { display: none; }
  body.menu-open { overflow: hidden; }
  body.menu-open .sidebar { transform: none; }
  body.menu-open .overlay { opacity: 1; visibility: visible; z-index: 65; }

  .page { margin-left: 0; padding: 0 12px calc(var(--bottom-h) + 10px); }
  .topbar { flex-wrap: wrap; gap: 8px 10px; height: auto; margin: 0 -12px; padding: 8px 12px; }
  .logo img { height: 24px; }
  .topbar__actions { gap: 6px; }
  .topbar__actions .btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .seg { order: 3; flex: 1 0 100%; }
  .seg a { height: 32px; font-size: 13px; }

  .subtabs { margin-top: 14px; }
  .hero { grid-template-columns: 1fr; margin-top: 16px; gap: 12px; }
  .slide { min-height: 230px; padding: 24px 20px 40px; gap: 16px; }
  .slide__title { font-size: 22px; max-width: 220px; }
  .slide::before { background: linear-gradient(90deg, rgba(14, 18, 32, .85) 0%, rgba(14, 18, 32, .55) 55%, rgba(14, 18, 32, .1) 100%); }
  .slide__img { object-position: 70% center; }
  .slider__dots { left: 20px; bottom: 14px; }
  .week { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; text-align: left; align-items: start; }
  .week__stage { grid-row: 1 / 4; margin: 0; }
  .laurel { display: none; }
  .week__game { width: 110px; }
  .week__title { font-size: 20px; }
  .week__prov { justify-content: flex-start; }
  .week .btn { margin-top: 14px; align-self: end; }
  .tools { grid-template-columns: minmax(0, 1fr) auto; margin-top: 18px; }
  .providers-btn { padding: 0 14px; }
  .chips-row .round-btn { display: none; }
  .row { margin-top: 26px; }
  .row__title { font-size: 16px; }
  .track { grid-auto-columns: calc((100% - 2 * 10px) / 3.3); gap: 10px; }

  .footer { margin: 40px -12px 0; padding: 30px 14px 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .to-top { right: 12px; bottom: calc(var(--bottom-h) + 14px + env(safe-area-inset-bottom)); }
}

@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) {
  .providers-btn__label { display: none; }
  .track { grid-auto-columns: calc((100% - 10px) / 2.4); }
  .row__all span { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.sidebar > * { flex-shrink: 0; }
