/* Live Tablo theme. Tokens and components follow the "Лайв-табло — UI мокапы" design. */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Unbounded";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Unbounded";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Tokens ---- */

:root {
	--lt-bg: #0d1015;
	--lt-surface: #151920;
	--lt-line: #1c2129;
	--lt-raised: #2a3140;
	--lt-text: #e9ecf1;
	--lt-text-2: #cdd3dc;
	--lt-muted: #a2abb8;
	--lt-faint: #7d8794;
	--lt-fainter: #5f6976;
	--lt-accent: #c8f27a;
	--lt-accent-ink: #c8f27a;
	--lt-on-accent: #0d1015;
	--lt-card-yellow: #ffb454;

	--lt-font: Manrope, "Segoe UI", system-ui, sans-serif;
	--lt-font-display: Unbounded, Manrope, sans-serif;

	--lt-r-sm: 6px;
	--lt-r: 10px;
	--lt-r-md: 12px;
	--lt-r-lg: 16px;
	--lt-r-xl: 20px;

	--lt-gutter: 40px;
	--lt-max: 1520px;
	/* Keeps header and footer edges on the same lines as the centred layout on wide screens. */
	--lt-edge: max(var(--lt-gutter), calc((100% - var(--lt-max)) / 2 + var(--lt-gutter)));
	--lt-header-h: 64px;
	--lt-bottom-nav-h: 72px;

	color-scheme: dark;
}

/* Light palette for the header toggle; the design ships dark only, this keeps its hierarchy. */
:root[data-theme="light"] {
	--lt-bg: #f3f5f8;
	--lt-surface: #ffffff;
	--lt-line: #e4e8ee;
	--lt-raised: #e8ecf2;
	--lt-text: #10141a;
	--lt-text-2: #28303b;
	--lt-muted: #4d5663;
	--lt-faint: #677180;
	--lt-fainter: #858d99;
	--lt-accent-ink: var(--lt-accent-ink-light, #4b7a00);
	color-scheme: light;
}

/* ---- Base ---- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--lt-font);
	font-size: 14px;
	line-height: 1.45;
	background: var(--lt-bg);
	color: var(--lt-text);
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--lt-accent-ink); }
img, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--lt-accent); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}
.screen-reader-text:focus {
	clip: auto; clip-path: none;
	width: auto; height: auto;
	top: 8px; left: 8px; z-index: 1000;
	padding: 10px 16px;
	border-radius: var(--lt-r);
	background: var(--lt-accent);
	color: var(--lt-on-accent);
	font-weight: 700;
}

.lt-display { font-family: var(--lt-font-display); font-weight: 700; letter-spacing: 0.04em; }

/* ---- Header ---- */

.lt-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--lt-header-h);
	padding: 0 var(--lt-edge);
	display: flex;
	align-items: center;
	gap: 32px;
	background: var(--lt-bg);
	border-bottom: 1px solid var(--lt-line);
}

.lt-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lt-logo:hover { color: var(--lt-text); }
.lt-logo__mark {
	width: 30px; height: 30px;
	border-radius: 8px;
	background: var(--lt-accent);
	display: flex; align-items: center; justify-content: center;
}
.lt-logo__mark svg { stroke: var(--lt-on-accent); }
.lt-logo__word {
	font-family: var(--lt-font-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.lt-logo img { max-height: 36px; width: auto; }

.lt-nav { flex-grow: 1; min-width: 0; }
.lt-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.lt-nav a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--lt-r);
	font-weight: 600;
	color: var(--lt-muted);
	white-space: nowrap;
}
.lt-nav a:hover { color: var(--lt-text); }
.lt-nav .current-menu-item > a,
.lt-nav .current-menu-ancestor > a,
.lt-nav a[aria-current="page"] { background: var(--lt-line); color: var(--lt-text); }

.lt-search {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 260px;
	height: 40px;
	padding: 0 14px;
	border-radius: var(--lt-r-md);
	background: var(--lt-surface);
	color: var(--lt-faint);
}
.lt-search input {
	flex-grow: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--lt-text);
	font-size: 14px;
}
.lt-search input::placeholder { color: var(--lt-faint); }
.lt-search:focus-within { box-shadow: 0 0 0 2px var(--lt-accent); }

.lt-icon-btn {
	width: 40px; height: 40px;
	flex-shrink: 0;
	border-radius: var(--lt-r-md);
	border: 0;
	background: var(--lt-surface);
	color: var(--lt-muted);
	display: inline-flex; align-items: center; justify-content: center;
}
.lt-icon-btn:hover { color: var(--lt-text); }

.lt-header__mobile { display: none; }

/* ---- Layout ---- */

.lt-layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr) 320px;
	gap: 24px;
	padding: 24px var(--lt-gutter);
	max-width: var(--lt-max);
	margin: 0 auto;
	min-height: calc(100vh - var(--lt-header-h) - 56px);
}
.lt-layout--wide { grid-template-columns: 240px minmax(0, 1fr); }

.lt-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lt-aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ---- Left: tournaments menu ---- */

.lt-side-nav,
.lt-side-nav ul { list-style: none; margin: 0; padding: 0; }
.lt-side-nav { display: flex; flex-direction: column; gap: 20px; }
.lt-side-nav > li { display: flex; flex-direction: column; gap: 6px; }
.lt-side-nav__heading {
	padding: 0 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lt-faint);
}
.lt-side-nav .sub-menu { display: flex; flex-direction: column; gap: 6px; }
.lt-side-nav .sub-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: var(--lt-r);
	color: var(--lt-text-2);
}
.lt-side-nav .sub-menu a:hover { background: var(--lt-surface); color: var(--lt-text); }
.lt-side-nav .sub-menu .current-menu-item > a { background: var(--lt-surface); color: var(--lt-text); font-weight: 600; }
.lt-side-nav a.has-badge { padding: 10px 12px; font-weight: 600; }
.lt-side-nav__live { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--lt-accent-ink); }

.lt-badge {
	width: 22px; height: 22px;
	flex-shrink: 0;
	border-radius: var(--lt-r-sm);
	background: var(--lt-raised);
	color: var(--lt-text);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	display: inline-flex; align-items: center; justify-content: center;
}
.lt-badge--accent { background: var(--lt-accent); color: var(--lt-on-accent); }
.lt-badge img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }

/* ---- Page head ---- */

.lt-page-head { display: flex; flex-direction: column; gap: 8px; }
.lt-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--lt-faint); }
.lt-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lt-crumbs li { display: flex; gap: 6px; }
.lt-crumbs li + li::before { content: "›"; }
.lt-crumbs a { color: var(--lt-faint); }
.lt-crumbs a:hover { color: var(--lt-accent-ink); }
.lt-crumbs [aria-current] { color: var(--lt-muted); }
.lt-page-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.lt-lead { font-size: 14px; color: var(--lt-muted); line-height: 1.5; }

/* ---- Date strip and filters ---- */

.lt-datebar { display: flex; align-items: center; gap: 8px; }
.lt-datebar__days { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lt-datebar__days .lt-pill { gap: 0; }
.lt-datebar__spacer { flex-grow: 1; }
.lt-pill {
	height: 40px;
	padding: 0 16px;
	border-radius: var(--lt-r-md);
	border: 0;
	background: var(--lt-surface);
	color: var(--lt-muted);
	font-weight: 600;
	font-size: 13px;
	white-space: nowrap;
	display: inline-flex; align-items: center; gap: 8px;
}
.lt-pill:hover { color: var(--lt-text); }
.lt-pill.is-active,
.lt-pill[aria-current] { background: var(--lt-accent); color: var(--lt-on-accent); font-weight: 700; }
.lt-pill--outline {
	padding: 0 14px;
	border: 1px solid var(--lt-accent-ink);
	background: transparent;
	color: var(--lt-accent-ink);
	font-weight: 700;
}
.lt-pill--ghost { border: 1px solid var(--lt-raised); background: transparent; }
.lt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lt-accent); flex-shrink: 0; }
.lt-dot--pulse { animation: lt-pulse 1.6s ease-in-out infinite; }
@keyframes lt-pulse { 50% { opacity: 0.35; } }

/* ---- Cards ---- */

.lt-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--lt-r-lg);
	background: var(--lt-surface);
	overflow: hidden;
}
.lt-card--pad { padding: 16px; gap: 12px; overflow: visible; }
.lt-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--lt-line);
}
.lt-card--pad .lt-card__head { padding: 0; border: 0; justify-content: space-between; }
.lt-card__title { font-size: 14px; font-weight: 700; }
.lt-card__more { margin-left: auto; font-size: 13px; color: var(--lt-faint); white-space: nowrap; }

/* ---- Match row ---- */

.lt-match {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 72px minmax(0, 1fr) 24px;
	grid-template-areas: "status home score away chev";
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--lt-line);
}
.lt-match:last-child { border-bottom: 0; }
.lt-match:hover { color: inherit; background: color-mix(in srgb, var(--lt-raised) 30%, transparent); }

.lt-match__status { grid-area: status; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.lt-match__time { font-size: 13px; font-weight: 600; color: var(--lt-muted); }
.lt-match__minute { font-size: 12px; font-weight: 800; color: var(--lt-accent-ink); }
.lt-progress { width: 20px; height: 3px; border-radius: 2px; background: var(--lt-raised); overflow: hidden; display: block; }
.lt-progress > span { display: block; height: 100%; background: var(--lt-accent); }

.lt-match__team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; font-size: 15px; color: var(--lt-text-2); }
.lt-match.is-live .lt-match__team,
.lt-match.is-finished .lt-match__team { font-weight: 700; color: var(--lt-text); }
.lt-match__team--home { grid-area: home; flex-direction: row-reverse; justify-content: flex-start; text-align: right; }
.lt-match__team--away { grid-area: away; }
.lt-match__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lt-crest {
	width: 26px; height: 26px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--lt-raised);
	object-fit: contain;
}
img.lt-crest { background: transparent; }

.lt-match__score {
	grid-area: score;
	display: flex;
	justify-content: center;
	font-family: var(--lt-font-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.lt-match.is-upcoming .lt-match__score { font-family: var(--lt-font); font-size: 13px; font-weight: 400; color: var(--lt-faint); }
.lt-match.is-upcoming .lt-match__goals--away,
.lt-match.is-upcoming .lt-match__sep { display: none; }
.lt-match__chev { grid-area: chev; display: flex; justify-content: flex-end; color: var(--lt-faint); }

/* ---- Links, SEO text, FAQ ---- */

.lt-section { display: flex; flex-direction: column; gap: 12px; }
.lt-section > h2,
.lt-h2 { font-size: 16px; font-weight: 700; }
.lt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-chip {
	padding: 8px 14px;
	border-radius: var(--lt-r);
	background: var(--lt-surface);
	font-size: 13px;
	font-weight: 600;
	color: var(--lt-text-2);
}
.lt-chip--outline { padding: 8px 12px; border: 1px solid var(--lt-raised); background: transparent; font-size: 12px; }

.lt-prose { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--lt-r-lg); background: var(--lt-surface); }
.lt-prose p { font-size: 14px; color: var(--lt-muted); line-height: 1.6; }

.lt-faq { display: flex; flex-direction: column; gap: 8px; }
.lt-faq details,
.wp-block-details {
	border-radius: var(--lt-r-md);
	background: var(--lt-surface);
	padding: 14px 16px;
}
.lt-faq summary,
.wp-block-details summary { font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; }
.lt-faq summary::-webkit-details-marker,
.wp-block-details summary::-webkit-details-marker { display: none; }
.lt-faq summary::after,
.wp-block-details summary::after { content: "+"; float: right; color: var(--lt-faint); font-weight: 600; }
.lt-faq details[open] summary::after,
.wp-block-details[open] summary::after { content: "–"; }
.lt-faq details p,
.wp-block-details > :not(summary) { margin: 8px 0 0; font-size: 13px; color: var(--lt-muted); line-height: 1.5; }

/* ---- Ads: partners, labels, slots ---- */

.lt-ad-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--lt-faint);
	border: 1px solid var(--lt-raised);
	border-radius: var(--lt-r-sm);
	padding: 2px 6px;
	white-space: nowrap;
}
.lt-ad-note { font-size: 10px; color: var(--lt-fainter); line-height: 1.4; }

.lt-partner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: var(--lt-r-md);
	background: var(--lt-bg);
}
.lt-partner:hover { color: inherit; }
.lt-partner__logo {
	width: 36px; height: 36px;
	flex-shrink: 0;
	border-radius: var(--lt-r);
	background: var(--lt-raised);
	color: var(--lt-muted);
	font-size: 10px;
	font-weight: 800;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
}
.lt-partner__logo img { width: 100%; height: 100%; object-fit: contain; }
.lt-partner__body { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.lt-partner__name { font-weight: 700; font-size: 14px; }
.lt-partner__bonus { font-size: 12px; color: var(--lt-muted); }

.lt-partner-strip { border: 1px solid var(--lt-line); border-radius: var(--lt-r-lg); background: var(--lt-surface); padding: 12px 14px; }
.lt-partner-strip .lt-partner__name { font-size: 13px; }

.lt-btn {
	height: 34px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--lt-r);
	background: var(--lt-accent);
	color: var(--lt-on-accent);
	font-weight: 700;
	font-size: 13px;
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	white-space: nowrap;
}
.lt-btn:hover { color: var(--lt-on-accent); filter: brightness(1.05); }
.lt-btn--block { width: 100%; height: 48px; border-radius: var(--lt-r-md); font-weight: 800; font-size: 14px; }

.lt-ad-slot {
	min-height: 120px;
	border-radius: var(--lt-r-lg);
	border: 1px dashed var(--lt-raised);
	display: flex; align-items: center; justify-content: center;
	color: var(--lt-fainter);
	font-size: 12px;
}
.lt-ad-slot.has-code { border: 0; display: block; }

/* ---- Mini standings ---- */

.lt-mini-table { display: flex; flex-direction: column; gap: 2px; }
.lt-mini-table__row {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) 28px 28px 34px;
	gap: 6px;
	align-items: center;
	padding: 8px 4px;
	border-radius: 8px;
	font-size: 13px;
}
.lt-mini-table__row--head { padding: 0 4px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--lt-faint); }
.lt-mini-table__row.is-own { background: var(--lt-bg); }
.lt-mini-table__pos { font-weight: 800; color: var(--lt-muted); }
.lt-mini-table__pos.is-zone { color: var(--lt-accent-ink); }
.lt-mini-table__team { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-mini-table__num { text-align: center; color: var(--lt-muted); }
.lt-mini-table__pts { text-align: right; font-weight: 800; }

/* ---- Match page ---- */

.lt-hero {
	padding: 20px 16px 16px;
	border-radius: var(--lt-r-xl);
	background: var(--lt-surface);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.lt-hero__state { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lt-accent-ink); }
.lt-hero__state.is-idle { color: var(--lt-muted); }
.lt-hero__board { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; gap: 8px; }
.lt-hero__team { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-align: center; }
.lt-hero__team .lt-crest { width: 56px; height: 56px; }
.lt-hero__score { font-family: var(--lt-font-display); font-size: 44px; font-weight: 700; text-align: center; letter-spacing: 0.04em; line-height: 1; }
.lt-hero__scorers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; font-size: 12px; color: var(--lt-muted); }
.lt-hero__scorers > div { display: flex; flex-direction: column; gap: 4px; }
.lt-hero__scorers > div:first-child { text-align: right; }

.lt-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--lt-surface); overflow-x: auto; }
.lt-tabs a {
	flex-grow: 1;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--lt-r);
	font-weight: 600;
	font-size: 13px;
	color: var(--lt-muted);
	display: flex; align-items: center; justify-content: center;
	white-space: nowrap;
}
.lt-tabs a[aria-current],
.lt-tabs a.is-active { background: var(--lt-raised); color: var(--lt-text); font-weight: 700; }

.lt-odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lt-odds__cell {
	height: 56px;
	border-radius: var(--lt-r-md);
	background: var(--lt-bg);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 2px;
}
.lt-odds__label { font-size: 11px; font-weight: 600; color: var(--lt-faint); }
.lt-odds__value { font-family: var(--lt-font-display); font-size: 15px; font-weight: 700; }

.lt-events { display: flex; flex-direction: column; gap: 4px; }
.lt-event { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 0; font-size: 13px; }
.lt-event__min { font-size: 12px; font-weight: 800; text-align: center; color: var(--lt-muted); }
.lt-event.is-goal .lt-event__min { color: var(--lt-accent-ink); }
.lt-event__side { display: flex; align-items: center; gap: 8px; }
.lt-event__side--home { justify-content: flex-end; text-align: right; }
.lt-event__who { display: flex; flex-direction: column; }
.lt-event__player { font-weight: 700; }
.lt-event__extra { font-size: 11px; color: var(--lt-faint); }
.lt-event__note { font-size: 12px; color: var(--lt-faint); }
.lt-ico-goal {
	width: 24px; height: 24px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--lt-accent);
	display: flex; align-items: center; justify-content: center;
}
.lt-ico-goal svg { stroke: var(--lt-on-accent); }
.lt-ico-card { width: 16px; height: 22px; flex-shrink: 0; border-radius: 3px; background: var(--lt-card-yellow); }
.lt-ico-card--red { background: #ff5d5d; }

.lt-stats { display: flex; flex-direction: column; gap: 12px; }
.lt-stat { display: flex; flex-direction: column; gap: 6px; }
.lt-stat__line { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; }
.lt-stat__label { color: var(--lt-faint); font-weight: 600; }
.lt-stat__bar { display: flex; gap: 4px; height: 6px; }
.lt-stat__bar span { display: block; border-radius: 3px; background: var(--lt-raised); }
.lt-stat__bar span:first-child { background: var(--lt-accent); }
.lt-stat__bar span:last-child { flex-grow: 1; }

.lt-row-link {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--lt-r-md);
	background: var(--lt-surface);
	font-size: 13px;
	font-weight: 600;
}
.lt-row-link__meta { color: var(--lt-faint); }
.lt-row-link__meta.is-live { color: var(--lt-accent-ink); font-weight: 800; }

/* ---- WordPress content ---- */

.lt-entry { display: flex; flex-direction: column; gap: 20px; }
.entry-content { font-size: 15px; line-height: 1.65; color: var(--lt-text-2); }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 20px; font-weight: 700; margin-top: 1.6em; color: var(--lt-text); }
.entry-content h3 { font-size: 17px; font-weight: 700; margin-top: 1.4em; color: var(--lt-text); }
.entry-content a { color: var(--lt-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin-left: 0; padding: 12px 16px; border-left: 3px solid var(--lt-accent); background: var(--lt-surface); border-radius: 0 var(--lt-r) var(--lt-r) 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { padding: 8px 10px; border-bottom: 1px solid var(--lt-line); text-align: left; }
.entry-content th { font-size: 12px; letter-spacing: 0.04em; color: var(--lt-faint); }
.entry-content .wp-block-details { margin-top: 8px; }
.entry-content .alignwide, .entry-content .alignfull { width: 100%; }

.lt-post-list { display: flex; flex-direction: column; gap: 12px; }
.lt-post-card { padding: 16px; border-radius: var(--lt-r-lg); background: var(--lt-surface); display: flex; flex-direction: column; gap: 6px; }
.lt-post-card h2 { font-size: 17px; font-weight: 700; }
.lt-post-card p { color: var(--lt-muted); }
.lt-post-card__meta { font-size: 12px; color: var(--lt-faint); }

.lt-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-pagination .page-numbers {
	min-width: 40px; height: 40px;
	padding: 0 12px;
	border-radius: var(--lt-r-md);
	background: var(--lt-surface);
	color: var(--lt-muted);
	font-weight: 600;
	display: inline-flex; align-items: center; justify-content: center;
}
.lt-pagination .page-numbers.current { background: var(--lt-accent); color: var(--lt-on-accent); }

.lt-empty { padding: 32px 20px; border-radius: var(--lt-r-lg); background: var(--lt-surface); text-align: center; color: var(--lt-muted); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lt-empty__code { font-family: var(--lt-font-display); font-size: 56px; font-weight: 700; color: var(--lt-accent-ink); line-height: 1; }

/* ---- Footer ---- */

.lt-footer {
	min-height: 56px;
	padding: 12px var(--lt-edge);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	border-top: 1px solid var(--lt-line);
	font-size: 12px;
	color: var(--lt-faint);
}
.lt-footer__age { font-family: var(--lt-font-display); font-weight: 700; color: var(--lt-muted); }
.lt-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lt-footer a { color: var(--lt-faint); }
.lt-footer a:hover { color: var(--lt-accent-ink); }
.lt-footer__copy { margin-left: auto; }
.lt-footer__disclaimer { flex-basis: 100%; color: var(--lt-fainter); line-height: 1.5; }

/* ---- Mobile chrome ---- */

.lt-bottom-nav { display: none; }
.lt-drawer[hidden], .lt-search-panel[hidden] { display: none; }

.lt-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--lt-bg) 70%, transparent);
	backdrop-filter: blur(4px);
}
.lt-drawer__panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: min(320px, 86vw);
	padding: 16px;
	overflow-y: auto;
	background: var(--lt-bg);
	border-left: 1px solid var(--lt-line);
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.lt-drawer__top { display: flex; justify-content: space-between; align-items: center; }
.lt-drawer .lt-nav ul { flex-direction: column; }
.lt-drawer .lt-nav a { padding: 12px 14px; }

.lt-search-panel { padding: 0 16px 12px; }
.lt-search-panel .lt-search { width: 100%; height: 44px; }

@media (max-width: 1279px) {
	.lt-layout { grid-template-columns: minmax(0, 1fr) 300px; }
	.lt-layout > .lt-aside--left { display: none; }
	.lt-layout--wide { grid-template-columns: minmax(0, 1fr); }
	.lt-header { gap: 20px; }
	.lt-search { width: 220px; }
}

@media (max-width: 1023px) {
	:root { --lt-gutter: 16px; --lt-header-h: 56px; }

	body { padding-bottom: var(--lt-bottom-nav-h); }

	.lt-header { gap: 12px; border-bottom: 0; }
	.lt-header > .lt-nav,
	.lt-header > .lt-search,
	.lt-header > .lt-theme-toggle { display: none; }
	.lt-header__mobile { display: flex; gap: 8px; margin-left: auto; }
	.lt-header .lt-icon-btn { width: 44px; height: 44px; }
	.lt-logo__mark { width: 28px; height: 28px; }
	.lt-logo__word { font-size: 13px; }

	.lt-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 4px var(--lt-gutter) 16px; }
	.lt-main { gap: 12px; }

	.lt-page-head h1 { font-size: 18px; font-weight: 800; line-height: 1.25; }
	.lt-crumbs { font-size: 11px; gap: 5px; }

	.lt-datebar { flex-direction: column; align-items: stretch; gap: 12px; }
	.lt-datebar__days { overflow-x: auto; scrollbar-width: none; }
	.lt-datebar__days::-webkit-scrollbar { display: none; }
	.lt-datebar__days .lt-pill { height: 44px; padding: 0 14px; flex-shrink: 0; }
	.lt-datebar__days .lt-icon-btn { width: 44px; height: 44px; }
	.lt-datebar__days .lt-pill:not(.is-active) .lt-pill__date { display: none; }
	.lt-datebar__spacer { display: none; }
	.lt-datebar > .lt-pill--outline { align-self: flex-start; height: 36px; padding: 0 12px; font-size: 12px; border-radius: var(--lt-r); }

	.lt-card__head { padding: 12px 14px; gap: 8px; }
	.lt-card__title { font-size: 13px; }

	.lt-match {
		grid-template-columns: 40px minmax(0, 1fr) 44px;
		grid-template-areas:
			"status home score"
			"status away score";
		gap: 8px 10px;
		padding: 12px 14px;
	}
	.lt-match__chev { display: none; }
	.lt-match__team--home { flex-direction: row; text-align: left; }
	.lt-match .lt-crest { width: 22px; height: 22px; }
	.lt-match__time { font-size: 12px; }
	.lt-progress { width: 18px; }
	.lt-match__score {
		grid-row: 1 / span 2;
		flex-direction: column;
		align-items: flex-end;
		gap: 8px;
		font-size: 16px;
		letter-spacing: 0;
	}
	.lt-match__sep { display: none; }
	.lt-match.is-upcoming .lt-match__score { font-size: 16px; color: var(--lt-fainter); }
	.lt-match.is-upcoming .lt-match__goals--away { display: block; }

	.lt-bottom-nav {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 60;
		height: var(--lt-bottom-nav-h);
		padding: 8px 12px 16px;
		display: block;
		background: var(--lt-surface);
		border-top: 1px solid var(--lt-line);
	}
	.lt-bottom-nav ul { list-style: none; margin: 0; padding: 0; height: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
	.lt-bottom-nav a {
		height: 100%;
		padding-top: 4px;
		display: flex; flex-direction: column; align-items: center; gap: 4px;
		font-size: 11px;
		font-weight: 600;
		color: var(--lt-faint);
	}
	.lt-bottom-nav .current-menu-item > a { color: var(--lt-accent-ink); font-weight: 700; }

	.lt-footer { flex-direction: column; align-items: flex-start; padding-top: 20px; padding-bottom: 20px; }
	.lt-footer__copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.lt-dot--pulse { animation: none; }
}

/* ---- Theme toggle, live filter ---- */

.lt-theme-toggle__light { display: none; }
:root[data-theme="light"] .lt-theme-toggle__light { display: contents; }
:root[data-theme="light"] .lt-theme-toggle__dark { display: none; }
.lt-theme-toggle__dark { display: contents; }

.is-live-only .lt-match:not(.is-live),
.is-live-only .lt-card:not(:has(.lt-match.is-live)) { display: none; }
[data-lt-live-filter][aria-pressed="true"] { background: var(--lt-accent); color: var(--lt-on-accent); border-color: var(--lt-accent); }

/* ---- Block styles for the editor: chips list, card group ---- */

.wp-block-list.is-style-lt-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wp-block-list.is-style-lt-chips li { margin: 0; }
.wp-block-list.is-style-lt-chips a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--lt-r);
	background: var(--lt-surface);
	font-size: 13px;
	font-weight: 600;
	color: var(--lt-text-2);
	text-decoration: none;
}
.wp-block-list.is-style-lt-chips a:hover { color: var(--lt-accent-ink); }
.wp-block-group.is-style-lt-card { padding: 20px; border-radius: var(--lt-r-lg); background: var(--lt-surface); }
.wp-block-group.is-style-lt-card p { color: var(--lt-muted); font-size: 14px; }
.wp-block-group.is-style-lt-card h2 { margin-top: 0; font-size: 16px; }

/* The one-partner strip is the mobile form of "Где поставить"; desktop has the card on the right. */
@media (min-width: 1024px) {
	.lt-partner-strip { display: none; }
}
