/* 14.11.2026 (Sebastian): Handy-Ueberarbeitung. Diese Datei wird nur bis 760 px Breite geladen
   (media-Attribut im <link>) und zuletzt eingebunden; der Desktop bleibt unveraendert. */

/* ============ Grundraster ============ */
:root{--h-glas:linear-gradient(150deg,#ddefe1 0%,#cbe5d1 100%);--h-glas-kontur:#6d987b55;--h-rand:16px;--h-abstand:40px;--h-karte:20px;--h-radius:18px;--h-gruen-tief:#1d3e30;--h-gruen:#2a5240;--h-flaeche:#ffffff;--h-linie:#21443518}

/* ============ Startseite: Aufmacher nach Saisonende ============ */
.startseite main:has(.mh-saison) .home-intro,
.startseite main:has(.mh-saison) .saison-bilanz{display:none!important}
html body main .mh-saison{display:block;position:relative;overflow:hidden;margin:14px 0 var(--h-abstand);padding:26px 18px 20px;border-radius:24px;
  background:radial-gradient(120% 70% at 100% 0,#4d7d63 0,transparent 60%),linear-gradient(165deg,#2c5843 0,#1d3e30 100%);color:#fff;box-shadow:0 18px 40px -18px #1d3e30aa}
html body main .mh-saison .mh-kicker{margin:0 0 10px;font:600 12px/1 var(--head);letter-spacing:.16em;text-transform:uppercase;color:var(--messing-hell)}
html body main .mh-saison h1{margin:0;font:700 46px/.92 var(--head);text-transform:uppercase;color:#fff;letter-spacing:-.005em}
html body main .mh-saison h1 em{display:block;font-style:normal;color:var(--messing-hell)}
html body main .mh-saison .mh-zahlen{display:grid;grid-template-columns:repeat(3,1fr);margin:20px 0 18px;padding:9px 0 14px;border-top:1px solid #ffffff26;border-bottom:1px solid #ffffff26}
html body main .mh-saison .mh-zahlen div{display:flex;flex-direction:column-reverse;gap:4px;padding:0 10px;border-left:1px solid #ffffff1f}
html body main .mh-saison .mh-zahlen div:first-child{padding-left:0;border-left:0}
html body main .mh-saison .mh-zahlen dd{margin:0;font:700 34px/1 var(--head);color:#fff}
html body main .mh-saison .mh-zahlen dt{font:600 11px/1.2 var(--head);letter-spacing:.08em;text-transform:uppercase;color:#ffffffb3}
html body main .mh-saison .mh-karten{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html body main .mh-saison .mh-karte{position:relative;overflow:hidden;display:flex;flex-direction:column;border-radius:16px;background:linear-gradient(160deg,#ffffff1f,#ffffff0a);border:1px solid #ffffff24}
html body main .mh-saison .mh-text{padding:12px 13px 0}
html body main .mh-saison .mh-rolle{display:block;font:600 10.5px/1.2 var(--head);letter-spacing:.1em;text-transform:uppercase;color:var(--messing-hell)}
html body main .mh-saison .mh-karte h3,html body main .mh-saison .mh-karte h3 a{margin:5px 0 0;font:600 20px/1.02 var(--head)!important;color:#fff!important;text-decoration:none;letter-spacing:0}
html body main .mh-saison :is(.mh-trikot,.mh-pferd) h3{min-height:2.04em}
html body main .mh-saison .mh-wert{margin:6px 0 0;font:500 12.5px/1 var(--sans);color:#ffffffc7}
html body main .mh-saison .mh-wert b{font:700 22px/1 var(--head);color:var(--messing-hell);margin-right:3px}
html body main .mh-saison .mh-bild{pointer-events:none;flex:1 1 auto;display:flex;align-items:center;justify-content:center}
html body main .mh-saison .mh-person .mh-bild{margin-top:10px;height:104px;flex:none;background:#cfe9d6;border-top:1px solid #ffffff2e;overflow:hidden}
html body main .mh-saison .mh-person .mh-bild img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:50% 22%!important;border-radius:0!important;transform:none!important;position:static!important}
html body main .mh-saison .mh-trikot .mh-bild{padding:10px 0 14px;min-height:96px}
html body main .mh-saison .mh-trikot .mh-bild img{display:block;width:62px!important;height:auto!important;filter:drop-shadow(0 6px 12px #0005)}
html body main .mh-saison .mh-pferd .mh-bild{padding:14px 14px 12px;min-height:96px}
html body main .mh-saison .mh-pferd .pf-flaeche{aspect-ratio:auto;width:100%;height:68px;display:block}
html body main .mh-saison .mh-pferd .pf-flaeche img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;filter:drop-shadow(0 8px 10px #0006)!important}
html body main .mh-saison .mh-ausblick{margin:16px 0 14px;font:400 14px/1.45 var(--sans);color:#ffffffcc}
html body main .mh-saison .mh-ausblick a{color:#fff;text-decoration:underline;text-underline-offset:3px}
html body main .mh-saison .mh-link{display:flex;align-items:center;justify-content:center;gap:8px;height:46px;border-radius:12px;background:var(--messing-hell);color:var(--h-gruen-tief);font:700 14px/1 var(--head);letter-spacing:.1em;text-transform:uppercase;text-decoration:none}
html body main .mh-saison .mh-link::after{content:'→'}

/* ============ Startseite: Geschichten-Karten ohne Leerraum ============ */
html body.startseite main .home-story-row{display:flex!important;flex-direction:column;gap:28px!important;grid-template-rows:none!important;height:auto!important}
html body.startseite main .home-story-row>*,html body.startseite main .home-story-deck,html body.startseite main .home-story-card{height:auto!important;min-height:0!important}
html body.startseite main .home-story-card{padding:18px!important;border-radius:var(--h-radius)!important}
html body.startseite main .home-story-card .home-story-controls{margin-top:14px!important}
html body.startseite main .home-story-row .home-story-deck article.home-story-card[data-editorial-rejected=true]{display:none!important}
html body.startseite main .home-story-card .home-story-controls{position:static!important;inset:auto!important;margin-top:16px!important;justify-content:flex-end}

/* Letzter Sieger: Pferdebild nicht hoeher als 200 px */
html body.startseite main .home-winner.hw2.hw-mit-bild .hw-bild-box{max-height:200px!important;margin:6px auto 4px!important;aspect-ratio:auto!important;height:200px!important}
html body.startseite main .home-winner.hw2.hw-mit-bild .hw-bild-box img{max-height:200px!important;height:200px!important;width:auto!important;margin:0 auto;object-fit:contain}

/* Familien: seitlich wischen statt vier Karten untereinander */
html body.startseite main .gf-family-grid{display:flex!important;gap:12px!important;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 calc(-1*var(--h-rand))!important;padding:2px var(--h-rand) 14px!important;scrollbar-width:none}
html body.startseite main .gf-family-grid::-webkit-scrollbar{display:none}
html body.startseite main .gf-family-grid>.gf-family-card{flex:0 0 86%!important;scroll-snap-align:center;margin:0!important}
html body.startseite main .gf-family-spotlights :is(.gf-family-nav,.gf-family-controls,[data-family-prev],[data-family-next]){display:none!important}

/* ============ Profile: Saison- und Karriereliste kompakt und hell ============ */
html body main :is(#saison,#karriere,.profile-current,.partner-results){padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;margin:36px 0 0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results)>header{margin:0 0 12px!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0 0 12px!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics>div{min-width:0}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics .stat-knopf{display:flex!important;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:10px;width:100%;height:auto!important;min-height:0!important;padding:10px 8px!important;border-radius:12px!important;background:var(--h-glas)!important;background-image:none!important;border:1px solid var(--h-glas-kontur)!important;box-shadow:none!important;text-align:left}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics .stat-knopf[aria-pressed=true]{background:var(--ink)!important;border-color:var(--ink)!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics .stat-knopf[aria-pressed=true] :is(dt,dd){color:#fff!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics dt{font:600 9.5px/1.15 var(--head)!important;letter-spacing:.06em!important;text-transform:uppercase;color:var(--dim)!important;margin:0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics dd{font:700 24px/1 var(--head)!important;color:var(--ink)!important;margin:0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .tabwrap{background:var(--h-glas)!important;border:1px solid var(--h-glas-kontur)!important;border-radius:var(--h-radius)!important;padding:0 14px!important;box-shadow:0 1px 2px #1d3e300d,0 10px 24px -16px #1d3e3047!important;overflow:hidden}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table){min-width:0!important;width:100%!important;border-collapse:collapse;background:transparent!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results)>footer{padding:12px 2px 0!important;display:flex;justify-content:space-between;align-items:center}

html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics>div{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics dt{font-size:10.5px!important;line-height:1.15!important}

/* ============ Duo-Seite (Jockey mit Trainer): runde Portraets statt angeschnittener Flaechen ============ */
html body main .partner-results .partner-navigation{display:flex;justify-content:space-between;gap:12px;margin:6px 0 14px!important}
html body main .partner-results .partner-navigation a{font:600 12px/1.2 var(--head)!important;letter-spacing:.08em}
html body main header.partner-duo-hero{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-areas:"l r" "c c"!important;gap:16px 14px!important;align-items:center;
  padding:24px 18px 22px!important;margin:0 0 16px!important;border-radius:22px!important;overflow:hidden;min-height:0!important;height:auto!important;
  background:radial-gradient(120% 80% at 50% 0,#4d7d63 0,transparent 60%),linear-gradient(165deg,#2c5843,#1d3e30)!important;border:0!important;box-shadow:0 18px 40px -20px #1d3e30aa!important;clip-path:none!important}
html body main header.partner-duo-hero::before,html body main header.partner-duo-hero::after{content:none!important;display:none!important}
html body main header.partner-duo-hero>figure{grid-area:l;position:relative!important;inset:auto!important;width:104px!important;height:104px!important;margin:0!important;padding:0!important;border-radius:50%!important;overflow:hidden!important;
  background:#cfe9d6!important;border:3px solid #ffffff33!important;box-shadow:0 10px 24px -10px #000a!important;clip-path:none!important;transform:none!important;justify-self:end}
html body main header.partner-duo-hero>figure.partner-hero-right{grid-area:r;justify-self:start}
html body main header.partner-duo-hero>figure img{position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:50% 18%!important;clip-path:none!important;transform:none!important;margin:0!important}
html body main header.partner-duo-hero .partner-heading-copy{grid-area:c;position:static!important;inset:auto!important;width:auto!important;padding:0!important;margin:0!important;background:none!important;clip-path:none!important;transform:none!important;text-align:center}
html body main header.partner-duo-hero .partner-heading-copy::before,html body main header.partner-duo-hero .partner-heading-copy::after{content:none!important}
html body main header.partner-duo-hero h1{margin:0!important;font:700 28px/1.02 var(--head)!important;text-transform:uppercase;color:#fff!important}
html body main header.partner-duo-hero h1 :is(.partner-hero-name,.partner-hero-relation){display:block}
html body main header.partner-duo-hero h1 .partner-hero-relation{color:var(--messing-hell)!important;font-size:22px!important;margin-top:4px}
html body main header.partner-duo-hero .partner-heading-line{display:none!important}
html body main .partner-results .partner-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0 0 12px!important}
html body main .partner-results .partner-metrics>div{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-width:0}
html body main .partner-results .partner-metrics :is(button,.partner-horse-total){display:flex!important;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:10px;width:100%;height:auto!important;min-height:0!important;padding:10px!important;border-radius:12px!important;background:var(--h-glas)!important;background-image:none!important;border:1px solid var(--h-glas-kontur)!important;box-shadow:none!important;text-align:left}
html body main .partner-results .partner-metrics button[aria-pressed=true]{background:var(--ink)!important;border-color:var(--ink)!important}
html body main .partner-results .partner-metrics button[aria-pressed=true] :is(dt,dd){color:#fff!important}
html body main .partner-results .partner-metrics dt{font:600 10.5px/1.15 var(--head)!important;letter-spacing:.06em!important;text-transform:uppercase;color:var(--dim)!important;margin:0!important}
html body main .partner-results .partner-metrics dd{font:700 24px/1 var(--head)!important;color:var(--ink)!important;margin:0!important}
html body main .partner-results table.partner-results-table td.ps-platz{font:700 20px/1 var(--head)!important;color:var(--messing-tief)!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics button[aria-pressed=true]{background:var(--ink)!important;border-color:var(--ink)!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) .profile-season-metrics button[aria-pressed=true] :is(dt,dd){color:#fff!important}

/* ============ Pferdeprofil: Aufmacher dunkel wie bei Personen, Kacheln als Glas ============ */
html body main section.horse-profile.hp-calm{background:radial-gradient(120% 60% at 100% 0,#4d7d63 0,transparent 60%),linear-gradient(165deg,#2c5843,#1d3e30)!important;border:0!important;border-radius:22px!important;padding:20px 16px 18px!important;color:#fff!important;box-shadow:0 18px 40px -20px #1d3e30aa!important}
html body main section.horse-profile.hp-calm .horse-profile-titlerow{display:flex!important;align-items:center;gap:10px;flex-direction:row-reverse;justify-content:flex-end;max-width:calc(100% - 96px)!important;width:auto!important;flex-wrap:nowrap}
html body main section.horse-profile.hp-calm h1{color:#fff!important;font:700 34px/.95 var(--head)!important;text-transform:uppercase;margin:0!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;min-width:0;flex:1 1 auto}
html body main section.horse-profile.hp-calm .horse-profile-titlerow .detail-silk{width:34px!important;height:auto!important;flex:none}
html body main section.horse-profile.hp-calm .horse-profile-heading :is(p,.horse-profile-sub,.hp-abstammung,small){color:#ffffffc7!important}
html body main section.horse-profile.hp-calm :is(.horse-profile-connections,.hp-metrics,.hp-overview)>*:not(script){background:#ffffff14!important;background-image:none!important;border:1px solid #ffffff21!important;box-shadow:none!important;border-radius:14px!important;color:#fff!important}
html body main section.horse-profile.hp-calm :is(.horse-profile-connections,.hp-metrics,.hp-overview) :is(dd,dd a,strong,b,a){color:#fff!important}
html body main section.horse-profile.hp-calm .hp-visual{margin:4px 0 10px!important}
html body main section.horse-profile.hp-calm :is(p,span,a,li,dd,small,em){color:#fff!important}
html body main section.horse-profile.hp-calm .horse-profile-heading :is(p,span,small,em){color:#ffffffc7!important}
html body main section.horse-profile.hp-calm .horse-profile-heading a{color:var(--messing-hell)!important;text-decoration:none}
html body main section.horse-profile.hp-calm dt{color:var(--messing-hell)!important}
html body main section.horse-profile.hp-calm :is(.horse-profile-connections,.hp-overview)>*:not(:has(img))::before,
html body main section.horse-profile.hp-calm :is(.horse-profile-connections,.hp-overview)>*:not(:has(img))::after{content:none!important;display:none!important}
/* ============ Rennergebnis: eine helle Liste statt einzelner Karten ============ */
html body main .tabwrap:has(>table.result-table){background:var(--h-glas)!important;border:1px solid var(--h-glas-kontur)!important;border-radius:var(--h-radius)!important;padding:0 14px!important;box-shadow:0 1px 2px #1d3e300d,0 10px 24px -16px #1d3e3047!important;overflow:hidden}
html body main table.result-table{min-width:0!important;width:100%!important;background:transparent!important;border-collapse:collapse}
html body main table.result-table thead{display:none!important}
html body main table.result-table tbody tr{display:grid!important;grid-template-columns:24px minmax(0,1fr) auto!important;grid-template-areas:"p h g" ". j a"!important;grid-template-rows:auto auto!important;column-gap:10px!important;row-gap:4px!important;align-items:center;padding:12px 0!important;margin:0!important;border:0!important;border-bottom:1px solid var(--h-linie)!important;background:transparent!important;background-image:none!important;border-radius:0!important;box-shadow:none!important}
html body main table.result-table tbody tr:last-child{border-bottom:0!important}
html body main table.result-table tbody td{display:block!important;padding:0!important;border:0!important;background:transparent!important;height:auto!important;min-height:0!important;width:auto!important;text-align:left!important;position:static!important}
html body main table.result-table tbody td::before{content:none!important;display:none!important}
html body main table.result-table tbody td:nth-child(1){grid-area:p!important;align-self:start;padding-top:3px!important}
html body main table.result-table tbody td:nth-child(1) .platz{font:700 18px/1 var(--head)!important;color:var(--ink)!important;background:none!important;width:auto!important;height:auto!important;padding:0!important}
html body main table.result-table tbody td:nth-child(1) .platz.p1{color:var(--messing-tief)!important}
html body main table.result-table tbody td:nth-child(2){grid-area:h!important;min-width:0}
html body main table.result-table tbody td:nth-child(3){grid-area:j!important;display:flex!important;flex-wrap:wrap;gap:0 6px;font:400 13px/1.3 var(--sans)!important;color:var(--dim)!important;min-width:0}
html body main table.result-table tbody td:nth-child(3)>div::after{content:' ·';color:var(--dim)}
html body main table.result-table tbody td:nth-child(3) :is(a,small,div,span){font:inherit!important;color:inherit!important;display:inline!important;margin:0!important}
html body main table.result-table tbody td:nth-child(4){grid-area:a!important;justify-self:end;font:400 12.5px/1.3 var(--sans)!important;color:var(--dim)!important;white-space:nowrap}
html body main table.result-table tbody td:nth-child(5){grid-area:g!important;justify-self:end;align-self:start;font:600 15px/1.2 var(--head)!important;color:var(--ink)!important;white-space:nowrap}
html body main table.result-table .result-horse{display:flex!important;align-items:center;gap:10px;min-width:0}
html body main table.result-table .result-horse .result-silk{width:28px!important;height:auto!important;flex:none}
html body main table.result-table .result-horse strong,html body main table.result-table .result-horse strong a{display:block;font:600 17px/1.15 var(--head)!important;color:var(--ink)!important}
html body main table.result-table .result-horse small{display:block;font:400 12.5px/1.3 var(--sans)!important;color:var(--dim)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body main table.result-table .result-horse>div{min-width:0}
html body main table.result-table tbody{background:transparent!important}
html body main table.result-table tbody td:nth-child(3) *::before,html body main table.result-table tbody td:nth-child(3)::before,html body main table.result-table tbody td:nth-child(3) *::after{content:none!important;display:none!important}
html body main table.result-table tbody td:nth-child(3)>div::after{content:' ·'!important;display:inline!important}
html body main table.result-table tbody td{grid-row:auto;grid-column:auto}
html body main#inhalt table.result-table tbody td:nth-child(3) :is(div,small)::before{content:none!important;display:none!important}
html body main#inhalt table.result-table tbody td:nth-child(3)>div::after{content:' ·'!important;display:inline!important}
html body main#inhalt table.result-table,html body main#inhalt table.result-table :is(thead,tbody,tr,td){background:transparent!important;box-shadow:none!important}

/* ============ Ranglisten in Karten (ul.rang): helle Zeilen, lange Namen umbrechen statt ueberlappen ============ */
html body:not(.startseite) main#inhalt .karte ul.rang{margin:8px 0 0!important;padding:0!important;background:transparent!important;border-radius:0!important}
html body:not(.startseite) main#inhalt .karte ul.rang>li{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important;align-items:center;column-gap:10px;padding:10px 0!important;margin:0!important;min-height:0!important;height:auto!important;
  background:transparent!important;background-image:none!important;border:0!important;border-bottom:1px solid var(--h-linie)!important;border-radius:0!important;box-shadow:none!important}
html body:not(.startseite) main#inhalt .karte ul.rang>li:last-child{border-bottom:0!important}
html body:not(.startseite) main#inhalt .karte ul.rang>li .pl{font:700 16px/1 var(--head)!important;color:var(--dim)!important;text-align:left}
html body:not(.startseite) main#inhalt .karte ul.rang>li .n{display:flex!important;align-items:center;gap:10px;min-width:0;font:600 16px/1.15 var(--head)!important}
html body:not(.startseite) main#inhalt .karte ul.rang>li .n a{color:var(--ink)!important;white-space:normal!important;overflow:visible!important;min-width:0}
html body:not(.startseite) main#inhalt .karte ul.rang>li .n :is(img:not([data-portrait-context]),.connection-foto){width:30px!important;height:30px!important;flex:none;border-radius:50%}
html body:not(.startseite) main#inhalt .karte ul.rang>li .z{font:700 18px/1 var(--head)!important;color:var(--ink)!important;white-space:nowrap;text-align:right;position:static!important}
html body:not(.startseite) main#inhalt .karte ul.rang>li .z small{font:400 12px/1 var(--sans)!important;color:var(--dim)!important;margin-left:3px}
html body main#inhalt .karte{padding:18px 16px!important;border-radius:var(--h-radius)!important}
html body main#inhalt .karte>h3{margin:0!important;font:700 19px/1.15 var(--head)!important;text-transform:uppercase;letter-spacing:.02em;color:var(--ink)!important;padding:0!important}
html body main#inhalt .karte>.stand{margin:3px 0 0!important;font:600 11px/1.2 var(--head)!important;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)!important}

/* ============ Profilkopf ohne Bild: Text links, volle Breite ============ */
html body main section.gfk.gfk-ohne-bild .gfk-kopf{display:block!important}
html body main section.gfk.gfk-ohne-bild :is(.gfk-text,.gfk-name,.gfk-zeile){text-align:left!important;justify-content:flex-start!important;align-items:flex-start!important;margin-left:0!important;width:100%!important}
html body:not(.startseite) main#inhalt .karte ul.rang>li .n .nbn{white-space:normal!important}


/* Letzter Sieger: Abstammung einzeilig, nur der Vater (14.11.2026) */
html body.startseite main .home-winner .hw-abst-zeile{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
html body.startseite main .home-winner .hw-abst-zeile .hw-mutter{display:none!important}

/* ============ Ergebnis-Kopf (jede Austragung): dunkler Aufmacher wie Rennserie und Profile ============ */
html body main#inhalt section.result-hero{background:radial-gradient(120% 60% at 100% 0,#4d7d63 0,transparent 60%),linear-gradient(165deg,#2c5843,#1d3e30)!important;border:0!important;border-radius:22px!important;padding:22px 18px 18px!important;color:#fff!important;box-shadow:0 18px 40px -20px #1d3e30aa!important}
html body main#inhalt section.result-hero :is(h1,h2,h3,strong,b,dd,a,p,li,span,small,div){color:#fff}
html body main#inhalt section.result-hero header :is(h1,h2){font:700 30px/1 var(--head)!important;text-transform:uppercase;margin:0!important}
html body main#inhalt section.result-hero header :is(p,small,span,div){color:#ffffffc7!important}
html body main#inhalt section.result-hero header :is(.kat,.result-kat,.gruppe,em){color:var(--messing-hell)!important}
html body main#inhalt section.result-hero header{border-bottom:1px solid #ffffff26!important;padding-bottom:16px!important;margin-bottom:6px!important}
html body main#inhalt section.result-hero ol.result-podium{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
html body main#inhalt section.result-hero ol.result-podium>li{background:transparent!important;border:0!important;border-bottom:1px solid #ffffff1f!important;box-shadow:none!important;border-radius:0!important;padding:12px 0!important;min-height:0!important;height:auto!important}
html body main#inhalt section.result-hero ol.result-podium>li :is(small,span:not(.platz)){color:#ffffffb3!important}
html body main#inhalt section.result-hero ol.result-podium>li :is(strong,strong a,h3,h3 a){color:#fff!important}
html body main#inhalt section.result-hero ol.result-podium>li :is(.preis,.geld,b){color:var(--messing-hell)!important}
html body main#inhalt section.result-hero :is(.mehr,a.mehr){color:var(--messing-hell)!important}
html body main#inhalt section.result-hero .result-winner-photo{height:170px!important;aspect-ratio:auto!important;margin:10px 0!important;background:none!important}
html body main#inhalt section.result-hero .result-winner-photo img{height:100%!important;width:100%!important;object-fit:contain!important;filter:drop-shadow(0 10px 14px #0007)!important}
html body main#inhalt section.result-hero dl.result-people{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:4px 0 0!important}
html body main#inhalt section.result-hero dl.result-people>div{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;grid-template-areas:"b t" "b n"!important;column-gap:10px;align-items:center;min-height:0!important;height:auto!important;padding:10px!important;border-radius:12px!important;background:#ffffff14!important;background-image:none!important;border:1px solid #ffffff21!important;box-shadow:none!important;position:relative}
html body main#inhalt section.result-hero dl.result-people>div::before,html body main#inhalt section.result-hero dl.result-people>div::after{content:none!important;display:none!important}
html body main#inhalt section.result-hero dl.result-people>div.no-photo{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"t" "n"!important}
html body main#inhalt section.result-hero dl.result-people dt{grid-area:t;margin:0!important;font:600 10.5px/1.2 var(--head)!important;letter-spacing:.1em;text-transform:uppercase;color:var(--messing-hell)!important;position:static!important}
html body main#inhalt section.result-hero dl.result-people dd{grid-area:n;margin:2px 0 0!important;font:600 16px/1.1 var(--head)!important;position:static!important;color:#fff!important}
html body main#inhalt section.result-hero dl.result-people dd a{color:#fff!important}
html body main#inhalt section.result-hero dl.result-people .result-person-photo{grid-area:b;position:relative!important;inset:auto!important;width:42px!important;height:42px!important;border-radius:50%!important;overflow:hidden;background:#cfe9d6!important;clip-path:none!important;transform:none!important;margin:0!important}
html body main#inhalt section.result-hero dl.result-people .result-person-photo img:not([style*="--pf-s"]){position:static!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:50% 15%!important;transform:none!important;clip-path:none!important}
html body main#inhalt section.result-hero dl.result-facts{border-top:1px solid #ffffff26!important;margin-top:14px!important;padding-top:12px!important}
html body main#inhalt section.result-hero dl.result-facts dt{color:var(--messing-hell)!important}
html body main#inhalt section.result-hero dl.result-facts dd{color:#fff!important}
html body main#inhalt section.result-hero .result-film,html body main#inhalt section.result-hero header a[href*=video]{background:var(--messing-hell)!important;color:var(--h-gruen-tief)!important}

/* 14.11.2026 (Sebastian): keine weissen Kaesten, Glas-Gruen wie auf der ganzen Seite; Geschichten im Blocksatz */
html body main#inhalt :is(.home-story-card,.result-story,.result-insight,.profile-insight,.gf-family-card,.result-stories article) :is(p,p *){text-align:justify!important;hyphens:auto!important;-webkit-hyphens:auto!important}
/* Ergebnisliste: keine Abstaende (zu unruhig), Abstammung ohne Mutter */
html body main table.result-table tbody td:nth-child(4){display:none!important}
html body main table.result-table tbody tr{grid-template-areas:"p h g" ". j j"!important}
html body main .abst-voll{display:none!important}
html body main .abst-kurz{display:inline!important}

/* ============ Ergebnislisten in Profilen und Duo-Seite: neu (14.11.2026), eine Schriftgroesse je Ebene ============
   Zeile: [Platz-Plakette] Rennen (17px)            [Film]
                           Kategorie · Datum (13px)
                           Trikot Pferd (15px) · Jockey (13px)                                   */
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) thead tr{display:flex!important;justify-content:space-between;align-items:center;padding:10px 0 8px!important;border-bottom:1px solid #21443520!important;background:transparent!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) thead th{display:none!important;background:transparent!important;padding:0!important;border:0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) thead th:is(.ps-platz,.ps-datum){display:block!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) thead button{display:inline-flex!important;align-items:center;gap:4px;font:600 11px/1 var(--head)!important;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)!important;background:none!important;border:0!important;padding:4px 0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) thead button span{font-size:10px!important;line-height:1!important;opacity:.7}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody tr:not([hidden]){display:flex!important;flex-wrap:wrap!important;align-items:baseline;position:relative!important;padding:13px 34px 13px 40px!important;margin:0!important;row-gap:4px;column-gap:0;border:0!important;border-bottom:1px solid #21443520!important;background:transparent!important;background-image:none!important;border-radius:0!important;box-shadow:none!important;grid-template-columns:none!important;grid-template-areas:none!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody tr:not([hidden]):last-of-type{border-bottom:0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody tr:not([hidden])::after{content:''!important;order:4;flex-basis:100%;height:0;display:block!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td{display:block!important;position:static!important;grid-area:auto!important;grid-row:auto!important;grid-column:auto!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;width:auto!important;height:auto!important;min-height:0!important;max-width:none!important;text-align:left!important;font:400 13px/1.35 var(--sans)!important;color:var(--dim)!important;white-space:nowrap}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td::before{content:none!important;display:none!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-platz{position:absolute!important;left:0;top:11px;width:28px!important;height:28px!important;border-radius:50%!important;display:flex!important;align-items:center;justify-content:center;background:#ffffff8c!important;border:1px solid #6d987b55!important;font:700 15px/1 var(--head)!important;color:var(--ink)!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-platz .platz{font:inherit!important;color:inherit!important;background:none!important;padding:0!important;margin:0!important;width:auto!important;height:auto!important;position:static!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody tr[data-pl="1"] td.ps-platz,html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-platz:has(.p1){background:var(--messing)!important;border-color:var(--messing)!important;color:#fff!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-rennen{order:1;flex-basis:100%;white-space:normal;font:600 17px/1.2 var(--head)!important;color:var(--ink)!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-rennen a{color:var(--ink)!important;white-space:normal!important;display:inline!important;max-width:none!important;overflow:visible!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-kat{order:2}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-kat .kat{font:inherit!important;color:inherit!important;background:none!important;border:0!important;padding:0!important;letter-spacing:0!important;text-transform:none!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-datum{order:3}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-datum::before{content:'\00a0·\00a0'!important;display:inline!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-pferd{order:5;min-width:0;max-width:62%!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-pferd .profile-row-horse{display:inline-flex!important;align-items:center;gap:7px;min-width:0;max-width:100%}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-pferd .profile-row-silk{width:20px!important;height:22px!important;flex:none}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-pferd a{font:600 15px/1.2 var(--head)!important;color:var(--ink)!important;overflow:hidden;text-overflow:ellipsis}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-jockey{order:6;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1 1 0}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-jockey::before{content:'\00a0·\00a0'!important;display:inline!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-jockey a{color:var(--dim)!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td{position:absolute!important;right:0;top:12px}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td a{display:inline-flex!important;width:26px;height:26px;align-items:center;justify-content:center;color:var(--ink)!important;font-size:0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td a::before,html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td a::after{content:none!important;display:none!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td svg{width:22px;height:22px;display:block}
/* Preisgeld nach Jahren: laufendes Jahr ohne Zusatz, alle Zeilen gleich */
html body main .gjj small{display:none!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-pferd{flex:0 1 auto!important;align-self:center!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-jockey{flex:0 1 auto!important;align-self:center!important}

/* ============ Pferdeprofil: Saison- und Karriereliste im selben Aufbau wie die Profillisten (14.11.2026) ============
   [Platz] Rennen (17px)                         [Film]
           Gruppe 1 · 2.400 m · 155.000 € (13px)
           07.11.2026 · München (13px)
           Peter Schiergen · B. Murzabayev (13px)                                                   */
html body main#inhalt .horse-race-table-wrap{background:var(--h-glas)!important;border:1px solid var(--h-glas-kontur)!important;border-radius:var(--h-radius)!important;padding:0 14px!important;box-shadow:0 1px 2px #1d3e300d,0 10px 24px -16px #1d3e3047!important;overflow:hidden}
html body main#inhalt table.horse-race-table{width:100%!important;min-width:0!important;border-collapse:collapse;background:transparent!important}
html body main#inhalt table.horse-race-table thead tr{display:flex!important;gap:18px;justify-content:flex-start;padding:10px 0 8px!important;border-bottom:1px solid #21443520!important;background:transparent!important}
html body main#inhalt table.horse-race-table thead th{display:block!important;padding:0!important;border:0!important;background:transparent!important;font:600 11px/1 var(--head)!important;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)!important}
html body main#inhalt table.horse-race-table thead th:not(:has(button)){display:none!important}
html body main#inhalt table.horse-race-table thead button{font:inherit!important;letter-spacing:inherit;text-transform:inherit;color:inherit!important;background:none!important;border:0!important;padding:4px 0!important}
html body main#inhalt table.horse-race-table thead button span{font-size:10px!important;opacity:.7}
html body main#inhalt table.horse-race-table tbody tr:not([hidden]){display:flex!important;flex-direction:column;position:relative!important;padding:13px 34px 13px 40px!important;margin:0!important;gap:3px;border:0!important;border-bottom:1px solid #21443520!important;background:transparent!important;background-image:none!important;border-radius:0!important;box-shadow:none!important}
html body main#inhalt table.horse-race-table tbody tr:not([hidden]):last-of-type{border-bottom:0!important}
html body main#inhalt table.horse-race-table tbody td{display:block!important;position:static!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;width:auto!important;height:auto!important;min-height:0!important;text-align:left!important;font:400 13px/1.35 var(--sans)!important;color:var(--dim)!important}
html body main#inhalt table.horse-race-table tbody td::before{content:none!important;display:none!important}
html body main#inhalt table.horse-race-table tbody td :is(a,span,strong,small,time){font:inherit!important;color:inherit!important;letter-spacing:0!important;text-transform:none!important;background:none!important}
html body main#inhalt table.horse-race-table tbody td.hr-race{order:1}
html body main#inhalt table.horse-race-table tbody td.hr-race>a{display:block!important;font:600 17px/1.2 var(--head)!important;color:var(--ink)!important;margin-bottom:3px}
html body main#inhalt table.horse-race-table tbody td.hr-race small{display:block!important}
html body main#inhalt table.horse-race-table tbody td.hr-date{order:2}
html body main#inhalt table.horse-race-table tbody td.hr-date span::before{content:'\00a0·\00a0'}
html body main#inhalt table.horse-race-table tbody td.hr-people{order:3}
html body main#inhalt table.horse-race-table tbody td.hr-people>span::before{content:'\00a0·\00a0'}
html body main#inhalt table.horse-race-table tbody td.hr-people>*{display:inline!important}
html body main#inhalt table.horse-race-table tbody td.hr-place{position:absolute!important;left:0;top:11px;width:28px!important;height:28px!important;border-radius:50%!important;display:flex!important;align-items:center;justify-content:center;background:#ffffff8c!important;border:1px solid #6d987b55!important}
html body main#inhalt table.horse-race-table tbody td.hr-place strong{font:700 15px/1 var(--head)!important;color:var(--ink)!important}
html body main#inhalt table.horse-race-table tbody tr[data-place="1"] td.hr-place{background:var(--messing)!important;border-color:var(--messing)!important}
html body main#inhalt table.horse-race-table tbody tr[data-place="1"] td.hr-place strong{color:#fff!important}
html body main#inhalt table.horse-race-table tbody td.hr-actions{position:absolute!important;right:0;top:12px}
html body main#inhalt table.horse-race-table tbody td.hr-actions a:not(.horse-race-video){display:none!important}
html body main#inhalt table.horse-race-table tbody td.hr-actions a.horse-race-video{display:inline-flex!important;width:26px;height:26px;align-items:center;justify-content:center;border-radius:6px;background:var(--ink)!important;color:#fff!important;font-size:0!important;overflow:hidden}
html body main#inhalt table.horse-race-table tbody td.hr-actions a.horse-race-video span{font-size:11px!important;color:#fff!important}
html body main#inhalt table.horse-race-table tbody td *::before{content:none!important;display:none!important}
html body main#inhalt table.horse-race-table tbody td.hr-date span::before,html body main#inhalt table.horse-race-table tbody td.hr-people>span::before{content:'\00a0·\00a0'!important;display:inline!important}
html body main#inhalt table.horse-race-table tbody td *{margin:0!important;padding:0!important}
html body main#inhalt table.horse-race-table tbody td.hr-people>strong::after{content:none!important}
html body main#inhalt table.horse-race-table tbody,html body main#inhalt table.horse-race-table tbody tr::before,html body main#inhalt table.horse-race-table tbody tr::after{background:transparent!important;box-shadow:none!important;border:0!important}
html body main#inhalt table.horse-race-table tbody tr::before,html body main#inhalt table.horse-race-table tbody tr::after{content:none!important}
html body main#inhalt table.horse-race-table tbody td.hr-people>*{white-space:nowrap}
html body main#inhalt table.horse-race-table tbody td.hr-race small{margin-top:3px!important}
html body main#inhalt table.horse-race-table tbody td.hr-actions a.horse-race-video{width:24px!important;height:18px!important;border-radius:4px!important;margin-top:3px!important}
html body main .partner-results table.partner-results-table tbody td.ps-platz{color:var(--messing-tief)!important;font-weight:600!important}

/* ============ Ergebnislisten, Fassung 2 (14.11.2026 spaet): alles linksbuendig in einer Flucht ============
   Rennen | Platz 1                          (Film)
   Gruppe 1 · 07.11.2026
   Santagada [Trikot]
   B. Murzabayev                                                                                        */
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody tr:not([hidden]){padding:13px 30px 13px 0!important;row-gap:2px!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody tr:not([hidden])::after{order:3!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-rennen{order:1!important;flex:0 1 auto!important;flex-basis:auto!important;max-width:100%}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-platz{position:static!important;order:2!important;width:auto!important;height:auto!important;border-radius:0!important;background:none!important;border:0!important;border-left:1px solid #21443533!important;margin:0 0 0 9px!important;padding:0 0 0 9px!important;display:block!important;font:400 13px/1.2 var(--sans)!important;color:var(--dim)!important;align-self:baseline}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-platz::before{content:'Platz\00a0'!important;display:inline!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody tr[data-pl="1"] td.ps-platz,html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-platz:has(.p1){background:none!important;color:var(--messing-tief)!important;font-weight:600!important;border-left-color:#21443533!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-kat{order:4!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-datum{order:5!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-pferd{order:7!important;flex-basis:100%!important;max-width:100%!important;margin-top:5px!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-pferd .profile-row-horse{flex-direction:row-reverse!important;justify-content:flex-end!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-pferd .profile-row-silk{width:18px!important;height:20px!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-jockey{order:8!important;flex-basis:100%!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-jockey::before{content:none!important;display:none!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody tr:not([hidden])>td.ps-datum~td::after{content:none}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td{top:13px!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td a{width:22px!important;height:22px!important;border:1px solid #21443540;border-radius:50%;}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td svg{display:none!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td a{font-size:0!important;position:relative}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td a::after{content:''!important;display:block!important;position:absolute;left:8px;top:6px;border-style:solid;border-width:4.5px 0 4.5px 7px;border-color:transparent transparent transparent var(--ink)}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) thead tr{padding-left:0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.ps-platz .platz{display:inline!important;margin:0!important;padding:0!important;width:auto!important;min-width:0!important;letter-spacing:0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td a{border:0!important}
html body main :is(#saison,#karriere,.profile-current,.partner-results) table:is(.profile-season-table,.partner-results-table) tbody td.film-td a::after{left:9px!important;top:6px!important}
/* Pferdeprofil-Liste in derselben Fassung */
html body main#inhalt table.horse-race-table tbody tr:not([hidden]){flex-direction:row!important;flex-wrap:wrap!important;align-items:baseline!important;padding:13px 30px 13px 0!important;row-gap:2px!important}
html body main#inhalt table.horse-race-table tbody tr:not([hidden])::after{content:''!important;order:3;flex-basis:100%;height:0;display:block!important}
html body main#inhalt table.horse-race-table tbody td.hr-race{display:contents!important}
html body main#inhalt table.horse-race-table tbody td.hr-race>a{order:1;flex:0 1 auto;margin:0!important}
html body main#inhalt table.horse-race-table tbody td.hr-race small{order:4;flex-basis:100%;margin-top:0!important}
html body main#inhalt table.horse-race-table tbody td.hr-place{position:static!important;order:2;width:auto!important;height:auto!important;border-radius:0!important;background:none!important;border:0!important;border-left:1px solid #21443533!important;margin:0 0 0 9px!important;padding:0 0 0 9px!important;display:block!important}
html body main#inhalt table.horse-race-table tbody td.hr-place::before{content:'Platz\00a0'!important;display:inline!important;font:400 13px/1.2 var(--sans);color:var(--dim)}
html body main#inhalt table.horse-race-table tbody td.hr-place strong{font:400 13px/1.2 var(--sans)!important;color:var(--dim)!important}
html body main#inhalt table.horse-race-table tbody tr[data-place="1"] td.hr-place,html body main#inhalt table.horse-race-table tbody tr[data-place="1"] td.hr-place strong,html body main#inhalt table.horse-race-table tbody tr[data-place="1"] td.hr-place::before{background:none!important;color:var(--messing-tief)!important;font-weight:600!important}
html body main#inhalt table.horse-race-table tbody td.hr-date{order:5;flex-basis:100%}
html body main#inhalt table.horse-race-table tbody td.hr-people{order:6;flex-basis:100%}
html body main#inhalt table.horse-race-table tbody td.hr-actions{top:13px!important}
html body main#inhalt table.horse-race-table tbody td.hr-actions a.horse-race-video{background:none!important;width:22px!important;height:22px!important;position:relative}
html body main#inhalt table.horse-race-table tbody td.hr-actions a.horse-race-video span{display:none!important}
html body main#inhalt table.horse-race-table tbody td.hr-actions a.horse-race-video::after{content:''!important;display:block!important;position:absolute;left:9px;top:6px;border-style:solid;border-width:4.5px 0 4.5px 7px;border-color:transparent transparent transparent var(--ink)}
html body main#inhalt table.horse-race-table tbody tr[data-place="1"] td.hr-place{border-left-color:#21443533!important}

/* ===== Einheitliche Typo- und Abstandsskala (Handy) ===== */
/* Seitentitel: 34px, eine Größe auf allen Unterseiten */
html body main :is(.titel,section.panel,header.calendar-page-header,section.vk-held) h1{font-size:34px!important;line-height:1!important;letter-spacing:-.005em!important;margin-bottom:10px!important}
/* Abschnittsüberschriften: 24px, gleicher Abstand oben/unten */
html body main :is(h2.abschnitt,.primary-ranking-section>h2,.season-archive>h2,.vk-suche-kopf>h2,.primary-ranking-section>header h2){font-size:24px!important;line-height:1.05!important;margin-top:36px!important;margin-bottom:14px!important}
html body main :is(h2.abschnitt,.primary-ranking-section>h2,.season-archive>h2):first-child{margin-top:8px!important}
/* Kartentitel 19px, Listentitel 17px */
html body main :is(.karte,.stat-feature,.fakten-modul) h3{font-size:19px!important;line-height:1.15!important}
/* Fließtext 15px, Meta 13px */
html body main :is(p.lead,.intro,.titel p){font-size:15px!important;line-height:1.5!important}

/* ===== Keine weißen Flächen: Glas statt Weiß ===== */
html body main :is(div.leerstand,div.blaettern,section.season-archive,.raster .karte,figure.vk,figure.vk figcaption,div.cal-werkzeuge,div.zusatzfilter,section.vk-suche){background:var(--h-glas)!important;border:1px solid var(--h-glas-kontur)!important;box-shadow:none!important}
html body main figure.vk figcaption{background:transparent!important;border:0!important}
html body main :is(nav.reiter.unter,div.cal-ansicht){background:transparent!important;border:0!important;box-shadow:none!important}
html body main :is(nav.entity-role-nav a,nav.pager button,nav.pager .seiteinfo,.chips :is(a,button).chip,div.cal-ansicht button.chip,button.wahlknopf,form.custom-period button.knopf,nav.vk-monate a){background:#e3f1e6!important;border:1px solid var(--h-glas-kontur)!important;box-shadow:none!important}
html body main :is(input:not([type=checkbox]):not([type=radio]),select){background:#f1f8f2!important;border:1px solid var(--h-glas-kontur)!important;box-shadow:none!important}
html body main#inhalt table tbody tr{background-color:transparent}
html body main div.leerstand{text-align:left!important;padding:18px!important;border-radius:16px!important}
html body main :is(nav.entity-role-nav a[aria-current],nav.entity-role-nav a.an,.chips .chip:is(.an,.aktiv,[aria-pressed=true],[aria-current]),div.cal-ansicht button.chip:is(.an,[aria-pressed=true])){background:var(--h-gruen-tief)!important;color:#fff!important;border-color:var(--h-gruen-tief)!important}
html body main :is(input:not([type=checkbox]):not([type=radio]),select){color:#1d3e30!important}
html body main nav.entity-role-nav{gap:6px!important}
html body main nav.entity-role-nav a{border-radius:999px!important;padding:7px 13px!important;font:600 13px/1 var(--head,inherit)!important;text-transform:uppercase;letter-spacing:.06em;color:#1d3e30!important}
html body main#inhalt table.race-index-list tbody tr,html body main table.race-index-list tbody tr{background:var(--h-glas)!important;border:1px solid var(--h-glas-kontur)!important;box-shadow:none!important}
/* Ergebniszeilen: Kategorie als ruhiger Text statt Plakette */
html body main ul.zeilen .was .kat{background:none!important;border:0!important;padding:0!important;margin:0!important;border-radius:0!important;box-shadow:none!important;color:#8a6a2c!important;font:600 14px/1.3 inherit!important;font-family:inherit!important;letter-spacing:0!important;text-transform:none!important;display:inline!important}
html body main ul.zeilen .was .kat::after{content:' ·';color:#5d7568}
/* Historie-Kacheln: einheitlich, linksbündig, ohne doppelte Einheit */
html body main nav.bereiche a small{display:none!important}
html body main nav.bereiche a{text-align:left!important;align-items:flex-start!important;justify-content:flex-start!important;padding:16px 18px!important;background:var(--h-glas)!important;border:1px solid var(--h-glas-kontur)!important}
html body main nav.bereiche a span{font-size:15px!important;line-height:1.2!important}
/* Rennserie: Sieger nur mit Vater, Reiter in Glas */
html body main .rw-pedigree .hw-mutter{display:none!important}
html body main nav.reiter.race-hub-nav a{background:#e3f1e6!important;border:1px solid var(--h-glas-kontur)!important;box-shadow:none!important;color:#1d3e30!important}
html body main nav.reiter.race-hub-nav a:is(.an,[aria-current]){background:var(--h-gruen-tief)!important;color:#fff!important;border-color:var(--h-gruen-tief)!important}
html body main nav.reiter.race-hub-nav{margin-bottom:28px!important}
/* Profile: Schalter, Kennzahlen, Auswahl in Glas */
html body main :is(div.gjschalter,button.gjmehr-knopf,button.gq-option,button.stat-knopf,.karte.grau div.zahlen){background:#e3f1e6!important;border:1px solid var(--h-glas-kontur)!important;box-shadow:none!important;color:#1d3e30!important}
html body main :is(button.gq-option,button.stat-knopf):is([aria-pressed=true],.an,[aria-selected=true]){background:var(--h-gruen-tief)!important;color:#fff!important}
html body main :is(button.gq-option,button.stat-knopf)[aria-pressed=true] *{color:#fff!important}
html body main div.gjschalter{padding:3px!important}
html body main nav.horse-section-nav{background:rgba(227,241,230,.94)!important}
html body main label:has(>select){background:transparent!important}
/* Kennzahl-Karten mit Fließtext: linksbündig, Blocksatz nur bei Stories */
html body main :is(.profile-insights,.fakten-modul) p{text-align:left!important;hyphens:manual!important}
html body main section.profile-insights :is(p,div p){text-align:left!important;-webkit-hyphens:auto;hyphens:auto}

/* ===== Startseite unterhalb der Bilanz (15.11.2026) ===== */
/* Abschnittsköpfe: ohne Zierlinie, Link linksbündig unter der Überschrift */
html body main h2.abschnitt::after{display:none!important}
html body main h2.abschnitt{display:block!important}
html body main h2.abschnitt>small:has(a){display:block!important;margin:10px 0 0!important;text-align:left!important;max-width:none!important}
html body main h2.abschnitt>small a.home-section-link{justify-content:flex-start!important;font-size:12px!important;color:#8a6a2c!important}
/* Ranglisten-Reiter als Glas-Pillen */
html body.startseite main .rank-tablist{display:flex!important;gap:6px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 12px!important}
html body.startseite main .rank-tablist button{flex:1 1 0;background:#e3f1e6!important;border:1px solid var(--h-glas-kontur)!important;border-radius:999px!important;box-shadow:none!important;color:#1d3e30!important;padding:10px 6px!important;font:600 13px/1 var(--head)!important;letter-spacing:.08em;text-transform:uppercase}
html body.startseite main .rank-tablist button[aria-selected=true]{background:#1d3e30!important;border-color:#1d3e30!important;color:#fff!important}
/* Ranglisten-Karte dunkel wie die Ergebniskarte */
html body.startseite main .home-people-ranks .karte{background:radial-gradient(120% 60% at 100% 0,#4d7d63 0,transparent 60%),linear-gradient(165deg,#2c5843,#1d3e30)!important;border:0!important;box-shadow:none!important;color:#fff!important;padding:20px 18px 18px!important}
html body.startseite main .home-people-ranks .karte h3 small{color:#d8b878!important;font:600 12px/1 var(--head)!important;letter-spacing:.12em}
html body.startseite main .home-people-ranks .karte ul.rang>li{border-bottom:1px solid #ffffff1f!important;background:transparent!important}
html body.startseite main .home-people-ranks .karte ul.rang>li:last-child{border-bottom:0!important}
html body.startseite main .home-people-ranks .karte ul.rang>li :is(.pl,.z){color:#d8b878!important;opacity:1!important}
html body.startseite main .home-people-ranks .karte ul.rang>li .n a{color:#fff!important;opacity:1!important;font:600 18px/1.15 var(--head)!important}
html body.startseite main .home-people-ranks .karte a.mehr{color:#e9d3a4!important;opacity:1!important;margin-top:14px!important}
html body.startseite main .home-people-ranks .karte .home-rank-portrait{background:transparent!important}
/* Saison und Geschichte: eine Farbwelt */
html body.startseite main .home-history-facts .zahlflaeche,html body.startseite main .home-history-facts .fakt.nebel{background:radial-gradient(120% 60% at 100% 0,#4d7d63 0,transparent 60%),linear-gradient(165deg,#2c5843,#1d3e30)!important;border:0!important;box-shadow:none!important}
html body.startseite main .home-history-facts .fakt.sand{background:var(--h-glas)!important;border:1px solid var(--h-glas-kontur)!important;box-shadow:none!important}
html body.startseite main .home-history-facts{gap:12px!important}
/* Datenbank-Kacheln: gleiche Rundung wie die Karten, Zahl ruhig */
html body.startseite main nav.home-quick{gap:10px!important}
html body.startseite main nav.home-quick a.chip{border-radius:16px!important;background:var(--h-glas)!important;border:1px solid var(--h-glas-kontur)!important;box-shadow:none!important;padding:16px 18px!important;align-items:flex-start!important;text-align:left!important;justify-content:center!important}
html body.startseite main nav.home-quick a.chip small{font:600 22px/1 var(--head)!important;color:#8a6a2c!important;letter-spacing:0!important;margin-top:6px!important}
