/**
 * Ironbets Child3 — UI layer (hero, cards, CTA, FP bridge).
 * Перекрывает глобальные стили Reboot только внутри .child3-* / .site-main.child3-*.
 */

/* ── Типографика Child3 ── */
body.child3-hub-surface {
	font-family: var(--c3-font-sans);
	font-size: var(--c3-font-size-base);
}

body.child3-hub-surface .child3-hub-main h1,
body.child3-hub-surface .child3-home-hero h1,
body.child3-hub-surface .child3-page-hero h1,
body.child3-hub-surface .child3-hub-header.child3-page-hero h1 {
	font-family: var(--c3-font-h1, var(--c3-font-sans));
	font-size: var(--c3-h1-size);
	font-weight: var(--c3-h1-weight, var(--c3-heading-weight));
	letter-spacing: var(--c3-h1-tracking, var(--c3-heading-tracking));
}

body.child3-hub-surface .child3-card h2,
body.child3-hub-surface .child3-card h3,
body.child3-hub-surface .child3-section__title {
	font-weight: var(--c3-heading-weight);
	letter-spacing: var(--c3-heading-tracking);
}

/* ── Изоляция от Reboot (не hero) ── */
body.child3-hub-surface .site-main a.child3-cta:not(.secondary),
body.child3-hub-surface .child3-hub-main a.child3-cta:not(.secondary),
body.child3-hub-surface .child3-card a.child3-cta:not(.secondary) {
	background: var(--c3-cta-primary-gradient);
	color: var(--c3-cta-primary-text);
	-webkit-text-fill-color: var(--c3-cta-primary-text);
	text-decoration: none;
	filter: none;
}

body.child3-hub-surface .site-main a.child3-cta.secondary,
body.child3-hub-surface .child3-card a.child3-cta.secondary {
	background: var(--c3-surface);
	color: var(--c3-accent-light);
	border: 2px solid var(--c3-accent-light);
	-webkit-text-fill-color: currentColor;
}

body.child3-hub-surface .site-main a.child3-cta:not(.secondary):hover,
body.child3-hub-surface .site-main a.child3-cta:not(.secondary):focus-visible {
	background: var(--c3-cta-primary-hover);
	filter: brightness(1.04);
	color: var(--c3-cta-primary-text);
	-webkit-text-fill-color: var(--c3-cta-primary-text);
}

body.child3-hub-surface .site-main a.child3-cta.secondary:hover,
body.child3-hub-surface .child3-card a.child3-cta.secondary:hover {
	background: var(--c3-accent-light);
	color: var(--c3-info-text);
	border-color: var(--c3-accent-light);
}

/* Hero CTA — отдельные цвета Customizer (выше общих CTA) */
body.child3-hub-surface .site-main .child3-page-hero a.child3-cta,
body.child3-hub-surface .site-main .child3-hub-header.child3-page-hero a.child3-cta,
body.child3-hub-surface .site-main .child3-hub-header.has-color a.child3-cta,
body.child3-hub-surface .site-main .child3-hub-header.has-image a.child3-cta,
body.child3-hub-surface .site-main .child3-home-hero a.child3-cta,
body.child3-shell .child3-page-hero a.child3-cta,
body.child3-shell .child3-hub-header.child3-page-hero a.child3-cta,
body.child3-shell .child3-hub-header.has-color a.child3-cta,
body.child3-shell .child3-hub-header.has-image a.child3-cta {
	color: var(--c3-hero-btn-text);
	-webkit-text-fill-color: var(--c3-hero-btn-text);
	background: var(--c3-hero-btn-bg);
	border-color: transparent;
	box-shadow: 0 4px 16px color-mix(in srgb, var(--c3-hero-btn-bg) 40%, transparent);
	filter: none;
}

body.child3-hub-surface .site-main .child3-page-hero a.child3-cta:hover,
body.child3-hub-surface .site-main .child3-page-hero a.child3-cta:focus-visible,
body.child3-hub-surface .site-main .child3-hub-header.child3-page-hero a.child3-cta:hover,
body.child3-hub-surface .site-main .child3-hub-header.child3-page-hero a.child3-cta:focus-visible,
body.child3-hub-surface .site-main .child3-hub-header.has-color a.child3-cta:hover,
body.child3-hub-surface .site-main .child3-hub-header.has-color a.child3-cta:focus-visible,
body.child3-hub-surface .site-main .child3-hub-header.has-image a.child3-cta:hover,
body.child3-hub-surface .site-main .child3-hub-header.has-image a.child3-cta:focus-visible,
body.child3-hub-surface .site-main .child3-home-hero a.child3-cta:hover,
body.child3-hub-surface .site-main .child3-home-hero a.child3-cta:focus-visible,
body.child3-shell .child3-page-hero a.child3-cta:hover,
body.child3-shell .child3-page-hero a.child3-cta:focus-visible,
body.child3-shell .child3-hub-header.child3-page-hero a.child3-cta:hover,
body.child3-shell .child3-hub-header.child3-page-hero a.child3-cta:focus-visible,
body.child3-shell .child3-hub-header.has-color a.child3-cta:hover,
body.child3-shell .child3-hub-header.has-color a.child3-cta:focus-visible,
body.child3-shell .child3-hub-header.has-image a.child3-cta:hover,
body.child3-shell .child3-hub-header.has-image a.child3-cta:focus-visible {
	background: color-mix(in srgb, var(--c3-hero-btn-bg) 88%, #000);
	color: var(--c3-hero-btn-text);
	-webkit-text-fill-color: var(--c3-hero-btn-text);
	filter: none;
}

/* ── Hero главной (legacy блок) ── */
.child3-home-hero {
	position: relative;
	margin: 0 0 2rem;
	padding: 2rem 1.75rem 1.75rem;
	border-radius: var(--c3-radius-lg);
	background: linear-gradient(
		125deg,
		var(--c3-hero-bg-from) 0%,
		color-mix(in srgb, var(--c3-hero-bg-from) 55%, var(--c3-hero-bg-to)) 45%,
		var(--c3-hero-bg-to) 100%
	);
	color: var(--c3-hero-text);
	box-shadow: var(--c3-shadow-lg);
	overflow: hidden;
}

.child3-home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
	pointer-events: none;
}

.child3-home-hero > * {
	position: relative;
	z-index: 1;
}

.child3-home-hero h1,
body.child3-shell .child3-home-hero h1,
body.child3-home-surface .child3-home-hero h1 {
	margin: 0 0 0.65rem;
	font-family: var(--c3-font-h1, var(--c3-font-sans));
	font-size: var(--c3-h1-size);
	font-weight: var(--c3-h1-weight, var(--c3-heading-weight, 700));
	letter-spacing: var(--c3-h1-tracking, var(--c3-heading-tracking, -0.02em));
	line-height: 1.2;
	color: var(--c3-hero-text);
	-webkit-text-fill-color: var(--c3-hero-text);
}

.child3-home-hero .child3-home-hero__lead {
	margin: 0 0 1.25rem;
	max-width: 42rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--c3-hero-text) 88%, transparent);
}

.child3-home-hero .child3-home-hero__actions {
	margin: 0;
}

.child3-home-hero a.child3-cta {
	box-shadow: 0 4px 14px color-mix(in srgb, var(--c3-text) 18%, transparent);
	font-weight: 700;
}

/* ── Секции ── */
.child3-section {
	margin: 0 0 2.25rem;
}

.child3-section__title {
	margin: 0 0 1rem;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--c3-text);
}

/* ── Карточки: depth + акцентная полоска ── */
.child3-card {
	position: relative;
	border: 1px solid color-mix(in srgb, var(--c3-border) 80%, transparent);
	border-radius: var(--c3-radius-lg);
	padding: 1.35rem 1.35rem 1.2rem;
	background: var(--c3-surface);
	box-shadow:
		0 1px 2px color-mix(in srgb, var(--c3-text) 5%, transparent),
		0 8px 24px color-mix(in srgb, var(--c3-text) 4%, transparent);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.child3-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	border-radius: var(--c3-radius-lg) var(--c3-radius-lg) 0 0;
	background: var(--c3-border);
}

.child3-card:hover {
	transform: translateY(-2px);
	box-shadow:
		0 2px 4px color-mix(in srgb, var(--c3-text) 6%, transparent),
		0 14px 32px color-mix(in srgb, var(--c3-info) 10%, transparent);
	border-color: var(--c3-info-border);
}

.child3-card h2,
.child3-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--c3-text);
}

.child3-card p {
	margin: 0 0 1.1rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--c3-text-muted);
}

.child3-card .child3-cta {
	margin-top: auto;
}

/* Хаб-карточки: без цветных полос (ProGorki-метод) */
.child3-card--hub-bookmakers,
.child3-card--hub-bonuses,
.child3-card--hub-predictions,
.child3-card--hub-experts {
	--c3-card-accent: var(--c3-border);
}

/* ── Сетка главной: прогнозы шире ── */
.child3-home-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0 0 2.5rem;
}

.child3-home-grid .child3-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.child3-home-grid .child3-card--hub-predictions {
	grid-column: 1 / -1;
	padding: 1.5rem 1.5rem 1.35rem;
	background: var(--c3-surface);
}

.child3-home-grid .child3-card--hub-predictions h3 {
	font-size: 1.25rem;
}

/* ── Блок ленты прогнозов на главной ── */
.child3-home-predictions-conversion {
	padding: 1.25rem 1.25rem 1rem;
	margin-bottom: 2rem;
}

.child3-home-predictions-conversion.child3-card::before {
	height: 4px;
}

.child3-home-mega-event {
	margin-bottom: 2rem;
}

.child3-home-mega-event-head {
	border-bottom: 1px solid var(--c3-border);
	padding-bottom: 0.85rem;
	margin-bottom: 1rem;
}

/* ── FP conversion: decision strip в токенах Child3 ── */
.child3-home-predictions-conversion .fp-predictions-conversion-heading,
.child3-hub-predictions-conversion .fp-predictions-conversion-heading,
.child3-home-mega-event .fp-predictions-conversion-heading {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 0.85rem;
	color: var(--c3-text);
	letter-spacing: -0.01em;
}

.child3-home-predictions-conversion .fp-predictions-conversion-list,
.child3-hub-predictions-conversion .fp-predictions-conversion-list,
.child3-home-mega-event .fp-predictions-conversion-list {
	gap: 0.55rem;
}

.child3-home-predictions-conversion .fp-pc-row,
.child3-hub-predictions-conversion .fp-pc-row,
.child3-home-mega-event .fp-pc-row {
	border: 1px solid var(--c3-border);
	border-radius: var(--c3-radius-md);
	background: var(--c3-surface);
	box-shadow: var(--c3-shadow);
	padding: 0.75rem 1rem;
}

.child3-home-predictions-conversion .fp-pc-row:hover,
.child3-hub-predictions-conversion .fp-pc-row:hover,
.child3-home-mega-event .fp-pc-row:hover {
	border-color: var(--c3-info-border);
}

.child3-home-predictions-conversion .fp-pc-match .fp-pt-match-link,
.child3-hub-predictions-conversion .fp-pc-match .fp-pt-match-link {
	color: var(--c3-text);
	text-decoration: none;
	font-weight: 600;
}

.child3-home-predictions-conversion .fp-pc-match .fp-pt-match-link:hover,
.child3-hub-predictions-conversion .fp-pc-match .fp-pt-match-link:hover {
	color: var(--c3-info);
}

.child3-home-predictions-conversion .fp-pc-meta,
.child3-hub-predictions-conversion .fp-pc-meta {
	color: var(--c3-text-muted);
}

.child3-home-predictions-conversion .fp-pc-pick,
.child3-hub-predictions-conversion .fp-pc-pick {
	color: var(--c3-text);
	font-weight: 600;
}

.child3-home-predictions-conversion a.fp-pc-cta:not(.fp-pc-cta--prediction),
.child3-hub-predictions-conversion a.fp-pc-cta:not(.fp-pc-cta--prediction),
.child3-home-mega-event a.fp-pc-cta:not(.fp-pc-cta--prediction) {
	background: var(--c3-cta-primary-gradient);
	color: var(--c3-cta-primary-text);
	-webkit-text-fill-color: var(--c3-cta-primary-text);
	border: none;
	border-radius: var(--c3-radius-sm);
	font-weight: 600;
	box-shadow: 0 2px 10px color-mix(in srgb, var(--c3-cta-primary) 32%, transparent);
}

.child3-home-predictions-conversion a.fp-pc-cta:not(.fp-pc-cta--prediction):hover,
.child3-hub-predictions-conversion a.fp-pc-cta:not(.fp-pc-cta--prediction):hover,
.child3-home-mega-event a.fp-pc-cta:not(.fp-pc-cta--prediction):hover {
	background: var(--c3-cta-primary-hover);
	filter: brightness(1.04);
	color: var(--c3-cta-primary-text);
}

.child3-home-predictions-conversion a.fp-pc-cta--prediction,
.child3-hub-predictions-conversion a.fp-pc-cta--prediction,
.child3-home-mega-event a.fp-pc-cta--prediction {
	background: var(--c3-surface);
	color: var(--c3-accent-light);
	-webkit-text-fill-color: var(--c3-accent-light);
	border: 2px solid var(--c3-accent-light);
	border-radius: var(--c3-radius-sm);
	font-weight: 600;
}

.child3-home-predictions-conversion a.fp-pc-cta--prediction:hover,
.child3-hub-predictions-conversion a.fp-pc-cta--prediction:hover,
.child3-home-mega-event a.fp-pc-cta--prediction:hover {
	background: var(--c3-accent-light);
	color: var(--c3-info-text);
	-webkit-text-fill-color: var(--c3-info-text);
}

/* ── Хаб: заголовок ── */
.child3-hub-header h1 {
	font-family: var(--c3-font-h1, var(--c3-font-sans));
	font-size: var(--c3-h1-size, 34px);
	font-weight: var(--c3-h1-weight, 700);
	letter-spacing: var(--c3-h1-tracking, -0.02em);
	line-height: 1.2;
}

.child3-hub-subtitle {
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 40rem;
}

body.child3-hub-surface .child3-hub-header .child3-hub-subtitle {
	color: color-mix(in srgb, #fff 88%, transparent);
}

body.child3-hub-surface .child3-page-container > .child3-hub-subtitle,
body.child3-hub-surface .child3-hub-intro .child3-hub-subtitle {
	color: var(--c3-text-muted);
}

/* ── CTA базовый (усиление) ── */
a.child3-cta {
	font-size: 0.9rem;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

a.child3-cta:not(.secondary) {
	box-shadow: 0 2px 8px color-mix(in srgb, var(--c3-cta-primary) 35%, transparent);
}

@media (max-width: 700px) {
	.child3-home-hero {
		padding: 1.5rem 1.25rem 1.35rem;
		margin-bottom: 1.5rem;
	}

	.child3-home-grid {
		grid-template-columns: 1fr;
	}

	.child3-home-grid .child3-card--hub-predictions {
		grid-column: auto;
	}
}

/* ── FP bridge: live + single (все хабы с child3-hub-surface) ── */
body.child3-hub-surface a.fp-pc-cta:not(.fp-pc-cta--prediction) {
	background: var(--c3-cta-primary-gradient);
	color: var(--c3-cta-primary-text) !important;
	-webkit-text-fill-color: var(--c3-cta-primary-text);
	border: none;
	border-radius: var(--c3-radius-sm);
	font-weight: 600;
	box-shadow: 0 2px 10px color-mix(in srgb, var(--c3-cta-primary) 30%, transparent);
}

body.child3-hub-surface a.fp-pc-cta:not(.fp-pc-cta--prediction):hover,
body.child3-hub-surface a.fp-pc-cta:not(.fp-pc-cta--prediction):focus-visible {
	background: var(--c3-cta-primary-hover);
	filter: brightness(1.04);
	color: var(--c3-cta-primary-text) !important;
	text-decoration: none;
}

body.child3-hub-surface a.fp-pc-cta--prediction {
	background: var(--c3-surface);
	color: var(--c3-accent-light) !important;
	-webkit-text-fill-color: var(--c3-accent-light);
	border: 2px solid var(--c3-accent-light);
	border-radius: var(--c3-radius-sm);
	font-weight: 600;
}

body.child3-hub-surface a.fp-pc-cta--prediction:hover,
body.child3-hub-surface a.fp-pc-cta--prediction:focus-visible {
	background: var(--c3-accent-light);
	color: var(--c3-info-text) !important;
	-webkit-text-fill-color: var(--c3-info-text);
	text-decoration: none;
}

body.child3-hub-surface .fp-live-hub-live {
	color: var(--c3-brand);
	font-weight: 700;
}

body.child3-hub-surface .fp-live-team:hover {
	color: var(--c3-accent-light);
}

body.child3-hub-surface .fp-live-hub-row {
	border-color: var(--c3-border);
	background: var(--c3-surface);
}

/* Карточки ставок на single — navy + teal вместо purple/green */
body.child3-hub-surface .fp-bet-primary {
	background: linear-gradient(
		145deg,
		var(--c3-info) 0%,
		color-mix(in srgb, var(--c3-info) 72%, #000) 100%
	);
	color: var(--c3-info-text);
	box-shadow: 0 8px 24px color-mix(in srgb, var(--c3-info) 28%, transparent);
}

body.child3-hub-surface .fp-bet-primary .fp-bet-type,
body.child3-hub-surface .fp-bet-primary .fp-bet-pick,
body.child3-hub-surface .fp-bet-primary .fp-bet-conf {
	color: var(--c3-info-text);
}

body.child3-hub-surface .fp-bet-safe {
	background: linear-gradient(
		145deg,
		var(--c3-safe) 0%,
		color-mix(in srgb, var(--c3-safe) 68%, #000) 100%
	);
	color: var(--c3-safe-text);
	box-shadow: 0 8px 24px color-mix(in srgb, var(--c3-safe) 24%, transparent);
}

body.child3-hub-surface .fp-bet-safe .fp-bet-type,
body.child3-hub-surface .fp-bet-safe .fp-bet-pick,
body.child3-hub-surface .fp-bet-safe .fp-bet-conf {
	color: var(--c3-safe-text);
}

body.child3-hub-surface .fp-bet-value {
	background: linear-gradient(
		145deg,
		var(--c3-accent-light) 0%,
		color-mix(in srgb, var(--c3-accent-light) 65%, #000) 100%
	);
	color: var(--c3-info-text);
	box-shadow: 0 8px 24px color-mix(in srgb, var(--c3-accent-light) 22%, transparent);
}

body.child3-hub-surface .fp-bet-value .fp-bet-type,
body.child3-hub-surface .fp-bet-value .fp-bet-pick,
body.child3-hub-surface .fp-bet-value .fp-bet-conf {
	color: var(--c3-info-text);
}

body.child3-hub-surface .fp-bet-odd {
	opacity: 0.92;
}

body.child3-hub-surface .fp-odds-secondary-wrap {
	gap: 1.25rem;
	margin-bottom: 2rem;
}

body.child3-hub-surface .fp-bm-odds-section {
	background: var(--c3-surface);
	border-color: var(--c3-border);
	box-shadow: 0 1px 3px color-mix(in srgb, var(--c3-text) 6%, transparent);
}

body.child3-hub-surface .fp-bm-odds-title {
	color: var(--c3-text);
	font-size: 1.15rem;
}

body.child3-hub-surface .fp-disclaimer {
	background: color-mix(in srgb, var(--c3-danger) 5%, var(--c3-surface));
	border: 1px solid color-mix(in srgb, var(--c3-danger) 16%, var(--c3-border));
	border-left: 3px solid var(--c3-danger);
}

body.child3-hub-surface .fp-disclaimer p {
	color: var(--c3-text-muted);
}

/* ── Ironbets Bookmakers plugin bridge ── */
body.child3-hub-surface .ibk-bookmakers-table {
	border-color: var(--c3-border);
	font-size: 0.9rem;
}

body.child3-hub-surface .ibk-bookmakers-table th,
body.child3-hub-surface .ibk-bookmakers-table td {
	border-color: var(--c3-border);
}

body.child3-hub-surface .ibk-bookmakers-table thead th {
	background: var(--c3-bg);
	color: var(--c3-text);
}

body.child3-hub-surface .ibk-bookmakers-table tbody th a {
	color: var(--c3-info);
	text-decoration: none;
	font-weight: 600;
}

body.child3-hub-surface .ibk-bookmakers-table tbody th a:hover {
	color: var(--c3-accent-light);
	text-decoration: underline;
}

body.child3-hub-surface a.ibk-btn--secondary {
	background: var(--c3-surface);
	color: var(--c3-accent-light);
	border: 2px solid var(--c3-accent-light);
	border-radius: var(--c3-radius-sm);
	font-weight: 600;
}

body.child3-hub-surface a.ibk-btn--secondary:hover {
	background: var(--c3-accent-light);
	color: var(--c3-info-text);
}

body.child3-hub-surface a.ibk-btn--primary {
	background: var(--c3-cta-primary-gradient);
	color: var(--c3-cta-primary-text);
	border: none;
	border-radius: var(--c3-radius-sm);
	font-weight: 600;
}

body.child3-hub-surface a.ibk-btn--primary:hover {
	background: var(--c3-cta-primary-hover);
	filter: brightness(1.04);
	color: var(--c3-cta-primary-text);
}

/* Сайдбар: conversion-строки в одну колонку */
.child3-hub-sidebar .fp-pc-row,
.child3-hub-sidebar-stack .fp-pc-row,
aside.child3-hub-sidebar .fp-pc-row {
	grid-template-columns: 1fr !important;
	gap: 0.45rem;
}

.child3-hub-sidebar .fp-pc-pick,
.child3-hub-sidebar .fp-pc-odd,
.child3-hub-sidebar-stack .fp-pc-pick,
.child3-hub-sidebar-stack .fp-pc-odd {
	text-align: left;
}

.child3-hub-sidebar .fp-pc-action,
.child3-hub-sidebar-stack .fp-pc-action {
	justify-content: stretch;
	flex-direction: column;
}

.child3-hub-sidebar .fp-pc-cta,
.child3-hub-sidebar-stack .fp-pc-cta {
	width: 100%;
	justify-content: center;
}

/* Single прогноз: FAQ */
body.child3-hub-surface .child3-single-prediction-content .fp-faq {
	width: 100%;
	max-width: 100%;
}

body.child3-hub-surface .child3-single-prediction-content .fp-faq__title {
	color: var(--c3-text);
}

body.child3-hub-surface .child3-single-prediction-content .fp-faq__q {
	color: var(--c3-text);
}

body.child3-hub-surface .child3-single-prediction-content .fp-faq__a {
	color: var(--c3-text-muted);
}

/* Single прогноз: таблица коэффициентов */
body.child3-hub-surface .fp-bm-odds-block {
	margin-top: 1.5rem;
}

body.child3-hub-surface .fp-bm-odds-block > h2,
body.child3-hub-surface .fp-bm-odds-block > h3 {
	margin: 0 0 0.85rem;
	font-size: 1.15rem;
}

body.child3-hub-surface .fp-table-wrap,
body.child3-hub-surface .fp-table-wrap.fp-bm-odds-block {
	border: 1px solid var(--c3-border);
	border-radius: var(--c3-radius-md);
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
	background: var(--c3-surface);
	box-shadow: var(--c3-shadow);
}

body.child3-hub-surface .fp-bm-odds-table,
body.child3-hub-surface .fp-comp-table,
body.child3-hub-surface .fp-stats-table,
body.child3-hub-surface .fp-h2h-table {
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.95rem;
	width: 100%;
	table-layout: fixed;
}

body.child3-hub-surface .fp-mega-standings-table-wrap .fp-mega-standings-table {
	display: table !important;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.82rem;
	width: 100%;
	min-width: 0;
	table-layout: fixed;
}

body.child3-hub-surface .fp-mega-standings-table-wrap .fp-mega-standings-table thead {
	display: table-header-group !important;
}

body.child3-hub-surface .fp-mega-standings-table-wrap .fp-mega-standings-table tbody {
	display: table-row-group !important;
}

body.child3-hub-surface .fp-mega-standings-table-wrap .fp-mega-standings-table tr {
	display: table-row !important;
}

body.child3-hub-surface .fp-mega-standings-table-wrap .fp-mega-standings-table th,
body.child3-hub-surface .fp-mega-standings-table-wrap .fp-mega-standings-table td {
	display: table-cell !important;
}

body.child3-hub-surface .fp-mega-standings-table-wrap .fp-mega-standings-table .fp-ms-th-team,
body.child3-hub-surface .fp-mega-standings-table-wrap .fp-mega-standings-table .fp-ms-team {
	text-align: left;
}

body.child3-hub-surface .entry-content .fp-bm-odds-table th {
	text-align: center;
	background: transparent;
}

body.child3-hub-surface .entry-content .fp-bm-odds-table th:first-child,
body.child3-hub-surface .entry-content .fp-bm-odds-table td.fp-bm-name {
	text-align: left;
}

@media (max-width: 980px) {
	body.child3-hub-surface .fp-h2h-table {
		min-width: 520px;
	}
}

@media (max-width: 720px) {
	body.child3-hub-surface .fp-table-wrap.fp-table-wrap--comp,
	body.child3-hub-surface .fp-table-wrap.fp-table-wrap--stats {
		overflow-x: visible;
	}

	body.child3-hub-surface .fp-comp-table,
	body.child3-hub-surface .fp-stats-table {
		min-width: 0 !important;
		width: 100% !important;
		table-layout: fixed;
	}

	body.child3-hub-surface .fp-comp-table th,
	body.child3-hub-surface .fp-stats-table th {
		white-space: normal;
		font-size: 0.68rem;
		line-height: 1.25;
		padding: 0.55rem 0.4rem;
		word-break: break-word;
		hyphens: auto;
	}

	body.child3-hub-surface .fp-comp-table td,
	body.child3-hub-surface .fp-stats-table td {
		padding: 0.55rem 0.4rem;
		font-size: 0.85rem;
	}

	body.child3-hub-surface .fp-comp-label,
	body.child3-hub-surface .fp-stat-label {
		white-space: normal;
		font-size: 0.75rem !important;
		line-height: 1.25;
	}
}

@media (max-width: 720px) {
	body.child3-hub-surface .fp-table-wrap.fp-bm-odds-block {
		overflow-x: visible;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	body.child3-hub-surface .fp-bm-odds-table {
		min-width: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

body.child3-hub-surface .fp-bm-odds-table thead {
	background: linear-gradient(180deg, var(--c3-info) 0%, var(--c3-info-hover) 100%);
}

body.child3-hub-surface .fp-bm-odds-table th,
body.child3-hub-surface .fp-bm-odds-table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--c3-border);
}

body.child3-hub-surface .fp-bm-odds-table tbody tr:last-child td {
	border-bottom: none;
}

body.child3-hub-surface .fp-bm-odds-table tbody tr:hover td {
	background: var(--c3-info-soft);
}

/* Single прогноз: mobile odds-карточки как конверсионная лента */
body.child3-hub-surface .child3-single-prediction-content .fp-bm-mobile-card {
	border-color: var(--c3-border);
	box-shadow: var(--c3-shadow);
}

body.child3-hub-surface .child3-single-prediction-content .fp-bm-mobile-card__bm {
	color: var(--c3-text);
}

body.child3-hub-surface .child3-single-prediction-content .fp-bm-mobile-card__market {
	color: var(--c3-text-muted);
}

body.child3-hub-surface .child3-single-prediction-content .fp-bm-mobile-odd {
	background: color-mix(in srgb, var(--c3-info) 4%, var(--c3-surface));
	border-color: var(--c3-border);
}

body.child3-hub-surface .child3-single-prediction-content .fp-bm-mobile-odd__value {
	color: var(--c3-text);
}

body.child3-hub-surface .fp-bm-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.25rem;
	padding: 0.4rem 1rem;
	border-radius: var(--c3-radius-sm);
	font-size: 0.875rem;
	font-weight: 700;
	background: var(--c3-cta-primary-gradient);
	color: var(--c3-cta-primary-text) !important;
	border: none;
}

body.child3-hub-surface .fp-bm-cta:hover {
	background: var(--c3-cta-primary-hover);
	filter: none;
}

.child3-error-404-list {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.child3-error-404 .search-form {
	margin-top: 1.25rem;
	max-width: 28rem;
}
