.ocw-wrapper {
	--ocw-bg: #ffffff;
	--ocw-surface: #f7f9fc;
	--ocw-surface-strong: #eef3f8;
	--ocw-border: #d7e0ea;
	--ocw-text: #16202a;
	--ocw-muted: #64748b;
	--ocw-best-bg: #ecfdf3;
	--ocw-best-border: #1f9d55;
	--ocw-accent: #1f9d55;
	--ocw-shadow: 0 16px 42px rgba(20, 32, 48, 0.08);
	background: linear-gradient(180deg, #fcfdff 0%, #f4f8fb 100%);
	border: 1px solid var(--ocw-border);
	border-radius: 22px;
	box-shadow: var(--ocw-shadow);
	color: var(--ocw-text);
	margin: 1.5rem 0;
	overflow: hidden;
}

.ocw-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem 0.75rem;
}

.ocw-kicker {
	color: var(--ocw-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 0.35rem;
	text-transform: uppercase;
}

.ocw-title {
	font-size: 1.3rem;
	line-height: 1.2;
	margin: 0;
}

.ocw-time {
	background: var(--ocw-surface);
	border: 1px solid var(--ocw-border);
	border-radius: 999px;
	color: var(--ocw-muted);
	font-size: 0.88rem;
	font-weight: 600;
	padding: 0.6rem 0.85rem;
	white-space: nowrap;
}

.ocw-table-scroll {
	overflow-x: auto;
	padding: 0.75rem 1rem 1rem;
	scrollbar-color: #b8c6d6 transparent;
}

.ocw-table-scroll:focus {
	outline: 2px solid #8bb7ff;
	outline-offset: -2px;
}

.ocw-grid {
	display: grid;
	gap: 0.8rem;
	grid-template-columns: minmax(130px, 1.05fr) repeat(calc(var(--ocw-columns) - 1), minmax(132px, 1fr));
	min-width: max-content;
}

.ocw-cell {
	align-items: center;
	background: var(--ocw-bg);
	border: 1px solid var(--ocw-border);
	border-radius: 18px;
	display: flex;
	justify-content: center;
	min-height: 84px;
	padding: 0.9rem;
	position: relative;
	text-align: center;
}

.ocw-cell-head {
	background: linear-gradient(180deg, #f9fbfe 0%, #eef4fa 100%);
	min-height: 96px;
}

.ocw-cell-label {
	align-items: flex-start;
	background: transparent;
	border-color: transparent;
	flex-direction: column;
	justify-content: center;
	padding-left: 0.2rem;
	text-align: left;
}

.ocw-outcome-title {
	font-size: 1rem;
	font-weight: 700;
}

.ocw-outcome-subtitle {
	color: var(--ocw-muted);
	font-size: 0.85rem;
	margin-top: 0.2rem;
}

.ocw-bookmaker-head {
	flex-direction: column;
	gap: 0.7rem;
}

.ocw-bookmaker-logo {
	display: block;
	height: 28px;
	max-width: 96px;
	object-fit: contain;
}

.ocw-bookmaker-name {
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.2;
}

.ocw-odds-cell {
	background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
	cursor: default;
	font-weight: 800;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ocw-odds-cell:hover {
	border-color: #b7c7d9;
	box-shadow: 0 10px 22px rgba(22, 32, 42, 0.08);
	transform: translateY(-1px);
}

.ocw-odds-cell.is-best {
	background: linear-gradient(180deg, #f3fff8 0%, var(--ocw-best-bg) 100%);
	border-color: var(--ocw-best-border);
	box-shadow: inset 0 0 0 1px rgba(31, 157, 85, 0.14);
}

.ocw-odds-cell.is-best::after {
	background: var(--ocw-accent);
	border-radius: 999px;
	color: #ffffff;
	content: "Best";
	font-size: 0.68rem;
	font-weight: 700;
	padding: 0.18rem 0.42rem;
	position: absolute;
	right: 0.5rem;
	top: 0.45rem;
}

.ocw-odds-value {
	font-size: 1.18rem;
	letter-spacing: -0.02em;
}

.ocw-placeholder {
	color: #9aa9b7;
	font-size: 1.1rem;
	font-weight: 700;
}

.ocw-notice {
	background: #f8fafc;
	border: 1px solid #dbe4ee;
	border-radius: 14px;
	color: #334155;
	margin: 1rem 0;
	padding: 1rem 1.1rem;
}

.ocw-notice-error {
	background: #fff7f7;
	border-color: #f0c8c8;
}

.ocw-notice-warning {
	background: #fffaf0;
	border-color: #f2ddb1;
}

@media (max-width: 782px) {
	.ocw-wrapper {
		border-radius: 18px;
	}

	.ocw-header {
		align-items: flex-start;
		flex-direction: column;
		padding: 1rem 1rem 0.35rem;
	}

	.ocw-table-scroll {
		padding: 0.75rem 0.8rem 0.9rem;
	}

	.ocw-grid {
		gap: 0.65rem;
		grid-template-columns: minmax(115px, 0.95fr) repeat(calc(var(--ocw-columns) - 1), minmax(120px, 1fr));
	}

	.ocw-cell,
	.ocw-cell-head {
		min-height: 76px;
		padding: 0.75rem;
	}

	.ocw-bookmaker-name {
		font-size: 0.84rem;
	}

	.ocw-odds-value {
		font-size: 1.05rem;
	}
}
