/* V223.4–V223.6: narrowly scoped layout/contrast corrections, after older layers. */
:root{--zk236-green:#176b4a;--zk236-dark:#101b15;--zk236-paper:#f6f8f6;--zk236-ink:#172b20;--zk236-border:#d8e3db}
html{scroll-padding-top:88px}
body{overflow-x:clip}
/* Do not alter actual team accent colors: only contrast within these known surfaces. */
.site-header{background:#101913!important;color:#fff!important}
.site-header .nav-links a,.site-header .brand,.site-header .brand span{color:#f9fdfa!important;-webkit-text-fill-color:#f9fdfa!important}
.site-header .nav-links a:hover,.site-header .nav-links a.active{color:#98e3b4!important;-webkit-text-fill-color:#98e3b4!important}
.site-header .header-tools-v93>*{box-sizing:border-box!important}
.site-header .header-tools-v93 .zk2233-site-kette{order:2}
.site-header .header-tools-v93 .global-search-toggle-v93{order:1}
.site-header .header-tools-v93 .notification-bell{order:3}
.site-header .header-tools-v93 .zk2233-site-help{order:4}
.site-header .header-tools-v93 .notification-bell{color:#fff!important;-webkit-text-fill-color:#fff!important}
.site-header .header-tools-v93 .notification-bell svg,.site-header .header-tools-v93 .global-search-toggle-v93 svg{stroke:#fff!important}
/* Hero and editorial sections retain the original full homepage and imagery. */
body:has(.zk181-live-hero) .zk181-live-hero{background:#101e17!important;color:#fff!important}
body:has(.zk181-live-hero) .zk181-hero-copy :is(h1,small,p){color:#fff!important;-webkit-text-fill-color:#fff!important}
body:has(.zk181-live-hero) .zk181-hero-copy small{color:#92dcb2!important;-webkit-text-fill-color:#92dcb2!important}
body:has(.zk181-live-hero) .zk18118-home-ai{background:#173126!important;color:#fff!important;border-color:#436d52!important}
body:has(.zk181-live-hero) .zk18118-home-ai :is(h2,span,p){color:#fff!important;-webkit-text-fill-color:#fff!important}
body:has(.zk181-live-hero) .zk18118-home-ai a{color:#fff!important;-webkit-text-fill-color:#fff!important}
/* The obsolete V217 preview panel is folded away; all links remain accessible. */
.zk2236-resources{background:#f6f8f6;color:#1a3425;padding:14px 0 34px}
.zk2236-resources details{border:1px solid #d9e5dd;border-radius:10px;background:#fff;padding:0 16px}
.zk2236-resources summary{cursor:pointer;font:750 13px/1.4 Inter,system-ui,sans-serif;color:#205238;padding:14px 0}
.zk2236-resources summary span{float:right}
.zk2236-resource-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.zk2236-resource-links a{display:flex;flex-direction:column;gap:4px;padding:12px;background:#f5f8f5;border:1px solid #dae6dd;border-radius:8px;text-decoration:none;color:#143923!important}
.zk2236-resource-links a small{color:#506858!important}
/* Community page: same surface for all three real original views. */
body.zk2222-unified .zk2222-hub-head h1{color:#142e20!important;-webkit-text-fill-color:#142e20!important}
body.zk2222-unified .zk2222-hub-head p{color:#496052!important;-webkit-text-fill-color:#496052!important}
body.zk2222-unified .zk2222-hub-tabs a{color:#214934!important;-webkit-text-fill-color:#214934!important}
body.zk2222-unified .zk2222-hub-tabs a.active{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.zk2222-unified .zk2222-fixture-details{background:#f6faf7!important;color:#1b3827!important}
body.zk2222-unified .zk2222-fixture-details :is(strong,p){color:#1b3827!important;-webkit-text-fill-color:#1b3827!important}
body.zk2222-unified .zk2222-action-trip{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.zk2222-unified #zk2222-kette-hint{border:1px solid #cfe1d3!important;background:#f3f8f4!important;color:#153f2b!important}
body.zk2222-unified #zk2222-kette-hint :is(strong,small){color:#234b32!important;-webkit-text-fill-color:#234b32!important}
body.zk2222-unified #zk2222-my-trip summary{background:#142119!important;color:#fff!important}
body.zk2222-unified #zk2222-my-trip summary :is(span,strong,small){color:#fff!important;-webkit-text-fill-color:#fff!important}
/* Ranking: keep all FOUR original tabs and all six scores, no sideways movement. */
body:has(#our-ranking-content) .ranking-tabs{width:100%;min-width:0}
body:has(#our-ranking-content) .ranking-tabs button{color:#245037!important;-webkit-text-fill-color:#245037!important}
body:has(#our-ranking-content) .ranking-tabs button.active{color:#fff!important;-webkit-text-fill-color:#fff!important}
body:has(#our-ranking-content) .zk2227-sortbar label{color:#22472f!important}
body:has(#our-ranking-content) .ranking-table-v4 .zk2227-summary{color:#1b3d29!important}
/* Clubs: preserve each club color variable; avoid black band-on-black glyphs. */
body:has(#club-community-grid) #club-community-grid .club-community-card{background:#fff!important;color:#173c27!important}
body:has(#club-community-grid) #club-community-grid .club-community-card :is(h3,strong,.club-card-meta-v137,.club-card-location-v137,.club-card-footer-v137){color:#183a29!important;-webkit-text-fill-color:#183a29!important;background-color:transparent!important}
body:has(#club-community-grid) #club-community-grid .club-community-card a{color:#176b4a!important;-webkit-text-fill-color:#176b4a!important}
/* An offline snapshot is not a zero-data production status. */
.zk2236-offline-notice{background:#fff8e8;border:1px solid #ecd7a3;color:#5e4c27;border-radius:9px;padding:10px 13px;margin:8px auto 16px;max-width:1140px;font:650 12px/1.5 Inter,system-ui,sans-serif}
@media(max-width:900px){
 .zk2236-resource-links{grid-template-columns:1fr}
 .site-header .header-tools-v93{gap:4px!important}
}
@media(max-width:700px){
 .site-header .header-inner{gap:4px!important;justify-content:space-between!important}
 .site-header .header-tools-v93{margin-left:auto!important;gap:3px!important}
 .site-header .zk2233-site-tool,.site-header .global-search-toggle-v93,.site-header .notification-bell{width:32px!important;max-width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;flex-basis:32px!important}
 .site-header .menu-btn{width:31px!important;min-width:31px!important;flex-basis:31px!important}
 .zk2236-resources{padding-bottom:105px}
 .zk2236-resources .content-shell{max-width:calc(100% - 24px)}
 body:has(#our-ranking-content) #our-ranking-content .ranking-table-v4{max-width:100%!important;min-width:0!important}
 body:has(#our-ranking-content) #our-ranking-content .ranking-table-wrap{max-width:100%!important;overflow-x:hidden!important}
 body:has(#our-ranking-content) .zk2227-metric-grid{max-width:100%;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.zk2222-unified .zk2222-hub{padding:11px!important}
 body.zk2222-unified .zk2222-hub-tabs{gap:5px!important}
 body.zk2222-unified .zk2222-hub-tabs a{font-size:10px!important;padding:8px 2px!important;min-width:0}
 html body nav.mobile-bottom-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:355px){
 .site-header .zk2233-site-tool,.site-header .global-search-toggle-v93,.site-header .notification-bell{width:29px!important;min-width:29px!important;max-width:29px!important;height:29px!important;min-height:29px!important;flex-basis:29px!important}
 .site-header .menu-btn{min-width:29px!important;width:29px!important;flex-basis:29px!important}
}
