:root{
  color-scheme:light;
  --bg:#eef4f6;
  --panel:rgba(255,255,255,.86);
  --panel-strong:rgba(255,255,255,.96);
  --line:rgba(19,54,66,.12);
  --line-strong:rgba(19,54,66,.19);
  --text:#112832;
  --muted:#627983;
  --muted2:#81949b;
  --accent:#0bbf9c;
  --accent2:#2399d4;
  --warning:#e85f45;
  --shadow:0 18px 60px rgba(34,62,72,.16);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);color:var(--text)}
button,input{font:inherit}
button{-webkit-tap-highlight-color:transparent}
a{color:inherit}
.app-shell{position:relative;width:100%;height:100dvh;min-height:100%;overflow:hidden;background:#eef4f6}
.map{position:absolute;inset:0;background:#dfe8eb}
.map-state{position:absolute;z-index:7;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:12px;min-width:250px;max-width:min(420px,calc(100vw - 40px));padding:13px 16px;border:1px solid rgba(19,54,66,.14);border-radius:16px;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);box-shadow:0 18px 50px rgba(34,62,72,.16);color:#17313b;pointer-events:none}
.map-state[hidden]{display:none}
.map-state-dot{width:10px;height:10px;flex:0 0 auto;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px rgba(40,224,189,.10),0 0 20px rgba(40,224,189,.30);animation:pulse 1.3s infinite}
.map-state div{display:grid;gap:2px}.map-state strong{font-size:12px}.map-state small{font-size:10px;color:#6f858e;line-height:1.35}
.map-state.is-error .map-state-dot{background:#ff6d6d;box-shadow:0 0 0 5px rgba(255,109,109,.10)}
.map-vignette{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,rgba(238,244,246,.50) 0,rgba(238,244,246,.04) 24%,rgba(238,244,246,.02) 72%,rgba(238,244,246,.20) 100%);z-index:2}
.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right{display:none!important}
.maplibregl-canvas{outline:0}

.top-shell{position:absolute;z-index:10;top:max(18px,env(safe-area-inset-top));left:22px;right:22px;pointer-events:none}
.brand-row{display:grid;grid-template-columns:max-content minmax(280px,620px) 1fr max-content;gap:16px;align-items:center;pointer-events:none}
.brand,.search-wrap,.source-pill,.top-menu,.layer-chips{pointer-events:auto}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;white-space:nowrap;text-shadow:0 1px 8px rgba(255,255,255,.8)}
.brand-mark{width:40px;height:40px;display:grid;place-items:center;color:var(--accent);filter:drop-shadow(0 0 14px rgba(40,224,189,.18))}
.brand-mark svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.brand-text{font-size:20px;font-weight:780;letter-spacing:-.03em}
.search-wrap{position:relative;height:48px;display:flex;align-items:center;border:1px solid var(--line);background:rgba(255,255,255,.88);backdrop-filter:blur(18px) saturate(145%);border-radius:17px;box-shadow:0 10px 28px rgba(34,62,72,.11);transition:.18s ease}
.search-wrap:focus-within{border-color:rgba(40,224,189,.42);box-shadow:0 0 0 3px rgba(11,191,156,.10),0 14px 32px rgba(34,62,72,.12)}
.search-icon{width:19px;height:19px;margin-left:16px;fill:none;stroke:#6d848d;stroke-width:1.8;stroke-linecap:round}
.search-input{height:100%;flex:1;min-width:0;padding:0 16px 0 11px;border:0;background:transparent;color:var(--text);outline:0;font-size:14px}
.search-input::placeholder{color:#82969d}
.search-suggestions{position:absolute;left:0;right:0;top:57px;padding:7px;border:1px solid var(--line);background:rgba(255,255,255,.97);backdrop-filter:blur(18px);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.search-option{width:100%;border:0;background:transparent;color:var(--text);padding:11px 12px;border-radius:11px;text-align:left;display:flex;align-items:center;justify-content:space-between;cursor:pointer}
.search-option:hover{background:rgba(18,53,65,.06)}
.search-option small{color:var(--muted)}
.source-pill{justify-self:end;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);height:42px;padding:0 13px;border-radius:14px;background:rgba(255,255,255,.84);color:#1d3741;backdrop-filter:blur(16px);box-shadow:0 8px 22px rgba(0,0,0,.16);font-size:12px;cursor:pointer}
.source-pill strong{font-size:11px;color:#6f858e;font-weight:650}
.source-dot{width:7px;height:7px;border-radius:50%;background:#81949b;box-shadow:0 0 0 4px rgba(129,148,155,.10)}
.source-dot.is-live{background:var(--accent);box-shadow:0 0 0 4px rgba(40,224,189,.12),0 0 14px rgba(40,224,189,.35)}
.source-dot.is-error{background:#ff6d6d;box-shadow:0 0 0 4px rgba(255,109,109,.12)}
.source-dot.is-loading{animation:pulse 1.4s infinite}
.icon-btn{width:42px;height:42px;border-radius:14px;border:1px solid var(--line);display:grid;place-items:center;background:rgba(255,255,255,.84);color:#17313b;backdrop-filter:blur(16px);cursor:pointer}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.layer-chips{margin-top:13px;display:flex;gap:8px;overflow:auto;scrollbar-width:none;padding:1px 0;max-width:min(930px,calc(100vw - 44px))}
.layer-chips::-webkit-scrollbar{display:none}
.layer-chip{height:38px;padding:0 14px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.82);backdrop-filter:blur(14px);color:#24404a;display:flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap;font-size:13px;box-shadow:0 8px 22px rgba(0,0,0,.12);transition:.16s ease}
.layer-chip:hover{background:rgba(255,255,255,.96);border-color:var(--line-strong)}
.layer-chip.is-active{border-color:rgba(11,191,156,.38);background:rgba(219,247,243,.94);color:#0a6e60;box-shadow:inset 0 0 0 1px rgba(11,191,156,.08)}
.layer-chip.is-coming{opacity:.82}
.chip-icon{font-size:15px;color:#4a9db3}
.layer-chip[data-layer="traffic"] .chip-icon{color:#ffd54a}

.map-actions{position:absolute;z-index:9;right:24px;top:50%;transform:translateY(-42%);display:flex;flex-direction:column;gap:10px}
.map-action{position:relative;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.90);backdrop-filter:blur(15px);box-shadow:0 10px 28px rgba(34,62,72,.14);color:#17313b;display:grid;place-items:center;cursor:pointer;transition:.18s ease}
.map-action:hover{transform:translateY(-1px);background:rgba(255,255,255,.98);border-color:var(--line-strong)}
.map-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.action-dot{position:absolute;width:8px;height:8px;border-radius:50%;right:2px;top:2px;background:var(--accent);border:2px solid #ffffff}

.incident-card{position:absolute;z-index:10;left:24px;bottom:150px;width:310px;padding:20px;border-radius:22px;border:1px solid var(--line-strong);background:rgba(255,255,255,.94);backdrop-filter:blur(22px) saturate(145%);box-shadow:var(--shadow)}
.card-close,.panel-close{position:absolute;right:12px;top:12px;border:0;width:30px;height:30px;border-radius:50%;background:rgba(18,53,65,.06);color:#647a83;font-size:20px;cursor:pointer}
.incident-kicker{display:flex;align-items:center;gap:9px;color:var(--warning);font-size:13px;font-weight:760;margin-bottom:12px;padding-right:36px}
.warning-glyph{width:25px;height:25px;border:1px solid rgba(255,128,92,.6);border-radius:8px;display:grid;place-items:center;font-weight:900}
.incident-card h2{font-size:19px;margin:0 0 7px;letter-spacing:-.02em}
.incident-card p{margin:0 0 15px;color:#607780;font-size:13px;line-height:1.5}
.incident-meta,.incident-delay{display:flex;justify-content:space-between;gap:16px;padding-top:13px;border-top:1px solid var(--line);color:#758991;font-size:12px}
.incident-meta strong{color:#334d56;font-weight:650}
.incident-delay{margin-top:12px;color:#ff9e82}.incident-delay strong{font-size:16px;color:#ff8a68}

.floating-panel{position:absolute;z-index:20;right:82px;top:50%;transform:translateY(-50%);width:330px;border:1px solid var(--line-strong);border-radius:22px;background:rgba(255,255,255,.96);backdrop-filter:blur(24px) saturate(145%);box-shadow:var(--shadow);padding:18px}
.panel-head{position:relative;display:flex;justify-content:space-between;align-items:center;padding:2px 36px 12px 2px}.panel-head h3{margin:2px 0 0;font-size:19px}.eyebrow{font-size:10px;letter-spacing:.12em;color:#73878e;font-weight:800}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 2px;border-top:1px solid var(--line);cursor:pointer}.toggle-row span{display:grid;gap:3px}.toggle-row strong{font-size:13px}.toggle-row small{font-size:11px;color:#748991}.toggle-row input{display:none}.toggle-row i{position:relative;width:42px;height:24px;border-radius:999px;background:#dbe4e7;transition:.18s}.toggle-row i:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#8ea0a7;transition:.18s}.toggle-row input:checked+i{background:#0aa889}.toggle-row input:checked+i:after{left:21px;background:#ffffff}.panel-note{margin-top:5px;padding:12px;border-radius:13px;background:rgba(19,54,66,.04);color:#70858d;font-size:11px;line-height:1.5}

.timeline-shell{position:absolute;z-index:11;left:24px;right:24px;bottom:20px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.92);backdrop-filter:blur(24px) saturate(145%);box-shadow:0 20px 60px rgba(34,62,72,.16);overflow:hidden}
.timeline-main{height:78px;display:grid;grid-template-columns:50px 126px minmax(240px,1fr) 78px;gap:16px;align-items:center;padding:0 18px}
.play-btn{width:46px;height:46px;border:1px solid rgba(40,224,189,.35);border-radius:50%;background:rgba(20,121,102,.62);box-shadow:0 0 0 8px rgba(40,224,189,.04),0 0 28px rgba(40,224,189,.16);color:white;display:grid;place-items:center;cursor:pointer}.play-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.play-btn.is-playing{background:rgba(32,160,134,.76)}
.timeline-now{display:grid;gap:3px}.timeline-kind{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#6b8189;font-weight:850}.timeline-now strong{font-size:14px;color:#17313b}
.slider-wrap{position:relative;padding:16px 3px 17px}.slider-wrap input{width:100%;height:4px;appearance:none;background:linear-gradient(90deg,var(--accent) 0 50%,rgba(19,54,66,.18) 50% 100%);border-radius:999px;outline:none;cursor:pointer}.slider-wrap input::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;background:white;border:3px solid rgba(17,40,50,.18);box-shadow:0 2px 10px rgba(34,62,72,.20)}.slider-wrap input::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:white;border:2px solid rgba(17,40,50,.18)}.timeline-ticks{position:absolute;left:4px;right:4px;bottom:0;display:flex;justify-content:space-between;color:#73878e;font-size:9px;pointer-events:none}.lead-badge{justify-self:end;min-width:64px;text-align:center;padding:8px 10px;border-radius:11px;border:1px solid rgba(40,224,189,.2);background:rgba(40,224,189,.08);color:#65ead0;font-size:11px;font-weight:760}
.timeline-foot{height:30px;border-top:1px solid rgba(19,54,66,.08);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 18px;color:#71858d;font-size:10px}.rain-scale{display:flex;align-items:center;gap:8px}.rain-scale i{display:block;width:170px;height:4px;border-radius:999px;background:linear-gradient(90deg,#2773ff,#20c5e5,#27d48b,#e4e83c,#ff9d2e,#f34b56,#a63cd7)}.data-credit a{text-decoration:none;color:#607780}.separator{margin:0 5px}

.mobile-sheet,.mobile-nav{display:none}
.toast{position:absolute;z-index:50;left:50%;bottom:132px;transform:translateX(-50%);max-width:min(440px,calc(100vw - 32px));border:1px solid var(--line-strong);border-radius:14px;padding:11px 14px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);box-shadow:var(--shadow);font-size:12px;color:#19343e;text-align:center}

@keyframes pulse{0%,100%{opacity:.45}50%{opacity:1}}

@media(max-width:980px){
  .brand-row{grid-template-columns:max-content minmax(230px,1fr) max-content}.source-pill{display:none}.brand-text{font-size:18px}.layer-chips{max-width:calc(100vw - 44px)}
  .timeline-main{grid-template-columns:50px 108px minmax(190px,1fr) 66px;gap:10px}.timeline-foot{display:none}.timeline-shell{bottom:16px}.incident-card{bottom:112px}
}

@media(max-width:700px){
  .app-shell{height:100dvh}
  .map-vignette{background:linear-gradient(180deg,rgba(238,244,246,.62),rgba(238,244,246,.03) 31%,rgba(238,244,246,.02) 68%,rgba(238,244,246,.20))}
  .top-shell{top:max(10px,env(safe-area-inset-top));left:12px;right:12px}
  .brand-row{display:grid;grid-template-columns:1fr max-content;gap:10px}.brand{height:40px}.brand-mark{width:34px;height:34px}.brand-text{font-size:17px}.top-menu{width:40px;height:40px;border-radius:13px}.search-wrap{grid-column:1/-1;grid-row:2;height:44px;border-radius:14px;background:rgba(255,255,255,.92)}
  .layer-chips{margin-top:9px;max-width:calc(100vw - 24px);gap:7px}.layer-chip{height:34px;padding:0 12px;font-size:12px;border-radius:12px}.layer-chip:nth-of-type(n+4){display:none}
  .map-actions{right:12px;top:auto;bottom:225px;transform:none;gap:8px}.map-action{width:42px;height:42px}
  .incident-card{left:12px;right:12px;bottom:150px;width:auto;padding:17px;border-radius:19px}
  .floating-panel{left:12px;right:12px;bottom:86px;top:auto;transform:none;width:auto;border-radius:20px}
  .timeline-shell{left:12px;right:12px;bottom:86px;border-radius:19px;background:rgba(255,255,255,.95)}
  .timeline-main{height:66px;grid-template-columns:42px 88px minmax(120px,1fr) 54px;padding:0 11px;gap:8px}.play-btn{width:40px;height:40px}.timeline-kind{font-size:8px}.timeline-now strong{font-size:12px}.lead-badge{min-width:50px;padding:7px 5px;font-size:9px}.timeline-ticks{display:none}
  .mobile-sheet{display:flex;position:absolute;z-index:8;left:12px;right:12px;bottom:150px;min-height:74px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.94);backdrop-filter:blur(20px);box-shadow:0 18px 40px rgba(34,62,72,.14);padding:16px 15px 13px;align-items:center;gap:12px;transition:.2s}.sheet-handle{position:absolute;width:34px;height:3px;border-radius:99px;background:rgba(19,54,66,.18);top:7px;left:50%;transform:translateX(-50%)}.mobile-status-icon{width:39px;height:39px;border-radius:13px;background:linear-gradient(145deg,#1b5fcb,#397de9);display:grid;place-items:center;font-size:18px}.mobile-status-copy{display:grid;gap:2px;min-width:0}.mobile-status-copy span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#72878f;font-weight:800}.mobile-status-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-status-copy small{font-size:10px;color:#778b93}
  .mobile-nav{display:grid;position:absolute;z-index:15;left:0;right:0;bottom:0;height:calc(70px + env(safe-area-inset-bottom));padding:8px 12px env(safe-area-inset-bottom);grid-template-columns:repeat(4,1fr);background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(22px)}.mobile-nav-item{border:0;background:transparent;color:#71858d;display:grid;place-items:center;align-content:center;gap:3px;font-size:9px}.mobile-nav-item svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.mobile-nav-item.is-active{color:var(--accent)}
  .toast{bottom:164px}
}

@media(max-width:430px){
  .brand-text{font-size:16px}.layer-chip:nth-of-type(3){display:none}.timeline-main{grid-template-columns:40px 82px minmax(90px,1fr) 48px}.timeline-shell{bottom:84px}.mobile-sheet{bottom:158px}.map-actions{bottom:238px}.search-suggestions{top:51px}
}

/* v0.1.3 · světlý map-first vzhled */
.brand{color:#102832}
.source-pill,.icon-btn,.layer-chip,.map-action{box-shadow:0 8px 22px rgba(34,62,72,.10)}
.source-pill:hover,.icon-btn:hover,.layer-chip:hover,.map-action:hover{border-color:rgba(11,191,156,.26)}
.layer-chip.is-active .chip-icon{color:#0a9e83}
.timeline-shell{border-color:rgba(19,54,66,.13)}
.play-btn{background:#0aa889;border-color:#0aa889;box-shadow:0 0 0 8px rgba(11,191,156,.07),0 8px 24px rgba(11,191,156,.20)}
.play-btn.is-playing{background:#087d69}
.lead-badge{background:rgba(11,191,156,.08);border-color:rgba(11,191,156,.22);color:#087b68}
.maplibregl-marker svg{filter:drop-shadow(0 2px 4px rgba(34,62,72,.18))}
@media(max-width:700px){.mobile-nav{box-shadow:0 -8px 30px rgba(34,62,72,.08)}}

/* v0.1.4 · clean radar + compact timeline + premium light UI */
.map{background:#edf2f3}
.map-vignette{background:linear-gradient(180deg,rgba(244,248,249,.35) 0,rgba(244,248,249,.02) 20%,rgba(244,248,249,0) 72%,rgba(244,248,249,.12) 100%)}
.top-shell{top:max(15px,env(safe-area-inset-top));left:20px;right:20px}
.brand-row{grid-template-columns:max-content minmax(300px,610px) 1fr max-content;gap:14px}
.brand-mark{width:38px;height:38px}.brand-text{font-size:19px}
.search-wrap{height:46px;border-radius:15px;background:rgba(255,255,255,.91)}
.source-pill{height:40px;border-radius:13px;background:rgba(255,255,255,.90)}
.icon-btn{width:40px;height:40px;border-radius:13px;background:rgba(255,255,255,.90)}
.layer-chips{margin-top:10px;gap:7px;max-width:min(830px,calc(100vw - 40px))}
.layer-chip{height:34px;padding:0 12px;border-radius:12px;font-size:12px;gap:7px;background:rgba(255,255,255,.88);box-shadow:0 6px 18px rgba(34,62,72,.08)}
.chip-icon{font-size:14px}
.map-actions{right:20px;gap:8px}.map-action{width:44px;height:44px;background:rgba(255,255,255,.93)}

.floating-panel{right:74px;width:292px;border-radius:18px;padding:14px;background:rgba(255,255,255,.975)}
.panel-head{padding:1px 34px 10px 1px}.panel-head h3{font-size:17px}.eyebrow{font-size:9px}.toggle-row{padding:11px 1px;gap:14px}.toggle-row strong{font-size:12px}.toggle-row small{font-size:10px}.toggle-row i{width:38px;height:22px}.toggle-row i:after{width:16px;height:16px}.toggle-row input:checked+i:after{left:19px}.panel-note{padding:10px;font-size:10px}

.timeline-shell{left:20px;right:20px;bottom:16px;border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 16px 44px rgba(34,62,72,.13)}
.timeline-main{height:68px;grid-template-columns:46px 140px minmax(260px,1fr) 68px;gap:14px;padding:0 16px}
.play-btn{width:42px;height:42px}.play-btn svg{width:20px;height:20px}
.timeline-now{gap:2px}.timeline-kind{font-size:9px;letter-spacing:.10em}.timeline-now strong{font-size:13px}
.slider-wrap{padding:14px 3px 19px}
.slider-wrap input{position:relative;z-index:2;height:4px}
.slider-wrap input::-webkit-slider-thumb{width:17px;height:17px;border:3px solid rgba(17,40,50,.14);box-shadow:0 2px 9px rgba(34,62,72,.18)}
.timeline-ticks{position:absolute;left:3px;right:3px;bottom:0;height:12px;display:block;color:#7b8e95;font-size:8.5px;pointer-events:none}
.timeline-ticks span{position:absolute;transform:translateX(-50%);white-space:nowrap}
.timeline-ticks span:first-child{transform:none}.timeline-ticks span:last-child{transform:translateX(-100%)}
.timeline-ticks span.is-now{color:#0a806d;font-weight:800}
.timeline-now-marker{position:absolute;z-index:1;top:8px;bottom:15px;width:1px;background:rgba(10,128,109,.36);pointer-events:none}
.timeline-now-marker:before{content:"";position:absolute;top:-1px;left:-2px;width:5px;height:5px;border-radius:50%;background:#0a9f85}
.lead-badge{appearance:none;justify-self:end;min-width:62px;border:1px solid rgba(11,191,156,.22);background:#fff;color:#0a806d;cursor:pointer;transition:.16s ease}
.lead-badge:hover{background:rgba(11,191,156,.08)}
.lead-badge.is-current{background:rgba(11,191,156,.10);border-color:rgba(11,191,156,.34);box-shadow:inset 0 0 0 1px rgba(11,191,156,.05)}
.timeline-foot{height:26px;padding:0 16px;font-size:9.5px}.rain-scale i{width:145px;height:3px}

@media(max-width:980px){
  .timeline-main{grid-template-columns:44px 118px minmax(190px,1fr) 62px;gap:10px}
}

@media(max-width:700px){
  .map-vignette{background:linear-gradient(180deg,rgba(245,249,250,.42),rgba(245,249,250,.02) 28%,rgba(245,249,250,0) 72%,rgba(245,249,250,.12))}
  .top-shell{top:max(9px,env(safe-area-inset-top));left:10px;right:10px}
  .brand-row{gap:8px}.brand{height:38px}.brand-mark{width:32px;height:32px}.brand-text{font-size:16px}.top-menu{width:38px;height:38px;border-radius:12px}
  .search-wrap{height:42px;border-radius:13px}.layer-chips{margin-top:7px;gap:6px;max-width:calc(100vw - 20px)}.layer-chip{height:32px;padding:0 10px;font-size:11px;border-radius:11px}
  .map-actions{right:10px;bottom:214px;gap:7px}.map-action{width:40px;height:40px}
  .floating-panel{left:10px;right:10px;bottom:82px;width:auto;border-radius:18px;padding:13px}
  .timeline-shell{left:10px;right:10px;bottom:82px;border-radius:17px}
  .timeline-main{height:62px;grid-template-columns:38px 92px minmax(105px,1fr) 48px;padding:0 9px;gap:7px}
  .play-btn{width:37px;height:37px}.timeline-kind{font-size:7px}.timeline-now strong{font-size:11px}.lead-badge{min-width:46px;padding:6px 4px;font-size:8px;border-radius:9px}
  .slider-wrap{padding:12px 2px 11px}.timeline-ticks{display:none}.timeline-now-marker{bottom:7px}
  .mobile-sheet{left:10px;right:10px;bottom:145px;min-height:70px;border-radius:18px;padding:15px 13px 12px}
  .mobile-status-icon{width:37px;height:37px;border-radius:12px}.mobile-status-copy strong{font-size:12px}
  .toast{bottom:156px}
}

@media(max-width:430px){
  .timeline-main{grid-template-columns:36px 84px minmax(82px,1fr) 44px}.timeline-shell{bottom:82px}.mobile-sheet{bottom:151px}.map-actions{bottom:224px}
}

/* v0.1.5 · radar strength + detail místa */
.radar-strength{padding:11px 1px 13px;border-top:1px solid var(--line)}
.strength-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.strength-head>span{display:grid;gap:3px}.strength-head strong{font-size:12px}.strength-head small{font-size:10px;color:#748991}
.strength-head b{font-size:10px;color:#0a806d;background:rgba(11,191,156,.09);border:1px solid rgba(11,191,156,.14);border-radius:999px;padding:4px 7px;font-weight:760}
.strength-options{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;border-radius:12px;background:rgba(19,54,66,.055)}
.strength-options button{height:31px;border:0;border-radius:9px;background:transparent;color:#657b84;font-size:10.5px;font-weight:700;cursor:pointer;transition:.16s ease}
.strength-options button:hover{color:#17313b;background:rgba(255,255,255,.62)}
.strength-options button.is-active{background:#fff;color:#087b68;box-shadow:0 3px 12px rgba(34,62,72,.11),inset 0 0 0 1px rgba(11,191,156,.12)}

.place-card{position:absolute;z-index:10;left:20px;bottom:112px;width:342px;padding:18px;border-radius:20px;border:1px solid var(--line-strong);background:rgba(255,255,255,.955);backdrop-filter:blur(24px) saturate(150%);box-shadow:0 18px 55px rgba(34,62,72,.16)}
.place-kicker{display:flex;align-items:center;gap:8px;padding-right:36px;color:#6c828a;font-size:9px;letter-spacing:.12em;font-weight:850}
.place-dot{width:8px;height:8px;border-radius:50%;background:#0bbf9c;box-shadow:0 0 0 5px rgba(11,191,156,.09)}
.place-card h2{margin:8px 0 12px;font-size:19px;letter-spacing:-.025em;color:#112832}
.place-current{display:grid;grid-template-columns:45px 1fr;gap:11px;align-items:center;padding:12px;border-radius:15px;background:linear-gradient(135deg,rgba(37,153,212,.08),rgba(11,191,156,.06));border:1px solid rgba(37,153,212,.10)}
.place-weather-icon{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:#fff;color:#1d7ab2;font-size:21px;box-shadow:0 6px 18px rgba(34,62,72,.10)}
.place-current div{display:grid;gap:3px}.place-current strong{font-size:14px}.place-current small{font-size:10px;color:#71868e;line-height:1.35}
.place-forecast-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}
.place-forecast-grid div{min-width:0;padding:9px 8px;border:1px solid rgba(19,54,66,.08);border-radius:12px;background:rgba(19,54,66,.025);display:grid;gap:4px}
.place-forecast-grid span{font-size:8.5px;color:#7b8e95;font-weight:750}.place-forecast-grid strong{font-size:10.5px;color:#28454f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.place-insight{margin-top:8px;padding:10px 11px;border-radius:12px;background:rgba(11,191,156,.07);color:#31535d;font-size:10.5px;line-height:1.45}
.place-coords{margin-top:8px;color:#8a9ba1;font-size:8.5px;line-height:1.35}
.place-marker{width:20px;height:20px;border:2px solid #fff;border-radius:50%;background:rgba(11,191,156,.18);box-shadow:0 4px 14px rgba(34,62,72,.24),0 0 0 5px rgba(11,191,156,.10);display:grid;place-items:center}
.place-marker span{width:7px;height:7px;border-radius:50%;background:#08a98b;box-shadow:0 0 0 2px rgba(255,255,255,.68)}

@media(max-width:980px){.place-card{bottom:102px;width:318px}}
@media(max-width:700px){
  .place-card{display:none!important}
  .strength-options button{height:33px;font-size:11px}
  .mobile-status-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 110px)}
}

/* v0.1.6 · Open-Meteo point weather */
.place-card{width:372px;max-height:calc(100dvh - 245px);overflow:auto;scrollbar-width:thin}
.place-current-copy{display:grid;gap:3px;min-width:0}.place-current-copy strong{font-size:15px}.place-current-copy small{font-size:10px;color:#71868e;line-height:1.35}
.weather-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}
.weather-metrics div{display:grid;gap:3px;padding:8px 9px;border-radius:11px;border:1px solid rgba(19,54,66,.07);background:rgba(19,54,66,.025);min-width:0}
.weather-metrics span{font-size:8px;color:#7d9097;font-weight:720;white-space:nowrap}.weather-metrics strong{font-size:10.5px;color:#26444e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.radar-place-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-top:12px;padding-top:11px;border-top:1px solid var(--line)}
.radar-place-head>span{display:grid;gap:2px}.radar-place-head strong{font-size:11.5px;color:#1e3b45}.radar-place-head small{font-size:9px;color:#758991}.radar-place-head b{font-size:8.5px;color:#0a806d;background:rgba(11,191,156,.08);border-radius:999px;padding:4px 7px}
.place-source-line{margin-top:9px;color:#8a9ba1;font-size:8.5px;line-height:1.35}.place-source-line a{color:#587a86;text-decoration:underline;text-underline-offset:2px}
.place-weather-icon[data-weather="sun"]{color:#e4a413;background:#fff9e7}.place-weather-icon[data-weather="storm"]{color:#805fd8;background:#f3efff}.place-weather-icon[data-weather="rain"],.place-weather-icon[data-weather="showers"],.place-weather-icon[data-weather="drizzle"]{color:#237cc9;background:#edf7ff}.place-weather-icon[data-weather="snow"]{color:#4e8daf;background:#f3fbff}.place-weather-icon[data-weather="fog"],.place-weather-icon[data-weather="cloud"]{color:#71868e;background:#f3f6f7}
@media(max-width:980px){.place-card{width:350px}}
.mobile-weather-credit{display:none}
@media(max-width:700px){
  .mobile-weather-credit{display:block;position:absolute;right:13px;top:11px;font-size:7.5px;color:#789097;text-decoration:underline;text-underline-offset:2px;z-index:2}
  .mobile-weather-credit[hidden]{display:none}
}

/* v0.1.7 · richer Open-Meteo forecast + mobile weather sheet */
.place-card{width:410px;max-height:calc(100dvh - 220px)}
.place-weather-icon svg,.mobile-status-icon svg,.hourly-item i svg,.daily-item i svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
.place-weather-icon svg{width:31px;height:31px}.mobile-status-icon svg{width:30px;height:30px}.hourly-item i svg,.daily-item i svg{width:26px;height:26px}
.place-weather-icon[data-weather="sun"],.mobile-status-icon[data-weather="sun"],.hourly-item i[data-weather="sun"],.daily-item i[data-weather="sun"]{color:#e0a219}
.mobile-status-icon[data-weather="rain"],.mobile-status-icon[data-weather="showers"],.mobile-status-icon[data-weather="drizzle"],.hourly-item i[data-weather="rain"],.hourly-item i[data-weather="showers"],.daily-item i[data-weather="rain"],.daily-item i[data-weather="showers"]{color:#287fc5}
.mobile-status-icon[data-weather="storm"],.hourly-item i[data-weather="storm"],.daily-item i[data-weather="storm"]{color:#7659c8}
.mobile-status-icon[data-weather="cloud"],.hourly-item i[data-weather="cloud"],.daily-item i[data-weather="cloud"]{color:#748991}
.weather-sun-small{transform:translate(-6px,-6px) scale(.72);transform-origin:center}

.sun-summary{display:grid;grid-template-columns:34px max-content 1fr;align-items:center;gap:10px;margin-top:9px;padding:9px 10px;border:1px solid rgba(226,169,34,.14);border-radius:12px;background:linear-gradient(90deg,rgba(255,244,207,.55),rgba(255,255,255,.65))}
.sun-summary[hidden]{display:none}.sun-summary-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff6d9;color:#d8980f;font-size:17px}.sun-summary>div:nth-child(2){display:grid;gap:1px}.sun-summary strong{font-size:10.5px;color:#4b5050}.sun-summary small{font-size:8.5px;color:#819198}.sun-track{height:4px;border-radius:99px;background:rgba(225,174,47,.16);overflow:hidden}.sun-track i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#f5bd3b,#f2a929)}

.weather-forecast-section{margin-top:12px}.weather-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.weather-section-head strong{font-size:11.5px;color:#1f3b45}.weather-section-head small{font-size:8.5px;color:#83969d}
.hourly-strip{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.hourly-strip::-webkit-scrollbar{display:none}.hourly-item{flex:0 0 58px;min-width:58px;padding:8px 5px 7px;border:1px solid rgba(19,54,66,.075);border-radius:12px;background:rgba(248,251,252,.92);display:grid;justify-items:center;gap:4px}.hourly-item>span{font-size:8.5px;color:#71878f;font-weight:750}.hourly-item i{width:27px;height:27px;display:grid;place-items:center;font-style:normal;color:#69818a}.hourly-item strong{font-size:11.5px;color:#1d3943}.hourly-item small{font-size:7.5px;color:#4f8cb1;min-height:10px}
.daily-forecast-list{display:grid;gap:4px}.daily-item{display:grid;grid-template-columns:56px 28px minmax(70px,1fr) 66px;gap:7px;align-items:center;padding:7px 8px;border-radius:10px;background:rgba(19,54,66,.025);border:1px solid rgba(19,54,66,.055)}.daily-item>span{font-size:9.5px;font-weight:750;color:#36515b}.daily-item i{width:26px;height:26px;display:grid;place-items:center;font-style:normal;color:#71878f}.daily-item strong{font-size:10.5px;text-align:right;color:#173640}.daily-item strong em{font-style:normal;color:#8a9ba1;font-weight:650;margin-left:4px}.daily-item small{font-size:8px;text-align:right;color:#69828b}.forecast-loading,.forecast-empty{display:block;padding:8px;color:#87999f;font-size:9px}

.sheet-handle-btn,.mobile-sheet-close,.mobile-weather-body,.mobile-today-range{display:none}

@media(max-width:980px){.place-card{width:390px}}

@media(max-width:700px){
  .app-shell.has-place .timeline-shell{opacity:0;pointer-events:none;transform:translateY(18px);transition:opacity .16s ease,transform .16s ease}
  .app-shell.has-place .map-actions{top:auto;transform:none;bottom:365px}
  .mobile-sheet{transition:height .22s ease,max-height .22s ease,bottom .22s ease,box-shadow .22s ease}
  .mobile-sheet.has-place{display:block;left:8px;right:8px;bottom:calc(69px + env(safe-area-inset-bottom));height:auto;max-height:310px;min-height:248px;padding:22px 13px 12px;border-radius:22px;background:rgba(255,255,255,.975);box-shadow:0 -4px 26px rgba(34,62,72,.12),0 16px 42px rgba(34,62,72,.18);overflow-y:auto;overscroll-behavior:contain;z-index:16}
  .mobile-sheet.has-place.is-expanded{max-height:calc(100dvh - 92px - env(safe-area-inset-top));height:calc(100dvh - 105px - env(safe-area-inset-top));border-radius:24px 24px 12px 12px;padding-bottom:22px}
  .mobile-sheet.has-place .sheet-handle-btn{display:grid;position:absolute;z-index:3;left:50%;top:4px;transform:translateX(-50%);width:52px;height:17px;border:0;background:transparent;place-items:center;padding:0;cursor:pointer}.sheet-handle-btn .sheet-handle{position:static;display:block;width:34px;height:4px;transform:none;background:rgba(17,40,50,.20)}
  .mobile-sheet.has-place .mobile-sheet-close{display:grid;position:absolute;z-index:4;right:10px;top:12px;width:28px;height:28px;border:0;border-radius:50%;background:rgba(17,40,50,.055);color:#6a8089;place-items:center;font-size:19px;line-height:1;cursor:pointer}.mobile-sheet-close[hidden]{display:none}
  .mobile-weather-head{display:grid;grid-template-columns:48px minmax(0,1fr) max-content;align-items:center;gap:10px;padding-right:31px}
  .mobile-status-icon{display:grid;width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#eef9ff,#f1fbf8);color:#287fc5;place-items:center;font-size:0;box-shadow:none;border:1px solid rgba(37,153,212,.08)}
  .mobile-status-copy{display:grid;gap:1px;min-width:0}.mobile-status-copy span{font-size:8px;letter-spacing:.105em}.mobile-status-copy strong{font-size:15px;letter-spacing:-.015em}.mobile-status-copy small{font-size:9px;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-today-range{display:grid;justify-items:end;gap:1px}.mobile-today-range strong{font-size:14px;color:#1c3943}.mobile-today-range span{font-size:10px;color:#8b9ba1}.mobile-today-range span:before{content:'min '}.mobile-today-range strong:before{content:'max ';font-size:7px;color:#9aa8ad;font-weight:650}
  .mobile-weather-body{display:block;margin-top:10px}.mobile-weather-body[hidden]{display:none}
  .mobile-sun-line{display:grid;grid-template-columns:22px max-content 1fr;align-items:center;gap:6px;padding:7px 8px;margin-bottom:9px;border-radius:10px;background:rgba(250,189,59,.08);color:#8e720f}.mobile-sun-line[hidden]{display:none}.mobile-sun-line>span{font-size:14px}.mobile-sun-line strong{font-size:9px}.mobile-sun-line small{font-size:8px;text-align:right;color:#8b8877}
  .mobile-forecast-head{display:flex;align-items:center;justify-content:space-between;margin:8px 1px 6px}.mobile-forecast-head strong{font-size:10px;color:#27454f}.mobile-forecast-head small{font-size:7.5px;color:#8a9aa0}.mobile-daily-head{margin-top:10px}
  .mobile-hourly-strip{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:1px 0 3px;scroll-snap-type:x proximity}.mobile-hourly-strip::-webkit-scrollbar{display:none}.mobile-hourly-strip .hourly-item{flex-basis:54px;min-width:54px;padding:7px 4px 6px;scroll-snap-align:start}.mobile-hourly-strip .hourly-item i{width:25px;height:25px}.mobile-hourly-strip .hourly-item strong{font-size:11px}
  .mobile-daily-list{display:grid;gap:4px}.mobile-daily-list .daily-item{grid-template-columns:48px 25px 1fr 52px;padding:6px 7px}.mobile-daily-list .daily-item i{width:24px;height:24px}.mobile-daily-list .daily-item>span{font-size:9px}.mobile-daily-list .daily-item strong{font-size:10px}.mobile-daily-list .daily-item small{font-size:7.5px}
  .mobile-sheet.has-place:not(.is-expanded) .mobile-daily-list .daily-item:nth-child(n+5){display:none}
  .mobile-radar-summary{display:grid;gap:2px;margin-top:9px;padding:8px 9px;border-radius:10px;background:rgba(11,191,156,.065);border:1px solid rgba(11,191,156,.08)}.mobile-radar-summary strong{font-size:8.5px;color:#0a7b68;text-transform:uppercase;letter-spacing:.06em}.mobile-radar-summary span{font-size:9px;color:#49656f;line-height:1.35}
  .mobile-weather-credit{top:auto;right:14px;bottom:7px;font-size:7px}
  .mobile-sheet.has-place.is-expanded .mobile-weather-credit{bottom:5px}
  .toast{bottom:84px}
}

@media(max-width:430px){
  .app-shell.has-place .map-actions{bottom:350px}
  .mobile-sheet.has-place{min-height:240px;max-height:295px}
  .mobile-weather-head{grid-template-columns:44px minmax(0,1fr) max-content;gap:8px}.mobile-status-icon{width:44px;height:44px;border-radius:14px}.mobile-status-icon svg{width:28px;height:28px}.mobile-status-copy strong{font-size:14px}
  .mobile-hourly-strip .hourly-item{flex-basis:51px;min-width:51px}.mobile-daily-list .daily-item{grid-template-columns:44px 23px 1fr 48px;gap:5px}
}

/* v0.1.8 · full Czech geocoding */
.search-progress{padding:9px 12px 7px;color:#7b9098;font-size:10px;border-top:1px solid rgba(19,54,66,.06)}
.search-progress.is-error{color:#a06060}
.search-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}
.search-option small{max-width:48%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
@media(max-width:760px){.search-suggestions{top:50px;max-height:min(52vh,360px);overflow:auto}.search-option{padding:10px 11px;gap:10px}.search-option small{font-size:9px;max-width:43%}}
.search-remote-action{margin-top:3px;border-top:1px solid rgba(19,54,66,.07);border-radius:0 0 11px 11px;color:#0a7e6d}
.search-remote-action small{color:#0a8b78;font-weight:700}

/* v0.1.9 · compact weather + mobile layer dock */
@media(min-width:701px){
  .place-card{
    width:448px;
    max-height:min(610px,calc(100dvh - 190px));
    padding:16px;
    bottom:108px;
    overflow:auto;
    scrollbar-width:thin;
  }
  .place-card h2{margin:6px 0 9px;font-size:18px}
  .place-current{grid-template-columns:42px 1fr;padding:10px 11px;border-radius:14px}
  .place-weather-icon{width:42px;height:42px;border-radius:13px}
  .place-current-copy strong{font-size:14px}
  .weather-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:7px}
  .weather-metrics div{padding:7px 6px;border-radius:10px;gap:2px;text-align:center}
  .weather-metrics span{font-size:7px}
  .weather-metrics strong{font-size:9.5px}
  .sun-summary{margin-top:7px;padding:7px 9px;grid-template-columns:28px max-content 1fr;gap:8px}
  .sun-summary-icon{width:26px;height:26px;font-size:14px}
  .weather-forecast-section{margin-top:9px}
  .weather-section-head{margin-bottom:5px}
  .hourly-strip{gap:5px}
  .hourly-item{flex-basis:54px;min-width:54px;padding:6px 4px;border-radius:10px;gap:3px}
  .hourly-item i{width:24px;height:24px}.hourly-item i svg{width:24px;height:24px}
  .hourly-item strong{font-size:10.5px}.hourly-item>span{font-size:8px}.hourly-item small{font-size:7px}
  .daily-forecast-list{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
  .daily-forecast-list::-webkit-scrollbar{display:none}
  .daily-item{
    flex:0 0 76px;
    min-width:76px;
    min-height:82px;
    grid-template-columns:1fr;
    grid-template-rows:auto 26px auto auto;
    justify-items:center;
    gap:2px;
    padding:6px 5px;
    border-radius:11px;
    text-align:center;
  }
  .daily-item>span{font-size:8.5px}.daily-item i{width:24px;height:24px}.daily-item i svg{width:24px;height:24px}
  .daily-item strong{font-size:9.5px;text-align:center;white-space:nowrap}.daily-item strong em{margin-left:2px}
  .daily-item small{font-size:7px;text-align:center;white-space:nowrap}
  .radar-place-head{margin-top:9px;padding-top:9px}
  .place-forecast-grid{margin-top:6px}.place-forecast-grid div{padding:7px}
  .place-insight{margin-top:6px;padding:8px 9px}
  .place-source-line,.place-coords{margin-top:6px}
}

@media(max-width:700px){
  /* Na mobilu vrstvy patří dolů. Horní lišta zůstává jen značka + hledání. */
  .layer-chips{display:none!important}
  .top-shell{pointer-events:none}
  .top-shell .brand-row,.top-shell .search-wrap,.top-shell .brand,.top-shell .top-menu{pointer-events:auto}
  .brand-row{row-gap:7px}
  .search-wrap{margin-top:0}

  /* Bez vybraného místa není potřeba duplicitní "Radar právě teď" karta. */
  .mobile-sheet:not(.has-place){display:none!important}

  /* Pravý sloupec nechává jen polohu a upozornění; vrstvy jsou v docku. */
  #layersBtn{display:none}
  .map-actions{bottom:162px}
  .app-shell.has-place .map-actions{bottom:300px}

  .mobile-nav{
    height:calc(72px + env(safe-area-inset-bottom));
    padding:7px 8px env(safe-area-inset-bottom);
    grid-template-columns:repeat(5,1fr);
    gap:3px;
    background:rgba(255,255,255,.965);
    box-shadow:0 -8px 28px rgba(34,62,72,.09);
  }
  .mobile-nav-item{
    min-width:0;
    border-radius:13px;
    gap:3px;
    font-size:8.5px;
    font-weight:690;
    transition:background .16s ease,color .16s ease,transform .16s ease;
  }
  .mobile-nav-item svg{width:20px;height:20px;stroke-width:1.75}
  .mobile-nav-item.is-active{color:#078f78;background:rgba(11,191,156,.075)}
  .mobile-nav-item:active{transform:scale(.97)}

  .timeline-shell{bottom:82px}

  /* Detail místa: kompaktní náhled, plný forecast až po rozbalení. */
  .mobile-sheet.has-place{
    left:8px;
    right:8px;
    bottom:calc(74px + env(safe-area-inset-bottom));
    min-height:0;
    max-height:270px;
    padding:21px 12px 11px;
    border-radius:21px;
    overflow:hidden;
  }
  .mobile-sheet.has-place.is-expanded{
    height:auto;
    max-height:calc(74dvh - env(safe-area-inset-top));
    padding-bottom:15px;
    overflow-y:auto;
    border-radius:23px 23px 14px 14px;
  }
  .mobile-weather-head{grid-template-columns:44px minmax(0,1fr) max-content;gap:8px;padding-right:30px}
  .mobile-status-icon{width:44px;height:44px;border-radius:14px}.mobile-status-icon svg{width:28px;height:28px}
  .mobile-status-copy span{font-size:7.5px}.mobile-status-copy strong{font-size:14px}.mobile-status-copy small{font-size:8.5px}
  .mobile-today-range strong{font-size:13px}.mobile-today-range span{font-size:9px}
  .mobile-weather-body{margin-top:7px}
  .mobile-sun-line{margin-bottom:7px;padding:6px 8px}
  .mobile-forecast-head{margin:6px 1px 5px}.mobile-forecast-head strong{font-size:9.5px}
  .mobile-hourly-strip{gap:5px}
  .mobile-hourly-strip .hourly-item{flex-basis:52px;min-width:52px;padding:6px 3px 5px;border-radius:10px}
  .mobile-hourly-strip .hourly-item i,.mobile-hourly-strip .hourly-item i svg{width:23px;height:23px}
  .mobile-hourly-strip .hourly-item strong{font-size:10.5px}

  /* V kompaktním stavu nezobrazujeme dlouhou tabulku 7 dní. */
  .mobile-sheet.has-place:not(.is-expanded) .mobile-daily-head,
  .mobile-sheet.has-place:not(.is-expanded) .mobile-daily-list,
  .mobile-sheet.has-place:not(.is-expanded) .mobile-radar-summary,
  .mobile-sheet.has-place:not(.is-expanded) .mobile-weather-credit{display:none!important}

  /* Sedmidenní výhled je po rozbalení horizontální, ne dlouhá tabulka. */
  .mobile-daily-head{margin-top:9px}
  .mobile-daily-list{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding:1px 0 3px;scroll-snap-type:x proximity}
  .mobile-daily-list::-webkit-scrollbar{display:none}
  .mobile-daily-list .daily-item{
    flex:0 0 72px;
    min-width:72px;
    min-height:80px;
    grid-template-columns:1fr;
    grid-template-rows:auto 25px auto auto;
    justify-items:center;
    gap:2px;
    padding:6px 4px;
    border-radius:11px;
    text-align:center;
    scroll-snap-align:start;
  }
  .mobile-daily-list .daily-item:nth-child(n){display:grid!important}
  .mobile-daily-list .daily-item>span{font-size:8px}
  .mobile-daily-list .daily-item i,.mobile-daily-list .daily-item i svg{width:23px;height:23px}
  .mobile-daily-list .daily-item strong{font-size:9px;text-align:center;white-space:nowrap}
  .mobile-daily-list .daily-item strong em{margin-left:2px}
  .mobile-daily-list .daily-item small{font-size:7px;text-align:center;white-space:nowrap}
  .mobile-radar-summary{margin-top:8px;padding:7px 8px}
  .mobile-weather-credit{position:static!important;display:block;margin:5px 2px 0;text-align:right;font-size:7px}

  .floating-panel{bottom:calc(78px + env(safe-area-inset-bottom))}
  .toast{bottom:calc(82px + env(safe-area-inset-bottom))}
}

@media(max-width:430px){
  .mobile-sheet.has-place{max-height:258px}
  .mobile-sheet.has-place.is-expanded{max-height:72dvh}
  .app-shell.has-place .map-actions{bottom:286px}
  .mobile-nav-item{font-size:8px}.mobile-nav-item svg{width:19px;height:19px}
}

/* v0.1.10 · PRO radar timeline */
.timeline-pro{
  left:18px;
  right:18px;
  bottom:14px;
  min-height:66px;
  border-radius:18px;
  overflow:visible;
  background:rgba(255,255,255,.955);
  box-shadow:0 14px 38px rgba(34,62,72,.12);
}
.timeline-pro .timeline-main{
  height:66px;
  grid-template-columns:42px 108px minmax(280px,1fr) 58px;
  gap:12px;
  padding:0 14px;
}
.timeline-pro .play-btn{
  width:38px;
  height:38px;
  border-radius:50%;
  box-shadow:0 0 0 6px rgba(11,191,156,.06),0 7px 18px rgba(11,191,156,.18);
}
.timeline-pro .play-btn svg{width:18px;height:18px}
.timeline-pro .timeline-now{gap:1px;align-self:center}
.timeline-pro .timeline-kind{font-size:8px;letter-spacing:.11em}
.timeline-pro .timeline-now strong{font-size:12px;white-space:nowrap}
.timeline-pro-wrap{
  position:relative;
  height:48px;
  padding:0 4px 15px;
  align-self:center;
}
.radar-timeline{
  position:absolute;
  z-index:1;
  left:4px;
  right:4px;
  top:15px;
  height:18px;
  pointer-events:none;
}
.timeline-rail,.timeline-zone,.timeline-progress{
  position:absolute;
  left:0;
  top:8px;
  height:2px;
  border-radius:999px;
}
.timeline-rail{width:100%;background:#d8e4e7}
.timeline-history-zone{background:rgba(11,191,156,.14)}
.timeline-forecast-zone{
  background:linear-gradient(90deg,rgba(35,153,212,.14),rgba(35,153,212,.06));
}
.timeline-history-progress{
  top:7px;
  height:4px;
  background:#0bbf9c;
  box-shadow:0 0 10px rgba(11,191,156,.14);
}
.timeline-forecast-progress{
  top:7px;
  height:4px;
  background:#4d9fe0;
  box-shadow:0 0 10px rgba(77,159,224,.12);
}
.timeline-now-marker{
  position:absolute;
  z-index:3;
  top:1px;
  bottom:0;
  width:1px;
  background:rgba(7,143,120,.50);
  pointer-events:none;
  transform:translateX(-.5px);
}
.timeline-now-marker:before{
  content:"";
  position:absolute;
  left:50%;
  top:4px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#078f78;
  transform:translate(-50%,-50%);
  box-shadow:0 0 0 3px rgba(11,191,156,.10);
}
.timeline-cursor{
  position:absolute;
  z-index:4;
  top:2px;
  width:1px;
  height:14px;
  background:#123844;
  transform:translateX(-.5px);
  transition:left .10s linear,background .15s ease;
}
.timeline-cursor:after{
  content:"";
  position:absolute;
  left:50%;
  top:7px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#fff;
  border:2px solid #123844;
  transform:translate(-50%,-50%);
  box-shadow:0 2px 7px rgba(34,62,72,.18);
}
.radar-timeline.is-live .timeline-cursor{
  background:#078f78;
}
.radar-timeline.is-live .timeline-cursor:after{border-color:#078f78}
.radar-timeline.is-forecasting .timeline-cursor{background:#3b8fd2}
.radar-timeline.is-forecasting .timeline-cursor:after{border-color:#3b8fd2}
.timeline-cursor-bubble{
  position:absolute;
  left:50%;
  bottom:20px;
  transform:translate(-50%,4px);
  padding:5px 7px;
  border:1px solid rgba(19,54,66,.10);
  border-radius:8px;
  background:rgba(17,40,50,.94);
  color:#fff;
  font-size:8px;
  font-weight:760;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 6px 18px rgba(34,62,72,.17);
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease,transform .12s ease,visibility .12s ease;
}
.timeline-cursor-bubble:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-4px;
  width:7px;
  height:7px;
  background:rgba(17,40,50,.94);
  transform:translateX(-50%) rotate(45deg);
}
.radar-timeline.is-scrubbing .timeline-cursor-bubble{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}
.timeline-hit-input{
  position:absolute!important;
  z-index:6!important;
  left:0!important;
  top:4px!important;
  width:100%!important;
  height:30px!important;
  margin:0!important;
  opacity:0!important;
  appearance:none!important;
  background:transparent!important;
  cursor:ew-resize!important;
}
.timeline-hit-input::-webkit-slider-thumb{width:18px!important;height:30px!important;appearance:none!important;background:transparent!important;border:0!important;box-shadow:none!important}
.timeline-hit-input::-moz-range-thumb{width:18px!important;height:30px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.timeline-pro-wrap:focus-within .radar-timeline{filter:drop-shadow(0 0 3px rgba(11,191,156,.16))}
.timeline-pro .timeline-ticks{
  position:absolute;
  left:4px;
  right:4px;
  bottom:0;
  height:14px;
  color:#819299;
  font-size:8px;
  pointer-events:none;
}
.timeline-pro .timeline-ticks span{
  position:absolute;
  transform:translateX(-50%);
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.timeline-pro .timeline-ticks span.is-edge:first-child{transform:none}
.timeline-pro .timeline-ticks span.is-edge:last-child{transform:translateX(-100%)}
.timeline-pro .timeline-ticks span.is-now{
  color:#078f78;
  font-weight:850;
  letter-spacing:.04em;
}
.timeline-pro .timeline-ticks span.is-forecast{color:#4f87ae}
.timeline-pro .lead-badge{
  min-width:54px;
  padding:7px 7px;
  border-radius:10px;
  font-size:9px;
  box-shadow:none;
}
.timeline-credit-inline{
  position:absolute;
  right:14px;
  bottom:4px;
  color:#9aabb0;
  font-size:7px;
  line-height:1;
  pointer-events:auto;
}
.timeline-credit-inline a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(154,171,176,.45)}
.timeline-credit-inline a:hover{color:#5d7780}
.timeline-credit-inline span{margin:0 4px;color:#c2cdd0}
.timeline-pro .timeline-foot{display:none!important}

@media(min-width:701px){
  .place-card{bottom:92px}
  .incident-card{bottom:94px}
}

@media(max-width:980px){
  .timeline-pro .timeline-main{grid-template-columns:40px 96px minmax(210px,1fr) 52px;gap:9px;padding:0 11px}
  .timeline-credit-inline{display:none}
}

@media(max-width:700px){
  .timeline-pro{
    left:8px;
    right:8px;
    bottom:calc(78px + env(safe-area-inset-bottom));
    min-height:56px;
    border-radius:16px;
    box-shadow:0 10px 28px rgba(34,62,72,.11);
  }
  .timeline-pro .timeline-main{
    height:56px;
    grid-template-columns:34px 72px minmax(112px,1fr) 42px;
    gap:6px;
    padding:0 8px;
  }
  .timeline-pro .play-btn{width:32px;height:32px;box-shadow:0 0 0 4px rgba(11,191,156,.055),0 5px 13px rgba(11,191,156,.16)}
  .timeline-pro .play-btn svg{width:15px;height:15px}
  .timeline-pro .timeline-kind{font-size:6.5px}
  .timeline-pro .timeline-now strong{font-size:9.5px}
  .timeline-pro-wrap{height:42px;padding:0 1px 13px}
  .radar-timeline{left:1px;right:1px;top:13px}
  .timeline-pro .timeline-ticks{left:1px;right:1px;font-size:6.8px;height:12px}
  .timeline-pro .timeline-ticks span{display:none}
  .timeline-pro .timeline-ticks span.is-now,.timeline-pro .timeline-ticks span.is-edge{display:block}
  .timeline-cursor-bubble{font-size:7px;padding:4px 6px;bottom:19px}
  .timeline-pro .lead-badge{min-width:40px;padding:6px 3px;border-radius:8px;font-size:7.5px}
  .timeline-credit-inline{display:none}
  .timeline-hit-input{top:2px!important;height:28px!important}
}

@media(max-width:390px){
  .timeline-pro .timeline-main{grid-template-columns:32px 64px minmax(88px,1fr) 38px;gap:5px;padding:0 7px}
  .timeline-pro .timeline-now strong{font-size:9px}
  .timeline-pro .lead-badge{min-width:36px;font-size:7px}
}

/* v0.1.11 · wider no-scroll desktop weather + richer METEO detail */
.meteo-detail-line{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;
  margin-top:7px;
}
.meteo-detail-line>span{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  min-height:30px;
  padding:6px 8px;
  border-radius:9px;
  border:1px solid rgba(19,54,66,.055);
  background:rgba(19,54,66,.018);
}
.meteo-detail-line small{
  min-width:0;
  color:#87989e;
  font-size:7.5px;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.meteo-detail-line strong{
  flex:0 0 auto;
  color:#29464f;
  font-size:9px;
  font-weight:790;
  white-space:nowrap;
}
.mobile-meteo-detail{display:none}

@media(min-width:701px){
  /* Na běžném desktopu karta nemá vlastní scrollbar. Větší šířka zkrátí obsah do kompaktního panelu. */
  .place-card{
    width:min(566px,calc(100vw - 126px));
    max-height:none;
    overflow:visible;
    padding:15px 16px 13px;
  }
  .place-current{grid-template-columns:44px minmax(0,1fr);padding:9px 11px}
  .place-weather-icon{width:44px;height:44px}
  .place-current-copy strong{font-size:14.5px}
  .weather-metrics{gap:5px}
  .weather-metrics div{min-height:39px;padding:6px 5px}
  .sun-summary{min-height:39px;margin-top:6px;padding:6px 9px}
  .weather-forecast-section{margin-top:8px}
  .weather-section-head{margin-bottom:4px}

  /* Hodiny i sedm dní se na desktopu vejdou bez horizontálního/vertikálního scrollu. */
  .hourly-strip{
    display:grid;
    grid-template-columns:repeat(10,minmax(0,1fr));
    gap:4px;
    overflow:visible;
  }
  .hourly-item{
    min-width:0;
    width:auto;
    padding:5px 2px;
  }
  .daily-forecast-list{
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:4px;
    overflow:visible;
  }
  .daily-item{
    min-width:0;
    width:auto;
    min-height:74px;
    padding:5px 3px;
  }
  .radar-place-head{margin-top:8px;padding-top:8px}
  .place-forecast-grid{gap:5px;margin-top:5px}
  .place-forecast-grid div{padding:6px 7px}
  .place-insight{margin-top:5px;padding:7px 9px}
  .place-source-line,.place-coords{margin-top:4px}
}

/* Menší notebooky mohou mít fyzicky málo výšky; jen tam necháme bezpečný fallback scroll. */
@media(min-width:701px) and (max-height:760px){
  .place-card{
    max-height:calc(100dvh - 168px);
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
  }
}

@media(min-width:701px) and (max-width:1180px){
  .place-card{width:min(520px,calc(100vw - 104px))}
  .hourly-strip{grid-template-columns:repeat(8,minmax(0,1fr))}
  .hourly-item:nth-child(n+9){display:none}
}

@media(max-width:700px){
  /* Rozšířené METEO údaje jsou na mobilu až po rozbalení sheetu. */
  .mobile-sheet.has-place.is-expanded .mobile-meteo-detail{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:4px;
    margin:6px 0 7px;
  }
  .mobile-meteo-detail>span{
    min-width:0;
    display:grid;
    justify-items:center;
    gap:2px;
    padding:6px 2px;
    border:1px solid rgba(19,54,66,.055);
    border-radius:9px;
    background:rgba(19,54,66,.02);
  }
  .mobile-meteo-detail small{font-size:6.8px;color:#88999f;white-space:nowrap}
  .mobile-meteo-detail strong{font-size:8.5px;color:#29464f;white-space:nowrap}
}

/* v0.1.12 · forecast distinction + ČHMÚ CAP warnings */
.timeline-kind.is-forecast{color:#2f7fa8}
.app-shell.is-radar-forecast .timeline-forecast-progress{background:linear-gradient(90deg,#2f9fd2,#397fd8)}
.app-shell.is-radar-forecast .timeline-cursor:before{border-color:#3188b5;background:#fff}
.app-shell.is-radar-forecast .lead-badge:not(.is-current){border-color:rgba(47,143,190,.20);color:#2e789e;background:rgba(47,143,190,.07)}

.alert-count-badge{position:absolute;right:-3px;top:-4px;display:grid;min-width:18px;height:18px;padding:0 4px;border-radius:999px;place-items:center;background:#ef7a24;color:#fff;font-size:9px;font-weight:850;line-height:1;border:2px solid rgba(255,255,255,.95);box-shadow:0 3px 10px rgba(187,82,20,.20)}
.alert-count-badge[hidden]{display:none}
.map-action.has-alerts{border-color:rgba(239,122,36,.28);box-shadow:0 8px 24px rgba(174,80,22,.12)}
.map-action.has-alerts .action-dot{background:#ef7a24}

.warning-card{position:absolute;z-index:13;left:24px;bottom:116px;width:min(430px,calc(100vw - 48px));padding:18px;border-radius:22px;border:1px solid rgba(226,158,36,.24);background:rgba(255,255,255,.965);backdrop-filter:blur(24px) saturate(145%);box-shadow:0 24px 70px rgba(40,55,62,.20);overflow:hidden}
.warning-card[hidden]{display:none}
.warning-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:#f2bf2f}
.warning-card[data-severity="Severe"]{border-color:rgba(239,108,33,.28)}
.warning-card[data-severity="Severe"]:before{background:#ef6c21}
.warning-card[data-severity="Extreme"]{border-color:rgba(155,28,49,.30)}
.warning-card[data-severity="Extreme"]:before{background:#9b1c31}
.warning-card[data-severity="Unknown"]:before{background:#8b79c9}
.warning-card-kicker{display:flex;align-items:center;gap:7px;padding-right:34px;color:#927216;font-size:9px;letter-spacing:.11em;font-weight:850}
.warning-card[data-severity="Severe"] .warning-card-kicker{color:#b74f11}
.warning-card[data-severity="Extreme"] .warning-card-kicker{color:#8f1c31}
.warning-card-glyph{display:grid;width:20px;height:20px;border-radius:7px;place-items:center;background:rgba(242,191,47,.14);font-size:12px;font-weight:900}
.warning-card h2{margin:8px 34px 5px 0;color:#17313b;font-size:20px;line-height:1.12;letter-spacing:-.025em}
.warning-area{color:#647b84;font-size:11px;font-weight:720;line-height:1.35}
.warning-validity{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:9px 10px;border-radius:11px;background:rgba(20,54,66,.045);font-size:10px;color:#70858d}
.warning-validity strong{color:#294650;font-size:10.5px;text-align:right}
.warning-card p{margin:12px 0 0;color:#415e68;font-size:11.5px;line-height:1.48}
.warning-instruction{margin-top:9px;padding:9px 10px;border-radius:11px;background:rgba(242,191,47,.08);color:#675b2e;font-size:10.5px;line-height:1.42}
.warning-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:10px;border-top:1px solid rgba(18,52,63,.08);color:#789099;font-size:8.5px}
.warning-card-foot span:first-child{font-weight:760;color:#516b74}

@media(max-width:700px){
  .warning-card{left:8px;right:8px;bottom:calc(80px + env(safe-area-inset-bottom));width:auto;max-height:46dvh;padding:16px;border-radius:21px;overflow:auto}
  .app-shell.has-warning .timeline-shell{display:none}
  .warning-card h2{font-size:18px}.warning-card p{font-size:11px}.warning-validity{align-items:flex-start;flex-direction:column;gap:3px}.warning-validity strong{text-align:left}
}


/* v0.1.12.1 · Simple Weather Mode */
.layer-chip[data-layer="weather"]{position:relative}
.weather-alert-badge{
  display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;margin-left:2px;
  border-radius:999px;background:#ee7a22;color:#fff;font-size:8px;font-weight:850;
  box-shadow:0 2px 7px rgba(186,81,18,.18)
}
.weather-alert-badge[hidden]{display:none}

.weather-settings-panel{width:310px}
.weather-mode-summary{
  display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center;
  padding:11px;border-radius:14px;background:linear-gradient(135deg,rgba(11,191,156,.08),rgba(37,153,212,.055));
  border:1px solid rgba(11,191,156,.12)
}
.weather-mode-icon{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;
  background:#fff;color:#079b80;font-size:17px;box-shadow:0 5px 16px rgba(34,62,72,.08)
}
.weather-mode-summary div{display:grid;gap:3px}
.weather-mode-summary strong{font-size:12px;color:#173640}
.weather-mode-summary small{font-size:9.5px;line-height:1.4;color:#6f858e}
.weather-mode-status{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.weather-mode-status>span{
  min-width:0;display:grid;grid-template-columns:8px 1fr;column-gap:6px;align-items:center;
  padding:8px 9px;border:1px solid rgba(19,54,66,.07);border-radius:11px;background:rgba(19,54,66,.025)
}
.weather-mode-status i{grid-row:1 / 3;width:7px;height:7px;border-radius:50%}
.status-live-dot{background:#0bbf9c;box-shadow:0 0 0 3px rgba(11,191,156,.09)}
.status-warning-dot{background:#ef8a23;box-shadow:0 0 0 3px rgba(239,138,35,.09)}
.weather-mode-status b{font-size:9.5px;color:#2a4650}
.weather-mode-status small{font-size:8.5px;color:#7d9198;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.weather-settings-panel .radar-strength{margin-top:10px}
.compact-note{margin-top:0}

.mobile-layer-item[data-layer="weather"]{position:relative}
.mobile-weather-alert-badge{
  position:absolute;right:8px;top:6px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;
  border-radius:999px;background:#ef7a24;color:#fff;font-size:7.5px;font-weight:850;border:2px solid #fff
}
.mobile-weather-alert-badge[hidden]{display:none}

@media(max-width:700px){
  .weather-settings-panel{width:auto}
  .weather-mode-summary{grid-template-columns:34px 1fr;padding:10px}
  .weather-mode-icon{width:34px;height:34px}
}


/* v0.1.12.2 · first-load radar + visible warnings + notebook/search polish */
/* Search výsledky musí vždy ležet nad řádkem režimů. */
.top-shell{z-index:30}
.brand-row{position:relative;z-index:40}
.search-wrap{z-index:50}
.search-wrap:focus-within{z-index:80}
.search-suggestions{z-index:90;max-height:min(58vh,520px);overflow:auto}
.layer-chips{position:relative;z-index:20}

/* Výstraha na notebooku začíná vždy POD horním UI. Už se nemůže vysunout
   mimo viewport a křížek zůstává dosažitelný. */
@media(min-width:701px){
  .warning-card{
    top:118px;bottom:auto;left:24px;
    width:min(470px,calc(100vw - 48px));
    max-height:calc(100dvh - 224px);
    overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;
  }
  .warning-card .card-close{
    position:sticky;top:0;right:auto;z-index:8;display:grid;
    margin:-5px -5px -25px auto;
    background:rgba(240,244,245,.96);backdrop-filter:blur(8px);
    box-shadow:0 2px 10px rgba(25,48,57,.08)
  }
  .warning-area{padding-right:8px}
}

@media(max-width:700px){
  .top-shell{z-index:30}
  .search-wrap:focus-within{z-index:90}
  .search-suggestions{z-index:100}
}

/* v0.1.13 · METEO DECK — jednoduché režimy počasí + kompaktní timeline */
.weather-view-nav{
  margin-top:7px;
  display:flex;
  align-items:center;
  gap:5px;
  width:max-content;
  max-width:min(760px,calc(100vw - 44px));
  padding:4px;
  border:1px solid rgba(34,72,84,.09);
  border-radius:14px;
  background:rgba(255,255,255,.88);
  box-shadow:0 8px 24px rgba(38,64,72,.07);
  backdrop-filter:blur(18px);
  pointer-events:auto;
  overflow:auto;
  scrollbar-width:none;
}
.weather-view-nav::-webkit-scrollbar{display:none}
.weather-view-tab{
  position:relative;
  height:34px;
  min-width:92px;
  padding:0 11px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#58717a;
  display:grid;
  grid-template-columns:18px 1fr;
  grid-template-rows:17px 11px;
  align-items:center;
  column-gap:4px;
  text-align:left;
  cursor:pointer;
  transition:background .16s ease,color .16s ease,box-shadow .16s ease;
}
.weather-view-tab>span{grid-row:1/3;font-size:15px;line-height:1;text-align:center}
.weather-view-tab>b{font-size:10px;line-height:1;font-weight:800;color:inherit;white-space:nowrap}
.weather-view-tab>small{font-size:7.5px;line-height:1;color:#8ba0a7;white-space:nowrap}
.weather-view-tab.is-active{background:#e7f8f4;color:#087c6a;box-shadow:inset 0 0 0 1px rgba(11,191,156,.16)}
.weather-view-tab.is-active small{color:#4e9185}
.weather-view-tab.is-coming{opacity:.54}
.weather-view-tab.is-coming:after{content:"brzy";position:absolute;right:5px;top:3px;font-size:5.5px;font-weight:800;letter-spacing:.04em;color:#87999f}

/* Výstrahy jako samostatný focus: mapa zůstane čistá, timeline zmizí. */
.app-shell.is-alert-focus .timeline-shell{display:none!important}
.app-shell.is-alert-focus .chmi-radar-layer{opacity:.2}

/* Desktop timeline o téměř polovinu nižší. */
@media(min-width:701px){
  .timeline-pro{left:20px;right:20px;bottom:12px;min-height:46px;border-radius:15px}
  .timeline-pro .timeline-main{height:46px;grid-template-columns:32px 90px minmax(260px,1fr) 48px;gap:9px;padding:0 11px}
  .timeline-pro .play-btn{width:30px;height:30px;box-shadow:0 0 0 4px rgba(11,191,156,.045),0 5px 13px rgba(11,191,156,.12)}
  .timeline-pro .play-btn svg{width:14px;height:14px}
  .timeline-pro .timeline-kind{font-size:6.5px;letter-spacing:.10em}
  .timeline-pro .timeline-now strong{font-size:10px}
  .timeline-pro-wrap{height:37px;padding:0 3px 12px}
  .radar-timeline{left:3px;right:3px;top:11px;height:15px}
  .timeline-rail,.timeline-zone,.timeline-progress{top:7px}
  .timeline-history-progress,.timeline-forecast-progress{top:6px;height:3px}
  .timeline-now-marker{top:1px}
  .timeline-cursor{top:1px;height:12px}
  .timeline-cursor:after{top:6px;width:7px;height:7px}
  .timeline-pro .timeline-ticks{left:3px;right:3px;height:11px;font-size:6.6px}
  .timeline-pro .lead-badge{min-width:45px;padding:5px 5px;border-radius:9px;font-size:8px}
  .timeline-credit-inline{right:11px;bottom:3px;font-size:5.8px}
  .place-card{bottom:70px}
  .incident-card{bottom:72px}
}

/* Aktivní výstražné plochy mají být čitelné i přes radar, ale ne agresivní. */
.app-shell[data-weather-view="alerts"] .map{filter:saturate(.93)}

@media(max-width:700px){
  /* Hlavní režimy jsou nahoře. Dole je vždy kontext aktuálního režimu. */
  .layer-chips{
    display:flex!important;
    max-width:calc(100vw - 20px)!important;
    margin-top:7px!important;
    gap:5px!important;
    padding:1px 0 2px!important;
    overflow-x:auto!important;
  }
  .layer-chip{display:inline-flex!important;flex:0 0 auto!important;height:30px!important;padding:0 9px!important;font-size:9.5px!important;border-radius:10px!important}
  .layer-chip:nth-of-type(n+6){display:none!important}
  .weather-view-nav{display:none!important}
  .top-shell{pointer-events:none}
  .top-shell .brand-row,.top-shell .search-wrap,.top-shell .brand,.top-shell .top-menu,.top-shell .layer-chips{pointer-events:auto}

  .mobile-weather-nav{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    height:calc(66px + env(safe-area-inset-bottom));
    padding:6px 6px env(safe-area-inset-bottom);
    gap:2px;
  }
  .mobile-weather-nav .mobile-nav-item{font-size:7.8px;border-radius:11px;gap:2px}
  .mobile-mode-icon{display:grid;place-items:center;width:21px;height:21px;font-size:16px;line-height:1;font-weight:700}
  .weather-mobile-item.is-active{color:#078f78;background:rgba(11,191,156,.09)}
  .weather-mobile-item.is-coming{opacity:.48}
  .weather-mobile-item[data-weather-view="alerts"] .mobile-mode-icon{font-family:system-ui;border:1.5px solid currentColor;border-radius:50%;font-size:11px}

  .timeline-shell{bottom:74px}
  .app-shell.is-alert-focus .map-actions{bottom:82px}
}

/* v0.1.13 · warning card must clear the complete meteo deck on notebooks */
@media(min-width:701px){
  .warning-card{
    top:154px;
    max-height:calc(100dvh - 226px);
  }
}

/* v0.1.14 · METEO LAYERS — nezávislé vrstvy, ALADIN modely, alert centrum */
.weather-layer-deck{max-width:min(1340px,calc(100vw - 44px))}
.weather-layer-deck .weather-view-tab{min-width:92px}
.weather-layer-deck .weather-master-toggle{min-width:78px;background:rgba(19,54,66,.035)}
.weather-layer-deck .weather-master-toggle.is-partial{background:rgba(11,191,156,.045);color:#4e7d74}
.weather-layer-deck .weather-master-toggle.is-active{background:#dff6f0;color:#077d69}
.weather-view-tab[data-weather-layer="alerts"].is-active{background:#fff4e8;color:#a95a14;box-shadow:inset 0 0 0 1px rgba(239,122,36,.20)}
.weather-view-tab[data-weather-layer="precip"].is-active{background:#eaf4ff;color:#2b65b0;box-shadow:inset 0 0 0 1px rgba(64,130,220,.17)}
.weather-view-tab[data-weather-layer="clouds"].is-active{background:#edf1f4;color:#526b78;box-shadow:inset 0 0 0 1px rgba(81,110,125,.15)}
.weather-view-tab[data-weather-layer="wind"].is-active{background:#e8f7fa;color:#16778a;box-shadow:inset 0 0 0 1px rgba(29,139,157,.16)}
.weather-view-tab[data-weather-layer="storms"].is-active{background:#f7eefb;color:#7b4c91;box-shadow:inset 0 0 0 1px rgba(125,73,148,.15)}

.layer-panel-master{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border-radius:13px;background:linear-gradient(135deg,rgba(11,191,156,.07),rgba(37,153,212,.045));border:1px solid rgba(11,191,156,.10)}
.layer-panel-master>div{display:grid;gap:2px}.layer-panel-master strong{font-size:11px;color:#1d3c46}.layer-panel-master small{font-size:8.5px;color:#758a92;line-height:1.35}
.compact-toggle-btn{flex:0 0 auto;height:30px;padding:0 12px;border:1px solid rgba(19,54,66,.10);border-radius:10px;background:#fff;color:#45636d;font-size:9px;font-weight:800;cursor:pointer}
.compact-toggle-btn.is-active{background:#e5f8f3;color:#087c69;border-color:rgba(11,191,156,.22)}
.compact-toggle-btn.is-partial{color:#087c69;border-color:rgba(11,191,156,.15)}
.layer-panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.layer-toggle-card{min-width:0;display:grid;grid-template-columns:26px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:7px;padding:8px 9px;border:1px solid rgba(19,54,66,.075);border-radius:11px;background:rgba(19,54,66,.018);color:#5d727a;text-align:left;cursor:pointer}
.layer-toggle-card>span{grid-row:1/3;display:grid;width:25px;height:25px;place-items:center;border-radius:8px;background:#fff;font-size:13px;box-shadow:0 3px 9px rgba(30,55,64,.05)}
.layer-toggle-card>b{font-size:9.5px;color:#294650}.layer-toggle-card>small{font-size:7.4px;color:#84969c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.layer-toggle-card.is-active{background:#edf9f6;border-color:rgba(11,191,156,.18);color:#087c69}.layer-toggle-card.is-active>b{color:#087c69}
.layer-toggle-card[data-weather-layer="alerts"].is-active{background:#fff5e9;border-color:rgba(239,122,36,.18)}
.layer-toggle-card[data-weather-layer="alerts"].is-active>b{color:#a85b17}
.layer-toggle-card[data-weather-layer="clouds"].is-active{background:#f0f3f5}.layer-toggle-card[data-weather-layer="clouds"].is-active>b{color:#526b78}
.layer-toggle-card[data-weather-layer="wind"].is-active{background:#ebf8fa}.layer-toggle-card[data-weather-layer="wind"].is-active>b{color:#16778a}
.layer-toggle-card[data-weather-layer="storms"].is-active{background:#f8f0fb}.layer-toggle-card[data-weather-layer="storms"].is-active>b{color:#794b8e}
.model-status-line{display:flex;align-items:center;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(19,54,66,.06);color:#72878f}.model-status-line>span{width:7px;height:7px;border-radius:50%;background:#aebcc1}.model-status-line>span.is-live{background:#0bbf9c;box-shadow:0 0 0 3px rgba(11,191,156,.08)}.model-status-line>span.is-error{background:#d96b69}.model-status-line strong{font-size:8px;color:#48626b}.model-status-line small{font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.alert-center{z-index:18;left:24px;top:154px;width:min(390px,calc(100vw - 48px));max-height:calc(100dvh - 230px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.alert-center-summary{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:11px;background:#fff6e8;color:#85551d;font-size:9px}.alert-center-summary .status-warning-dot{width:8px;height:8px;border-radius:50%;flex:0 0 auto}.alert-center-summary strong{font-size:9.5px}
.alert-center-list{display:grid;gap:6px;margin-top:8px}.alert-center-empty{padding:14px 10px;color:#7d9097;font-size:9.5px;text-align:center}
.alert-center-item{display:grid;grid-template-columns:8px 1fr 14px;align-items:center;gap:9px;padding:9px 10px;border:1px solid rgba(19,54,66,.07);border-radius:11px;background:#fff;text-align:left;cursor:pointer}.alert-center-item:hover{background:#f8fbfb}.alert-center-severity{width:7px;height:32px;border-radius:999px;background:#f2bf2f}.alert-center-item[data-severity="Severe"] .alert-center-severity{background:#ef6c21}.alert-center-item[data-severity="Extreme"] .alert-center-severity{background:#9b1c31}.alert-center-copy{min-width:0;display:grid;gap:2px}.alert-center-copy strong{font-size:10px;color:#24434d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alert-center-copy small{font-size:8px;color:#728890;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alert-center-copy em{font-size:7.5px;color:#9aa8ad;font-style:normal}.alert-center-arrow{font-size:19px;color:#a1b0b5}.alert-center-focus{width:100%;height:32px;margin-top:8px;border:1px solid rgba(239,122,36,.18);border-radius:10px;background:#fff7ed;color:#a75b17;font-size:8.5px;font-weight:800;cursor:pointer}

.forecast-lead-btn{height:28px;min-width:42px;padding:0 7px;border:1px solid rgba(104,88,211,.14);border-radius:9px;background:rgba(104,88,211,.055);color:#6759c6;font-size:8px;font-weight:850;cursor:pointer}.forecast-lead-btn:hover{background:rgba(104,88,211,.10)}
.app-shell.is-radar-layer-off .timeline-shell{display:none!important}

/* desktop: timeline je opravdu jen subtilní časový ovladač */
@media(min-width:701px){
  .weather-settings-panel{width:350px}
  .timeline-pro{min-height:40px}
  .timeline-pro .timeline-main{height:40px;grid-template-columns:28px 82px minmax(240px,1fr) 42px 44px;gap:7px;padding:0 9px}
  .timeline-pro .play-btn{width:26px;height:26px}.timeline-pro .play-btn svg{width:13px;height:13px}
  .timeline-pro-wrap{height:32px;padding-bottom:10px}.radar-timeline{top:9px}.timeline-pro .timeline-ticks{font-size:6px;height:10px}
  .timeline-pro .timeline-now strong{font-size:9.5px}.timeline-pro .timeline-kind{font-size:6px}
  .timeline-pro .lead-badge{min-width:42px;padding:4px 4px;font-size:7.5px}.forecast-lead-btn{height:26px;min-width:40px;font-size:7.5px}
  .timeline-credit-inline{font-size:5.4px}
  .place-card{bottom:64px}.incident-card{bottom:66px}
}

@media(max-width:700px){
  .weather-layer-deck{display:none!important}
  .mobile-layer-deck{display:flex!important;grid-template-columns:none!important;align-items:stretch;gap:4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:6px 7px env(safe-area-inset-bottom);height:calc(68px + env(safe-area-inset-bottom));scroll-snap-type:x proximity}
  .mobile-layer-deck::-webkit-scrollbar{display:none}
  .mobile-layer-deck .mobile-nav-item{flex:0 0 66px;min-width:66px;scroll-snap-align:start;padding:4px 3px;border:1px solid transparent}
  .mobile-layer-deck .mobile-nav-item.is-active{border-color:rgba(11,191,156,.13)}
  .mobile-layer-deck .mobile-nav-item[data-weather-layer="alerts"].is-active{background:#fff4e9;color:#a95b15;border-color:rgba(239,122,36,.16)}
  .mobile-layer-deck .mobile-nav-item[data-weather-layer="clouds"].is-active{background:#f0f3f5;color:#526b78}
  .mobile-layer-deck .mobile-nav-item[data-weather-layer="wind"].is-active{background:#eaf8fa;color:#16778a}
  .mobile-layer-deck .mobile-nav-item[data-weather-layer="storms"].is-active{background:#f8effb;color:#7b4c91}
  .mobile-layer-deck .weather-all-mobile{background:rgba(19,54,66,.03)}
  .mobile-layer-deck .weather-all-mobile.is-partial{color:#087c69;background:rgba(11,191,156,.04)}
  .alert-center{left:8px;right:8px;top:auto;bottom:calc(76px + env(safe-area-inset-bottom));width:auto;max-height:55dvh;border-radius:19px}
  .timeline-pro .timeline-main{grid-template-columns:32px 64px minmax(85px,1fr) 38px 38px;gap:4px}
  .forecast-lead-btn{height:28px;min-width:36px;padding:0 4px;font-size:7px}
}

/* v0.1.15 · Kontextová časová osa pro ALADIN modelové vrstvy */
.app-shell.is-model-timeline .timeline-shell{border-color:rgba(63,111,194,.16);box-shadow:0 16px 44px rgba(51,86,124,.13)}
.app-shell.is-model-timeline .timeline-history-zone,.app-shell.is-model-timeline .timeline-history-progress{width:0!important}
.app-shell.is-model-timeline .timeline-forecast-zone{left:0!important;width:100%!important;background:linear-gradient(90deg,rgba(76,132,217,.10),rgba(104,88,211,.10))}
.app-shell.is-model-timeline .timeline-forecast-progress{left:0!important;background:linear-gradient(90deg,#4d9dd8,#6d63d8)}
.app-shell.is-model-timeline .timeline-now-marker{background:rgba(65,111,180,.28)}
.app-shell.is-model-timeline .timeline-now-marker:before{background:#4d83c7}
.app-shell.is-model-timeline .timeline-cursor{background:#5e67d5}
.app-shell.is-model-timeline .timeline-cursor:after{border-color:#5e67d5}
.timeline-kind.is-model{color:#5964c9}
.app-shell.is-model-timeline .forecast-lead-btn{border-color:rgba(89,100,201,.20);background:rgba(89,100,201,.07);color:#555fc1}
.app-shell.is-model-timeline .lead-badge{border-color:rgba(77,131,199,.22);background:rgba(77,131,199,.07);color:#3e73aa}
.app-shell.is-radar-layer-off:not(.is-model-timeline) .timeline-shell{display:none!important}
/* překryje starší příliš obecné pravidlo */
.app-shell.is-radar-layer-off.is-model-timeline .timeline-shell{display:block!important}

/* v0.1.17 · PRO METEO RENDER */
.app-shell[data-mode="weather"] #alertBtn{display:none!important}
.model-legend{
  position:absolute;z-index:12;right:24px;bottom:92px;width:220px;padding:10px 12px 9px;
  border:1px solid rgba(19,54,66,.09);border-radius:14px;background:rgba(255,255,255,.92);
  box-shadow:0 12px 32px rgba(39,61,70,.10);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  color:#29464f;pointer-events:none
}
.model-legend[hidden]{display:none}
.model-legend-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:7px}
.model-legend-head strong{font-size:10px;font-weight:850;letter-spacing:.01em}
.model-legend-head span{font-size:7.5px;color:#7d9097;font-weight:750}
.model-legend-bar{height:7px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(19,54,66,.08)}
.model-legend-scale{display:flex;justify-content:space-between;margin-top:4px;color:#778b93;font-size:7px;font-weight:700}
.model-legend>small{display:block;margin-top:5px;color:#98a5aa;font-size:6.8px;font-weight:700;text-align:right}
.weather-master-toggle.is-loading{position:relative;opacity:.78;pointer-events:none}
.weather-master-toggle.is-loading:after{content:"";width:9px;height:9px;border:1.5px solid rgba(8,124,104,.22);border-top-color:#078f78;border-radius:50%;animation:radarSpin .75s linear infinite;position:absolute;right:8px;top:8px}
@keyframes radarSpin{to{transform:rotate(360deg)}}
.weather-view-tab.is-loading:not(.weather-master-toggle){opacity:.74}
.weather-view-tab.is-ready:not(.is-active) small{color:#6f8b84}

/* V meteo režimu zůstávají plovoucí ovladače co nejméně rušivé. */
.app-shell[data-mode="weather"] .map-actions{gap:8px}
.app-shell[data-mode="weather"] .map-action{background:rgba(255,255,255,.86);box-shadow:0 8px 22px rgba(42,63,71,.08)}

@media(max-width:700px){
  .model-legend{display:none!important}
  .app-shell[data-mode="weather"] #alertBtn{display:none!important}
}

/* v0.1.18 · weather detail always above map chrome + laptop-safe close */
@media(min-width:701px){
  .place-card{
    z-index:140!important;
    top:120px!important;
    bottom:auto!important;
    max-height:calc(100dvh - 205px)!important;
    overflow:auto!important;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
    box-shadow:0 28px 85px rgba(31,55,66,.24),0 3px 12px rgba(31,55,66,.08)!important;
  }
  .place-card .card-close{
    position:sticky!important;
    top:0!important;
    float:right;
    z-index:20;
    margin:-2px -2px -28px 10px;
    background:rgba(244,248,249,.97)!important;
    border:1px solid rgba(19,54,66,.07)!important;
    box-shadow:0 4px 14px rgba(31,55,66,.12);
    backdrop-filter:blur(12px);
  }
}

/* v0.2.2 · current conditions markers */
.weather-city-marker{
  appearance:none;border:0;background:rgba(255,255,255,.94);color:#0b2530;
  padding:5px 8px 6px;border-radius:13px;box-shadow:0 6px 18px rgba(27,52,64,.14),0 0 0 1px rgba(69,102,116,.10);
  display:flex;flex-direction:column;align-items:center;gap:1px;min-width:58px;cursor:pointer;
  font:inherit;transform:translateY(-2px);transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.weather-city-marker:hover{transform:translateY(-4px);box-shadow:0 9px 24px rgba(27,52,64,.19),0 0 0 1px rgba(12,177,151,.20);background:#fff}
.weather-city-marker .weather-city-main{display:flex;align-items:center;gap:4px;line-height:1}
.weather-city-marker i{width:24px;height:24px;display:flex;align-items:center;justify-content:center}
.weather-city-marker i svg{width:24px;height:24px;display:block}
.weather-city-marker strong{font-size:16px;line-height:1;font-weight:800;letter-spacing:-.03em}
.weather-city-marker small{font-size:10px;line-height:1.2;font-weight:700;color:#56717c;white-space:nowrap;max-width:105px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){
  .weather-city-marker{padding:4px 6px 5px;min-width:49px;border-radius:11px}
  .weather-city-marker i,.weather-city-marker i svg{width:21px;height:21px}
  .weather-city-marker strong{font-size:14px}
  .weather-city-marker small{font-size:9px;max-width:78px}
}
.weather-city-marker.is-forecast{background:rgba(245,249,255,.96);box-shadow:0 7px 20px rgba(45,92,160,.16),0 0 0 1px rgba(74,121,219,.22)}
.weather-city-marker.is-forecast small{color:#42648c}

/* v0.2.3 · smart weather presets + native values on map */
.weather-preset-tab{min-width:104px;background:rgba(17,55,67,.025)}
.weather-preset-tab.is-active{background:linear-gradient(135deg,#e6faf5,#eef8ff);color:#087c69;box-shadow:inset 0 0 0 1px rgba(11,191,156,.18),0 4px 14px rgba(23,88,92,.07)}
.weather-preset-tab[data-weather-preset="forecast"].is-active{background:linear-gradient(135deg,#eef4ff,#f3efff);color:#5260a8;box-shadow:inset 0 0 0 1px rgba(88,103,190,.16),0 4px 14px rgba(74,88,160,.07)}
.weather-quick-presets{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px}
.quick-weather-preset{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:7px;align-items:center;padding:9px 10px;border:1px solid rgba(19,54,66,.075);border-radius:12px;background:#fff;color:#48626b;text-align:left;cursor:pointer}
.quick-weather-preset>span{grid-row:1/3;display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#f0f6f6;color:#0d9f88;font-size:13px}.quick-weather-preset strong{font-size:9.5px}.quick-weather-preset small{font-size:7.4px;color:#84969c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quick-weather-preset.is-active{background:#edf9f6;border-color:rgba(11,191,156,.18);color:#087c69}.quick-weather-preset[data-weather-preset="forecast"].is-active{background:#f1f3ff;border-color:rgba(88,103,190,.16);color:#5260a8}.quick-weather-preset[data-weather-preset="forecast"]>span{color:#6672bd;background:#f1f3ff}
.weather-city-marker.is-model-value{padding:6px 9px 6px;min-width:58px;box-shadow:0 7px 22px rgba(22,47,58,.15),0 0 0 1px rgba(255,255,255,.8);border:1px solid rgba(31,65,78,.08)}
.weather-city-marker.is-model-value .model-value-main strong{font-size:17px;letter-spacing:-.035em;display:flex;align-items:center;gap:3px}
.weather-city-marker.is-model-value small{font-size:8.5px;color:#526b75}
.weather-city-marker.is-temperature-value{background:rgba(255,250,239,.95);box-shadow:0 7px 22px rgba(198,118,39,.13),0 0 0 1px rgba(235,157,69,.18)}
.weather-city-marker.is-precip-value{background:rgba(239,248,255,.96);box-shadow:0 7px 22px rgba(44,111,196,.12),0 0 0 1px rgba(62,139,230,.16)}
.weather-city-marker.is-cloud-value{background:rgba(244,247,249,.96);box-shadow:0 7px 22px rgba(68,91,107,.12),0 0 0 1px rgba(87,108,123,.14)}
.weather-city-marker.is-wind-value{background:rgba(238,250,251,.96);box-shadow:0 7px 22px rgba(24,119,139,.12),0 0 0 1px rgba(42,149,169,.15)}
.weather-city-marker.is-storm-value{background:rgba(252,243,255,.96);box-shadow:0 7px 22px rgba(131,68,156,.12),0 0 0 1px rgba(142,79,169,.16)}
.model-value-arrow{display:inline-block;font-size:11px;line-height:1;transform-origin:50% 50%;color:#147f93}
@media(max-width:700px){
  .weather-preset-mobile{background:rgba(255,255,255,.92)}
  .weather-preset-mobile.is-active{color:#087c69;background:#eaf9f5}
  .weather-preset-mobile[data-weather-preset="forecast"].is-active{color:#5260a8;background:#f1f3ff}
  .weather-city-marker.is-model-value{padding:4px 6px 5px;min-width:48px}
  .weather-city-marker.is-model-value .model-value-main strong{font-size:14px}
  .weather-city-marker.is-model-value small{font-size:8px;max-width:70px}
}

/* v0.2.4 · PRO WEATHER UI — compact deck + layer-specific point inspector */
@media(min-width:1181px){
  .weather-view-nav.weather-layer-deck{
    display:grid;grid-template-columns:74px 102px 116px repeat(7,minmax(92px,1fr));
    width:min(1340px,calc(100vw - 44px));max-width:none;gap:3px;padding:4px 5px;
    overflow:visible;border-radius:16px;background:rgba(255,255,255,.93);box-shadow:0 10px 28px rgba(33,61,70,.085)
  }
  .weather-layer-deck .weather-view-tab,.weather-layer-deck .weather-master-toggle,.weather-preset-tab{
    min-width:0!important;width:100%;height:42px;padding:4px 7px;border-radius:11px;
    grid-template-columns:18px minmax(0,1fr);grid-template-rows:18px 12px;column-gap:4px;overflow:hidden
  }
  .weather-view-tab>span{font-size:14px}.weather-view-tab>b{font-size:9.5px;overflow:hidden;text-overflow:ellipsis}.weather-view-tab>small{font-size:6.7px;overflow:hidden;text-overflow:ellipsis}
}
@media(min-width:701px) and (max-width:1180px){
  .weather-view-nav.weather-layer-deck{
    display:grid;grid-template-columns:60px 76px 90px repeat(7,minmax(62px,1fr));
    width:calc(100vw - 40px);max-width:none;gap:1px;padding:3px 4px;overflow:visible;border-radius:14px
  }
  .weather-layer-deck .weather-view-tab,.weather-layer-deck .weather-master-toggle,.weather-preset-tab{
    min-width:0!important;width:100%;height:34px;padding:3px 5px;border-radius:9px;
    grid-template-columns:15px minmax(0,1fr);grid-template-rows:1fr;column-gap:3px;overflow:hidden
  }
  .weather-view-tab>span{grid-row:1;font-size:12px}.weather-view-tab>b{font-size:8.5px;overflow:hidden;text-overflow:ellipsis}.weather-view-tab>small{display:none}
}
.weather-view-tab[data-weather-layer="temperature"].is-active{background:#eef8ef;color:#53773b;box-shadow:inset 0 0 0 1px rgba(96,143,75,.16)}
.weather-view-tab[data-weather-layer="storms"].is-active{background:linear-gradient(135deg,#faf0ff,#f6efff);color:#754599;box-shadow:inset 0 0 0 1px rgba(125,73,148,.18)}

.model-point-card{
  position:absolute;z-index:180;left:24px;top:214px;width:330px;max-height:calc(100dvh - 300px);overflow:auto;
  border:1px solid rgba(22,57,70,.10);border-radius:20px;background:rgba(255,255,255,.965);backdrop-filter:blur(24px) saturate(145%);
  box-shadow:0 28px 80px rgba(28,52,63,.22),0 4px 14px rgba(28,52,63,.07);color:#112d37;scrollbar-width:thin
}
.model-point-card[hidden]{display:none}
.model-point-card .card-close{position:sticky!important;top:10px!important;float:right;z-index:8;margin:10px 10px -40px 0;background:rgba(246,249,250,.98);border:1px solid rgba(19,54,66,.08);box-shadow:0 4px 12px rgba(31,55,66,.10)}
.model-point-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 20px 13px;border-bottom:1px solid rgba(19,54,66,.07)}
.model-point-head>div{min-width:0}.model-point-head h2{margin:3px 0 2px;font-size:20px;letter-spacing:-.03em}.model-point-head small{font-size:10px;color:#71878f}
.model-point-kicker{display:block;font-size:7.5px;font-weight:850;letter-spacing:.12em;color:#6f878f}
.model-point-icon{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:14px;background:#eef6f6;color:#178f7e;font-size:21px}
.model-point-primary{padding:15px 20px 14px}.model-point-primary>span{display:block;font-size:9px;font-weight:760;color:#71858d;margin-bottom:4px}.model-point-primary>strong{display:block;font-size:32px;line-height:1;font-weight:850;letter-spacing:-.04em}.model-point-primary>small{display:block;margin-top:8px;font-size:11px;color:#546d76}
.model-point-extras{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(19,54,66,.07);border-bottom:1px solid rgba(19,54,66,.07)}
.model-point-extras:empty{display:none}.model-point-extras>span{display:grid;gap:3px;padding:11px 10px;text-align:center;border-right:1px solid rgba(19,54,66,.06)}.model-point-extras>span:last-child{border-right:0}.model-point-extras small{font-size:7.5px;color:#81939a}.model-point-extras strong{font-size:10.5px;color:#24444f}
.model-point-trend{padding:14px 16px 13px}.model-point-section-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:9px}.model-point-section-head strong{font-size:10px}.model-point-section-head small{font-size:7.5px;color:#8b9ba0}
.model-point-trend-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.model-trend-item{min-width:0;padding:8px 3px;border-radius:9px;background:#f5f8f9;text-align:center}.model-trend-item span{display:block;font-size:7px;color:#809299}.model-trend-item strong{display:block;margin-top:3px;font-size:9px}.model-trend-item small{display:block;font-size:6.5px;color:#5e7882}.model-point-loading{grid-column:1/-1;color:#83969d;font-size:9px}
.model-point-foot{display:flex;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid rgba(19,54,66,.07);font-size:8px;color:#7e9198}.model-point-foot strong{color:#4c7180}
.model-point-note{padding:11px 16px 15px;background:linear-gradient(180deg,rgba(237,248,247,.65),rgba(255,255,255,0));font-size:9px;line-height:1.45;color:#647c85}
.model-point-card[data-layer="storms"] .model-point-icon{background:#faf0ff;color:#8050a0}.model-point-card[data-layer="storms"] .model-point-primary>strong{color:#76469d}
.model-point-card[data-layer="clouds"] .model-point-icon{background:#f0f4f6;color:#536e7d}.model-point-card[data-layer="clouds"] .model-point-primary>strong{color:#274957}
.model-point-card[data-layer="precip"] .model-point-icon{background:#edf6ff;color:#2c73b9}.model-point-card[data-layer="precip"] .model-point-primary>strong{color:#2367a5}
.model-point-card[data-layer="wind"] .model-point-icon{background:#e9f8fa;color:#147f92}.model-point-card[data-layer="wind"] .model-point-primary>strong{color:#176d7f}
.model-point-card[data-layer="temperature"] .model-point-icon{background:#fff8e8;color:#a96a1e}.model-point-card[data-layer="temperature"] .model-point-primary>strong{color:#8a5d22}

.map-zoom-action{font:600 24px/1 system-ui;color:#24444f}
@media(min-width:701px){
  .map-actions{z-index:70;right:20px;top:50%;gap:7px}.map-action{width:42px;height:42px;border-radius:14px}
  .model-legend{z-index:75;right:22px;bottom:78px}
  .timeline-pro{z-index:80;left:22px;right:22px;bottom:12px;border-radius:18px}
  .timeline-pro .timeline-main{height:52px;grid-template-columns:38px 108px minmax(280px,1fr) 54px 52px;gap:9px;padding:0 12px}
}
@media(max-width:700px){
  .model-point-card{left:10px;right:10px;top:auto;bottom:82px;width:auto;max-height:62dvh;border-radius:20px}
  .model-point-card .card-close{top:8px!important}
  .model-point-trend-grid{grid-template-columns:repeat(7,58px);overflow-x:auto;justify-content:start}
  .map-zoom-action{display:none!important}
}

/* CAPE: nulové a zanedbatelné hodnoty nejsou důvodem k vizuálnímu alarmu. */
.weather-city-marker.is-storm-value{background:rgba(252,247,255,.96);border-color:rgba(140,86,164,.10)}
.weather-city-marker.is-storm-value .model-value-main strong{color:#67408a}

/* v0.2.5 · SMART TEĎ — deterministický radar + ALADIN confidence engine */
.smart-now-card{margin-top:9px;padding:12px 13px 11px;border:1px solid rgba(20,93,91,.10);border-radius:15px;background:linear-gradient(135deg,rgba(235,250,247,.95),rgba(246,251,253,.96));box-shadow:inset 0 1px 0 rgba(255,255,255,.7);transition:background .18s ease,border-color .18s ease}
.smart-now-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.smart-now-head>span{display:flex;align-items:center;gap:5px;min-width:0}.smart-now-head i{font-style:normal;color:#0ba78e;font-size:11px}.smart-now-head b{font-size:8px;letter-spacing:.08em;text-transform:uppercase;color:#3b646b}.smart-now-head em{font-style:normal;font-size:7.5px;font-weight:800;padding:4px 7px;border-radius:999px;background:rgba(11,167,142,.10);color:#0b826f;white-space:nowrap}
.smart-now-head em[data-level="medium"]{background:rgba(224,165,44,.13);color:#946615}.smart-now-head em[data-level="low"]{background:rgba(193,96,62,.12);color:#9a5035}.smart-now-card>strong{display:block;font-size:13.5px;line-height:1.2;letter-spacing:-.02em;color:#18343d}.smart-now-card>p{margin:5px 0 0;font-size:9.5px;line-height:1.42;color:#5a747d}
.smart-now-signals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:9px}.smart-now-signals>span{display:grid;gap:2px;min-width:0;padding:7px 8px;border-radius:10px;background:rgba(255,255,255,.68);border:1px solid rgba(26,62,73,.055)}.smart-now-signals small{font-size:6.7px;font-weight:800;text-transform:uppercase;letter-spacing:.055em;color:#91a0a5}.smart-now-signals b{font-size:8.5px;color:#31505a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.smart-now-card.is-rain{background:linear-gradient(135deg,rgba(235,245,255,.98),rgba(241,249,255,.96));border-color:rgba(53,124,195,.14)}.smart-now-card.is-rain .smart-now-head i{color:#2c79bd}.smart-now-card.is-rain>strong{color:#225c8a}
.smart-now-card.is-approaching{background:linear-gradient(135deg,rgba(232,248,255,.98),rgba(239,251,250,.96));border-color:rgba(40,145,176,.14)}.smart-now-card.is-approaching .smart-now-head i{color:#278faa}.smart-now-card.is-approaching>strong{color:#246d7d}
.smart-now-card.is-uncertain{background:linear-gradient(135deg,rgba(255,248,232,.97),rgba(253,250,243,.96));border-color:rgba(205,157,56,.15)}.smart-now-card.is-uncertain .smart-now-head i{color:#c28b22}.smart-now-card.is-uncertain>strong{color:#755d28}
.smart-now-card.is-loading{opacity:.82}
@media(max-width:700px){.smart-now-card{display:none}}

/* v0.3.0 · Central Europe + Smart Now polish */
.smart-now-card{position:relative;margin-top:10px;padding:14px 15px 13px;border-radius:17px;border-color:rgba(23,105,101,.12);background:linear-gradient(145deg,rgba(238,251,248,.98),rgba(247,252,253,.98));box-shadow:0 7px 22px rgba(32,67,76,.045),inset 0 1px 0 rgba(255,255,255,.82)}
.smart-now-card:before{content:"";position:absolute;left:0;top:15px;bottom:15px;width:3px;border-radius:0 5px 5px 0;background:#18b79f;opacity:.72}
.smart-now-head{margin-bottom:8px;padding-left:2px}.smart-now-head i{font-size:12px}.smart-now-head b{font-size:8.8px;letter-spacing:.065em;color:#345c64}.smart-now-head em{max-width:175px;overflow:hidden;text-overflow:ellipsis;font-size:7.8px;padding:4px 8px;background:rgba(15,164,139,.105);box-shadow:inset 0 0 0 1px rgba(15,164,139,.06)}
.smart-now-card>strong{font-size:14.6px;line-height:1.18;color:#163840}.smart-now-card>p{margin-top:6px;font-size:10.3px;line-height:1.43;color:#57727a}
.smart-now-signals{gap:6px;margin-top:11px}.smart-now-signals>span{padding:8px 9px;border-radius:11px;background:rgba(255,255,255,.76);border-color:rgba(31,76,84,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.smart-now-signals small{font-size:6.9px;color:#87999f}.smart-now-signals b{font-size:9px;color:#284b54}
.smart-now-card.is-rain:before{background:#378cd0}.smart-now-card.is-approaching:before{background:#2aa8b6}.smart-now-card.is-uncertain:before{background:#d59d32}.smart-now-card.is-model-only{background:linear-gradient(145deg,rgba(241,247,255,.98),rgba(247,251,252,.98));border-color:rgba(77,117,176,.12)}.smart-now-card.is-model-only:before{background:#668bc4}.smart-now-card.is-model-only .smart-now-head i{color:#6388c1}.smart-now-card.is-model-only>strong{color:#294f73}
.weather-city-marker.is-europe{background:rgba(255,255,255,.92);border-color:rgba(73,101,115,.12)}
.weather-city-marker.is-europe small{color:#6e7e85}
@media(max-width:1100px){.smart-now-head em{max-width:135px}.smart-now-card>strong{font-size:14px}.smart-now-card>p{font-size:9.8px}}

/* v0.3.1.5 · live lightning */
.weather-view-tab[data-weather-layer="lightning"].is-active{background:#fff9df;color:#8a6810;box-shadow:inset 0 0 0 1px rgba(224,177,25,.24)}
.weather-view-tab[data-weather-layer="lightning"].is-active small{color:#8f7a37}
.layer-toggle-card[data-weather-layer="lightning"].is-active{background:#fff9e4;border-color:rgba(224,177,25,.22)}
.layer-toggle-card[data-weather-layer="lightning"].is-active>b{color:#80620d}
@media(max-width:720px){.mobile-layer-deck .mobile-nav-item[data-weather-layer="lightning"].is-active{background:#fff9e2;color:#80620d;border-color:rgba(224,177,25,.18)}}


/* v0.3.2 · Smart Now */
.smart-now-card.is-storm{background:linear-gradient(145deg,rgba(255,244,235,.99),rgba(255,249,241,.98));border-color:rgba(220,112,47,.20)}
.smart-now-card.is-storm:before{background:#e56c2e}.smart-now-card.is-storm .smart-now-head i{color:#d85f27}.smart-now-card.is-storm>strong{color:#7f3e1f}
.smart-now-card.is-warning{background:linear-gradient(145deg,rgba(255,248,226,.99),rgba(255,251,239,.98));border-color:rgba(218,166,40,.22)}
.smart-now-card.is-warning:before{background:#dca62e}.smart-now-card.is-warning .smart-now-head i{color:#be8420}.smart-now-card.is-warning>strong{color:#765514}

/* v0.3.2.1 · radar-derived storm cores (not lightning strikes) */

/* v0.3.3 · explicit model coverage tier */
.model-coverage-badge{display:inline-flex;align-items:center;justify-content:center;margin-top:4px;padding:3px 6px;border-radius:999px;background:rgba(11,191,156,.09);color:#24786d;font-size:6.5px;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.model-coverage-badge[data-tier="fallback"],.model-coverage-badge[data-tier="mixed"]{background:rgba(231,172,54,.12);color:#8a6724}
.model-coverage-badge[data-tier="none"]{background:rgba(81,96,106,.12);color:#5d6b72}
.radar-storm-cell{appearance:none;border:0;background:transparent;padding:0;display:grid;place-items:center;pointer-events:auto;cursor:pointer;position:relative;filter:drop-shadow(0 5px 12px rgba(30,23,30,.28));}
.radar-storm-cell-pulse{position:absolute;width:42px;height:42px;border-radius:50%;background:radial-gradient(circle,rgba(255,183,51,.22) 0 30%,rgba(244,104,57,.15) 32% 52%,rgba(244,104,57,0) 72%);animation:stormCorePulse 1.8s ease-out infinite;pointer-events:none}
.radar-storm-cell-icon{position:relative;z-index:2;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:rgba(24,22,25,.94);border:2px solid rgba(255,255,255,.96);box-shadow:0 0 0 3px rgba(245,174,54,.34),0 4px 11px rgba(30,24,30,.27)}
.radar-storm-cell-icon svg{width:17px;height:17px;fill:#ffd84d;filter:drop-shadow(0 1px 0 rgba(0,0,0,.25))}
.radar-storm-cell.is-elevated .radar-storm-cell-icon{background:#373036}.radar-storm-cell.is-elevated .radar-storm-cell-pulse{opacity:.68}
.radar-storm-cell.is-extreme .radar-storm-cell-icon{width:31px;height:31px;background:#161317;box-shadow:0 0 0 3px rgba(239,72,72,.50),0 0 0 7px rgba(239,72,72,.12),0 5px 13px rgba(30,24,30,.32)}
.radar-storm-cell.is-extreme .radar-storm-cell-icon svg{width:19px;height:19px;fill:#fff15b}
.radar-storm-cell.is-extreme .radar-storm-cell-pulse{width:50px;height:50px;background:radial-gradient(circle,rgba(244,63,70,.25) 0 31%,rgba(244,101,50,.18) 34% 54%,rgba(244,63,70,0) 74%)}
.radar-storm-cell small{position:absolute;top:33px;z-index:3;padding:3px 6px;border-radius:7px;background:rgba(255,255,255,.94);color:#463744;font-size:7px;font-weight:850;letter-spacing:.02em;line-height:1;white-space:nowrap;box-shadow:0 2px 8px rgba(34,44,54,.13)}
.radar-storm-cell small:empty{display:none}
@keyframes stormCorePulse{0%{transform:scale(.72);opacity:.95}72%,100%{transform:scale(1.25);opacity:0}}
@media(prefers-reduced-motion:reduce){.radar-storm-cell-pulse{animation:none;opacity:.45}}
@media(max-width:700px){.radar-storm-cell small{display:none}.radar-storm-cell-icon{width:25px;height:25px}.radar-storm-cell.is-extreme .radar-storm-cell-icon{width:28px;height:28px}.radar-storm-cell-pulse{width:38px;height:38px}}

/* v0.3.4.4 · SEAMLESS RADAR — compact meteo deck */
@media(min-width:1181px){
  .weather-view-nav.weather-layer-deck{
    width:min(1190px,calc(100vw - 150px));
    grid-template-columns:62px 88px 102px repeat(7,minmax(74px,1fr));
    gap:2px;padding:3px 4px;border-radius:14px;
    box-shadow:0 8px 22px rgba(33,61,70,.075)
  }
  .weather-layer-deck .weather-view-tab,.weather-layer-deck .weather-master-toggle,.weather-preset-tab{
    height:37px;padding:3px 6px;border-radius:10px;
    grid-template-columns:16px minmax(0,1fr);grid-template-rows:16px 11px;column-gap:4px
  }
  .weather-view-tab>span{font-size:13px}
  .weather-view-tab>b{font-size:9px}
  .weather-view-tab>small{font-size:6.2px}
}

/* v0.3.11 · COMPACT LOCAL PANEL + SITUATION ENGINE
   Default = answer what is happening here. Long forecast + technical values are one tap deeper. */
.place-expanded-details{display:none}
.place-card.is-expanded .place-expanded-details{display:block}
.smart-now-signals{display:none}
.place-card.is-explained .smart-now-signals{display:grid}

.smart-now-explain,
.place-forecast-toggle,
.mobile-forecast-toggle{
  appearance:none;border:0;font:inherit;cursor:pointer
}
.smart-now-explain{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  width:100%;margin:8px 0 -2px;padding:5px 0 0;
  background:transparent;color:#668087;font-size:8.3px;font-weight:760;text-align:left
}
.smart-now-explain span{font-size:10px;color:#789097}
.place-forecast-toggle{
  display:flex;align-items:center;justify-content:space-between;width:100%;
  margin-top:9px;padding:9px 11px;border-radius:11px;
  border:1px solid rgba(19,54,66,.075);background:rgba(248,251,251,.86);
  color:#31545e;font-size:9.5px;font-weight:790
}
.place-forecast-toggle:hover{background:#f3f8f8;border-color:rgba(11,167,142,.16)}
.place-forecast-toggle b{font-size:11px;color:#0c9f88}
.place-card.is-expanded .place-forecast-toggle{margin-bottom:9px}

@media(min-width:701px){
  .place-card{
    width:390px;max-height:min(590px,calc(100dvh - 175px));
    padding:14px 15px 13px;bottom:86px;overflow:auto
  }
  .place-card.is-expanded{width:448px;max-height:min(680px,calc(100dvh - 170px))}
  .place-card h2{margin:5px 0 8px;font-size:17.5px}
  .place-kicker{font-size:7px}
  .place-current{grid-template-columns:40px minmax(0,1fr);gap:9px;padding:8px 10px;border-radius:13px}
  .place-weather-icon{width:40px;height:40px;border-radius:12px}
  .place-current-copy strong{font-size:13.5px}
  .place-current-copy small{font-size:8.8px}

  .smart-now-card{margin-top:8px;padding:11px 12px 10px;border-radius:14px}
  .smart-now-card:before{top:12px;bottom:12px}
  .smart-now-head{margin-bottom:6px}
  .smart-now-head b{font-size:8px}.smart-now-head em{font-size:7.2px;padding:3px 7px}
  .smart-now-card>strong{font-size:14px;line-height:1.17}
  .smart-now-card>p{margin-top:5px;font-size:9.3px;line-height:1.38}
  .place-card.is-explained .smart-now-signals{margin-top:7px;gap:5px}
  .place-card.is-explained .smart-now-signals>span{padding:6px 7px}

  .place-hourly-preview{margin-top:8px}
  .place-hourly-preview .weather-section-head{margin-bottom:5px}
  .place-hourly-preview .weather-section-head strong{font-size:10.5px}
  .place-hourly-preview .weather-section-head small{font-size:7.5px}
  .place-hourly-preview .hourly-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;overflow:visible}
  .place-hourly-preview .hourly-item{min-width:0!important;flex-basis:auto!important;width:auto;padding:6px 4px;border-radius:10px}
  .place-hourly-preview .hourly-item:nth-child(n+5){display:none}
  .place-card.is-expanded .place-hourly-preview .hourly-strip{display:flex;overflow-x:auto}
  .place-card.is-expanded .place-hourly-preview .hourly-item{flex:0 0 54px!important;min-width:54px!important}
  .place-card.is-expanded .place-hourly-preview .hourly-item:nth-child(n+5){display:grid}

  .place-expanded-details{padding-top:1px}
  .place-expanded-details .weather-metrics{margin-top:0}
  .place-expanded-details .meteo-detail-line{margin-top:6px}
  .place-expanded-details .weather-forecast-section{margin-top:9px}
  .place-expanded-details .place-source-line,.place-expanded-details .place-coords{font-size:7.5px}
}

/* Selected point becomes a tiny answer on the map, not another permanent panel. */
.place-marker{position:relative}
.place-marker-label{
  position:absolute;left:27px;top:50%;transform:translateY(-50%);z-index:2;
  display:block;max-width:210px;padding:5px 8px;border-radius:9px;
  background:rgba(255,255,255,.94);border:1px solid rgba(22,60,70,.08);
  box-shadow:0 5px 16px rgba(31,58,69,.13);backdrop-filter:blur(8px);
  color:#35535c;font-size:8.5px;font-weight:800;line-height:1.1;white-space:nowrap
}
.place-marker-label[hidden]{display:none!important}
.place-marker[data-situation="storm"] .place-marker-label{color:#8a4522;border-color:rgba(220,112,47,.18)}
.place-marker[data-situation="approaching"] .place-marker-label,
.place-marker[data-situation="rain"] .place-marker-label{color:#266980;border-color:rgba(40,145,176,.16)}
.place-marker[data-situation="warning"] .place-marker-label{color:#7c5a16;border-color:rgba(218,166,40,.18)}
.place-marker[data-situation="calm"] .place-marker-label{color:#217868;border-color:rgba(11,167,142,.14)}

/* Mobile: compact bottom-sheet is the local answer. Forecast appears only after opening it. */
.mobile-situation{display:none}
@media(max-width:700px){
  .place-marker-label{display:none!important}
  .mobile-sheet.has-place{
    max-height:238px;padding:20px 11px 10px;border-radius:20px
  }
  .mobile-sheet.has-place.is-expanded{
    max-height:calc(76dvh - env(safe-area-inset-top));padding-bottom:14px
  }
  .mobile-sheet.has-place:not(.is-expanded) .mobile-weather-body{display:none!important}
  .mobile-sheet.has-place:not(.is-expanded) .mobile-weather-credit{display:none!important}
  .mobile-situation{
    display:block;position:relative;margin-top:8px;padding:9px 10px 8px;
    border-radius:13px;border:1px solid rgba(22,87,86,.10);
    background:linear-gradient(145deg,rgba(240,251,249,.98),rgba(248,252,253,.98))
  }
  .mobile-situation:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 5px 5px 0;background:#17aa92}
  .mobile-situation-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;padding-left:2px}
  .mobile-situation-head span{font-size:6.8px;font-weight:850;letter-spacing:.07em;color:#4d6b72}
  .mobile-situation-head em{font-style:normal;font-size:6.5px;font-weight:800;color:#167967;background:rgba(11,167,142,.08);padding:3px 6px;border-radius:999px;white-space:nowrap}
  .mobile-situation>strong{display:block;font-size:11.5px;line-height:1.18;color:#183a42}
  .mobile-situation>p{margin:4px 0 0;font-size:8.3px;line-height:1.35;color:#617a82;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .mobile-situation.is-storm{background:#fff7ef;border-color:rgba(220,112,47,.16)}.mobile-situation.is-storm:before{background:#e56c2e}
  .mobile-situation.is-rain,.mobile-situation.is-approaching{background:#f1f9fd;border-color:rgba(40,145,176,.14)}.mobile-situation.is-rain:before,.mobile-situation.is-approaching:before{background:#3195b4}
  .mobile-situation.is-uncertain,.mobile-situation.is-warning{background:#fffaf0;border-color:rgba(205,157,56,.16)}.mobile-situation.is-uncertain:before,.mobile-situation.is-warning:before{background:#d39b2f}
  .mobile-forecast-toggle{
    display:flex;align-items:center;justify-content:space-between;width:100%;
    margin-top:6px;padding:6px 0 0;background:transparent;color:#287065;font-size:8px;font-weight:820
  }
  .mobile-sheet.is-expanded .mobile-situation>p{-webkit-line-clamp:3}
  .mobile-sheet.is-expanded .mobile-weather-body{margin-top:8px}
  .app-shell.has-place .map-actions{bottom:262px}
}
@media(max-width:430px){
  .mobile-sheet.has-place{max-height:230px}
  .app-shell.has-place .map-actions{bottom:252px}
}
@media(max-width:700px){
  .mobile-situation-head em[data-level="medium"]{background:rgba(224,165,44,.13);color:#946615}
  .mobile-situation-head em[data-level="low"]{background:rgba(193,96,62,.12);color:#9a5035}
}

/* v0.3.12 · ŽIVĚ / SITUATION FEED
   Desktop = small map navigator. Mobile = one compact row in the bottom sheet.
   Feed only surfaces meaningful radar / ČHMÚ-warning changes, never generic filler. */
.live-feed,.live-feed-chip,.mobile-live-trigger,.mobile-live-panel{display:none}
.live-feed[hidden],.live-feed-chip[hidden],.mobile-live-panel[hidden]{display:none!important}
.live-feed-pulse{width:8px;height:8px;border-radius:50%;background:#10b89d;box-shadow:0 0 0 4px rgba(16,184,157,.11);flex:0 0 auto;animation:liveSituationPulse 2.2s ease-out infinite}
@keyframes liveSituationPulse{0%,45%{box-shadow:0 0 0 3px rgba(16,184,157,.14)}100%{box-shadow:0 0 0 10px rgba(16,184,157,0)}}
@media(prefers-reduced-motion:reduce){.live-feed-pulse{animation:none}}

@media(min-width:1101px){
  .app-shell[data-mode="weather"] .live-feed{
    display:block;position:absolute;z-index:12;right:78px;top:132px;width:292px;
    max-height:min(430px,calc(100dvh - 245px));overflow:hidden;
    padding:11px;border:1px solid rgba(20,60,70,.09);border-radius:17px;
    background:rgba(255,255,255,.94);backdrop-filter:blur(20px) saturate(145%);
    box-shadow:0 16px 44px rgba(31,56,66,.14)
  }
  .app-shell[data-mode="weather"] .live-feed[hidden]{display:none!important}
  .live-feed-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:1px 1px 8px}
  .live-feed-head>div{display:grid;grid-template-columns:9px auto;grid-template-rows:auto auto;align-items:center;column-gap:7px;min-width:0}
  .live-feed-head .live-feed-pulse{grid-row:1/3;align-self:center}
  .live-feed-head strong{font-size:12px;line-height:1;color:#193b44;letter-spacing:-.01em}
  .live-feed-head small{margin-top:3px;font-size:7.4px;color:#7f9399;white-space:nowrap}
  .live-feed-head button{appearance:none;border:0;background:transparent;color:#87999e;font-size:20px;line-height:18px;padding:0 2px;cursor:pointer}
  .live-feed-head button:hover{color:#315761}
  .live-feed-list{display:grid;gap:5px;max-height:326px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
  .live-feed-item{appearance:none;display:grid;grid-template-columns:38px 1fr 14px;gap:7px;align-items:start;width:100%;padding:8px 7px;border:1px solid rgba(17,56,67,.07);border-radius:11px;background:rgba(252,254,254,.94);text-align:left;cursor:pointer}
  .live-feed-item:hover{background:#f5faf9;border-color:rgba(11,167,142,.14)}
  .live-feed-time{padding-top:1px;color:#8a9a9f;font-size:7.4px;font-weight:760;font-variant-numeric:tabular-nums}
  .live-feed-copy{min-width:0;display:grid;gap:2px}
  .live-feed-copy strong{font-size:9.4px;line-height:1.16;color:#294851;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .live-feed-copy span{font-size:8.3px;line-height:1.25;color:#617a82;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .live-feed-arrow{padding-top:5px;color:#9badb2;font-size:16px;line-height:1}
  .live-feed-item[data-kind="storm"]{background:#fff8f0;border-color:rgba(226,112,43,.12)}
  .live-feed-item[data-kind="storm"] .live-feed-copy strong{color:#8b4b24}
  .live-feed-item[data-kind="rain"],.live-feed-item[data-kind="approaching"],.live-feed-item[data-kind="ending"],.live-feed-item[data-kind="rain_area"],.live-feed-item[data-kind="rain_band"],.live-feed-item[data-kind="heavy_rain"]{background:#f5fafc}
  .live-feed-item[data-kind="warning"]{background:#fffaf0;border-color:rgba(210,159,45,.13)}
  .live-feed-item[data-kind="warning"] .live-feed-copy strong{color:#80601d}
  .live-feed-empty,.live-feed-loading{padding:14px 10px;border-radius:11px;background:#f8fbfb;color:#72878e;font-size:8.7px;line-height:1.4;text-align:center}
  .live-feed-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;padding:7px 2px 0;border-top:1px solid rgba(17,55,66,.07);color:#8a9ba0;font-size:7px}
  .live-feed-foot button{appearance:none;border:0;background:transparent;color:#278270;font-size:7.4px;font-weight:790;cursor:pointer;padding:0}
  .live-feed-chip{position:absolute;z-index:12;right:78px;top:132px;align-items:center;gap:7px;height:34px;padding:0 11px;border:1px solid rgba(20,60,70,.09);border-radius:12px;background:rgba(255,255,255,.94);box-shadow:0 10px 28px rgba(31,56,66,.12);backdrop-filter:blur(16px);color:#284b54;cursor:pointer}
  .app-shell[data-mode="weather"] .live-feed-chip:not([hidden]){display:flex}
  .live-feed-chip b{font-size:9px}.live-feed-chip em{font-style:normal;display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e9f8f5;color:#147864;font-size:7px;font-weight:850}
}

@media(max-width:1100px) and (min-width:701px){.live-feed,.live-feed-chip{display:none!important}}

@media(max-width:700px){
  .mobile-sheet:not(.has-place) .mobile-situation{display:none}
  .mobile-live-trigger{
    appearance:none;display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;
    margin-top:7px;padding:8px 9px;border:1px solid rgba(18,71,75,.08);border-radius:12px;
    background:rgba(248,252,251,.96);color:#31545d;text-align:left;cursor:pointer
  }
  .mobile-live-trigger>span{display:grid;grid-template-columns:9px auto 1fr;align-items:center;gap:6px;min-width:0;width:100%}
  .mobile-live-trigger .live-feed-pulse{width:7px;height:7px}
  .mobile-live-trigger b{font-size:8.8px;color:#1f5e55}.mobile-live-trigger small{font-size:7.5px;color:#7c9096;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-live-trigger>em{font-style:normal;font-size:17px;color:#8ea1a6;line-height:1}
  .mobile-sheet.is-live-open{max-height:min(58dvh,510px)!important;overflow:auto;padding-bottom:13px}
  .mobile-sheet.is-live-open .mobile-situation,.mobile-sheet.is-live-open .mobile-weather-body,.mobile-sheet.is-live-open .mobile-weather-credit,.mobile-sheet.is-live-open .mobile-live-trigger{display:none!important}
  .mobile-live-panel{padding-top:7px}
  .mobile-live-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px;padding:0 1px}
  .mobile-live-head strong{font-size:10px;color:#294952}.mobile-live-head button{appearance:none;border:0;background:transparent;color:#8b9ca1;font-size:20px;line-height:1;padding:0 2px;cursor:pointer}
  .mobile-live-list{display:grid;gap:5px}
  .mobile-live-item{appearance:none;display:grid;grid-template-columns:32px 1fr 12px;gap:7px;align-items:start;width:100%;padding:8px;border:1px solid rgba(18,60,70,.07);border-radius:11px;background:#fbfdfd;text-align:left;cursor:pointer}
  .mobile-live-item[data-kind="storm"]{background:#fff8f1;border-color:rgba(226,112,43,.13)}
  .mobile-live-item[data-kind="heavy_rain"]{background:#f3f9fc;border-color:rgba(40,112,150,.12)}
  .mobile-live-item[data-kind="warning"]{background:#fffaf1;border-color:rgba(210,159,45,.13)}
  .mobile-live-item-time{font-size:6.8px;color:#8c9ba0;font-weight:760;font-variant-numeric:tabular-nums;padding-top:1px}
  .mobile-live-item-copy{display:grid;gap:2px;min-width:0}.mobile-live-item-copy strong{font-size:8.8px;color:#294952;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-live-item-copy span{font-size:7.5px;line-height:1.25;color:#667e85;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .mobile-live-item>em{font-style:normal;color:#9aabb0;font-size:15px;line-height:1;padding-top:4px}
  .mobile-live-updated{display:block;margin-top:7px;padding-top:6px;border-top:1px solid rgba(18,55,65,.06);color:#91a0a4;font-size:6.6px;text-align:center}
  .mobile-live-empty{padding:14px 8px;border-radius:11px;background:#f7fbfa;color:#6f858b;font-size:8px;line-height:1.35;text-align:center}
  .app-shell.is-mobile-live-open .map-actions{display:none}
}

@media(max-width:700px){
  /* Without a selected place keep only a small Živě sheet-chip; the old
     duplicate "radar now" mobile card stays hidden. */
  .mobile-sheet:not(.has-place){
    display:block!important;left:8px;right:auto;width:min(214px,calc(100vw - 78px));
    bottom:calc(145px + env(safe-area-inset-bottom));min-height:0;max-height:none;
    padding:6px;border-radius:14px;background:rgba(255,255,255,.94);z-index:14
  }
  .mobile-sheet:not(.has-place) .sheet-handle-btn,
  .mobile-sheet:not(.has-place) .mobile-sheet-close,
  .mobile-sheet:not(.has-place) .mobile-weather-head,
  .mobile-sheet:not(.has-place) .mobile-situation,
  .mobile-sheet:not(.has-place) .mobile-weather-body,
  .mobile-sheet:not(.has-place) .mobile-weather-credit{display:none!important}
  .mobile-sheet:not(.has-place) .mobile-live-trigger{margin:0;padding:7px 8px}
  .mobile-sheet:not(.has-place).is-live-open{
    left:8px;right:8px;width:auto;bottom:calc(74px + env(safe-area-inset-bottom));
    max-height:min(58dvh,510px)!important;padding:12px 10px 11px;border-radius:20px;
    overflow-y:auto;background:rgba(255,255,255,.98)
  }
  .mobile-live-panel:not([hidden]){display:block}
}

/* v0.3.14 · nationwide radar objects + persistent live stream */
@media(min-width:1101px){
  .weather-view-nav.weather-layer-deck{
    max-width:min(1160px,calc(100vw - 390px));
    gap:3px;
    padding:3px;
  }
  .weather-layer-deck .weather-view-tab{
    min-width:76px;
    height:32px;
    padding:0 7px;
    grid-template-columns:16px 1fr;
    column-gap:3px;
  }
  .weather-layer-deck .weather-master-toggle{min-width:66px}
  .weather-layer-deck .weather-view-tab>span{font-size:13px}
  .weather-layer-deck .weather-view-tab>b{font-size:9px}
  .weather-layer-deck .weather-view-tab>small{font-size:6.6px;max-width:96px;overflow:hidden;text-overflow:ellipsis}

  .app-shell[data-mode="weather"] .live-feed{
    top:154px;
    right:70px;
    width:260px;
    max-height:min(404px,calc(100dvh - 265px));
    padding:10px;
  }
  .live-feed-list{max-height:301px;gap:4px}
  .live-feed-item{grid-template-columns:34px 1fr 12px;gap:6px;padding:7px 6px;border-radius:10px}
  .live-feed-copy strong{font-size:8.9px}
  .live-feed-copy span{font-size:7.9px}
  .live-feed-time{font-size:7px}
  .live-feed-chip{top:154px;right:70px}
  .live-feed-foot a{color:#278270;text-decoration:none;font-size:7.4px;font-weight:790}
  .live-feed-foot a:hover{text-decoration:underline}
}

.live-feed-item.is-new,.mobile-live-item.is-new{animation:liveFeedArrive 1.25s cubic-bezier(.2,.75,.25,1)}
.live-feed-item.is-updated,.mobile-live-item.is-updated{animation:liveFeedUpdate 1.45s cubic-bezier(.2,.75,.25,1)}
@keyframes liveFeedArrive{
  0%{opacity:.2;transform:translateY(-6px);box-shadow:0 0 0 2px rgba(16,184,157,.18)}
  45%{opacity:1;transform:translateY(0);box-shadow:0 0 0 4px rgba(16,184,157,.08)}
  100%{box-shadow:none}
}
@keyframes liveFeedUpdate{
  0%{box-shadow:0 0 0 0 rgba(45,126,171,.00)}
  35%{box-shadow:0 0 0 4px rgba(45,126,171,.10)}
  100%{box-shadow:none}
}
.live-feed-new-badge,.live-feed-update-badge{display:inline-flex;margin-left:5px;vertical-align:1px;padding:2px 4px;border-radius:999px;font-size:5.7px;font-style:normal;font-weight:900;letter-spacing:.04em}
.live-feed-new-badge{background:#dff7f1;color:#0b806b}
.live-feed-update-badge{background:#e5f0f7;color:#326f91}
@media(prefers-reduced-motion:reduce){.live-feed-item.is-new,.mobile-live-item.is-new,.live-feed-item.is-updated,.mobile-live-item.is-updated{animation:none}}
.live-feed-item[data-kind="heavy_rain"] .live-feed-copy strong{color:#285f79}
.live-feed-item[data-kind="storm_approaching"]{background:#fff8f0;border-color:rgba(226,112,43,.12)}
.live-feed-item[data-kind="storm_approaching"] .live-feed-copy strong{color:#8b4b24}
.mobile-live-item[data-kind="storm_approaching"]{background:#fff8f1;border-color:rgba(226,112,43,.13)}
/* v0.3.16 · clearer deep-link focus from /zive */
.live-focus-map-popup .maplibregl-popup-content{padding:0;border-radius:14px;box-shadow:0 18px 48px rgba(17,48,55,.2);overflow:hidden}
.live-focus-map-popup .maplibregl-popup-tip{border-top-color:#fff!important}
.live-focus-popup{display:grid;gap:3px;min-width:210px;max-width:290px;padding:11px 13px;background:rgba(255,255,255,.97);color:#173d44}
.live-focus-popup small{font-size:9px;font-weight:900;letter-spacing:.07em;color:#158874}
.live-focus-popup strong{font-size:12px;line-height:1.3}
.live-focus-popup span{font-size:10px;color:#698188}
.live-feed-actions{display:flex;flex-direction:column;align-items:center;gap:2px;padding-top:2px;color:#9badb2;font-style:normal;line-height:1}
.live-feed-share{position:relative;z-index:3;display:grid;place-items:center;width:18px;height:18px;border-radius:6px;color:#4b8177;font-size:11px;font-weight:800}
.live-feed-share:hover{background:#e7f5f1;color:#117561}
.mobile-live-item .live-feed-actions{flex-direction:row;gap:5px}


/* v0.3.16.1 · Live feed layout polish */
@media(min-width:1101px){
  .app-shell[data-mode="weather"] .live-feed{
    top:174px;
    right:70px;
    width:286px;
    max-height:min(492px,calc(100dvh - 270px));
    padding:11px;
  }
  .app-shell[data-mode="weather"] .place-card{
    top:174px!important;
    bottom:auto!important;
    max-height:min(610px,calc(100dvh - 194px))!important;
  }
  .live-feed-list{max-height:372px;gap:5px}
  .live-feed-item{grid-template-columns:36px minmax(0,1fr) 22px;gap:7px;padding:8px 7px}
  .live-feed-copy strong{font-size:9.2px}
  .live-feed-copy span{font-size:8px;line-height:1.28}
  .live-feed-chip{top:174px;right:70px}
}
.live-feed-share{
  width:20px;height:20px;border-radius:7px;color:#3f7f73;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.live-feed-share svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.live-feed-share:hover{background:#e2f4ef;color:#08745f;transform:translateY(-1px)}
@media(max-width:700px){
  .mobile-live-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px;padding-top:7px;border-top:1px solid rgba(18,55,65,.07)}
  .mobile-live-updated{display:block;margin:0;padding:0;border:0;text-align:left;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-live-foot a{flex:0 0 auto;color:#0c7f69;text-decoration:none;font-size:8px;font-weight:850;padding:5px 7px;border-radius:8px;background:rgba(11,191,156,.08)}
  .mobile-live-foot a:active{transform:scale(.97)}
  .mobile-live-item{grid-template-columns:32px minmax(0,1fr) 20px}
  .mobile-live-item .live-feed-share{width:20px;height:20px}
}

/* v0.3.17 · Weather Signals inside Živě */
.live-feed-item[data-kind="temp_contrast"],
.live-feed-item[data-kind="temp_drop"],
.live-feed-item[data-kind="temp_rise"],
.mobile-live-item[data-kind="temp_contrast"],
.mobile-live-item[data-kind="temp_drop"],
.mobile-live-item[data-kind="temp_rise"]{background:#fffaf0;border-color:rgba(214,156,40,.16)}
.live-feed-item[data-kind="temp_contrast"] .live-feed-copy strong,
.live-feed-item[data-kind="temp_drop"] .live-feed-copy strong,
.live-feed-item[data-kind="temp_rise"] .live-feed-copy strong{color:#8a6518}
.live-feed-item[data-kind="wind_strong"],
.live-feed-item[data-kind="wind_increase"],
.mobile-live-item[data-kind="wind_strong"],
.mobile-live-item[data-kind="wind_increase"]{background:#f3f9fc;border-color:rgba(61,130,168,.14)}
.live-feed-item[data-kind="wind_strong"] .live-feed-copy strong,
.live-feed-item[data-kind="wind_increase"] .live-feed-copy strong{color:#376f8d}
.live-feed-item[data-kind="cloud_break"],
.live-feed-item[data-kind="cloud_increase"],
.mobile-live-item[data-kind="cloud_break"],
.mobile-live-item[data-kind="cloud_increase"]{background:#f7f9fa;border-color:rgba(104,132,143,.13)}
.live-feed-item[data-kind="cloud_break"] .live-feed-copy strong,
.live-feed-item[data-kind="cloud_increase"] .live-feed-copy strong{color:#566f79}

/* v0.3.18 · Weather Signals Intelligence */
.live-feed-item[data-kind="front_change"],
.mobile-live-item[data-kind="front_change"]{background:#f8f6ff;border-color:rgba(112,91,167,.16)}
.live-feed-item[data-kind="front_change"] .live-feed-copy strong{color:#66539a}
.live-feed-item[data-kind="temp_regions"],
.mobile-live-item[data-kind="temp_regions"]{background:#fffaf0;border-color:rgba(214,156,40,.16)}
.live-feed-item[data-kind="temp_regions"] .live-feed-copy strong{color:#8a6518}

/* v0.3.18.2 · compact desktop meteo deck before feature freeze */
@media(min-width:1360px){
  .weather-view-nav.weather-layer-deck{
    width:min(1060px,calc(100vw - 360px));
    max-width:none;
    grid-template-columns:58px 80px 92px repeat(7,minmax(66px,1fr));
    gap:2px;
    padding:3px;
  }
  .weather-layer-deck .weather-view-tab,
  .weather-layer-deck .weather-master-toggle,
  .weather-preset-tab{
    height:34px;
    padding:2px 5px;
    grid-template-columns:15px minmax(0,1fr);
    grid-template-rows:15px 10px;
    column-gap:3px;
  }
  .weather-layer-deck .weather-view-tab>span{font-size:12px}
  .weather-layer-deck .weather-view-tab>b{font-size:8.6px}
  .weather-layer-deck .weather-view-tab>small{font-size:5.9px;max-width:82px}
}

/* v0.4.2.5 · professional weather detail: adaptive metrics + discreet source info */
.place-current-copy small.is-stale{
  color:#a36425;
  font-weight:760;
}
.weather-metrics[hidden],
.meteo-detail-line[hidden],
.mobile-meteo-detail[hidden]{display:none!important}
.weather-metrics{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))}
.meteo-detail-line{grid-template-columns:repeat(auto-fit,minmax(84px,1fr))}
.place-data-sources{
  margin-top:7px;
  padding-top:6px;
  border-top:1px solid rgba(19,54,66,.055);
  color:#71868e;
}
.place-data-sources summary,
.model-point-data-sources summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:5px;
  cursor:pointer;
  user-select:none;
  color:#71868e;
  font-size:8px;
  font-weight:760;
  letter-spacing:.01em;
}
.place-data-sources summary::-webkit-details-marker,
.model-point-data-sources summary::-webkit-details-marker{display:none}
.place-data-sources summary:hover,
.model-point-data-sources summary:hover{color:#42646f}
.place-data-sources-body{
  display:grid;
  gap:4px;
  margin-top:7px;
  padding:8px 9px;
  border-radius:10px;
  background:rgba(19,54,66,.025);
  border:1px solid rgba(19,54,66,.055);
}
.place-data-sources-body p{
  margin:0;
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
  font-size:8px;
}
.place-data-sources-body p span{color:#8a9ba1}
.place-data-sources-body p strong{
  min-width:0;
  color:#45616b;
  font-size:8px;
  font-weight:780;
  text-align:right;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.place-data-sources-body>small{font-size:7.5px;line-height:1.35;color:#8a9ba1}
.place-data-sources-body nav{display:flex;gap:8px;flex-wrap:wrap}
.place-data-sources-body nav a{
  color:#5d7b85;
  font-size:7.5px;
  text-decoration:underline;
  text-underline-offset:2px;
}
.model-point-data-sources{
  margin-top:7px;
  padding-top:6px;
  border-top:1px solid rgba(19,54,66,.055);
}
.model-point-data-sources>div{
  margin-top:5px;
  color:#72878e;
  font-size:7.7px;
  line-height:1.35;
}
.mobile-data-sources{display:none}
@media(max-width:700px){
  .mobile-sheet.has-place.is-expanded .mobile-meteo-detail{
    grid-template-columns:repeat(auto-fit,minmax(62px,1fr));
  }
  .mobile-sheet.has-place.is-expanded .mobile-data-sources{
    display:block;
    margin-top:6px;
    padding-top:6px;
    border-top:1px solid rgba(19,54,66,.055);
  }
  .mobile-data-sources summary{
    list-style:none;
    cursor:pointer;
    color:#789097;
    font-size:7.3px;
    font-weight:760;
  }
  .mobile-data-sources summary::-webkit-details-marker{display:none}
  .mobile-data-sources>div{
    display:grid;
    gap:3px;
    margin-top:5px;
    padding:7px 8px;
    border-radius:9px;
    background:rgba(19,54,66,.025);
  }
  .mobile-data-sources p{
    margin:0;
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:8px;
  }
  .mobile-data-sources p span{font-size:6.8px;color:#8a9ba1}
  .mobile-data-sources p strong{
    min-width:0;
    font-size:7.3px;
    color:#45616b;
    text-align:right;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .mobile-data-sources small{font-size:6.8px;color:#8a9ba1;line-height:1.3}
}
.model-point-card[data-layer="storms"] .model-trend-item strong{
  font-size:7.4px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* v0.4.3.0 · product polish: city weather detail + real hamburger menu */
.main-menu-backdrop{
  position:absolute;z-index:155;inset:0;
  background:rgba(20,42,50,.12);backdrop-filter:blur(2px);
}
.main-menu-backdrop[hidden],.main-menu[hidden]{display:none!important}
.main-menu{
  position:absolute;z-index:170;top:72px;right:20px;width:352px;
  padding:14px;border:1px solid rgba(30,65,76,.10);border-radius:22px;
  background:rgba(255,255,255,.975);backdrop-filter:blur(28px) saturate(150%);
  box-shadow:0 26px 78px rgba(24,52,61,.23),0 3px 12px rgba(24,52,61,.06);
}
.main-menu-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:3px 3px 11px}
.main-menu-head>div{display:grid;gap:3px}.main-menu-head span{font-size:7.5px;font-weight:900;letter-spacing:.11em;color:#7c9198}.main-menu-head strong{font-size:15px;letter-spacing:-.02em;color:#173640}
.main-menu-head button{appearance:none;border:0;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f0f5f6;color:#6a8088;font-size:20px;line-height:1;cursor:pointer}
.main-menu-nav{display:grid;gap:5px}
.main-menu-nav button,.main-menu-nav a{
  appearance:none;border:1px solid rgba(25,61,72,.06);text-decoration:none;cursor:pointer;
  width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) 14px;align-items:center;gap:9px;
  padding:9px 10px;border-radius:13px;background:rgba(245,249,250,.76);color:#294751;text-align:left;
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.main-menu-nav button:hover,.main-menu-nav a:hover{background:#f0f8f6;border-color:rgba(11,167,142,.13);transform:translateY(-1px)}
.main-menu-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#fff;color:#0a927b;font-size:14px;box-shadow:0 3px 11px rgba(33,67,76,.07)}
.main-menu-nav button>span:nth-child(2),.main-menu-nav a>span:nth-child(2){display:grid;gap:2px;min-width:0}.main-menu-nav strong{font-size:10.5px;color:#25434d}.main-menu-nav small{font-size:8.2px;color:#81949b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.main-menu-nav em{font-style:normal;color:#9aa9ae;font-size:16px}
.app-shell[data-mode="weather"] .main-menu-nav [data-menu-mode="weather"],
.app-shell[data-mode="traffic"] .main-menu-nav [data-menu-mode="traffic"],
.app-shell[data-mode="trains"] .main-menu-nav [data-menu-mode="trains"]{background:#eaf8f4;border-color:rgba(11,167,142,.14)}
.my-radar-preview{margin-top:9px;padding:12px 12px 11px;border-radius:15px;border:1px solid rgba(73,105,156,.10);background:linear-gradient(145deg,#f5f8ff,#f8fbfb)}
.my-radar-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.my-radar-preview-head span{font-size:7px;letter-spacing:.08em;font-weight:900;color:#556f9b}.my-radar-preview-head em{font-style:normal;font-size:6.8px;font-weight:820;color:#71849d;background:rgba(83,111,158,.08);padding:3px 6px;border-radius:999px}
.my-radar-preview>strong{display:block;font-size:11.4px;letter-spacing:-.015em;color:#2d465f}.my-radar-preview>p{margin:4px 0 0;font-size:8.5px;line-height:1.42;color:#71838c}
.main-menu-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;padding:8px 3px 1px;border-top:1px solid rgba(25,61,72,.065)}.main-menu-foot span{font-size:8px;font-weight:820;color:#557079}.main-menu-foot small{font-size:7.3px;color:#9aa8ad}

@media(min-width:701px){
  .place-card{
    width:430px!important;padding:19px 19px 16px!important;border-radius:24px!important;
    border-color:rgba(28,65,76,.10)!important;background:rgba(255,255,255,.975)!important;
    scrollbar-gutter:auto!important;
  }
  .place-card.is-expanded{width:458px!important}
  .place-card .card-close{width:31px;height:31px;font-size:19px;margin:-3px -3px -28px 10px!important;background:rgba(246,249,250,.98)!important}
  .place-kicker{font-size:7.4px!important;letter-spacing:.105em!important;color:#70878f!important}
  .place-dot{width:7px;height:7px;box-shadow:0 0 0 4px rgba(11,191,156,.09)}
  .place-card h2{margin:7px 40px 1px 0!important;font-size:22px!important;line-height:1.08;letter-spacing:-.035em!important;color:#102f39!important}
  .place-subtitle{min-height:14px;margin-top:3px;color:#82949a;font-size:9px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .place-current{
    grid-template-columns:58px minmax(0,1fr) max-content!important;gap:12px!important;align-items:center;
    margin-top:11px;padding:13px 13px!important;border-radius:18px!important;
    border:1px solid rgba(43,118,151,.09)!important;background:linear-gradient(140deg,rgba(239,249,255,.96),rgba(241,252,248,.96))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.84)
  }
  .place-weather-icon{width:58px!important;height:58px!important;border-radius:17px!important;background:rgba(255,255,255,.86)!important;box-shadow:0 7px 20px rgba(31,72,86,.08)!important}
  .place-weather-icon svg{width:36px!important;height:36px!important}
  .place-current-copy{gap:1px!important}
  .place-current-temp{display:block;font-size:27px!important;line-height:1;font-weight:780;letter-spacing:-.045em;color:#153b46}
  .place-current-condition{display:block;margin-top:3px;font-size:10.5px;font-weight:770;color:#385963;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .place-current-copy small{margin-top:3px;font-size:8.4px!important;color:#7c9198!important}
  .place-today-range{display:grid;grid-template-columns:auto auto;align-items:baseline;justify-items:end;column-gap:5px;row-gap:1px;padding-left:9px;border-left:1px solid rgba(33,74,86,.08)}
  .place-today-range[hidden]{display:none!important}.place-today-range>span{grid-column:1/-1;font-size:6.8px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#91a1a6}.place-today-range strong{font-size:13px;color:#264751}.place-today-range small{font-size:10px;color:#8a9ba1}.place-today-range strong:before{content:'↑ ';font-size:8px;color:#8aa096}.place-today-range small:before{content:'↓ ';font-size:8px;color:#9aa8ad}
  .smart-now-card{margin-top:10px!important;padding:13px 14px 12px!important;border-radius:16px!important;box-shadow:none!important}.smart-now-card:before{top:13px!important;bottom:13px!important}.smart-now-card>strong{font-size:14px!important}.smart-now-card>p{font-size:9.7px!important;line-height:1.44!important}.smart-now-head b{font-size:8px!important}.smart-now-head em{font-size:7.2px!important}
  .place-hourly-preview{margin-top:10px!important;padding:10px 10px 9px;border-radius:15px;border:1px solid rgba(26,64,75,.065);background:rgba(248,251,252,.78)}
  .weather-section-head{margin-bottom:8px!important}.weather-section-head strong{font-size:10.8px!important}.weather-section-head small{font-size:8px!important}
  .hourly-strip{gap:5px!important}.hourly-item{flex-basis:60px!important;min-width:60px!important;padding:8px 5px 7px!important;border-radius:11px!important;background:#fff!important;border-color:rgba(26,64,75,.065)!important}.hourly-item:first-child{background:#edf9f6!important;border-color:rgba(11,167,142,.13)!important}.hourly-item>span{font-size:8px!important}.hourly-item strong{font-size:11px!important}.hourly-item small{font-size:7px!important;color:#678694!important}
  .place-forecast-toggle{height:36px;margin-top:8px!important;padding:0 11px!important;border-radius:12px!important;background:#f5f9f9!important;color:#2d535d!important;font-size:9.2px!important}.place-forecast-toggle:hover{background:#edf7f4!important}
  .place-card.is-expanded .place-forecast-toggle{margin-bottom:0!important}
  .place-expanded-details{padding-top:11px}
  .place-detail-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 1px 7px}.place-detail-section-head strong{font-size:10.5px;color:#23434d}.place-detail-section-head small{font-size:7.8px;color:#93a1a6}
  .weather-metrics{gap:5px!important;margin-top:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.weather-metrics div{padding:8px 9px!important;border-radius:11px!important;background:#f8fafb!important}.weather-metrics span{font-size:7.3px!important}.weather-metrics strong{font-size:10px!important}
  .meteo-detail-line{margin-top:6px!important;gap:5px!important}.meteo-detail-line>span{padding:7px 8px!important;border-radius:10px!important;background:rgba(248,250,251,.72)!important}
  .sun-summary{margin-top:7px!important;padding:8px 9px!important;border-radius:11px!important}.sun-summary-icon{width:27px!important;height:27px!important;font-size:15px!important}
  .place-expanded-details>.weather-forecast-section{margin-top:11px!important;padding-top:10px;border-top:1px solid rgba(24,61,72,.065)}
  .daily-forecast-list{gap:4px!important}.daily-item{grid-template-columns:58px 27px minmax(72px,1fr) 72px!important;padding:7px 9px!important;border-radius:10px!important;background:#f8fafb!important}.daily-item[data-day-index="0"]{background:#edf9f6!important;border-color:rgba(11,167,142,.11)!important}.daily-item>span{font-size:9px!important}.daily-item strong{font-size:10px!important}.daily-item small{font-size:7.7px!important}
  .radar-place-head{margin-top:11px!important;padding-top:11px!important}.radar-place-head strong{font-size:10.8px!important}.radar-place-head small{font-size:8.2px!important}.radar-place-head b{font-size:7.4px!important;padding:4px 6px!important}
  .place-forecast-grid{gap:5px!important}.place-forecast-grid div{padding:8px!important;border-radius:10px!important;background:#f8fafb!important}.place-forecast-grid span{font-size:7.6px!important}.place-forecast-grid strong{font-size:9.4px!important}
  .place-insight{padding:9px 10px!important;border-radius:11px!important;font-size:9.3px!important;line-height:1.42!important}
}

@media(max-width:700px){
  .main-menu-backdrop{z-index:155;background:rgba(19,40,48,.16);backdrop-filter:blur(3px)}
  .main-menu{top:62px;left:8px;right:8px;width:auto;padding:12px;border-radius:21px;box-shadow:0 24px 70px rgba(22,48,58,.26)}
  .main-menu-head{padding:2px 2px 9px}.main-menu-head strong{font-size:14px}.main-menu-nav{gap:4px}.main-menu-nav button,.main-menu-nav a{grid-template-columns:32px minmax(0,1fr) 13px;padding:8px 9px;border-radius:12px}.main-menu-icon{width:32px;height:32px;border-radius:10px}.main-menu-nav strong{font-size:10px}.main-menu-nav small{font-size:7.7px}.my-radar-preview{padding:10px 11px}.my-radar-preview>strong{font-size:10.7px}.my-radar-preview>p{font-size:8px}.main-menu-foot{display:none}

  .mobile-sheet.has-place{max-height:248px!important;padding:20px 12px 10px!important;border-radius:21px!important;background:rgba(255,255,255,.985)!important;box-shadow:0 -4px 24px rgba(31,61,71,.10),0 16px 46px rgba(31,61,71,.18)!important}
  .mobile-sheet.has-place.is-expanded{max-height:calc(76dvh - env(safe-area-inset-top))!important;padding-bottom:14px!important}
  .mobile-weather-head{grid-template-columns:47px minmax(0,1fr) max-content!important;gap:9px!important;padding-right:29px!important}
  .mobile-status-icon{width:47px!important;height:47px!important;border-radius:15px!important;background:linear-gradient(145deg,#f0f9ff,#f1fbf8)!important}
  .mobile-status-icon svg{width:30px!important;height:30px!important}.mobile-status-copy{gap:1px!important}.mobile-status-copy span{font-size:7.1px!important;letter-spacing:.08em!important;color:#718991!important}.mobile-status-copy strong{font-size:15px!important;letter-spacing:-.025em!important;color:#173943}.mobile-status-copy small{font-size:8.1px!important;color:#83969c!important}
  .mobile-today-range{padding-left:7px;border-left:1px solid rgba(32,70,82,.07)}.mobile-today-range strong{font-size:12.5px!important}.mobile-today-range span{font-size:8px!important}.mobile-today-range span:before{content:'min ';font-size:6px}.mobile-today-range strong:before{content:'max ';font-size:6px}
  .mobile-situation{margin-top:7px!important;padding:9px 10px 8px!important;border-radius:13px!important}.mobile-situation-head span{font-size:6.5px!important}.mobile-situation-head em{font-size:6.2px!important}.mobile-situation>strong{font-size:11.3px!important}.mobile-situation>p{font-size:8.1px!important;line-height:1.38!important}
  .mobile-live-trigger{margin-top:6px!important;border-radius:11px!important;background:rgba(246,250,250,.86)!important}
  .mobile-sheet.has-place.is-expanded .mobile-weather-body{margin-top:9px!important}
  .mobile-meteo-detail>span{background:#f8fafb!important;border-color:rgba(24,61,72,.055)!important;border-radius:9px!important}
  .mobile-forecast-head{margin-top:8px!important}.mobile-hourly-strip .hourly-item:first-child{background:#edf9f6!important;border-color:rgba(11,167,142,.12)!important}.mobile-daily-list .daily-item[data-day-index="0"]{background:#edf9f6!important;border-color:rgba(11,167,142,.11)!important}
  .mobile-radar-summary{background:#eff9f6!important;border-color:rgba(11,167,142,.08)!important;border-radius:10px!important}
  .app-shell.has-place .map-actions{bottom:270px!important}
}
@media(max-width:430px){
  .mobile-sheet.has-place{max-height:242px!important}
  .app-shell.has-place .map-actions{bottom:264px!important}
}
.top-menu[aria-expanded="true"]{background:#e7f8f4;color:#087c69;border-color:rgba(11,167,142,.18);box-shadow:0 7px 20px rgba(20,86,81,.10)}

/* v0.4.3.1 · FIX: desktop 7-day forecast card overflow
   v0.4.3.0 accidentally combined the horizontal card rail with the row layout.
   Keep each day self-contained and never let forecast values widen the whole place panel. */
@media(min-width:701px){
  .place-card{
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  .place-expanded-details .daily-forecast-list{
    display:flex!important;
    gap:6px!important;
    width:100%;
    max-width:100%;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:1px 0 5px!important;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
    overscroll-behavior-x:contain;
  }
  .place-expanded-details .daily-forecast-list::-webkit-scrollbar{display:none}
  .place-expanded-details .daily-item{
    flex:0 0 76px!important;
    width:76px!important;
    min-width:76px!important;
    max-width:76px!important;
    min-height:90px;
    grid-template-columns:1fr!important;
    grid-template-rows:auto 27px auto auto!important;
    justify-items:center!important;
    align-items:center!important;
    gap:3px!important;
    padding:8px 5px 7px!important;
    text-align:center!important;
    overflow:hidden;
    scroll-snap-align:start;
  }
  .place-expanded-details .daily-item>span{
    width:100%;
    font-size:8.5px!important;
    text-align:center!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .place-expanded-details .daily-item i{
    width:25px!important;
    height:25px!important;
  }
  .place-expanded-details .daily-item i svg{
    width:25px!important;
    height:25px!important;
  }
  .place-expanded-details .daily-item strong{
    width:100%;
    min-width:0;
    font-size:10px!important;
    line-height:1.15;
    text-align:center!important;
    white-space:nowrap;
  }
  .place-expanded-details .daily-item strong em{
    margin-left:3px!important;
    font-size:9px;
  }
  .place-expanded-details .daily-item small{
    width:100%;
    min-width:0;
    font-size:7.2px!important;
    line-height:1.15;
    text-align:center!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}


/* v0.4.3.2 · jasná, ale nenápadná navigace sedmidenního výhledu */
.forecast-scroll-shell{position:relative;min-width:0}
.forecast-scroll-arrow{position:absolute;z-index:5;top:50%;width:24px;height:38px;margin:0;padding:0;display:grid;place-items:center;transform:translateY(-50%);border:1px solid rgba(21,63,75,.08);border-radius:999px;background:rgba(255,255,255,.78);box-shadow:0 5px 16px rgba(22,55,65,.10);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#315b66;font:700 20px/1 system-ui,sans-serif;opacity:0;pointer-events:none;transition:opacity .16s ease,background .16s ease,transform .16s ease}
.forecast-scroll-arrow.is-left{left:-7px}
.forecast-scroll-arrow.is-right{right:-7px}
.forecast-scroll-arrow.is-visible{opacity:.68;pointer-events:auto}
.forecast-scroll-arrow.is-visible:hover,.forecast-scroll-arrow.is-visible:focus-visible{opacity:1;background:rgba(255,255,255,.94);transform:translateY(-50%) scale(1.04);outline:none}
.forecast-scroll-arrow:active{transform:translateY(-50%) scale(.96)}
@media(max-width:700px){
  .forecast-scroll-arrow{width:22px;height:34px;font-size:18px;background:rgba(255,255,255,.72);box-shadow:0 4px 13px rgba(22,55,65,.09)}
  .forecast-scroll-arrow.is-left{left:-5px}.forecast-scroll-arrow.is-right{right:-5px}
  .forecast-scroll-arrow.is-visible{opacity:.62}
}
@media(prefers-reduced-motion:reduce){.forecast-scroll-arrow{transition:none}}

/* v0.6.0.1 · CITY ENGINE DEEP LINKS
   A city detail is offered only when CityRegistry exposes a real indexed page. */
.place-actions{
  display:flex;align-items:stretch;gap:7px;margin-top:8px
}
.place-card .place-actions .place-forecast-toggle{
  flex:0 0 39%;width:auto;min-width:0;margin-top:0;margin-bottom:0
}
.place-city-link{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  flex:1;min-width:0;padding:0 11px;border-radius:12px;
  border:1px solid rgba(11,167,142,.15);background:rgba(235,249,246,.9);
  color:#127d6d;text-decoration:none;font-size:9.2px;font-weight:820;
  transition:background .16s ease,border-color .16s ease,transform .16s ease
}
.place-city-link[hidden]{display:none}
.place-city-link span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.place-city-link b{font-size:13px;line-height:1;color:#0b9f88}
.place-city-link:hover{background:#e3f7f2;border-color:rgba(11,167,142,.26);transform:translateX(1px)}
.place-card.is-expanded .place-actions{margin-bottom:9px}
.place-card.is-expanded .place-actions .place-forecast-toggle{margin-bottom:0}

.mobile-situation-actions{display:flex;align-items:center;gap:8px}
.mobile-city-link{display:none}
.mobile-city-link[hidden]{display:none}

@media(max-width:700px){
  .mobile-situation-actions{margin-top:6px;padding-top:6px;border-top:1px solid rgba(25,84,83,.07)}
  .mobile-situation-actions .mobile-forecast-toggle{flex:1;width:auto;margin-top:0;padding-top:0}
  .mobile-city-link{
    display:flex;align-items:center;gap:4px;flex:0 0 auto;
    padding:5px 7px;border-radius:9px;background:rgba(11,167,142,.075);
    color:#147f70;text-decoration:none;font-size:7.7px;font-weight:830;white-space:nowrap
  }
  .mobile-city-link span{font-size:9px;color:#0a9c86}
}


/* v0.6.0.2 · CITY ACTIONS ALIGN
   Both actions form one stable row on desktop; mobile actions share a common baseline. */
.place-actions{align-items:center}
.place-card .place-actions .place-forecast-toggle,
.place-card .place-actions .place-city-link{
  height:36px;min-height:36px;box-sizing:border-box;margin-top:0!important;margin-bottom:0!important
}
.place-card .place-actions .place-forecast-toggle{align-self:center}
.place-card .place-actions .place-city-link{align-self:center}

@media(max-width:700px){
  .mobile-situation-actions{align-items:center}
  .mobile-situation-actions .mobile-forecast-toggle,
  .mobile-situation-actions .mobile-city-link{
    min-height:28px;box-sizing:border-box;margin-top:0!important;margin-bottom:0!important
  }
  .mobile-situation-actions .mobile-forecast-toggle{display:flex;align-items:center;padding:0!important}
  .mobile-situation-actions .mobile-city-link{padding:0 8px}
}

/* v0.4.3.9o · MOBILE POLISH + compact weather navigation */
@media(min-width:701px){
  .brand-row{grid-template-columns:max-content minmax(220px,460px) 1fr max-content;gap:12px}
  .search-wrap{height:40px;max-width:460px;border-radius:13px;box-shadow:0 7px 20px rgba(34,62,72,.09)}
  .search-icon{width:17px;height:17px;margin-left:13px}
  .search-input{padding-left:9px;padding-right:13px;font-size:12.5px}
  .search-suggestions{top:47px;border-radius:13px}

  .weather-view-nav.weather-compact-nav{
    width:min(850px,calc(100vw - 40px));max-width:none;min-height:58px;margin-top:8px;padding:4px 6px;gap:2px;
    border-radius:17px;background:rgba(255,255,255,.965);box-shadow:0 10px 28px rgba(24,58,65,.09);overflow-x:auto
  }
  .weather-view-nav.weather-compact-nav .weather-view-tab{
    --weather-tab-accent:#0d927c;--weather-tab-soft:#ecf8f5;--weather-tab-border:#cde9e1;
    flex:1 0 150px;min-width:150px;height:50px;padding:5px 9px;border-radius:12px;
    display:grid;grid-template-columns:30px minmax(0,1fr) auto;grid-template-rows:1fr;column-gap:8px;align-items:center;
    color:#3e5e66;background:transparent;text-align:left
  }
  .weather-view-nav.weather-compact-nav .weather-tab-symbol{
    grid-row:auto;display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#edf7f5;color:#168f79;
    font-size:14px;font-weight:900
  }
  .weather-view-nav.weather-compact-nav .weather-tab-copy{display:grid;gap:2px;min-width:0}
  .weather-view-nav.weather-compact-nav .weather-tab-copy b{font-size:10px;line-height:1.05;color:#24454e;white-space:nowrap}
  .weather-view-nav.weather-compact-nav .weather-tab-copy small{font-size:6.8px;line-height:1.1;color:#8a9ca1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .weather-view-nav.weather-compact-nav .weather-view-tab.is-active{background:var(--weather-tab-soft);box-shadow:inset 0 0 0 1px var(--weather-tab-border);color:var(--weather-tab-accent)}
  .weather-view-nav.weather-compact-nav .weather-view-tab.is-active .weather-tab-symbol{background:#dff4ee;color:var(--weather-tab-accent)}
  .weather-view-nav.weather-compact-nav .weather-view-tab[data-weather-tone="forecast"]{--weather-tab-accent:#5570bd;--weather-tab-soft:#eef3ff;--weather-tab-border:#d6e0fb}
  .weather-view-nav.weather-compact-nav .weather-view-tab[data-weather-tone="alerts"]{--weather-tab-accent:#ad611e;--weather-tab-soft:#fff4e8;--weather-tab-border:#f2d5b9}
  .weather-view-nav.weather-compact-nav .weather-view-tab[data-weather-tone="layers"]{--weather-tab-accent:#36768f;--weather-tab-soft:#edf6fa;--weather-tab-border:#cfe4ed}
  .weather-view-nav.weather-compact-nav .weather-layers-trigger>em{font-style:normal;color:#7e959c;font-size:12px}
}

.model-time-quick{display:none}

@media(max-width:700px){
  /* Header is intentionally smaller: map gets the vertical space back. */
  .top-shell{top:max(7px,env(safe-area-inset-top));left:8px;right:8px}
  .brand-row{grid-template-columns:1fr max-content;gap:6px;row-gap:5px}
  .brand{height:34px;gap:7px}.brand-mark{width:29px;height:29px}.brand-text{font-size:15px}.top-menu{width:34px;height:34px;border-radius:11px}
  .search-wrap{
    grid-column:1/-1;grid-row:2;justify-self:start;width:min(318px,calc(100vw - 68px));max-width:none;height:35px!important;
    border-radius:11px!important;background:rgba(255,255,255,.94);box-shadow:0 6px 18px rgba(34,62,72,.08)
  }
  .search-icon{width:15px;height:15px;margin-left:11px}
  .search-input{padding:0 10px 0 8px;font-size:11px}
  .search-suggestions{top:41px;max-height:52dvh;border-radius:12px}
  .layer-chips{margin-top:5px!important;gap:4px!important;max-width:calc(100vw - 16px)!important;padding-bottom:1px!important}
  .layer-chip{height:28px!important;padding:0 8px!important;border-radius:9px!important;font-size:9px!important;gap:5px!important}
  .chip-icon{font-size:11px}

  /* Weather bottom navigation: fixed five actions, no horizontal conveyor belt. */
  .mobile-weather-nav.mobile-weather-compact{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;
    height:calc(62px + env(safe-area-inset-bottom))!important;padding:4px 5px env(safe-area-inset-bottom)!important;
    gap:3px!important;overflow:visible!important;scroll-snap-type:none!important
  }
  .mobile-weather-compact .mobile-nav-item{
    min-width:0!important;flex:initial!important;height:52px;padding:3px 2px!important;border:0!important;border-radius:12px!important;
    font-size:7.5px!important;gap:1px!important;scroll-snap-align:none!important
  }
  .mobile-weather-compact .mobile-mode-icon{width:23px;height:22px;border-radius:8px;background:#eef7f5;font-size:12px}
  .mobile-weather-compact .weather-mobile-item.is-active{background:#eaf8f4;color:#14715f;box-shadow:inset 0 0 0 1px #ccece3}
  .mobile-weather-compact .weather-mobile-item.is-active .mobile-mode-icon{background:#d9f2eb;color:#118c72}
  .mobile-weather-compact .weather-forecast-mobile.is-active{background:#eef3ff;color:#4e67ac;box-shadow:inset 0 0 0 1px #d7e1fa}
  .mobile-weather-compact .weather-forecast-mobile.is-active .mobile-mode-icon{background:#dde7ff;color:#536fc2}
  .mobile-weather-compact .weather-more-mobile[data-has-model="1"]{background:#edf6fa;color:#356f86;box-shadow:inset 0 0 0 1px #cee4ec}

  /* Existing weather settings become the common mobile bottom sheet. */
  .weather-settings-panel{
    left:7px!important;right:7px!important;top:auto!important;bottom:calc(68px + env(safe-area-inset-bottom))!important;transform:none!important;
    width:auto!important;max-height:min(64dvh,540px);overflow:auto;padding:11px!important;border-radius:18px!important;
    box-shadow:0 18px 58px rgba(24,58,65,.24)!important
  }
  .weather-settings-panel .panel-head{padding:0 35px 8px 0}.weather-settings-panel .panel-head h3{font-size:15px}.weather-settings-panel .eyebrow{font-size:7px}
  .weather-quick-presets{gap:5px}.weather-quick-presets .quick-weather-preset{min-height:44px;padding:7px 8px}.weather-quick-presets .quick-weather-preset strong{font-size:9px}.weather-quick-presets .quick-weather-preset small{font-size:6.5px}
  .weather-settings-panel .layer-panel-master{padding:8px 9px}.weather-settings-panel .layer-panel-master strong{font-size:9.5px}.weather-settings-panel .layer-panel-master small{font-size:7px}
  .weather-settings-panel .layer-panel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .weather-settings-panel .layer-toggle-card{min-height:48px;padding:6px 7px;grid-template-columns:24px 1fr;column-gap:6px}
  .weather-settings-panel .layer-toggle-card>span{width:23px;height:23px;font-size:11px}.weather-settings-panel .layer-toggle-card>b{font-size:8.5px}.weather-settings-panel .layer-toggle-card>small{font-size:6.4px}
  .weather-settings-panel .radar-strength{padding-top:8px;padding-bottom:8px}.weather-settings-panel .strength-head{margin-bottom:6px}.weather-settings-panel .strength-head strong{font-size:9px}.weather-settings-panel .strength-head small{font-size:7px}.weather-settings-panel .strength-options button{height:27px;font-size:8px}
  .weather-settings-panel .model-status-line{margin-top:5px;padding-top:6px}
  .model-time-quick{display:grid;gap:6px;margin:7px 0;padding:8px;border:1px solid rgba(77,111,188,.10);border-radius:12px;background:#f6f8fe}
  .model-time-quick-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.model-time-quick-head strong{font-size:9px;color:#435b8f}.model-time-quick-head small{font-size:6.5px;color:#8793ad}
  .model-time-quick-buttons{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.model-time-quick-buttons button{height:28px;padding:0 3px;border:1px solid #dce4f7;border-radius:8px;background:#fff;color:#5369a4;font-size:7.2px;font-weight:850;cursor:pointer}

  /* Živě can finally be dismissed entirely on mobile. */
  .mobile-live-dock{display:grid;grid-template-columns:minmax(0,1fr) 27px;gap:4px;align-items:stretch;margin-top:6px}
  .mobile-live-dock[hidden]{display:none!important}
  .mobile-live-dock .mobile-live-trigger{margin:0;min-width:0;padding:7px 8px}
  .mobile-live-dismiss{display:grid;place-items:center;width:27px;border:1px solid rgba(18,71,75,.08);border-radius:10px;background:rgba(248,252,251,.96);color:#83969c;font-size:16px;line-height:1;cursor:pointer}
  .mobile-live-head{position:sticky;top:-7px;z-index:5;margin:-1px -1px 6px;padding:5px 1px;background:rgba(255,255,255,.98)}
  .mobile-live-head button{display:grid!important;place-items:center;width:31px!important;height:31px!important;border:1px solid rgba(20,65,73,.08)!important;border-radius:10px!important;background:#f6f9f9!important;font-size:18px!important;pointer-events:auto!important}
  .mobile-sheet.is-live-open{max-height:min(46dvh,390px)!important}
  .mobile-sheet:not(.has-place).is-live-open{max-height:min(46dvh,390px)!important;padding:9px 8px 8px!important}
  .mobile-live-item{grid-template-columns:28px minmax(0,1fr) 10px;padding:6px!important;gap:5px!important;border-radius:9px!important}
  .mobile-live-item-copy strong{font-size:8px!important}.mobile-live-item-copy span{font-size:6.8px!important;-webkit-line-clamp:1!important}.mobile-live-item-time{font-size:6.2px!important}

  /* More room for the map with the shorter dock. */
  .timeline-shell{bottom:calc(67px + env(safe-area-inset-bottom))!important}
  .map-actions{bottom:154px!important}
  .app-shell.has-place .map-actions{bottom:272px!important}
  .mobile-sheet:not(.has-place){bottom:calc(132px + env(safe-area-inset-bottom))!important}
  .mobile-sheet:not(.has-place).is-live-open{bottom:calc(67px + env(safe-area-inset-bottom))!important}
}

@media(max-width:390px){
  .search-wrap{width:min(286px,calc(100vw - 60px))}
  .brand-text{font-size:14px}
  .mobile-weather-compact .mobile-nav-item{font-size:7px!important}
}
@media(max-width:700px){.mobile-sheet:not(.has-place).is-live-hidden{display:none!important}}

/* 9o safeguard: old weather tab child rules must not treat copy block as the icon. */
.weather-view-nav.weather-compact-nav .weather-tab-copy{
  grid-row:auto!important;
  font-size:initial!important;
  line-height:normal!important;
  text-align:left!important;
}
.weather-view-nav.weather-compact-nav .weather-tab-symbol{
  grid-row:auto!important;
}

/* v0.4.3.9p · WEATHER FULL MENU
   Všechny hlavní meteo pohledy jsou přímo v navigaci; žádné schované "Vrstvy". */
@media(min-width:701px){
  .weather-view-nav.weather-full-nav{
    width:calc(100vw - 40px);
    max-width:none;
    min-height:58px;
    padding:4px 5px;
    gap:3px;
    border-radius:17px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
  }
  .weather-view-nav.weather-full-nav .weather-view-tab{
    --weather-tab-accent:#0d927c;
    --weather-tab-soft:#ecf8f5;
    --weather-tab-border:#cde9e1;
    position:relative;
    flex:1 1 0;
    min-width:112px;
    max-width:none;
    height:50px;
    padding:5px 7px;
    border-radius:12px;
    grid-template-columns:29px minmax(0,1fr);
    grid-template-rows:1fr;
    column-gap:7px;
    scroll-snap-align:start;
  }
  .weather-view-nav.weather-full-nav .weather-tab-symbol{
    width:29px;height:29px;border-radius:10px;font-size:13px;
  }
  .weather-view-nav.weather-full-nav .weather-tab-copy b{font-size:9.3px;font-weight:900}
  .weather-view-nav.weather-full-nav .weather-tab-copy small{font-size:6.3px;max-width:100%;}
  .weather-view-nav.weather-full-nav .weather-view-tab.is-active:after{
    content:"";position:absolute;left:10px;right:10px;bottom:1px;height:2px;border-radius:999px;background:var(--weather-tab-accent)
  }
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="overview"]{--weather-tab-accent:#11a287;--weather-tab-soft:#eaf9f5;--weather-tab-border:#c5eadf}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="radar"]{--weather-tab-accent:#0e9b83;--weather-tab-soft:#e8f8f4;--weather-tab-border:#c4eadf}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="forecast"]{--weather-tab-accent:#4f70c0;--weather-tab-soft:#eef3ff;--weather-tab-border:#d4dffb}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="alerts"]{--weather-tab-accent:#c46b1c;--weather-tab-soft:#fff3e7;--weather-tab-border:#f1d0af}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="temperature"]{--weather-tab-accent:#c86442;--weather-tab-soft:#fff0e9;--weather-tab-border:#f1d0c2}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="precip"]{--weather-tab-accent:#3977bd;--weather-tab-soft:#ebf4ff;--weather-tab-border:#cbdff5}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="clouds"]{--weather-tab-accent:#657985;--weather-tab-soft:#eef2f4;--weather-tab-border:#d7e0e4}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="wind"]{--weather-tab-accent:#267f93;--weather-tab-soft:#e9f7fa;--weather-tab-border:#cce8ee}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="storms"]{--weather-tab-accent:#80509c;--weather-tab-soft:#f6effb;--weather-tab-border:#e2d3ec}
  .weather-view-nav.weather-full-nav .weather-view-tab.is-active{
    background:var(--weather-tab-soft)!important;
    color:var(--weather-tab-accent)!important;
    box-shadow:inset 0 0 0 1px var(--weather-tab-border)!important;
  }
  .weather-view-nav.weather-full-nav .weather-view-tab.is-active .weather-tab-symbol{
    background:rgba(255,255,255,.62)!important;color:var(--weather-tab-accent)!important;
  }
}

@media(min-width:701px) and (max-width:1180px){
  .weather-view-nav.weather-full-nav .weather-view-tab{flex:0 0 118px;min-width:118px}
}

@media(max-width:700px){
  /* Na mobilu zůstává menu nízké, ale všechny meteo pohledy jsou v jedné posuvné liště. */
  .mobile-weather-nav.mobile-weather-full{
    display:flex!important;
    grid-template-columns:none!important;
    align-items:stretch!important;
    height:calc(58px + env(safe-area-inset-bottom))!important;
    padding:4px max(5px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(5px,env(safe-area-inset-left))!important;
    gap:2px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none;
  }
  .mobile-weather-nav.mobile-weather-full::-webkit-scrollbar{display:none}
  .mobile-weather-full .mobile-nav-item{
    flex:0 0 61px!important;
    min-width:61px!important;
    width:61px!important;
    height:50px!important;
    padding:3px 2px!important;
    border-radius:11px!important;
    font-size:6.9px!important;
    gap:1px!important;
    scroll-snap-align:start!important;
  }
  .mobile-weather-full .mobile-mode-icon{width:22px;height:21px;font-size:11px}
  .mobile-weather-full .weather-model-mobile[data-weather-tone="temperature"].is-active{background:#fff0e9;color:#b95d3e;box-shadow:inset 0 0 0 1px #f1d0c2}
  .mobile-weather-full .weather-model-mobile[data-weather-tone="precip"].is-active{background:#ebf4ff;color:#3977bd;box-shadow:inset 0 0 0 1px #cbdff5}
  .mobile-weather-full .weather-model-mobile[data-weather-tone="clouds"].is-active{background:#eef2f4;color:#657985;box-shadow:inset 0 0 0 1px #d7e0e4}
  .mobile-weather-full .weather-model-mobile[data-weather-tone="wind"].is-active{background:#e9f7fa;color:#267f93;box-shadow:inset 0 0 0 1px #cce8ee}
  .mobile-weather-full .weather-model-mobile[data-weather-tone="storms"].is-active{background:#f6effb;color:#80509c;box-shadow:inset 0 0 0 1px #e2d3ec}
  .mobile-weather-full .weather-model-mobile.is-active .mobile-mode-icon{background:rgba(255,255,255,.68);color:inherit}
  .timeline-shell{bottom:calc(63px + env(safe-area-inset-bottom))!important}
}


/* v0.4.3.9q · DESKTOP WEATHER MENU FIT + no phantom grid column
   9p inherited the old weather-layer-deck CSS grid (10 columns). With 9 visible
   items the first three cells were squeezed while an empty column remained at
   the end. Force a compact flex row and let the deck end naturally. */
@media(min-width:1181px){
  .weather-view-nav.weather-full-nav{
    display:flex!important;
    grid-template-columns:none!important;
    width:max-content!important;
    max-width:min(1115px,calc(100vw - 390px))!important;
    min-height:52px!important;
    padding:4px!important;
    gap:3px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    justify-content:flex-start!important;
    scroll-padding-left:4px;
  }
  .weather-view-nav.weather-full-nav .weather-view-tab{
    flex:0 0 auto!important;
    min-width:0!important;
    width:auto!important;
    height:44px!important;
    padding:4px 8px!important;
    grid-template-columns:25px minmax(0,1fr)!important;
    column-gap:6px!important;
  }
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="overview"]{width:104px!important}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="radar"]{width:106px!important}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="forecast"]{width:118px!important}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="alerts"]{width:112px!important}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="temperature"]{width:112px!important}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="precip"]{width:108px!important}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="clouds"]{width:112px!important}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="wind"]{width:100px!important}
  .weather-view-nav.weather-full-nav .weather-view-tab[data-weather-tone="storms"]{width:104px!important}
  .weather-view-nav.weather-full-nav .weather-tab-symbol{width:25px!important;height:25px!important;border-radius:8px!important;font-size:12px!important}
  .weather-view-nav.weather-full-nav .weather-tab-copy b{font-size:8.9px!important}
  .weather-view-nav.weather-full-nav .weather-tab-copy small{font-size:6.1px!important;max-width:82px!important}
}
@media(min-width:701px) and (max-width:1180px){
  .weather-view-nav.weather-full-nav{
    display:flex!important;grid-template-columns:none!important;width:calc(100vw - 40px)!important;max-width:none!important;
    overflow-x:auto!important;overflow-y:hidden!important;justify-content:flex-start!important;scroll-padding-left:4px!important;
  }
  .weather-view-nav.weather-full-nav .weather-view-tab{flex:0 0 112px!important;min-width:112px!important;width:112px!important}
}

/* v0.4.3.9r · WEATHER VIEW ROUTING + ONE-LINE MOBILE HEADER
   Top weather navigation is now a direct view selector. Mobile header keeps
   brand, compact search and menu on one row to return vertical space to map. */
@media(max-width:700px){
  .top-shell{top:max(7px,env(safe-area-inset-top));left:8px;right:8px}
  .brand-row{
    display:grid!important;
    grid-template-columns:max-content minmax(0,1fr) max-content!important;
    grid-template-rows:34px!important;
    gap:6px!important;
    align-items:center!important;
  }
  .brand{grid-column:1!important;grid-row:1!important;height:34px!important;gap:6px!important;min-width:0}
  .brand-mark{width:28px!important;height:28px!important}
  .brand-text{font-size:14px!important;letter-spacing:-.035em}
  .search-wrap{
    grid-column:2!important;grid-row:1!important;
    justify-self:start!important;align-self:center!important;
    width:min(42vw,184px)!important;min-width:126px!important;max-width:100%!important;
    height:32px!important;margin:0!important;border-radius:10px!important;
    background:rgba(255,255,255,.95)!important;box-shadow:0 5px 15px rgba(34,62,72,.07)!important;
  }
  .search-icon{width:14px!important;height:14px!important;margin-left:9px!important}
  .search-input{font-size:10.5px!important;padding:0 8px 0 6px!important}
  .search-suggestions{
    top:38px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;
    width:min(280px,calc(100vw - 24px))!important;max-height:52dvh!important
  }
  .top-menu{grid-column:3!important;grid-row:1!important;width:34px!important;height:34px!important;border-radius:11px!important;justify-self:end!important}
  .layer-chips{margin-top:5px!important}
}

@media(max-width:360px){
  .brand{gap:5px!important}.brand-text{font-size:13px!important}.brand-mark{width:27px!important;height:27px!important}
  .search-wrap{width:min(40vw,150px)!important;min-width:116px!important}
}

/* A direct weather view has exactly one selected item in the visible menu. */
.weather-view-nav.weather-full-nav [data-weather-view].is-active,
.mobile-weather-nav [data-weather-view].is-active{position:relative}


/* v0.4.3.9t · CONTEXT MENUS
   9q introduced display:flex!important for the compact weather deck. That could
   override the semantic [hidden] state after switching to Traffic/Trains and
   stack two context menus. Hidden always wins; data-mode is a second guard. */
#weatherViewNav[hidden],
#mobileWeatherNav[hidden],
#trafficViewNav[hidden],
#mobileTrafficNav[hidden],
#trainViewNav[hidden],
#mobileTrainNav[hidden]{display:none!important}

.app-shell[data-mode="weather"] #trafficViewNav,
.app-shell[data-mode="weather"] #mobileTrafficNav,
.app-shell[data-mode="weather"] #trainViewNav,
.app-shell[data-mode="weather"] #mobileTrainNav,
.app-shell[data-mode="traffic"] #weatherViewNav,
.app-shell[data-mode="traffic"] #mobileWeatherNav,
.app-shell[data-mode="traffic"] #trainViewNav,
.app-shell[data-mode="traffic"] #mobileTrainNav,
.app-shell[data-mode="trains"] #weatherViewNav,
.app-shell[data-mode="trains"] #mobileWeatherNav,
.app-shell[data-mode="trains"] #trafficViewNav,
.app-shell[data-mode="trains"] #mobileTrafficNav{display:none!important}

/* v0.4.3.9u · MOBILE PRO POLISH
   Make the idle Živě control a lightweight floating pill instead of a nested
   white rectangle. The expanded feed remains a real bottom sheet. */
@media(max-width:700px){
  .mobile-sheet:not(.has-place):not(.is-live-open){
    left:8px!important;
    right:auto!important;
    width:min(168px,calc(100vw - 82px))!important;
    bottom:calc(128px + env(safe-area-inset-bottom))!important;
    min-height:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    overflow:visible!important;
  }
  .mobile-sheet:not(.has-place):not(.is-live-open) .mobile-live-dock{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 30px!important;
    gap:4px!important;
    align-items:center!important;
    margin:0!important;
  }
  .mobile-sheet:not(.has-place):not(.is-live-open) .mobile-live-trigger{
    height:30px!important;
    min-height:30px!important;
    margin:0!important;
    padding:0 9px!important;
    border:1px solid rgba(17,75,77,.10)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 6px 18px rgba(25,58,65,.10)!important;
    backdrop-filter:blur(15px)!important;
  }
  .mobile-sheet:not(.has-place):not(.is-live-open) .mobile-live-trigger>span{
    display:grid!important;
    grid-template-columns:8px auto minmax(0,1fr)!important;
    gap:5px!important;
    align-items:center!important;
  }
  .mobile-sheet:not(.has-place):not(.is-live-open) .mobile-live-trigger .live-feed-pulse{
    width:6px!important;height:6px!important;box-shadow:0 0 0 3px rgba(16,184,157,.11)!important;
  }
  .mobile-sheet:not(.has-place):not(.is-live-open) .mobile-live-trigger b{
    font-size:8px!important;line-height:1!important;letter-spacing:.01em!important;
  }
  .mobile-sheet:not(.has-place):not(.is-live-open) .mobile-live-trigger small{
    font-size:6.8px!important;line-height:1!important;color:#82959a!important;
  }
  .mobile-sheet:not(.has-place):not(.is-live-open) .mobile-live-trigger>em{
    display:none!important;
  }
  .mobile-sheet:not(.has-place):not(.is-live-open) .mobile-live-dismiss{
    width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;
    display:grid!important;place-items:center!important;
    border:1px solid rgba(17,75,77,.10)!important;border-radius:999px!important;
    background:rgba(255,255,255,.96)!important;color:#71888e!important;
    box-shadow:0 6px 18px rgba(25,58,65,.09)!important;
    font-size:15px!important;font-weight:400!important;line-height:1!important;
  }
  .mobile-sheet:not(.has-place).is-live-open{
    left:7px!important;right:7px!important;width:auto!important;
    bottom:calc(64px + env(safe-area-inset-bottom))!important;
    max-height:min(48dvh,410px)!important;padding:10px 9px 9px!important;
    border:1px solid rgba(18,61,69,.09)!important;border-radius:18px!important;
    background:rgba(255,255,255,.985)!important;
    box-shadow:0 16px 48px rgba(24,58,65,.20)!important;
    backdrop-filter:blur(20px)!important;
  }
  .mobile-live-head{min-height:30px!important;padding:0 1px 5px!important;margin:0 0 5px!important}
  .mobile-live-head strong{font-size:9.4px!important}
  .mobile-live-head button{
    width:28px!important;height:28px!important;min-width:28px!important;border-radius:9px!important;
    padding:0!important;font-size:16px!important;line-height:1!important;
  }
  .mobile-live-list{gap:4px!important}
  .mobile-live-item{min-height:38px!important;padding:6px 7px!important;border-radius:9px!important}
  .mobile-live-updated{margin-top:5px!important;padding-top:5px!important}
}
@media(max-width:370px){
  .mobile-sheet:not(.has-place):not(.is-live-open){width:126px!important}
  .mobile-sheet:not(.has-place):not(.is-live-open) .mobile-live-trigger small{display:none!important}
  .mobile-sheet:not(.has-place):not(.is-live-open) .mobile-live-trigger>span{grid-template-columns:8px auto!important}
}


/* v0.4.3.10f · discreet indexed-city deep links
   The city name itself is the link; there is no extra CTA and no hover styling. */
.place-title-heading{margin-right:40px}
.place-title-link,
.mobile-status-link{
  color:inherit;
  text-decoration:none;
  background:transparent;
  border:0;
  padding:0;
  margin:0;
}
.place-title-link{display:inline}
.place-title-link:not(.is-linked),
.mobile-status-link:not(.is-linked){cursor:default}
.place-title-link.is-linked,
.mobile-status-link.is-linked{cursor:pointer}
.place-title-link:visited,
.mobile-status-link:visited{color:inherit}
.place-title-link:hover,
.place-title-link:active,
.mobile-status-link:hover,
.mobile-status-link:active{
  color:inherit;
  text-decoration:none;
  background:transparent;
}
.place-title-link:focus-visible,
.mobile-status-link:focus-visible{
  outline:2px solid rgba(8,185,157,.32);
  outline-offset:3px;
  border-radius:4px;
}
.place-card .place-actions .place-forecast-toggle{
  flex:1 1 auto;
  width:100%;
}
.mobile-status-link{display:block;min-width:0;max-width:100%}
.mobile-status-link span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* v0.4.3.10n · indexed-city links in every weather/model state */
.model-point-title-link{
  color:inherit;text-decoration:none;background:transparent;border:0;padding:0;margin:0;display:inline
}
.model-point-title-link:not(.is-linked){cursor:default}
.model-point-title-link.is-linked{cursor:pointer}
.model-point-title-link:hover,.model-point-title-link:active,.model-point-title-link:visited{color:inherit;text-decoration:none}
.model-point-title-link:focus-visible{outline:2px solid rgba(8,185,157,.32);outline-offset:3px;border-radius:4px}
.model-point-city-link{display:none}

@media(max-width:700px){
  .mobile-situation-actions{gap:7px}
  .mobile-situation-actions .mobile-forecast-toggle{flex:1 1 48%}
  .mobile-city-link{
    display:flex!important;align-items:center;justify-content:center;gap:5px;flex:1 1 52%;
    min-height:30px!important;padding:0 9px!important;border:1px solid rgba(11,167,142,.12);
    border-radius:10px;background:rgba(235,249,246,.9);color:#127d6d;font-size:8.1px;font-weight:850
  }
  .mobile-city-link[hidden]{display:none!important}
  .model-point-city-link{
    margin:0 16px 11px;padding:9px 11px;border:1px solid rgba(11,167,142,.14);border-radius:11px;
    background:#eef9f6;color:#117d6d;text-decoration:none;font-size:9px;font-weight:850;
    display:flex;align-items:center;justify-content:space-between;gap:8px
  }
  .model-point-city-link[hidden]{display:none!important}
  .model-point-city-link span{font-size:12px;color:#0b9f88}
}

/* v0.4.3.13c · explicit radar source switch on mobile; source never changes on zoom. */
.radar-source-mobile-toggle{display:none}
@media(max-width:700px){.radar-source-mobile-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:29px;padding:0 8px;border:1px solid rgba(11,191,156,.18);border-radius:9px;background:rgba(11,191,156,.07);color:#087b68;font-size:8px;font-weight:900;letter-spacing:.02em;cursor:pointer}.radar-source-mobile-toggle[hidden]{display:none!important}.radar-source-mobile-toggle:after{content:' ↔';font-size:7px;opacity:.62;margin-left:3px}}

/* RADARCESKA v2.4.4 · Weather UI Cleanup — single compact control system */
:root{--rc-weather-glass:rgba(255,255,255,.78);--rc-weather-line:rgba(31,69,78,.105);--rc-weather-shadow:0 5px 16px rgba(20,55,63,.055);--rc-weather-muted:#748a91}

/* Retire duplicate floating legends: the bottom shared timeline already carries the quantitative scale. */
#app[data-mode="weather"] .model-legend,
#app[data-mode="weather"] .model-temperature-v11-legend,
#app[data-mode="weather"] .cloud-engine-stable-legend{display:none!important}

/* Shared light shell for the three model control bars. */
#app[data-mode="weather"] #modelTemperatureV11Controls,
#app[data-mode="weather"] #modelPrecipFilmV1Controls,
#app[data-mode="weather"] #cloudEngineProdControls{
  min-height:30px!important;height:auto!important;width:max-content!important;max-width:calc(100vw - 24px)!important;
  padding:3px 5px!important;gap:4px!important;border:1px solid var(--rc-weather-line)!important;border-radius:10px!important;
  background:var(--rc-weather-glass)!important;box-shadow:var(--rc-weather-shadow)!important;
  backdrop-filter:blur(10px) saturate(108%)!important;-webkit-backdrop-filter:blur(10px) saturate(108%)!important;
  color:#173d45!important;
}

/* TEMPERATURE — one compact line. */
#app[data-mode="weather"] #modelTemperatureV11Controls{display:flex!important;align-items:center!important;grid-template-columns:none!important}
#app[data-mode="weather"] #modelTemperatureV11Controls .mt10-head{display:flex!important;align-items:center!important;gap:3px!important;padding:0 3px 0 1px!important;white-space:nowrap!important}
#app[data-mode="weather"] #modelTemperatureV11Controls .mt10-head strong{font:850 9px/1 system-ui!important}
#app[data-mode="weather"] #modelTemperatureV11Controls .mt10-sub{font:750 6.2px/1 system-ui!important;color:var(--rc-weather-muted)!important}
#app[data-mode="weather"] #modelTemperatureV11Controls .mt10-mini-legend{display:none!important}
#app[data-mode="weather"] #modelTemperatureV11Controls .mt10-models{display:flex!important;width:auto!important;gap:1px!important;padding:2px!important;border-radius:8px!important;background:rgba(235,242,243,.72)!important}
#app[data-mode="weather"] #modelTemperatureV11Controls .mt10-models button{min-width:53px!important;min-height:22px!important;padding:4px 7px!important;border-radius:6px!important;font:800 6.8px/1 system-ui!important}
#app[data-mode="weather"] #modelTemperatureV11Controls .mt10-unit{padding:0 3px!important;font:800 6px/1 system-ui!important;color:#87999f!important}

/* PRECIP — no SCALAR badge, source is deliberately secondary. */
#app[data-mode="weather"] #modelPrecipFilmV1Controls{display:flex!important;align-items:center!important}
#app[data-mode="weather"] #modelPrecipFilmV1Controls .mpf1-head{display:flex!important;align-items:center!important;width:auto!important;gap:4px!important;padding:0 2px!important;white-space:nowrap!important}
#app[data-mode="weather"] #modelPrecipFilmV1Controls .mpf1-head strong{font:850 9px/1 system-ui!important}
#app[data-mode="weather"] #modelPrecipFilmV1Controls .mpf1-badge{display:none!important}
#app[data-mode="weather"] #modelPrecipFilmV1Controls .mpf1-head small{font:750 6.2px/1 system-ui!important;color:var(--rc-weather-muted)!important}
#app[data-mode="weather"] #modelPrecipFilmV1Controls .mpf1-source{display:inline-flex!important;align-items:center!important;min-height:20px!important;margin-left:2px!important;padding:0 6px!important;border:0!important;border-radius:7px!important;background:rgba(235,242,243,.62)!important;color:#61787f!important;font:780 6.2px/1 system-ui!important;white-space:nowrap!important}
#app[data-mode="weather"] #modelPrecipFilmV1Controls .mpf1-models{display:none!important}

/* CLOUDS — one row; detailed source hidden on phone, model selector stays tiny. */
#app[data-mode="weather"] #cloudEngineProdControls{display:block!important}
#app[data-mode="weather"] #cloudEngineProdControls .cloud-control-line{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important}
#app[data-mode="weather"] #cloudEngineProdControls .cloud-control-title{flex:0 0 auto!important;padding:0 2px!important;font:850 9px/1 system-ui!important;color:#173d45!important;white-space:nowrap!important}
#app[data-mode="weather"] #cloudEngineProdControls .cloud-control-source{flex:0 1 auto!important;max-width:80px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#71878e!important;font:750 5.9px/1 system-ui!important}
#app[data-mode="weather"] #cloudEngineProdControls .cloud-segments{display:grid!important;grid-template-columns:repeat(4,43px)!important;gap:1px!important;padding:2px!important;border-radius:8px!important;background:rgba(235,242,243,.72)!important}
#app[data-mode="weather"] #cloudEngineProdControls .cloud-segments button{min-width:0!important;min-height:22px!important;padding:4px 3px!important;border-radius:6px!important;font:800 6.4px/1 system-ui!important}
#app[data-mode="weather"] #cloudEngineProdControls .cloud-model-toggle{flex:0 0 auto!important;min-height:22px!important;padding:0 7px!important;border:1px solid rgba(31,69,78,.08)!important;border-radius:7px!important;background:rgba(248,251,251,.72)!important;color:#526b72!important;font:800 6.1px/1 system-ui!important;white-space:nowrap!important}
#app[data-mode="weather"] #cloudEngineProdControls .cloud-model-select{display:none!important;width:100%!important;margin-top:4px!important;min-height:28px!important;padding:0 8px!important;border:1px solid rgba(31,69,78,.09)!important;border-radius:8px!important;background:rgba(255,255,255,.94)!important;color:#29464f!important;font:760 7px/1 system-ui!important}
#app[data-mode="weather"] #cloudEngineProdControls.show-model .cloud-model-select{display:block!important}

/* City-value cards are intentionally a little smaller; density is also capped in app.js. */
#app[data-mode="weather"] .maplibregl-map{--rc-city-card-scale:.94}

@media(max-width:700px){
  #app[data-mode="weather"] #modelTemperatureV11Controls,
  #app[data-mode="weather"] #modelPrecipFilmV1Controls,
  #app[data-mode="weather"] #cloudEngineProdControls{
    left:8px!important;right:auto!important;width:max-content!important;max-width:calc(100vw - 16px)!important;
    min-height:28px!important;padding:3px 5px!important;border-radius:9px!important;background:rgba(255,255,255,.74)!important;
  }
  #app[data-mode="weather"] #modelTemperatureV11Controls .mt10-models button{min-width:48px!important;min-height:21px!important;padding:4px 5px!important;font-size:6.4px!important}
  #app[data-mode="weather"] #modelTemperatureV11Controls .mt10-unit{display:none!important}
  #app[data-mode="weather"] #modelPrecipFilmV1Controls .mpf1-source{font-size:5.8px!important;min-height:19px!important;padding:0 5px!important}
  #app[data-mode="weather"] #cloudEngineProdControls .cloud-control-source{display:none!important}
  #app[data-mode="weather"] #cloudEngineProdControls .cloud-segments{grid-template-columns:repeat(4,42px)!important}
  #app[data-mode="weather"] #cloudEngineProdControls .cloud-segments button{min-height:21px!important;font-size:6.1px!important;padding:4px 2px!important}
  #app[data-mode="weather"] #cloudEngineProdControls .cloud-model-toggle{min-height:21px!important;padding:0 6px!important;font-size:5.9px!important}
}

@media(max-width:390px){
  #app[data-mode="weather"] #modelTemperatureV11Controls .mt10-head{padding-right:1px!important}
  #app[data-mode="weather"] #modelTemperatureV11Controls .mt10-models button{min-width:44px!important;padding-left:4px!important;padding-right:4px!important}
  #app[data-mode="weather"] #cloudEngineProdControls .cloud-segments{grid-template-columns:repeat(4,39px)!important}
}

/* RADARCESKA v2.4.4.1 · MOBILE TOP-RIGHT GHOST CONTROL GUARD
   RadarČeska owns all mobile map controls. Native MapLibre controls added later
   by optional modules must never cover the hamburger/top header. */
@media(max-width:700px){
  #map > .maplibregl-control-container > .maplibregl-ctrl-top-right,
  .maplibregl-ctrl-top-right{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}
