/* BBC Jahresvergleich */
/* Gestaltung wie Plugin «Bärgloufcup Strecken» (Panel, Reiter, Umschalter) */
.bbc-jv { --jv-teal: #1CA3A8; --jv-deep: #0b6b70; --jv-ink: #1b2b2c; --jv-mute: #5d6d6e; --jv-panel: #f3f9f9; --jv-line: #dbe9ea; font-family: inherit; color: var(--jv-ink); line-height: 1.4; background: var(--jv-panel); border-radius: 16px; padding: 16px 16px 12px; }
.bbc-jv * { box-sizing: border-box; }
/* Reiter = .bbc-tab */
.bbc-jv__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; }
.bbc-jv .bbc-jv__tab { appearance: none !important; font: inherit; font-size: 14px !important; font-weight: 500 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important; border: 0 !important; border-radius: 6px !important; box-shadow: none !important; margin: 0 !important; cursor: pointer; padding: 7px 14px !important; min-height: 34px; background: rgba(28,163,168,.10) !important; color: var(--jv-deep) !important; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: background-color .15s, color .15s; }
.bbc-jv .bbc-jv__tab:hover { background: rgba(28,163,168,.18) !important; }
.bbc-jv .bbc-jv__tab.is-active { background: var(--jv-teal) !important; color: #fff !important; }
/* Umschalter = .bbc-st__toggle button */
.bbc-jv__controls { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 4px; height: 32px; margin-bottom: 10px; overflow: hidden; } /* feste Höhe: Diagramm springt nicht */
.bbc-jv .bbc-jv__pill { appearance: none !important; font: inherit; font-size: 13px !important; font-weight: 500 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important; border: 0 !important; border-radius: 6px !important; box-shadow: none !important; margin: 0 !important; cursor: pointer; padding: 6px 12px !important; min-height: 32px; background: rgba(28,163,168,.10) !important; color: var(--jv-deep) !important; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: background-color .15s; }
.bbc-jv .bbc-jv__pill:hover { background: rgba(28,163,168,.18) !important; }
.bbc-jv .bbc-jv__pill.is-active { background: var(--jv-teal) !important; color: #fff !important; }
.bbc-jv .bbc-jv__tab::after, .bbc-jv .bbc-jv__pill::after { display: none !important; }
.bbc-jv__tab:focus, .bbc-jv__pill:focus { outline: none; }
.bbc-jv__tab:focus-visible, .bbc-jv__pill:focus-visible { outline: 2px solid var(--jv-deep) !important; outline-offset: 2px; }
.bbc-jv__chart { position: relative; height: 360px; }
.bbc-jv__chart canvas { touch-action: pan-y; }
.bbc-jv__note { font-size: 13px; line-height: 1.5; color: var(--jv-mute); margin: 10px 0 6px; padding: 0; min-height: 4.5em; } /* Platz für 3 Zeilen */
.bbc-jv__disclaimer { font-size: 12px; line-height: 1.5; color: var(--jv-mute); opacity: .85; margin: 6px 0 2px; padding: 10px 0 0; border-top: 1px solid var(--jv-line); }
.bbc-jv__disclaimer a { color: inherit; text-decoration: underline; }
.bbc-jv__tablewrap { font-size: 14px; margin: 4px 0 6px; }
.bbc-jv__tablewrap summary { cursor: pointer; list-style: revert; color: var(--jv-deep); font-weight: 500; padding: 4px 0; }
.bbc-jv__table { overflow-x: auto; }
.bbc-jv__table table { border-collapse: collapse; width: 100%; margin-top: 6px; font-variant-numeric: tabular-nums; }
.bbc-jv__table th, .bbc-jv__table td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--jv-line); white-space: nowrap; }
.bbc-jv__table thead th { color: var(--jv-mute); font-weight: 500; font-size: 13px; }
@media (min-width: 600px) { .bbc-jv { padding: 18px 22px 12px; } }
@media (max-width: 600px) {
	.bbc-jv { padding: 14px 12px 8px; }
	.bbc-jv__controls { height: 68px; } /* bis 2 Zeilen Hügel */
	.bbc-jv__chart { height: 300px; }
	.bbc-jv__note { min-height: 7.5em; } /* 5 Zeilen */
}

/* Ranglisten-/Startlisten-Buttons (6 px wie Webseite) */
.bbc-jv-links__title { font-weight: 600; margin: 0 0 8px; }
.bbc-jv-links__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bbc-jv-links__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 6px; border: 1px solid #d1d5db; background: #fff; color: #17979b !important; font-weight: 600; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; font-variant-numeric: tabular-nums; }
.bbc-jv-links__btn:hover { border-color: #1ca3a8; background: #f0fafa; }
.bbc-jv-links__btn { position: relative; }
.bbc-jv-links__btn small { position: absolute; top: 3px; right: 5px; font-size: 9px; line-height: 1; font-weight: 600; letter-spacing: .04em; color: #9ca3af; }
.bbc-jv-links__btn--primary { background: #1ca3a8; border-color: #1ca3a8; color: #fff !important; padding: 0 22px; }
.bbc-jv-links__btn--primary:hover { background: #17979b; border-color: #17979b; }

/* Block «Start- & Ranglisten» */
.bbc-jv-listen { background: #fff; border-radius: 8px; padding: 20px 22px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.06); }
.bbc-jv-listen__title { margin: 0 0 14px !important; padding: 0 !important; font-size: 22px; font-weight: 600 !important; }
.bbc-jv-listen__row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #f0f1f3; }
.bbc-jv-listen__row--top { align-items: start; }
.bbc-jv-listen__row--top .bbc-jv-listen__label { padding-top: 10px; }
.bbc-jv-listen__label { font-weight: 600; color: #374151; }
.bbc-jv-listen .bbc-jv-links__grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.bbc-jv-listen .bbc-jv-links__btn--primary { justify-self: start; }
@media (max-width: 600px) {
	.bbc-jv-listen { padding: 16px; }
	.bbc-jv-listen__row { grid-template-columns: 1fr; gap: 8px; }
	.bbc-jv-listen__row--top .bbc-jv-listen__label { padding-top: 0; }
}
