
#mobile-search,#mobile-quick,#mobile-results,#mobile-map,#mobile-location,#mobile-sheet,#mobile-map-card{display:none}
@media(max-width:860px){

  .mobile-events{background:#fff;padding-top:var(--mobile-header-h,181px)}
  .mobile-events > header{position:fixed;top:0;left:0;right:0;z-index:1100;display:flex;gap:10px 8px;padding:8px 10px 13px;background:#fff;border-bottom:0;clip-path:inset(0 0 calc(var(--hp,0) * var(--hcut,103px)) 0)}

  .mobile-events > header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--line);pointer-events:none;
    transform:translateY(calc(var(--hp,0) * -1 * var(--hcut,103px)))}

  .mobile-events > header h1,.mobile-events > header .langsw,.mobile-events > header .acct-btn,.mobile-events > header #f-fav{transform:translateY(calc(var(--hp,0) * -1 * var(--hlogo,54px)));opacity:calc(1 - var(--hp,0) * 1.6)}
  .mobile-events > header #mobile-search{position:relative;z-index:2;transform:translateY(calc(var(--hp,0) * -1 * var(--hlogo,54px)))}
  .mobile-events > header #mobile-quick{position:relative;z-index:1;transform:translateY(calc(var(--hp,0) * -1 * var(--hlogo,54px)));opacity:calc(1 - var(--hp,0) * 1.6)}
  .mobile-events > header.mobile-folded h1,.mobile-events > header.mobile-folded .langsw,.mobile-events > header.mobile-folded .acct-btn,.mobile-events > header.mobile-folded #f-fav,
  .mobile-events > header.mobile-folded #mobile-quick{pointer-events:none}
  .mobile-events > header #sbwrap,.mobile-events > header #f-open{display:none}
  .mobile-events > header h1{order:0;flex:1;margin:0;min-height:44px;display:flex;align-items:center}
  .mobile-events > header .logo-tag{display:none}
  .mobile-events > header .logo-wm{height:25px;width:110px}
  .mobile-events > header .langsw{order:1}

  .mobile-events > header .langsw{z-index:3}
  .mobile-events > header:has(#langsw.open){clip-path:none}

  .mobile-events > header .langmenu{top:calc(100% + 8px);min-width:200px;padding:8px;gap:0;border-radius:var(--r-md);box-shadow:var(--shadow-pop)}
  .mobile-events > header .langmenu button{height:44px;padding:0 12px;border-radius:var(--r-sm);font:400 var(--fs-body)/1 var(--font);color:var(--ink)}
  .mobile-events > header .langmenu button.on{font-weight:600}
  .mobile-events > header .langmenu button .cd{display:none}
  .mobile-events > header .langmenu button .tick{width:16px;height:16px;flex:none;color:var(--blue)}
  .mobile-events > header .acct-btn{order:2}
  .mobile-events > header #f-fav{order:3}
  .mobile-events > header #f-fav:disabled{display:none}

  .mobile-events > header .langcur{height:44px;padding:0 14px 0 12px;gap:8px;border:1px solid var(--line);border-radius:999px;background:#fff;
    font:600 var(--fs-body)/1 var(--font)}
  .mobile-events > header .langcur svg{width:18px;height:18px}
  .mobile-events > header .langcur .chev{display:none}
  .mobile-events > header .acct-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;
    border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink)}
  .mobile-events > header .acct-btn[hidden]{display:none}
  .mobile-events > header .acct-btn .acct-lbl{display:none}
  .mobile-events > header .acct-btn .acct-ini{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-1px;border-radius:50%;
    background:var(--blue);color:#fff;font:700 var(--fs-body)/1 var(--font)}
  .mobile-events > header #f-fav{height:44px;min-width:44px;padding:0 16px 0 14px;gap:8px;border:0;border-radius:999px;transition:background .2s,box-shadow .2s}
  .mobile-events > header #f-fav[hidden]{display:none}

  .mobile-events > header .langsw,.mobile-events > header .langcur,.mobile-events > header .acct-btn{transition:none}
  .mobile-events > header .langcur .lname{display:none}
  .mobile-events #mobile-search{display:flex;flex:0 0 100%;order:9;min-width:0;align-items:center;gap:12px;height:60px;padding:0 8px 0 18px;text-align:left;color:var(--ink);font:inherit;border:1px solid var(--line);border-radius:32px;background:#fff;box-shadow:0 1px 2px #00000014,0 4px 14px #0000000f;transition:height .4s var(--sb-spring)}
  .mi{width:18px;height:18px;flex:none;display:inline-block;vertical-align:middle}
  #mobile-search > .mi{width:20px;height:20px;color:var(--kid)}
  .mp-summary{display:flex;flex-direction:column;flex:1;min-width:0;font-size:13px;line-height:1.35;font-weight:600}
  .mp-summary b{font-size:15px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mp-summary > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5f6b74}
  .mp-summary .mp-free{color:#198136}
  .mp-filter{position:relative;border:1px solid var(--line);width:44px;height:44px;flex:none;border-radius:50%;display:grid;place-items:center}

  .mp-filter:not(:has(> i)){display:none}
  .mobile-events #mobile-search{height:58px;padding:0 8px 0 16px;border-radius:999px}
  .mp-filter i{position:absolute;right:-3px;top:-3px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:12px;background:var(--kid);color:#fff;font-size:11px;font-weight:700;font-style:normal;line-height:1}

  .mobile-events #mobile-quick{display:flex;order:10;flex-basis:calc(100% + 10px);min-width:0;gap:8px;overflow-x:auto;margin-right:-10px;white-space:nowrap;scrollbar-width:none;padding:1px 10px 1px 0}
  #mobile-quick::-webkit-scrollbar{display:none}

  .mp-chip{position:relative;height:36px;padding:0 14px;border-radius:18px;border:1px solid var(--line);background:#fff;font:600 var(--fs-body)/1 var(--font);color:var(--ink);white-space:nowrap;display:flex;align-items:center;gap:6px;flex:none;cursor:pointer;transition:background-color var(--motion),border-color var(--motion),color var(--motion)}
  .mp-chip::after{content:"";position:absolute;left:0;right:0;top:-4px;bottom:-4px}
  .mp-chip.on{background:var(--blue-soft);border-color:var(--blue);color:var(--blue-text);padding:0 14px 0 12px}
  .mp-chip.mp-extra.on{padding-right:8px}
  .mp-chip.on:not(.mp-near):not(.mp-extra)::before{content:"";width:14px;height:14px;flex:none;background:currentColor;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
  .mp-chip.on .mi{width:15px;height:15px}
  .mp-chip.busy .mi{animation:mobile-spin 1s linear infinite}
  .mp-chip:active{transform:none}
  .mobile-events > header.mobile-collapsed{padding:8px 10px;gap:0}
  .mobile-collapsed h1,.mobile-collapsed .langsw,.mobile-collapsed #f-fav,.mobile-events .mobile-collapsed #mobile-quick{display:none!important}
  .mobile-events .mobile-collapsed #mobile-search{height:48px}
  .mobile-collapsed .mp-filter{width:34px;height:34px}

  .mobile-events #mobile-results{display:none}
  #mobile-results > div{flex:1;min-width:0;display:flex;flex-direction:column}
  #mobile-results b{font-size:20px;line-height:1.25}
  #mobile-results span{font-size:13px;color:#5f6b74}
  .mobile-events #side{display:none}
  .mobile-events #layout{display:block;flex:none;min-height:50vh}
  .mobile-events #list{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:6px 0 32px;background:#fff;overflow:visible;width:100%}
  .mobile-events #list .daygroup{display:none}
  .mobile-events .mobile-card{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:0;border-bottom:1px solid var(--line);border-radius:0;overflow:visible;background:#fff;min-width:0}
  .mobile-top{display:flex;gap:12px;align-items:flex-start;min-width:0}
  .mobile-picture{position:relative;width:96px;height:96px;flex:none}
  .mobile-picture .favbtn{top:4px;right:4px;width:32px;height:32px}
  .mobile-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
  .mobile-card .thumb{grid-column:1;grid-row:1 / 3;width:96px;height:96px;border-radius:12px;object-fit:cover}
  .mobile-card > .favbtn{top:18px;left:76px;right:auto;width:32px;height:32px}
  .mobile-card .ecard{display:contents}
  .mobile-card h3.evt{grid-column:2;grid-row:1;font-size:16.5px;line-height:1.3;-webkit-line-clamp:2;margin:0;min-width:0;align-self:start;overflow-wrap:anywhere}
  .mobile-card .blurb{grid-column:2;grid-row:2;font-size:13.5px;line-height:1.4;margin:0;color:#44525b;align-self:start;-webkit-line-clamp:3}
  .mobile-card .addr{grid-column:1 / -1;grid-row:3;display:flex;align-items:center;gap:5px;font-size:13px;line-height:1.4;color:#5f6b74;min-width:0;padding-top:6px;margin:0}
  .mobile-card .addr > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
  .mobile-card .addr .mi{width:14px;height:14px}
  .mobile-card .addr a{color:inherit}
  .mobile-distance{flex:none;color:var(--ink);font-variant-numeric:tabular-nums}
  .mobile-card .xbadges{grid-column:1 / -1;margin:3px 0 0;padding:0}
  .mobile-card .facts{grid-column:1 / -1;display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;padding:6px 0 0;margin:0;min-width:0}
  .mobile-card .fact{display:flex;align-items:center;gap:6px;min-height:36px;padding:7px 10px;border-radius:10px;max-width:100%;position:relative;flex:none}
  .mobile-card .fact .mi{width:15px;height:15px;color:#5f6b74}
  .mobile-card .fact .l{display:none}
  .mobile-card .fact .v{font-size:14px;line-height:1.4;font-weight:700;white-space:normal;overflow:visible;text-overflow:clip;letter-spacing:0}
  .mobile-card .fact.price{max-width:100%}
  .mobile-card .fact.price .v{overflow-wrap:anywhere}
  .mobile-card .fact.age.guessed{background:#fff}
  .mobile-card .fact.age:not(.notip):has(.fi){padding-right:28px}
  .mobile-card .fact.age .fi{top:9px;right:7px;width:16px;height:16px;font-size:11px;line-height:14px}
  .mobile-card .fact.date{flex:0 1 auto;flex-wrap:wrap;min-width:0}
  .mobile-card .fact.date .v{display:inline;font-size:14px}
  .mobile-card .fact.date .s{font-size:14px;color:#5f6b74;line-height:1.4;white-space:normal;margin:0}
  .mobile-card .mobile-price-note{grid-column:1 / -1;font-size:12px;color:#5f6b74;line-height:1.35;overflow-wrap:anywhere}
  .mobile-card .agetip{bottom:calc(100% + 8px);max-width:calc(100vw - 40px)}

  .mobile-events #mobile-results [data-mobile="view"]{display:none}
  .mobile-events #mobile-map{display:none;position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);align-items:center;justify-content:center;gap:8px;border:0;border-radius:24px;background:var(--ink);color:#fff;font:inherit;font-size:14px;font-weight:600;line-height:1;min-width:96px;height:44px;padding:0 18px;box-shadow:0 4px 12px #0003;z-index:1150}
  .mobile-map-view #side{display:flex;flex-direction:column;width:100%;height:calc(100dvh - var(--mobile-map-top,230px));min-height:240px}
  .mobile-map-view #list{display:none}
  .mobile-map-view #layout{min-height:0}
  .mobile-events #leader{display:none!important}
  .mobile-map-view #mobile-map-card:not([hidden]){display:block;position:fixed;bottom:calc(78px + env(safe-area-inset-bottom));left:12px;right:12px;max-height:45dvh;overflow-y:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 18px #0002;z-index:1140}
  .mobile-map-meta{display:flex;gap:8px;align-items:center;padding:0 8px 0 16px;font-size:12px;color:#5f6b74}
  .mobile-map-meta > span{flex:1}
  .mobile-map-meta .ms-icon{width:32px;height:32px}
  .mobile-map-meta .mi{width:17px;height:17px}
  #mobile-map-card .mobile-card{border-bottom:0;padding-top:4px}
  .mobile-events #mobile-location:not([hidden]){display:block;margin:12px 10px 0;padding:14px;background:#fff8e7;border:1px solid #ead7ac;border-radius:8px;font-size:13px}
  #mobile-location p{margin:5px 0 8px;line-height:1.4}
  #mobile-location .ms-text{margin-right:16px}
  #mobile-sheet:not([hidden]){display:flex;position:fixed;inset:0;z-index:3500;background:var(--bg);flex-direction:column;max-height:100dvh;animation:mobile-sheet-in .35s var(--sb-soft)}
  :where(#mobile-sheet) button,:where(#mobile-sheet) input{font:inherit;color:inherit;cursor:pointer;letter-spacing:0}
  #mobile-sheet button:focus-visible,#mobile-search:focus-visible,.mp-chip:focus-visible{outline:2px solid var(--kid);outline-offset:3px}
  .ms-head{height:56px;min-height:56px;padding:0 16px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px;align-items:center;background:#fff;border-bottom:1px solid var(--line)}
  .ms-head h2{font-size:18px;line-height:1.2;margin:0;text-align:center}
  .ms-icon{border:0;background:none;width:44px;height:44px;padding:0;display:grid;place-items:center;color:var(--ink);cursor:pointer}
  .ms-icon .mi{width:22px;height:22px}
  .ms-text{background:none;border:0;color:var(--kid)!important;font-weight:700!important;padding:6px 0;font-size:14px}
  .ms-body{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:14px 14px 24px;scrollbar-width:thin}
  .ms-section{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;margin:0 0 10px;box-shadow:0 1px 3px #15242c08}
  .ms-section-head{padding:4px 0;display:flex;gap:12px;justify-content:space-between;align-items:center;width:100%;min-height:26px;background:none;border:0;text-align:left;font-size:16px!important;line-height:1.3}
  .ms-section-head > span{color:#5f6b74;min-width:0}
  .ms-section-head > b{font-size:15px;line-height:1.3;text-align:right;overflow-wrap:anywhere;max-width:60%}
  .ms-section.expanded .ms-section-head{font-size:22px!important;padding-bottom:16px;font-weight:700}
  .ms-section.expanded .ms-section-head > span{color:var(--ink)}
  .ms-presets{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap}
  .ms-presets .sbtoday{min-height:40px;padding:8px 14px;font-size:14.5px}
  .ms-calnav{display:flex;justify-content:space-between;align-items:center;margin:8px 0 10px}
  .ms-calnav b{font-size:16px}
  .ms-calnav .ms-icon:disabled{color:#b4bec4;cursor:default}
  #mobile-sheet .sbgrid{font-size:16px;grid-template-columns:repeat(7,minmax(0,1fr))}
  #mobile-sheet .dow{font-size:12px;height:28px;line-height:28px}
  #mobile-sheet .sbcell{height:44px;min-width:0}
  #mobile-sheet .sbday{height:44px;font-size:16px}
  .ms-ages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ms-age{position:relative;display:flex;flex-direction:column;gap:0;align-items:flex-start;min-width:0;min-height:112px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 14px;text-align:left}
  .ms-age > b{font-size:26px;line-height:1.2;font-weight:800;padding-right:20px}
  .ms-age > span{font-size:13.5px;line-height:1.25;min-height:34px;margin-top:2px}
  .ms-age > small{font-size:12px;color:#5f6b74;margin-top:auto;padding-top:8px}
  .ms-age > i{position:absolute;right:10px;top:12px;width:24px;height:24px;display:grid;place-items:center;border:1px solid #c7d3da;border-radius:50%}
  .ms-age.on{border:2px solid var(--kid);background:#e8f0fc;padding:11px 13px;color:#1d58b8!important}
  .ms-age.on > i{border-color:var(--kid);background:var(--kid);color:#fff;right:9px;top:11px}
  .ms-age.on > i .mi{width:16px;height:16px}
  .ms-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .ms-prices button{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:88px;padding:10px 5px;border:1px solid var(--line);border-radius:12px;background:#fff}
  .ms-prices b{font-size:15px;overflow-wrap:anywhere;line-height:1.2}
  html[lang="de"] .ms-prices b{font-size:12.5px;overflow-wrap:normal}
  .ms-prices small{font-size:11px;color:#5f6b74}
  .ms-prices .on{border:2px solid var(--kid);background:#e8f0fc;color:#1d58b8!important;padding:9px 4px}
  .ms-more{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;font-size:15px!important;color:#5f6b74!important;min-height:60px}
  .ms-more .mi{color:var(--ink)}
  .ms-foot{padding:12px 22px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;display:flex;gap:18px;align-items:center;min-height:78px}
  .ms-clear{background:none;border:0;font-weight:650!important;text-decoration:underline;padding:8px 0;min-height:44px;font-size:14px}
  .ms-apply{flex:1;min-height:50px;padding:10px 16px;background:var(--kid);color:#fff!important;border:0;border-radius:12px;font-size:16px!important;font-weight:700!important;line-height:1.2}
  .ms-apply.next{flex:0 0 auto;margin-left:auto;background:var(--ink);padding:10px 24px}
  .ms-query{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;min-height:64px;padding:12px 16px;margin-bottom:10px;color:#5f6b74}
  .ms-query input{flex:1;min-width:0;border:0;background:none;font-size:15px!important;outline-offset:4px}
  .ms-extra h3{margin:0 0 14px;font-size:21px;line-height:1.2;display:flex;align-items:center;justify-content:space-between;gap:12px}
  .ms-extra h3 small{font-size:14px;text-align:right;font-weight:650}
  .ms-district{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;font-weight:650!important;font-size:15px!important}
  .ms-district.on{background:#e8f0fc;color:#1d58b8!important;border-color:var(--kid)}
  .ms-districts{display:flex;flex-direction:column;gap:8px}
  .ms-chips{display:flex;flex-wrap:wrap;gap:6px}
  .ms-chip{display:flex;gap:5px;align-items:center;min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:24px;background:#fff;font-size:13.5px!important;font-weight:650!important;max-width:100%;line-height:1.3;overflow-wrap:anywhere}
  .ms-chip span{color:#5f6b74;white-space:nowrap;font-weight:500}
  .ms-chip.on{border-color:var(--kid);background:#e8f0fc;color:#1d58b8!important}
  .ms-chip.on span{color:#1d58b8}
  .ms-dot{width:8px;height:8px;border-radius:50%;flex:none}
  #mobile-sheet [hidden]{display:none!important}
  @keyframes mobile-spin{to{transform:rotate(360deg)}}
  @keyframes mobile-sheet-in{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
  @media(prefers-reduced-motion:reduce){#mobile-sheet{animation:none}.mp-chip.busy .mi{animation:none}.mp-chip,#mobile-search{transition:none}}
}
