
.wrap { width: min(900px, 100% - 32px); margin: 0 auto; padding: 20px 0 32px; }
main { margin-top: 6px; } section { margin-top: 26px; }
h2 { font-size: 1.05rem; font-weight: 650; margin: 0 0 10px; } h3 { font-size: 1.05rem; font-weight: 650; margin: 6px 0 2px; }
h3 a, .liste a { color: var(--foreground); text-decoration: none; }
.leise { color: var(--muted-foreground); font-size: .86rem; }
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.heute .kopfzeile { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.heute .strecke { margin: 0 0 2px; } .heute p { margin: 2px 0; }
.stand { margin-top: 8px !important; font-weight: 600; } .stand a { color: var(--foreground); }
.laeuft { color: var(--danger); display: flex; align-items: center; gap: 6px; }
.puls { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
@media (prefers-reduced-motion: no-preference) { .puls { animation: puls 1.6s ease-in-out infinite; } }
@keyframes puls { 50% { opacity: .3; } }
.wetter { font-size: .88rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.liste { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.liste li { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 14px; border-top: 1px solid var(--border); }
.liste li:first-child { border-top: 0; }
.liste .wann { color: var(--muted-foreground); font-size: .84rem; font-variant-numeric: tabular-nums; }
.liste .rechts { color: var(--muted-foreground); font-size: .84rem; text-align: right; }
.liste small { display: block; color: var(--muted-foreground); font-size: .8rem; }
.liste .vorbei a { color: var(--muted-foreground); }
/* ganze Zeile antippbar (16.11.2026): der Rennlink deckt die Zeile, weitere Links (Sieger) liegen darüber */
.liste li.rennen, .liste li.hoehe, .liste li.etappe { position: relative; min-height: 44px; }
.liste li.rennen > span > a:first-child::after, .liste li.etappe > span > a:first-child::after, .liste li.hoehe > a::after { content: ""; position: absolute; inset: 0; }
.liste .rechts a, .liste .sieger a { position: relative; z-index: 1; }
.liste li.rennen:active, .liste li.hoehe:active, .liste li.etappe:active { background: var(--muted); }
.filter { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--muted); margin-top: 4px; }
.filter input { position: absolute; opacity: 0; pointer-events: none; }
.filter label { padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 550; color: var(--muted-foreground); cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease; }
.filter input:checked + label { background: var(--card); color: var(--foreground); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.filter input:focus-visible + label { outline: 2px solid var(--ring); outline-offset: 1px; }
main:has(#k-ME:checked) [data-kat="WE"], main:has(#k-WE:checked) [data-kat="ME"] { display: none; }
.startliste > summary { cursor: pointer; font-weight: 650; padding: 6px 0; list-style: none; display: flex; gap: 8px; align-items: baseline; }
.startliste > summary::-webkit-details-marker { display: none; }
.startliste > summary::before { content: "›"; display: inline-block; width: 12px; color: var(--muted-foreground); transition: transform 200ms cubic-bezier(.23,1,.32,1); }
.startliste[open] > summary::before { transform: rotate(90deg); }
.teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 20px; margin-top: 8px; }
.team h3 { font-size: .92rem; margin: 0 0 4px; } .team h3 a { color: var(--foreground); }
.team ul { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.team li { display: flex; gap: 6px; align-items: baseline; padding: 2px 0; } .team li a { color: var(--foreground); text-decoration: none; }
.team .nr { min-width: 2rem; color: var(--muted-foreground); font-variant-numeric: tabular-nums; font-size: .8rem; }
.team li.raus a { color: var(--muted-foreground); text-decoration: line-through; } .team li small { color: var(--muted-foreground); font-size: .76rem; }
@media (prefers-reduced-motion: reduce) { .startliste > summary::before { transition: none; } }
/* Reiter (01.11.2026): wie die Filter-Pillen, Inhalt per :has ohne JavaScript */
.reiter { margin-top: 18px; } .reiter-leiste { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--muted);
  overflow-x: auto; scrollbar-width: none; width: fit-content; max-width: 100%; }
.reiter-leiste::-webkit-scrollbar { display: none; }
.reiter-leiste input { position: absolute; opacity: 0; pointer-events: none; }
.reiter-leiste label { flex: none; padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 550; color: var(--muted-foreground);
  cursor: pointer; transition: background-color 160ms cubic-bezier(.23,1,.32,1), color 160ms cubic-bezier(.23,1,.32,1); }
.reiter-leiste input:checked + label { background: var(--card); color: var(--foreground); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.reiter-leiste input:focus-visible + label { outline: 2px solid var(--ring); outline-offset: 1px; }
.reiter-leiste label:active { transform: scale(.97); }
.reiter-inhalt { display: none; } .reiter-inhalt > section:first-child { margin-top: 18px; }
.reiter:has(.reiter-leiste > input:nth-of-type(1):checked) > .reiter-inhalt[data-r="1"] { display: block; }
.reiter:has(.reiter-leiste > input:nth-of-type(2):checked) > .reiter-inhalt[data-r="2"] { display: block; }
.reiter:has(.reiter-leiste > input:nth-of-type(3):checked) > .reiter-inhalt[data-r="3"] { display: block; }
.reiter:has(.reiter-leiste > input:nth-of-type(4):checked) > .reiter-inhalt[data-r="4"] { display: block; }
.reiter:has(.reiter-leiste > input:nth-of-type(5):checked) > .reiter-inhalt[data-r="5"] { display: block; }
.reiter:has(.reiter-leiste > input:nth-of-type(6):checked) > .reiter-inhalt[data-r="6"] { display: block; }
/* Strecke: Profil, Karte, Wind */
.profil-box { margin: 10px 0 4px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 8px 6px 2px; }
svg.profil { width: 100%; height: auto; max-width: 720px; display: block; } svg.profil.klein { height: 34px; margin-top: 4px; max-width: none; }
.pf-flaeche { fill: color-mix(in srgb, var(--primary) 18%, transparent); } .pf-linie { fill: none; stroke: var(--primary); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.pf-raster { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; } .pf-text { fill: var(--muted-foreground); font-size: 15px; }
.pf-kat { fill: var(--foreground); font-size: 15px; font-weight: 700; }
.anstiege small { display: block; } .pf-live { stroke: var(--danger); stroke-width: 1.5; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.pf-punkt { fill: var(--danger); }
svg.karte { width: 100%; max-width: 320px; height: auto; display: block; }
.kt-linie { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linejoin: round; } .kt-marke { fill: var(--card); stroke: var(--muted-foreground); }
.kt-start { fill: var(--success); } .kt-ziel { fill: var(--foreground); }
.kat { display: inline-block; min-width: 1.9rem; text-align: center; border-radius: 6px; font-size: .74rem; font-weight: 700; padding: 1px 4px;
  background: var(--muted); color: var(--foreground); } .kat.kHC, .kat.k1 { background: var(--danger); color: #fff; } .kat.k2, .kat.k3 { background: var(--warning); color: #111; }
.wind { margin: 10px 0; } .wind-ampel { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin: 0 0 6px; }
.wind-ampel .punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--success); }
.wind-ampel.gelb .punkt { background: var(--warning); } .wind-ampel.rot .punkt { background: var(--danger); }
.wind-ampel.klein { font-size: .78rem; font-weight: 550; margin: 0; } .wind-ampel.klein .punkt { width: 8px; height: 8px; }
.windband { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 1px; background: var(--border); }
.windband .wb { background: var(--success); } .windband .gelb { background: var(--warning); } .windband .rot { background: var(--danger); } .windband .leer { background: var(--muted); }
.live-pos { display: flex; align-items: center; gap: 6px; color: var(--danger); font-weight: 600; margin: 6px 0 0; }
/* Fahrer, Favoriten, Suche */
.zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); overflow: hidden; }
.zahlen > div { padding: 12px 14px; border-left: 1px solid var(--border); display: grid; gap: 2px; } .zahlen > div:first-child { border-left: 0; }
.zahlen b { font-size: 1.5rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.1; } .zahlen span { color: var(--muted-foreground); font-size: .8rem; }
.fussnote { margin: 8px 2px 0; }
.liste.favoriten li { grid-template-columns: 1.4rem 1.8rem minmax(0, 1fr); gap: 8px; padding: 9px 14px; }
.favoriten .nr { color: var(--muted-foreground); font-variant-numeric: tabular-nums; } .favoriten .land { min-width: 0; }
.favoriten a { color: var(--foreground); font-weight: 600; text-decoration: none; }
.achten small { display: block; color: var(--muted-foreground); font-size: .8rem; }
.erg tr.sieg td { font-weight: 600; } .erg tr.sieg .pokal { margin: 0; }
.wertungen { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 24px; }
.suchfeld { margin-top: 14px; } .suchfeld .ui-input { font-size: 16px; } .achten { margin: 0; padding-left: 1.2rem; display: grid; gap: 4px; }
.liste.kurz li { grid-template-columns: 5.6rem minmax(0, 1fr); } .liste.kurz a { color: var(--foreground); }
.liste.suche li { grid-template-columns: 4.6rem minmax(0, 1fr); } .liste.suche .art { color: var(--muted-foreground); font-size: .8rem; }
.erg td a { color: var(--foreground); text-decoration: none; }
.mehr { margin: 8px 2px 0; font-size: .88rem; } .mehr a { color: var(--muted-foreground); }
.vorspann { margin: -4px 0 10px; } .veraltet { margin-top: 8px; } .veraltet a { color: inherit; }
.liste li.hoehe { grid-template-columns: minmax(0, 1fr) auto; }
.hoehe .sieger { font-weight: 600; text-align: right; }
.pokal { width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; color: var(--warning); flex: none; }
.monat { margin-top: 8px; } .monat > summary { cursor: pointer; padding: 8px 4px; font-weight: 600; list-style: none; display: flex; gap: 8px; align-items: baseline; }
.monat > summary::-webkit-details-marker { display: none; }
.monat > summary::before { content: "›"; display: inline-block; width: 12px; color: var(--muted-foreground); transition: transform 150ms ease; }
.monat[open] > summary::before { transform: rotate(90deg); }
/* Bedienung (Emil Kowalski): ganze Zeile tippbar, Rückmeldung beim Drücken, Hover nur mit Maus */
.liste li { position: relative; transition: background-color 150ms ease; }
.liste li a:first-of-type::after { content: ""; position: absolute; inset: 0; }
.liste li:active { background: var(--muted); }
.filter label { transition: background-color 160ms cubic-bezier(.23,1,.32,1), color 160ms cubic-bezier(.23,1,.32,1), transform 160ms cubic-bezier(.23,1,.32,1); }
.filter label:active { transform: scale(.97); }
.monat > summary { border-radius: calc(var(--radius) - 4px); }
.monat > summary:active { background: var(--muted); }
.monat > summary::before { transition: transform 200ms cubic-bezier(.23,1,.32,1); }
@media (hover: hover) and (pointer: fine) { .liste li:hover { background: color-mix(in srgb, var(--muted) 60%, var(--card)); } .liste li:hover a { color: var(--foreground); } }
@media (prefers-reduced-motion: reduce) { .filter label, .monat > summary::before, .liste li { transition: none; } .filter label:active { transform: none; } }
.ui-table.erg { width: 100%; } .erg td { padding-top: 7px; padding-bottom: 7px; vertical-align: top; }
.erg .zahl { width: 2rem; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.erg .rechts { text-align: right; white-space: nowrap; width: 1%; }
.erg .wer-in { display: flex; gap: 6px; align-items: baseline; } .erg .wer .n { min-width: 0; }
.erg .wer a { color: var(--foreground); text-decoration: none; font-weight: 550; }
.erg .wer small { display: block; font-size: .78rem; } .erg .wer small a { color: var(--muted-foreground); font-weight: 400; }
.land { flex: none; display: inline-block; min-width: 1.6rem; font-size: .75rem; font-weight: 600; color: var(--muted-foreground); letter-spacing: .02em; }
.fuehrende { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 8px 24px; }
.fuehrende li { display: flex; align-items: center; gap: 8px; } .fuehrende a { color: var(--foreground); font-weight: 550; text-decoration: none; }
.fuehrende .was { color: var(--muted-foreground); font-size: .84rem; min-width: 4.6rem; }
.trikot { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--border); flex: none; }
.t-kom-blau { background: radial-gradient(#2563eb 30%, #fff 32%) 0 0 / 4px 4px; } .t-gc { background: #facc15; } .t-points { background: #16a34a; } .t-kom { background: repeating-conic-gradient(#dc2626 0 25%, #fff 0 50%) 0 0 / 6px 6px; } .t-youth { background: #fff; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .zwei > div { min-width: 0; }
.ui-pills { margin-top: 14px; }
.quelle { margin-top: 28px; color: var(--muted-foreground); font-size: .8rem; text-align: center; line-height: 1.6; }
.quelle a { color: var(--muted-foreground); }
@media (hover: hover) and (pointer: fine) { h3 a:hover, .erg .wer a:hover, .fuehrende a:hover { color: var(--primary); } }
@media (max-width: 620px) {
  .wrap { width: calc(100% - 24px); padding-top: 14px; }
  .liste li { grid-template-columns: 5.4rem minmax(0, 1fr); } .liste .rechts { grid-column: 2; text-align: left; }
  .zwei { grid-template-columns: 1fr; }
}
