/* app.css: CityCrossers' look: bright, fresh, with snack breaks built in (Bricolage Grotesque + DM Sans, green
   #17A673, orange food stops, sun for points). Order: tokens, the template's token names mapped onto them, the
   design kit (APP_MAKER/design), the classic stylesheet's rules (each .cc-btn / .cc-link rule also matches the
   Anvil Button with the same roles: prop:role='["cc-btn", "orange", "lg"]'), then the Forms role layer. */
:root {
  --bg: #FFFBF2;
  --bg-2: #FFF5E4;
  --surface: #FFFFFF;
  --ink: #1D2B27;
  --ink-2: #33433E;
  --muted: #64746F;
  --line: #EEE5D2;
  --line-2: #E4D9C2;
  --green: #17A673;
  --green-d: #0E8A5D;
  --green-soft: #DFF6EB;
  --mint: #BDF0D8;
  --orange: #FF7A3D;
  --orange-d: #E8601F;
  --orange-soft: #FFE8DB;
  --sun: #FFC83D;
  --sun-soft: #FFF4CC;
  --sky: #3BB3F5;
  --sky-soft: #E1F4FF;
  --berry: #E84A7F;
  --berry-soft: #FFE3ED;
  --violet: #7B61FF;
  --violet-soft: #ECE8FF;
  --danger: #D9423B;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(29, 43, 39, .06), 0 2px 8px rgba(29, 43, 39, .05);
  --shadow: 0 1px 2px rgba(29, 43, 39, .06), 0 10px 30px rgba(29, 43, 39, .09);
  --shadow-lg: 0 2px 4px rgba(29, 43, 39, .06), 0 24px 60px rgba(29, 43, 39, .16);
  --font-h: 'Bricolage Grotesque', 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-b: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 68px;
}

/* the template's token names, mapped onto CityCrossers' palette (the design kit and shared rules use these) */
:root {
  --c-bg: var(--bg); --c-surface: var(--surface); --c-surface-2: var(--bg-2); --c-ink: var(--ink); --c-muted: var(--muted);
  --c-faint: #5E6E69; --c-line: var(--line-2); --c-brand: var(--green-d); --c-brand-ink: #fff; --c-brand-soft: var(--green-soft);
  --c-accent: var(--orange); --c-good: var(--green-d); --c-good-soft: var(--green-soft); --c-bad: var(--danger); --c-bad-soft: #FFF0EE;
  --c-warn: #8A6400; --c-warn-soft: var(--sun-soft); --c-on-status: #fff; --font-body: var(--font-b); --font-display: var(--font-h);
  color-scheme: light;
}

/* design-kit:start */
:root {
  /* easing: never ease-in on UI */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);      /* entering, exiting, most UI */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);  /* moving across the screen */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);   /* sheets, drawers */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);      /* one authored entrance */
  /* durations: UI stays under 300ms, exits faster than entrances */
  --dur-press: 140ms; --dur-fast: 180ms; --dur-base: 220ms; --dur-slow: 320ms; --dur-hero: 640ms;
  /* 4px spacing scale */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --measure: 65ch;
}

/* browser surfaces: the parts nobody draws */
::selection { background: var(--sun); color: var(--ink); }
html {
  accent-color: var(--c-brand); caret-color: var(--c-brand);
  scrollbar-color: color-mix(in srgb, var(--c-ink) 26%, transparent) transparent;
  -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { text-underline-offset: .2em; text-decoration-thickness: from-font; }
h1, h2, h3, h4, [role="heading"], .anvil-role-page-title { text-wrap: balance; }
p, li, dd, blockquote, figcaption { text-wrap: pretty; }
td, th, time, output, progress, .num, .tabular, [data-num] { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-brand) 60%, transparent); outline-offset: 2px; }

/* press feedback: pressable things answer the moment they're pressed */
:is(.ui-btn, .anvil-role-btn > button, a.anvil-role-btn, .kit-press, .cc-btn, .anvil-role-cc-btn > button, .cc-chip, .cc-option, .cc-vibe, .cc-round, .cc-tabs button) {
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, color var(--dur-fast) ease, opacity var(--dur-fast) ease,
              box-shadow var(--dur-fast) ease;
}
:is(.ui-btn, .anvil-role-btn > button, a.anvil-role-btn, .kit-press, .cc-btn, .anvil-role-cc-btn > button, .cc-chip, .cc-option, .cc-vibe, .cc-round, .cc-tabs button):active:not(:disabled) { transform: scale(.97); }

/* entrances: content is visible by default; these only add the arrival */
@keyframes kit-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes kit-pop { from { opacity: 0; transform: scale(.96); } }
@keyframes kit-fade { from { opacity: 0; } }
.kit-in { animation: kit-in var(--dur-slow) var(--ease-out) both; }
.kit-stagger > * { animation: kit-in var(--dur-slow) var(--ease-out) both; }
.kit-stagger > :nth-child(2) { animation-delay: 40ms; } .kit-stagger > :nth-child(3) { animation-delay: 80ms; }
.kit-stagger > :nth-child(4) { animation-delay: 120ms; } .kit-stagger > :nth-child(5) { animation-delay: 160ms; }
.kit-stagger > :nth-child(n+6) { animation-delay: 200ms; }

/* reduced motion = fewer and gentler, not none: movement goes, short fades that confirm a state stay */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kit-in, .kit-stagger > * { animation-name: kit-fade; animation-delay: 0ms !important; }
  :is(.ui-btn, .anvil-role-btn > button, a.anvil-role-btn, .kit-press, .cc-btn, .anvil-role-cc-btn > button, .cc-chip, .cc-option, .cc-vibe, .cc-round, .cc-tabs button):active:not(:disabled) { transform: none; }
}
/* design-kit:end */

html, body { background: var(--bg); }
body {
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 .8em; }
a { color: var(--green-d); }
a:hover { color: var(--green); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.tiny { font-size: .78rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* Anvil resets ----------------------------------------------------------- */
.anvil-container, .html-templated-panel { font-family: var(--font-b); }
.anvil-spacing-above-small, .anvil-spacing-above-medium, .anvil-spacing-above-large { margin-top: 0 !important; }
.anvil-spacing-below-small, .anvil-spacing-below-medium, .anvil-spacing-below-large { margin-bottom: 0 !important; }
#appGoesHere { min-height: 100vh; }

/* Form controls (Anvil TextBox, TextArea, DropDown, DatePicker) ---------- */
body :is(.form-control, .anvil-form-control),
body .anvil-datepicker input {
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: none;
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  height: auto;
  min-height: 46px;
  padding: 10px 14px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  width: 100%;
}
body textarea:is(.form-control, .anvil-form-control) { min-height: 96px; line-height: 1.5; resize: vertical; }
body :is(.form-control, .anvil-form-control):focus, body .anvil-datepicker input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 166, 115, .15);
  outline: none;
}
body :is(.form-control, .anvil-form-control)::placeholder { color: #6F7C78; }
body :is(.checkbox, .anvil-checkbox) { margin: 6px 0; }
body :is(.checkbox, .anvil-checkbox) label { font-weight: 500; padding-left: 28px; cursor: pointer; }
body :is(.checkbox, .anvil-checkbox) input[type=checkbox] { accent-color: var(--green); width: 18px; height: 18px; margin-left: -28px; margin-top: 3px; }
body .file-loader, body .anvil-file-loader { display: inline-block; }
body .file-loader label, body :is(.anvil-file-loader, .anvil-fileloader) :is(.btn, .anvil-btn, label) {
  background: var(--sun-soft); border: 1.5px dashed var(--sun); border-radius: 999px;
  color: var(--ink); cursor: pointer; font-weight: 700; padding: 9px 18px;
}

/* Buttons (plain HTML buttons inside templates) --------------------------- */
.cc-btn, .anvil-role-cc-btn > button {
  align-items: center;
  appearance: none;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 2px 0 var(--green-d);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  padding: 11px 20px;
  text-decoration: none;
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press) var(--ease-out), background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .cc-btn:hover, .anvil-role-cc-btn > button:hover { background: #1BB57E; color: #fff; text-decoration: none; transform: translateY(-1px); } }
.cc-btn:active, .anvil-role-cc-btn > button:active { transform: translateY(1px); box-shadow: 0 0 0 var(--green-d); }
.cc-btn:disabled, .anvil-role-cc-btn > button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.cc-btn.orange, .anvil-role-cc-btn.anvil-role-orange > button { background: var(--orange); box-shadow: 0 2px 0 var(--orange-d); }
.cc-btn.orange:hover, .anvil-role-cc-btn.anvil-role-orange > button:hover { background: #FF8A52; }
.cc-btn.sun, .anvil-role-cc-btn.anvil-role-sun > button { background: var(--sun); color: var(--ink); box-shadow: 0 2px 0 #E5A800; }
.cc-btn.ghost, .anvil-role-cc-btn.anvil-role-ghost > button { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.cc-btn.ghost:hover, .anvil-role-cc-btn.anvil-role-ghost > button:hover { background: var(--bg-2); color: var(--ink); }
.cc-btn.soft, .anvil-role-cc-btn.anvil-role-soft > button { background: var(--green-soft); color: var(--green-d); box-shadow: none; }
.cc-btn.soft:hover, .anvil-role-cc-btn.anvil-role-soft > button:hover { background: var(--mint); color: var(--green-d); }
.cc-btn.danger, .anvil-role-cc-btn.anvil-role-danger > button { background: #fff; color: var(--danger); box-shadow: inset 0 0 0 1.5px #F3C3BF; }
.cc-btn.danger:hover, .anvil-role-cc-btn.anvil-role-danger > button:hover { background: #FFF0EE; }
.cc-btn.dark, .anvil-role-cc-btn.anvil-role-dark > button { background: var(--ink); box-shadow: 0 2px 0 #000; }
.cc-btn.sm, .anvil-role-cc-btn.anvil-role-sm > button { font-size: 13.5px; padding: 7px 14px; }
.cc-btn.lg, .anvil-role-cc-btn.anvil-role-lg > button { font-size: 17px; padding: 15px 28px; }
.cc-btn.block, .anvil-role-cc-btn.anvil-role-block > button { width: 100%; }
.cc-btn.icon, .anvil-role-cc-btn.anvil-role-icon > button { width: 44px; height: 44px; padding: 0; font-size: 18px; }
.cc-link, .anvil-role-cc-link > button { background: none; border: 0; color: var(--green-d); cursor: pointer; font-weight: 700; padding: 0; text-decoration: none; }
.cc-link:hover, .anvil-role-cc-link > button:hover { text-decoration: underline; }

/* Layout ----------------------------------------------------------------- */
.cc-page { margin: 0 auto; max-width: 1180px; padding: 28px 24px 120px; }
.cc-page.narrow { max-width: 780px; }
.cc-grid { display: grid; gap: 20px; }
.cc-grid.two { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.cc-grid.halves { grid-template-columns: 1fr 1fr; }
.cc-grid.cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cc-grid.cards-sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cc-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cc-row { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.cc-row.between { justify-content: space-between; }
.cc-row.end { justify-content: flex-end; }
.cc-spacer { flex: 1; }
@media (max-width: 900px) {
  .cc-grid.two, .cc-grid.halves { grid-template-columns: 1fr; }
}

/* Cards ------------------------------------------------------------------ */
.cc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.cc-card.flat { box-shadow: none; }
.cc-card.tint-green { background: var(--green-soft); border-color: #C6EBD9; }
.cc-card.tint-sun { background: var(--sun-soft); border-color: #FBE6A2; }
.cc-card.tint-orange { background: var(--orange-soft); border-color: #FFD3BB; }
.cc-card.tint-sky { background: var(--sky-soft); border-color: #C3E7FB; }
.cc-card.tint-berry { background: var(--berry-soft); border-color: #F8C6D7; }
.cc-card h3 { margin-bottom: .3em; }
.cc-card-title { align-items: center; display: flex; gap: 8px; justify-content: space-between; margin-bottom: 12px; }
.cc-card-title h3 { margin: 0; }
.cc-clickable { cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cc-clickable:hover { box-shadow: var(--shadow); transform: translateY(-2px); } }
.cc-section-title { align-items: baseline; display: flex; gap: 12px; justify-content: space-between; margin: 32px 0 14px; }
.cc-section-title h2, .cc-section-title h3 { margin: 0; }
.cc-empty { background: #fff;
  border: 2px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); padding: 32px 24px; text-align: center; }
.cc-empty .big { font-size: 44px; display: block; margin-bottom: 6px; }

/* Pills, chips, badges --------------------------------------------------- */
.cc-pill { align-items: center; background: var(--bg-2); border-radius: 999px; color: var(--ink-2); display: inline-flex;
  font-size: 13px; font-weight: 700; gap: 5px; line-height: 1; padding: 6px 11px; white-space: nowrap; }
.cc-pill.green { background: var(--green-soft); color: var(--green-d); }
.cc-pill.orange { background: var(--orange-soft); color: #B9481A; }
.cc-pill.sun { background: var(--sun-soft); color: #8A6400; }
.cc-pill.sky { background: var(--sky-soft); color: #13719F; }
.cc-pill.berry { background: var(--berry-soft); color: #B02659; }
.cc-pill.violet { background: var(--violet-soft); color: #5440C9; }
.cc-pill.dark { background: var(--ink); color: #fff; }
.cc-pill.outline { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.cc-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chip { background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; color: var(--ink-2); cursor: pointer;
  font-family: var(--font-b); font-size: 14px; font-weight: 600; padding: 7px 14px; transition: background-color var(--dur-press) var(--ease-out), border-color var(--dur-press) var(--ease-out), color var(--dur-press) var(--ease-out); }
.cc-chip:hover { border-color: var(--green); }
.cc-chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.cc-chip.on.orange { background: var(--orange); border-color: var(--orange); }
.cc-badge-dot { background: var(--orange); border: 2px solid #fff; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 800;
  line-height: 1; min-width: 20px; padding: 3px 5px; position: absolute; right: -6px; text-align: center; top: -6px; }
.cc-verified { color: var(--sky); font-size: .9em; }
.cc-deal-tag { background: var(--orange); border-radius: 8px; color: #fff; display: inline-block; font-size: 12px; font-weight: 800;
  padding: 3px 8px; transform: rotate(-2deg); }

/* Avatars ---------------------------------------------------------------- */
.cc-av { align-items: center; background: var(--green); background-size: cover; background-position: center; border: 3px solid #fff;
  border-radius: 999px; box-shadow: var(--shadow-sm); color: #fff; display: inline-flex; flex-shrink: 0; font-family: var(--font-h);
  font-weight: 800; justify-content: center; overflow: hidden; }
.cc-av-stack { display: inline-flex; }
.cc-av-stack .cc-av + .cc-av { margin-left: -12px; }
.cc-av-more { background: var(--bg-2) !important; color: var(--ink) !important; font-size: 12px; }
.cc-person { align-items: center; display: flex; gap: 12px; min-width: 0; }
.cc-person .who { min-width: 0; }
.cc-person .name { font-weight: 700; color: var(--ink); text-decoration: none; }
.cc-person .name:hover { color: var(--green-d); }
.cc-person .sub { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Header / nav ------------------------------------------------------------ */
.cc-shell.landing-mode .cc-header, .cc-shell.landing-mode .cc-footer, .cc-shell.landing-mode .cc-nav { display: none; }
.cc-header { backdrop-filter: saturate(1.4) blur(12px); background: rgba(255, 251, 242, .86); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 900; }
.cc-header-inner { align-items: center; display: flex; gap: 18px; height: var(--header-h); margin: 0 auto; max-width: 1280px; padding: 0 20px; }
.cc-logo { align-items: center; color: var(--ink); display: inline-flex; font-family: var(--font-h); font-size: 22px; font-weight: 800;
  gap: 8px; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.cc-logo:hover { color: var(--ink); text-decoration: none; }
.cc-logo-img { display: block; flex-shrink: 0; height: 40px; width: 40px; transition: transform var(--dur-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cc-logo:hover .cc-logo-img { transform: rotate(-8deg) scale(1.05); } }
.cc-logo b { color: var(--green); }
.cc-nav { align-items: center; display: flex; flex: 1; gap: 2px; justify-content: center; }
.cc-nav a { align-items: center; border-radius: 999px; color: var(--ink-2); display: inline-flex; font-size: 14.5px; font-weight: 600; gap: 6px;
  padding: 8px 13px; text-decoration: none; transition: background var(--dur-press) var(--ease-out); white-space: nowrap; }
.cc-nav a:hover { background: var(--bg-2); color: var(--ink); }
.cc-nav a.active { background: var(--ink); color: #fff; }
.cc-nav a.plan { background: var(--orange); box-shadow: 0 2px 0 var(--orange-d); color: #fff; margin: 0 6px; }
.cc-nav a.plan:hover { background: #FF8A52; }
.cc-nav .ico { font-size: 16px; }
.cc-header-right { align-items: center; display: flex; gap: 10px; }
.cc-icon-btn { align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer;
  display: inline-flex; font-size: 18px; height: 42px; justify-content: center; position: relative; text-decoration: none; width: 42px; }
.cc-icon-btn:hover { border-color: var(--green); text-decoration: none; }
.cc-points-chip { align-items: center; background: var(--sun-soft); border: 1.5px solid #F7DE8B; border-radius: 999px; color: #6B4E00;
  display: inline-flex; font-size: 14px; font-weight: 800; gap: 5px; padding: 8px 12px; text-decoration: none; white-space: nowrap; }
.cc-points-chip:hover { text-decoration: none; color: #6B4E00; background: #FFEDB0; }
.cc-me { position: relative; }
.cc-me-btn { background: none; border: 0; cursor: pointer; padding: 0; }
.cc-menu { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); display: none; min-width: 230px;
  padding: 8px; position: absolute; right: 0; top: 52px; z-index: 950; }
.cc-me.open .cc-menu { display: block; animation: cc-pop .16s ease; }
.cc-menu a, .cc-menu button { background: none; border: 0; border-radius: 12px; color: var(--ink); cursor: pointer; display: flex; font-family: var(--font-b);
  font-size: 15px; font-weight: 600; gap: 10px; padding: 10px 12px; text-align: left; text-decoration: none; width: 100%; }
.cc-menu a:hover, .cc-menu button:hover { background: var(--bg-2); text-decoration: none; }
.cc-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.cc-menu .head { padding: 10px 12px 6px; }
.cc-menu .head b { display: block; font-family: var(--font-h); font-size: 17px; }
@keyframes cc-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

.cc-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; margin-top: 40px; padding: 26px 20px 110px; text-align: center; }
.cc-footer a { color: var(--muted); margin: 0 8px; }

@media (max-width: 1080px) {
  .cc-nav a .lbl-long { display: none; }
}
@media (max-width: 860px) {
  .cc-header-inner { gap: 10px; padding: 0 14px; }
  .cc-logo span.word { display: none; }
  .cc-nav { background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); bottom: 0; box-shadow: 0 -6px 24px rgba(29, 43, 39, .08);
    justify-content: space-around; left: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); position: fixed; right: 0; z-index: 900; }
  .cc-nav a { flex-direction: column; font-size: 12px; gap: 2px; padding: 6px 8px; }
  .cc-nav a .ico { font-size: 21px; }
  .cc-nav a.active { background: var(--green-soft); color: var(--green-d); }
  .cc-nav a.plan { border-radius: 16px; margin: 0; }
  .cc-nav a.secondary { display: none; }
  .cc-header-right { margin-left: auto; }
  .cc-page { padding: 18px 16px 120px; }
}

/* Hero bands -------------------------------------------------------------- */
.cc-hello { background: linear-gradient(120deg, #E3F8EE 0%, #FFF4D1 60%, #FFE6D6 100%); border-radius: 28px; overflow: hidden;
  padding: 28px 30px; position: relative; }
.cc-hello h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 6px; }
.cc-hello .cc-route-deco { opacity: .55; pointer-events: none; position: absolute; right: -10px; top: -10px; width: 340px; }
.cc-hello > *:not(.cc-route-deco) { position: relative; }
.cc-stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cc-stat { background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .9); border-radius: 16px; min-width: 120px; padding: 10px 14px; }
.cc-stat b { display: block; font-family: var(--font-h); font-size: 22px; font-weight: 800; line-height: 1.1; }
.cc-stat span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.cc-alert { align-items: center; background: var(--sun-soft); border: 1.5px solid #F7DE8B; border-radius: 16px; display: flex; gap: 12px;
  margin-top: 14px; padding: 12px 16px; }
.cc-alert.orange { background: var(--orange-soft); border-color: #FFC9AD; }
.cc-alert.sky { background: var(--sky-soft); border-color: #BCE4FA; }
.cc-alert.berry { background: var(--berry-soft); border-color: #F8C6D7; }
.cc-alert.danger { background: #FFF0EE; border-color: #F6C3BE; }
.cc-alert .ico { font-size: 22px; }

/* Tabs -------------------------------------------------------------------- */
.cc-tabs { background: #fff; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; gap: 4px; padding: 5px; flex-wrap: wrap; }
.cc-tabs button { background: none; border: 0; border-radius: 999px; color: var(--ink-2); cursor: pointer; font-family: var(--font-b); font-size: 15px;
  font-weight: 700; padding: 9px 16px; position: relative; }
.cc-tabs button.on { background: var(--ink); color: #fff; }
.cc-tabs button .cnt { background: var(--orange); border-radius: 99px; color: #fff; font-size: 12px; margin-left: 4px; padding: 2px 6px; }

/* Vibe gradients ------------------------------------------------------------ */
.grad-peach { background: linear-gradient(135deg, #FFD7B8 0%, #FFB38A 100%); }
.grad-sun { background: linear-gradient(135deg, #FFE48A 0%, #FFB55E 100%); }
.grad-mint { background: linear-gradient(135deg, #C8F5DE 0%, #7EDDB0 100%); }
.grad-sky { background: linear-gradient(135deg, #CDEBFF 0%, #8FD0FA 100%); }
.grad-sea { background: linear-gradient(135deg, #B9F0EA 0%, #6CCFD8 100%); }
.grad-berry { background: linear-gradient(135deg, #FFD0E0 0%, #FF9CB9 100%); }
.grad-night { background: linear-gradient(135deg, #3B3F7A 0%, #1F2350 100%); color: #fff; }
.grad-sand { background: linear-gradient(135deg, #F7E7C6 0%, #E8C98E 100%); }

/* Walk cards (list) ------------------------------------------------------- */
.cc-walk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex;
  flex-direction: column; height: 100%; overflow: hidden; }
.cc-walk-card .cover { align-items: flex-end; display: flex; height: 96px; justify-content: space-between; padding: 12px 14px; position: relative; }
.cc-walk-card .cover .emo { font-size: 46px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .12)); line-height: 1; }
.cc-walk-card .cover .when { background: rgba(255, 255, 255, .92); border-radius: 12px; color: var(--ink); font-size: 12.5px; font-weight: 800;
  padding: 5px 9px; text-align: right; }
.cc-walk-card .cover .status { left: 12px; position: absolute; top: 10px; }
.cc-walk-card .body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.cc-walk-card h4 { font-size: 1.08rem; margin: 0; }
.cc-walk-card .facts { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 13px; font-weight: 600; gap: 4px 12px; }
.cc-walk-card .foot { align-items: center; display: flex; justify-content: space-between; margin-top: auto; padding-top: 6px; }

/* Stop strip: start --- coffee --- food --- finish */
.cc-strip { align-items: center; display: flex; flex-wrap: nowrap; overflow: hidden; }
.cc-strip .dot { align-items: center; background: #fff; border: 2px solid var(--line-2); border-radius: 999px; display: inline-flex; flex-shrink: 0;
  font-size: 14px; height: 30px; justify-content: center; width: 30px; }
.cc-strip .dot.food, .cc-strip .dot.cafe, .cc-strip .dot.treat { background: var(--orange-soft); border-color: #FFC6A8; }
.cc-strip .dot.start, .cc-strip .dot.finish { background: var(--green-soft); border-color: #A9E3C7; }
.cc-strip .seg { border-top: 2.5px dotted var(--line-2); flex: 1; min-width: 8px; }

/* Swipe deck ---------------------------------------------------------------- */
.cc-deck { margin: 0 auto; max-width: 520px; position: relative; }
.cc-deck-stack { min-height: 560px; position: relative; }
.cc-deck-shadow { background: #fff; border: 1px solid var(--line); border-radius: 28px; height: 96%; left: 4%; position: absolute; top: 18px; width: 92%; }
.cc-deck-shadow.two { left: 8%; opacity: .6; top: 32px; width: 84%; }
.cc-swipe { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); cursor: grab; overflow: hidden;
  position: relative; touch-action: pan-y; transition: transform var(--dur-base) var(--ease-out); user-select: none; z-index: 2; }
.cc-swipe:active { cursor: grabbing; }
.cc-swipe .cover { height: 200px; padding: 18px; position: relative; }
.cc-swipe .cover .emo { bottom: 10px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .15)); font-size: 92px; line-height: 1; position: absolute; right: 22px; }
.cc-swipe .cover .vibe { background: rgba(255, 255, 255, .9); border-radius: 999px; color: var(--ink); display: inline-block; font-size: 13px;
  font-weight: 800; padding: 6px 12px; }
.cc-swipe .cover .when { bottom: 16px; color: inherit; font-family: var(--font-h); font-size: 22px; font-weight: 800; left: 18px; line-height: 1.1;
  position: absolute; text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.cc-swipe .cover .when small { display: block; font-family: var(--font-b); font-size: 13px; font-weight: 700; opacity: .8; }
.cc-match { background: var(--ink); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 800; padding: 6px 11px; position: absolute;
  right: 16px; top: 16px; }
.cc-match.friend { background: var(--berry); }
.cc-swipe .body { padding: 18px 20px 20px; }
.cc-swipe h2 { font-size: 1.6rem; margin-bottom: 8px; }
.cc-swipe .facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cc-swipe .desc { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-swipe .stamp { border: 4px solid; border-radius: 14px; font-family: var(--font-h); font-size: 30px; font-weight: 800; opacity: 0; padding: 4px 14px;
  position: absolute; top: 60px; transition: opacity var(--dur-press) var(--ease-out); z-index: 3; }
.cc-swipe .stamp.yes { border-color: var(--green); color: var(--green); left: 22px; transform: rotate(-14deg); background: rgba(255,255,255,.85); }
.cc-swipe .stamp.no { border-color: var(--danger); color: var(--danger); right: 22px; transform: rotate(14deg); background: rgba(255,255,255,.85); }
.cc-swipe.lean-right .stamp.yes, .cc-swipe.lean-left .stamp.no { opacity: 1; }
.cc-deck-actions { align-items: center; display: flex; gap: 18px; justify-content: center; margin-top: 20px; }
.cc-round { align-items: center; background: #fff; border: 0; border-radius: 999px; box-shadow: var(--shadow); cursor: pointer; display: inline-flex;
  font-size: 26px; height: 64px; justify-content: center; transition: transform var(--dur-press) var(--ease-out); width: 64px; }
@media (hover: hover) and (pointer: fine) { .cc-round:hover { transform: scale(1.08); } }
.cc-round.big { background: var(--green); color: #fff; font-size: 30px; height: 78px; width: 78px; }
.cc-round.small { font-size: 20px; height: 50px; width: 50px; }
.cc-round.no { color: var(--danger); }
.cc-deck-hint { color: var(--muted); font-size: 13px; margin-top: 10px; text-align: center; }

/* People cards ------------------------------------------------------------- */
.cc-person-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex;
  flex-direction: column; height: 100%; overflow: hidden; text-align: center; }
.cc-person-card .banner { height: 64px; }
.cc-person-card .cc-av { margin: -38px auto 6px; }
.cc-person-card .inner { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 0 16px 16px; }
.cc-person-card h4 { margin: 0; }
.cc-person-card .headline { color: var(--muted); font-size: 13.5px; min-height: 40px; }
.cc-person-card .cc-pills { justify-content: center; }
.cc-person-card .actions { display: flex; gap: 8px; justify-content: center; margin-top: auto; padding-top: 8px; }

/* Profile ------------------------------------------------------------------ */
.cc-profile-hero { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-sm); overflow: hidden; }
.cc-profile-hero .banner { height: 150px; position: relative; }
.cc-profile-hero .banner .path { bottom: 0; height: 100%; left: 0; opacity: .5; position: absolute; width: 100%; }
.cc-profile-hero .inner { padding: 0 26px 24px; }
.cc-profile-hero .top { position: relative; z-index: 1; align-items: flex-end; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; margin-top: -56px; }
.cc-profile-hero h1 { font-size: 2rem; margin: 10px 0 2px; }
.cc-profile-hero .headline { color: var(--ink-2); font-size: 1.08rem; }
.cc-kpis { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.cc-kpi { background: var(--bg); border-radius: 16px; padding: 12px; text-align: center; }
.cc-kpi b { display: block; font-family: var(--font-h); font-size: 24px; font-weight: 800; }
.cc-kpi span { color: var(--muted); font-size: 12.5px; font-weight: 700; }
@media (max-width: 600px) { .cc-kpis { grid-template-columns: repeat(2, 1fr); } }
.cc-endorse { align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: default; display: flex;
  font-weight: 600; gap: 10px; justify-content: space-between; padding: 10px 12px; }
.cc-endorse .count { background: var(--bg-2); border-radius: 99px; font-size: 13px; font-weight: 800; padding: 2px 9px; }
.cc-endorse.mine { background: var(--green-soft); border-color: #A9E3C7; }
.cc-endorse button { background: none; border: 0; color: var(--green-d); cursor: pointer; font-size: 13px; font-weight: 800; }
.cc-badge-tile { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px; text-align: center; }
.cc-badge-tile .e { display: block; font-size: 32px; }
.cc-badge-tile b { display: block; font-size: 14px; }
.cc-badge-tile span { color: var(--muted); font-size: 12px; }
.cc-badge-tile.locked { filter: grayscale(1); opacity: .45; }

/* Level progress ------------------------------------------------------------ */
.cc-progress { background: rgba(29, 43, 39, .08); border-radius: 999px; height: 12px; overflow: hidden; }
.cc-progress > div { background: linear-gradient(90deg, var(--green), #6BD9A8); border-radius: 999px; height: 100%; }
.cc-progress.sun > div { background: linear-gradient(90deg, var(--sun), var(--orange)); }

/* Walk detail -------------------------------------------------------------- */
.cc-walk-hero { border-radius: 28px; overflow: hidden; padding: 28px; position: relative; }
.cc-walk-hero .emo { font-size: 120px; line-height: 1; opacity: .95; position: absolute; right: 26px; top: 10px; filter: drop-shadow(0 10px 12px rgba(0,0,0,.15)); }
.cc-walk-hero h1 { max-width: 760px; position: relative; }
.cc-walk-hero .facts { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.cc-walk-hero .facts .cc-pill { background: rgba(255, 255, 255, .85); color: var(--ink); font-size: 14px; padding: 8px 12px; }
.grad-night.cc-walk-hero h1, .grad-night .cc-swipe h2 { color: #fff; }
@media (max-width: 700px) { .cc-walk-hero .emo { font-size: 70px; right: 14px; top: 14px; } .cc-walk-hero { padding: 22px 18px; } }
.cc-actionbar { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); display: flex;
  flex-wrap: wrap; gap: 10px; margin-top: -22px; padding: 12px 14px; position: relative; z-index: 3; margin-left: 18px; margin-right: 18px; }
.cc-actionbar .state { font-weight: 700; }

.cc-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.cc-timeline::before { border-left: 3px dotted var(--line-2); bottom: 22px; content: ''; left: 21px; position: absolute; top: 22px; }
.cc-timeline li { display: flex; gap: 14px; padding: 8px 0; position: relative; }
.cc-timeline .bubble { align-items: center; background: #fff; border: 2.5px solid var(--line-2); border-radius: 999px; display: flex; flex-shrink: 0;
  font-size: 20px; height: 44px; justify-content: center; position: relative; width: 44px; z-index: 1; }
.cc-timeline .bubble.food, .cc-timeline .bubble.cafe, .cc-timeline .bubble.treat { background: var(--orange-soft); border-color: #FFC1A0; }
.cc-timeline .bubble.start, .cc-timeline .bubble.finish { background: var(--green-soft); border-color: #9EDDBF; }
.cc-timeline .what { flex: 1; min-width: 0; padding-top: 2px; }
.cc-timeline .what b { display: block; }
.cc-timeline .eta { color: var(--muted); font-size: 13px; font-weight: 600; }
.cc-timeline .break { background: var(--orange-soft); border-radius: 99px; color: #B9481A; display: inline-block; font-size: 12px; font-weight: 800;
  margin-left: 6px; padding: 2px 8px; }
.cc-timeline .leg { color: var(--muted); font-size: 12px; font-weight: 600; margin: -2px 0 0 58px; padding: 2px 0; }

.cc-chat { display: flex; flex-direction: column; gap: 10px; max-height: 380px; overflow-y: auto; padding: 4px; }
.cc-msg { align-items: flex-end; display: flex; gap: 8px; }
.cc-msg .b { background: var(--bg-2); border-radius: 18px 18px 18px 6px; max-width: 78%; padding: 9px 13px; }
.cc-msg .b .who { color: var(--muted); display: block; font-size: 12px; font-weight: 700; }
.cc-msg.mine { flex-direction: row-reverse; }
.cc-msg.mine .b { background: var(--green); border-radius: 18px 18px 6px 18px; color: #fff; }
.cc-msg.mine .b .who { color: rgba(255, 255, 255, .8); }

.cc-weather { align-items: center; display: flex; gap: 14px; }
.cc-weather .e { font-size: 46px; line-height: 1; }
.cc-weather b { font-family: var(--font-h); font-size: 26px; }

.cc-safety-list { list-style: none; margin: 0; padding: 0; }
.cc-safety-list li { display: flex; gap: 10px; padding: 7px 0; }
.cc-safety-list li .i { flex-shrink: 0; font-size: 18px; }

/* Map ---------------------------------------------------------------------- */
.cc-map { background: #EAF4EE; border-radius: var(--radius); overflow: hidden; width: 100%; z-index: 1; }
.cc-map-wrap { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; position: relative; }
.cc-map-wrap .cc-map { border-radius: 0; }
.cc-map-tools { display: flex; flex-wrap: wrap; gap: 8px; left: 12px; position: absolute; right: 12px; top: 12px; z-index: 500; pointer-events: none; }
.cc-map-tools > * { pointer-events: auto; }
.cc-map-tools .cc-chip { box-shadow: var(--shadow-sm); }
.cc-map.picking { cursor: crosshair; }
.cc-map.picking .leaflet-container, .cc-map.picking.leaflet-container { cursor: crosshair !important; }
.cc-pin-wrap { background: none; border: 0; }
.cc-pin { align-items: center; background: #fff; border: 3px solid var(--green); border-radius: 50% 50% 50% 4px; box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
  display: flex; height: 38px; justify-content: center; position: relative; transform: rotate(-45deg); width: 38px; }
.cc-pin > span { font-size: 18px; line-height: 1; transform: rotate(45deg); }
.cc-pin.cafe, .cc-pin.food, .cc-pin.treat { border-color: var(--orange); }
.cc-pin.park { border-color: #34B06A; }
.cc-pin.view { border-color: var(--sky); }
.cc-pin.water { border-color: #2D9CDB; }
.cc-pin.culture { border-color: var(--violet); }
.cc-pin.rest { border-color: var(--sun); }
.cc-pin.walk { background: var(--ink); border-color: var(--ink); }
.cc-pin.draft { border-style: dashed; opacity: .9; }
.cc-pin .deal { background: var(--orange); border: 2px solid #fff; border-radius: 99px; color: #fff; font-size: 12px; font-weight: 900; padding: 0 4px;
  position: absolute; right: -10px; top: -8px; transform: rotate(45deg); }
.cc-pin .num { background: var(--ink); border: 2px solid #fff; border-radius: 99px; color: #fff; font-size: 12px; font-weight: 900; height: 20px;
  left: -10px; line-height: 16px; position: absolute; text-align: center; top: -8px; transform: rotate(45deg); width: 20px; }
.leaflet-popup-content-wrapper { border-radius: 18px; box-shadow: var(--shadow-lg); }
.leaflet-popup-content { font-family: var(--font-b); font-size: 14px; margin: 14px 16px; min-width: 200px; }
.leaflet-popup-content h4 { font-size: 16px; margin: 0 0 4px; }
.leaflet-popup-content .cc-btn, .leaflet-popup-content .anvil-role-cc-btn > button { margin-top: 8px; }
.leaflet-container { font-family: var(--font-b); }
.leaflet-control-zoom a { border-radius: 10px !important; }
.cc-map-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 10px; }

/* Editor ---------------------------------------------------------------------- */
.cc-field { margin-bottom: 16px; }
.cc-field > label, .cc-label { color: var(--ink); display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.cc-field .hint { color: var(--muted); font-size: 13px; margin-top: 5px; }
.cc-form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .cc-form-row { grid-template-columns: 1fr; } }
.cc-stop-row { align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; display: flex; gap: 10px; margin-bottom: 8px;
  padding: 8px 10px; }
.cc-stop-row .n { align-items: center; background: var(--ink); border-radius: 99px; color: #fff; display: flex; flex-shrink: 0; font-size: 12px;
  font-weight: 800; height: 24px; justify-content: center; width: 24px; }
.cc-stop-row .e { font-size: 22px; }
.cc-stop-row .t { flex: 1; min-width: 0; }
.cc-stop-row .t b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-stop-row .t span { color: var(--muted); font-size: 12.5px; }
.cc-stop-row .ctl { display: flex; gap: 4px; }
.cc-stop-row .ctl button { background: var(--bg-2); border: 0; border-radius: 10px; cursor: pointer; font-size: 14px; height: 32px; width: 32px; }
.cc-stop-row .ctl button:hover { background: var(--line); }
.cc-route-sum { background: var(--ink); border-radius: 20px; color: #fff; display: grid; gap: 4px; grid-template-columns: repeat(3, 1fr); padding: 16px; }
.cc-route-sum div { text-align: center; }
.cc-route-sum b { display: block; font-family: var(--font-h); font-size: 24px; }
.cc-route-sum span { font-size: 12px; opacity: .75; font-weight: 600; }
.cc-route-sum .note { grid-column: 1 / -1; opacity: .85; font-size: 13px; margin-top: 6px; text-align: center; }
.cc-option { background: #fff; border: 2px solid var(--line); border-radius: 18px; cursor: pointer; display: block; padding: 14px; text-align: left;
  transition: background-color var(--dur-press) var(--ease-out), border-color var(--dur-press) var(--ease-out); width: 100%; font-family: var(--font-b); color: var(--ink); }
.cc-option:hover { border-color: var(--green); }
.cc-option.on { background: var(--green-soft); border-color: var(--green); }
.cc-option b { display: block; font-size: 15px; }
.cc-option span { color: var(--muted); font-size: 13px; }
.cc-options { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.cc-vibes { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) { .cc-vibes { grid-template-columns: repeat(2, 1fr); } .cc-options { grid-template-columns: 1fr; } }
.cc-vibe { border: 2px solid transparent; border-radius: 16px; cursor: pointer; font-family: var(--font-b); font-size: 13px; font-weight: 700; padding: 10px 6px;
  text-align: center; color: var(--ink); }
.cc-vibe .e { display: block; font-size: 28px; }
.cc-vibe.on { border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.cc-stars { display: inline-flex; gap: 4px; }
.cc-stars button { background: none; border: 0; cursor: pointer; filter: grayscale(1); font-size: 32px; opacity: .35; padding: 0; transition: transform var(--dur-press) var(--ease-out); }
.cc-stars button.on { filter: none; opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cc-stars button:hover { transform: scale(1.15); } }
.cc-rating { color: #E5A000; font-weight: 800; letter-spacing: 1px; }

/* Journey (timeline of life) --------------------------------------------------- */
.cc-journey { position: relative; }
.cc-journey::before { background: linear-gradient(var(--green), var(--sun), var(--orange)); border-radius: 9px; bottom: 0; content: ''; left: 18px;
  position: absolute; top: 0; width: 4px; }
.cc-j-item { padding-left: 54px; position: relative; margin-bottom: 16px; }
.cc-j-item .marker { align-items: center; background: #fff; border: 3px solid var(--green); border-radius: 99px; display: flex; font-size: 18px; height: 40px;
  justify-content: center; left: 0; position: absolute; top: 10px; width: 40px; }
.cc-j-item.review .marker { border-color: var(--orange); }
.cc-j-item.walk .marker { border-color: var(--sky); }
.cc-j-item .date { color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.cc-future { background: var(--sun-soft); border: 1px solid #F7DE8B; border-radius: 12px; font-style: italic; margin-top: 8px; padding: 8px 12px; }
.cc-j-photo { border-radius: 14px; margin-top: 10px; max-height: 280px; object-fit: cover; width: 100%; }

/* Perks ------------------------------------------------------------------------ */
.cc-points-hero { background: linear-gradient(130deg, #1D2B27 0%, #23463A 100%); border-radius: 28px; color: #fff; overflow: hidden; padding: 28px;
  position: relative; }
.cc-points-hero h1 { color: #fff; font-size: 3.2rem; margin: 0; }
.cc-points-hero .cc-progress { background: rgba(255, 255, 255, .15); }
.cc-points-hero .sparkle { font-size: 120px; opacity: .2; position: absolute; right: 20px; top: -6px; }
.cc-perk { display: flex; flex-direction: column; gap: 6px; height: 100%; }
.cc-perk .e { font-size: 40px; }
.cc-perk .cost { font-family: var(--font-h); font-size: 20px; font-weight: 800; }
.cc-levels { display: grid; gap: 8px; grid-template-columns: repeat(6, 1fr); }
.cc-level { background: rgba(255, 255, 255, .08); border-radius: 14px; font-size: 12px; padding: 8px; text-align: center; }
.cc-level .e { display: block; font-size: 22px; }
.cc-level.on { background: var(--sun); color: var(--ink); font-weight: 800; }
@media (max-width: 700px) { .cc-levels { grid-template-columns: repeat(3, 1fr); } }
.cc-ledger { list-style: none; margin: 0; padding: 0; }
.cc-ledger li { border-bottom: 1px dashed var(--line); display: flex; gap: 10px; justify-content: space-between; padding: 9px 0; }
.cc-ledger .plus { color: var(--green-d); font-weight: 800; }
.cc-ledger .minus { color: var(--danger); font-weight: 800; }
.cc-code { background: var(--ink); border-radius: 10px; color: var(--sun); font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 700;
  letter-spacing: .08em; padding: 4px 10px; }

/* Tables (admin) ------------------------------------------------------------- */
.cc-table { border-collapse: separate; border-spacing: 0; font-size: 14px; width: 100%; }
.cc-table th { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 8px 10px; text-align: left; text-transform: uppercase; }
.cc-table td { border-top: 1px solid var(--line); padding: 10px; vertical-align: middle; }
.cc-table tr:hover td { background: var(--bg); }
.cc-table-wrap { overflow-x: auto; }

/* Notifications ---------------------------------------------------------------- */
.cc-notif { align-items: center; border-radius: 16px; display: flex; gap: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.cc-notif:hover { background: #fff; text-decoration: none; color: var(--ink); }
.cc-notif.unread { background: #fff; box-shadow: var(--shadow-sm); }
.cc-notif.unread::after { background: var(--orange); border-radius: 99px; content: ''; flex-shrink: 0; height: 10px; width: 10px; }
.cc-notif .ico { align-items: center; background: var(--bg-2); border-radius: 99px; display: flex; flex-shrink: 0; font-size: 20px; height: 42px;
  justify-content: center; width: 42px; }
.cc-notif .txt { flex: 1; }
.cc-notif .when { color: var(--muted); font-size: 12px; }

/* Modals (Anvil alert) ------------------------------------------------------------ */
:is(.modal-backdrop, .anvil-modal-backdrop).in { background: #1D2B27; opacity: .45; }
:is(.modal-content, .anvil-modal-content) { border: 0; border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; }
:is(.modal-header, .anvil-modal-header) { border-bottom: 0; padding: 22px 24px 0; }
:is(.modal-title, .anvil-modal-title) { font-family: var(--font-h); font-size: 1.4rem; font-weight: 800; }
:is(.modal-body, .anvil-modal-body) { padding: 18px 24px 24px; }
:is(.modal-footer, .anvil-modal-footer) { border-top: 0; padding: 0 24px 22px; }
:is(.modal-footer, .anvil-modal-footer) .btn { border-radius: 999px; font-weight: 700; padding: 9px 18px; }
:is(.modal-footer, .anvil-modal-footer) .btn-primary { background: var(--green); border-color: var(--green); }
.cc-modal-title { font-family: var(--font-h); font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; }
.cc-modal-sub { color: var(--muted); margin-bottom: 16px; }
.cc-pledge li { margin-bottom: 4px; }

/* Auth --------------------------------------------------------------------------- */
.cc-auth { margin: 0 auto; max-width: 420px; }
.cc-auth .switch { color: var(--muted); font-size: 14px; margin-top: 14px; text-align: center; }
.cc-auth .head { text-align: center; margin-bottom: 14px; }
.cc-auth .head .e { font-size: 44px; display: block; }
.cc-error { background: #FFF0EE; border-radius: 12px; color: var(--danger); font-size: 14px; font-weight: 600; margin-bottom: 12px; padding: 10px 12px; }

/* Toast (Anvil Notification) ---------------------------------------------------- */
.anvil-notification, .notification { border-radius: 16px !important; font-family: var(--font-b); font-weight: 600; }

/* Confetti ----------------------------------------------------------------------- */
.cc-confetti { height: 0; left: 50%; pointer-events: none; position: fixed; top: 50%; width: 0; z-index: 99999; }
.cc-confetti span { animation: cc-burst 1.5s cubic-bezier(.15, .7, .3, 1) forwards; font-size: 28px; left: 0; position: absolute; top: 0; }
@keyframes cc-burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.4); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 160px)) rotate(var(--r)) scale(1); }
}
@keyframes cc-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cc-fade-in { animation: cc-fade-up .35s ease both; }
/* The swipe card moves by inline transforms: don't let the finished fade hold transform:none. */
.cc-swipe.cc-fade-in { animation-fill-mode: backwards; }

/* ================================================================================
   Landing page
   ================================================================================ */
.lp { overflow-x: hidden; }
.lp-wrap { margin: 0 auto; max-width: 1180px; padding: 0 24px; }
.lp-nav { align-items: center; display: flex; gap: 20px; height: 76px; }
.lp-nav .links { display: flex; flex: 1; gap: 4px; justify-content: center; }
.lp-nav .links button { background: none; border: 0; border-radius: 999px; color: var(--ink-2); cursor: pointer; font-family: var(--font-b); font-size: 15px;
  font-weight: 600; padding: 8px 12px; }
.lp-nav .links button:hover { background: var(--bg-2); }
@media (max-width: 860px) { .lp-nav .links { display: none; } .lp-nav .cc-btn.ghost { display: none; } .lp-nav { justify-content: space-between; } }

.lp-hero { position: relative; display: flex; align-items: center; min-height: 620px; padding: 40px 0 50px; border-top: 1px solid var(--line); }
.lp-mapbg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(160deg, #E9F7EF 0%, #F6F2E2 100%); }
.lp-mapbg svg { width: 100%; height: 100%; display: block; }
.lp-hero > .lp-wrap { position: relative; z-index: 1; width: 100%; }
.lp-card { max-width: 560px; background: rgba(255, 251, 242, .97); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow-lg); padding: 32px 32px 28px; }
.lp-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: .98; letter-spacing: -.04em; margin-bottom: 18px; }
.lp-hero h1 .hl { background: linear-gradient(transparent 62%, var(--sun) 62%); padding: 0 4px; }
.lp-hero h1 .snack { color: var(--orange); }
.lp-hero .lead { color: var(--ink-2); font-size: 1.2rem; max-width: 540px; }
.lp-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.lp-hero .facts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .lp-hero { display: block; min-height: 0; padding: 320px 0 30px; } .lp-mapbg { bottom: auto; height: 350px; } .lp-card { padding: 24px 20px; } }

.lp-visual { position: relative; min-height: 460px; }
.lp-mapcard { background: linear-gradient(160deg, #E9F7EF 0%, #F6F2E2 100%); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow-lg);
  height: 460px; overflow: hidden; position: relative; }
.lp-mapcard svg { height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.lp-float { animation: lp-bob 5s ease-in-out infinite; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 700; padding: 10px 14px; position: absolute; z-index: 2; }
.lp-float.a { right: 30%; top: 40px; }
.lp-float.b { animation-delay: -1.6s; bottom: 90px; right: 4%; }
.lp-float.c { animation-delay: -3s; bottom: 24px; right: 30%; background: var(--ink); color: #fff; border-color: var(--ink); }
.lp-float .sub { color: var(--muted); display: block; font-size: 12px; font-weight: 600; }
.lp-float.c .sub { color: rgba(255,255,255,.7); }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .lp-float.a { right: auto; left: 12px; top: 16px; } .lp-float.b, .lp-float.c { display: none; } }
@media (prefers-reduced-motion: reduce) { .lp-route, .lp-float { animation: none; } }
.lp-route { stroke-dasharray: 2 14; stroke-linecap: round; animation: lp-march 1.2s linear infinite; }
@keyframes lp-march { to { stroke-dashoffset: -16; } }

.lp-marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 10px -20px 0; }
.lp-marquee .track { animation: lp-scroll 38s linear infinite; display: flex; gap: 40px; white-space: nowrap; width: max-content; }
.lp-marquee span { font-family: var(--font-h); font-size: 22px; font-weight: 700; }
.lp-marquee span i { color: var(--sun); font-style: normal; }
@keyframes lp-scroll { to { transform: translateX(-50%); } }

.lp-section { padding: 90px 0 30px; }
.lp-section.alt { background: #fff; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: 60px; padding-bottom: 80px; }
.lp-section h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.035em; max-width: 760px; }
.lp-section .intro { color: var(--ink-2); font-size: 1.15rem; max-width: 640px; }

.lp-steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin-top: 36px; }
.lp-step { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; position: relative; }
.lp-step .e { font-size: 38px; }
.lp-step::before { color: var(--line-2); content: counter(s, decimal-leading-zero); counter-increment: s; font-family: var(--font-h); font-size: 44px;
  font-weight: 800; position: absolute; right: 18px; top: 8px; }
.lp-step h3 { margin-top: 10px; }
.lp-step p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .lp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lp-steps { grid-template-columns: 1fr; } }

.lp-manifesto { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.lp-rules { display: grid; gap: 12px; margin-top: 20px; }
.lp-rule { align-items: flex-start; background: var(--bg); border-radius: 18px; display: flex; gap: 14px; padding: 16px; }
.lp-rule .e { font-size: 28px; }
.lp-rule b { display: block; font-size: 17px; }
.lp-rule span { color: var(--muted); }
.lp-day { background: var(--bg); border: 1px solid var(--line); border-radius: 28px; padding: 24px; }
.lp-day h3 { margin-bottom: 14px; }
@media (max-width: 900px) { .lp-manifesto { grid-template-columns: 1fr; } }

.lp-features { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.lp-feature { border-radius: 26px; min-height: 240px; padding: 26px; position: relative; overflow: hidden; }
.lp-feature .e { font-size: 42px; }
.lp-feature h3 { font-size: 1.35rem; margin-top: 10px; }
.lp-feature p { color: var(--ink-2); margin: 0; }
.lp-feature.wide { grid-column: span 2; }
@media (max-width: 900px) { .lp-features { grid-template-columns: 1fr; } .lp-feature.wide { grid-column: auto; } }

.lp-split { display: grid; gap: 50px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .lp-split { grid-template-columns: 1fr; } }
.lp-cards-demo { height: 420px; position: relative; }
.lp-cards-demo .cc-swipe { left: 50%; max-width: 330px; position: absolute; top: 20px; width: 86%; }
.lp-cards-demo .cc-swipe .cover { height: 150px; }
.lp-cards-demo .cc-swipe .cover .emo { font-size: 70px; }
.lp-cards-demo .c1 { transform: translateX(-50%) rotate(-8deg) translateX(-40px); opacity: .7; }
.lp-cards-demo .c2 { transform: translateX(-50%) rotate(5deg) translateX(30px); opacity: .85; }
.lp-cards-demo .c3 { transform: translateX(-50%); }

.lp-levels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lp-level { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 12px 16px; text-align: center; min-width: 110px; }
.lp-level .e { display: block; font-size: 30px; }
.lp-level b { display: block; }
.lp-level span { color: var(--muted); font-size: 13px; }
.lp-earn { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 20px; }
.lp-earn div { background: #fff; border: 1px solid var(--line); border-radius: 16px; display: flex; justify-content: space-between; padding: 12px 14px; gap: 10px; }
.lp-earn b { color: var(--green-d); white-space: nowrap; }
@media (max-width: 560px) { .lp-earn { grid-template-columns: 1fr; } }

.lp-safety { background: linear-gradient(140deg, #E1F4FF 0%, #E6F8EF 100%); border-radius: 36px; padding: 50px; }
.lp-safety-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.lp-safety-grid div { background: rgba(255, 255, 255, .8); border-radius: 20px; padding: 18px; }
.lp-safety-grid .e { font-size: 28px; }
.lp-safety-grid b { display: block; font-size: 17px; margin: 6px 0 2px; }
.lp-safety-grid span { color: var(--ink-2); font-size: 15px; }
.lp-disclaimer { color: var(--ink-2); font-size: 14px; margin-top: 22px; }
@media (max-width: 900px) { .lp-safety-grid { grid-template-columns: 1fr; } .lp-safety { padding: 28px 20px; } }

.lp-partner { align-items: center; background: var(--orange); border-radius: 32px; color: #fff; display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr;
  overflow: hidden; padding: 44px; position: relative; }
.lp-partner h2 { color: #fff; }
.lp-partner p { color: rgba(255, 255, 255, .92); font-size: 1.1rem; }
.lp-partner .tags { display: flex; flex-direction: column; gap: 10px; }
.lp-partner .tag { background: #fff; border-radius: 16px; color: var(--ink); font-weight: 700; padding: 12px 16px; transform: rotate(-1.5deg); }
.lp-partner .tag:nth-child(2) { transform: rotate(1.5deg); margin-left: 24px; }
.lp-partner .tag .pct { color: var(--orange); font-family: var(--font-h); font-size: 20px; font-weight: 800; margin-right: 8px; }
@media (max-width: 900px) { .lp-partner { grid-template-columns: 1fr; padding: 28px; } }

.lp-faq { margin-top: 30px; max-width: 820px; }
.lp-faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; padding: 16px 20px; }
.lp-faq summary { cursor: pointer; font-family: var(--font-h); font-size: 1.12rem; font-weight: 700; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; float: right; font-size: 1.4rem; line-height: 1; color: var(--green); }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq details p { color: var(--ink-2); margin: 10px 0 0; }

.lp-final { background: var(--green); border-radius: 36px; color: #fff; margin: 90px 0 40px; overflow: hidden; padding: 64px 30px; position: relative; text-align: center; }
.lp-final h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 auto 12px; max-width: 760px; }
.lp-final p { color: rgba(255, 255, 255, .9); font-size: 1.15rem; }
.lp-final .cc-btn.sun, .lp-final .anvil-role-cc-btn.anvil-role-sun > button { margin-top: 16px; }
.lp-final .deco { font-size: 40px; opacity: .9; position: absolute; }
.lp-footer { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 14px; gap: 20px; justify-content: space-between; padding: 26px 0 50px; }
.lp-footer button { background: none; border: 0; color: var(--muted); cursor: pointer; font-family: var(--font-b); font-size: 14px; padding: 0; margin-right: 14px; }
.lp-footer button:hover { color: var(--ink); }
.lp-footer .lp-idea { color: var(--muted); font-family: var(--font-b); font-size: 14px; margin-right: 14px; text-decoration: none; }
.lp-footer .lp-idea:hover { color: var(--ink); }

/* Watch section: the app's YouTube video. Click to play; nothing loads from YouTube before the click. */
.lp-section.ytf { padding-top: 70px; }
.ytf .ytf-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.ytf .ytf-copy h2 { margin: 6px 0 10px; }
.ytf .ytf-copy .intro { margin: 0 0 16px; }
.ytf .ytf-link { color: var(--green-d); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.ytf .ytf-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ytf .ytf-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ytf .ytf-cover { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; font: inherit; cursor: pointer; display: block; }
.ytf .ytf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ytf .ytf-cover:hover img { transform: scale(1.02); filter: brightness(.92); } }
.ytf .ytf-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); line-height: 0; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); transition: transform var(--dur-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ytf .ytf-cover:hover .ytf-play, .ytf .ytf-cover:focus-visible .ytf-play { transform: translate(-50%, -50%) scale(1.08); } }
.ytf .ytf-cover:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.ytf .ytf-len { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .78); color: #fff; font-size: .78rem; font-weight: 700; line-height: 1.3; padding: 3px 7px; border-radius: 5px; }
.ytf .ytf-note { font-size: .8rem; color: var(--muted); margin: 10px 2px 0; }
@media (max-width: 800px) { .ytf .ytf-in { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
@media (max-width: 480px) { .ytf .ytf-play svg { width: 56px; height: 40px; } }

/* =====================================================================================================
   Forms version: the Anvil role layer, then the pieces the component pages added.
   ===================================================================================================== */

/* Anvil wraps named parts in <anvil-dropzone> on the open-source runtime (hosted has dropped them) */
anvil-dropzone { display: contents; }
.anvil-label { padding: 0; margin: 0; }
.anvil-label > .anvil-label-text, .anvil-label .label-text { font: inherit; color: inherit; }
.anvil-component-icon:empty { display: none; }
.anvil-role-contents, .anvil-role-contents > div { display: contents; }
.chip-cell, .opt-cell, .pill-cell, .avlink-cell { display: contents; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons with CityCrossers roles: the wrapper is inline, the real <button> carries the old look (rules above) */
:is(.anvil-role-cc-btn, .anvil-role-cc-link) { display: inline-block; }
:is(.anvil-role-cc-btn, .anvil-role-cc-link) > button { margin: 0; }
.anvil-role-cc-btn.anvil-role-block { display: block; width: 100%; }
.anvil-role-cc-btn.anvil-role-block > button { width: 100%; }
.anvil-role-cc-btn > button:disabled { opacity: .55; cursor: default; }
.anvil-role-au-google img, .anvil-role-au-google .anvil-component-icon { width: 18px; height: 18px; flex: none; }
.anvil-role-cc-link.anvil-role-quiet > button { color: var(--muted); font-size: 14px; font-weight: 600; }
.anvil-role-cc-btn.anvil-role-lifted > button { box-shadow: var(--shadow-lg); }
.anvil-role-cc-btn > button .anvil-button-text, .anvil-role-cc-link > button .anvil-button-text { white-space: nowrap; }

/* Labels with roles */
.anvil-role-cc-modal-title { font: 800 1.5rem/1.15 var(--font-h); color: var(--ink); letter-spacing: -0.02em; margin: 0 0 4px; }
.anvil-role-cc-modal-sub { color: var(--muted); margin-bottom: 16px; }
.anvil-role-small-muted { font-size: .88rem; color: var(--muted); margin: 8px 2px 0; }
.anvil-role-inline, .anvil-role-inline > span { display: inline; }
.anvil-role-msg-error { background: #FFF0EE; color: var(--danger); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 14px; margin: 0 0 12px; }
.anvil-role-msg-note { background: var(--green-soft); color: var(--green-d); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 14px; margin: 0 0 12px; }
h2.cc-modal-title { margin: 0 0 4px; }

/* repeating panels: the grid/flex goes on the items container */
.anvil-role-cc-cards > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.anvil-role-cc-cards-sm > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.anvil-role-cc-list > div { display: flex; flex-direction: column; gap: 10px; }
.anvil-role-cc-gap-list > div { display: grid; gap: 8px; }
.anvil-role-cc-badges > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.anvil-role-cc-chip-row > div { display: flex; flex-wrap: wrap; gap: 10px; }
.anvil-role-cc-rows > div > :first-child .cc-walk-row { border-top: 0; }
.anvil-role-cc-divided > div > :first-child .cc-review { border-top: 0; padding-top: 0; }
.deal-cell, .walkcard-cell, .person-cell, .perk-cell, .report-cell { height: 100%; }
.cc-grid > *, .cc-grid.two > div, .cc-form-row > * { min-width: 0; }

/* shell */
.cc-root { min-height: 100vh; }
.cc-shell { min-height: 100vh; display: flex; flex-direction: column; }
.cc-main { flex: 1 0 auto; }
.cc-footer-row { margin-top: 6px; }
.cc-footer-link { border: 0; background: none; padding: 0; margin: 0 8px; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.lp-footer .lp-org { flex-basis: 100%; }
.cc-safety-foot { display: block; margin-top: 32px; padding-bottom: 20px; }
.cc-safety-foot .lp-org { margin-top: 8px; }
.cc-nav a[aria-current="page"] { font-weight: 700; }
.cc-menu .head span { display: block; }

/* page parts */
.cc-h1 { margin: 0; }
.cc-lead { margin: 4px 0 0; }
.cc-page-head { margin-bottom: 18px; align-items: flex-end; }
.cc-m0 { margin: 0; }
.cc-mb { margin-bottom: 16px; } .cc-mb-sm { margin-bottom: 12px; } .cc-mb-lg { margin-bottom: 20px; }
.cc-mt { margin-top: 14px; } .cc-mt-sm { margin-top: 10px; } .cc-mt-xs { margin-top: 4px; } .cc-mt-lg { margin-top: 28px; }
.cc-grow { flex: 1 1 auto; min-width: 0; }
.cc-center-row { justify-content: center; }
.cc-top { align-items: start; }
.cc-sticky { position: sticky; top: 84px; }
@media (max-width: 900px) { .cc-sticky { position: static; } }
.cc-detail-grid { margin-top: 22px; align-items: start; }
.cc-st-top { margin-top: 0; }
.cc-card-tight { padding: 8px 14px; }
.cc-prewrap { white-space: pre-wrap; }
.cc-nowrap-row { flex-wrap: nowrap; gap: 6px; }
.cc-tabs-row { margin: 28px 0 18px; }
.cc-hello-sub { font-size: 1.08rem; margin: 0; }
.cc-stat-link { text-decoration: none; color: inherit; }
.cc-card-h { font-size: 1.25rem; font-weight: 700; margin: 0 0 .3em; }
.cc-card-title .cc-card-h { margin: 0; }
.cc-sub-h { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; }
.cc-card-help, .cc-route-help { margin-top: -6px; }
.cc-back { display: inline-block; margin-bottom: 10px; }
.cc-hero-pills { position: relative; margin-bottom: 12px; }
.cc-req-wait { color: #B9481A; }
.cc-hosted-by { font-weight: 700; margin-bottom: 8px; }
.cc-tl-end, .cc-wx-tip { margin: 10px 0 0; }
.cc-chat-send { margin-top: 12px; flex-wrap: nowrap; }
.cc-pill-big { padding: 10px 14px; }
.cc-mutual { gap: 4px; }
.cc-photo-edit { gap: 16px; margin-bottom: 16px; flex-wrap: nowrap; align-items: flex-start; }
.cc-save-sticky { margin-top: 18px; position: sticky; bottom: 12px; }
.cc-welcome-h { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 6px; }
.cc-safety-hello { background: linear-gradient(130deg, #E1F4FF, #E6F8EF); margin: 10px 0 20px; }
.cc-admin-stats { margin: 0 0 20px; }
.cc-admin-stats .cc-stat { background: #fff; border-color: var(--line); }
.cc-admin-stats .cc-stat.alarm { background: #FFF0EE; }
.cc-demo-card { max-width: 720px; }
.cc-savebar { margin-top: 20px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; position: sticky; bottom: 12px; z-index: 5; box-shadow: var(--shadow-lg); }
.cc-savebar-tip { flex: 1; min-width: 200px; }
.cc-options-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .cc-options-3 { grid-template-columns: 1fr; } }
.cc-empty-sm { padding: 18px; }
.cc-deck-strip, .cc-deck-tags { margin-bottom: 14px; }
.cc-deal-pct { color: var(--orange-d); }
.cc-search { display: flex; gap: 10px; align-items: center; padding: 12px; }
.cc-map-off { margin: 20px; }
.cc-pop-deal { margin-top: 6px; }
.cc-pop-desc { margin-top: 4px; }
.cc-pop-acts { gap: 6px; }
.cc-route-deco text { font-family: system-ui, sans-serif; }
.cc-empty h3 { margin: 4px 0 6px; }

/* rows and cards the pages list */
.cc-walk-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--line); color: inherit; text-decoration: none; }
.cc-walk-row:hover { color: inherit; }
@media (hover: hover) and (pointer: fine) { .cc-walk-row:hover b { color: var(--green-d); } }
.cc-walk-row .sq { border-radius: 14px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.cc-walk-row .sq.plain { width: auto; height: auto; background: none; }
.cc-walk-row .txt { min-width: 0; }
.cc-walk-row b { display: block; }
.cc-invite-row { padding: 10px 0; border-top: 1px dashed var(--line); }
.cc-invite-title { font-weight: 700; color: inherit; }
.cc-invite-acts { margin-top: 6px; }
.cc-person-card .cc-av-cell { display: flex; justify-content: center; }
.cc-person-card .cc-av-cell .cc-av { margin: -38px 0 6px; }
.cc-pc-name { margin: 0; font-size: 1.05rem; }
.cc-pc-name a { color: inherit; }
a.cc-walk-card { color: inherit; text-decoration: none; }
a.cc-walk-card:hover { color: inherit; }
.cc-wc-title { font-size: 1.08rem; margin: 0; }
.when-at { font-weight: 600; }
.cc-wc-host { gap: 8px; flex-wrap: nowrap; }
.cc-wc-going { font-weight: 700; }
.cc-wc-note { margin: 6px 0 0; padding: 8px 10px; }
.cc-deal-card { padding: 16px; height: 100%; }
.cc-deal-h { font-size: 1.05rem; margin: 10px 0 2px; }
.cc-deal-code { margin-top: 6px; }
.cc-person-row { padding: 6px 0; }
.cc-person-row.divided { padding: 10px 0; border-top: 1px dashed var(--line); }
.cc-pr-line { flex-wrap: nowrap; }
.cc-pr-note { background: #FFF5E4; border-radius: 12px; padding: 8px 10px; margin-top: 6px; }
.cc-pr-under { margin-top: 8px; }
.anvil-role-cc-chip-row .cc-person-row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.cc-timeline .tl-li { display: flex; gap: 14px; padding: 8px 0; position: relative; }
.cc-timeline .tl-li a { color: inherit; }
.tl-deal, .tl-rating { margin-left: 6px; }
.cc-rs-row { padding: 6px 0; flex-wrap: nowrap; }
.cc-endorse-r { gap: 8px; flex-wrap: nowrap; }
.cc-review { padding: 12px 0; border-top: 1px dashed var(--line); }
.cc-review-head { margin-top: 6px; }
.anvil-role-cc-divided .cc-review-head { margin-top: 0; }
.cc-review-title { font-weight: 700; margin-top: 4px; }
.cc-jc-date { font-weight: 700; }
.cc-notif-list { margin-top: 12px; }
.cc-j-title { margin: 6px 0; font-size: 1.25rem; font-weight: 700; font-family: var(--font-h); color: inherit; display: block; }
.cc-j-head .cc-j-title { margin: 6px 0 0; }
.cc-j-walk { border: 0; }
.cc-j-walk .date { color: inherit; }
.cc-j-body { margin: 4px 0 0; white-space: pre-wrap; }
.cc-points-hero h1 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 12px; }
.cc-points-l { font-size: 1.1rem; font-weight: 700; font-family: var(--font-b); letter-spacing: 0; }
.cc-points-sub { margin: 6px 0 14px; color: rgba(255, 255, 255, .92); }
.cc-level-pts { font-weight: 600; }
.cc-perk-h { margin: 0; font-size: 1.05rem; }
.cc-perk-desc { flex: 1; margin: 0; }
.cc-earn li > span:nth-child(2) { flex: 1; }
.cc-earn li b { color: var(--green-d); }
.cc-ledger-row { border-bottom: 1px dashed var(--line); display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 9px 0; }
.anvil-role-small .cc-ledger-row { font-size: .88rem; }
.cc-ledger-row .plus { color: var(--green-d); font-weight: 800; }
.cc-ledger-row .minus { color: var(--danger); font-weight: 800; }
.cc-code-btn { border: 0; cursor: pointer; font-size: 14px; }
.cc-code-big { font-size: 22px; }

/* admin lists (grid rows; they scroll sideways inside .cc-table-wrap on phones) */
.cc-thead, .cc-trow { display: grid; gap: 10px; align-items: center; padding: 10px; font-size: 14px; }
.cc-thead { color: var(--muted); font-size: 12px; font-weight: 800; padding-top: 4px; padding-bottom: 6px; }
.cc-trow { border-top: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) { .cc-trow:hover { background: var(--bg); } }
.ad-deal { grid-template-columns: minmax(180px, 2fr) minmax(110px, 1.2fr) 50px 100px 100px 80px auto; min-width: 840px; }
.ad-place { grid-template-columns: minmax(180px, 2fr) 110px 90px 50px auto; min-width: 660px; }
.ad-user { grid-template-columns: minmax(220px, 2fr) 130px 110px 90px auto; min-width: 860px; }
.ad-perk { grid-template-columns: minmax(160px, 2fr) 80px 80px auto; min-width: 460px; }
.cc-tacts { flex-wrap: nowrap; gap: 6px; justify-content: flex-end; }
.cc-report-details { margin: 10px 0; }

/* dialogs */
.cc-dlg { min-width: 0; }
.dlg-acts { margin-top: 14px; }
.cc-pledge-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.cc-pledge-row input { width: 20px; height: 20px; accent-color: var(--green); margin-top: 3px; flex-shrink: 0; }
.cc-pledge-row > span > span { display: block; }
.cc-dlg-map { margin-bottom: 8px; }
.cc-dlg-h { font-size: 1.05rem; margin: 14px 0 6px; }
.cc-place-head { gap: 14px; margin-bottom: 8px; flex-wrap: nowrap; }
.cc-place-e { font-size: 44px; }
.cc-place-meta { gap: 8px; }
.cc-info-e { font-size: 56px; }
.cc-info-acts { justify-content: center; }
.cc-pre { white-space: pre-wrap; text-align: left; background: var(--bg-2); padding: 12px; border-radius: 12px; font: inherit; }
.cc-alert-top { margin: 0 0 14px; }
.cc-auth-logo { display: block; margin: 0 auto 6px; }
.cc-auth-note { margin-top: 14px; }
.cc-auth .head .anvil-label { text-align: center; }
.au-or { text-align: center; color: var(--muted); margin: 10px 0; font-size: 14px; }
.f-forgot { margin-top: 8px; }
.cc-auth .anvil-role-cc-btn.anvil-role-block { margin-top: 4px; }
.cc-photo-row { margin-bottom: 10px; }
.cc-field > .cc-label { display: block; }
.cc-field .hint { display: block; }
.cc-dlg .anvil-checkbox, .cc-card .anvil-checkbox { margin: 6px 0; }

/* the editor's choices: the item wrapper is the grid cell, the button fills it */
.opt-cell > button { width: 100%; height: 100%; }
.cc-option > span { display: block; }

/* notifications (state.toast): ink, red for problems */
.anvil-notification, [data-notify="container"].anvil-alert { background: var(--ink); color: #fff; border: 0; border-radius: 16px; box-shadow: var(--shadow-lg);
  font: 600 15px/1.4 var(--font-b); padding: 11px 40px 11px 18px; }
:is(.anvil-notification, [data-notify="container"]):is(.anvil-role-error, .anvil-alert-danger, .alert-danger, .anvil-notification-danger) { background: var(--danger); color: #fff; }
:is(.anvil-notification, [data-notify="container"]):is(.anvil-role-ok, .anvil-alert-success, .alert-success, .anvil-notification-success, .anvil-alert-info, .alert-info, .anvil-alert-warning, .alert-warning) { background: var(--ink); color: #fff; }
[data-notify="container"] .anvil-close, [data-notify="dismiss"] { color: inherit; opacity: .8; text-shadow: none; min-width: 24px; min-height: 24px; }

/* dialogs: Anvil's alert is a 300 px modal; the role app-dialog gives them the old width */
.anvil-modal-dialog.anvil-role-app-dialog:not(.anvil-modal-lg), .modal-dialog.anvil-role-app-dialog:not(.modal-lg) { width: min(calc(100vw - 20px), 520px); max-width: none; }
.anvil-modal-dialog.anvil-role-app-dialog.anvil-modal-lg, .modal-dialog.anvil-role-app-dialog.modal-lg { width: min(calc(100vw - 20px), 760px); max-width: none; }
:is(.modal-header, .anvil-modal-header) :is(.close, .anvil-close) { color: var(--muted); opacity: 1; text-shadow: none; }
@media (max-width: 600px) { :is(.modal-dialog, .anvil-modal-dialog) { margin: 10px !important; } :is(.modal-body, .anvil-modal-body) { padding: 18px !important; } }

/* public walk page (Pages/WalkPublic): its own top bar, the join bar with spots left */
.wp-root { min-height: 100vh; }
.wp-nav { justify-content: space-between; }
.wp-auth { flex-wrap: nowrap; gap: 8px; }
.wp-page { padding-top: 8px; }
.wp-tz { color: var(--ink-2); margin: 10px 0 0; position: relative; }
.grad-night .wp-tz { color: rgba(255, 255, 255, .85); }
.wp-joinbar { gap: 14px; }
.wp-spots { display: grid; gap: 6px; min-width: 0; flex: 1 1 220px; }
.wp-spots-bar { height: 10px; max-width: 320px; }
.wp-loading .big { animation: kit-in var(--dur-slow) var(--ease-out) both; }
.cc-empty-h { font-size: 1.35rem; margin: 4px 0 6px; }
@media (max-width: 600px) { .wp-joinbar .anvil-role-cc-btn { width: 100%; } .wp-joinbar .anvil-role-cc-btn > button { width: 100%; } }

/* stop topics: a conversation card under each stop on the timeline */
.tl-topic { align-items: center; background: var(--bg-2); border-radius: 12px; display: flex; gap: 6px; margin-top: 6px;
  padding: 4px 4px 4px 10px; }
.tl-topic-q { color: var(--ink-2); flex: 1; font-size: 13px; font-style: italic; min-width: 0; }
.tl-shuffle { background: transparent; border: 0; border-radius: 999px; cursor: pointer; flex-shrink: 0; font-size: 15px;
  height: 32px; width: 32px; transition: background-color var(--dur-press) var(--ease-out), transform var(--dur-press) var(--ease-out); }
.tl-shuffle:hover { background: var(--line); }
.tl-shuffle:active { transform: scale(.92); }
.tl-shuffle:focus-visible { outline: 2px solid var(--green-d); outline-offset: 2px; }

/* show-up kit: "still in?", the host's confirmed count, the calendar choices, the roll call */
.cc-confirm { margin: 14px 18px 0; flex-wrap: wrap; }
.cc-confirm-acts { flex-wrap: nowrap; gap: 8px; }
@media (max-width: 600px) { .cc-confirm { margin-left: 0; margin-right: 0; } .cc-confirm-acts { flex-wrap: wrap; } }
.cc-confirmed { color: var(--green-d); font-weight: 700; margin: 0 0 10px; }
.cc-cal-opts { display: grid; gap: 6px; }
.cc-cal-hint { margin: 0 0 8px 4px; }
.cc-rollcall { max-height: 52vh; overflow-y: auto; position: relative; }
.cc-rollcall-count { color: var(--ink-2); font-weight: 700; margin: 10px 0 0; }
.cc-crew-again { margin-top: 12px; }
.cc-block { display: block; }

/* landing: open walks this week */
.lp-open { padding-top: 60px; }
.anvil-role-lp-open-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-top: 18px; }
.anvil-role-lp-open-grid > div { min-width: 0; }
.anvil-role-lp-open-grid .cc-walk-row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 14px; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .anvil-role-lp-open-grid .cc-walk-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); } }

/* reduced motion: the marquee, the bobbing cards, the marching route and the confetti stop */
@media (prefers-reduced-motion: reduce) {
  .lp-marquee .track, .lp-float, .lp-route, .cc-fade-in, .cc-confetti span { animation: none; }
  .cc-confetti { display: none; }
}
