/* ============================================================================
   SportzClaus Match Predictions — front-end (Bold Broadcast)
   Uses the theme's design tokens; per-card team colours via --t1 / --t2.
   Strictly adheres to the Sharp Corners Policy (border-radius: 0px).
   ============================================================================ */

.szp-main { max-width: 1100px; margin: 0 auto; padding: 28px var(--space-5, 20px) 60px; }
.szp-wrap { width: 100%; }
.szp-breadcrumb { font-family: var(--font-score, monospace); font-size: 12px; color: var(--ink-3, #6a7291); margin: 0 0 20px; }
.szp-breadcrumb a { color: var(--brand-text, #0B7A43); text-decoration: none; }
.szp-breadcrumb span { opacity: .6; }

/* ---- Shared bits ---- */
.szp-tag {
	display: inline-block; font-family: var(--font-headline, sans-serif); font-weight: 800;
	font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #fff;
	background: var(--grad-brand, linear-gradient(135deg,#1B54FF,#7A2BFF));
	padding: 5px 11px; border-radius: var(--radius-lg, 12px); line-height: 1; /* Sharp corners policy */
}
.szp-format {
	display: inline-block; font-family: var(--font-headline, sans-serif); font-weight: 800;
	font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
	color: var(--brand-text, #0B7A43); background: color-mix(in srgb, var(--brand, #1B54FF) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--brand, #1B54FF) 30%, transparent);
	padding: 4px 10px; border-radius: var(--radius-lg, 12px); line-height: 1; /* Sharp corners policy */
}
.szp-section-kicker {
	display: block; font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 11px;
	letter-spacing: .14em; text-transform: uppercase; color: var(--accent, #FF1D3D); margin-bottom: 4px;
}

/* ---- Team crest ---- */
.szp-logo {
	display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
	background: #fff; border: 1px solid var(--rule, rgba(12,22,64,.1)); overflow: hidden;
	box-shadow: 0 4px 12px rgba(10,16,36,.06);
	border-radius: var(--radius-lg, 12px); /* Sharp corners policy */
}
.szp-logo img { width: 100%; height: 100%; object-fit: contain; padding: 14%; box-sizing: border-box; }
.szp-logo-sm { width: 40px; height: 40px; }
.szp-logo-md { width: 60px; height: 60px; }
.szp-logo-lg { width: 104px; height: 104px; }
.szp-logo-fallback {
	background: var(--team-color, #1B54FF) !important; color: #fff; border-color: transparent !important;
	font-family: var(--font-display, sans-serif); font-weight: 800; letter-spacing: .02em;
	box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--team-color, #1B54FF) 60%, transparent);
	border-radius: var(--radius-lg, 12px); /* Sharp corners policy */
}
.szp-logo-sm.szp-logo-fallback { font-size: 13px; }
.szp-logo-md.szp-logo-fallback { font-size: 19px; }
.szp-logo-lg.szp-logo-fallback { font-size: 34px; }

/* ============================================================================
   LISTING CARDS
   ============================================================================ */
.szp-grid-cards { display: grid; gap: 22px; position: relative; z-index: 1; }
.szp-cols-2 { grid-template-columns: repeat(2, 1fr); }
.szp-cols-3 { grid-template-columns: repeat(3, 1fr); }
.szp-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .szp-cols-3, .szp-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .szp-grid-cards { grid-template-columns: 1fr !important; } }

/* ---- Prediction card — premium light/dark glassmorphic with sharp corners.
   Teams stack vertically; countdown is a fixed 4-column grid so nothing
   shifts as the numbers tick; the button is pinned to the bottom. ---- */
.szp-pcard {
	position: relative; display: flex; flex-direction: column; gap: 18px; height: 100%; box-sizing: border-box;
	background: var(--paper);
	border: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
	border-radius: var(--radius-lg, 12px); /* Sharp corners policy */
	padding: 22px 20px; color: var(--ink); overflow: hidden;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.15), var(--shadow-card);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
	            box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
	            border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.szp-pcard::before { /* team-colour ribbon */
	content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
	background: linear-gradient(90deg, var(--t1, #1B54FF), var(--t2, #FF1D3D));
}
.szp-pcard::after { /* soft dynamic team glow */
	content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .4;
	background:
		radial-gradient(350px at -10% -10%, color-mix(in srgb, var(--t1, #1B54FF) 24%, transparent), transparent 70%),
		radial-gradient(350px at 110% 110%, color-mix(in srgb, var(--t2, #FF1D3D) 16%, transparent), transparent 70%);
}
.szp-pcard > * { position: relative; z-index: 1; }
.szp-pcard:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 20px 40px -15px color-mix(in srgb, var(--t1, #1B54FF) 20%, transparent), 
	            0 0 0 1px var(--t1, #1B54FF),
	            var(--shadow-hover);
	border-color: var(--t1, #1B54FF);
	background: color-mix(in srgb, var(--paper) 85%, transparent);
}
.szp-pcard .szp-logo { background: #fff; border-color: var(--rule); box-shadow: 0 2px 8px rgba(0,0,0,0.03); }

/* Masthead */
.szp-pcard-top { display: flex; align-items: center; gap: 8px; }
.szp-ptag {
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 10px; letter-spacing: .06em;
	text-transform: uppercase; color: var(--ink); line-height: 1.25;
	background: color-mix(in srgb, var(--brand, #1B54FF) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--brand, #1B54FF) 25%, transparent);
	padding: 5px 11px; border-radius: var(--radius-lg, 12px); /* Sharp corners policy */
}
.szp-pfmt {
	margin-left: auto; flex-shrink: 0; font-family: var(--font-score, monospace); font-size: 10px; font-weight: 700;
	letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2);
	border: 1px solid var(--rule); border-radius: var(--radius-lg, 12px); padding: 4px 10px; /* Sharp corners policy */
	background: color-mix(in srgb, var(--ink) 4%, transparent);
}

/* Horizontal team matchup */
.szp-pmatch-horizontal { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; }
.szp-pteam-col { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.szp-pteam-left { justify-content: flex-start; text-align: left; }
.szp-pteam-right { justify-content: flex-end; text-align: right; }
.szp-pteam-name { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 15px; line-height: 1.15; color: var(--ink); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.szp-pvs-badge { flex-shrink: 0; font-family: var(--font-display, sans-serif); font-size: 11px; font-weight: 700; color: var(--brand-text, #0B7A43); background: color-mix(in srgb, var(--brand, #1B54FF) 6%, transparent); border: 1px solid var(--rule); padding: 3px 7px; border-radius: var(--radius-lg, 12px); }

/* Landscape Card Footer (Countdown on left, predict button on right) */
.szp-pcard-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); }
.szp-pcount-compact { display: flex; align-items: center; gap: 8px; }
.szp-pcount-label-compact { font-family: var(--font-score, monospace); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.szp-pcount-clock-compact { display: flex; gap: 6px; font-family: var(--font-score, monospace); font-size: 12px; color: var(--ink); }
.szp-pcount-unit { display: inline-flex; align-items: baseline; gap: 1px; }
.szp-pcount-unit b { font-family: var(--font-display, sans-serif); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.szp-pcount-live-compact { font-family: var(--font-headline, sans-serif); font-weight: 800; color: var(--accent, #FF1D3D); letter-spacing: .04em; font-size: 11px; }
.szp-pcount-compact.is-live .szp-pcount-clock-compact, .szp-pcount-compact.is-live .szp-pcount-label-compact { display: none; }
.szp-pcount-compact:not(.is-live) .szp-pcount-live-compact { display: none; }
/* Completed state (auto after the match ends, or when scores are entered) */
.szp-pcount-done-compact { font-family: var(--font-headline, sans-serif); font-weight: 800; color: var(--ink-3); letter-spacing: .04em; font-size: 11px; text-transform: uppercase; }
.szp-pcount-compact:not(.is-completed) .szp-pcount-done-compact { display: none; }
.szp-pcount-compact.is-completed .szp-pcount-clock-compact,
.szp-pcount-compact.is-completed .szp-pcount-label-compact,
.szp-pcount-compact.is-completed .szp-pcount-live-compact { display: none; }

/* Compact Button (theme gradient with sharp corners) */
.szp-pbtn-compact {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0;
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
	color: #fff; background: var(--grad-brand, linear-gradient(135deg, #1B54FF, #7A2BFF)); border: none;
	border-radius: var(--radius-lg, 12px); padding: 10px 18px; text-decoration: none; /* Sharp corners policy */
	box-shadow: 0 8px 16px -6px var(--brand-glow, rgba(27,84,255,.4)), inset 0 1px 0 rgba(255,255,255,.2);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.szp-pbtn-compact,
.szp-pbtn-compact:hover,
.szp-pbtn-compact:focus,
.szp-pbtn-compact:active {
	color: #ffffff !important;
	text-decoration: none !important;
}
.szp-pbtn-compact:hover { transform: translateY(-2px); box-shadow: 0 12px 20px -6px var(--brand-glow, rgba(27,84,255,.4)), inset 0 1px 0 rgba(255,255,255,.25); filter: brightness(1.06); }
.szp-pbtn-compact:active { transform: translateY(0); filter: brightness(0.92); }
.szp-pbtn-compact .arrow { font-size: 13px; }

.szp-empty { grid-column: 1 / -1; color: var(--ink-3, #6a7291); text-align: center; padding: 40px; }

/* ============================================================================
   SINGLE PREDICTION — scoreboard hero + analysis column + quick-facts rail
   ============================================================================ */
.szx { --railw: 350px; }
.szx-kicker {
	display: block; font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 11px;
	letter-spacing: .14em; text-transform: uppercase; color: var(--accent, #FF1D3D); margin-bottom: 12px;
}

/* Scoreboard hero */
.szx-board {
	position: relative; overflow: hidden; border-radius: var(--radius-lg, 18px); padding: clamp(24px, 4vw, 44px);
	background: var(--grad-ink, linear-gradient(135deg, #0A1024, #1E2A5A)); color: #fff; margin-bottom: 20px; text-align: center;
}
.szx-board::before {
	content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .85;
	background:
		radial-gradient(520px 320px at 0% 0%, color-mix(in srgb, var(--t1, #1B54FF) 55%, transparent), transparent 60%),
		radial-gradient(520px 320px at 100% 100%, color-mix(in srgb, var(--t2, #FF1D3D) 45%, transparent), transparent 60%);
}
.szx-board > * { position: relative; z-index: 1; }
.szx-board-badges { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.szx-b-tag { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--grad-brand, linear-gradient(135deg,#1B54FF,#7A2BFF)); padding: 6px 12px; border-radius: 999px; }
.szx-b-fmt { font-family: var(--font-score, monospace); font-weight: 700; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.3); padding: 5px 11px; border-radius: 999px; }
.szx-b-live { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 11px; letter-spacing: .06em; color: #fff; background: var(--accent, #FF1D3D); padding: 6px 12px; border-radius: 999px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, #FF1D3D) 30%, transparent); }
.szx-b-done { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 11px; letter-spacing: .06em; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; border-radius: 999px; }

.szx-board-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: clamp(12px, 4vw, 48px); max-width: 900px; margin: 0 auto 20px; }
.szx-board-team { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; max-width: 100%; }
.szx-board-team .szp-logo { background: #fff; max-width: 100%; }
.szx-board-name { font-family: var(--font-display, sans-serif); font-size: clamp(18px, 3vw, 28px); line-height: 1.02; text-transform: uppercase; color: #fff; }
.szx-board-score { font-family: var(--font-display, sans-serif); font-size: clamp(18px, 2.6vw, 24px); color: #FFD76A; }
.szx-board-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 10px; min-width: 150px; }
.szx-board-startsin, .szx-board-final { font-family: var(--font-score, monospace); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.szx-board-vs { font-family: var(--font-display, sans-serif); font-size: clamp(16px, 2.4vw, 22px); color: rgba(255,255,255,.5); }
.szx-count .szp-pcount-unit b { font-family: var(--font-display, sans-serif); font-size: clamp(22px, 3vw, 32px); color: #fff; font-variant-numeric: tabular-nums; }
.szx-count .szp-pcount-unit { color: rgba(255,255,255,.65); font-family: var(--font-score, monospace); font-size: 12px; display: inline-flex; align-items: baseline; gap: 2px; }
.szx-count .szp-pcount-clock-compact { display: flex; gap: 10px; }
.szx-count .szp-pcount-live-compact { font-size: 18px; }
.szx-count .szp-pcount-done-compact { color: rgba(255,255,255,.8); }
.szx-board-meta { display: flex; justify-content: center; gap: 8px 22px; flex-wrap: wrap; font-family: var(--font-score, monospace); font-size: 12.5px; color: rgba(255,255,255,.78); }

/* Our call */
.szx-call {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 36px);
	background: var(--paper, #fff); border: 1px solid var(--rule, rgba(12,22,64,.1)); border-radius: var(--radius-lg, 18px);
	padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow-card); position: relative; overflow: hidden; margin-bottom: 14px;
}
.szx-call::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--t1, #1B54FF), var(--t2, #FF1D3D)); }
.szx-call .szx-kicker { margin-bottom: 8px; }
.szx-call-pick { display: flex; align-items: center; gap: 14px; }
.szx-call-pick strong { display: block; font-family: var(--font-display, sans-serif); font-size: clamp(20px, 2.6vw, 28px); text-transform: uppercase; line-height: 1; color: var(--ink, #0A1024); }
.szx-call-pick em { font-style: normal; font-size: 12.5px; color: var(--ink-3, #6a7291); }
.szx-tug-heads { display: flex; justify-content: space-between; font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 12.5px; color: var(--ink-2, #2A3352); margin-bottom: 8px; }
.szx-tug-heads b { color: var(--ink, #0A1024); }
.szx-tug { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--recess, #E2E8F6); }
.szx-tug-t1 { background: linear-gradient(90deg, color-mix(in srgb, var(--t1, #1B54FF) 78%, #000), var(--t1, #1B54FF)); }
.szx-tug-t2 { background: linear-gradient(90deg, var(--t2, #FF1D3D), color-mix(in srgb, var(--t2, #FF1D3D) 78%, #000)); }
.szx-tug span { display: block; height: 100%; transition: width .6s ease; }
.szx-toss { margin: 12px 0 0; font-size: 13px; color: var(--ink-2, #2A3352); }
.szx-call-conf { text-align: center; padding: 0 8px; }
.szx-call-conf b { display: block; font-family: var(--font-display, sans-serif); font-size: clamp(34px, 4.6vw, 52px); line-height: 1; color: var(--brand-text, #0B7A43); }
.szx-call-conf b i { font-style: normal; font-size: .55em; }
.szx-call-conf span { font-family: var(--font-score, monospace); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3, #6a7291); }
.szx-reason {
	background: var(--brand-wash, #E8EEFF); border-left: 4px solid var(--brand, #1B54FF);
	border-radius: var(--radius-sm, 8px); padding: 16px 20px; margin-bottom: 22px;
	color: var(--ink-2, #2A3352); line-height: 1.7; font-size: 14.5px;
}
.szx-reason p { margin: 0; }

/* Columns */
.szx-cols { display: grid; grid-template-columns: minmax(0, 1fr) var(--railw); gap: 22px; align-items: start; }
.szx-mainCol { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.szx-rail { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
@media (max-width: 960px) { .szx-cols { grid-template-columns: 1fr; } .szx-rail { position: static; } }

.szx-panel {
	background: var(--paper, #fff); border: 1px solid var(--rule, rgba(12,22,64,.1));
	border-radius: var(--radius-lg, 18px); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-card);
}
.szx-prose { color: var(--ink-2, #2A3352); line-height: 1.75; font-size: 15.5px; }
.szx-prose p { margin: 0 0 14px; }
.szx-prose p:last-child { margin-bottom: 0; }
.szx-quotes { font-style: italic; }

/* Team analysis */
.szx-teams2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .szx-teams2 { grid-template-columns: 1fr; } }
.szx-teamcard { border: 1px solid var(--rule, rgba(12,22,64,.1)); border-top: 4px solid var(--tc, var(--brand, #1B54FF)); border-radius: var(--radius-md, 12px); padding: 16px; background: color-mix(in srgb, var(--tc, #1B54FF) 4%, var(--paper, #fff)); }
.szx-teamcard-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.szx-teamcard-h h3 { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 15.5px; color: var(--ink, #0A1024); margin: 0; }
.szx-teamcard p { font-size: 13.5px; line-height: 1.65; color: var(--ink-2, #2A3352); margin: 0 0 10px; }
.szx-xi summary {
	cursor: pointer; font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 11px;
	letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text, #0B7A43); padding: 6px 0;
}
.szx-xi ol { margin: 8px 0 0; padding-left: 20px; font-size: 13px; line-height: 1.9; color: var(--ink, #0A1024); font-weight: 600; }

/* Key matchups */
.szx-matchups { list-style: none; margin: 0; padding: 0; }
.szx-matchups li { position: relative; padding: 10px 0 10px 26px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2, #2A3352); border-top: 1px solid var(--rule, rgba(12,22,64,.1)); }
.szx-matchups li:first-child { border-top: 0; padding-top: 0; }
.szx-matchups li:first-child::before { top: 2px; }
.szx-matchups li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand, #1B54FF); }

/* Match centre */
.szx-mono-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.szx-mono-grid h4 { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink, #0A1024); margin: 0 0 8px; }
.szx-mono-grid pre {
	margin: 0; font-family: var(--font-score, monospace); font-size: 12.5px; line-height: 1.65; white-space: pre-wrap;
	background: var(--recess, #E2E8F6); border: 1px solid var(--rule, rgba(12,22,64,.1)); border-radius: var(--radius-sm, 8px);
	padding: 14px; color: var(--ink, #0A1024);
}

/* Rail: facts */
.szx-facts dl { margin: 0; display: flex; flex-direction: column; }
.szx-facts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule, rgba(12,22,64,.1)); }
.szx-facts dl div:first-child { border-top: 0; padding-top: 0; }
.szx-facts dt { font-family: var(--font-score, monospace); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3, #6a7291); }
.szx-facts dd { margin: 0; font-family: var(--font-headline, sans-serif); font-weight: 700; font-size: 13px; color: var(--ink, #0A1024); text-align: right; }

/* Rail: h2h */
.szx-h2h-total { margin: 0 0 12px; font-size: 13px; color: var(--ink-3, #6a7291); }
.szx-h2h-total strong { font-family: var(--font-display, sans-serif); font-size: 22px; color: var(--ink, #0A1024); }
.szx-h2h-row { display: flex; align-items: center; gap: 10px; }
.szx-h2h-row b { font-family: var(--font-display, sans-serif); font-size: 20px; color: var(--ink, #0A1024); min-width: 24px; text-align: center; }
.szx-h2h-row .szx-tug { flex: 1; height: 10px; }
.szx-h2h-abbr { display: flex; justify-content: space-between; margin: 6px 4px 0; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3, #6a7291); }
.szx-form { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.szx-form > span { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, #6a7291); }
.szx-form > div { display: flex; gap: 5px; flex-wrap: wrap; }
.szx-dot { font-style: normal; min-width: 28px; height: 28px; padding: 0 5px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 10px; color: #fff; }
.szx-dot-t1 { background: var(--t1, #1B54FF); }
.szx-dot-t2 { background: var(--t2, #FF1D3D); }
.szx-dot-nr { background: var(--ink-4, #A3ABC6); }

/* Rail: poll */
.szx-poll-q { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2, #2A3352); }
.szp-poll-voting { display: flex; gap: 10px; }
.szp-vote-btn {
	flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
	background: var(--canvas, #EEF2FB); border: 1.5px solid var(--rule, rgba(12,22,64,.1)); border-radius: var(--radius-md, 12px);
	padding: 12px; font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 13px; color: var(--ink, #0A1024);
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.szp-vote-btn:hover { border-color: var(--brand-text, #0B7A43); transform: translateY(-2px); box-shadow: 0 8px 16px -10px var(--brand-glow, rgba(27,84,255,.5)); }
.szp-poll-results { display: none; }
.szx-poll-heads { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 12.5px; margin-bottom: 8px; }
.szx-poll-total { font-size: 10.5px; font-weight: 700; color: var(--ink-3, #6a7291); text-transform: lowercase; }

/* Rail: stats */
.szx-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.szx-stat {
	background: linear-gradient(135deg, color-mix(in srgb, var(--brand, #1B54FF) 6%, var(--paper, #fff)), var(--paper, #fff));
	border: 1px solid var(--rule, rgba(12,22,64,.1)); border-left: 3px solid var(--brand, #1B54FF);
	border-radius: var(--radius-sm, 8px); padding: 10px 12px;
}
.szx-stat b { display: block; font-family: var(--font-display, sans-serif); font-size: 18px; line-height: 1.1; color: var(--ink, #0A1024); }
.szx-stat span { font-size: 11px; color: var(--ink-3, #6a7291); font-weight: 600; }

/* More predictions + footer note */
.szx-more { margin-top: 34px; }
.szx-more-head { margin-bottom: 16px; }
.szx-more-head .szx-kicker { margin-bottom: 4px; }
.szx-more-head h2 { font-family: var(--font-display, sans-serif); font-size: clamp(20px, 3vw, 28px); text-transform: uppercase; color: var(--ink, #0A1024); margin: 0; }
.szx-foot { text-align: center; font-size: 12px; color: var(--ink-4, #a3abc6); font-style: italic; margin: 30px 0 0; }

@media (max-width: 640px) {
	/* Scoreboard hero: shrink crests + middle so the flags always fit the card */
	.szx-board-grid { gap: 10px; }
	.szx-board-mid { min-width: 104px; padding-top: 4px; }
	.szx-board-team .szp-logo-lg { width: 62px; height: 62px; }
	.szx-board-team .szp-logo-lg.szp-logo-fallback { font-size: 20px; }
	.szx-board-name { font-size: 14px; white-space: normal; word-break: break-word; }
	.szx-board-score { font-size: 16px; }
	.szx-count .szp-pcount-clock-compact { gap: 5px; }
	.szx-count .szp-pcount-unit b { font-size: 20px; }
	.szx-board-vs { font-size: 14px; }
	.szx-board-badges { gap: 6px; margin-bottom: 16px; }
	.szx-call { grid-template-columns: 1fr; }
	.szx-call-conf { display: flex; align-items: baseline; gap: 10px; justify-content: flex-start; padding: 0; }
}


/* ============================================================================
   Plugin-local surface token — Bold Broadcast, dark-mode aware.
   (Replaces the old cream "--paper-2"; used by the single-prediction layout.)
   ============================================================================ */
.szp-grid-cards,
.szp-predictions-wrap,
.szp-single { --paper-2: color-mix(in srgb, var(--ink, #0a1024) 5%, var(--paper, #fff)); }

/* ---- Listing card meta line (date / venue) ---- */
.szp-pmeta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: -4px;
	font-family: var(--font-score, ui-monospace, monospace); font-size: 11.5px; color: var(--ink-3, #6a7291);
}
.szp-pmeta-item { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.szp-pmeta-venue { position: relative; padding-left: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.szp-pmeta-venue::before { content: "●"; position: absolute; left: 0; font-size: 8px; line-height: 1.5; color: var(--brand-text, #0B7A43); }

/* ---- Search + filter + sort bar ---- */
.szp-predictions-wrap { position: relative; }
.szp-filter-bar {
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 12px; align-items: center;
	margin: 0 0 26px; padding: 14px; background: var(--paper, #fff);
	border: 1px solid var(--rule, rgba(12,22,64,.1)); border-radius: var(--radius-lg, 16px);
	box-shadow: var(--shadow-card, 0 8px 24px -16px rgba(10,16,36,.35));
}
.szp-filter-selects { display: contents; }
.szp-filter-search { position: relative; display: flex; align-items: center; }
.szp-filter-ico { position: absolute; left: 14px; display: inline-flex; color: var(--brand-text, #0B7A43); pointer-events: none; }
.szp-filter-search input {
	width: 100%; box-sizing: border-box; font-family: var(--font-headline, inherit); font-size: 14px; font-weight: 600;
	color: var(--ink, #0a1024); background: var(--canvas, #eef2fb);
	border: 1.5px solid var(--rule, rgba(12,22,64,.1)); border-radius: var(--radius-md, 12px);
	padding: 11px 14px 11px 40px; transition: border-color .18s, box-shadow .18s, background .18s;
}
.szp-filter-search input::placeholder { color: var(--ink-3, #6a7291); font-weight: 500; }
.szp-filter-search input:focus {
	outline: none; background: var(--paper, #fff); border-color: var(--brand-text, #0B7A43);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand, #1B54FF) 15%, transparent);
}
.szp-filter-selects select {
	font-family: var(--font-headline, inherit); font-size: 13px; font-weight: 700; color: var(--ink, #0a1024);
	background-color: var(--canvas, #eef2fb); border: 1.5px solid var(--rule, rgba(12,22,64,.1));
	border-radius: var(--radius-md, 12px); padding: 10px 34px 10px 14px; cursor: pointer;
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234C7CFF' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
	transition: border-color .18s, box-shadow .18s;
}
.szp-filter-selects select:focus { outline: none; border-color: var(--brand-text, #0B7A43); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand, #1B54FF) 15%, transparent); }
@media (max-width: 860px) {
	.szp-filter-bar { grid-template-columns: 1fr 1fr; }
	.szp-filter-search { grid-column: 1 / -1; }
	.szp-filter-selects select { width: 100%; box-sizing: border-box; }
}
@media (max-width: 480px) {
	.szp-filter-bar { grid-template-columns: 1fr; }
}

/* ---- Verdict outcome badge (auto-results) ---- */
.szx-outcome {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px;
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 11.5px;
	letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.szx-outcome-ok { color: #0B7A3B; background: color-mix(in srgb, #17B45A 16%, var(--paper, #fff)); border: 1px solid color-mix(in srgb, #17B45A 40%, transparent); }
.szx-outcome-bad { color: var(--accent, #FF1D3D); background: color-mix(in srgb, var(--accent, #FF1D3D) 12%, var(--paper, #fff)); border: 1px solid color-mix(in srgb, var(--accent, #FF1D3D) 35%, transparent); }
html[data-theme="dark"] .szx-outcome-ok, body.dark-mode .szx-outcome-ok { color: #4BE68B; }
.szx-outcome-note { display: block; font-family: var(--font-score, monospace); font-size: 11px; color: var(--ink-3, #6a7291); margin-bottom: 8px; }

/* ---- Add to calendar ---- */
.szx-ics {
	display: inline-flex; align-items: center; gap: 5px; text-decoration: none !important;
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 11px;
	letter-spacing: .05em; text-transform: uppercase; color: #fff !important;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
	padding: 6px 12px; border-radius: 999px; transition: background .18s ease;
}
.szx-ics:hover { background: rgba(255,255,255,.22); }

/* ---- Share row (single rail) ---- */
.szx-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.szx-share-btn {
	flex: 1 1 calc(50% - 4px); text-align: center; cursor: pointer;
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 12px;
	color: #fff !important; text-decoration: none !important; border: none;
	padding: 10px 12px; border-radius: var(--radius-md, 12px);
	transition: transform .18s ease, filter .18s ease;
}
.szx-share-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.szx-sh-wa { background: #1FAF57; }
.szx-sh-x { background: #0F1419; }
.szx-sh-fb { background: #1877F2; }
.szx-sh-copy { background: var(--grad-brand, linear-gradient(135deg, #1B54FF, #7A2BFF)); }

/* ---- Hub record chip ---- */
.pxh-chip-record { border-color: rgba(255,215,106,.45); }
.pxh-chip-record b { color: #FFD76A; }

/* ---- Live scores ---- */
.szp-live-mini { font-family: var(--font-score, monospace); font-weight: 700; font-size: 11px; color: var(--ink, #0A1024); margin-left: 4px; }
.szx-live-score { color: #FFD76A !important; animation: szpLivePulse 2.2s ease-in-out infinite; }
.szx-live-status {
	flex-basis: 100%; text-align: center; font-family: var(--font-headline, sans-serif);
	font-weight: 800; font-size: 12.5px; color: #FF8A9B; letter-spacing: .03em;
}
.pxh-live-line { font-family: var(--font-display, sans-serif); font-size: clamp(20px, 3vw, 30px); color: var(--ink, #0A1024); }
.pxh-live-status { font-family: var(--font-score, monospace); font-size: 12px; color: var(--accent, #FF1D3D); font-weight: 700; }
@keyframes szpLivePulse { 50% { opacity: .75; } }
@media (prefers-reduced-motion: reduce) { .szx-live-score { animation: none; } }

/* ============================================================================
   CRICKET SCORES & FIXTURES board
   ============================================================================ */
.sz-scores { max-width: 1100px; margin: 0 auto; }

/* ============================================================================
   BRILLIANT SCORE RAIL — homepage top, horizontally scrollable gradient cards
   ============================================================================ */
.sz-rail-section {
	max-width: 1100px;
	margin: 18px auto 24px;
	padding: 0 var(--space-5, 20px);
	box-sizing: border-box;
}
.sz-rail-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	padding-bottom: 11px;
	border-bottom: 3px solid var(--ink, #131A10);
}
.sz-rail-kicker {
	display: block;
	font-family: var(--font-score, monospace);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent, #E8442B);
	margin-bottom: 5px;
}
.sz-rail-title {
	margin: 0;
	font-family: var(--font-headline, sans-serif);
	font-weight: 800;
	font-size: clamp(20px, 3vw, 26px);
	letter-spacing: -.01em;
	text-transform: uppercase;
	line-height: 1;
}
.sz-rail-title a { color: var(--ink, #131A10); text-decoration: none !important; border: none !important; }
.sz-rail-all {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-headline, sans-serif);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--brand-ink, #FFFFFF);
	background: var(--brand, #0B7A43);
	background-image: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 46%);
	padding: 9px 15px;
	border-radius: 4px;
	text-decoration: none !important;
	border: none !important;
	white-space: nowrap;
}
.sz-rail-all:hover { background-color: var(--brand-hover, #075231); color: var(--brand-ink, #FFFFFF); }

/* Horizontal scroller — snap, hidden scrollbar, edge fade */
.sz-rail-scroller {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	/* Flush within the section — the first card's left edge lines up exactly
	   with the section titles and cards below (no edge-bleed offset). */
	padding: 4px 2px 12px;
	margin: 0;
}
.sz-rail-scroller::-webkit-scrollbar { display: none; }

/* The card — dark floodlit panel, per-team colour glows */
/* Light mode: a light card with soft team-colour corner tints (follows the
   theme). Dark mode restores the floodlit gradient further below. */
.sz-rail-card {
	position: relative;
	flex: 0 0 clamp(258px, 76vw, 292px);
	scroll-snap-align: start;
	border-radius: 14px;
	padding: 15px 16px 14px;
	overflow: hidden;
	color: var(--ink, #131A10);
	background: var(--paper, #fff);
	background:
		radial-gradient(130% 92% at 0% 0%, color-mix(in srgb, var(--rc0, #0B7A43) 15%, transparent), transparent 60%),
		radial-gradient(130% 92% at 100% 0%, color-mix(in srgb, var(--rc1, #E8442B) 13%, transparent), transparent 60%),
		var(--paper, #fff);
	border: 1px solid var(--rule-strong, rgba(25,33,15,.2));
	box-shadow: var(--shadow-card);
	transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease;
}
.sz-rail-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
}
/* Sheen sweep across the top (visible in dark mode) */
.sz-rail-card::after {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 48%;
	background: linear-gradient(180deg, rgba(255,255,255,.05), transparent);
	pointer-events: none;
}
.sz-rail-link { position: absolute; inset: 0; z-index: 3; }

.sz-rail-top {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 13px;
}
.sz-rail-series {
	font-family: var(--font-score, monospace);
	font-size: 9.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-4, #A6AC99);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sz-rail-chip {
	flex-shrink: 0;
	font-family: var(--font-score, monospace);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 3px;
}
.sz-rail-chip-live {
	color: #fff;
	background: var(--accent, #E8442B);
	box-shadow: 0 0 0 0 rgba(232,68,43,.6);
	animation: szScPulse 1.6s infinite;
}
.sz-rail-chip-result { color: var(--volt-ink, #17230A); background: var(--volt, #C9F73C); }
.sz-rail-chip-upcoming { color: var(--ink-2, #39422F); background: transparent; box-shadow: inset 0 0 0 1.5px var(--rule-strong, rgba(25,33,15,.3)); }

.sz-rail-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 9px; }
.sz-rail-team { display: flex; align-items: center; gap: 9px; min-width: 0; }
.sz-rail-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.sz-rail-team .sz-sc-crest {
	width: 30px; height: 30px; border-radius: 7px; flex-shrink: 0;
}
/* Image logos sit on white; initial-badges keep their team colour + white
   text (the white bg above must NOT cover the coloured .sz-sc-crest-txt). */
.sz-rail-team .sz-sc-crest:not(.sz-sc-crest-txt) { background: #fff; }
.sz-rail-team .sz-sc-crest.sz-sc-crest-txt { font-size: 10px; background: var(--c, #0B7A43); color: #fff; }
.sz-rail-name {
	flex: 1;
	min-width: 0;
	font-family: var(--font-headline, sans-serif);
	font-weight: 700;
	font-size: 15px;
	color: var(--ink, #131A10);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sz-rail-score {
	flex-shrink: 0;
	max-width: 46%;
	text-align: right;
	font-family: var(--font-display, sans-serif);
	font-size: 15px;
	line-height: 1.2;
	color: var(--ink, #131A10);
	font-variant-numeric: tabular-nums;
	white-space: normal;
}
.sz-rail-team.is-winner .sz-rail-name,
.sz-rail-team.is-winner .sz-rail-score { color: var(--brand-text, #0B7A43); }
.sz-rail-team.is-winner .sz-rail-name::after { content: ' ✓'; }
.sz-rail-result .sz-rail-team:not(.is-winner) { opacity: .55; }

.sz-rail-foot {
	position: relative;
	z-index: 2;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--rule, rgba(25,33,15,.13));
	font-family: var(--font-headline, sans-serif);
	font-weight: 600;
	font-size: 11.5px;
	line-height: 1.35;
	color: var(--ink-3, #6C7561);
}
.sz-rail-live .sz-rail-status { color: var(--accent, #E8442B); }
.sz-rail-when { font-family: var(--font-score, monospace); font-weight: 700; letter-spacing: .04em; color: var(--brand-text, #0B7A43); }

/* ---- Dark mode: restore the floodlit gradient look ---- */
html[data-theme="dark"] .sz-rail-card,
body.dark-mode .sz-rail-card {
	color: #EFF3E4;
	background:
		radial-gradient(130% 92% at 0% 0%, color-mix(in srgb, var(--rc0, #0B7A43) 42%, transparent), transparent 58%),
		radial-gradient(130% 92% at 100% 0%, color-mix(in srgb, var(--rc1, #E8442B) 36%, transparent), transparent 58%),
		linear-gradient(158deg, #17210F 0%, #0A0E07 62%, #05070B 100%);
	border-color: rgba(255,255,255,.1);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 34px -18px rgba(0,0,0,.7);
}
html[data-theme="dark"] .sz-rail-card:hover,
body.dark-mode .sz-rail-card:hover {
	box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 22px 42px -18px rgba(0,0,0,.75);
}
html[data-theme="dark"] .sz-rail-card::after,
body.dark-mode .sz-rail-card::after { background: linear-gradient(180deg, rgba(255,255,255,.1), transparent); }
html[data-theme="dark"] .sz-rail-series,
body.dark-mode .sz-rail-series { color: rgba(238,244,224,.62); }
html[data-theme="dark"] .sz-rail-chip-upcoming,
body.dark-mode .sz-rail-chip-upcoming { color: rgba(238,244,224,.85); box-shadow: inset 0 0 0 1.5px rgba(238,244,224,.35); }
html[data-theme="dark"] .sz-rail-dot,
body.dark-mode .sz-rail-dot { box-shadow: 0 0 8px currentColor; }
html[data-theme="dark"] .sz-rail-name,
html[data-theme="dark"] .sz-rail-score,
body.dark-mode .sz-rail-name,
body.dark-mode .sz-rail-score { color: #fff; }
html[data-theme="dark"] .sz-rail-team.is-winner .sz-rail-name,
html[data-theme="dark"] .sz-rail-team.is-winner .sz-rail-score,
body.dark-mode .sz-rail-team.is-winner .sz-rail-name,
body.dark-mode .sz-rail-team.is-winner .sz-rail-score { color: var(--volt, #C9F73C); }
html[data-theme="dark"] .sz-rail-foot,
body.dark-mode .sz-rail-foot { border-top-color: rgba(238,244,224,.16); color: rgba(238,244,224,.78); }
html[data-theme="dark"] .sz-rail-live .sz-rail-status,
body.dark-mode .sz-rail-live .sz-rail-status { color: #FFC9BE; }
html[data-theme="dark"] .sz-rail-when,
body.dark-mode .sz-rail-when { color: #C9F73C; }

@media (max-width: 600px) {
	.sz-rail-section { margin-top: 12px; }
	.sz-rail-card { flex-basis: 80vw; }
}

/* ---- Board filter tabs (All / Live / Results / Upcoming) ---- */
.sz-sc-tabs {
	display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 22px;
}
.sz-sc-tab {
	display: inline-flex; align-items: center; gap: 7px;
	font-family: var(--font-headline, sans-serif); font-size: 12.5px; font-weight: 700;
	letter-spacing: .03em; text-transform: uppercase;
	color: var(--ink, #131A10); background: var(--paper, #FFFFFF);
	border: 1px solid var(--rule-strong, rgba(25,33,15,.32)); border-radius: 4px;
	padding: 9px 16px; cursor: pointer;
	transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.sz-sc-tab:hover { color: var(--brand-text, #0B7A43); border-color: var(--brand-text, #0B7A43); }
.sz-sc-tab.active {
	/* brand token adapts per theme: green in light, blue in dark (dark text
	   pairing for the blue comes from the theme's §21 active-state remap) */
	background: var(--brand, #0B7A43); color: #FFFFFF; border-color: var(--brand-text, #0B7A43);
}
.sz-sc-tab-dot {
	width: 7px; height: 7px; border-radius: 50%; background: var(--accent, #E8442B);
	animation: szScPulse 1.6s infinite;
}
.sz-sc-none { text-align: center; color: var(--ink-3, #6C7561); padding: 26px 0 8px; }

/* ---- Countdown chip on upcoming fixtures ---- */
.sz-sc-count {
	font-family: var(--font-score, monospace); font-size: 9.5px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--brand-text, #0B7A43);
	border: 1.5px solid color-mix(in srgb, var(--brand, #0B7A43) 45%, transparent);
	border-radius: 3px; padding: 2px 7px;
}
.sz-sc-count:empty { display: none; }

/* ---- Winner highlight on finished matches ---- */
.sz-sc-team.is-winner .sz-sc-name,
.sz-sc-team.is-winner .sz-sc-score { color: var(--brand-text, #0B7A43); }
.sz-sc-team.is-winner .sz-sc-name::after {
	content: ' ✓'; font-weight: 800;
}
/* Dim the beaten side only when a winner exists — draws / no-results keep
   both teams at full strength. */
.sz-sc-has-winner .sz-sc-team:not(.is-winner) .sz-sc-name,
.sz-sc-has-winner .sz-sc-team:not(.is-winner) .sz-sc-score { opacity: .62; }
.sz-sc-h {
	display: flex; align-items: center; gap: 12px; margin: 34px 0 18px;
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: clamp(17px, 2.4vw, 22px);
	text-transform: uppercase; letter-spacing: 0; color: var(--ink, #0A1024);
	padding-bottom: 10px; border-bottom: 3px solid var(--ink, #0A1024);
}
.sz-sc-h::before {
	content: ''; width: 10px; height: 22px; background: var(--brand, #0B7A43);
	transform: skewX(-14deg); flex-shrink: 0;
}
.sz-sc-h:first-child { margin-top: 0; }
.sz-sc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent, #FF1D3D); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, #FF1D3D) 22%, transparent); animation: szScPulse 1.6s infinite; }
@keyframes szScPulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent, #FF1D3D) 6%, transparent); } }

.sz-sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

.sz-sc-card {
	position: relative; overflow: hidden;
	background: var(--paper, #fff); border: 1px solid var(--rule, rgba(25,33,15,.13));
	border-radius: var(--radius-md, 8px); padding: 18px 18px 16px; box-shadow: var(--shadow-card);
	display: flex; flex-direction: column; gap: 12px;
}
.sz-sc-card::before {
	content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: var(--brand, #0B7A43);
}
.sz-sc-card.sz-sc-live { border-color: color-mix(in srgb, var(--accent, #E8442B) 40%, transparent); }
.sz-sc-card.sz-sc-live::before { background: var(--accent, #E8442B); }
.sz-sc-card.sz-sc-upcoming::before { background: var(--rule-strong, rgba(25,33,15,.32)); }
.sz-sc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sz-sc-series { font-family: var(--font-score, monospace); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3, #6a7291); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-sc-fmt { flex-shrink: 0; font-family: var(--font-score, monospace); font-weight: 700; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text, #0B7A43); background: transparent; border: 1.5px solid color-mix(in srgb, var(--brand, #0B7A43) 45%, transparent); padding: 3px 8px; border-radius: 3px; }
.sz-sc-fmt.is-live { color: #fff; background: var(--accent, #E8442B); border-color: transparent; }

.sz-sc-teams { display: flex; flex-direction: column; gap: 10px; }
.sz-sc-team { display: flex; align-items: center; gap: 10px; }
.sz-sc-name { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 15px; color: var(--ink, #0A1024); min-width: 72px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Test matches carry multi-innings lines — let the score WRAP instead of
   crushing the team name out of the row. */
.sz-sc-score { margin-left: auto; flex-shrink: 1; min-width: 0; text-align: right; font-family: var(--font-display, sans-serif); font-size: 16px; font-weight: 800; line-height: 1.25; color: var(--ink, #0A1024); font-variant-numeric: tabular-nums; white-space: normal; }
.sz-sc-live .sz-sc-score { color: color-mix(in srgb, #C58A00 60%, var(--ink, #0A1024)); }

.sz-sc-crest { flex-shrink: 0; width: 34px; height: 34px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--rule, rgba(12,22,64,.1)); display: inline-flex; align-items: center; justify-content: center; }
.sz-sc-crest img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }
.sz-sc-crest-txt { background: var(--c, #1B54FF); color: #fff; border-color: transparent; font-family: var(--font-display, sans-serif); font-size: 11px; font-weight: 800; }

.sz-sc-status { font-family: var(--font-headline, sans-serif); font-weight: 700; font-size: 12.5px; color: var(--ink-2, #2A3352); border-top: 1px solid var(--rule, rgba(12,22,64,.1)); padding-top: 10px; }
.sz-sc-status.is-live { color: var(--accent, #FF1D3D); }
.sz-sc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-family: var(--font-score, monospace); font-size: 11.5px; color: var(--ink-3, #6a7291); border-top: 1px solid var(--rule, rgba(12,22,64,.1)); padding-top: 10px; }
.sz-sc-venue { position: relative; padding-left: 14px; }
.sz-sc-venue::before { content: "●"; position: absolute; left: 0; font-size: 7px; line-height: 2; color: var(--brand-text, #0B7A43); }

.sz-sc-empty, .sz-sc-note { text-align: center; color: var(--ink-3, #6a7291); }
.sz-sc-empty { padding: 30px; background: var(--paper, #fff); border: 1px solid var(--rule, rgba(12,22,64,.1)); border-radius: var(--radius-lg, 16px); }
.sz-sc-note { font-size: 12px; font-style: italic; color: var(--ink-4, #a3abc6); margin-top: 28px; }

/* ---- Scores: clickable card ---- */
.sz-sc-card { position: relative; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.sz-sc-link { position: absolute; inset: 0; z-index: 1; }
.sz-sc-card:has(.sz-sc-link):hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--brand, #1B54FF) 40%, transparent); border-color: color-mix(in srgb, var(--brand, #1B54FF) 40%, transparent); }

/* ---- Full-time result spotlight (once-per-user popup) ---- */
/* [hidden] guard is CRITICAL: display:flex below would otherwise override the
   hidden attribute, leaving an invisible full-screen layer that eats every tap. */
.sz-spotlight[hidden] { display: none !important; }
.sz-spotlight {
	position: fixed; inset: 0; z-index: 1200;
	display: flex; align-items: flex-start; justify-content: center;
	padding: 76px 16px 16px;
	background: rgba(10, 14, 6, 0);
	transition: background-color .3s ease;
}
.sz-spotlight.open { background: rgba(10, 14, 6, .55); }
.sz-spot-card {
	position: relative; width: min(460px, 100%);
	background: #14200F;
	background:
		radial-gradient(420px 200px at 88% -12%, rgba(201, 247, 60, .2), transparent 62%),
		linear-gradient(150deg, #0E130A 0%, #22301B 100%);
	border: 1px solid rgba(201, 247, 60, .35);
	border-top: 4px solid #C9F73C;
	border-radius: 12px;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
	padding: 20px 22px 22px;
	color: #EFF3E4;
	transform: translateY(-46px); opacity: 0;
	transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .32s ease;
}
.sz-spotlight.open .sz-spot-card { transform: translateY(0); opacity: 1; }

/* Apple-glass upgrade where supported (solid gradient above is the fallback) */
@supports ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
	.sz-spotlight.open { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
	.sz-spot-card {
		background:
			radial-gradient(420px 200px at 88% -12%, rgba(201, 247, 60, .22), transparent 62%),
			linear-gradient(150deg, rgba(14, 19, 10, .84) 0%, rgba(34, 48, 27, .84) 100%);
		-webkit-backdrop-filter: blur(22px) saturate(1.5);
		backdrop-filter: blur(22px) saturate(1.5);
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, .1),
			0 30px 60px -20px rgba(0, 0, 0, .6);
	}
}
.sz-spot-close {
	position: absolute; top: 10px; right: 12px;
	background: none; border: none; cursor: pointer;
	color: rgba(238, 244, 224, .55); font-size: 22px; line-height: 1; padding: 4px;
}
.sz-spot-close:hover { color: #fff; }
.sz-spot-kicker {
	font-family: var(--font-score, monospace); font-size: 10px; font-weight: 700;
	letter-spacing: .16em; text-transform: uppercase; color: #C9F73C; margin-bottom: 4px;
}
.sz-spot-title {
	font-family: var(--font-score, monospace); font-size: 10.5px;
	letter-spacing: .06em; text-transform: uppercase;
	color: rgba(238, 244, 224, .55); margin-bottom: 16px;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 20px;
}
.sz-spot-teams { display: flex; flex-direction: column; gap: 12px; }
.sz-spot-team { display: flex; align-items: center; gap: 12px; }
.sz-spot-team .sz-sc-crest { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; }
.sz-spot-name {
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 17px;
	color: #FFFFFF; min-width: 0; flex: 1; line-height: 1.2;
	display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.sz-spot-win-tag {
	font-family: var(--font-score, monospace); font-size: 8.5px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	background: #C9F73C; color: #17230A; border-radius: 3px; padding: 2px 7px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.sz-spot-score {
	font-family: var(--font-display, sans-serif); font-size: 19px; line-height: 1.25;
	color: #FFFFFF; text-align: right; min-width: 0; white-space: normal;
	font-variant-numeric: tabular-nums;
}
.sz-spot-team.is-winner .sz-spot-score { color: #C9F73C; }
.sz-spot-team:not(.is-winner) .sz-spot-name,
.sz-spot-team:not(.is-winner) .sz-spot-score { opacity: .58; }
.sz-spot-status {
	margin-top: 16px; padding-top: 13px;
	border-top: 1px solid rgba(238, 244, 224, .18);
	font-family: var(--font-headline, sans-serif); font-weight: 700; font-size: 13.5px;
	color: rgba(238, 244, 224, .85);
}
.sz-spot-btn {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: 14px; padding: 11px 16px;
	font-family: var(--font-headline, sans-serif); font-weight: 700; font-size: 13px;
	letter-spacing: .04em; text-transform: uppercase;
	background: #C9F73C; color: #17230A !important;
	border-radius: 4px; text-decoration: none !important; border: none !important;
	transition: background-color .2s ease;
}
.sz-spot-btn:hover { background: #E2FF7A; }
@media (max-width: 480px) {
	.sz-spotlight { padding: 66px 12px 12px; }
	.sz-spot-name { font-size: 15px; }
	.sz-spot-score { font-size: 16px; }
}

/* ============================================================================
   DIRECTORY VIEWS — Series, Standings, Rankings (own API)
   ============================================================================ */
.sz-view-nav {
	display: flex; gap: 8px; margin-bottom: 20px;
	border-bottom: 3px solid var(--ink, #131A10);
}
.sz-view-link {
	font-family: var(--font-headline, sans-serif); font-weight: 700; font-size: 13px;
	letter-spacing: .04em; text-transform: uppercase;
	color: var(--ink-3, #6C7561); text-decoration: none !important; border: none !important;
	padding: 10px 14px; position: relative; margin-bottom: -3px;
}
.sz-view-link:hover { color: var(--brand-text, #0B7A43); }
.sz-view-link.active { color: var(--ink, #131A10); }
.sz-view-link.active::after {
	content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px;
	background: var(--brand, #0B7A43);
}

.sz-dir-h {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 17px;
	text-transform: uppercase; color: var(--ink, #131A10);
	margin: 26px 0 12px;
}
.sz-dir-h::before { content: ''; width: 8px; height: 16px; background: var(--brand, #0B7A43); transform: skewX(-14deg); }

.sz-dir-tablewrap {
	overflow-x: auto;
	border: 1px solid var(--rule, rgba(25,33,15,.13));
	border-radius: var(--radius-md, 8px);
	box-shadow: var(--shadow-card);
	background: var(--paper, #fff);
}
.sz-dir-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 380px; }
.sz-dir-table th {
	font-family: var(--font-score, monospace); font-size: 9.5px; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3, #6C7561);
	background: color-mix(in srgb, var(--recess, #EAE8DE) 60%, transparent);
	border-bottom: 2px solid var(--rule-strong, rgba(25,33,15,.32));
	padding: 10px 12px; text-align: center;
}
.sz-dir-table th.l, .sz-dir-table td.l { text-align: left; }
.sz-dir-table th.c, .sz-dir-table td.c { text-align: center; }
.sz-dir-table td { padding: 11px 12px; border-top: 1px solid var(--rule, rgba(25,33,15,.1)); color: var(--ink-2, #39422F); }
.sz-dir-table td.b { font-family: var(--font-headline, sans-serif); font-weight: 800; color: var(--ink, #131A10); }
.sz-dir-table td.l strong { font-family: var(--font-headline, sans-serif); font-weight: 700; color: var(--ink, #131A10); }
.sz-dir-sub { display: block; font-family: var(--font-score, monospace); font-size: 10px; color: var(--ink-4, #A6AC99); margin-top: 1px; }
.sz-rank-no { font-family: var(--font-display, sans-serif); font-size: 16px; color: var(--brand-text, #0B7A43); }
.sz-dir-team { display: flex; align-items: center; gap: 10px; }
.sz-dir-team .sz-sc-crest { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }
.sz-dir-team .sz-sc-crest.sz-sc-crest-txt { font-size: 9px; }

/* Series cards */
.sz-series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.sz-series-card {
	display: flex; flex-direction: column; gap: 5px;
	background: var(--paper, #fff); border: 1px solid var(--rule, rgba(25,33,15,.13));
	border-left: 3px solid var(--brand, #0B7A43);
	border-radius: var(--radius-md, 8px); box-shadow: var(--shadow-card);
	padding: 15px 16px; text-decoration: none !important; color: inherit;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.sz-series-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.sz-series-cat { font-family: var(--font-score, monospace); font-size: 9px; font-weight: 700; letter-spacing: .12em; color: var(--brand-text, #0B7A43); }
.sz-series-name { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 16px; line-height: 1.2; color: var(--ink, #131A10); }
.sz-series-meta { font-family: var(--font-score, monospace); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4, #A6AC99); }

/* Squads */
.sz-squad-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sz-squad-box { background: var(--paper, #fff); border: 1px solid var(--rule, rgba(25,33,15,.13)); border-radius: var(--radius-md, 8px); box-shadow: var(--shadow-card); overflow: hidden; }
.sz-squad-team { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ink, #131A10); color: var(--paper, #fff); font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 14px; text-transform: uppercase; }
.sz-squad-team .sz-sc-crest { width: 26px; height: 26px; border-radius: 6px; }
.sz-squad-players { list-style: none; margin: 0; padding: 6px 0; }
.sz-squad-players li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; border-top: 1px solid var(--rule, rgba(25,33,15,.08)); }
.sz-squad-players li:first-child { border-top: none; }
.sz-squad-pn { font-size: 13.5px; color: var(--ink-2, #39422F); font-weight: 600; }
.sz-squad-tag { font-family: var(--font-score, monospace); font-size: 8.5px; font-weight: 700; letter-spacing: .08em; color: var(--brand-text, #0B7A43); border: 1px solid color-mix(in srgb, var(--brand, #0B7A43) 40%, transparent); border-radius: 3px; padding: 2px 6px; }

/* ---- Match detail page — same DNA as the board cards ---- */
.sz-md-back {
	display: inline-flex; align-items: center; gap: 7px;
	font-family: var(--font-headline, sans-serif); font-weight: 700; font-size: 12px;
	letter-spacing: .04em; text-transform: uppercase;
	color: var(--ink-2, #39422F) !important; text-decoration: none !important;
	border: 1px solid var(--rule-strong, rgba(25,33,15,.32)) !important; border-radius: 4px;
	padding: 8px 14px; margin-bottom: 4px;
	transition: color .2s ease, border-color .2s ease;
}
.sz-md-back:hover { color: var(--brand-text, #0B7A43) !important; border-color: var(--brand-text, #0B7A43) !important; }

/* Scoreboard hero: a scaled-up board card */
.sz-md-hero { margin-top: 16px; padding: 22px 22px 18px; }
.sz-md-hero .sz-sc-teams { gap: 14px; padding: 6px 0 2px; }
.sz-md-hero .sz-sc-crest { width: 52px; height: 52px; border-radius: 10px; }
.sz-md-hero .sz-sc-crest.sz-sc-crest-txt { font-size: 15px; }
.sz-md-hero .sz-sc-name { font-size: clamp(19px, 3vw, 26px); font-weight: 800; white-space: normal; }
.sz-md-hero .sz-sc-score { font-size: clamp(20px, 3.2vw, 30px); }
.sz-md-hero .sz-sc-status { font-size: 14.5px; padding-top: 14px; }
.sz-md-hero .sz-sc-status.is-final { color: var(--brand-text, #0B7A43); font-weight: 800; }
.sz-md-hero::before { height: 4px; }

/* Legacy status colour (kept for any cached markup) */
.sz-md-status { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 13px; color: var(--brand-text, #0B7A43); }

/* Facts — press stat boxes */
.sz-md-facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px; margin: 18px 0 28px;
}
.sz-md-fact {
	background: var(--paper, #fff);
	border: 1px solid var(--rule, rgba(25,33,15,.13));
	border-left: 3px solid var(--brand, #0B7A43);
	border-radius: 6px; padding: 11px 14px; min-width: 0;
}
.sz-md-fact-l {
	display: block; font-family: var(--font-score, monospace); font-size: 8.5px;
	font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ink-4, #A6AC99); margin-bottom: 4px;
}
.sz-md-fact-v {
	display: block; font-family: var(--font-headline, sans-serif); font-size: 13.5px;
	font-weight: 700; color: var(--ink, #131A10); line-height: 1.3;
}

/* Innings scorecards */
.sz-md-inn {
	background: var(--paper, #fff); border: 1px solid var(--rule, rgba(25,33,15,.13));
	border-radius: var(--radius-md, 8px); box-shadow: var(--shadow-card);
	padding: 0 0 6px; margin-bottom: 22px; overflow: hidden;
}
.sz-md-inn-h {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 15.5px;
	text-transform: uppercase; letter-spacing: .01em;
	color: var(--paper, #fff); background: var(--ink, #131A10);
	margin: 0 0 4px; padding: 12px 16px;
}
/* The theme's page-content heading rules outrank a single class — pin the
   innings title's paper-on-ink pairing so it never renders ink-on-ink. */
.sz-md-inn .sz-md-inn-h, h3.sz-md-inn-h { color: var(--paper, #FFFFFF); }
.sz-md-inn-h::before {
	content: ''; width: 8px; height: 16px; background: var(--volt, #C9F73C);
	transform: skewX(-14deg); flex-shrink: 0;
}
.sz-md-tblwrap { overflow-x: auto; }
.sz-md-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sz-md-tbl th, .sz-md-tbl td { padding: 10px 12px; text-align: center; white-space: nowrap; color: var(--ink-2, #39422F); }
/* Alignment only: the five numeric columns share equal width hints, so the
   header letters sit over the values and both tables use the same grid. */
.sz-md-tbl th:not(.l), .sz-md-tbl td:not(.l) { width: 11%; }
/* The scores views render inside .entry-content, where the theme's generic
   `.entry-content table th { text-align: left }` OUTRANKS our centered
   headers — that shoved R/B/4s/6s/SR off their columns. Re-pin with higher
   specificity (and keep the compact header type the theme rule overrode). */
.entry-content .sz-md-tbl th,
.sz-md-tbl th {
	text-align: center;
	font-family: var(--font-score, monospace);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: .1em;
	padding: 10px 12px;
}
.entry-content .sz-md-tbl th.l,
.sz-md-tbl th.l { text-align: left; }
.entry-content .sz-md-tbl td { padding: 10px 12px; }
.sz-md-tbl th {
	font-family: var(--font-score, monospace); font-size: 9.5px; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ink-3, #6C7561);
	background: color-mix(in srgb, var(--recess, #EAE8DE) 60%, transparent);
	border-bottom: 2px solid var(--rule-strong, rgba(25,33,15,.32));
}
.sz-md-tbl th.l, .sz-md-tbl td.l { text-align: left; }
.sz-md-tbl td.b { font-family: var(--font-headline, sans-serif); font-weight: 800; color: var(--ink, #131A10); }
.sz-md-tbl tbody tr { border-top: 1px solid var(--rule, rgba(25,33,15,.1)); }
.sz-md-tbl td.l strong { display: block; font-family: var(--font-headline, sans-serif); font-weight: 700; color: var(--ink, #131A10); }
.sz-md-dis { display: block; font-family: var(--font-score, monospace); font-size: 10px; color: var(--ink-3, #6C7561); margin-top: 2px; }
.sz-md-tot td { background: color-mix(in srgb, var(--brand, #0B7A43) 6%, transparent); font-weight: 700; }
.sz-md-grand td { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 14.5px; color: var(--ink, #131A10); }
.sz-md-bowl { border-top: 2px solid var(--rule-strong, rgba(25,33,15,.32)); }

@media (max-width: 640px) {
	.sz-md-hero .sz-sc-crest { width: 40px; height: 40px; }
	.sz-md-facts { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   SPORTMONKS FEATURE PAGES — leagues hub, points tables, squads, player
   profiles, playing XI, over-by-over commentary and venue spotlights.
   Token-driven (paper/ink/brand/volt/accent) so light & dark both work.
   ========================================================================== */

.sz-smp .sz-smp-sub { color: var(--ink-2, #39422F); font-size: 14.5px; margin: -6px 0 22px; max-width: 640px; }
.sz-smp-h {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 19px;
	text-transform: uppercase; letter-spacing: .01em; color: var(--ink, #131A10);
	margin: 34px 0 14px; padding-bottom: 10px;
	border-bottom: 3px solid var(--ink, #131A10);
}
.sz-smp-h::before {
	content: ''; width: 9px; height: 18px; background: var(--volt, #C9F73C);
	transform: skewX(-14deg); flex-shrink: 0;
}

/* ---- leagues hub ---- */
.sz-lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.sz-lg-card {
	position: relative; display: flex; flex-direction: column; gap: 10px;
	background: var(--paper, #fff); border: 1px solid var(--rule, rgba(25,33,15,.13));
	border-radius: var(--radius-md, 10px); box-shadow: var(--shadow-card);
	padding: 18px 18px 16px; text-decoration: none; overflow: hidden;
	transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, border-color .25s ease;
}
.sz-lg-card::before {
	content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: linear-gradient(90deg, #19B8FF 0 33.34%, #FF7A1A 33.34% 66.67%, #2CE58C 66.67% 100%);
}
.sz-lg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--rule-strong, rgba(25,33,15,.32)); }
.sz-lg-logo { width: 52px; height: 52px; border-radius: 10px; background: var(--recess, #EAE8DE); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sz-lg-logo img { width: 40px; height: 40px; object-fit: contain; }
.sz-lg-name { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 16px; line-height: 1.25; color: var(--ink, #131A10); }
.sz-lg-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.sz-lg-code, .sz-lg-season {
	font-family: var(--font-score, monospace); font-size: 10px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px;
}
.sz-lg-code { background: #131A10; color: #F4F3ED; }
.sz-lg-season { background: var(--recess, #EAE8DE); color: var(--ink-2, #39422F); }
.sz-lg-go { margin-top: auto; font-size: 12px; font-weight: 600; color: var(--brand-text, #0B7A43); }

/* ---- league hero ---- */
.sz-lgp-hero {
	position: relative; display: flex; align-items: center; gap: 18px;
	background: #131A10; border-radius: var(--radius-md, 10px);
	padding: 22px 24px; margin: 16px 0 8px; overflow: hidden; box-shadow: var(--shadow-card);
}
.sz-lgp-hero::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background: linear-gradient(90deg, #19B8FF 0 33.34%, #FF7A1A 33.34% 66.67%, #2CE58C 66.67% 100%);
}
.sz-lgp-logo { width: 64px; height: 64px; border-radius: 12px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sz-lgp-logo img { width: 48px; height: 48px; object-fit: contain; }
.sz-lgp-name { margin: 0 0 8px; font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 24px; text-transform: uppercase; color: #F4F3ED; }
.sz-lgp-meta { display: flex; gap: 7px; flex-wrap: wrap; }
.sz-lgp-chip {
	font-family: var(--font-score, monospace); font-size: 10px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px;
	background: rgba(255,255,255,.14); color: #F4F3ED;
}
.sz-lgp-chip-season { background: var(--volt, #C9F73C); color: #131A10; }

/* ---- standings ---- */
.sz-standwrap { margin-bottom: 8px; }
.sz-stand-table td, .sz-stand-table th { white-space: nowrap; }
.sz-stand-team { display: flex; align-items: center; gap: 9px; }
.sz-stand-crest { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.sz-stand-pts { color: var(--brand-text, #0B7A43); font-weight: 800; }
.sz-stand-form { min-width: 110px; }
.sz-form {
	display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px; border-radius: 50%; margin: 0 1px;
	font-family: var(--font-score, monospace); font-size: 9px; font-weight: 700; color: #fff;
}
.sz-form-w { background: #0FA958; }
.sz-form-l { background: #E8442B; }
.sz-form-d, .sz-form-n { background: #8A8F84; }
.sz-stand-squad { font-size: 11.5px; font-weight: 700; color: var(--brand-text, #0B7A43); text-decoration: none; border: 1px solid currentColor; border-radius: 4px; padding: 3px 9px; }
.sz-stand-squad:hover { background: var(--brand, #0B7A43); color: var(--brand-ink, #FFFFFF); }

/* ---- player chips (squads + playing XI) ---- */
.sz-plchip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 9px; }
.sz-plchip {
	display: flex; align-items: center; gap: 10px; text-decoration: none;
	background: var(--paper, #fff); border: 1px solid var(--rule, rgba(25,33,15,.13));
	border-radius: 8px; padding: 8px 12px 8px 8px;
	transition: border-color .2s ease, transform .2s cubic-bezier(.22,1,.36,1);
}
.sz-plchip:hover { border-color: var(--brand-text, #0B7A43); transform: translateY(-2px); }
.sz-plchip-img {
	width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
	background: var(--recess, #EAE8DE); display: flex; align-items: center; justify-content: center;
	font-weight: 800; color: var(--ink-2, #39422F);
}
.sz-plchip-img img { width: 100%; height: 100%; object-fit: cover; }
.sz-plchip-name { font-size: 13px; font-weight: 600; color: var(--ink, #131A10); line-height: 1.25; }
.sz-plchip-tag {
	margin-left: auto; flex-shrink: 0;
	font-family: var(--font-score, monospace); font-size: 9px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase;
	background: #131A10; color: #C9F73C;
	padding: 3px 6px; border-radius: 3px;
}
.sz-squadp { background: var(--recess, #EAE8DE); border-radius: var(--radius-md, 10px); padding: 4px 18px 18px; margin-top: 18px; }
.sz-squadp .sz-smp-h { border-bottom-color: var(--rule-strong, rgba(25,33,15,.32)); }
.sz-squadp-close { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--ink-2, #39422F); text-decoration: none; text-transform: none; letter-spacing: 0; }

/* ---- player hero ---- */
.sz-pl-hero {
	position: relative; display: flex; align-items: center; gap: 22px;
	background: #131A10; border-radius: var(--radius-md, 10px);
	padding: 26px 26px; margin: 16px 0 6px; overflow: hidden; box-shadow: var(--shadow-card);
}
.sz-pl-hero::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background: linear-gradient(90deg, #19B8FF 0 33.34%, #FF7A1A 33.34% 66.67%, #2CE58C 66.67% 100%);
}
.sz-pl-photo {
	width: 92px; height: 92px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
	background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center;
	font-size: 34px; font-weight: 800; color: #F4F3ED;
	box-shadow: 0 0 0 3px rgba(255,255,255,.15);
}
.sz-pl-photo img { width: 100%; height: 100%; object-fit: cover; }
.sz-pl-name { margin: 0 0 9px; font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 26px; text-transform: uppercase; color: #F4F3ED; }
.sz-pl-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.sz-pl-styles { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: rgba(244,243,237,.75); }
.sz-pl-styles strong { color: #F4F3ED; }
.sz-smp-career { background: var(--paper, #fff); border: 1px solid var(--rule, rgba(25,33,15,.13)); border-radius: var(--radius-md, 10px); box-shadow: var(--shadow-card); padding-bottom: 4px; }

/* ---- playing XI ---- */
.sz-xi { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.sz-xi-team { background: var(--paper, #fff); border: 1px solid var(--rule, rgba(25,33,15,.13)); border-radius: var(--radius-md, 10px); box-shadow: var(--shadow-card); overflow: hidden; }
.sz-xi-name {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 14px;
	text-transform: uppercase; color: #F4F3ED; background: #131A10;
	padding: 11px 15px;
}
.sz-xi-name::before { content: ''; width: 7px; height: 14px; background: var(--volt, #C9F73C); transform: skewX(-14deg); }
.sz-xi .sz-plchip-grid { grid-template-columns: 1fr; gap: 0; padding: 8px; }
.sz-plchip-tight .sz-plchip { border: none; border-radius: 6px; padding: 6px 10px 6px 6px; }
.sz-plchip-tight .sz-plchip:hover { background: var(--recess, #EAE8DE); transform: none; }

/* ---- over-by-over ---- */
.sz-ovs {
	background: var(--paper, #fff); border: 1px solid var(--rule, rgba(25,33,15,.13));
	border-radius: var(--radius-md, 10px); box-shadow: var(--shadow-card);
	margin-bottom: 14px; overflow: hidden;
}
.sz-ovs-sum {
	display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
	font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 14px;
	text-transform: uppercase; color: #F4F3ED; background: #131A10;
	padding: 12px 16px;
}
.sz-ovs-sum::-webkit-details-marker { display: none; }
.sz-ovs-sum::before { content: ''; width: 7px; height: 14px; background: var(--volt, #C9F73C); transform: skewX(-14deg); flex-shrink: 0; }
.sz-ovs-count { margin-left: auto; font-family: var(--font-score, monospace); font-size: 10px; letter-spacing: .08em; color: rgba(244,243,237,.7); }
.sz-ovs-list { padding: 10px 14px 14px; max-height: 460px; overflow-y: auto; }
.sz-ov { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--rule, rgba(25,33,15,.13)); }
.sz-ov-no { flex: 0 0 46px; font-family: var(--font-score, monospace); font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--ink-3, #6C7561); text-transform: uppercase; }
.sz-ov-balls { display: flex; gap: 4px; flex-wrap: wrap; }
.sz-ball {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 22px; padding: 0 4px; border-radius: 50%;
	font-family: var(--font-score, monospace); font-size: 10.5px; font-weight: 700;
	background: var(--paper, #fff); border: 1px solid var(--rule-strong, rgba(25,33,15,.32));
	color: var(--ink, #131A10);
}
.sz-ball.is-dot { background: var(--recess, #EAE8DE); border-color: transparent; color: var(--ink-3, #6C7561); }
.sz-ball.is-4 { background: #1B54FF; border-color: #1B54FF; color: #fff; }
.sz-ball.is-6 { background: #FF7A1A; border-color: #FF7A1A; color: #fff; }
.sz-ball.is-w { background: #E8442B; border-color: #E8442B; color: #fff; }

/* Live board card: compact last-over strip below the scores. */
.sz-sc-lastover { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--rule-strong, rgba(25, 33, 15, 0.32)); position: relative; z-index: 2; }
.sz-sc-lo-lbl { font-family: var(--font-headline); font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); flex: none; }
.sz-sc-lo-balls { display: flex; flex-wrap: wrap; gap: 4px; }
.sz-sc-lastover .sz-ball { min-width: 20px; height: 20px; font-size: 10px; }
/* Match-detail hero: the same strip, a touch larger. */
.sz-md-lastsix { margin-top: 14px; padding-top: 12px; }
.sz-md-lastsix .sz-ball { min-width: 26px; height: 26px; font-size: 12px; }
.sz-md-lastsix .sz-sc-lo-lbl { font-size: 11px; }

/* --- match sections option bar (Scorecard / Over-by-Over / Playing XI) --- */
.sz-md-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 12px; }
.sz-md-tab {
	font-family: var(--font-headline, sans-serif); font-size: 12.5px; font-weight: 800;
	letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2, #39422F);
	background: var(--paper, #fff); border: 1px solid var(--rule-strong, rgba(25,33,15,.32));
	border-radius: var(--radius-pill, 999px); padding: 9px 16px; cursor: pointer;
}
.sz-md-tab:hover { border-color: var(--brand-text, #0B7A43); color: var(--brand-text, #0B7A43); }
.sz-md-tab.is-active { background: var(--brand, #0B7A43); border-color: var(--brand, #0B7A43); color: var(--brand-ink, #FFFFFF); }
/* Panels: everything visible without JS; the script scopes visibility. */
.js-md-tabs .sz-md-panel { display: none; }
.js-md-tabs .sz-md-panel.is-active { display: block; }
.sz-md-panel > .sz-smp-h:first-child { margin-top: 6px; }

/* Collapsible innings: the ink header strip is the toggle. */
summary.sz-md-inn-h { cursor: pointer; list-style: none; user-select: none; }
summary.sz-md-inn-h::-webkit-details-marker { display: none; }
.sz-md-inn-tog { margin-left: auto; font-size: 12px; transition: transform .18s ease; }
.sz-md-inn:not([open]) .sz-md-inn-tog { transform: rotate(-90deg); }
.sz-md-inn:not([open]) { padding-bottom: 0; }
.sz-md-inn:not([open]) .sz-md-inn-h { margin-bottom: 0; }

/* Tightened rhythm on the match page (user: remove unneeded spacing). */
.sz-md-hero { margin-top: 10px; }
.sz-md-inn { margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .sz-md-inn-tog { transition: none; } }
.sz-ov-sum { margin-left: auto; flex-shrink: 0; font-size: 11.5px; font-weight: 600; color: var(--ink-2, #39422F); white-space: nowrap; }
.sz-ov-wkt { padding: 4px 0 7px 58px; font-size: 12px; font-weight: 600; color: #E8442B; border-bottom: 1px dashed var(--rule, rgba(25,33,15,.13)); }

/* ---- venue spotlight ---- */
.sz-venue {
	position: relative; border-radius: var(--radius-md, 10px); overflow: hidden;
	background: linear-gradient(180deg, rgba(14,19,10,.55), rgba(14,19,10,.9)), var(--vbg, none) center/cover, var(--ink, #131A10);
	box-shadow: var(--shadow-card); min-height: 150px; display: flex; align-items: flex-end;
}
.sz-venue-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.sz-venue-name { font-family: var(--font-headline, sans-serif); font-weight: 800; font-size: 20px; text-transform: uppercase; color: #F4F3ED; }
.sz-venue-city { font-size: 13px; color: rgba(244,243,237,.75); }
.sz-venue-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 4px; }

/* ---- scorecard player links ---- */
.sz-md-pl { color: inherit; text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--brand, #0B7A43) 40%, transparent); }
.sz-md-pl:hover { color: var(--brand-text, #0B7A43); border-bottom-color: var(--brand-text, #0B7A43); }

@media (max-width: 640px) {
	.sz-lgp-hero, .sz-pl-hero { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 18px; }
	.sz-pl-name, .sz-lgp-name { font-size: 20px; }
	.sz-ov { flex-wrap: wrap; }
	.sz-ov-sum { margin-left: 58px; }
	.sz-stand-form-h, .sz-stand-form { display: none; }
}

/* Theme content-area heading/link rules outrank single classes — pin the
   hero titles' light-on-ink colors and strip inherited link underlines. */
.sz-lgp-hero .sz-lgp-name, h2.sz-lgp-name { color: #F4F3ED; }
.sz-pl-hero .sz-pl-name, h2.sz-pl-name { color: #F4F3ED; }
.sz-xi-team .sz-xi-name { color: #F4F3ED; }
.entry-content .sz-smp a, .page-main .sz-smp a,
.entry-content a.sz-lg-card, .entry-content a.sz-plchip, .entry-content a.sz-stand-squad {
	text-decoration: none;
}
.entry-content .sz-smp a.sz-md-back { text-decoration: none; }

/* SEO tagline under hero panels — a real H2 for crawlers, quiet for humans. */
.sz-smp-tagline {
	font-family: var(--font-body, sans-serif);
	font-size: 14.5px; font-weight: 600; line-height: 1.45;
	color: var(--ink-2, #39422F);
	margin: 14px 0 4px; padding: 0;
	text-transform: none; letter-spacing: 0;
}

/* ==========================================================================
   SCORE-CARD READABILITY + MOBILE PASS (2026-07-13, user request)
   — full team names (two-line wrap, no "Worce…" ellipsis), no winner tick,
     tighter alignment on phones.
   ========================================================================== */

/* Team names wrap to two lines instead of clipping mid-word. */
.sz-sc-name,
.sz-rail-name {
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.22;
	overflow-wrap: anywhere;
}

/* Winner is shown by colour + the dimmed loser — the ✓ tick is gone. */
.sz-sc-team.is-winner .sz-sc-name::after,
.sz-rail-team.is-winner .sz-rail-name::after { content: none; }

/* Scores never collide with names: name gets the room, score stays intact. */
.sz-sc-team { align-items: center; }
.sz-sc-score { flex-shrink: 0; max-width: 52%; }

/* ---- phones ---- */
@media (max-width: 640px) {
	.sz-sc-card { padding: 13px 14px; }
	.sz-sc-name { font-size: 13.5px; }
	.sz-sc-score { font-size: 14px; }
	.sz-sc-series { font-size: 10px; }
	.sz-sc-status { font-size: 12px; }
	.sz-sc-grid { gap: 12px; }

	/* Match hero: big but wrapping cleanly. */
	.sz-md-hero .sz-sc-name { font-size: 17px; }
	.sz-md-hero .sz-sc-score { font-size: 17px; }

	/* Homepage rail cards. */
	.sz-rail-name { font-size: 13.5px; }
	.sz-rail-score { font-size: 13px; }

	/* Feature pages. */
	.sz-smp-h { font-size: 15.5px; }
	.sz-smp-tagline { font-size: 13px; }
	.sz-plchip-grid { grid-template-columns: 1fr 1fr; }
	.sz-xi .sz-plchip-grid { grid-template-columns: 1fr; }
	.sz-plchip { padding: 6px 8px 6px 6px; }
	.sz-plchip-name { font-size: 12px; }
	.sz-squadp { padding: 2px 12px 12px; }
	.sz-lg-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.sz-lg-card { padding: 13px 13px 12px; }
	.sz-lg-name { font-size: 13.5px; }
	.sz-venue-body { padding: 16px 16px; }
	.sz-venue-name { font-size: 16px; }
	.sz-ovs-list { max-height: 340px; }
	.sz-ball { min-width: 20px; height: 20px; font-size: 10px; }
	.sz-stand-table td, .sz-stand-table th { padding: 8px 9px; font-size: 12.5px; }
	.sz-stand-crest { width: 20px; height: 20px; }
}

/* ==========================================================================
   LEAGUE-PAGE SQUAD LINKS (2026-07-13) — only the deep-link helpers live
   here. The .sz-smp-inpage PANEL FRAMING moved to the theme's style.css so
   it always loads with the editorial league/team page templates.
   ========================================================================== */
#sz-squad-panel { scroll-margin-top: 90px; }
.sz-team-squad-link { position: relative; text-decoration: none; }

/* ==========================================================================
   MATCH PAGE — BOARD-CARD DNA (2026-07-16, user: "same design as the score
   cards"). Every block carries the cards' signature: 3px accent top bar,
   paper surface, soft lift on interaction. No layout changes.
   ========================================================================== */

/* The accent top bar — the board cards' signature — on every inner card. */
.sz-md-inn,
.sz-ovs,
.sz-xi-team,
.sz-md-facts .sz-md-fact { position: relative; }

.sz-md-inn::before,
.sz-ovs::before,
.sz-xi-team::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--brand, #0B7A43);
	z-index: 2;
	pointer-events: none;
}

/* Interactive cards lift like the board cards do. */
.sz-md-inn,
.sz-ovs {
	transition: box-shadow 0.25s var(--ease-out, ease), border-color 0.25s var(--ease-out, ease);
}
.sz-md-inn:hover,
.sz-ovs:hover {
	border-color: var(--rule-strong, rgba(25,33,15,.32));
	box-shadow: var(--shadow-hover, 0 6px 18px -6px rgba(11,122,67,.18));
}

/* Facts chips: gentle card hover, same family. */
.sz-md-fact { transition: border-color 0.2s var(--ease-out, ease); }
.sz-md-fact:hover { border-color: var(--rule-strong, rgba(25,33,15,.32)); border-left-color: var(--brand, #0B7A43); }

/* Live matches: the whole page inherits the LIVE accent — innings and overs
   bars glow accent red while play is on, exactly like live board cards. */
.sz-md-page:has(.sz-sc-live) .sz-md-inn::before,
.sz-md-page:has(.sz-sc-live) .sz-ovs::before { background: var(--accent, #E8442B); }
.sz-md-page.sz-md-live .sz-md-inn::before,
.sz-md-page.sz-md-live .sz-ovs::before { background: var(--accent, #E8442B); }

@media (prefers-reduced-motion: reduce) {
	.sz-md-inn, .sz-ovs, .sz-md-fact { transition: none; }
}

/* ==========================================================================
   BOARD + HERO = HOMEPAGE RAIL DESIGN (2026-07-16). The scores-page cards
   now share the rail card's markup; these rules adapt it to the grid, and
   dress the match hero in the same team-colour floodlit panel.
   ========================================================================== */

/* Rail cards inside the board grid: fill their grid cell, no snap sizing. */
.sz-sc-grid .sz-rail-card { flex: initial; width: auto; }

/* Match hero — same DNA: team-colour glows, dots, winner tint, sheen. */
.sz-md-hero {
	background:
		radial-gradient(130% 92% at 0% 0%, color-mix(in srgb, var(--t1, #0B7A43) 15%, transparent), transparent 60%),
		radial-gradient(130% 92% at 100% 0%, color-mix(in srgb, var(--t2, #E8442B) 13%, transparent), transparent 60%),
		var(--paper, #fff);
	border: 1px solid var(--rule-strong, rgba(25,33,15,.2));
	border-radius: 14px;
}
.sz-md-hero.sz-sc-card::before { display: none; }
.sz-md-hero::after {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 48%;
	background: linear-gradient(180deg, rgba(255,255,255,.05), transparent);
	pointer-events: none;
	border-radius: 14px 14px 0 0;
}
.sz-md-hero .sz-sc-team { position: relative; padding-left: 17px; }
.sz-md-hero .sz-sc-team::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--t1, #0B7A43);
}
.sz-md-hero .sz-sc-team + .sz-sc-team::before { background: var(--t2, #E8442B); }
.sz-md-hero .sz-sc-team.is-winner .sz-sc-name,
.sz-md-hero .sz-sc-team.is-winner .sz-sc-score { color: var(--brand-text, #0B7A43); }
