/* Zweierkette V181.7 – production-safe redesign on top of V180 */
:root{--zk181-green:#176b4a;--zk181-ink:#15231a}
html{scroll-padding-top:82px}
body{overflow-x:clip}
:focus-visible{outline:2px solid #2baa77!important;outline-offset:3px}
.site-header .nav-links{gap:6px!important;align-items:center}
.site-header .nav-links>a{font:750 13px/1.3 Inter,Arial,sans-serif!important;padding:11px 12px!important;color:#f1f5f1!important;opacity:1!important;border-radius:6px}
.site-header .nav-links>a.active,.site-header .nav-links>a[aria-current="page"]{background:#176b4a!important;color:#fff!important}
.site-header .brand img{height:38px!important;width:38px!important;max-height:38px!important;object-fit:contain}
.zk181-duplicate-nav{display:none!important}
.zk181-live-hero{background:linear-gradient(115deg,#070b09,#101c14)!important;min-height:0!important}
.zk181-hero-shell{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);align-items:center;gap:48px;max-width:1170px;padding:56px 16px 65px!important;margin:auto}
.zk181-hero-copy{min-width:0}
.zk181-hero-copy small{color:#80ddb0;font-weight:800;font-size:11px;letter-spacing:.12em}
.zk181-hero-copy h1{color:white!important;font:700 clamp(38px,4.1vw,66px)/1 Oswald,Arial,sans-serif!important;max-width:630px;margin:16px 0!important}
.zk181-hero-copy p{color:#d7e1d8!important;font:500 15px/1.6 Inter,Arial,sans-serif;max-width:510px}
.zk181-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.zk181-hero-actions a{padding:13px 16px;display:inline-flex;align-items:center;min-height:44px;max-width:100%;border:1px solid #c0d0c4;border-radius:6px;color:white!important;font:800 11px Inter,Arial,sans-serif}
.zk181-hero-actions .zk181-yt{background:#f4f6f4;color:#121c16!important}
.zk181-hero-actions .zk181-yt-secondary{background:transparent}
.zk181-search{background:#fff!important;border-radius:12px;padding:24px;color:#15261b!important;min-width:0;box-shadow:0 16px 40px rgba(0,0,0,.2)}
.zk181-search>strong{display:block;color:#17251d!important;font:700 24px Oswald,Arial,sans-serif;margin-bottom:16px}
.zk181-search label{display:block;color:#33483b!important;font:bold 10px Inter,Arial,sans-serif;letter-spacing:.07em;margin:11px 0 6px}
.zk181-search input,.zk181-search select{background:#f6f9f7!important;border:1px solid #cbd7ce!important;border-radius:6px;color:#12231a!important;min-height:43px;padding:10px;width:100%;font:600 12px Inter,Arial,sans-serif;box-sizing:border-box}
.zk181-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.zk181-search button{width:100%;min-height:44px;border:0;border-radius:6px;background:#176b4a;color:#fff;font:800 13px Inter,Arial,sans-serif;margin-top:16px;cursor:pointer}
.zk181-search-note,.zk181-search .zk181-search-note{color:#405648!important;font:500 11px/1.55 Inter,Arial,sans-serif!important;margin:10px 0 0}
.zk181-upcoming{background:#f6f8f5;color:#18271d;padding:32px 0 36px}
.zk181-upcoming-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}
.zk181-upcoming-title h2{font:700 28px Oswald,Arial,sans-serif;color:#14251a!important;margin:0}
.zk181-upcoming-title a{color:#156544;font:800 11px Inter,Arial,sans-serif}
.zk181-upcoming-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.zk181-upcoming-grid>a,.zk181-upcoming-grid>.zk181-none{position:relative;display:block;background:#fff;border:1px solid #d7e3da;border-radius:9px;min-width:0;padding:17px 16px;color:#16261b!important}
.zk181-upcoming-grid>a::before{content:'';height:4px;position:absolute;top:0;left:0;right:0;background:linear-gradient(to right,var(--h,#176b4a) 50%,var(--a,#176b4a) 50%)}
.zk181-upcoming-grid>a span{display:block;color:#567163;font:700 10px Inter,Arial,sans-serif;margin-bottom:10px}
.zk181-upcoming-grid>a strong{display:block;font:700 21px/1.22 Oswald,Arial,sans-serif;color:#14251a!important;overflow-wrap:anywhere}
.zk181-upcoming-grid>.zk181-none{grid-column:1/-1;color:#3b5745!important}
.zk181-upcoming-grid .zk181-none a{color:#146a49;text-decoration:underline}
.zk181-video-message{color:#52675a;background:#f3f5f2;padding:24px;border-radius:8px}
.zk181-video-refresh-row{text-align:center;margin:15px 0}
.zk181-video-refresh-row button{background:#176b4a;color:#fff;border:0;border-radius:4px;padding:10px 16px;font-weight:800;cursor:pointer}
.matchday-hero h1{font-size:clamp(30px,4.3vw,60px)!important;line-height:1.1!important;overflow-wrap:anywhere}
.club-community-card,.community-match-card{min-width:0}
.club-community-card[data-zk-accent]{border-top:4px solid var(--zk-accent)!important}
.matchday-hero{border-bottom:5px solid var(--zk-home,#176b4a)!important}
.matchday-hero h1{color:white!important}
.matchday-hero p,.matchday-hero small{color:#d5e0d7!important}
.club-directory-toolbar-v131 input,.club-directory-toolbar-v131 select{color:#14231a!important}
.club-directory-result-v131,.club-directory-result-v131 span{color:#263e2e!important}
.community-match-meta span,.finder-meta-v81 span{line-height:1.45;min-height:22px}
@media(max-width:820px){html{scroll-padding-top:73px}.site-header .menu-btn{min-width:44px;min-height:44px}.site-header .nav-links>a{min-height:42px;font-size:12px!important}.zk181-hero-shell{grid-template-columns:1fr!important;padding:36px 18px 43px!important;gap:24px}.zk181-hero-copy h1{font-size:clamp(36px,9vw,50px)!important}.zk181-hero-copy p{font-size:13px}.zk181-search{padding:18px}.zk181-upcoming-grid{grid-template-columns:1fr}.zk181-pair{gap:8px}.zk181-hero-actions a{font-size:10px;line-height:1.4}.matchday-hero h1{font-size:clamp(28px,7.2vw,44px)!important}.club-community-card h3{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* V181.8 production-safe additions – merged onto the current V181.7 production code.
   Avoid overwriting Stripe, PRO, Supabase, ticket and live-fixture integrations. */
html body .site-header{position:sticky!important;top:0!important;left:auto!important;right:auto!important;width:100%!important;z-index:1000!important;box-sizing:border-box!important}
html body .site-header.scrolled{height:68px!important}
html{scroll-padding-top:84px!important}
#zk-assistant-v176{scroll-margin-top:92px!important}
#community-spiele,.community-view,.club-directory-head-v78{scroll-margin-top:84px}
@media(min-width:761px){
 body:has(#community-spiele) .community-simple-section.community-v44{padding-top:24px!important}
 body:has(#club-community-grid) .club-directory-head-v78{padding-top:20px!important;padding-bottom:12px!important}
 body:has(#club-community-grid) .section.light{padding-top:12px!important}
 body:has(#club-community-grid) .club-directory-controls-v131{padding:12px 14px!important;margin-bottom:10px!important}
 body:has(#club-community-grid) .club-directory-title-v78 h1{font-size:clamp(30px,3vw,42px)!important}
 body:has(#club-community-grid) .club-league-filter-v131{margin:7px 0!important}
}
body:has(#club-community-grid) .club-community-card{padding-top:16px!important;padding-bottom:12px!important;min-width:0!important}
body:has(#club-community-grid) .club-community-card h3{font-size:clamp(22px,2.2vw,30px)!important;line-height:1.1!important;margin:8px 0 5px!important;overflow-wrap:anywhere}
body:has(#club-community-grid) .club-card-location-v137{font-size:11px!important;margin:0 0 10px!important}
body:has(#club-community-grid) .club-card-stats-v137{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:8px 0 9px!important}
body:has(#club-community-grid) .club-card-stats-v137>div{padding:9px 7px!important;min-width:0}
body:has(#club-community-grid) .club-card-stats-v137 span{color:#4e5f55!important;font-size:9px!important}
body:has(#club-community-grid) .club-card-stats-v137 strong{color:#121914!important;font-size:clamp(16px,1.7vw,23px)!important;line-height:1.2!important}
.community-subnav-v128:has(.zk1818-assistant-entry){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
.community-subnav-v128:has(.zk1818-assistant-entry)>a{min-width:0!important;box-sizing:border-box!important;text-align:center!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:44px!important;padding:11px 8px!important;border:1px solid #cbd8cf!important;background:#fff!important;color:#15251b!important;border-radius:6px!important;font:800 11px/1.3 Inter,Arial,sans-serif!important;text-decoration:none!important}
.community-subnav-v128:has(.zk1818-assistant-entry)>a.active{background:#176b4a!important;border-color:#176b4a!important;color:#fff!important}
.community-subnav-v128>a.zk1818-assistant-entry{background:#102c20!important;border-color:#23513a!important;color:#fff!important}
.community-subnav-v128>a.zk1818-assistant-entry:hover{background:#176b4a!important;color:#fff!important}
@media(max-width:760px){
 html body .site-header,html body .site-header.scrolled{height:64px!important}
 html body .mobile-bottom-nav.zk1818-bottom-nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important;width:100%!important;left:0!important;right:0!important;bottom:0!important;padding:0 4px env(safe-area-inset-bottom)!important;box-sizing:border-box!important;position:fixed!important;z-index:1200!important}
 html body .mobile-bottom-nav.zk1818-bottom-nav>a{min-width:0!important;max-width:none!important;width:auto!important;height:63px!important;min-height:63px!important;padding:8px 1px 7px!important;margin:0!important;box-sizing:border-box!important;flex:initial!important;display:flex!important;flex-direction:column!important;gap:4px!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:0!important;background:transparent!important;color:#c6d2c9!important}
 html body .mobile-bottom-nav.zk1818-bottom-nav>a[aria-current="page"],html body .mobile-bottom-nav.zk1818-bottom-nav>a.zk181-active{background:#143b29!important;color:#fff!important;border-top:2px solid #78dba1!important}
 html body .mobile-bottom-nav.zk1818-bottom-nav .zk1818-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:24px!important;height:24px!important;margin:0!important;color:inherit!important}
 html body .mobile-bottom-nav.zk1818-bottom-nav svg{display:block;width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 html body .mobile-bottom-nav.zk1818-bottom-nav>a strong{display:block!important;color:inherit!important;font:800 9.5px/1.1 Inter,Arial,sans-serif!important;white-space:nowrap!important}
 html body .community-subnav-v128:has(.zk1818-assistant-entry){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 html body .community-subnav-v128:has(.zk1818-assistant-entry)>a{font-size:10px!important;min-height:43px!important;padding:9px 5px!important}
 body:has(#club-community-grid) .club-directory-head-v78{padding-top:13px!important}
 body:has(#club-community-grid) .club-community-card{padding:12px!important}
 body:has(#club-community-grid) .club-card-stats-v137>div{padding:9px 4px!important}
 body:has(#club-community-grid) .club-card-stats-v137 span{font-size:8px!important}
 body:has(#club-community-grid) .club-card-stats-v137 strong{font-size:18px!important}
 html body{padding-bottom:calc(67px + env(safe-area-inset-bottom))!important}
}

/* V181.11 — six compact nav items and collapsible mobile matchday leagues */
@media(max-width:760px){
 html body .mobile-bottom-nav.zk1818-bottom-nav{
   grid-template-columns:repeat(6,minmax(0,1fr))!important;
   padding-left:2px!important;padding-right:2px!important;height:auto!important
 }
 html body .mobile-bottom-nav.zk1818-bottom-nav>a{
   min-width:0!important;max-width:none!important;
   height:60px!important;min-height:60px!important;
   padding:6px 0 7px!important;gap:3px!important
 }
 html body .mobile-bottom-nav.zk1818-bottom-nav .zk1818-icon{width:22px!important;height:22px!important}
 html body .mobile-bottom-nav.zk1818-bottom-nav svg{width:20px!important;height:20px!important}
 html body .mobile-bottom-nav.zk1818-bottom-nav>a strong{
   font-size:clamp(7px,2.05vw,9px)!important;letter-spacing:0!important;
   line-height:1.2!important;white-space:nowrap!important;text-align:center!important
 }
 body:has(#community-spiele) .community-global-shell-v154.zk181-duplicate-nav{
   display:none!important;height:0!important;padding:0!important;margin:0!important
 }
 body:has(#community-spiele) .community-simple-section.community-v44{
   padding:8px 0 10px!important;
   margin:0!important;min-height:0!important;height:auto!important
 }
 body:has(#community-spiele) .community-simple-section>.content-shell{
   margin:0 auto!important;padding:0!important;min-height:0!important
 }
 body:has(#community-spiele) #community-spiele{
   padding:14px!important;min-height:0!important;height:auto!important;
   margin:0!important
 }
 #community-spiele .community-v44-panel-head{margin:0 0 8px!important;padding:0!important}
 #community-spiele .community-step{margin:0!important;padding:0!important;border:0!important}
 #community-spiele .community-step:has(#mobile-league-select-toggle){display:none!important}
 #community-spiele .community-step-games{margin:8px 0 0!important;padding:0!important;border:0!important}
 #community-spiele .community-step-games .community-step-label{margin:0 0 8px!important}
 #community-spiele .community-match-list{display:flex!important;flex-direction:column!important;gap:8px!important}
 #community-spiele .zk18111-league{display:block!important;margin:0!important;border:1px solid #d1dcd4;background:#fff;border-radius:3px;overflow:hidden}
 #community-spiele .zk18111-league>summary{
   display:flex!important;align-items:center!important;justify-content:space-between!important;
   gap:8px;padding:14px 12px!important;min-height:51px;list-style:none!important;
   cursor:pointer;font:700 17px/1.2 Oswald,Arial,sans-serif!important;color:#112b1e!important;background:#fff!important
 }
 #community-spiele .zk18111-league>summary::-webkit-details-marker{display:none}
 #community-spiele .zk18111-league[open]>summary{background:#eff6f1!important;border-bottom:1px solid #d1dcd4}
 #community-spiele .zk18111-league-count{color:#55695c!important;white-space:nowrap;font:700 9px/1.2 Inter,Arial,sans-serif!important}
 #community-spiele .zk18111-league-count b{display:inline-block;margin-left:4px;font-size:17px;color:#176b4a}
 #community-spiele .zk18111-league[open] .zk18111-league-count b{transform:rotate(180deg)}
 #community-spiele .zk18111-league-contents{padding:8px!important;display:grid;gap:8px}
 #community-spiele .zk18111-no-games{color:#53645a!important;font-size:12px!important;padding:8px 4px!important;margin:0!important}
 #community-spiele .zk18111-league .community-match-card{min-width:0!important;width:100%!important;margin:0!important}
 body:has(#community-spiele) #zk-assistant-v176{margin-top:14px!important}
}

/* V182: honest fixture freshness status with compact mobile styling. */
#community-spiele .zk182-fixture-status{
 display:block;margin:0 0 13px;padding:10px 12px;
 background:#f0f6f1;border:1px solid #c3d9c8;border-left:3px solid #176b4a;border-radius:4px;
 color:#245139!important;-webkit-text-fill-color:#245139!important;
 font:800 10px/1.5 Inter,Arial,sans-serif!important;
 letter-spacing:.015em;overflow-wrap:anywhere;
}
#community-spiele .zk182-fixture-status.zk182-feed-incomplete{
 background:#fff9ec;border-color:#e7d0a7;border-left-color:#996013;
 color:#694815!important;-webkit-text-fill-color:#694815!important;
}
@media(max-width:760px){
 #community-spiele .zk182-fixture-status{margin:8px 0!important;padding:9px 10px!important;font-size:9px!important}
}
