/* ZK-31800 – Spiele & Touren: drei Reiter, Filter-Pills, Liste nach Tagen, Touren-Karten, Prüfung, Bottom-Sheet. Inter, #176b4a, kein Glow. */
.zk318-main{--g:#176b4a;--ink:#11261b;--mut:#5b7366;--line:#e6ece8;--soft:#f6f9f7;max-width:920px!important;margin:0 auto!important;padding:16px 16px 96px!important;box-sizing:border-box;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink)}
.zk318 *{box-sizing:border-box;letter-spacing:0;text-transform:none}
.zk318-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.zk318-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px;background:#eef3f0;border-radius:14px;margin:0 0 12px}
.zk318-tabs a{display:flex;align-items:center;justify-content:center;height:40px;border-radius:11px;color:var(--mut)!important;font:500 14px Inter,system-ui,sans-serif;text-decoration:none!important;text-align:center}
.zk318-tabs a[aria-selected="true"]{background:#fff;color:var(--ink)!important;font-weight:600}
.zk318-pills{display:flex;gap:8px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}.zk318-pills::-webkit-scrollbar{display:none}
.zk318-pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font:500 14px Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.zk318-pill.is-on{border-color:var(--g);background:#eef6f1;color:var(--g);font-weight:600}.zk318-icon{width:38px;padding:0;justify-content:center}
.zk318-count,.zk318-note{font-size:12.5px;color:var(--mut);margin:2px 0 8px}
.zk318-day{font-size:13px;font-weight:600;color:var(--g);margin:14px 0 6px}
.zk318-row{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;margin:0 0 6px;padding-right:8px}
.zk318-main a.zk318-main,.zk318-row>.zk318-main{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:10px 12px;color:var(--ink)!important;text-decoration:none!important}
.zk318-t{flex:0 0 52px;display:grid}.zk318-t b{font-size:15px;font-weight:600}.zk318-t small{font-size:11px;color:var(--mut)}.zk318-open{font-size:12px!important;color:#9a6b1d}
.zk318-m{flex:1;min-width:0;display:grid}.zk318-m strong{font-size:14.5px;font-weight:600;overflow-wrap:anywhere}.zk318-m small{font-size:12px;color:var(--mut);overflow-wrap:anywhere}
.zk318-flag{width:18px;height:13px;border-radius:2px;border:1px solid var(--line);vertical-align:-1px;margin-right:6px;object-fit:cover}
.zk318-plan{flex:0 0 auto;font-size:13px;font-weight:600;color:var(--g)}
.zk318-pick{flex:0 0 28px;width:28px;height:28px;border-radius:50%;border:2px solid #b9cfc2;background:#fff;cursor:pointer}
.zk318-pick[aria-pressed="true"]{background:var(--g);border-color:var(--g);box-shadow:inset 0 0 0 4px #fff}
.zk318-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(76px + env(safe-area-inset-bottom));z-index:40;display:flex;align-items:center;gap:14px;width:min(560px,calc(100% - 24px));padding:10px 12px 10px 16px;border-radius:14px;background:var(--ink);color:#fff;font:500 14px Inter,system-ui,sans-serif}
.zk318-bar[hidden]{display:none}.zk318-bar span{flex:1}.zk318-bar a{background:#fff;color:var(--g)!important;border-radius:10px;padding:8px 14px;font-weight:600;text-decoration:none!important}
@media(min-width:900px){.zk318-bar{bottom:20px}}
.zk318-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.zk318-chips button{height:36px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font:500 13.5px Inter,system-ui,sans-serif;cursor:pointer}
.zk318-chips button[aria-pressed="true"]{background:var(--g);border-color:var(--g);color:#fff;font-weight:600}
.zk318-tour{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin:0 0 10px}
.zk318-tour h3{font-size:15px;font-weight:600;margin:0 0 8px}.zk318-tour ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.zk318-tour li{display:flex;gap:10px;align-items:flex-start}.zk318-tour li>span:last-child{display:grid;min-width:0}.zk318-tour strong{font-size:14px;font-weight:600}.zk318-tour small{font-size:12px;color:var(--mut)}
.zk318-n{flex:0 0 24px;height:24px;border-radius:50%;background:var(--g);color:#fff;display:grid;place-items:center;font-size:12.5px;font-weight:600}
.zk318-foot{font-size:12.5px;color:var(--mut);margin:10px 0 8px;border-top:1px solid var(--line);padding-top:8px}
.zk318-btn,.zk318-btn2{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:12px;font:600 14px Inter,system-ui,sans-serif;cursor:pointer;text-decoration:none!important}
.zk318-btn{background:var(--g);border:1px solid var(--g);color:#fff!important}.zk318-btn:disabled{opacity:.45}.zk318-btn2{background:#fff;border:1px solid var(--line);color:var(--ink)!important}
.zk318-link{background:none;border:0;padding:0;color:var(--g);font:500 13px Inter,system-ui,sans-serif;text-decoration:underline;cursor:pointer}
.zk318-empty{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;text-align:center}.zk318-empty p{margin:0 0 10px;color:var(--mut);font-size:14px}
.zk318-res{font-size:18px;font-weight:600;margin:4px 0 10px;padding:12px 14px;border-radius:12px}.zk318-res.ok{background:#e3f1e9;color:#176b4a}.zk318-res.bad{background:#f8e3dc;color:#9a3412}.zk318-res.mid{background:#f4ecdc;color:#7a5a1d}
.zk318-sel,.zk318-legs{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:6px}
.zk318-sel li{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px}.zk318-sel li>span:first-child{flex:0 0 52px;display:grid}.zk318-sel li>span:nth-child(2){flex:1;min-width:0;display:grid}
.zk318-sel strong{font-size:14px;font-weight:600}.zk318-sel small{font-size:12px;color:var(--mut)}.zk318-sel button{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}
.zk318-legs li{display:grid;gap:2px;font-size:13px;color:var(--mut);padding:8px 12px;border-left:3px solid #d6e6dc}.zk318-legs strong{color:var(--ink);font-size:13.5px}
.zk318-actions{display:flex;gap:8px;flex-wrap:wrap}.zk318-msg{font-size:12.5px;color:var(--mut)}
.zk318-sheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:560px;max-height:88vh;border-radius:20px 20px 0 0;background:#fff;color:var(--ink)}
.zk318-sheet::backdrop{background:rgba(17,38,27,.38)}
@media(min-width:700px){.zk318-sheet{margin:auto;border-radius:20px}}
.zk318-sh{padding:14px 18px 18px;display:grid;gap:12px;font-family:Inter,system-ui,sans-serif}
.zk318-sh-h{display:flex;justify-content:space-between;align-items:center}.zk318-sh-h h2{font-size:18px;font-weight:600;margin:0}.zk318-sh-h button{width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}
.zk318-sh label,.zk318-sh fieldset{display:grid;gap:6px;font-size:13px;font-weight:500;color:var(--mut);border:0;padding:0;margin:0}.zk318-sh legend{padding:0;margin:0 0 6px}
.zk318-sh :is(input:not([type=checkbox]),select){height:46px;border:1px solid var(--line);border-radius:12px;padding:0 12px;font:400 16px Inter,system-ui,sans-serif;color:var(--ink);background:#fff;width:100%}
.zk318-in{display:flex;gap:6px}.zk318-in input{flex:1;min-width:0}.zk318-sw{display:flex!important;align-items:center;gap:10px;font-size:14px!important;color:var(--ink)!important}.zk318-sw input{width:20px;height:20px;accent-color:#176b4a}
.zk318-go{width:100%;min-height:48px}
/* globale Link-/Knopfstile im Bereich neutralisieren */
html body #zk318 a.zk318-main{display:flex!important;min-height:0!important;height:auto!important;padding:10px 12px!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;width:auto!important}
html body #zk318 .zk318-row{min-height:0!important;height:auto!important}
html body #zk318 button.zk318-pick{width:28px!important;height:28px!important;min-height:0!important;min-width:0!important;padding:0!important;border-radius:50%!important;flex:0 0 28px!important}
html body #zk318 .zk318-pill{min-height:0!important;height:38px!important}
html body #zk318 .zk318-tabs a{min-height:0!important;margin:0!important;border:0!important;box-shadow:none!important}
/* ZK-31810 */
.zk318-add{margin:0 0 10px}
html body #zk318 .zk318-add input{width:100%;height:46px;border:1px solid var(--line);border-radius:12px;padding:0 14px;font:400 16px Inter,system-ui,sans-serif;color:var(--ink);background:#fff;box-sizing:border-box}
.zk318-add-hits{margin-top:6px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.zk318-add-hits[hidden]{display:none}.zk318-add-hits .zk318-note{padding:10px 12px;margin:0}
html body #zk318 .zk318-add-hits button{display:flex;gap:10px;align-items:center;width:100%;text-align:left;padding:9px 12px;border:0;border-top:1px solid var(--line);background:#fff;cursor:pointer;font:inherit;color:var(--ink);min-height:0;border-radius:0}
.zk318-add-hits button:first-child{border-top:0}.zk318-add-hits button:hover{background:var(--soft)}
.zk318-add-hits button>span:first-child{flex:0 0 52px;display:grid}.zk318-add-hits button>span:last-child{display:grid;min-width:0}.zk318-add-hits strong{font-size:14px;font-weight:600}.zk318-add-hits small{font-size:12px;color:var(--mut)}
.zk318-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 4px}
html body #zk318 .zk318-two>button{width:100%;min-height:48px;height:48px;padding:0 10px;font-size:14px;white-space:nowrap}
@media(max-width:360px){html body #zk318 .zk318-two>button{font-size:13px;padding:0 6px}}
/* ZK-31810: Von–Bis und Länder-Mehrfachauswahl */
.zk318-range{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 8px}
.zk318-err{margin:0;font-size:12.5px;color:#9a3412}
.zk318-lall{display:flex;gap:16px;margin:0 0 6px}
.zk318-lands{display:grid;grid-template-columns:1fr 1fr;gap:2px 10px;max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:6px 10px}
.zk318-lands label{display:flex!important;align-items:center;gap:8px;font-size:14px!important;color:var(--ink)!important;min-height:34px;grid-template-columns:none!important}
.zk318-lands input{width:18px!important;height:18px!important;accent-color:#176b4a;flex:0 0 18px;margin:0}
.zk318-lands .zk318-flag{margin:0}
@media(max-width:360px){.zk318-lands{grid-template-columns:1fr}}
/* ZK-31910: Pill-Zeile ohne Querscrollen */
#zk318-pills.zk318-pills{display:flex;flex-direction:column;gap:8px;overflow:visible;padding:2px 0 10px}
#zk318-pills .zk318-prow{display:flex;gap:8px;min-width:0}
#zk318-pills .zk318-pill{flex:1 1 0;min-width:0;justify-content:center;gap:6px;height:38px!important;padding:0 10px;font-size:14px}
#zk318-pills .zk318-pill.zk318-icon{flex:0 0 40px;width:40px;padding:0}
#zk318-pills .zk318-pt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#zk318-pills .zk318-pic{flex:0 0 15px;color:#176b4a}
@media(min-width:760px){#zk318-pills.zk318-pills{flex-direction:row;flex-wrap:nowrap}#zk318-pills .zk318-prow{display:contents}#zk318-pills .zk318-pill{flex:0 1 auto;max-width:260px;padding:0 14px}}
/* ZK-32080 Zeitstrahl je Übergang */
.zk318-res.mid{background:#fdf3d6;color:#8a5a00}
.zk3208-legs{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:10px}
.zk3208-leg{border:1px solid #dce9df;border-left:4px solid #176b4a;border-radius:12px;padding:10px 12px;background:#fff;min-width:0}
.zk3208-leg.mid{border-left-color:#d19a00}.zk3208-leg.bad{border-left-color:#c2410c}
.zk3208-leg>strong{display:block;font-size:14px;color:#10231a;overflow-wrap:anywhere}
.zk3208-res{margin:4px 0 6px;font-size:14px;font-weight:700}
.zk3208-leg.ok .zk3208-res{color:#176b4a}.zk3208-leg.mid .zk3208-res{color:#8a5a00}.zk3208-leg.bad .zk3208-res{color:#9a3412}
.zk3208-tl{list-style:none;margin:0;padding:0 0 0 2px;display:grid;gap:3px;font-size:12.5px;color:#4b6355}
.zk3208-tl li{display:grid;grid-template-columns:62px 1fr;gap:8px;min-width:0}
.zk3208-tl span{font-weight:700;color:#10231a;font-variant-numeric:tabular-nums}
/* ZK-32120 kompakter Zeitstrahl */
.zk3208-res{display:flex;align-items:center;gap:8px;margin:0 0 2px!important;font-size:15px!important}
.zk3208-res i{font-style:normal;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:800;color:#fff;background:#176b4a;flex:none}
.zk3208-leg.mid .zk3208-res i{background:#d19a00}.zk3208-leg.bad .zk3208-res i{background:#c2410c}
.zk3208-pair{margin:0 0 8px;font-size:13px;color:#4b6355;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.zk3208-leg>strong{display:none}
ol.zk3208-tl{list-style:none;margin:0;padding:0;display:flex!important;flex-wrap:wrap;align-items:flex-start;gap:6px 0}
ol.zk3208-tl li{display:flex!important;flex-direction:column;align-items:center;min-width:0;padding:0 4px;font-size:11.5px;color:#4b6355;position:relative;grid-template-columns:none!important}
ol.zk3208-tl li+li::before{content:'→';position:absolute;left:-6px;top:1px;color:#9fb5a8;font-size:12px}
ol.zk3208-tl li b{font-size:13.5px;color:#10231a;white-space:nowrap;font-variant-numeric:tabular-nums}
ol.zk3208-tl li span{white-space:nowrap}
ol.zk3208-tl li.drive b{color:#176b4a}
ol.zk3208-tl li+li{margin-left:8px}
.zk3208-info{margin:0 0 12px;font-size:12.5px;color:#4b6355}.zk3208-info summary{cursor:pointer;color:#176b4a;font-weight:600}.zk3208-info p{margin:6px 0 0}

/* ZK-32140 Reise-Knopf */
.zk318-row .zk318-reise{flex:0 0 36px;width:36px;height:36px;margin:auto 4px auto 0;border:1px solid #d5e7dc;border-radius:10px;background:#fff;color:#176b4a;font-size:16px;cursor:pointer;padding:0}
/* ZK-32160 Auto/Flug-Umschalter + Chip */
.zk3216-mode{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px}
.zk3216-mode>button{height:34px;padding:0 12px;border:1px solid #d5e2d9;border-radius:999px;background:#fff;color:#10231a;font:600 13px Inter,system-ui,sans-serif;cursor:pointer}
.zk3216-mode>button[aria-pressed="true"]{border-color:#176b4a;background:#eef6f1;color:#176b4a}
.zk3216-fuel{font-size:12.5px;color:#4b6355}.zk3216-fuel summary{cursor:pointer}.zk3216-fuel label{display:inline-flex;align-items:center;gap:6px;margin:6px 10px 0 0}.zk3216-fuel input{width:72px;height:32px!important;min-height:0!important;padding:0 6px!important}.zk3216-fuel small{display:block;margin-top:4px}
.zk3216-hint{font-size:12px;color:#4b6355}
.zk318-row .zk318-reise.zk3216-chip{flex:0 0 auto;width:auto;max-width:44%;height:32px;padding:0 8px;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* ZK-32200: Spielzeile zweizeilig – nichts bricht buchstabenweise um */
html body #zk318 .zk318-row{display:block!important;padding:0!important}
html body #zk318 a.zk318-main{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:10px 12px 2px!important}
#zk318 .zk318-m strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal!important;word-break:normal!important;hyphens:manual!important;line-height:1.3}
#zk318 .zk318-t{padding-top:1px}
#zk318 .zk318-sub{display:flex;align-items:center;gap:8px;padding:2px 10px 8px 74px;min-height:36px}
#zk318 .zk318-sub>small{flex:1 1 auto;min-width:0;font-size:12px;line-height:1.3;color:var(--mut);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal;word-break:normal}
#zk318 .zk318-acts{flex:0 0 auto;display:flex;align-items:center;gap:8px}
html body #zk318 .zk318-row .zk318-reise.zk3216-chip{flex:0 0 auto!important;max-width:none!important;height:30px!important;min-height:0!important;margin:0!important;padding:0 8px!important;font-size:12px!important;white-space:nowrap!important}
html body #zk318 a.zk318-plan{flex:0 0 auto;font-size:13px;font-weight:600;color:var(--g)!important;text-decoration:none!important;padding:4px 2px!important;white-space:nowrap;min-height:0!important;background:none!important;border:0!important}
@media(max-width:420px){#zk318 .zk318-sub{padding-left:12px}}
