/* Browser-Hinweis fuer den Gastgeber (Tobias 12.11.2026).
 *
 * Aufbau an beiden Orten gleich: Abzeichen mit dem Browser-Namen, darunter nur die Zeilen,
 * die hier fehlen, darunter die Handlungszeile und der Knopf "Got it". Was vorhanden ist,
 * wird nicht erwaehnt. Ist alles vorhanden, erscheint gar nichts.
 *
 * Die Zeile im wp-admin ist hell mit rotem Rand links, der Kasten im Live-Raum ist dunkel
 * und nimmt sich seinen Platz ueber der Anbieter-Flaeche (siehe wi-browser-hint.js).
 */
.wi-bh {
	box-sizing: border-box;
	display: none;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
	margin: 8px 0 0;
	padding: 8px 12px;
	border: 1px solid #dcdcde;
	border-left: 4px solid #d63638; /* rot, nicht orange */
	border-radius: 4px;
	background: #fff;
	color: #1d2327;
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
}

/* Sichtbar wird der Hinweis nur ueber diese Klasse, die das Script setzt. */
.wi-bh.is-shown {
	display: flex;
}

.wi-bh[hidden] {
	display: none;
}

.wi-bh__badge {
	flex: 0 0 auto;
	padding: 1px 8px;
	border-radius: 10px;
	background: #f0f0f1;
	color: #50575e;
	font-weight: 600;
	white-space: nowrap;
}

.wi-bh__badge:empty {
	display: none;
}

.wi-bh__lead {
	margin: 0;
	font-weight: 600;
}

.wi-bh__lead:empty {
	display: none;
}

.wi-bh__list {
	margin: 0;
	padding-left: 18px;
	list-style: disc;
}

.wi-bh__list:empty {
	display: none;
}

.wi-bh__action {
	margin: 0;
	font-weight: 600;
}

.wi-bh__action:empty {
	display: none;
}

.wi-bh__ok {
	flex: 0 0 auto;
	margin-top: 2px;
	padding: 3px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
	color: #1d2327;
	font-size: 12px;
	line-height: 1.6;
	cursor: pointer;
}

.wi-bh__ok:hover,
.wi-bh__ok:focus {
	border-color: #8c8f94;
	background: #fff;
}

/* Live-Raum: derselbe Inhalt in dunkel, volle Breite, im Fluss ueber dem Anbieter. */
.wi-bh--room {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-left: 4px solid #d63638;
	border-radius: 0;
	background: rgba(17, 24, 39, 0.98);
	color: #fff;
	font-size: 14px;
}

.wi-bh--room .wi-bh__badge {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 12px;
}

.wi-bh--room .wi-bh__action {
	color: #fff;
}

.wi-bh--room .wi-bh__ok {
	border-color: rgba(255, 255, 255, 0.55);
	background: transparent;
	color: #fff;
}

.wi-bh--room .wi-bh__ok:hover,
.wi-bh--room .wi-bh__ok:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 782px) {
	.wi-bh--room {
		font-size: 13px;
	}
}
