/* Influencer-Datenbank – Frontend
   Farben und Schriften kommen aus dem Theme. Hier geht es nur um Raster,
   Abstände und gleiche Kanten. */

/* Global definiert – sonst greifen Abstände und Rahmen dort nicht, wo kein
   Wrapper des Plugins existiert (etwa im Registrierungsformular). */
:root {
	--infldb-border: rgba( 0, 0, 0, 0.16 );
	--infldb-muted: rgba( 0, 0, 0, 0.55 );
	--infldb-surface: rgba( 0, 0, 0, 0.025 );
	--infldb-radius: 6px;
	--infldb-gap: 1.5rem;
}

/* ------------------------------------------------------------- Grundelemente */

.infldb-notice {
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	border-left: 3px solid currentColor;
	background: rgba( 0, 0, 0, 0.04 );
	border-radius: 0 4px 4px 0;
}

.infldb-notice p:last-child { margin-bottom: 0; }
.infldb-notice--error { border-color: #b32d2e; }
.infldb-notice--success { border-color: #1d7a3e; }
.infldb-notice--locked { border-color: currentColor; }

.infldb-button {
	display: inline-block;
	padding: 0.7rem 1.4rem;
	border: 1px solid transparent;
	border-radius: 4px;
	background: #1a1a1a;
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.infldb-button:hover { opacity: 0.85; color: #fff; }

.infldb-button--ghost {
	background: transparent;
	color: inherit;
	border-color: currentColor;
}

.infldb-button--ghost:hover { color: inherit; }
.infldb-button--danger { background: #b32d2e; }

.infldb-hint {
	display: block;
	margin: 0.4rem 0 0;
	font-size: 0.85rem;
	color: var( --infldb-muted );
}

/* Honeypot – für Menschen unsichtbar, für Bots ausfüllbar. */
.infldb-hp { position: absolute !important; left: -9999px; }

/* ------------------------------------------------------------------ Formulare */

.infldb-form__grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 240px, 1fr ) );
	gap: 1.25rem 1.5rem;
	margin-bottom: 1.5rem;
	max-width: 900px;
}

.infldb-field { margin: 0; }
.infldb-field--full { grid-column: 1 / -1; }

.infldb-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.3;
}

.infldb-field abbr {
	color: #b32d2e;
	text-decoration: none;
	border: 0;
}

.infldb-field input,
.infldb-field select,
.infldb-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6rem 0.7rem;
	border: 1px solid rgba( 0, 0, 0, 0.16 );
	border-radius: 4px;
	background: #fff;
	font: inherit;
	font-size: 0.95rem;
	line-height: 1.4;
	height: auto;
	margin: 0;
}

.infldb-field input:focus,
.infldb-field select:focus,
.infldb-field textarea:focus {
	outline: 2px solid rgba( 0, 0, 0, 0.35 );
	outline-offset: 1px;
}

.infldb-field textarea { resize: vertical; min-height: 8rem; }

.infldb-consent { margin: 0 0 1.25rem; }

.infldb-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-weight: 400;
	font-size: 0.92rem;
	line-height: 1.4;
}

.infldb-checkbox input { width: auto; margin: 0.2rem 0 0; flex: 0 0 auto; }

.infldb-form__submit { margin: 0; }
.infldb-form--danger { margin-top: 2.5rem; }
.infldb-links { margin-top: 1rem; font-size: 0.9rem; }

/* ------------------------------------------------------- Suche: Grundgerüst */

.infldb-search__layout {
	display: grid;
	grid-template-columns: 300px minmax( 0, 1fr );
	gap: 2rem;
	align-items: start;
}

.infldb-search__sidebar { position: sticky; top: 2rem; }
.infldb-search__main { min-width: 0; }

/* --------------------------------------------------------------------- Filter */

.infldb-filters {
	border: 1px solid rgba( 0, 0, 0, 0.14 );
	border-radius: var( --infldb-radius, 6px );
	background: #fff;
	overflow: hidden;
}

.infldb-filters__head {
	padding: 1rem 1.1rem;
	background: rgba( 0, 0, 0, 0.03 );
	border-bottom: 1px solid rgba( 0, 0, 0, 0.1 );
}

.infldb-filters__search {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
}

.infldb-filters__search > span {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-filters__section {
	padding: 1.1rem;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.08 );
}

.infldb-filters__section:last-of-type { border-bottom: 0; }

.infldb-filters__title {
	margin: 0 0 0.9rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-filters__row {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 110px, 1fr ) );
	gap: 0.8rem;
	align-items: end;
}

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

.infldb-filters__row + .infldb-choices,
.infldb-choices + .infldb-filters__row { margin-top: 1rem; }

.infldb-filters__field {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin: 0;
	min-width: 0;
}

.infldb-filters__field > span {
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.3;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-filters input[type="number"],
.infldb-filters input[type="search"],
.infldb-filters select {
	width: 100%;
	box-sizing: border-box;
	height: auto;
	margin: 0;
	padding: 0.5rem 0.6rem;
	border: 1px solid rgba( 0, 0, 0, 0.16 );
	border-radius: 4px;
	background-color: #fff;
	box-shadow: none;
	font: inherit;
	font-size: 0.88rem;
}

.infldb-filters__field--check { justify-content: flex-end; }

/* Auswahl als Schaltflächen */

.infldb-choices {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	min-width: 0;
}

.infldb-choices:last-child { margin-bottom: 0; }

.infldb-choices legend {
	padding: 0;
	margin-bottom: 0.45rem;
	font-size: 0.76rem;
	font-weight: 600;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-choices__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.infldb-choices__select { max-width: 100%; padding: 0.35rem !important; }

.infldb-chip {
	position: relative;
	display: inline-flex;
	margin: 0;
	font-weight: 400;
}

.infldb-chip input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	margin: 0;
	pointer-events: none;
}

.infldb-chip > span {
	display: inline-block;
	padding: 0.32rem 0.7rem;
	border: 1px solid rgba( 0, 0, 0, 0.18 );
	border-radius: 20px;
	background: #fff;
	font-size: 0.82rem;
	line-height: 1.35;
	cursor: pointer;
	transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
	user-select: none;
}

.infldb-chip > span:hover { border-color: rgba( 0, 0, 0, 0.45 ); }

.infldb-chip input:checked + span {
	background: #1a1a1a;
	border-color: #1a1a1a;
	color: #fff;
}

.infldb-chip input:focus-visible + span {
	outline: 2px solid rgba( 0, 0, 0, 0.5 );
	outline-offset: 2px;
}

.infldb-filters__actions {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	flex-wrap: wrap;
	margin: 0;
	padding: 1.1rem;
	background: rgba( 0, 0, 0, 0.03 );
	border-top: 1px solid rgba( 0, 0, 0, 0.1 );
}

.infldb-filters__actions .infldb-button { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

.infldb-filters__reset {
	font-size: 0.84rem;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

/* ------------------------------------------------------------------ Ergebnisse */

.infldb-results__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-bottom: 0.9rem;
	margin-bottom: 0.5rem;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.12 );
}

.infldb-count { margin: 0; font-weight: 600; }

.infldb-results__sort {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.85rem;
}

.infldb-results__sort > span { color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) ); white-space: nowrap; }

.infldb-results__sort select {
	height: auto;
	margin: 0;
	padding: 0.4rem 0.6rem;
	border: 1px solid rgba( 0, 0, 0, 0.16 );
	border-radius: 4px;
	background-color: #fff;
	font: inherit;
	font-size: 0.88rem;
}

.infldb-empty { padding: 2rem 0; color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) ); }

.infldb-results-list { display: flex; flex-direction: column; }

.infldb-result {
	display: grid;
	grid-template-columns: 72px minmax( 0, 1fr ) auto;
	gap: 1.25rem;
	align-items: center;
	padding: 1.15rem 0.5rem;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.1 );
	transition: background-color 0.12s ease;
}

.infldb-result:hover { background: rgba( 0, 0, 0, 0.02 ); }

.infldb-result__media { display: block; line-height: 0; }

.infldb-result__avatar {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
}

.infldb-result__avatar--placeholder { background: rgba( 0, 0, 0, 0.08 ); }

.infldb-result__body { min-width: 0; }

.infldb-result__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin: 0 0 0.2rem;
	font-size: 1.05rem;
	line-height: 1.3;
}

.infldb-result__title a { text-decoration: none; color: inherit; }
.infldb-result__title a:hover { text-decoration: underline; }

.infldb-result__meta {
	margin: 0 0 0.35rem;
	font-size: 0.82rem;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-result__desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

.infldb-result__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
}

.infldb-result__tags li {
	padding: 0.15rem 0.55rem;
	border-radius: 20px;
	background: rgba( 0, 0, 0, 0.06 );
	font-size: 0.75rem;
	line-height: 1.5;
}

.infldb-result__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.5rem;
	text-align: right;
	min-width: 190px;
}

.infldb-result__stats { display: flex; gap: 1.5rem; }

.infldb-result__stats strong {
	display: block;
	font-size: 1.05rem;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.infldb-result__stats span {
	font-size: 0.74rem;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-result__channels {
	margin: 0;
	font-size: 0.78rem;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-badge {
	display: inline-block;
	padding: 0.1rem 0.55rem;
	border-radius: 20px;
	font-size: 0.7rem;
	font-weight: 600;
	line-height: 1.6;
	background: rgba( 0, 0, 0, 0.07 );
}

.infldb-badge--confirmed { background: #d7f0dc; color: #14532d; }

.infldb-shortlist-toggle {
	padding: 0.42rem 0.9rem;
	border: 1px solid rgba( 0, 0, 0, 0.2 );
	border-radius: 20px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.82rem;
	cursor: pointer;
	white-space: nowrap;
}

.infldb-shortlist-toggle:hover { border-color: currentColor; }
.infldb-shortlist-toggle.is-active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

.infldb-pagination {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.infldb-pagination .page-numbers {
	padding: 0.45rem 0.8rem;
	border: 1px solid rgba( 0, 0, 0, 0.16 );
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9rem;
}

.infldb-pagination .current { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

@media ( max-width: 1024px ) {
	.infldb-search__layout { grid-template-columns: 1fr; gap: 1.5rem; }
	.infldb-search__sidebar { position: static; }
	.infldb-filters__row--compact { grid-template-columns: repeat( 3, minmax( 0, 160px ) ); }
}

@media ( max-width: 700px ) {
	.infldb-result {
		grid-template-columns: 56px minmax( 0, 1fr );
		gap: 0.9rem;
	}

	.infldb-result__avatar { width: 56px; height: 56px; }

	.infldb-result__side {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		text-align: left;
		min-width: 0;
		width: 100%;
	}

	.infldb-result__channels { display: none; }
}

/* --------------------------------------------------------------------- Profil */

.infldb-profile__header {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-bottom: 1.75rem;
	margin-bottom: 1.75rem;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.12 );
}

.infldb-profile__identity {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	flex: 1 1 420px;
	min-width: 0;
}

.infldb-profile__image {
	display: block;
	width: 128px;
	height: 128px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.infldb-profile__image--placeholder { background: rgba( 0, 0, 0, 0.08 ); }

.infldb-profile__intro { min-width: 0; }
.infldb-profile__intro h1 { margin: 0 0 0.35rem; line-height: 1.2; }

.infldb-profile__tags {
	margin: 0 0 0.6rem;
	font-size: 0.88rem;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-profile__desc { margin: 0 0 0.9rem; line-height: 1.6; }

.infldb-profile__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.6rem;
	flex: 0 0 auto;
}

.infldb-profile__back {
	font-size: 0.85rem;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

/* Kennzahlen */

.infldb-kpis {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 150px, 1fr ) );
	gap: 0.85rem;
	margin-bottom: 2rem;
}

.infldb-kpi {
	position: relative;
	padding: 1.1rem 1.1rem 1.1rem 1.35rem;
	border: 1px solid rgba( 0, 0, 0, 0.1 );
	border-radius: var( --infldb-radius, 6px );
	background: #fff;
	overflow: hidden;
}

.infldb-kpi::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var( --infldb-kpi-color, #7C6BF0 );
}

.infldb-kpi--a { --infldb-kpi-color: #7C6BF0; }
.infldb-kpi--b { --infldb-kpi-color: #E4796F; }
.infldb-kpi--c { --infldb-kpi-color: #F4C95D; }
.infldb-kpi--d { --infldb-kpi-color: #5BC0DE; }
.infldb-kpi--e { --infldb-kpi-color: #4FBF8B; }
.infldb-kpi--f { --infldb-kpi-color: #9AA0A6; }

.infldb-kpi__value {
	display: block;
	font-size: 1.7rem;
	line-height: 1.15;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.infldb-kpi__value--small { font-size: 1.05rem; padding-top: 0.5rem; }

.infldb-kpi__label {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

/* Zweispaltiger Aufbau */

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

.infldb-profile__col { min-width: 0; }

.infldb-panel {
	padding: 1.35rem 1.5rem;
	margin-bottom: 1.5rem;
	border: 1px solid rgba( 0, 0, 0, 0.1 );
	border-radius: var( --infldb-radius, 6px );
	background: #fff;
}

.infldb-panel__title {
	margin: 0 0 1.1rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

/* Kanäle */

.infldb-channels {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 210px, 1fr ) );
	gap: 1rem;
}

.infldb-channel {
	position: relative;
	padding: 1rem 1rem 1rem 1.15rem;
	border: 1px solid rgba( 0, 0, 0, 0.1 );
	border-radius: var( --infldb-radius, 6px );
	overflow: hidden;
}

.infldb-channel::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var( --infldb-network-color, #4B5563 );
}

.infldb-channel__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.6rem;
	font-size: 0.95rem;
}

.infldb-channel__head .infldb-network { width: 24px; height: 24px; }

.infldb-channel__primary { margin: 0 0 0.75rem; }

.infldb-channel__primary strong {
	display: block;
	font-size: 1.5rem;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}

.infldb-channel__primary span {
	font-size: 0.74rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-channel dl {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.3rem 0.75rem;
	margin: 0 0 0.85rem;
	align-items: baseline;
	font-size: 0.85rem;
}

.infldb-channel dt { color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) ); }
.infldb-channel dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.infldb-channel dd.is-positive { color: #1d7a3e; }
.infldb-channel dd.is-negative { color: #b32d2e; }
.infldb-channel__link { font-size: 0.85rem; }

/* Diagramme */

.infldb-charts {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 260px, 1fr ) );
	gap: 1.75rem;
}

.infldb-chart__title {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.infldb-bars { display: grid; gap: 0.55rem; }

.infldb-bar {
	display: grid;
	grid-template-columns: 8rem 1fr 3rem;
	gap: 0.75rem;
	align-items: center;
}

.infldb-bar__label { font-size: 0.85rem; }

.infldb-bar__track {
	height: 12px;
	background: rgba( 0, 0, 0, 0.06 );
	border-radius: 6px;
	overflow: hidden;
}

.infldb-bar__fill {
	display: block;
	height: 100%;
	border-radius: 6px;
	min-width: 3px;
}

.infldb-bar__value {
	font-size: 0.85rem;
	font-weight: 600;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* Faktenliste */

.infldb-facts { display: grid; margin: 0; }

.infldb-facts dt {
	margin: 0;
	padding-top: 0.7rem;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-facts dd {
	margin: 0;
	padding: 0.15rem 0 0.7rem;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.08 );
	line-height: 1.5;
}

.infldb-facts dd:last-child { border-bottom: 0; padding-bottom: 0; }

.infldb-taglist { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.infldb-taglist span {
	padding: 0.15rem 0.55rem;
	border-radius: 20px;
	background: rgba( 0, 0, 0, 0.06 );
	font-size: 0.78rem;
	line-height: 1.5;
}

/* Tabelle */

.infldb-table { width: 100%; border-collapse: collapse; }

.infldb-table td {
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.08 );
	font-size: 0.9rem;
	vertical-align: top;
}

.infldb-table tr:last-child td { border-bottom: 0; }
.infldb-table td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Kooperationen */

.infldb-collabs { list-style: none; margin: 0; padding: 0; }

.infldb-collabs li {
	display: flex;
	gap: 0.5rem;
	align-items: baseline;
	flex-wrap: wrap;
	padding: 0.55rem 0;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.08 );
}

.infldb-collabs li:last-child { border-bottom: 0; }
.infldb-collabs span { font-size: 0.88rem; color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) ); }
.infldb-collabs em { margin-left: auto; font-style: normal; font-size: 0.85rem; color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) ); }

/* Interner Block */

.infldb-internal {
	border-color: rgba( 179, 45, 46, 0.35 );
	background: rgba( 179, 45, 46, 0.03 );
}

.infldb-internal .infldb-panel__title { color: #b32d2e; }

/* Kontaktformular */

.infldb-contact { padding: 0; border: 0; background: transparent; }
.infldb-contact h3 { margin: 0 0 1.25rem; }

@media ( max-width: 900px ) {
	.infldb-profile__columns { grid-template-columns: 1fr; }
	.infldb-profile__actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
}

@media ( max-width: 600px ) {
	.infldb-profile__identity { flex-direction: column; }
	.infldb-profile__image { width: 88px; height: 88px; }
	.infldb-bar { grid-template-columns: 1fr 3rem; }
	.infldb-bar__label { grid-column: 1 / -1; }
	.infldb-panel { padding: 1.1rem; }
}

/* --------------------------------------------- Schmale Formulare (Anmeldung) */

.infldb-form--narrow { max-width: 420px; }

.infldb-form__grid--single { grid-template-columns: 1fr; }

.infldb-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 1.25rem;
	font-size: 0.9rem;
}

.infldb-links span { color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) ); }

/* ------------------------------------------------------------ Kanal-Symbole */

.infldb-networks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.infldb-network {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: 0;
	border-radius: 50%;
	background: var( --infldb-network-color, #4B5563 );
	color: #fff;
	flex: 0 0 auto;
}

.infldb-network__icon { display: block; }

.infldb-result__side .infldb-networks { justify-content: flex-end; }

.infldb-profile__header .infldb-networks { margin-top: 1rem; }

.infldb-channel__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.infldb-channel__head .infldb-network { width: 24px; height: 24px; }

/* Nur für Screenreader */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------ Größenklasse */

.infldb-tier {
	display: inline-block;
	padding: 0.1rem 0.6rem;
	border: 1px solid var( --infldb-tier-color, #4B5563 );
	border-radius: 20px;
	color: var( --infldb-tier-color, #4B5563 );
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.6;
	white-space: nowrap;
}

.infldb-tier--large {
	padding: 0.3rem 0.8rem;
	font-size: 0.76rem;
	letter-spacing: 0.03em;
	text-transform: none;
	background: color-mix( in srgb, var( --infldb-tier-color, #4B5563 ) 10%, transparent );
}

/* --------------------------------------------------------- Intelligente Suche */

.infldb-smartbar {
	grid-column: 1 / -1;
	display: flex;
	gap: 0.75rem;
	align-items: flex-end;
	flex-wrap: wrap;
	padding: 1.25rem 1.4rem;
	border: 1px solid rgba( 0, 0, 0, 0.14 );
	border-radius: var( --infldb-radius, 6px );
	background: #fff;
}

.infldb-smartbar__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1 1 380px;
	margin: 0;
	min-width: 0;
}

.infldb-smartbar__field > span {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-smartbar__field input {
	width: 100%;
	box-sizing: border-box;
	height: auto;
	margin: 0;
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba( 0, 0, 0, 0.16 );
	border-radius: 4px;
	background-color: #fff;
	box-shadow: none;
	font: inherit;
	font-size: 1rem;
}

.infldb-smartbar__hint {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: -0.5rem 0 0;
	font-size: 0.85rem;
}

.infldb-smartbar__hint > span {
	font-weight: 600;
	color: var( --infldb-muted, rgba( 0, 0, 0, 0.55 ) );
}

.infldb-smartbar__hint em {
	padding: 0.15rem 0.6rem;
	border-radius: 20px;
	background: rgba( 0, 0, 0, 0.06 );
	font-style: normal;
	font-size: 0.82rem;
}

/* ------------------------------------------------------------- Zeitleiste */

.infldb-timeline svg {
	display: block;
	width: 100%;
	height: 180px;
}

.infldb-timeline__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	font-size: 0.82rem;
}

.infldb-timeline__legend li {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
}

.infldb-timeline__legend span {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 3px;
}
