/* CykloInfo – app.css (agent C). Fonty lokálne: Inter 400–700 + Montserrat 800 (logo), latin + latin-ext. */
@font-face{font-family:'Montserrat';font-style:normal;font-display:swap;font-weight:800;src:url('../fonts/montserrat-latin-ext-800-normal.woff2') format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-display:swap;font-weight:800;src:url('../fonts/montserrat-latin-800-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('../fonts/inter-latin-ext-400-normal.woff2') format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('../fonts/inter-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:500;src:url('../fonts/inter-latin-ext-500-normal.woff2') format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:500;src:url('../fonts/inter-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('../fonts/inter-latin-ext-600-normal.woff2') format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('../fonts/inter-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('../fonts/inter-latin-ext-700-normal.woff2') format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('../fonts/inter-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* =====================================================================
   CykloInfo – dizajnový systém (agent C). Mobile-first, PC od 900 px.
   Komponenty majú prefix .ci-, formuláre .cpf-. Modulové CSS (cyklo.css, content.css) len pre špecifiká.
   ===================================================================== */

:root {
  --ci-green: #2f9e6b;
  --ci-green-600: #1f7a4f;
  --ci-green-700: #17633f;
  --ci-green-400: #49b582;
  --ci-green-100: #d5eedf;
  --ci-green-50: #eaf6ef;
  --ci-green-25: #f3faf6;
  --ci-ink: #2b2c30;
  --ci-ink-2: #4a4c52;
  --ci-muted: #6f747b;
  --ci-faint: #9aa0a6;
  --ci-line: #e4e9e6;
  --ci-line-2: #edf1ef;
  --ci-bg: #f4f6f5;
  --ci-card: #fff;
  --ci-gold: #c9a04a;
  --ci-gold-50: #fbf4e3;
  --ci-red: #e5484d;
  --ci-red-50: #fdecec;
  --ci-blue: #2f80c2;
  --ci-radius: 16px;
  --ci-radius-sm: 12px;
  --ci-radius-xs: 8px;
  --ci-shadow-sm: 0 1px 2px rgba(23, 45, 33, .06);
  --ci-shadow: 0 1px 2px rgba(23, 45, 33, .05), 0 4px 16px rgba(23, 45, 33, .06);
  --ci-shadow-lg: 0 10px 40px rgba(23, 45, 33, .16);
  --ci-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ci-font-logo: 'Montserrat', 'Inter', system-ui, sans-serif;
  --ci-header-h: 56px;
  --ci-tabbar-h: 62px;
  --ci-safe-b: env(safe-area-inset-bottom, 0px);
  --ci-safe-t: env(safe-area-inset-top, 0px);
  --ci-container: 1240px;
  --ci-sidebar: 320px;
  --ci-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- reset / základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--ci-header-h) + 12px); }
body {
  margin: 0; font-family: var(--ci-font); font-size: 15px; line-height: 1.5; color: var(--ci-ink); background: var(--ci-bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none; font-feature-settings: 'cv11', 'ss01';
}
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--ci-green-600); text-decoration: none; }
a:hover { color: var(--ci-green-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--ci-ink); }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--ci-line); margin: 20px 0; }
:focus-visible { outline: 2px solid var(--ci-green); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--ci-green-100); }
.lc { flex: none; vertical-align: middle; }
[hidden] { display: none !important; }
.ci-sr, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ci-skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ci-ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.ci-skip:focus { top: 12px; color: #fff; }

.ci-container { width: 100%; max-width: var(--ci-container); margin: 0 auto; padding: 0 16px; }

/* =====================================================================
   HLAVIČKA
   ===================================================================== */
.ci-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--ci-line-2); padding-top: var(--ci-safe-t);
}
.ci-header__in { display: flex; align-items: center; gap: 8px; height: var(--ci-header-h); }
.ci-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ci-ink); flex: none; min-width: 0; }
.ci-logo:hover { color: var(--ci-ink); }
.ci-logo__mark { width: 38px; height: 27px; color: var(--ci-green); display: block; flex: none; }
.ci-logo__text { display: flex; flex-direction: column; line-height: 1; }
.ci-logo__name { font-family: var(--ci-font-logo); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.ci-logo__tag { display: none; font-size: 11px; font-weight: 600; color: var(--ci-ink-2); margin-top: 3px; letter-spacing: -.01em; }
.ci-header__back { display: none; }
.ci-header__title { display: none; }
.ci-nav { display: none; }
.ci-header__actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.ci-iconbtn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent;
  border-radius: 999px; color: var(--ci-ink); transition: background .15s;
}
.ci-iconbtn:hover { background: var(--ci-green-50); color: var(--ci-ink); }
.ci-iconbtn:active { transform: scale(.94); }
.ci-dot-badge {
  position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--ci-red);
  color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff;
}
.ci-header__login, .ci-header__register, .ci-cc--header, .ci-header__msgs { display: none; }
.ci-header__login-m { display: inline-grid; }

/* hlavička s tlačidlom späť (mobil) */
.has-back .ci-header__back { display: inline-grid; margin-left: -10px; }
.has-back .ci-header__title { display: block; font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.has-back .ci-header .ci-logo { display: none; }

/* avatar + menu */
.ci-avatar-btn { border: 0; background: transparent; padding: 4px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.ci-avatar-btn .lc-chevron-down { color: var(--ci-muted); display: none; }
.ci-menu {
  position: absolute; right: 16px; top: calc(100% + 6px); min-width: 240px; background: #fff; border-radius: 14px; padding: 6px;
  box-shadow: var(--ci-shadow-lg); border: 1px solid var(--ci-line-2); z-index: 120; transform-origin: top right;
  animation: ci-pop .16s var(--ci-ease);
}
.ci-menu__head { display: flex; gap: 10px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid var(--ci-line-2); margin-bottom: 4px; }
.ci-menu__head strong { display: block; font-size: 14px; }
.ci-menu__head small { color: var(--ci-muted); font-size: 12px; }
.ci-menu a, .ci-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 10px; color: var(--ci-ink); background: none; border: 0;
  font-size: 14px; font-weight: 500; text-align: left;
}
.ci-menu a:hover, .ci-menu button:hover { background: var(--ci-green-50); color: var(--ci-ink); }
.ci-menu .lc { color: var(--ci-green-600); }
.ci-menu__sep { height: 1px; background: var(--ci-line-2); margin: 4px 0; }
.ci-menu .is-danger, .ci-menu .is-danger .lc { color: var(--ci-red); }
@keyframes ci-pop { from { opacity: 0; transform: scale(.96) translateY(-4px); } to { opacity: 1; transform: none; } }

/* prepínač krajiny SK | CZ */
.ci-cc { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ci-bg); border: 1px solid var(--ci-line); }
.ci-cc a { min-width: 40px; padding: 5px 10px; text-align: center; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ci-ink-2); line-height: 1.2; }
.ci-cc a:hover { color: var(--ci-ink); }
.ci-cc a.is-active { background: var(--ci-green); color: #fff; box-shadow: 0 1px 3px rgba(31, 122, 79, .35); }
.ci-cc--light { background: rgba(255, 255, 255, .95); border-color: transparent; }

/* =====================================================================
   HERO (zelený pás)
   ===================================================================== */
.ci-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 85% 120%, #3cae78 0%, rgba(60, 174, 120, 0) 55%), linear-gradient(100deg, #1b7346 0%, #23884f 45%, #2f9e6b 100%);
}
.ci-hero::before, .ci-hero::after {
  content: ''; position: absolute; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .055); pointer-events: none;
}
.ci-hero::before { width: 520px; height: 520px; right: -120px; top: -40px; }
.ci-hero::after { width: 300px; height: 300px; right: 220px; top: 120px; border-width: 30px; border-color: rgba(255, 255, 255, .04); }
.ci-hero__in { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; padding-top: 18px; padding-bottom: 20px; }
.ci-hero__icon { display: none; color: #fff; flex: none; }
.ci-hero__icon svg { width: 100%; height: auto; }
.ci-hero h1, .ci-hero__title { color: #fff; font-size: 1.45rem; font-weight: 800; margin: 0 0 4px; letter-spacing: -.03em; }
.ci-hero p, .ci-hero__text { margin: 0; color: rgba(255, 255, 255, .92); font-size: 14px; max-width: 560px; }
.ci-hero__actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* =====================================================================
   LAYOUT – hlavný stĺpec + pravý panel
   ===================================================================== */
.ci-layout { padding-top: 14px; padding-bottom: 24px; }
.ci-main { min-width: 0; }
.ci-sidebar { display: none; }
.ci-layout--narrow { max-width: 760px; }
body.has-tabbar { padding-bottom: calc(var(--ci-tabbar-h) + var(--ci-safe-b)); }

/* nadpis sekcie (Nástenka cyklistov + tlačidlo) */
.ci-section-title { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; flex-wrap: wrap; }
.ci-section-title h1, .ci-section-title h2 { margin: 0; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; letter-spacing: -.025em; }
.ci-section-title h1 .lc, .ci-section-title h2 .lc { color: var(--ci-green); }
.ci-section-title > .ci-btn, .ci-section-title__end { margin-left: auto; }
.ci-section-title small { display: block; color: var(--ci-muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.ci-page-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; margin: 2px 0 14px; }
.ci-more { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--ci-green-600); white-space: nowrap; }
.ci-more .lc { width: 14px; height: 14px; }

/* =====================================================================
   KARTY
   ===================================================================== */
.ci-card { background: var(--ci-card); border-radius: var(--ci-radius); box-shadow: var(--ci-shadow); border: 1px solid rgba(228, 233, 230, .7); padding: 16px; }
.ci-card + .ci-card { margin-top: 12px; }
.ci-card--flat { box-shadow: none; }
.ci-card--tint { background: linear-gradient(180deg, var(--ci-green-50), #f6fbf8); border-color: #dcefe3; }
.ci-card--pad0 { padding: 0; overflow: hidden; }
.ci-card__title { font-size: 1.08rem; font-weight: 800; margin: 0 0 12px; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.ci-card__title .lc { color: var(--ci-green); }
.ci-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ci-card__head .ci-card__title { margin: 0; }
.ci-card__foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ci-line-2); display: flex; gap: 10px; align-items: center; }
.ci-stack > * + * { margin-top: 12px; }

/* bočné karty (pravý panel) – rovnaké pre content_sidebar_* (agent D) */
.ci-side-card { padding: 16px; }
.ci-side-card + .ci-side-card { margin-top: 16px; }
.ci-side-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ci-side-card__title { margin: 0; font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.ci-side-card__title .lc { color: var(--ci-green); }

/* rýchle kategórie */
.ci-quick { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ci-quick a {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 12px; min-height: 40px; background: #fff; border-radius: 10px;
  color: var(--ci-ink); font-weight: 500; font-size: 14px; border: 1px solid var(--ci-line-2); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.ci-quick a:hover { border-color: var(--ci-green-100); box-shadow: 0 2px 10px rgba(47, 158, 107, .1); transform: translateX(2px); color: var(--ci-ink); }
.ci-quick .lc:first-child { color: var(--ci-green); }
.ci-quick .lc-chevron-right { margin-left: auto; color: var(--ci-ink-2); }

/* mini článok / podujatie v paneli */
.ci-mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ci-mini-article { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; color: var(--ci-ink); }
.ci-mini-article:hover { color: var(--ci-ink); }
.ci-mini-article:hover .ci-mini-article__title { color: var(--ci-green-600); }
.ci-mini-article__img { width: 92px; height: 62px; border-radius: 10px; object-fit: cover; background: var(--ci-green-50); }
.ci-mini-article__title { font-weight: 700; font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-mini-article__meta, .ci-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ci-muted); margin-top: 6px; }
.ci-meta .lc { width: 14px; height: 14px; }
.ci-mini-event { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; color: var(--ci-ink); }
.ci-mini-event:hover { color: var(--ci-ink); }
.ci-mini-event:hover .ci-mini-event__title { color: var(--ci-green-600); }
.ci-mini-event__title { font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.ci-datebox {
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px;
  background: var(--ci-green-50); color: var(--ci-ink); line-height: 1;
}
.ci-datebox b { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.ci-datebox small { font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: var(--ci-green-600); margin-top: 3px; }

/* CTA komunita */
.ci-cta { position: relative; overflow: hidden; padding: 20px; background: linear-gradient(160deg, #eef8f2 0%, #e3f3e9 100%); border: 1px solid #d7eedf; }
.ci-cta__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 14px; max-width: 200px; position: relative; z-index: 1; }
.ci-cta__art { position: absolute; right: -6px; top: 6px; width: 140px; color: var(--ci-green-600); z-index: 0; }
.ci-checklist { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; position: relative; z-index: 1; }
.ci-checklist li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; }
.ci-checklist .lc { color: #fff; background: var(--ci-green); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 3; }

/* =====================================================================
   TLAČIDLÁ
   ===================================================================== */
.ci-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--ci-line); background: #fff; color: var(--ci-ink); font-weight: 700; font-size: 14.5px; line-height: 1.1;
  text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s, transform .1s, color .15s;
  -webkit-user-select: none; user-select: none;
}
.ci-btn:hover { border-color: #cfd8d3; color: var(--ci-ink); background: #fafcfb; }
.ci-btn:active { transform: scale(.97); }
.ci-btn--primary { background: linear-gradient(180deg, #33a873, #2a9563); border-color: transparent; color: #fff; box-shadow: 0 2px 8px rgba(31, 122, 79, .28), inset 0 1px 0 rgba(255, 255, 255, .15); }
.ci-btn--primary:hover { background: linear-gradient(180deg, #2c9c69, #22834f); color: #fff; border-color: transparent; }
.ci-btn--dark { background: var(--ci-green-600); border-color: transparent; color: #fff; }
.ci-btn--dark:hover { background: var(--ci-green-700); color: #fff; }
.ci-btn--ghost { background: transparent; border-color: transparent; color: var(--ci-green-600); }
.ci-btn--ghost:hover { background: var(--ci-green-50); border-color: transparent; color: var(--ci-green-700); }
.ci-btn--outline { background: #fff; border-color: var(--ci-green); color: var(--ci-green-600); }
.ci-btn--outline:hover { background: var(--ci-green-50); border-color: var(--ci-green); color: var(--ci-green-700); }
.ci-btn--danger { background: var(--ci-red); border-color: transparent; color: #fff; }
.ci-btn--danger:hover { background: #cf3a3f; color: #fff; border-color: transparent; }
.ci-btn--white { background: #fff; border-color: transparent; color: var(--ci-green-600); }
.ci-btn--sm { min-height: 36px; padding: 7px 14px; font-size: 13.5px; }
.ci-btn--lg { min-height: 52px; padding: 13px 24px; font-size: 16px; }
.ci-btn--block { display: flex; width: 100%; }
.ci-btn--icon { width: 44px; padding: 0; }
.ci-btn[disabled], .ci-btn.is-loading { opacity: .6; pointer-events: none; }
.ci-btn.is-loading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ci-spin .7s linear infinite; }
@keyframes ci-spin { to { transform: rotate(360deg); } }
.ci-link { color: var(--ci-green-600); font-weight: 600; background: none; border: 0; padding: 0; }
.ci-btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* =====================================================================
   ČIPY (filtre) – horizontálny posun na mobile
   ===================================================================== */
.ci-chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 16px 4px; margin: 0 -16px 12px;
  scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
.ci-chips::-webkit-scrollbar { display: none; }
.ci-chips--sticky { position: sticky; top: calc(var(--ci-header-h) + var(--ci-safe-t)); z-index: 20; background: linear-gradient(var(--ci-bg) 80%, rgba(244, 246, 245, 0)); padding-top: 8px; padding-bottom: 8px; }
.ci-chip {
  display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 38px; padding: 7px 14px; border-radius: 999px; background: #fff;
  border: 1px solid var(--ci-line); color: var(--ci-ink); font-size: 14px; font-weight: 500; white-space: nowrap; scroll-snap-align: start;
  box-shadow: var(--ci-shadow-sm); transition: background .15s, border-color .15s, color .15s;
}
.ci-chip:hover { border-color: var(--ci-green-100); color: var(--ci-ink); background: var(--ci-green-25); }
.ci-chip .lc { width: 18px; height: 18px; }
.ci-chip.is-active, .ci-chip[aria-pressed="true"] { background: var(--ci-green); border-color: var(--ci-green); color: #fff; box-shadow: 0 2px 8px rgba(31, 122, 79, .25); }
.ci-chip.is-active .lc { color: #fff !important; }
.ci-chip__count { font-size: 12px; color: var(--ci-muted); font-weight: 600; }
.ci-chip.is-active .ci-chip__count { color: rgba(255, 255, 255, .8); }
.ci-chip--tip .lc { color: #d39b12; } .ci-chip--sale .lc { color: var(--ci-green); } .ci-chip--route .lc { color: var(--ci-green-600); }
.ci-chip--alert .lc { color: var(--ci-red); } .ci-chip--stolen .lc { color: #a3262b; } .ci-chip--partner .lc { color: #2a8f8a; }
.ci-chip--poll .lc { color: #7b5cc4; } .ci-chip--buy .lc { color: var(--ci-gold); } .ci-chip--help .lc { color: #e07b21; }
.ci-chip--found .lc { color: #1d9a9a; } .ci-chip--ride .lc { color: var(--ci-green); }

/* =====================================================================
   ODZNAKY typov príspevkov
   ===================================================================== */
.ci-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.2;
  background: var(--ci-green-50); color: var(--ci-green-600); white-space: nowrap;
}
.ci-badge .lc { width: 16px; height: 16px; stroke-width: 2.2; }
.ci-badge--sm { padding: 2px 8px; font-size: 11.5px; }
.ci-badge--tip { background: #fff5d6; color: #9a6c00; }
.ci-badge--sale { background: #e3f5ea; color: #1f7a4f; }
.ci-badge--route { background: #fff; color: var(--ci-green-600); box-shadow: inset 0 0 0 1.5px #9fd6b9; }
.ci-badge--alert { background: var(--ci-red-50); color: #c9282d; }
.ci-badge--stolen { background: #7d1d22; color: #fff; }
.ci-badge--partner { background: #def3f1; color: #1d7a74; }
.ci-badge--poll { background: #efe9fb; color: #6646b0; }
.ci-badge--buy { background: var(--ci-gold-50); color: #8a6a22; }
.ci-badge--help { background: #fff0e2; color: #b65a0c; }
.ci-badge--found { background: #dff4f4; color: #137878; }
.ci-badge--ride { background: var(--ci-green); color: #fff; }
.ci-badge--gold { background: linear-gradient(180deg, #e2bd67, #c9a04a); color: #fff; }
.ci-badge--muted { background: var(--ci-bg); color: var(--ci-muted); }
.ci-badge--count { min-width: 20px; justify-content: center; padding: 2px 6px; font-size: 11.5px; background: var(--ci-red); color: #fff; }

/* cena */
.ci-price { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 999px; background: var(--ci-green); color: #fff; font-weight: 800; font-size: 16px; letter-spacing: -.01em; }

/* =====================================================================
   AVATARY
   ===================================================================== */
.ci-avatar {
  --s: 44px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; object-fit: cover; background: var(--ci-green-50);
  display: inline-grid; place-items: center; font-weight: 700; color: var(--ci-green-600); font-size: calc(var(--s) * .38); overflow: hidden;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ci-line-2);
}
.ci-avatar--xs { --s: 28px; } .ci-avatar--sm { --s: 36px; } .ci-avatar--lg { --s: 64px; } .ci-avatar--xl { --s: 96px; }
.ci-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ci-avatar-stack { display: inline-flex; }
.ci-avatar-stack .ci-avatar { margin-left: -8px; } .ci-avatar-stack .ci-avatar:first-child { margin-left: 0; }

/* =====================================================================
   PRÍSPEVOK (generický – nástenka môže použiť, špecifiká v cyklo.css)
   ===================================================================== */
.ci-post { padding: 16px; }
.ci-post__head { display: flex; align-items: flex-start; gap: 12px; }
.ci-post__who { min-width: 0; flex: 1; }
.ci-post__author { font-weight: 700; color: var(--ci-ink); }
.ci-post__time { color: var(--ci-muted); font-size: 13.5px; }
.ci-post__time::before { content: '·'; margin: 0 6px; color: var(--ci-faint); }
.ci-post__side { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.ci-post__body { margin-top: 2px; }
.ci-post__title { font-size: 15.5px; font-weight: 700; margin: 4px 0 2px; }
.ci-post__text { margin: 0; color: var(--ci-ink); }
.ci-post__media { margin-top: 12px; border-radius: 14px; overflow: hidden; position: relative; background: var(--ci-green-50); }
.ci-post__media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.ci-post__stats { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; }
.ci-pill-dark { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(20, 30, 24, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-size: 14px; }
.ci-post__actions { display: flex; align-items: center; gap: 4px; margin: 10px 0 -6px -8px; }
.ci-action { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 10px; border-radius: 999px; border: 0; background: none; color: var(--ci-ink-2); font-size: 14px; font-weight: 500; }
.ci-action:hover { background: var(--ci-bg); color: var(--ci-ink); }
.ci-action.is-liked .lc, .ci-action--like .lc { color: var(--ci-red); }
.ci-action.is-liked .lc { fill: var(--ci-red); }
@media (min-width: 900px) { .ci-post__body, .ci-post__actions, .ci-post__media { margin-left: 56px; } .ci-post__actions { margin-left: 48px; } }

/* =====================================================================
   ZOZNAMY, TABY, GRID
   ===================================================================== */
.ci-list { list-style: none; margin: 0; padding: 0; }
.ci-list > li, .ci-list__item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ci-line-2); }
.ci-list > li:last-child { border-bottom: 0; }
.ci-list--links a, a.ci-list__item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; color: var(--ci-ink); font-weight: 500; }
.ci-list--links a .lc:first-child { color: var(--ci-green); }
.ci-list--links a .lc-chevron-right { margin-left: auto; color: var(--ci-faint); }
.ci-list--links > li { padding: 0; }
.ci-list__body { min-width: 0; flex: 1; }
.ci-list__title { font-weight: 600; display: block; }
.ci-list__sub { font-size: 13px; color: var(--ci-muted); display: block; }

.ci-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--ci-line); margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.ci-tabs::-webkit-scrollbar { display: none; }
.ci-tabs a, .ci-tabs button {
  position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; color: var(--ci-muted); font-weight: 600; font-size: 14.5px;
  border: 0; background: none; white-space: nowrap;
}
.ci-tabs a:hover, .ci-tabs button:hover { color: var(--ci-ink); }
.ci-tabs .is-active { color: var(--ci-green-600); }
.ci-tabs .is-active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--ci-green); }
.ci-segment { display: inline-flex; padding: 4px; background: #e9eeeb; border-radius: 999px; gap: 2px; }
.ci-segment a, .ci-segment button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--ci-ink-2); }
.ci-segment .is-active { background: #fff; color: var(--ci-ink); box-shadow: var(--ci-shadow-sm); }

.ci-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.ci-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ci-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ci-stat { background: #fff; border-radius: 14px; padding: 14px; border: 1px solid var(--ci-line-2); }
.ci-stat b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.ci-stat span { font-size: 12.5px; color: var(--ci-muted); font-weight: 500; }

/* =====================================================================
   PRÁZDNY STAV, FLASH, TOAST
   ===================================================================== */
.ci-empty { text-align: center; padding: 36px 20px; color: var(--ci-muted); }
.ci-empty__icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--ci-green-50); color: var(--ci-green); display: grid; place-items: center; }
.ci-empty__icon .lc { width: 34px; height: 34px; stroke-width: 1.7; }
.ci-empty h3, .ci-empty__title { color: var(--ci-ink); font-size: 1.1rem; margin-bottom: 6px; }
.ci-empty p { max-width: 380px; margin: 0 auto 16px; }

.ci-flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14.5px; font-weight: 500; border: 1px solid transparent; }
.ci-flash .lc { margin-top: 1px; }
.ci-flash--ok, .ci-flash--success { background: var(--ci-green-50); color: var(--ci-green-700); border-color: #cbe9d7; }
.ci-flash--err, .ci-flash--error { background: var(--ci-red-50); color: #b42318; border-color: #f7cfd0; }
.ci-flash--warn, .ci-flash--warning { background: #fff6e0; color: #8a5a00; border-color: #f4e1ad; }
.ci-flash--info { background: #e9f3fb; color: #1e5f92; border-color: #cfe3f3; }

.ci-toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--ci-tabbar-h) + var(--ci-safe-b) + 12px); z-index: 400; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.ci-toast {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #1f2a24; color: #fff;
  box-shadow: var(--ci-shadow-lg); font-size: 14.5px; font-weight: 500; animation: ci-toast-in .25s var(--ci-ease);
}
.ci-toast .lc { flex: none; }
.ci-toast--ok .lc, .ci-toast--success .lc { color: #6ee0a6; }
.ci-toast--err .lc, .ci-toast--error .lc { color: #ff8b8e; }
.ci-toast--warn .lc, .ci-toast--warning .lc { color: #ffd16b; }
.ci-toast__x { margin-left: auto; background: none; border: 0; color: rgba(255, 255, 255, .7); padding: 4px; display: grid; }
.ci-toast.is-out { animation: ci-toast-out .2s ease forwards; }
@keyframes ci-toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ci-toast-out { to { opacity: 0; transform: translateY(8px); } }

/* =====================================================================
   MODÁL / BOTTOM SHEET / CONFIRM
   ===================================================================== */
.ci-sheet { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; }
.ci-sheet__overlay { position: absolute; inset: 0; background: rgba(17, 24, 20, .45); animation: ci-fade .2s ease; }
.ci-sheet__panel {
  position: relative; width: 100%; max-height: calc(100dvh - 40px); overflow: auto; background: #fff; border-radius: 22px 22px 0 0;
  padding: 8px 18px calc(18px + var(--ci-safe-b)); box-shadow: var(--ci-shadow-lg); animation: ci-sheet-up .3s var(--ci-ease); overscroll-behavior: contain;
}
.ci-sheet__grip { width: 40px; height: 5px; border-radius: 9px; background: #d5dbd8; margin: 4px auto 10px; }
.ci-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ci-sheet__title { margin: 0; font-size: 1.15rem; font-weight: 800; }
.ci-sheet__foot { position: sticky; bottom: calc(-18px - var(--ci-safe-b)); background: #fff; padding: 12px 0 0; display: flex; gap: 10px; }
.ci-sheet.is-closing .ci-sheet__panel { animation: ci-sheet-down .22s ease forwards; }
.ci-sheet.is-closing .ci-sheet__overlay { animation: ci-fade .22s ease reverse forwards; }
@keyframes ci-fade { from { opacity: 0; } }
@keyframes ci-sheet-up { from { transform: translateY(100%); } }
@keyframes ci-sheet-down { to { transform: translateY(100%); } }
.ci-modal { align-items: flex-end; }
.ci-confirm__text { font-size: 15.5px; margin: 6px 0 16px; }
html.ci-noscroll, html.ci-noscroll body { overflow: hidden; }

/* =====================================================================
   SKELETON, LIGHTBOX
   ===================================================================== */
.ci-skel { background: linear-gradient(90deg, #eceff0 0%, #f6f8f7 40%, #eceff0 80%); background-size: 300% 100%; animation: ci-shimmer 1.3s linear infinite; border-radius: 8px; }
.ci-skel--line { height: 12px; margin: 8px 0; } .ci-skel--line.w60 { width: 60%; } .ci-skel--line.w40 { width: 40%; }
.ci-skel--circle { width: 44px; height: 44px; border-radius: 50%; }
.ci-skel--img { height: 160px; border-radius: 14px; }
@keyframes ci-shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

.ci-lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(8, 12, 10, .94); display: flex; align-items: center; justify-content: center; animation: ci-fade .2s; touch-action: pan-y; }
.ci-lightbox img { max-width: 100vw; max-height: 100dvh; object-fit: contain; -webkit-user-select: none; user-select: none; }
.ci-lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.ci-lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.ci-lightbox__x { top: calc(12px + var(--ci-safe-t)); right: 12px; }
.ci-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.ci-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.ci-lightbox__count { position: absolute; bottom: calc(16px + var(--ci-safe-b)); left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .75); font-size: 13px; font-weight: 600; }

/* =====================================================================
   HĽADANIE (overlay)
   ===================================================================== */
.ci-search { position: fixed; inset: 0; z-index: 250; display: flex; flex-direction: column; }
.ci-search__overlay { position: absolute; inset: 0; background: rgba(17, 24, 20, .4); animation: ci-fade .15s; }
.ci-search__panel { position: relative; background: #fff; padding: calc(10px + var(--ci-safe-t)) 12px 14px; box-shadow: var(--ci-shadow-lg); animation: ci-search-in .2s var(--ci-ease); }
@keyframes ci-search-in { from { transform: translateY(-14px); opacity: 0; } }
.ci-search__form { display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 0 auto; }
.ci-search__field { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--ci-bg); border-radius: 999px; padding: 0 16px; min-height: 50px; border: 1.5px solid transparent; }
.ci-search__field:focus-within { border-color: var(--ci-green); background: #fff; }
.ci-search__field .lc { color: var(--ci-muted); }
.ci-search__field input { flex: 1; border: 0; background: none; outline: none; font-size: 16px; min-width: 0; }
.ci-search__hints { max-width: 720px; margin: 12px auto 0; display: flex; gap: 8px; flex-wrap: wrap; }

/* =====================================================================
   SPODNÁ LIŠTA (mobil)
   ===================================================================== */
.ci-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; height: calc(var(--ci-tabbar-h) + var(--ci-safe-b)); padding-bottom: var(--ci-safe-b);
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-top: 1px solid var(--ci-line-2); display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch;
  box-shadow: 0 -4px 20px rgba(23, 45, 33, .05);
}
.ci-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #7b8187; font-size: 11px; font-weight: 600; letter-spacing: -.01em; min-height: 44px; transition: color .15s; }
.ci-tab .lc { width: 24px; height: 24px; stroke-width: 1.9; transition: transform .2s var(--ci-ease); }
.ci-tab:hover { color: var(--ci-ink); }
.ci-tab.is-active { color: var(--ci-green-600); }
.ci-tab.is-active .lc { stroke-width: 2.3; }
.ci-tab.is-active::before { content: ''; position: absolute; top: 0; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 0 0 3px 3px; background: var(--ci-green); }
.ci-tab:active .lc { transform: scale(.88); }
.ci-tab__badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--ci-red); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.ci-tab--add { color: #fff; }
.ci-tab--add .ci-tab__plus {
  width: 54px; height: 54px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, #3bb57d, #23874f); box-shadow: 0 6px 16px rgba(31, 122, 79, .4), 0 0 0 5px #fff;
  transition: transform .2s var(--ci-ease);
}
.ci-tab--add .lc { width: 28px; height: 28px; stroke-width: 2.6; }
.ci-tab--add:active .ci-tab__plus { transform: scale(.92); }
.ci-tab--add.is-active::before { display: none; }

/* =====================================================================
   PÄTIČKA
   ===================================================================== */
.ci-footer { position: relative; overflow: hidden; color: rgba(255, 255, 255, .88); background: linear-gradient(110deg, #17633f 0%, #1f7a4f 55%, #23874f 100%); font-size: 14px; }
.ci-footer a { color: rgba(255, 255, 255, .88); }
.ci-footer a:hover { color: #fff; }
.ci-footer__in { position: relative; z-index: 1; display: grid; gap: 22px; padding-top: 26px; padding-bottom: 20px; }
.ci-footer__brand .ci-logo { color: #fff; }
.ci-footer__brand .ci-logo__mark { color: #fff; width: 48px; height: 34px; }
.ci-footer__brand .ci-logo__name { font-size: 26px; }
.ci-footer__brand .ci-logo__tag { display: block; color: rgba(255, 255, 255, .85); font-size: 12px; }
.ci-footer__brand p { margin: 12px 0 0; max-width: 260px; color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.ci-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ci-footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
.ci-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.ci-footer ul a { font-size: 13.5px; }
.ci-social { display: flex; gap: 10px; }
.ci-social a { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ci-green-600); display: grid; place-items: center; transition: transform .15s; }
.ci-social a:hover { transform: translateY(-2px); color: var(--ci-green-700); }
.ci-footer__art { position: absolute; right: 0; bottom: 56px; width: 360px; max-width: 60%; color: #0f4f31; opacity: .55; pointer-events: none; display: none; }
.ci-footer__bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .14); }
.ci-footer__bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; font-size: 13px; flex-wrap: wrap; }
.ci-footer__bottom .linklike { background: none; border: 0; color: rgba(255, 255, 255, .7); font-size: 13px; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.has-tabbar .ci-footer__in { padding-top: 20px; }
/* mobil: pätička skromná – len odkazy a prepínač */
.ci-footer--app .ci-footer__brand p { display: none; }

/* =====================================================================
   FORMULÁRE .cpf-*
   ===================================================================== */
.cpf-form { display: grid; gap: 16px; }
.cpf-row { display: grid; gap: 6px; }
.cpf-row--2 { grid-template-columns: 1fr; gap: 16px; }
.cpf-label { font-weight: 600; font-size: 14px; color: var(--ci-ink); }
.cpf-label .cpf-req { color: var(--ci-red); }
.cpf-input, .cpf-select, .cpf-textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--ci-line); background: #fff; font-size: 16px; color: var(--ci-ink);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.cpf-textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.cpf-select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236f747b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.cpf-input:hover, .cpf-select:hover, .cpf-textarea:hover { border-color: #cdd6d1; }
.cpf-input:focus, .cpf-select:focus, .cpf-textarea:focus { outline: none; border-color: var(--ci-green); box-shadow: 0 0 0 4px rgba(47, 158, 107, .14); }
.cpf-input::placeholder, .cpf-textarea::placeholder { color: var(--ci-faint); }
.cpf-input[aria-invalid="true"], .has-error .cpf-input, .has-error .cpf-select, .has-error .cpf-textarea { border-color: var(--ci-red); }
.cpf-help { font-size: 13px; color: var(--ci-muted); margin: 0; }
.cpf-error { font-size: 13px; color: #c9282d; font-weight: 600; margin: 0; }
.cpf-error:empty { display: none; }
/* plávajúci label: <div class="cpf-float"><input class="cpf-input" placeholder=" "><label>…</label></div> */
.cpf-float { position: relative; }
.cpf-float .cpf-input, .cpf-float .cpf-textarea { padding-top: 22px; padding-bottom: 6px; min-height: 56px; }
.cpf-float > label { position: absolute; left: 17px; top: 17px; font-size: 16px; color: var(--ci-muted); pointer-events: none; transition: all .15s var(--ci-ease); transform-origin: left top; }
.cpf-float .cpf-input:focus + label, .cpf-float .cpf-input:not(:placeholder-shown) + label,
.cpf-float .cpf-textarea:focus + label, .cpf-float .cpf-textarea:not(:placeholder-shown) + label { top: 8px; font-size: 12px; font-weight: 600; color: var(--ci-green-600); }
/* input s ikonou / príponou */
.cpf-affix { position: relative; display: flex; align-items: center; }
.cpf-affix > .lc { position: absolute; left: 15px; color: var(--ci-muted); pointer-events: none; }
.cpf-affix > .lc + .cpf-input { padding-left: 46px; }
.cpf-affix__suffix { position: absolute; right: 16px; color: var(--ci-muted); font-weight: 600; pointer-events: none; }
/* checkbox / radio */
.cpf-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14.5px; line-height: 1.4; min-height: 28px; }
.cpf-check input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid #c5cfca; border-radius: 7px; background: #fff; display: grid; place-items: center; transition: all .15s; }
.cpf-check input[type="radio"] { border-radius: 50%; }
.cpf-check input:checked { background: var(--ci-green); border-color: var(--ci-green); }
.cpf-check input[type="checkbox"]:checked::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.cpf-check input[type="radio"]:checked::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.cpf-check input:focus-visible { box-shadow: 0 0 0 4px rgba(47, 158, 107, .2); }
/* výber typu (veľké dlaždice s ikonou) */
.cpf-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.cpf-type { position: relative; }
.cpf-type input { position: absolute; opacity: 0; inset: 0; }
.cpf-type span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 10px 6px; border-radius: 14px; border: 1.5px solid var(--ci-line); background: #fff; text-align: center; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s; }
.cpf-type span .lc { width: 24px; height: 24px; color: var(--ci-green); }
.cpf-type input:checked + span { border-color: var(--ci-green); background: var(--ci-green-50); box-shadow: 0 0 0 3px rgba(47, 158, 107, .12); }
.cpf-type input:focus-visible + span { box-shadow: 0 0 0 4px rgba(47, 158, 107, .25); }
/* nahrávanie fotiek (grid) */
.cpf-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cpf-photos__add, .cpf-photos__item { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.cpf-photos__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed #bfd9c9; background: var(--ci-green-25); color: var(--ci-green-600); font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: center; padding: 6px; }
.cpf-photos__add:hover { border-color: var(--ci-green); background: var(--ci-green-50); }
.cpf-photos__add .lc { width: 28px; height: 28px; }
.cpf-photos__add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cpf-photos__item img { width: 100%; height: 100%; object-fit: cover; }
.cpf-photos__del { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; }
.cpf-photos__main { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 99px; background: var(--ci-green); color: #fff; font-size: 11px; font-weight: 700; }
.cpf-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cpf-actions--sticky { position: sticky; bottom: calc(var(--ci-tabbar-h) + var(--ci-safe-b)); background: linear-gradient(rgba(244, 246, 245, 0), var(--ci-bg) 30%); padding: 14px 0 10px; z-index: 5; }
.cpf-actions--sticky .ci-btn { flex: 1; }
.cpf-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.cpf-fieldset legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }

/* prepínač (switch) */
.ci-switch { position: relative; display: inline-flex; flex: none; width: 50px; height: 30px; }
.ci-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ci-switch__ui { width: 100%; height: 100%; border-radius: 99px; background: #cfd7d3; transition: background .2s; position: relative; }
.ci-switch__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ci-ease); }
.ci-switch input:checked + .ci-switch__ui { background: var(--ci-green); }
.ci-switch input:checked + .ci-switch__ui::after { transform: translateX(20px); }
.ci-switch input:focus-visible + .ci-switch__ui { box-shadow: 0 0 0 4px rgba(47, 158, 107, .25); }
.ci-toggle-row { gap: 12px; }
.ci-toggle-row__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--ci-green-50); color: var(--ci-green-600); }
.ci-toggle-row__text { flex: 1; min-width: 0; cursor: pointer; }
.ci-toggle-row__text strong { display: block; font-size: 14.5px; }
.ci-toggle-row__text small { display: block; color: var(--ci-muted); font-size: 12.5px; line-height: 1.35; }
.ci-push-device { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ci-green-25); border: 1px solid #d7eedf; margin-bottom: 6px; }
.ci-push-device__icon { color: var(--ci-green-600); }
.ci-push-device__text { flex: 1; min-width: 0; }
.ci-push-device__text strong { display: block; font-size: 14.5px; }
.ci-push-device__text span { font-size: 12.5px; color: var(--ci-muted); }
.ci-push-device.is-on { background: var(--ci-green-50); }
.ci-push-device.is-blocked { background: var(--ci-red-50); border-color: #f7cfd0; }

/* farby typov notifikácií */
.ci-ntype--msg { background: #e6f1fb; color: #2f6fae; }
.ci-ntype--stolen { background: #fbe4e5; color: #a3262b; }
.ci-ntype--comment { background: var(--ci-green-50); color: var(--ci-green-600); }
.ci-ntype--like { background: #fde9ec; color: #d63753; }
.ci-ntype--ride { background: #e3f5ea; color: #1f7a4f; }
.ci-ntype--challenge { background: var(--ci-gold-50); color: #a07a24; }
.ci-ntype--event { background: #efe9fb; color: #6646b0; }
.ci-ntype--broadcast, .ci-ntype--system { background: #eef0f2; color: var(--ci-ink-2); }

/* notifikácie */
.ci-notifs { list-style: none; margin: 0; padding: 0; }
.ci-notif { display: flex; gap: 12px; align-items: flex-start; padding: 12px; margin: 0 -12px; border-radius: 14px; color: var(--ci-ink); position: relative; }
.ci-notif:hover { background: var(--ci-green-25); color: var(--ci-ink); }
.ci-notif__icon { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.ci-notif__body { min-width: 0; flex: 1; }
.ci-notif__title { font-weight: 600; font-size: 14.5px; display: block; }
.ci-notif__text { color: var(--ci-ink-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-notif__time { font-size: 12px; color: var(--ci-muted); margin-top: 2px; display: block; }
.ci-notif.is-unread { background: var(--ci-green-25); }
.ci-notif.is-unread .ci-notif__title { font-weight: 800; }
.ci-notif.is-unread::after { content: ''; position: absolute; right: 14px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--ci-green); }
.ci-day-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ci-muted); margin: 18px 0 6px; }

/* =====================================================================
   PWA inštalácia, cookie lišta
   ===================================================================== */
.ci-install {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--ci-tabbar-h) + var(--ci-safe-b) + 12px); z-index: 160; display: flex; align-items: center; gap: 12px;
  padding: 12px 12px 12px 14px; background: #fff; border-radius: 18px; box-shadow: var(--ci-shadow-lg); border: 1px solid var(--ci-line-2); animation: ci-toast-in .3s var(--ci-ease);
}
.ci-install__icon { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.ci-install__text { flex: 1; min-width: 0; font-size: 13px; color: var(--ci-muted); line-height: 1.35; }
.ci-install__text strong { display: block; color: var(--ci-ink); font-size: 14.5px; }
.ci-install__x { background: none; border: 0; color: var(--ci-muted); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.ci-ios-hint { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ci-ios-hint .lc { color: var(--ci-blue); }

.ci-cookie {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--ci-tabbar-h) + var(--ci-safe-b) + 12px); z-index: 170; background: #fff; border-radius: 18px; box-shadow: var(--ci-shadow-lg);
  border: 1px solid var(--ci-line-2); padding: 16px; max-width: 560px; margin: 0 auto;
}
.ci-cookie p { margin: 0 0 12px; font-size: 14px; color: var(--ci-ink-2); }
.ci-cookie__btns { display: flex; gap: 8px; }
.ci-cookie__btns .ci-btn { flex: 1; }

/* offline indikátor */
.ci-offline-bar { position: fixed; top: calc(var(--ci-header-h) + var(--ci-safe-t)); left: 0; right: 0; z-index: 90; background: #3b3f44; color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 6px; display: flex; gap: 8px; justify-content: center; align-items: center; }

/* pull-to-refresh */
.ci-ptr { position: fixed; top: calc(var(--ci-header-h) + var(--ci-safe-t) + 8px); left: 50%; z-index: 95; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: #fff; box-shadow: var(--ci-shadow); display: grid; place-items: center; color: var(--ci-green); transform: translateY(-70px); transition: transform .2s; pointer-events: none; }
.ci-ptr.is-loading .lc { animation: ci-spin .8s linear infinite; }

/* =====================================================================
   UTILITY
   ===================================================================== */
.u-muted { color: var(--ci-muted); } .u-small { font-size: 13px; } .u-center { text-align: center; } .u-right { text-align: right; }
.u-bold { font-weight: 700; } .u-green { color: var(--ci-green-600); } .u-red { color: var(--ci-red); } .u-gold { color: var(--ci-gold); }
.u-mt0 { margin-top: 0 !important; } .u-mb0 { margin-bottom: 0 !important; } .u-mt { margin-top: 16px; } .u-mb { margin-bottom: 16px; } .u-mt-lg { margin-top: 28px; }
.u-flex { display: flex; align-items: center; gap: 10px; } .u-between { justify-content: space-between; } .u-wrap { flex-wrap: wrap; } .u-grow { flex: 1; min-width: 0; }
.u-gap-sm { gap: 6px; } .u-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-hide-m { display: none !important; }
.u-round { border-radius: var(--ci-radius); } .u-w100 { width: 100%; }

/* =====================================================================
   ≥ 600 px
   ===================================================================== */
@media (min-width: 600px) {
  .ci-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cpf-row--2 { grid-template-columns: 1fr 1fr; }
  .cpf-photos { grid-template-columns: repeat(4, 1fr); }
  .ci-sheet { align-items: center; padding: 20px; }
  .ci-sheet__panel { max-width: 520px; border-radius: 22px; padding-bottom: 20px; animation: ci-pop .2s var(--ci-ease); }
  .ci-sheet__grip { display: none; }
  .ci-sheet.is-closing .ci-sheet__panel { animation: ci-fade .15s ease reverse forwards; }
  .ci-install { left: auto; right: 20px; width: 400px; }
}

/* =====================================================================
   PC ≥ 900 px
   ===================================================================== */
@media (min-width: 900px) {
  :root { --ci-header-h: 72px; }
  body { font-size: 15px; }
  body.has-tabbar { padding-bottom: 0; }
  .ci-container { padding: 0 24px; }
  .ci-tabbar { display: none; }
  .u-hide-m { display: revert !important; }
  .u-hide-pc { display: none !important; }

  .ci-header { background: #fff; }
  .ci-header__in { gap: 18px; }
  .ci-logo { gap: 12px; }
  .ci-logo__mark { width: 50px; height: 35px; }
  .ci-logo__name { font-size: 25px; }
  .ci-logo__tag { display: block; }
  .has-back .ci-header .ci-logo { display: inline-flex; }
  .has-back .ci-header__back, .has-back .ci-header__title { display: none; }

  .ci-nav { display: flex; align-items: stretch; gap: 4px; margin-left: 22px; }
  .ci-nav__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 76px; padding: 7px 12px; border-radius: 14px;
    color: var(--ci-ink); font-size: 13px; font-weight: 600; letter-spacing: -.01em; transition: background .15s, color .15s;
  }
  .ci-nav__item .lc { width: 22px; height: 22px; stroke-width: 1.9; }
  .ci-nav__item:hover { background: var(--ci-green-25); color: var(--ci-ink); }
  .ci-nav__item.is-active { background: var(--ci-green-50); color: var(--ci-ink); font-weight: 700; }
  .ci-nav__item.is-active .lc { color: var(--ci-green); stroke-width: 2.2; }

  .ci-header__actions { gap: 6px; }
  .ci-header__login-m { display: none; }
  .ci-header__login { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px; color: var(--ci-ink); font-weight: 600; font-size: 14.5px; }
  .ci-header__login:hover { background: var(--ci-green-50); color: var(--ci-ink); }
  .ci-header__register { display: inline-flex; margin-left: 4px; padding-left: 22px; padding-right: 22px; font-size: 15px; }
  .ci-header__msgs { display: inline-grid; }
  .ci-cc--header { display: inline-flex; margin-left: 14px; }
  .ci-avatar-btn .lc-chevron-down { display: block; }
  .ci-menu { right: 24px; }

  .ci-hero__in { padding-top: 30px; padding-bottom: 34px; gap: 26px; }
  .ci-hero__icon { display: block; width: 92px; margin-left: 52px; }
  .ci-hero h1, .ci-hero__title { font-size: 2.45rem; margin-bottom: 8px; }
  .ci-hero p, .ci-hero__text { font-size: 16.5px; line-height: 1.55; }

  .ci-layout { padding-top: 24px; padding-bottom: 40px; }
  .ci-layout--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) var(--ci-sidebar); gap: 24px; align-items: start; }
  .ci-sidebar { display: block; position: sticky; top: calc(var(--ci-header-h) + 16px); }
  .ci-section-title h1, .ci-section-title h2 { font-size: 1.75rem; }
  .ci-section-title h1 .lc, .ci-section-title h2 .lc { width: 40px; height: 40px; }
  .ci-page-title { font-size: 2rem; }

  .ci-chips { margin: 0 0 16px; padding: 2px 0 4px; flex-wrap: wrap; overflow: visible; }
  .ci-chips--sticky { position: static; background: none; }
  .ci-card { padding: 18px 20px; }
  .ci-post { padding: 18px 20px; }
  .ci-grid--2 { gap: 16px; }

  .ci-toasts { bottom: 24px; left: auto; right: 24px; transform: none; }
  .ci-install { bottom: 24px; }
  .ci-cookie { bottom: 20px; left: 20px; right: auto; width: 420px; margin: 0; }
  .ci-offline-bar { top: var(--ci-header-h); }

  .ci-footer { font-size: 14px; }
  .ci-footer--app .ci-footer__cols, .ci-footer--app .ci-footer__brand p { display: revert; }
  .ci-footer--app .ci-footer__cols { display: contents; }
  .ci-footer__in { grid-template-columns: 1.35fr 1fr 1fr 1.2fr 1.2fr; gap: 28px; padding-top: 34px; padding-bottom: 30px; }
  .ci-footer__cols { display: contents; }
  .ci-footer__art { display: block; }
  .ci-footer__social { position: relative; z-index: 2; }
  .cpf-actions--sticky { position: static; background: none; padding: 0; }
  .cpf-actions--sticky .ci-btn { flex: none; }
  .cpf-photos { grid-template-columns: repeat(5, 1fr); }
  .ci-lightbox__btn { width: 56px; height: 56px; }
}

@media (min-width: 1200px) {
  .ci-hero__icon { margin-left: 64px; }
}

/* hover iba na zariadeniach s myšou – na dotyku bez „prilepeného“ hover stavu */
@media (hover: none) {
  .ci-quick a:hover { transform: none; box-shadow: none; }
  .ci-social a:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* PWA – samostatné okno: väčšia horná rezerva, bez výberu textu v lištách */
@media (display-mode: standalone) {
  .ci-tabbar, .ci-header { -webkit-user-select: none; user-select: none; }
  .ci-install { display: none !important; }
}
@media print {
  .ci-header, .ci-tabbar, .ci-footer, .ci-sidebar, .ci-install, .ci-cookie, .ci-toasts { display: none !important; }
  body { background: #fff; padding: 0 !important; }
}

/* doplnky */
.ci-sidebar > * + * { margin-top: 16px; }
.ci-side-slot > .ci-card { margin: 0; }
.ci-footer .ci-cc a { color: var(--ci-ink-2); }
.ci-footer .ci-cc a.is-active { color: #fff; }
.ci-header .ci-header__register { display: none; }
@media (min-width: 900px) { .ci-header .ci-header__register { display: inline-flex; } }
.ci-post__time { white-space: nowrap; }
html, body { overflow-x: clip; }
.ci-header .ci-cc--header { display: none; }
.ci-post__author { display: block; line-height: 1.3; }
.ci-post__time { display: block; font-size: 13px; }
.ci-post__time::before { display: none; }
.ci-post__body { margin-top: 8px; }
@media (min-width: 900px) {
  .ci-header .ci-cc--header { display: inline-flex; }
  .ci-post__author { display: inline; }
  .ci-post__time { display: inline; font-size: 13.5px; }
  .ci-post__time::before { display: inline; }
  .ci-post__body { margin-top: 2px; }
}
