/* CP23089 – remove legacy chrome and repair the mobile layouts reported from Safari.
   Scoped to the actual apps. Do not change data, entitlement checks or event handlers. */
:root{--zk89-green:#176b4a;--zk89-ink:#183729;--zk89-muted:#526e5b;--zk89-paper:#fff;--zk89-soft:#f4f8f5;--zk89-edge:#cbded0}
html,body{overflow-x:clip}
/* Context shortcuts are integrated in compact disclosures; Kette's
   approved in-page functions must never be suppressed as duplicate global nav. */
body .zk11-hub,body #zk22511-hub{display:none!important}
/* A single, first-party navigation, never an old fifth or sixth mobile destination. */
@media(max-width:900px){
 html body nav.mobile-bottom-nav:not(#zk23088-bottom-nav){display:none!important}
 html body nav#zk23088-bottom-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.zk89-unified-shell > header:not(.site-header){display:none!important}
 body.zk89-unified-shell > .sitebar{display:none!important}
 body.zk89-unified-shell .site-header{display:block!important}
}
/* New pages use one optical rhythm rather than multiple bulky top navigation boxes. */
body .zk12-tool-switch{box-sizing:border-box;max-width:100%;padding:12px!important;margin:8px 0 16px!important}
body .zk12-tool-switch .zk12-items{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
body .zk12-tool-switch .zk12-items button{min-width:0!important;font-size:12px!important}
body .k24-hero,body .k24-landing,body #zk218-kette-main,
body #view-lab,body .zk2257-toolbar,body .zk2257-page-head{max-width:100%}
body #zk218-kette-main .k24-hero,body #zk218-kette-main .k24-coming{
 overflow:visible;overflow-wrap:break-word;
}
body .k24-hero :is(h1,h2,p),body #view-lab :is(h1,h2,p){overflow-wrap:break-word}
body #view-lab .ml90-tabs,body #view-lab #ml90-tabs{
 display:flex!important;flex-wrap:wrap!important;gap:6px!important
}
body #view-lab .ml90-tabs button,body #view-lab #ml90-tabs button{flex:1 1 125px!important;min-width:0!important;white-space:normal!important}
/* Ranking: the old fixed five-column grid and a !important mobile override
   fought each other; remove that conflict without removing the source numbers. */
@media(max-width:760px){
 html body .ranking-page-v4 #away-ranking-content .away-list-head-v165,
 html body #away-ranking-content.away-v165 .away-list-head-v165{
  display:none!important;visibility:hidden!important
 }
 html body .ranking-page-v4 #away-ranking-content .away-row-toggle-v165,
 html body #away-ranking-content.away-v165 .away-row-toggle-v165{
  display:grid!important;grid-template-columns:34px minmax(0,1fr) 32px!important;
  grid-template-rows:auto auto!important;
  grid-template-areas:"rank club more" ". metrics metrics"!important;
  column-gap:8px!important;row-gap:11px!important;
  align-items:start!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  padding:14px 10px!important;overflow:hidden!important
 }
 html body #away-ranking-content .away-row-toggle-v165 .away-rank-v165{grid-area:rank!important}
 html body #away-ranking-content .away-row-toggle-v165 .away-club-v165{grid-area:club!important;min-width:0!important;width:auto!important;max-width:100%!important;padding:0!important}
 html body #away-ranking-content .away-row-toggle-v165 .away-club-v165 strong{
  font:800 clamp(15px,4.4vw,19px)/1.2 Inter,system-ui,sans-serif!important;
  overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important;
  color:#183729!important;-webkit-text-fill-color:#183729!important
 }
 html body #away-ranking-content .away-row-toggle-v165 .away-club-v165 small{
  display:block!important;font:500 11px/1.4 Inter,system-ui,sans-serif!important;
  overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important
 }
 html body #away-ranking-content .away-row-toggle-v165 .away-more-v165{grid-area:more!important;min-width:0!important;justify-self:end!important}
 html body #away-ranking-content .away-row-toggle-v165 .away-metrics-v2255{
  grid-area:metrics!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;min-width:0!important;width:100%!important;margin:0!important
 }
 html body #away-ranking-content .away-row-toggle-v165 .away-metric-v165{
  display:block!important;min-width:0!important;min-height:55px!important;
  margin:0!important;padding:8px!important;border:1px solid #dbe7de!important;
  border-radius:9px!important;background:#f4f8f5!important;
 }
 html body #away-ranking-content .away-row-toggle-v165 .away-metric-v165 small,
 html body #away-ranking-content .away-row-toggle-v165 .away-metric-v165 em{
  display:block!important;line-height:1.3!important;white-space:normal!important;
  font-size:9px!important
 }
 html body #away-ranking-content .away-row-toggle-v165 .away-metric-v165 strong{font-size:17px!important}
 html body #away-ranking-content .away-list-v165{max-width:100%!important;overflow:hidden!important}
 html body #community-ranking-content table.community-table{min-width:620px!important}
 html body #community-ranking-content .community-table-card{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 html body .ranking-tabs .ranking-tab{min-width:0!important;overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important}
}
/* The custom date control must have a visible native label even without JS. */
body #zk223-periods #mobile-week-select-toggle{
 width:auto!important;min-width:112px!important;max-width:100%!important;
 padding:10px 14px!important;min-height:41px!important;
 background:#f7faf8!important;color:#1d4c33!important;
 border:1px solid #a9c7b4!important
}
body #zk223-periods #mobile-week-select-toggle>strong{
 display:inline!important;visibility:visible!important;font-size:12px!important;
 color:inherit!important;-webkit-text-fill-color:inherit!important;
 white-space:normal!important;line-height:1.3!important
}
body #zk223-periods #mobile-week-select-toggle>.zk2253-date-label{display:none!important}
body #zk223-periods #mobile-week-select-toggle>span:first-child,
body #zk223-periods #mobile-week-select-toggle>b{display:none!important}
body #zk223-periods #mobile-week-select-toggle[aria-expanded="true"]{
 background:#176b4a!important;color:#fff!important;border-color:#176b4a!important
}
/* Match cards: no half-width monster CTA, floating action or clipped price panels. */
body:has(#community-spiele) #community-spiele .community-fixtures>.zk198-match-unit,
body:has(#community-spiele) #community-spiele .zk198-match-unit{
 max-width:100%!important;min-width:0!important;width:100%!important
}
body:has(#community-spiele) #community-spiele .community-match-card{
 width:100%!important;min-width:0!important;max-width:100%!important;
 overflow:visible!important;box-sizing:border-box!important
}
body:has(#community-spiele) #community-spiele .zk2222-game-actions{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 width:100%!important;max-width:100%!important;gap:8px!important;
 box-sizing:border-box!important
}
body:has(#community-spiele) #community-spiele .zk2222-game-actions>a,
body:has(#community-spiele) #community-spiele .zk2222-game-actions>button,
body:has(#community-spiele) #community-spiele .zk187-quick-add{
 position:static!important;display:inline-flex!important;min-width:0!important;
 max-width:100%!important;width:100%!important;min-height:42px!important;
 align-items:center!important;justify-content:center!important;
 padding:10px!important;box-sizing:border-box!important;border-radius:9px!important;
 font:750 12px/1.3 Inter,system-ui,sans-serif!important;
 white-space:normal!important;overflow-wrap:break-word!important;
 text-align:center!important
}
/* Constrain text widths and replace invisible ink on actual dark promotional panels. */
body :is(.zk171-hero,.zk171-active,.zk2258-pro-area,.k24-coming,.zk9-summary,
 .zk183-panel,.zk186-panel,.zk2311-panel,.ticket-center-v150) :is(h1,h2,p,small){
 overflow-wrap:break-word;word-break:normal
}
body .zk171-active,body .zk2258-pro-area{color:#f0f7f2!important}
body .zk171-active :is(h2,p,span,small,.zk171-eyebrow),
body .zk2258-pro-area :is(h2,p,span,small){
 color:#e5f4e9!important;-webkit-text-fill-color:#e5f4e9!important
}
body .zk171-active a,body .zk2258-pro-area a.zk2258-cta{
 color:#fff!important;-webkit-text-fill-color:#fff!important
}
/* MatchLab info and form controls must remain readable in both theme modes. */
html[data-zk-theme="dark"] body #view-lab,
html[data-zk-theme="dark"] body #view-home,
html[data-zk-theme="dark"] body .zk12-tool-switch,
html[data-zk-theme="dark"] body #zk218-kette-main,
html[data-zk-theme="dark"] body .k24-landing{
 background:#111f17!important;color:#eef6ef!important;
}
html[data-zk-theme="dark"] body #view-lab :is(input,select,textarea),
html[data-zk-theme="dark"] body #zk218-kette-main :is(input,select,textarea){
 background:#263c2e!important;color:#f5fff7!important;
 border-color:#65836d!important;-webkit-text-fill-color:#f5fff7!important
}
html[data-zk-theme="dark"] body :is(.k24-hero,.zk171-active,.zk2258-pro-area,.ml91-scout-graphic,.ml91-duel-visual) :is(p,small,span){
 color:#ddede1!important;-webkit-text-fill-color:#ddede1!important
}
html[data-zk-theme="dark"] body :is(.away-row-toggle-v165,.away-list-v165,.away-row-v165,.ranking-tabs .ranking-tab){
 background:#203328!important;color:#edf7f0!important
}
html[data-zk-theme="dark"] body #away-ranking-content .away-row-toggle-v165 :is(strong,small,span,em),
html[data-zk-theme="dark"] body .ranking-page-v4 #away-ranking-content .away-club-v165 strong{
 color:#edf7f0!important;-webkit-text-fill-color:#edf7f0!important
}
html[data-zk-theme="dark"] body #away-ranking-content .away-row-toggle-v165 .away-metric-v165{
 background:#294532!important;border-color:#628267!important
}
html[data-zk-theme="dark"] body #zk223-periods #mobile-week-select-toggle:not([aria-expanded="true"]){
 background:#294132!important;color:#f1f8f2!important;
 -webkit-text-fill-color:#f1f8f2!important
}
/* Keep the five approved actions and bottom 4 tabs visually consistent. */
@media(max-width:900px){
 html body #zk2257-toolbar{max-width:100vw!important}
 html body #zk2257-toolbar .zk2257-brand{min-width:0!important;white-space:nowrap!important}
 html body #zk23088-bottom-nav{z-index:8000!important}
 body.zk89-unified-shell .zk2257-brand{color:#fff!important}
}

/* CP23089.1: make the Safari away ranking header invariant across all late CSS.
   The element is a desktop-only grid and MUST NOT be present on small screens. */
@media screen and (max-width:760px){
 html body main section.ranking-page-v4 #away-ranking-content.away-v165 .away-list-v165 > .away-list-head-v165,
 html body section.ranking-page-v4 #away-ranking-content.away-v165 .away-list-head-v165{
  display:none!important;visibility:hidden!important;max-height:0!important;
  overflow:hidden!important;position:absolute!important;pointer-events:none!important;
 }
}


/* CP23095 — explicit foreground/background pairs validated by Chromium.
   Prefer real component boundaries, not a blanket :is(*) color override.
   Every green/dark surface uses white or #edf7f0 readable text. */
html[data-zk-theme="dark"] body.zk22510-kette #zk224-home .k24-heading > :is(span,h2,p),
html[data-zk-theme="dark"] body.zk22510-kette #zk224-home .k24-pricing-section .k24-heading > :is(span,h2,p){
 color:#f1fff5!important;-webkit-text-fill-color:#f1fff5!important;
}
html[data-zk-theme="dark"] body.zk22510-kette #zk224-home .k24-tool :is(a,button){
 background:#274c36!important;border:1px solid #638772!important;
 color:#f9fffa!important;-webkit-text-fill-color:#f9fffa!important;
}
html[data-zk-theme="dark"] body.zk22510-ground :is(.ground-grid,.groundhop-toolbar) span{
 color:#f1faf2!important;-webkit-text-fill-color:#f1faf2!important;
}
html[data-zk-theme="dark"] body.club-stats-page-v18112 .league-stat-summary-head-v124 :is(span,h2,b),
html[data-zk-theme="dark"] body.club-stats-page-v18112 .club-stat-card-v124 :is(th,thead th){
 color:#f1fff4!important;-webkit-text-fill-color:#f1fff4!important;
}
html body .ultra-profile-hero-v131 .ultra-profile-score-v131 :is(span,strong,small){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body .zk217-hero .zk217-eyebrow{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="light"] body .site-header .brand span{
 color:#183a27!important;-webkit-text-fill-color:#183a27!important;
}
html[data-zk-theme="dark"] body .site-header .brand span{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body #zk217-compare-button{
 background:#176b4a!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 border:1px solid #176b4a!important;
}
html[data-zk-theme="dark"] body .zk8-basic-planner .metric strong,
html[data-zk-theme="dark"] body #zk8-departure,
html[data-zk-theme="dark"] body #zk8-total{
 color:#173825!important;-webkit-text-fill-color:#173825!important;
}
html[data-zk-theme="light"] body.zk22510-help .zk-help-final :is(h2,span,p),
html[data-zk-theme="dark"] body.zk22510-help .zk-help-final :is(h2,span,p){
 color:#173825!important;-webkit-text-fill-color:#173825!important;
}


/* CP23095.2 — dark theme: remove remaining light cards that had inherited
   white text, and fix inherited dark/gray labels on dark panels.
   These are the exact component families reported by the 96-case browser audit. */
html[data-zk-theme="light"] body.zk89-unified-shell .zk89-shared-top .brand span,
html[data-zk-theme="dark"] body.zk89-unified-shell .zk89-shared-top .brand span{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
/* The source page, not an injected body class, is the Kette design scope. */
html[data-zk-theme="dark"] body #zk218-kette-main #zk224-home .k24-heading > :is(span,h2,p),
html[data-zk-theme="dark"] body #zk218-kette-main #k24-prices .k24-heading > :is(span,h2,p),
html[data-zk-theme="dark"] body #zk218-kette-main .k24-legal{
 color:#f3fff6!important;-webkit-text-fill-color:#f3fff6!important;
}
html[data-zk-theme="dark"] body #zk218-kette-main #zk224-home .k24-tool :is(button,a){
 background:#245337!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 border:1px solid #789e82!important;
}
html[data-zk-theme="dark"] body #zk218-kette-main #zk224-home .k24-tool :is(button,a):focus-visible{
 outline:3px solid #bde8c9!important;outline-offset:2px;
}
/* Real ranking page: in dark mode the page, tabs, filter & original cards
   must ALL be dark, not light cards carrying global white typography. */
html[data-zk-theme="dark"] body .ranking-page-v4,
html[data-zk-theme="dark"] body .ranking-page-v4 > .content-shell{
 background:#101914!important;color:#f2fcf4!important;
}
html[data-zk-theme="dark"] body .ranking-page-v4 .zk2257-page-head :is(h1,p){
 color:#f5fff7!important;-webkit-text-fill-color:#f5fff7!important;
}
html[data-zk-theme="dark"] body .ranking-page-v4 :is(.ranking-tabs .ranking-tab,.ranking-tabs button:not(.active),.mobile-ranking-card,.mobile-ranking-sort,.ranking-table-v4,.ranking-table-v4 tbody tr,.community-table-card,.community-table,.community-table tbody tr,.rating-panel,.zk2257-mobile-sort){
 background:#1b2b21!important;color:#eef8f0!important;border-color:#466250!important;
}
html[data-zk-theme="dark"] body .ranking-page-v4 :is(.mobile-ranking-card,.ranking-table-v4,.community-table,.rating-panel) :is(h2,h3,strong,small,span,p,td,th){
 color:#edf7f0!important;-webkit-text-fill-color:#edf7f0!important;
}
html[data-zk-theme="dark"] body .ranking-page-v4 :is(.mobile-ranking-card,.ranking-table-v4) :is(input,select){
 background:#13231a!important;color:#fff!important;
}
html[data-zk-theme="dark"] body .ranking-page-v4 .ranking-tabs .ranking-tab.active{
 background:#176b4a!important;color:#fff!important;border-color:#69b38a!important;
}
/* Stadiumfinder list/filter cards used fixed #fff while theme text became white. */
html[data-zk-theme="dark"] body :is(.sf-shell,.sf-main,.sf-sidebar,.sf-card,.sf-filter,.sf-option,.sf-hero,.sf-answer,.sf-fields,.sf-club-list){
 background-color:#1b2c22!important;color:#effaf1!important;border-color:#466450!important;
}
html[data-zk-theme="dark"] body :is(.sf-card,.sf-option,.sf-filter,.sf-hero,.sf-main) :is(strong,small,label,p,span){
 color:#effaf1!important;-webkit-text-fill-color:#effaf1!important;
}
/* Preserve original readable reports while matching the dark page surface. */
html[data-zk-theme="dark"] body :is(.club-detail-hero,.club-detail-head,.zk216-quick-guide,.zk216-quick-row,.zk216-quick-body,.zk92-official,.zk92-official-item,.ranking-verdict-card-v121,.ranking-profile-grid-v123 article,.zk2310-collapse,.zk2258-static-actions,.zk10-report-profile){
 background-color:#1d2d22!important;color:#edf7ef!important;border-color:#48634e!important;
}
html[data-zk-theme="dark"] body :is(.club-detail-head,.ranking-verdict-card-v121,.ranking-profile-grid-v123 article,.zk216-quick-row,.zk92-official-item,.zk10-report-profile) :is(h1,h2,h3,p,span,strong,small,a,summary){
 color:#eefaf1!important;-webkit-text-fill-color:#eefaf1!important;
}
/* Eight complete league-stat modules and original dynamic tables. */
html[data-zk-theme="dark"] body.club-stats-page-v18112 :is(.section.light,.club-stats-hero-v124,.league-stat-summary-v124,.league-stat-summary-head-v124,.league-stat-leaders-v124 article,.club-stat-card-v124,.club-stat-card-v124 table,.club-stat-card-v124 thead,.club-stat-card-v124 tbody,.club-stat-card-v124 tr,.club-stat-card-v124 th,.club-stat-card-v124 td,.zk217-panel,.zk217-toolbar){
 background-color:#1c2d21!important;color:#f3fcf5!important;border-color:#496852!important;
}
html[data-zk-theme="dark"] body.club-stats-page-v18112 :is(.league-stat-summary-v124,.league-stat-summary-head-v124,.club-stat-card-v124,.zk217-panel) :is(h2,h3,p,small,strong,span,th,td,label){
 color:#f0fff4!important;-webkit-text-fill-color:#f0fff4!important;
}
html[data-zk-theme="dark"] body.club-stats-page-v18112 :is(.league-stat-tabs-v124 button,.zk12-items button){
 background:#203a2a!important;color:#fff!important;border-color:#4d7459!important;
}
html[data-zk-theme="dark"] body.club-stats-page-v18112 .league-stat-tabs-v124 button.active{
 background:#176b4a!important;color:#fff!important;
}
/* Matchday dashboards, ticket cards, join panels, travel planning forms. */
html[data-zk-theme="dark"] body :is(.matchday-hero,.matchday-stat-row article,.matchday-intel-v123,.matchday-intel-stats-v123 article,.matchday-intel-main-v123 article,.matchday-guide-grid article,.matchday-side,.matchday-guide,.zk217-panel,.zk217-toolbar,.zk217-notice,.zk217-offer-form,.zk217-card-grid article,.panel,.zk186-panel,.zk181-join-first){
 background-color:#1e3024!important;color:#f1fbf3!important;border-color:#496751!important;
}
html[data-zk-theme="dark"] body :is(.matchday-stat-row article,.matchday-intel-v123,.matchday-guide-grid article,.zk217-panel,.zk186-panel,.zk181-join-first) :is(h2,h3,strong,span,small,p,a,label){
 color:#f4fff6!important;-webkit-text-fill-color:#f4fff6!important;
}
html[data-zk-theme="dark"] body :is(.matchday-hero,.matchday-intel-v123,.zk2311-hero,.zk2254-bottom,.zk186-panel,.zk181-join-first,.public-social-main-v91) :is(.eyebrow,.zk2311-overline,.zk181-step,.public-social-kicker-v91){
 color:#effcf1!important;-webkit-text-fill-color:#effcf1!important;
}
html[data-zk-theme="dark"] body .zk2254-bottom a{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body .groundhop-toolbar .ground-search-wrap > span,
html[data-zk-theme="dark"] body .community-data-note{
 color:#effaf1!important;-webkit-text-fill-color:#effaf1!important;
}
/* Help's CSS intentionally used white cards with force-colored dark headings;
   use real dark surfaces instead, without removing the 17 original topics. */
html[data-zk-theme="dark"] body.zk22510-help :is(main,.zk-help-hero,.zk-help-content){
 background:#101914!important;color:#f5fff7!important;
}
html[data-zk-theme="dark"] body.zk22510-help :is(.zk-help-hero,.zk-help-intro) :is(h1,h2,p,span){
 color:#f4fff5!important;-webkit-text-fill-color:#f4fff5!important;
}
html[data-zk-theme="dark"] body.zk22510-help :is(.zk-help-step,.zk-help-step summary,.zk-help-step .zk-help-answer,.zk10-help-tools,.zk207-status,.zk-help-final,.zk207-help-quick a){
 background:#1b2c21!important;color:#f4fff5!important;border-color:#496751!important;
}
html[data-zk-theme="dark"] body.zk22510-help :is(.zk-help-step,.zk-help-step summary,.zk-help-step .zk-help-answer,.zk10-help-tools,.zk207-status,.zk-help-final) :is(h2,h3,p,strong,span,label,a){
 color:#f1fcf4!important;-webkit-text-fill-color:#f1fcf4!important;
}
html[data-zk-theme="dark"] body.zk22510-help .zk-help-final :is(h2,span,p){
 color:#f5fff6!important;-webkit-text-fill-color:#f5fff6!important;
}


/* CP23095.3 — measured DOM selectors from failed contrast report.
   Data is kept intact; these declarations only pair visible text with the
   actual dark backgrounds. Never rely on a broad color inheritance alone. */
html[data-zk-theme="dark"] body #zk2257-list-meta :is(span,strong,small),
html[data-zk-theme="dark"] body .zk2257-list-meta :is(span,strong,small),
html[data-zk-theme="dark"] body .zk2257-list-meta #zk2257-view-name,
html[data-zk-theme="dark"] body .zk2257-list-meta #zk2257-count{
 color:#f1fff4!important;-webkit-text-fill-color:#f1fff4!important;
}
html[data-zk-theme="dark"] body.club-stats-page-v18112 #league-stat-summary-v124 .league-stat-summary-head-v124 h2{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body.club-stats-page-v18112 #club-stat-table-grid-v124 .club-stat-card-v124 table th,
html[data-zk-theme="dark"] body.club-stats-page-v18112 #club-stat-table-grid-v124 .club-stat-card-v124 thead th{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
 background:#1c2d21!important;
}
html[data-zk-theme="dark"] body.club-stats-page-v18112 #club-stat-table-grid-v124 .club-stat-card-v124 tbody tr.zk-team-colored a,
html[data-zk-theme="dark"] body.club-stats-page-v18112 #club-stat-table-grid-v124 .club-stat-card-v124 tbody a{
 color:#f4fff5!important;-webkit-text-fill-color:#f4fff5!important;text-decoration:underline!important;
 text-decoration-color:#8bd6a1!important;
}
html[data-zk-theme="dark"] body #club-facts-v122.club-facts-grid-v122 article :is(span,small),
html[data-zk-theme="dark"] body .club-v112-fact-grid article :is(span,small),
html[data-zk-theme="dark"] body .club-v169-facts-panel .club-v169-minihead :is(span,strong,small),
html[data-zk-theme="dark"] body .club-v169-facts-panel .club-v169-data-note,
html[data-zk-theme="dark"] body .club-v169-pulse-panel .club-v169-minihead :is(span,strong,small){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body .club-v169-facts-panel :is(article,.club-v169-data-note,.club-v169-minihead),
html[data-zk-theme="dark"] body .club-v169-pulse-panel :is(article,.club-v169-minihead),
html[data-zk-theme="dark"] body .club-v112-fact-grid article{
 background:#1c2d21!important;color:#fff!important;border-color:#49664f!important;
}
html[data-zk-theme="dark"] body details.zk2310-collapse summary :is(span,svg),
html[data-zk-theme="dark"] body details.zk216-quick-guide summary :is(span,svg){
 color:#f4fff5!important;-webkit-text-fill-color:#f4fff5!important;
}
html[data-zk-theme="dark"] body.zk22510-ranking-detail .club-detail-head .club-place,
html[data-zk-theme="dark"] body.zk22510-ranking-detail .visit-head-v159 :is(span,small),
html[data-zk-theme="dark"] body.zk22510-ranking-detail .section-head.centered :is(span,small){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body .matchday-guide-grid article :is(span,small,strong,p){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body.zk22510-ranking-detail :is(.club-detail-head,.visit-head-v159,.section-head.centered) :is(span,small,p,strong),
html[data-zk-theme="dark"] body .club-v169-page :is(.club-v169-facts-panel,.club-v169-pulse-panel) :is(span,small){
 color:#f3fff5!important;-webkit-text-fill-color:#f3fff5!important;
}
html[data-zk-theme="dark"] body .sitebar .nav button:not(.active),
html[data-zk-theme="dark"] body .sitebar .nav a:not(.active){
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}


/* CP23095.4 — exact final failures from the 96-context screenshot and contrast
   audit. Each rule sets a matched readable text/background pair; no generic
   gray on green. Keeps existing ranking colors except the insufficient 3rd
   place red, which is darkened just enough for white text. */
html body .ranking-page-v4 .mobile-ranking-place{
  -webkit-text-fill-color:currentcolor!important;
}
html body .ranking-page-v4 .mobile-ranking-place[style*="215, 73, 73"],
html body .ranking-page-v4 .mobile-ranking-place[style*="#d74949"],
html body .ranking-page-v4 .mobile-ranking-card:nth-child(3) .mobile-ranking-place{
  background-color:#bd3131!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html body .ticket-center-empty-v150 span{color:#535e56!important;-webkit-text-fill-color:#535e56!important}
html body .public-social-stats-v91 :is(#public-mini-grounds,#public-mini-matches,#public-mini-followers,#public-mini-following){
  color:#132d20!important;-webkit-text-fill-color:#132d20!important;
}
html[data-zk-theme="dark"] body #mehr-von-zweierkette .zk225-more-summary span{
  color:#132f20!important;-webkit-text-fill-color:#132f20!important;
}
html[data-zk-theme="dark"] body #zk-matchlab-preview-lock .zk-lock-card p strong{
  color:#193324!important;-webkit-text-fill-color:#193324!important;
}
html[data-zk-theme="dark"] body #zk223-periods #mobile-week-select-toggle #mobile-week-select-label{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body .ticket-center-note-v150 strong{
  color:#193324!important;-webkit-text-fill-color:#193324!important;
}
html[data-zk-theme="dark"] body #matchday-share{
  background:#176b4a!important;border-color:#9ad7b0!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body #matchday-guide-heat{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body .auth-card :is(#signup-message,#login-message){
  color:#193324!important;-webkit-text-fill-color:#193324!important;
}


/* CP23095.5: exact dark-mode failures from last 96-browser-state audit.
 * In every affected component pair the original green with clearly visible
 * white (or pale-background dark) text; NEVER gray on dark green.
 * The explicit selectors also override the legacy readability guard's
 * transient inline colors with a source-accurate design. */
html[data-zk-theme="dark"] body .ticket-center-note-v150,
html[data-zk-theme="dark"] body .ticket-center-note-v150 strong{
 background-color:#1a3b29!important;color:#fff!important;
 -webkit-text-fill-color:#fff!important;border-color:#4d745a!important;
}
html[data-zk-theme="dark"] body #zk218-kette-main .k24-roadmap > article > span{
 background:#fff3df!important;color:#503318!important;
 -webkit-text-fill-color:#503318!important;
}
html[data-zk-theme="dark"] body .zk2258-tile-links a,
html[data-zk-theme="dark"] body .zk2258-fixture-actions a,
html[data-zk-theme="dark"] body #zk12-stat-categories .zk12-items button{
 background:#284332!important;border-color:#58785e!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body #mobile-week-select-toggle #mobile-week-select-label,
html[data-zk-theme="dark"] body #matchday-share,
html[data-zk-theme="dark"] body #zk2258-next-fixture .zk2258-fixture-actions a{
 background:#23462e!important;color:#fff!important;
 -webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body #matchday-share{
 border-color:#6fa882!important;background:#176b4a!important;
}
html[data-zk-theme="dark"] body .ticket-center-note-v150 strong[data-zk95-color-fix],
html[data-zk-theme="dark"] body #mobile-week-select-toggle #mobile-week-select-label[data-zk95-color-fix],
html[data-zk-theme="dark"] body #matchday-share[data-zk95-color-fix],
html[data-zk-theme="dark"] body .zk2258-tile-links a[data-zk95-color-fix],
html[data-zk-theme="dark"] body .zk2258-fixture-actions a[data-zk95-color-fix],
html[data-zk-theme="dark"] body #zk12-stat-categories .zk12-items button[data-zk95-color-fix]{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body .ticket-center-note-v150 strong[data-zk95-color-fix]{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
