/* ============================================================
   🗺 MAPA PARTY (parta.js) — pravý panel na počítači, karta pod prstencem na telefonu, zvětšená mapa přes celé okno.
   Návrh David schválil 14. 11. 2026 v docs/nahledy/komunita-panel-navrhy.html (sekce D+). Změnu vzhledu nejdřív ukaž tam.
   Barvy jen přes tokeny hubu (--mu-*) + vlastní --mp-* níž, které mají tmavý protějšek → funguje světlá i tmavá varianta.
   ============================================================ */
.mp, .mp-card, .mp-big, .mp-pick {
  --mp-dot: hsl(150 14% 82%); --mp-land: hsl(142 46% 96%); --mp-land2: hsl(142 38% 91%); --mp-home: hsl(142 50% 50%); --mp-live: hsl(142 76% 30%);
  --mp-gold: #d97706; --mp-gold-soft: #fef3c7; --mp-on: #22c55e;
}
body.mu-dark .mp, body.mu-dark .mp-card, body.mu-dark .mp-big, body.mu-dark .mp-pick {
  --mp-dot: hsl(152 14% 21%); --mp-land: hsl(152 32% 8%); --mp-land2: hsl(152 28% 12%); --mp-home: hsl(142 45% 45%); --mp-live: #4cff00; --mp-gold-soft: hsl(40 42% 14%);
}

/* ── Společné kousky ── */
.mp-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mp-on); animation: mp-pulse 2s infinite; }
@keyframes mp-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.mp-h { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; font: 800 .72rem/1.2 'Montserrat', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--mu-text-muted)); }
.mp-h .r { margin-left: auto; font: 600 .76rem 'Inter', sans-serif; letter-spacing: 0; text-transform: none; }
.mp-bk { margin-left: auto; padding: 2px 9px; border: 1px solid hsl(var(--mu-border)); border-radius: 99px; background: hsl(var(--mu-card)); font: 700 .72rem 'Inter', sans-serif; letter-spacing: 0; text-transform: none; color: hsl(var(--mu-text-muted)); cursor: pointer; }
.mp-av { --s: 36px; position: relative; flex: none; display: inline-grid; place-items: center; width: var(--s); height: var(--s); border: 0; padding: 0; border-radius: 50%; background: var(--g, hsl(var(--mu-subtle)));
  color: #1d2b23; font: 700 calc(var(--s) * .4)/1 'Montserrat', sans-serif; cursor: pointer; }
.mp-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mp-av.on::after { content: ''; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border: 2px solid hsl(var(--mu-card)); border-radius: 50%; background: var(--mp-on); }
.mp-list { margin: 0; padding: 0; list-style: none; }
.mp-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.mp-who { flex: 1; min-width: 0; padding: 0; border: 0; background: none; font: inherit; line-height: 1.25; color: inherit; text-align: left; cursor: pointer; }
.mp-who b { display: block; overflow: hidden; font-size: .88rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mp-who small { display: block; overflow: hidden; font-size: .74rem; color: hsl(var(--mu-text-muted)); text-overflow: ellipsis; white-space: nowrap; }
.mp-act { flex: none; width: 32px; height: 32px; padding: 0; border: 1px solid hsl(var(--mu-border)); border-radius: 50%; background: hsl(var(--mu-card)); font-size: .95rem; line-height: 1; cursor: pointer; transition: transform .15s, background .15s; }
.mp-act:hover { background: hsl(var(--mu-accent-soft)); transform: scale(1.08); }
.mp-act.is-done { border-color: transparent; background: hsl(var(--mu-accent-soft)); color: hsl(var(--mu-accent-text)); font-size: .8rem; font-weight: 800; cursor: default; transform: none; }
.mp-run { display: block; width: 100%; margin-top: 8px; padding: 9px 12px; border: 1px solid hsl(var(--mu-accent)); border-radius: 12px; background: hsl(var(--mu-accent-soft)); color: hsl(var(--mu-accent-text)); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.mp-all { display: block; margin: 8px 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: .78rem; font-weight: 700; color: hsl(var(--mu-accent-text)); text-align: left; cursor: pointer; }
.mp-hint { margin: 0; padding: 8px 2px; font-size: .82rem; line-height: 1.45; color: hsl(var(--mu-text-muted)); }
.mp-hint--sm { padding: 6px 2px 0; font-size: .74rem; }
/* 🏃 Dnes běželo — řádek pod mapou (klepnutí = velká mapa jen s městy, kde dnes někdo běžel) */
.mp-dnes { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 1px solid hsl(var(--mu-border)); border-radius: 12px; background: hsl(var(--mu-card)); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.mp-dnes:hover { border-color: hsl(var(--mu-accent)); background: hsl(var(--mu-accent-soft)); }
.mp-dnes__i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: hsl(var(--mu-accent-soft)); font-size: 1rem; }
.mp-dnes > span:not(.mp-dnes__i) { flex: 1; min-width: 0; line-height: 1.25; } .mp-dnes b { display: block; font-size: .84rem; } .mp-dnes small { display: block; font-size: .74rem; color: hsl(var(--mu-text-muted)); }
.mp-dnes i { font-style: normal; font-weight: 800; color: hsl(var(--mu-text-muted)); }
/* 👁 viditelnost na mapě — malý odkaz pod řádkem „tvoje město" */
.mp-vis { display: block; margin: -4px 0 0; padding: 2px 4px; border: 0; background: none; font: inherit; font-size: .72rem; color: hsl(var(--mu-text-muted)); text-align: left; cursor: pointer; }
.mp-vis:hover { color: hsl(var(--mu-accent-text)); text-decoration: underline; }
.mp-lock { margin: 4px 0 0; padding: 10px 12px; border: 1px dashed hsl(var(--mu-border)); border-radius: 12px; font-size: .8rem; line-height: 1.45; color: hsl(var(--mu-text-muted)); }
.mp-lock b { display: block; color: hsl(var(--mu-text)); }
.mp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid hsl(var(--mu-border)); border-radius: 99px; background: hsl(var(--mu-card)); font: inherit; font-size: .76rem; font-weight: 600; color: hsl(var(--mu-text-muted)); white-space: nowrap; cursor: pointer; }
.mp-chip b { font-weight: 800; color: hsl(var(--mu-text)); }
.mp-chip.is-on { border-color: hsl(var(--mu-accent)); background: hsl(var(--mu-accent-soft)); color: hsl(var(--mu-accent-text)); }
.mp-near { margin-top: 14px; }
.mp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid hsl(var(--mu-border)); border-radius: 14px; }
.mp-stats > * { min-width: 0; padding: 9px 2px 8px; text-align: center; } .mp-stats > * + * { border-left: 1px solid hsl(var(--mu-border)); }
.mp-stat { display: block; width: 100%; margin: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: background .15s; }
.mp-stat:first-child { border-radius: 13px 0 0 13px; } .mp-stat:last-child { border-radius: 0 13px 13px 0; }
.mp-stats > .mp-stat + .mp-stat { border-left: 1px solid hsl(var(--mu-border)); }   /* tlačítko má border:0 — dělicí čára se musí vrátit silnějším pravidlem */
.mp-stat:hover { background: hsl(var(--mu-accent-soft)); } .mp-stat:focus-visible { outline: 2px solid hsl(142 70% 34%); outline-offset: -2px; }
.mp-stats b { display: block; font: 800 1.35rem/1.1 'Montserrat', sans-serif; color: hsl(var(--mu-text)); }
.mp-stats span { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 600; color: hsl(var(--mu-text-muted)); white-space: nowrap; }
.mp-stats .live b { color: hsl(var(--mu-accent-text)); }
.mp-mine { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 1px solid hsl(var(--mu-border)); border-radius: 12px; background: hsl(var(--mu-subtle)); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.mp-mine:hover { border-color: hsl(var(--mu-accent)); }
.mp-mine > span { flex: 1; min-width: 0; line-height: 1.25; } .mp-mine b { display: block; font-size: .84rem; } .mp-mine small { display: block; font-size: .74rem; color: hsl(var(--mu-text-muted)); }
.mp-mine i { font-style: normal; font-weight: 800; color: hsl(var(--mu-text-muted)); }
.mp-ask { padding: 10px 12px; border: 1.5px dashed var(--mp-gold); border-radius: 12px; background: var(--mp-gold-soft); font-size: .8rem; line-height: 1.4; color: hsl(var(--mu-text)); }
.mp-ask b { display: block; font-size: .86rem; }
.mp-ask button { margin-top: 8px; padding: 7px 14px; border: 0; border-radius: 9px; background: hsl(142 70% 34%); color: #fff; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }

/* ── Mapa (SVG) ── */
.mp-svg { display: block; width: 100%; height: auto; overflow: hidden; }
.mp-land { fill: var(--mp-land); stroke: var(--mp-land); stroke-linejoin: round; }
.mp-dots { fill: none; stroke: var(--mp-dot); stroke-linecap: round; }
/* Čistá mapa bez teček (výchozí): země je o stupeň sytější, ať má obrys a města na ní vyniknou */
.mp-svg--plain .mp-land { fill: var(--mp-land2); stroke: var(--mp-land2); }
.mp-far { fill: var(--mp-home); opacity: .55; pointer-events: none; }
.mp-c { cursor: pointer; outline: none; }
.mp-c__a { fill: var(--mp-live); fill-opacity: .15; stroke: var(--mp-live); stroke-opacity: .42; transition: fill-opacity .15s; }
.mp-c__c { fill: var(--mp-home); }
.mp-c.on .mp-c__c { fill: var(--mp-live); }
body.mu-dark .mp-c.on .mp-c__c { filter: drop-shadow(0 0 4px #4cff00); }
.mp-c:hover .mp-c__a, .mp-c:focus-visible .mp-c__a { fill-opacity: .3; }
.mp-c.is-sel .mp-c__a { fill-opacity: .36; stroke-opacity: 1; }
.mp-c.is-dim { opacity: .2; }
.mp-c__me { fill: none; stroke: var(--mp-gold); }
.mp-c__p { fill: var(--mp-live); opacity: 0; transform-box: fill-box; transform-origin: center; animation: mp-ring 2.6s ease-out infinite; pointer-events: none; }
@keyframes mp-ring { from { transform: scale(.4); opacity: .5; } to { transform: scale(1.8); opacity: 0; } }
.mp-c text { font-family: 'Montserrat', sans-serif; font-weight: 800; fill: hsl(var(--mu-text)); paint-order: stroke; stroke: hsl(var(--mu-card)); stroke-linejoin: round; }
.mp-c .mp-face circle { stroke: hsl(var(--mu-card)); }
.mp-c .mp-face text { fill: #1d2b23; stroke: none; text-anchor: middle; }
.mp-c .mp-face image { clip-path: circle(50%); }
.mp-c text.mp-more { fill: hsl(var(--mu-accent-text)); }
@media (prefers-reduced-motion: reduce) { .mp-c__p, .mp-dot { animation: none; } .mp-c__p { opacity: .25; } }

/* ── Pravý panel na počítači ── */
.mp { display: flex; flex-direction: column; gap: 10px; min-width: 0; color: hsl(var(--mu-text)); }
.mp[hidden] { display: none; }
.mp-head { display: flex; align-items: center; gap: 8px; }
.mp-head b { font: 800 .98rem 'Montserrat', sans-serif; }
.mp-max, .mp-edit { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 1px solid hsl(var(--mu-border)); border-radius: 99px; background: hsl(var(--mu-card)); font: inherit; font-size: .74rem; font-weight: 700; color: hsl(var(--mu-accent-text)); white-space: nowrap; cursor: pointer; }
.mp-max { margin-left: auto; } .mp-edit { padding: 5px 8px; color: hsl(var(--mu-text-muted)); }
.mp-max:hover, .mp-edit:hover { background: hsl(var(--mu-accent-soft)); }
.mp-map { margin: 0 -4px; }
.mp-cta { display: block; padding: 10px 14px; border: 0; border-radius: 12px; background: hsl(142 70% 34%); color: #fff; font: inherit; font-size: .88rem; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.mp-cta:hover { filter: brightness(1.07); }
.mp-pitch { padding: 10px 12px; border-radius: 12px; background: hsl(var(--mu-accent) / .08); font-size: .78rem; line-height: 1.45; color: hsl(var(--mu-text-muted)); text-align: center; }
.mp-pitch b { color: hsl(var(--mu-accent-text)); }
.mp-pitch .mp-cta { margin-top: 8px; }
/* Když mapa běží: starou kartu „David Vaš Inside" schovej, mapa je první, kurz se smrskne na jeden řádek pod ní. */
.mu-sidebar__kurz { display: contents; }
@media (min-width: 960px) {
  .mu-sidebar--parta > * { order: 3; }
  .mu-sidebar--parta > #mu-side-custom { order: 0; }
  .mu-sidebar--parta > .mp { order: 1; }
  .mu-sidebar--parta > .mu-sidebar__kurz { order: 2; }
  .mu-sidebar--parta > .mu-side-inside { display: none; }
  .mu-sidebar--parta > .mu-sidebar__kurz { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding-top: 12px; border-top: 1px solid hsl(var(--mu-border)); }
  .mu-sidebar--parta > .mu-sidebar__kurz > .mu-sidebar__live, .mu-sidebar--parta > .mu-sidebar__kurz > .mu-sidebar__brand,
  .mu-sidebar--parta > .mu-sidebar__kurz > .mu-sidebar__stat, .mu-sidebar--parta > .mu-sidebar__kurz > .mu-sidebar__divider { display: none; }
  .mu-sidebar--parta > .mu-sidebar__kurz > .mu-sidebar__progress { grid-column: 1; min-width: 0; margin: 0; }
  .mu-sidebar--parta > .mu-sidebar__kurz > .mu-sidebar__cta { grid-column: 2; grid-row: 1; margin: 0; padding: 6px 12px; border-radius: 99px; font-size: .76rem; white-space: nowrap; }
  .mu-sidebar--parta.mu-sidebar--nokurz > .mu-sidebar__kurz { display: none; }
  /* Komunita si panel půjčuje: původní obsah zůstává v dokumentu (jen schovaný), ať ho appka může dál plnit */
  .mu-sidebar--kom > *:not(.mu-kp-wrap) { display: none !important; }
}
.mu-kp-wrap { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* ── Karta na telefonu (Přehled, hned pod prstencem) ── */
.mp-slot { display: none; }
@media (max-width: 959.98px) { .mp-slot { display: block; min-width: 0; } }
@media (max-width: 1199.98px) { .mu-hero > .mp-slot { order: 1; } }
.mp-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 10px; align-items: center; width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid hsl(var(--mu-border)); border-radius: 16px; background: hsl(var(--mu-card)); font: inherit; color: hsl(var(--mu-text)); text-align: left; cursor: pointer; }
.mp-card__n { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: .78rem; line-height: 1.25; color: hsl(var(--mu-text-muted)); }
.mp-card__n strong { display: flex; align-items: center; gap: 6px; margin: 0 0 3px; font: 800 .9rem 'Montserrat', sans-serif; color: hsl(var(--mu-text)); white-space: nowrap; }
.mp-card__n b { font: 800 .95rem 'Montserrat', sans-serif; color: hsl(var(--mu-text)); }
.mp-card__n .live b { color: hsl(var(--mu-accent-text)); }
.mp-card__n .my { margin-top: 3px; overflow: hidden; font-weight: 700; color: hsl(var(--mu-accent-text)); text-overflow: ellipsis; white-space: nowrap; } .mp-card__n .my b { font-size: .82rem; color: inherit; }
.mp-card__n .my--ask { color: var(--mp-gold); }
.mp-card__max { position: absolute; left: 6px; top: 6px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid hsl(var(--mu-border)); border-radius: 50%; background: hsl(var(--mu-card)); font-size: .85rem; color: hsl(var(--mu-accent-text)); }

/* ── Zvětšená mapa (okno přes celou obrazovku) ── */
.mp-big { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 18, 12, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.mp-big.is-open { display: flex; }
.mp-big__win { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: minmax(0, 1fr); width: 100%; max-width: 1280px; height: 100%; max-height: 860px; overflow: hidden;
  border: 1px solid hsl(var(--mu-border)); border-radius: 18px; background: hsl(var(--mu-card)); color: hsl(var(--mu-text)); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.mp-big__map { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 14px 16px 12px; }
.mp-big__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; }
.mp-big__top > b { margin-right: 4px; font: 800 1.05rem 'Montserrat', sans-serif; }
.mp-big__x { display: grid; place-items: center; width: 34px; height: 34px; margin-left: 4px; padding: 0; border: 1px solid hsl(var(--mu-border)); border-radius: 50%; background: hsl(var(--mu-card)); font-size: 1rem; font-weight: 700; color: hsl(var(--mu-text)); cursor: pointer; }
.mp-zoom { display: inline-flex; flex: none; gap: 5px; margin-left: auto; }
.mp-zoom button { width: 34px; height: 34px; padding: 0; border: 1px solid hsl(var(--mu-border)); border-radius: 10px; background: hsl(var(--mu-card)); font-size: 1rem; font-weight: 800; line-height: 1; color: hsl(var(--mu-text)); cursor: pointer; }
.mp-zoom button:hover { background: hsl(var(--mu-accent-soft)); }
.mp-zm { display: flex; flex: 1; min-height: 0; min-width: 0; overflow: hidden; border-radius: 12px; }
.mp-zm .mp-svg { flex: 1; min-height: 0; height: auto; }
.mp-zm.can-pan { cursor: grab; touch-action: none; } .mp-zm.is-drag { cursor: grabbing; }
.mp-big__lg { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0; font-size: .72rem; font-weight: 600; color: hsl(var(--mu-text-muted)); }
.mp-big__lg i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 50%; vertical-align: -1px; }
.mp-big__side { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; padding: 14px; border-left: 1px solid hsl(var(--mu-border)); overflow: hidden; }
.mp-q { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid hsl(var(--mu-border)); border-radius: 11px; background: hsl(var(--mu-subtle)); color: hsl(var(--mu-text)); font: inherit; font-size: 16px; }
.mp-cities { flex: 1; min-height: 0; margin: 0; padding: 0; overflow: auto; list-style: none; }
.mp-cities button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: .88rem; color: inherit; text-align: left; cursor: pointer; }
.mp-cities button:hover { background: hsl(var(--mu-subtle)); }
.mp-cities .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-cities .on { flex: none; font-size: .72rem; font-weight: 700; color: hsl(var(--mu-accent-text)); white-space: nowrap; }
.mp-cities .dn { flex: none; font-size: .72rem; font-weight: 700; color: hsl(var(--mu-text-muted)); white-space: nowrap; }
.mp-cities .n { flex: none; margin-left: auto; font: 800 .9rem 'Montserrat', sans-serif; }
.mp-cities .bar { flex: none; width: 46px; height: 5px; overflow: hidden; border-radius: 99px; background: hsl(var(--mu-subtle)); } .mp-cities .bar i { display: block; height: 100%; border-radius: inherit; background: hsl(var(--mu-accent)); }
.mp-det { flex: 1; min-height: 0; overflow: auto; }
.mp-det h4 { margin: 0 0 2px; font: 800 1.1rem 'Montserrat', sans-serif; } .mp-det > p { margin: 0 0 8px; font-size: .8rem; color: hsl(var(--mu-text-muted)); } .mp-det > p b { color: hsl(var(--mu-accent-text)); }
.mp-det .mp-bk { margin: 0 0 10px; }
.mp-fline { display: none; }
.mp-fchips { display: none; }
@media (max-width: 760px) {
  .mp-big { padding: 0; align-items: stretch; }
  .mp-big__win { display: block; max-width: none; max-height: none; height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; border: 0; border-radius: 0;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .mp-big__map { padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 0; }
  .mp-big__top > b { flex: 1; margin: 0; }
  .mp-big__top .mp-chip { display: none; }
  .mp-zoom { flex-basis: auto; }
  .mp-fline { display: flex; align-items: center; gap: 6px; flex: 1 1 100%; order: 5; margin: 2px 0 0; font-size: .78rem; color: hsl(var(--mu-text-muted)); } .mp-fline b { color: hsl(var(--mu-text)); }
  .mp-zm { flex: none; border: 1px solid hsl(var(--mu-border)); border-radius: 14px; }
  .mp-zm .mp-svg { flex: none; width: 100%; }
  .mp-big__lg { display: none; }
  .mp-fchips { display: flex; gap: 6px; margin: 8px -14px 0; padding: 2px 14px; overflow-x: auto; scrollbar-width: none; } .mp-fchips::-webkit-scrollbar { display: none; }
  .mp-fchips .mp-chip { flex: none; }
  .mp-big__side { padding: 10px 14px 0; border-left: 0; overflow: visible; }
  .mp-cities, .mp-det { overflow: visible; }
  .mp-cities { max-height: none; }
}

/* ── Výběr města (profil, „Kde běháš?") ── */
.mp-pick { display: block; margin: 4px 0; max-width: 420px; text-align: left; }
.mp-pick__row { display: flex; gap: 6px; }
.mp-pick input[type=text] { flex: 1; min-width: 0; box-sizing: border-box; padding: 8px 10px; border: 1px solid hsl(var(--mu-border)); border-radius: 10px; background: hsl(var(--mu-card)); color: hsl(var(--mu-text)); font: inherit; font-size: 16px; }
.mp-pick__save { flex: none; padding: 8px 14px; border: 0; border-radius: 10px; background: hsl(142 70% 34%); color: #fff; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.mp-pick__save:disabled { opacity: .6; cursor: default; }
.mp-pick__sug { margin: 6px 0 0; padding: 4px; border: 1px solid hsl(var(--mu-border)); border-radius: 12px; background: hsl(var(--mu-card)); list-style: none; }
.mp-pick__sug:empty { display: none; }
.mp-pick__sug button { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: none; font: inherit; font-size: .88rem; color: hsl(var(--mu-text)); text-align: left; cursor: pointer; }
.mp-pick__sug button:hover, .mp-pick__sug button.is-on { background: hsl(var(--mu-accent-soft)); }
.mp-pick__sug small { margin-left: auto; font-size: .74rem; color: hsl(var(--mu-text-muted)); white-space: nowrap; }
.mp-pick__ok { margin: 6px 0 0; font-size: .8rem; font-weight: 700; color: hsl(var(--mu-accent-text)); }
.mp-pick__note { margin: 6px 0 0; font-size: .76rem; line-height: 1.4; color: hsl(var(--mu-text-muted)); }
/* 👁 Ukazovat mě na mapě party — přepínač nahoře ve výběru města, ukládá se hned */
.mp-pick__vis { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid hsl(var(--mu-border)); border-radius: 12px; background: hsl(var(--mu-subtle)); cursor: pointer; }
.mp-pick__vis input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: hsl(142 70% 34%); }
.mp-pick__vis b { display: block; font-size: .86rem; color: hsl(var(--mu-text)); } .mp-pick__vis small { display: block; margin-top: 2px; font-size: .74rem; line-height: 1.4; color: hsl(var(--mu-text-muted)); }
/* 🏃 Soukromá pozvánka na běh */
.mp-poz { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.mp-poz label { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: .8rem; font-weight: 700; color: hsl(var(--mu-text)); } .mp-poz label small { font-weight: 500; color: hsl(var(--mu-text-muted)); }
.mp-poz input, .mp-poz textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid hsl(var(--mu-border)); border-radius: 10px; background: hsl(var(--mu-card)); color: hsl(var(--mu-text)); font: inherit; font-size: 16px; font-weight: 400; }
.mp-poz textarea { resize: vertical; min-height: 56px; }
.mp-poz__r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.mp-poz__nahled { padding: 10px 12px; border-left: 3px solid hsl(142 70% 34%); border-radius: 0 10px 10px 0; background: hsl(var(--mu-subtle)); font-size: .82rem; line-height: 1.45; white-space: pre-line; color: hsl(var(--mu-text)); }
.mp-poz__row { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-poz__row button { padding: 10px 16px; border: 1px solid hsl(var(--mu-border)); border-radius: 11px; background: hsl(var(--mu-card)); color: hsl(var(--mu-text)); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.mp-poz__row button.pri { border-color: transparent; background: hsl(142 70% 34%); color: #fff; }
@media (max-width: 360px) { .mp-poz__r { grid-template-columns: minmax(0, 1fr); } }
.mp-pick__cancel { margin: 8px 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: .78rem; font-weight: 700; color: hsl(var(--mu-text-muted)); cursor: pointer; }

/* ── Nastavení pro Davida ── */
.mp-ed { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.mp-ed label.chk { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.35; cursor: pointer; }
.mp-ed label.chk input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: hsl(142 70% 34%); }
.mp-ed label.chk small { display: block; font-size: .78rem; color: hsl(var(--mu-text-muted)); }
.mp-ed .fld { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 700; }
.mp-ed .fld input { box-sizing: border-box; width: 100%; padding: 9px 11px; border: 1px solid hsl(var(--mu-border)); border-radius: 10px; background: hsl(var(--mu-card)); color: hsl(var(--mu-text)); font: inherit; font-size: 16px; font-weight: 400; }
.mp-ed .info { padding: 10px 12px; border-radius: 12px; background: hsl(var(--mu-subtle)); font-size: .82rem; line-height: 1.5; color: hsl(var(--mu-text-muted)); }
.mp-ed .info b { color: hsl(var(--mu-text)); }
.mp-ed .row { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-ed .row button { padding: 10px 16px; border: 1px solid hsl(var(--mu-border)); border-radius: 11px; background: hsl(var(--mu-card)); color: hsl(var(--mu-text)); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.mp-ed .row button.pri { border-color: transparent; background: hsl(142 70% 34%); color: #fff; }
/* 👥 Kdo se počítá — seznam pro Davida */
.mp-kdo { max-height: min(52vh, 460px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid hsl(var(--mu-border)); border-radius: 12px; }
.mp-kdo h4 { position: sticky; top: 0; z-index: 1; margin: 0; padding: 8px 12px; background: hsl(var(--mu-subtle)); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--mu-text-muted)); }
.mp-kdo p { margin: 0; padding: 10px 12px; font-size: .84rem; color: hsl(var(--mu-text-muted)); }
.mp-kdo__r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; width: 100%; padding: 8px 12px; border: 0; border-top: 1px solid hsl(var(--mu-border)); background: none; color: hsl(var(--mu-text)); font: inherit; font-size: .86rem; text-align: left; cursor: pointer; }
.mp-kdo__r:hover { background: hsl(var(--mu-accent-soft)); }
.mp-kdo__r b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-kdo__tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.mp-kdo__sub { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: hsl(var(--mu-text-muted)); font-size: .76rem; }
.mp-tag { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border: 1px solid hsl(var(--mu-border)); border-radius: 99px; background: hsl(var(--mu-subtle)); font-style: normal; font-size: .7rem; font-weight: 700; white-space: nowrap; color: hsl(var(--mu-text)); }
.mp-tag--koucink, .mp-tag--plus, .mp-tag--inside { border-color: hsl(142 45% 70%); background: hsl(var(--mu-accent-soft)); color: hsl(var(--mu-accent-text)); }
.mp-tag--zdarma { color: hsl(var(--mu-text-muted)); font-weight: 600; }
body.mu-dark .mp-tag--koucink, body.mu-dark .mp-tag--plus, body.mu-dark .mp-tag--inside { border-color: hsl(142 40% 28%); }
.mp-kdo-fs { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-kdo-f { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 1px solid hsl(var(--mu-border)); border-radius: 99px; background: hsl(var(--mu-card)); color: hsl(var(--mu-text)); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.mp-kdo-f b { color: hsl(var(--mu-text-muted)); }
.mp-kdo-f.is-on { border-color: transparent; background: hsl(142 70% 34%); color: #fff; } .mp-kdo-f.is-on b { color: #fff; }
.mp-kdo-f:disabled { opacity: .45; cursor: default; }
.mp-kdo-pozn { margin: -4px 0 0; font-size: .74rem; line-height: 1.45; color: hsl(var(--mu-text-muted)); }
@media (max-width: 420px) { .mp-kdo__r { grid-template-columns: minmax(0, 1fr); } .mp-kdo__tags { justify-content: flex-start; } }
