/* ============================================================
   Můj účet — Skool-like hub (/muj-ucet/)
   Top navbar + 5 tabs + 2-col layout (main + sticky right sidebar)
   ============================================================ */

.mu-body {
  background: hsl(150 30% 97%);
  color: hsl(var(--foreground));
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.mu-body main { flex: 1; }

/* ── Container širší než container-narrow (Skool má wide) ── */
.container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ── Top navbar ───────────────────────────────────────────── */
.mu-navbar {
  background: #fff;
  border-bottom: 1px solid hsl(150, 15%, 88%);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 1px 0 hsl(150, 15%, 92%);
}
.mu-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
}
.mu-navbar .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: hsl(150, 30%, 14%);
  text-decoration: none;
}
.mu-navbar .brand-accent { color: hsl(142, 70%, 38%); }
.mu-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Top tabs (Skool-like) ─────────────────────────────────── */
.mu-tabs {
  background: #fff;
  border-bottom: 1px solid hsl(150, 15%, 88%);
  position: sticky;
  top: 60px;
  z-index: 20;
}
.mu-tabs-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
.mu-tab-btn {
  flex-shrink: 0;
  padding: 16px 18px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  font-family: inherit;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.mu-tab-btn:hover { color: hsl(var(--foreground)); }
.mu-tab-btn.active {
  color: hsl(142, 70%, 38%);
  border-bottom-color: hsl(142, 70%, 45%);
}

/* ── Layout (main + right sidebar) ─────────────────────────── */
.mu-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 28px 16px 80px;
}
@media (min-width: 960px) {
  .mu-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
    padding: 32px 16px 96px;
  }
}
@media (min-width: 1200px) {
  .mu-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
.mu-main {
  min-width: 0;
}
.mu-section-title {
  margin: 0 0 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: hsl(150, 30%, 14%);
}

/* ── Sticky right sidebar (RUNFLOW widget) ─────────────────── */
.mu-sidebar {
  display: none;
}
@media (min-width: 960px) {
  .mu-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border: 1px solid hsl(150, 15%, 88%);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 6px 18px hsla(150, 40%, 12%, 0.06);
    position: sticky;
    top: 124px;
    align-self: start;
    height: fit-content;
  }
}
.mu-sidebar__brand {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid hsl(150, 15%, 92%);
}
.mu-sidebar__logo {
  max-width: 200px;
  max-height: 84px;
  width: 100%;
  height: auto;
  display: inline-block;
  object-fit: contain;
}
.mu-sidebar__logo-fallback {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: hsl(150, 30%, 14%);
}
.mu-sidebar__logo-fallback b {
  color: hsl(142, 70%, 38%);
  font-weight: 900;
}
.mu-sidebar__brand small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ── LIVE / Status badge ──────────────────────────────────── */
.mu-sidebar__live {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  background: hsl(150, 30%, 92%);
  border: 1px solid hsl(150, 25%, 80%);
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: hsl(150, 30%, 25%);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.mu-sidebar__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(150, 20%, 50%);
  display: inline-block;
}
.mu-sidebar__live.is-live {
  background: linear-gradient(135deg, hsl(0, 85%, 95%) 0%, hsl(15, 90%, 92%) 100%);
  border-color: hsl(0, 75%, 75%);
  color: hsl(0, 75%, 38%);
}
.mu-sidebar__live.is-live .mu-sidebar__live-dot {
  background: hsl(0, 80%, 50%);
  box-shadow: 0 0 0 0 hsla(0, 80%, 50%, 0.6);
  animation: mu-live-pulse 1.6s infinite;
}
.mu-sidebar__live.is-done {
  background: hsl(142, 70%, 92%);
  border-color: hsl(142, 50%, 75%);
  color: hsl(142, 70%, 25%);
}
.mu-sidebar__live.is-done .mu-sidebar__live-dot {
  background: hsl(142, 70%, 38%);
}
@keyframes mu-live-pulse {
  0%   { box-shadow: 0 0 0 0 hsla(0, 80%, 50%, 0.6); transform: scale(1); }
  70%  { box-shadow: 0 0 0 8px hsla(0, 80%, 50%, 0); transform: scale(1.15); }
  100% { box-shadow: 0 0 0 0 hsla(0, 80%, 50%, 0); transform: scale(1); }
}

/* ── CTA pro další ročník — nalákat pozorovatele ───────────── */
.mu-sidebar__next {
  background: linear-gradient(135deg, hsl(150, 30%, 97%) 0%, hsl(142, 50%, 95%) 100%);
  border: 1px solid hsl(142, 50%, 85%);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
  margin-top: 4px;
}
.mu-sidebar__next strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: hsl(150, 30%, 14%);
  margin-bottom: 4px;
}
.mu-sidebar__next p {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: hsl(150, 20%, 32%);
  line-height: 1.4;
}
.mu-sidebar__next-btn {
  display: inline-block;
  background: hsl(142, 70%, 42%);
  color: #fff;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.mu-sidebar__next-btn:hover {
  background: hsl(142, 70%, 48%);
  transform: translateY(-1px);
}
.mu-sidebar__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: hsl(150, 30%, 97%);
  border-radius: 10px;
  text-align: center;
}
.mu-sidebar__stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: hsl(142, 70%, 32%);
  line-height: 1;
}
.mu-sidebar__stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mu-sidebar__cta {
  margin-top: 4px;
  background: hsl(142, 70%, 45%);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.mu-sidebar__cta:hover {
  background: hsl(142, 70%, 50%);
  transform: translateY(-1px);
}
.mu-sidebar__divider {
  height: 1px;
  background: hsl(150, 15%, 92%);
  margin: 4px 0;
}
.mu-sidebar__progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mu-sidebar__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
}
.mu-sidebar__progress-label strong {
  color: hsl(150, 30%, 14%);
  font-weight: 800;
}
.mu-sidebar__progress-bar {
  height: 8px;
  background: hsl(150, 25%, 92%);
  border-radius: 999px;
  overflow: hidden;
}
.mu-sidebar__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, hsl(142, 70%, 45%), hsl(150, 60%, 38%));
  border-radius: 999px;
  transition: width 0.6s ease;
}

/* ── Grid dlaždic produktů (Obsah) ─────────────────────────── */
.mu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .mu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .mu-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}

.mu-tile {
  --mu-accent: 142 70% 35%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid hsl(150, 15%, 88%);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px hsla(150, 40%, 12%, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.mu-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px hsla(150, 40%, 12%, 0.1);
  border-color: hsl(var(--mu-accent));
}
.mu-tile-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, hsl(var(--mu-accent) / 1) 0%, hsl(var(--mu-accent) / 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mu-tile-icon {
  font-size: 3rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
}
.mu-tile-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  color: hsl(150, 30%, 14%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}
.mu-tile-content { padding: 16px 18px; }
.mu-tile-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  color: hsl(var(--mu-accent));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.mu-tile h3 {
  margin: 0 0 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: hsl(150, 30%, 14%);
}
.mu-tile p {
  margin: 0 0 10px;
  color: hsl(150, 15%, 32%);
  font-size: 0.92rem;
  line-height: 1.5;
}
.mu-tile-progress {
  background: hsl(150, 25%, 92%);
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.mu-tile-progress span {
  display: block;
  height: 100%;
  background: hsl(var(--mu-accent));
  border-radius: 999px;
}
.mu-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: hsl(var(--mu-accent));
  font-weight: 800;
  font-size: 0.92rem;
}

/* ── Empty state ───────────────────────────────────────────── */
.mu-empty {
  background: #fff;
  border: 1px dashed hsl(150, 20%, 78%);
  border-radius: 14px;
  padding: 40px 24px;
  text-align: center;
  color: hsl(var(--muted-foreground));
}
.mu-empty-icon { font-size: 3rem; margin-bottom: 14px; }
.mu-empty h2 {
  margin: 0 0 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: hsl(150, 30%, 14%);
}
.mu-empty p { margin: 0 0 18px; font-size: 0.92rem; }
.mu-empty-actions { display: inline-flex; gap: 10px; flex-wrap: wrap; }

/* ── Karty (profile) ───────────────────────────────────────── */
.mu-card {
  background: #fff;
  border: 1px solid hsl(150, 15%, 88%);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px hsla(150, 40%, 12%, 0.04);
}
.mu-card-title {
  margin: 0 0 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: hsl(150, 30%, 14%);
}
.mu-field {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid hsl(150, 15%, 94%);
  font-size: 0.92rem;
}
.mu-field:last-child { border-bottom: none; }
.mu-field-label {
  font-weight: 700;
  color: hsl(var(--muted-foreground));
}
.mu-access { list-style: none; padding: 0; margin: 0; }
.mu-access li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid hsl(150, 15%, 94%);
  font-size: 0.92rem;
}
.mu-access li:last-child { border-bottom: none; }
.mu-acc-icon { font-size: 1.2rem; }
.mu-acc-link {
  margin-left: auto;
  color: hsl(142, 70%, 38%);
  font-weight: 700;
  text-decoration: none;
}
.mu-acc-link:hover { text-decoration: underline; }
.mu-muted { color: hsl(var(--muted-foreground)); }

/* ── Loading ───────────────────────────────────────────────── */
.cs-loading { min-height: 60vh; }
.cs-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid hsla(145, 15%, 88%, 1);
  border-top-color: hsl(var(--primary));
  border-radius: 50%;
  animation: cs-spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes cs-spin { to { transform: rotate(360deg); } }
.cs-loading-inline {
  text-align: center;
  padding: 48px 20px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

.cs-footer {
  padding: 24px 16px;
  background: #fff;
  border-top: 1px solid hsl(150, 15%, 88%);
}

/* ── Reuse styles z /clenska-sekce/ pro komunita + bell + dropdown ── */
/* (cs-* classes z /clenska-sekce/styles.css zde nejsou — pro MUJ-UCET je inline reprodukujeme) */

/* Compose box */
.cs-compose { background:#fff; border:1px solid hsl(150,15%,88%); border-radius:14px; padding:16px 18px; box-shadow:0 6px 18px hsla(150,40%,12%,0.05); margin-bottom:16px; }
.cs-compose__head { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.cs-compose__avatar { font-size:1.4rem; width:36px; height:36px; background:hsl(150,30%,94%); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; }
.cs-compose__greet { font-family:'Montserrat',sans-serif; font-size:0.92rem; color:hsl(150,30%,14%); }
.cs-compose__body { width:100%; border:1px solid hsl(150,20%,85%); border-radius:10px; padding:10px 12px; font-family:inherit; font-size:0.95rem; resize:vertical; min-height:64px; background:hsl(150,30%,99%); color:hsl(150,30%,14%); }
.cs-compose__body:focus { outline:none; border-color:hsl(142,70%,50%); box-shadow:0 0 0 3px hsla(142,70%,50%,0.14); }
.cs-compose__meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-top:10px; }
.cs-compose__type-chips { display:flex; gap:6px; flex-wrap:wrap; }
.cs-type-chip { background:hsl(150,30%,96%); border:1px solid hsl(150,20%,85%); border-radius:999px; padding:5px 12px; font-family:inherit; font-size:0.84rem; font-weight:600; color:hsl(150,20%,30%); cursor:pointer; }
.cs-type-chip.active { background:hsl(142,70%,45%); border-color:hsl(142,70%,40%); color:#fff; }
.cs-compose__submit { background:hsl(142,70%,45%); border:1px solid hsl(142,70%,40%); color:#fff; border-radius:10px; padding:8px 18px; font-family:inherit; font-size:0.92rem; font-weight:700; cursor:pointer; }
.cs-compose__submit:hover { background:hsl(142,70%,50%); transform:translateY(-1px); }
.cs-compose__submit:disabled { opacity:0.6; cursor:not-allowed; }

/* Filter chips */
.cs-feed-filter { display:flex; gap:8px; flex-wrap:wrap; padding:0 4px; margin-bottom:14px; }
.cs-filter-chip { background:#fff; border:1px solid hsl(150,20%,85%); border-radius:999px; padding:6px 14px; font-family:inherit; font-size:0.88rem; font-weight:600; color:hsl(150,20%,30%); cursor:pointer; }
.cs-filter-chip.active { background:hsl(150,30%,14%); border-color:hsl(150,30%,14%); color:#fff; }

/* Feed post */
.cs-feed-list { display:flex; flex-direction:column; gap:12px; }
.cs-feed-post { background:#fff; border:1px solid hsl(150,15%,88%); border-radius:14px; padding:16px 18px; box-shadow:0 4px 14px hsla(150,40%,12%,0.04); }
.cs-feed-post__head { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.cs-feed-post__avatar { position:relative; font-size:1.3rem; width:38px; height:38px; background:hsl(150,30%,94%); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; }
.cs-level-badge { position:absolute; bottom:-3px; right:-3px; min-width:17px; height:17px; padding:0 3px; box-sizing:border-box; background:hsl(142,70%,38%); color:#fff; font-size:0.6rem; font-weight:800; line-height:1; border-radius:999px; border:2px solid #fff; display:inline-flex; align-items:center; justify-content:center; }

/* ── Komentáře ─────────────────────────────────────────────── */
.cs-comment-toggle { margin-left:auto; }
.cs-comments { margin-top:10px; padding-top:12px; border-top:1px solid hsl(150,15%,90%); }
.cs-comment-list { display:flex; flex-direction:column; gap:12px; }
.cs-comment { display:flex; gap:9px; align-items:flex-start; }
.cs-comment__avatar { position:relative; flex-shrink:0; font-size:1.05rem; width:32px; height:32px; background:hsl(150,30%,94%); border-radius:50%; display:inline-flex; align-items:center; justify-content:center; }
.cs-comment__avatar .cs-level-badge { min-width:15px; height:15px; font-size:0.52rem; bottom:-3px; right:-3px; }
.cs-comment__main { flex:1; min-width:0; }
.cs-comment__bubble { background:hsl(150,28%,96%); border-radius:14px; padding:8px 12px; }
.cs-comment__head { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-bottom:2px; }
.cs-comment__head strong { font-family:'Montserrat',sans-serif; font-size:0.85rem; font-weight:700; color:hsl(150,30%,16%); }
.cs-comment__head .cs-post-tags { margin:0; }
.cs-comment__body { font-size:0.9rem; line-height:1.45; color:hsl(150,18%,22%); word-break:break-word; }
.cs-comment__actions { display:flex; align-items:center; gap:12px; margin:4px 0 0 4px; }
.cs-comment__like { background:none; border:none; cursor:pointer; font-size:0.78rem; color:hsl(var(--muted-foreground)); padding:0; font-family:inherit; display:inline-flex; align-items:center; gap:4px; }
.cs-comment__like.is-active { color:hsl(0,75%,52%); font-weight:700; }
.cs-comment__time { font-size:0.72rem; color:hsl(var(--muted-foreground)); }
.cs-comment-empty { font-size:0.85rem; color:hsl(var(--muted-foreground)); padding:2px 2px 6px; }
.cs-comment-compose { display:flex; gap:8px; align-items:flex-end; margin-top:12px; }
.cs-comment-input { flex:1; min-width:0; resize:none; border:1px solid hsl(150,18%,84%); border-radius:12px; padding:9px 12px; font-family:inherit; font-size:0.9rem; line-height:1.4; background:#fff; color:hsl(var(--foreground)); max-height:120px; }
.cs-comment-input:focus { outline:none; border-color:hsl(142,60%,55%); box-shadow:0 0 0 3px hsla(142,60%,45%,0.12); }
.cs-comment-send { flex-shrink:0; background:hsl(142,70%,42%); color:#fff; border:none; border-radius:10px; padding:9px 16px; font-weight:700; font-size:0.85rem; cursor:pointer; font-family:inherit; transition:background 0.15s ease; }
.cs-comment-send:hover { background:hsl(142,70%,47%); }
.cs-comment-send:disabled { opacity:0.6; cursor:default; }
/* Moderace — mazání příspěvku/komentáře */
.cs-post-del { margin-left:auto; align-self:flex-start; background:none; border:none; cursor:pointer; font-size:0.95rem; line-height:1; opacity:0.4; padding:3px 5px; border-radius:7px; transition:opacity 0.15s ease, background 0.15s ease; }
.cs-post-del:hover { opacity:1; background:hsl(0,80%,96%); }
.cs-comment__del { background:none; border:none; cursor:pointer; font-size:0.74rem; color:hsl(var(--muted-foreground)); padding:0; font-family:inherit; }
.cs-comment__del:hover { color:hsl(0,72%,52%); text-decoration:underline; }
.cs-feed-post__author { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.cs-feed-post__author strong { font-family:'Montserrat',sans-serif; font-size:0.95rem; font-weight:700; color:hsl(150,30%,14%); }
.cs-feed-post__meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:0.75rem; color:hsl(var(--muted-foreground)); }
.cs-feed-post__type { background:hsl(142,70%,92%); color:hsl(142,70%,25%); padding:2px 8px; border-radius:999px; font-weight:700; }
.cs-feed-post__group { background:hsl(220,60%,95%); color:hsl(220,60%,35%); padding:2px 8px; border-radius:999px; font-weight:700; }
.cs-feed-post__body { margin:8px 0; font-size:0.96rem; line-height:1.55; color:hsl(150,15%,24%); word-break:break-word; }
.cs-feed-post__footer { display:flex; align-items:center; gap:8px; margin-top:8px; padding-top:10px; border-top:1px solid hsl(150,15%,92%); }
.cs-react-btn { background:hsl(150,30%,96%); border:1px solid hsl(150,20%,88%); border-radius:999px; padding:5px 12px; font-family:inherit; font-size:0.85rem; font-weight:600; color:hsl(150,20%,30%); cursor:pointer; }
.cs-react-btn.is-active { background:hsl(142,70%,92%); border-color:hsl(142,70%,60%); color:hsl(142,70%,22%); }
.cs-react-count { font-weight:700; margin-left:2px; }

/* Empty inline */
.cs-empty--inline { padding:20px 16px; background:hsl(150,30%,98%); border:1px dashed hsl(150,20%,78%); border-radius:10px; text-align:center; color:hsl(var(--muted-foreground)); font-size:0.9rem; }

/* ── F6.6 Skool-style compose rozšíření ─────────────────────── */
/* Sbalený stav (default) — jeden řádek */
.cs-compose--collapsed {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid hsl(150, 15%, 88%);
  border-radius: 14px;
  cursor: text;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px hsla(150, 40%, 12%, 0.04);
}
.cs-compose--collapsed:hover {
  border-color: hsl(142, 70%, 55%);
  box-shadow: 0 6px 18px hsla(142, 50%, 35%, 0.1);
}
.cs-compose--collapsed:focus-visible {
  outline: 2px solid hsl(142, 70%, 50%);
  outline-offset: 2px;
}
.cs-compose__placeholder {
  flex: 1;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
}

/* Rozbalený stav — tlačítko Zavřít v headeru */
.cs-compose--open .cs-compose__head {
  position: relative;
}
.cs-compose__close {
  margin-left: auto;
  background: hsl(150, 30%, 96%);
  border: 1px solid hsl(150, 20%, 85%);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: hsl(150, 20%, 30%);
  padding: 0;
}
.cs-compose__close:hover {
  background: hsl(0, 75%, 95%);
  border-color: hsl(0, 70%, 75%);
  color: hsl(0, 75%, 40%);
}

.cs-compose--rich { padding:14px 16px 12px; }
.cs-compose__title { width:100%; border:none; border-bottom:1px solid hsl(150,20%,90%); padding:8px 4px; font-family:'Montserrat',sans-serif; font-size:1.05rem; font-weight:700; color:hsl(150,30%,14%); background:transparent; margin-bottom:8px; }
.cs-compose__title:focus { outline:none; border-bottom-color:hsl(142,70%,50%); }
.cs-compose__title::placeholder { color:hsl(var(--muted-foreground)); font-weight:600; }
.cs-compose__toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; padding:8px 0 6px; border-top:1px solid hsl(150,15%,93%); margin-top:10px; }
.cs-compose__tools { display:flex; gap:4px; }
.cs-compose__icon-btn { background:transparent; border:1px solid transparent; border-radius:8px; padding:6px 10px; font-size:1.1rem; cursor:pointer; color:hsl(150,20%,30%); }
.cs-compose__icon-btn:hover { background:hsl(150,30%,95%); border-color:hsl(150,20%,85%); }
.cs-compose__type-chips { display:flex; gap:5px; flex-wrap:wrap; }
.cs-compose__status { color:hsl(var(--muted-foreground)); font-size:0.8rem; }
.cs-compose__link-row { display:flex; gap:6px; margin:8px 0; }
.cs-compose__link { flex:1; border:1px solid hsl(150,20%,85%); border-radius:8px; padding:8px 10px; font-family:inherit; font-size:0.92rem; background:hsl(150,30%,99%); }
.cs-compose__link:focus { outline:none; border-color:hsl(142,70%,50%); }
.cs-compose__image-preview { position:relative; margin:10px 0; max-width:320px; border-radius:12px; overflow:hidden; border:1px solid hsl(150,20%,85%); }
.cs-compose__image-preview img { width:100%; display:block; }
.cs-compose__image-remove { position:absolute; top:6px; right:6px; background:hsla(0,0%,0%,0.6); color:#fff; border:none; width:28px; height:28px; border-radius:50%; padding:0; }
.cs-compose__image-remove:hover { background:hsla(0,0%,0%,0.8); }

/* ── „Můj běh" compose segment ────────────────────────────── */
.cs-myrun { background:linear-gradient(135deg, hsl(142,70%,96%) 0%, hsl(150,60%,97%) 100%); border:1px solid hsl(142,70%,88%); border-radius:12px; padding:14px 16px; margin:10px 0; }
.cs-myrun__title { font-family:'Montserrat',sans-serif; font-size:0.95rem; font-weight:800; color:hsl(142,70%,25%); margin-bottom:10px; }
.cs-myrun__row { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; margin-bottom:8px; }
@media (max-width:640px) { .cs-myrun__row { grid-template-columns:1fr; } }
.cs-myrun__field { display:flex; flex-direction:column; gap:4px; }
.cs-myrun__field > span { font-size:0.76rem; font-weight:700; color:hsl(150,20%,30%); text-transform:uppercase; letter-spacing:0.04em; }
.cs-myrun__field input, .cs-myrun__field select { border:1px solid hsl(150,20%,82%); border-radius:8px; padding:8px 10px; font-family:inherit; font-size:0.95rem; background:#fff; color:hsl(150,30%,14%); }
.cs-myrun__field input:focus, .cs-myrun__field select:focus { outline:none; border-color:hsl(142,70%,50%); box-shadow:0 0 0 3px hsla(142,70%,50%,0.14); }
.cs-myrun__time { display:flex; align-items:center; gap:4px; }
.cs-myrun__time input { width:70px; text-align:center; }
.cs-myrun__pace { background:hsla(142,70%,55%,0.12); border:1px solid hsl(142,70%,75%); border-radius:8px; padding:6px 10px; align-items:center; text-align:center; }
.cs-myrun__pace > span { color:hsl(142,70%,25%); }
.cs-myrun__pace-value { font-family:'Montserrat',sans-serif; font-size:1.4rem; font-weight:900; color:hsl(142,70%,28%); line-height:1; }
.cs-myrun__pace small { font-size:0.7rem; color:hsl(150,20%,40%); }
.cs-myrun__feeling { display:flex; gap:4px; }
.cs-myrun__feeling button { background:hsl(150,30%,98%); border:1px solid hsl(150,20%,85%); border-radius:8px; padding:6px 8px; font-size:1.2rem; cursor:pointer; flex:1; }
.cs-myrun__feeling button.active { background:hsl(142,70%,90%); border-color:hsl(142,70%,55%); transform:scale(1.05); }

/* ── Big-numbers karta v feed postu pro „Můj běh" ───────────── */
.cs-runcard { background:linear-gradient(135deg, hsl(142,70%,30%) 0%, hsl(150,60%,22%) 100%); color:#fff; border-radius:12px; padding:14px 18px; margin:10px 0; }
.cs-runcard__top { display:flex; align-items:center; gap:10px; font-size:0.82rem; font-weight:700; flex-wrap:wrap; margin-bottom:10px; }
.cs-runcard__kind { background:hsla(0,0%,100%,0.18); padding:3px 10px; border-radius:999px; }
.cs-runcard__feeling { font-size:1.2rem; }
.cs-runcard__loc { color:hsla(0,0%,100%,0.86); font-weight:600; }
.cs-runcard__metrics { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
.cs-runcard__metric { display:flex; flex-direction:column; align-items:center; gap:2px; background:hsla(0,0%,100%,0.1); border-radius:10px; padding:10px 6px; }
.cs-runcard__val { font-family:'Montserrat',sans-serif; font-size:1.65rem; font-weight:900; line-height:1; letter-spacing:-0.02em; }
.cs-runcard__unit { font-size:0.7rem; font-weight:700; color:hsla(0,0%,100%,0.78); text-transform:uppercase; letter-spacing:0.06em; }

/* ── Feed post rozšíření (title, image, link) ─────────────── */
.cs-feed-post__title { font-family:'Montserrat',sans-serif; font-size:1.08rem; font-weight:800; color:hsl(150,30%,14%); margin:6px 0 4px; }
.cs-feed-post__image { display:block; margin:10px 0; border-radius:12px; overflow:hidden; border:1px solid hsl(150,15%,90%); }
.cs-feed-post__image img { width:100%; display:block; }
.cs-feed-post__link { display:inline-flex; align-items:center; gap:6px; margin:6px 0; padding:8px 12px; background:hsl(150,30%,97%); border:1px solid hsl(150,20%,86%); border-radius:8px; color:hsl(142,70%,28%); font-size:0.88rem; font-weight:600; text-decoration:none; word-break:break-all; }
.cs-feed-post__link:hover { background:hsl(150,30%,94%); }
.cs-feed-post--run { border-left:4px solid hsl(142,70%,45%); }

/* Dropdown (user menu) */
.cs-dropdown { position:relative; }
.cs-dropdown__trigger { display:inline-flex; align-items:center; gap:6px; padding:7px 12px; background:hsl(150,30%,96%); border:1px solid hsl(150,25%,86%); border-radius:999px; color:hsl(150,30%,14%); font-size:0.88rem; font-weight:600; font-family:inherit; cursor:pointer; }
.cs-dropdown__trigger:hover { background:hsl(150,30%,92%); }
.cs-dropdown__trigger--user { background:linear-gradient(135deg, hsl(142,70%,45%) 0%, hsl(150,60%,35%) 100%); border-color:hsl(142,70%,35%); color:#fff; }
.cs-dropdown__caret { font-size:0.7rem; opacity:0.7; margin-left:2px; }
.cs-dropdown__menu { position:absolute; top:calc(100% + 8px); right:0; min-width:260px; background:#fff; border:1px solid hsl(150,15%,86%); border-radius:12px; box-shadow:0 14px 40px hsla(150,40%,12%,0.18); padding:6px; z-index:100; }
.cs-dropdown__menu--right { right:0; left:auto; }
.cs-dropdown__item { display:flex; align-items:center; gap:12px; width:100%; padding:10px 12px; background:transparent; border:none; border-radius:8px; text-decoration:none; color:inherit; font-family:inherit; font-size:0.92rem; text-align:left; cursor:pointer; }
.cs-dropdown__item:hover { background:hsl(150,30%,96%); }
.cs-dropdown__item--danger { color:hsl(0,70%,45%); }
.cs-dropdown__item--danger:hover { background:hsl(0,80%,96%); color:hsl(0,70%,35%); }
.cs-dropdown__icon { font-size:1.3rem; width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; background:hsl(150,30%,94%); border-radius:8px; flex-shrink:0; }
.cs-dropdown__item--danger .cs-dropdown__icon { background:hsl(0,75%,95%); }
.cs-dropdown__text { display:flex; flex-direction:column; gap:1px; }
.cs-dropdown__text strong { font-family:'Montserrat',sans-serif; font-size:0.92rem; font-weight:700; color:hsl(150,30%,14%); }
.cs-dropdown__item--danger .cs-dropdown__text strong { color:hsl(0,70%,35%); }
.cs-dropdown__text small { font-size:0.76rem; color:hsl(var(--muted-foreground)); }
.cs-dropdown__check { color:hsl(142,70%,38%); font-weight:800; font-size:1.1rem; margin-left:auto; }

/* Switcher: divider + group label + primary item */
.cs-dropdown__divider { height:1px; background:hsl(150,15%,90%); margin:6px 8px; }
.cs-dropdown__group-label { font-size:0.72rem; font-weight:700; color:hsl(var(--muted-foreground)); text-transform:uppercase; letter-spacing:0.05em; padding:6px 12px 4px; }
.cs-dropdown__item--primary { background:linear-gradient(135deg, hsl(142,70%,96%) 0%, hsl(150,60%,94%) 100%); border:1px solid hsl(142,70%,86%); }
.cs-dropdown__item--primary:hover { background:linear-gradient(135deg, hsl(142,70%,92%) 0%, hsl(150,60%,90%) 100%); }
.cs-dropdown__item--primary .cs-dropdown__icon { background:hsl(142,70%,88%); }
.cs-dropdown__item--primary .cs-dropdown__text strong { color:hsl(142,70%,25%); }

/* Bell ikona */
.cs-bell-wrap { position:relative; }
.cs-bell-trigger { position:relative; background:hsla(0,0%,100%,0.9); border:1px solid hsl(150,20%,85%); border-radius:50%; width:38px; height:38px; font-size:1.1rem; cursor:pointer; }
.cs-bell-trigger:hover { background:hsl(150,30%,96%); }
.cs-bell-badge { position:absolute; top:-4px; right:-4px; background:hsl(0,75%,50%); color:#fff; font-size:0.66rem; font-weight:800; min-width:18px; height:18px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; border:2px solid #fff; padding:0 4px; }
.cs-bell-menu { min-width:320px; max-width:360px; max-height:460px; overflow-y:auto; padding:0; }
.cs-bell-menu__head { display:flex; align-items:center; justify-content:space-between; padding:12px 14px; border-bottom:1px solid hsl(150,15%,92%); background:hsl(150,30%,98%); }
.cs-bell-menu__head strong { font-family:'Montserrat',sans-serif; font-size:0.92rem; font-weight:800; }
.cs-bell-menu__mark { background:transparent; border:none; color:hsl(142,70%,38%); font-weight:600; font-size:0.76rem; cursor:pointer; font-family:inherit; }
.cs-bell-item { display:flex; gap:10px; padding:10px 14px; border-bottom:1px solid hsl(150,15%,94%); color:inherit; text-decoration:none; }
.cs-bell-item:last-child { border-bottom:none; }
.cs-bell-item:hover { background:hsl(150,30%,97%); }
.cs-bell-item__icon { flex-shrink:0; width:32px; height:32px; background:hsl(150,30%,94%); border-radius:8px; display:inline-flex; align-items:center; justify-content:center; font-size:1rem; }
.cs-bell-item__text { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.cs-bell-item__text strong { font-size:0.85rem; font-weight:700; color:hsl(150,30%,14%); }
.cs-bell-item__subtitle { font-size:0.78rem; color:hsl(150,15%,32%); line-height:1.4; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.cs-bell-item__time { font-size:0.7rem; color:hsl(var(--muted-foreground)); margin-top:2px; }

/* Tagy členů (sjednocená komunita): Trenér / Inside Premium / Kurz / #tymdejvid */
.cs-post-tags { display:flex; flex-wrap:wrap; gap:5px; margin:3px 0 1px; }
.cs-tag { display:inline-flex; align-items:center; font-size:0.68rem; font-weight:600; padding:2px 9px; border-radius:999px; line-height:1.5; white-space:nowrap; border:1px solid transparent; }
.cs-tag--coach     { background:hsl(142,70%,38%); color:#fff; }
.cs-tag--inside    { background:hsl(42,92%,92%);  color:hsl(35,85%,32%);  border-color:hsl(42,80%,80%); }
.cs-tag--course    { background:hsl(145,55%,92%); color:hsl(150,60%,24%); border-color:hsl(145,45%,80%); }
.cs-tag--tymdejvid { background:hsl(230,75%,95%); color:hsl(235,55%,45%); border-color:hsl(230,60%,86%); }

/* ── Viditelnost příspěvku („komu se ukáže" + nálepka) ───────── */
.cs-compose__visibility { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:10px 0 2px; }
.cs-compose__visibility-label { font-size:0.78rem; font-weight:700; color:hsl(150,20%,38%); }
.cs-level-chips { display:flex; gap:5px; flex-wrap:wrap; }
.cs-level-chip { background:hsl(150,30%,96%); border:1px solid hsl(150,20%,85%); border-radius:999px; padding:4px 11px; font-family:inherit; font-size:0.8rem; font-weight:600; color:hsl(150,20%,30%); cursor:pointer; }
.cs-level-chip.active { background:hsl(150,30%,14%); border-color:hsl(150,30%,14%); color:#fff; }
.cs-post-level { display:inline-flex; align-items:center; gap:2px; font-size:0.7rem; font-weight:700; padding:2px 8px; border-radius:999px; border:1px solid transparent; white-space:nowrap; }
.cs-post-level--tymdejvid { background:hsl(230,75%,95%); color:hsl(235,55%,42%); border-color:hsl(230,60%,86%); }
.cs-post-level--inside    { background:hsl(42,92%,92%);  color:hsl(35,85%,32%);  border-color:hsl(42,80%,80%); }
.cs-post-level--course    { background:hsl(145,55%,92%); color:hsl(150,60%,24%); border-color:hsl(145,45%,80%); }
.mu-tile-badge--lock { background:hsl(42,90%,46%); color:#fff; }

/* Přepínač místností (Vše / Veřejné / Inside / Kurz / #tymdejvid) */
.cs-rooms { display:flex; gap:8px; overflow-x:auto; -webkit-overflow-scrolling:touch; padding:2px 2px 12px; margin-bottom:6px; scrollbar-width:none; }
.cs-rooms::-webkit-scrollbar { display:none; }
.cs-room-chip { flex-shrink:0; display:inline-flex; align-items:center; gap:6px; background:#fff; border:1px solid hsl(150,15%,86%); border-radius:999px; padding:8px 15px; font-family:inherit; font-size:0.85rem; font-weight:700; color:hsl(150,20%,30%); cursor:pointer; white-space:nowrap; transition:all 0.15s ease; }
.cs-room-chip:hover { border-color:hsl(142,50%,70%); }
.cs-room-chip.active { background:hsl(150,30%,14%); border-color:hsl(150,30%,14%); color:#fff; }
.cs-room-chip__count { font-size:0.72rem; font-weight:800; background:hsla(150,30%,20%,0.09); border-radius:999px; padding:1px 7px; }
.cs-room-chip.active .cs-room-chip__count { background:hsla(0,0%,100%,0.22); }
.cs-room-chip--inside.active    { background:hsl(38,92%,45%); border-color:hsl(38,92%,45%); }
.cs-room-chip--course.active    { background:hsl(150,60%,32%); border-color:hsl(150,60%,32%); }
.cs-room-chip--tymdejvid.active { background:hsl(235,55%,52%); border-color:hsl(235,55%,52%); }

/* ══ Obsahový hub (záložka Obsah, Hero Hero / Patreon styl) ══ */
.mu-hub-controls { display:flex; gap:10px; align-items:center; margin-bottom:14px; }
.mu-hub-search { position:relative; flex:1; min-width:0; }
.mu-hub-search__ic { position:absolute; left:13px; top:50%; transform:translateY(-50%); font-size:0.95rem; opacity:0.6; pointer-events:none; }
.mu-hub-search input { width:100%; box-sizing:border-box; border:1px solid hsl(150,15%,84%); border-radius:12px; padding:11px 14px 11px 38px; font-family:inherit; font-size:0.95rem; background:#fff; color:hsl(var(--foreground)); }
.mu-hub-search input:focus { outline:none; border-color:hsl(142,60%,55%); box-shadow:0 0 0 3px hsla(142,60%,45%,0.12); }
.mu-hub-view { display:flex; gap:4px; flex-shrink:0; background:#fff; border:1px solid hsl(150,15%,84%); border-radius:12px; padding:3px; }
.mu-hub-view__btn { width:38px; height:38px; border:none; background:none; border-radius:9px; cursor:pointer; font-size:1.05rem; color:hsl(150,20%,40%); display:flex; align-items:center; justify-content:center; }
.mu-hub-view__btn.active { background:hsl(150,30%,14%); color:#fff; }
.mu-hub-sec { margin-bottom:26px; }
.mu-hub-h { display:flex; align-items:center; gap:8px; margin:0 0 14px; font-family:'Montserrat',sans-serif; font-size:1.1rem; font-weight:800; color:hsl(150,30%,14%); }
.mu-hub-h__n { font-size:0.78rem; font-weight:800; color:hsl(var(--muted-foreground)); background:hsl(150,20%,93%); border-radius:999px; padding:1px 9px; }
.mu-vid-chip__n { font-size:0.72rem; font-weight:800; opacity:0.7; }
.mu-vid-chip.active .mu-vid-chip__n { opacity:0.85; }
.mu-hub-write { display:inline-flex; align-items:center; gap:8px; background:linear-gradient(135deg, hsl(42,90%,48%), hsl(38,88%,42%)); color:#fff; border:none; border-radius:12px; padding:11px 18px; font-family:inherit; font-size:0.92rem; font-weight:800; cursor:pointer; margin-bottom:18px; box-shadow:0 4px 14px hsla(38,80%,40%,0.25); }
.mu-hub-write:hover { filter:brightness(1.05); }
.mu-vid-admin-pin { position:absolute; top:8px; right:8px; z-index:2; width:30px; height:30px; border-radius:50%; background:hsla(0,0%,0%,0.5); color:hsla(0,0%,100%,0.6); display:flex; align-items:center; justify-content:center; font-size:0.85rem; cursor:pointer; transition:all 0.15s ease; }
.mu-vid-admin-pin:hover { background:hsla(0,0%,0%,0.72); color:#fff; }
.mu-vid-admin-pin.is-on { background:hsl(38,92%,45%); color:#fff; }
.mu-hub-posts { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:14px; }
.mu-hub-post { display:flex; flex-direction:column; gap:8px; text-align:left; background:linear-gradient(180deg, hsl(42,60%,97%), #fff); border:1px solid hsl(42,55%,86%); border-radius:14px; padding:14px 16px; cursor:pointer; font-family:inherit; transition:transform 0.15s ease, box-shadow 0.15s ease; }
.mu-hub-post:hover { transform:translateY(-2px); box-shadow:0 10px 24px hsla(38,40%,30%,0.12); }
.mu-hub-post__head { display:flex; align-items:center; gap:9px; }
.mu-hub-post__author { font-family:'Montserrat',sans-serif; font-size:0.9rem; font-weight:700; color:hsl(150,30%,16%); }
.mu-hub-post__title { font-family:'Montserrat',sans-serif; font-size:1rem; font-weight:800; color:hsl(150,30%,14%); }
.mu-hub-post__body { font-size:0.9rem; line-height:1.5; color:hsl(150,18%,28%); }
.mu-hub-post__foot { font-size:0.78rem; font-weight:700; color:hsl(38,80%,38%); margin-top:2px; }

/* List (řádkové) zobrazení — náhled vlevo, info vpravo */
.mu-vid-grid.mu-vid-grid--list { display:flex; flex-direction:column; gap:10px; }
.mu-vid-grid--list .mu-vid-card { flex-direction:row; align-items:stretch; }
.mu-vid-grid--list .mu-vid-thumb { width:172px; flex-shrink:0; aspect-ratio:16/9; }
.mu-vid-grid--list .mu-vid-meta { justify-content:center; padding:12px 16px; }
@media (max-width:520px){ .mu-vid-grid--list .mu-vid-thumb { width:128px; } }

/* Zamčené (premium pro nečlena), připnuté, počet zhlédnutí */
.mu-vid-card.is-locked { cursor:pointer; }
.mu-vid-card.is-locked .mu-vid-thumb::after { content:''; position:absolute; inset:0; background:hsla(150,30%,8%,0.45); }
.mu-vid-lock { position:absolute; left:8px; bottom:8px; z-index:1; width:30px; height:30px; border-radius:50%; background:hsla(0,0%,0%,0.66); color:#fff; display:flex; align-items:center; justify-content:center; font-size:0.9rem; }
.mu-vid-thumb--ph { background:linear-gradient(135deg, hsl(42,55%,40%) 0%, hsl(38,60%,28%) 100%); }
.mu-vid-thumb--ph::after { content:none; }
.mu-vid-ph-crown { font-size:2rem; opacity:0.92; filter:drop-shadow(0 2px 6px hsla(0,0%,0%,0.35)); }
.mu-vid-tag--pin { left:auto; right:8px; background:hsl(150,30%,18%); }
.mu-vid-views { color:hsl(var(--muted-foreground)); margin-left:8px; }

.mu-vid-chips { display:flex; gap:8px; overflow-x:auto; -webkit-overflow-scrolling:touch; padding:2px 2px 14px; scrollbar-width:none; }
.mu-vid-chips::-webkit-scrollbar { display:none; }
.mu-vid-chip { flex-shrink:0; background:#fff; border:1px solid hsl(150,15%,86%); border-radius:999px; padding:7px 14px; font-family:inherit; font-size:0.84rem; font-weight:700; color:hsl(150,20%,30%); cursor:pointer; white-space:nowrap; transition:all 0.15s ease; }
.mu-vid-chip:hover { border-color:hsl(142,50%,70%); }
.mu-vid-chip.active { background:hsl(150,30%,14%); border-color:hsl(150,30%,14%); color:#fff; }
.mu-vid-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(210px, 1fr)); gap:16px; }
.mu-vid-card { display:flex; flex-direction:column; text-align:left; padding:0; background:#fff; border:1px solid hsl(150,15%,88%); border-radius:14px; overflow:hidden; cursor:pointer; box-shadow:0 4px 14px hsla(150,40%,12%,0.05); transition:transform 0.15s ease, box-shadow 0.15s ease; font-family:inherit; }
.mu-vid-card:hover { transform:translateY(-2px); box-shadow:0 10px 24px hsla(150,40%,12%,0.12); }
.mu-vid-thumb { position:relative; aspect-ratio:16/9; background:hsl(150,25%,90%) center/cover no-repeat; display:flex; align-items:center; justify-content:center; }
.mu-vid-play { width:48px; height:48px; border-radius:50%; background:hsla(0,0%,0%,0.55); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.1rem; padding-left:3px; transition:background 0.15s ease; }
.mu-vid-card:hover .mu-vid-play { background:hsl(142,72%,42%); }
.mu-vid-tag { position:absolute; top:8px; left:8px; font-size:0.68rem; font-weight:800; padding:2px 8px; border-radius:999px; background:hsla(0,0%,0%,0.6); color:#fff; }
.mu-vid-tag--free { background:hsl(142,72%,42%); }
.mu-vid-dur { position:absolute; bottom:8px; right:8px; font-size:0.68rem; font-weight:700; padding:2px 7px; border-radius:6px; background:hsla(0,0%,0%,0.65); color:#fff; }
.mu-vid-meta { padding:11px 13px 14px; display:flex; flex-direction:column; gap:4px; }
.mu-vid-title { font-family:'Montserrat',sans-serif; font-size:0.92rem; font-weight:700; color:hsl(150,30%,14%); line-height:1.25; }
.mu-vid-cat { font-size:0.76rem; color:hsl(var(--muted-foreground)); }
.mu-vid-empty { padding:16px 2px; color:hsl(var(--muted-foreground)); }
.mu-vid-upsell { display:flex; flex-direction:column; gap:4px; margin-top:18px; padding:16px 18px; border-radius:14px; text-decoration:none; background:linear-gradient(135deg, hsl(42,92%,94%), hsl(38,90%,88%)); border:1px solid hsl(42,80%,78%); }
.mu-vid-upsell strong { font-family:'Montserrat',sans-serif; font-size:1rem; color:hsl(35,80%,28%); }
.mu-vid-upsell span { font-size:0.86rem; color:hsl(35,45%,32%); }
.mu-vid-upsell__cta { font-weight:800; color:hsl(35,90%,34%) !important; margin-top:4px; }

/* Video přehrávač — centrovaný overlay */
.mu-video-modal { position:fixed; inset:0; z-index:1000; display:none; align-items:center; justify-content:center; padding:18px; }
.mu-video-modal.is-open { display:flex; }
.mu-video-backdrop { position:absolute; inset:0; background:hsla(150,30%,8%,0.82); }
.mu-video-dialog { position:relative; z-index:1; width:100%; max-width:860px; max-height:92vh; overflow-y:auto; -webkit-overflow-scrolling:touch; background:hsl(150,30%,10%); border-radius:16px; box-shadow:0 24px 60px hsla(0,0%,0%,0.5); }
.mu-video-frame { border-radius:16px 16px 0 0; }
.mu-video-close { position:absolute; top:10px; right:12px; z-index:2; width:36px; height:36px; border:none; border-radius:50%; background:hsla(0,0%,100%,0.16); color:#fff; font-size:1.4rem; line-height:1; cursor:pointer; }
.mu-video-close:hover { background:hsla(0,0%,100%,0.28); }
.mu-video-frame { position:relative; aspect-ratio:16/9; background:#000; }
.mu-video-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.mu-video-noembed { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; font-size:0.9rem; }
.mu-video-info { padding:16px 18px 18px; }
.mu-video-info h3 { margin:0 0 8px; font-family:'Montserrat',sans-serif; font-size:1.15rem; color:#fff; }
.mu-video-info p { margin:10px 0 0; font-size:0.9rem; color:hsla(0,0%,100%,0.78); line-height:1.5; }
.mu-video-sub { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.mu-video-cat-pill { font-size:0.78rem; font-weight:700; color:hsla(0,0%,100%,0.9); background:hsla(0,0%,100%,0.12); border-radius:999px; padding:3px 11px; }
.mu-video-views { font-size:0.82rem; color:hsla(0,0%,100%,0.7); }
.mu-video-tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:11px; }
.mu-video-tag { background:hsla(142,60%,45%,0.18); border:1px solid hsla(142,60%,55%,0.4); color:hsl(142,55%,72%); border-radius:999px; padding:4px 11px; font-family:inherit; font-size:0.8rem; font-weight:700; cursor:pointer; transition:all 0.15s ease; }
.mu-video-tag:hover { background:hsla(142,60%,45%,0.32); color:#fff; }
.mu-video-actions { margin-top:14px; }
.mu-video-share { background:hsl(142,70%,42%); color:#fff; border:none; border-radius:10px; padding:10px 18px; font-family:inherit; font-size:0.9rem; font-weight:700; cursor:pointer; transition:background 0.15s ease; }
.mu-video-share:hover { background:hsl(142,70%,47%); }
.mu-video-comments { background:#fff; padding:16px 18px 20px; border-radius:0 0 16px 16px; }
.mu-video-comments__h { margin:0 0 14px; font-family:'Montserrat',sans-serif; font-size:1rem; font-weight:800; color:hsl(150,30%,14%); }

/* ══ Admin nástroje v Profilu (sjednoceno z /inside) ════════ */
.mu-card--admin { border:1px solid hsl(150,25%,80%); background:linear-gradient(180deg, hsl(150,30%,98%), #fff); }
.mu-adm-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.mu-adm-btn { background:#fff; border:1px solid hsl(150,18%,84%); border-radius:11px; padding:12px 10px; font-family:inherit; font-size:0.88rem; font-weight:700; color:hsl(150,25%,24%); cursor:pointer; transition:all 0.15s ease; }
.mu-adm-btn:hover { border-color:hsl(142,55%,60%); background:hsl(150,40%,97%); }
@media (max-width:480px){ .mu-adm-grid { grid-template-columns:1fr; } }

/* Admin okno (modal) */
.mu-adm-modal { position:fixed; inset:0; z-index:1100; display:none; align-items:flex-start; justify-content:center; padding:5vh 16px; overflow-y:auto; }
.mu-adm-modal.is-open { display:flex; }
.mu-adm-backdrop { position:fixed; inset:0; background:hsla(150,30%,8%,0.55); }
.mu-adm-dialog { position:relative; z-index:1; width:100%; max-width:520px; background:#fff; border-radius:16px; box-shadow:0 24px 60px hsla(0,0%,0%,0.3); overflow:hidden; margin-bottom:5vh; }
.mu-adm-head { display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border-bottom:1px solid hsl(150,15%,90%); }
.mu-adm-head strong { font-family:'Montserrat',sans-serif; font-size:1.05rem; color:hsl(150,30%,14%); }
.mu-adm-x { width:34px; height:34px; border:none; border-radius:50%; background:hsl(150,20%,94%); color:hsl(150,25%,30%); font-size:1.3rem; line-height:1; cursor:pointer; }
.mu-adm-x:hover { background:hsl(150,20%,88%); }
.mu-adm-body { padding:18px; }
.mu-af { margin-bottom:13px; }
.mu-af label { display:block; font-size:0.82rem; font-weight:700; color:hsl(150,20%,34%); margin-bottom:5px; }
.mu-af input, .mu-af select, .mu-af textarea { width:100%; box-sizing:border-box; border:1px solid hsl(150,18%,82%); border-radius:9px; padding:9px 11px; font-family:inherit; font-size:0.92rem; background:#fff; color:hsl(var(--foreground)); }
.mu-af input:focus, .mu-af select:focus, .mu-af textarea:focus { outline:none; border-color:hsl(142,60%,55%); box-shadow:0 0 0 3px hsla(142,60%,45%,0.12); }
.mu-af-chk { display:flex; align-items:center; gap:8px; font-size:0.88rem; color:hsl(150,22%,26%); margin-bottom:11px; cursor:pointer; }
.mu-adm-save { width:100%; background:hsl(142,70%,42%); color:#fff; border:none; border-radius:11px; padding:12px 16px; font-family:inherit; font-size:0.95rem; font-weight:800; cursor:pointer; margin-top:6px; transition:background 0.15s ease; }
.mu-adm-save:hover { background:hsl(142,70%,47%); }
.mu-adm-save--ghost { background:hsl(42,90%,46%); margin-bottom:10px; }
.mu-adm-save--ghost:hover { background:hsl(42,90%,51%); }
.mu-adm-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 2px; border-bottom:1px solid hsl(150,15%,92%); }
.mu-adm-row__btns { display:flex; gap:10px; flex-shrink:0; align-items:center; }
.mu-link { background:none; border:none; cursor:pointer; font-family:inherit; font-size:0.85rem; font-weight:700; color:hsl(142,60%,38%); padding:2px; }
.mu-link:hover { text-decoration:underline; }
.mu-link--danger { color:hsl(0,70%,52%); }

/* ══ Kalendář akcí (záložka Kalendář) ═══════════════════════ */
.mu-cal-list { display:flex; flex-direction:column; gap:12px; }
.mu-cal-card { display:flex; gap:14px; background:#fff; border:1px solid hsl(150,15%,88%); border-radius:14px; padding:14px 16px; box-shadow:0 4px 14px hsla(150,40%,12%,0.04); }
.mu-cal-date { flex-shrink:0; width:54px; display:flex; flex-direction:column; align-items:center; justify-content:center; background:linear-gradient(135deg, hsl(142,70%,45%), hsl(150,60%,36%)); color:#fff; border-radius:12px; padding:8px 4px; }
.mu-cal-day { font-family:'Montserrat',sans-serif; font-size:1.5rem; font-weight:900; line-height:1; }
.mu-cal-mon { font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; margin-top:2px; }
.mu-cal-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.mu-cal-type { font-size:0.74rem; font-weight:800; color:hsl(142,70%,32%); text-transform:uppercase; letter-spacing:0.04em; }
.mu-cal-title { font-family:'Montserrat',sans-serif; font-size:1.05rem; font-weight:800; color:hsl(150,30%,14%); line-height:1.25; }
.mu-cal-when { font-size:0.85rem; color:hsl(150,15%,30%); text-transform:capitalize; }
.mu-cal-meta { font-size:0.82rem; color:hsl(var(--muted-foreground)); }
.mu-cal-loc { display:inline-flex; align-items:center; gap:3px; }
.mu-cal-pills { display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
.mu-cal-pill { background:hsl(150,30%,96%); border:1px solid hsl(150,20%,86%); border-radius:999px; padding:3px 10px; font-size:0.76rem; font-weight:700; color:hsl(150,25%,28%); }
.mu-cal-pill--people { background:hsl(142,70%,94%); border-color:hsl(142,60%,80%); color:hsl(142,70%,26%); }
.mu-cal-foot { margin:14px 2px 0; font-size:0.82rem; color:hsl(var(--muted-foreground)); text-align:center; }

/* ══ Členové — adresář (záložka Členové) ════════════════════ */
.mu-dir-optin { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; background:linear-gradient(135deg, hsl(150,30%,97%), hsl(142,50%,95%)); border:1px solid hsl(142,50%,85%); border-radius:14px; padding:14px 18px; margin-bottom:18px; }
.mu-dir-optin.is-in { background:hsl(142,70%,96%); border-color:hsl(142,55%,80%); }
.mu-dir-optin__txt { display:flex; flex-direction:column; gap:2px; }
.mu-dir-optin__txt strong { font-family:'Montserrat',sans-serif; font-size:0.95rem; font-weight:800; color:hsl(150,30%,16%); }
.mu-dir-optin__txt small { font-size:0.82rem; color:hsl(150,18%,34%); line-height:1.4; }
.mu-dir-optin__form { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.mu-dir-optin__form input { border:1px solid hsl(150,20%,82%); border-radius:9px; padding:8px 11px; font-family:inherit; font-size:0.9rem; background:#fff; min-width:170px; }
.mu-dir-optin__form input:focus { outline:none; border-color:hsl(142,70%,50%); box-shadow:0 0 0 3px hsla(142,70%,50%,0.14); }
.mu-btn-primary { background:hsl(142,70%,45%); border:1px solid hsl(142,70%,40%); color:#fff; border-radius:9px; padding:8px 16px; font-family:inherit; font-size:0.88rem; font-weight:700; cursor:pointer; white-space:nowrap; }
.mu-btn-primary:hover { background:hsl(142,70%,50%); }
.mu-btn-ghost { background:#fff; border:1px solid hsl(150,20%,80%); color:hsl(150,25%,30%); border-radius:9px; padding:8px 16px; font-family:inherit; font-size:0.88rem; font-weight:700; cursor:pointer; white-space:nowrap; }
.mu-btn-ghost:hover { background:hsl(150,30%,96%); }
.mu-dir-count { font-size:0.82rem; font-weight:700; color:hsl(var(--muted-foreground)); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:12px; }
.mu-dir-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:12px; }
.mu-dir-card { display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; background:#fff; border:1px solid hsl(150,15%,88%); border-radius:14px; padding:18px 12px; box-shadow:0 4px 14px hsla(150,40%,12%,0.04); }
.mu-dir-avatar { width:56px; height:56px; border-radius:50%; object-fit:cover; background:hsl(150,30%,94%); display:inline-flex; align-items:center; justify-content:center; }
.mu-dir-avatar--ph { font-family:'Montserrat',sans-serif; font-size:1.5rem; font-weight:800; color:hsl(142,70%,35%); }
.mu-dir-name { font-family:'Montserrat',sans-serif; font-size:0.95rem; font-weight:700; color:hsl(150,30%,14%); line-height:1.2; }
.mu-dir-city { font-size:0.8rem; color:hsl(var(--muted-foreground)); }
.mu-dir-card .cs-post-tags { justify-content:center; }

/* Filtry Členové / Admini / Online */
.mu-dir-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.mu-dir-tab { display:inline-flex; align-items:center; gap:6px; background:#fff; border:1px solid hsl(150,15%,86%); border-radius:999px; padding:7px 14px; font-family:inherit; font-size:0.85rem; font-weight:700; color:hsl(150,20%,30%); cursor:pointer; transition:all 0.15s ease; }
.mu-dir-tab:hover { border-color:hsl(142,50%,70%); }
.mu-dir-tab.active { background:hsl(142,70%,42%); border-color:hsl(142,70%,42%); color:#fff; }
.mu-dir-tab-count { font-size:0.75rem; font-weight:800; background:hsla(150,30%,20%,0.08); border-radius:999px; padding:1px 7px; }
.mu-dir-tab.active .mu-dir-tab-count { background:hsla(0,0%,100%,0.25); }

/* Karta člena — avatar s úrovní + online tečkou */
.mu-dir-card.is-admin { border-color:hsl(142,55%,70%); box-shadow:0 4px 16px hsla(142,50%,30%,0.12); }
.mu-dir-avatar-wrap { position:relative; display:inline-flex; }
.mu-dir-online { position:absolute; bottom:1px; right:1px; width:13px; height:13px; border-radius:50%; background:hsl(142,72%,45%); border:2.5px solid #fff; }
.mu-dir-level { position:absolute; bottom:-3px; left:-3px; min-width:20px; height:20px; padding:0 4px; box-sizing:border-box; background:hsl(142,70%,38%); color:#fff; font-family:'Montserrat',sans-serif; font-size:0.66rem; font-weight:800; line-height:1; border-radius:999px; border:2px solid #fff; display:inline-flex; align-items:center; justify-content:center; }
.mu-dir-photo-btn { position:absolute; bottom:-4px; left:-4px; width:24px; height:24px; padding:0; border-radius:50%; background:#fff; border:1.5px solid hsl(150,20%,80%); font-size:12px; line-height:1; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 1px 4px hsla(150,40%,12%,0.15); }
.mu-dir-photo-btn:hover { background:hsl(150,30%,96%); border-color:hsl(142,70%,50%); }
.mu-dir-levelchip { display:inline-flex; align-items:center; gap:3px; font-size:0.72rem; font-weight:700; padding:3px 10px; border-radius:999px; background:hsl(142,70%,95%); color:hsl(142,70%,28%); border:1px solid hsl(142,55%,82%); }

/* ── Profil člena (modal) ─────────────────────────────────────── */
.mu-modal { position:fixed; inset:0; background:rgba(15,40,30,0.45); z-index:1000; display:none; align-items:center; justify-content:center; padding:16px; }
.mu-modal.is-open { display:flex; }
.mu-modal-card { background:#fff; border-radius:16px; width:100%; max-width:460px; max-height:86vh; overflow-y:auto; padding:20px 18px; position:relative; box-shadow:0 20px 60px hsla(150,40%,12%,0.3); -webkit-overflow-scrolling:touch; }
.mu-modal-close { position:absolute; top:12px; right:12px; width:34px; height:34px; border-radius:50%; background:hsl(150,30%,96%); border:1px solid hsl(150,20%,85%); font-size:1.3rem; line-height:1; cursor:pointer; color:hsl(150,20%,30%); }
.mu-modal-close:hover { background:hsl(0,75%,95%); border-color:hsl(0,70%,75%); color:hsl(0,75%,40%); }
.mu-prof-head { display:flex; gap:14px; align-items:center; margin-bottom:14px; padding-right:30px; }
.mu-prof-avatar { width:68px; height:68px; border-radius:50%; object-fit:cover; flex-shrink:0; background:hsl(150,30%,94%); display:inline-flex; align-items:center; justify-content:center; }
.mu-prof-avatar--ph { font-family:'Montserrat',sans-serif; font-size:1.6rem; font-weight:800; color:hsl(142,70%,35%); }
.mu-prof-id { min-width:0; }
.mu-prof-id > strong { display:block; font-family:'Montserrat',sans-serif; font-size:1.15rem; font-weight:800; color:hsl(150,30%,14%); }
.mu-prof-sub { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:4px; }
.mu-prof-seen { font-size:0.78rem; color:hsl(var(--muted-foreground)); margin-top:3px; }
.mu-prof-stats { display:flex; gap:8px; background:hsl(150,30%,97%); border-radius:12px; padding:12px; margin-bottom:14px; }
.mu-prof-stats > div { flex:1; text-align:center; display:flex; flex-direction:column; gap:1px; }
.mu-prof-stats strong { font-family:'Montserrat',sans-serif; font-size:1.3rem; font-weight:900; color:hsl(142,70%,30%); }
.mu-prof-stats span { font-size:0.72rem; color:hsl(var(--muted-foreground)); text-transform:uppercase; letter-spacing:0.03em; }
.mu-prof-posts-title { font-family:'Montserrat',sans-serif; font-size:0.95rem; font-weight:800; color:hsl(150,30%,14%); margin:0 0 8px; }
.mu-prof-post { background:#fff; border:1px solid hsl(150,15%,90%); border-radius:10px; padding:10px 12px; margin-bottom:8px; }
.mu-prof-post > strong { display:block; font-size:0.92rem; color:hsl(150,30%,14%); margin-bottom:2px; }
.mu-prof-post-body { font-size:0.88rem; color:hsl(150,15%,30%); line-height:1.5; }
.mu-prof-post-meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:6px; font-size:0.76rem; color:hsl(var(--muted-foreground)); }

/* ── Uvítací checklist „Začni zde" ────────────────────────────── */
.cs-onboard { background:linear-gradient(135deg, hsl(142,70%,96%), hsl(150,55%,94%)); border:1px solid hsl(142,55%,82%); border-radius:14px; padding:12px 14px; margin-bottom:16px; }
.cs-onboard__head { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.cs-onboard__head strong { font-family:'Montserrat',sans-serif; font-size:0.98rem; font-weight:800; color:hsl(150,30%,16%); }
.cs-onboard__prog { font-size:0.74rem; font-weight:800; color:hsl(142,70%,28%); background:#fff; border-radius:999px; padding:2px 9px; border:1px solid hsl(142,55%,82%); }
.cs-onboard__x { margin-left:auto; background:transparent; border:none; font-size:1.2rem; line-height:1; cursor:pointer; color:hsl(150,20%,40%); padding:2px 4px; }
.cs-onb-step { display:flex; align-items:center; gap:9px; width:100%; background:#fff; border:1px solid hsl(150,20%,88%); border-radius:10px; padding:9px 12px; margin-top:6px; font-family:inherit; font-size:0.9rem; font-weight:600; color:hsl(150,25%,22%); cursor:pointer; text-align:left; }
.cs-onb-step:hover:not(.done) { border-color:hsl(142,70%,55%); background:hsl(142,70%,98%); }
.cs-onb-step.done { color:hsl(var(--muted-foreground)); cursor:default; text-decoration:line-through; opacity:0.75; }
.cs-onb-check { font-size:1rem; }

/* ── Rubrika „Zeptej se trenéra" ──────────────────────────────── */
.cs-coachqa { display:flex; align-items:center; gap:12px; background:linear-gradient(135deg, hsl(150,42%,17%), hsl(150,55%,26%)); color:#fff; border-radius:14px; padding:12px 16px; margin-bottom:14px; }
.cs-coachqa__icon { font-size:1.7rem; flex-shrink:0; }
.cs-coachqa__txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.cs-coachqa__txt strong { font-family:'Montserrat',sans-serif; font-size:1rem; font-weight:800; }
.cs-coachqa__txt small { font-size:0.8rem; color:hsla(0,0%,100%,0.85); line-height:1.4; }
.cs-coachqa__btn { flex-shrink:0; background:#fff; color:hsl(150,45%,22%); border:none; border-radius:10px; padding:9px 16px; font-family:inherit; font-size:0.88rem; font-weight:800; cursor:pointer; white-space:nowrap; }
.cs-coachqa__btn:hover { background:hsl(142,70%,94%); transform:translateY(-1px); }
@media (max-width:560px){ .cs-coachqa { flex-wrap:wrap; } .cs-coachqa__btn { width:100%; } }

/* ── Šablony příspěvků (inspirace ve skladači) ────────────────── */
.cs-templates { margin:8px 0 4px; }
.cs-templates__label { font-size:0.78rem; font-weight:700; color:hsl(150,20%,40%); display:block; margin-bottom:5px; }
.cs-tmpl-chips { display:flex; gap:5px; flex-wrap:wrap; }
.cs-tmpl-chip { background:hsl(45,90%,96%); border:1px solid hsl(45,80%,82%); border-radius:999px; padding:5px 11px; font-family:inherit; font-size:0.82rem; font-weight:600; color:hsl(38,75%,32%); cursor:pointer; }
.cs-tmpl-chip:hover { background:hsl(45,90%,90%); }
.mu-dir-you { font-size:0.66rem; font-weight:800; color:#fff; background:hsl(142,70%,42%); border-radius:999px; padding:1px 7px; vertical-align:middle; }

/* ── Rubrika „Naše závody" (magnet v Kalendáři) ───────────────── */
.cs-races-magnet { margin-bottom:18px; }
.cs-races-magnet__head { margin-bottom:10px; }
.cs-races-magnet__head strong { font-family:'Montserrat',sans-serif; font-size:1.05rem; font-weight:800; color:hsl(150,30%,14%); display:block; }
.cs-races-magnet__head small { font-size:0.82rem; color:hsl(var(--muted-foreground)); }
.cs-races-list { display:flex; flex-direction:column; gap:10px; }
.cs-race-card { display:flex; align-items:center; gap:13px; background:linear-gradient(135deg, hsl(150,42%,17%), hsl(150,52%,25%)); color:#fff; border-radius:14px; padding:14px 16px; text-decoration:none; transition:transform 0.15s ease; }
.cs-race-card:hover { transform:translateY(-2px); }
.cs-race-card__emoji { font-size:2rem; flex-shrink:0; }
.cs-race-card__body { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.cs-race-card__body strong { font-family:'Montserrat',sans-serif; font-size:1.05rem; font-weight:800; }
.cs-race-card__meta { font-size:0.82rem; color:hsla(0,0%,100%,0.9); }
.cs-race-card__note { font-size:0.76rem; color:hsla(0,0%,100%,0.7); }
.cs-race-card__cd { flex-shrink:0; font-size:0.8rem; font-weight:800; background:hsla(0,0%,100%,0.18); border-radius:999px; padding:5px 11px; white-space:nowrap; }
.mu-cal-subtitle { font-family:'Montserrat',sans-serif; font-size:0.95rem; font-weight:800; color:hsl(150,30%,14%); margin:4px 0 10px; }
@media (max-width:560px){ .cs-race-card { flex-wrap:wrap; } .cs-race-card__cd { width:100%; text-align:center; } }
.mu-dir-meta { display:flex; flex-direction:column; gap:2px; align-items:center; }
.mu-dir-meta-item { font-size:0.76rem; color:hsl(var(--muted-foreground)); }
.mu-dir-seen--on { color:hsl(142,60%,34%); font-weight:700; }

/* ══ Žebříček — leaderboard (záložka Žebříček) ══════════════ */
.mu-lb-tabs { display:flex; gap:8px; margin-bottom:12px; }
.mu-lb-tab { flex:1; background:#fff; border:1px solid hsl(150,20%,85%); border-radius:10px; padding:9px 12px; font-family:inherit; font-size:0.86rem; font-weight:700; color:hsl(150,20%,32%); cursor:pointer; }
.mu-lb-tab.active { background:hsl(150,30%,14%); border-color:hsl(150,30%,14%); color:#fff; }
.mu-lb-hint { margin:0 2px 16px; font-size:0.84rem; color:hsl(var(--muted-foreground)); line-height:1.5; }
.mu-lb-list { display:flex; flex-direction:column; gap:8px; }
.mu-lb-row { display:flex; align-items:center; gap:12px; background:#fff; border:1px solid hsl(150,15%,88%); border-radius:12px; padding:10px 14px; box-shadow:0 4px 14px hsla(150,40%,12%,0.03); }
.mu-lb-row.is-top { border-color:hsl(42,80%,75%); background:linear-gradient(135deg, #fff, hsl(45,90%,97%)); }
.mu-lb-row.is-me { border-color:hsl(142,70%,55%); box-shadow:0 0 0 2px hsla(142,70%,50%,0.18); }
.mu-lb-rank { flex-shrink:0; width:30px; text-align:center; font-size:1.4rem; }
.mu-lb-rank-num { font-family:'Montserrat',sans-serif; font-size:0.95rem; font-weight:800; color:hsl(var(--muted-foreground)); }
.mu-lb-avatar { width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0; background:hsl(150,30%,94%); display:inline-flex; align-items:center; justify-content:center; }
.mu-lb-avatar--ph { font-family:'Montserrat',sans-serif; font-size:1.05rem; font-weight:800; color:hsl(142,70%,35%); }
.mu-lb-info { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.mu-lb-info strong { font-family:'Montserrat',sans-serif; font-size:0.92rem; font-weight:700; color:hsl(150,30%,14%); }
.mu-lb-you { font-size:0.66rem; font-weight:800; background:hsl(142,70%,45%); color:#fff; padding:1px 7px; border-radius:999px; vertical-align:middle; }
.mu-lb-level { flex-shrink:0; font-size:0.72rem; font-weight:800; color:hsl(142,70%,30%); background:hsl(142,70%,93%); border:1px solid hsl(142,60%,80%); border-radius:999px; padding:2px 8px; }
.mu-lb-score { flex-shrink:0; font-family:'Montserrat',sans-serif; font-size:1.05rem; font-weight:900; color:hsl(150,30%,16%); }
.mu-lb-score small { font-size:0.72rem; font-weight:700; color:hsl(var(--muted-foreground)); }
