/* CycleStop — flat, modern take on the 2015 mockup.
   Red is the accent, not the background. On desktop the app lives in a 720px "tablet" column. */
:root {
  --cs-red: #E3242B;
  --cs-red-dark: #C11A20;
  --cs-red-soft: #FDECEC;
  --cs-ink: #16161A;
  --cs-muted: #6B6F7B;
  --cs-line: #ECECF0;
  --cs-surface: #F6F6F8;
  --cs-desk: #E9E9EE;
  --cs-blue: #2F9BE0;
  --cs-green: #1FAF6E;
  --cs-orange: #F28C1B;
  --cs-radius: 18px;
  --cs-top-h: 60px;
  --cs-nav-h: 68px;
  --cs-shell: 720px;
  --bs-primary: var(--cs-red);
  --bs-primary-rgb: 227, 36, 43;
  --bs-link-color: var(--cs-red);
  --bs-link-color-rgb: 227, 36, 43;
  --bs-link-hover-color: var(--cs-red-dark);
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--cs-ink);
  --bs-border-radius: 12px;
}
html, body { min-height: 100%; }
body { font-family: var(--bs-body-font-family); color: var(--cs-ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; }
a { text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- Tablet column on desktop ---------- */
.cs-shell { position: relative; min-height: 100vh; background: #fff; }
@media (min-width: 760px) {
  body { background: var(--cs-desk); }
  .cs-shell { max-width: var(--cs-shell); margin: 0 auto; box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 20px 60px rgba(20,20,30,.10); }
}

/* ---------- Top bar ---------- */
.cs-topbar { position: sticky; top: 0; z-index: 1030; height: calc(var(--cs-top-h) + env(safe-area-inset-top));
             padding: env(safe-area-inset-top) 16px 0; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
             border-bottom: 1px solid var(--cs-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cs-brand { display: flex; align-items: center; gap: 10px; color: var(--cs-ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.cs-brand img { border-radius: 10px; }
.cs-brand b { color: var(--cs-red); font-weight: 800; }
.cs-topbar-actions { display: flex; align-items: center; gap: 6px; }
.cs-icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent;
               color: var(--cs-ink); font-size: 1.25rem; }
.cs-icon-btn:hover, .cs-icon-btn.active { background: var(--cs-surface); color: var(--cs-red); }
.cs-avatar-btn { border: 0; background: none; padding: 0; border-radius: 50%; }
.cs-back { margin-left: -8px; }

/* ---------- Bottom navigation ---------- */
.cs-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; max-width: var(--cs-shell); margin: 0 auto;
          height: calc(var(--cs-nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
          background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--cs-line);
          display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.cs-nav a { color: #9A9EA9; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .68rem; font-weight: 600; }
.cs-nav a i { font-size: 1.35rem; line-height: 1; }
.cs-nav a.active, .cs-nav a:hover { color: var(--cs-red); }
.cs-nav .cs-sos-dot { width: 26px; height: 22px; display: grid; place-items: center; font-size: .6rem; font-weight: 800; border-radius: 7px;
                      border: 2px solid currentColor; letter-spacing: .02em; }
.cs-nav .cs-fab { width: 54px; height: 54px; border-radius: 50%; background: var(--cs-red); color: #fff; display: grid; place-items: center;
                  margin: -26px auto 0; box-shadow: 0 8px 20px rgba(227,36,43,.35); font-size: 1.6rem; }
.cs-nav a.cs-fab-link { color: var(--cs-ink); }
.cs-nav a.cs-fab-link:hover .cs-fab { background: var(--cs-red-dark); }

/* ---------- Page body ---------- */
body.with-nav .cs-main { padding-bottom: calc(var(--cs-nav-h) + env(safe-area-inset-bottom) + 24px); }
.cs-page { padding: 20px 20px 8px; }
.cs-page-title { font-size: 1.6rem; margin: 4px 0 16px; }
.cs-eyebrow { font-size: .75rem; font-weight: 700; color: var(--cs-red); text-transform: uppercase; letter-spacing: .08em; }
.cs-muted { color: var(--cs-muted); }
.cs-flash { padding: 12px 16px 0; }
.cs-flash .alert { border-radius: 14px; border: 0; }
.cs-empty { text-align: center; padding: 48px 24px; color: var(--cs-muted); }
.cs-empty i { font-size: 2.6rem; color: #C9CBD3; display: block; margin-bottom: 10px; }

/* ---------- Buttons ---------- */
.btn-cs, .btn-cs-ghost, .btn-cs-light { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px;
  padding: 13px 22px; font-weight: 700; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-cs { background: var(--cs-red); color: #fff; }
.btn-cs:hover { background: var(--cs-red-dark); color: #fff; }
.btn-cs:disabled { opacity: .55; }
.btn-cs-ghost { background: #fff; color: var(--cs-ink); border-color: var(--cs-line); }
.btn-cs-ghost:hover { border-color: var(--cs-ink); color: var(--cs-ink); }
.btn-cs-light { background: #fff; color: var(--cs-ink); }
.btn-cs-light:hover { background: #f1f1f1; color: var(--cs-ink); }
.btn-block { width: 100%; }
.btn-link-cs { background: none; border: 0; padding: 0; color: var(--cs-red); font-weight: 700; }

/* ---------- Forms ---------- */
.form-control, .form-select { border-radius: 12px; border-color: var(--cs-line); padding: .75rem .9rem; background-color: var(--cs-surface); }
.form-control:focus, .form-select:focus { border-color: var(--cs-red); box-shadow: 0 0 0 .2rem rgba(227,36,43,.15); background-color: #fff; }
.form-label { font-weight: 700; font-size: .85rem; margin-bottom: .35rem; }
.form-text { color: var(--cs-muted); }
.form-check-input:checked { background-color: var(--cs-red); border-color: var(--cs-red); }
.cs-field { margin-bottom: 18px; }

/* ---------- Avatars ---------- */
.cs-avatar { border-radius: 50%; object-fit: cover; display: inline-block; background: var(--cs-surface); }
.cs-avatar-initials { display: inline-grid; place-items: center; background: var(--cs-red-soft); color: var(--cs-red); font-weight: 800; }

/* ---------- Category badges and chips ---------- */
.cs-cat { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 4px 10px 4px 8px;
          border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, white); color: color-mix(in srgb, var(--c) 80%, black); }
.cs-cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.cs-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 12px; margin: 0 -20px; scrollbar-width: none; }
.cs-chips::-webkit-scrollbar { display: none; }
.cs-chip { flex: 0 0 auto; border: 1.5px solid var(--cs-line); background: #fff; color: var(--cs-ink); border-radius: 999px; padding: 8px 14px;
           font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.cs-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--cs-ink)); }
.cs-chip.active { background: var(--cs-ink); border-color: var(--cs-ink); color: #fff; }

/* ---------- Spot cards (home feed) ---------- */
.cs-feed { display: grid; gap: 22px; }
@media (min-width: 560px) { .cs-feed { grid-template-columns: 1fr 1fr; } }
.cs-card { position: relative; color: var(--cs-ink); display: block; }
.cs-card-link, .cs-card-link:hover { color: var(--cs-ink); }
.cs-card-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--cs-radius); overflow: hidden; background: var(--cs-surface); }
.cs-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cs-card:hover .cs-card-img img { transform: scale(1.03); }
.cs-card-img .cs-cat { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.95); }
.cs-card-body { padding: 10px 2px 0; display: flex; justify-content: space-between; gap: 10px; }
.cs-card-title { font-weight: 700; font-size: 1rem; margin: 0; }
.cs-card-sub { color: var(--cs-muted); font-size: .85rem; }
.cs-card-meta { text-align: right; font-size: .85rem; white-space: nowrap; }
.cs-card-meta b { display: block; }
.cs-noimg { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.6rem;
            color: color-mix(in srgb, var(--c, #999) 55%, white); background: color-mix(in srgb, var(--c, #999) 10%, white); }

/* Heart */
.cs-heart { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0;
            background: rgba(255,255,255,.95); color: var(--cs-ink); display: grid; place-items: center; font-size: 1.1rem;
            box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.cs-heart.is-on { color: var(--cs-red); }
.cs-heart.is-on i::before { content: "\f415"; } /* bi-heart-fill */

/* ---------- Compact list ---------- */
.cs-list { list-style: none; margin: 0; padding: 0; }
.cs-list li + li { border-top: 1px solid var(--cs-line); }
.cs-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--cs-ink); }
.cs-row-thumb { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; background: var(--cs-surface); }
.cs-row-pin { width: 44px; height: 44px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center; color: #fff;
              background: var(--c); font-size: 1.2rem; }
.cs-row-main { flex: 1 1 auto; min-width: 0; }
.cs-row-title { font-weight: 700; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-row-sub { color: var(--cs-muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-row-end { text-align: right; font-size: .85rem; color: var(--cs-muted); white-space: nowrap; }
.cs-row-end b { color: var(--cs-ink); display: block; }

/* ---------- Map ---------- */
body.page-map .cs-main { padding-bottom: 0; }
.cs-map-wrap { position: relative; height: calc(100vh - var(--cs-top-h) - var(--cs-nav-h) - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
.cs-map { position: absolute; inset: 0; }
.cs-map-chips { position: absolute; top: 12px; left: 20px; right: 0; z-index: 500; }
.cs-map-chips .cs-chips { margin: 0; padding: 0 20px 0 0; }
.cs-map-chips .cs-chip { box-shadow: 0 4px 12px rgba(0,0,0,.08); border-color: transparent; }
.cs-map-locate { position: absolute; right: 14px; bottom: 18px; z-index: 500; width: 46px; height: 46px; border-radius: 50%; border: 0;
                 background: #fff; color: var(--cs-ink); box-shadow: 0 4px 14px rgba(0,0,0,.15); font-size: 1.2rem; }
.cs-pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c); display: grid;
          place-items: center; box-shadow: 0 3px 8px rgba(0,0,0,.25); border: 2px solid #fff; }
.cs-pin i { transform: rotate(45deg); color: #fff; font-size: 15px; }
.cs-me { width: 18px; height: 18px; border-radius: 50%; background: #2F6BFF; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47,107,255,.2); }
.leaflet-popup-content-wrapper { border-radius: 16px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 220px !important; }
.cs-popup img { width: 100%; height: 110px; object-fit: cover; display: block; }
.cs-popup div { padding: 10px 12px; }
.cs-popup b { display: block; color: var(--cs-ink); }
.cs-popup span { color: var(--cs-muted); font-size: .8rem; }
.leaflet-container a.leaflet-popup-close-button { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* ---------- Spot detail ---------- */
.cs-gallery { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3;
              background: var(--cs-surface); }
.cs-gallery::-webkit-scrollbar { display: none; }
.cs-gallery img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
@media (min-width: 760px) { .cs-gallery { aspect-ratio: 16 / 9; } }
.cs-gallery-wrap { position: relative; }
.cs-gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: .75rem;
                    font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.cs-detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cs-detail-title { font-size: 1.55rem; margin: 10px 0 4px; }
.cs-facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.cs-fact { background: var(--cs-surface); border-radius: 16px; padding: 14px 12px; }
.cs-fact i { color: var(--cs-red); font-size: 1.2rem; }
.cs-fact b { display: block; font-size: 1rem; margin-top: 6px; }
.cs-fact span { color: var(--cs-muted); font-size: .75rem; }
.cs-section { border-top: 1px solid var(--cs-line); padding: 20px 0; }
.cs-section h2 { font-size: 1.1rem; margin-bottom: 12px; }
.cs-services { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-service { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--cs-surface);
              font-size: .85rem; font-weight: 600; }
.cs-host { display: flex; align-items: center; gap: 12px; }
.cs-minimap { height: 180px; border-radius: 16px; overflow: hidden; }
.cs-sticky-cta { position: sticky; bottom: calc(var(--cs-nav-h) + env(safe-area-inset-bottom) + 10px); z-index: 20; display: flex;
                 align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: 999px; padding: 8px 8px 8px 20px;
                 box-shadow: 0 8px 28px rgba(20,20,30,.16); margin-top: 8px; }
.cs-sticky-cta b { font-size: 1.05rem; }

/* Rating */
.cs-stars { color: #F5B301; letter-spacing: 1px; white-space: nowrap; }
.cs-stars .off { color: #D9DBE1; }
.cs-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.cs-rating-input input { display: none; }
.cs-rating-input label { font-size: 1.9rem; color: #D9DBE1; cursor: pointer; line-height: 1; }
.cs-rating-input input:checked ~ label, .cs-rating-input label:hover, .cs-rating-input label:hover ~ label { color: #F5B301; }
.cs-review { display: flex; gap: 12px; padding: 12px 0; }
.cs-review + .cs-review { border-top: 1px solid var(--cs-line); }
.cs-review-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cs-review p { margin: 4px 0 0; }

/* ---------- Publish wizard ---------- */
.cs-steps { display: flex; gap: 6px; margin: 4px 0 18px; }
.cs-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--cs-line); }
.cs-steps span.on { background: var(--cs-red); }
.cs-option { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1.5px solid var(--cs-line); border-radius: var(--cs-radius);
             color: var(--cs-ink); margin-bottom: 12px; transition: border-color .15s, background .15s; }
.cs-option:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, white); color: var(--cs-ink); }
.cs-option .cs-row-pin { width: 52px; height: 52px; font-size: 1.4rem; }
.cs-option b { display: block; }
.cs-option div span { color: var(--cs-muted); font-size: .88rem; }
.cs-option .cs-row-pin { color: #fff; }
.cs-option .bi-chevron-right { margin-left: auto; color: #B5B8C2; }
.cs-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cs-photo-grid figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--cs-surface); }
.cs-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.cs-photo-grid figure form { position: absolute; top: 6px; right: 6px; }
.cs-photo-grid figure button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; }
.cs-photo-grid figure .cs-cover { position: absolute; left: 6px; bottom: 6px; background: #fff; font-size: .68rem; font-weight: 700;
                                  padding: 2px 8px; border-radius: 999px; }
.cs-photo-add { aspect-ratio: 1; border-radius: 14px; border: 2px dashed #D2D4DB; display: grid; place-items: center; color: var(--cs-muted);
                cursor: pointer; text-align: center; font-size: .8rem; font-weight: 600; }
.cs-photo-add i { font-size: 1.6rem; display: block; }
.cs-photo-add:hover { border-color: var(--cs-red); color: var(--cs-red); }
.cs-status { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--cs-surface); color: var(--cs-muted); }
.cs-status.published { background: #E6F7EF; color: #12804F; }
.cs-status.hidden { background: #FFF2E2; color: #A65A00; }
.cs-done { text-align: center; padding: 40px 20px; }
.cs-done .cs-done-icon { width: 84px; height: 84px; border-radius: 50%; background: #E6F7EF; color: #12804F; display: grid; place-items: center;
                         font-size: 2.6rem; margin: 0 auto 18px; }

/* ---------- Profile side panel ---------- */
.cs-profile-menu { --bs-offcanvas-width: min(86vw, 340px); border-left: 0 !important; }
.cs-profile-head { padding: 28px 24px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; position: relative;
                   border-bottom: 1px solid var(--cs-line); }
.cs-profile-head .btn-close { position: absolute; top: 20px; right: 20px; }
.cs-profile-head h2 { font-size: 1.2rem; margin: 0; }
.cs-menu { padding: 10px 12px; display: flex; flex-direction: column; }
.cs-menu a, .cs-menu button { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 12px; color: var(--cs-ink);
                              font-weight: 600; background: none; border: 0; text-align: left; width: 100%; }
.cs-menu a:hover, .cs-menu button:hover { background: var(--cs-surface); }
.cs-menu i { font-size: 1.15rem; color: var(--cs-muted); width: 22px; }
.cs-menu hr { margin: 8px 12px; color: var(--cs-line); opacity: 1; }

/* ---------- Profile page ---------- */
.cs-profile-card { display: flex; align-items: center; gap: 16px; padding: 8px 0 20px; }
.cs-profile-card h1 { font-size: 1.4rem; margin: 0; }
.cs-kv { border: 1px solid var(--cs-line); border-radius: var(--cs-radius); overflow: hidden; }
.cs-kv div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.cs-kv div + div { border-top: 1px solid var(--cs-line); }
.cs-kv dt { font-weight: 600; color: var(--cs-muted); } .cs-kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; }

/* ---------- Onboarding ---------- */
body.bare .cs-onboarding { position: relative; height: 100vh; height: 100dvh; overflow: hidden; }
.cs-splash { position: absolute; inset: 0; z-index: 50; background: var(--cs-red); display: grid; place-items: center; transition: opacity .45s; }
.cs-splash.is-gone { opacity: 0; pointer-events: none; }
.cs-splash img { width: min(56vw, 260px); height: auto; border-radius: 28%; }
.cs-slides, .cs-slides .carousel-inner, .cs-slides .carousel-item { height: 100%; }
.cs-slides .carousel-item { background-size: cover; background-position: center; }
.cs-slides .carousel-item::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72) 100%); }
.cs-slide-text { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: calc(190px + env(safe-area-inset-bottom)); color: #fff; }
.cs-slide-text h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.12; margin: 0; }
.cs-slides .carousel-indicators { justify-content: flex-start; margin: 0 24px; bottom: calc(150px + env(safe-area-inset-bottom)); }
.cs-slides .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 999px; border: 0; opacity: .5; background: #fff;
                                                   margin: 0 6px 0 0; transition: width .3s, opacity .3s; }
.cs-slides .carousel-indicators .active { width: 26px; opacity: 1; }
.cs-onboarding-top { position: absolute; z-index: 5; top: calc(18px + env(safe-area-inset-top)); left: 24px; right: 24px; color: #fff; }
.cs-onboarding-top .cs-brand { color: #fff; } .cs-onboarding-top .cs-brand b { color: #fff; }
.cs-onboarding-actions { position: absolute; z-index: 5; left: 24px; right: 24px; bottom: calc(28px + env(safe-area-inset-bottom));
                         display: grid; gap: 10px; }

/* ---------- Sign-in ---------- */
.cs-auth { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 32px 24px;
           max-width: 440px; margin: 0 auto; }
.cs-auth-logo { width: 72px; height: 72px; border-radius: 22px; margin-bottom: 22px; }
.cs-auth h1 { font-size: 1.9rem; margin-bottom: 6px; }
.cs-auth .lead { color: var(--cs-muted); font-size: 1rem; margin-bottom: 28px; }
.btn-google, .btn-facebook { width: 100%; justify-content: center; margin-bottom: 12px; }
.btn-facebook { background: #1877F2; color: #fff; }
.btn-facebook:hover { background: #0F65D6; color: #fff; }
.btn-facebook i { font-size: 1.2rem; }
.cs-auth-note { color: var(--cs-muted); font-size: .8rem; margin-top: 18px; }

/* ---------- SOS ---------- */
.cs-sos-hero { background: var(--cs-red); color: #fff; border-radius: var(--cs-radius); padding: 22px; margin-bottom: 18px; }
.cs-sos-hero h1 { font-size: 1.5rem; margin: 0 0 6px; }
.cs-sos-hero p { margin: 0 0 16px; opacity: .9; }
.cs-dist { font-weight: 800; color: var(--cs-ink); }

/* ---------- Search ---------- */
.cs-search { position: relative; margin-bottom: 14px; }
.cs-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--cs-muted); }
.cs-search input { padding-left: 44px; border-radius: 999px; height: 50px; }

.cs-prose h2 { font-size: 1.1rem; margin-top: 1.4rem; }

/* "or" between the social buttons and the email form */
.cs-or { display: flex; align-items: center; gap: 12px; color: var(--cs-muted); font-size: .8rem; margin: 6px 0 18px; }
.cs-or::before, .cs-or::after { content: ""; flex: 1; height: 1px; background: var(--cs-line); }
.cs-auth .alert { border-radius: 14px; border: 0; }
.cs-setting { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--cs-ink); }
.cs-setting + .cs-setting { border-top: 1px solid var(--cs-line); }
.cs-setting i.lead-icon { font-size: 1.2rem; color: var(--cs-muted); width: 22px; }
.cs-setting div { flex: 1; min-width: 0; }
.cs-setting small { display: block; color: var(--cs-muted); }
.cs-group { border: 1px solid var(--cs-line); border-radius: var(--cs-radius); overflow: hidden; margin-bottom: 18px; }
.cs-group-title { font-size: .78rem; font-weight: 700; color: var(--cs-muted); text-transform: uppercase; letter-spacing: .06em; margin: 22px 0 8px; }
.cs-setting > .form-check { flex: 0 0 auto; }

/* ---------- Launch splash: Enjinia, then CycleStop ---------- */
.cs-launch { position: fixed; inset: 0; z-index: 2000; cursor: pointer; }
.cs-launch-step { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .45s ease; }
.cs-launch-enjinia { background: #fff; z-index: 2; }
.cs-launch-enjinia img { width: min(60vw, 224px); height: auto; }
.cs-launch-cyclestop { background: #DE2733; z-index: 1; }
.cs-launch-cyclestop img { width: min(56vw, 240px); height: auto; border-radius: 28%; }
.cs-launch.step-2 .cs-launch-enjinia { opacity: 0; }
.cs-launch.is-gone { opacity: 0; transition: opacity .45s ease; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .cs-launch-step, .cs-launch.is-gone { transition: none; } }
