/* TradeButtons Market Pages – shared visual system for Gainers + Coin Intelligence. */
:root {
	--tbmp-bg: #030712;
	--tbmp-surface: linear-gradient(180deg, rgba(17, 34, 55, .50), rgba(14, 28, 46, .50));
	--tbmp-surface-strong: linear-gradient(180deg, rgba(17, 34, 55, .72), rgba(10, 22, 38, .68));
	--tbmp-surface-soft: rgba(2, 8, 23, .28);
	--tbmp-border: rgba(148, 163, 184, .16);
	--tbmp-border-strong: rgba(45, 212, 191, .30);
	--tbmp-text: #e2e8f0;
	--tbmp-muted: #8fa4ba;
	--tbmp-subtle: #617891;
	--tbmp-cyan: #2dd4bf;
	--tbmp-blue: #38bdf8;
	--tbmp-green: #34d399;
	--tbmp-red: #fb7185;
	--tbmp-radius: 14px;
	--tbmp-shadow: 0 12px 28px rgba(2, 8, 23, .28);
}

body.page-id-126,
body.page-id-366 {
	background-color: var(--tbmp-bg);
}

body.page-id-126 main.site-main,
body.page-id-366 main.site-main {
	background: transparent !important;
}

body.page-id-126 .wp-block-post-content,
body.page-id-366 .wp-block-post-content {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0;
}

.tb-market-page {
	box-sizing: border-box;
	width: min(1760px, calc(100% - 32px));
	max-width: none !important;
	margin: 0 auto !important;
	/* The theme's generic direct-child .alignwide rule centers with a
	 * margin/translate pair. This component already centers itself with
	 * auto margins, so retaining translateX(-50%) shifts wide pages far
	 * beyond the left viewport edge. */
	transform: none !important;
	padding: 24px 0 56px;
	background: transparent !important;
	color: var(--tbmp-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Keep the global TradeButtons background visible edge-to-edge. */
body.page-id-126 .tb-market-page,
body.page-id-366 .tb-market-page,
body.page-id-126 .wp-block-post-content,
body.page-id-366 .wp-block-post-content {
	background-color: transparent !important;
	background-image: none !important;
}

body.tb-width-wide .tb-market-page {
	width: calc(100% - 30px);
}

/* The width-mode layer is injected after the component stylesheet and uses
 * a more specific direct-child .alignwide selector. Reassert the component's
 * own centering for exactly these two market pages in both width modes. */
body.page-id-126 .wp-block-post-content > .tb-market-page,
body.page-id-366 .wp-block-post-content > .tb-market-page {
	margin-left: auto !important;
	margin-right: auto !important;
	transform: none !important;
}

.tb-market-page *,
.tb-market-page *::before,
.tb-market-page *::after {
	box-sizing: border-box;
}

.tb-market-hero,
.tb-market-module,
.tb-market-guide {
	position: relative;
	overflow: hidden;
	background: var(--tbmp-surface);
	border: 1px solid var(--tbmp-border);
	border-radius: var(--tbmp-radius);
	box-shadow: var(--tbmp-shadow);
	backdrop-filter: blur(10px);
}

.tb-market-hero::before,
.tb-market-module::before,
.tb-market-guide::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(45, 212, 191, .48), rgba(56, 189, 248, .25), transparent);
	pointer-events: none;
}

.tb-market-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 108px;
	gap: 20px;
	align-items: center;
	width: 100%;
	max-width: none !important;
	min-height: 0;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: clamp(20px, 2vw, 28px);
	background:
		radial-gradient(620px 260px at 82% 12%, rgba(45, 212, 191, .11), transparent 68%),
		radial-gradient(540px 250px at 3% 100%, rgba(59, 130, 246, .12), transparent 70%),
		var(--tbmp-surface-strong);
}

.tb-market-eyebrow,
.tb-module-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	color: var(--tbmp-cyan);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .15em;
	line-height: 1.2;
	text-transform: uppercase;
}

.tb-market-eyebrow::before,
.tb-module-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--tbmp-cyan), var(--tbmp-blue));
	box-shadow: 0 0 14px rgba(45, 212, 191, .45);
}

.tb-market-hero h1 {
	max-width: 820px;
	margin: 0;
	color: #f8fbff;
	font-size: clamp(30px, 2.6vw, 44px);
	font-weight: 780;
	letter-spacing: -.04em;
	line-height: 1.02;
}

.tb-market-hero h1 span {
	color: var(--tbmp-cyan);
}

.tb-market-lead {
	max-width: 1220px;
	margin: 10px 0 0;
	color: #a9bbcd;
	font-size: clamp(14px, 1.05vw, 16px);
	line-height: 1.55;
}

.tb-market-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.tb-market-tour,
.tb-market-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
}

.tb-market-tour {
	border: 1px solid rgba(45, 212, 191, .42);
	background: linear-gradient(135deg, rgba(45, 212, 191, .18), rgba(56, 189, 248, .12));
	color: #b9fff4 !important;
	transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.tb-market-tour:hover {
	transform: translateY(-1px);
	border-color: rgba(45, 212, 191, .72);
	background: linear-gradient(135deg, rgba(45, 212, 191, .25), rgba(56, 189, 248, .18));
}

.tb-market-chip {
	border: 1px solid var(--tbmp-border);
	background: rgba(2, 8, 23, .28);
	color: #9fb4c9;
}

.tb-market-hero-visual {
	position: relative;
	display: grid;
	place-items: center;
	width: 100px;
	aspect-ratio: 1;
}

.tb-market-orbit {
	position: absolute;
	inset: 7%;
	border: 1px solid rgba(45, 212, 191, .24);
	border-radius: 50%;
	box-shadow: inset 0 0 42px rgba(45, 212, 191, .06), 0 0 35px rgba(14, 165, 233, .05);
}

.tb-market-orbit::before,
.tb-market-orbit::after {
	content: "";
	position: absolute;
	border-radius: 50%;
}

.tb-market-orbit::before {
	inset: 18%;
	border: 1px dashed rgba(56, 189, 248, .23);
}

.tb-market-orbit::after {
	width: 10px;
	height: 10px;
	top: 8%;
	right: 17%;
	background: var(--tbmp-cyan);
	box-shadow: 0 0 20px rgba(45, 212, 191, .85);
}

.tb-market-visual-mark {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(45, 212, 191, .38);
	border-radius: 20px;
	background: linear-gradient(145deg, rgba(45, 212, 191, .15), rgba(56, 189, 248, .08));
	color: var(--tbmp-cyan);
	font-size: 24px;
	font-weight: 800;
	box-shadow: 0 16px 36px rgba(2, 8, 23, .45);
}

.tb-market-overview {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	max-width: none !important;
	margin: 12px 0 20px !important;
}

.tb-market-feature {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 14px 16px;
	background: var(--tbmp-surface);
	border: 1px solid var(--tbmp-border);
	border-radius: 12px;
	box-shadow: var(--tbmp-shadow);
}

.tb-market-feature-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(45, 212, 191, .25);
	border-radius: 12px;
	background: rgba(45, 212, 191, .08);
	color: var(--tbmp-cyan);
	font-size: 18px;
	font-weight: 800;
}

.tb-market-feature h2,
.tb-market-feature h3 {
	margin: 1px 0 5px;
	color: #eaf2fb;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.25;
}

.tb-market-feature p {
	margin: 0;
	color: var(--tbmp-muted);
	font-size: 12px;
	line-height: 1.55;
}

.tb-market-module {
	width: 100%;
	max-width: none !important;
	margin: 0 0 18px !important;
	padding: clamp(18px, 2vw, 26px);
}

.tb-market-module > * {
	max-width: none !important;
}

.tb-module-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 20px;
	padding: 0 0 18px;
	border-bottom: 1px solid var(--tbmp-border);
}

.tb-module-heading h2 {
	margin: 0;
	color: #f1f7fd;
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 760;
	letter-spacing: -.025em;
	line-height: 1.15;
}

.tb-module-heading p {
	max-width: 760px;
	margin: 7px 0 0;
	color: var(--tbmp-muted);
	font-size: 13px;
	line-height: 1.6;
}

.tb-module-badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 11px;
	border: 1px solid rgba(45, 212, 191, .28);
	border-radius: 999px;
	background: rgba(45, 212, 191, .07);
	color: #8df6e4;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tb-module-badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tbmp-cyan);
	box-shadow: 0 0 10px rgba(45, 212, 191, .8);
}

/* Gainers: turn both legacy tools into one coherent set of modules. */
.page-id-126 .ak-crypto-scanner {
	padding: 0;
	overflow: visible;
	background: transparent;
	box-shadow: none;
	color: var(--tbmp-text);
	font-family: inherit;
}

.page-id-126 .ak-crypto-scanner-controls,
.page-id-126 .akclg-filters {
	display: grid;
	grid-template-columns: repeat(5, minmax(130px, 1fr));
	gap: 12px;
	align-items: end;
	margin: 0 0 16px;
	padding: 16px;
	overflow: visible;
	background: rgba(2, 8, 23, .27);
	border: 1px solid var(--tbmp-border);
	border-radius: 12px;
}

.page-id-126 .ak-control-group {
	min-width: 0;
	gap: 7px;
}

.page-id-126 .ak-control-group.ak-control-search {
	min-width: 0;
}

.page-id-126 .ak-control-group.ak-control-checks {
	grid-column: span 2;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 8px 12px;
	border: 1px solid var(--tbmp-border);
	border-radius: 10px;
	background: rgba(17, 34, 55, .30);
}

.page-id-126 .ak-control-group.ak-control-reset {
	margin-left: 0;
}

.page-id-126 .ak-control-group label,
.page-id-126 .akclg-filters label {
	color: #8fa4ba;
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .06em;
	line-height: 1.25;
	text-transform: uppercase;
}

.page-id-126 .akclg-filters label {
	display: grid;
	gap: 7px;
	align-items: start;
}

.page-id-126 .ak-control-group select,
.page-id-126 .ak-control-group input[type="number"],
.page-id-126 .ak-control-group input[type="text"],
.page-id-126 .akclg-filters input,
.page-id-126 .akclg-filters select {
	width: 100%;
	min-width: 0;
	height: 39px;
	padding: 8px 11px;
	border: 1px solid var(--tbmp-border);
	border-radius: 9px;
	outline: none;
	background: rgba(2, 8, 23, .48);
	color: #dce8f4;
	font: 500 12px/1.2 inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.page-id-126 .ak-control-group select:focus,
.page-id-126 .ak-control-group input:focus,
.page-id-126 .akclg-filters input:focus,
.page-id-126 .akclg-filters select:focus {
	border-color: rgba(45, 212, 191, .48);
	box-shadow: 0 0 0 3px rgba(45, 212, 191, .08);
}

.page-id-126 .ak-reset-button {
	width: 100%;
	height: 39px;
	padding: 8px 12px;
	border-color: rgba(148, 163, 184, .20);
	border-radius: 9px;
	background: rgba(148, 163, 184, .06);
	color: #c8d6e5;
	font-weight: 700;
}

.page-id-126 .ak-crypto-scanner-table-wrapper,
.page-id-126 .akclg-table-wrapper {
	margin: 0;
	overflow-x: auto;
	border: 1px solid var(--tbmp-border);
	border-radius: 12px;
	background: rgba(2, 8, 23, .28);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .015);
}

.page-id-126 table.ak-crypto-scanner-table,
.page-id-126 table.akclg-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: transparent;
	color: #d8e4f0;
	font-size: 12px;
}

.page-id-126 table.ak-crypto-scanner-table thead,
.page-id-126 table.akclg-table thead {
	background: rgba(17, 34, 55, .72);
}

.page-id-126 table.ak-crypto-scanner-table th,
.page-id-126 table.ak-crypto-scanner-table td,
.page-id-126 table.akclg-table th,
.page-id-126 table.akclg-table td {
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid rgba(148, 163, 184, .10);
	white-space: nowrap;
	text-align: left;
}

.page-id-126 table.ak-crypto-scanner-table th,
.page-id-126 table.akclg-table th {
	color: #8fa4ba;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.page-id-126 table.ak-crypto-scanner-table tbody tr:nth-child(odd),
.page-id-126 table.ak-crypto-scanner-table tbody tr:nth-child(even),
.page-id-126 table.akclg-table tbody tr {
	background: transparent;
}

.page-id-126 table.ak-crypto-scanner-table tbody tr:nth-child(even),
.page-id-126 table.akclg-table tbody tr:nth-child(even) {
	background: rgba(17, 34, 55, .22);
}

.page-id-126 table.ak-crypto-scanner-table tbody tr:hover,
.page-id-126 table.akclg-table tbody tr:hover {
	background: rgba(45, 212, 191, .07);
}

.page-id-126 .ak-coin-name {
	color: #edf5fc;
	font-weight: 700;
}

.page-id-126 .ak-coin-symbol,
.page-id-126 .ak-crypto-scanner-footnote {
	color: var(--tbmp-subtle);
}

.page-id-126 .ak-positive,
.page-id-126 .akclg-change-pos,
.page-id-126 .akclg-score-strong {
	color: var(--tbmp-green);
}

.page-id-126 .ak-negative,
.page-id-126 .akclg-change-neg {
	color: var(--tbmp-red);
}

.page-id-126 .akclg-badge {
	padding: 3px 7px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.page-id-126 .akclg-badge-trending {
	border-color: rgba(251, 191, 36, .26);
	background: rgba(251, 191, 36, .10);
	color: #fbbf24;
}

.page-id-126 .akclg-badge-new {
	border-color: rgba(52, 211, 153, .25);
	background: rgba(52, 211, 153, .09);
	color: #6ee7b7;
}

.page-id-126 .akclg-badge-lowcap {
	border-color: rgba(56, 189, 248, .25);
	background: rgba(56, 189, 248, .09);
	color: #7dd3fc;
}

.page-id-126 .tb-market-module--gems > p,
.page-id-126 .tb-market-module--gems > .wp-block-shortcode > p {
	margin: 12px 2px 0 !important;
	color: var(--tbmp-subtle);
	font-size: 11px !important;
	line-height: 1.55;
}

/* Details & Liquidations: preserve all data behavior, replace the detached-tool look. */
.page-id-366 .tb-details-page .tb-market-module--coin {
	padding: clamp(18px, 2vw, 26px);
}

.page-id-366 .tbcp-coin-page.alignwide,
.page-id-366 .tb-details-page .tbcp-coin-page {
	width: 100%;
	max-width: none;
	margin: 0;
	transform: none;
	background: transparent;
	color: var(--tbmp-text);
}

.page-id-366 .tb-details-page .tbcp-container {
	padding: 0;
	background: transparent;
}

.page-id-366 .tb-details-page .tbcp-hero,
.page-id-366 .tb-details-page .tbcp-tabs-section {
	background: var(--tbmp-surface);
	border: 1px solid var(--tbmp-border);
	border-radius: 12px;
	box-shadow: var(--tbmp-shadow);
}

.page-id-366 .tb-details-page .tbcp-hero {
	padding: 22px;
}

.page-id-366 .tb-details-page .tbcp-stat-card {
	background: rgba(2, 8, 23, .28);
	border-color: rgba(148, 163, 184, .12);
	border-radius: 10px;
}

.page-id-366 .tb-details-page .tbcp-stat-card:hover {
	background: rgba(45, 212, 191, .06);
	border-color: rgba(45, 212, 191, .23);
}

.page-id-366 .tb-details-page .tbcp-coin-name,
.page-id-366 .tb-details-page .tbcp-liq-header h2,
.page-id-366 .tb-details-page .tbcp-liq-panel-header h3 {
	color: #edf5fc;
}

.page-id-366 .tb-details-page .tbcp-coin-symbol,
.page-id-366 .tb-details-page .tbcp-stat-label {
	color: var(--tbmp-muted);
}

.page-id-366 .tb-details-page .tbcp-liq-section {
	margin-top: 18px;
	padding: 20px;
	background: rgba(2, 8, 23, .16);
	border: 1px solid var(--tbmp-border);
	border-radius: 12px;
}

.page-id-366 .tb-details-page .tbcp-liq-panel {
	background: var(--tbmp-surface);
	border-color: var(--tbmp-border);
	box-shadow: var(--tbmp-shadow);
}

.page-id-366 .tb-details-page .tbcp-tabs-section {
	margin-top: 18px;
	padding: 18px;
}

.page-id-366 .tb-details-page .tbcp-tabs {
	padding-bottom: 12px;
	border-bottom-color: var(--tbmp-border);
}

.page-id-366 .tb-details-page .tbcp-tab-btn.active {
	color: var(--tbmp-cyan);
	border-color: var(--tbmp-cyan);
}

.page-id-366 .tb-details-page .tbcp-markets-table thead {
	background: rgba(2, 8, 23, .34);
}

.page-id-366 .tb-details-page .tbcp-markets-table th,
.page-id-366 .tb-details-page .tbcp-markets-table td {
	border-bottom-color: rgba(148, 163, 184, .10);
}

.tb-market-guide {
	margin-top: 18px;
	padding: clamp(20px, 2.5vw, 30px);
}

.tb-market-guide-title {
	margin: 0 0 18px;
	color: #f1f7fd;
	font-size: 20px;
	font-weight: 760;
	letter-spacing: -.02em;
}

.tb-market-guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.tb-market-guide-item {
	padding: 16px;
	border: 1px solid var(--tbmp-border);
	border-radius: 11px;
	background: rgba(2, 8, 23, .25);
}

.tb-market-guide-number {
	display: inline-flex;
	margin-bottom: 9px;
	color: var(--tbmp-cyan);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .12em;
}

.tb-market-guide-item h3 {
	margin: 0 0 6px;
	color: #dfeaf5;
	font-size: 13px;
	font-weight: 750;
}

.tb-market-guide-item p {
	margin: 0;
	color: var(--tbmp-muted);
	font-size: 12px;
	line-height: 1.55;
}

@media (max-width: 1180px) {
	.page-id-126 .ak-crypto-scanner-controls,
	.page-id-126 .akclg-filters {
		grid-template-columns: repeat(3, minmax(140px, 1fr));
	}
	.page-id-126 .ak-control-group.ak-control-checks {
		grid-column: span 2;
	}
}

@media (max-width: 820px) {
	.tb-market-page {
		width: calc(100% - 20px);
		padding: 20px 0 42px;
	}
	.tb-market-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.tb-market-hero-visual {
		display: none;
	}
	.tb-market-overview,
	.tb-market-guide-grid {
		grid-template-columns: 1fr;
	}
	.tb-module-heading {
		flex-direction: column;
	}
	.page-id-126 .ak-crypto-scanner-controls,
	.page-id-126 .akclg-filters {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.page-id-126 .ak-control-group.ak-control-checks {
		grid-column: 1 / -1;
	}
	.page-id-366 .tb-details-page .tbcp-liq-section {
		padding: 14px;
	}
}

@media (max-width: 560px) {
	.tb-market-hero,
	.tb-market-module,
	.tb-market-guide {
		border-radius: 12px;
	}
	.tb-market-hero {
		padding: 24px 20px;
	}
	.tb-market-hero h1 {
		font-size: 34px;
	}
	.page-id-126 .ak-crypto-scanner-controls,
	.page-id-126 .akclg-filters {
		grid-template-columns: 1fr;
		padding: 12px;
	}
	.page-id-126 .ak-control-group.ak-control-checks {
		grid-column: auto;
		align-items: flex-start;
		flex-direction: column;
	}
	.page-id-366 .tb-details-page .tbcp-hero {
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tb-market-tour {
		transition: none;
	}
}

/* ===== Uebersichtskarten als Sprungmarken (Ati 20.09.2026: "anklickbar machen,
   dass man nach unten springt, sonst muss man ewig scrollen") ===== */
a.tb-market-feature--jump {
	position: relative;
	padding-right: 34px;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

a.tb-market-feature--jump:hover,
a.tb-market-feature--jump:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(45, 212, 191, .45);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .38);
}

a.tb-market-feature--jump:focus-visible {
	outline: 2px solid var(--tbmp-cyan);
	outline-offset: 2px;
}

a.tb-market-feature--jump:hover .tb-market-feature-icon,
a.tb-market-feature--jump:focus-visible .tb-market-feature-icon {
	border-color: rgba(45, 212, 191, .5);
	background: rgba(45, 212, 191, .16);
}

a.tb-market-feature--jump:hover h2 {
	color: #fff;
}

.tb-market-feature-jump {
	position: absolute;
	top: 12px;
	right: 12px;
	color: var(--tbmp-cyan);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	opacity: .6;
	transition: transform .18s ease, opacity .18s ease;
}

a.tb-market-feature--jump:hover .tb-market-feature-jump,
a.tb-market-feature--jump:focus-visible .tb-market-feature-jump {
	opacity: 1;
	transform: translateY(3px);
}

/* Landepunkt: etwas Luft nach oben und ein kurzes Aufleuchten, damit klar ist,
   wo der Sprung geendet hat. */
#tb-gainers-scanner,
#tb-gainers-radar {
	scroll-margin-top: 20px;
}

.tb-market-module:target {
	animation: tbmp-sprungziel 1.8s ease-out 1;
}

@keyframes tbmp-sprungziel {
	0%, 100% { box-shadow: var(--tbmp-shadow); }
	18% { box-shadow: 0 0 0 2px rgba(45, 212, 191, .55), 0 18px 44px rgba(0, 0, 0, .45); }
}

@media (prefers-reduced-motion: reduce) {
	a.tb-market-feature--jump,
	.tb-market-feature-jump { transition: none; }
	a.tb-market-feature--jump:hover,
	a.tb-market-feature--jump:focus-visible { transform: none; }
	.tb-market-module:target { animation: none; }
}

/* ===== Schalter + "Filter loeschen" in der Kopfzeile (Ati 20.09.2026:
   "die drei Felder neben die Ueberschrift des Blocks und alle gleich hoch").
   Der Umzug selbst passiert in market-pages.js. ===== */
.tb-module-heading {
	flex-wrap: wrap;
}

.tb-module-heading > div:first-child {
	flex: 1 1 320px;
	min-width: 0;
}

.tb-module-tools {
	display: flex;
	/* nicht schrumpfen: sonst quetscht der Textblock die drei Pillen untereinander */
	flex: 0 0 auto;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-left: auto;
}

.tb-module-toggle,
.tb-module-tools .tb-module-toggle-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 8px;
	/* GEMESSEN 20.09.2026: das Theme setzt inline "label { width: 100% }" -
	   ohne eigene Breite werden die Pillen so breit wie die Zeile und brechen um. */
	width: auto;
	max-width: none;
	height: 36px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--tbmp-border);
	border-radius: 999px;
	background: rgba(2, 8, 23, .48);
	color: #c8d6e5;
	font: 750 10px/1 inherit;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.tb-module-toggle:hover,
.tb-module-tools .tb-module-toggle-button:hover {
	border-color: rgba(45, 212, 191, .42);
	background: rgba(45, 212, 191, .10);
	color: #e6f7f3;
}

.tb-module-toggle input[type="checkbox"] {
	width: 13px;
	height: 13px;
	margin: 0;
	transform: none;
	accent-color: #2dd4bf;
	cursor: pointer;
}

.tb-module-toggle:has(input:checked) {
	border-color: rgba(45, 212, 191, .48);
	background: rgba(45, 212, 191, .13);
	color: #9ff3e4;
}

.tb-module-toggle:focus-within {
	outline: 2px solid rgba(45, 212, 191, .45);
	outline-offset: 2px;
}

/* Die Seitenregel fuer den Reset-Knopf im Filterkasten (100 % breit, 39 px)
   gilt hier nicht mehr - in der Kopfzeile zaehlt die Pillenform. */
.page-id-126 .tb-module-tools .tb-module-toggle-button {
	width: auto;
	height: 36px;
	border-color: var(--tbmp-border);
	border-radius: 999px;
	font-weight: 750;
}

@media (max-width: 900px) {
	.tb-module-tools {
		flex: 1 1 100%;
		width: 100%;
		margin-left: 0;
		justify-content: flex-start;
	}
	.tb-module-toggle,
	.tb-module-tools .tb-module-toggle-button,
	.page-id-126 .tb-module-tools .tb-module-toggle-button {
		flex: 1 1 auto;
		height: 38px;
	}
}
