/* Football Table - Dark sports widget theme */

:root {
	--ft-green: #ffcc00;
	--ft-green-dark: #e6b800;
	--ft-green-light: #1a2332;
	--ft-red: #e53935;
	--ft-bg: #000b1e;
	--ft-card: #0d1528;
	--ft-text: #ffffff;
	--ft-text-muted: #9ca3af;
	--ft-border: #1e293b;
	--ft-radius: 12px;
	--ft-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
	--ft-font: 'Sarabun', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
	--ft-yellow: #ffcc00;
	--ft-navy: #000b1e;
	--ft-panel: #0d1528;
	--ft-link: #4da3ff;
}

.ft-wrap {
	font-family: var(--ft-font);
	color: var(--ft-text);
	max-width: 1100px;
	margin: 0 auto;
	padding: 16px 16px 32px;
	box-sizing: border-box;
	border-radius: var(--ft-radius);
}

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

/* Hero */
.ft-hero {
	background: linear-gradient(135deg, var(--ft-hero-start) 0%, var(--ft-hero-end) 100%);
	border-radius: var(--ft-radius);
	margin-bottom: 20px;
	padding: 28px 24px;
	color: var(--ft-hero-text);
}

.ft-hero__title {
	margin: 0 0 8px;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.3;
}

.ft-hero__sub {
	margin: 0;
	opacity: 0.9;
	font-size: 0.95rem;
}

/* Tabs */
.ft-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	background: var(--ft-tab-bg);
	border-radius: var(--ft-radius);
	padding: 6px;
	margin-bottom: 20px;
	box-shadow: var(--ft-shadow);
	overflow-x: auto;
}

.ft-tab {
	flex: 1;
	min-width: 120px;
	padding: 12px 16px;
	border: none;
	background: transparent;
	color: var(--ft-tab-text);
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	border-radius: 6px;
	transition: all 0.2s;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.ft-tab:hover {
	background: var(--ft-tab-hover-bg);
	color: var(--ft-tab-hover-text);
}

.ft-tab--active {
	background: var(--ft-tab-active-bg);
	color: var(--ft-tab-active-text);
}

/* Panels */
.ft-panel {
	display: none;
}

.ft-panel--active {
	display: block;
}

/* Section header */
.ft-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ft-section-border);
}

.ft-section-header h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ft-section-title);
	display: flex;
	align-items: center;
	gap: 8px;
}

/* League group */
.ft-league-group {
	background: var(--ft-card);
	border-radius: var(--ft-radius);
	box-shadow: var(--ft-shadow);
	margin-bottom: 16px;
	overflow: hidden;
}

.ft-league-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	background: var(--ft-league-header-bg);
	border-bottom: 1px solid var(--ft-border);
}

.ft-league-name {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--ft-league-header-text);
}

/* Match row */
.ft-matches {
	padding: 0;
}

.ft-match-row {
	display: grid;
	grid-template-columns: 60px 1fr 100px;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--ft-border);
	transition: background 0.15s;
	background: var(--ft-match-row-bg);
}

.ft-match-row:last-child {
	border-bottom: none;
}

.ft-match-row:hover {
	background: var(--ft-match-hover-bg);
}

.ft-match-row--live {
	background: var(--ft-match-live-bg);
}

/* Classic full page — dark navy (same language as home widget) */
.ft-combined {
	background: #000b1e !important;
	color: #fff !important;
}

.ft-combined .ft-hero {
	background: linear-gradient(135deg, #000b1e 0%, #0d1528 100%) !important;
	border: 1px solid #1e293b;
}

.ft-combined .ft-hero__title {
	color: #fff !important;
}

.ft-combined .ft-hero__sub {
	color: #9ca3af !important;
}

.ft-combined .ft-tabs {
	background: #0d1528 !important;
	border: 1px solid #1e293b;
	box-shadow: none;
}

.ft-combined .ft-tab {
	color: #9ca3af !important;
}

.ft-combined .ft-tab:hover {
	background: #1a2332 !important;
	color: #fff !important;
}

.ft-combined .ft-tab--active {
	background: #ffcc00 !important;
	color: #0a0a0a !important;
}

.ft-combined .ft-section-header {
	border-bottom-color: #ffcc00 !important;
}

.ft-combined .ft-section-header h2 {
	color: #fff !important;
}

.ft-combined .ft-league-group {
	background: #0d1528 !important;
	border: 1px solid #1e293b;
	box-shadow: none;
}

.ft-combined .ft-league-header {
	background: #1a2332 !important;
}

.ft-combined .ft-league-name {
	color: #ffcc00 !important;
}

.ft-combined .ft-match-row {
	background: #0a1222 !important;
	border-bottom-color: #1a2332 !important;
}

.ft-combined .ft-match-row:hover {
	background: #121c33 !important;
}

.ft-combined .ft-team-name,
.ft-combined .ft-time,
.ft-combined .ft-score,
.ft-combined .ft-status {
	color: #e5e7eb !important;
}

.ft-combined .ft-score-value {
	color: #fff !important;
}

.ft-match-time {
	text-align: center;
	font-size: 0.85rem;
	color: var(--ft-text-muted);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.ft-match-teams {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-wrap: nowrap;
}

.ft-team {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 38%;
}

.ft-team--home {
	flex-direction: row;
	justify-content: flex-end;
}

.ft-team--away {
	flex-direction: row;
	justify-content: flex-start;
}

.ft-team-name {
	font-size: 0.9rem;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ft-match-teams .ft-team-logo {
	width: 24px;
	height: 16px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 2px;
}

.ft-match-teams .ft-team-logo--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--ft-green-light);
	color: var(--ft-green);
	font-weight: 700;
	font-size: 0.65rem;
	width: 24px;
	height: 16px;
	border-radius: 2px;
}

.ft-team-logo {
	display: inline-block;
	object-fit: contain;
	flex-shrink: 0;
}

.ft-team-logo--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--ft-green-light);
	color: var(--ft-green);
	font-weight: 700;
	font-size: 0.75rem;
}

.ft-match-score {
	flex: 0 0 auto;
	text-align: center;
	padding: 0 6px;
	min-width: 52px;
}

.ft-score-wrap {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	line-height: 1.2;
}

.ft-score {
	font-size: 1rem;
	font-weight: 700;
	color: #f5c518;
	white-space: nowrap;
}

.ft-score--vs {
	font-size: 0.95rem;
	color: #f5c518;
	font-weight: 800;
}

.ft-score-state {
	font-size: 0.65rem;
	color: var(--ft-text-muted);
	font-weight: 500;
	text-transform: uppercase;
}

.ft-match-status {
	text-align: right;
}

.ft-status {
	font-size: 0.75rem;
	color: var(--ft-text-muted);
	white-space: nowrap;
}

.ft-status--live {
	color: var(--ft-red);
	font-weight: 700;
}

/* Live indicators */
.ft-live-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background: var(--ft-red);
	border-radius: 50%;
	animation: ft-pulse 1.5s infinite;
}

.ft-live-dot--sm {
	width: 6px;
	height: 6px;
}

@keyframes ft-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.85); }
}

.ft-live-badge {
	display: inline-block;
	padding: 2px 8px;
	background: var(--ft-live-badge-bg);
	color: var(--ft-live-badge-text);
	font-size: 0.7rem;
	font-weight: 700;
	border-radius: 4px;
	letter-spacing: 0.5px;
}

/* Standings table */
.ft-standings-block {
	background: #0d1528 !important;
	border-radius: var(--ft-radius);
	padding: 20px;
	box-shadow: var(--ft-shadow);
	color: #e5e7eb !important;
	border: 1px solid #1e293b;
}

.ft-standings-league-name {
	margin: 0 0 12px;
	font-size: 1rem;
	color: #ffcc00 !important;
}

.ft-league-select-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ft-league-select {
	padding: 8px 12px;
	border: 1px solid #2d3748 !important;
	border-radius: 6px;
	font-family: inherit;
	font-size: 0.9rem;
	background: #121c33 !important;
	color: #fff !important;
	cursor: pointer;
	min-width: 180px;
}

.ft-table-responsive {
	overflow-x: auto;
}

.ft-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.ft-table--standings,
.ft-wrap .ft-table--standings {
	background: #0d1528 !important;
	color: #e5e7eb !important;
}

.ft-table th,
.ft-table td {
	padding: 10px 12px;
	text-align: center;
	border-bottom: 1px solid #1e293b !important;
}

.ft-table--standings th,
.ft-table--standings td,
.ft-wrap .ft-table--standings th,
.ft-wrap .ft-table--standings td,
.ft-wrap .ft-table--standings tbody td,
.ft-wrap .ft-table--standings tbody td strong {
	background: #0d1528 !important;
	background-color: #0d1528 !important;
	color: #e5e7eb !important;
}

.ft-table th {
	background: #1a2332 !important;
	color: #ffcc00 !important;
	font-weight: 600;
	font-size: 0.8rem;
	white-space: nowrap;
}

.ft-table--standings thead th,
.ft-wrap .ft-table--standings thead th {
	background: #1a2332 !important;
	background-color: #1a2332 !important;
	color: #ffcc00 !important;
}

.ft-table td.ft-col-team,
.ft-wrap .ft-table--standings td.ft-col-team {
	text-align: left;
	font-weight: 500;
	color: #fff !important;
}

.ft-col-rank,
.ft-wrap .ft-table--standings .ft-col-rank {
	width: 40px;
	color: #9ca3af !important;
}

.ft-col-pts,
.ft-wrap .ft-table--standings .ft-col-pts,
.ft-wrap .ft-table--standings .ft-col-pts strong {
	font-weight: 700;
	color: #ffcc00 !important;
}

.ft-table--standings tbody tr:hover td,
.ft-wrap .ft-table--standings tbody tr:hover td {
	background: #121c33 !important;
	background-color: #121c33 !important;
}

.ft-standings-block .ft-section-header h2 {
	color: #fff !important;
}

.ft-row--top td:first-child {
	border-left: 3px solid var(--ft-promotion-color);
}

.ft-row--bottom td:first-child {
	border-left: 3px solid var(--ft-relegation-color);
}

/* Match detail */
.ft-match-detail {
	background: var(--ft-match-detail-bg);
	border-radius: var(--ft-radius);
	padding: 24px;
	box-shadow: var(--ft-shadow);
}

.ft-match-detail__header {
	text-align: center;
	margin-bottom: 24px;
}

.ft-match-detail__league {
	display: block;
	font-weight: 700;
	color: var(--ft-green);
	margin-bottom: 4px;
}

.ft-match-detail__datetime {
	font-size: 0.9rem;
	color: var(--ft-text-muted);
}

.ft-match-detail__scoreboard {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.ft-match-detail__scoreboard--live {
	background: var(--ft-match-detail-live);
	border-radius: var(--ft-radius);
	padding: 24px;
}

.ft-match-detail__team .ft-team-logo {
	width: 64px;
	height: 64px;
	margin-bottom: 8px;
}

.ft-match-detail__team h2 {
	margin: 0;
	font-size: 1.1rem;
}

.ft-match-detail__score-num .ft-score {
	font-size: 2rem;
}

/* Empty & alerts */
.ft-empty {
	text-align: center;
	padding: 40px 20px;
	color: var(--ft-text-muted);
	background: var(--ft-empty-bg);
	border-radius: var(--ft-radius);
	box-shadow: var(--ft-shadow);
}

.ft-alert {
	padding: 16px 20px;
	border-radius: var(--ft-radius);
	margin-bottom: 16px;
}

.ft-alert--error {
	background: #ffebee;
	color: #c62828;
	border: 1px solid #ef9a9a;
}

/* Loading */
.ft-loading {
	text-align: center;
	padding: 40px 20px;
	color: var(--ft-text-muted);
}

/* Predictions grid */
.ft-section-header--predictions h2 {
	text-align: center;
	font-size: 1.5rem;
	margin-bottom: 20px;
}

.ft-predictions-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.ft-prediction-card {
	display: block;
	width: 100%;
	padding: 16px 12px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(160deg, #1a2744 0%, #0f1729 100%);
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.ft-prediction-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ft-prediction-card__date {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 12px;
}

.ft-prediction-card__match {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 8px;
}

.ft-prediction-card__team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.ft-prediction-card__team .ft-team-logo {
	width: 40px;
	height: 28px;
	object-fit: contain;
	border-radius: 2px;
}

.ft-prediction-card__name {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.9);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.ft-prediction-card__center {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.ft-prediction-card__vs {
	font-size: 1.1rem;
	font-weight: 800;
	color: #f5c518;
	letter-spacing: 0.05em;
}

.ft-prediction-card__time {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.75);
}

/* Prediction detail */
.ft-prediction-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	padding: 8px 14px;
	border: 1px solid var(--ft-border);
	border-radius: 6px;
	background: var(--ft-card);
	color: var(--ft-text);
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
}

.ft-prediction-detail__header {
	text-align: center;
	margin-bottom: 20px;
}

.ft-prediction-detail__league {
	margin: 0 0 16px;
	font-size: 1.25rem;
	font-weight: 700;
}

.ft-prediction-detail__hero {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	max-width: 520px;
	margin: 0 auto;
}

.ft-prediction-detail__team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.ft-prediction-detail__team .ft-team-logo {
	width: 56px;
	height: 40px;
	object-fit: contain;
}

.ft-prediction-detail__vs {
	font-size: 1.25rem;
	font-weight: 800;
	color: #f5c518;
}

.ft-prediction-subtabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 2px solid var(--ft-border);
	margin-bottom: 20px;
	overflow-x: auto;
}

.ft-prediction-subtab {
	flex: 1;
	min-width: 100px;
	padding: 12px 10px;
	border: none;
	background: transparent;
	color: var(--ft-text-muted);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.ft-prediction-subtab--active {
	color: var(--ft-text);
	border-bottom-color: #e65100;
}

.ft-prediction-subtab__icon {
	font-size: 1rem;
	line-height: 1;
}

.ft-prediction-team-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}

.ft-prediction-team-card {
	background: var(--ft-card);
	border: 1px solid var(--ft-border);
	border-radius: var(--ft-radius);
	padding: 16px;
	box-shadow: var(--ft-shadow);
}

.ft-prediction-team-card__label {
	font-size: 0.8rem;
	color: var(--ft-text-muted);
	margin-bottom: 6px;
}

.ft-prediction-team-card__name {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.ft-prediction-team-card__code {
	font-size: 0.85rem;
	color: var(--ft-text-muted);
}

.ft-prediction-analysis-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 12px;
	padding: 12px 16px;
	background: var(--ft-card);
	border-radius: var(--ft-radius);
	border-left: 4px solid var(--ft-green);
}

.ft-prediction-analysis-body {
	background: linear-gradient(160deg, #1a2744 0%, #0f1729 100%);
	color: #e8edf5;
	border-radius: var(--ft-radius);
	padding: 20px 24px;
	line-height: 1.75;
	font-size: 0.95rem;
}

.ft-prediction-analysis-body p {
	margin: 0 0 1em;
}

.ft-prediction-analysis-body p:last-child {
	margin-bottom: 0;
}

.ft-prediction-analysis-body img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: var(--ft-radius);
	margin: 0 0 1em;
}

.ft-prediction-analysis-body a {
	color: #f5c518;
	text-decoration: underline;
}

.ft-prediction-analysis-body a:hover {
	color: #fff;
}

.ft-prediction-analysis-body strong {
	color: #fff;
	font-weight: 700;
}

.ft-prediction-detail {
	background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
	color: #e5e7eb;
	border-radius: var(--ft-radius);
	padding: 20px;
	border: 1px solid #1f2937;
}

.ft-prediction-detail__league {
	color: #f9fafb;
}

.ft-prediction-detail .ft-prediction-back {
	color: #d1d5db;
}

.ft-prediction-subtabs {
	border-bottom-color: #374151;
}

.ft-prediction-subtab {
	color: #9ca3af;
}

.ft-prediction-subtab--active {
	color: #fff;
	border-bottom-color: #f97316;
}

.ft-prediction-team-card {
	background: #1f2937;
	border-color: #374151;
	color: #f3f4f6;
}

.ft-prediction-team-card__label,
.ft-prediction-team-card__code {
	color: #9ca3af;
}

.ft-prediction-analysis-title {
	background: #1f2937;
	border-left-color: #f97316;
	color: #f9fafb;
}

.ft-tab-ajax-content {
	min-height: 120px;
}

.ft-match-panel {
	background: #1f2937;
	border: 1px solid #374151;
	border-radius: var(--ft-radius);
	padding: 16px;
}

.ft-match-panel__title {
	margin: 0 0 16px;
	font-size: 1rem;
	font-weight: 700;
	color: #f9fafb;
	padding-bottom: 10px;
	border-bottom: 1px solid #374151;
}

/* H2H */
.ft-h2h-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ft-h2h-item {
	background: #111827;
	border: 1px solid #374151;
	border-radius: 8px;
	padding: 12px;
}

.ft-h2h-item__date {
	text-align: center;
	font-size: 0.75rem;
	color: #9ca3af;
	margin-bottom: 8px;
}

.ft-h2h-item__row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px;
}

.ft-h2h-item__team {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.ft-h2h-item__team--home {
	justify-content: flex-end;
}

.ft-h2h-item__team--away {
	justify-content: flex-start;
}

.ft-h2h-item__name {
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ft-h2h-item__team .ft-team-logo,
.ft-h2h-item__team .ft-team-logo--placeholder {
	width: 28px;
	height: 20px;
	flex-shrink: 0;
}

.ft-h2h-item__score {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 1.1rem;
	font-weight: 800;
	color: #fbbf24;
	min-width: 64px;
	justify-content: center;
}

.ft-h2h-item__dash {
	color: #6b7280;
	font-weight: 600;
}

/* Statistics — Kapook layout */
.ft-match-stats {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ft-match-stats__page-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #f9fafb;
}

.ft-stats-header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: #1a2332;
	border: 1px solid #2d3748;
	border-radius: 10px;
}

.ft-stats-header__team {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 0.9rem;
	color: #f3f4f6;
	min-width: 0;
}

.ft-stats-header__team--home {
	justify-content: flex-start;
}

.ft-stats-header__team--away {
	justify-content: flex-end;
}

.ft-stats-header__team .ft-team-logo,
.ft-stats-header__team .ft-team-logo--placeholder {
	width: 28px;
	height: 20px;
	flex-shrink: 0;
}

.ft-stats-header__title {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #fff;
	text-align: center;
	white-space: nowrap;
}

.ft-stats-section__title {
	margin: 0 0 14px;
	font-size: 0.95rem;
	font-weight: 700;
	color: #f9fafb;
}

/* Key stats — donut cards */
.ft-stats-key__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.ft-stats-key__card {
	background: #1a2332;
	border: 1px solid #2d3748;
	border-radius: 10px;
	padding: 16px 12px 14px;
	text-align: center;
}

.ft-stats-key__name {
	margin: 0 0 12px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #e5e7eb;
}

.ft-stats-key__donuts {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 16px;
}

.ft-stat-donut {
	position: relative;
	width: 88px;
	height: 88px;
	flex-shrink: 0;
}

.ft-stat-donut__svg {
	width: 100%;
	height: 100%;
	display: block;
}

.ft-stat-donut__track {
	stroke: #2d3748;
}

.ft-stat-donut__meta {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.ft-stat-donut__value {
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
}

.ft-stat-donut__side {
	margin-top: 2px;
	font-size: 0.65rem;
	font-weight: 600;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* Other stats — center-out bars */
.ft-stats-other {
	padding: 18px 16px;
	border-radius: 10px;
	background:
		linear-gradient(180deg, rgba(17, 24, 39, 0.94) 0%, rgba(15, 23, 42, 0.96) 100%),
		radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
	border: 1px solid #2d3748;
}

.ft-stats-other__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ft-stats-bar-row {
	display: grid;
	grid-template-columns: 36px 1fr 36px;
	align-items: center;
	gap: 8px;
}

.ft-stats-bar-row__value {
	font-size: 0.9rem;
	font-weight: 700;
	color: #42a5f5;
	text-align: center;
}

.ft-stats-bar-row__track {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ft-stats-bar-row__half {
	height: 8px;
	background: rgba(45, 55, 72, 0.6);
	border-radius: 999px;
	overflow: hidden;
	display: flex;
}

.ft-stats-bar-row__half--home {
	justify-content: flex-end;
}

.ft-stats-bar-row__half--away {
	justify-content: flex-start;
}

.ft-stats-bar-row__fill {
	height: 100%;
	border-radius: 999px;
	min-width: 0;
	transition: width 0.3s ease;
}

.ft-stats-bar-row__fill--home {
	background: linear-gradient(90deg, #2563eb, #42a5f5);
}

.ft-stats-bar-row__fill--away {
	background: linear-gradient(90deg, #546e7a, #78909c);
}

.ft-stats-bar-row__label {
	font-size: 0.72rem;
	font-weight: 600;
	color: #e5e7eb;
	text-align: center;
	white-space: nowrap;
	max-width: 110px;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Lineups */
.ft-lineups-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ft-lineup-col {
	background: #111827;
	border: 1px solid #374151;
	border-radius: 8px;
	padding: 12px;
}

.ft-lineup-col__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #374151;
}

.ft-lineup-col__head .ft-team-logo,
.ft-lineup-col__head .ft-team-logo--placeholder {
	width: 36px;
	height: 26px;
}

.ft-lineup-col__team {
	font-weight: 700;
	font-size: 0.9rem;
}

.ft-lineup-col__formation {
	font-size: 0.8rem;
	color: #f97316;
	font-weight: 600;
	margin-top: 2px;
}

.ft-lineup-section__label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #9ca3af;
	margin-bottom: 6px;
	font-weight: 700;
}

.ft-lineup-players {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
}

.ft-lineup-players--subs {
	margin-bottom: 0;
}

.ft-lineup-player {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 0;
	font-size: 0.85rem;
	border-bottom: 1px solid #1f2937;
}

.ft-lineup-player:last-child {
	border-bottom: none;
}

.ft-lineup-player__num {
	min-width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #374151;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #f9fafb;
}

.ft-lineup-player__name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Events */
.ft-events-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ft-event-item {
	display: grid;
	grid-template-columns: 44px 28px 1fr;
	gap: 10px;
	align-items: start;
	padding: 10px 12px;
	background: #111827;
	border: 1px solid #374151;
	border-radius: 8px;
}

.ft-event-item--home {
	border-left: 3px solid #3b82f6;
}

.ft-event-item--away {
	border-left: 3px solid #f97316;
}

.ft-event-item__minute {
	font-size: 0.8rem;
	font-weight: 700;
	color: #fbbf24;
	padding-top: 2px;
}

.ft-event-item__icon {
	font-size: 1rem;
	line-height: 1.2;
}

.ft-event-item__type {
	font-size: 0.75rem;
	font-weight: 700;
	color: #9ca3af;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ft-event-item__detail {
	font-size: 0.9rem;
	font-weight: 600;
	color: #f3f4f6;
	margin-top: 2px;
}

.ft-event-item__score {
	font-size: 0.8rem;
	color: #fbbf24;
	font-weight: 700;
	margin-top: 4px;
}

.ft-empty--inline {
	padding: 24px;
	margin: 0;
	color: #9ca3af;
	text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
	.ft-match-row {
		grid-template-columns: 44px 1fr 72px;
		gap: 6px;
		padding: 10px 8px;
	}

	.ft-match-time {
		font-size: 0.75rem;
	}

	.ft-match-teams {
		justify-content: center;
		gap: 3px;
	}

	.ft-team {
		max-width: 42%;
	}

	.ft-team-name {
		font-size: 0.75rem;
	}

	.ft-match-teams .ft-team-logo,
	.ft-match-teams .ft-team-logo--placeholder {
		width: 20px;
		height: 14px;
	}

	.ft-match-score {
		padding: 0 4px;
		min-width: 44px;
	}

	.ft-score {
		font-size: 0.9rem;
	}

	.ft-match-status {
		text-align: right;
		font-size: 0.7rem;
	}

	.ft-match-detail__scoreboard {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ft-tabs {
		flex-wrap: nowrap;
	}

	.ft-tab {
		min-width: auto;
		flex: 0 0 auto;
		padding: 10px 14px;
		font-size: 0.8rem;
	}

	.ft-predictions-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.ft-prediction-team-cards {
		grid-template-columns: 1fr;
	}

	.ft-prediction-detail__hero {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ft-lineups-grid {
		grid-template-columns: 1fr;
	}

	.ft-h2h-item__row {
		grid-template-columns: 1fr;
		gap: 8px;
		text-align: center;
	}

	.ft-h2h-item__team--home,
	.ft-h2h-item__team--away {
		justify-content: center;
	}

	.ft-stats-key__grid {
		grid-template-columns: 1fr;
	}

	.ft-stats-header {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 10px;
	}

	.ft-stats-header__team--home,
	.ft-stats-header__team--away {
		justify-content: center;
	}

	.ft-stats-header__title {
		order: -1;
	}

	.ft-stats-bar-row__label {
		max-width: 72px;
		font-size: 0.65rem;
	}

	.ft-prediction-subtab {
		min-width: 72px;
		font-size: 0.7rem;
		padding: 8px 6px;
	}
}

@media (max-width: 480px) {
	.ft-predictions-grid {
		grid-template-columns: 1fr;
	}
}

/* ========== Dark sports widget (LIVE SCORE + Schedule) ========== */
.ft-widget {
	background: #000b1e !important;
	color: #fff;
	padding: 16px;
	max-width: 1100px;
	border-radius: 14px;
}

.ft-widget--box {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.ft-widget--fullwidth {
	max-width: none !important;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	border-radius: 0;
	box-sizing: border-box;
}

.ft-schedule-row--link,
.ft-live-list__item--link {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.ft-schedule-row--link:hover {
	background: #121c33;
	border-color: #2d3748;
}

.ft-live-list__row {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ft-live-list__item--link:hover {
	background: rgba(255, 255, 255, 0.04);
	border-radius: 6px;
}

.ft-live-minute {
	max-width: 110px;
	text-align: center;
	line-height: 1.2;
	white-space: normal;
}

.ft-widget .ft-loading,
.ft-widget .ft-empty--dark {
	color: #9ca3af;
	background: transparent;
	border: 1px dashed #1e293b;
	border-radius: 10px;
	padding: 28px;
	text-align: center;
}

.ft-link-more {
	background: none;
	border: none;
	color: #4da3ff;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	white-space: nowrap;
}

.ft-link-more:hover {
	color: #7cbcff;
	text-decoration: underline;
}

.ft-live-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e53935;
	color: #fff;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.4;
}

.ft-live-pill--sm {
	font-size: 0.55rem;
	padding: 1px 6px;
}

/* LIVE SCORE board */
.ft-live-board {
	background: #0d1528;
	border: 1px solid #1e293b;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 18px;
}

.ft-live-board__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.ft-live-board__title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ft-live-board__title {
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #fff;
}

.ft-live-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 16px;
	align-items: stretch;
}

.ft-live-featured {
	background: linear-gradient(160deg, #121c33 0%, #0a1222 100%);
	border: 1px solid #243044;
	border-radius: 12px;
	padding: 20px 16px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 220px;
}

.ft-live-featured__teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 12px;
	align-items: center;
	width: 100%;
}

.ft-live-featured__team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	min-width: 0;
}

.ft-live-featured__team .ft-team-logo,
.ft-live-featured__team .ft-team-logo--placeholder {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 50%;
	background: #1a2332;
}

.ft-live-featured__name {
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ft-live-featured__scoreblock {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.ft-live-minute {
	display: inline-flex;
	padding: 3px 10px;
	border-radius: 999px;
	background: #e53935;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
}

.ft-live-featured__score {
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0.04em;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ft-live-featured__dash {
	color: #9ca3af;
	font-weight: 600;
}

.ft-btn-live {
	appearance: none;
	border: 1px solid #4da3ff;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	padding: 8px 22px;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ft-btn-live:hover {
	background: #4da3ff;
	color: #000b1e;
	text-decoration: none;
}

.ft-link-more {
	text-decoration: none;
}

.ft-live-side {
	background: #0a1222;
	border: 1px solid #243044;
	border-radius: 12px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	min-height: 220px;
}

.ft-sport-tabs {
	display: flex;
	gap: 6px;
	margin-bottom: 10px;
	overflow-x: auto;
}

.ft-sport-tab {
	appearance: none;
	border: none;
	background: #1a2332;
	color: #9ca3af;
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 7px 14px;
	border-radius: 8px;
	cursor: default;
	white-space: nowrap;
}

.ft-sport-tab--active {
	background: #ffcc00;
	color: #0a0a0a;
}

.ft-live-list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
	overflow: auto;
	max-height: 260px;
}

.ft-live-list__item {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	padding: 8px 4px;
	border-bottom: 1px solid #1a2332;
	width: 100%;
	box-sizing: border-box;
}

.ft-live-list__item:last-child {
	border-bottom: none;
}

.ft-live-list__min {
	color: #e53935;
	font-size: 0.72rem;
	font-weight: 800;
	text-align: center;
	white-space: nowrap !important;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.2;
	writing-mode: horizontal-tb !important;
	word-break: keep-all;
	max-width: 52px;
}

.ft-live-list__team {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: #e5e7eb;
}

.ft-live-list__team--home {
	justify-content: flex-end;
	text-align: right;
}

.ft-live-list__team--away {
	justify-content: flex-start;
}

.ft-live-list__team .ft-team-logo,
.ft-live-list__team .ft-team-logo--placeholder {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	object-fit: contain;
	flex-shrink: 0;
}

.ft-live-list__team span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ft-live-list__score {
	font-size: 0.85rem;
	font-weight: 800;
	color: #fff;
	text-align: center;
	min-width: 48px;
}

.ft-live-side__footer {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid #1a2332;
	text-align: right;
}

/* Schedule */
.ft-schedule {
	background: #0d1528;
	border: 1px solid #1e293b;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 18px;
}

.ft-schedule__head {
	margin-bottom: 14px;
}

.ft-schedule__title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
}

.ft-schedule__accent {
	width: 4px;
	height: 1.1em;
	background: #ffcc00;
	border-radius: 2px;
	flex-shrink: 0;
}

.ft-schedule__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.ft-league-select-wrap--home {
	flex: 1 1 auto;
	min-width: 180px;
	max-width: 320px;
	display: block;
}

.ft-widget .ft-league-dropdown,
.ft-league-dropdown {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 100%;
	min-height: 38px;
	padding: 8px 36px 8px 14px !important;
	border: 1px solid #2d3748 !important;
	border-radius: 8px !important;
	background-color: #121c33 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffcc00' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 12px 8px !important;
	color: #f3f4f6 !important;
	font-family: inherit !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	line-height: 1.3 !important;
}

.ft-widget .ft-league-dropdown:hover,
.ft-league-dropdown:hover,
.ft-widget .ft-league-dropdown:focus,
.ft-league-dropdown:focus {
	border-color: #ffcc00 !important;
	outline: none !important;
	box-shadow: 0 0 0 1px rgba(255, 204, 0, 0.25);
}

.ft-widget .ft-league-dropdown option,
.ft-league-dropdown option {
	background: #0d1528;
	color: #f3f4f6;
}

.ft-home-predictions {
	background: #0d1528;
	border: 1px solid #1e293b;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 18px;
}

.ft-home-predictions .ft-schedule__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ft-home-predictions .ft-prediction-card {
	background: #0a1222;
	border: 1px solid #1a2332;
	color: #fff;
}

.ft-home-predictions .ft-prediction-card__date,
.ft-home-predictions .ft-prediction-card__name,
.ft-home-predictions .ft-prediction-card__time {
	color: #e5e7eb;
}

.ft-live-minute {
	max-width: 120px;
	white-space: nowrap !important;
	writing-mode: horizontal-tb !important;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ft-date-picker {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	background: #121c33;
	border: 1px solid #2d3748;
	border-radius: 8px;
	cursor: pointer;
	color: #e5e7eb;
	font-size: 0.8rem;
	font-weight: 600;
}

.ft-date-picker__input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}

.ft-schedule-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ft-schedule-row {
	display: grid;
	grid-template-columns: 72px 1fr 36px;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: #0a1222;
	border: 1px solid #1a2332;
	border-radius: 10px;
	transition: background 0.15s, border-color 0.15s;
}

.ft-schedule-row[hidden],
.ft-schedule-row--collapsed,
.ft-schedule-row--filtered-out {
	display: none !important;
}

.ft-schedule-row:hover {
	background: #121c33;
	border-color: #2d3748;
}

.ft-schedule-row--live {
	border-color: rgba(229, 57, 53, 0.35);
}

.ft-schedule-row__time {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.ft-schedule-row__clock {
	font-size: 0.9rem;
	font-weight: 700;
	color: #fff;
}

.ft-schedule-row__teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.ft-schedule-row__team {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.ft-schedule-row__team--home {
	justify-content: flex-end;
	text-align: right;
}

.ft-schedule-row__team--away {
	justify-content: flex-start;
}

.ft-schedule-row__name {
	font-size: 0.88rem;
	font-weight: 600;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ft-schedule-row__team .ft-team-logo,
.ft-schedule-row__team .ft-team-logo--placeholder {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: contain;
	flex-shrink: 0;
	background: #1a2332;
}

.ft-schedule-row__vs {
	font-size: 0.75rem;
	font-weight: 800;
	color: #6b7280;
	text-align: center;
}

.ft-schedule-row__action {
	display: flex;
	justify-content: flex-end;
}

.ft-schedule-row__chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	border: 1px solid #2d3748;
	color: #9ca3af;
	font-size: 1.1rem;
	line-height: 1;
}

.ft-schedule__footer {
	margin-top: 14px;
	text-align: center;
}

/* Secondary tabs under widget */
.ft-widget .ft-tabs--secondary {
	background: #0d1528;
	border: 1px solid #1e293b;
	box-shadow: none;
	margin-bottom: 12px;
}

.ft-widget .ft-tab {
	color: #9ca3af;
}

.ft-widget .ft-tab--active {
	background: #ffcc00;
	color: #0a0a0a;
}

.ft-widget .ft-panel {
	background: #0d1528;
	border: 1px solid #1e293b;
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 12px;
}

.ft-widget .ft-section-header {
	border-bottom-color: #ffcc00;
}

.ft-widget .ft-section-header h2 {
	color: #fff;
}

.ft-widget .ft-league-header {
	background: #1a2332;
}

.ft-widget .ft-league-name {
	color: #ffcc00;
}

.ft-widget .ft-match-row {
	background: #0a1222;
	border-bottom-color: #1a2332;
}

.ft-widget .ft-team-name,
.ft-widget .ft-time {
	color: #e5e7eb;
}

@media (max-width: 900px) {
	.ft-live-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.ft-schedule-row {
		grid-template-columns: 56px 1fr 28px;
		gap: 6px;
		padding: 10px 8px;
	}

	.ft-schedule-row__name {
		font-size: 0.75rem;
	}

	.ft-schedule-row__teams {
		gap: 4px;
	}

	.ft-live-list__item {
		grid-template-columns: 36px 1fr auto 1fr;
		gap: 4px;
	}

	.ft-live-featured__score {
		font-size: 1.5rem;
	}

	.ft-schedule__toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.ft-league-select-wrap--home {
		max-width: none;
		width: 100%;
	}

	.ft-date-picker {
		align-self: flex-end;
	}
}

