/* CP23088 – user-approved single source of truth for mobile navigation and header.
   Preserve business logic, page text, saved states, and the original Vereinsmodus. */
@media(max-width:900px){
 html body nav#zk23088-bottom-nav.mobile-bottom-nav{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-rows:1fr!important;grid-auto-flow:row!important;
  gap:3px!important;box-sizing:border-box!important;
  position:fixed!important;inset:auto 0 0!important;
  width:100vw!important;min-width:0!important;max-width:100vw!important;
  padding:4px 7px calc(4px + env(safe-area-inset-bottom,0px))!important;
  background:#101c15!important;border-top:1px solid #3d644c!important;
 }
 html body nav#zk23088-bottom-nav.mobile-bottom-nav>a{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;min-width:0!important;width:100%!important;
  color:#edf7ef!important;-webkit-text-fill-color:#edf7ef!important;
  text-decoration:none!important;
 }
 html body nav#zk23088-bottom-nav.mobile-bottom-nav>a[aria-current="page"]{
  background:#28563c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 }
 html body nav#zk23088-bottom-nav.mobile-bottom-nav>a strong{
  color:inherit!important;-webkit-text-fill-color:inherit!important;
  font:750 clamp(9px,2.7vw,11px)/1.2 Inter,system-ui,sans-serif!important;
  letter-spacing:0!important;white-space:nowrap!important;
 }
 html body .site-header #zk2257-toolbar{
  display:flex!important;justify-content:space-between!important;
  padding:8px clamp(7px,2.2vw,12px)!important;gap:4px!important;
  overflow:hidden!important;
 }
 html body .site-header #zk2257-toolbar .zk2257-brand{
  flex:0 1 auto!important;min-width:0!important;
  font:800 clamp(13px,4.2vw,20px)/1.2 Inter,system-ui,sans-serif!important;
  letter-spacing:-.035em!important;white-space:nowrap!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
 }
 html body .site-header #zk2257-toolbar .zk2257-actions{
  display:flex!important;flex:0 0 auto!important;min-width:0!important;
  gap:clamp(3px,1.05vw,7px)!important;align-items:center!important;
  flex-wrap:nowrap!important;justify-content:flex-end!important;
 }
 html body .site-header #zk2257-toolbar .zk2257-actions>.zk2257-tool,
 html body .site-header #zk2257-toolbar .zk2257-actions>.zk218-mode-btn{
  box-sizing:border-box!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  flex:0 0 clamp(27px,7.5vw,36px)!important;
  width:clamp(27px,7.5vw,36px)!important;
  min-width:clamp(27px,7.5vw,36px)!important;
  max-width:clamp(27px,7.5vw,36px)!important;
  height:clamp(31px,8vw,40px)!important;min-height:31px!important;
  margin:0!important;padding:3px!important;
  border-radius:9px!important;background:#1d3425!important;
  border:1px solid #587a60!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
 }
 /* CP23095: exactly four mobile header actions: Suche, Kette,
    Glocke, Menü. Theme toggle and Hilfe remain inside the menu. */
 html body .site-header #zk2257-toolbar .zk2257-actions>.zk218-mode-btn,
 html body .site-header #zk2257-toolbar .zk2257-actions>.zk2257-help{
  display:none!important;visibility:hidden!important;
 }
 html body .site-header #zk2257-toolbar .zk2257-actions>.zk2257-search{order:1!important}
 html body .site-header #zk2257-toolbar .zk2257-actions>.zk2257-kette{order:2!important}
 html body .site-header #zk2257-toolbar .zk2257-actions>.zk2257-bell{order:4!important}
 html body .site-header #zk2257-toolbar .zk2257-actions>.zk2257-menu{order:5!important}
 html body .site-header #zk2257-toolbar .zk2257-actions>.zk2257-kette img{
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;
 }
 html body .site-header #zk2257-toolbar .zk2257-actions>.zk218-mode-btn .zk218-mode-icon{
  display:inline!important;font-size:16px!important;
 }
 html body .site-header .header-tools-v93 .zk-tipp-icon{display:none!important}
}
/* Fix the actual broken narrow no-fixture state, without changing fixture data. */
html body.zk225-home .visit-countdown-grid{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:12px!important;align-items:stretch!important;
}
html body.zk225-home .visit-countdown-grid>.countdown-block{
 min-width:0!important;max-width:100%!important;overflow:hidden!important;
}
html body.zk225-home .match-countdown:has(.zk-countdown-empty-v172){
 display:block!important;width:100%!important;min-width:0!important;
 overflow:visible!important;
}
html body.zk225-home .match-countdown>.zk-countdown-empty-v172{
 display:block!important;box-sizing:border-box!important;flex:none!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 font:600 12px/1.45 Inter,system-ui,sans-serif!important;
 white-space:normal!important;word-break:normal!important;
 overflow-wrap:break-word!important;letter-spacing:0!important;
 border:0!important;margin:4px 0!important;padding:0!important;
 color:#24513b!important;-webkit-text-fill-color:#24513b!important;
}
html body.zk225-home .visit-countdown-grid .countdown-title,
html body.zk225-home .visit-countdown-grid .countdown-date{
 overflow-wrap:break-word!important;word-break:normal!important;min-width:0!important;
}
@media(max-width:359px){
 html body.zk225-home .visit-countdown-grid{grid-template-columns:1fr!important}
}
/* Theme-scoped contrast overrides for formerly forced white homepage panels. */
html[data-zk-theme="dark"] body.zk225-home .visit-countdown-section{
 background:#111d16!important;
}
html[data-zk-theme="dark"] body.zk225-home .visit-countdown-grid>:is(.visit-count-block,.countdown-block){
 background:#1a2b20!important;border-color:#45634b!important;
 color:#edf5ef!important;-webkit-text-fill-color:#edf5ef!important;
}
html[data-zk-theme="dark"] body.zk225-home .visit-countdown-grid :is(.visit-label,.countdown-title,.countdown-date,.zk-countdown-empty-v172){
 color:#e6f5e9!important;-webkit-text-fill-color:#e6f5e9!important;
}
html[data-zk-theme="dark"] body.zk225-home .visit-countdown-grid .visit-number{
 color:#9de3b4!important;-webkit-text-fill-color:#9de3b4!important;
}
html[data-zk-theme="dark"] body.zk225-home .visit-countdown-grid :is(.match-countdown,.match-countdown *){
 color:#d5edda!important;-webkit-text-fill-color:#d5edda!important;
}
html[data-zk-theme="dark"] body.zk225-home .match-countdown>.zk-countdown-empty-v172{
 color:#e6f5e9!important;-webkit-text-fill-color:#e6f5e9!important;
}
html[data-zk-theme="dark"] body.zk225-home .zk225-quicknav a{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-zk-theme="dark"] body .zk13-theme-panel :is(button,p,strong){
 -webkit-text-fill-color:inherit!important;
}
