/* Публичный сайт РДХЛ — визуально повторяет hockey-league.com (светлая тема, тёмно-синие карточки). */
:root {
  --navy: #0d2748;
  --navy-2: #163a66;
  --blue: #4a86e8;
  --blue-2: #3a73d4;
  --blue-soft: #e9f1fd;
  --blue-softer: #f3f7fe;
  --ink: #171717;
  --muted: #8a8f98;
  --line: #ececec;
  --card: #ffffff;
  --bg: #ffffff;
  --radius: 17px;
  --shadow: 0 6px 24px rgba(13, 39, 72, .07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 "Onest", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, select, input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }

:root { --gutter: clamp(16px, 4vw, 88px); }
.page { max-width: none; margin: 0; padding: 0; }
.site-main { min-height: 50vh; padding: 0 var(--gutter) 40px; }

/* ---------- шапка ---------- */
.site-header { background: var(--navy); color: #fff; border-radius: 0 0 var(--radius) var(--radius); padding: 18px var(--gutter) 14px; margin-bottom: 40px; box-shadow: 3px 3px 16px rgba(131,131,131,.1); }
.header-top { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px #f7971d; }
.brand span { font-size: 10px; line-height: 1.15; font-weight: 600; color: #f7971d; text-transform: none; }
.header-partners { flex: 1; display: flex; justify-content: space-around; align-items: center; gap: 16px; }
.header-partners .partner img { height: 34px; width: auto; max-width: 110px; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.header-partners .partner:hover img { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-top: 14px; }
.main-nav > a { padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: #fff; opacity: .9; flex: 1; text-align: center; }
.main-nav > a:hover, .main-nav > a.active { background: rgba(255,255,255,.1); opacity: 1; }
.main-nav > a.active { box-shadow: inset 0 -2px 0 var(--blue); }
.social { display: inline-flex; gap: 10px; margin-left: 16px; }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.social a:hover { background: var(--blue); }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--blue); cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* ---------- кнопки, фильтры ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 11px 26px; font-weight: 500; font-size: 14px; cursor: pointer; transition: background .15s; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); }
.btn-small { padding: 8px 18px; font-size: 13px; border-radius: 10px; }
.btn-arrow { padding: 6px 6px 6px 28px; margin-top: 26px; }
.btn-arrow i { font-style: normal; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font-size: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.select { position: relative; }
.select select { appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 38px 9px 14px; font-size: 13px; min-width: 190px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px 3px 3px 14px; }
.search input { border: 0; outline: 0; font-size: 13px; width: 220px; background: transparent; }
.search button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; }

/* ---------- заголовки, секции ---------- */
.page-title { font-size: 44px; font-weight: 600; margin: 8px 0 28px; }
.section { margin: 64px 0; }
.section-title { font-size: 44px; font-weight: 600; margin-bottom: 30px; }
.section-title.center, .page-title.center { text-align: center; }
.section-lead { color: #555; margin: -18px 0 26px; }
.block-title { font-size: 30px; font-weight: 600; margin: 30px 0 22px; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.pill-blue { background: var(--blue); color: #fff; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-2); font-size: 11px; font-weight: 500; }
.badges { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }

/* ---------- главная: баннер турнира ---------- */
.hero { display: flex; align-items: center; gap: 36px; padding: 36px 48px; margin: -20px 0 30px; border-radius: 22px; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(74,134,232,.45), transparent 45%), linear-gradient(120deg, #0d2748 0%, #183f72 60%, #1f5aa0 100%); box-shadow: var(--shadow); }
.hero-logo { width: 150px; height: 150px; flex-shrink: 0; border-radius: 22px; background: rgba(255,255,255,.95); display: grid; place-items: center; padding: 14px; }
.hero-logo img { max-height: 100%; object-fit: contain; }
.hero-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; opacity: .75; }
.hero h1 { font-size: 46px; font-weight: 700; margin: 6px 0 10px; text-transform: uppercase; }
.hero-dates { font-size: 22px; font-weight: 600; }
.hero-loc { opacity: .8; margin-top: 4px; }
.hero-prize { display: inline-block; margin-top: 16px; padding: 8px 18px; border-radius: 999px; background: #f7971d; color: #fff; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; font-size: 14px; }

/* ---------- главная: карусель матчей ---------- */
.carousel { position: relative; margin: 30px 0 70px; }
.carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 14px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--blue-soft); color: var(--blue); font-size: 22px; line-height: 1; cursor: pointer; }
.carousel-btn.prev { left: -40px; } .carousel-btn.next { right: -40px; }
.mini-match { flex: 0 0 300px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.mini-match:hover { border-color: var(--blue); }
.mini-head { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.mini-head .pill { font-size: 9px; }
.mini-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.mini-team { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mini-team small { font-size: 11px; line-height: 1.2; color: #444; }
.mini-score { display: flex; gap: 16px; font-size: 20px; }
.mini-score sup, .match-card-score sup, .hero-team sup { font-size: 10px; color: var(--blue); font-weight: 700; margin-left: 2px; }
.mini-time { font-size: 14px; color: var(--muted); }

/* ---------- логотипы, аватары ---------- */
.team-logo { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; flex-shrink: 0; }
.team-logo img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: contain; z-index: 1; background: #fff; }
.team-logo-fallback { font-weight: 700; color: var(--navy); }
.team-logo-sm { width: 26px; height: 26px; border-radius: 7px; font-size: 11px; }
.team-logo-md { width: 44px; height: 44px; }
.team-logo-lg { width: 64px; height: 64px; border-radius: 50%; }
.team-logo-xl { width: 110px; height: 110px; border-radius: 50%; font-size: 36px; }
.avatar { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(145deg, #dfe9f8, #b9cdea); color: var(--navy); font-weight: 700; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.avatar-sm { width: 30px; height: 30px; font-size: 11px; }
.avatar-lg { width: 64px; height: 64px; font-size: 20px; }
.avatar-xl { width: 120px; height: 120px; font-size: 38px; border: 4px solid rgba(255,255,255,.85); }

/* ---------- таблицы ---------- */
.table-block { margin-bottom: 26px; }
.group-title { font-size: 18px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; margin-bottom: 10px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
.standings { width: 100%; border-collapse: collapse; font-size: 13px; }
.standings th { font-weight: 500; font-size: 11px; color: #777; text-transform: uppercase; padding: 12px 14px; text-align: center; background: linear-gradient(180deg, #eef4fd, #dfeafb); }
.standings td { padding: 12px 14px; text-align: center; border-bottom: 1px solid #f1f1f1; white-space: nowrap; }
.standings .c-team { text-align: left; width: 60%; }
.standings .c-num { width: 40px; color: #777; }
.standings td.c-team a, .cell-team { display: inline-flex; align-items: center; gap: 10px; }
.standings td.c-team a:hover { color: var(--blue); }
.standings tr.top td { background: var(--blue-softer); }
.standings tr.top:nth-child(-n+2) td { background: var(--blue-soft); }
.standings.cross td { min-width: 64px; }
.standings.cross td.self { background: #eef0f3; }
.standings.cross .c-team { width: auto; }

/* ---------- карточки матчей ---------- */
.match-list { display: grid; gap: 18px; }
.match-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px 6px; box-shadow: var(--shadow); transition: border-color .15s; }
.match-card:hover { border-color: var(--blue); }
.match-card-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.match-status { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.match-tour { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.match-card-team { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.match-card-team + .match-card-team { border-top: 1px solid #f4f4f4; }
.match-card-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.match-card-name b { font-weight: 500; font-size: 15px; }
.match-card-name small { color: var(--muted); font-size: 12px; }
.match-card-score { font-size: 28px; font-weight: 500; min-width: 40px; text-align: right; }
.big-tabs { display: flex; gap: 22px; margin: 6px 0 22px; flex-wrap: wrap; }
.big-tabs a, .big-tabs button { font-size: 30px; font-weight: 500; color: #aab0b9; background: none; border: 0; padding: 0; cursor: pointer; }
.big-tabs .active { color: var(--blue); }

/* ---------- вкладки ---------- */
.tab-bar { display: flex; border-bottom: 2px solid var(--ink); margin: 34px 0 30px; overflow-x: auto; scrollbar-width: none; }
.tab-bar button { flex: 1; background: none; border: 0; padding: 14px 18px; font-size: 18px; font-weight: 500; cursor: pointer; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tab-bar button.active { color: var(--blue); border-bottom-color: var(--blue); }
.tabs.inner .big-tabs { margin-top: 0; }

/* ---------- тёмные шапки страниц (турнир, клуб, игрок, матч) ---------- */
.dark-hero, .match-hero { text-align: center; color: #fff; border-radius: 22px; padding: 30px 24px 34px;
  background: radial-gradient(ellipse at 50% 120%, rgba(74,134,232,.35), transparent 60%), linear-gradient(160deg, #0d2748, #12345f); }
.dark-hero h1 { font-size: 22px; font-weight: 600; margin: 16px 0 12px; text-transform: uppercase; }
.dark-hero-line { font-size: 17px; font-weight: 500; margin-top: 8px; }
.dark-hero-line a { text-decoration: underline; text-underline-offset: 3px; }
.muted-light { opacity: .7; font-size: 14px; }
.dark-hero-logo { width: 104px; height: 104px; margin: 0 auto; border-radius: 14px; background: #fff; padding: 8px; display: grid; place-items: center; }
.dark-hero-logo img { max-height: 100%; object-fit: contain; }
.dark-hero .team-logo { border: 0; }
.player-hero { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.ph-side { display: flex; justify-content: space-around; }
.ph-side small { display: block; opacity: .75; font-size: 14px; }
.ph-side b { font-size: 22px; font-weight: 600; }
.match-hero-tour { font-size: 18px; font-weight: 600; text-transform: uppercase; }
.match-hero-date { font-size: 22px; font-weight: 500; margin-top: 10px; }
.match-hero-loc { opacity: .75; font-size: 13px; margin-top: 6px; }
.match-hero-board { display: flex; justify-content: center; gap: 28px; margin: 24px 0 14px; }
.score-col { display: flex; flex-direction: column; background: rgba(255,255,255,.14); border-radius: 8px; overflow: hidden; }
.score-box { font-size: 40px; font-weight: 600; width: 64px; padding: 10px 0; }
.teams-col { display: flex; flex-direction: column; justify-content: space-around; gap: 14px; text-align: left; }
.hero-team { display: flex; align-items: center; gap: 16px; font-size: 17px; font-weight: 500; min-width: 220px; }
.hero-team .team-logo { border: 0; }
.match-hero-ref { font-size: 12px; opacity: .7; margin-top: 10px; }
.live-strip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border-radius: 999px; padding: 6px 16px; font-size: 14px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa5b5; }
.live-dot.on { background: #ff4d4f; box-shadow: 0 0 0 0 rgba(255,77,79,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,77,79,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,79,0); } }
.live-goals { max-width: 640px; margin: 0 auto 26px; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.live-goals ul { padding-left: 18px; margin: 10px 0; }

/* ---------- события матча ---------- */
.events { display: grid; }
.event { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #f1f1f1; }
.event-who { grid-column: 1; text-align: right; }
.event.right .event-who { grid-column: 3; grid-row: 1; text-align: left; }
.event-who small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.event-assist { font-size: 12px; color: var(--muted); }
.event-score { grid-column: 2; grid-row: 1; display: flex; gap: 4px; }
.event-score span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; background: #eef0f3; font-weight: 600; }
.event-score span.hl { background: var(--navy); color: #fff; }
.event-time { grid-column: 2; grid-row: 2; font-size: 11px; color: var(--muted); text-align: center; }
.event.penalty .event-time { grid-row: 1; }
.num { color: var(--blue); font-weight: 600; }

/* ---------- составы, клубы, турниры ---------- */
.lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lineup h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 12px; }
.lineup-row { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid #f3f3f3; }
.lineup-row .num { width: 28px; text-align: right; }
.lineup-row:hover { color: var(--blue); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.club-card, .tour-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 20px; box-shadow: var(--shadow); }
.club-card h3 { font-size: 17px; font-weight: 500; margin-top: 8px; }
.club-card .muted { font-size: 12px; min-height: 18px; }
.club-card .btn { margin-top: 10px; padding: 11px 22px; border-radius: 10px; }
.tour-card { padding: 40px 20px; transition: border-color .15s; }
.tour-card:hover { border-color: var(--blue); }
.tour-card h3 { font-size: 20px; font-weight: 500; margin: 14px 0 6px; text-transform: uppercase; }
.tour-card .muted { font-size: 12px; }
.tour-logo { width: 90px; height: 90px; display: grid; place-items: center; }
.tour-logo img { max-height: 100%; object-fit: contain; }
.link { color: var(--blue); font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.facts > div { background: var(--blue-softer); border-radius: 14px; padding: 12px 18px; min-width: 150px; }
.facts small { display: block; color: var(--muted); font-size: 12px; }
.facts b { font-weight: 600; }
.doc-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.doc-row:hover { border-color: var(--blue); }
.doc-ico { font-size: 10px; font-weight: 700; color: #fff; background: var(--blue); border-radius: 6px; padding: 6px; }
.roster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.roster-card { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; }
.roster-card:hover { border-color: var(--blue); }
.roster-card b { display: block; font-weight: 500; }
.roster-card small { font-size: 12px; }
.bracket { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 20px; }
.bracket-col { min-width: 230px; display: flex; flex-direction: column; gap: 14px; }
.bracket-col h4 { font-size: 13px; color: var(--muted); text-transform: uppercase; }
.bracket-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.bracket-card.final-card { border-color: #f7971d; }
.bracket-label { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.bracket-team { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 3px 0; }

/* ---------- новости, медиа ---------- */
.news-card { position: relative; display: block; overflow: hidden; border-radius: 20px; min-height: 260px; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow); }
.news-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-card:hover img { transform: scale(1.03); }
.news-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0) 35%, rgba(0,0,0,.78)); }
.news-card-body { position: absolute; left: 0; right: 60px; bottom: 0; padding: 18px 22px; z-index: 1; }
.news-card h3 { font-size: 17px; font-weight: 600; }
.news-date { font-size: 11px; opacity: .8; }
.news-arrow { position: absolute; right: 16px; bottom: 16px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.news-card-big { min-height: 400px; }
.news-card-big h3 { font-size: 24px; }
.news-home { display: grid; gap: 22px; }
.news-home-side { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article { max-width: 920px; }
.article-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: -12px 0 22px; }
.article-img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; margin-bottom: 26px; }
.rich-text { font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.rich-text img { height: auto; border-radius: 12px; }
.rich-text p { margin: 0 0 12px; }
.rich-text * { font-family: inherit !important; max-width: 100%; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.media-grid-2 { grid-template-columns: repeat(2, 1fr); }
.media-tile { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 20px; background: linear-gradient(135deg, #dfe7f3, #c6d3e6); }
.media-grid-2 .media-tile { aspect-ratio: 1/1; }
.media-tile img, .media-tile video { width: 100%; height: 100%; object-fit: cover; }
.media-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,0) 60%, rgba(0,0,0,.6)); pointer-events: none; }
.media-cap { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff; font-size: 13px; font-weight: 600; }
.media-tile.broken img { display: none; }
.video-wrap { max-width: 1600px; margin: 0 auto 22px; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 16/9; }
.video-wrap video { width: 100%; height: 100%; display: block; }

/* ---------- лидеры ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { border: 1px solid #d9d9d9; border-radius: 999px; padding: 5px 12px; font-size: 12px; }
.chip.active, .chip:hover { border-color: var(--blue); color: var(--blue); }
.leaders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 22px; }
.leader-card { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 20px 18px; margin-top: 30px; box-shadow: var(--shadow); }
.leader-card:hover { border-color: var(--blue); }
.leader-top { display: flex; justify-content: space-between; align-items: flex-start; margin-top: -30px; }
.leader-top .avatar { border: 3px solid #fff; box-shadow: var(--shadow); }
.leader-num { margin-top: 38px; font-size: 11px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.leader-kind { font-size: 11px; color: var(--blue); text-transform: uppercase; font-weight: 600; margin-top: 8px; }
.leader-card h3 { font-size: 20px; font-weight: 600; margin: 4px 0 2px; }
.leader-card .muted { font-size: 12px; }
.leader-team { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: #555; }
.leader-value { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; }
.leader-value small { display: block; font-size: 11px; color: #666; }
.leader-value b { font-size: 30px; color: var(--blue); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; color: var(--muted); margin: 16px 0 0; }
.legend div { display: flex; gap: 6px; } .legend dt { font-weight: 700; color: var(--ink); } .legend dd { margin: 0; }

/* ---------- партнёры, пусто, подвал ---------- */
.partners { display: flex; justify-content: space-around; align-items: center; gap: 30px; flex-wrap: wrap; }
.partners .partner img { height: 90px; width: auto; max-width: 240px; object-fit: contain; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--muted); padding: 34px 20px; border: 1px dashed #dcdfe5; border-radius: 18px; grid-column: 1 / -1; }
.empty p { margin: 0; }
.site-footer { background: var(--navy); color: #fff; border-radius: 32px 32px 0 0; padding: 26px var(--gutter) 18px; margin-top: 40px; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 14px; color: #f7971d; font-weight: 600; font-size: 13px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; margin: 28px 6px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 80px; font-weight: 600; font-size: 14px; }
.footer-nav a:hover, .footer-contacts a:hover { color: #9cc0f5; }
.footer-label { font-size: 12px; opacity: .6; margin-bottom: 10px; }
.footer-contacts a { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.ico-mail { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); font-size: 12px; }
.footer-social .social { margin-left: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; font-size: 11px; opacity: .6; border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }

/* ---------- широкие экраны: контент тянется на всю ширину, сетки получают больше колонок ---------- */
@media (min-width: 1500px) {
  body { font-size: 16px; }
  .grid-3, .news-grid, .media-grid:not(.media-grid-2) { grid-template-columns: repeat(4, 1fr); }
  .roster-grid { grid-template-columns: repeat(4, 1fr); }
  .leaders-grid { grid-template-columns: repeat(3, 1fr); }
  .match-list { grid-template-columns: repeat(2, 1fr); }
  .mini-match { flex-basis: 340px; }
  .carousel-btn.prev { left: -56px; } .carousel-btn.next { right: -56px; }
  .hero { padding: 48px 64px; }
  .hero h1 { font-size: 56px; }
  .hero-logo { width: 190px; height: 190px; }
  .partners .partner img { height: 110px; max-width: 300px; }
  .standings { font-size: 14px; }
  .news-home { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
  .news-card-big { min-height: 480px; }
}
@media (min-width: 2000px) {
  body { font-size: 17px; }
  .grid-3, .news-grid, .media-grid:not(.media-grid-2), .roster-grid { grid-template-columns: repeat(5, 1fr); }
  .leaders-grid { grid-template-columns: repeat(4, 1fr); }
  .page-title, .section-title { font-size: 52px; }
  .main-nav > a { font-size: 16px; padding: 10px 16px; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .carousel-btn { display: none; }
  .grid-3, .news-grid, .roster-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav > a { padding: 8px 8px; }
}
@media (max-width: 860px) {
  .site-header { padding: 12px 14px; margin-bottom: 20px; }
  .header-partners { display: none; }
  .header-top { justify-content: space-between; }
  .header-actions .btn { padding: 8px 12px; font-size: 12px; border-radius: 10px; white-space: nowrap; }
  .brand span { font-size: 9px; }
  .burger { display: block; }
  .main-nav { display: none; flex-direction: column; align-items: stretch; margin-top: 12px; }
  .main-nav.open { display: flex; }
  .main-nav > a { text-align: left; padding: 11px 12px; }
  .main-nav .social { margin: 10px 0 4px 12px; }
  .page-title, .section-title { font-size: 26px; margin-bottom: 18px; }
  .section { margin: 40px 0; }
  .block-title { font-size: 20px; }
  .hero { flex-direction: column; text-align: center; padding: 24px 18px; gap: 16px; margin-top: 0; }
  .hero-logo { width: 110px; height: 110px; }
  .hero h1 { font-size: 26px; }
  .hero-dates { font-size: 17px; }
  .mini-match { flex-basis: 250px; }
  .big-tabs a, .big-tabs button { font-size: 20px; }
  .tab-bar { margin: 22px 0 20px; }
  .tab-bar button { font-size: 14px; padding: 12px 12px; flex: 0 0 auto; }
  .grid-2, .grid-3, .news-grid, .roster-grid, .lineups, .leaders-grid, .news-home-side { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .media-tile, .news-card { border-radius: 14px; }
  .news-card-big { min-height: 260px; }
  .match-card { padding: 12px 14px 4px; }
  .match-card-score { font-size: 22px; }
  .hero-team { min-width: 0; font-size: 15px; }
  .score-box { font-size: 30px; width: 52px; }
  .player-hero { grid-template-columns: 1fr; }
  .player-hero .ph-main { order: -1; }
  .event { gap: 8px; font-size: 13px; }
  .standings th, .standings td { padding: 10px 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { gap: 12px 40px; }
  .select select { min-width: 150px; }
  .search input { width: 150px; }
  .partners .partner img { height: 60px; }
}
