/**
 * Liquidation Heatmap Pro — App-Styles.
 *
 * Gleiche Bauweise wie das Tradingjournal: Der Container stempelt seinen
 * Zustand selbst (lhp--dark/lhp--light, lhp--look-cyber/lhp--look-standard),
 * unabhaengig von der Theme-Kaskade und den invertierten Theme-Presets.
 * Alle Farben sind feste Werte. Die Token-Namen und -Werte entsprechen 1:1
 * denen des Journals, damit beide Seiten identisch wirken.
 */

/* ------------------------------------------------------------------ */
/* Token-Definition ueber den selbst gestempelten Zustand              */
/* ------------------------------------------------------------------ */
.lhp {
	--lhp-bg: #f4f6fb;
	--lhp-panel: #ffffff;
	--lhp-panel-2: #eef1f7;
	--lhp-border: #d4dae6;
	--lhp-text: #16202e;
	--lhp-text-dim: #4b5768;
	--lhp-accent: #0e7490;
	--lhp-accent-text: #ffffff;
	--lhp-pos: #0d7a45;
	--lhp-neg: #b3323e;
	--lhp-warn: #92600a;
	--lhp-pos-bg: #e2f4ea;
	--lhp-neg-bg: #fbe9eb;
	--lhp-warn-bg: #fdf3df;
	--lhp-zone: #6d28d9;
	--lhp-chart-bg: #ffffff;
	--lhp-chart-grid: rgba(100, 116, 139, 0.22);
	--lhp-chart-axis: rgba(100, 116, 139, 0.45);
	--lhp-chart-label: #4b5768;
	--lhp-radius: 12px;
	--lhp-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
	--lhp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
	--lhp-mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
	--lhp-focus: #0e7490;

	font-family: var(--lhp-font);
	color: var(--lhp-text);
	/* Durchsichtig wie alle Inhaltsbloecke der Seite (gemessen: entry-content,
	   wp-block-group und post-content sind rgba(0,0,0,0); nur `main` malt eine
	   halbtransparente Flaeche). Ein eigener Grundton wuerde als Kasten
	   ueber der Seite stehen. Der Token bleibt fuer den Vollbildmodus. */
	background: transparent;
	border-radius: var(--lhp-radius);
	line-height: 1.5;
	font-size: 15px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 14px;
	box-sizing: border-box;
}
.lhp *, .lhp *::before, .lhp *::after { box-sizing: border-box; }

.lhp.lhp--dark {
	--lhp-bg: #0b1220;
	--lhp-panel: #121c30;
	--lhp-panel-2: #0e1729;
	--lhp-border: #2b3a55;
	--lhp-text: #e6ebf4;
	--lhp-text-dim: #9aa8bf;
	--lhp-accent: #38bdf8;
	--lhp-accent-text: #06121f;
	--lhp-pos: #4ade80;
	--lhp-neg: #f87171;
	--lhp-warn: #fbbf24;
	--lhp-pos-bg: rgba(74, 222, 128, 0.12);
	--lhp-neg-bg: rgba(248, 113, 113, 0.12);
	--lhp-warn-bg: rgba(251, 191, 36, 0.12);
	--lhp-zone: #a78bfa;
	--lhp-chart-bg: #0e1729;
	--lhp-chart-grid: rgba(148, 163, 184, 0.16);
	--lhp-chart-axis: rgba(148, 163, 184, 0.34);
	--lhp-chart-label: #9aa8bf;
	--lhp-shadow: 0 8px 26px rgba(2, 6, 23, 0.5);
	--lhp-focus: #38bdf8;
}

/* Cyber-Look: knappere Radien, Mono-Zahlen, leichte Kanten-Glows */
.lhp.lhp--look-cyber { --lhp-radius: 10px; }
.lhp.lhp--look-cyber.lhp--dark {
	--lhp-panel: rgba(15, 23, 42, 0.92);
	--lhp-border: rgba(56, 189, 248, 0.28);
	--lhp-shadow: 0 10px 30px rgba(2, 6, 23, 0.55), 0 0 0 1px rgba(56, 189, 248, 0.08);
}
.lhp.lhp--look-cyber .lhp-kpi__value,
.lhp.lhp--look-cyber .lhp-num { font-family: var(--lhp-mono); }

/* ------------------------------------------------------------------ */
/* Kopfzeile                                                           */
/* ------------------------------------------------------------------ */
.lhp-head {
	display: flex; align-items: flex-start; justify-content: space-between;
	gap: 14px; flex-wrap: wrap; margin-bottom: 12px;
}
.lhp .lhp-h1 {
	margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -0.01em;
	color: var(--lhp-text);
}
.lhp .lhp-sub { margin: 2px 0 0; font-size: 13.5px; color: var(--lhp-text-dim); }

.lhp-status {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px; border-radius: 999px;
	background: var(--lhp-panel); border: 1px solid var(--lhp-border);
	font-size: 12.5px; color: var(--lhp-text-dim); white-space: nowrap;
}
.lhp-status__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--lhp-warn); flex: 0 0 8px;
}
.lhp-status[data-state="live"] .lhp-status__dot {
	background: var(--lhp-pos); animation: lhp-pulse 2s ease-in-out infinite;
}
.lhp-status[data-state="error"] .lhp-status__dot { background: var(--lhp-neg); }
@keyframes lhp-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
	.lhp-status[data-state="live"] .lhp-status__dot { animation: none; }
}

.lhp-head__right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lhp-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.lhp .lhp-icon {
	background: var(--lhp-panel) !important;
	color: var(--lhp-text-dim) !important;
	border: 1px solid var(--lhp-border) !important;
	border-radius: 8px !important;
	min-width: 34px; height: 34px !important; min-height: 0 !important;
	padding: 0 9px !important; font: inherit; font-size: 12.5px; font-weight: 600;
	line-height: 1; cursor: pointer; box-shadow: none !important;
	letter-spacing: normal !important; text-transform: none !important;
	display: inline-flex; align-items: center; justify-content: center;
	transition: color .15s ease, border-color .15s ease;
}
.lhp .lhp-icon:hover { color: var(--lhp-text) !important; border-color: var(--lhp-accent) !important; }
.lhp .lhp-icon:focus-visible { outline: 2px solid var(--lhp-focus); outline-offset: 2px; }
.lhp .lhp-icon[aria-pressed="true"] {
	color: var(--lhp-accent-text) !important;
	background: var(--lhp-accent) !important;
	border-color: var(--lhp-accent) !important;
}

/* ------------------------------------------------------------------ */
/* Werkzeugleiste                                                      */
/* ------------------------------------------------------------------ */
.lhp-toolbar {
	display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end;
	background: var(--lhp-panel); border: 1px solid var(--lhp-border);
	border-radius: var(--lhp-radius); box-shadow: var(--lhp-shadow);
	padding: 12px 14px; margin-bottom: 12px;
}
/* ⚠️ Zwei Felder sind <label>. Das Theme stylt Beschriftungen global mit
   `label { display:flex; align-items:center; margin-bottom:.5em; width:100% }`.
   Ohne Gegenwerte fuer BREITE und Ausrichtung nimmt jedes Feld die volle
   Leistenbreite (gemessen 1778px) — die Werkzeugleiste faellt in drei Zeilen
   auseinander und „MARKT" steht mittig statt links. */
.lhp .lhp-field {
	display: flex; flex-direction: column; gap: 5px;
	align-items: flex-start;
	width: auto;
	margin: 0; flex: 0 0 auto;
}
.lhp .lhp-field--grow { flex: 1 1 260px; min-width: 0; }
.lhp-field__label {
	font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
	text-transform: uppercase; color: var(--lhp-text-dim);
}

/* Gegen den Cyber-Skin, der select/button global mit !important stylt.
   ⚠️ `width` und `margin` sind PFLICHT: das Theme setzt global
   `select { width: var(--wp--custom--input--width, 100%); margin: 0 0 1em; }`.
   Ohne Gegenwert waere jedes Feld so breit wie die Leiste — die Werkzeugleiste
   fiele in drei Zeilen auseinander (gemessen 23.08.2026: Select 1778px). */
.lhp .lhp-select {
	appearance: none;
	width: auto !important;
	margin: 0 !important;
	background: var(--lhp-panel-2) !important;
	color: var(--lhp-text) !important;
	border: 1px solid var(--lhp-border) !important;
	border-radius: 8px !important;
	padding: 8px 30px 8px 11px !important;
	font: inherit; font-size: 14px; line-height: 1.3;
	min-width: 140px; height: auto !important;
	box-shadow: none !important; text-transform: none !important;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%) !important;
	background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52% !important;
	background-size: 5px 5px, 5px 5px !important;
	background-repeat: no-repeat !important;
}
.lhp .lhp-select:focus-visible {
	outline: 2px solid var(--lhp-focus); outline-offset: 2px;
}

/* Coin-Suchfeld. Gleiche Gegenwerte wie beim Select noetig: das Theme setzt
   `input:not([type=checkbox]…) { width:100%; margin:0 0 1em }`. */
.lhp .lhp-input {
	width: 190px !important;
	margin: 0 !important;
	background: var(--lhp-panel-2) !important;
	color: var(--lhp-text) !important;
	border: 1px solid var(--lhp-border) !important;
	border-radius: 8px !important;
	padding: 8px 11px !important;
	font: inherit; font-size: 14px; line-height: 1.3;
	height: auto !important; min-height: 0 !important;
	box-shadow: none !important; text-transform: uppercase !important;
	letter-spacing: normal !important;
}
.lhp .lhp-input::placeholder { color: var(--lhp-text-dim); text-transform: none; }
.lhp .lhp-input:focus-visible { outline: 2px solid var(--lhp-focus); outline-offset: 2px; }
.lhp .lhp-input[aria-invalid="true"] { border-color: var(--lhp-neg) !important; }
.lhp-field__hint { font-size: 11.5px; color: var(--lhp-neg); min-height: 0; }
.lhp-field__hint:empty { display: none; }

.lhp-favs { display: flex; gap: 6px; flex-wrap: wrap; }
.lhp .lhp-fav {
	background: var(--lhp-panel-2) !important;
	color: var(--lhp-text-dim) !important;
	border: 1px solid var(--lhp-border) !important;
	border-radius: 7px !important;
	padding: 7px 10px !important; margin: 0 !important;
	font: inherit; font-size: 12.5px; font-weight: 600;
	height: auto !important; min-height: 0 !important; width: auto !important;
	cursor: pointer; box-shadow: none !important;
	letter-spacing: normal !important; text-transform: none !important;
}
.lhp .lhp-fav:hover { color: var(--lhp-text) !important; border-color: var(--lhp-accent) !important; }
.lhp .lhp-fav:focus-visible { outline: 2px solid var(--lhp-focus); outline-offset: 2px; }
.lhp .lhp-fav.is-active {
	background: var(--lhp-accent) !important;
	color: var(--lhp-accent-text) !important;
	border-color: var(--lhp-accent) !important;
}

.lhp-toggles { display: flex; gap: 7px; flex-wrap: wrap; }
.lhp .lhp-toggle {
	display: inline-flex; align-items: center; gap: 7px;
	background: var(--lhp-panel-2) !important;
	color: var(--lhp-text-dim) !important;
	border: 1px solid var(--lhp-border) !important;
	border-radius: 999px !important;
	padding: 7px 13px !important;
	font: inherit; font-size: 13px; font-weight: 500;
	cursor: pointer; height: auto !important; min-height: 0 !important;
	letter-spacing: normal !important; text-transform: none !important;
	box-shadow: none !important; transition: color .15s ease, border-color .15s ease;
}
.lhp .lhp-toggle:hover { color: var(--lhp-text) !important; }
.lhp .lhp-toggle:focus-visible { outline: 2px solid var(--lhp-focus); outline-offset: 2px; }
.lhp .lhp-toggle.is-active {
	color: var(--lhp-text) !important;
	border-color: var(--lhp-accent) !important;
}
.lhp-toggle__dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--lhp-border); flex: 0 0 7px;
}
.lhp .lhp-toggle.is-active .lhp-toggle__dot { background: var(--lhp-accent); }

/* ------------------------------------------------------------------ */
/* Kennzahlen                                                          */
/* ------------------------------------------------------------------ */
.lhp-kpis {
	display: grid; gap: 10px; margin-bottom: 12px;
	grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}
.lhp-kpi {
	background: var(--lhp-panel); border: 1px solid var(--lhp-border);
	border-radius: var(--lhp-radius); box-shadow: var(--lhp-shadow);
	padding: 11px 13px; min-width: 0;
}
.lhp-kpi__label {
	font-size: 11.5px; font-weight: 600; letter-spacing: .03em;
	text-transform: uppercase; color: var(--lhp-text-dim);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lhp-kpi__value {
	font-size: 20px; font-weight: 650; margin-top: 3px;
	color: var(--lhp-text); overflow-wrap: anywhere;
}
.lhp-kpi__sub { font-size: 12px; color: var(--lhp-text-dim); margin-top: 1px; }
.lhp-kpi__value.is-pos, .lhp-kpi__sub.is-pos { color: var(--lhp-pos); }
.lhp-kpi__value.is-neg, .lhp-kpi__sub.is-neg { color: var(--lhp-neg); }

/* ------------------------------------------------------------------ */
/* Layout: Inhalt + Seitenspalte                                       */
/* ------------------------------------------------------------------ */
.lhp-shell { display: flex; gap: 12px; align-items: flex-start; }
.lhp-main { flex: 1 1 auto; min-width: 0; outline: none; }
.lhp-side { flex: 0 0 290px; display: flex; flex-direction: column; gap: 12px; }

.lhp-panel {
	background: var(--lhp-panel); border: 1px solid var(--lhp-border);
	border-radius: var(--lhp-radius); box-shadow: var(--lhp-shadow);
}
.lhp .lhp-panel__title {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	margin: 0; padding: 11px 13px; font-size: 13.5px; font-weight: 600;
	color: var(--lhp-text); border-bottom: 1px solid var(--lhp-border);
}
.lhp-badge {
	background: var(--lhp-panel-2); color: var(--lhp-text-dim);
	border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 600;
}

/* Chart */
.lhp-chart { position: relative; overflow: hidden; min-height: 340px; }
.lhp-canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.lhp-canvas.is-dragging { cursor: grabbing; }

.lhp-loading {
	position: absolute; inset: 0; z-index: 3;
	display: flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--lhp-panel); color: var(--lhp-text-dim); font-size: 13.5px;
}
.lhp-loading[hidden] { display: none; }
.lhp-spinner {
	width: 17px; height: 17px; border-radius: 50%;
	border: 2px solid var(--lhp-border); border-top-color: var(--lhp-accent);
	animation: lhp-spin .8s linear infinite;
}
@keyframes lhp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lhp-spinner { animation-duration: 3s; } }

.lhp-legend {
	position: absolute; top: 10px; left: 12px; z-index: 2;
	display: flex; gap: 12px; flex-wrap: wrap;
	background: var(--lhp-panel-2); border: 1px solid var(--lhp-border);
	border-radius: 8px; padding: 6px 10px; font-size: 11.5px; color: var(--lhp-text-dim);
}
.lhp-legend__item { display: inline-flex; align-items: center; gap: 6px; }
.lhp-swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lhp-swatch--long { background: var(--lhp-pos); }
.lhp-swatch--short { background: var(--lhp-neg); }
.lhp-swatch--zone { background: var(--lhp-zone); }

.lhp-hint {
	position: absolute; bottom: 10px; left: 12px; z-index: 2;
	font-size: 11px; color: var(--lhp-text-dim); opacity: .75;
}
.lhp-tooltip {
	position: fixed; z-index: 20; display: none; pointer-events: none;
	background: var(--lhp-panel); color: var(--lhp-text);
	border: 1px solid var(--lhp-border); border-radius: 9px;
	box-shadow: var(--lhp-shadow); padding: 9px 11px; font-size: 12.5px;
	min-width: 168px;
}
.lhp-tooltip__price { font-weight: 650; margin-bottom: 4px; font-family: var(--lhp-mono); }
.lhp-tooltip__meta { color: var(--lhp-text-dim); font-size: 11.5px; margin-bottom: 5px; }
.lhp-tooltip__row { display: flex; justify-content: space-between; gap: 14px; }
.lhp-tooltip__row span { color: var(--lhp-text-dim); }
.lhp-tooltip__row b { font-family: var(--lhp-mono); font-weight: 600; }

/* Live-Strom */
.lhp-feed__list { max-height: 330px; overflow-y: auto; }
.lhp-feed__item {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 7px 13px; border-bottom: 1px solid var(--lhp-border); font-size: 12.5px;
}
.lhp-feed__item:last-child { border-bottom: 0; }
.lhp-feed__side {
	font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
	padding: 2px 6px; border-radius: 5px;
}
.lhp-feed__side.long { background: var(--lhp-pos-bg); color: var(--lhp-pos); }
.lhp-feed__side.short { background: var(--lhp-neg-bg); color: var(--lhp-neg); }
.lhp-feed__source { color: var(--lhp-text-dim); font-size: 11px; text-transform: capitalize; }
.lhp-feed__amount { font-weight: 650; font-family: var(--lhp-mono); }
.lhp-feed__price { color: var(--lhp-text-dim); font-size: 11px; font-family: var(--lhp-mono); }
.lhp-feed__empty { margin: 0; padding: 13px; font-size: 12.5px; color: var(--lhp-text-dim); }
.lhp-feed__empty[hidden] { display: none; }

/* Alarme bei grossen Liquidationen */
.lhp-alerts[hidden] { display: none; }
.lhp-alerts__list { max-height: 190px; overflow-y: auto; }
.lhp-alerts__item {
	display: flex; align-items: center; gap: 8px;
	padding: 8px 13px; border-bottom: 1px solid var(--lhp-border);
	font-size: 12.5px; background: var(--lhp-warn-bg);
	animation: lhp-slide-in .28s ease;
}
.lhp-alerts__item:last-child { border-bottom: 0; }
.lhp-alerts__tag { color: var(--lhp-warn); font-weight: 700; font-size: 11px; letter-spacing: .04em; }
.lhp-alerts__body { color: var(--lhp-text); font-family: var(--lhp-mono); font-size: 11.5px; }
@keyframes lhp-slide-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lhp-alerts__item { animation: none; } }

/* Cluster */
.lhp-clusters__list { list-style: none; margin: 0; padding: 6px 0; counter-reset: lhpc; }
.lhp-clusters__item {
	display: flex; align-items: center; gap: 9px;
	padding: 6px 13px; font-size: 12.5px;
}
.lhp-clusters__rank {
	flex: 0 0 18px; text-align: right; color: var(--lhp-text-dim);
	font-size: 11px; font-variant-numeric: tabular-nums;
}
.lhp-clusters__bar {
	flex: 1 1 auto; height: 7px; border-radius: 4px;
	background: var(--lhp-panel-2); overflow: hidden; min-width: 40px;
}
.lhp-clusters__fill { display: block; height: 100%; border-radius: 4px; }
.lhp-clusters__fill.long { background: var(--lhp-pos); }
.lhp-clusters__fill.short { background: var(--lhp-neg); }
.lhp-clusters__price { flex: 0 0 auto; font-family: var(--lhp-mono); font-size: 11.5px; color: var(--lhp-text); }
.lhp-clusters__amount { flex: 0 0 auto; font-family: var(--lhp-mono); font-size: 11px; color: var(--lhp-text-dim); }
.lhp-clusters__empty { margin: 0; padding: 13px; font-size: 12.5px; color: var(--lhp-text-dim); }
.lhp-clusters__empty[hidden] { display: none; }

/* Vollbild */
.lhp:fullscreen {
	overflow-y: auto; max-width: none; border-radius: 0;
	padding: 18px; background: var(--lhp-bg);
}
.lhp:fullscreen .lhp-chart { height: calc(100vh - 300px) !important; min-height: 320px; }

/* Quellen */
.lhp-sources__list { list-style: none; margin: 0; padding: 6px 0; }
.lhp-sources__item {
	display: flex; align-items: center; gap: 8px;
	padding: 6px 13px; font-size: 12.5px; color: var(--lhp-text);
}
.lhp-sources__state { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.lhp-sources__state.on { background: var(--lhp-pos); }
.lhp-sources__state.off { background: var(--lhp-border); }
.lhp-sources__note {
	margin: 0; padding: 9px 13px 12px; font-size: 11.5px; line-height: 1.45;
	color: var(--lhp-text-dim); border-top: 1px solid var(--lhp-border);
}

/* Gesperrt / Hinweis */
.lhp-locked { padding: 34px 20px; text-align: center; }
.lhp .lhp-locked h2 { margin: 0 0 8px; font-size: 20px; }
.lhp .lhp-btn {
	display: inline-block; padding: 9px 17px; border-radius: 8px;
	font-size: 14px; font-weight: 600; text-decoration: none !important;
	border: 1px solid var(--lhp-border) !important;
}
.lhp .lhp-btn--primary {
	background: var(--lhp-accent) !important;
	color: var(--lhp-accent-text) !important;
	border-color: var(--lhp-accent) !important;
}

.lhp-skip { position: absolute; left: -9999px; }
.lhp-skip:focus {
	position: static; display: inline-block; padding: 6px 12px;
	background: var(--lhp-accent); color: var(--lhp-accent-text) !important;
}

/* ------------------------------------------------------------------ */
/* Schmale Fenster                                                     */
/* ------------------------------------------------------------------ */
@media (max-width: 900px) {
	/* In Spaltenrichtung bestimmt align-items die Breite: mit dem fuer Desktop
	   noetigen flex-start wuerde die Hauptspalte auf Inhaltsbreite wachsen. */
	.lhp-shell { flex-direction: column; align-items: stretch; }
	.lhp-side { flex: 1 1 auto; width: 100%; }
	.lhp-feed__list { max-height: 260px; }
}
@media (max-width: 600px) {
	.lhp { padding: 10px; font-size: 14.5px; }
	.lhp .lhp-h1 { font-size: 19px; }
	.lhp-kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
	.lhp-kpi__value { font-size: 17px; }
	.lhp .lhp-field, .lhp .lhp-field--grow { flex: 1 1 100%; width: 100%; }
	.lhp .lhp-select, .lhp .lhp-input { width: 100% !important; min-width: 0; }
	.lhp-favs { width: 100%; }
	.lhp .lhp-fav { flex: 1 1 auto; }
	.lhp-hint { display: none; }
}

/* ------------------------------------------------------------------ */
/* Vollbild NUR fuer die Chartflaeche                                  */
/* ------------------------------------------------------------------ */
.lhp .lhp-chart-full {
	position: absolute; top: 10px; right: 10px; z-index: 6;
	width: 32px; height: 32px !important; min-height: 0 !important;
	padding: 0 !important; margin: 0 !important;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--lhp-panel) !important;
	color: var(--lhp-text-dim) !important;
	border: 1px solid var(--lhp-border) !important;
	border-radius: 8px !important;
	font: inherit; font-size: 14px; line-height: 1; cursor: pointer;
	box-shadow: none !important; letter-spacing: normal !important;
	text-transform: none !important; opacity: .85;
}
.lhp .lhp-chart-full:hover { opacity: 1; color: var(--lhp-text) !important; border-color: var(--lhp-accent) !important; }
.lhp .lhp-chart-full:focus-visible { outline: 2px solid var(--lhp-focus); outline-offset: 2px; }

/* Kennzahlenleiste: nur im Vollbild sichtbar */
.lhp-chart-info { display: none; }
.lhp-chart:fullscreen {
	height: 100vh !important; width: 100vw;
	border-radius: 0; background: var(--lhp-bg); padding: 0;
}
.lhp-chart:fullscreen .lhp-chart-info {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px;
	position: absolute; top: 0; left: 0; right: 0; z-index: 5;
	padding: 10px 54px 10px 14px;
	background: var(--lhp-panel); border-bottom: 1px solid var(--lhp-border);
	font-size: 13px; color: var(--lhp-text);
}
.lhp-chart:fullscreen .lhp-legend { top: 58px; }
.lhp-chart:fullscreen .lhp-chart-full { top: 8px; right: 12px; }
.lhp-ci { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lhp-ci i { font-style: normal; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--lhp-text-dim); }
.lhp-ci b { font-family: var(--lhp-mono); font-weight: 650; }
.lhp-ci-symbol { font-weight: 700; letter-spacing: .02em; }
.lhp-ci-price { font-family: var(--lhp-mono); font-weight: 700; font-size: 15px; }
.lhp-ci-change.is-pos, .lhp-ci-delta.is-pos, .lhp-ci-funding.is-pos { color: var(--lhp-pos); }
.lhp-ci-change.is-neg, .lhp-ci-delta.is-neg, .lhp-ci-funding.is-neg { color: var(--lhp-neg); }
@media (max-width: 700px) {
	.lhp-chart:fullscreen .lhp-chart-info { font-size: 11.5px; gap: 4px 10px; padding: 8px 46px 8px 10px; }
	.lhp-chart:fullscreen .lhp-legend { top: 66px; }
}

/* ------------------------------------------------------------------ */
/* Ansichts-Umschalter                                                 */
/* ------------------------------------------------------------------ */
.lhp-views { display: flex; gap: 6px; flex-wrap: wrap; }
.lhp .lhp-view {
	background: var(--lhp-panel-2) !important;
	color: var(--lhp-text-dim) !important;
	border: 1px solid var(--lhp-border) !important;
	border-radius: 7px !important;
	padding: 7px 11px !important; margin: 0 !important;
	font: inherit; font-size: 12.5px; font-weight: 600;
	height: auto !important; min-height: 0 !important; width: auto !important;
	cursor: pointer; box-shadow: none !important;
	letter-spacing: normal !important; text-transform: none !important;
	white-space: nowrap;
}
.lhp .lhp-view:hover { color: var(--lhp-text) !important; border-color: var(--lhp-accent) !important; }
.lhp .lhp-view:focus-visible { outline: 2px solid var(--lhp-focus); outline-offset: 2px; }
.lhp .lhp-view.is-active {
	background: var(--lhp-accent) !important;
	color: var(--lhp-accent-text) !important;
	border-color: var(--lhp-accent) !important;
}
.lhp .lhp-field--views { flex: 1 1 100%; width: auto; }
