/* MatchedPro custom styles on top of Tailwind */
[x-cloak] { display: none !important; }

.lead { font-size: 1.1rem; color: #cbd5e1; }
.prose-mp h3 { font-size: 1.25rem; font-weight: 700; color: #fbbf24; margin-top: 1.25rem; margin-bottom: .5rem; }
.prose-mp h4 { font-size: 1.05rem; font-weight: 700; color: #34d399; margin-top: 1rem; margin-bottom: .25rem; }
.prose-mp p { margin-bottom: .75rem; line-height: 1.6; }
.prose-mp ul, .prose-mp ol { margin-bottom: .75rem; }
.prose-mp pre { font-size: .85rem; overflow-x: auto; }
.prose-mp a { color: #34d399; text-decoration: underline; }
.prose-mp strong { color: #fde68a; }

.blur-paywall { filter: blur(6px); user-select: none; pointer-events: none; }
.calc-input {
	color: #f8fafc;
	background: #020617;
	border: 1px solid #334155;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.calc-input:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.calc-input-back {
	border-color: #7dd3fc;
	background: rgba(14, 116, 144, 0.12);
}

.calc-input-back:focus {
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.calc-input-lay {
	border-color: #86efac;
	background: rgba(20, 83, 45, 0.18);
}

.calc-input-lay:focus {
	border-color: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.calc-input-neutral {
	border-color: #64748b;
	background: rgba(15, 23, 42, 0.92);
}

.calc-input-neutral:focus {
	border-color: #94a3b8;
	box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

.calc-result-card {
	border-radius: 0.75rem;
	border: 1px solid #1e293b;
	padding: 1rem;
	background: rgba(2, 6, 23, 0.72);
}

.calc-result-card-back {
	border-color: rgba(56, 189, 248, 0.32);
	background: linear-gradient(180deg, rgba(14, 116, 144, 0.15), rgba(2, 6, 23, 0.82));
}

.calc-result-card-lay {
	border-color: rgba(34, 197, 94, 0.32);
	background: linear-gradient(180deg, rgba(20, 83, 45, 0.22), rgba(2, 6, 23, 0.82));
}

.calc-result-card-positive {
	border-color: rgba(16, 185, 129, 0.34);
	background: linear-gradient(180deg, rgba(6, 95, 70, 0.24), rgba(2, 6, 23, 0.82));
}

.calc-result-card-neutral {
	border-color: rgba(100, 116, 139, 0.32);
	background: linear-gradient(180deg, rgba(30, 41, 59, 0.28), rgba(2, 6, 23, 0.82));
}

.calc-result-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
	color: #94a3b8;
}

.calc-result {
	margin-top: 0.35rem;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
}

.calc-result-back {
	color: #bae6fd;
}

.calc-result-lay {
	color: #bbf7d0;
}

.calc-result-positive {
	color: #6ee7b7;
}

.calc-result-negative {
	color: #fca5a5;
}

.calc-result-neutral {
	color: #e2e8f0;
}

.nav-menu-details {
	position: relative;
}

.nav-menu-details > summary {
	list-style: none;
}

.nav-menu-details > summary::-webkit-details-marker {
	display: none;
}

.nav-menu-details[open] .nav-menu-panel {
	display: block;
}

.nav-menu-panel {
	display: none;
}

.nav-menu-link {
	display: block;
	border-radius: 1rem;
	padding: 0.75rem 0.9rem;
	color: #cbd5e1;
	transition: background-color .2s ease, color .2s ease;
}

.nav-menu-link:hover {
	background: rgba(30, 41, 59, 0.9);
	color: #f8fafc;
}

.hook-shell {
	position: relative;
	overflow: hidden;
	border-radius: 1.75rem;
	border: 1px solid rgba(148, 163, 184, 0.18);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.85));
	box-shadow: 0 24px 60px rgba(2, 6, 23, 0.22);
}

.hook-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	padding: 0.8rem 1rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition: all .2s ease;
	border: 1px solid rgba(148, 163, 184, 0.2);
	background: rgba(15, 23, 42, 0.75);
	color: #cbd5e1;
}

.hook-chip.is-active,
.hook-chip:hover {
	border-color: rgba(16, 185, 129, 0.45);
	background: rgba(16, 185, 129, 0.12);
	color: #ecfdf5;
}

.odds-soon-page {
	background:
		linear-gradient(180deg, rgba(2, 6, 23, 1) 0%, rgba(7, 12, 28, 1) 52%, rgba(13, 23, 38, 1) 100%);
	color: #f8fafc;
}

.odds-soon-hero {
	position: relative;
	overflow: hidden;
	min-height: 660px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.odds-soon-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(45, 212, 191, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(45, 212, 191, 0.08) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 78%);
	animation: oddsGridDrift 16s linear infinite;
}

.odds-soon-scan {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, transparent 0%, rgba(16, 185, 129, 0.16) 46%, rgba(56, 189, 248, 0.12) 50%, transparent 58%);
	transform: translateX(-100%);
	animation: oddsScan 5.5s ease-in-out infinite;
}

.odds-live-dot {
	display: inline-block;
	width: 0.65rem;
	height: 0.65rem;
	border-radius: 999px;
	background: #34d399;
	box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
	animation: oddsPulse 1.8s ease-out infinite;
}

.odds-lab {
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid rgba(148, 163, 184, 0.22);
	background: rgba(2, 6, 23, 0.78);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(18px);
	animation: oddsFloat 6s ease-in-out infinite;
}

.odds-lab::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%);
	pointer-events: none;
}

.odds-lab-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.16);
	padding: 1rem 1.15rem;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #cbd5e1;
}

.odds-lab-status {
	border-radius: 999px;
	border: 1px solid rgba(251, 191, 36, 0.35);
	background: rgba(251, 191, 36, 0.12);
	padding: 0.35rem 0.65rem;
	color: #fde68a;
}

.odds-market-board {
	position: relative;
	display: grid;
	gap: 1rem;
	padding: 1.15rem;
}

.odds-market-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-radius: 1.1rem;
	border: 1px solid rgba(148, 163, 184, 0.16);
	padding: 1rem;
	background: rgba(15, 23, 42, 0.86);
}

.odds-market-row.is-back {
	border-color: rgba(56, 189, 248, 0.34);
}

.odds-market-row.is-lay {
	border-color: rgba(52, 211, 153, 0.34);
}

.odds-row-label {
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #94a3b8;
}

.odds-row-name {
	margin-top: 0.25rem;
	font-weight: 800;
	color: #f8fafc;
}

.odds-price {
	font-size: 2rem;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	color: #ecfeff;
}

.odds-route {
	position: relative;
	height: 2rem;
	margin: -0.35rem 1rem;
	border-left: 2px dashed rgba(148, 163, 184, 0.3);
}

.odds-route span {
	position: absolute;
	left: -0.35rem;
	top: 0;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 999px;
	background: #22d3ee;
	box-shadow: 0 0 20px rgba(34, 211, 238, 0.75);
	animation: oddsRoute 1.7s ease-in-out infinite;
}

.odds-gap-meter {
	padding: 0 1.15rem 1.15rem;
}

.odds-gap-fill {
	height: 100%;
	width: 72%;
	border-radius: inherit;
	background: linear-gradient(90deg, #34d399, #22d3ee);
	animation: oddsGap 2.6s ease-in-out infinite;
}

.odds-ticker {
	overflow: hidden;
	border-top: 1px solid rgba(148, 163, 184, 0.14);
	background: rgba(15, 23, 42, 0.92);
	padding: 0.85rem 0;
}

.odds-ticker-track {
	display: flex;
	width: max-content;
	gap: 2rem;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #a7f3d0;
	animation: oddsTicker 18s linear infinite;
}

.odds-ticker-track span {
	white-space: nowrap;
}

.odds-soon-step {
	border-radius: 1.25rem;
	border: 1px solid rgba(148, 163, 184, 0.18);
	background: rgba(15, 23, 42, 0.72);
	padding: 1.25rem;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
	animation: oddsStepIn .7s ease both;
	animation-delay: var(--delay, 0ms);
}

.odds-soon-step h2 {
	margin-top: 0.75rem;
	font-size: 1.2rem;
	font-weight: 900;
	color: #fff;
}

.odds-soon-step p {
	margin-top: 0.5rem;
	line-height: 1.6;
	color: #cbd5e1;
}

.odds-step-number {
	font-size: 0.76rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: #67e8f9;
}

@keyframes oddsGridDrift {
	from { background-position: 0 0, 0 0; }
	to { background-position: 44px 88px, 44px 88px; }
}

@keyframes oddsScan {
	0%, 12% { transform: translateX(-100%); opacity: 0; }
	32% { opacity: 1; }
	58%, 100% { transform: translateX(100%); opacity: 0; }
}

@keyframes oddsPulse {
	0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
	80%, 100% { box-shadow: 0 0 0 14px rgba(52, 211, 153, 0); }
}

@keyframes oddsFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@keyframes oddsRoute {
	0% { transform: translateY(0); opacity: 0; }
	20% { opacity: 1; }
	100% { transform: translateY(2rem); opacity: 0; }
}

@keyframes oddsGap {
	0%, 100% { width: 62%; }
	50% { width: 78%; }
}

@keyframes oddsTicker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@keyframes oddsStepIn {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.odds-soon-grid,
	.odds-soon-scan,
	.odds-live-dot,
	.odds-lab,
	.odds-route span,
	.odds-gap-fill,
	.odds-ticker-track,
	.odds-soon-step {
		animation: none;
	}
}

.step-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	font-weight: 800;
	background: #111827;
	color: #f8fafc;
}

.calc-page {
	border-radius: 2rem;
	border: 1px solid rgba(203, 213, 225, 0.65);
	background: linear-gradient(180deg, #fffefb 0%, #f7f5ee 100%);
	color: #1f2937;
	box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
}

.calc-ui-header {
	border-radius: 1.5rem;
	background: #2d2a2c;
	color: #fffdf7;
}

.calc-ui-shell {
	border-radius: 1.75rem;
	border: 1px solid rgba(203, 213, 225, 0.9);
	background: #fffdf8;
	color: #1f2937;
}

.calc-ui-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.calc-ui-panel {
	border-radius: 1.5rem;
	padding: 1.25rem;
	border: 1px solid rgba(148, 163, 184, 0.42);
}

.calc-ui-panel-back {
	background: #cfe6fb;
	border-color: #9cc7eb;
}

.calc-ui-panel-lay {
	background: #f8d4de;
	border-color: #e8adbb;
}

.calc-ui-panel-neutral {
	background: #f5f1e8;
	border-color: #ddd4c1;
}

.calc-ui-title {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #475569;
}

.calc-ui-big {
	font-size: 2rem;
	line-height: 1;
	font-weight: 900;
	color: #0f172a;
	font-variant-numeric: tabular-nums;
}

.calc-ui-label {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #334155;
}

.calc-ui-shell form[data-calc] {
	background: transparent;
}

.calc-ui-shell form[data-calc] label {
	display: block;
	padding: 1rem;
	border-radius: 1.25rem;
	background: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(148, 163, 184, 0.28);
	color: #1e293b !important;
}

.calc-ui-shell form[data-calc] label:has(.calc-input-back),
.calc-ui-shell form[data-calc] label:has(select[name*="back"]),
.calc-ui-shell form[data-calc] label:has(input[name*="back"]) {
	background: rgba(207, 230, 251, 0.78);
	border-color: rgba(156, 199, 235, 0.9);
}

.calc-ui-shell form[data-calc] label:has(.calc-input-lay),
.calc-ui-shell form[data-calc] label:has(select[name*="lay"]),
.calc-ui-shell form[data-calc] label:has(input[name*="lay"]),
.calc-ui-shell form[data-calc] label:has(input[name*="commission"]),
.calc-ui-shell form[data-calc] label:has(select[name*="refundType"]),
.calc-ui-shell form[data-calc] label:has(select[name*="bonusType"]),
.calc-ui-shell form[data-calc] label:has(select[name*="insuranceType"]) {
	background: rgba(248, 212, 222, 0.82);
	border-color: rgba(232, 173, 187, 0.92);
}

.calc-ui-shell .calc-input,
.calc-ui-shell select,
.calc-ui-shell textarea {
	margin-top: 0.6rem;
	min-height: 3rem;
	border-radius: 9999px !important;
	border: 2px solid rgba(148, 163, 184, 0.45) !important;
	background: #ffffff !important;
	color: #0f172a !important;
	padding: 0.75rem 1rem !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.calc-ui-shell .calc-input:focus,
.calc-ui-shell select:focus,
.calc-ui-shell textarea:focus {
	outline: none;
	border-color: rgba(15, 23, 42, 0.5) !important;
	box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08) !important;
}

.calc-ui-shell button,
.calc-ui-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #303030 !important;
	color: #fffdf8 !important;
	font-weight: 700;
	padding: 0.9rem 1.5rem !important;
	transition: transform .18s ease, opacity .18s ease;
}

.calc-ui-shell button:hover,
.calc-ui-button:hover {
	transform: translateY(-1px);
	opacity: 0.95;
}

.calc-ui-shell [data-results] {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin-top: 1.5rem;
}

.calc-ui-shell .calc-result-card {
	border-radius: 1.25rem;
	padding: 1.1rem;
	border-width: 1px;
	background: rgba(255,255,255,0.7);
	color: #0f172a;
}

.calc-ui-shell .calc-result-card-back {
	background: #cfe6fb;
	border-color: #9cc7eb;
}

.calc-ui-shell .calc-result-card-lay {
	background: #f8d4de;
	border-color: #e8adbb;
}

.calc-ui-shell .calc-result-card-positive,
.calc-ui-shell .calc-result-card-neutral {
	background: #f3efe6;
	border-color: #d8cfbd;
}

.calc-ui-shell .calc-result-label {
	color: #475569;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
}

.calc-ui-shell .calc-result {
	font-size: 1.9rem;
	line-height: 1.1;
	font-weight: 900;
	color: #111827;
}

.calc-ui-shell [data-field="warning"] {
	grid-column: 1 / -1;
	border-radius: 1.25rem;
	border: 1px solid #e7c98c !important;
	background: #fff2cf !important;
	color: #6b4d16;
	padding: 1rem;
}
