/* ZK24180 – ONE final mobile layer. Appearance only; no feature suppression. */
:root{--zk80-green:#176b4a;--zk80-ink:#143322;--zk80-muted:#587064;--zk80-line:#d5e4d9;--zk80-paper:#fff;--zk80-surface:#f5f9f6}
html{overflow-x:clip;text-size-adjust:100%;-webkit-text-size-adjust:100%}
html,body{max-width:100%;min-width:0}
body{overflow-x:clip}
:where(main,section,article,.content-shell,.zk186-shell,.zk34-allin-panel,.zk34-time-fields,.zk34-rail-fields,.zk80-match){min-width:0}
:where(button,input,select,textarea){font-family:Inter,system-ui,-apple-system,sans-serif}
:where(button,a,summary,input,select):focus-visible{outline:3px solid #8be1a7!important;outline-offset:2px}
html body .zk-unified-header{isolation:isolate;z-index:1000!important}
html body #zk-u-bottom{padding-bottom:max(6px,env(safe-area-inset-bottom,0px));box-sizing:content-box}
html[data-zk-theme=dark]{color-scheme:dark}
html[data-zk-theme=light]{color-scheme:light}
html[data-zk-theme=dark] body:where(:not(.zk224-kette-home)){--zk80-ink:#e6f4e9;--zk80-muted:#bed5c5;--zk80-line:#42604a;--zk80-paper:#1c3023;--zk80-surface:#16271c}
html[data-zk-theme=dark] :is(.zk186-panel,.zk186-hero,.groundhop-stat,.zk80-match,.zk80-options,.zk80-note){color:var(--zk80-ink)!important;background:var(--zk80-paper)!important;border-color:var(--zk80-line)!important}
html[data-zk-theme=dark] :is(.zk186-panel,.zk186-hero,.groundhop-stat,.zk80-match,.zk80-options) :is(h1,h2,h3,strong,label,summary){color:#e9f6ec!important}
html[data-zk-theme=dark] :is(.zk186-panel,.groundhop-stat,.zk80-match,.zk80-note) :is(p,small,span){color:#b8d5c2}
html[data-zk-theme=dark] :is(.zk186-form,.zk186-panel) :is(input,select,textarea){background:#f4faf5!important;color:#183c29!important;border-color:#83af91!important}
html[data-zk-theme=dark] :is(.zk186-form,.zk186-panel) :is(input,select,textarea)::placeholder{color:#597461}
@media(max-width:780px){
 html body .zk-unified-header{box-sizing:border-box;max-width:100%;padding-top:env(safe-area-inset-top,0px)}
 html body .zk-unified-header .zk-u-inner{max-width:100%;min-width:0;padding-inline:12px;gap:8px}
 html body .zk-unified-header .zk-u-brand{min-width:0}
 html body .zk-unified-header .zk-u-tools{flex-shrink:0;gap:5px}
 html body #zk-u-bottom{left:0;right:0;max-width:100vw;min-height:54px}
 main{max-width:100%;min-width:0}
 :is(.content-shell,.zk186-shell){max-width:100%;padding-inline:16px;box-sizing:border-box}
 .zk80-mobile-clean :is(h1,h2,h3){overflow-wrap:normal;word-break:normal;hyphens:auto}
}
/* Kette: dark edge-to-edge, no white page-frame or inset rectangle. */
body:has(#zk224-home){background:#091710!important}
body:has(#zk224-home) main#zk218-kette-main{max-width:100%!important;width:100%!important;min-height:calc(100dvh - 80px);margin:0!important;background:#091710!important;padding:0!important;color:#eef9f1!important}
body:has(#zk224-home) #zk224-home{box-sizing:border-box;width:100%!important;max-width:100%!important;min-height:calc(100dvh - 80px);background:#091710!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0!important}
body:has(#zk224-home) :is(.k24-landing,#zk67-dashboard){box-sizing:border-box;width:100%!important;max-width:1140px;margin-inline:auto!important;border:0!important;box-shadow:none!important;background:transparent!important}
body:has(#zk224-home) :is(.zk67-hero,.zk67-feature,.zk67-plan){box-shadow:none!important}
body:has(#zk224-home) :is(.zk67-heading h1,.zk67-hero h1,.zk67-kicker,.zk67-hero strong){color:#edfaef!important}
body:has(#zk224-home) :is(.zk67-heading p,.zk67-hero p){color:#cee5d4!important}
@media(max-width:780px){
 body:has(#zk224-home) main#zk218-kette-main{min-height:100dvh}
 body:has(#zk224-home) :is(.k24-landing,#zk67-dashboard){padding-inline:16px!important}
 body:has(#zk224-home) :is(.zk67-hero,.zk67-heading){padding-inline:0!important}
 body:has(#zk224-home) .zk67-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body:has(#zk224-home) .zk67-feature{min-width:0;padding:12px!important}
 body:has(#zk224-home) .zk67-feature h3{font-size:14px!important;line-height:1.25!important}
 body:has(#zk224-home) .zk67-feature p{font-size:12px!important;line-height:1.45!important}
}
/* Zeitplan: prohibit narrow overlapping two-column inputs; improve contrast. */
#zk34-allin-planner,#zk90-depart .zk34-rail-search{overflow:hidden;max-width:100%;box-sizing:border-box}
#zk34-allin-planner h2{color:#f4fff6!important;font-size:clamp(22px,5.2vw,30px)!important;letter-spacing:-.028em}
#zk34-allin-planner .zk34-time-fields label,#zk34-allin-planner .zk34-rail-fields label{font-size:13px!important;line-height:1.4!important;letter-spacing:0!important;color:#d6f0df!important}
#zk34-allin-planner .zk34-time-fields :is(input,select),#zk34-allin-planner .zk34-rail-fields input{font-size:16px!important;min-height:48px!important;border-radius:10px!important;text-overflow:ellipsis;padding:9px 12px!important}
#zk34-depart-result{overflow-wrap:anywhere}
#zk34-depart-result :is(strong,.zk34-output-label,small){color:#ecfff1!important}
@media(max-width:680px){
 #zk34-allin-planner .zk34-time-fields,#zk34-allin-planner .zk34-rail-fields,#zk90-depart .zk34-rail-fields{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
 #zk34-allin-planner{padding:16px!important}
 #zk34-allin-planner .zk34-time-fields>label{grid-column:1/-1!important;min-width:0!important}
 #zk34-allin-planner :is(input,select){max-width:100%!important;min-width:0!important;width:100%!important}
 #zk34-allin-planner .zk34-depart-output{padding:15px!important}
 #zk34-depart-result>strong{font-size:clamp(19px,5vw,26px)!important}
}
/* Crew – one consistent touch-friendly hierarchy. */
#zk186-groups{width:min(100%,1040px);margin-inline:auto;box-sizing:border-box}
#zk186-groups .zk186-hero{border-radius:16px!important;box-shadow:none!important;padding:clamp(16px,4vw,28px)!important;margin:14px 0!important}
#zk186-groups .zk186-hero h1{font:800 clamp(24px,6vw,38px)/1.15 Inter,system-ui,sans-serif!important;letter-spacing:-.03em}
#zk186-groups .zk186-hero p{font-size:14px!important;line-height:1.55!important;max-width:630px}
#zk186-groups :is(.zk186-panel,.zk186-subpanel){box-shadow:none!important;border-radius:14px!important}
#zk186-groups .zk186-hero-links{display:flex!important;flex-wrap:wrap!important;gap:9px!important}
#zk186-groups .zk186-hero-links a{display:inline-flex!important;flex:0 1 auto!important;min-width:0;min-height:42px!important;padding:10px 14px!important;border-radius:10px!important;align-items:center;justify-content:center;box-sizing:border-box;font-size:12px!important}
#zk186-groups :is(.zk186-primary,.zk186-outline,.zk186-danger){font-family:Inter,system-ui,sans-serif!important;border-radius:10px!important;min-height:44px!important;box-shadow:none!important}
#zk186-groups .zk186-panel-head{gap:12px;flex-wrap:wrap}
@media(max-width:680px){
 #zk186-groups .zk186-hero-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #zk186-groups .zk186-hero-links a{width:100%;font-size:12px!important;text-align:center}
 #zk186-groups .zk186-panel,#zk186-groups .zk186-subpanel{padding:15px!important;margin-block:11px!important;max-width:100%!important;min-width:0}
 #zk186-groups .zk186-grid,#zk186-groups .zk186-two,#zk186-groups .zk186-form{grid-template-columns:minmax(0,1fr)!important}
 #zk186-groups .zk186-panel :is(button,input,select,textarea){max-width:100%;box-sizing:border-box}
 #zk186-groups .zk186-panel-head h2{font-size:18px!important}
 #zk186-groups .zk186-primary{width:100%!important}
}
/* Groundhopper: show the two key counters, searchable list, and a small help disclosure. */
body:has(.groundhop-toolbar) .account-hero.community-subhero{padding-block:14px!important}
body:has(.groundhop-toolbar) .account-hero h1{font:800 clamp(25px,6vw,36px)/1.12 Inter,system-ui,sans-serif!important;letter-spacing:-.03em}
body:has(.groundhop-toolbar) .account-hero p{font-size:13px!important;line-height:1.5!important}
body:has(.groundhop-toolbar) .groundhop-toolbar{max-width:100%;box-sizing:border-box}
body:has(.groundhop-toolbar) .groundhop-stat{border-radius:12px!important;box-shadow:none!important}
body:has(.groundhop-toolbar) .groundhop-stat strong{font:800 clamp(23px,6vw,34px)/1.1 Inter,system-ui,sans-serif!important}
body:has(.groundhop-toolbar) .ground-grid{max-width:100%;min-width:0}
.zk80-ground-help{border:1px solid var(--zk80-line);border-radius:12px;padding:12px 14px;margin:12px 0;color:var(--zk80-ink);background:var(--zk80-surface)}
.zk80-ground-help summary{font-weight:750;font-size:13px;cursor:pointer}
.zk80-ground-help p{font-size:12px!important;line-height:1.6!important;margin:9px 0 0!important}
@media(max-width:680px){
 body:has(.groundhop-toolbar) .groundhop-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body:has(.groundhop-toolbar) .groundhop-stat{min-width:0;padding:14px 11px!important}
 body:has(.groundhop-toolbar) :is(.groundhop-toolbar,.ground-grid,.ground-filter-tabs){width:100%!important;min-width:0}
 body:has(.groundhop-toolbar) :is(.groundhop-search,.ground-filter-tabs){max-width:100%!important}
}
/* Game lists: compact vertical rows; original links are moved only within their own card. */
#community-match-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
#community-match-list>*{max-width:100%!important;min-width:0!important;grid-column:1/-1!important}
#community-match-list :is(.game-card,.match-card,.community-match-card,.fixture-card,.zk80-match){max-width:100%!important;width:100%!important;min-width:0!important;box-sizing:border-box;border-radius:12px!important;box-shadow:none!important}
.zk80-match{border:1px solid var(--zk80-line)!important;background:var(--zk80-paper)!important;color:var(--zk80-ink)!important;border-radius:12px!important;min-width:0;box-shadow:none!important;overflow:hidden}
.zk80-match.zk80-compact{padding:12px!important;margin:0!important}
.zk80-options{display:block;max-width:100%;box-sizing:border-box;border-top:1px solid var(--zk80-line);margin-top:10px;padding-top:5px}
.zk80-options summary{cursor:pointer;color:var(--zk80-green)!important;font:750 12px/1.45 Inter,system-ui,sans-serif!important;padding:10px 4px;list-style:none}
.zk80-options summary::-webkit-details-marker{display:none}
.zk80-options summary:after{content:'⌄';float:right;font-size:17px;line-height:1}
.zk80-options[open] summary:after{content:'⌃'}
.zk80-options-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 0 5px;min-width:0}
.zk80-options-links :is(a,button){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:43px!important;border-radius:9px!important;font-size:12px!important;line-height:1.3!important;padding:10px!important;white-space:normal!important;text-align:center!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow-wrap:anywhere}
.zk80-options-links>a:first-child{color:#fff!important;background:var(--zk80-green)!important;border-color:var(--zk80-green)!important}
.zk80-options-links :is(details,div){grid-column:1/-1;max-width:100%;min-width:0}
@media(max-width:680px){
 #community-spiele .community-match-list{grid-template-columns:1fr!important}
 #community-spiele .community-step-games{min-width:0}
 .zk80-options-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .zk80-mobile-clean .community-match-list .zk80-match{padding:12px!important}
}
/* Make source-backed suggestion details part of the same compact card system. */
.zk80-suggestion{box-shadow:none!important;max-width:100%!important;min-width:0!important}
.zk80-suggestion .zk80-options-links{margin-top:4px}
html[data-zk-theme=dark] .zk80-options summary{color:#a6edbc!important}
@media(max-width:680px){.zk80-suggestion{padding:13px!important}}
/* Avoid clashing arbitrary forced dark headings with unreadable dark background. */
html[data-zk-theme=dark] :is(#zk34-allin-planner,#zk90-depart,.zk34-rail-search) :is(h2,h3,label,p){color:#e8f7ed!important}
html[data-zk-theme=dark] #zk34-allin-planner .zk34-disclaimer{color:#c4d9cb!important}
html[data-zk-theme=dark] :is(.zk80-ground-help,.zk80-match) :is(input,select,textarea){background:#f4faf5!important;color:#173a27!important}
@media(prefers-reduced-motion:reduce){.zk80-match,.zk80-options,.zk80-ground-help{transition:none!important;animation:none!important}}


/* ZK24180.2 – native fixture buttons keep their verified match IDs, but tap opens options. */
#community-match-list .zk80-fixture-row{display:block;min-width:0;max-width:100%;width:100%;box-sizing:border-box;border:1px solid var(--zk80-line);border-radius:12px;background:var(--zk80-paper);padding:0;overflow:hidden;box-shadow:none!important;margin:0 0 8px}
#community-match-list .zk80-fixture-row>.community-match-card{width:100%!important;max-width:100%!important;min-height:66px!important;box-sizing:border-box!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;display:grid!important;grid-template-columns:minmax(58px,75px) minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;text-align:left!important;padding:11px 13px!important}
#community-match-list .zk80-fixture-row .community-match-time{font:750 12px/1.5 Inter,system-ui,sans-serif!important;white-space:normal!important;min-width:0!important;text-align:left!important;color:var(--zk80-muted)!important}
#community-match-list .zk80-fixture-row .community-match-teams{display:grid!important;gap:1px!important;min-width:0!important;text-align:left!important}
#community-match-list .zk80-fixture-row .community-match-teams strong{font:750 14px/1.3 Inter,system-ui,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere;color:var(--zk80-ink)!important}
#community-match-list .zk80-fixture-row .community-match-teams>span{font-size:10px!important;line-height:1!important}
#community-match-list .zk80-fixture-row .community-match-meta{display:flex!important;flex-wrap:wrap!important;gap:4px!important;justify-content:flex-end!important;min-width:0!important}
#community-match-list .zk80-fixture-row .community-match-meta .match-badge{display:none!important}
#community-match-list .zk80-fixture-row .community-match-meta .match-open{font:750 10px/1.3 Inter,system-ui,sans-serif!important;white-space:normal!important;max-width:78px;text-align:right;color:#176b4a!important}
#community-match-list .zk80-fixture-row .zk80-fixture-options{margin:0 13px 3px;padding:0 0 4px}
#community-match-list .zk80-fixture-row .zk80-fixture-options:not([open]){display:none}
#community-match-list .zk80-fixture-row .zk2222-game-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;max-width:100%}
#community-match-list .zk80-fixture-row .zk2222-game-actions button{min-height:41px!important}
#community-match-list .zk18111-league-contents,#community-match-list .community-fixtures{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
#community-match-list .community-league-block{grid-column:1/-1!important;min-width:0!important}
html[data-zk-theme=dark] #community-match-list .zk80-fixture-row{background:#1b3023!important;border-color:#42644c!important;color:#ecf7ef!important}
html[data-zk-theme=dark] #community-match-list .zk80-fixture-row .community-match-teams strong{color:#e8f6ec!important}
html[data-zk-theme=dark] #community-match-list .zk80-fixture-row .community-match-time{color:#b6d2c0!important}
html[data-zk-theme=dark] #community-match-list .zk80-fixture-row .match-open{color:#a8ecc0!important}
@media(max-width:480px){
 #community-match-list .zk80-fixture-row>.community-match-card{grid-template-columns:60px minmax(0,1fr) 60px!important;gap:7px!important;padding:10px!important}
 #community-match-list .zk80-fixture-row .community-match-teams strong{font-size:13px!important}
 #community-match-list .zk80-fixture-row .community-match-meta .match-open{font-size:9px!important}
}
