/* Team Picker Wheel — site shell + wheel UI. */

:root {
	--tpw-bg: #05080f;
	--tpw-bg-2: #0b1120;
	--tpw-card: rgba(255, 255, 255, .045);
	--tpw-card-2: rgba(255, 255, 255, .07);
	--tpw-line: rgba(255, 255, 255, .10);
	--tpw-line-2: rgba(255, 255, 255, .18);
	--tpw-text: #eaf0ff;
	--tpw-muted: #94a1bd;
	--tpw-accent: #4ade80;
	--tpw-radius: 18px;
	--tpw-shell: 1180px;
	--tpw-ui: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tpw-display: "Anton", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--tpw-bg);
	color: var(--tpw-text);
	font-family: var(--tpw-ui);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(70rem 40rem at 12% -8%, rgba(74, 222, 128, .10), transparent 60%),
		radial-gradient(60rem 36rem at 92% 4%, rgba(56, 189, 248, .10), transparent 60%),
		radial-gradient(50rem 30rem at 50% 108%, rgba(168, 85, 247, .10), transparent 60%);
}

.wp-site-blocks {
	position: relative;
	z-index: 1;
}

/* Neutralise the block theme's own spacing wrapper. */
.wp-site-blocks > * {
	margin-block-start: 0;
}

/* ------------------------------------------------------------------ shell */

.tpw-shell {
	width: min(100% - 2.5rem, var(--tpw-shell));
	margin-inline: auto;
}

@media (max-width: 640px) {
	.tpw-shell {
		width: min(100% - 1.75rem, var(--tpw-shell));
	}
}

/* -------------------------------------------------------------- top nav */

.tpw-nav {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(5, 8, 15, .72);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--tpw-line);
}

.tpw-nav__in {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	min-height: 72px;
}

.tpw-nav__brand {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	text-decoration: none;
	color: var(--tpw-text);
	font-family: var(--tpw-display);
	font-size: 1.35rem;
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1;
	flex: 0 0 auto;
}

.tpw-nav__mark {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	flex: 0 0 auto;
	background:
		conic-gradient(#4ade80 0 25%, #38bdf8 0 50%, #fb923c 0 75%, #f472b6 0 100%);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .14), 0 6px 18px rgba(0, 0, 0, .5);
	position: relative;
	animation: tpw-idle 14s linear infinite;
}

.tpw-nav__mark::after {
	content: "";
	position: absolute;
	inset: 34%;
	border-radius: 50%;
	background: #05080f;
}

@keyframes tpw-idle {
	to { transform: rotate(360deg); }
}

.tpw-nav__brand em {
	font-style: normal;
	background: linear-gradient(92deg, #4ade80, #38bdf8 55%, #a78bfa);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.tpw-nav__links {
	display: flex;
	align-items: center;
	gap: .35rem;
	margin-left: auto;
	list-style: none;
	padding: 0;
}

.tpw-nav__links a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .5rem .85rem;
	border-radius: 999px;
	text-decoration: none;
	color: var(--tpw-muted);
	font-weight: 600;
	font-size: .95rem;
	white-space: nowrap;
	border: 1px solid transparent;
	transition: color .18s, background .18s, border-color .18s, transform .18s;
}

.tpw-nav__links a:hover {
	color: var(--tpw-text);
	background: var(--tpw-card);
	border-color: var(--tpw-line);
	transform: translateY(-1px);
}

.tpw-nav__links a[aria-current="page"] {
	color: #05080f;
	background: linear-gradient(180deg, #ffffff, #d8e2ff);
	border-color: transparent;
}

.tpw-nav__burger {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--tpw-line);
	background: var(--tpw-card);
	color: var(--tpw-text);
	font-size: 1.15rem;
	cursor: pointer;
}

@media (max-width: 900px) {
	.tpw-nav__burger { display: block; }

	.tpw-nav__links {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: .25rem;
		padding: .75rem 1.25rem 1.15rem;
		background: #05080f;
		border-bottom: 1px solid var(--tpw-line);
		box-shadow: 0 22px 40px -20px rgba(0, 0, 0, .9);
		z-index: 1;
		display: none;
	}

	.tpw-nav.is-open .tpw-nav__links { display: flex; }
	.tpw-nav__links a { justify-content: flex-start; padding: .7rem .9rem; }
}

/* ------------------------------------------------------------------ hero */

.tpw-hero {
	text-align: center;
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
}

.tpw-hero__badge {
	display: inline-block;
	padding: .35rem .9rem;
	border-radius: 999px;
	border: 1px solid var(--tpw-line-2);
	background: var(--tpw-card);
	color: var(--tpw-muted);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	margin-bottom: 1.1rem;
}

.tpw-hero__title {
	font-family: var(--tpw-display);
	font-size: clamp(2.4rem, 7vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: .005em;
	text-transform: uppercase;
	margin: 0 0 .8rem;
	background: linear-gradient(180deg, #ffffff 30%, #9fb3d9);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.tpw-hero__sub {
	max-width: 62ch;
	margin: 0 auto;
	color: var(--tpw-muted);
	font-size: clamp(1rem, 1.5vw, 1.15rem);
}

/* ------------------------------------------------------------- the wheel */

.tpw {
	--tpw-win: var(--tpw-accent);
	margin: 2rem 0 3rem;
}

.tpw__stage {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: start;
	padding: clamp(1rem, 2.5vw, 1.75rem);
	border: 1px solid var(--tpw-line);
	border-radius: 26px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
	box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
}

@media (max-width: 940px) {
	.tpw__stage { grid-template-columns: minmax(0, 1fr); }
}

.tpw__wheelcol {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tpw__wheelbox {
	position: relative;
	width: 100%;
	max-width: 620px;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .6));
}

.tpw__canvas {
	max-width: 100%;
	border-radius: 50%;
	touch-action: manipulation;
}

.tpw__confetti {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 5;
}

.tpw__pointer {
	position: absolute;
	top: -2px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	z-index: 4;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-top: 34px solid #ffffff;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .65));
}

.tpw__hub {
	position: absolute;
	z-index: 3;
	width: 24%;
	aspect-ratio: 1;
	min-width: 76px;
	border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, .9);
	background: radial-gradient(circle at 32% 28%, #1b2540, #070b16);
	color: #fff;
	font-family: var(--tpw-display);
	font-size: clamp(.95rem, 2.2vw, 1.35rem);
	letter-spacing: .06em;
	cursor: pointer;
	display: grid;
	place-items: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .65), inset 0 2px 10px rgba(255, 255, 255, .12);
	transition: transform .16s ease, box-shadow .16s ease;
}

.tpw__hub:hover:not(:disabled) {
	transform: scale(1.06);
	box-shadow: 0 0 0 8px color-mix(in srgb, var(--tpw-accent) 22%, transparent), 0 10px 30px rgba(0, 0, 0, .65);
}

.tpw__hub:disabled { opacity: .55; cursor: not-allowed; }
.tpw.is-spinning .tpw__hub { pointer-events: none; opacity: .8; }

.tpw__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .7rem;
	margin-top: 1.5rem;
}

.tpw__btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .85rem 1.5rem;
	border-radius: 999px;
	border: 1px solid var(--tpw-line-2);
	background: var(--tpw-card);
	color: var(--tpw-text);
	font-family: var(--tpw-ui);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform .16s, box-shadow .16s, background .16s, opacity .16s;
}

.tpw__btn:hover:not(:disabled) { transform: translateY(-2px); }
.tpw__btn:disabled { opacity: .45; cursor: not-allowed; }

.tpw__btn--primary {
	border-color: transparent;
	color: #05080f;
	background: linear-gradient(180deg, color-mix(in srgb, var(--tpw-accent) 92%, #fff), var(--tpw-accent));
	box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--tpw-accent) 65%, transparent);
}

.tpw__btn--primary:hover:not(:disabled) {
	box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--tpw-accent) 75%, transparent);
}

.tpw__btn-ico { font-size: .85em; }

.tpw__hint {
	margin: .9rem 0 0;
	color: var(--tpw-muted);
	font-size: .9rem;
	text-align: center;
}

.tpw__hint kbd {
	font-family: inherit;
	font-size: .8rem;
	padding: .1rem .45rem;
	border-radius: 6px;
	border: 1px solid var(--tpw-line-2);
	background: var(--tpw-card);
}

/* ----------------------------------------------------------------- panel */

.tpw__panel {
	border: 1px solid var(--tpw-line);
	border-radius: var(--tpw-radius);
	background: rgba(4, 7, 14, .5);
	padding: 1.15rem;
}

.tpw__panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.tpw__panel-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .01em;
}

.tpw__bulk { display: flex; gap: .35rem; }

.tpw__mini {
	padding: .3rem .7rem;
	border-radius: 999px;
	border: 1px solid var(--tpw-line);
	background: transparent;
	color: var(--tpw-muted);
	font: inherit;
	font-size: .8rem;
	font-weight: 600;
	cursor: pointer;
	transition: color .15s, border-color .15s, background .15s;
}

.tpw__mini:hover {
	color: var(--tpw-text);
	border-color: var(--tpw-line-2);
	background: var(--tpw-card);
}

.tpw__filters {
	max-height: 460px;
	overflow-y: auto;
	padding-right: .35rem;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, .2) transparent;
}

.tpw__filters::-webkit-scrollbar { width: 8px; }
.tpw__filters::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 99px; }

.tpw__group + .tpw__group { margin-top: 1rem; }

.tpw__group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: .45rem .6rem;
	border: 0;
	border-radius: 10px;
	background: var(--tpw-card-2);
	color: var(--tpw-text);
	font: inherit;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	cursor: pointer;
}

.tpw__group-toggle { color: var(--tpw-muted); font-size: .68rem; letter-spacing: .06em; }
.tpw__group-head:hover .tpw__group-toggle { color: var(--tpw-accent); }

.tpw__div { margin-top: .55rem; }

.tpw__div-head {
	display: block;
	width: 100%;
	text-align: left;
	padding: .2rem .25rem;
	border: 0;
	background: none;
	color: var(--tpw-muted);
	font: inherit;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	cursor: pointer;
}

.tpw__div-head:hover { color: var(--tpw-accent); }

.tpw__teams {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: .3rem;
}

.tpw__chip {
	display: flex;
	align-items: center;
	gap: .45rem;
	padding: .34rem .55rem;
	border-radius: 10px;
	border: 1px solid var(--tpw-line);
	border-left: 3px solid var(--chip, var(--tpw-accent));
	background: var(--tpw-card);
	color: var(--tpw-text);
	font: inherit;
	font-size: .82rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: background .15s, opacity .15s, border-color .15s;
}

.tpw__chip:hover { background: var(--tpw-card-2); }
.tpw__chip-logo { width: 22px; height: 22px; object-fit: contain; flex: 0 0 auto; }
.tpw__chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tpw__chip.is-off { opacity: .38; border-left-color: var(--tpw-line); }
.tpw__chip.is-off .tpw__chip-logo { filter: grayscale(1); }

.tpw__chip.is-out { opacity: .45; }
.tpw__chip.is-out .tpw__chip-name { text-decoration: line-through; }
.tpw__chip.is-out .tpw__chip-logo { filter: grayscale(1) brightness(1.4); }

/* --------------------------------------------------------------- toggles */

.tpw__toggles {
	margin-top: 1.1rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--tpw-line);
	display: grid;
	gap: .8rem;
}

.tpw__switch {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	cursor: pointer;
	font-size: .9rem;
	font-weight: 600;
}

.tpw__switch input { position: absolute; opacity: 0; width: 0; height: 0; }

.tpw__switch-ui {
	flex: 0 0 auto;
	width: 40px;
	height: 23px;
	margin-top: .1rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid var(--tpw-line-2);
	position: relative;
	transition: background .18s;
}

.tpw__switch-ui::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: #fff;
	transition: transform .18s;
}

.tpw__switch input:checked + .tpw__switch-ui { background: var(--tpw-accent); }
.tpw__switch input:checked + .tpw__switch-ui::after { transform: translateX(17px); }
.tpw__switch input:focus-visible + .tpw__switch-ui { outline: 2px solid var(--tpw-accent); outline-offset: 2px; }

.tpw__switch-txt small {
	display: block;
	font-weight: 500;
	font-size: .78rem;
	color: var(--tpw-muted);
	margin-top: .1rem;
}

/* --------------------------------------------------------------- history */

.tpw__history {
	margin-top: 1.1rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--tpw-line);
}

.tpw__history-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: .6rem;
}

.tpw__history-head h3 {
	margin: 0;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tpw-muted);
}

.tpw__history-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 190px;
	overflow-y: auto;
	display: grid;
	gap: .25rem;
}

.tpw__history-empty { color: var(--tpw-muted); font-size: .85rem; }

.tpw__history-row {
	display: flex;
	align-items: center;
	gap: .55rem;
	padding: .3rem .5rem;
	border-radius: 9px;
	background: var(--tpw-card);
	font-size: .85rem;
	font-weight: 600;
}

.tpw__history-n {
	min-width: 1.4rem;
	color: var(--tpw-muted);
	font-size: .75rem;
}

.tpw__history-row img { width: 22px; height: 22px; object-fit: contain; }

/* ---------------------------------------------------------------- result */

.tpw__result {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: none;
	place-items: center;
	padding: 1.25rem;
	background: rgba(3, 5, 11, .78);
	backdrop-filter: blur(6px);
}

.tpw__result.is-open { display: grid; }

.tpw__result-card {
	position: relative;
	width: min(100%, 420px);
	text-align: center;
	padding: 2.2rem 1.75rem 1.75rem;
	border-radius: 24px;
	border: 1px solid var(--tpw-line-2);
	background:
		radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--tpw-win) 30%, transparent), transparent 70%),
		linear-gradient(180deg, #121a2c, #080d18);
	box-shadow: 0 40px 90px -30px #000;
	animation: tpw-pop .38s cubic-bezier(.2, 1.3, .4, 1) both;
}

@keyframes tpw-pop {
	from { transform: scale(.86) translateY(14px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

.tpw__close {
	position: absolute;
	top: .6rem;
	right: .8rem;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--tpw-line);
	background: var(--tpw-card);
	color: var(--tpw-text);
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

.tpw__result-kicker {
	margin: 0 0 .4rem;
	color: var(--tpw-muted);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.tpw__result-logo {
	width: 150px;
	height: 150px;
	object-fit: contain;
	margin: .25rem auto .6rem;
	filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .6));
}

.tpw__result-name {
	margin: 0 0 .25rem;
	font-family: var(--tpw-display);
	font-size: clamp(1.7rem, 5vw, 2.3rem);
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: .01em;
}

.tpw__result-meta { margin: 0 0 1.3rem; color: var(--tpw-muted); font-size: .92rem; }

.tpw__result-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }

.tpw__live {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ------------------------------------------------------------- home grid */

.tpw-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
	margin: 2rem 0 3rem;
}

.tpw-grid__card {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	padding: 1.6rem 1.4rem;
	border-radius: 20px;
	border: 1px solid var(--tpw-line);
	background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
	text-decoration: none;
	color: var(--tpw-text);
	overflow: hidden;
	position: relative;
	transition: transform .2s, border-color .2s, box-shadow .2s;
}

.tpw-grid__card::before {
	content: "";
	position: absolute;
	inset: -40% 55% 55% -40%;
	background: radial-gradient(circle, color-mix(in srgb, var(--tpw-accent) 40%, transparent), transparent 70%);
	opacity: .5;
	transition: opacity .25s;
}

.tpw-grid__card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--tpw-accent) 55%, transparent);
	box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--tpw-accent) 80%, transparent);
}

.tpw-grid__card:hover::before { opacity: .9; }

.tpw-grid__emoji { font-size: 2rem; position: relative; }
.tpw-grid__name { font-size: 1.15rem; font-weight: 700; line-height: 1.3; position: relative; }
.tpw-grid__sub { color: var(--tpw-muted); font-size: .88rem; position: relative; }

.tpw-grid__cta {
	margin-top: .7rem;
	color: var(--tpw-accent);
	font-weight: 700;
	font-size: .9rem;
	position: relative;
}

/* ----------------------------------------------------------------- prose */

.tpw-prose {
	max-width: 74ch;
	margin: 0 auto;
	padding: 1rem 0 2rem;
}

.tpw-prose h2 {
	font-family: var(--tpw-display);
	font-size: clamp(1.6rem, 3.4vw, 2.2rem);
	text-transform: uppercase;
	letter-spacing: .01em;
	margin: 2.4rem 0 .8rem;
}

.tpw-prose h3 { font-size: 1.2rem; font-weight: 700; margin: 1.6rem 0 .5rem; }
.tpw-prose p, .tpw-prose li { color: #c3ccdf; }
.tpw-prose a { color: var(--tpw-accent); }

.tpw-prose ol, .tpw-prose ul { padding-left: 1.25rem; display: grid; gap: .4rem; }

.tpw-steps {
	list-style: none;
	padding: 0;
	counter-reset: tpw;
	display: grid;
	gap: .7rem;
	margin: 1.2rem 0;
}

.tpw-steps li {
	counter-increment: tpw;
	position: relative;
	padding: .85rem 1rem .85rem 3.1rem;
	border-radius: 14px;
	border: 1px solid var(--tpw-line);
	background: var(--tpw-card);
}

.tpw-steps li::before {
	content: counter(tpw);
	position: absolute;
	left: .9rem;
	top: .8rem;
	width: 1.7rem;
	height: 1.7rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tpw-accent);
	color: #05080f;
	font-weight: 800;
	font-size: .85rem;
}

/* ------------------------------------------------------------------- faq */

.tpw-faq { display: grid; gap: .6rem; margin: 1.2rem 0 2rem; }

.tpw-faq__item {
	border: 1px solid var(--tpw-line);
	border-radius: 14px;
	background: var(--tpw-card);
	padding: .2rem .2rem;
}

.tpw-faq__item summary {
	cursor: pointer;
	padding: .85rem 1rem;
	font-weight: 700;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.tpw-faq__item summary::-webkit-details-marker { display: none; }

.tpw-faq__item summary::after {
	content: "+";
	color: var(--tpw-accent);
	font-size: 1.3rem;
	line-height: 1;
}

.tpw-faq__item[open] summary::after { content: "\2212"; }
.tpw-faq__a { padding: 0 1rem .9rem; color: #c3ccdf; }
.tpw-faq__a p { margin: 0 0 .6rem; }

/* ---------------------------------------------------------------- footer */

.tpw-foot {
	margin-top: 3rem;
	border-top: 1px solid var(--tpw-line);
	background: rgba(4, 7, 14, .6);
	padding: 2.5rem 0 2rem;
}

.tpw-foot__in {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: space-between;
	align-items: center;
}

.tpw-foot__links { display: flex; flex-wrap: wrap; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.tpw-foot__links a { color: var(--tpw-muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.tpw-foot__links a:hover { color: var(--tpw-text); }

.tpw-foot__note {
	width: 100%;
	color: #6f7c96;
	font-size: .8rem;
	line-height: 1.6;
	margin: 1.5rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--tpw-line);
}

/* ------------------------------------------------------------ a11y/motion */

:where(a, button, summary, input):focus-visible {
	outline: 2px solid var(--tpw-accent);
	outline-offset: 2px;
	border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.tpw-nav__mark { animation: none; }
	* { transition-duration: .01ms !important; }
}

/* --------------------------------------------- block-theme layout override
 * Twenty Twenty-Five constrains post content to ~620px. The wheel needs the
 * full shell width, so the content wrapper is released and each direct child
 * is centred on the shell instead.
 */
.wp-site-blocks .wp-block-post-content,
.wp-site-blocks .entry-content {
	max-width: none;
}

.wp-site-blocks .wp-block-post-content.is-layout-constrained > *,
.wp-site-blocks .entry-content.is-layout-constrained > * {
	max-width: min(100%, var(--tpw-shell));
	margin-inline: auto;
}

.wp-site-blocks .wp-block-post-content.is-layout-constrained > .tpw-prose,
.wp-site-blocks .entry-content.is-layout-constrained > .tpw-prose {
	max-width: min(100%, 74ch);
}

/* The theme's own group padding fights the sticky nav; keep it flush. */
.wp-site-blocks > main,
.wp-site-blocks > .wp-block-group {
	padding-top: 0;
	padding-bottom: 0;
}

/* The fixed body glow paints over unpositioned elements; lift the chrome. */
.tpw-foot {
	position: relative;
	z-index: 1;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 300;
	width: auto;
	height: auto;
	clip: auto;
	padding: .6rem 1rem;
	border-radius: 10px;
	background: #fff;
	color: #05080f;
	font-weight: 700;
	text-decoration: none;
}

/* --------------------------------------------------------- team roster */

.tpw-list {
	display: grid;
	gap: 1.75rem;
	margin: 1.5rem 0 2.5rem;
}

.tpw-list__conf-name {
	margin: 0 0 .9rem;
	font-family: var(--tpw-display);
	font-size: 1.35rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--tpw-accent);
}

.tpw-list__div + .tpw-list__div { margin-top: 1.1rem; }

.tpw-list__div-name {
	margin: 0 0 .45rem;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--tpw-muted);
}

.tpw-list__teams {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: .4rem;
}

.tpw-list__teams li {
	display: flex;
	align-items: center;
	gap: .55rem;
	padding: .45rem .7rem;
	border-radius: 12px;
	border: 1px solid var(--tpw-line);
	border-left: 3px solid var(--chip, var(--tpw-accent));
	background: var(--tpw-card);
	font-size: .9rem;
	font-weight: 600;
	color: var(--tpw-text);
}

.tpw-list__teams img { width: 26px; height: 26px; object-fit: contain; flex: 0 0 auto; }

/* Keep the roster and FAQ on the reading measure when they sit at page level. */
.wp-site-blocks .wp-block-post-content.is-layout-constrained > .tpw-faq,
.wp-site-blocks .entry-content.is-layout-constrained > .tpw-faq {
	max-width: min(100%, 74ch);
}

/* ------------------------------------------------------------- polish */

/* Twenty Twenty-Five's 30px root gutter costs a phone 16% of its width. Trim
 * it on small screens. Only the content wrapper's own padding is touched:
 * <main> keeps its padding so the wrapper's alignfull negative margins still
 * cancel out and nothing overflows the viewport. */
@media (max-width: 640px) {
	.wp-site-blocks .wp-block-post-content.has-global-padding,
	.wp-site-blocks .entry-content.has-global-padding {
		padding-left: 14px;
		padding-right: 14px;
	}
}

/* Signed-in admins get WordPress's fixed toolbar; keep the nav clear of it. */
@media screen and (min-width: 783px) {
	.admin-bar .tpw-nav { top: 32px; }
}

@media (max-width: 640px) {
	.tpw__stage {
		padding: .7rem;
		border-radius: 20px;
	}

	.tpw__panel { padding: .9rem; }
	.tpw__filters { max-height: 330px; }
	.tpw__actions { width: 100%; }
	.tpw__btn { flex: 1 1 auto; justify-content: center; }
	.tpw__result-logo { width: 118px; height: 118px; }
}
