/* Zoroverse Predictions: "Ticket stub" design.
   Every rule is scoped under .zp-root so the theme's own button, link and table styles don't leak in. */

/* ---------- Tokens (light, with a dark variant) ---------- */
.zp-root, .zp-page, body:has(.zp-root) {
	--zp-bg: #ECF0EB; --zp-surface: #FFFFFF; --zp-surface-2: #F3F6F2; --zp-line: #D2DAD3;
	--zp-text: #13201A; --zp-muted: #56665D; --zp-accent: #13201A; --zp-accent-ink: #FFFFFF;
	--zp-good: #1D8752; --zp-ok: #2A5FC0; --zp-bad: #BF3F2C; --zp-wait: #8A6A14; --zp-focus: #2A5FC0;
	--zp-plate: transparent; --zp-plate-pad: 0;
	--zp-shadow: 0 1px 2px rgba(19,32,26,.08), 0 10px 26px -14px rgba(19,32,26,.28);
	--zp-radius: 10px;
	--zp-display: 'Saira Extra Condensed', 'Arial Narrow', sans-serif;
	--zp-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--zp-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	.zp-root, .zp-page, body:has(.zp-root) {
		--zp-bg: #0E1411; --zp-surface: #17201B; --zp-surface-2: #1D2822; --zp-line: #2B3831;
		--zp-text: #E5ECE7; --zp-muted: #98A79E; --zp-accent: #E5ECE7; --zp-accent-ink: #0E1411;
		--zp-good: #58C98E; --zp-ok: #7EA9F6; --zp-bad: #F2876F; --zp-wait: #E3C46B; --zp-focus: #7EA9F6;
		--zp-plate: #EEF2EF; --zp-plate-pad: .13;
		--zp-shadow: 0 1px 0 rgba(255,255,255,.03), 0 12px 28px -16px rgba(0,0,0,.7);
		color-scheme: dark;
	}
}

body.zp-page, body:has(.zp-root) { background: var(--zp-bg); color: var(--zp-text); }
body.zp-page { margin: 0; font-family: var(--zp-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
body.zp-page .zp-main { flex: 1 0 auto; }

.zp-root { font-family: var(--zp-body); font-size: 16px; line-height: 1.5; color: var(--zp-text); }
.zp-root *, .zp-root *::before, .zp-root *::after { box-sizing: border-box; }
.zp-root :focus-visible { outline: 2px solid var(--zp-focus); outline-offset: 2px; }
.zp-root [hidden] { display: none !important; }
.zp-root .zp-wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.zp-root .zp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .zp-root *, .zp-root *::before, .zp-root *::after { animation: none !important; transition: none !important; } }

/* ---------- Type ---------- */
.zp-root .zp-h1 { font: 800 clamp(48px, 6.6vw, 84px)/.9 var(--zp-display); text-transform: uppercase; letter-spacing: 0; color: var(--zp-text); margin: 0 0 20px; text-wrap: balance; }
.zp-root .zp-h2 { font: 800 clamp(34px, 4.4vw, 46px)/1 var(--zp-display); text-transform: uppercase; letter-spacing: 0; color: var(--zp-text); margin: 0; }
.zp-root .zp-h3 { font: 800 28px/1.02 var(--zp-display); text-transform: uppercase; color: var(--zp-text); margin: 10px 0 6px; }
.zp-root .zp-eyebrow { font: 600 12px/1 var(--zp-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--zp-muted); margin: 0 0 14px; }
.zp-root .zp-lead { font-size: 18px; color: var(--zp-muted); max-width: 42ch; margin: 0 0 22px; }
.zp-root .zp-lead b { color: var(--zp-text); font-weight: 700; }
.zp-root .zp-note { color: var(--zp-muted); font-size: 14px; margin: 0; }
.zp-root .zp-empty { padding: 28px 20px; margin: 0; color: var(--zp-muted); text-align: center; border: 1px dashed var(--zp-line); border-radius: var(--zp-radius); }

/* ---------- Crests ---------- */
.zp-root .zp-crest { width: var(--cs, 32px); height: var(--cs, 32px); flex: none; display: inline-block; overflow: hidden; border-radius: 50%; background: var(--zp-plate); padding: calc(var(--cs, 32px) * var(--zp-plate-pad)); }
.zp-root .zp-crest img { width: 100%; height: 100%; max-width: none; object-fit: contain; display: block; border: 0; }
.zp-root .zp-crest--text { display: inline-grid; place-items: center; padding: 0; background: var(--c, #5F6B64); color: var(--ci, #fff); font: 700 calc(var(--cs, 32px) * .32)/1 var(--zp-mono); }

/* ---------- Badges and record ---------- */
.zp-root .zp-badge { display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 var(--zp-body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.zp-root .zp-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.zp-root .zp-badge--exact { color: var(--zp-good); background: color-mix(in srgb, var(--zp-good) 15%, transparent); }
.zp-root .zp-badge--result { color: var(--zp-ok); background: color-mix(in srgb, var(--zp-ok) 15%, transparent); }
.zp-root .zp-badge--miss { color: var(--zp-bad); background: color-mix(in srgb, var(--zp-bad) 15%, transparent); }
.zp-root .zp-badge--wait { color: var(--zp-wait); background: color-mix(in srgb, var(--zp-wait) 15%, transparent); }
.zp-root .zp-record { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--zp-muted); }

/* ---------- Hero ---------- */
.zp-root .zp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 56px 44px; }
.zp-root .zp-hero--solo { grid-template-columns: minmax(0, 1fr); }
.zp-root .zp-hero-side .zp-eyebrow { margin-bottom: 12px; }

/* ---------- Sections ---------- */
.zp-root .zp-sec { padding-block: 40px 8px; }
.zp-root .zp-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.zp-root .zp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.zp-root .zp-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; border: 1px solid var(--zp-line); background: var(--zp-surface); color: var(--zp-text); border-radius: 999px; padding: 8px 14px; font: 600 14px/1.2 var(--zp-body); text-transform: none; white-space: nowrap; cursor: pointer; transition: border-color .15s; }
.zp-root .zp-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--lg); }
.zp-root .zp-chip:hover, .zp-root .zp-chip:focus { background: var(--zp-surface); color: var(--zp-text); border-color: var(--zp-muted); }
.zp-root .zp-chip[aria-pressed="true"], .zp-root .zp-chip[aria-pressed="true"]:hover { background: var(--zp-accent); color: var(--zp-accent-ink); border-color: var(--zp-accent); }
.zp-root .zp-chip[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--zp-accent-ink); }
.zp-root .zp-chip-n { font: 600 12px/1 var(--zp-mono); opacity: .72; }

/* ---------- Tickets ---------- */
.zp-root .zp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.zp-root .zp-ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 134px; background: var(--zp-surface); border-radius: var(--zp-radius); box-shadow: var(--zp-shadow); margin: 0; }
.zp-root .zp-t-main { padding: 16px 18px; min-width: 0; }
.zp-root .zp-t-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 13px; color: var(--zp-muted); margin-bottom: 14px; }
.zp-root .zp-t-lg { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--zp-text); }
.zp-root .zp-t-lg i { width: 9px; height: 9px; border-radius: 50%; background: var(--lg); }
.zp-root .zp-t-rows { display: grid; gap: 8px; }
.zp-root .zp-t-row { display: grid; grid-template-columns: auto minmax(0, 1fr) 36px; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; }
.zp-root .zp-t-row .zp-crest { --cs: 34px; }
.zp-root .zp-t-name { overflow-wrap: anywhere; }
.zp-root .zp-t-goal { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; background: var(--zp-surface-2); color: var(--zp-muted); font: 600 20px/1 var(--zp-mono); }
.zp-root .zp-t-goal.is-open { color: var(--zp-text); background: color-mix(in srgb, var(--lg) 16%, var(--zp-surface)); }
.zp-root .zp-t-serial { margin-top: 14px; font: 500 11px/1.3 var(--zp-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--zp-muted); }
.zp-root .zp-t-stub { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 10px; background: var(--lg); color: #fff; border-radius: 0 var(--zp-radius) var(--zp-radius) 0; padding: 16px 14px; border-left: 2px dashed rgba(255,255,255,.6); }
.zp-root .zp-t-stub::before, .zp-root .zp-t-stub::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--zp-bg); }
.zp-root .zp-t-stub::before { top: -10px; }
.zp-root .zp-t-stub::after { bottom: -10px; }
.zp-root .zp-t-admit { font: 600 11px/1.3 var(--zp-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.zp-root .zp-t-price { font: 800 32px/1 var(--zp-display); }
.zp-root .zp-t-price--sm { font-size: 24px; }
.zp-root .zp-t-note, .zp-root .zp-t-paid { font-size: 12px; line-height: 1.3; opacity: .9; }
.zp-root .zp-t-btn { width: 100%; margin: 0; border: 0; border-radius: 6px; background: #fff; color: var(--lg); font: 700 14px/1.2 var(--zp-body); text-transform: none; letter-spacing: 0; padding: 9px 10px; cursor: pointer; transition: background .15s; }
.zp-root .zp-t-btn:hover, .zp-root .zp-t-btn:focus { background: rgba(255,255,255,.86); color: var(--lg); }
.zp-root .zp-t-btn:focus-visible { outline-color: #fff; }
.zp-root .zp-t-btn[disabled] { opacity: .7; cursor: progress; }
/* The countdown to kick-off on the stub, and the dot beside "In play". */
.zp-root .zp-t-cd { font-size: 12px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.zp-root .zp-t-cd b { font-weight: 700; white-space: nowrap; }
.zp-root .zp-t-cd.is-urgent b { display: inline-block; background: rgba(255,255,255,.22); border-radius: 4px; padding: 1px 5px; }
/* On a "Coming soon" stub the time left takes its own line, so every stub reads the same however long it is. */
.zp-root .zp-t-note.zp-t-cd b { display: block; width: fit-content; margin-top: 2px; }
.zp-root .zp-live { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: currentColor; vertical-align: .1em; animation: zp-live 1.6s ease-in-out infinite; }
@keyframes zp-live { 50% { opacity: .3; } }
/* A score box turning over from "?" to the score: the box flips while its two faces swap half-way round. */
.zp-root .zp-t-goal.is-flip { animation: zp-flip .56s var(--zp-flip-delay, 0s) both; }
.zp-root .zp-t-goal.is-flip > * { grid-area: 1 / 1; font: inherit; }
.zp-root .zp-t-goal.is-flip > i { animation: zp-face-out .56s var(--zp-flip-delay, 0s) step-end both; }
.zp-root .zp-t-goal.is-flip > b { animation: zp-face-in .56s var(--zp-flip-delay, 0s) step-end both; }
@keyframes zp-flip {
	0% { transform: perspective(260px) rotateX(0); animation-timing-function: ease-in; }
	50% { transform: perspective(260px) rotateX(90deg); background: var(--zp-surface-2); color: var(--zp-muted); animation-timing-function: step-end; }
	50.01% { transform: perspective(260px) rotateX(-90deg); background: color-mix(in srgb, var(--lg) 16%, var(--zp-surface)); color: var(--zp-text); animation-timing-function: ease-out; }
	100% { transform: perspective(260px) rotateX(0); background: color-mix(in srgb, var(--lg) 16%, var(--zp-surface)); color: var(--zp-text); }
}
@keyframes zp-face-out { 0% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes zp-face-in { 0% { opacity: 0; } 50%, 100% { opacity: 1; } }

.zp-root .zp-ticket--big { grid-template-columns: minmax(0, 1fr) 156px; }
.zp-root .zp-ticket--big .zp-t-main { padding: 22px 24px; }
.zp-root .zp-ticket--big .zp-t-rows { gap: 12px; }
.zp-root .zp-ticket--big .zp-t-row { grid-template-columns: auto minmax(0, 1fr) 50px; gap: 14px; font-size: 22px; font-weight: 700; }
.zp-root .zp-ticket--big .zp-t-row .zp-crest { --cs: 48px; }
.zp-root .zp-ticket--big .zp-t-goal { width: 50px; height: 50px; font-size: 28px; }
.zp-root .zp-ticket--big .zp-t-stub { padding: 22px 16px; }
.zp-root .zp-ticket--big .zp-t-price { font-size: 42px; }
.zp-root .zp-ticket--big .zp-t-price--sm { font-size: 28px; }
.zp-root .zp-ticket--big .zp-t-btn { font-size: 15px; padding: 11px 10px; }

/* ---------- Results table ---------- */
.zp-root .zp-tbl-wrap { overflow-x: auto; background: var(--zp-surface); border-radius: var(--zp-radius); box-shadow: var(--zp-shadow); }
.zp-root .zp-tbl { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-spacing: 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.zp-root .zp-tbl th { font: 700 12px/1 var(--zp-body); letter-spacing: .12em; text-transform: uppercase; color: var(--zp-muted); text-align: left; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--zp-line); background: transparent; }
.zp-root .zp-tbl td { padding: 14px 16px; border: 0; border-top: 1px solid var(--zp-line); vertical-align: middle; background: transparent; line-height: 1.4; }
.zp-root .zp-tbl tbody tr:first-child td, .zp-root .zp-tbl tbody tr.is-first td { border-top: 0; }
.zp-root .zp-tbl tbody tr > td, .zp-root .zp-tbl tbody tr:hover > td, .zp-root .zp-tbl tbody > tr:nth-child(odd) > td { background: transparent; }
.zp-root .zp-r-match { display: flex; align-items: center; gap: 12px; }
.zp-root .zp-r-crests { display: flex; flex: none; }
.zp-root .zp-r-crests .zp-crest { --cs: 28px; }
.zp-root .zp-r-crests .zp-crest + .zp-crest { margin-left: -6px; }
.zp-root .zp-r-name { font-weight: 600; }
.zp-root .zp-r-meta { font-size: 13px; color: var(--zp-muted); margin-top: 2px; }
.zp-root .zp-r-score { font: 600 19px/1 var(--zp-mono); white-space: nowrap; }
/* A score as two boxes, as on a ticket. A predicted goal count that matched the final score is ringed in green. */
.zp-root .zp-sc { display: inline-flex; gap: 4px; vertical-align: middle; }
.zp-root .zp-sc b { min-width: 30px; height: 30px; padding: 0 4px; display: grid; place-items: center; border-radius: 5px; background: var(--zp-surface-2); color: var(--zp-text); font: 600 17px/1 var(--zp-mono); }
.zp-root .zp-sc b.is-hit { background: color-mix(in srgb, var(--zp-good) 16%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--zp-good) 60%, transparent); }
.zp-root .zp-sc--none b { color: var(--zp-muted); }
/* The row a mark in the form strip points to lights up for a moment. */
.zp-root .zp-tbl tr.is-flash, .zp-root .zp-tbl tr:target { animation: zp-flash 2s ease-out; }
@keyframes zp-flash { 0%, 30% { background: color-mix(in srgb, var(--zp-wait) 24%, transparent); } 100% { background: transparent; } }

/* ---------- Track record (above a results table) ---------- */
.zp-root .zp-rec { background: var(--zp-surface); border-radius: var(--zp-radius); box-shadow: var(--zp-shadow); margin-bottom: 18px; }
.zp-root .zp-rec-view { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 48px; padding: 22px 24px; }
.zp-root .zp-rec .zp-eyebrow { margin-bottom: 12px; }
.zp-root .zp-rec-big { margin: 0; font: 800 76px/.8 var(--zp-display); color: var(--zp-text); font-variant-numeric: tabular-nums; }
.zp-root .zp-rec-big span { font-size: .56em; color: var(--zp-muted); }
.zp-root .zp-rec-cap { margin: 12px 0 0; font-size: 14px; color: var(--zp-muted); }
.zp-root .zp-rec-cap b { font-weight: 700; color: var(--zp-text); }
.zp-root .zp-rec-bar { display: flex; gap: 3px; height: 12px; border-radius: 999px; overflow: hidden; }
.zp-root .zp-rec-seg { flex: 1 0 0; min-width: 8px; }
.zp-root .zp-rec-seg--exact { background: var(--zp-good); }
.zp-root .zp-rec-seg--result { background: var(--zp-ok); }
.zp-root .zp-rec-seg--miss { background: var(--zp-bad); }
.zp-root .zp-rec-key { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; color: var(--zp-muted); }
.zp-root .zp-rec-key li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.zp-root .zp-rec-key b { font-weight: 700; color: var(--zp-text); font-variant-numeric: tabular-nums; }
.zp-root .zp-rec-key .zp-mark { width: 20px; height: 20px; border-radius: 5px; }
.zp-root .zp-form { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 0; padding: 0; }
.zp-root .zp-form li { display: flex; margin: 0; }
/* One prediction: a solid green tick for the exact score, an outlined blue tick for the right result, a red cross for a miss. */
.zp-root .zp-mark { width: 26px; height: 26px; flex: none; display: inline-grid; place-items: center; border-radius: 6px; color: var(--mk); text-decoration: none; }
.zp-root a.zp-mark { transition: transform .12s; }
.zp-root a.zp-mark:hover, .zp-root a.zp-mark:focus { color: var(--mk); transform: translateY(-2px); }
.zp-root .zp-mark svg { width: 12px; height: 12px; display: block; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.zp-root .zp-mark--exact { --mk: var(--zp-surface); background: var(--zp-good); }
.zp-root .zp-mark--result { --mk: var(--zp-ok); background: color-mix(in srgb, var(--zp-ok) 14%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--zp-ok) 55%, transparent); }
.zp-root .zp-mark--miss { --mk: var(--zp-bad); background: color-mix(in srgb, var(--zp-bad) 14%, transparent); }

/* ---------- How it works ---------- */
.zp-root .zp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 8px 0 0; padding: 0; }
.zp-root .zp-steps li { border-top: 3px solid var(--zp-text); padding-top: 14px; margin: 0; }
.zp-root .zp-step-n { font: 600 12px/1 var(--zp-mono); letter-spacing: .1em; color: var(--zp-muted); }
.zp-root .zp-steps p { margin: 0; color: var(--zp-muted); }
.zp-root .zp-after { color: var(--zp-muted); margin: 22px 0 0; max-width: 70ch; }

/* ---------- Plain pages (Terms, Refund policy…) ---------- */
.zp-root .zp-prose { padding-block: 48px 8px; }
.zp-root .zp-prose > * { max-width: 70ch; }
.zp-root .zp-prose .zp-h2 { margin-bottom: 24px; }
.zp-root .zp-prose p, .zp-root .zp-prose li { color: var(--zp-text); margin: 0 0 14px; }
.zp-root .zp-prose a { color: var(--zp-ok); }
.zp-root .zp-prose h2 { font: 800 28px/1.05 var(--zp-display); text-transform: uppercase; color: var(--zp-text); margin: 32px 0 10px; }
.zp-root .zp-prose ul { padding-left: 1.2em; margin: 0 0 14px; }
.zp-root .zp-prose mark.zp-fill, .zp-root .zp-prose .zp-fill { background: color-mix(in srgb, var(--zp-wait) 25%, transparent); color: var(--zp-text); padding: 0 4px; border-radius: 3px; font-weight: 600; }
.zp-root .zp-404 { padding-block: 72px 24px; }
.zp-root .zp-prose a.zp-404-btn, .zp-root .zp-prose a.zp-404-btn:hover { display: inline-block; margin-top: 8px; background: var(--zp-accent); color: var(--zp-accent-ink); padding: 12px 18px; border-radius: 8px; font-weight: 700; text-decoration: none; }

/* ---------- Site header and footer (Zoroverse page template) ---------- */
.zp-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #111; padding: 8px 12px; border-radius: 6px; }
.zp-skip:focus { left: 8px; }
/* The header and footer spell out their own position and background, so a site's leftover styling for every
   <header> or <footer> (the old Zoroverse header was floated over its banner that way) can't move them or see through them. */
.zp-root.zp-site-head, .zp-root.zp-site-foot { position: relative; inset: auto; width: auto; z-index: auto; box-shadow: none; background: var(--zp-surface) !important; }
.zp-root.zp-site-head { border-bottom: 1px solid var(--zp-line); }
.zp-root .zp-site-head-in { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 64px; flex-wrap: wrap; }
.zp-root .zp-logo { display: flex; align-items: center; gap: 10px; font: 800 30px/1 var(--zp-display); text-transform: uppercase; letter-spacing: .02em; color: var(--zp-text); text-decoration: none; }
.zp-root .zp-logo:hover { color: var(--zp-text); }
.zp-root .zp-logo i { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(#4A2A7A 0 20%, #C5372B 0 40%, #1E3B8C 0 60%, #B05406 0 80%, #1B7148 0); }
.zp-root .zp-logo .zp-logo-img { width: 52px; height: 52px; max-width: none; border-radius: 50%; object-fit: cover; display: block; flex: none; box-shadow: 0 0 0 1px var(--zp-line); }
@media (max-width: 640px) { .zp-root .zp-logo .zp-logo-img { width: 44px; height: 44px; } }
.zp-root .zp-nav-list { display: flex; gap: 4px 22px; list-style: none; margin: 0; padding: 0; }
.zp-root .zp-nav-list a { color: var(--zp-muted); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.zp-root .zp-nav-list a:hover, .zp-root .zp-nav-list .current-menu-item > a { color: var(--zp-text); }
.zp-root .zp-nav-list .current-menu-item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.zp-root.zp-site-foot { margin-top: 56px; border-top: 1px solid var(--zp-line); padding-block: 28px 44px; color: var(--zp-muted); font-size: 14px; }
.zp-root .zp-site-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.zp-root .zp-foot-text p { max-width: 64ch; margin: 0 0 6px; }
.zp-root .zp-foot-nav .zp-nav-list { flex-wrap: wrap; gap: 8px 20px; }
.zp-root .zp-foot-nav a { font-size: 14px; }

/* ---------- Dialog (unlock confirmation and errors) ---------- */
.zp-root.zp-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(4,9,7,.64); display: grid; place-items: center; padding: 16px; }
.zp-root .zp-sheet { width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--zp-surface); color: var(--zp-text); border: 1px solid var(--zp-line); border-radius: var(--zp-radius); padding: 24px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.6); }
.zp-root .zp-sheet .zp-eyebrow { margin-bottom: 10px; }
.zp-root .zp-sheet-title { font: 800 30px/1 var(--zp-display); text-transform: uppercase; color: var(--zp-text); margin: 0 0 18px; }
.zp-root .zp-sheet p { margin: 0 0 18px; color: var(--zp-muted); font-size: 15px; }
.zp-root .zp-sheet-btn { display: block; width: 100%; margin: 0; border: 0; border-radius: 8px; background: var(--zp-accent); color: var(--zp-accent-ink); font: 700 16px/1.2 var(--zp-body); text-transform: none; padding: 13px 16px; cursor: pointer; }
.zp-root .zp-sheet-btn:hover, .zp-root .zp-sheet-btn:focus { background: var(--zp-accent); color: var(--zp-accent-ink); opacity: .92; }

/* ---------- Reveal (after paying: the ticket in the dialog loses its stub and the score turns over) ---------- */
/* Each piece rests in its finished state and the animation plays up to it, so with motion switched off the score is simply there. */
.zp-root.zp-modal--reveal .zp-sheet { animation: zp-rise .26s ease-out both; }
@keyframes zp-rise { 0% { opacity: 0; transform: translateY(12px); } }
.zp-root .zp-stage { background: var(--zp-bg); border-radius: var(--zp-radius); padding: 16px; margin-bottom: 18px; overflow: hidden; }
.zp-root .zp-ticket--reveal { grid-template-columns: minmax(0, 1fr); background: transparent; box-shadow: none; }
.zp-root .zp-ticket--reveal .zp-t-main { position: relative; background: var(--zp-surface); border-radius: var(--zp-radius) var(--zp-radius) 0 0; box-shadow: var(--zp-shadow); padding: 18px 18px 16px; }
/* The edge the stub leaves behind: a row of half-holes along the perforation. */
.zp-root .zp-ticket--reveal .zp-t-main::after { content: ""; position: absolute; inset: 100% 0 auto; height: 5px; background: radial-gradient(circle at 6px 5px, transparent 3.2px, var(--zp-surface) 3.8px) 0 0 / 12px 5px repeat-x; }
.zp-root .zp-ticket--reveal .zp-t-rows { gap: 12px; }
.zp-root .zp-ticket--reveal .zp-t-row { grid-template-columns: auto minmax(0, 1fr) 52px; gap: 14px; font-size: 20px; font-weight: 700; line-height: 1.15; }
.zp-root .zp-ticket--reveal .zp-t-row .zp-crest { --cs: 44px; }
.zp-root .zp-ticket--reveal .zp-t-goal { width: 52px; height: 52px; font-size: 30px; }
.zp-root .zp-ticket--reveal .zp-t-stub { grid-area: 2 / 1; z-index: 1; flex-direction: row; flex-wrap: wrap; align-items: center; border-left: 0; border-top: 2px dashed rgba(255,255,255,.6); border-radius: 0 0 var(--zp-radius) var(--zp-radius); padding: 12px 18px; transform-origin: 0 0; opacity: 0; animation: zp-tear .85s .5s both; }
.zp-root .zp-ticket--reveal .zp-t-stub::before { left: -10px; top: -11px; }
.zp-root .zp-ticket--reveal .zp-t-stub::after { left: auto; right: -10px; top: -11px; bottom: auto; }
.zp-root .zp-ticket--reveal .zp-t-admit { flex: 0 1 auto; }
.zp-root .zp-ticket--reveal .zp-t-price { font-size: 30px; margin: 0; }
.zp-root .zp-reveal-kept { grid-area: 2 / 1; align-self: center; padding-top: 5px; text-align: center; font-size: 14px; color: var(--zp-muted); animation: zp-fade .4s 1.55s both; }
@keyframes zp-tear {
	0% { opacity: 1; transform: none; animation-timing-function: ease-in-out; }
	14% { opacity: 1; transform: rotate(-1.4deg); }
	30% { opacity: 1; transform: rotate(1.2deg) translateY(1px); }
	46% { opacity: 1; transform: rotate(3.5deg) translateY(3px); animation-timing-function: cubic-bezier(.5, 0, 1, .6); }
	100% { opacity: 0; transform: rotate(14deg) translate(26px, 90px); }
}
@keyframes zp-fade { 0% { opacity: 0; } }

/* ---------- Payment dialog (Stripe's form sits in .zp-pay-frame; Stripe draws it on white in both themes) ---------- */
/* The dialog hangs from the top, a little lower on tall screens, so its title bar stays put while the form below it loads and grows. */
.zp-root.zp-modal--pay { --zp-pay-top: clamp(0px, 8dvh - 56px, 48px); align-items: start; padding-top: calc(16px + var(--zp-pay-top)); }
.zp-root.zp-modal--pay .zp-sheet { position: relative; display: flex; flex-direction: column; width: min(480px, 100%); max-height: calc(100dvh - 32px - var(--zp-pay-top)); padding: 0; overflow: hidden; }
.zp-root .zp-pay-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; background: var(--zp-surface); border-bottom: 1px solid var(--zp-line); border-radius: var(--zp-radius) var(--zp-radius) 0 0; }
.zp-root .zp-pay-head .zp-sheet-title { font-size: 26px; margin: 0; }
.zp-root .zp-pay-close { flex: none; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--zp-muted); font: 400 28px/1 var(--zp-body); cursor: pointer; }
.zp-root .zp-pay-close:hover, .zp-root .zp-pay-close:focus { background: var(--zp-surface-2); color: var(--zp-text); }
/* The form scrolls under the title bar with no scrollbar; a soft shadow along the bottom edge shows when there is more below. */
.zp-root .zp-pay-frame { position: relative; flex: 1 1 auto; min-height: min(620px, calc(100dvh - 100px - var(--zp-pay-top, 0px))); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: #fff; border-radius: 0 0 var(--zp-radius) var(--zp-radius); }
.zp-root .zp-pay-frame::-webkit-scrollbar { display: none; }
.zp-root.zp-modal--pay .zp-sheet::after { content: ""; position: absolute; inset: auto 0 0; height: 40px; border-radius: 0 0 var(--zp-radius) var(--zp-radius); background: linear-gradient(to bottom, rgba(19,32,26,0), rgba(19,32,26,.22)); opacity: 0; transition: opacity .15s; pointer-events: none; }
.zp-root.zp-modal--pay .zp-sheet.has-more::after { opacity: 1; }
.zp-root .zp-pay-frame.is-loading::before { content: attr(data-zp-loading); position: absolute; inset: 0; display: grid; place-items: center; padding-top: 68px; color: #56665D; font-size: 14px; }
.zp-root .zp-pay-frame.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -32px 0 0 -15px; border: 3px solid #D2DAD3; border-top-color: #13201A; border-radius: 50%; animation: zp-spin .8s linear infinite; }
@keyframes zp-spin { to { transform: rotate(360deg); } }
.zp-root .zp-pay-frame > * { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.zp-root .zp-hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 34px 32px; }
	.zp-root .zp-rec-view { grid-template-columns: auto minmax(0, 1fr); gap: 20px 36px; }
	.zp-root .zp-rec-form { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
	.zp-root .zp-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.zp-root .zp-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 640px) {
	.zp-root .zp-site-head-in { padding-block: 12px; }
	.zp-root .zp-nav { position: relative; width: 100%; overflow-x: auto; scrollbar-width: none; --fade-l: 0px; --fade-r: 0px; }
	.zp-root .zp-nav::-webkit-scrollbar { display: none; }
	/* Fade the edge that has more menu items beyond it, so it's clear the menu scrolls. */
	.zp-root .zp-nav.has-more-left { --fade-l: 36px; }
	.zp-root .zp-nav.has-more-right { --fade-r: 36px; }
	.zp-root .zp-nav.has-more-left, .zp-root .zp-nav.has-more-right {
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
		mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
	}
	.zp-root .zp-nav .zp-nav-list { padding-bottom: 4px; }
}
@media (max-width: 560px) {
	.zp-root .zp-tbl, .zp-root .zp-tbl tbody { display: block; }
	.zp-root .zp-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.zp-root .zp-tbl tr { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 8px 18px; padding: 14px 16px; border-top: 1px solid var(--zp-line); }
	.zp-root .zp-tbl tbody tr:first-child, .zp-root .zp-tbl tbody tr.is-first { border-top: 0; }
	.zp-root .zp-tbl td { padding: 0; border: 0; }
	.zp-root .zp-tbl td:first-child { grid-column: 1 / -1; }
	.zp-root .zp-tbl td:last-child { justify-self: end; }
	.zp-root .zp-tbl td[data-label]::before { content: attr(data-label); display: block; font: 600 11px/1 var(--zp-body); letter-spacing: .1em; text-transform: uppercase; color: var(--zp-muted); margin-bottom: 5px; }
	.zp-root .zp-rec-view { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 18px 16px; }
	.zp-root .zp-rec-big { font-size: 64px; }
}
@media (max-width: 520px) {
	.zp-root .zp-ticket, .zp-root .zp-ticket--big { grid-template-columns: minmax(0, 1fr); }
	.zp-root .zp-t-stub, .zp-root .zp-ticket--big .zp-t-stub { flex-direction: row; flex-wrap: wrap; align-items: center; border-left: 0; border-top: 2px dashed rgba(255,255,255,.6); border-radius: 0 0 var(--zp-radius) var(--zp-radius); padding: 12px 16px; }
	.zp-root .zp-t-stub::before { left: -10px; top: -11px; }
	.zp-root .zp-t-stub::after { left: auto; right: -10px; top: -11px; bottom: auto; }
	.zp-root .zp-t-admit { flex: 1 1 100%; }
	.zp-root .zp-t-price, .zp-root .zp-ticket--big .zp-t-price { font-size: 30px; margin-right: auto; }
	.zp-root .zp-t-price--sm, .zp-root .zp-ticket--big .zp-t-price--sm { font-size: 24px; }
	.zp-root .zp-t-btn { width: auto; padding-inline: 22px; }
	.zp-root .zp-t-note.zp-t-cd b { display: inline-block; margin-top: 0; }
	/* On sale: the countdown sits on the first line, opposite "Admit one prediction". */
	.zp-root .zp-ticket[data-zp-state="on_sale"] .zp-t-stub { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
	.zp-root .zp-ticket[data-zp-state="on_sale"] .zp-t-admit { grid-area: 1 / 1; }
	.zp-root .zp-ticket[data-zp-state="on_sale"] .zp-t-cd { grid-area: 1 / 2; justify-self: end; }
	.zp-root .zp-ticket[data-zp-state="on_sale"] .zp-t-price { grid-area: 2 / 1; }
	.zp-root .zp-ticket[data-zp-state="on_sale"] .zp-t-btn { grid-area: 2 / 2; }
	.zp-root .zp-ticket--big .zp-t-row { grid-template-columns: auto minmax(0, 1fr) 44px; font-size: 19px; }
	.zp-root .zp-ticket--big .zp-t-row .zp-crest { --cs: 40px; }
	.zp-root .zp-ticket--big .zp-t-goal { width: 44px; height: 44px; font-size: 24px; }
	/* On a phone the payment dialog fills the screen, so the form has room. */
	.zp-root.zp-modal--pay { --zp-pay-top: 0px; padding: 0; place-items: stretch; }
	.zp-root.zp-modal--pay .zp-sheet { width: 100%; max-height: 100dvh; border: 0; border-radius: 0; background: #fff; }
	.zp-root.zp-modal--pay .zp-pay-head, .zp-root.zp-modal--pay .zp-pay-frame, .zp-root.zp-modal--pay .zp-sheet::after { border-radius: 0; }
}
