/* Coin-Mouseover: Kennzahlen, 7-Tage-Verlauf, Boersen-Links (Ati 20.09.2026). */
.tbaff-karte {
	position: absolute;
	z-index: 2147480000;
	width: 322px;
	padding: 14px;
	border: 1px solid rgba(45, 212, 191, .28);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(10, 18, 32, .98), rgba(4, 9, 18, .98));
	box-shadow: 0 20px 48px rgba(0, 0, 0, .55);
	color: #e2e8f0;
	font: 500 12px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.tbaff-karte[hidden] {
	display: none;
}

.tbaff-kopf {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.tbaff-kopf img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	flex: 0 0 auto;
}

.tbaff-titel {
	min-width: 0;
}

.tbaff-titel b {
	display: block;
	overflow: hidden;
	color: #f1f7fd;
	font-size: 14px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbaff-titel small {
	color: #8fa4ba;
	font-size: 11px;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.tbaff-chart {
	margin: 10px 0 4px;
	min-height: 64px;
}

.tbaff-chart-laedt,
.tbaff-chart-leer {
	display: grid;
	place-items: center;
	height: 64px;
	border: 1px dashed rgba(148, 163, 184, .22);
	border-radius: 10px;
	color: #8fa4ba;
	font-size: 11px;
}

.tbaff-chart-fuss {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 2px;
	color: #8fa4ba;
	font-size: 10px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.tbaff-werte {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 14px;
	margin-top: 8px;
}

.tbaff-wert--breit {
	grid-column: 1 / -1;
}

.tbaff-wert {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
}

.tbaff-wert span {
	color: #8fa4ba;
	font-size: 10.5px;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tbaff-wert b {
	color: #dce8f4;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.tbaff-wert.is-pos b,
.tbaff-chart-fuss b.is-pos {
	color: #4ade80;
}

.tbaff-wert.is-neg b,
.tbaff-chart-fuss b.is-neg {
	color: #f87171;
}

.tbaff-zusatz {
	margin-top: 8px;
	color: #a9bbd0;
	font-size: 11px;
}

.tbaff-boersen {
	display: grid;
	gap: 5px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(148, 163, 184, .16);
}

.tbaff-boersen-titel {
	width: 100%;
	color: #8fa4ba;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

a.tbaff-boerse {
	display: grid;
	grid-template-columns: 22px 1fr auto;
	align-items: center;
	gap: 9px;
	min-height: 34px;
	padding: 5px 10px;
	border: 1px solid rgba(45, 212, 191, .26);
	border-radius: 10px;
	background: rgba(45, 212, 191, .07);
	color: #d7f5ee;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.tbaff-boerse-logo {
	width: 22px;
	height: 22px;
	border-radius: 6px;
	object-fit: contain;
	background: rgba(255, 255, 255, .06);
}

.tbaff-boerse-mono {
	display: grid;
	place-items: center;
	color: #9ff3e4;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: .02em;
}

.tbaff-boerse-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbaff-boerse-pfeil {
	color: #7fe7d5;
	font-size: 11px;
	opacity: .7;
}

a.tbaff-boerse:hover,
a.tbaff-boerse:focus-visible {
	border-color: rgba(45, 212, 191, .6);
	background: rgba(45, 212, 191, .2);
	color: #eafffb;
}

[data-tb-coin] {
	cursor: help;
}

@media (max-width: 600px) {
	.tbaff-karte {
		width: min(322px, calc(100vw - 24px));
	}
}

/* Reihe statt Liste - fuer Leisten wie auf der Orderflow-Seite. */
.tbaff-boersen--reihe {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
}

.tbaff-boersen--reihe .tbaff-boersen-titel {
	width: auto;
	align-self: center;
	margin-right: 2px;
}

.tbaff-boersen--reihe a.tbaff-boerse {
	grid-template-columns: 18px auto;
	min-height: 30px;
	padding: 4px 10px;
	font-size: 11px;
}

.tbaff-boersen--reihe .tbaff-boerse-logo {
	width: 18px;
	height: 18px;
}

.tbaff-boersen--reihe .tbaff-boerse-pfeil {
	display: none;
}
