.bp-card-wrap,
.bp-card-wrap * {
	line-height: normal; /* keep the theme's body line-height out of the card; later rules set their own */
}
/* Self-hosted fonts (SIL Open Font License): Alfa Slab One, Barlow, Share Tech Mono. Latin subset. */
@font-face {
	font-family: 'Alfa Slab One';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/AlfaSlabOne-400.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.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.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.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: 'Share Tech Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/ShareTechMono-400.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;
}

/* Retro Ballpark: mowed grass, infield clay, chalk lines, amber scoreboard, scorebook paper. */
:root {
	--bp-grass: #2e6b3b;
	--bp-grass2: #27602f;
	--bp-dark: #0f2a1b;
	--bp-clay: #b5653a;
	--bp-clay-d: #8f4a27;
	--bp-chalk: #f7f4ea;
	--bp-paper: #f3ecd7;
	--bp-red: #b32025;
	--bp-navy: #14284b;
	--bp-amber: #ffb400;
	--bp-ink: #1d1d1b;
	--bp-slab: "Alfa Slab One", Georgia, "Times New Roman", serif;
	--bp-mono: "Share Tech Mono", "Courier New", monospace;
	--bp-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Canvas: mowing stripes ---------- */
body {
	/* !important: whatever the active theme sets on the body must not hide the stripes. */
	background: repeating-linear-gradient(90deg, var(--bp-grass) 0 90px, var(--bp-grass2) 90px 180px) fixed !important;
	font-family: var(--bp-body);
	color: var(--bp-ink);
}
.entry-content {
	background: transparent !important;
}

/* ---------- Header: infield clay with a chalk line ---------- */
.site-header {
	background: linear-gradient(180deg, var(--bp-clay), var(--bp-clay-d));
	border-bottom: 5px solid var(--bp-chalk);
}
.site-title a,
.site-title a:hover {
	font-family: var(--bp-slab);
	font-size: 1.5rem;
	letter-spacing: 0.04em;
	color: var(--bp-chalk);
	text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}
.site-menu a {
	font-family: var(--bp-body);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bp-chalk);
}
.site-menu a:hover,
.site-menu .current-menu-item > a {
	color: var(--bp-amber);
}

/* ---------- Sections ---------- */
.bp-section {
	max-width: 1100px;
	margin: 0 auto !important;
	padding: 56px 20px 8px;
}
.bp-section h2.wp-block-heading {
	display: inline-block;
	margin: 0 0 26px;
	padding: 0.25em 2.2em 0.25em 0.9em;
	font-family: var(--bp-slab);
	font-size: clamp(1.4rem, 3.6vw, 2.1rem);
	font-weight: 400;
	letter-spacing: 0.03em;
	color: var(--bp-chalk);
	background: var(--bp-red);
	/* Pennant banner with a notched end. */
	clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 50%, 100% 100%, 0 100%);
	filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.35));
}

/* ---------- Hero: stadium scoreboard ---------- */
.bp-hero {
	position: relative;
	overflow: hidden;
	padding: 30px 28px 26px !important;
	color: var(--bp-chalk);
	background: var(--bp-dark);
	border: 12px solid #5a3a22;
	border-radius: 10px;
	box-shadow:
		inset 0 0 0 3px var(--bp-chalk),
		8px 8px 0 rgba(0, 0, 0, 0.35);
}
.bp-hero::before {
	/* Infield diamond outline. */
	content: "";
	position: absolute;
	right: -50px;
	top: -50px;
	width: 220px;
	height: 220px;
	border: 4px solid rgba(247, 244, 234, 0.18);
	transform: rotate(45deg);
	pointer-events: none;
}
.bp-badge {
	display: inline-block;
	margin: 0 0 12px !important;
	font-family: var(--bp-mono);
	font-size: 0.95rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bp-amber);
	text-shadow: 0 0 8px rgba(255, 180, 0, 0.5);
}
.bp-name {
	margin: 0 0 8px !important;
	font-family: var(--bp-slab);
	font-size: clamp(2.6rem, 9vw, 5.6rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.01em;
	color: var(--bp-chalk);
	text-shadow: 4px 4px 0 var(--bp-red);
}
.bp-position {
	display: inline-block;
	margin: 0 0 16px !important;
	padding: 0.2em 0.9em;
	font-family: var(--bp-body);
	font-size: clamp(0.95rem, 2.4vw, 1.25rem);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bp-ink);
	background: var(--bp-chalk);
	border-left: 8px solid var(--bp-red);
}
.bp-bio {
	max-width: 62ch;
	font-size: 1.15rem;
	line-height: 1.55;
	color: var(--bp-chalk);
}

/* Scoreboard cells */

/* ---------- Scorebook paper (skills and project panels) ---------- */
.bp-panel {
	margin-bottom: 20px;
	padding: 16px 22px 16px 26px;
	color: var(--bp-ink);
	background:
		repeating-linear-gradient(transparent 0 27px, rgba(20, 40, 75, 0.14) 27px 28px),
		var(--bp-paper);
	border: 3px solid var(--bp-chalk);
	border-left: 8px double var(--bp-red);
	border-radius: 3px;
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);
}
.bp-panel ul {
	margin: 6px 0 0 1.1em;
	padding: 0;
}
.bp-panel li {
	margin-bottom: 4px;
	line-height: 1.45;
}
.bp-panel li::marker {
	color: var(--bp-red);
}

/* ---------- Championship banners (Professional Experience) ---------- */
.bp-banners {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
	gap: 34px 26px;
}
.bp-banners > h2.wp-block-heading {
	grid-column: 1 / -1;
	justify-self: start;
	margin-bottom: 0;
}
.bp-role {
	--banner: #14284b;
	--gold: #e2b53a;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-self: center;
	width: 100%;
	max-width: 300px;
	min-height: 330px;
	margin: 0;
	padding: 44px 22px 78px;
	text-align: center;
	color: var(--bp-chalk);
	background: var(--gold); /* gold trim shows as the outer band */
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 44px), 0 100%);
}
/* ---------- Education: Ivey college pennant on a pole ---------- */
.bp-banners.bp-solo .bp-role {
	--banner: #004b36; /* Ivey green */
	justify-self: start;
	align-items: flex-start;
	width: 100%;
	max-width: 640px;
	min-height: 290px;
	padding: 36px 190px 36px 64px;
	text-align: left;
	background:
		linear-gradient(180deg, var(--gold) 0 12px, #6b4a2b 12px) no-repeat left top / 14px 100%;
	clip-path: none;
}
.bp-banners.bp-solo .bp-role::before {
	/* Chalk-white trim of the pennant. */
	content: "";
	position: absolute;
	inset: 0 0 0 14px;
	background: var(--bp-chalk);
	clip-path: polygon(0 0, 100% 14%, 100% 86%, 0 100%);
}
.bp-banners.bp-solo .bp-role::after {
	/* Felt body in Ivey green with a faint weave. */
	content: "";
	position: absolute;
	inset: 8px 0 8px 22px;
	height: auto;
	border: 0;
	background:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 5px),
		var(--banner);
	clip-path: polygon(0 0, 100% 14%, 100% 86%, 0 100%);
}
.bp-banners.bp-solo .bp-role > * {
	z-index: 2;
}
.bp-banners.bp-solo .bp-role-head {
	text-align: left;
}
.bp-banners.bp-solo .bp-co {
	font-size: clamp(1.5rem, 3vw, 2rem);
}
.bp-banners.bp-solo .bp-co::before {
	content: "\2605  \2605  \2605";
	letter-spacing: 0.3em;
}
.bp-banners.bp-solo .bp-title {
	font-size: 1.1rem;
}
@media screen and (max-width: 782px) {
	/* On narrow screens the pennant becomes a short flag with a notched tail. */
	.bp-banners.bp-solo .bp-role {
		padding: 28px 54px 28px 44px;
		min-height: 0;
	}
	.bp-banners.bp-solo .bp-role::before,
	.bp-banners.bp-solo .bp-role::after {
		clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%);
	}
}
.bp-role:nth-of-type(4n + 1) { --banner: #14284b; }
.bp-role:nth-of-type(4n + 2) { --banner: #a31d22; }
.bp-role:nth-of-type(4n + 3) { --banner: #1e4d2e; }
.bp-role:nth-of-type(4n + 4) { --banner: #9a4a1c; }
.bp-role::before {
	/* Banner cloth, inset to leave a gold border. */
	content: "";
	position: absolute;
	inset: 7px;
	background: var(--banner);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 40px), 0 100%);
}
.bp-role::after {
	/* Hanging rod across the top. */
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 14px;
	background: linear-gradient(180deg, #6b4a2b, #3d2a18);
	border-bottom: 3px solid var(--gold);
}
.bp-role > * {
	position: relative;
	z-index: 1;
}
.bp-role-head {
	display: block !important;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}
.bp-role-head p {
	margin: 0 !important;
}
.bp-role-head + .bp-role-head {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 2px dashed rgba(247, 244, 234, 0.45);
}
.bp-co {
	font-family: var(--bp-slab);
	font-size: 1.45rem;
	line-height: 1.15;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--bp-chalk);
}
.bp-co::before {
	content: "\2605  \2605  \2605";
	display: block;
	margin-bottom: 10px;
	font-family: var(--bp-body);
	font-size: 0.8rem;
	letter-spacing: 0.3em;
	color: var(--gold);
}
.bp-title {
	margin: 10px 0 8px !important;
	font-style: italic;
	font-weight: 600;
	font-size: 1.02rem;
	line-height: 1.3;
	color: var(--bp-chalk);
}
.bp-date {
	display: inline-block;
	padding: 6px 0 0;
	font-family: var(--bp-mono);
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	color: var(--gold);
	background: none;
	border-top: 2px solid var(--gold);
}
.bp-panel h3 {
	margin: 0 0 8px;
	font-family: var(--bp-slab);
	font-size: 1.25rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: var(--bp-navy);
}
.bp-panel a {
	color: var(--bp-red);
	font-weight: 700;
	text-decoration-thickness: 2px;
}

/* Skill and interest tags: base-bag white */
.bp-chips {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
}
.bp-chips p {
	margin: 0 !important;
	padding: 0.2em 0.75em;
	font-family: var(--bp-mono);
	font-size: 0.9rem;
	color: var(--bp-ink);
	background: var(--bp-chalk);
	border: 2px solid var(--bp-navy);
	border-radius: 3px;
}
/* Tags that sit directly on the grass (Off the Field) */
.bp-section > .bp-chips p {
	box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

/* ---------- Contact ---------- */
.bp-contact {
	margin-bottom: 40px;
	padding: 22px 26px;
	color: var(--bp-ink);
	background: #ffffff;
	border: 3px solid var(--bp-navy);
	outline: 3px dashed var(--bp-red);
	outline-offset: -11px;
	box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}
.bp-contact a {
	color: var(--bp-red);
	font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer {
	background: linear-gradient(180deg, var(--bp-clay-d), #6e3519);
	border-top: 5px solid var(--bp-chalk);
	color: var(--bp-chalk);
}
.site-footer a {
	color: var(--bp-amber);
}

/* ---------- Mobile ---------- */
@media screen and (max-width: 782px) {
	.bp-hero {
		padding: 22px 18px 20px !important;
		border-width: 8px;
	}
	.bp-panel {
		padding: 14px 16px 14px 18px;
	}
}

/* ---------- Minigame ---------- */
.bp-game,
.bp-game *,
.bp-banners,
.bp-banners * {
	box-sizing: border-box;
}
.bp-game {
	padding-top: 28px;
	padding-bottom: 8px;
}
.bp-game-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}
.bp-game-plain {
	display: inline-block;
	padding: 4px 10px;
	font-family: var(--bp-mono);
	font-size: 0.85rem;
	color: var(--bp-chalk);
	background: rgba(0, 0, 0, 0.45);
	border: 0;
	border-radius: 0;
	cursor: pointer;
}
.bp-game-plain:hover {
	background: rgba(0, 0, 0, 0.65);
}
.bp-game-stage {
	position: relative;
	/* Fit the window: the field's height can't exceed the viewport minus the toolbar and buttons. */
	max-width: min(100%, max(420px, calc((100vh - 150px) * 1.5238 + 20px)));
	max-width: min(100%, max(420px, calc((100svh - 150px) * 1.5238 + 20px)));
	margin-left: auto;
	margin-right: auto;
	container-type: inline-size;
	border: 10px solid #5a3a22;
	border-radius: 6px;
	background: var(--bp-dark);
	box-shadow: inset 0 0 0 3px var(--bp-chalk), 8px 8px 0 rgba(0, 0, 0, 0.35);
	overflow: hidden;
}
.bp-game-canvas {
	display: block;
	width: 100%;
	aspect-ratio: 32 / 21;
	cursor: pointer;
	outline: none;
}
.bp-game-canvas:focus-visible {
	outline: 3px solid var(--bp-amber);
	outline-offset: -3px;
}

/* Panels: stacked content without JavaScript or in plain mode; overlays once the game runs. */
.bp-game-panel {
	margin-bottom: 16px;
	padding: 14px 18px;
	color: var(--bp-ink);
	background:
		repeating-linear-gradient(transparent 0 27px, rgba(20, 40, 75, 0.14) 27px 28px),
		var(--bp-paper);
	border: 3px solid var(--bp-chalk);
	border-left: 8px double var(--bp-red);
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
	font-size: 0.95rem;
	line-height: 1.4;
}
.bp-game-panel.is-dark {
	color: var(--bp-chalk);
	background: rgba(10, 30, 20, 0.94);
	border-left-color: var(--bp-chalk);
}
.bp-game-panel h3 {
	margin: 0 0 8px;
	font-family: var(--bp-slab);
	font-size: 1.26em;
	font-weight: 400;
	color: var(--bp-navy);
}
.bp-game-panel.is-dark h3 {
	color: var(--bp-amber);
}
.bp-game-panel h4 {
	margin: 0.8em 0 0.4em;
	font-family: var(--bp-slab);
	font-size: 1.05em;
	font-weight: 400;
	color: var(--bp-navy);
}
.bp-game-panel p {
	margin: 0 0 6px;
}
.bp-game-panel a {
	color: var(--bp-red);
	font-weight: 700;
}
.bp-game-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(13em, 100%), 1fr));
	gap: 10px;
}
.bp-game-cards .bp-panel {
	font-size: 0.86em;
	margin: 0;
	padding: 10px 14px 10px 18px;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: none;
	border-width: 2px;
}
.bp-game-cards .bp-panel h4 {
	margin: 0 0 4px;
	font-size: 0.95rem;
}
.bp-game-panel .bp-chips p {
	font-size: 0.9em;
}
.bp-game-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 10px !important;
}
.bp-game-panel button,
.bp-game-controls button {
	padding: 8px 16px;
	font-family: var(--bp-slab);
	font-size: 1rem;
	letter-spacing: 0.03em;
	color: var(--bp-chalk);
	background: var(--bp-red);
	border: 2px solid var(--bp-navy);
	border-radius: 3px;
	box-shadow: 3px 3px 0 var(--bp-navy);
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
}
.bp-game-panel button:hover,
.bp-game-controls button:hover {
	background: #8f1a1e;
}

/* Banners and the pennant inside panels scale with the viewport so they always fit. */
.bp-game-panel .bp-banners {
	grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
	gap: 18px 14px;
	align-items: start;
}
.bp-game-panel .bp-role {
	font-size: 1em;
	width: 100%;
	max-width: 17em;
	min-height: 0;
	padding: 2.1em 0.8em 3.3em;
}
.bp-game-panel .bp-co {
	font-size: 1.2em;
}
.bp-game-panel .bp-co::before {
	font-size: 0.8em;
	margin-bottom: 0.4em;
}
.bp-game-panel .bp-title {
	margin: 0.5em 0 0.5em !important;
	font-size: 0.9em;
}
.bp-game-panel .bp-date {
	font-size: 0.9em;
}
.bp-game-panel .bp-banners.bp-solo .bp-role {
	font-size: 1.05em;
	max-width: 40em;
	min-height: 15em;
	padding: 2em 8.5em 2em 3.4em;
}
.bp-game-panel .bp-banners.bp-solo .bp-co {
	font-size: 1.5em;
}

/* Game controls */
.bp-game-controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 14px;
}
.bp-game[data-mode="intro"] .bp-ctl-run,
.bp-game[data-mode="intro"] .bp-ctl-swing,
.bp-game[data-mode="bp"] .bp-ctl-run,
.bp-game[data-mode="bp"] .bp-ctl-skip,
.bp-game[data-mode="bpdone"] .bp-ctl-run,
.bp-game[data-mode="bpdone"] .bp-ctl-swing,
.bp-game[data-mode="bpdone"] .bp-ctl-skip,
.bp-game[data-mode="run"] .bp-ctl-swing,
.bp-game[data-mode="run"] .bp-ctl-skip {
	display: none;
}
.bp-game-help {
	margin: 10px 0 0;
	text-align: center;
	font-size: 0.9rem;
	color: var(--bp-chalk);
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}
.bp-game-status {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* No JavaScript, or plain mode: no field, just the content stacked. */
.bp-game:not(.bp-js):not(.bp-pending) .bp-game-canvas,
.bp-game:not(.bp-js) .bp-game-controls,
.bp-game:not(.bp-js) .bp-game-help,
.bp-game:not(.bp-js) .bp-game-plain,
.bp-game:not(.bp-js) [data-panel="bpdone"],
.bp-game:not(.bp-js) .bp-game-actions,
.bp-game.bp-plain .bp-game-canvas,
.bp-game.bp-plain .bp-game-controls,
.bp-game.bp-plain .bp-game-help,
.bp-game.bp-plain [data-panel="bpdone"],
.bp-game.bp-plain .bp-game-actions {
	display: none;
}
.bp-game:not(.bp-js):not(.bp-pending) .bp-game-stage,
.bp-game.bp-plain .bp-game-stage {
	border: 0;
	background: none;
	box-shadow: none;
	overflow: visible;
}

/* Game running: panels overlay the field, one at a time. */
@media (min-width: 783px) {
	.bp-game.bp-js:not(.bp-plain) .bp-game-panel {
		font-size: clamp(0.62rem, 1.5cqw, 1rem);
		padding: 0.9em 1.2em;
		display: none;
		position: absolute;
		z-index: 3;
		margin: 0;
		overflow: auto;
	}
	.bp-game.bp-js:not(.bp-plain) .bp-game-panel.is-open {
		display: block;
	}
	.bp-game.bp-js:not(.bp-plain) [data-panel="first"] { left: 14px; top: 15%; width: 46%; max-height: 80%; }
	.bp-game.bp-js:not(.bp-plain) [data-panel="third"] { left: 35%; right: 14px; top: 11%; max-height: 87%; }
	.bp-game.bp-js:not(.bp-plain) [data-panel="second"] { left: 14px; right: 14px; top: 31%; bottom: 10px; }
	.bp-game.bp-js:not(.bp-plain) [data-panel="home"] { left: 14px; right: 14px; top: 13%; bottom: auto; max-height: 62%; }
	.bp-game.bp-js:not(.bp-plain) [data-panel="bpdone"] { left: 14px; right: 14px; top: 18%; }
}
@media screen and (max-width: 782px) {
	.bp-game-stage {
		border-width: 6px;
	}
	.bp-game.bp-js:not(.bp-plain) .bp-game-panel {
		display: none;
	}
	.bp-game.bp-js:not(.bp-plain) .bp-game-panel.is-open {
		display: block;
	}
	.bp-game-panel .bp-banners.bp-solo .bp-role {
		padding: 26px 56px 26px 44px;
	}
}

.bp-game-panel[data-panel="home"] .bp-game-cards .bp-panel p {
	margin-bottom: 4px;
}

/* ---------- Line score (replaces the stat strip) ---------- */
.bp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.bp-linescore {
	width: 100%;
	margin: 22px 0 0;
	border-collapse: separate;
	border-spacing: 6px;
	table-layout: fixed;
}
.bp-linescore caption {
	padding: 0 0 2px 6px;
	text-align: left;
	font-family: var(--bp-mono);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bp-amber);
}
.bp-linescore th,
.bp-linescore td {
	padding: 10px 6px;
	text-align: center;
	font-family: var(--bp-mono);
	color: var(--bp-chalk);
	background: #06130c;
	border: 2px solid #3b4a3f;
	border-radius: 4px;
}
.bp-linescore thead th {
	padding: 0 0 2px;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	background: none;
	border: 0;
}
.bp-linescore abbr {
	text-decoration: none;
}
.bp-linescore tbody th {
	width: 11%;
	font-size: 0.95rem;
	letter-spacing: 0.12em;
	color: var(--bp-amber);
}
.bp-linescore td strong {
	display: block;
	margin-bottom: 4px;
	white-space: nowrap;
	font-weight: 400;
	font-size: clamp(1.2rem, 2.8vw, 2rem);
	line-height: 1.1;
	color: var(--bp-amber);
	text-shadow: 0 0 10px rgba(255, 180, 0, 0.55);
}
.bp-linescore td span {
	display: block;
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
@media screen and (max-width: 700px) {
	.bp-linescore {
		display: block;
		overflow-x: auto;
		table-layout: auto;
	}
	.bp-linescore td,
	.bp-linescore thead th {
		min-width: 104px;
	}
}

/* ---------- Resume ticket, headshot, toggles ---------- */
.bp-ticket {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 16px 0 0;
	padding: 10px 18px;
	font-family: var(--bp-mono);
	color: var(--bp-ink) !important;
	text-decoration: none !important;
	background: var(--bp-chalk);
	border: 2px dashed var(--bp-red);
	border-radius: 4px;
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}
.bp-ticket span {
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bp-red);
}
.bp-ticket strong {
	font-family: var(--bp-slab);
	font-weight: 400;
	font-size: 1.1rem;
	color: var(--bp-navy);
}
.bp-ticket em {
	padding-left: 14px;
	font-style: normal;
	font-weight: 700;
	border-left: 2px dashed var(--bp-red);
}
.bp-ticket:hover {
	background: #fff;
}
.bp-headshot {
	flex: 0 0 150px;
	width: 150px;
	height: 150px;
	margin: 0;
	object-fit: cover;
	border: 6px solid var(--bp-chalk);
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.45);
}
@media screen and (max-width: 700px) {
	.bp-headshot {
		flex-basis: auto;
		width: 120px;
		height: 120px;
	}
}
.bp-game-toggles {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* ---------- Home Run Derby score box ---------- */
.bp-scorebox {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 3px dashed var(--bp-red);
}
.bp-scorebox form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.bp-scorebox label {
	font-family: var(--bp-mono);
	font-size: 0.9rem;
}
.bp-scorebox input {
	width: 4.5em;
	margin-left: 6px;
	padding: 6px 8px;
	font-family: var(--bp-mono);
	font-size: 1.1rem;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	border: 2px solid var(--bp-navy);
	border-radius: 3px;
	background: #fff;
}
.bp-scorebox [data-score-msg] {
	min-height: 1.3em;
	margin: 6px 0 0;
	font-family: var(--bp-mono);
	font-size: 0.85rem;
}
.bp-board {
	margin: 0 0 0 1.4em;
	padding: 0;
	font-family: var(--bp-mono);
	letter-spacing: 0.04em;
}

/* ---------- 404 ---------- */
.bp-404 .bp-hero {
	margin-bottom: 40px;
}

/* ---------- Print: the resume as a plain page ---------- */
@media print {
	body {
		background: #fff !important;
	}
	.bp-game-bar,
	.bp-game-canvas,
	.bp-game-controls,
	.bp-game-help,
	.bp-game-actions,
	.bp-scorebox,
	[data-panel="bpdone"],
	#contact,
	#survey,
	.site-header,
	.site-footer {
		display: none !important;
	}
	.bp-game-stage {
		border: 0;
		background: none;
		box-shadow: none;
		overflow: visible;
	}
	.bp-game .bp-game-panel {
		display: block !important;
		position: static !important;
		width: auto !important;
		max-height: none !important;
		margin: 0 0 12px;
		color: #000;
		background: #fff !important;
		border: 1px solid #888;
		box-shadow: none;
		break-inside: avoid;
	}
	.bp-game-panel h3,
	.bp-game-panel.is-dark h3 {
		color: #000;
	}
	.bp-hero,
	.bp-hero * {
		color: #000 !important;
		text-shadow: none !important;
		background: none !important;
		box-shadow: none !important;
	}
	.bp-hero {
		border: 0;
	}
	.bp-linescore td,
	.bp-linescore th {
		border: 1px solid #888;
	}
}

/* ---------- Forms: contrast only (colors, nothing about layout or shape) ---------- */
.bp-contact,
.bp-contact .srfm-form-container,
.bp-contact .srfm-form-wrap {
	--srfm-color-input-label: #1d1d1b !important;
	--srfm-color-input-text: #1d1d1b !important;
	--srfm-color-input-description: #3d3d38 !important;
	--srfm-color-input-background: #ffffff !important;
	--srfm-color-input-border: #5b6b83 !important;
	--srfm-color-scheme-primary: #b32025 !important;
	--srfm-color-scheme-text-on-primary: #ffffff !important;
}
.bp-contact .srfm-form-container label,
.bp-contact .srfm-form-container legend,
.bp-contact .srfm-form-container .srfm-block-label,
.bp-contact .srfm-form-container .srfm-description,
.bp-contact .srfm-form-container .srfm-block-title,
.bp-contact .srfm-form-container .srfm-classic-inputs-holder {
	color: #1d1d1b !important;
}
.bp-contact .srfm-form-container .srfm-description {
	color: #3d3d38 !important;
}
.bp-contact .srfm-form-container input[type="text"],
.bp-contact .srfm-form-container input[type="email"],
.bp-contact .srfm-form-container input[type="tel"],
.bp-contact .srfm-form-container input[type="number"],
.bp-contact .srfm-form-container input[type="url"],
.bp-contact .srfm-form-container textarea,
.bp-contact .srfm-form-container select {
	color: #1d1d1b !important;
	background-color: #ffffff !important;
	border-color: #5b6b83 !important;
}
.bp-contact .srfm-form-container input::placeholder,
.bp-contact .srfm-form-container textarea::placeholder {
	color: #5a5a55 !important;
	opacity: 1;
}
.bp-contact .srfm-form-container .srfm-submit-button,
.bp-contact .srfm-form-container button[type="submit"] {
	color: #ffffff !important;
	background-color: #b32025 !important;
}

/* ---------- Home page: open straight on the name and career line score ---------- */
body.home #masthead,
body.home .site-header,
body.bp-writing-page #masthead,
body.bp-writing-page .site-header,
body.home .entry-header {
	display: none !important;
}
body.home .entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
.bp-game-cards .bp-panel h4 {
	overflow-wrap: anywhere;
}

/* ---------- Third base: projects and skills; home plate: links ---------- */
.bp-skills-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(14em, 100%), 1fr));
	gap: 0.4em 1.2em;
}
.bp-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(15em, 100%), 1fr));
	gap: 0.7em;
}
.bp-link {
	display: flex;
	flex-direction: column;
	gap: 0.2em;
	padding: 0.7em 0.9em;
	color: var(--bp-ink);
	text-decoration: none !important;
	background: #fffdf5;
	border: 0.15em solid var(--bp-navy);
	border-left: 0.5em solid var(--bp-red);
	box-shadow: 0.25em 0.25em 0 rgba(0, 0, 0, 0.25);
}
a.bp-link:hover {
	background: #fff;
	border-left-color: var(--bp-amber);
}
.bp-link strong {
	font-family: var(--bp-slab);
	font-weight: 400;
	font-size: 1.1em;
	color: var(--bp-navy);
}
.bp-link span {
	font-family: var(--bp-mono);
	font-size: 0.8em;
	line-height: 1.3;
	color: #3d3d38;
	overflow-wrap: anywhere;
}
.bp-link-static {
	border-left-color: var(--bp-amber);
}

/* Compact project cards so projects and skills fit together on the third-base panel. */
.bp-game-cards .bp-panel p {
	margin-bottom: 0.3em;
	line-height: 1.3;
}
.bp-game-panel[data-panel="third"] .bp-game-cards .bp-panel {
	padding: 0.5em 0.8em 0.4em 1em;
}
.bp-game-panel[data-panel="third"] .bp-game-cards .bp-panel h4 {
	font-size: 0.95em;
	margin-bottom: 0.2em;
}
.bp-game-panel[data-panel="third"] .bp-chips p {
	font-size: 0.82em;
	padding: 0.15em 0.55em;
}
.bp-game-panel[data-panel="third"] h4 {
	margin: 0.6em 0 0.3em;
}

/* ---------- Project cards with sprites ---------- */
.bp-projects {
	grid-template-columns: 1fr 1fr;
}
.bp-project-wide {
	grid-column: 1 / -1;
}
.bp-project-head {
	display: flex;
	align-items: center;
	gap: 0.8em;
	margin-bottom: 0.4em;
}
.bp-project-head > div {
	min-width: 0;
}
.bp-sprite {
	flex: 0 0 auto;
	width: 5.4em;
	height: auto;
	image-rendering: pixelated;
}
.bp-game-cards .bp-project-head h4,
.bp-game-panel[data-panel="third"] .bp-game-cards .bp-project-head h4 {
	margin: 0;
	font-size: 1em;
}
.bp-project-sub {
	margin: 0 !important;
	font-family: var(--bp-mono);
	font-size: 0.82em;
	color: #3d3d38;
}
.bp-chips-sm {
	margin: 0.3em 0;
}
.bp-chips-sm p {
	font-size: 0.78em !important;
	padding: 0.1em 0.5em !important;
}
.bp-mini-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 0.4em 0;
}
.bp-mini-stats p {
	margin: 0 !important;
	padding: 0.3em 0.6em;
	font-family: var(--bp-mono);
	font-size: 0.74em;
	text-align: center;
	text-transform: uppercase;
	color: var(--bp-chalk);
	background: #06130c;
	border-radius: 3px;
}
.bp-mini-stats strong {
	display: block;
	font-size: 1.6em;
	font-weight: 400;
	line-height: 1.1;
	color: var(--bp-amber);
}
.bp-details summary {
	margin: 0.4em 0 0.2em;
	cursor: pointer;
	font-family: var(--bp-slab);
	color: var(--bp-red);
}
.bp-facts p {
	margin: 0 0 0.4em;
	break-inside: avoid;
}
.bp-facts strong {
	color: var(--bp-navy);
}
.bp-details[open] .bp-facts {
	column-count: 2;
	column-gap: 1.4em;
}
@media screen and (max-width: 782px) {
	.bp-projects {
		grid-template-columns: 1fr;
	}
	.bp-details[open] .bp-facts {
		column-count: 1;
	}
}

/* ---------- Rhythm and type ---------- */
.bp-bio {
	line-height: 1.6;
}
.bp-section + .bp-section {
	padding-top: 36px;
}
.bp-section h2.wp-block-heading {
	margin-bottom: 18px;
}
.bp-intro {
	max-width: 56ch;
	margin: 0 0 14px;
	font-size: 1.05rem;
	line-height: 1.5;
	color: var(--bp-chalk);
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}
.bp-contact .bp-intro {
	color: var(--bp-ink);
	text-shadow: none;
}

/* ---------- Celebration banner: sits above the panels ---------- */
.bp-toast {
	position: absolute;
	top: 3%;
	left: 50%;
	z-index: 6;
	max-width: 92%;
	padding: 0.15em 0.6em;
	font-family: var(--bp-slab);
	font-size: clamp(1rem, 3.4cqw, 2.1rem);
	letter-spacing: 0.04em;
	white-space: nowrap;
	color: var(--bp-amber);
	text-shadow: -2px -2px 0 #12122b, 2px -2px 0 #12122b, -2px 2px 0 #12122b, 2px 2px 0 #12122b, 0 0 14px rgba(255, 180, 0, 0.6);
	background: rgba(6, 19, 12, 0.82);
	border: 3px solid var(--bp-amber);
	border-radius: 6px;
	opacity: 0;
	transform: translate(-50%, -8px) scale(0.9);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}
.bp-toast.is-on {
	opacity: 1;
	transform: translate(-50%, 0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
	.bp-toast {
		transition: none;
	}
}

/* Forms use the site body font now that the theme's web font is no longer loaded on the home page. */
.bp-contact,
.bp-contact .srfm-form-container {
	font-family: var(--bp-body);
}

/* ---------- Loading state: a field-shaped placeholder until the game starts ---------- */
.bp-game.bp-pending .bp-game-canvas {
	display: block;
	/* The empty field (no fans, ads or players) while the game loads. */
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 210' preserveAspectRatio='none'%3E%3Crect x='0' y='0' width='20' height='210' fill='%23236330'/%3E%3Crect x='20' y='0' width='20' height='210' fill='%231f5a2b'/%3E%3Crect x='40' y='0' width='20' height='210' fill='%23236330'/%3E%3Crect x='60' y='0' width='20' height='210' fill='%231f5a2b'/%3E%3Crect x='80' y='0' width='20' height='210' fill='%23236330'/%3E%3Crect x='100' y='0' width='20' height='210' fill='%231f5a2b'/%3E%3Crect x='120' y='0' width='20' height='210' fill='%23236330'/%3E%3Crect x='140' y='0' width='20' height='210' fill='%231f5a2b'/%3E%3Crect x='160' y='0' width='20' height='210' fill='%23236330'/%3E%3Crect x='180' y='0' width='20' height='210' fill='%231f5a2b'/%3E%3Crect x='200' y='0' width='20' height='210' fill='%23236330'/%3E%3Crect x='220' y='0' width='20' height='210' fill='%231f5a2b'/%3E%3Crect x='240' y='0' width='20' height='210' fill='%23236330'/%3E%3Crect x='260' y='0' width='20' height='210' fill='%231f5a2b'/%3E%3Crect x='280' y='0' width='20' height='210' fill='%23236330'/%3E%3Crect x='300' y='0' width='20' height='210' fill='%231f5a2b'/%3E%3Crect width='320' height='68' fill='%231c2536'/%3E%3Crect y='2' width='320' height='6' fill='%231a2336'/%3E%3Crect y='8' width='320' height='1' fill='%233a4a68'/%3E%3Crect y='8' width='320' height='6' fill='%23222e44'/%3E%3Crect y='14' width='320' height='1' fill='%233a4a68'/%3E%3Crect y='14' width='320' height='6' fill='%231a2336'/%3E%3Crect y='20' width='320' height='1' fill='%233a4a68'/%3E%3Crect y='20' width='320' height='6' fill='%23222e44'/%3E%3Crect y='26' width='320' height='1' fill='%233a4a68'/%3E%3Crect y='26' width='320' height='6' fill='%231a2336'/%3E%3Crect y='32' width='320' height='1' fill='%233a4a68'/%3E%3Crect y='32' width='320' height='6' fill='%23222e44'/%3E%3Crect y='38' width='320' height='1' fill='%233a4a68'/%3E%3Crect y='38' width='320' height='6' fill='%231a2336'/%3E%3Crect y='44' width='320' height='1' fill='%233a4a68'/%3E%3Crect y='44' width='320' height='6' fill='%23222e44'/%3E%3Crect y='50' width='320' height='1' fill='%233a4a68'/%3E%3Crect y='50' width='320' height='6' fill='%231a2336'/%3E%3Crect y='56' width='320' height='1' fill='%233a4a68'/%3E%3Crect y='56' width='320' height='6' fill='%23222e44'/%3E%3Crect y='62' width='320' height='1' fill='%233a4a68'/%3E%3Crect y='62' width='320' height='6' fill='%231a2336'/%3E%3Crect y='68' width='320' height='1' fill='%233a4a68'/%3E%3Crect x='22' width='4' height='68' fill='%232e3b57'/%3E%3Crect x='96' width='4' height='68' fill='%232e3b57'/%3E%3Crect x='224' width='4' height='68' fill='%232e3b57'/%3E%3Crect x='298' width='4' height='68' fill='%232e3b57'/%3E%3CclipPath id='w'%3E%3Cpath d='M160 190L38.4 68A172 172 0 0 1 281.6 68Z'/%3E%3C/clipPath%3E%3Cg clip-path='url%28%23w%29'%3E%3Ccircle cx='160' cy='190' r='172' fill='%232e6b3b'/%3E%3Ccircle cx='160' cy='190' r='158' fill='%2327602f'/%3E%3Ccircle cx='160' cy='190' r='144' fill='%232e6b3b'/%3E%3Ccircle cx='160' cy='190' r='130' fill='%2327602f'/%3E%3Ccircle cx='160' cy='190' r='116' fill='%232e6b3b'/%3E%3Ccircle cx='160' cy='190' r='102' fill='%2327602f'/%3E%3Ccircle cx='160' cy='190' r='88' fill='%232e6b3b'/%3E%3Ccircle cx='160' cy='190' r='74' fill='%2327602f'/%3E%3Ccircle cx='160' cy='190' r='60' fill='%232e6b3b'/%3E%3Ccircle cx='160' cy='190' r='46' fill='%2327602f'/%3E%3Ccircle cx='160' cy='190' r='32' fill='%232e6b3b'/%3E%3Ccircle cx='160' cy='190' r='18' fill='%2327602f'/%3E%3Ccircle cx='160' cy='190' r='4' fill='%232e6b3b'/%3E%3Ccircle cx='160' cy='190' r='167.5' fill='none' stroke='%23a85f33' stroke-width='9'/%3E%3C/g%3E%3Cpath d='M37.7 67.7A173 173 0 0 1 282.3 67.7' fill='none' stroke='%230e2a1a' stroke-width='3'/%3E%3Cpath d='M36.3 66.3A175 175 0 0 1 283.7 66.3' fill='none' stroke='%23e2b53a' stroke-width='1'/%3E%3Ccircle cx='160' cy='124' r='82' fill='%23b5653a'/%3E%3Ccircle cx='160' cy='190' r='24' fill='%23b5653a'/%3E%3Cpath d='M160 177.3L217.3 120L160 62.7L102.7 120Z' fill='%232e6b3b'/%3E%3Cpath d='M160 190L230 120L160 50L90 120Z' fill='none' stroke='%23c47a4a' stroke-width='7' stroke-linejoin='round'/%3E%3Ccircle cx='230' cy='120' r='10' fill='%23b5653a'/%3E%3Ccircle cx='160' cy='50' r='10' fill='%23b5653a'/%3E%3Ccircle cx='90' cy='120' r='10' fill='%23b5653a'/%3E%3Ccircle cx='160' cy='124' r='8' fill='%23b5653a'/%3E%3Crect x='157' y='123' width='6' height='2' fill='%23f7f4ea'/%3E%3Cpath d='M38.4 68L160 190L281.6 68' fill='none' stroke='%23f7f4ea' stroke-width='1.5'/%3E%3Crect x='134' y='178' width='16' height='24' fill='none' stroke='%23f7f4ea' stroke-width='1'/%3E%3Crect x='170' y='178' width='16' height='24' fill='none' stroke='%23f7f4ea' stroke-width='1'/%3E%3Cpath d='M156 187H164V191L160 195L156 191Z' fill='%23f7f4ea'/%3E%3Crect x='225' y='115' width='10' height='10' fill='%2314284b'/%3E%3Crect x='226' y='116' width='8' height='8' fill='%23f7f4ea'/%3E%3Crect x='155' y='45' width='10' height='10' fill='%2314284b'/%3E%3Crect x='156' y='46' width='8' height='8' fill='%23f7f4ea'/%3E%3Crect x='85' y='115' width='10' height='10' fill='%2314284b'/%3E%3Crect x='86' y='116' width='8' height='8' fill='%23f7f4ea'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.bp-game.bp-pending .bp-game-panels {
	display: none;
}
.bp-game.bp-pending .bp-game-stage::after {
	content: "Loading the ballpark...";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 0.35em 1em;
	font-family: var(--bp-slab);
	font-size: clamp(1rem, 3cqw, 1.8rem);
	white-space: nowrap;
	color: var(--bp-chalk);
	background: rgba(6, 19, 12, 0.78);
	border: 3px solid var(--bp-chalk);
	border-radius: 6px;
	text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

/* Education pennant: keep the text inside the felt. Centered vertically, with a gentler taper
   so the last line stays clear of the lower edge. */
.bp-game-panel .bp-banners.bp-solo .bp-role {
	justify-content: center;
}
@media (min-width: 783px) {
	.bp-game-panel .bp-banners.bp-solo .bp-role {
		min-height: 18em;
		padding: 2.2em 6.5em 2.6em 3.4em;
	}
}
.bp-game-panel .bp-banners.bp-solo .bp-title {
	margin: 0.3em 0 0.4em !important;
}

/* ---------- Baseball card: hover to tilt, click to flip to the career stats ---------- */
.bp-card-wrap {
	perspective: 1800px;
	max-width: 960px;
	margin: 0 auto 22px;
}
.bp-card {
	--rx: 0deg;
	--ry: 0deg;
	--ty: 0px;
	position: relative;
	border-radius: 22px;
	cursor: pointer;
	outline: none;
	transform-style: preserve-3d;
	transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty));
	transition: transform 0.55s ease-out;
	-webkit-tap-highlight-color: transparent;
}
.bp-card:hover {
	--ty: -4px;
	transition-duration: 0.12s;
}
.bp-card-inner {
	display: grid;
	border-radius: 22px;
	transform-style: preserve-3d;
	/* The turn itself (rotation, lift, tip) is animated from game.js so a click mid-flip can reverse it. */
}
.bp-card-face {
	position: relative;
	grid-area: 1 / 1;
	box-sizing: border-box;
	border-radius: 22px;
	border: 3px solid var(--bp-ink);
	box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.35);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	overflow: hidden;
}

/* Front: cream card stock around a foil-bordered photo panel. */
.bp-card-front {
	padding: 14px;
	background: #f7f1dc;
}
.bp-card-frame {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
	box-sizing: border-box;
	padding: 24px;
	border: 4px solid transparent;
	border-radius: 14px;
	background:
		linear-gradient(135deg, #0d5a3f 0%, #00392a 100%) padding-box,
		linear-gradient(115deg, #a87c1c 0, #d9ab32 calc(var(--gx, 50%) - 30%), #fff1a8 calc(var(--gx, 50%) - 6%), #ffffff var(--gx, 50%), #fff1a8 calc(var(--gx, 50%) + 6%), #d9ab32 calc(var(--gx, 50%) + 30%), #a87c1c 100%) border-box;
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.14);
}
.bp-card-photo {
	position: relative;
	flex: 0 0 210px;
}
.bp-card-photo .bp-headshot {
	display: block;
	float: none;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border: 6px solid #f7f1dc;
	border-radius: 6px;
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.45);
}
.bp-card-rc {
	position: absolute;
	right: -10px;
	bottom: -10px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	font-family: var(--bp-slab);
	font-size: 0.95rem;
	color: #f7f1dc;
	background: var(--bp-red);
	border: 3px solid #e2b53a;
	border-radius: 50%;
	transform: rotate(-10deg);
}
.bp-card-logo {
	width: 120px;
	height: auto;
	right: -16px;
	bottom: -14px;
	padding: 6px 10px;
	background: #fff;
	border-radius: 10px;
	transform: rotate(-3deg);
	box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}
.bp-card-logo img {
	display: block;
	width: 100%;
	height: auto;
}
.bp-card-info {
	flex: 1 1 auto;
	min-width: 0;
}
.bp-card-info .bp-name {
	margin-top: 0;
}

/* Back: card stock with the career line score in a scoreboard inset. */
.bp-card-back {
	padding: 14px;
	background: #efe0b3;
	transform: rotateY(180deg);
}
.bp-card-backframe {
	box-sizing: border-box;
	height: 100%;
	padding: 18px 22px;
	border: 3px dashed var(--bp-red);
	border-radius: 12px;
	background: repeating-linear-gradient(transparent 0 23px, rgba(20, 40, 75, 0.09) 23px 24px);
}
.bp-card-backhead h2 {
	margin: 0;
	font-family: var(--bp-slab);
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 400;
	letter-spacing: 0.02em;
	color: var(--bp-navy);
}
.bp-card-backhead p {
	margin: 2px 0 14px;
	font-family: var(--bp-mono);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-red);
}
.bp-card-scoreboard {
	padding: 12px 10px 8px;
	background: #0f2a1b;
	border: 5px solid #5a3a22;
	border-radius: 8px;
	box-shadow: inset 0 0 0 2px rgba(247, 244, 234, 0.8);
}
.bp-card-scoreboard .bp-linescore {
	margin-top: 0;
}
.bp-card-scoreboard .bp-linescore td strong {
	font-size: clamp(1rem, 2.2vw, 1.6rem);
}
.bp-card-backframe {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* A glossy sheen and a rainbow foil that follow the pointer (each face carries its own). */
.bp-card-glare,
.bp-card-foil {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s;
}
.bp-card-glare {
	background: radial-gradient(circle at var(--gx, 50%) var(--gy, 25%), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 55%);
	mix-blend-mode: soft-light;
}
.bp-card-foil {
	background: linear-gradient(115deg, transparent 20%, rgba(255, 80, 170, 0.35) 34%, rgba(255, 220, 80, 0.35) 44%, rgba(80, 255, 200, 0.35) 54%, rgba(90, 140, 255, 0.35) 64%, transparent 78%);
	background-size: 250% 250%;
	background-position: calc(var(--gx, 50%) * 1) calc(var(--gy, 50%) * 1);
	mix-blend-mode: color-dodge;
}
.bp-card:hover .bp-card-glare {
	opacity: 1;
}
.bp-card:hover .bp-card-foil {
	opacity: 0.55;
}
.bp-card-hint {
	margin: 14px 0 0;
	text-align: center;
	font-family: var(--bp-mono);
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	color: var(--bp-chalk);
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

/* Without JavaScript the card does not flip: both sides show, one above the other. */
.bp-card:not(.bp-card-js) {
	cursor: default;
	transform: none;
}
.bp-card:not(.bp-card-js) .bp-card-inner {
	display: block;
}
.bp-card:not(.bp-card-js) .bp-card-face {
	margin-bottom: 14px;
	-webkit-backface-visibility: visible;
	backface-visibility: visible;
}
.bp-card:not(.bp-card-js) .bp-card-back {
	transform: none;
}
.bp-card:not(.bp-card-js) .bp-card-glare,
.bp-card:not(.bp-card-js) .bp-card-foil,
.bp-card:not(.bp-card-js) + .bp-card-hint {
	display: none;
}

@media screen and (max-width: 700px) {
	.bp-card-frame {
		flex-direction: column;
		padding: 18px;
	}
	.bp-card-photo {
		flex-basis: auto;
		width: 150px;
	}
	.bp-card-backframe {
		padding: 14px;
	}
	/* Career stats stack vertically: year on the left, the stat on the right. */
	.bp-card-scoreboard .bp-linescore {
		display: grid;
		grid-template-columns: 74px 1fr;
		grid-template-rows: repeat(6, auto);
		grid-auto-flow: column;
		overflow: visible;
		border-spacing: 0;
		gap: 8px 8px;
	}
	.bp-card-scoreboard .bp-linescore caption {
		grid-column: 1 / -1;
		grid-row: 1;
		display: block;
	}
	.bp-card-scoreboard .bp-linescore thead,
	.bp-card-scoreboard .bp-linescore tbody,
	.bp-card-scoreboard .bp-linescore tr {
		display: contents;
	}
	.bp-card-scoreboard .bp-linescore thead th:first-child,
	.bp-card-scoreboard .bp-linescore tbody th {
		display: none;
	}
	.bp-card-scoreboard .bp-linescore thead th {
		align-self: center;
		padding: 0;
		font-size: 0.85rem;
		text-align: left;
	}
	.bp-card-scoreboard .bp-linescore td,
	.bp-card-scoreboard .bp-linescore thead th {
		min-width: 0;
	}
	.bp-card-scoreboard .bp-linescore td {
		display: block;
		padding: 8px 12px;
		text-align: left;
	}
	.bp-card-scoreboard .bp-linescore td strong {
		margin: 0 0 2px;
		font-size: 1.5rem;
	}
	.bp-card-scoreboard .bp-linescore td span {
		font-size: 0.68rem;
		line-height: 1.3;
	}
	.bp-card-backhead h2 {
		font-size: 1.7rem;
	}
	.bp-card-front {
		padding: 10px;
	}
	.bp-card-info {
		text-align: center;
	}
	.bp-card-info .bp-name {
		font-size: clamp(2.3rem, 12vw, 3rem);
	}
	.bp-card-info .bp-bio {
		text-align: left;
	}
	.bp-card-photo {
		width: 170px;
	}
	.bp-card-logo {
		width: 100px;
		right: -22px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.bp-card,
	.bp-card-inner {
		transition: none;
	}
}
@media print {
	.bp-card {
		transform: none !important;
		box-shadow: none;
	}
	.bp-card-inner {
		display: block;
		transform: none !important;
	}
	.bp-card-face {
		margin-bottom: 10px;
		transform: none !important;
		-webkit-backface-visibility: visible;
		backface-visibility: visible;
		break-inside: avoid;
	}
	.bp-card-glare,
	.bp-card-foil,
	.bp-card-hint {
		display: none !important;
	}
	.bp-card,
	.bp-card * {
		color: #000 !important;
		text-shadow: none !important;
		background: none !important;
		box-shadow: none !important;
	}
}

/* ---------- Card, round two: roomier front, fuller back ---------- */
.bp-card-frame {
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	gap: 22px;
}
.bp-card-main {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	gap: 32px;
}
.bp-card-photo {
	flex-basis: 270px;
}
.bp-card-info .bp-bio {
	font-size: 1.1rem;
	line-height: 1.55;
}
.bp-card-backframe {
	justify-content: space-between;
	gap: 14px;
}
.bp-card-vitals {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0;
	border: 2px solid var(--bp-navy);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.5);
}
.bp-card-vitals div {
	padding: 8px 12px;
	border-left: 2px solid var(--bp-navy);
}
.bp-card-vitals div:first-child {
	border-left: 0;
}
.bp-card-vitals dt {
	margin: 0;
	font-family: var(--bp-mono);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bp-red);
}
.bp-card-vitals dd {
	margin: 2px 0 0;
	font-family: var(--bp-slab);
	font-size: 1.05rem;
	color: var(--bp-navy);
}
.bp-card-plays h3 {
	margin: 0 0 8px;
	font-family: var(--bp-mono);
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bp-red);
}
.bp-card-plays ol {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: play;
}
.bp-card-plays li {
	position: relative;
	margin: 0;
	padding: 10px 12px 10px 40px;
	counter-increment: play;
	background: rgba(255, 255, 255, 0.5);
	border: 2px solid var(--bp-navy);
	border-radius: 8px;
}
.bp-card-plays li::before {
	content: counter(play);
	position: absolute;
	left: 10px;
	top: 10px;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	font-family: var(--bp-slab);
	font-size: 0.8rem;
	color: #f7f1dc;
	background: var(--bp-red);
	border-radius: 50%;
}
.bp-card-plays strong {
	display: block;
	font-family: var(--bp-slab);
	font-weight: 400;
	font-size: 0.95rem;
	line-height: 1.2;
	color: var(--bp-navy);
}
.bp-card-plays span {
	display: block;
	margin-top: 3px;
	font-size: 0.78rem;
	line-height: 1.35;
	color: #3d3d38;
}
.bp-card-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding-top: 10px;
	border-top: 2px dashed rgba(179, 32, 37, 0.45);
}
.bp-card-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}
.bp-card-contact a {
	padding: 3px 12px;
	font-family: var(--bp-mono);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	color: #f7f1dc;
	background: var(--bp-navy);
	border-radius: 999px;
}
.bp-card-contact a:hover,
.bp-card-contact a:focus-visible {
	background: var(--bp-red);
}
.bp-card-fine {
	margin: 0;
	font-family: var(--bp-mono);
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	color: #5a5a52;
}
@media screen and (max-width: 700px) {
	.bp-card-main {
		flex-direction: column;
		gap: 18px;
	}
	.bp-card-photo {
		flex-basis: auto;
	}
	.bp-card-info .bp-bio {
		font-size: 1rem;
	}
	.bp-card-vitals div {
		padding: 6px 8px;
	}
	.bp-card-vitals dd {
		font-size: 0.85rem;
	}
	.bp-card-plays ol {
		grid-template-columns: 1fr;
	}
	.bp-card-foot {
		justify-content: center;
		text-align: center;
	}
}
@media screen and (max-width: 700px) {
	.bp-card-frame {
		justify-content: center;
		gap: 24px;
	}
	.bp-card-main {
		flex: 0 0 auto;
	}
	.bp-card-plays span {
		display: none;
	}
	.bp-card-plays ol {
		gap: 6px;
	}
	.bp-card-plays li {
		padding-top: 8px;
		padding-bottom: 8px;
	}
	.bp-card-plays li::before {
		top: 7px;
	}
	.bp-card-scoreboard .bp-linescore {
		gap: 6px 8px;
	}
	.bp-card-scoreboard .bp-linescore td {
		padding: 6px 12px;
	}
	.bp-card-scoreboard .bp-linescore td strong {
		font-size: 1.3rem;
	}
	.bp-card-backhead p {
		margin-bottom: 10px;
	}
}

/* Keep theme defaults from restyling the card: stronger selectors for margins, weights and abbreviations. */
.bp-card-wrap .bp-card-contact,
.bp-card-wrap .bp-card-fine {
	margin: 0;
}
.bp-card-wrap .bp-card-hint {
	margin: 14px 0 0;
}
.bp-card-wrap .bp-card-backhead p {
	margin: 2px 0 14px;
}
.bp-card-wrap .bp-card-info .bp-bio {
	margin: 1em 0;
}
.bp-card-wrap abbr {
	border: 0;
	text-decoration: none;
}
.bp-card-wrap th {
	font-weight: 700;
}
.bp-card-wrap dt {
	font-weight: 400;
}
@media screen and (max-width: 700px) {
	.bp-card-wrap .bp-card-backhead p {
		margin-bottom: 10px;
	}
}

/* ---------- Writing page ---------- */
.bp-links-one {
	grid-template-columns: 1fr;
}
body:not(.home) .entry-header .entry-title {
	max-width: 760px;
	margin: 0 auto 24px;
	font-family: var(--bp-slab);
	font-size: clamp(2.2rem, 6.5vw, 3.8rem);
	line-height: 1.12;
	color: var(--bp-chalk);
	text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}
.bp-writing {
	box-sizing: border-box;
	max-width: 760px;
	margin: 0 auto 40px;
	padding: clamp(20px, 4vw, 44px);
	font-family: var(--bp-body);
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--bp-ink);
	background: var(--bp-paper);
	border: 4px solid var(--bp-ink);
	border-radius: 10px;
	box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
}
.bp-writing p {
	margin: 0 0 1.1em;
}
.bp-writing .bp-writing-title {
	margin: 0 0 12px;
	font-family: var(--bp-slab);
	font-size: clamp(1.9rem, 5.2vw, 3rem);
	font-weight: 400;
	line-height: 1.12;
	color: var(--bp-navy);
}
.bp-writing .bp-writing-by {
	margin: 0 0 18px;
	font-family: var(--bp-slab);
	font-size: 1.25rem;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: var(--bp-red);
}
.bp-writing-dek {
	padding-bottom: 1.1em;
	font-size: 1.25rem;
	line-height: 1.45;
	color: var(--bp-navy);
	border-bottom: 3px double var(--bp-ink);
}
.bp-writing h2 {
	margin: 1.8em 0 0.5em;
	font-family: var(--bp-slab);
	font-size: 1.55rem;
	font-weight: 400;
	line-height: 1.2;
	color: var(--bp-navy);
}
.bp-writing ul {
	margin: 0 0 1.2em;
	padding-left: 1.3em;
}
.bp-writing li {
	margin-bottom: 0.7em;
}
.bp-writing a {
	color: var(--bp-red);
	font-weight: 700;
}
.bp-writing-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 1.4em 0 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.bp-writing-steps li {
	position: relative;
	margin: 0;
	padding: 12px 12px 12px 44px;
	counter-increment: step;
	background: #fffdf5;
	border: 3px solid var(--bp-navy);
	border-radius: 8px;
}
.bp-writing-steps li::before {
	content: counter(step);
	position: absolute;
	left: 10px;
	top: 12px;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	font-family: var(--bp-slab);
	font-size: 0.85rem;
	color: var(--bp-chalk);
	background: var(--bp-red);
	border-radius: 50%;
}
.bp-writing-steps strong {
	display: block;
	font-family: var(--bp-slab);
	font-weight: 400;
	color: var(--bp-navy);
}
.bp-writing-steps span {
	display: block;
	font-size: 0.85rem;
	line-height: 1.35;
}
.bp-writing-back {
	margin: 2em 0 0 !important;
	padding-top: 1em;
	border-top: 3px double var(--bp-ink);
}
@media (max-width: 600px) {
	.bp-writing-steps {
		grid-template-columns: 1fr;
	}
}
@media print {
	body:not(.home) .entry-header .entry-title {
		color: #000;
		text-shadow: none;
	}
	.bp-writing {
		border: 0;
		box-shadow: none;
		background: none;
	}
}

/* The resume ticket stretches across the bottom of the card front. */
.bp-card-frame > .bp-ticket {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	margin: 0;
	padding: 16px 26px;
}
.bp-card-frame > .bp-ticket strong {
	flex: 1 1 auto;
	text-align: center;
	font-size: 1.5rem;
}
@media screen and (max-width: 700px) {
	.bp-card-frame > .bp-ticket {
		gap: 10px;
		padding: 12px 14px;
	}
	.bp-card-frame > .bp-ticket strong {
		font-size: 1.15rem;
	}
	.bp-card-frame > .bp-ticket span {
		font-size: 0.6rem;
		letter-spacing: 0.12em;
	}
}

/* Links on the card: the card freezes under the pointer (see game.js); links are bigger targets. */
.bp-card-wrap .bp-card-contact {
	gap: 10px;
}
.bp-card-wrap .bp-card-contact a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 20px;
	font-size: 0.9rem;
}
@media screen and (max-width: 700px) {
	.bp-card-wrap .bp-card-contact a {
		min-height: 44px;
		padding: 8px 22px;
	}
}

/* The writing page shows its title inside the card, so the theme's own title is hidden there. */

/* Card front: the class year sits under the photo and the name block starts higher. */
.bp-card-wrap .bp-card-class {
	margin: 18px 0 0;
	text-align: center;
	font-family: var(--bp-mono);
	font-size: 1rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--bp-amber);
}
.bp-card-main {
	align-items: flex-start;
}
.bp-card-main .bp-card-info {
	align-self: flex-start;
	padding-top: 6px;
}
@media screen and (max-width: 700px) {
	.bp-card-main {
		align-items: center;
	}
	.bp-card-main .bp-card-info {
		align-self: auto;
		padding-top: 0;
	}
}
.bp-card-photo .bp-card-rc {
	top: -16px;
	bottom: auto;
	right: -18px;
}

/* Left-align the class year under the photo (desktop). */
.bp-card-wrap .bp-card-class {
	text-align: left;
}
@media screen and (max-width: 700px) {
	.bp-card-wrap .bp-card-class {
		text-align: center;
	}
}

/* A tighter back, so the front is not left with a big empty gap: no scoreboard caption (kept for screen readers), single-line plays. */
.bp-card-scoreboard .bp-linescore caption {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.bp-card-backframe {
	padding: 14px 22px;
	gap: 10px;
}
.bp-card-wrap .bp-card-backhead p {
	margin-bottom: 10px;
}
@media screen and (max-width: 700px) {
	.bp-card-scoreboard .bp-linescore {
		grid-template-rows: repeat(5, auto);
	}
	.bp-card-backframe {
		padding: 12px 14px;
	}
}
.bp-card-plays li {
	display: flex;
	align-items: center;
	min-height: 42px;
}
.bp-card-plays li::before {
	top: 50%;
	transform: translateY(-50%);
}

/* ---------- Small phones (360px and narrower), and the card's height ---------- */
.bp-co::before,
.bp-banners.bp-solo .bp-co::before {
	white-space: nowrap;
}
@media (max-width: 420px) {
	.bp-game-panel .bp-banners.bp-solo .bp-role {
		padding: 1.2em 3em 1.4em 2em;
	}
	.bp-project-head {
		flex-direction: column;
		align-items: flex-start;
	}
	.bp-sprite {
		width: 4.2em;
	}
	.bp-card-frame > .bp-ticket span {
		display: none;
	}
	.bp-card-logo {
		width: 84px;
		right: -10px;
	}
}
@media (max-width: 380px) {
	.bp-card-scoreboard .bp-linescore {
		grid-template-columns: 54px 1fr;
		gap: 6px;
	}
	.bp-card-scoreboard .bp-linescore thead th {
		font-size: 0.72rem;
	}
	.bp-card-scoreboard .bp-linescore td {
		padding: 5px 8px;
		min-width: 0;
		overflow-wrap: anywhere;
	}
	.bp-card-scoreboard .bp-linescore td strong {
		font-size: 1.1rem;
	}
	.bp-card-scoreboard .bp-linescore td span {
		font-size: 0.68rem;
	}
	.bp-card-vitals dt {
		font-size: 0.66rem;
		letter-spacing: 0.04em;
	}
	.bp-card-vitals dd {
		font-size: 0.72rem;
		overflow-wrap: anywhere;
	}
	.bp-card-vitals div {
		padding: 5px 6px;
		min-width: 0;
	}
	.bp-card-plays strong {
		font-size: 0.85rem;
	}
	.bp-card-wrap .bp-card-contact a {
		padding: 8px 16px;
	}
}
@media (max-width: 480px) {
	body:not(.home) .entry-header .entry-title,
	.bp-writing .bp-writing-title {
		font-size: 1.55rem;
	}
}
@media (max-width: 380px) {
	.bp-card-scoreboard .bp-linescore {
		grid-template-columns: 64px minmax(0, 1fr);
	}
	.bp-card-scoreboard .bp-linescore thead th {
		white-space: nowrap;
		font-size: 0.68rem;
		letter-spacing: 0.02em;
	}
	.bp-card-plays ol {
		grid-template-columns: minmax(0, 1fr);
	}
	.bp-card-plays li {
		min-width: 0;
		padding-right: 8px;
	}
	.bp-card-vitals {
		grid-template-columns: 1.5fr 0.8fr 0.8fr;
	}
	.bp-card-backhead h2 {
		font-size: 1.45rem;
	}
	.bp-card-backhead p {
		font-size: 0.72rem;
	}
}
@media (max-width: 340px) {
	.bp-card-vitals {
		grid-template-columns: 1.25fr 0.85fr 1fr;
	}
	.bp-card-vitals dt {
		font-size: 0.62rem;
		letter-spacing: 0.02em;
	}
	.bp-card-vitals dd {
		font-size: 0.75rem;
	}
	.bp-card-plays strong {
		font-size: 0.75rem;
		overflow-wrap: anywhere;
	}
	.bp-card-plays li {
		padding-left: 36px;
	}
}

/* Back of the card: school, class and program sit at the top right, beside the name. */
.bp-card-backtop {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 24px;
}
.bp-card-backtop .bp-card-vitals {
	flex: 0 1 auto;
	grid-template-columns: repeat(3, auto);
	margin-top: 4px;
}
@media screen and (max-width: 700px) {
	.bp-card-backtop {
		flex-direction: column;
		align-items: stretch;
	}
	.bp-card-backtop .bp-card-vitals {
		grid-template-columns: 1.5fr 0.8fr 0.8fr;
		margin-top: 0;
	}
}
@media (max-width: 340px) {
	.bp-card-backtop .bp-card-vitals {
		grid-template-columns: 1.25fr 0.85fr 1fr;
	}
}

/* Plays: title with a short description underneath. */
.bp-card-plays li {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 0;
}
.bp-card-plays li span {
	display: block;
	margin-top: 3px;
	font-size: 0.78rem;
	line-height: 1.35;
	color: #3d3d38;
}
@media screen and (max-width: 700px) {
	.bp-card-plays li span {
		display: none;
	}
	.bp-card-plays li {
		flex-direction: row;
		align-items: center;
		min-height: 42px;
	}
}

/* Read more link inside a project card. */
.bp-game-panel .bp-readmore {
	margin: 0.6em 0 0 !important;
}
.bp-game-panel .bp-readmore a {
	font-family: var(--bp-slab);
	font-size: 0.95em;
	color: var(--bp-red);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}
.bp-game-panel .bp-readmore a:hover,
.bp-game-panel .bp-readmore a:focus-visible {
	color: var(--bp-navy);
}

/* The help line under the game: keyboard on desktop, taps on touch screens. */
.bp-help-touch {
	display: none;
}
@media (hover: none), (pointer: coarse) {
	.bp-help-desktop {
		display: none;
	}
	.bp-help-touch {
		display: inline;
	}
}

/* ---------- Home Run Derby results ---------- */
.bp-derby-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(6.4em, 100%), 1fr));
	gap: 0.6em;
	margin: 0.4em 0 0.8em;
}
.bp-derby-stats > div {
	padding: 0.5em 0.8em;
	background: #fffdf5;
	border: 0.15em solid var(--bp-navy);
	box-shadow: 0.2em 0.2em 0 rgba(0, 0, 0, 0.2);
}
.bp-derby-stats dt {
	margin: 0;
	font-family: var(--bp-mono);
	font-size: 0.75em;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bp-red);
}
.bp-derby-stats dd {
	margin: 0.1em 0 0;
	font-family: var(--bp-slab);
	font-size: 1.35em;
	line-height: 1.1;
	color: var(--bp-navy);
}
.bp-derby-stats .bp-derby-score {
	grid-column: 1 / -1;
	color: var(--bp-chalk);
	background: var(--bp-dark);
	border-color: var(--bp-ink);
}
.bp-derby-stats .bp-derby-score dt {
	color: var(--bp-amber);
}
.bp-derby-stats .bp-derby-score dd {
	font-size: 2.2em;
	color: var(--bp-amber);
	text-shadow: 0 0 10px rgba(255, 180, 0, 0.45);
}
.bp-derby-line {
	margin: 0.3em 0 !important;
}

/* The flip control under the card: a real button so keyboard and screen reader users can turn the card. */
.bp-card-hint {
	display: block;
	width: 100%;
	padding: 10px 14px;
	cursor: pointer;
	background: none;
	border: 0;
	-webkit-tap-highlight-color: transparent;
}
.bp-card-hint:hover {
	text-decoration: underline;
}
.bp-card-hint:focus-visible {
	outline: 3px solid var(--bp-amber);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Printed pages show where the links go, and the phone layout does not apply to paper. */
@media print {
	.bp-card-wrap a[href^="http"]::after,
	.bp-card-wrap a[href^="mailto"]::after {
		content: " (" attr(href) ")";
		font-size: 0.8em;
	}
}
@media screen and (max-width: 380px) {
	/* School on its own line; class and program share the next one, so nothing breaks mid-word. */
	.bp-card-backtop .bp-card-vitals {
		grid-template-columns: 1fr 1fr;
	}
	.bp-card-backtop .bp-card-vitals div:first-child {
		grid-column: 1 / -1;
		border-bottom: 2px solid var(--bp-navy);
	}
	.bp-card-backtop .bp-card-vitals div:nth-child(2) {
		border-left: 0;
	}
}
@media screen and (max-width: 340px) {
	.bp-card-scoreboard .bp-linescore {
		grid-template-columns: 46px minmax(0, 1fr);
	}
	.bp-card-scoreboard .bp-linescore tbody td span,
	.bp-card-scoreboard .bp-linescore td span {
		font-size: 0.62rem;
		letter-spacing: 0;
	}
	.bp-card-plays strong {
		font-size: 0.68rem;
	}
}

/* ---------- Card, round three: printed-card details ----------
   Jersey pinstripes and a faint baseball seam on the green, a gold keyline in the photo,
   a set mark on the edge of the front and a card number on the back. */
.bp-card-frame {
	position: relative;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='96' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='3'/%3E%3Cpath d='M44 18C86 66 86 134 44 182M156 18C114 66 114 134 156 182' fill='none' stroke='rgba(214,58,58,0.30)' stroke-width='2'/%3E%3Cpath d='M44 18C86 66 86 134 44 182M156 18C114 66 114 134 156 182' fill='none' stroke='rgba(214,58,58,0.30)' stroke-width='9' stroke-dasharray='1.6 6.4'/%3E%3C/svg%3E") no-repeat right -78px top -78px / 280px 280px padding-box,
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 30px, rgba(255, 255, 255, 0.05) 30px 32px) padding-box,
		linear-gradient(135deg, #0d5a3f 0%, #00392a 100%) padding-box,
		linear-gradient(115deg, #a87c1c 0, #d9ab32 calc(var(--gx, 50%) - 30%), #fff1a8 calc(var(--gx, 50%) - 6%), #ffffff var(--gx, 50%), #fff1a8 calc(var(--gx, 50%) + 6%), #d9ab32 calc(var(--gx, 50%) + 30%), #a87c1c 100%) border-box;
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.14), inset 0 0 40px rgba(0, 0, 0, 0.35);
}
.bp-card-photo .bp-headshot {
	outline: 2px solid rgba(201, 162, 39, 0.95);
	outline-offset: -10px;
}
.bp-card-backhead h2::before {
	content: "1" / "";
	display: inline-grid;
	place-items: center;
	width: 1.35em;
	height: 1.35em;
	margin-right: 0.35em;
	vertical-align: 0.12em;
	font-size: 0.62em;
	color: var(--bp-chalk);
	background: var(--bp-red);
	border: 2px solid var(--bp-navy);
	border-radius: 50%;
}

/* ---------- Base panels: one scouting-report sheet for every base ---------- */
.bp-game-panel {
	--pad-y: 14px;
	--pad-x: 18px;
	padding: var(--pad-y) var(--pad-x);
	border: 3px solid var(--bp-ink);
	border-radius: 10px;
	box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
}
.bp-game-panel > .bp-panel-head {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 0.65em;
	margin: calc(-1 * var(--pad-y)) calc(-1 * var(--pad-x)) 0.9em;
	padding: 0.6em var(--pad-x);
	color: var(--bp-chalk);
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 22px, rgba(255, 255, 255, 0.05) 22px 24px),
		var(--bp-dark);
	border-bottom: 3px solid var(--bp-amber);
	border-radius: 7px 7px 0 0;
}
.bp-base-chip {
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2.7em;
	height: 2.7em;
	font-family: var(--bp-slab);
	font-size: 0.85em;
	color: var(--bp-navy);
	background: var(--bp-amber);
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.bp-base-kicker {
	font-family: var(--bp-mono);
	font-size: 0.62em;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bp-amber);
}
.bp-base-title {
	font-size: 1.2em;
	line-height: 1.15;
	font-family: var(--bp-slab);
	color: var(--bp-chalk);
}
.bp-game-panel[data-panel="home"] > .bp-panel-head {
	display: grid;
	margin: calc(-1 * var(--pad-y)) calc(-1 * var(--pad-x)) 0.9em;
}
@media (min-width: 783px) {
	.bp-game.bp-js:not(.bp-plain) .bp-game-panel {
		--pad-y: 0.9em;
		--pad-x: 1.2em;
	}
	/* Every panel opens in the same place: centred over the field, scrolling if it is long. */
	.bp-game.bp-js:not(.bp-plain) .bp-game-panel[data-panel] {
		top: 50%;
		bottom: auto;
		left: 5%;
		right: 5%;
		width: auto;
		max-height: 88%;
		transform: translateY(-50%);
	}
	/* The field dims behind an open panel. */
	.bp-game.bp-js:not(.bp-plain) .bp-game-stage:has(.bp-game-panel.is-open)::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 2;
		background: rgba(6, 19, 12, 0.55);
		pointer-events: none;
	}
}

/* ---------- Base panels: no base labels, and a close button ---------- */
.bp-game-panel {
	position: relative;
}
.bp-game-panel > .bp-panel-head {
	grid-template-columns: auto 1fr;
	padding-right: 3.4em;
}
.bp-base-title {
	grid-row: 1 / span 2;
	align-self: center;
}
.bp-base-chip {
	/* The gold diamond is now just a mark (it used to carry the base number). */
	width: 1.5em;
	height: 1.5em;
}
.bp-game-panel .bp-panel-close {
	position: absolute;
	top: 0.85em;
	right: 0.9em;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 2.1em;
	height: 2.1em;
	min-width: 0;
	padding: 0 0 0.12em !important;
	font-family: var(--bp-body);
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1;
	color: var(--bp-chalk);
	background: rgba(255, 255, 255, 0.1);
	border: 2px solid var(--bp-amber);
	border-radius: 50%;
	box-shadow: none !important;
	cursor: pointer;
}
.bp-game-panel .bp-panel-close:hover,
.bp-game-panel .bp-panel-close:focus-visible {
	color: var(--bp-ink);
	background: var(--bp-amber);
}
.bp-game-panel .bp-panel-close:focus-visible {
	outline: 3px solid var(--bp-chalk);
	outline-offset: 2px;
}
/* Without the game (no JavaScript, or "Read without the game") everything is already open, so there is nothing to close. */
.bp-game:not(.bp-js) .bp-panel-close,
.bp-game.bp-plain .bp-panel-close {
	display: none;
}
@media print {
	.bp-panel-close {
		display: none !important;
	}
}

/* The close button is a clear, round target. */
.bp-game-panel .bp-panel-close {
	width: 2.4em;
	height: 2.4em;
	top: 0.7em;
	font-size: 1.15em;
	background: var(--bp-amber);
	color: var(--bp-ink);
	border-color: var(--bp-amber);
}
.bp-game-panel .bp-panel-close:hover,
.bp-game-panel .bp-panel-close:focus-visible {
	background: var(--bp-chalk);
	border-color: var(--bp-chalk);
}
/* Link cards are a name only, so they sit tighter. */
.bp-link strong {
	margin: 0;
}

.bp-game-panel .bp-link {
	justify-content: center;
	min-height: 0;
}

/* The card's set mark, printed along the edge of the front. */
.bp-card-frame::after {
	content: "2027 SERIES \00B7 NO. 1" / "";
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%) rotate(180deg);
	writing-mode: vertical-rl;
	font-family: var(--bp-mono);
	font-size: 0.62rem;
	letter-spacing: 0.32em;
	color: rgba(255, 233, 163, 0.6);
	pointer-events: none;
}

/* ---------- Boxes without side bars ----------
   Links are tiles with an arrow that light up on hover; information that is not a link is a plain dashed tag. */
.bp-link,
.bp-game-panel .bp-link {
	position: relative;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.8em;
	padding: 0.75em 1em;
	background: #fffdf5;
	border: 0.15em solid var(--bp-navy);
	border-radius: 8px;
	box-shadow: 0 0.25em 0 var(--bp-navy);
	transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
a.bp-link::after {
	content: "\2197" / "";
	flex: 0 0 auto;
	font-family: var(--bp-body);
	font-weight: 700;
	font-size: 1.1em;
	color: var(--bp-red);
	transition: transform 0.12s ease, color 0.12s ease;
}
a.bp-link[download]::after {
	content: "\2193" / "";
}
a.bp-link:hover,
a.bp-link:focus-visible {
	background: var(--bp-navy);
	transform: translateY(-0.15em);
	box-shadow: 0 0.4em 0 var(--bp-ink);
	outline: none;
}
a.bp-link:hover strong,
a.bp-link:focus-visible strong,
a.bp-link:hover::after,
a.bp-link:focus-visible::after {
	color: var(--bp-chalk);
}
a.bp-link:hover::after,
a.bp-link:focus-visible::after {
	transform: translate(0.1em, -0.1em);
}
a.bp-link:active {
	transform: translateY(0.1em);
	box-shadow: 0 0.1em 0 var(--bp-ink);
}
.bp-link-static,
.bp-game-panel .bp-link-static {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2em;
	background: transparent;
	border: 0.15em dashed var(--bp-navy);
	box-shadow: none;
}
/* Project and skill cards: one even border, no stripe down the side. */
.bp-panel {
	border: 3px solid var(--bp-navy);
	border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
	.bp-link,
	a.bp-link::after {
		transition: none;
	}
	a.bp-link:hover,
	a.bp-link:focus-visible {
		transform: none;
	}
}

/* Home plate: buttons sit at the bottom, centred. */
.bp-game-panel[data-panel="home"] .bp-home-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6em;
	margin: 1.1em 0 0.2em !important;
}
.bp-game-panel .bp-links {
	align-items: start;
}
.bp-game-panel .bp-links + .bp-links {
	margin-top: 0.7em;
}

/* ---------- Panel header, final: base chip, title, close ---------- */
.bp-game-panel > .bp-panel-head {
	grid-template-columns: auto 1fr auto;
	padding-right: var(--pad-x);
}
.bp-game-panel .bp-panel-head .bp-base-chip {
	grid-row: auto;
	width: 2.7em;
	height: 2.7em;
}
.bp-game-panel .bp-panel-head .bp-base-title {
	grid-row: auto;
	margin: 0;
	font-family: var(--bp-slab);
	font-size: 1.3em;
	font-weight: 400;
	color: var(--bp-chalk);
}
.bp-game-panel .bp-panel-head .bp-panel-close {
	position: static;
	width: 1.6em;
	height: 1.6em;
	font-family: var(--bp-body);
	font-size: 1.5em;
	font-weight: 400;
	line-height: 1;
	color: rgba(247, 244, 234, 0.7);
	background: none;
	border: 0;
	border-radius: 4px;
}
.bp-game-panel .bp-panel-head .bp-panel-close:hover,
.bp-game-panel .bp-panel-head .bp-panel-close:focus-visible {
	color: var(--bp-amber);
	background: rgba(255, 255, 255, 0.08);
	border: 0;
}
.bp-game-panel .bp-panel-head .bp-panel-close {
	width: 1.4em;
	height: 1.4em;
	font-size: 2.1em;
}

/* Signature plays: just a title and a description. */
.bp-card-plays li::before {
	content: none;
	display: none;
}
.bp-card-plays li,
.bp-card-wrap .bp-card-plays li {
	padding: 10px 14px;
}
@media screen and (max-width: 340px) {
	.bp-card-plays li {
		padding-left: 12px;
	}
}
.bp-card-plays li,
.bp-card-wrap .bp-card-plays li {
	justify-content: flex-start;
}

/* ---------- Card back, trading-card style: logo, name and facts, "1 of 1", then the record ---------- */
.bp-card-back {
	background: #fbf8ee;
}
.bp-card-backframe {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 22px 14px;
	border: 3px solid var(--bp-navy);
	border-radius: 8px;
	background: none;
}
.bp-cb-head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.bp-cb-logo {
	flex: 0 0 auto;
	width: 84px;
	height: auto;
	margin-top: 2px;
}
.bp-cb-id {
	flex: 1 1 auto;
	min-width: 0;
}
.bp-card-wrap .bp-cb-id h2 {
	margin: 0;
	font-family: var(--bp-slab);
	font-size: clamp(1.5rem, 4.2vw, 2.2rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--bp-navy);
}
.bp-card-wrap .bp-cb-id p {
	margin: 0;
}
.bp-cb-role {
	font-family: var(--bp-body);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bp-red);
}
.bp-card-wrap .bp-cb-fact {
	margin-top: 2px !important;
	font-family: var(--bp-body);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bp-navy);
}
.bp-card-wrap .bp-cb-role {
	margin: 3px 0 5px !important;
}
.bp-cb-fact b {
	font-weight: 700;
}
.bp-card-wrap .bp-cb-num {
	flex: 0 0 auto;
	margin: 0;
	font-family: var(--bp-mono);
	font-size: 0.9rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bp-navy);
}
.bp-cb-num span {
	font-family: var(--bp-slab);
	font-size: 2.4rem;
	letter-spacing: 0;
	line-height: 1;
}

/* The record: a grey header row like the back of a trading card. */
.bp-cs {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--bp-body);
	font-size: 0.86rem;
	color: var(--bp-ink);
}
.bp-card-wrap .bp-cs th,
.bp-card-wrap .bp-cs td {
	padding: 4px 8px;
	text-align: left;
	font-weight: 400;
	line-height: 1.25;
	background: none;
	border: 0;
	border-bottom: 1px solid rgba(20, 40, 75, 0.18);
	letter-spacing: 0;
}
.bp-card-wrap .bp-cs thead th {
	padding: 5px 8px;
	font-family: var(--bp-body);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bp-navy);
	background: #cfd2d6;
	border-bottom: 0;
}
.bp-card-wrap .bp-cs tbody th {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bp-navy);
	white-space: nowrap;
}
.bp-card-wrap .bp-cs tbody tr:nth-child(odd) {
	background: rgba(20, 40, 75, 0.045);
}
.bp-card-wrap .bp-cs td:first-child {
	width: 2.6em;
	font-weight: 700;
	color: var(--bp-navy);
}
.bp-cs td strong {
	font-family: var(--bp-slab);
	font-weight: 400;
	font-size: 1.05em;
	margin-right: 0.35em;
	color: var(--bp-navy);
}
.bp-card-wrap .bp-card-plays {
	margin: 0;
}
@media screen and (max-width: 700px) {
	.bp-card-backframe {
		padding: 12px 12px 12px;
		gap: 8px;
	}
	.bp-cb-head {
		flex-wrap: wrap;
		gap: 8px 10px;
	}
	.bp-cb-logo {
		width: 64px;
	}
	.bp-card-wrap .bp-cb-num {
		position: absolute;
		top: 12px;
		right: 14px;
		font-size: 0.72rem;
	}
	.bp-cb-num span {
		font-size: 1.7rem;
	}
	.bp-card-wrap .bp-cb-id {
		flex-basis: 100%;
		padding-right: 0;
	}
	.bp-card-wrap .bp-cb-id h2 {
		font-size: 1.5rem;
	}
	.bp-card-wrap .bp-cb-fact {
		font-size: 0.68rem;
	}
	.bp-cs {
		font-size: 0.78rem;
	}
}
.bp-card-back {
	position: relative;
}
.bp-card-backframe {
	position: relative;
}
@media screen and (max-width: 700px) {
	.bp-card-wrap .bp-cb-num {
		top: 10px;
		right: 12px;
	}
}

/* ---------- Card back in Ivey green, with a glossy finish on the frame and the bold numbers ---------- */
.bp-card-back {
	--ivey: #004b36;
	--ivey-hi: #12a077;
	--ivey-lo: #00251b;
	--gloss: linear-gradient(135deg, var(--ivey-hi) 0%, var(--ivey) 38%, var(--ivey-lo) 52%, #0b6b4f 70%, var(--ivey-hi) 100%);
	--gloss-v: linear-gradient(180deg, #19b88b 0%, #006247 46%, #00281d 54%, #0a7a58 100%);
}
.bp-card-back .bp-card-backframe {
	border: 4px solid transparent;
	border-radius: 9px;
	background:
		linear-gradient(#fbf8ee, #fbf8ee) padding-box,
		var(--gloss) border-box;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
/* A soft sheen across the top of the frame. */
.bp-card-back .bp-card-backframe::before {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 9px;
	pointer-events: none;
	background: linear-gradient(172deg, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 22%);
	-webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	padding: 4px;
}

/* Logo on a plate so it always reads against the green. */
.bp-card-back .bp-cb-logo {
	box-sizing: content-box;
	padding: 4px 8px;
	background: #fff;
	border: 2px solid var(--ivey);
	border-radius: 6px;
	box-shadow: 0 2px 0 var(--ivey-lo), inset 0 8px 8px -6px rgba(0, 0, 0, 0.06);
	margin-top: 0;
}

/* Text and rules in Ivey green. */
.bp-card-wrap .bp-card-back .bp-cb-id h2,
.bp-card-wrap .bp-card-back .bp-cb-fact,
.bp-card-wrap .bp-card-back .bp-cb-num {
	color: var(--ivey);
}
.bp-card-wrap .bp-card-back .bp-cb-role {
	color: #0b7a58;
}
.bp-card-back .bp-card-plays h3 {
	color: var(--ivey);
}
.bp-card-back .bp-card-plays li {
	border-color: var(--ivey);
	background: rgba(0, 75, 54, 0.05);
}
.bp-card-back .bp-card-plays strong {
	color: var(--ivey);
}
.bp-card-back .bp-card-foot {
	border-top: 2px dashed rgba(0, 75, 54, 0.45);
}
.bp-card-back .bp-card-contact a {
	color: #fff;
	background: var(--gloss-v);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 0 var(--ivey-lo);
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.bp-card-back .bp-card-contact a:hover,
.bp-card-back .bp-card-contact a:focus-visible {
	filter: brightness(1.15);
	background: var(--gloss-v);
}

/* The record table: glossy green header, green tinted stripes. */
.bp-card-wrap .bp-card-back .bp-cs thead th {
	color: #fff;
	background: var(--gloss-v);
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.bp-card-wrap .bp-card-back .bp-cs tbody tr:nth-child(odd) {
	background: rgba(0, 75, 54, 0.07);
}
.bp-card-wrap .bp-card-back .bp-cs td,
.bp-card-wrap .bp-card-back .bp-cs th {
	border-bottom-color: rgba(0, 75, 54, 0.25);
}
.bp-card-wrap .bp-card-back .bp-cs tbody th,
.bp-card-wrap .bp-card-back .bp-cs td:first-child {
	color: var(--ivey);
}

/* Bold numbers: a glossy green, lit from above. */
.bp-card-back .bp-cs td strong,
.bp-card-back .bp-cb-num span {
	color: var(--ivey);
	background: var(--gloss-v);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.25));
}
@media print {
	.bp-card-back .bp-cs td strong,
	.bp-card-back .bp-cb-num span {
		-webkit-text-fill-color: currentColor;
		background: none;
		filter: none;
	}
}

/* ---------- Solid green; the shine is light that follows the pointer ---------- */
.bp-card-back {
	--gloss: var(--ivey);
	--gloss-v: var(--ivey);
	--lit: #2f8f6c; /* the green catching the light */
	--w: 16%;
}
.bp-card-back .bp-card-backframe::before {
	display: none;
}
.bp-card-back .bp-cs td strong,
.bp-card-back .bp-cb-num span {
	-webkit-text-fill-color: currentColor;
	background: none;
	filter: none;
}
.bp-card-back .bp-card-contact a,
.bp-card-wrap .bp-card-back .bp-cs thead th,
.bp-card-back .bp-card-contact a:hover,
.bp-card-back .bp-card-contact a:focus-visible {
	text-shadow: none;
	box-shadow: none;
	filter: none;
}
.bp-card-wrap .bp-card-back .bp-cs thead th {
	background: transparent;
}
.bp-card-back .bp-cs thead tr {
	background: var(--ivey);
}

/* The sheen layers sit above the artwork on both sides and let every click through. */
.bp-card-face .bp-card-glare,
.bp-card-face .bp-card-foil {
	z-index: 5;
}
.bp-card-glare {
	background:
		linear-gradient(105deg, rgba(255, 255, 255, 0) calc(var(--gx, 50%) - 20%), rgba(255, 255, 255, 0.28) var(--gx, 50%), rgba(255, 255, 255, 0) calc(var(--gx, 50%) + 20%)),
		radial-gradient(circle at var(--gx, 50%) var(--gy, 25%), rgba(255, 255, 255, 0.5) 0, rgba(255, 255, 255, 0.15) 30%, rgba(0, 0, 0, 0.08) 85%);
	mix-blend-mode: overlay;
}
.bp-card:hover .bp-card-glare {
	opacity: 0.35;
}

/* The front gets a lighter touch than the back. */
.bp-card:hover .bp-card-front .bp-card-glare {
	opacity: 0.18;
}
.bp-card:hover .bp-card-front .bp-card-foil {
	opacity: 0.22;
}
@media print {
	.bp-card-glare {
		display: none !important;
	}
}
/* Back: one light, but only the dark green parts catch it. Overlay blending leaves the cream untouched. */
.bp-card-back .bp-card-glare {
	mix-blend-mode: overlay;
	background:
		linear-gradient(105deg, rgba(255, 255, 255, 0) calc(var(--gx, 50%) - 12%), rgba(255, 255, 255, 0.7) var(--gx, 50%), rgba(255, 255, 255, 0) calc(var(--gx, 50%) + 12%)),
		radial-gradient(circle at var(--gx, 50%) var(--gy, 25%), rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0) 42%);
}
.bp-card:hover .bp-card-back .bp-card-glare {
	opacity: 1;
}

/* Front: the light stays inside the green panel, off the cream border. */
.bp-card-front .bp-card-glare,
.bp-card-front .bp-card-foil {
	inset: 14px;
	border-radius: 14px;
}

/* The set mark is gold foil: brighter, with a highlight that moves with the light. */
.bp-card-frame::after {
	font-size: 0.72rem;
	font-weight: 700;
	color: transparent;
	background: linear-gradient(0deg, #b8902a 0, #b8902a calc(var(--gy, 50%) - 18%), #fff3b0 var(--gy, 50%), #b8902a calc(var(--gy, 50%) + 18%), #b8902a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	filter: drop-shadow(0 0 3px rgba(255, 216, 74, 0.55));
}

/* Class of 2027: gold foil, with the highlight sliding along it as the light moves. */
.bp-card-wrap .bp-card-front .bp-card-class {
	font-weight: 700;
	color: transparent;
	background: linear-gradient(105deg, #b8902a 0, #d9ab32 calc(var(--gx, 50%) - 25%), #fff3b0 var(--gx, 50%), #d9ab32 calc(var(--gx, 50%) + 25%), #b8902a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	filter: drop-shadow(0 0 3px rgba(255, 216, 74, 0.5));
}
