/*
 * Unified WDM frontend shell.
 *
 * This file loads after the legacy and team-theme styles. New work should use
 * these scoped rules instead of adding another late override to public.css.
 */

:root {
	--wdm-ui-font: var(--wdm-font, "Segoe UI", Arial, sans-serif);
	--wdm-ui-ink: #172033;
	--wdm-ui-muted: #5d6878;
	--wdm-ui-line: #d7dde5;
	--wdm-ui-line-strong: #b9c2ce;
	--wdm-ui-page: #eef1f4;
	--wdm-ui-surface: #ffffff;
	--wdm-ui-surface-alt: #f5f7f9;
	--wdm-ui-nav: #121820;
	--wdm-ui-nav-muted: #aeb8c5;
	--wdm-ui-brand: var(--wdm-primary, #b4232f);
	--wdm-ui-brand-strong: var(--wdm-primary, #8f1924);
	--wdm-ui-action: #176447;
	--wdm-ui-action-hover: #0f4f38;
	--wdm-ui-on-action: #ffffff;
	--wdm-ui-focus: #0b6fc2;
	--wdm-ui-success: #157347;
	--wdm-ui-warning: #a45b08;
	--wdm-ui-danger: #b4232f;
	--wdm-ui-info: #245ea8;
	--wdm-shell-max: none;
	--wdm-control-height: 42px;
}

body.wdm-app-page {
	background: var(--wdm-ui-page);
	color: var(--wdm-ui-ink);
}

body.wdm-app-page.wdm-public-theme-light {
	--wdm-ui-ink: #172033;
	--wdm-ui-muted: #5d6878;
	--wdm-ui-line: #d7dde5;
	--wdm-ui-line-strong: #b9c2ce;
	--wdm-ui-page: #eef1f4;
	--wdm-ui-surface: #ffffff;
	--wdm-ui-surface-alt: #f5f7f9;
	color-scheme: light;
}

body.wdm-app-page.wdm-public-theme-dark {
	--wdm-ui-ink: #eef3f8;
	--wdm-ui-muted: #aeb9c7;
	--wdm-ui-line: #394554;
	--wdm-ui-line-strong: #536173;
	--wdm-ui-page: #0d131a;
	--wdm-ui-surface: #18212b;
	--wdm-ui-surface-alt: #202b37;
	--wdm-ui-nav: #0b1118;
	--wdm-ui-nav-muted: #b7c0cb;
	--wdm-ui-success: #72d6a5;
	--wdm-ui-warning: #f2b45e;
	--wdm-ui-danger: #ff7b86;
	--wdm-ui-info: #78aef5;
	color-scheme: dark;
}

body.wdm-app-page main :where(.entry-header, .wp-block-post-title) {
	display: none;
}

body.wdm-app-page :where(.entry-content, .wp-block-post-content, .site-content, .content-area) {
	box-sizing: border-box;
	max-width: none !important;
	width: 100%;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root,
	.wdm-player-nav,
	.wdm-portal-nav
) {
	box-sizing: border-box;
	font-family: var(--wdm-ui-font);
	letter-spacing: 0;
	max-width: 100%;
	min-width: 0;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) *,
:where(.wdm-player-nav, .wdm-portal-nav) * {
	box-sizing: border-box;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--wdm-ui-ink);
	margin: 1.5rem auto;
	max-width: var(--wdm-shell-max);
	padding: 0 1.25rem 2.5rem;
	width: 100%;
}

/*
 * Canonical player-facing workspace. The explicit class has enough
 * specificity to override older per-module max-width and spacing rules.
 */
body.wdm-app-page .wdm-portal-shell {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	margin: 1.5rem auto;
	max-width: none;
	min-width: 0;
	padding: 0 1.25rem 2.5rem;
	width: 100%;
}

body.wdm-app-page .wdm-portal-shell > .wdm-player-nav,
body.wdm-app-page .wdm-portal-shell > .wdm-portal-nav {
	margin-top: 0;
	min-height: 58px;
	width: 100%;
}

body.wdm-app-page .wdm-portal-shell > .wdm-view-panel > :where(.wdm-public-view, .wdm-manager-portal) {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

@media (max-width: 759px) {
	body.wdm-app-page .wdm-portal-shell {
		margin: .75rem auto;
		padding: 0 .75rem 1.5rem;
	}
}

.wdm-ladder {
	--wdm-shell-max: none;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(h1, h2, h3, h4, h5, h6, p, label, input, select, textarea, button, a) {
	font-family: inherit;
	letter-spacing: 0;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(h2, h3, h4, h5) {
	color: var(--wdm-ui-ink);
	line-height: 1.25;
}

.wdm-kicker {
	color: var(--wdm-ui-brand);
	font-size: .75rem;
	font-weight: 750;
	letter-spacing: 0;
	margin: 0 0 .35rem;
	text-transform: uppercase;
}

/* Shared app headers */
.wdm-public-header,
.wdm-club-header,
.wdm-section-heading {
	align-items: center;
	background: var(--wdm-ui-nav);
	border: 1px solid #28313d;
	border-left: 4px solid var(--wdm-ui-brand);
	border-radius: 8px;
	box-shadow: none;
	color: #fff;
	display: flex;
	gap: 1.25rem;
	justify-content: space-between;
	margin: 1rem 0 1.25rem;
	min-height: 96px;
	padding: 1.15rem 1.35rem;
}

.wdm-public-header :where(h1, h2, h3, h4, p, strong, small),
.wdm-club-header :where(h1, h2, h3, h4, p, strong, small),
.wdm-section-heading :where(h1, h2, h3, h4, p, strong, small) {
	color: #fff !important;
}

:where(.wdm-public-header, .wdm-club-header, .wdm-section-heading) h2 {
	font-size: 1.65rem;
	margin: 0;
}

.wdm-workspace-summary {
	color: #d8dee7 !important;
	margin: .4rem 0 0;
	max-width: 70ch;
}

/* Manager navigation */
.wdm-portal-nav {
	align-items: stretch;
	background: var(--wdm-ui-nav);
	border: 1px solid #28313d;
	border-radius: 8px;
	box-shadow: none;
	display: grid;
	gap: 0;
	grid-template-columns: auto minmax(150px, auto) minmax(0, 1fr) auto auto;
	margin: 0 0 1rem;
	max-width: 100%;
	min-height: 64px;
	min-width: 0;
	overflow: visible;
	padding: 0;
	width: 100%;
}

.wdm-portal-nav__brand {
	align-items: center;
	border-right: 1px solid #303a47;
	color: #fff;
	display: flex;
	gap: .7rem;
	min-width: 188px;
	padding: .75rem 1rem;
	text-decoration: none;
}

.wdm-portal-nav__brand:hover,
.wdm-portal-nav__brand:focus-visible {
	background: #1b2430;
	color: #fff;
}

.wdm-portal-nav__mark {
	align-items: center;
	background: var(--wdm-ui-brand);
	border-radius: 5px;
	color: #fff;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 800;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.wdm-portal-nav__brand strong,
.wdm-portal-nav__brand small {
	display: block;
}

.wdm-portal-nav__brand small {
	color: var(--wdm-ui-nav-muted);
	font-size: .72rem;
}

.wdm-portal-nav__context {
	align-content: center;
	border-right: 1px solid #303a47;
	display: grid;
	min-width: 0;
	padding: .65rem 1rem;
}

.wdm-portal-nav__context span {
	color: var(--wdm-ui-nav-muted);
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
}

.wdm-portal-nav__context strong {
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wdm-portal-nav__links {
	align-items: stretch;
	display: flex;
	justify-content: flex-start;
	min-width: 0;
}

.wdm-portal-nav__link {
	align-items: center;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	color: #d8dee7;
	display: inline-flex;
	font-size: .88rem;
	font-weight: 700;
	justify-content: center;
	min-height: 62px;
	padding: .75rem .95rem;
	text-decoration: none;
	white-space: nowrap;
}

.wdm-portal-nav__link:hover,
.wdm-portal-nav__link:focus-visible {
	background: #1b2430;
	color: #fff;
}

.wdm-portal-nav__link.is-active {
	background: #1b2430;
	border-bottom-color: var(--wdm-ui-brand);
	color: #fff;
}

.wdm-portal-nav__back,
.wdm-player-nav__back {
	font-size: 1.2rem;
	min-width: 46px;
	padding-inline: .7rem;
}

.wdm-portal-nav__back {
	border-right: 1px solid #303a47;
}

.wdm-player-nav__back {
	border-right: 1px solid var(--wdm-ui-line);
}

.wdm-portal-nav__switcher {
	align-self: center;
	margin: .55rem;
	position: relative;
}

.wdm-portal-nav__switcher > summary {
	background: #202a36;
	border: 1px solid #394655;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	font-size: .82rem;
	font-weight: 700;
	list-style: none;
	max-width: 220px;
	overflow: hidden;
	padding: .55rem .75rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wdm-portal-nav__switcher > div,
.wdm-player-nav__switcher > div {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	box-shadow: 0 14px 30px rgba(20, 28, 38, .18);
	display: grid;
	min-width: 240px;
	padding: .4rem;
	position: absolute;
	right: 0;
	top: calc(100% + .4rem);
	z-index: 50;
}

.wdm-portal-nav__switcher > div a,
.wdm-player-nav__switcher > div a {
	border-radius: 4px;
	color: var(--wdm-ui-ink);
	padding: .65rem .7rem;
	text-decoration: none;
}

.wdm-portal-nav__switcher > div a:hover,
.wdm-portal-nav__switcher > div a:focus-visible,
.wdm-player-nav__switcher > div a:hover,
.wdm-player-nav__switcher > div a:focus-visible {
	background: var(--wdm-ui-surface-alt);
}

/* Player navigation */
.wdm-player-nav {
	align-items: stretch;
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 8px;
	box-shadow: none;
	display: grid;
	gap: 0;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	margin: 0 0 1rem;
	min-height: 58px;
	padding: 0;
	position: relative;
}

.wdm-player-nav__context {
	align-content: center;
	border: 0;
	border-right: 1px solid var(--wdm-ui-line);
	display: grid;
	min-width: 210px;
	padding: .55rem 1rem;
}

.wdm-player-nav__context > span {
	color: var(--wdm-ui-muted);
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
}

.wdm-player-nav__context strong,
.wdm-player-nav__context small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wdm-player-nav__context strong {
	color: var(--wdm-ui-ink);
	font-size: .88rem;
}

.wdm-player-nav__context small {
	color: var(--wdm-ui-muted);
	font-size: .75rem;
}

.wdm-player-nav__links {
	display: flex;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: thin;
}

.wdm-player-nav__link {
	align-items: center;
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	color: #354052;
	display: inline-flex;
	font-size: .86rem;
	font-weight: 700;
	justify-content: center;
	min-height: 56px;
	padding: .65rem .9rem;
	text-decoration: none;
	white-space: nowrap;
}

.wdm-player-nav__link:hover,
.wdm-player-nav__link:focus-visible {
	background: var(--wdm-ui-surface-alt);
	color: var(--wdm-ui-ink);
}

.wdm-player-nav__link.is-active {
	background: var(--wdm-ui-surface);
	border-bottom-color: var(--wdm-ui-brand);
	color: var(--wdm-ui-brand-strong);
}

.wdm-player-nav__switcher {
	align-self: center;
	margin: .5rem;
	position: relative;
}

.wdm-player-nav__switcher > summary {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 5px;
	color: var(--wdm-ui-ink);
	cursor: pointer;
	font-size: .8rem;
	font-weight: 700;
	list-style: none;
	padding: .5rem .7rem;
	white-space: nowrap;
}

.wdm-theme-toggle--portal {
	align-self: center;
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 5px;
	display: grid;
	gap: 2px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: .45rem;
	padding: 2px;
}

.wdm-theme-toggle--portal button {
	background: transparent;
	border: 0;
	border-radius: 3px;
	color: var(--wdm-ui-muted);
	cursor: pointer;
	font: 700 .72rem/1 var(--wdm-ui-font);
	letter-spacing: 0;
	min-height: 32px;
	padding: .45rem .5rem;
}

.wdm-theme-toggle--portal button:hover,
.wdm-theme-toggle--portal button:focus-visible {
	background: color-mix(in srgb, var(--wdm-ui-brand) 12%, var(--wdm-ui-surface));
	color: var(--wdm-ui-ink);
	outline: 2px solid transparent;
}

.wdm-theme-toggle--portal button.is-active {
	background: var(--wdm-ui-surface);
	box-shadow: 0 1px 3px rgba(20, 28, 38, .16);
	color: var(--wdm-ui-brand-strong);
}

.wdm-theme-toggle--nav-dark {
	background: #202a36;
	border-color: #394655;
}

.wdm-theme-toggle--nav-dark button {
	color: #cbd3dc;
}

.wdm-theme-toggle--nav-dark button:hover,
.wdm-theme-toggle--nav-dark button:focus-visible,
.wdm-theme-toggle--nav-dark button.is-active {
	background: #303c4a;
	color: #fff;
}

/* Global-admin frontend role preview */
.wdm-role-preview {
	align-items: center;
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line-strong);
	border-left: 4px solid var(--wdm-ui-info);
	border-radius: 7px;
	color: var(--wdm-ui-ink);
	display: grid;
	font-family: var(--wdm-ui-font);
	gap: .85rem;
	grid-template-columns: minmax(165px, auto) minmax(0, 1fr) auto;
	margin: 0 0 1rem;
	max-width: 100%;
	min-width: 0;
	padding: .7rem .8rem;
	width: 100%;
}

.wdm-role-preview.is-read-only {
	border-left-color: var(--wdm-ui-warning);
}

.wdm-role-preview,
.wdm-role-preview * {
	box-sizing: border-box;
}

.wdm-role-preview__intro {
	display: grid;
	line-height: 1.2;
	min-width: 0;
}

.wdm-role-preview__intro > span {
	color: var(--wdm-ui-muted);
	font-size: .68rem;
	font-weight: 800;
	text-transform: uppercase;
}

.wdm-role-preview__intro strong {
	color: var(--wdm-ui-ink);
	font-size: .95rem;
}

.wdm-role-preview__intro small {
	color: var(--wdm-ui-muted);
	font-size: .72rem;
	margin-top: .18rem;
}

.wdm-role-preview__form {
	align-items: end;
	display: grid;
	gap: .65rem;
	grid-template-columns: minmax(290px, auto) minmax(180px, 1fr) auto;
	margin: 0;
	min-width: 0;
}

.wdm-role-preview__roles {
	border: 1px solid var(--wdm-ui-line);
	border-radius: 5px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	min-width: 0;
	padding: 2px;
}

.wdm-role-preview__roles label {
	border-radius: 3px;
	cursor: pointer;
	display: block;
	margin: 0;
	min-width: 0;
}

.wdm-role-preview__roles input {
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

.wdm-role-preview__roles span {
	align-items: center;
	color: var(--wdm-ui-muted);
	display: flex;
	font-size: .76rem;
	font-weight: 750;
	justify-content: center;
	min-height: 34px;
	padding: .45rem .55rem;
	white-space: nowrap;
}

.wdm-role-preview__roles label:hover span,
.wdm-role-preview__roles input:focus-visible + span {
	background: var(--wdm-ui-surface-alt);
	color: var(--wdm-ui-ink);
}

.wdm-role-preview__roles label.is-active span,
.wdm-role-preview__roles input:checked + span {
	background: var(--wdm-ui-info);
	color: #fff;
}

.wdm-role-preview__organization {
	display: grid;
	gap: .2rem;
	margin: 0;
	min-width: 0;
}

.wdm-role-preview__organization > span {
	color: var(--wdm-ui-muted);
	font-size: .68rem;
	font-weight: 750;
}

.wdm-role-preview__organization select,
.wdm-role-preview__apply {
	border-radius: 5px;
	font-family: inherit;
	min-height: 38px;
}

.wdm-role-preview__organization select {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	color: var(--wdm-ui-ink);
	max-width: 100%;
	min-width: 0;
	padding: .45rem .6rem;
	width: 100%;
}

.wdm-role-preview__apply {
	background: var(--wdm-ui-info);
	border: 1px solid var(--wdm-ui-info);
	color: #fff;
	cursor: pointer;
	font-size: .78rem;
	font-weight: 800;
	padding: .55rem .75rem;
	white-space: nowrap;
}

.wdm-role-preview__apply:hover,
.wdm-role-preview__apply:focus-visible {
	filter: brightness(.9);
}

.wdm-role-preview__status {
	background: color-mix(in srgb, var(--wdm-ui-warning) 14%, var(--wdm-ui-surface));
	border: 1px solid color-mix(in srgb, var(--wdm-ui-warning) 42%, var(--wdm-ui-line));
	border-radius: 999px;
	color: var(--wdm-ui-warning);
	font-size: .7rem;
	font-weight: 800;
	padding: .4rem .58rem;
	white-space: nowrap;
}

.wdm-role-preview__exit {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	justify-content: flex-end;
}

.wdm-role-preview__exit form {
	margin: 0;
}

.wdm-role-preview__return {
	background: transparent;
	border: 0;
	color: var(--wdm-ui-info);
	cursor: pointer;
	font: inherit;
	font-size: .72rem;
	font-weight: 800;
	padding: .3rem .2rem;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wdm-role-preview__return:hover,
.wdm-role-preview__return:focus-visible {
	color: var(--wdm-ui-ink);
}

.wdm-role-preview__sr-only {
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

body.wdm-role-preview-readonly form.wdm-role-preview-locked {
	filter: saturate(.55);
	opacity: .72;
}

body.wdm-role-preview-readonly form.wdm-role-preview-locked::after {
	color: var(--wdm-ui-warning);
	content: "Nur-Lese-Vorschau";
	display: block;
	font-size: .72rem;
	font-weight: 800;
	margin-top: .45rem;
}

/* Controls and forms */
:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), select, textarea) {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line-strong);
	border-radius: 5px;
	box-shadow: none;
	color: var(--wdm-ui-ink);
	font: inherit;
	font-size: .92rem;
	max-width: 100%;
	min-height: var(--wdm-control-height);
	padding: .6rem .72rem;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) textarea {
	min-height: 96px;
	resize: vertical;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(input, select, textarea):focus-visible {
	border-color: var(--wdm-ui-info);
	box-shadow: 0 0 0 3px rgba(36, 94, 168, .16);
	outline: 0;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(.button, button.button, .wdm-button) {
	align-items: center;
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line-strong);
	border-radius: 5px;
	box-shadow: none;
	color: var(--wdm-ui-ink);
	cursor: pointer;
	display: inline-flex;
	font: 700 .86rem/1 var(--wdm-ui-font);
	justify-content: center;
	letter-spacing: 0;
	min-height: var(--wdm-control-height);
	padding: .65rem .9rem;
	text-decoration: none;
	white-space: normal;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(.button, button.button, .wdm-button):hover,
:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(.button, button.button, .wdm-button):focus-visible {
	background: var(--wdm-ui-surface-alt);
	border-color: #8c98a8;
	color: var(--wdm-ui-ink);
	transform: none;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(.button-primary, .wdm-button-primary) {
	background: var(--wdm-ui-brand);
	border-color: var(--wdm-ui-brand);
	color: #fff;
}

:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(.button-primary, .wdm-button-primary):hover,
:where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(.button-primary, .wdm-button-primary):focus-visible {
	background: var(--wdm-ui-brand-strong);
	border-color: var(--wdm-ui-brand-strong);
	color: #fff;
}

:where(.wdm-public-view, .wdm-club-mode, .wdm-team-theme-root) :where(.is-danger, .wdm-button-danger) {
	background: var(--wdm-ui-surface);
	border-color: #e2a5ab;
	color: var(--wdm-ui-danger);
}

/* Status, metrics, and tables */
.wdm-badge,
.wdm-status-pill,
.wdm-appointment-status,
.wdm-team-fixture-state {
	background: #edf1f5;
	border: 1px solid #d5dce4;
	border-radius: 999px;
	color: #334052;
	display: inline-flex;
	font-size: .72rem;
	font-weight: 750;
	line-height: 1.2;
	padding: .3rem .55rem;
}

.wdm-public-header > .wdm-badge {
	background: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .25);
	color: #fff;
}

.wdm-match-state-badge.is-open {
	background: #eaf2fb;
	border-color: #b7cee8;
	color: #174f87;
}

.wdm-match-state-badge.is-completed {
	background: #edf8f2;
	border-color: #afd5bf;
	color: #15583a;
}

.wdm-match-state-badge.is-cancelled {
	background: #f1f3f5;
	border-color: #d4d9df;
	color: #566170;
}

.wdm-match-state-badge.is-overdue {
	background: #fff4dc;
	border-color: #e6c47d;
	color: #7a4608;
}

.wdm-metric-grid,
.wdm-club-metrics {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	margin: 1rem 0 1.25rem;
}

.wdm-metric,
.wdm-club-metrics > div {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-left: 3px solid var(--wdm-ui-info);
	border-radius: 6px;
	box-shadow: none;
	display: grid;
	gap: .25rem;
	min-height: 92px;
	padding: .85rem 1rem;
	text-decoration: none;
}

.wdm-metric.is-warning {
	background: #fff9ed;
	border-color: #e8cc91;
	border-left-color: var(--wdm-ui-warning);
}

:where(.wdm-metric, .wdm-club-metrics > div) span {
	color: var(--wdm-ui-muted);
	font-size: .74rem;
	font-weight: 700;
	text-transform: uppercase;
}

:where(.wdm-metric, .wdm-club-metrics > div) strong {
	color: var(--wdm-ui-ink);
	font-size: 1.65rem;
	line-height: 1.1;
}

.wdm-table-wrap,
.wdm-ladder__table-region {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	max-width: 100%;
	min-width: 0;
	overflow: auto;
	width: 100%;
}

.wdm-public-table {
	border: 0;
	border-collapse: collapse;
	font-size: .84rem;
	margin: 0;
	min-width: 720px;
	width: 100%;
}

.wdm-public-table th {
	background: #eef2f6;
	border-bottom: 1px solid var(--wdm-ui-line-strong);
	color: #354052;
	font-size: .7rem;
	font-weight: 800;
	padding: .7rem .75rem;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}

.wdm-public-table td {
	background: var(--wdm-ui-surface);
	border-bottom: 1px solid #e5e9ee;
	color: var(--wdm-ui-ink);
	padding: .7rem .75rem;
	vertical-align: middle;
}

.wdm-public-table tbody tr:last-child td {
	border-bottom: 0;
}

.wdm-public-table tbody tr:hover td {
	background: #f7f9fb;
}

.wdm-public-table tr.is-current-player td {
	background: #eef8f3;
}

.wdm-public-notice {
	background: #fff8e8;
	border: 1px solid #e5c77f;
	border-left: 4px solid var(--wdm-ui-warning);
	border-radius: 6px;
	color: #5e4108;
	margin: 1rem 0;
	padding: .85rem 1rem;
}

.wdm-public-success,
.wdm-public-notice--success {
	background: #edf8f2;
	border-color: #a8d4bb;
	border-left-color: var(--wdm-ui-success);
	color: #15583a;
}

/* Content sections */
.wdm-section-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 1rem 0 1.5rem;
}

.wdm-section-grid > section,
.wdm-ladder-action-panel,
.wdm-ladder-live-section,
.wdm-ladder-matchroom-section,
.wdm-ladder-queue-section,
.wdm-discord-identity-card,
.wdm-profile-layout > section,
.wdm-absence-panel {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	box-shadow: none;
	padding: 1rem;
}

.wdm-section-title-row {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: .85rem;
}

.wdm-section-title-row :where(h2, h3, h4, h5, p) {
	margin: 0;
}

/* Player dashboard and matches */
.wdm-context-actions,
.wdm-action-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	justify-content: flex-end;
	margin: .75rem 0 1rem;
}

.wdm-danger-zone {
	border: 1px solid #f2b8b5;
	border-radius: 6px;
	color: var(--wdm-ui-ink);
	font-size: .82rem;
	max-width: 100%;
	padding: .45rem .6rem;
}

.wdm-danger-zone summary {
	cursor: pointer;
	font-weight: 700;
}

.wdm-danger-zone form {
	display: grid;
	gap: .55rem;
	margin-top: .65rem;
}

.wdm-danger-zone label {
	display: grid;
	gap: .3rem;
}

.wdm-danger-zone input {
	max-width: 20rem;
}

.wdm-inline-note {
	color: var(--wdm-ui-muted);
	font-size: .82rem;
}

.wdm-match-toolbar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	justify-content: space-between;
	margin: 0 0 1rem;
}

.wdm-match-filters {
	background: #e9edf2;
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: inline-flex;
	gap: 2px;
	padding: 3px;
}

.wdm-match-filters button {
	background: transparent;
	border: 0;
	border-radius: 4px;
	color: #465365;
	cursor: pointer;
	font: 700 .8rem/1 var(--wdm-ui-font);
	min-height: 34px;
	padding: .55rem .75rem;
}

.wdm-match-filters button.is-active {
	background: var(--wdm-ui-surface);
	box-shadow: 0 1px 3px rgba(20, 28, 38, .12);
	color: var(--wdm-ui-ink);
}

.wdm-match-list {
	display: grid;
	gap: .8rem;
}

.wdm-matchday-list {
	display: grid;
	gap: .75rem;
}

.wdm-matchday {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	overflow: clip;
}

.wdm-matchday > summary {
	align-items: center;
	background: var(--wdm-ui-surface-alt);
	cursor: pointer;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	list-style: none;
	min-height: 58px;
	padding: .75rem 1rem;
}

.wdm-matchday > summary::-webkit-details-marker {
	display: none;
}

.wdm-matchday > summary > span:first-child {
	display: grid;
	gap: .15rem;
}

.wdm-matchday > summary strong,
.wdm-matchday > summary small {
	color: var(--wdm-ui-ink);
}

.wdm-matchday > summary small {
	color: var(--wdm-ui-muted);
}

.wdm-matchday > .wdm-match-list {
	border-top: 1px solid var(--wdm-ui-line);
	padding: .75rem;
}

.wdm-status-pill--success {
	background: #e8f6ee;
	border-color: #afd5bf;
	color: var(--wdm-ui-success);
}

.wdm-status-pill--info {
	background: #eaf2fb;
	border-color: #b7cee8;
	color: var(--wdm-ui-info);
}

.wdm-status-pill--warning {
	background: #fff4dc;
	border-color: #e6c47d;
	color: var(--wdm-ui-warning);
}

.wdm-bot-connect__guide {
	border-top: 1px solid var(--wdm-ui-line);
	display: grid;
	gap: .8rem;
	margin-top: 1rem;
	padding: 1rem;
}

.wdm-bot-connect__guide h4 {
	margin: 0;
}

.wdm-bot-connect__guide ol {
	display: grid;
	gap: .6rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.wdm-bot-connect__guide ol li {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 5px;
	display: grid;
	gap: .3rem;
	min-width: 0;
	padding: .75rem;
}

.wdm-bot-connect__guide ol span,
.wdm-bot-connect__guide details li {
	color: var(--wdm-ui-muted);
	font-size: .84rem;
}

.wdm-bot-connect__guide details > summary {
	cursor: pointer;
	font-weight: 750;
}

.wdm-bot-connect__servers li {
	align-items: center;
}

.wdm-bot-connect__server-state {
	display: grid;
	gap: .25rem;
	justify-items: end;
}

.wdm-bridge-profile-card {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-left: 4px solid var(--wdm-ui-info);
	border-radius: 8px;
	color: var(--wdm-ui-ink);
	margin: 1rem 0;
	padding: 1.1rem;
}

.wdm-bridge-profile-header,
.wdm-bridge-profile-actions,
.wdm-bridge-device {
	align-items: center;
	display: flex;
	gap: .75rem;
	justify-content: space-between;
}

.wdm-bridge-profile-header > div {
	max-width: 760px;
}

.wdm-bridge-profile-header h3,
.wdm-bridge-profile-card h4 {
	color: var(--wdm-ui-ink);
	font-size: 1.05rem;
	margin: 0 0 .45rem;
}

.wdm-bridge-profile-header p,
.wdm-bridge-setup-steps li,
.wdm-bridge-device span {
	color: var(--wdm-ui-muted);
}

.wdm-bridge-profile-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
	margin-top: 1rem;
}

.wdm-bridge-setup-steps,
.wdm-bridge-profile-controls,
.wdm-bridge-device-list {
	border-top: 1px solid var(--wdm-ui-line);
	padding-top: 1rem;
}

.wdm-bridge-setup-steps ol {
	margin: 0 0 1rem 1.2rem;
	padding: 0;
}

.wdm-bridge-setup-steps li + li {
	margin-top: .45rem;
}

.wdm-bridge-profile-controls {
	display: grid;
	gap: .75rem;
}

.wdm-bridge-profile-controls label {
	display: grid;
	gap: .35rem;
}

.wdm-copy-field {
	display: grid;
	gap: .4rem;
	grid-template-columns: minmax(0, 1fr) auto;
}

.wdm-bridge-profile-controls :where(input, select) {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line-strong);
	border-radius: 6px;
	color: var(--wdm-ui-ink);
	min-height: var(--wdm-control-height);
	padding: .55rem .7rem;
	width: 100%;
}

.wdm-bridge-pairing-output {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: grid;
	gap: .25rem;
	padding: .75rem;
}

.wdm-bridge-pairing-output strong {
	color: var(--wdm-ui-info);
	font-family: Consolas, "Courier New", monospace;
	font-size: 1.35rem;
	letter-spacing: 0;
}

.wdm-bridge-device-list {
	margin-top: 1rem;
}

.wdm-bridge-device {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	min-height: 56px;
	padding: .65rem .75rem;
}

.wdm-bridge-device + .wdm-bridge-device {
	margin-top: .5rem;
}

.wdm-bridge-device > div {
	display: grid;
	gap: .2rem;
}

.wdm-bridge-device-actions {
	align-items: center;
	display: flex !important;
	flex: 0 0 auto;
	gap: .45rem !important;
	justify-content: flex-end;
}

.wdm-bridge-device-delete {
	border-color: color-mix(in srgb, var(--wdm-ui-danger) 55%, var(--wdm-ui-line));
	color: var(--wdm-ui-danger);
}

.wdm-bridge-device-delete:hover,
.wdm-bridge-device-delete:focus-visible {
	background: color-mix(in srgb, var(--wdm-ui-danger) 10%, var(--wdm-ui-surface));
	border-color: var(--wdm-ui-danger);
	color: var(--wdm-ui-danger);
}

.wdm-bridge-device-actions :disabled {
	cursor: not-allowed;
	opacity: .55;
}

.wdm-personal-board-actions {
	align-items: center;
	display: flex !important;
	flex: 0 1 520px;
	gap: .5rem !important;
	justify-content: flex-end;
}

.wdm-personal-board-actions select {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line-strong);
	border-radius: 6px;
	color: var(--wdm-ui-ink);
	min-height: var(--wdm-control-height);
	min-width: 0;
	padding: .5rem .65rem;
	width: min(100%, 320px);
}

@media (max-width: 759px) {
	.wdm-bridge-device {
		align-items: stretch;
		flex-direction: column;
	}

	.wdm-bridge-device-actions {
		flex-wrap: wrap;
		justify-content: flex-start;
		width: 100%;
	}
}

.wdm-bridge-profile-card .is-error {
	color: var(--wdm-ui-danger);
}

.wdm-match-item {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-left: 4px solid var(--wdm-ui-info);
	border-radius: 6px;
	box-shadow: none;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(240px, .9fr) minmax(320px, 1.3fr);
	padding: 1rem;
}

.wdm-match-item[data-wdm-match-state="completed"] {
	border-left-color: var(--wdm-ui-success);
}

.wdm-match-item[data-wdm-match-state="cancelled"] {
	border-left-color: var(--wdm-ui-muted);
}

.wdm-match-item.is-overdue {
	border-left-color: var(--wdm-ui-warning);
}

.wdm-match-item[hidden] {
	display: none;
}

.wdm-match-main h3,
.wdm-match-main h4 {
	font-size: 1rem;
	margin: .6rem 0 .25rem;
}

.wdm-match-main p {
	color: var(--wdm-ui-muted);
	margin: 0;
}

.wdm-lobby-control {
	align-content: start;
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: grid;
	gap: .8rem;
	min-width: 0;
	padding: .85rem;
}

.wdm-lobby-control.has-stale-lobby-status {
	border-color: color-mix(in srgb, var(--wdm-ui-danger) 48%, var(--wdm-ui-line));
}

.wdm-lobby-control__summary {
	display: grid;
	gap: .25rem;
	min-width: 0;
}

.wdm-lobby-control__summary strong {
	color: var(--wdm-ui-ink);
	font-size: .9rem;
}

.wdm-lobby-control__summary span {
	color: var(--wdm-ui-muted);
	font-size: .8rem;
	line-height: 1.4;
}

.wdm-lobby-control__summary span.is-error {
	color: var(--wdm-ui-danger);
	font-weight: 700;
}

.wdm-lobby-control__actions {
	align-items: center;
	display: grid;
	gap: .55rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-width: 0;
}

.wdm-lobby-control__actions label,
.wdm-lobby-control__actions select {
	min-width: 0;
	width: 100%;
}

.wdm-lobby-control__actions label {
	grid-column: 1 / -1;
}

.wdm-lobby-control__actions :where(button, .button, .wdm-button) {
	justify-content: center;
	min-height: var(--wdm-control-height);
	white-space: normal;
	width: 100%;
}

.wdm-lobby-control__external {
	align-items: center;
	color: var(--wdm-ui-info);
	display: inline-flex;
	font-size: .82rem;
	font-weight: 750;
	gap: .35rem;
	justify-self: start;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wdm-lobby-control__external::after {
	content: "\2197";
}

.wdm-lobby-control__help {
	color: var(--wdm-ui-muted);
	font-size: .78rem;
	line-height: 1.45;
}

.wdm-club-host-handoff {
	margin-top: .65rem;
	width: 100%;
}

.wdm-club-host-handoff__steps {
	display: grid;
	font-size: .78rem;
	gap: .55rem;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	line-height: 1.4;
	margin: 0;
	padding: 0;
}

.wdm-club-host-handoff__steps li {
	background: transparent;
	border: 0;
	color: var(--wdm-ui-muted);
	display: grid;
	gap: .35rem;
	justify-items: center;
	min-width: 0;
	padding: 0 .15rem;
	position: relative;
	text-align: center;
}

.wdm-club-host-handoff__steps li:not(:last-child)::after {
	background: var(--wdm-ui-line-strong);
	content: "";
	height: 2px;
	left: calc(50% + 1rem);
	position: absolute;
	top: .8rem;
	width: calc(100% - 1.45rem);
	z-index: 0;
}

.wdm-club-host-handoff__steps li > span {
	align-items: center;
	aspect-ratio: 1;
	background: var(--wdm-ui-surface);
	border: 2px solid var(--wdm-ui-line-strong);
	border-radius: 50%;
	color: var(--wdm-ui-muted);
	display: inline-flex;
	font-size: .72rem;
	font-weight: 850;
	justify-content: center;
	position: relative;
	width: 1.65rem;
	z-index: 1;
}

.wdm-club-host-handoff__steps li.is-current {
	color: var(--wdm-ui-ink);
	font-weight: 750;
}

.wdm-club-host-handoff__steps li.is-current > span {
	background: color-mix(in srgb, var(--wdm-ui-info) 14%, var(--wdm-ui-surface));
	border-color: var(--wdm-ui-info);
	color: var(--wdm-ui-info);
}

.wdm-club-host-handoff__steps li.is-complete {
	color: var(--wdm-ui-ink);
}

.wdm-club-host-handoff__steps li.is-complete > span {
	background: var(--wdm-ui-success);
	border-color: var(--wdm-ui-success);
	color: var(--wdm-ui-surface);
}

.wdm-club-host-handoff__steps li.is-complete:not(:last-child)::after {
	background: var(--wdm-ui-success);
}

.wdm-club-control-deck__device-owner {
	color: var(--wdm-ui-muted);
	display: block;
	font-size: .78rem;
	line-height: 1.4;
	margin-top: .55rem;
}

@media (max-width: 640px) {
	.wdm-lobby-control__actions {
		align-items: stretch;
		grid-template-columns: 1fr;
	}

	.wdm-lobby-control__actions :where(button, .button, .wdm-button) {
		justify-content: center;
		width: 100%;
	}

	.wdm-club-host-handoff__steps {
		grid-template-columns: 1fr;
	}

	.wdm-club-host-handoff__steps li {
		grid-template-columns: 1.65rem minmax(0, 1fr);
		justify-items: start;
		text-align: left;
	}

	.wdm-club-host-handoff__steps li:not(:last-child)::after {
		height: calc(100% - .6rem);
		left: .78rem;
		top: 1.65rem;
		width: 2px;
	}
}

.wdm-match-link-form,
.wdm-appointment-form,
.wdm-reopen-form,
.wdm-appointment-response-form {
	align-content: start;
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: grid;
	gap: .65rem;
	padding: .85rem;
}

.wdm-match-link-form label,
.wdm-appointment-form label,
.wdm-reopen-form label,
.wdm-appointment-response-form label,
.wdm-profile-form label {
	display: grid;
	gap: .35rem;
}

.wdm-match-link-form label > span,
.wdm-appointment-form label > span,
.wdm-reopen-form label > span,
.wdm-appointment-response-form label > span,
.wdm-profile-form label > span {
	color: #465365;
	font-size: .75rem;
	font-weight: 750;
}

.wdm-appointment-panel {
	border-top: 1px solid var(--wdm-ui-line);
	grid-column: 1 / -1;
	padding-top: .85rem;
}

.wdm-appointment-list {
	display: grid;
	gap: .65rem;
	margin-top: .75rem;
}

.wdm-appointment-item {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: grid;
	gap: .75rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: .8rem;
}

/* Profile */
.wdm-profile-summary {
	align-items: center;
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: grid;
	gap: 1rem;
	grid-template-columns: auto minmax(0, 1fr);
	margin: 1rem 0;
	padding: 1rem;
}

.wdm-profile-layout {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
}

.wdm-profile-form,
.wdm-contact-settings {
	display: grid;
	gap: .8rem;
}

.wdm-contact-settings {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	padding: .85rem;
}

.wdm-discord-identity-card {
	border-left: 4px solid var(--wdm-ui-warning);
}

.wdm-discord-identity-card.is-verified {
	border-left-color: var(--wdm-ui-success);
}

/* Manager landing */
.wdm-manager-tabs,
.wdm-view-tabs,
.wdm-tournament-view-tabs,
.wdm-team-public__competitions {
	background: #e9edf2;
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: flex;
	gap: 3px;
	grid-template-columns: none;
	margin: 1rem 0;
	overflow-x: auto;
	padding: 3px;
}

:where(.wdm-manager-tabs, .wdm-view-tabs, .wdm-tournament-view-tabs, .wdm-team-public__competitions) :where(a, button) {
	background: transparent;
	border: 0;
	border-radius: 4px;
	color: #465365;
	font: 700 .82rem/1 var(--wdm-ui-font);
	min-height: 38px;
	padding: .65rem .8rem;
	text-decoration: none;
	white-space: nowrap;
}

:where(.wdm-manager-tabs, .wdm-view-tabs, .wdm-tournament-view-tabs, .wdm-team-public__competitions) :where(a, button).is-active {
	background: var(--wdm-ui-surface);
	box-shadow: 0 1px 3px rgba(20, 28, 38, .12);
	color: var(--wdm-ui-ink);
}

.wdm-mode-grid,
.wdm-dashboard-hub {
	display: grid;
	gap: .8rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.wdm-mode-card,
.wdm-dashboard-hub-card {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	box-shadow: none;
	min-height: 160px;
	padding: 1rem;
}

/* Team league hierarchy */
.wdm-team-theme-root {
	--wdm-ui-ink: var(--wdm-theme-text, #172033);
	--wdm-ui-muted: var(--wdm-theme-muted, #5d6878);
	--wdm-ui-line: var(--wdm-theme-border, #d7dde5);
	--wdm-ui-line-strong: var(--wdm-theme-border, #b9c2ce);
	--wdm-ui-surface: var(--wdm-theme-surface, #fff);
	--wdm-ui-surface-alt: var(--wdm-theme-surface-alt, #f5f7f9);
	--wdm-ui-nav: var(--wdm-theme-secondary, #121820);
	--wdm-ui-brand: var(--wdm-theme-primary, #b4232f);
	--wdm-ui-brand-strong: var(--wdm-theme-primary, #8f1924);
	--wdm-ui-info: var(--wdm-theme-accent, #245ea8);
}

.wdm-team-navigation-layer {
	margin-bottom: 1rem;
}

.wdm-team-navigation--view {
	justify-content: flex-end;
}

.wdm-team-navigation--workspace,
.wdm-team-navigation--sections,
.wdm-team-navigation--directory {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: flex;
	gap: .25rem;
	margin: 1rem 0;
	overflow-x: auto;
	padding: .35rem;
}

:where(.wdm-team-navigation--workspace, .wdm-team-navigation--sections, .wdm-team-navigation--directory) a {
	border-radius: 4px;
	color: #354052;
	font-size: .82rem;
	font-weight: 700;
	padding: .65rem .75rem;
	text-decoration: none;
	white-space: nowrap;
}

:where(.wdm-team-navigation--workspace, .wdm-team-navigation--sections, .wdm-team-navigation--directory) a:hover,
:where(.wdm-team-navigation--workspace, .wdm-team-navigation--sections, .wdm-team-navigation--directory) a:focus-visible {
	background: var(--wdm-ui-surface-alt);
	color: var(--wdm-ui-brand-strong);
}

.wdm-team-navigation--seasons {
	align-items: center;
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: flex;
	gap: .75rem;
	margin: 1rem 0;
	padding: .65rem .8rem;
}

.wdm-team-navigation--seasons > div {
	display: flex;
	gap: .35rem;
	overflow-x: auto;
}

.wdm-team-navigation--seasons a {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 5px;
	color: var(--wdm-ui-ink);
	display: grid;
	padding: .5rem .7rem;
	text-decoration: none;
	white-space: nowrap;
}

.wdm-team-navigation--seasons a.is-active {
	border-color: var(--wdm-ui-brand);
	box-shadow: inset 3px 0 0 var(--wdm-ui-brand);
}

.wdm-team-workspace__switcher {
	align-items: center;
	display: flex;
	gap: .65rem;
	justify-content: flex-end;
	margin: .75rem 0;
}

.wdm-team-workspace__areas {
	display: grid;
	gap: 0;
}

.wdm-team-workspace__area {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--wdm-ui-line-strong);
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: 1.5rem 0;
}

.wdm-team-workspace__area:first-child {
	border-top: 0;
}

.wdm-team-workspace__area-heading {
	margin-bottom: 1rem;
}

.wdm-team-workspace__area-details,
.wdm-team-admin-grid,
.wdm-team-roster-manager__teams {
	display: grid;
	gap: .8rem;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.wdm-team-workspace__detail,
.wdm-team-workspace__area-details > section,
.wdm-team-workspace__area-details > form {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	box-shadow: none;
	padding: 1rem;
}

.wdm-team-setup-progress {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	box-shadow: none;
	margin: 1rem 0 1.5rem;
	padding: 1rem;
}

.wdm-team-setup-progress ol {
	display: grid;
	gap: .5rem;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.wdm-team-setup-progress li {
	border: 1px solid var(--wdm-ui-line);
	border-radius: 5px;
}

.wdm-team-setup-progress li.is-current {
	border-color: var(--wdm-ui-brand);
}

/* Club operations */
.wdm-club-workspace__session,
.wdm-club-workspace__control,
.wdm-club-workspace__boards,
.wdm-club-workspace__archive {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	box-shadow: none;
	margin: 1rem 0;
	padding: 1rem;
}

.wdm-club-workspace__control {
	border-left: 4px solid var(--wdm-ui-info);
}

.wdm-club-header-actions {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	justify-content: flex-end;
}

.wdm-club-header-actions .wdm-club-switcher {
	display: grid;
	gap: .3rem;
	min-width: min(100%, 280px);
}

.wdm-club-header-actions .wdm-club-switcher > label {
	color: var(--wdm-ui-nav-muted);
	font-size: .72rem;
	font-weight: 750;
	text-transform: uppercase;
}

.wdm-club-manual-grid > label,
.wdm-club-time-decision form > label {
	display: grid;
	gap: .35rem;
}

.wdm-club-manual-grid > label > span,
.wdm-club-time-decision form > label > span {
	color: var(--wdm-ui-muted);
	font-size: .78rem;
	font-weight: 750;
}

.wdm-club-mode [data-wdm-club-time-field][hidden] {
	display: none !important;
}

.wdm-club-mode {
	--wdm-club-sticky-nav-height: 5rem;
	--wdm-club-sticky-nav-top: .5rem;
}

body.admin-bar .wdm-club-mode {
	--wdm-club-sticky-nav-top: calc(32px + .5rem);
}

.wdm-club-mode [data-wdm-club-view][hidden] {
	display: none !important;
}

.wdm-club-mode,
.wdm-club-mode [data-wdm-club-view],
.wdm-club-mode .wdm-club-panel,
.wdm-club-mode .wdm-view-panel {
	max-width: 100%;
	min-width: 0;
}

.wdm-club-mode [data-wdm-club-view-anchor] {
	scroll-margin-top: calc(var(--wdm-club-sticky-nav-top) + var(--wdm-club-sticky-nav-height) + .75rem);
}

.wdm-club-choice-grid .wdm-club-personal-board-choice {
	background: color-mix(in srgb, var(--wdm-ui-info) 8%, var(--wdm-ui-surface));
	border-color: color-mix(in srgb, var(--wdm-ui-info) 38%, var(--wdm-ui-line));
}

.wdm-club-choice-grid .wdm-club-personal-board-choice:has(input:checked) {
	background: color-mix(in srgb, var(--wdm-ui-success) 14%, var(--wdm-ui-surface));
	border-color: var(--wdm-ui-success);
}

.wdm-club-personal-board-note {
	background: var(--wdm-ui-surface-alt);
	border-left: 3px solid var(--wdm-ui-info);
	color: var(--wdm-ui-muted);
	font-size: .8rem;
	grid-column: 1 / -1;
	line-height: 1.45;
	margin: .25rem 0 0;
	padding: .65rem .75rem;
}

.wdm-club-time-decision {
	align-items: start;
	background: color-mix(in srgb, var(--wdm-ui-warning) 9%, var(--wdm-ui-surface));
	border: 1px solid color-mix(in srgb, var(--wdm-ui-warning) 42%, var(--wdm-ui-line));
	border-left: 4px solid var(--wdm-ui-warning);
	border-radius: 6px;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(240px, .8fr) minmax(360px, 1.2fr);
	margin: 1rem 0;
	padding: 1rem;
}

.wdm-club-time-decision h3,
.wdm-club-time-decision p {
	margin: 0;
}

.wdm-club-time-decision > div {
	display: grid;
	gap: .45rem;
}

.wdm-club-time-decision > div > p:last-child {
	color: var(--wdm-ui-muted);
	line-height: 1.5;
}

.wdm-club-time-decision form {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wdm-club-time-decision form .wdm-action-row {
	grid-column: 1 / -1;
}

.wdm-club-board-grid {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.wdm-club-mode .wdm-club-board.is-personal-lease {
	background: color-mix(in srgb, var(--wdm-ui-info) 7%, var(--wdm-ui-surface));
	border-left-color: var(--wdm-ui-info);
}

.wdm-club-mode .wdm-club-board.is-personal-lease .wdm-club-board-meta small:first-child {
	color: var(--wdm-ui-ink);
	font-weight: 700;
}

.wdm-club-mode .wdm-club-board.has-organization-bridge {
	background: color-mix(in srgb, var(--wdm-ui-success) 7%, var(--wdm-ui-surface));
	border-left-color: var(--wdm-ui-success);
}

.wdm-club-mode .wdm-club-board.has-organization-bridge .wdm-club-board-meta small:first-child {
	color: var(--wdm-ui-ink);
	font-weight: 700;
}

.wdm-club-board-card {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	box-shadow: none;
	min-height: 150px;
	padding: .85rem;
}

.wdm-club-workspace__operations {
	align-items: start;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr) 320px;
}

.wdm-club-workspace__activity,
.wdm-club-workspace__tools {
	min-width: 0;
}

.wdm-club-panel {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	margin-bottom: .75rem;
	padding: .75rem;
}

.wdm-club-panel > summary {
	cursor: pointer;
	font-weight: 750;
}

.wdm-club-shared-bridge {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-left: 4px solid var(--wdm-ui-success);
	border-radius: 6px;
	display: grid;
	gap: .85rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 1rem;
	padding: 1rem;
}

.wdm-club-shared-bridge > div:first-child,
.wdm-club-shared-bridge__result,
.wdm-club-shared-bridge__devices {
	grid-column: 1 / -1;
}

.wdm-club-shared-bridge > div:first-child {
	display: grid;
	gap: .35rem;
}

.wdm-club-shared-bridge > div:first-child p {
	color: var(--wdm-ui-muted);
	line-height: 1.5;
	margin: 0;
}

.wdm-club-shared-bridge > label {
	display: grid;
	gap: .35rem;
}

.wdm-club-shared-bridge > label > span {
	color: var(--wdm-ui-muted);
	font-size: .78rem;
	font-weight: 750;
}

.wdm-club-shared-bridge > .button {
	grid-column: 1 / -1;
	justify-content: center;
	min-height: var(--wdm-control-height);
}

.wdm-club-shared-bridge__result {
	background: color-mix(in srgb, var(--wdm-ui-success) 10%, var(--wdm-ui-surface));
	border: 1px solid color-mix(in srgb, var(--wdm-ui-success) 42%, var(--wdm-ui-line));
	border-radius: 6px;
	display: grid;
	gap: .35rem;
	padding: .85rem;
}

.wdm-club-shared-bridge__result[hidden] {
	display: none;
}

.wdm-club-shared-bridge__result.is-error {
	background: color-mix(in srgb, var(--wdm-ui-danger) 9%, var(--wdm-ui-surface));
	border-color: color-mix(in srgb, var(--wdm-ui-danger) 42%, var(--wdm-ui-line));
}

.wdm-club-shared-bridge__result > strong {
	color: var(--wdm-ui-ink);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 1.4rem;
	letter-spacing: .08em;
	overflow-wrap: anywhere;
}

.wdm-club-shared-bridge__result.is-error > strong {
	color: var(--wdm-ui-danger);
	font-family: inherit;
	font-size: .88rem;
	letter-spacing: 0;
}

.wdm-club-shared-bridge__result p {
	color: var(--wdm-ui-muted);
	margin: 0;
}

.wdm-club-shared-bridge__devices {
	border-top: 1px solid var(--wdm-ui-line);
	display: grid;
	gap: .65rem;
	padding-top: .85rem;
}

.wdm-club-shared-bridge__devices > p {
	color: var(--wdm-ui-muted);
	margin: 0;
}

.wdm-club-shared-bridge__devices ul {
	display: grid;
	gap: .45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wdm-club-shared-bridge__devices li,
.wdm-club-shared-bridge__devices li > span {
	display: grid;
	gap: .15rem;
}

.wdm-club-shared-bridge__devices li {
	align-items: center;
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: .65rem .75rem;
}

.wdm-club-shared-bridge__devices li.is-scope-expired {
	background: color-mix(in srgb, var(--wdm-ui-warning) 8%, var(--wdm-ui-surface));
	border-color: color-mix(in srgb, var(--wdm-ui-warning) 42%, var(--wdm-ui-line));
}

.wdm-club-shared-bridge__device-actions {
	align-items: end;
	justify-items: end;
}

.wdm-club-shared-bridge__device-actions .button {
	min-height: 2.75rem;
	padding: .35rem .7rem;
}

.wdm-club-shared-bridge__connection {
	align-items: center;
	display: inline-flex;
	font-weight: 750;
	gap: .35rem;
}

.wdm-club-shared-bridge__connection::before {
	background: var(--wdm-ui-muted);
	border-radius: 50%;
	content: "";
	height: .55rem;
	width: .55rem;
}

.wdm-club-shared-bridge__connection.is-online {
	color: var(--wdm-ui-success);
}

.wdm-club-shared-bridge__connection.is-online::before {
	background: var(--wdm-ui-success);
}

.wdm-club-shared-bridge__connection.is-recent {
	color: var(--wdm-ui-info);
}

.wdm-club-shared-bridge__connection.is-recent::before {
	background: var(--wdm-ui-info);
}

.wdm-club-shared-bridge__connection.is-offline,
.wdm-club-shared-bridge__connection.is-disconnected {
	color: var(--wdm-ui-muted);
}

.wdm-club-shared-bridge__connection.is-pending {
	color: var(--wdm-ui-warning);
}

.wdm-club-shared-bridge__connection.is-pending::before {
	background: var(--wdm-ui-warning);
}

.wdm-club-shared-bridge__devices small {
	color: var(--wdm-ui-muted);
}

.wdm-club-shared-bridge__devices .wdm-club-shared-bridge__warning,
.wdm-club-shared-bridge__message.is-error {
	color: var(--wdm-ui-danger);
}

.wdm-club-shared-bridge__message[hidden] {
	display: none;
}

.wdm-club-command-nav {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 8px;
	box-shadow: 0 8px 22px color-mix(in srgb, var(--wdm-ui-ink) 10%, transparent);
	display: grid;
	gap: .35rem;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	overflow-x: auto;
	padding: .4rem;
	position: sticky;
	scroll-snap-type: x proximity;
	top: var(--wdm-club-sticky-nav-top);
	z-index: 40;
}

.wdm-club-command-nav > button {
	align-items: flex-start;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 6px;
	color: var(--wdm-ui-muted);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font: inherit;
	gap: .12rem;
	justify-content: center;
	min-height: 56px;
	padding: .55rem .7rem;
	scroll-snap-align: nearest;
	text-align: left;
}

.wdm-club-command-nav > button > span {
	color: var(--wdm-ui-ink);
	font-size: .88rem;
	font-weight: 800;
}

.wdm-club-command-nav > button > small {
	font-size: .72rem;
}

.wdm-club-command-nav > button:hover,
.wdm-club-command-nav > button:focus-visible {
	background: var(--wdm-ui-surface);
	border-color: var(--wdm-ui-line-strong);
	outline: none;
}

.wdm-club-command-nav > button.is-active {
	background: color-mix(in srgb, var(--wdm-ui-brand) 10%, var(--wdm-ui-surface));
	border-color: color-mix(in srgb, var(--wdm-ui-brand) 48%, var(--wdm-ui-line));
	box-shadow: inset 0 -3px 0 var(--wdm-ui-brand);
	color: var(--wdm-ui-brand);
}

.wdm-club-standings {
	min-width: 1080px;
}

.wdm-club-standings thead th > button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	gap: .35rem;
	justify-content: flex-start;
	letter-spacing: inherit;
	padding: .15rem 0;
	text-align: left;
	text-transform: inherit;
	white-space: nowrap;
	width: 100%;
}

.wdm-club-standings thead th > button::after {
	content: "\2195";
	font-size: .78rem;
	opacity: .45;
}

.wdm-club-standings thead th[aria-sort="ascending"] > button::after {
	content: "\2191";
	opacity: 1;
}

.wdm-club-standings thead th[aria-sort="descending"] > button::after {
	content: "\2193";
	opacity: 1;
}

.wdm-club-standings thead th > button:focus-visible {
	border-radius: 3px;
	outline: 2px solid var(--wdm-ui-focus);
	outline-offset: 3px;
}

.wdm-club-mode[data-wdm-club-active-view="boards"] .wdm-club-workspace__operations,
.wdm-club-mode[data-wdm-club-active-view="players"] .wdm-club-workspace__operations,
.wdm-club-mode[data-wdm-club-active-view="bridge"] .wdm-club-workspace__operations,
.wdm-club-mode[data-wdm-club-active-view="live"] .wdm-club-workspace__operations {
	grid-template-columns: minmax(0, 1fr);
}

.wdm-club-mode[data-wdm-club-active-view="boards"] .wdm-club-workspace__tools,
.wdm-club-mode[data-wdm-club-active-view="players"] .wdm-club-workspace__tools,
.wdm-club-mode[data-wdm-club-active-view="bridge"] .wdm-club-workspace__tools {
	display: block;
	grid-column: 1 / -1;
	width: 100%;
}

.wdm-club-mode[data-wdm-club-active-view="live"] .wdm-club-workspace__tools {
	display: none;
}

.wdm-club-management-view {
	margin: 0;
	padding: clamp(.9rem, 2vw, 1.35rem);
}

.wdm-club-management-heading {
	align-items: flex-start;
	border-bottom: 1px solid var(--wdm-ui-line);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
}

.wdm-club-management-heading h3 {
	color: var(--wdm-ui-ink);
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	margin: .1rem 0 .35rem;
}

.wdm-club-management-heading p:not(.wdm-kicker) {
	color: var(--wdm-ui-muted);
	line-height: 1.5;
	margin: 0;
	max-width: 62rem;
}

.wdm-club-management-columns {
	align-items: start;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
}

.wdm-club-create-card,
.wdm-club-management-item,
.wdm-club-archived-items,
.wdm-club-bridge-step,
.wdm-club-bridge-manual {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 7px;
}

.wdm-club-create-card {
	padding: 1rem;
	position: sticky;
	top: 1rem;
}

.wdm-club-create-card > div:first-child {
	display: grid;
	gap: .25rem;
}

.wdm-club-create-card p,
.wdm-club-management-warning,
.wdm-club-archived-items > p {
	color: var(--wdm-ui-muted);
	font-size: .82rem;
	line-height: 1.45;
	margin: 0;
}

.wdm-club-management-list {
	display: grid;
	gap: .75rem;
	min-width: 0;
}

.wdm-club-management-item {
	background: var(--wdm-ui-surface);
	padding: .9rem;
}

.wdm-club-management-item.is-inactive {
	opacity: .76;
}

.wdm-club-management-item > header {
	align-items: flex-start;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.wdm-club-management-item > header > span:first-child {
	display: grid;
	gap: .12rem;
	min-width: 0;
}

.wdm-club-management-item > header small,
.wdm-club-archived-items li small {
	color: var(--wdm-ui-muted);
	font-size: .76rem;
	overflow-wrap: anywhere;
}

.wdm-club-management-state,
.wdm-club-bridge-version {
	background: color-mix(in srgb, var(--wdm-ui-brand) 9%, var(--wdm-ui-surface));
	border: 1px solid color-mix(in srgb, var(--wdm-ui-brand) 28%, var(--wdm-ui-line));
	border-radius: 999px;
	color: var(--wdm-ui-brand);
	flex: 0 0 auto;
	font-size: .72rem;
	font-weight: 800;
	padding: .3rem .55rem;
}

.wdm-club-connection-grid {
	display: grid;
	gap: .55rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: .8rem;
}

.wdm-club-connection-grid > div {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: grid;
	gap: .1rem;
	padding: .65rem .7rem;
}

.wdm-club-connection-grid span {
	color: var(--wdm-ui-muted);
	font-size: .72rem;
	font-weight: 750;
}

.wdm-club-connection-grid strong {
	color: var(--wdm-ui-ink);
	font-size: .86rem;
}

.wdm-club-connection-grid small {
	color: var(--wdm-ui-muted);
	font-size: .72rem;
	overflow-wrap: anywhere;
}

.wdm-club-management-item .wdm-action-row {
	justify-content: flex-start;
	margin: .8rem 0 0;
}

.wdm-club-management-item .wdm-action-row .button {
	flex: 1 1 180px;
	justify-content: center;
	min-height: 42px;
}

.wdm-club-management-warning {
	background: color-mix(in srgb, var(--wdm-ui-warning) 9%, var(--wdm-ui-surface));
	border-left: 3px solid var(--wdm-ui-warning);
	margin-top: .7rem;
	padding: .55rem .65rem;
}

.wdm-club-management-message {
	background: color-mix(in srgb, var(--wdm-ui-success) 9%, var(--wdm-ui-surface));
	border-left: 3px solid var(--wdm-ui-success);
	color: var(--wdm-ui-ink);
	font-size: .82rem;
	line-height: 1.4;
	margin: .7rem 0 0;
	padding: .55rem .65rem;
}

.wdm-club-management-message.is-error {
	background: color-mix(in srgb, var(--wdm-ui-danger) 9%, var(--wdm-ui-surface));
	border-left-color: var(--wdm-ui-danger);
	color: var(--wdm-ui-danger);
}

.wdm-club-management-message[hidden] {
	display: none;
}

.wdm-club-board-create-result,
.wdm-club-board-pairing-result {
	background: color-mix(in srgb, var(--wdm-ui-success) 9%, var(--wdm-ui-surface));
	border: 1px solid color-mix(in srgb, var(--wdm-ui-success) 38%, var(--wdm-ui-line));
	border-radius: 6px;
	display: grid;
	gap: .4rem;
	margin-top: .75rem;
	padding: .75rem;
}

.wdm-club-board-create-result[hidden],
.wdm-club-board-pairing-result[hidden] {
	display: none;
}

.wdm-club-board-create-result > strong,
.wdm-club-board-pairing-result > strong {
	color: var(--wdm-ui-ink);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 1.2rem;
	letter-spacing: .06em;
	overflow-wrap: anywhere;
}

.wdm-club-board-create-result > .wdm-action-row,
.wdm-club-board-pairing-result > .wdm-action-row,
.wdm-club-shared-bridge__result > .wdm-action-row {
	justify-content: flex-start;
	margin: .25rem 0 0;
}

.wdm-club-archived-items {
	padding: .75rem;
}

.wdm-club-archived-items > summary {
	color: var(--wdm-ui-ink);
	cursor: pointer;
	font-weight: 800;
}

.wdm-club-archived-items > p {
	margin: .6rem 0;
}

.wdm-club-archived-items ul {
	display: grid;
	gap: .45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wdm-club-archived-items li {
	align-items: center;
	border-top: 1px solid var(--wdm-ui-line);
	display: grid;
	gap: .6rem;
	grid-template-columns: minmax(0, 1fr) auto;
	padding-top: .55rem;
}

.wdm-club-archived-items li > span {
	display: grid;
	gap: .1rem;
}

.wdm-club-bridge-steps {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: .85rem;
}

.wdm-club-bridge-step {
	align-items: start;
	display: grid;
	gap: .7rem;
	grid-template-columns: 2rem minmax(0, 1fr);
	padding: .85rem;
}

.wdm-club-bridge-step > span {
	align-items: center;
	background: var(--wdm-ui-ink);
	border-radius: 50%;
	color: var(--wdm-ui-surface);
	display: inline-flex;
	font-weight: 800;
	height: 2rem;
	justify-content: center;
	width: 2rem;
}

.wdm-club-bridge-step p {
	color: var(--wdm-ui-muted);
	line-height: 1.45;
	margin: .2rem 0 .65rem;
}

.wdm-club-bridge-manual {
	margin-bottom: .85rem;
	padding: .75rem;
}

.wdm-club-bridge-manual > summary {
	color: var(--wdm-ui-ink);
	cursor: pointer;
	font-weight: 800;
}

.wdm-club-bridge-manual[open] .wdm-club-bridge-url-row {
	grid-template-columns: minmax(0, 1fr) auto;
	margin-top: .65rem;
}

@media (max-width: 900px) {
	.wdm-club-header-actions {
		align-items: stretch;
		justify-content: flex-start;
		width: 100%;
	}

	.wdm-club-command-nav {
		grid-template-columns: repeat(5, minmax(125px, 1fr));
	}

	.wdm-club-management-columns,
	.wdm-club-bridge-steps {
		grid-template-columns: 1fr;
	}

	.wdm-club-create-card {
		position: static;
	}

	.wdm-club-time-decision {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	body.admin-bar .wdm-club-mode {
		--wdm-club-sticky-nav-top: calc(46px + .35rem);
	}
}

@media (max-width: 620px) {
	.wdm-club-header-actions,
	.wdm-club-time-decision form {
		grid-template-columns: 1fr;
	}

	.wdm-club-header-actions {
		display: grid;
	}

	.wdm-club-connection-grid {
		grid-template-columns: 1fr;
	}

	.wdm-club-management-heading,
	.wdm-club-management-item > header {
		align-items: flex-start;
		flex-direction: column;
	}

	.wdm-club-management-item .wdm-action-row .button {
		flex-basis: 100%;
	}

	.wdm-club-bridge-manual[open] .wdm-club-bridge-url-row,
	.wdm-club-archived-items li {
		grid-template-columns: 1fr;
	}

	.wdm-club-shared-bridge,
	.wdm-club-shared-bridge__devices li {
		grid-template-columns: 1fr;
	}

	.wdm-club-shared-bridge__device-actions {
		align-items: start;
		justify-items: start;
	}

	.wdm-club-header-actions :where(.button, .wdm-club-switcher),
	.wdm-club-time-decision form .wdm-action-row {
		width: 100%;
	}
}

/* Tournament portal */
.wdm-tournament-integrations {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	margin: 1rem 0;
}

.wdm-tournament-integrations__summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: .75rem;
	justify-content: space-between;
	list-style: none;
	padding: .9rem 1rem;
}

.wdm-tournament-integrations__label {
	color: var(--wdm-ui-muted);
	font-size: .72rem;
	font-weight: 750;
	text-transform: uppercase;
}

.wdm-tournament-integrations__content {
	border-top: 1px solid var(--wdm-ui-line);
	padding: 1rem;
}

.wdm-tournament-list {
	display: grid;
	gap: .85rem;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.wdm-tournament-card {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-top: 3px solid var(--wdm-ui-brand);
	border-radius: 6px;
	box-shadow: none;
	padding: 1rem;
}

.wdm-empty-state {
	background: var(--wdm-ui-surface);
	border: 1px dashed var(--wdm-ui-line-strong);
	border-radius: 6px;
	padding: 2rem 1.25rem;
	text-align: center;
}

/* Ladder */
.wdm-ladder[data-wdm-theme-root] {
	--wdm-ladder-bg: var(--wdm-ui-page);
	--wdm-ladder-surface: var(--wdm-ui-surface);
	--wdm-ladder-surface-alt: var(--wdm-ui-surface-alt);
	--wdm-ladder-border: var(--wdm-ui-line);
	--wdm-ladder-text: var(--wdm-ui-ink);
	--wdm-ladder-muted: var(--wdm-ui-muted);
	--wdm-ladder-primary: var(--wdm-ui-brand);
	--wdm-ladder-primary-strong: var(--wdm-ui-brand-strong);
	--wdm-ladder-header-start: var(--wdm-ui-nav);
	--wdm-ladder-header-end: color-mix(in srgb, var(--wdm-ui-nav) 78%, var(--wdm-ui-brand));
	--wdm-ladder-current-bg: color-mix(in srgb, var(--wdm-ui-surface) 87%, var(--wdm-ui-success));
	--wdm-ladder-current-border: var(--wdm-ui-success);
	--wdm-ladder-selected-bg: color-mix(in srgb, var(--wdm-ui-surface) 88%, var(--wdm-ui-info));
	--wdm-ladder-selected-border: var(--wdm-ui-info);
	--wdm-ladder-shadow: transparent;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--wdm-ui-ink);
	max-width: none;
	width: 100%;
}

.wdm-ladder__header {
	background: var(--wdm-ui-nav);
}

.wdm-ladder__toolbar {
	align-items: center;
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: flex;
	gap: .75rem;
	justify-content: space-between;
	margin: 1rem 0;
	padding: .55rem;
}

.wdm-ladder__toolbar-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
}

.wdm-ladder__scope-label {
	color: var(--wdm-ui-ink);
	font-size: .9rem;
}

.wdm-ladder__rank-jump {
	white-space: nowrap;
}

.wdm-ladder__search {
	margin-left: auto;
	min-width: 240px;
}

.wdm-ladder__own-position {
	border-left-color: var(--wdm-ui-success);
}

.wdm-ladder__ranking {
	margin-top: 1.5rem;
}

.wdm-ladder__ranking-heading {
	margin: 0 0 .8rem;
}

.wdm-ladder__table-region {
	max-height: min(72vh, 900px);
	position: relative;
}

.wdm-ladder__table-region .wdm-public-table thead {
	position: sticky;
	top: 0;
	z-index: 3;
}

.wdm-ladder__table-region tr[hidden] {
	display: none;
}

.wdm-ladder-details-heading,
.wdm-ladder-details-cell {
	display: none;
}

.wdm-ladder__load-more {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	justify-content: center;
	padding: 1rem 0 .25rem;
}

.wdm-ladder__load-status {
	color: var(--wdm-ui-muted);
	font-size: .85rem;
	margin: 0;
}

.wdm-ladder .wdm-stat-bar {
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
}

.wdm-ladder .wdm-stat-bar > span,
.wdm-ladder .wdm-stat-bar.is-accent > span,
.wdm-ladder .wdm-stat-bar.is-warm > span {
	background: linear-gradient(90deg, color-mix(in srgb, var(--wdm-ui-success) 58%, #fff), var(--wdm-ui-success));
}

.wdm-ladder .wdm-stat-bar strong {
	color: var(--wdm-ui-ink);
}

body.wdm-app-page.wdm-public-theme-light .wdm-ladder[data-wdm-theme-root],
.wdm-ladder[data-wdm-theme-mode="light"] {
	color-scheme: light;
}

body.wdm-app-page.wdm-public-theme-dark .wdm-ladder[data-wdm-theme-root],
.wdm-ladder[data-wdm-theme-mode="dark"] {
	color-scheme: dark;
}

body.wdm-app-page.wdm-public-theme-dark .wdm-team-theme-root {
	--wdm-ui-ink: #eef3f8;
	--wdm-ui-muted: #aeb9c7;
	--wdm-ui-line: #394554;
	--wdm-ui-line-strong: #536173;
	--wdm-ui-surface: #18212b;
	--wdm-ui-surface-alt: #202b37;
	--wdm-ui-nav: #0b1118;
}

body.wdm-app-page.wdm-public-theme-dark :where(
	.wdm-player-nav,
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) {
	color: var(--wdm-ui-ink);
}

body.wdm-app-page.wdm-public-theme-dark :where(
	.wdm-discord-login,
	.wdm-discord-identity-card
) {
	background: var(--wdm-ui-surface-alt);
	border-color: var(--wdm-ui-line-strong);
	color: var(--wdm-ui-ink);
}

body.wdm-app-page.wdm-public-theme-dark :where(
	.wdm-discord-login,
	.wdm-discord-identity-card
) :where(h3, p, strong) {
	color: var(--wdm-ui-ink);
}

body.wdm-app-page.wdm-public-theme-dark .wdm-discord-identity-note {
	color: var(--wdm-ui-muted);
}

body.wdm-app-page.wdm-public-theme-dark .wdm-public-notice.wdm-public-info {
	background: color-mix(in srgb, var(--wdm-ui-info) 13%, var(--wdm-ui-surface));
	border-color: color-mix(in srgb, var(--wdm-ui-info) 45%, var(--wdm-ui-line));
	border-left-color: var(--wdm-ui-info);
	color: var(--wdm-ui-ink);
}

body.wdm-app-page.wdm-public-theme-dark a.wdm-discord-login-button {
	color: var(--wdm-ui-on-action);
}

body.wdm-app-page.wdm-public-theme-dark .wdm-player-nav__link {
	color: #d6dde6;
}

body.wdm-app-page.wdm-public-theme-dark .wdm-player-nav__link.is-active,
body.wdm-app-page.wdm-public-theme-dark .wdm-theme-toggle--portal button.is-active {
	color: #f3f7fb;
}

body.wdm-app-page.wdm-public-theme-dark :where(
	.wdm-badge,
	.wdm-status-pill,
	.wdm-appointment-status,
	.wdm-team-fixture-state,
	.wdm-match-filters,
	.wdm-manager-tabs,
	.wdm-view-tabs,
	.wdm-tournament-view-tabs,
	.wdm-team-public__competitions
) {
	background: var(--wdm-ui-surface-alt);
	border-color: var(--wdm-ui-line);
	color: var(--wdm-ui-ink);
}

body.wdm-app-page.wdm-public-theme-dark .wdm-public-table th {
	background: #222d39;
	color: #eef3f8;
}

body.wdm-app-page.wdm-public-theme-dark .wdm-public-table td {
	border-bottom-color: var(--wdm-ui-line);
}

body.wdm-app-page .wdm-public-table td strong {
	color: inherit;
}

body.wdm-app-page.wdm-public-theme-dark .wdm-public-view[class*="wdm-theme-"] :where(h2, h3, h4, strong, label, legend) {
	color: var(--wdm-ui-ink);
}

body.wdm-app-page.wdm-public-theme-dark .wdm-public-view[class*="wdm-theme-"] :where(.wdm-kicker, small, .wdm-metric span) {
	color: var(--wdm-ui-muted);
}

body.wdm-app-page.wdm-public-theme-dark :is(.wdm-standings-table, .wdm-stats-table) tbody tr:nth-child(even) td {
	background: var(--wdm-ui-surface-alt);
}

body.wdm-app-page.wdm-public-theme-dark .wdm-standings-table tbody tr.is-promotion td {
	background: #173426;
	color: #eef8f2;
}

body.wdm-app-page.wdm-public-theme-dark .wdm-standings-table tbody tr.is-playoff td {
	background: #3a3018;
	color: #fff5d8;
}

body.wdm-app-page.wdm-public-theme-dark .wdm-standings-table tbody tr.is-relegation td {
	background: #3b231f;
	color: #ffe9e3;
}

body.wdm-app-page.wdm-public-theme-dark .wdm-public-table tbody tr:hover td {
	background: #202c38;
}

body.wdm-app-page.wdm-public-theme-dark .wdm-public-table tr.is-current-player td {
	background: #173229;
}

body.wdm-app-page.wdm-public-theme-dark :where(
	.wdm-public-notice,
	.wdm-public-success,
	.wdm-public-error,
	.wdm-appointment-status--warning,
	.wdm-status-pill--warning
) {
	color: var(--wdm-ui-ink);
}

body.wdm-app-page.wdm-public-theme-dark :where(input, select, textarea) {
	color-scheme: dark;
}

/* Responsive structure */
@media (max-width: 1100px) {
	.wdm-role-preview {
		grid-template-columns: 1fr;
	}

	.wdm-role-preview__form {
		grid-template-columns: minmax(280px, 1fr) minmax(180px, 1fr) auto;
	}

	.wdm-role-preview__status {
		justify-self: start;
	}

	.wdm-portal-nav {
		grid-template-columns: auto minmax(0, 1fr) auto auto;
	}

	.wdm-portal-nav__context {
		display: none;
	}

	.wdm-match-item,
	.wdm-profile-layout {
		grid-template-columns: 1fr;
	}

	.wdm-club-workspace__operations {
		grid-template-columns: 1fr;
	}

	.wdm-club-workspace__tools {
		display: grid;
		gap: .75rem;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	}
}

@media (max-width: 900px) {
	:where(
		.wdm-public-view,
		.wdm-manager-portal,
		.wdm-league-setup,
		.wdm-club-mode,
		.wdm-tournament-portal,
		.wdm-team-theme-root
	) {
		margin: 1rem auto;
		padding-inline: .75rem;
	}

	.wdm-portal-nav {
		grid-template-columns: 1fr auto auto;
	}

	.wdm-portal-nav__brand {
		border-bottom: 1px solid #303a47;
		border-right: 0;
	}

	.wdm-portal-nav__links {
		border-top: 1px solid #303a47;
		grid-column: 1 / -1;
		overflow-x: auto;
	}

	.wdm-theme-toggle--nav-dark {
		justify-self: end;
	}

	.wdm-portal-nav__link {
		flex: 0 0 auto;
		min-height: 50px;
	}

	.wdm-section-grid {
		grid-template-columns: 1fr;
	}

	.wdm-bridge-profile-grid {
		grid-template-columns: 1fr;
	}

	.wdm-bot-connect__guide ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 759px) {
	.wdm-role-preview {
		gap: .65rem;
		margin-inline: .55rem;
		width: calc(100% - 1.1rem);
	}

	.wdm-role-preview__form {
		grid-template-columns: 1fr;
	}

	.wdm-role-preview__roles span {
		font-size: .7rem;
		padding-inline: .3rem;
	}

	.wdm-role-preview__apply {
		width: 100%;
	}

	body.wdm-app-page :where(.entry-content, .wp-block-post-content) {
		padding-inline: 0 !important;
	}

	:where(
		.wdm-public-view,
		.wdm-manager-portal,
		.wdm-league-setup,
		.wdm-club-mode,
		.wdm-tournament-portal,
		.wdm-team-theme-root
	) {
		margin-top: .5rem;
		padding-inline: .55rem;
	}

	.wdm-player-nav {
		display: block;
		overflow: visible;
	}

	.wdm-player-nav__context {
		border-bottom: 1px solid var(--wdm-ui-line);
		border-right: 0;
		min-width: 0;
		padding: .55rem .75rem;
	}

	.wdm-player-nav__links {
		display: flex;
		overflow-x: auto;
	}

	.wdm-team-public--remscheid .wdm-player-nav__links {
		-ms-overflow-style: none;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.wdm-team-public--remscheid .wdm-player-nav__links::-webkit-scrollbar {
		display: none;
		height: 0;
		width: 0;
	}

	.wdm-player-nav__link {
		flex: 0 0 auto;
		min-height: 48px;
		padding: .55rem .72rem;
	}

	.wdm-player-nav__switcher {
		border-top: 1px solid var(--wdm-ui-line);
		margin: 0;
		padding: .45rem;
	}

	.wdm-player-nav > .wdm-theme-toggle--portal {
		border-left: 0;
		border-right: 0;
		margin: 0;
		padding: .45rem;
	}

	.wdm-player-nav__switcher > div {
		left: .45rem;
		right: .45rem;
	}

	.wdm-public-header,
	.wdm-club-header,
	.wdm-section-heading {
		align-items: flex-start;
		flex-direction: column;
		min-height: 0;
		padding: 1rem;
	}

	:where(.wdm-public-header, .wdm-club-header, .wdm-section-heading) h2 {
		font-size: 1.35rem;
	}

	.wdm-metric-grid,
	.wdm-club-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wdm-metric,
	.wdm-club-metrics > div {
		min-height: 78px;
		padding: .7rem .75rem;
	}

	:where(.wdm-metric, .wdm-club-metrics > div) strong {
		font-size: 1.35rem;
	}

	.wdm-match-item {
		grid-template-columns: 1fr;
		padding: .8rem;
	}

	.wdm-matchday > summary {
		align-items: flex-start;
	}

	.wdm-appointment-panel {
		grid-column: auto;
	}

	.wdm-appointment-item {
		grid-template-columns: 1fr;
	}

	.wdm-tournament-list,
	.wdm-team-workspace__area-details,
	.wdm-team-admin-grid,
	.wdm-team-roster-manager__teams {
		grid-template-columns: 1fr;
	}

	.wdm-ladder__toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.wdm-ladder__search {
		margin-left: 0;
		min-width: 0;
		width: 100%;
	}

	.wdm-ladder__table-region {
		max-height: none;
	}

	.wdm-table-wrap.wdm-ladder-table-wrap.is-responsive-card {
		margin-inline: 0;
		overflow: visible;
		padding: 0;
	}

	.wdm-public-table.wdm-ladder-table,
	.wdm-ladder-table tbody,
	.wdm-ladder-table tr {
		display: block;
		min-width: 0;
		width: 100%;
	}

	.wdm-public-table.wdm-ladder-table {
		border-collapse: separate;
		table-layout: fixed;
	}

	.wdm-ladder-table thead {
		display: none;
	}

	.wdm-ladder-table tr {
		background: var(--wdm-ui-surface);
		border: 1px solid var(--wdm-ui-line);
		border-radius: 8px;
		margin-bottom: .75rem;
		overflow: hidden;
	}

	.wdm-ladder-table tr[hidden] {
		display: none !important;
	}

	.wdm-ladder-table td,
	.wdm-ladder-table td:nth-child(1),
	.wdm-ladder-table td:nth-child(2),
	.wdm-ladder-table td:nth-child(3),
	.wdm-ladder-table td:nth-child(4) {
		align-items: center;
		background: var(--wdm-ui-surface);
		border-bottom: 1px solid var(--wdm-ui-line);
		box-shadow: none;
		display: none;
		gap: .75rem;
		justify-content: space-between;
		left: auto;
		min-height: 44px;
		padding: .58rem .7rem;
		position: static;
		text-align: right;
		width: 100%;
	}

	.wdm-ladder-table td:nth-child(-n+4),
	.wdm-ladder-table .wdm-ladder-details-cell,
	.wdm-ladder-table tr.is-details-open td:nth-child(n+5):not(.wdm-ladder-details-cell) {
		display: flex;
	}

	.wdm-ladder-table tr.is-details-open td:nth-last-child(2) {
		border-bottom: 1px solid var(--wdm-ui-line);
	}

	.wdm-ladder-table td::before {
		color: var(--wdm-ui-muted);
		content: attr(data-label);
		display: block;
		flex: 0 0 auto;
		font-size: .72rem;
		font-weight: 750;
		text-align: left;
		text-transform: uppercase;
	}

	.wdm-ladder-table .wdm-rank-cell {
		justify-content: flex-end;
	}

	.wdm-ladder-table .wdm-stat-bar {
		min-width: min(11rem, 56vw);
	}

	.wdm-ladder-table .wdm-ladder-details-cell {
		border-bottom: 0;
		justify-content: stretch;
	}

	.wdm-ladder-table .wdm-ladder-details-cell::before {
		content: none;
	}

	.wdm-ladder-details-toggle {
		background: var(--wdm-ui-surface-alt);
		border: 1px solid var(--wdm-ui-line-strong);
		border-radius: 6px;
		color: var(--wdm-ui-ink);
		cursor: pointer;
		font: inherit;
		font-weight: 700;
		min-height: 44px;
		width: 100%;
	}

	.wdm-team-workspace__switcher {
		align-items: stretch;
		flex-direction: column;
	}

	.wdm-bot-connect__guide ol {
		grid-template-columns: 1fr;
	}

	.wdm-bot-connect__server-state {
		justify-items: start;
	}
}

@media (max-width: 480px) {
	.wdm-bridge-profile-header,
	.wdm-bridge-profile-actions,
	.wdm-bridge-device {
		align-items: stretch;
		flex-direction: column;
	}

	.wdm-personal-board-actions {
		align-items: stretch;
		flex: none;
		flex-direction: column;
	}

	.wdm-personal-board-actions select {
		width: 100%;
	}

	.wdm-copy-field {
		grid-template-columns: 1fr;
	}

	.wdm-portal-nav {
		display: block;
	}

	.wdm-portal-nav__brand {
		min-width: 0;
	}

	.wdm-portal-nav__switcher {
		border-top: 1px solid #303a47;
		margin: 0;
		padding: .5rem;
	}

	.wdm-theme-toggle--nav-dark {
		border-left: 0;
		border-right: 0;
		margin: 0;
		padding: .5rem;
	}

	.wdm-portal-nav__switcher > summary {
		max-width: none;
		width: 100%;
	}

	.wdm-portal-nav__switcher > div {
		left: .5rem;
		right: .5rem;
	}

	.wdm-metric-grid,
	.wdm-club-metrics {
		grid-template-columns: 1fr;
	}

	.wdm-context-actions :where(.button, .wdm-button),
	.wdm-action-row :where(.button, .wdm-button) {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	:where(.wdm-public-view, .wdm-player-nav, .wdm-portal-nav) * {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

/* Remscheider Dartliga public portal. The preset keeps this presentation isolated. */
body.wdm-app-page :is(.entry-content, .wp-block-post-content):has(> .wdm-team-public--remscheid) {
	padding-inline: 0 !important;
}

.wdm-team-public.wdm-team-public--remscheid {
	--wdm-rdl-bg: #030b14;
	--wdm-rdl-bg-soft: #071827;
	--wdm-rdl-panel: #0c2030;
	--wdm-rdl-panel-strong: #123047;
	--wdm-rdl-line: rgba(86, 114, 138, .42);
	--wdm-rdl-text: #f7f4ea;
	--wdm-rdl-muted: #b7c2cc;
	--wdm-rdl-red: #c91f2c;
	--wdm-rdl-red-text: #ff655d;
	--wdm-rdl-red-dark: #7f121c;
	--wdm-rdl-gold: #d9be7a;
	--wdm-rdl-green: #43c185;
	--wdm-rdl-content-pad: clamp(18px, 5vw, 62px);
	background: var(--wdm-rdl-bg);
	border: 0;
	border-radius: 0;
	box-shadow: 0 22px 60px rgba(0, 0, 0, .32);
	color: var(--wdm-rdl-text);
	display: flex;
	flex-direction: column;
	margin: 0 0 2.5rem;
	max-width: none;
	overflow: clip;
	padding: 0;
	width: 100%;
}

.wdm-team-public.wdm-team-public--remscheid > * {
	order: 10;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-navigation-layer {
	order: 0;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-rdl-site-header {
	order: 1;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-rdl-hero {
	order: 2;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-rdl-stat-band {
	order: 3;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-rdl-results-ticker {
	order: 4;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-rdl-quick-links {
	order: 5;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-season-nav {
	order: 6;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-season-archive {
	order: 7;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-registration-callout {
	order: 8;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-public__competitions,
.wdm-team-public.wdm-team-public--remscheid > .wdm-team-public__competition-region {
	order: 9;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-public__competition-region {
	min-width: 0;
	width: 100%;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-public__standings {
	order: 11;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-insights {
	order: 14;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-public__fixtures {
	order: 12;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-matchday {
	order: 13;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-public__teams {
	order: 15;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-public__news {
	order: 16;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-member-area {
	order: 17;
}

.wdm-team-public.wdm-team-public--remscheid > .wdm-team-public__partners {
	order: 18;
}

.wdm-team-public--remscheid :where(h1, h2, h3, h4, h5, strong, label) {
	color: var(--wdm-rdl-text);
}

.wdm-team-public--remscheid :where(p, small, span, dt) {
	color: inherit;
}

.wdm-team-public--remscheid .wdm-team-navigation-layer {
	background: #050d17;
	margin: 0;
	padding: .65rem var(--wdm-rdl-content-pad) 0;
}

.wdm-team-public--remscheid .wdm-player-nav {
	background: var(--wdm-rdl-panel);
	border-color: var(--wdm-rdl-line);
	box-shadow: none;
	margin-bottom: .65rem;
}

.wdm-team-public--remscheid .wdm-player-nav__context,
.wdm-team-public--remscheid .wdm-player-nav__switcher {
	border-color: var(--wdm-rdl-line);
}

.wdm-team-public--remscheid .wdm-player-nav__link,
.wdm-team-public--remscheid .wdm-player-nav__context :where(strong, small, span) {
	color: var(--wdm-rdl-text);
}

.wdm-team-public--remscheid .wdm-player-nav__link.is-active {
	background: var(--wdm-rdl-panel-strong);
	border-bottom-color: var(--wdm-rdl-red);
	color: #fff;
}

.wdm-rdl-site-header {
	align-items: center;
	background: rgba(5, 13, 23, .96);
	border-bottom: 1px solid var(--wdm-rdl-line);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	min-height: 76px;
	padding: 14px clamp(18px, 4vw, 42px);
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 40;
}

body.admin-bar .wdm-team-public--remscheid .wdm-rdl-site-header {
	top: 32px;
}

.wdm-rdl-brand {
	align-items: center;
	color: var(--wdm-rdl-text) !important;
	display: inline-flex;
	flex: 0 1 auto;
	gap: 12px;
	min-width: 220px;
	text-decoration: none !important;
}

.wdm-rdl-brand .wdm-team-organization-logo,
.wdm-rdl-brand__mark {
	background: linear-gradient(135deg, #d72332, #7b1119 60%, #1b2b3f);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 8px;
	box-shadow: 0 10px 25px rgba(206, 32, 47, .32);
	box-sizing: border-box;
	flex: 0 0 48px;
	height: 48px;
	width: 48px;
}

.wdm-rdl-brand .wdm-team-organization-logo {
	object-fit: contain;
	padding: .3rem;
}

.wdm-rdl-brand__mark {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: .85rem;
	font-weight: 900;
	justify-content: center;
}

.wdm-rdl-brand__copy {
	display: grid;
	line-height: 1.15;
	min-width: 0;
}

.wdm-team-public.wdm-team-public--remscheid .wdm-rdl-brand__copy strong {
	color: var(--wdm-rdl-text) !important;
	font-size: clamp(.92rem, 2vw, 1.08rem);
	overflow-wrap: anywhere;
	text-transform: uppercase;
}

.wdm-team-public.wdm-team-public--remscheid .wdm-rdl-brand__copy small {
	color: var(--wdm-rdl-muted) !important;
	font-size: .75rem;
}

.wdm-team-public--remscheid .wdm-rdl-site-nav {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	display: flex;
	gap: 4px;
	margin: 0;
	overflow-x: auto;
	padding: 0;
}

.wdm-team-public--remscheid .wdm-rdl-site-nav a {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 6px;
	color: #eef2f7;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: .78rem;
	font-weight: 800;
	min-height: 42px;
	padding: 0 11px;
	text-decoration: none;
	text-transform: uppercase;
}

.wdm-team-public--remscheid .wdm-rdl-site-nav a:hover,
.wdm-team-public--remscheid .wdm-rdl-site-nav a:focus-visible,
.wdm-team-public--remscheid .wdm-rdl-site-nav a.is-active {
	background: rgba(206, 32, 47, .16);
	border-color: rgba(206, 32, 47, .7);
	color: #fff;
}

.wdm-team-public--remscheid .wdm-rdl-site-nav .wdm-rdl-site-nav__cta {
	background: var(--wdm-rdl-red);
	border-color: var(--wdm-rdl-red);
}

.wdm-rdl-hero {
	align-items: center;
	background:
		radial-gradient(circle at 82% 18%, rgba(10, 91, 136, .3), transparent 29%),
		radial-gradient(circle at 71% 85%, rgba(201, 31, 44, .24), transparent 35%),
		radial-gradient(circle at 8% 4%, rgba(201, 31, 44, .14), transparent 31%),
		linear-gradient(118deg, #02070f 0%, #071827 52%, #030b14 100%);
	border-bottom: 1px solid var(--wdm-rdl-line);
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 1.1fr) minmax(330px, .8fr);
	isolation: isolate;
	min-height: clamp(560px, 65vh, 720px);
	overflow: hidden;
	padding: clamp(64px, 10vw, 110px) clamp(18px, 7vw, 86px);
	position: relative;
}

.wdm-rdl-hero::before {
	background:
		linear-gradient(116deg, transparent 34%, rgba(247, 244, 234, .055) 45%, transparent 56%),
		radial-gradient(ellipse at 50% 112%, rgba(217, 190, 122, .09), transparent 44%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.wdm-rdl-hero::after {
	background: linear-gradient(90deg, transparent 2%, var(--wdm-rdl-red) 27%, var(--wdm-rdl-gold) 50%, #6aaed3 73%, transparent 98%);
	bottom: 0;
	box-shadow: 0 0 24px rgba(217, 190, 122, .18);
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
}

.wdm-rdl-hero__content {
	max-width: 680px;
	position: relative;
	width: 100%;
	z-index: 2;
}

.wdm-rdl-hero__visual {
	align-items: center;
	aspect-ratio: 1;
	display: grid;
	isolation: isolate;
	justify-items: center;
	justify-self: center;
	max-width: 560px;
	position: relative;
	width: min(100%, 560px);
	z-index: 1;
}

.wdm-rdl-hero__visual::before {
	background:
		radial-gradient(circle, rgba(10, 91, 136, .22) 0 39%, transparent 66%),
		conic-gradient(from 18deg, rgba(201, 31, 44, .2), rgba(217, 190, 122, .18), rgba(10, 91, 136, .26), rgba(201, 31, 44, .2));
	border: 1px solid rgba(217, 190, 122, .27);
	border-radius: 50%;
	box-shadow:
		inset 0 0 48px rgba(247, 244, 234, .045),
		0 0 46px rgba(10, 91, 136, .18);
	content: "";
	inset: 5%;
	position: absolute;
	transform: rotate(-7deg);
	z-index: -1;
}

.wdm-rdl-hero__visual::after {
	background: radial-gradient(ellipse, rgba(102, 181, 222, .3), rgba(201, 31, 44, .13) 42%, transparent 72%);
	bottom: 1%;
	content: "";
	filter: blur(12px);
	height: 14%;
	position: absolute;
	transform: perspective(210px) rotateX(66deg);
	width: 82%;
	z-index: -1;
}

.wdm-rdl-hero__crest {
	align-items: center;
	display: grid;
	height: 92%;
	justify-items: center;
	position: relative;
	width: 92%;
}

.wdm-rdl-hero__crest::after {
	background: linear-gradient(118deg, transparent 33%, rgba(255, 255, 255, .2) 47%, transparent 59%);
	border-radius: 24%;
	content: "";
	inset: 9%;
	mix-blend-mode: screen;
	opacity: .42;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.wdm-rdl-hero__crest > .wdm-team-organization-logo {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	filter:
		drop-shadow(0 28px 32px rgba(0, 0, 0, .66))
		drop-shadow(0 0 22px rgba(81, 167, 214, .22));
	height: 100%;
	max-height: none;
	max-width: none;
	object-fit: contain;
	padding: 0;
	width: 100%;
}

.wdm-rdl-hero__mark {
	align-items: center;
	background: linear-gradient(145deg, var(--wdm-rdl-red), #0a5b88);
	border: 2px solid rgba(217, 190, 122, .5);
	border-radius: 50%;
	box-shadow: 0 24px 45px rgba(0, 0, 0, .5);
	color: #fff;
	display: flex;
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 950;
	height: 72%;
	justify-content: center;
	width: 72%;
}

.wdm-team-public.wdm-team-public--remscheid .wdm-rdl-kicker,
body.wdm-app-page .wdm-team-public.wdm-team-public--remscheid .wdm-rdl-kicker {
	align-items: center;
	color: var(--wdm-rdl-red-text);
	display: inline-flex;
	font-size: .8rem;
	font-weight: 900;
	gap: 8px;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.wdm-team-public.wdm-team-public--remscheid .wdm-rdl-kicker::before,
body.wdm-app-page .wdm-team-public.wdm-team-public--remscheid .wdm-rdl-kicker::before {
	background: var(--wdm-rdl-red);
	border-radius: 999px;
	content: "";
	height: 3px;
	width: 26px;
}

.wdm-rdl-hero h1 {
	color: #fff;
	font-size: clamp(2.75rem, 8vw, 5.75rem);
	font-weight: 950;
	letter-spacing: -.045em;
	line-height: 1.02;
	margin: 0 0 10px;
	text-shadow: 0 18px 36px rgba(0, 0, 0, .5);
	text-transform: uppercase;
}

.wdm-rdl-hero h1 span {
	display: block;
	white-space: nowrap;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.wdm-team-public--remscheid .wdm-rdl-hero h1 {
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background: linear-gradient(180deg, #fff 4%, #f7f4ea 48%, #9fb4c7 100%);
		background-clip: text;
	}
}

.wdm-rdl-hero__tagline {
	color: var(--wdm-rdl-gold);
	font-size: clamp(1.15rem, 3vw, 1.65rem);
	font-weight: 900;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.wdm-rdl-hero__copy {
	color: #d8e0eb;
	font-size: 1rem;
	margin: 0 0 26px;
	max-width: 540px;
}

.wdm-rdl-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.wdm-rdl-button {
	align-items: center;
	background: var(--wdm-rdl-panel);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 6px;
	color: #fff !important;
	display: inline-flex;
	font-size: .8rem;
	font-weight: 900;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	text-decoration: none !important;
	text-transform: uppercase;
}

.wdm-rdl-button--primary {
	background: var(--wdm-rdl-red);
	border-color: var(--wdm-rdl-red);
}

.wdm-rdl-button--ghost {
	background: rgba(255, 255, 255, .08);
}

.wdm-rdl-button:hover,
.wdm-rdl-button:focus-visible {
	background: var(--wdm-rdl-red-dark);
	border-color: var(--wdm-rdl-gold);
	color: #fff;
	transform: translateY(-1px);
}

.wdm-rdl-stat-band {
	background: linear-gradient(90deg, var(--wdm-rdl-red-dark), var(--wdm-rdl-red));
	border-bottom: 1px solid rgba(255, 255, 255, .16);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}

.wdm-rdl-stat-band > div {
	align-content: center;
	border-right: 1px solid rgba(255, 255, 255, .16);
	display: grid;
	gap: 7px;
	min-height: 108px;
	padding: 18px clamp(16px, 4vw, 30px);
}

.wdm-rdl-stat-band > div:last-child {
	border-right: 0;
}

.wdm-rdl-stat-band dt {
	color: rgba(255, 255, 255, .82);
	font-size: .78rem;
	font-weight: 800;
	order: 2;
}

.wdm-rdl-stat-band dd {
	color: #fff;
	font-size: clamp(1.35rem, 3vw, 2.05rem);
	font-weight: 900;
	line-height: 1;
	margin: 0;
	order: 1;
	overflow-wrap: anywhere;
}

.wdm-rdl-results-ticker {
	align-items: center;
	background: #071422;
	border-bottom: 1px solid var(--wdm-rdl-line);
	display: grid;
	gap: 16px;
	grid-template-columns: auto minmax(0, 1fr);
	min-height: 56px;
	padding: 0 clamp(18px, 4vw, 42px);
}

.wdm-rdl-results-ticker[hidden] {
	display: none !important;
}

.wdm-rdl-results-ticker > strong {
	color: var(--wdm-rdl-gold);
	font-size: .75rem;
	font-weight: 900;
	text-transform: uppercase;
	white-space: nowrap;
}

.wdm-rdl-results-ticker__track {
	min-width: 0;
	overflow: hidden;
}

.wdm-rdl-results-ticker__items {
	animation: wdm-rdl-marquee 38s linear infinite;
	display: flex;
	width: max-content;
}

.wdm-rdl-results-ticker__set {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 34px;
	padding-right: 34px;
}

.wdm-rdl-results-ticker__set > span {
	color: #dfe7f2;
	font-size: .86rem;
	white-space: nowrap;
}

.wdm-rdl-results-ticker__set > span::before {
	color: var(--wdm-rdl-red);
	content: "\2022";
	margin-right: 12px;
}

.wdm-rdl-results-ticker__track:hover .wdm-rdl-results-ticker__items,
.wdm-rdl-results-ticker__track:focus .wdm-rdl-results-ticker__items {
	animation-play-state: paused;
}

@keyframes wdm-rdl-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.wdm-rdl-quick-links {
	background: #081827;
	border-bottom: 1px solid var(--wdm-rdl-line);
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	padding: clamp(32px, 5vw, 56px) var(--wdm-rdl-content-pad);
}

.wdm-rdl-quick-links > a {
	align-content: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
	border: 1px solid var(--wdm-rdl-line);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
	display: grid;
	gap: 8px;
	justify-items: center;
	min-height: 156px;
	padding: 20px;
	text-align: center;
	text-decoration: none !important;
}

.wdm-rdl-quick-links > a > span {
	color: var(--wdm-rdl-red);
	font-size: 1.65rem;
	font-weight: 950;
}

.wdm-rdl-quick-links > a > strong {
	color: #fff;
	font-size: 1.05rem;
	text-transform: uppercase;
}

.wdm-rdl-quick-links > a > small {
	color: var(--wdm-rdl-muted);
}

.wdm-rdl-quick-links > a:hover,
.wdm-rdl-quick-links > a:focus-visible {
	background: rgba(206, 32, 47, .12);
	border-color: rgba(206, 32, 47, .8);
}

.wdm-team-public--remscheid > :is(.wdm-team-season-nav, .wdm-team-registration-callout, .wdm-team-public__competitions, .wdm-public-notice),
.wdm-team-public--remscheid > .wdm-team-public__competition-region > .wdm-team-public__competitions {
	margin-left: var(--wdm-rdl-content-pad);
	margin-right: var(--wdm-rdl-content-pad);
	width: auto;
}

.wdm-team-public--remscheid .wdm-team-season-nav,
.wdm-team-public--remscheid .wdm-team-public__competitions {
	background: var(--wdm-rdl-panel);
	border-color: var(--wdm-rdl-line);
}

.wdm-team-public--remscheid .wdm-team-season-nav a,
.wdm-team-public--remscheid .wdm-team-public__competitions a {
	background: var(--wdm-rdl-panel-strong);
	border-color: var(--wdm-rdl-line);
	color: var(--wdm-rdl-text);
}

.wdm-team-public--remscheid .wdm-team-season-nav a.is-active,
.wdm-team-public--remscheid .wdm-team-public__competitions a.is-active {
	background: var(--wdm-rdl-red);
	border-color: var(--wdm-rdl-red);
	box-shadow: none;
	color: #fff;
}

.wdm-team-public--remscheid .wdm-team-registration-callout {
	background: var(--wdm-rdl-panel);
	border: 1px solid var(--wdm-rdl-line);
	border-left: 4px solid var(--wdm-rdl-red);
	color: var(--wdm-rdl-text);
}

.wdm-team-public--remscheid .wdm-team-registration-callout.is-closed {
	background: var(--wdm-rdl-panel);
	border-left-color: var(--wdm-rdl-gold);
}

.wdm-team-public--remscheid > :is(
	.wdm-team-public__standings,
	.wdm-team-insights,
	.wdm-team-public__fixtures,
	.wdm-team-matchday,
	.wdm-team-public__teams,
	.wdm-team-public__news,
	.wdm-team-member-area,
	.wdm-team-entity
),
.wdm-team-public--remscheid .wdm-team-public__competition-panel > :is(
	.wdm-team-public__standings,
	.wdm-team-insights,
	.wdm-team-public__fixtures,
	.wdm-team-matchday,
	.wdm-team-public__teams,
	.wdm-team-entity,
	.wdm-public-notice
) {
	border-bottom: 1px solid var(--wdm-rdl-line);
	margin: 0;
	padding: clamp(52px, 7vw, 90px) var(--wdm-rdl-content-pad);
	scroll-margin-top: 1rem;
}

.wdm-team-public--remscheid > :is(.wdm-team-insights, .wdm-team-public__teams, .wdm-team-member-area),
.wdm-team-public--remscheid .wdm-team-public__competition-panel > :is(.wdm-team-insights, .wdm-team-public__teams) {
	background: var(--wdm-rdl-bg-soft);
}

.wdm-team-public--remscheid > :is(.wdm-team-public__standings, .wdm-team-public__fixtures, .wdm-team-public__news, .wdm-team-entity, .wdm-team-matchday),
.wdm-team-public--remscheid .wdm-team-public__competition-panel > :is(.wdm-team-public__standings, .wdm-team-public__fixtures, .wdm-team-entity, .wdm-team-matchday, .wdm-public-notice) {
	background: var(--wdm-rdl-bg);
}

.wdm-team-public--remscheid .wdm-section-title-row {
	margin-bottom: 28px;
}

.wdm-team-public--remscheid .wdm-section-title-row h3 {
	color: #fff;
	font-size: clamp(1.75rem, 5vw, 3rem);
	font-weight: 950;
	line-height: 1.08;
	margin: 0;
	text-transform: uppercase;
}

.wdm-team-public--remscheid .wdm-table-wrap {
	background: var(--wdm-rdl-panel);
	border-color: var(--wdm-rdl-line);
	border-radius: 8px;
}

.wdm-team-public--remscheid .wdm-public-table {
	background: var(--wdm-rdl-panel);
	color: var(--wdm-rdl-text);
	font-size: .86rem;
	min-width: 760px;
}

.wdm-team-public--remscheid .wdm-public-table th {
	background: #0a1725;
	border-color: var(--wdm-rdl-line);
	color: var(--wdm-rdl-muted);
	padding: 14px 16px;
}

.wdm-team-public--remscheid .wdm-public-table td {
	background: var(--wdm-rdl-panel);
	border-color: rgba(255, 255, 255, .08);
	color: var(--wdm-rdl-text);
	padding: 14px 16px;
}

.wdm-team-public--remscheid .wdm-public-table tbody tr:hover td {
	background: var(--wdm-rdl-panel-strong);
}

.wdm-team-public--remscheid .wdm-team-entity-link {
	color: var(--wdm-rdl-text);
}

.wdm-team-public--remscheid .wdm-team-fixture-group {
	background: var(--wdm-rdl-panel);
	border: 1px solid var(--wdm-rdl-line);
	border-radius: 8px;
	overflow: hidden;
}

.wdm-team-public--remscheid .wdm-team-fixture-group[open] {
	grid-column: 1 / -1;
}

.wdm-team-public--remscheid .wdm-team-fixture-group + .wdm-team-fixture-group {
	margin-top: 0;
}

.wdm-team-public--remscheid .wdm-team-fixture-group > summary {
	align-items: center;
	background: #0c1d2f;
	color: var(--wdm-rdl-text);
	cursor: pointer;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	min-height: 52px;
	padding: 12px 16px;
}

.wdm-team-public--remscheid .wdm-team-fixture-group[open] > summary {
	border-bottom: 1px solid var(--wdm-rdl-line);
	box-shadow: inset 4px 0 0 var(--wdm-rdl-red);
}

.wdm-team-public--remscheid .wdm-team-fixture-group > summary span {
	color: var(--wdm-rdl-muted);
	font-size: .76rem;
}

.wdm-team-public--remscheid .wdm-team-fixture-group > div {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 18px;
}

.wdm-team-public--remscheid .wdm-team-public__fixture {
	background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
	border-color: var(--wdm-rdl-line);
	box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
	color: var(--wdm-rdl-text);
	min-height: 210px;
	padding: 20px;
}

.wdm-team-public--remscheid .wdm-team-public__fixture-meta,
.wdm-team-public--remscheid .wdm-team-fixture-venue {
	color: var(--wdm-rdl-muted);
}

.wdm-team-public--remscheid .wdm-team-public__fixture-team {
	font-size: 1.05rem;
	line-height: 1.4;
}

.wdm-team-public--remscheid .wdm-team-public__fixture-score {
	background: var(--wdm-rdl-red);
	border-radius: 6px;
	color: #fff;
	min-width: 58px;
	padding: .35rem .5rem;
	text-align: center;
}

.wdm-team-public--remscheid .wdm-team-public__fixture > a {
	color: var(--wdm-rdl-gold);
}

.wdm-team-public--remscheid .wdm-team-fixture-state {
	background: rgba(67, 193, 133, .14);
	border-color: rgba(67, 193, 133, .45);
	color: #dff8eb !important;
}

.wdm-team-public--remscheid .wdm-team-fixture-state.is-cancelled {
	background: rgba(206, 32, 47, .15);
	border-color: rgba(206, 32, 47, .55);
	color: #ffd8dc !important;
}

.wdm-team-public--remscheid .wdm-team-form-grid,
.wdm-team-public--remscheid .wdm-team-result-grid,
.wdm-team-public--remscheid .wdm-team-public__team-grid,
.wdm-team-public--remscheid .wdm-team-news-grid {
	gap: 18px;
}

.wdm-team-public--remscheid :is(.wdm-team-form-card, .wdm-team-result-grid article, .wdm-team-public__team-grid article, .wdm-team-news-grid article) {
	background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
	border: 1px solid var(--wdm-rdl-line);
	border-radius: 8px;
	box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
	color: var(--wdm-rdl-text);
}

.wdm-team-public--remscheid .wdm-team-result-grid article p strong {
	background: var(--wdm-rdl-red);
	border-radius: 6px;
	color: #fff;
	min-width: 72px;
	padding: 8px 10px;
	text-align: center;
}

.wdm-team-public--remscheid .wdm-team-result-grid article small {
	color: var(--wdm-rdl-gold);
}

.wdm-team-public--remscheid .wdm-team-public__team-grid article > a {
	color: var(--wdm-rdl-text);
	min-height: 112px;
	padding: 18px;
}

.wdm-team-public--remscheid .wdm-team-public__team-grid article > a span {
	color: var(--wdm-rdl-muted);
}

.wdm-team-public--remscheid .wdm-team-news-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wdm-team-public--remscheid .wdm-team-news-grid article {
	min-height: 230px;
	overflow: hidden;
	padding: 24px;
	position: relative;
}

.wdm-team-public--remscheid .wdm-team-news-grid article::before {
	background: linear-gradient(90deg, var(--wdm-rdl-red), var(--wdm-rdl-gold));
	content: "";
	height: 6px;
	inset: 0 0 auto;
	position: absolute;
}

.wdm-team-public--remscheid .wdm-team-news-grid article > div:first-child,
.wdm-team-public--remscheid .wdm-team-news-grid time {
	color: var(--wdm-rdl-muted);
}

.wdm-team-public--remscheid .wdm-team-news-grid article > div:first-child span {
	color: var(--wdm-rdl-text);
}

.wdm-team-public--remscheid .wdm-team-member-area {
	background:
		radial-gradient(circle at 88% 12%, rgba(10, 91, 136, .16), transparent 30%),
		radial-gradient(circle at 8% 92%, rgba(201, 31, 44, .11), transparent 34%),
		linear-gradient(180deg, rgba(7, 24, 39, .97), rgba(3, 11, 20, .995));
}

.wdm-team-public--remscheid :is(
	.wdm-team-member-summary > div,
	.wdm-team-member-register,
	.wdm-team-member-transfer,
	.wdm-team-member-registration,
	.wdm-team-member-requests,
	.wdm-team-member-free,
	.wdm-team-member-roster,
	.wdm-team-member-directory
) {
	background: var(--wdm-rdl-panel);
	border-color: var(--wdm-rdl-line);
	color: var(--wdm-rdl-text);
}

.wdm-team-public--remscheid :is(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), select, textarea) {
	background: #081625;
	border-color: rgba(255, 255, 255, .2);
	color: #fff;
}

.wdm-team-public--remscheid :is(input, select, textarea):focus-visible {
	border-color: var(--wdm-rdl-gold);
	box-shadow: 0 0 0 3px rgba(240, 181, 78, .22);
}

.wdm-team-public--remscheid :is(.button.button-primary, button.button-primary) {
	background: var(--wdm-rdl-red);
	border-color: var(--wdm-rdl-red);
	color: #fff !important;
}

.wdm-team-public--remscheid :is(.button.button-primary, button.button-primary):hover,
.wdm-team-public--remscheid :is(.button.button-primary, button.button-primary):focus-visible {
	background: var(--wdm-rdl-red-dark);
	border-color: var(--wdm-rdl-gold);
}

.wdm-team-public--remscheid .wdm-team-public__partners {
	background:
		radial-gradient(circle at 85% 15%, rgba(206, 32, 47, .14), transparent 35%),
		#050d17;
	border: 0;
	gap: clamp(24px, 5vw, 64px);
	grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
	margin: 0;
	padding: clamp(48px, 7vw, 82px) var(--wdm-rdl-content-pad);
}

.wdm-team-public--remscheid .wdm-team-public__partners ul {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(230px, 1fr));
	justify-content: stretch;
}

.wdm-team-public--remscheid .wdm-team-public__partners li {
	background: transparent;
	border: 0;
	min-width: 0;
	padding: 0;
	text-align: left;
}

.wdm-team-public--remscheid .wdm-team-public__partners :is(a, span) {
	color: inherit;
}

.wdm-team-public--remscheid .wdm-team-public__partners a {
	align-items: center;
	background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px;
	display: grid;
	gap: 16px;
	grid-template-columns: 96px minmax(0, 1fr);
	min-height: 126px;
	padding: 15px;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wdm-team-public--remscheid .wdm-team-public__partners a:hover,
.wdm-team-public--remscheid .wdm-team-public__partners a:focus-visible {
	border-color: rgba(206, 32, 47, .86);
	box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
	transform: translateY(-2px);
}

.wdm-team-public--remscheid .wdm-team-partner-logo {
	align-items: center;
	background: #fff;
	border-radius: 9px;
	display: flex;
	height: 92px;
	justify-content: center;
	overflow: hidden;
	padding: 8px;
	width: 96px;
}

.wdm-team-public--remscheid .wdm-team-partner-logo img {
	display: block;
	height: 100%;
	max-height: 76px;
	max-width: 80px;
	object-fit: contain;
	width: 100%;
}

.wdm-team-public--remscheid .wdm-team-partner-copy {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.wdm-team-public--remscheid .wdm-team-partner-copy strong {
	color: #fff;
	font-size: 1rem;
	overflow-wrap: anywhere;
}

.wdm-team-public--remscheid .wdm-team-partner-copy small {
	color: var(--wdm-rdl-muted);
	font-size: .75rem;
	font-weight: 800;
	text-transform: uppercase;
}

.wdm-team-public--remscheid :where(a, button, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wdm-rdl-gold);
	outline-offset: 3px;
}

.wdm-team-public--remscheid :is(
	#wdm-team-overview,
	#wdm-team-standings,
	#wdm-team-results,
	#wdm-team-fixtures,
	#wdm-team-teams,
	#wdm-team-member-area
) {
	scroll-margin-top: 116px;
}

@media (max-width: 1024px) {
	.wdm-rdl-hero {
		gap: 2rem;
		grid-template-columns: minmax(0, 1fr) minmax(270px, .72fr);
		padding-inline: clamp(26px, 5vw, 54px);
	}

	.wdm-rdl-hero__visual {
		width: min(100%, 390px);
	}

	.wdm-rdl-stat-band,
	.wdm-rdl-quick-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wdm-team-public--remscheid .wdm-team-fixture-group > div,
	.wdm-team-public--remscheid .wdm-team-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.wdm-rdl-site-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.wdm-team-public--remscheid .wdm-rdl-site-nav {
		max-width: 100%;
		-ms-overflow-style: none;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		width: 100%;
	}

	.wdm-team-public--remscheid .wdm-rdl-site-nav::-webkit-scrollbar {
		display: none;
		height: 0;
		width: 0;
	}

	.wdm-rdl-hero {
		gap: 1.75rem;
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		min-height: 0;
		padding: 48px 30px 58px;
		text-align: center;
	}

	.wdm-rdl-hero__visual {
		order: 1;
		width: min(64vw, 340px);
	}

	.wdm-rdl-hero__content {
		max-width: 680px;
		order: 2;
	}

	.wdm-team-public--remscheid .wdm-rdl-hero .wdm-rdl-kicker,
	.wdm-rdl-actions {
		justify-content: center;
	}

	.wdm-rdl-hero__copy {
		margin-inline: auto;
	}
}

@media (max-width: 620px) {
	.wdm-team-public.wdm-team-public--remscheid {
		margin: 0 0 1.5rem;
		width: 100%;
	}

	.wdm-team-public--remscheid .wdm-team-navigation-layer {
		padding-inline: 10px;
	}

	.wdm-rdl-site-header {
		min-height: 66px;
		padding: 12px 14px;
	}

	.wdm-rdl-brand {
		min-width: 0;
	}

	.wdm-rdl-brand .wdm-team-organization-logo,
	.wdm-rdl-brand__mark {
		flex-basis: 42px;
		height: 42px;
		width: 42px;
	}

	.wdm-rdl-hero {
		gap: 1.25rem;
		min-height: 0;
		padding: 36px 18px 46px;
	}

	.wdm-rdl-hero__visual {
		width: min(72vw, 270px);
	}

	.wdm-rdl-hero__visual::before {
		box-shadow:
			inset 0 0 26px rgba(247, 244, 234, .04),
			0 0 24px rgba(10, 91, 136, .15);
	}

	.wdm-team-public--remscheid .wdm-rdl-hero h1 {
		font-size: clamp(2rem, 11vw, 3rem);
		hyphens: none;
		line-height: 1.05;
		overflow-wrap: normal;
		text-wrap: balance;
		word-break: normal;
	}

	.wdm-team-public--remscheid .wdm-rdl-hero h1 span {
		white-space: nowrap;
	}

	.wdm-rdl-actions,
	.wdm-team-public--remscheid .wdm-team-fixture-group > div,
	.wdm-team-public--remscheid .wdm-team-news-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.wdm-rdl-stat-band,
	.wdm-rdl-quick-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wdm-rdl-actions {
		display: grid;
	}

	.wdm-rdl-button {
		width: 100%;
	}

	.wdm-rdl-stat-band > div {
		border-bottom: 1px solid rgba(255, 255, 255, .16);
		border-right: 1px solid rgba(255, 255, 255, .16);
		min-height: 86px;
	}

	.wdm-rdl-stat-band > div:nth-child(even) {
		border-right: 0;
	}

	.wdm-rdl-stat-band > div:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.wdm-rdl-quick-links > a {
		min-height: 118px;
		padding: 15px 10px;
	}

	.wdm-rdl-results-ticker {
		grid-template-columns: minmax(0, 1fr);
		padding-bottom: 10px;
		padding-top: 10px;
	}

	.wdm-team-public--remscheid .wdm-team-season-nav,
	.wdm-team-public--remscheid .wdm-team-registration-callout {
		align-items: stretch;
		grid-template-columns: minmax(0, 1fr);
	}

	.wdm-team-public--remscheid .wdm-team-fixture-group > summary {
		align-items: flex-start;
		flex-direction: column;
	}

	.wdm-team-public--remscheid .wdm-team-public__partners {
		grid-template-columns: minmax(0, 1fr);
	}

	.wdm-team-public--remscheid .wdm-team-public__partners ul {
		grid-template-columns: minmax(0, 1fr);
		justify-content: stretch;
	}

	.wdm-team-public--remscheid .wdm-team-public__partners a {
		grid-template-columns: 78px minmax(0, 1fr);
		min-height: 108px;
	}

	.wdm-team-public--remscheid .wdm-team-partner-logo {
		height: 76px;
		width: 78px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .wdm-team-public--remscheid .wdm-rdl-site-header {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wdm-rdl-results-ticker__items {
		animation: none;
	}

	.wdm-rdl-results-ticker__set[aria-hidden="true"] {
		display: none;
	}

	.wdm-rdl-hero__crest > .wdm-team-organization-logo {
		transition: none !important;
	}

	.wdm-rdl-hero:hover .wdm-rdl-hero__crest > .wdm-team-organization-logo {
		transform: none !important;
	}
}

@media (hover: hover) and (pointer: fine) {
	.wdm-rdl-hero__crest > .wdm-team-organization-logo {
		transition: filter 180ms ease, transform 180ms ease;
	}

	.wdm-rdl-hero:hover .wdm-rdl-hero__crest > .wdm-team-organization-logo {
		filter:
			drop-shadow(0 32px 36px rgba(0, 0, 0, .7))
			drop-shadow(0 0 27px rgba(81, 167, 214, .29));
		transform: translateY(-4px) scale(1.012);
	}
}

@media (forced-colors: active) {
	.wdm-team-public--remscheid .wdm-rdl-hero {
		background: Canvas;
		border-color: CanvasText;
	}

	.wdm-rdl-hero::before,
	.wdm-rdl-hero::after,
	.wdm-rdl-hero__visual::before,
	.wdm-rdl-hero__visual::after,
	.wdm-rdl-hero__crest::after {
		display: none;
	}

	.wdm-rdl-hero__crest > .wdm-team-organization-logo {
		filter: none;
	}

	.wdm-team-public--remscheid .wdm-rdl-hero h1 {
		-webkit-text-fill-color: CanvasText;
		background: none;
		color: CanvasText;
	}
}

/* Captain claims stay inside the team-league surface and reuse its theme. */
.wdm-team-theme-root :is(.wdm-team-claim-list, .wdm-team-member-claims ul) {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wdm-team-theme-root :is(.wdm-team-claim-list, .wdm-team-member-claims ul) > li {
	align-items: center;
	background: var(--wdm-theme-surface-alt, #eef4f1);
	border: 1px solid var(--wdm-theme-border, #cfded7);
	border-radius: 8px;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
	padding: 14px;
}

.wdm-team-theme-root :is(.wdm-team-claim-list, .wdm-team-member-claims ul) > li > div {
	display: grid;
	gap: 4px;
}

.wdm-team-theme-root :is(.wdm-team-claim-list, .wdm-team-member-claims ul) form {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.wdm-team-theme-root .wdm-team-claim-start {
	background: var(--wdm-theme-surface, #fff);
	border: 1px solid var(--wdm-theme-border, #cfded7);
	border-left: 5px solid var(--wdm-theme-primary, #17362f);
	border-radius: 8px;
	display: grid;
	gap: 18px;
	margin-bottom: 20px;
	padding: clamp(18px, 3vw, 28px);
}

.wdm-team-theme-root .wdm-team-claim-start__teams {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wdm-team-theme-root .wdm-team-claim-start details {
	background: var(--wdm-theme-surface-alt, #eef4f1);
	border: 1px solid var(--wdm-theme-border, #cfded7);
	border-radius: 8px;
	overflow: hidden;
}

.wdm-team-theme-root .wdm-team-claim-start summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	min-height: 48px;
	padding: 10px 14px;
}

.wdm-team-theme-root .wdm-team-claim-start summary span {
	color: var(--wdm-theme-muted, #5d6b82);
	font-size: .78rem;
}

.wdm-team-theme-root .wdm-team-claim-start details form {
	border-top: 1px solid var(--wdm-theme-border, #cfded7);
	display: grid;
	gap: 12px;
	padding: 14px;
}

.wdm-team-public--remscheid :is(.wdm-team-claim-start, .wdm-team-member-claims) {
	background: var(--wdm-rdl-panel);
	border-color: var(--wdm-rdl-line);
}

.wdm-team-public--remscheid .wdm-team-claim-start details,
.wdm-team-public--remscheid .wdm-team-member-claims li {
	background: var(--wdm-rdl-panel-strong);
	border-color: var(--wdm-rdl-line);
}

@media (max-width: 760px) {
	.wdm-team-theme-root .wdm-team-claim-start__teams,
	.wdm-team-theme-root :is(.wdm-team-claim-list, .wdm-team-member-claims ul) > li {
		grid-template-columns: minmax(0, 1fr);
	}

	.wdm-team-theme-root :is(.wdm-team-claim-list, .wdm-team-member-claims ul) form {
		justify-content: flex-start;
	}
}

/* Safe demo-data controls are deliberately prominent before the deeper setup forms. */
.wdm-team-theme-root .wdm-team-demo-data {
	background: linear-gradient(135deg, var(--wdm-theme-surface, #fff), var(--wdm-theme-surface-alt, #eef4f1));
	border: 1px solid var(--wdm-theme-border, #cfded7);
	border-left: 5px solid var(--wdm-theme-accent, #bd8c2f);
	border-radius: 10px;
	display: grid;
	gap: 16px;
	margin: 22px 0;
	padding: clamp(18px, 3vw, 28px);
}

.wdm-team-theme-root .wdm-team-demo-data p {
	margin: 0;
}

.wdm-team-theme-root .wdm-team-demo-data__counts {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wdm-team-theme-root .wdm-team-demo-data__counts span {
	background: var(--wdm-theme-surface, #fff);
	border: 1px solid var(--wdm-theme-border, #cfded7);
	border-radius: 8px;
	display: grid;
	gap: 2px;
	padding: 12px;
}

.wdm-team-theme-root .wdm-team-demo-data__counts strong {
	font-size: 1.35rem;
}

.wdm-team-theme-root .wdm-team-demo-data__remove {
	align-items: center;
	border-top: 1px solid var(--wdm-theme-border, #cfded7);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	justify-content: space-between;
	padding-top: 16px;
}

.wdm-team-theme-root .wdm-button-danger {
	border-color: #a61b2b;
	color: #a61b2b;
}

@media (max-width: 760px) {
	.wdm-team-theme-root .wdm-team-demo-data__counts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wdm-team-theme-root .wdm-team-demo-data__remove {
		align-items: stretch;
		flex-direction: column;
	}
}

/*
 * Canonical portal navigation.
 *
 * Player and manager contexts deliberately share one geometry. Context changes
 * may alter the available links, but never the position or height of the main
 * navigation. Older module-specific selectors remain for backwards
 * compatibility; these two-class selectors are the final visual authority.
 */
body.wdm-app-page .wdm-app-nav {
	align-items: stretch;
	background: var(--wdm-ui-nav);
	border: 1px solid #2f3a47;
	border-radius: 8px;
	box-shadow: none;
	color: #fff;
	display: grid;
	gap: 0;
	grid-template-areas: "brand context links theme switcher";
	grid-template-columns: 188px minmax(180px, 220px) minmax(280px, 1fr) auto minmax(150px, 220px);
	margin: 0 0 1rem;
	max-width: none;
	min-height: 68px;
	min-width: 0;
	overflow: visible;
	padding: 0;
	width: 100%;
}

body.wdm-app-page .wdm-app-nav__brand {
	align-items: center;
	background: transparent;
	border: 0;
	border-right: 1px solid #303a47;
	color: #fff;
	display: flex;
	gap: .7rem;
	grid-area: brand;
	min-height: 66px;
	min-width: 0;
	padding: .72rem 1rem;
	text-decoration: none;
}

body.wdm-app-page .wdm-app-nav__brand:hover,
body.wdm-app-page .wdm-app-nav__brand:focus-visible {
	background: #1b2430;
	color: #fff;
}

body.wdm-app-page .wdm-app-nav__mark {
	align-items: center;
	background: var(--wdm-ui-brand);
	border-radius: 5px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 34px;
	font-size: 1rem;
	font-weight: 800;
	height: 34px;
	justify-content: center;
	width: 34px;
}

body.wdm-app-page .wdm-app-nav__brand :where(strong, small) {
	color: #fff;
	display: block;
	line-height: 1.2;
}

body.wdm-app-page .wdm-app-nav__brand small {
	color: var(--wdm-ui-nav-muted);
	font-size: .72rem;
}

body.wdm-app-page .wdm-app-nav__context {
	align-content: center;
	background: transparent;
	border: 0;
	border-right: 1px solid #303a47;
	display: grid;
	grid-area: context;
	min-width: 0;
	padding: .58rem 1rem;
}

body.wdm-app-page .wdm-app-nav__context > span {
	color: var(--wdm-ui-nav-muted);
	font-size: .68rem;
	font-weight: 700;
	text-transform: uppercase;
}

body.wdm-app-page .wdm-app-nav__context :where(strong, small) {
	color: #fff;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.wdm-app-page .wdm-app-nav__context strong {
	font-size: .88rem;
}

body.wdm-app-page .wdm-app-nav__context small {
	color: var(--wdm-ui-nav-muted);
	font-size: .73rem;
}

body.wdm-app-page .wdm-app-nav__links {
	align-items: stretch;
	display: flex;
	grid-area: links;
	justify-content: flex-start;
	min-width: 0;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
}

body.wdm-app-page .wdm-app-nav__link {
	align-items: center;
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 0;
	color: #d8dee7;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: .86rem;
	font-weight: 700;
	justify-content: center;
	min-height: 66px;
	padding: .7rem .9rem;
	text-decoration: none;
	white-space: nowrap;
}

body.wdm-app-page .wdm-app-nav__link:hover,
body.wdm-app-page .wdm-app-nav__link:focus-visible {
	background: #1b2430;
	color: #fff;
}

body.wdm-app-page .wdm-app-nav__link.is-active {
	background: #1b2430;
	border-bottom-color: #79c88d;
	color: #fff;
}

body.wdm-app-page .wdm-app-nav__back {
	border-right: 1px solid #303a47;
	font-size: 1.2rem;
	min-width: 46px;
	padding-inline: .7rem;
}

body.wdm-app-page .wdm-app-nav > .wdm-theme-toggle--portal {
	align-self: center;
	background: #202a36;
	border-color: #394655;
	grid-area: theme;
	margin: .45rem;
}

body.wdm-app-page .wdm-app-nav > .wdm-theme-toggle--portal button {
	color: #c8d0da;
}

body.wdm-app-page .wdm-app-nav > .wdm-theme-toggle--portal button:is(:hover, :focus-visible, .is-active) {
	background: #344251;
	color: #fff;
}

body.wdm-app-page .wdm-app-nav__switcher {
	align-self: center;
	grid-area: switcher;
	margin: .5rem;
	min-width: 0;
	position: relative;
}

body.wdm-app-page .wdm-app-nav__switcher > summary {
	background: #202a36;
	border: 1px solid #394655;
	border-radius: 5px;
	color: #fff;
	cursor: pointer;
	font-size: .8rem;
	font-weight: 700;
	list-style: none;
	max-width: 220px;
	overflow: hidden;
	padding: .5rem .7rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.wdm-app-page .wdm-app-nav__switcher-spacer {
	align-self: center;
	background: #202a36;
	border: 1px solid #394655;
	border-radius: 5px;
	color: #d8dee7;
	display: block;
	font-size: .8rem;
	font-weight: 700;
	grid-area: switcher;
	margin: .5rem;
	min-width: 0;
	overflow: hidden;
	padding: .5rem .7rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1180px) {
	body.wdm-app-page .wdm-app-nav {
		grid-template-areas:
			"brand context theme switcher"
			"links links links links";
		grid-template-columns: 188px minmax(180px, 1fr) auto minmax(150px, 210px);
	}

	body.wdm-app-page .wdm-app-nav__links {
		border-top: 1px solid #303a47;
		min-height: 54px;
	}

	body.wdm-app-page .wdm-app-nav__link {
		min-height: 54px;
	}
}

@media (max-width: 900px) {
	body.wdm-app-page .wdm-app-nav {
		grid-template-areas:
			"brand theme"
			"context switcher"
			"links links";
		grid-template-columns: minmax(180px, 1fr) minmax(150px, auto);
	}

	body.wdm-app-page .wdm-app-nav__brand {
		border-bottom: 1px solid #303a47;
	}

	body.wdm-app-page .wdm-app-nav__context {
		border-bottom: 1px solid #303a47;
		border-right: 0;
		min-height: 52px;
	}

	body.wdm-app-page .wdm-app-nav__links {
		border-top: 0;
	}
}

@media (max-width: 640px) {
	body.wdm-app-page .wdm-app-nav {
		grid-template-areas:
			"brand"
			"theme"
			"context"
			"links"
			"switcher";
		grid-template-columns: minmax(0, 1fr);
	}

	body.wdm-app-page .wdm-app-nav__brand {
		border-right: 0;
	}

	body.wdm-app-page .wdm-app-nav > .wdm-theme-toggle--portal {
		justify-self: stretch;
		margin-block: .4rem;
		width: calc(100% - .9rem);
	}

	body.wdm-app-page .wdm-app-nav__link {
		min-height: 52px;
		padding-inline: .78rem;
	}

	body.wdm-app-page .wdm-app-nav__switcher,
	body.wdm-app-page .wdm-app-nav__switcher-spacer {
		margin-top: 0;
	}

	body.wdm-app-page .wdm-app-nav__switcher > summary {
		max-width: none;
		width: 100%;
	}
}

/*
 * Canonical component contract.
 *
 * Organization colors may decorate content, but cannot redefine readable
 * foregrounds, surfaces, controls, or action states. These rules intentionally
 * load after every module-specific style.
 */
body.wdm-app-page.wdm-public-theme-light .wdm-team-theme-root {
	--wdm-theme-text: #172033 !important;
	--wdm-theme-muted: #526174 !important;
	--wdm-theme-surface: #ffffff !important;
	--wdm-theme-surface-alt: #f3f6f8 !important;
	--wdm-theme-border: #cbd4df !important;
	--wdm-ui-ink: #172033 !important;
	--wdm-ui-muted: #526174 !important;
	--wdm-ui-line: #d2d9e2 !important;
	--wdm-ui-line-strong: #aeb9c7 !important;
	--wdm-ui-surface: #ffffff !important;
	--wdm-ui-surface-alt: #f3f6f8 !important;
	--wdm-ui-brand: var(--wdm-ui-action) !important;
	--wdm-ui-brand-strong: var(--wdm-ui-action-hover) !important;
}

body.wdm-app-page.wdm-public-theme-dark .wdm-team-theme-root {
	--wdm-theme-text: #eef3f8 !important;
	--wdm-theme-muted: #b9c3cf !important;
	--wdm-theme-surface: #18212b !important;
	--wdm-theme-surface-alt: #202b37 !important;
	--wdm-theme-border: #465365 !important;
	--wdm-ui-ink: #eef3f8 !important;
	--wdm-ui-muted: #b9c3cf !important;
	--wdm-ui-line: #3d4958 !important;
	--wdm-ui-line-strong: #59677a !important;
	--wdm-ui-surface: #18212b !important;
	--wdm-ui-surface-alt: #202b37 !important;
	--wdm-ui-brand: #79c88d !important;
	--wdm-ui-brand-strong: #9ad8aa !important;
}

body.wdm-app-page :where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) {
	color: var(--wdm-ui-ink);
}

body.wdm-app-page :where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(p, li, dd, dt, label, legend, th, td, summary) {
	color: inherit;
}

body.wdm-app-page :where(
	.wdm-manager-tabs,
	.wdm-view-tabs,
	.wdm-tournament-view-tabs,
	.wdm-team-navigation,
	.wdm-team-public__competitions,
	.wdm-league-tabs,
	[data-wdm-tabs]
) {
	align-items: stretch;
	background: var(--wdm-ui-surface-alt);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	display: flex;
	gap: 2px;
	margin: 1rem 0;
	max-width: 100%;
	min-height: 46px;
	overflow-x: auto;
	padding: 3px;
	scrollbar-width: thin;
	width: 100%;
}

body.wdm-app-page :where(
	.wdm-manager-tabs,
	.wdm-view-tabs,
	.wdm-tournament-view-tabs,
	.wdm-team-navigation,
	.wdm-team-public__competitions,
	.wdm-league-tabs,
	[data-wdm-tabs]
) > :where(a, button) {
	align-items: center;
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	border-radius: 3px;
	color: var(--wdm-ui-muted);
	display: inline-flex;
	flex: 0 0 auto;
	font: 750 .86rem/1.2 var(--wdm-ui-font);
	justify-content: center;
	letter-spacing: 0;
	min-height: 40px;
	padding: .62rem .9rem;
	text-decoration: none;
	white-space: nowrap;
}

body.wdm-app-page :where(
	.wdm-manager-tabs,
	.wdm-view-tabs,
	.wdm-tournament-view-tabs,
	.wdm-team-navigation,
	.wdm-team-public__competitions,
	.wdm-league-tabs,
	[data-wdm-tabs]
) > :where(a, button):is(:hover, :focus-visible) {
	background: var(--wdm-ui-surface);
	color: var(--wdm-ui-ink);
	outline: 0;
}

body.wdm-app-page :where(
	.wdm-manager-tabs,
	.wdm-view-tabs,
	.wdm-tournament-view-tabs,
	.wdm-team-navigation,
	.wdm-team-public__competitions,
	.wdm-league-tabs,
	[data-wdm-tabs]
) > :where(a, button).is-active,
body.wdm-app-page :where(
	.wdm-manager-tabs,
	.wdm-view-tabs,
	.wdm-tournament-view-tabs,
	.wdm-team-navigation,
	.wdm-team-public__competitions,
	.wdm-league-tabs,
	[data-wdm-tabs]
) > :where(a, button)[aria-current="page"],
body.wdm-app-page :where(
	.wdm-manager-tabs,
	.wdm-view-tabs,
	.wdm-tournament-view-tabs,
	.wdm-team-navigation,
	.wdm-team-public__competitions,
	.wdm-league-tabs,
	[data-wdm-tabs]
) > :where(a, button)[aria-selected="true"] {
	background: var(--wdm-ui-surface);
	border-bottom-color: var(--wdm-ui-action);
	color: var(--wdm-ui-ink);
}

body.wdm-app-page [data-wdm-tab-panel][hidden],
body.wdm-app-page .wdm-manager-section[hidden] {
	display: none !important;
}

body.wdm-app-page :where(.wdm-table-wrap, .wdm-ladder__table-region) {
	background: var(--wdm-ui-surface);
	border: 1px solid var(--wdm-ui-line);
	border-radius: 6px;
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scrollbar-gutter: stable;
}

body.wdm-app-page :where(.wdm-table-wrap, .wdm-ladder__table-region).is-horizontally-scrollable:focus-visible {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wdm-ui-focus) 28%, transparent);
	outline: 2px solid var(--wdm-ui-focus);
	outline-offset: 2px;
}

body.wdm-app-page :where(.wdm-public-table, .wdm-ladder__table, .wdm-team-table) {
	background: var(--wdm-ui-surface);
	border-collapse: collapse;
	color: var(--wdm-ui-ink);
	font-variant-numeric: tabular-nums;
	min-width: 100%;
}

body.wdm-app-page :where(.wdm-public-table, .wdm-ladder__table, .wdm-team-table) :where(th, td) {
	background: transparent;
	border-color: var(--wdm-ui-line);
	color: var(--wdm-ui-ink);
	padding: .72rem .75rem;
	vertical-align: middle;
}

body.wdm-app-page :where(.wdm-public-table, .wdm-ladder__table, .wdm-team-table) thead th {
	background: var(--wdm-ui-surface-alt);
	color: var(--wdm-ui-ink);
	font-size: .75rem;
	font-weight: 800;
	text-transform: uppercase;
}

body.wdm-app-page :where(.wdm-public-table, .wdm-ladder__table, .wdm-team-table) tbody tr:nth-child(even) > * {
	background: color-mix(in srgb, var(--wdm-ui-surface-alt) 72%, var(--wdm-ui-surface));
}

body.wdm-app-page :where(.wdm-public-table, .wdm-ladder__table, .wdm-team-table) tbody tr:hover > * {
	background: color-mix(in srgb, var(--wdm-ui-action) 8%, var(--wdm-ui-surface));
}

body.wdm-app-page :where(.wdm-public-table, .wdm-ladder__table, .wdm-team-table) tbody tr[data-wdm-current-rank="1"] > * {
	background: color-mix(in srgb, var(--wdm-ui-action) 13%, var(--wdm-ui-surface));
	color: var(--wdm-ui-ink);
}

body.wdm-app-page :where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), select, textarea) {
	background: var(--wdm-ui-surface);
	border-color: var(--wdm-ui-line-strong);
	color: var(--wdm-ui-ink);
	min-height: var(--wdm-control-height);
}

body.wdm-app-page :where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(input, select, textarea)::placeholder {
	color: var(--wdm-ui-muted);
	opacity: 1;
}

body.wdm-app-page :where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(input, select, textarea):focus-visible {
	border-color: var(--wdm-ui-focus);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wdm-ui-focus) 22%, transparent);
	outline: 0;
}

body.wdm-app-page :where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(input, select, textarea):disabled {
	background: var(--wdm-ui-surface-alt);
	color: var(--wdm-ui-muted);
	cursor: not-allowed;
	opacity: .8;
}

body.wdm-app-page :where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(input[type="checkbox"], input[type="radio"]) {
	accent-color: var(--wdm-ui-action);
}

body.wdm-app-page :where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(.button-primary, .wdm-button-primary) {
	background: var(--wdm-ui-action);
	border-color: var(--wdm-ui-action);
	color: var(--wdm-ui-on-action);
}

body.wdm-app-page :where(
	.wdm-public-view,
	.wdm-manager-portal,
	.wdm-league-setup,
	.wdm-club-mode,
	.wdm-tournament-portal,
	.wdm-team-theme-root
) :where(.button-primary, .wdm-button-primary):is(:hover, :focus-visible) {
	background: var(--wdm-ui-action-hover);
	border-color: var(--wdm-ui-action-hover);
	color: var(--wdm-ui-on-action);
}

body.wdm-app-page :where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wdm-ui-focus);
	outline-offset: 2px;
}

@media (max-width: 900px) {
	body.wdm-app-page .wdm-role-preview {
		grid-template-columns: minmax(0, 1fr);
	}

	body.wdm-app-page .wdm-role-preview__form {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	body.wdm-app-page :where(
		.wdm-manager-tabs,
		.wdm-view-tabs,
		.wdm-tournament-view-tabs,
		.wdm-team-navigation,
		.wdm-team-public__competitions,
		.wdm-league-tabs,
		[data-wdm-tabs]
	) > :where(a, button) {
		min-height: 44px;
		padding-inline: .8rem;
	}

	body.wdm-app-page :where(.wdm-public-table, .wdm-ladder__table, .wdm-team-table) :where(th, td) {
		padding: .64rem .68rem;
	}
}

/* Teamliga organization branding and context-safe team links. */
body.wdm-app-page .wdm-public-view.wdm-team-workspace > .wdm-team-workspace__hero {
	align-items: center;
	background:
		radial-gradient(circle at 18% 4%, color-mix(in srgb, var(--wdm-theme-primary) 22%, transparent), transparent 34%),
		radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--wdm-theme-accent) 14%, transparent), transparent 31%),
		linear-gradient(125deg, #020710 0%, #071827 52%, #030b14 100%);
	border: 1px solid color-mix(in srgb, var(--wdm-theme-primary) 56%, var(--wdm-ui-line));
	border-radius: 16px;
	box-shadow: 0 28px 68px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06);
	display: grid;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	grid-template-columns: minmax(0, 1fr) clamp(170px, 15vw, 220px) auto;
	isolation: isolate;
	min-height: 250px;
	overflow: hidden;
	padding: clamp(1.5rem, 4vw, 3.35rem);
	position: relative;
}

body.wdm-app-page .wdm-public-view.wdm-team-workspace > .wdm-team-workspace__hero::before {
	background:
		linear-gradient(115deg, transparent 38%, rgba(247, 244, 234, .055) 48%, transparent 58%),
		radial-gradient(circle at 58% 115%, color-mix(in srgb, var(--wdm-theme-primary) 13%, transparent), transparent 42%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

body.wdm-app-page .wdm-public-view.wdm-team-workspace > .wdm-team-workspace__hero::after {
	background: linear-gradient(90deg, transparent 2%, var(--wdm-theme-primary) 28%, var(--wdm-theme-accent) 50%, #7fb7d8 72%, transparent 98%);
	bottom: 0;
	box-shadow: 0 0 20px color-mix(in srgb, var(--wdm-theme-accent) 18%, transparent);
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
}

body.wdm-app-page .wdm-team-workspace__hero-brand {
	align-items: center;
	display: grid;
	min-width: 0;
	position: relative;
	z-index: 1;
}

body.wdm-app-page .wdm-team-workspace__hero-emblem {
	align-items: center;
	aspect-ratio: 1;
	display: grid;
	isolation: isolate;
	justify-items: center;
	justify-self: center;
	max-width: 220px;
	position: relative;
	width: clamp(170px, 15vw, 220px);
	z-index: 1;
}

body.wdm-app-page .wdm-team-workspace__hero-emblem::before {
	background:
		radial-gradient(circle, rgba(10, 91, 136, .2) 0 42%, transparent 68%),
		conic-gradient(from 22deg, rgba(201, 31, 44, .18), rgba(217, 190, 122, .2), rgba(10, 91, 136, .22), rgba(201, 31, 44, .18));
	border: 1px solid rgba(217, 190, 122, .3);
	border-radius: 50%;
	box-shadow:
		inset 0 0 32px rgba(247, 244, 234, .05),
		0 0 18px rgba(69, 163, 214, .16);
	content: "";
	inset: 7%;
	position: absolute;
	z-index: -1;
}

body.wdm-app-page .wdm-team-workspace__hero-emblem::after {
	background: radial-gradient(ellipse, rgba(104, 185, 224, .24), rgba(201, 31, 44, .1) 42%, transparent 72%);
	bottom: -3%;
	content: "";
	filter: blur(9px);
	height: 16%;
	position: absolute;
	transform: perspective(180px) rotateX(64deg);
	width: 82%;
	z-index: -1;
}

body.wdm-app-page .wdm-team-workspace__hero-emblem > .wdm-team-organization-logo,
body.wdm-app-page .wdm-team-workspace__hero-emblem > .wdm-team-logo-placeholder {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	filter:
		drop-shadow(0 20px 24px rgba(0, 0, 0, .58))
		drop-shadow(0 0 14px rgba(69, 163, 214, .18));
	height: 92%;
	max-height: none;
	max-width: none;
	object-fit: contain;
	padding: 0;
	width: 92%;
}

body.wdm-app-page .wdm-team-workspace__hero-emblem > .wdm-team-logo-placeholder {
	align-items: center;
	background: linear-gradient(145deg, var(--wdm-theme-primary), #0a5b88);
	border: 1px solid rgba(217, 190, 122, .4);
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-size: clamp(2.4rem, 6vw, 4.5rem);
	font-weight: 950;
	height: 76%;
	justify-content: center;
	width: 76%;
}

body.wdm-app-page .wdm-team-workspace__hero-brand .wdm-kicker {
	color: #d9be7a;
	letter-spacing: .12em;
	margin-bottom: .35rem;
	text-transform: uppercase;
}

body.wdm-app-page .wdm-team-workspace__hero-brand h2 {
	color: #fff;
	font-size: clamp(2.1rem, 4.7vw, 4.5rem);
	letter-spacing: -.045em;
	line-height: .96;
	margin: 0;
	max-width: 850px;
	text-shadow: 0 14px 32px rgba(0, 0, 0, .44);
	text-wrap: balance;
}

body.wdm-app-page .wdm-team-workspace__hero-copy {
	color: #b7c2cc;
	font-size: clamp(.9rem, 1.35vw, 1.05rem);
	margin: .75rem 0 0;
	max-width: 680px;
}

body.wdm-app-page .wdm-team-workspace__hero-actions {
	align-items: flex-end;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	gap: .75rem;
	position: relative;
	z-index: 1;
}

body.wdm-app-page .wdm-team-workspace__hero-actions .wdm-badge {
	background: linear-gradient(145deg, rgba(12, 32, 48, .92), rgba(6, 20, 33, .86));
	border-color: rgba(217, 190, 122, .36);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
	color: #f7f4ea;
	font-size: .82rem;
	padding: .55rem .8rem;
}

body.wdm-app-page .wdm-public-view.wdm-team-workspace .wdm-team-workspace__public-link.button {
	background: linear-gradient(135deg, color-mix(in srgb, var(--wdm-theme-primary) 88%, #fff), color-mix(in srgb, var(--wdm-theme-primary) 72%, #030b14));
	border-color: color-mix(in srgb, var(--wdm-theme-primary) 58%, #f7f4ea);
	box-shadow: 0 14px 30px color-mix(in srgb, var(--wdm-theme-primary) 28%, transparent), inset 0 1px 0 rgba(255, 255, 255, .16);
	color: var(--wdm-theme-on-primary, #fff);
	font-weight: 850;
	min-height: 46px;
	padding: .72rem 1rem;
	text-decoration: none;
}

body.wdm-app-page .wdm-public-view.wdm-team-workspace .wdm-team-workspace__public-link.button:is(:hover, :focus-visible) {
	background: color-mix(in srgb, var(--wdm-theme-primary) 84%, #fff);
	border-color: #d9be7a;
	color: var(--wdm-theme-on-primary, #fff);
}

body.wdm-app-page .wdm-public-view.wdm-team-workspace.wdm-theme-remscheid > .wdm-team-workspace__hero {
	background:
		radial-gradient(circle at 81% 20%, rgba(10, 91, 136, .26), transparent 31%),
		radial-gradient(circle at 69% 92%, rgba(201, 31, 44, .2), transparent 34%),
		radial-gradient(circle at 7% 0%, rgba(201, 31, 44, .12), transparent 32%),
		linear-gradient(125deg, #02070f 0%, #071827 52%, #030b14 100%);
	border-color: rgba(86, 114, 138, .72);
	box-shadow:
		0 30px 76px rgba(0, 0, 0, .42),
		0 0 36px rgba(10, 91, 136, .1),
		inset 0 1px 0 rgba(247, 244, 234, .08);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	body.wdm-app-page .wdm-theme-remscheid .wdm-team-workspace__hero-brand h2 {
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background: linear-gradient(180deg, #fff 5%, #f7f4ea 45%, #aebfce 100%);
		background-clip: text;
	}
}

@media (hover: hover) and (pointer: fine) {
	body.wdm-app-page .wdm-team-workspace__hero-emblem > .wdm-team-organization-logo,
	body.wdm-app-page .wdm-public-view.wdm-team-workspace .wdm-team-workspace__public-link.button {
		transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
	}

	body.wdm-app-page .wdm-team-workspace__hero:hover .wdm-team-workspace__hero-emblem > .wdm-team-organization-logo {
		filter:
			drop-shadow(0 23px 27px rgba(0, 0, 0, .62))
			drop-shadow(0 0 18px rgba(69, 163, 214, .25));
		transform: translateY(-3px);
	}

	body.wdm-app-page .wdm-public-view.wdm-team-workspace .wdm-team-workspace__public-link.button:hover {
		transform: translateY(-2px);
	}
}

body.wdm-app-page .wdm-team-context-notice {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .8rem 1rem;
	justify-content: space-between;
}

body.wdm-app-page .wdm-team-context-notice p {
	margin: 0;
}

@media (max-width: 900px) {
	body.wdm-app-page .wdm-public-view.wdm-team-workspace > .wdm-team-workspace__hero {
		grid-template-columns: minmax(0, 1fr) 130px;
		min-height: 230px;
	}

	body.wdm-app-page .wdm-team-workspace__hero-emblem {
		width: 130px;
	}

	body.wdm-app-page .wdm-team-workspace__hero-actions {
		align-items: center;
		flex-direction: row;
		grid-column: 1 / -1;
		justify-content: flex-end;
	}

	body.wdm-app-page .wdm-team-workspace__hero-brand h2 {
		font-size: clamp(1.75rem, 6vw, 3rem);
		hyphens: none;
		overflow-wrap: normal;
		word-break: normal;
	}
}

@media (max-width: 560px) {
	body.wdm-app-page .wdm-public-view.wdm-team-workspace > .wdm-team-workspace__hero {
		gap: 1rem;
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		min-height: 0;
		padding: 1.35rem;
		text-align: center;
	}

	body.wdm-app-page .wdm-team-workspace__hero-brand {
		order: 2;
		width: 100%;
	}

	body.wdm-app-page .wdm-team-workspace__hero-brand .wdm-kicker {
		justify-content: center;
	}

	body.wdm-app-page .wdm-team-workspace__hero-emblem {
		order: 1;
		width: 112px;
	}

	body.wdm-app-page .wdm-team-workspace__hero-copy {
		font-size: .86rem;
		margin-inline: auto;
	}

	body.wdm-app-page .wdm-team-workspace__hero-actions {
		align-items: stretch;
		flex-direction: column;
		grid-column: auto;
		order: 3;
		width: 100%;
	}

	body.wdm-app-page .wdm-team-workspace__hero-actions .wdm-badge {
		align-self: center;
	}

	body.wdm-app-page .wdm-public-view.wdm-team-workspace .wdm-team-workspace__public-link.button {
		justify-content: center;
		text-align: center;
		width: 100%;
	}

	body.wdm-app-page .wdm-team-workspace__hero-emblem::before {
		box-shadow: inset 0 0 20px rgba(247, 244, 234, .04), 0 0 12px rgba(69, 163, 214, .12);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.wdm-app-page .wdm-team-workspace__hero-emblem > .wdm-team-organization-logo,
	body.wdm-app-page .wdm-public-view.wdm-team-workspace .wdm-team-workspace__public-link.button {
		transition: none !important;
	}

	body.wdm-app-page .wdm-team-workspace__hero:hover .wdm-team-workspace__hero-emblem > .wdm-team-organization-logo,
	body.wdm-app-page .wdm-public-view.wdm-team-workspace .wdm-team-workspace__public-link.button:hover {
		transform: none !important;
	}
}

@media (forced-colors: active) {
	body.wdm-app-page .wdm-public-view.wdm-team-workspace > .wdm-team-workspace__hero {
		background: Canvas;
		border-color: CanvasText;
		box-shadow: none;
	}

	body.wdm-app-page .wdm-team-workspace__hero-emblem::before,
	body.wdm-app-page .wdm-team-workspace__hero-emblem::after {
		display: none;
	}
}
