/* FPA Counter (Steckbrief 0.3.7) – Theme-Seitenleiste aus, schmale Counter-Leiste links, Tabs + eine Tabelle. Mobil: Stats (Dein Platz, Highlights, 14-Tage) unter den Tabs, über der Rangliste. */
body.fpa-ct-seite .site-content .bcf-sidebar, body.fpa-ct-seite #secondary.widget-area { display: none !important; }
body.fpa-ct-seite .site-content .bcf-main-content { width: 100%; max-width: 100%; flex: 0 0 100%; -ms-flex: 0 0 100%; }
.fpa-ct { --b1: #3a6d9c; --b2: #349ddc; --b3: #0b6ab7; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; font-size: 15px; }
.fpa-ct *, .fpa-ct *::before, .fpa-ct *::after { box-sizing: border-box; }
.fpa-ct__leiste { display: grid; gap: 12px; align-self: start; margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important; }
.fpa-ct__inhalt { margin: 0 !important; min-width: 0; }
.fpa-ct__box { background: #fff; border: 1px solid #dfe5ec; border-radius: 10px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(20, 40, 70, .06); }
.fpa-ct__box h3 { margin: 0 0 8px !important; padding-bottom: 5px; border-bottom: 2px solid var(--b2); font-size: .98rem !important; font-weight: 800; color: #1f2328; }
.fpa-ct__box p { margin: 6px 0 0 !important; font-size: .88rem; }
.fpa-ct__mein { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 0 !important; font-size: .9rem; }
.fpa-ct__mein dt { font-weight: 600; color: #4a5560; margin: 0; }
.fpa-ct__mein dd { margin: 0; text-align: right; }
.fpa-ct__mein a { font-weight: 800; color: var(--b3); }
.fpa-ct__mein small { color: #5f6670; }
.fpa-ct__klein { color: #5f6670; font-size: .82rem !important; }
.fpa-ct__regeln { margin: 0 !important; padding-left: 18px !important; font-size: .85rem; color: #3b4450; }
.fpa-ct__regeln li { margin: 0 0 4px !important; }
.fpa-ct__tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--b2); margin-bottom: 10px; }
.fpa-ct__tabknopf { padding: 9px 18px; border-radius: 8px 8px 0 0; background: #eef3f8; color: #1f2328 !important; font-weight: 700; text-decoration: none !important; border: 1px solid #dfe5ec; border-bottom: 0; }
.fpa-ct__tabknopf { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.25; }
.fpa-ct__tabknopf span { display: block; min-width: 26px; padding: 0 7px; margin: 3px 0 0; border-radius: 999px; background: #fff; color: #4a5560; font-size: .78rem; font-weight: 600; text-align: center; }
.fpa-ct__tabknopf[aria-selected="true"] { background: var(--b3); color: #fff !important; border-color: var(--b3); }
.fpa-ct__tabknopf:focus-visible { outline: 2px solid var(--b2); outline-offset: 2px; }
.fpa-ct__panel[hidden] { display: none !important; }
.fpa-ct__tab { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #dfe5ec; border-radius: 10px; overflow: hidden; margin: 0 !important; }
.fpa-ct__tab th { background: #f2f6fa; text-align: left; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; color: #4a5560; padding: 8px 12px; border: 0; }
.fpa-ct__tab th:not(.fpa-ct__platz):not(.fpa-ct__anz), .fpa-ct__tab td:not(.fpa-ct__platz):not(.fpa-ct__anz) { text-align: left !important; }
.fpa-ct__tab th, .fpa-ct__tab td { border-left: 0 !important; border-right: 0 !important; vertical-align: middle; }
.fpa-ct__tab td { padding: 7px 12px; border: 0; border-top: 1px solid #edf1f5; }
.fpa-ct__tab td a { color: var(--b3); font-weight: 600; text-decoration: none; }
.fpa-ct__tab td a:hover { text-decoration: underline; }
.fpa-ct__tab tbody tr:nth-child(even) td { background: #fafcfe; }
.fpa-ct__platz { width: 70px; text-align: right !important; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--b1); }
.fpa-ct__anz { width: 110px; text-align: right !important; font-variant-numeric: tabular-nums; font-weight: 700; }
.fpa-ct__top .fpa-ct__platz { color: #b07d00; }
.fpa-ct__tab tr.fpa-ct__ich td { background: #fff4d6 !important; border-top: 2px solid #f0c040; border-bottom: 2px solid #f0c040; font-weight: 700; }
.fpa-ct__du { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--b3); color: #fff; font-size: .72rem; font-weight: 700; vertical-align: 1px; }
.fpa-ct__leer { padding: 12px; background: #f2f6fa; border-radius: 8px; }
.fpa-ct__tops { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 8px; }
.fpa-ct__topitem { display: grid; gap: 1px; padding: 8px 10px; border-radius: 8px; background: #f5f8fb; border: 1px solid #e4ebf2; }
.fpa-ct__toptitel { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #5f6670; }
.fpa-ct__topname { font-weight: 700; color: #1f2328; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fpa-ct__toplist { list-style: none; margin: 4px 0 0 !important; padding: 0 !important; display: grid; gap: 2px; }
.fpa-ct__toplist li { display: grid; grid-template-columns: 20px minmax(0,1fr) auto; gap: 6px; align-items: baseline; margin: 0 !important; }
.fpa-ct__toppl { font-size: .78rem; font-weight: 700; color: #5f6670; font-variant-numeric: tabular-nums; }
.fpa-ct__toplist li:first-child .fpa-ct__topname { font-size: .92rem; }
.fpa-ct__toplist .fpa-ct__topanz { font-size: .9rem; }
.fpa-ct__toplist li:first-child .fpa-ct__topanz { font-size: 1.05rem; }
.fpa-ct__topname a { color: var(--b3); text-decoration: none; }
.fpa-ct__topanz { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--b1); font-size: 1.05rem; }
.fpa-ct__topitem--coaster { background: linear-gradient(135deg, #fff8e8, #f5f8fb); border-color: #f0d48a; }
.fpa-ct__topitem--wasser { background: linear-gradient(135deg, #eaf6ff, #f5f8fb); border-color: #b7d7ef; }
@media (max-width: 767px) {
  /* Mobil: Tabs → Stats/Highlights → Rangliste (ohne an hunderten Zeilen vorbei zu scrollen). */
  .fpa-ct { display: flex; flex-direction: column; gap: 12px; }
  .fpa-ct__inhalt { display: contents; }
  .fpa-ct__tabs { order: 1; margin-bottom: 0; }
  .fpa-ct__leiste { order: 2; position: static; }
  .fpa-ct__panel { order: 3; }
  .fpa-ct__tops { grid-template-columns: 1fr 1fr; }
  .fpa-ct__topitem { padding: 7px 7px; }
  .fpa-ct__toptitel { font-size: .66rem; letter-spacing: .01em; }
  .fpa-ct__toplist li { grid-template-columns: 13px minmax(0,1fr) auto; gap: 3px; }
  .fpa-ct__toppl { font-size: .7rem; }
  .fpa-ct__toplist .fpa-ct__topname, .fpa-ct__toplist li:first-child .fpa-ct__topname { font-size: .8rem; }
  .fpa-ct__toplist .fpa-ct__topanz, .fpa-ct__toplist li:first-child .fpa-ct__topanz { font-size: .8rem; }
  .fpa-ct__tabknopf { flex: 1; text-align: center; padding: 9px 8px; }
  .fpa-ct__tab td, .fpa-ct__tab th { padding: 7px 8px; }
  .fpa-ct__platz { width: 52px; } .fpa-ct__anz { width: 80px; }
}
