/* Börsen: der Vergleich von Kryptolotse in der CI der Plattform. Lädt als letzte Datei.
   Nur die Variablen aus base.css. Limette steht für "Lizenz bestätigt", Grün und Rot kommen hier nicht vor.
   Alle Umbrüche richten sich nach der Breite des Inhalts (@container bx), nicht nach dem Fenster. */
.bx { display: grid; gap: 16px; min-width: 0; container: bx / inline-size; }
.bx > * { min-width: 0; }
.bx-head { flex-wrap: wrap; row-gap: 8px; }
.bx-head h1 { white-space: nowrap; min-width: auto; } /* passt der Hinweis auf Kryptolotse nicht daneben, rutscht er in die nächste Zeile statt über die Überschrift */
.bx .sect-head p { flex-basis: 260px; } /* neben der Überschrift nur, wenn dafür Platz ist */
.bx-crumb { font: 800 20px/1 var(--display); letter-spacing: -.02em; }

/* Herkunft: Kryptolotse */
.kl-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; flex: none; transition: border-color .2s, transform .2s var(--spring); }
.kl-chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.kl-chip b { color: var(--ink); font-weight: 800; }

/* Bausteine: Logo, Name, Bewertung, Status, Fakten */
.bx-logo { --s: 44px; width: var(--s); height: var(--s); border-radius: 28%; flex: none; object-fit: cover; background: var(--sunken); display: grid; place-items: center; overflow: hidden; font: 800 calc(var(--s) * .34)/1 var(--display); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
.bx-logo.l { --s: 54px; } .bx-logo.xl { --s: 68px; }
.bx-id { display: flex; align-items: center; gap: 13px; min-width: 0; }
.bx-logo-wrap { position: relative; flex: none; display: grid; }
.bx-rank { position: absolute; top: -7px; left: -7px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font: 800 11.5px/22px var(--text); font-style: normal; text-align: center; box-shadow: 0 0 0 2.5px var(--surface); }
.bx-rank.first { background: var(--lime); color: var(--lime-ink); }
.bx-title { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; min-width: 0; }
.bx-name { font: 800 19px/1.15 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.bx-name.big { font-size: 26px; }
.bx-feat { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 3px; }
.bx-rate { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px 0 6px; border-radius: 8px; background: var(--sunken); font-size: 13px; flex: none; }
.bx-rate .ic { width: 13px; height: 13px; color: var(--lime-deep); }
.bx-rate b { font-weight: 800; }
.bx-status { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.bx-st { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.2; background: var(--sunken); color: var(--ink-2); }
.bx-st .ic { width: 14px; height: 14px; flex: none; stroke-width: 2.2; }
.bx-st.ok { background: var(--lime-wash); color: var(--lime-deep); }
.bx-st.no { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.bx-st.wait { color: var(--muted); }
.bx-st.gift { background: var(--pop); color: var(--pop-ink); }
.bx-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; border-radius: 16px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.bx-facts > div { background: var(--surface-2); padding: 10px 12px; display: grid; gap: 2px; align-content: start; min-width: 0; }
.bx-facts dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.bx-facts dd { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.bx-facts .num { white-space: nowrap; }
.bx-old { display: inline-block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--sunken); padding: 1px 6px; border-radius: 6px; margin-left: 6px; white-space: nowrap; cursor: help; vertical-align: 1px; }
.bx-cta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.bx-go { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.bx-ad { font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--muted); border: 1.5px solid var(--line-2); border-radius: 6px; padding: 1px 6px; white-space: nowrap; cursor: help; flex: none; }
.bx-more { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex: none; transition: background .2s, color .2s; }
.bx-more:hover { background: var(--sunken); color: var(--ink); }
.bx-foot { font-size: 12.5px; line-height: 1.6; color: var(--muted); max-width: 88ch; }
.bx-foot .link { font-weight: 650; text-decoration-thickness: 1.5px; color: var(--ink-2); }

/* Vier Fakten nebeneinander nur, wenn die Karte breit genug ist. Sonst zwei mal zwei, damit keine Gebühr abgeschnitten wird. */
.bx-row, .bx-top, .bx-alt, .bx-match-body { container-type: inline-size; }
@container (max-width: 500px) { .bx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Übersicht: Finder und Platz 1 */
.bx-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.bx-finder { position: relative; overflow: hidden; isolation: isolate; padding: 28px; border-radius: var(--r-xl); background: var(--panel); color: var(--panel-ink); display: grid; gap: 12px; align-content: center; justify-items: start; box-shadow: var(--shadow-2); }
.bx-finder-glow { position: absolute; z-index: -1; width: 230px; height: 230px; border-radius: 50%; right: -84px; top: -112px; background: var(--lime); opacity: .92; pointer-events: none; }
.bx-finder-badge { width: 50px; height: 50px; border-radius: 17px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; transform: rotate(-7deg); }
.bx-finder-badge .ic { width: 27px; height: 27px; }
.bx-finder h2 { font-size: clamp(28px, 4.4cqw, 40px); line-height: 1.04; }
.bx-finder p { color: color-mix(in srgb, var(--panel-ink) 76%, transparent); max-width: 40ch; }
.bx-finder .btn { margin-top: 4px; }
.bx-top { position: relative; padding: 24px 20px 20px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; gap: 14px; align-content: start; }
.bx-top-tag { justify-self: start; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 9px; background: var(--lime); color: var(--lime-ink); font: 800 13px/1 var(--text); transform: rotate(-2.5deg); margin: -4px 0 0 -2px; }

/* Übersicht: Auswahl und Liste */
.bx-bar { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.bx-tabs { flex: 0 1 372px; min-width: 0; }
.bx-tabs > button { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 8px; min-width: 0; }
.bx-tabs > button i { font-style: normal; font-size: 12px; font-weight: 800; line-height: 1; padding: 4px 7px; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); }
.bx-only { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.bx-sort { position: relative; display: inline-flex; align-items: center; height: 30px; border-radius: 999px; background: var(--sunken); color: var(--ink-2); font-size: 13px; }
.bx-sort > .ic { position: absolute; width: 15px; height: 15px; pointer-events: none; }
.bx-sort > .ic:first-of-type { left: 10px; } .bx-sort > .ic:last-of-type { right: 9px; }
.bx-sort select { appearance: none; -webkit-appearance: none; border: 0; background: none; height: 100%; padding: 0 30px 0 31px; border-radius: 999px; font-weight: 650; cursor: pointer; max-width: 100%; }
.bx-list { display: grid; gap: 10px; }
.bx-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; grid-template-areas: 'id status cta' 'facts facts facts'; gap: 12px 16px; align-items: center; padding: 16px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .25s var(--ease), border-color .2s; }
.bx-row:hover { transform: translateY(-2px); border-color: var(--line-2); }
.bx-row > .bx-id { grid-area: id; } .bx-row > .bx-status { grid-area: status; } .bx-row > .bx-facts { grid-area: facts; }
.bx-row > .bx-cta { grid-area: cta; justify-content: flex-end; flex-wrap: nowrap; }
.bx-row.is-quiet { box-shadow: none; background: color-mix(in srgb, var(--surface) 62%, transparent); }

/* Bonus */
.bx-bonus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.bx-bonus { padding: 18px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; gap: 12px; align-content: start; }
.bx-bonus.is-top, .bx-alt, .bx-match.is-first { border-color: var(--lime-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 45%, transparent), var(--shadow-1); }
.bx-bonus h3 { font-size: 23px; }
.bx-offer { padding: 12px 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 6px; }
.bx-offer-head { display: flex; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; }
.bx-offer-head b { flex: 1 1 160px; font-size: 14.5px; }
.bx-amount { font: 800 15px/1.2 var(--display); background: var(--lime); color: var(--lime-ink); padding: 3px 9px; border-radius: 8px; transform: rotate(-1.5deg); }
.bx-offer p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.bx-offer p.dim { color: var(--muted); }
.bx-offer.wide { padding: 14px 16px; gap: 8px; }

/* Eine Börse */
.bx-detail { position: relative; overflow: hidden; isolation: isolate; padding: 26px; display: grid; gap: 18px; border-radius: var(--r-xl); }
.bx-detail-bg { position: absolute; z-index: -1; inset: 0 0 auto 0; height: 150px; background: radial-gradient(90% 160% at 0% 0%, color-mix(in srgb, var(--lime) 55%, transparent), transparent 70%); pointer-events: none; }
.bx-detail-top { display: flex; gap: 18px; align-items: flex-start; }
.bx-detail h1 { font-size: clamp(32px, 6cqw, 48px); overflow-wrap: anywhere; }
.bx-tagline { color: var(--ink-2); font-size: 16.5px; margin: 6px 0 12px; max-width: 60ch; }
.bx-detail-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bx-ad-line { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: -6px; }
.bx-ad-line .bx-ad { cursor: default; }
.bx-notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-m); background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--sunken) 10px 20px); border: 1.5px dashed var(--line-2); }
.bx-notice-ic { width: 42px; height: 42px; border-radius: 14px; background: var(--pop); color: var(--pop-ink); display: grid; place-items: center; flex: none; }
.bx-notice b { display: block; font: 800 18px/1.25 var(--display); letter-spacing: -.01em; margin-bottom: 4px; }
.bx-notice p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.bx-notice p + p { margin-top: 6px; }
.bx-alt { padding: 20px; display: grid; gap: 14px; }
.bx-alt-head { display: flex; }
.bx-alt-head .chip { height: auto; min-height: 30px; padding: 4px 12px; white-space: normal; line-height: 1.25; }
.bx-alt p { color: var(--ink-2); font-size: 14.5px; }
.bx-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.bx-block { display: grid; gap: 14px; align-content: start; }
.bx-block h2 { font-size: 22px; }
.bx-score { display: flex; align-items: center; gap: 12px; }
.bx-score > b { font: 800 56px/1 var(--display); letter-spacing: -.04em; }
.bx-score span { font-weight: 750; line-height: 1.25; }
.bx-score small { display: block; font-weight: 600; color: var(--muted); font-size: 13px; }
.bx-bars { display: grid; gap: 9px; }
.bx-barline { display: grid; grid-template-columns: 104px minmax(0, 1fr) 30px; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 650; }
.bx-barline i { height: 8px; border-radius: 99px; background: var(--sunken); overflow: hidden; display: block; }
.bx-barline i b { display: block; height: 100%; border-radius: 99px; background: var(--ink); }
.bx-barline em { font-style: normal; font-weight: 800; text-align: right; }
.bx-kvs { margin: 0; display: grid; }
.bx-kv { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.bx-kv:first-child { border-top: 0; padding-top: 0; }
.bx-kv dt { color: var(--muted); font-weight: 650; font-size: 13.5px; line-height: 1.45; }
.bx-kv dd { margin: 0; font-weight: 650; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.bx-kv dd .num { white-space: nowrap; }
.bx-note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.bx-text { color: var(--ink-2); line-height: 1.6; max-width: 78ch; }
.bx-lead { font: 800 20px/1.25 var(--display); letter-spacing: -.015em; }
.bx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-tags .chip { height: auto; min-height: 28px; padding: 4px 11px; white-space: normal; font-size: 12.5px; line-height: 1.25; }
.bx-points { display: grid; gap: 10px; }
.bx-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; font-weight: 550; min-width: 0; }
.bx-points li > span { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--sunken); color: var(--muted); }
.bx-points li > span .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.bx-points.pro li > span { background: var(--lime); color: var(--lime-ink); }
.bx-points.check small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; font-weight: 600; }

/* Börsen-Finder */
#bx-quiz { display: grid; gap: 16px; }
.bx-quiz { padding: clamp(20px, 4cqw, 36px); border-radius: var(--r-xl); display: grid; gap: 14px; justify-items: start; max-width: 720px; width: 100%; margin: 0 auto; }
.bx-progress { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; width: 100%; }
.bx-progress i { height: 7px; border-radius: 99px; background: var(--sunken); transition: background .3s; }
.bx-progress i.done { background: var(--ink); }
.bx-progress i.now { background: var(--lime-2); }
.bx-quiz-top { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 34px; }
.bx-q-icon { width: 62px; height: 62px; border-radius: 22px; background: var(--lime-wash); display: grid; place-items: center; font-size: 32px; line-height: 1; transform: rotate(-6deg); }
.bx-quiz h2 { font-size: clamp(26px, 4.4cqw, 36px); }
.bx-q-sub { color: var(--muted); margin-top: -6px; }
.bx-options { display: grid; gap: 8px; width: 100%; margin-top: 6px; }
.bx-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 16px 10px 12px; border-radius: 18px; background: var(--surface-2); border: 1.5px solid var(--line); text-align: left; font-weight: 700; font-size: 16px; line-height: 1.3; transition: border-color .2s, background .2s, transform .18s var(--spring); }
.bx-option:hover { border-color: var(--ink); transform: translateX(3px); }
.bx-option:active { transform: scale(.985); }
.bx-option.is-on { background: var(--lime-wash); border-color: var(--lime-2); }
.bx-option[disabled] { opacity: .6; pointer-events: none; }
.bx-option kbd { width: 30px; height: 30px; border-radius: 10px; background: var(--surface); border: 1.5px solid var(--line-2); display: grid; place-items: center; font: 800 13px/1 var(--text); color: var(--muted); flex: none; }
.bx-option .ic { color: var(--faint); flex: none; }
#bx-quiz > .bx-foot { max-width: 720px; width: 100%; margin: 0 auto; }
.bx-result { display: grid; gap: 16px; }
.bx-result-head { padding: clamp(22px, 4cqw, 34px); border-radius: var(--r-xl); background: radial-gradient(110% 150% at 0% 0%, var(--lime), color-mix(in srgb, var(--lime) 30%, var(--surface)) 55%, var(--surface) 92%); border: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; color: var(--lime-ink); }
.bx-result-head .chip.lime { background: var(--pop); color: var(--pop-ink); }
.bx-result-head h2 { font-size: clamp(30px, 5.4cqw, 50px); line-height: 1.04; letter-spacing: -.035em; }
.bx-result-head .mark { color: var(--lime); white-space: normal; margin-left: .1em; }
.bx-result-head .mark::before { background: var(--ink); }
.bx-result-head p { font-weight: 600; color: color-mix(in srgb, var(--lime-ink) 80%, transparent); }
:root[data-theme='dark'] .bx-result-head { background: radial-gradient(110% 150% at 0% 0%, color-mix(in srgb, var(--lime) 42%, var(--surface)), var(--surface) 72%); color: var(--ink); }
:root[data-theme='dark'] .bx-result-head .mark { color: var(--lime-ink); }
:root[data-theme='dark'] .bx-result-head .mark::before { background: var(--lime); }
:root[data-theme='dark'] .bx-result-head p { color: var(--ink-2); }
.bx-matches { display: grid; gap: 12px; }
.bx-match { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.bx-ring { --p: 0; width: 86px; height: 86px; border-radius: 50%; display: grid; grid-auto-flow: column; place-content: center; align-items: baseline; gap: 1px; background: conic-gradient(var(--ink) calc(var(--p) * 1%), var(--sunken) 0); position: relative; isolation: isolate; flex: none; }
.bx-ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); z-index: -1; }
.bx-ring b { font: 800 27px/1 var(--display); letter-spacing: -.03em; }
.bx-ring small { font-weight: 800; font-size: 13px; color: var(--muted); }
.bx-match.is-first .bx-ring { background: conic-gradient(var(--lime-2) calc(var(--p) * 1%), var(--sunken) 0); }
.bx-match-body { display: grid; gap: 12px; min-width: 0; }
.bx-reason { font-weight: 650; color: var(--ink-2); }
.bx-result-acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* Einstiege außerhalb der Sektion: Seitenspalte und Entdecken */
.bx-side p { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.bx-banner { display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 20px; border-radius: 24px; background: var(--panel); color: var(--panel-ink); box-shadow: var(--shadow-1); transition: transform .25s var(--ease); }
.bx-banner:hover { transform: translateY(-2px); }
.bx-banner b { display: block; font: 800 20px/1.15 var(--display); letter-spacing: -.02em; }
.bx-banner small { display: block; font-size: 13.5px; line-height: 1.35; color: color-mix(in srgb, var(--panel-ink) 72%, transparent); margin-top: 3px; }
.bx-banner .btn { flex: none; }

/* Schmaler Inhalt */
@container bx (max-width: 820px) {
  .bx-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'id cta' 'status status' 'facts facts'; }
}
@container bx (max-width: 760px) {
  .bx-hero, .bx-two, .bx-bonus-grid { grid-template-columns: minmax(0, 1fr); }
  .bx-tabs { flex: 1 1 100%; }
  .bx-only { margin-left: 0; }
}
@container bx (max-width: 560px) {
  .bx-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'id' 'status' 'facts' 'cta'; padding: 14px; border-radius: 22px; }
  .bx-row > .bx-cta { justify-content: flex-start; }
  .bx-row > .bx-cta > .btn, .bx-row > .bx-cta > .bx-go, .bx-row > .bx-cta > .bx-go .btn { flex: 1; }
  .bx-more { display: none; }
  .bx-finder { padding: 22px; } .bx-top { padding: 22px 16px 16px; }
  .bx-detail { padding: 20px 16px; } .bx-detail-top { gap: 14px; } .bx-logo.xl { --s: 56px; }
  .bx-detail-cta .btn { flex: 1 1 100%; }
  .bx-kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .bx-match { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bx-ring { width: 72px; height: 72px; } .bx-ring b { font-size: 23px; }
  .bx-notice { padding: 14px; gap: 12px; } .bx-notice-ic { width: 36px; height: 36px; border-radius: 12px; }
  .bx-tabs > button { font-size: 13.5px; gap: 5px; padding: 0 4px; }
  .bx-result-acts .btn { flex: 1 1 auto; }
  .bx-match-body > .bx-cta > .grow, .bx-top > .bx-cta > .grow, .bx-alt > .bx-cta > .grow { display: none; }
  .bx-match-body > .bx-cta > .btn, .bx-match-body > .bx-cta > .bx-go, .bx-match-body > .bx-cta > .bx-go .btn { flex: 1; }
}
@container bx (max-width: 400px) {
  .bx-tabs > button i { display: none; }
  .kl-chip span { font-size: 12.5px; }
}
@media (max-width: 480px) { .bx-banner .btn { display: none; } }

/* Linke Leiste: mit dem Eintrag "Börsen" hat sie eine Zeile mehr. Bei niedrigem Fenster rücken die Einträge enger,
   damit das Konto unten nie abgeschnitten wird. Reicht auch das nicht, läuft die Leiste in sich (wie bisher). */
@media (max-height: 790px) and (min-width: 1181px) {
  .rail { gap: 8px; }
  .nav a { height: 36px; font-size: 15px; }
  .nav a .ic { width: 21px; height: 21px; }
}

/* Obere Leiste (bis 720 px): der kurze Weg zu den Börsen, sobald daneben Platz ist. Auf schmalen Handys führt Entdecken dorthin. */
.tb-boersen, .tb-label { display: none; }
@media (min-width: 430px) and (max-width: 720px) {
  .tb-boersen { display: inline-grid; }
  .tb-boersen.is-active { background: var(--ink); color: var(--lime); }
  :root[data-theme='dark'] .tb-boersen.is-active { background: var(--lime); color: var(--lime-ink); }
}
@media (min-width: 520px) and (max-width: 720px) { /* mit Platz steht das Wort dabei */
  .tb-boersen { display: inline-flex; align-items: center; gap: 6px; width: auto; height: 36px; padding: 0 13px 0 10px; margin-right: 2px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
  .tb-boersen .ic { width: 18px; height: 18px; }
  .tb-label { display: inline; }
  .tb-boersen.is-active { border-color: transparent; }
}
