:root {
  --bg: #07200f;
  --bg-2: #0a2a16;
  --panel: #0d321b;
  --panel-2: #12401f;
  --panel-3: #175028;
  --line: #164a27;
  --green: #22e26a;
  --green-2: #16b850;
  --green-dark: #0c5a2a;
  --green-soft: rgba(34, 226, 106, .12);
  --yellow: #ffd23f;
  --text: #ffffff;
  --muted: #9cc4aa;
  --radius: 8px;
  --radius-lg: 12px;
  --header-h: 76px;
  --side-w: 186px;
  --bottom-h: 64px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .45);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-d: 'Barlow Condensed', 'Arial Narrow', Impact, 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: radial-gradient(900px 500px at 70% -10%, #0f3d20 0%, transparent 70%), var(--bg);
  background-attachment: fixed;
  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: 18px; }
.ico--lg { width: 28px; height: 28px; font-size: 24px; }
.ico--xl { width: 40px; height: 40px; font-size: 32px; }

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

.skew {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 20px;
  font-family: var(--font-d); font-size: 16px; font-weight: 800; font-style: italic; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  transform: skewX(-14deg); border-radius: 4px;
  transition: background .2s, filter .2s, transform .15s;
}
.skew > span { display: inline-flex; align-items: center; gap: 6px; transform: skewX(14deg); }
.skew--dark { background: #1f3a29; box-shadow: inset 0 0 0 1px #2c5a3c; }
.skew--dark:hover { background: #28503a; }
.skew--green { background: linear-gradient(180deg, #3cf27f, var(--green-2)); color: #052611; }
.skew--green:hover { filter: brightness(1.08); }
.skew--lg { height: 46px; padding: 0 28px; font-size: 19px; }
.skew__tag {
  position: absolute; top: -9px; right: 6px;
  padding: 0 6px; border-radius: 3px; background: var(--yellow); color: #111;
  font-family: var(--font); font-size: 9px; font-weight: 800; font-style: normal; line-height: 14px;
  transform: skewX(14deg);
}

.title {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--font-d); font-size: 22px; font-weight: 800; font-style: italic; letter-spacing: .01em; text-transform: uppercase;
}
.title__icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 6px; background: var(--green); font-size: 13px;
  transform: skewX(-10deg);
}

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 20px;
  height: var(--header-h); padding: 0 18px;
  background: linear-gradient(180deg, #0c2f19, #092614);
  border-bottom: 1px solid var(--line);
}
.burger { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: #fff; font-size: 24px; }
.brand { display: flex; flex-direction: column; align-items: center; flex: none; gap: 2px; }
.brand img { height: 34px; width: auto; }
.brand small { font-size: 8.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: center; line-height: 1.2; max-width: 170px; }
.header__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.header__links { display: flex; gap: 18px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: #cfe6d6; }
.header__links a:hover { color: var(--green); }
.header__actions { display: flex; align-items: center; gap: 4px; }
.header__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.gift { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--panel); font-size: 20px; }
.gift:hover { background: var(--panel-2); }

.sidebar {
  position: fixed; top: var(--header-h); bottom: 0; left: 0; z-index: 50;
  width: var(--side-w); padding: 12px 10px 30px;
  background: rgba(7, 32, 15, .92); border-right: 1px solid var(--line);
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--panel-3) transparent;
  transition: transform .3s ease;
}
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 18px; }
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 1 / 1; padding: 5px;
  border-radius: 6px; background: linear-gradient(160deg, #1d5a32, #0e3a1d);
  box-shadow: inset 0 0 0 1px #2a6d40;
  font-size: 8px; font-weight: 800; line-height: 1.1; text-transform: uppercase;
  transition: transform .15s, box-shadow .2s;
}
.tile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--green); }
.tile .ico { align-self: flex-end; width: 28px; height: 28px; font-size: 24px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .4)); }

.side-sec { margin-bottom: 18px; }
.side-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.side-sec__title { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-family: var(--font-d); font-size: 15px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--green); }
.side-sec__title .title__icon { width: 20px; height: 20px; font-size: 11px; }
.side-sec__all { flex: none; white-space: nowrap; padding: 2px 7px; border-radius: 999px; background: var(--green-2); color: #052611; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 6px; border-radius: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; color: #e9f5ee;
  transition: background .2s, color .2s;
}
.side-list a:hover { background: var(--panel); color: var(--green); }
.side-list .ico { width: 18px; height: 18px; font-size: 13px; filter: grayscale(1) brightness(1.6); }
.side-list a:hover .ico { filter: none; }
.side-list li + li { border-top: 1px solid rgba(255, 255, 255, .04); }

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

.page { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; margin-left: var(--side-w); padding: calc(var(--header-h) + 14px) 16px 0; }

.banners { position: relative; }
.banners__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 10px) / 2); gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.banners__track::-webkit-scrollbar { display: none; }
.banner { display: block; overflow: hidden; scroll-snap-align: start; border-radius: var(--radius); }
.banner img { width: 100%; aspect-ratio: 720 / 324; object-fit: cover; transition: transform .4s; }
.banner:hover img { transform: scale(1.03); }
.banners__arrow {
  position: absolute; top: 50%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 44px; margin-top: -22px; border-radius: 6px;
  background: rgba(7, 32, 15, .8); color: #fff; font-size: 22px; font-weight: 700;
}
.banners__arrow--prev { left: 6px; }
.banners__arrow--next { right: 6px; }
.banners__arrow:hover { background: var(--green-2); color: #052611; }

.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 218px; gap: 18px; align-items: start; margin-top: 20px; }

.search { position: relative; }
.search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); filter: grayscale(1) brightness(1.7); }
.search input {
  width: 100%; height: 46px; padding: 0 16px 0 44px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); color: #fff; outline: none; font-size: 15px;
}
.search input::placeholder { color: #8fb39c; }
.search input:focus { border-color: var(--green); }

.section { margin-top: 24px; }
.section__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.section__nav { display: flex; gap: 6px; margin-left: auto; }
.section__nav button { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; background: var(--panel); font-size: 18px; font-weight: 700; }
.section__nav button:hover { background: var(--green-2); color: #052611; }
.section__more { font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; }

.track {
  display: grid; grid-auto-flow: column; gap: 10px;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track--top { grid-auto-columns: 232px; }

.top-card {
  position: relative; overflow: hidden; scroll-snap-align: start;
  display: grid; grid-template-columns: 62px 1fr; gap: 0 10px; align-items: center;
  padding: 10px 10px 34px; border-radius: var(--radius);
  background: linear-gradient(135deg, #123b22 0%, #0b2a17 100%);
  box-shadow: inset 0 0 0 1px #1b5130;
}
.top-card__img { width: 62px; height: 62px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 2px #3f2a7a; }
.top-card__rank { font-family: var(--font-d); font-size: 20px; font-weight: 800; font-style: italic; line-height: 1; color: var(--yellow); }
.top-card__rank sup { font-size: 12px; }
.top-card__name { display: block; margin-top: 2px; font-family: var(--font-d); font-size: 15px; font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1.05; color: var(--yellow); }
.top-card__sum { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; }
.top-card__play {
  position: absolute; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  width: 58%; height: 24px; padding-left: 16px;
  background: linear-gradient(90deg, transparent 0, #6d2bd1 16px, #8c3cf0); clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%);
  font-family: var(--font-d); font-size: 13px; font-weight: 800; font-style: italic; text-transform: uppercase;
}
.top-card:nth-child(2n) .top-card__play { background: linear-gradient(90deg, transparent 0, #c41f2a 16px, #e2343f); }
.top-card:nth-child(3n) .top-card__play { background: linear-gradient(90deg, transparent 0, #127a3a 16px, #19a24c); }
.top-card:hover { box-shadow: inset 0 0 0 1px var(--green); }

.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 82px; grid-auto-flow: dense; gap: 10px; }
.game { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.game--wide { grid-column: span 2; }
.game--tall { grid-row: span 2; }
.game img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.game:hover img { transform: scale(1.06); }
.game__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 8px; text-align: center;
  background: rgba(5, 25, 12, .78); opacity: 0; transition: opacity .25s;
}
.game:hover .game__overlay, .game:focus-visible .game__overlay { opacity: 1; }
.game__name { font-family: var(--font-d); font-size: 15px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.game[hidden] { display: none; }
.track--games { grid-auto-columns: 150px; }
.track--games .game img { aspect-ratio: 150 / 196; height: auto; }

.wins {
  position: sticky; top: calc(var(--header-h) + 14px);
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #0f3a20, #0a2a16);
  box-shadow: inset 0 0 0 1px var(--line);
}
.wins__head { padding: 14px 14px 10px; border-bottom: 1px solid var(--line); }
.wins__title { margin: 0; font-family: var(--font-d); font-size: 20px; font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 1; }
.wins__sub { margin: 4px 0 0; font-size: 9px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.periods { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.periods::-webkit-scrollbar { display: none; }
.periods__label { display: flex; align-items: center; gap: 4px; flex: none; font-size: 11px; color: var(--muted); }
.periods button { flex: none; padding: 3px 6px; border-radius: 4px; font-size: 11px; font-weight: 600; color: #cfe6d6; }
.periods button.is-active { color: #fff; box-shadow: inset 0 -2px 0 var(--green); }
.wins__list { list-style: none; margin: 0; padding: 4px 0; }
.wins__list[hidden] { display: none; }
.win { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.win:last-child { border-bottom: 0; }
.win img { width: 46px; height: 46px; border-radius: 6px; object-fit: cover; }
.win__user { display: block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win__game { display: block; font-size: 10px; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win__sum { display: block; margin-top: 2px; font-family: var(--font-d); font-size: 17px; font-weight: 800; font-style: italic; color: var(--yellow); }

.content {
  min-width: 0;
  margin: 30px 0 0; padding: 32px 34px;
  border-radius: var(--radius-lg); background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15.5px; line-height: 1.75; color: #d9ebe0;
  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; line-height: 1.2; }
.content h1, .content h2 { font-family: var(--font-d); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .01em; }
.content h1 { font-size: 38px; margin: 0 0 18px; }
.content h2 { font-size: 28px; margin: 38px 0 14px; color: var(--green); }
.content h3 { font-size: 19px; font-weight: 700; margin: 28px 0 12px; }
.content h4 { font-size: 17px; font-weight: 700; margin: 22px 0 10px; color: var(--yellow); }
.content h5, .content h6 { font-size: 15px; font-weight: 700; 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: #7dffad; }
.content strong, .content b { color: #fff; font-weight: 700; }
.content mark { padding: 0 4px; border-radius: 3px; background: var(--green); color: #052611; }
.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(--bg-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-dark); color: #fff; border-bottom: 2px solid var(--green); }
.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: var(--green-soft); }
.content blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; background: var(--bg-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(--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(--bg-2); }
.content summary { cursor: pointer; font-weight: 700; color: #fff; }
.content details[open] summary { margin-bottom: 10px; color: var(--green); }

.footer { margin: 40px -16px 0; padding: 40px 16px 26px; background: #051a0c; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr; gap: 28px; }
.footer__about { margin: 12px 0 14px; font-size: 13px; color: var(--muted); }
.footer__title { margin: 0 0 14px; font-family: var(--font-d); font-size: 18px; font-weight: 800; font-style: italic; text-transform: uppercase; 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: #cfe6d6; transition: color .2s; }
.footer__list a:hover { color: var(--green); }
.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: 6px; background: var(--panel); font-size: 12.5px; font-weight: 700; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--panel); color: #cfe6d6; transition: background .2s, color .2s; }
.socials a:hover { background: var(--green-2); color: #052611; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.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(--green); border-radius: 50%; font-size: 13px; font-weight: 900; color: var(--green); }
.org { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 6px; background: var(--panel); font-size: 12.5px; font-weight: 700; color: #e6f3eb; transition: background .2s, color .2s; }
.org:hover { background: var(--panel-3); color: var(--green); }
.footer__note { margin: 14px 0 0; font-size: 12px; 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); align-items: end;
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
  background: linear-gradient(180deg, #0d321b, #07200f); border-top: 1px solid var(--line);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; height: 100%; padding-bottom: 8px; font-size: 8.5px; font-weight: 800; text-transform: uppercase; }
.bottom-nav a .ico { width: 30px; height: 30px; font-size: 24px; }
.bottom-nav__center {
  align-self: center; justify-self: center;
  width: 56px; height: 56px !important; margin-top: -18px; padding: 0 !important; justify-content: center !important;
  border-radius: 14px; background: linear-gradient(180deg, #1d5a32, #0c3a1c);
  box-shadow: 0 0 0 3px var(--bg), inset 0 0 0 1px #2a6d40;
  font-family: var(--font-d); font-size: 34px !important; font-weight: 900; font-style: italic; color: var(--green);
}

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

.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-family: var(--font-d); font-size: clamp(120px, 22vw, 220px); font-weight: 800; font-style: italic; line-height: 1; color: #fff; text-shadow: 0 8px 40px rgba(34, 226, 106, .35); }
.error-dice {
  display: flex; align-items: center; justify-content: center;
  width: .66em; height: .66em; border-radius: .14em;
  background: linear-gradient(160deg, #3cf27f, var(--green-2));
  box-shadow: inset 0 -.04em 0 rgba(0, 0, 0, .25), 0 20px 40px rgba(0, 0, 0, .4);
  font-size: .5em; color: #052611; animation: wobble 2.4s ease-in-out infinite;
}
@keyframes wobble { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
.error-page h1 { margin: 20px 0 10px; font-family: var(--font-d); font-size: clamp(30px, 5vw, 44px); font-weight: 800; font-style: italic; text-transform: uppercase; }
.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: 14px; }
.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: 600; }
.error-page__links a:hover { background: var(--panel-3); color: var(--green); }

@media (max-width: 1280px) {
  .main-grid { grid-template-columns: minmax(0, 1fr) 200px; gap: 14px; }
  .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mosaic > :nth-child(11) { display: none; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  :root { --header-h: 58px; }
  .header { gap: 10px; padding: 0 10px; }
  .brand img { height: 26px; }
  .brand small { display: none; }
  .header__body { margin-left: auto; }
  .skew { height: 32px; padding: 0 12px; font-size: 14px; }
  .header__right { display: none; }

  .sidebar { top: 0; z-index: 70; width: min(84vw, 300px); padding-top: 16px; transform: translateX(-100%); box-shadow: var(--shadow); }
  .sidebar__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .sidebar__top img { height: 28px; }
  .sidebar__close { font-size: 20px; color: var(--muted); }
  .tile { font-size: 9.5px; }
  .side-list a { font-size: 12.5px; padding: 9px 6px; }
  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: calc(var(--header-h) + 10px) 10px calc(var(--bottom-h) + 10px); }
  .banners__track { grid-auto-columns: 88%; gap: 8px; }
  .banners__arrow { display: none; }
  .main-grid { grid-template-columns: minmax(0, 1fr); margin-top: 14px; gap: 0; }
  .main-left { display: contents; }
  .main-left > * { order: 5; }
  .main-left > .search { order: 1; }
  .main-left > .sec-top { order: 2; }
  .main-left > .sec-rec { order: 3; }
  .wins { order: 4; margin-top: 24px; }
  .wins { position: static; }
  .title { font-size: 19px; }
  .track--top { grid-auto-columns: 210px; }
  .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 70px; gap: 8px; }
  .track--games { grid-auto-columns: 128px; }

  .footer { margin: 30px -10px 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)); width: 42px; height: 42px; }
}

@media (max-width: 768px) {
  .content { padding: 22px 16px; font-size: 15px; line-height: 1.7; }
  .content h1 { font-size: 30px; }
  .content h2 { font-size: 24px; 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) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic > :nth-child(11) { display: block; }
  .game--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 370px) {
  .skew { padding: 0 9px; font-size: 13px; }
  .brand img { height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.top-card[hidden] { display: none; }
@media (min-width: 992px) {
  .page { transition: margin-left .3s ease; }
  body.sidebar-hidden .sidebar { transform: translateX(-100%); }
  body.sidebar-hidden .page { margin-left: 0; }
}
