:root {
	--to-green: #22c55e;
	--to-green-dark: #16a34a;
	--to-ink: #111111;
	--to-ink-2: #1a1a1a;
	--to-muted: #6b7280;
	--to-line: #e5e7eb;
	--to-bg: #f3f4f6;
	--to-red: #dc2626;
	--to-brown: #8B4513;
	--to-brown-soft: #a0522d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body.to-home {
	font-family: "Segoe UI", Arial, Helvetica, sans-serif;
	background: var(--to-bg);
	color: #111827;
	line-height: 1.45;
}

.to-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.to-top-meta {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
	margin-left: auto;
	font-size: 13px;
}
.to-tz { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px; }
.to-clock { color: #d1d5db; white-space: nowrap; }
.to-fav-nav {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #d1d5db;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	padding: 4px 2px;
	flex-shrink: 0;
}
.to-fav-nav:hover { color: #fff; }
.to-fav-nav.is-on { color: #fbbf24; }
.to-fav-nav svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linejoin: round;
	flex-shrink: 0;
}
.to-fav-nav.is-on svg { fill: currentColor; }
.to-star {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	color: #d1d5db;
	cursor: pointer;
	border-radius: 6px;
}
.to-star:hover { color: #f59e0b; background: #fffbeb; }
.to-star svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linejoin: round;
}
.to-star.is-on { color: #f59e0b; }
.to-star.is-on svg { fill: currentColor; }
.to-star-th, .to-star-td { width: 36px; padding-left: 8px !important; padding-right: 0 !important; }
.to-empty a { color: var(--to-green-dark); font-weight: 700; text-decoration: none; }
.to-tz-select {
	max-width: 260px;
	background: #1f1f1f;
	color: #fff;
	border: 1px solid #374151;
	border-radius: 6px;
	padding: 3px 6px;
	font: inherit;
	font-size: 12px;
}
.to-lang {
	position: relative;
	color: #fff;
	flex-shrink: 0;
}
.to-lang-btn {
	background: none;
	border: 0;
	color: inherit;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	padding: 4px 2px;
	white-space: nowrap;
}
.to-lang-btn:hover { color: #fff; }
.to-lang-pop {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 292px;
	background: #373d43;
	color: #fff;
	border-radius: 6px;
	padding: 16px 16px 14px;
	z-index: 80;
	box-shadow: 0 10px 28px rgba(0,0,0,.4);
}
.to-lang-pop[hidden] { display: none !important; }
.to-lang-pop:before {
	content: "";
	position: absolute;
	top: -6px;
	right: 16px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #373d43;
}
.to-lang-h {
	font-size: 10px;
	letter-spacing: .7px;
	color: #b8bec6;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.to-lang-sec + .to-lang-sec { margin-top: 14px; }
.to-fmt {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	border: 1px solid #5a626b;
	border-radius: 4px;
	overflow: hidden;
}
.to-fmt button {
	background: transparent;
	border: 0;
	border-right: 1px solid #5a626b;
	color: #9aa3ad;
	padding: 8px 4px 7px;
	cursor: pointer;
	font: inherit;
	line-height: 1.15;
}
.to-fmt button:last-child { border-right: 0; }
.to-fmt button.is-on {
	background: #434a51;
	color: #fff;
	box-shadow: inset 0 0 0 1px #c5c9ce;
}
.to-fmt b { display: block; font-size: 15px; font-weight: 700; }
.to-fmt span {
	display: block;
	font-size: 9px;
	letter-spacing: .35px;
	margin-top: 2px;
	text-transform: uppercase;
}
.to-lang-list {
	display: flex;
	align-items: center;
	gap: 14px;
}
.to-lang-list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #9aa3ad;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2px;
}
.to-lang-list a.is-on,
.to-lang-list a:hover { color: #fff; }
.to-flag {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	overflow: hidden;
	display: inline-block;
	flex-shrink: 0;
	box-shadow: 0 0 0 1px rgba(255,255,255,.18);
	background: #222;
}
.to-flag svg { display: block; width: 18px; height: 18px; }
.to-search {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid var(--to-line);
	border-radius: 8px;
	padding: 7px 12px;
	width: min(360px, 100%);
}
.to-search input {
	background: transparent;
	border: 0;
	color: #111827;
	width: 100%;
	outline: none;
	font: inherit;
}
.to-search input::placeholder { color: #9ca3af; }
.to-search button {
	background: none;
	border: 0;
	color: #6b7280;
	cursor: pointer;
}

.to-search-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: #d1d5db;
	cursor: pointer;
	flex-shrink: 0;
	border-radius: 6px;
}
.to-search-nav:hover,
.to-search-nav.is-on { color: #fff; }
.to-search-nav svg { display: block; }

.to-sp-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.5);
	z-index: 120;
}
.to-sp {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 500px;
	max-width: 95vw;
	max-height: 80vh;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
	z-index: 130;
	overflow: hidden;
	color: #111827;
}
.to-sp[hidden], .to-sp-overlay[hidden],
.to-sp-loading[hidden], .to-sp-results[hidden],
.to-sp-msg[hidden] { display: none !important; }
.to-sp-box {
	display: flex;
	flex-direction: column;
	max-height: 80vh;
}
.to-sp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #e5e7eb;
	flex-shrink: 0;
}
.to-sp-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #111827;
}
.to-sp-close {
	width: 30px;
	height: 30px;
	border: 0;
	background: none;
	color: #9ca3af;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.to-sp-close:hover { background: #f3f4f6; color: #111827; }
.to-sp-body {
	padding: 16px 20px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
.to-sp-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}
.to-sp-sport {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f8f9fa;
	font-size: 14px;
	color: #555;
	white-space: nowrap;
	flex-shrink: 0;
}
.to-sp-sport svg { display: block; color: #16a34a; }
.to-sp-input-wrap { flex: 1; min-width: 0; }
.to-sp-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	font: inherit;
	font-size: 15px;
	background: #f8f9fa;
}
.to-sp-input:focus {
	outline: none;
	border-color: #22c55e;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}
.to-sp-go {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 8px;
	background: #22c55e;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.to-sp-go:hover { background: #16a34a; }
.to-sp-go svg { display: block; }
.to-sp-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}
.to-sp-tab {
	padding: 8px 16px;
	border: 0;
	border-radius: 20px;
	background: #f0f0f0;
	color: #666;
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
.to-sp-tab:hover { background: #e5e7eb; }
.to-sp-tab.is-on { background: #22c55e; color: #fff; }
.to-sp-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 20px;
	color: #6b7280;
}
.to-sp-spin {
	width: 16px;
	height: 16px;
	border: 2px solid #d1d5db;
	border-top-color: #22c55e;
	border-radius: 50%;
	animation: to-sp-spin .7s linear infinite;
}
@keyframes to-sp-spin { to { transform: rotate(360deg); } }
.to-sp-results { flex: 1; min-height: 0; }
.to-sp-sec { margin-bottom: 16px; }
.to-sp-sec[hidden] { display: none !important; }
.to-sp-sec-h {
	font-size: 12px;
	font-weight: 700;
	color: #9ca3af;
	text-transform: uppercase;
	margin-bottom: 8px;
	padding-left: 4px;
}
.to-sp-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
}
.to-sp-item:hover { background: #f5f5f5; }
.to-sp-logo, .to-sp-crest {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: contain;
	background: #f8f9fa;
	flex-shrink: 0;
}
.to-sp-crest {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: #6b7280;
}
.to-sp-info { min-width: 0; flex: 1; }
.to-sp-name {
	font-weight: 600;
	color: #111827;
	font-size: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.to-sp-sub {
	font-size: 13px;
	color: #888;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.to-sp-match {
	align-items: stretch;
}
.to-sp-sides {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	justify-content: center;
}
.to-sp-side {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.to-sp-side img, .to-sp-side .to-sp-crest {
	width: 20px;
	height: 20px;
}
.to-sp-side span {
	font-size: 14px;
	font-weight: 600;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.to-sp-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 2px;
	margin-left: 8px;
	flex-shrink: 0;
	min-width: 70px;
	text-align: right;
}
.to-sp-meta time { font-size: 12px; color: #555; }
.to-sp-meta em { font-size: 11px; color: #aaa; font-style: normal; }
.to-sp-msg {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	color: #9ca3af;
	text-align: center;
}
.to-sp-msg svg { color: #ddd; margin-bottom: 10px; }
.to-sp-empty-line {
	padding: 10px;
	color: #9ca3af;
	font-size: 13px;
}
body.to-sp-open { overflow: hidden; }

.to-nav {
	position: relative;
	z-index: 50;
	background: var(--to-ink);
	color: #fff;
}
.to-nav-in {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 20px;
	min-height: 46px;
}
.to-logo {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	text-decoration: none;
	line-height: 0;
}
.to-logo img {
	display: block;
	height: 28px;
	width: auto;
}
.to-logo .to-logo-mark {
	height: 28px;
	width: 28px;
	flex-shrink: 0;
	border-radius: 6px;
}
.to-menu { display: flex; flex-direction: row; flex-wrap: nowrap; list-style: none; gap: 4px; flex: 1; min-width: 0; }
.to-menu a, .to-menu .is-off {
	color: #d1d5db;
	text-decoration: none;
	padding: 4px 10px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .3px;
}
.to-menu a:hover, .to-menu a.is-on { color: #fff; }
.to-menu .is-off {
	color: #6b7280;
	cursor: not-allowed;
	opacity: .55;
}
.to-more { position: relative; }
.to-more summary {
	list-style: none;
	cursor: pointer;
	padding: 8px 12px;
	font-weight: 600;
	font-size: 14px;
}
.to-more summary::-webkit-details-marker { display: none; }
.to-more-list {
	position: absolute;
	top: 100%;
	left: 0;
	background: #1f1f1f;
	min-width: 180px;
	border-radius: 8px;
	padding: 8px 0;
	z-index: 20;
	box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.to-more-list a {
	display: block;
	padding: 8px 14px;
	border-radius: 0;
}

.to-filters {
	position: relative;
	z-index: 1;
	background: rgba(6, 8, 10, .42);
	border-top: 1px solid rgba(255, 255, 255, .08);
}
.to-filters-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
	padding: 10px 0;
	flex-wrap: wrap;
}
.to-days, .to-markets { display: flex; gap: 8px; flex-wrap: wrap; }
.to-days a, .to-markets a {
	text-decoration: none;
	color: #d1d5db;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .4px;
	padding: 7px 12px;
	border-radius: 999px;
}
.to-days a.is-on { background: var(--to-green); color: #052e16; }
.to-markets a { border: 1px solid #374151; }
.to-markets a.is-on { background: var(--to-green); border-color: var(--to-green); color: #052e16; }

.to-hero {
	position: relative;
	background:
		linear-gradient(90deg, rgba(6,8,10,.88) 0%, rgba(6,8,10,.55) 42%, rgba(6,8,10,.18) 100%),
		url('../images/home-hero.jpg') center right / cover no-repeat #0b1220;
	color: #fff;
	overflow: hidden;
}
.to-hero-in { position: relative; z-index: 1; padding: 2px 0 24px; }
.to-hero h1 {
	font-size: 46px;
	line-height: 1.05;
	letter-spacing: .5px;
	max-width: 640px;
}
.to-hero h1 b { color: var(--to-green); font-weight: 800; }
.to-hero p { margin-top: 12px; color: #d1d5db; font-size: 16px; }

.to-section { padding: 28px 0; }
.to-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.to-head h2 { font-size: 20px; letter-spacing: .4px; }
.to-head a { color: var(--to-green-dark); text-decoration: none; font-weight: 700; font-size: 14px; }
.to-head-leagues {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.to-leagues {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 12px;
}
.to-leagues .to-league {
	background: #fff;
	border: 1px solid var(--to-line);
	border-radius: 10px;
	padding: 14px 10px 12px;
	text-align: center;
	text-decoration: none;
	color: inherit;
	min-height: 132px;
}
.to-leagues .to-league:hover { border-color: #86efac; box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.to-leagues .to-league img, .to-crest {
	width: 42px;
	height: 42px;
	object-fit: contain;
	margin: 0 auto 8px;
	display: block;
}
.to-crest {
	border-radius: 50%;
	background: #f3f4f6;
	color: #111;
	font-weight: 800;
	font-size: 12px;
	line-height: 42px;
	text-align: center;
}
.to-leagues .to-league strong { display: block; font-size: 13px; }
.to-leagues .to-league em { display: block; font-style: normal; color: var(--to-muted); font-size: 12px; margin: 2px 0 6px; }
.to-leagues .to-league b { color: var(--to-green-dark); font-size: 12px; }

.to-head-search {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 16px;
}
.to-country-block { margin-bottom: 8px; }
.to-country-h {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 10px;
	font-size: 15px;
	font-weight: 700;
}
.to-country-h img {
	width: 18px;
	height: 12px;
	object-fit: cover;
	border-radius: 2px;
}

.to-note {
	background: #fff7d6;
	border: 1px solid #e8d48a;
	color: #5c4b00;
	padding: 10px 12px;
	border-radius: 8px;
	margin-bottom: 14px;
	font-size: 13px;
}

.to-group {
	background: #fff;
	border: 1px solid var(--to-line);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 16px;
}
.to-group-h {
	background: var(--to-ink);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	font-size: 14px;
}
.to-group-h a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.to-group-h img { width: 18px; height: 12px; object-fit: cover; }
.to-group-h span { color: #9ca3af; font-size: 12px; }
.to-table { width: 100%; border-collapse: collapse; }
.to-table th {
	text-align: center;
	font-size: 11px;
	letter-spacing: .4px;
	color: var(--to-muted);
	padding: 10px 12px;
	border-bottom: 1px solid var(--to-line);
	background: #fafafa;
}
.to-table td { padding: 12px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; text-align: center; }
.to-table tr:last-child td { border-bottom: 0; }
.to-table tr:hover td { background: #f9fafb; }
.to-time { font-weight: 700; width: 72px; white-space: nowrap; }
.to-live { color: var(--to-red); font-size: 11px; display: block; }
.to-match { min-width: 280px; }
.to-match a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	font-weight: 700;
}
.to-side { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; flex: 1 1 0; }
.to-side img, .to-side .to-crest { width: 22px; height: 22px; line-height: 22px; font-size: 9px; margin: 0; }
.to-side b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.to-vs { color: var(--to-muted); font-size: 11px; font-weight: 800; }
.to-odds { width: 72px; text-align: center; font-weight: 700; }
.to-odds.is-best { color: var(--to-green-dark); }
.to-bm { width: 150px; text-align: center; }
.to-bm-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 78px;
	height: 22px;
	padding: 0 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 800;
	background: #111;
	color: #fff;
	text-transform: none;
}
.to-bm-bet365 { background: #f4d000; color: #111; }
.to-bm-1xbet, .to-bm-1xBet { background: #1d4ed8; }
.to-bm-betway { background: #052e16; color: #86efac; }
.to-bm-pinnacle { background: #111827; }
.to-bm-williamhill { background: #1e3a5f; }
.to-more-link { text-align: center; width: 36px; }
.to-more-link a { color: #9ca3af; text-decoration: none; font-size: 18px; }
.to-group-f { padding: 10px 14px 14px; }
.to-group-f a { color: var(--to-green-dark); font-weight: 700; text-decoration: none; font-size: 13px; }

.to-empty { background: #fff; border: 1px solid var(--to-line); border-radius: 10px; padding: 28px; color: var(--to-muted); }

.to-tools {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.to-tool {
	background: #fff;
	border: 1px solid var(--to-line);
	border-radius: 10px;
	padding: 22px 20px;
}
.to-tool h3 { font-size: 18px; margin-bottom: 8px; }
.to-tool p, .to-tool li { color: var(--to-muted); font-size: 14px; }
.to-tool ul { margin: 8px 0 14px 18px; }
.to-tool a {
	display: inline-block;
	margin-top: 10px;
	background: var(--to-green);
	color: #052e16;
	text-decoration: none;
	font-weight: 800;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 13px;
}

.to-page-hero .to-hero-in { padding: 22px 0 28px; }
.to-page-hero h1 { font-size: 36px; max-width: none; }
.to-page-kicker {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--to-green);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .8px;
}
.to-info-tabs-wrap {
	background: #fff;
	border-bottom: 1px solid var(--to-line);
}
.to-info-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
}
.to-info-tabs a {
	padding: 14px 10px 12px;
	text-decoration: none;
	color: #6b7280;
	font-weight: 700;
	font-size: 14px;
	border-bottom: 2px solid transparent;
}
.to-info-tabs a.is-on { color: #111827; border-bottom-color: #dc2626; }

.to-article {
	background: #fff;
	border: 1px solid var(--to-line);
	border-radius: 12px;
	padding: 28px 32px;
	max-width: 860px;
}
.to-article h2 {
	font-size: 18px;
	margin: 22px 0 8px;
}
.to-article h2:first-child { margin-top: 0; }
.to-article p { color: #4b5563; margin: 0 0 12px; font-size: 15px; line-height: 1.65; }
.to-article ul { margin: 0 0 14px 18px; color: #4b5563; font-size: 15px; line-height: 1.65; }
.to-article li { margin: 4px 0; }
.to-article a { color: var(--to-green-dark); font-weight: 700; text-decoration: none; }
.to-article .to-mail {
	display: inline-block;
	margin: 4px 0 12px;
	background: var(--to-green);
	color: #052e16;
	font-weight: 800;
	padding: 10px 14px;
	border-radius: 8px;
}

.to-calc {
	background: #fff;
	border: 1px solid var(--to-line);
	border-radius: 12px;
	padding: 24px;
}
.to-calc-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.to-field { display: block; color: #6b7280; font-size: 12px; font-weight: 800; letter-spacing: .3px; }
.to-field input {
	display: block;
	width: 100%;
	margin-top: 6px;
	border: 1px solid var(--to-line);
	border-radius: 8px;
	padding: 10px 12px;
	font: inherit;
	font-size: 20px;
	font-weight: 800;
	color: #111827;
}
.to-field input:focus { outline: 2px solid #bbf7d0; border-color: #16a34a; }
.to-calc-note, .to-calc-foot { color: var(--to-muted); font-size: 13px; margin-top: 14px; }
.to-calc-sub { font-size: 16px; margin: 22px 0 12px; }
.to-calc-results {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 16px;
}
.to-calc-results div {
	background: #f0fdf4;
	border: 1px solid #dcfce7;
	border-radius: 10px;
	padding: 12px;
}
.to-calc-results span { display: block; color: #6b7280; font-size: 12px; font-weight: 700; }
.to-calc-results b { display: block; margin-top: 4px; font-size: 22px; }
.to-calc-legs { display: grid; gap: 10px; }
.to-leg-row { display: flex; gap: 8px; margin-top: 6px; }
.to-leg-row input { margin-top: 0; }
.to-leg-row button {
	flex: 0 0 42px;
	border: 1px solid var(--to-line);
	background: #fff;
	border-radius: 8px;
	font-size: 20px;
	cursor: pointer;
	color: #6b7280;
}
.to-calc-add {
	margin-top: 10px;
	border: 1px dashed #86efac;
	background: #f0fdf4;
	color: #166534;
	font: inherit;
	font-weight: 800;
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
}
.to-calc-verdict {
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #f3f4f6;
	font-weight: 700;
}
.to-calc-verdict.is-yes { background: #dcfce7; color: #166534; }
.to-calc-verdict.is-no { background: #fee2e2; color: #991b1b; }

.to-news {
	background: #102216;
	color: #fff;
}
.to-news-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 28px 0;
	flex-wrap: wrap;
}
.to-news h2 { font-size: 22px; }
.to-news form { display: flex; gap: 8px; }
.to-news input {
	width: 280px;
	border: 0;
	border-radius: 6px;
	padding: 10px 12px;
	font: inherit;
}
.to-news button {
	background: var(--to-green);
	border: 0;
	border-radius: 6px;
	padding: 10px 16px;
	font-weight: 800;
	cursor: pointer;
}

.to-sub {
	max-width: 560px;
	margin: 0 auto;
}
.to-sub-card {
	background: #fff;
	border: 1px solid var(--to-line);
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 16px;
}
.to-sub-lead {
	color: #4b5563;
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.6;
}
.to-sub-card h2 {
	margin: 0 0 8px;
	font-size: 22px;
}
.to-sub-card h3 {
	margin: 0 0 10px;
	font-size: 15px;
}
.to-sub-card .to-field { margin-bottom: 14px; }
.to-sub-card .to-field input {
	font-size: 16px;
	font-weight: 600;
}
.to-sub-row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}
.to-sub-row input {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--to-line);
	border-radius: 8px;
	padding: 10px 12px;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #111827;
}
.to-sub-row input:focus {
	outline: 2px solid #bbf7d0;
	border-color: #16a34a;
}
.to-sub-help {
	color: var(--to-muted);
	font-size: 13px;
	margin: 8px 0 16px;
}
.to-sub-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: var(--to-green);
	color: #052e16;
	border: 0;
	border-radius: 8px;
	padding: 11px 16px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
}
.to-sub-btn:disabled { opacity: .45; cursor: not-allowed; }
.to-sub-btn.is-busy { opacity: .7; }
.to-sub-btn-ghost {
	width: auto;
	white-space: nowrap;
	background: #fff;
	color: #14532d;
	border: 1px solid #bbf7d0;
}
.to-sub-btn-danger { background: #dc2626; color: #fff; }
.to-sub-flash {
	margin-top: 14px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #fef2f2;
	color: #991b1b;
	font-size: 14px;
}
.to-sub-flash-ok {
	background: #f0fdf4;
	color: #166534;
}
.to-sub-list {
	margin: 0;
	padding-left: 18px;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.7;
}
.to-sub-switch {
	text-align: center;
	color: #6b7280;
	font-size: 14px;
	margin: 8px 0 0;
}
.to-sub-switch a { color: var(--to-green-dark); font-weight: 700; }
.to-sub .is-off { display: none !important; }
.to-sub-done .to-sub-btn { margin-top: 12px; width: auto; }

.to-footer { background: var(--to-ink); color: #d1d5db; padding: 36px 0 0; }
.to-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr minmax(280px, 2fr) 1fr 1fr;
	gap: 24px;
	padding-bottom: 24px;
}
.to-footer-leagues ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 28px;
	align-content: start;
}
@media (min-width: 1100px) {
	.to-footer-leagues ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.to-footer p { color: #9ca3af; font-size: 13px; margin: 12px 0; }
.to-soc { display: flex; gap: 10px; }
.to-soc a { color: #fff; text-decoration: none; border: 1px solid #374151; padding: 4px 8px; border-radius: 6px; font-size: 12px; }
.to-footer h4 { color: #fff; margin-bottom: 10px; font-size: 13px; letter-spacing: .4px; }
.to-footer ul { list-style: none; }
.to-footer li { margin: 6px 0; }
.to-footer li a { color: #9ca3af; text-decoration: none; font-size: 13px; }
.to-copy {
	border-top: 1px solid #2a2a2a;
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	font-size: 12px;
	color: #6b7280;
}

@media (max-width: 980px) {
	.to-leagues { grid-template-columns: repeat(4, 1fr); }
	.to-tools { grid-template-columns: 1fr 1fr; }
	.to-footer-grid { grid-template-columns: 1fr 1fr; }
	.to-footer-leagues { grid-column: 1 / -1; }
	.to-footer-leagues ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.to-hero h1 { font-size: 34px; }
	.to-page-hero h1 { font-size: 28px; }
	.to-calc-grid, .to-calc-results { grid-template-columns: 1fr 1fr; }
	.to-head-leagues { gap: 12px; }
	.to-head-search { grid-template-columns: 1fr; }
	.to-head-search .to-search { width: 100%; }
	.to-nav-in { gap: 14px; flex-wrap: wrap; }
	.to-menu { flex: 0 1 auto; }
	.to-clock { white-space: nowrap; }
	.to-top-meta { flex-shrink: 1; min-width: 0; }
	.to-tz-select { max-width: min(260px, 100%); }
}
@media (max-width: 720px) {
	.to-leagues, .to-footer-grid { grid-template-columns: 1fr 1fr; }
	.to-tools, .to-calc-grid, .to-calc-results { grid-template-columns: 1fr; }
	.to-footer-leagues { grid-column: 1 / -1; }
	.to-footer-leagues ul { grid-template-columns: 1fr 1fr; }
	.to-match a { flex-direction: column; align-items: center; gap: 4px; }
	.to-bm { display: none; }
	.to-sub-row { flex-direction: column; }
	.to-sub-btn-ghost { width: 100%; }

	.to-nav-in {
		flex-wrap: wrap;
		align-items: center;
		gap: 4px 8px;
		min-height: 40px;
		padding: 4px 0 6px;
	}
	.to-logo { flex-shrink: 0; }
	.to-logo img { height: 24px; }
	.to-logo .to-logo-mark { height: 24px; width: 24px; }
	.to-menu { flex: 1 1 auto; gap: 2px; min-width: 0; }
	.to-menu a, .to-menu .is-off { padding: 3px 6px; font-size: 12px; }
	.to-top-meta {
		flex: 1 1 100%;
		width: 100%;
		margin-left: 0;
		gap: 8px;
		justify-content: flex-end;
	}
	.to-fav-nav { margin-right: auto; }
	.to-tz {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: flex-end;
	}
	.to-tz-select {
		width: 100%;
		max-width: none;
		min-width: 0;
	}
	.to-clock, .to-lang-name { display: none; }
	.to-fav-nav span { font-size: 12px; }
	.to-lang-pop { width: min(292px, calc(100vw - 16px)); right: -4px; }
	.to-sp {
		width: 100%;
		max-width: 100%;
		height: 100vh;
		max-height: 100vh;
		top: 0;
		left: 0;
		transform: none;
		border-radius: 0;
	}
	.to-sp-box { max-height: 100vh; height: 100%; }
	.to-sp-sport span { display: none; }

	.to-hero {
		background:
			linear-gradient(180deg, rgba(6,8,10,.9) 0%, rgba(6,8,10,.72) 55%, rgba(6,8,10,.55) 100%),
			url('../images/home-hero.jpg') 72% center / cover no-repeat #0b1220;
	}
	.to-hero-in { padding: 12px 0 12px; }
	.to-hero h1 { font-size: 26px; max-width: none; }
	.to-hero p { margin-top: 6px; font-size: 13px; line-height: 1.35; }

	.to-filters { background: rgba(6, 8, 10, .55); }
	.to-filters-in {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 8px;
		min-height: 0;
		padding: 8px 0 10px;
	}
	.to-days, .to-markets {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 6px;
	}
	.to-days::-webkit-scrollbar,
	.to-markets::-webkit-scrollbar { display: none; }
	.to-days a, .to-markets a {
		flex: 0 0 auto;
		padding: 6px 10px;
		font-size: 11px;
	}

	.to-section { padding: 18px 0; }
	.to-head-leagues { gap: 8px; margin-bottom: 12px; }
	.to-head h2 { font-size: 16px; }
	.to-head a { font-size: 12px; }
}
/* BetExplorer-style home: left countries, right matches */
.to-home-be .to-be-section { padding-top: 18px; }
.to-home-be .to-be-layout {
	display: grid !important;
	grid-template-columns: 240px minmax(0, 1fr);
	grid-template-areas: "aside main";
	gap: 18px;
	align-items: start;
}
.to-home-be .to-be-aside {
	grid-area: aside;
	background: #fff;
	border: 1px solid var(--to-line);
	border-radius: 8px;
	overflow: visible;
	position: static;
	max-height: none;
	min-width: 0;
}
.to-home-be .to-be-aside-h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: #1e3a5f;
	color: #fff;
	padding: 10px 12px;
	font-size: 13px;
}
.to-home-be .to-be-aside-toggle {
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
}
.to-home-be .to-be-countries,
.to-home-be .to-be-leagues,
.to-home-be .to-be-countries > li,
.to-home-be .to-be-leagues > li {
	list-style: none !important;
	margin: 0;
	padding: 0;
}
.to-home-be .to-be-countries {
	overflow: visible;
	padding: 6px 0;
}
.to-home-be .to-be-country,
.to-home-be .to-be-league {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 8px;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 7px 12px;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	color: #1d4ed8;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
	box-shadow: none;
}
.to-home-be .to-be-country img {
	width: 16px;
	height: 12px;
	object-fit: cover;
	flex-shrink: 0;
}
.to-home-be .to-be-country span,
.to-home-be .to-be-league span { flex: 1; min-width: 0; }
.to-home-be .to-be-country em,
.to-home-be .to-be-league em {
	font-style: normal;
	color: #9ca3af;
	font-size: 11px;
	flex-shrink: 0;
}
.to-home-be .to-be-country:hover,
.to-home-be .to-be-league:hover,
.to-home-be .to-be-country.is-on { background: #eff6ff; }
.to-home-be .to-be-leagues {
	display: none;
	padding: 0 0 4px 18px;
}
.to-home-be .to-be-country-block.is-open > .to-be-leagues { display: block; }
.to-home-be .to-be-league {
	color: #374151;
	font-size: 12px;
	padding: 5px 10px;
}
.to-home-be .to-be-main { grid-area: main; min-width: 0; }
.to-home-be .to-be-title {
	color: var(--to-brown);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 12px;
}
.to-home-be .to-be-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-bottom: 1px solid var(--to-line);
	padding-bottom: 8px;
	margin-bottom: 10px;
}
.to-home-be .to-be-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.to-home-be .to-be-tabs button {
	border: 0;
	background: transparent;
	padding: 8px 12px;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #6b7280;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	appearance: none;
	-webkit-appearance: none;
}
.to-home-be .to-be-tabs button.is-on {
	color: var(--to-brown);
	border-bottom-color: var(--to-brown);
}
.to-home-be .to-be-tabs i {
	display: inline-block;
	margin-left: 6px;
	min-width: 18px;
	padding: 1px 5px;
	border-radius: 999px;
	background: var(--to-brown-soft);
	color: #fff;
	font-style: normal;
	font-size: 10px;
	text-align: center;
}
.to-home-be .to-be-tools {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.to-home-be .to-be-market {
	border: 1px solid var(--to-line);
	border-radius: 6px;
	padding: 6px 8px;
	font: inherit;
	font-size: 13px;
	background: #fff;
}
.to-home-be .to-be-date {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border: 1px solid var(--to-line);
	border-radius: 6px;
	background: #fff;
	padding: 2px 4px;
}
.to-home-be .to-be-date-nav {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #374151;
	font-size: 18px;
}
.to-home-be .to-be-date-label {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 6px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.to-home-be .to-be-date-label input[type="date"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}
.to-home-be .to-be-odds-h {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 72px 72px 72px;
	gap: 8px;
	padding: 0 8px 6px 8px;
	color: #9ca3af;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}
.to-home-be .to-be-odds-h > span:nth-child(3),
.to-home-be .to-be-odds-h > span:nth-child(4),
.to-home-be .to-be-odds-h > span:nth-child(5) {
	border: 1px solid transparent;
}
.to-home-be .to-be-group {
	background: #fff;
	border: 1px solid var(--to-line);
	border-radius: 8px;
	margin-bottom: 10px;
	overflow: hidden;
}
.to-home-be .to-be-group.is-collapsed .to-be-rows { display: none; }
.to-home-be .to-be-group-h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: #fff8e7;
	padding: 8px 12px;
	border-bottom: 1px solid #f3e7c7;
}
.to-home-be .to-be-group-h a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #b45309;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	text-transform: uppercase;
}
.to-home-be .to-be-collapse {
	border: 0;
	background: transparent;
	cursor: pointer;
	color: #9ca3af;
	appearance: none;
	-webkit-appearance: none;
}
.to-home-be .to-be-row {
	display: grid !important;
	grid-template-columns: 64px minmax(0, 1fr) 72px 72px 72px;
	gap: 8px;
	align-items: center;
	padding: 8px;
	border-bottom: 1px solid #f3f4f6;
}
.to-home-be .to-be-row:last-child { border-bottom: 0; }
.to-home-be .to-be-time {
	font-size: 12px;
	color: #6b7280;
	text-align: center;
}
.to-home-be .to-be-fixture {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	width: 100%;
	overflow: hidden;
}
.to-home-be .to-be-home,
.to-home-be .to-be-away {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.to-home-be .to-be-home {
	flex-direction: row-reverse;
	justify-content: flex-start;
	text-align: right;
}
.to-home-be .to-be-away { justify-content: flex-start; text-align: left; }
.to-home-be .to-be-home b,
.to-home-be .to-be-away b {
	font-size: 13px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}
.to-home-be .to-be-home img,
.to-home-be .to-be-away img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex-shrink: 0;
}
.to-home-be .to-be-score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	text-align: center;
	font-weight: 700;
	font-size: 13px;
	color: #111827;
	min-width: 0;
}
.to-home-be .to-be-gh,
.to-home-be .to-be-ga {
	font-style: normal;
	font-weight: 700;
}
.to-home-be .to-be-gs {
	font-style: normal;
	font-weight: 700;
	color: #6b7280;
}
.to-home-be .to-be-odds {
	border: 1px solid var(--to-line);
	border-radius: 4px;
	min-height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
	background: #fff;
}
.to-home-be .to-be-odds.is-win {
	background: #bbf7d0;
	border-color: #86efac;
}
.to-home-be .to-be-group[hidden],
.to-home-be .to-be-row[hidden] { display: none !important; }

@media (max-width: 900px) {
	.to-home-be .to-be-layout {
		grid-template-columns: 1fr;
		grid-template-areas: "main" "aside";
	}
	.to-home-be .to-be-aside {
		position: static;
		max-height: none;
		overflow: visible;
	}
	.to-home-be .to-be-aside.is-collapsed .to-be-countries { display: none; }
	.to-home-be .to-be-title { font-size: 22px; }
	.to-home-be .to-be-odds-h,
	.to-home-be .to-be-row {
		grid-template-columns: 40px minmax(0, 1fr) 46px 46px 46px !important;
		gap: 3px;
		padding: 8px 6px;
	}
	.to-home-be .to-be-time {
		font-size: 11px;
		line-height: 1.2;
	}
	.to-home-be .to-be-fixture {
		grid-template-columns: minmax(0, 1fr) 16px !important;
		grid-template-rows: auto auto;
		gap: 3px 8px;
	}
	.to-home-be .to-be-fixture:has(.to-be-score.is-empty) {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.to-home-be .to-be-home {
		grid-column: 1;
		grid-row: 1;
		flex-direction: row;
		justify-content: flex-start;
		text-align: left;
	}
	.to-home-be .to-be-away {
		grid-column: 1;
		grid-row: 2;
		justify-content: flex-start;
		text-align: left;
	}
	.to-home-be .to-be-score { display: contents; }
	.to-home-be .to-be-score.is-empty { display: none !important; }
	.to-home-be .to-be-gh {
		grid-column: 2;
		grid-row: 1;
		align-self: center;
		text-align: center;
		font-size: 13px;
	}
	.to-home-be .to-be-ga {
		grid-column: 2;
		grid-row: 2;
		align-self: center;
		text-align: center;
		font-size: 13px;
	}
	.to-home-be .to-be-gs { display: none !important; }
	.to-home-be .to-be-home b,
	.to-home-be .to-be-away b { font-size: 12px; font-weight: 600; }
	.to-home-be .to-be-odds {
		min-height: 30px;
		font-size: 12px;
		border-radius: 2px;
	}
}
