/* ==========================================================================
   FPL Picks — main.css
   (1) Fonts: real @font-face ships in phase 6; system-ui stack until then.
   (2) Tokens v3: v2 palette + AA-safe --accent-ink, radius scale, merged
       dark shell surfaces.
   ========================================================================== */

/* (1) Fonts: self-hosted Barlow + Barlow Condensed (latin/latin-ext),
     metric-matched fallbacks (size-adjust kills swap CLS). */
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/barlow-400-latin.v1.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/barlow-400-latin-ext.v1.woff2") format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/barlow-500-latin.v1.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/barlow-500-latin-ext.v1.woff2") format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-600-latin.v1.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-600-latin-ext.v1.woff2") format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/barlow-700-latin.v1.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/barlow-700-latin-ext.v1.woff2") format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/barlow-800-latin.v1.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/barlow-800-latin-ext.v1.woff2") format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-condensed-600-latin.v1.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-condensed-600-latin-ext.v1.woff2") format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/barlow-condensed-700-latin.v1.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/barlow-condensed-700-latin-ext.v1.woff2") format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Barlow Fallback";
	src: local("Arial");
	size-adjust: 95.8%;
	ascent-override: 104.4%;
	descent-override: 20.9%;
}
@font-face {
	font-family: "Barlow Condensed Fallback";
	src: local("Arial Narrow"), local("Liberation Sans Narrow");
	size-adjust: 97.3%;
	ascent-override: 102.8%;
	descent-override: 20.6%;
}

/* (2) Tokens v3 --------------------------------------------------------- */
:root {
	/* v2 palette (light) — unchanged */
	--bg: #f4f5f3;
	--surface: #ffffff;
	--ink: #14181c;
	--body: #3a4046;
	--muted: #686e76;
	--line: #e2e5e2;
	--soft: #eef1ee;

	/* Brand accent: fills, dark-mode text, graphics */
	--accent: #12b5a0;
	--on-accent: #06110f;
	/* v3: AA-safe accent for text on light surfaces (>= 4.5:1) */
	--accent-ink: #0b7a6c;

	/* v3: dark shell (nav/footer/hero) — always dark, theme-independent */
	--shell-bg: #101418;
	--shell-panel: #161c22;
	--shell-panel-2: #1a2129;
	--shell-line: #232b33;
	--shell-ink: #e8edf1;
	--shell-muted: #98a2ac;

	/* v3: radius scale */
	--r-xs: 5px;
	--r-sm: 7px;
	--r-md: 9px;
	--r-lg: 12px;
	--r-xl: 16px;
	--r-card: 14px;

	/* FDR difficulty scale 1->5 + per-step text color (never color alone) */
	--fdr-1: #127a3c; --fdr-1-ink: #ffffff;
	--fdr-2: #63bd74; --fdr-2-ink: #0a2412;
	--fdr-3: #c9cdd1; --fdr-3-ink: #3a3f44;
	--fdr-4: #e8895f; --fdr-4-ink: #3a1402;
	--fdr-5: #c94539; --fdr-5-ink: #ffffff;

	/* Semantic */
	--rise: #127a3c;
	--fall: #c94539;
	--live: #ff5b5b;
	--positive: #5bb86a;

	/* Typography */
	--font-body: "Barlow", "Barlow Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Barlow Condensed", "Barlow Condensed Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Layout */
	--maxw: 1240px;
	--gutter: 28px;
}

:root[data-theme="dark"] {
	/* v2 palette (dark) — unchanged */
	--bg: #0f1317;
	--surface: #171d23;
	--ink: #edf0f2;
	--body: #b9c1c9;
	--line: #242c34;
	--soft: #1f2830;
	/* v3: dark muted raised #5a646e -> #7d8891 for contrast */
	--muted: #7d8891;
	/* accent-ink stays usable on dark; --accent already passes there */
	--accent-ink: #12b5a0;
}

/* FPL signature palette: deep club purple + neon green accent.
   Dark-family theme, so the always-dark shell is tinted purple to match. */
:root[data-theme="fpl"] {
	--bg: #2a002e;
	--surface: #38003d;
	--ink: #ffffff;
	--body: #e8dff0;
	--muted: #b39dba;
	--line: #4a1552;
	--soft: #3f0a45;

	--accent: #00ff87;
	--on-accent: #2a002e;
	/* green on purple clears AA by a wide margin */
	--accent-ink: #00ff87;

	--shell-bg: #1e0021;
	--shell-panel: #2a002e;
	--shell-panel-2: #340438;
	--shell-line: #48124e;
	--shell-ink: #f5eef8;
	--shell-muted: #c0a6c7;
}

/* (3) Reset ------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--body);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.6;
}

/* (4) Screen-reader text (standard WP pattern) -------------------------- */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* (5) Skip link: visible on focus --------------------------------------- */
.skip-link {
	background: var(--shell-bg);
	color: var(--shell-ink);
	padding: 10px 18px;
	border-radius: var(--r-sm);
	z-index: 100000;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	clip: auto;
	white-space: normal;
}

/* (6) Focus visibility --------------------------------------------------- */
:focus-visible {
	outline: 2px solid var(--accent-ink);
	outline-offset: 2px;
}

/* (7) Utilities ------------------------------------------------------------ */
.tnum {
	font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   (8) Layout
   ========================================================================== */
.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.page-body {
	padding-top: 36px;
	padding-bottom: 64px;
}

.page-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
}

.page-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 44px;
	letter-spacing: .01em;
	text-transform: uppercase;
	line-height: 1;
	color: var(--ink);
	margin: 0;
}

.page-meta {
	font-size: 14px;
	color: var(--muted);
	margin: 8px 0 26px;
}

.page-meta a {
	color: var(--accent-ink);
}

.page-head .page-meta {
	margin-bottom: 0;
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 20px;
}

.section-head__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 30px;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0;
}

.section-head__link {
	font-size: 14px;
	font-weight: 700;
	color: var(--accent-ink);
	text-decoration: none;
}

.section-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 26px;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0 0 10px;
}

.section-title--faq {
	margin-top: 28px;
	margin-bottom: 4px;
}

.section-sub {
	font-size: 13px;
	color: var(--muted);
	margin: 0 0 10px;
}

[id] {
	scroll-margin-top: 120px; /* keep anchors clear of the sticky chrome (WCAG 2.4.11) */
}

/* ==========================================================================
   (9) Buttons & chips
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 20px;
	border-radius: var(--r-md);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	background: none;
}

.btn--accent {
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 700;
}

.btn--outline-light {
	border-color: var(--shell-line);
	color: var(--shell-ink);
}

.btn--outline-light:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.chip {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	border-radius: var(--r-xs);
	padding: 4px 10px;
}

.chip--accent {
	background: var(--accent);
	color: var(--on-accent);
}

.chip-btn {
	height: 38px;
	padding: 0 18px;
	border-radius: var(--r-md);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--muted);
	cursor: pointer;
}

.chip-btn[aria-pressed="true"] {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--on-accent);
}

/* ==========================================================================
   (10) Chrome: nav + deadline strip + footer
   ========================================================================== */
.site-chrome {
	position: sticky;
	top: 0;
	z-index: 60;
}

.site-nav {
	background: var(--shell-bg);
	border-bottom: 1px solid var(--shell-line);
}

.site-nav__row {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 62px;
}

.site-nav__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
	text-decoration: none;
}

.site-nav__logo {
	width: 32px;
	height: 32px;
	border-radius: var(--r-xs);
	display: block;
}

.site-nav__wordmark {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 21px;
	letter-spacing: .02em;
	color: #fff;
}

.site-nav__accent {
	color: var(--accent);
}

.nav-toggle {
	display: none;
	width: 40px;
	height: 40px;
	border: 1px solid var(--shell-line);
	border-radius: var(--r-md);
	background: var(--shell-panel-2);
	color: var(--shell-ink);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.nav-panel {
	min-width: 0;
}

.nav-list {
	display: flex;
	gap: 2px;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.nav-list a {
	display: block;
	line-height: 34px;
	padding: 0 12px;
	border-radius: var(--r-md);
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--shell-muted);
	text-decoration: none;
}

.nav-list a:hover {
	color: var(--shell-ink);
}

.nav-list .current-menu-item a {
	background: var(--shell-panel-2);
	color: var(--accent);
}

.site-nav__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.theme-toggle {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--shell-line);
	background: var(--shell-panel-2);
	color: var(--shell-ink);
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-nav__cta {
	height: 34px;
	padding: 0 14px;
	font-size: 12.5px;
	white-space: nowrap;
}

/* Deadline strip */
.deadline-strip {
	background: var(--shell-panel);
	border-bottom: 1px solid var(--shell-line);
}

.deadline-strip__row {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-top: 7px;
	padding-bottom: 7px;
	font-size: 12.5px;
	overflow-x: auto;
	scrollbar-width: none;
	white-space: nowrap;
}

.deadline-strip__deadline {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--shell-muted);
	flex: none;
}

.deadline-strip__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	animation: blip 1.4s infinite;
}

@keyframes blip {
	0%, 100% { opacity: .35; }
	50% { opacity: 1; }
}

.deadline-strip__countdown {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--accent);
	letter-spacing: .04em;
	flex: none;
}

.deadline-strip__pipe {
	color: var(--shell-muted);
	flex: none;
}

.deadline-strip__fact {
	color: var(--shell-muted);
	flex: none;
}

.deadline-strip__fact-value--ink {
	color: var(--shell-ink);
}

.deadline-strip__fact-value--rise {
	color: var(--positive);
}

.deadline-strip__trending {
	margin-left: auto;
	color: var(--shell-muted);
	display: flex;
	gap: 8px;
	align-items: center;
	flex: none;
}

.deadline-strip__pill {
	padding: 3px 10px;
	border: 1px solid var(--shell-line);
	border-radius: 12px;
	color: var(--shell-muted);
	text-decoration: none;
}

.deadline-strip__pill:hover {
	color: var(--accent);
	border-color: var(--accent);
}

/* Footer */
.site-footer {
	background: var(--shell-bg);
	color: var(--shell-muted);
	margin-top: 20px;
}

.site-footer__inner {
	display: flex;
	gap: 40px 48px;
	padding-top: 40px;
	padding-bottom: 40px;
	font-size: 13px;
	flex-wrap: wrap;
	align-items: flex-start;
}

.site-footer__brand {
	max-width: 280px;
	min-width: 220px;
	line-height: 1.6;
}

.site-footer__wordmark {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	color: #fff;
	margin-bottom: 10px;
}

.site-footer__col {
	min-width: 120px;
}

.site-footer__heading {
	color: var(--shell-ink);
	font-weight: 700;
	margin-bottom: 10px;
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.site-footer__list a {
	color: var(--shell-muted);
	text-decoration: none;
}

.site-footer__list a:hover {
	color: var(--accent);
}

/* Breadcrumbs */
.breadcrumbs {
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 10px;
	display: flex;
	gap: 6px;
	align-items: center;
}

.breadcrumbs__link {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumbs__link:hover {
	color: var(--accent-ink);
}

.breadcrumbs__current {
	color: var(--accent-ink);
	font-weight: 600;
}

/* ==========================================================================
   (11) Home
   ========================================================================== */
.home-hero {
	background: var(--shell-bg);
	color: #fff;
}

.home-hero__inner {
	padding-top: 36px;
	padding-bottom: 44px;
}

.home-hero__card {
	display: grid;
	grid-template-columns: 1fr;
	border: 1px solid var(--shell-line);
	border-radius: 18px;
	overflow: hidden;
	background: var(--shell-panel);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.home-hero__media {
	position: relative;
	overflow: hidden;
	min-height: 380px;
	background: var(--soft);
}

.home-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* No article image: the brand mark on the card's own dark tone, not an empty panel. */
.home-hero__media--brand {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--shell-panel-2), var(--shell-bg));
}

.home-hero__media--brand img {
	position: static;
	width: min(200px, 50%);
	height: auto;
	object-fit: contain;
}

.home-hero__body {
	padding: 36px 34px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.home-hero__kicker-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.home-hero__kicker-meta {
	font-size: 12px;
	color: var(--shell-muted);
}

.home-hero__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 40px;
	line-height: 1.02;
	text-transform: uppercase;
	margin: 0;
}

.home-hero__title a {
	color: #fff;
	text-decoration: none;
}

.home-hero__title a:hover {
	color: var(--accent);
}

.home-hero__standfirst {
	font-size: 15px;
	color: var(--shell-muted);
	line-height: 1.6;
	margin: 14px 0 0;
}

.home-hero__byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.home-hero__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--shell-panel-2);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 13px;
}

.home-hero__author {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--shell-ink);
}

.home-hero__meta {
	display: block;
	font-size: 12px;
	color: var(--shell-muted);
}

.home-hero__read {
	margin-left: auto;
}

.home-hero__secondary {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-top: 14px;
}

.secondary-card {
	display: flex;
	gap: 12px;
	align-items: center;
	background: var(--shell-panel);
	border: 1px solid var(--shell-line);
	border-radius: var(--r-lg);
	padding: 12px;
	text-decoration: none;
	transition: border-color .15s;
}

.secondary-card:hover {
	border-color: var(--accent);
}

.secondary-card__dot {
	width: 8px;
	height: 36px;
	border-radius: 4px;
	flex: none;
}

.secondary-card__title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--shell-ink);
}

.secondary-card__meta {
	display: block;
	font-size: 11.5px;
	color: var(--shell-muted);
	margin-top: 3px;
}

/* Ad slot reserves (hidden until monetization; min-height prevents CLS) */
.ad-slot--leaderboard {
	min-height: 90px;
	max-width: 970px;
	margin: 0 auto;
}

.ad-slot--rail {
	min-height: 250px;
	margin-top: 16px;
}

/* Toolkit preview + tool cards */
.toolkit-preview {
	padding-top: 48px;
	padding-bottom: 48px;
}

.tool-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.tool-card {
	display: block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 20px;
	color: inherit;
	text-decoration: none;
	transition: transform .15s, border-color .15s;
}

a.tool-card:hover {
	transform: translateY(-3px);
	border-color: var(--accent);
}

.tool-card__chip {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--soft);
	color: var(--accent-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

.tool-card__name {
	display: block;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 4px;
}

.tool-card__desc {
	display: block;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.5;
}

/* FAQ + newsletter */
.home-faq-section {
	border-top: 1px solid var(--line);
}

.home-faq-section__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 44px;
	padding-top: 44px;
	padding-bottom: 56px;
}

.faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-item__summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}

.faq-item__summary::-webkit-details-marker {
	display: none;
}

.faq-item__marker {
	flex: none;
	font-size: 18px;
	color: var(--accent-ink);
}

.faq-item__marker::before {
	content: "+";
}

.faq-item[open] .faq-item__marker::before {
	content: "−";
}

.faq-item__answer {
	font-size: 14px;
	line-height: 1.6;
	color: var(--body);
	padding: 0 0 14px;
}

.newsletter-card {
	align-self: start;
	background: var(--shell-bg);
	color: #fff;
	border-radius: var(--r-xl);
	padding: 26px;
}

.newsletter-card__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 24px;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin: 0;
}

.newsletter-card__copy {
	font-size: 14px;
	color: var(--shell-muted);
	line-height: 1.6;
	margin: 8px 0 0;
}

.newsletter-form__row {
	display: flex;
	gap: 8px;
	margin-top: 18px;
}

.newsletter-form__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	background: var(--shell-panel-2);
	border: 1px solid var(--shell-line);
	border-radius: var(--r-md);
	padding: 0 14px;
	color: var(--shell-ink);
	font-size: 13px;
	font-family: var(--font-body);
}

.newsletter-form__input::placeholder {
	color: #7d8891;
}

.newsletter-form .btn--accent {
	height: 44px;
	border-radius: var(--r-md);
}

.newsletter-form__consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-top: 12px;
	font-size: 12px;
	color: var(--shell-muted);
}

.newsletter-form__consent input {
	margin-top: 3px;
}

.newsletter-form__consent a {
	color: var(--accent);
}

.newsletter-card__proof {
	font-size: 12px;
	color: #7d8891;
	margin: 12px 0 0;
}

/* ==========================================================================
   (12) FDR view
   ========================================================================== */
.horizon-toggle {
	display: flex;
	gap: 8px;
}

.fdr-scroll {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	box-shadow: 0 4px 18px rgba(10, 20, 15, .05);
	overflow-x: auto;
}

.fdr-table {
	width: 100%;
	min-width: 880px;
	border-collapse: collapse;
	font-size: 14px;
}

.fdr-table thead th {
	background: var(--shell-bg);
	color: var(--shell-muted);
	font-size: 12px;
	font-weight: 600;
	padding: 12px 6px;
	text-align: center;
}

.fdr-table thead th.fdr-table__team {
	color: #fff;
	text-align: left;
	padding: 12px 18px;
}

.fdr-table thead th.fdr-table__avg {
	text-align: right;
	padding: 12px 14px;
}

.fdr-table tbody tr {
	border-top: 1px solid var(--line);
}

.fdr-table__team {
	padding: 10px 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--surface);
	text-align: left;
}

.fdr-table__code {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .03em;
	color: var(--ink);
}

.fdr-table__name {
	font-size: 12px;
	color: var(--muted);
	font-weight: 400;
}

.fdr-table td {
	padding: 0;
	text-align: center;
}

.fdr-chip {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 5px 3px;
	border-radius: var(--r-sm);
	padding: 6px 2px;
	line-height: 1.1;
	min-width: 100%;
	width: calc(100% - 6px);
}

.fdr-chip__opp {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .02em;
}

/* Blank gameweek cell (no fixture in that GW column). */
.fdr-chip--blank {
	border: 1px dashed var(--line);
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
	min-height: 38px;
}

.price-card__note {
	margin: 10px 4px 0;
	font-size: 11.5px;
	color: var(--muted);
}

.fdr-chip__meta {
	font-size: 10px;
	font-weight: 600;
}

.fdr-table__avg {
	padding: 10px 14px;
	text-align: right;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--ink);
}

.fdr-legend {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-top: 14px;
	font-size: 12px;
	color: var(--muted);
	flex-wrap: wrap;
}

.fdr-legend__title {
	font-weight: 700;
}

.fdr-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.fdr-legend__swatch {
	width: 16px;
	height: 16px;
	border-radius: 4px;
	display: inline-block;
}

.seo-stack {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin-top: 44px;
}

.answer-block__text {
	font-size: 15px;
	line-height: 1.65;
	color: var(--body);
	margin: 0;
}

.related-rail__card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 20px;
}

.related-rail__heading {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--ink);
	margin: 0 0 12px;
}

.related-rail__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.related-rail__link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-top: 1px solid var(--line);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}

.related-rail__link:hover {
	color: var(--accent-ink);
}

.related-rail__arrow {
	color: var(--accent-ink);
}

/* ==========================================================================
   (13) Captain view
   ========================================================================== */
.cap-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
}

.verdict-card {
	background: var(--shell-bg);
	color: #fff;
	border-radius: var(--r-xl);
	padding: 26px;
}

.verdict-card__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 14px;
}

.verdict-card__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 46px;
	line-height: 1;
	text-transform: uppercase;
}

.verdict-card__c {
	color: var(--accent);
}

.verdict-card__fixture {
	font-size: 14px;
	color: var(--shell-muted);
	margin-top: 8px;
}

.verdict-card__stats {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
	margin-top: 20px;
}

.verdict-card__stat {
	background: var(--shell-panel);
	border-radius: 10px;
	padding: 12px;
}

.verdict-card__stat-value {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 24px;
	color: #fff;
}

.verdict-card__stat-value--accent {
	color: var(--accent);
}

.verdict-card__stat-label {
	font-size: 10px;
	color: #7d8891;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.verdict-card__rationale {
	font-size: 13px;
	line-height: 1.6;
	color: var(--shell-muted);
	margin: 18px 0 0;
}

.table-scroll {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	overflow-x: auto;
}

.cap-table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 14px;
}

.cap-table thead th {
	background: var(--shell-bg);
	color: var(--shell-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 12px 0;
	text-align: left;
}

.cap-table thead th.cap-table__rank {
	padding-left: 18px;
}

.cap-table thead th.cap-table__num {
	text-align: right;
}

.cap-table thead th:last-child {
	padding-right: 18px;
}

.cap-table tbody tr {
	border-top: 1px solid var(--line);
}

.cap-table__rank {
	padding: 14px 0 14px 18px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--muted);
}

.cap-table__player {
	padding: 14px 0;
	text-align: left;
}

.cap-table__name {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
}

.cap-table__fixture {
	display: block;
	font-size: 12px;
	color: var(--muted);
	font-weight: 400;
}

.cap-table__reasons {
	display: block;
	margin-top: 2px;
	font-size: 11.5px;
	line-height: 1.35;
	color: var(--muted);
	font-weight: 400;
}

.cap-table__xp {
	padding: 14px 12px 14px 0;
}

.cap-table__xp {
	white-space: nowrap;
}

.cap-table__bar {
	display: inline-block;
	vertical-align: middle;
	width: 100%;
	max-width: 220px;
	height: 8px;
	background: var(--soft);
	border-radius: 4px;
	overflow: hidden;
	margin-right: 10px;
}

.cap-table__bar-fill {
	display: block;
	height: 100%;
	border-radius: 4px;
	background: var(--accent);
}

.cap-table__xp-value {
	display: inline-block;
	vertical-align: middle;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--ink);
	width: 32px;
}

.cap-table__num {
	text-align: right;
	padding: 14px 0;
}

.cap-table td:last-child,
.cap-table__num:last-child {
	padding-right: 18px;
}

.cap-table__poll {
	font-weight: 700;
	color: var(--accent-ink);
}

.cap-table__own {
	color: var(--muted);
}

.cap-explainer {
	max-width: 720px;
	margin-top: 44px;
}

/* ==========================================================================
   (14) States
   ========================================================================== */
.state-notice {
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--muted);
	border-radius: var(--r-lg);
	padding: 20px;
	font-size: 14px;
	color: var(--body);
}

.state-notice p {
	margin: 6px 0 0;
}

.state-notice__title {
	color: var(--ink);
}

.state-notice--error {
	border-left-color: var(--fall);
}

.state-notice--stale {
	border-left-color: var(--accent);
}

.state-notice--empty {
	border-style: dashed;
	border-left-style: solid;
}

.skeleton-table {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 8px 0;
}

.skeleton-table__row {
	display: grid;
	grid-template-columns: 1.4fr repeat(7, 1fr);
	gap: 10px;
	padding: 10px 18px;
	border-top: 1px solid var(--line);
}

.skeleton-table__row:first-child {
	border-top: 0;
}

.skeleton-table__cell {
	height: 18px;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--soft) 25%, var(--line) 50%, var(--soft) 75%);
	background-size: 200% 100%;
	animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
	from { background-position: 200% 0; }
	to { background-position: -200% 0; }
}

/* ==========================================================================
   (15) Responsive
   ========================================================================== */
@media (min-width: 768px) {
	.tool-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.tool-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.home-hero__card {
		grid-template-columns: 1.25fr 1fr;
	}

	.home-hero__secondary {
		grid-template-columns: repeat(3, 1fr);
	}

	.home-faq-section__grid {
		grid-template-columns: 1.3fr 1fr;
	}

	.home-faq-section__grid--single {
		grid-template-columns: 1fr;
	}

	.cap-grid {
		grid-template-columns: .9fr 1.4fr;
	}

	.verdict-card {
		position: sticky;
		top: 130px; /* clears the sticky chrome */
	}

	.seo-stack {
		grid-template-columns: 1.4fr 1fr;
	}
}

@media (max-width: 767px) {
	.nav-toggle {
		display: flex;
	}

	.nav-panel {
		display: none;
		position: absolute;
		top: 62px;
		left: 0;
		right: 0;
		background: var(--shell-bg);
		border-bottom: 1px solid var(--shell-line);
		padding: 8px 16px 12px;
	}

	.nav-panel.is-open {
		display: block;
	}

	.nav-panel .nav-list {
		flex-direction: column;
		align-items: stretch;
		overflow: visible;
	}

	.nav-panel .nav-list a {
		line-height: 42px;
	}

	.site-nav {
		position: relative;
	}

	.site-nav__cta {
		display: none;
	}

	.home-hero__title {
		font-size: 30px;
	}

	.page-title {
		font-size: 32px;
	}

	.verdict-card__name {
		font-size: 36px;
	}

	/* Sticky team column + scroll affordance on the FDR table */
	.fdr-scroll {
		mask-image: linear-gradient(to left, transparent 0, #000 28px);
		-webkit-mask-image: linear-gradient(to left, transparent 0, #000 28px);
	}

	.fdr-table .fdr-table__team {
		position: sticky;
		left: 0;
		z-index: 2;
		box-shadow: 1px 0 0 var(--line);
	}

	.fdr-table thead .fdr-table__team {
		background: var(--shell-bg);
	}

	.deadline-strip__row {
		mask-image: linear-gradient(to left, transparent 0, #000 24px);
		-webkit-mask-image: linear-gradient(to left, transparent 0, #000 24px);
	}

	.deadline-strip__trending {
		margin-left: 0;
	}
}

@media (max-width: 480px) {
	.newsletter-form__row {
		flex-direction: column;
	}

	.newsletter-form__input {
		width: 100%;
	}
}

/* ==========================================================================
   (16) Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.deadline-strip__dot,
	.live-panel__dot,
	.skeleton-table__cell {
		animation: none;
	}

	.tool-card,
	.secondary-card {
		transition: none;
	}

	a.tool-card:hover {
		transform: none;
	}
}

/* ==========================================================================
   (17) Toolkit view
   ========================================================================== */
.tool-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.tool-card--full .tool-card__chip {
	margin-bottom: 0;
	flex: none;
}

.tool-card__badge {
	margin-left: auto;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--accent-ink);
}

.tool-card__badge--soon {
	color: var(--muted);
}

.tool-card__cta {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--accent-ink);
	margin-top: 12px;
}

.tool-card__cta--muted {
	color: var(--muted);
}

.tool-card.is-soon {
	opacity: .75;
}

/* ==========================================================================
   (18) Transfers view
   ========================================================================== */
.transfers-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
}

.solver-table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	font-size: 14px;
}

.solver-table thead th {
	background: var(--shell-bg);
	color: var(--shell-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 12px 18px;
	text-align: left;
}

.solver-table thead th.solver-table__delta {
	text-align: right;
}

.solver-table thead th.solver-table__arrow {
	padding: 12px 0;
}

.solver-table tbody tr {
	border-top: 1px solid var(--line);
}

.solver-table td {
	padding: 14px 18px;
	vertical-align: middle;
}

.solver-table td.solver-table__arrow {
	color: var(--accent-ink);
	font-weight: 800;
	font-size: 16px;
	padding: 14px 0;
	width: 30px;
}

.solver-table__name {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--ink);
}

.solver-table__meta {
	display: block;
	font-size: 12px;
}

.solver-table__meta--out {
	color: var(--fall);
}

.solver-table__meta--in {
	color: var(--rise);
}

.solver-table__delta {
	text-align: right;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	color: var(--accent-ink);
}

.solver-table__note {
	margin: 10px 4px 0;
	font-size: 11.5px;
	color: var(--muted);
}

.chip-timeline {
	background: var(--shell-bg);
	color: #fff;
	border-radius: var(--r-xl);
	padding: 24px;
}

.chip-timeline__heading {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 14px;
}

.chip-timeline__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.chip-timeline__row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 0;
	border-top: 1px solid var(--shell-line);
}

.chip-timeline__gw {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 17px;
	color: var(--shell-muted);
	width: 48px;
	flex: none;
}

.chip-timeline__chip {
	flex: 1;
	font-size: 14px;
	font-weight: 700;
	color: var(--shell-ink);
}

.chip-timeline__why {
	font-size: 12px;
	color: #7d8891;
}

.chip-timeline__footnote {
	font-size: 12px;
	color: #7d8891;
	margin: 14px 0 0;
}

/* ==========================================================================
   (19) Prices view
   ========================================================================== */
.prices-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.price-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	overflow: hidden;
}

.price-card__heading {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	padding: 12px 18px;
	margin: 0;
}

.price-card--risers .price-card__heading {
	background: var(--rise);
}

.price-card--fallers .price-card__heading {
	background: var(--fall);
}

.price-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.price-card__row {
	display: block;
	padding: 13px 18px;
	border-top: 1px solid var(--line);
}

.price-card__line {
	display: flex;
	justify-content: space-between;
	font-size: 14.5px;
}

.price-card__line--meta {
	font-size: 12px;
	color: var(--muted);
	margin: 3px 0 7px;
}

.price-card__name {
	font-weight: 700;
	color: var(--ink);
}

.price-card__pct {
	font-weight: 800;
}

.price-card--risers .price-card__pct {
	color: var(--rise);
}

.price-card--fallers .price-card__pct {
	color: var(--fall);
}

.price-card__bar {
	display: block;
	height: 5px;
	background: var(--soft);
	border-radius: 3px;
	overflow: hidden;
}

.price-card__bar-fill {
	display: block;
	height: 100%;
}

.price-card--risers .price-card__bar-fill {
	background: var(--rise);
}

.price-card--fallers .price-card__bar-fill {
	background: var(--fall);
}

/* ==========================================================================
   (20) Stats view
   ========================================================================== */
.filter-chips {
	display: flex;
	gap: 8px;
}

.filter-chips .chip-btn {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.filter-chips .chip-btn[aria-current="true"] {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--on-accent);
}

.stats-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 14px;
}

.stats-table thead th {
	background: var(--shell-bg);
	color: var(--shell-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 12px 0;
	text-align: left;
}

.stats-table thead th.stats-table__rank {
	padding-left: 18px;
}

.stats-table thead th.stats-table__num {
	text-align: right;
}

.stats-table thead th:last-child {
	padding-right: 18px;
}

.stats-table tbody tr {
	border-top: 1px solid var(--line);
}

.stats-table__rank {
	padding: 12px 0 12px 18px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--muted);
}

.stats-table__player {
	padding: 12px 0;
	text-align: left;
}

.stats-table__name {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--ink);
}

.stats-table__meta {
	display: block;
	font-size: 12px;
	color: var(--muted);
	font-weight: 400;
}

.stats-table__num {
	text-align: right;
	padding: 12px 0;
	color: var(--ink);
}

.stats-table__num--muted {
	color: var(--muted);
}

.stats-table td:last-child,
.stats-table__num:last-child {
	padding-right: 18px;
}

.stats-table__xgi {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 17px;
	color: var(--accent-ink);
}

.stats-footnote {
	font-size: 12.5px;
	color: var(--muted);
	margin-top: 12px;
}

.stats-footnote a {
	color: var(--accent-ink);
}

/* ==========================================================================
   (21) Compare view
   ========================================================================== */
.cmp-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-bottom: 24px;
}

.cmp-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 22px;
}

.cmp-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.cmp-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--soft);
	color: var(--accent-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 18px;
	flex: none;
}

.cmp-card__name {
	display: block;
	font-size: 18px;
	font-weight: 800;
	color: var(--ink);
}

.cmp-card__meta {
	display: block;
	font-size: 13px;
	color: var(--muted);
}

.cmp-card__price {
	margin-left: auto;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 26px;
	color: var(--accent-ink);
}

.cmp-card__fixtures {
	display: flex;
	gap: 4px;
	margin-bottom: 14px;
}

.cmp-card__fixture {
	flex: 1;
	height: 26px;
	border-radius: var(--r-xs);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 800;
}

.cmp-card__stat {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid var(--line);
}

.cmp-card__stat-label {
	font-size: 12.5px;
	color: var(--muted);
	width: 110px;
	flex: none;
}

.cmp-card__stat-bar {
	flex: 1;
	height: 7px;
	background: var(--soft);
	border-radius: 4px;
	overflow: hidden;
}

.cmp-card__stat-fill {
	display: block;
	height: 100%;
	border-radius: 4px;
	background: var(--accent);
}

.cmp-card__stat-value {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--ink);
	width: 44px;
	text-align: right;
}

.verdict-banner {
	background: var(--shell-bg);
	color: #fff;
	border-radius: var(--r-card);
	padding: 20px 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.verdict-banner__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	flex: none;
}

.verdict-banner__text {
	font-size: 14.5px;
	color: var(--shell-ink);
	line-height: 1.55;
}

/* ==========================================================================
   (22) Live view
   ========================================================================== */
.live-panel {
	background: var(--shell-bg);
	color: #fff;
	border: 1px solid var(--shell-line);
	border-radius: var(--r-xl);
	overflow: hidden;
}

.live-panel__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 22px;
	border-bottom: 1px solid var(--shell-line);
}

.live-panel__live-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 700;
	color: var(--live);
}

.live-panel__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--live);
	animation: blip 1.2s infinite;
}

.live-panel__gw {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.live-panel__team {
	margin-left: auto;
	font-size: 12px;
	color: #7d8891;
}

.live-panel__change {
	background: none;
	border: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--accent);
	cursor: pointer;
	margin-left: 12px;
}

.live-empty {
	padding: 36px 22px;
	text-align: center;
}

.live-empty__text {
	font-size: 14px;
	color: var(--shell-muted);
	margin: 0 0 16px;
}

.live-tiles {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	padding: 20px 22px;
}

.live-tile {
	background: var(--shell-panel);
	border-radius: var(--r-lg);
	padding: 18px;
}

.live-tile__label {
	font-size: 10px;
	color: #7d8891;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.live-tile__value {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 38px;
	color: #fff;
}

.live-tile__value--accent {
	color: var(--accent);
}

.live-tile__sub {
	font-size: 12px;
	color: var(--positive);
}

.live-panel__subs {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	padding: 0 22px 22px;
}

.live-sub {
	background: var(--shell-panel);
	border-radius: var(--r-lg);
	padding: 16px;
}

.live-sub__heading {
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 8px;
}

.live-sub__hint {
	font-size: 10px;
	color: #7d8891;
	font-weight: 400;
}

.live-sub__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.live-sub__row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 0;
	border-top: 1px solid var(--shell-line);
	font-size: 13px;
}

.live-sub__name {
	flex: 1;
	color: var(--shell-ink);
}

.live-sub__meta {
	color: #7d8891;
}

.live-sub__mark {
	width: 42px;
	text-align: right;
	font-weight: 800;
}

.live-sub__mark--accent {
	color: var(--accent);
	width: 34px;
}

.live-sub__mark--hit {
	color: var(--positive);
}

.live-sub__mark--muted {
	color: #5f6368;
}

.live-panel__status-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 22px 20px;
}

.live-panel__status {
	font-size: 12px;
	color: #7d8891;
}

.chip-btn--dark {
	background: var(--shell-panel-2);
	border-color: var(--shell-line);
	color: var(--shell-ink);
}

.live-panel__error {
	margin: 0 22px 22px;
	background: var(--shell-panel);
	border-color: var(--shell-line);
	color: var(--shell-ink);
}

.live-panel__error .state-notice__title {
	color: #fff;
}

/* Team ID modal */
.team-id-modal {
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	padding: 0;
	max-width: 420px;
	width: calc(100% - 56px);
	background: var(--surface);
	color: var(--body);
}

.team-id-modal::backdrop {
	background: rgba(10, 16, 20, .55);
}

.team-id-modal__form {
	padding: 26px;
}

.team-id-modal__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 24px;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--ink);
	margin: 0;
}

.team-id-modal__copy {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.6;
	margin: 10px 0 18px;
}

.team-id-modal__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 6px;
}

.team-id-modal__input {
	width: 100%;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 0 14px;
	font-size: 15px;
	font-family: var(--font-body);
	background: var(--surface);
	color: var(--ink);
}

.team-id-modal__input[aria-invalid="true"] {
	border-color: var(--fall);
}

.team-id-modal__error {
	font-size: 12.5px;
	color: var(--fall);
	margin: 8px 0 0;
}

.team-id-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}

.team-id-modal .btn--outline-light {
	border-color: var(--line);
	color: var(--ink);
}

/* ==========================================================================
   (23) Phase-3 responsive
   ========================================================================== */
@media (min-width: 768px) {
	.live-tiles {
		grid-template-columns: repeat(3, 1fr);
	}

	.live-panel__subs {
		grid-template-columns: 1fr 1fr;
	}

	.prices-grid,
	.cmp-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.transfers-grid {
		grid-template-columns: 1.35fr 1fr;
	}
}

@media (max-width: 767px) {
	.verdict-banner {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.cmp-card__stat-label {
		width: 90px;
	}
}

/* ==========================================================================
   (24) Content templates: guides, article, news, search, 404
   ========================================================================== */
.breadcrumbs__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
}

.breadcrumbs__item {
	display: flex;
	gap: 6px;
	align-items: center;
}

.guides-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.guide-card__link {
	display: block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color .15s;
}

.guide-card__link:hover {
	border-color: var(--accent);
}

.guide-card__thumb {
	display: block;
	height: 150px;
	background: var(--soft);
	overflow: hidden;
}

.guide-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.guide-card__thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}

.guide-card__thumb-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

.guide-card__body {
	display: block;
	padding: 18px;
}

.guide-card__kicker {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent-ink);
	margin-bottom: 8px;
}

.guide-card__title {
	display: block;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--ink);
	margin-bottom: 8px;
}

.guide-card__meta {
	display: block;
	font-size: 12.5px;
	color: var(--muted);
}

/* Single article */
.article {
	max-width: 860px;
}

.article__header {
	margin-bottom: 22px;
}

.article__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 40px;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--ink);
	margin: 14px 0 16px;
}

.article__hero {
	margin: 0 0 26px;
	border-radius: var(--r-xl);
	overflow: hidden;
}

.article__hero img {
	width: 100%;
	height: auto;
	display: block;
}

.article__hero--placeholder {
	min-height: 320px;
	background: var(--soft);
	display: flex;
	align-items: center;
	justify-content: center;
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.post-meta__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--soft);
	color: var(--accent-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 13px;
	flex: none;
}

.post-meta__author {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
}

.post-meta__author:hover {
	color: var(--accent-ink);
}

.post-meta__date {
	display: block;
	font-size: 12px;
	color: var(--muted);
}

/* Post content (minimal core-block styles — required safeguard because
   phase 6 dequeues block-library CSS) */
.post-content {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--body);
}

.post-content h2,
.post-content h3,
.post-content h4 {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--ink);
	line-height: 1.15;
	margin: 32px 0 12px;
}

/* Pages built with Kadence Blocks style their own headings: keep this theme's
   uppercase display face off them (an email address set as a heading, for one). */
.post-content .wp-block-kadence-advancedheading {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	overflow-wrap: anywhere;
}

.post-content h2 { font-size: 26px; }
.post-content h3 { font-size: 22px; }
.post-content h4 { font-size: 18px; }

.post-content p {
	margin: 0 0 16px;
}

.post-content a {
	color: var(--accent-ink);
}

.post-content ul,
.post-content ol {
	margin: 0 0 16px;
	padding-left: 24px;
}

.post-content blockquote,
.wp-block-quote {
	border-left: 3px solid var(--accent);
	margin: 0 0 16px;
	padding: 8px 0 8px 18px;
	font-style: italic;
	color: var(--ink);
}

.post-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--r-lg);
}

.wp-block-image figcaption,
.wp-caption-text {
	font-size: 12.5px;
	color: var(--muted);
	margin-top: 8px;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.wp-block-table th,
.wp-block-table td {
	border: 1px solid var(--line);
	padding: 10px 12px;
	text-align: left;
}

/* Analysis post building blocks: core Group/Paragraph blocks with one of
   these classes added in the editor (no shortcodes). */
.post-content .fpl-takeaways,
.post-content .fpl-verdict {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 18px 20px;
	margin: 0 0 24px;
}

.post-content .fpl-verdict {
	border-left: 4px solid var(--accent);
}

/* Older core markup wraps a Group's blocks in an inner container. */
.post-content .fpl-takeaways > :last-child,
.post-content .fpl-verdict > :last-child,
.post-content .fpl-takeaways .wp-block-group__inner-container > :last-child,
.post-content .fpl-verdict .wp-block-group__inner-container > :last-child {
	margin-bottom: 0;
}

.post-content .fpl-takeaways h2,
.post-content .fpl-takeaways h3,
.post-content .fpl-verdict h2,
.post-content .fpl-verdict h3 {
	font-size: 18px;
	margin: 0 0 8px;
}

.post-content .fpl-data-as-of {
	font-size: 12.5px;
	color: var(--muted);
	margin: 0 0 20px;
}

.wp-block-table {
	margin: 0 0 20px;
	overflow-x: auto;
}

.analysis-tools {
	margin-top: 32px;
}

.analysis-tools__desc {
	display: block;
	font-weight: 400;
	font-size: 13px;
	color: var(--muted);
	margin-top: 2px;
}

.alignleft { float: left; margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.sticky { /* required WP class — no visual change */ }
.bypostauthor { /* required WP class — no visual change */ }

.ad-slot--in-content {
	min-height: 120px;
	margin: 24px 0;
}

.author-box {
	display: flex;
	gap: 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 20px;
	margin-top: 36px;
}

.author-box__avatar {
	width: 44px;
	height: 44px;
}

.author-box__name {
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 6px;
}

.author-box__bio {
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.6;
	margin: 0;
}

.related-posts {
	margin-top: 40px;
}

.post-navigation {
	margin-top: 40px;
	border-top: 1px solid var(--line);
	padding-top: 20px;
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.post-navigation a {
	text-decoration: none;
	color: var(--ink);
}

.post-navigation .nav-sub {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

.post-navigation .nav-title {
	font-size: 14px;
	font-weight: 700;
}

.post-navigation a:hover .nav-title {
	color: var(--accent-ink);
}

/* News */
.news-list {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	overflow: hidden;
}

.news-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-top: 1px solid var(--line);
}

.news-row:first-child {
	border-top: 0;
}

.news-row:hover {
	background: var(--soft);
}

.news-row__time {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--muted);
	width: 52px;
	flex: none;
}

.news-row__title {
	flex: 1;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}

.news-row__title:hover {
	color: var(--accent-ink);
}

.news-row__arrow {
	color: var(--accent-ink);
	font-weight: 700;
}

/* News chips: light + dark variants (dark = draft pending phase-5 contrast sweep) */
.news-chip {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: var(--r-xs);
	flex: none;
}

.news-chip--injury { background: #fbe9e7; color: #b53729; }
.news-chip--presser { background: #e8f0fe; color: #1b5cb8; }
.news-chip--lineups { background: #e7f4ec; color: #127a3c; }
.news-chip--prices { background: #fff4d6; color: #856800; }

:root[data-theme="dark"] .news-chip--injury { background: rgba(181, 55, 41, .20); color: #ff8a7a; }
:root[data-theme="dark"] .news-chip--presser { background: rgba(27, 92, 184, .24); color: #7fb0ff; }
:root[data-theme="dark"] .news-chip--lineups { background: rgba(18, 122, 60, .24); color: #5bd98a; }
:root[data-theme="dark"] .news-chip--prices { background: rgba(138, 109, 0, .28); color: #f5cf4a; }

/* Search */
.search-form {
	display: flex;
	gap: 8px;
	max-width: 520px;
}

.search-form__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	padding: 0 14px;
	font-size: 14px;
	font-family: var(--font-body);
	background: var(--surface);
	color: var(--ink);
}

.search-results {
	display: grid;
	gap: 14px;
}

.search-result {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 18px 20px;
}

.search-result__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent-ink);
}

.search-result__title {
	font-size: 17px;
	font-weight: 700;
	margin: 6px 0;
}

.search-result__title a {
	color: var(--ink);
	text-decoration: none;
}

.search-result__title a:hover {
	color: var(--accent-ink);
}

.search-result__excerpt {
	font-size: 13.5px;
	color: var(--body);
	margin: 0 0 8px;
}

.search-result__date {
	font-size: 12px;
	color: var(--muted);
}

.search-again {
	margin-top: 20px;
}

/* 404 */
.not-found__ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.btn--outline {
	border-color: var(--line);
	color: var(--ink);
}

.btn--outline:hover {
	border-color: var(--accent);
	color: var(--accent-ink);
}

/* Pagination */
.pagination .nav-links {
	display: flex;
	gap: 8px;
	margin-top: 28px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--surface);
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--on-accent);
}

/* ==========================================================================
   (25) Programmatic templates
   ========================================================================== */
.player-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.player-header__avatar {
	width: 56px;
	height: 56px;
	font-size: 20px;
}

.player-header__main {
	flex: 1;
	min-width: 220px;
}

.player-header__main .page-title {
	margin-bottom: 4px;
}

.player-header__main .page-meta {
	margin-bottom: 0;
}

.player-header__news {
	display: inline-block;
	margin-left: 10px;
	padding: 3px 10px;
	border-radius: var(--r-xs);
	background: #fff4d6;
	color: #856800;
	font-size: 12px;
	font-weight: 600;
}

:root[data-theme="dark"] .player-header__news {
	background: rgba(138, 109, 0, .28);
	color: #f5cf4a;
}

.player-header__price {
	position: static;
	font-size: 30px;
}

.player-header__fixtures {
	max-width: 560px;
	margin-bottom: 28px;
}

.player-header__fixtures .cmp-card__fixture {
	height: 34px;
	font-size: 11px;
}

.player-links {
	margin-top: 28px;
	max-width: 560px;
}

.players-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.player-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 14px 16px;
	text-decoration: none;
	transition: border-color .15s;
}

.player-card:hover {
	border-color: var(--accent);
}

.player-card__body {
	flex: 1;
}

.player-card__name {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
}

.player-card__meta {
	display: block;
	font-size: 12.5px;
	color: var(--muted);
}

.player-card__xp {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	color: var(--accent-ink);
	text-align: right;
}

.player-card__xp-label {
	display: block;
	font-family: var(--font-body);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
}

.teams-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.team-card {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 12px 16px;
	text-decoration: none;
	transition: border-color .15s;
}

.team-card:hover {
	border-color: var(--accent);
}

.team-card__code {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .03em;
	color: var(--ink);
	width: 44px;
	flex: none;
}

.team-card__name {
	flex: 1;
	font-size: 14px;
	font-weight: 600;
	color: var(--body);
}

.team-fixture__chip {
	flex: none;
	width: 26px;
	font-size: 11px;
}

.gw-switcher {
	display: flex;
	gap: 8px;
}

.gw-switcher .chip-btn {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

@media (min-width: 768px) {
	.guides-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.players-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.teams-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.guides-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.teams-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Team Locker: "Your team" card */
.team-summary {
	margin: 24px 0;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	background: var(--surface, transparent);
}

.team-summary__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.team-summary__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 20px;
}

.team-summary__actions {
	display: flex;
	gap: 8px;
}

.team-summary__actions[hidden] {
	display: none;
}

.team-summary__lead,
.team-summary__error {
	margin: 0 0 12px;
	color: var(--muted);
}

.team-summary__error {
	color: var(--fall, var(--muted));
}

.team-summary__name {
	margin: 0 0 12px;
	font-weight: 700;
}

.team-summary__manager {
	font-weight: 400;
	color: var(--muted);
}

.team-summary__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px 18px;
	margin: 0;
}

.team-summary__stats dt {
	font-size: 12px;
	color: var(--muted);
}

.team-summary__stats dd {
	margin: 2px 0 0;
	font-weight: 600;
}

.team-summary__notes {
	margin: 14px 0 0;
	padding-left: 18px;
	font-size: 12px;
	color: var(--muted);
}

/* Rival Radar */
.rival {
	margin: 28px 0;
}

.rival__label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.rival__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rival__input {
	flex: 1 1 200px;
	max-width: 280px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-md, 10px);
	background: var(--surface);
	color: var(--ink);
	font: inherit;
}

.rival__hint,
.rival__list-help,
.rival__note,
.rival__basis {
	font-size: 12.5px;
	color: var(--muted);
}

.rival__recent {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.rival__recent[hidden] {
	display: none;
}

.rival__recent-label {
	font-size: 13px;
	color: var(--muted);
}

.rival__status {
	min-height: 1.4em;
	margin: 12px 0;
	font-weight: 600;
}

.rival__scores {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	background: var(--surface);
}

.rival__score:last-child {
	text-align: right;
}

.rival__team,
.rival__cap {
	display: block;
	font-size: 13px;
	color: var(--muted);
	overflow-wrap: anywhere;
}

.rival__team {
	font-weight: 700;
	color: var(--ink);
}

.rival__points {
	display: block;
	font-family: var(--font-display);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.1;
}

.rival__margin {
	text-align: center;
}

.rival__margin-value {
	display: block;
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 700;
	color: var(--accent-ink);
}

.rival__margin-label {
	font-size: 12px;
	color: var(--muted);
}

.rival__lists {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-top: 22px;
}

@media (min-width: 768px) {
	.rival__lists {
		grid-template-columns: 1fr 1fr;
	}
}

.rival__list-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 20px;
}

.rival__list {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.rival__list li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
}

.rival__player {
	font-weight: 600;
}

.rival__meta {
	grid-column: 1;
	font-size: 12px;
	color: var(--muted);
}

.rival__xp {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	font-weight: 700;
}

.rival__empty {
	display: block !important;
	color: var(--muted);
	font-size: 13px;
}

.rival__shared,
.rival__chips {
	margin: 14px 0 0;
	font-size: 14px;
}

.rival__actions {
	display: flex;
	gap: 8px;
	margin: 16px 0 8px;
}


/* Points Projections */
.proj__tools {
	margin-bottom: 14px;
}

.proj__presets,
.proj__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px 14px;
	margin-bottom: 12px;
}

.proj__presets-label {
	font-size: 13px;
	color: var(--muted);
}

.proj__filters label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	color: var(--muted);
}

.proj__filters .proj__check {
	flex-direction: row;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--ink);
}

.proj__filters select,
.proj__filters input[type="number"],
.proj__filters input[type="search"] {
	min-width: 90px;
	padding: 7px 9px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	font-size: 14px;
}

.proj__count,
.proj__note {
	font-size: 12.5px;
	color: var(--muted);
}

.proj-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.proj-table th,
.proj-table td {
	padding: 8px 10px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.proj-table thead th {
	font-size: 12px;
	color: var(--muted);
	white-space: nowrap;
}

.proj-table__num {
	text-align: right !important;
	white-space: nowrap;
}

.proj-table__sort {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.proj-table__name {
	display: block;
	font-weight: 600;
}

.proj-table__meta {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
}

.proj-table__next {
	font-weight: 700;
}

.proj-table tr.is-mine th,
.proj-table tr.is-mine td {
	background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* Personal panels (Your captain / Your transfer ideas) */
.my-panel {
	margin: 24px 0;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	background: var(--surface);
}

.my-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.my-panel__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 20px;
}

.my-panel__head [hidden] {
	display: none;
}

.my-panel__lead,
.my-panel__note {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 14px;
}

.my-panel__note {
	font-size: 12px;
}

.my-panel__list {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.my-panel__list li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
}

.my-panel__name {
	font-weight: 600;
}

.my-panel__meta {
	grid-column: 1;
	font-size: 12.5px;
	color: var(--muted);
}

.my-panel__value {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	font-weight: 700;
}

/* Player page: key numbers */
.player-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px 18px;
	margin: 0 0 24px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	background: var(--surface);
}

.player-stats dt {
	font-size: 12px;
	color: var(--muted);
}

.player-stats dd {
	margin: 2px 0 0;
	font-weight: 600;
}

/* Injuries & availability */
.avail__filter {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 10px;
	font-size: 13px;
}

.avail__filter select {
	padding: 6px 9px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--ink);
	font: inherit;
}

.avail__status {
	display: inline-block;
	font-weight: 700;
}

.avail__status--d {
	color: #b7791f;
}

.avail__status--i,
.avail__status--s,
.avail__status--n {
	color: var(--fall);
}

.avail__status--u {
	color: var(--muted);
}

/* Transfers: table and its note stay one grid item */
.solver-block {
	min-width: 0;
}

