/* =============================================================================
   Duskpin — quiet luxury, fast.
   No borders between sections: tone changes instead (ink / ink-2 / ink-3).
   No full-screen filters, no backdrop blur: everything here is cheap to scroll.
   ============================================================================= */

/* ---------- Tokens ---------------------------------------------------------- */
:root {
  --champagne: #d8c29d;
  --champagne-rgb: 216, 194, 157;
  --champagne-soft: #ece0c8;
  --smoke: #efe8e4;
  --mist: #a99a9f;
  --hair: rgba(216, 194, 157, .14);
  --hair-strong: rgba(216, 194, 157, .3);

  --r-tile: 16px;
  --r-field: 12px;
  --r-pill: 999px;

  --font: "Inter", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 44rem;
  --measure-wide: 56rem; /* category landing pages: hero + article share this */
}

html, html[data-theme="neon"]   { --ink: #140f1a; --ink-2: #1b1522; --ink-3: #231b2c; --accent: #c08bd6; --accent-rgb: 192, 139, 214; }
html[data-theme="noir"]         { --ink: #12100e; --ink-2: #191613; --ink-3: #211d19; --accent: #d1a55e; --accent-rgb: 209, 165, 94; }
html[data-theme="velvet"]       { --ink: #180d11; --ink-2: #201217; --ink-3: #2a181f; --accent: #d99aa3; --accent-rgb: 217, 154, 163; }
html[data-theme="dual"]         { --ink: #0e1415; --ink-2: #131b1d; --ink-3: #192426; --accent: #8cc7b8; --accent-rgb: 140, 199, 184; }

:root, [data-bs-theme="dark"] {
  --bs-body-bg: var(--ink);
  --bs-body-color: var(--smoke);
  --bs-tertiary-bg: var(--ink-2);
  --bs-secondary-color: var(--mist);
  --bs-secondary-rgb: 169, 154, 159;
  --bs-primary: var(--champagne);
  --bs-primary-rgb: var(--champagne-rgb);
  --bs-link-color: var(--champagne);
  --bs-link-color-rgb: var(--champagne-rgb);
  --bs-link-hover-color: var(--champagne-soft);
  --bs-link-hover-color-rgb: 236, 224, 200;
  --bs-border-color: var(--hair);
  --bs-secondary-border-subtle: var(--hair);
  --bs-font-sans-serif: var(--font);
  --bs-body-font-family: var(--font);
  --bs-body-font-weight: 300;
  --bs-body-line-height: 1.65;
  --bs-border-radius: var(--r-field);
  --bs-border-radius-lg: var(--r-field);
  --bs-focus-ring-color: rgba(var(--champagne-rgb), .35);
  --dp-venue: #9fc3e6;
}

/* ---------- Base ------------------------------------------------------------ */
html { background: var(--ink); }
body {
  font-family: var(--font); font-weight: 300; font-size: 1rem; letter-spacing: -.003em;
  color: var(--smoke); background: var(--ink);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea { font-family: var(--font); }

h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-weight: 200; letter-spacing: -.022em; line-height: 1.15; color: var(--smoke); }
h5, h6, .h5, .h6 { font-weight: 400; letter-spacing: -.01em; }
strong, b, .fw-semibold, .fw-bold { font-weight: 500 !important; }
.text-secondary { color: var(--mist) !important; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: rgba(var(--champagne-rgb), .3); color: #fff; }
:focus-visible { outline: 1px solid var(--champagne); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Buttons ---------------------------------------------------------- */
.btn {
  --bs-btn-font-weight: 400; --bs-btn-border-radius: var(--r-pill);
  --bs-btn-padding-x: 1.25rem; --bs-btn-padding-y: .55rem; letter-spacing: .01em;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-lg { --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: .8rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: var(--r-pill); }
.btn-sm { --bs-btn-padding-x: .9rem; --bs-btn-padding-y: .3rem; --bs-btn-border-radius: var(--r-pill); }
.btn-primary {
  --bs-btn-bg: var(--champagne); --bs-btn-border-color: var(--champagne); --bs-btn-color: #1a1410;
  --bs-btn-hover-bg: var(--champagne-soft); --bs-btn-hover-border-color: var(--champagne-soft); --bs-btn-hover-color: #1a1410;
  --bs-btn-active-bg: var(--champagne); --bs-btn-active-color: #1a1410;
  --bs-btn-disabled-bg: var(--champagne); --bs-btn-disabled-border-color: var(--champagne); --bs-btn-font-weight: 500;
}
.btn-outline-light {
  --bs-btn-color: var(--smoke); --bs-btn-border-color: var(--hair-strong);
  --bs-btn-hover-bg: rgba(var(--champagne-rgb), .08); --bs-btn-hover-color: var(--smoke); --bs-btn-hover-border-color: var(--champagne);
  --bs-btn-active-bg: rgba(var(--champagne-rgb), .12); --bs-btn-active-border-color: var(--champagne);
}
.btn-check:checked + .btn-outline-light, .btn-check:active + .btn-outline-light {
  background: rgba(var(--accent-rgb), .16); border-color: var(--accent); color: var(--smoke);
}
.btn-link { --bs-btn-color: var(--champagne); --bs-btn-hover-color: var(--champagne-soft); text-decoration: none; }

/* ---------- Forms ------------------------------------------------------------ */
.form-control, .form-select {
  background-color: rgba(255, 255, 255, .03); border: 1px solid var(--hair); border-radius: var(--r-field);
  color: var(--smoke); font-weight: 300; padding: .7rem .95rem;
}
.form-control-lg, .form-select-lg { padding: .85rem 1rem; font-size: 1rem; border-radius: var(--r-field); }
.form-control::placeholder { color: rgba(169, 154, 159, .7); }
.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, .045); border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(var(--champagne-rgb), .12); color: var(--smoke);
}
.form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d8c29d' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-select:disabled { background-color: transparent; opacity: .55; }
.form-label { font-weight: 400; color: var(--smoke); margin-bottom: .45rem; }
.form-text { color: var(--mist); font-size: .82rem; }
.input-group > .btn { border-color: var(--hair); border-radius: 0 var(--r-field) var(--r-field) 0; }
.input-group > .form-control { border-radius: var(--r-field) 0 0 var(--r-field); }
.form-check-input { background-color: transparent; border: 1px solid var(--hair-strong); width: 1.1em; height: 1.1em; margin-top: .28em; }
.form-check-input:checked { background-color: var(--champagne); border-color: var(--champagne); }
.form-check-input:checked[type=checkbox] { --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%231a1410' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(var(--champagne-rgb), .15); border-color: var(--champagne); }
.form-check-label { font-weight: 300; }
.invalid-feedback { color: #e9a3a3; font-size: .82rem; }
.form-control.is-invalid, .form-select.is-invalid { border-color: rgba(233, 163, 163, .6); background-image: none; }

/* ---------- Alerts / modal / dropdown ----------------------------------------- */
.alert { border-radius: 0; border: 0; font-weight: 300; font-size: .92rem; }
.alert-success { background: rgba(140, 199, 160, .1); color: #cfe7d6; }
.alert-danger  { background: rgba(233, 163, 163, .1); color: #f1c9c9; }
.alert-info    { background: rgba(var(--champagne-rgb), .08); color: var(--champagne-soft); }
.alert-warning { background: rgba(var(--champagne-rgb), .09); color: var(--champagne-soft); border-radius: var(--r-field); }
.alert-secondary { background: var(--ink-2); color: var(--mist); border-radius: var(--r-field); }
.alert .btn-close { filter: invert(1) grayscale(1) brightness(1.6); opacity: .5; }

.modal-content { background: var(--ink-2); border: 1px solid var(--hair); border-radius: 22px; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8); }
.modal-backdrop.show { opacity: .75; }
.modal-title { font-weight: 200; letter-spacing: -.02em; font-size: 1.6rem; line-height: 1.2; }
.dropdown-menu {
  --bs-dropdown-bg: var(--ink-2); --bs-dropdown-border-color: var(--hair); --bs-dropdown-border-radius: 14px;
  --bs-dropdown-link-active-bg: rgba(var(--champagne-rgb), .12); --bs-dropdown-link-active-color: var(--champagne);
  --bs-dropdown-link-hover-bg: rgba(255, 255, 255, .04); --bs-dropdown-font-size: .9rem;
}
.badge { font-weight: 400; }

/* ---------- Header / footer / bottom nav ----------------------------------------- */
.site-nav { background: var(--ink); padding: .7rem 0; position: sticky; top: 0; z-index: 1030; } /* stays at the top on every page (owner, 2026-10-27) */
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 300; font-size: 1.15rem; letter-spacing: .04em; color: var(--smoke) !important; }
.brand img { width: auto; height: 34px; display: block; } /* the logo with its lettering (2026-10-27) */
.site-nav .nav-link { color: var(--mist); font-weight: 400; font-size: .9rem; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: var(--smoke); }

.site-footer { background: var(--ink-2); padding: 2.25rem 1rem; font-size: .82rem; color: var(--mist); }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--smoke); }

.bottom-nav {
  position: sticky; bottom: 0; z-index: 1020; display: flex; justify-content: space-around;
  padding: .55rem 0 calc(.5rem + env(safe-area-inset-bottom)); background: var(--ink-2);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: .2rem; font-size: .68rem; font-weight: 400; color: var(--mist); text-decoration: none; }
.bottom-nav a i { font-size: 1.2rem; }
.bottom-nav a.active { color: var(--champagne); }

/* ---------- Hero (landing + category) ------------------------------------------ */
.hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -2; }
.hero-veil { position: absolute; inset: 0; z-index: -1; }
.hero-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 3rem var(--gutter); display: flex; flex-direction: column; align-items: flex-start; }
.hero-title { font-weight: 200; font-size: clamp(2.3rem, 4.5vw + 1.2rem, 4.25rem); line-height: 1.02; letter-spacing: -.04em; max-width: 14ch; margin: 0 0 1.25rem; }
.hero-rule { width: 56px; height: 1px; background: var(--champagne); margin: 0 0 1.25rem; }
.hero-text { font-size: 1.08rem; line-height: 1.7; color: #d6ccc8; max-width: 34rem; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.hero-link { color: var(--smoke); background: none; border: 0; border-bottom: 1px solid var(--hair-strong); padding: 0 0 .15rem; font-weight: 400; font-size: .95rem; text-decoration: none; }
.hero-link:hover { color: var(--champagne-soft); border-bottom-color: var(--champagne); }
.hero-text, .hero-title { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }

.hero-landing { min-height: min(82vh, 720px); }
.hero-landing .hero-veil {
  background:
    radial-gradient(60% 55% at 50% 50%, rgba(16, 11, 20, .45), rgba(16, 11, 20, .15) 70%, transparent 100%),
    linear-gradient(180deg, rgba(16, 11, 20, .3) 0%, rgba(16, 11, 20, .05) 30%, rgba(16, 11, 20, .2) 65%, var(--ink-2) 100%);
}
.hero-cat { min-height: min(52vh, 480px); }
.hero-cat .hero-veil {
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(16, 11, 20, .6), rgba(16, 11, 20, .3) 70%, transparent 100%),
    linear-gradient(180deg, rgba(16, 11, 20, .35) 0%, rgba(16, 11, 20, .2) 50%, var(--ink) 100%);
}
.hero-cat .hero-title { font-size: clamp(2.2rem, 3.5vw + 1.2rem, 3.5rem); margin-bottom: .9rem; max-width: 30ch; text-wrap: balance; } /* city and category titles are sentences, not the short landing line */
.hero-cat .hero-text { margin-bottom: 1.5rem; font-size: 1.02rem; }
.hero-cat .hero-inner { max-width: var(--measure-wide); padding-top: 2.5rem; padding-bottom: 2.5rem; }
.crumbs { font-size: .85rem; color: #cfc5c1; margin-bottom: 1.25rem; }
.crumbs a { color: #cfc5c1; text-decoration: none; }
.crumbs a:hover { color: var(--smoke); }

@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .7s var(--ease) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

/* ---------- Sections: tones, no borders -------------------------------------------- */
.band { padding: 3.5rem 0; }
.band-2 { background: var(--ink-2); }
.band-3 { background: var(--ink-3); }
.band-head { max-width: var(--measure); margin-bottom: 1.75rem; }
.band-title { font-size: clamp(1.8rem, 2.2vw + 1rem, 2.5rem); font-weight: 200; letter-spacing: -.03em; margin: 0 0 .35rem; }
.band-sub { color: var(--mist); font-size: .98rem; margin: 0; }
.cat-section:nth-of-type(odd)  { background: var(--ink-2); }
.cat-section:nth-of-type(even) { background: var(--ink); }

/* ---------- Category cards: rows of 5 on desktop, swipe on phone ------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1199.98px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991.98px)  { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat-card {
  position: relative; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; border-radius: var(--r-tile); overflow: hidden; isolation: isolate;
  color: var(--smoke); text-decoration: none; background: var(--ink-3);
}
.cat-card .cat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .15) 45%, rgba(10, 7, 12, .9) 100%);
}
.cat-card:hover .cat-img, .cat-card:focus-visible .cat-img { transform: scale(1.04); }
.cat-card:hover, .cat-card:focus-visible { color: var(--smoke); }
.cat-card .cat-art { position: absolute; top: .9rem; left: 1rem; font-size: 1rem; color: var(--champagne); }
.cat-card .cat-name { display: block; font-size: 1.2rem; font-weight: 300; letter-spacing: -.02em; line-height: 1.15; }
.cat-card .cat-count { display: block; margin-top: .3rem; font-size: .78rem; font-weight: 400; color: var(--champagne); font-variant-numeric: tabular-nums; }
.cat-card.is-empty .cat-count { color: var(--mist); }
.cat-card.is-empty .cat-img { opacity: .75; }

@media (max-width: 767.98px) {
  .cat-grid {
    display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .5rem;
    margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-card { flex: 0 0 60%; max-width: 240px; scroll-snap-align: start; }
}

/* ---------- Landing: host + trust ---------------------------------------------------- */
.trust-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.trust-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .8rem; align-items: start; color: var(--mist); font-size: .95rem; line-height: 1.6; }
.trust-list i { color: var(--champagne); font-size: 1rem; margin-top: .15rem; }

/* ---------- Category page body: one centered column ---------- */
.column { max-width: var(--measure-wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.cat-article { padding-top: 3rem; }
.cat-article .cat-intro { text-align: left; }
.cat-block h2 { text-align: left; }
.cat-block .city-grid { justify-content: start; }
.prose { font-size: 1.02rem; line-height: 1.8; color: #d9d0cc; overflow-wrap: anywhere; } /* a long word or link in a member's text never widens the page (2026-10-14) */
.prose p { margin-bottom: 1.1rem; }
.prose strong { color: var(--smoke); }
.prose ul, .prose ol { padding-left: 1.15rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--champagne); }
.cat-intro { font-size: 1.15rem; line-height: 1.75; color: var(--smoke); margin-bottom: 2rem; }
.cat-block { margin-top: 2.5rem; }
.cat-block h2 { font-size: 1.5rem; font-weight: 300; letter-spacing: -.02em; margin-bottom: .9rem; }
.cat-text p:last-child { margin-bottom: 0; }

.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.city-card { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .6rem .85rem; border-radius: var(--r-field); background: var(--ink-2); color: inherit; text-decoration: none; font-size: .9rem; line-height: 1.35; }
.city-card > span:last-child { white-space: nowrap; font-size: .78rem; } /* "3 km" stays on one line */
.city-card:hover { background: var(--ink-3); color: inherit; }

.accordion {
  --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--hair); --bs-accordion-color: var(--smoke);
  --bs-accordion-btn-color: var(--smoke); --bs-accordion-btn-bg: transparent; --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--champagne-soft); --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-padding-x: 0; --bs-accordion-body-padding-x: 0;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23d8c29d' stroke-width='1.2' stroke-linecap='round'%3e%3cpath d='M8 3v10M3 8h10'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23d8c29d' stroke-width='1.2' stroke-linecap='round'%3e%3cpath d='M3 8h10'/%3e%3c/svg%3e");
}
.accordion-button { font-weight: 400; font-size: 1rem; }
.accordion-button:not(.collapsed) { box-shadow: none; }

/* ---------- Generic pages (auth, profile, legal) ------------------------------------ */
.page { padding-top: 2.5rem; padding-bottom: 4rem; }
.page-title { font-size: clamp(2rem, 2.5vw + 1rem, 3rem); font-weight: 200; letter-spacing: -.04em; line-height: 1.05; }
.auth-wrap { max-width: 440px; padding-top: clamp(2.5rem, 8vh, 5rem); padding-bottom: 4rem; }
.auth-title { font-size: clamp(2.1rem, 2.5vw + 1rem, 3rem); font-weight: 200; letter-spacing: -.04em; margin-bottom: .5rem; }
.panel { background: var(--ink-2); border-radius: var(--r-tile); padding: 1.5rem; margin-bottom: 1.25rem; }
.panel-danger { box-shadow: 0 0 0 1px rgba(233, 163, 163, .25) inset; }
.panel h2 { font-size: 1.35rem; font-weight: 200; letter-spacing: -.02em; }
.pref-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.pref-group .btn { --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .45rem; font-size: .92rem; font-weight: 300; }
.pref-step { font-size: .9rem; font-weight: 400; color: var(--smoke); margin-bottom: .6rem; }
.legal-peek p { font-size: .82rem; line-height: 1.6; }

/* ---------- Map page ---------------------------------------------------------------- */
main { min-height: 0; }
#map { min-height: 46vh; background: var(--ink-2); }
.chips-bar { display: flex; gap: .45rem; overflow-x: auto; padding: .75rem var(--gutter); scrollbar-width: none; background: var(--ink-2) !important; border: 0 !important; }
.chips-bar::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1px solid var(--hair); background: transparent; color: var(--mist); border-radius: var(--r-pill); padding: .4rem .95rem; font-size: .85rem; font-weight: 400; white-space: nowrap; }
.chip:hover { color: var(--smoke); border-color: var(--hair-strong); }
.chip.active { background: rgba(var(--accent-rgb), .14); border-color: var(--accent); color: var(--smoke); }
.results-sheet { max-height: 40vh; display: flex; flex-direction: column; background: var(--ink) !important; border: 0 !important; }
.results-list { overflow-y: auto; }
.place-card { display: grid; grid-template-columns: 1.5rem 1fr auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--hair); color: inherit; text-decoration: none; }
.place-card:last-child { border-bottom: 0; }
.place-card .bi { font-size: 1.15rem !important; color: var(--champagne) !important; }
.place-card .fw-semibold { font-weight: 400 !important; }
.place-card .dist { color: var(--mist); font-size: .8rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.anon-hint { display: grid; grid-template-columns: 1.2rem 1fr; gap: .6rem; margin: .75rem 0; padding: .85rem 1rem; border-radius: var(--r-field); background: var(--ink-2); color: var(--champagne-soft); font-size: .87rem; text-decoration: none; }
.anon-hint:hover { color: var(--smoke); background: var(--ink-3); }
.leaflet-container { background: var(--ink-2); font-family: var(--font); }
.leaflet-control-zoom a { background: var(--ink-2) !important; color: var(--smoke) !important; border-color: var(--hair) !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--ink-2); color: var(--smoke); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8); }
.leaflet-popup-content { font-weight: 300; }
.leaflet-popup-content a { color: var(--champagne); }
.leaflet-control-attribution { background: rgba(0, 0, 0, .45) !important; color: var(--mist) !important; }
.leaflet-control-attribution a { color: var(--mist) !important; }
.marker-private { stroke: var(--accent); fill: var(--accent); }
.marker-venue   { stroke: var(--champagne); fill: var(--champagne); }
@media (min-width: 768px) {
  body.page-map main { flex-direction: row !important; flex-wrap: wrap; }
  body.page-map .chips-bar { width: 100%; }
  body.page-map #map { flex: 1 1 60%; min-height: calc(100vh - 140px); }
  body.page-map .results-sheet { flex: 1 1 40%; max-width: 440px; max-height: calc(100vh - 140px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* trust row under the host CTA: three short lines side by side on desktop */
.trust-row { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; max-width: 960px; }
.trust-row li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .8rem; align-items: start; color: var(--mist); font-size: .92rem; line-height: 1.55; }
.trust-row i { color: var(--champagne); font-size: 1.15rem; }
@media (min-width: 768px) { .trust-row { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ---------- Centered call-to-action bands (host + waitlist) ---------- */
.band-center .band-head { margin-left: auto; margin-right: auto; text-align: center; }
.band-center > .wrap > .column, .band-center > .column { text-align: center; }
.band-center .trust-row li { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.band-center form { text-align: left; }
.band-center form .col-12:last-child { text-align: center; }
.band-center .trust-row { margin-left: auto; margin-right: auto; }

/* ---------- Stage 1: place form, place page, owner pages, admin ---------- */
.type-pick, .vis-pick { display: grid; gap: .75rem; }
@media (min-width: 576px) { .type-pick, .vis-pick { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .vis-pick-3 { grid-template-columns: 1fr 1fr 1fr; } }
.type-card {
  display: grid; gap: .3rem; padding: 1.1rem 1.2rem; border-radius: var(--r-tile); cursor: pointer;
  background: var(--ink-3); box-shadow: 0 0 0 1px var(--hair) inset; transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.type-card i { font-size: 1.3rem; color: var(--champagne); }
.type-card .type-name { font-weight: 400; color: var(--smoke); }
.type-card .type-text { font-size: .86rem; color: var(--mist); line-height: 1.5; }
.btn-check:checked + .type-card { box-shadow: 0 0 0 1px var(--accent) inset; background: rgba(var(--accent-rgb), .1); }
.btn-check:focus-visible + .type-card { outline: 1px solid var(--champagne); outline-offset: 3px; }
.pick-map, .place-map { height: 320px; border-radius: var(--r-field); overflow: hidden; background: var(--ink-3); }
.place-map { height: 280px; }
.panel-actions { padding: .5rem 0 1rem; }
textarea.form-control { min-height: 6rem; }

/* Account and admin pages only (.app-page). Public pages keep their own layout.
   main is a flex column, so the container needs width 100% or it shrinks to its content. */
.app-page { width: 100%; }
.account-nav { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.account-nav::-webkit-scrollbar { display: none; }
.account-nav a { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: var(--r-pill); background: var(--ink-2); color: var(--mist); font-size: .9rem; text-decoration: none; transition: background .2s, color .2s; }
.account-nav a:hover { background: var(--ink-3); color: var(--smoke); }
.account-nav a.active { background: rgba(var(--champagne-rgb), .14); color: var(--champagne-soft); }
/* Account, listing editor and admin: the full 1240px container, everything left-aligned.
   Desktop: content on the left, actions in a sticky side column. Phones: one column. */
.desk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2rem; align-items: start; }
.desk > * { min-width: 0; } /* same on phones: the content never widens the page (2026-10-14) */
.desk-main > .cat-block:first-child, .desk-main > .panel:first-child { margin-top: 0; }
@media (min-width: 992px) {
  .desk { grid-template-columns: minmax(0, 1fr) 21rem; }
  .desk-side { position: sticky; top: 5.5rem; }
}
.desk-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1.25rem; align-items: start; }
.desk-cols > * { min-width: 0; } /* a long line (a device name, an e-mail) never widens the page on a phone (2026-10-14) */
@media (min-width: 992px) { .desk-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.desk input.form-control, .desk .js-geo, .desk-cols input.form-control, .desk-cols .js-geo { max-width: 40rem; }
.listing-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
/* People and Places: 5 cards a row on a desktop (owner, 2026-10-14) */
@media (min-width: 1200px) {
  .listing-cards.cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .listing-cards.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } /* city pages: 4 fit their text column (2026-10-14) */
}
.listing-card { display: flex; flex-direction: column; background: var(--ink-2); border-radius: var(--r-tile); overflow: hidden; color: inherit; text-decoration: none; transition: background .2s; }
.listing-card:hover { background: var(--ink-3); color: inherit; }
.listing-card-img { position: relative; aspect-ratio: 4 / 3; background: var(--ink-3); display: grid; place-items: center; color: var(--mist); font-size: 1.6rem; }
.listing-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.listing-card-badge { position: absolute; top: .6rem; right: .6rem; }
.listing-card-body { display: grid; gap: .3rem; justify-items: start; padding: 1rem 1.1rem 1.15rem; }
/* cards: categories and distance (places), age and distance (people) always at the bottom, on the left (owner, 2026-10-14) */
.listing-card .listing-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.card-foot { margin-top: auto; align-self: stretch; display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: .3rem .5rem; padding-top: .4rem; }
.card-foot-stack { flex-direction: column; align-items: stretch; }
.person-foot { flex-wrap: nowrap; } /* people: the distance and the age on one line */ /* places: the categories above the distance, never mixed */
.place-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: inherit; text-decoration: none; }
.place-row:hover { background: var(--ink-3); color: inherit; }
.place-row-main { display: grid; gap: .15rem; }
.place-row-title { font-size: 1rem; font-weight: 400; } /* a touch smaller on cards (owner, 2026-10-14; was 1.1rem) */
/* a listing's name on its card: at most two lines, then an ellipsis (owner, 2026-10-14) */
.listing-card:not(.person-card) .place-row-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.place-row-meta { display: flex; align-items: center; gap: .5rem; }
.status { font-size: .78rem; font-weight: 400; padding: .2rem .65rem; border-radius: var(--r-pill); background: var(--ink-3); color: var(--mist); white-space: nowrap; }
.status-active { color: #bfe3cb; background: rgba(140, 199, 160, .12); }
.status-pending { color: var(--champagne-soft); background: rgba(var(--champagne-rgb), .12); }
.status-hidden, .status-removed { color: #f1c9c9; background: rgba(233, 163, 163, .1); }

.guest-card { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .86rem; color: var(--mist); }
.request-msg { background: var(--ink-3); border-radius: var(--r-field); padding: .75rem .9rem; font-size: .95rem; margin-bottom: .9rem; }
.request-denied { opacity: .65; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.admin-stats > div { background: var(--ink-2); border-radius: var(--r-tile); padding: 1rem 1.2rem; color: var(--mist); font-size: .85rem; }
.admin-stats span { display: block; font-size: 2rem; font-weight: 200; color: var(--smoke); }

/* Landing hero: a narrow block that hugs its content, centered on the screen, text left-aligned inside */
.hero-landing .hero-inner { width: fit-content; max-width: min(46rem, 100%); margin-left: auto; margin-right: auto; }
.hero-landing .hero-title { max-width: none; text-wrap: balance; }

/* "No places yet" line under the category hero buttons: quieter and further from the CTA */
.hero-cat .cat-meta { margin: .75rem 0 0; font-size: .8rem; font-weight: 300; color: var(--mist); letter-spacing: .01em; text-shadow: none; }

/* ---------- Photos: previews, grids, cover, lightbox ---------- */
.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; margin-top: .6rem; }
.photo-previews:empty { display: none; }
.photo-preview { display: grid; gap: .35rem; }
.photo-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--ink-3); }
.photo-preview.is-bad { color: #f1c9c9; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.photo-grid-sm { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; }
.photo-tile { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--ink-3); aspect-ratio: 1; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-tile.is-rejected { opacity: .4; }
.photo-badges { position: absolute; top: .4rem; left: .4rem; display: flex; flex-wrap: wrap; gap: .25rem; }
.photo-badge { font-size: .7rem; padding: .15rem .5rem; border-radius: var(--r-pill); background: rgba(10, 7, 12, .75); color: var(--champagne-soft); }
.photo-badge.is-private { color: var(--smoke); }
.photo-badge.is-pending { color: var(--mist); }
.photo-actions { position: absolute; right: .4rem; bottom: .4rem; display: flex; gap: .25rem; }
.photo-actions .btn { --bs-btn-padding-x: .45rem; --bs-btn-padding-y: .2rem; background: rgba(10, 7, 12, .7); }
.photo-locked { display: grid; place-content: center; justify-items: center; gap: .3rem; padding: .75rem; text-align: center; color: var(--mist); font-size: .78rem; }
.photo-locked i { font-size: 1.3rem; color: var(--champagne); }
/* the whole locked tile is the button that asks for the photos in the chat */
.photo-locked .locked-ask { position: absolute; inset: 0; display: grid; place-content: center; border: 0; background: none; padding: 0; cursor: pointer; }
.photo-locked .locked-ask:hover i, .photo-locked .locked-ask:focus-visible i { color: var(--ink); background: var(--champagne); }
.photo-locked .locked-ask i { display: grid; place-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; transition: background .15s, color .15s; }
/* how many photos are locked: a badge in the top right corner, no text (decision 2026-10-13) */
.photo-locked .locked-count { position: absolute; top: .45rem; right: .45rem; min-width: 1.4rem; padding: 0 .4rem; border-radius: 999px;
  background: var(--champagne); color: var(--ink); font-size: .72rem; font-weight: 600; line-height: 1.4rem; text-align: center; }
.place-cover { display: block; border-radius: var(--r-tile); overflow: hidden; margin-bottom: .75rem; background: var(--ink-3); }
.place-cover img { width: 100%; height: auto; max-height: 70vh; object-fit: cover; object-position: 50% 50%; display: block; }
.lightbox { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; background: rgba(5, 3, 7, .92); padding: 1rem; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox .btn-close { position: absolute; top: 1rem; right: 1rem; }

/* video tiles and lightbox */
.photo-preview video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--ink-3); }
.photo-tile .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; color: var(--champagne); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); pointer-events: none; }
.lightbox video { display: none; max-width: 100%; max-height: 100%; border-radius: 8px; background: #000; cursor: default; }
.lightbox.is-video video { display: block; }
.lightbox.is-video img { display: none; }

/* ---------- Map markers: the listing's cover photo ---------- */
.pin { background: none; border: 0; }
.pin-photo, .pin-icon {
  display: block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--champagne); background: var(--ink-3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .55);
  transition: transform .2s var(--ease);
}
.pin-private .pin-photo, .pin-private .pin-icon { border-color: var(--accent); }
.pin-blurred .pin-photo, .pin-blurred .pin-icon { border-style: dashed; }
.pin-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pin-icon { display: grid; place-items: center; color: var(--champagne); font-size: 1.1rem; }
.pin-private .pin-icon { color: var(--accent); }
.leaflet-marker-icon.pin:hover .pin-photo, .leaflet-marker-icon.pin:hover .pin-icon { transform: scale(1.12); }
.pop-photo { display: block; width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: .5rem; }
.leaflet-popup-content a { text-decoration: none; }
.place-card .place-thumb { width: 1.5rem; height: 1.5rem; border-radius: 50%; object-fit: cover; }
.place-card { grid-template-columns: 2.5rem 1fr auto; }
.place-card .place-thumb { width: 2.5rem; height: 2.5rem; }

/* ---------- Instant uploader ---------- */
.uploader-head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: .5rem; }
.uploader-pick { cursor: pointer; }
.uploader-errors:empty { display: none; }
.uploader-errors { margin-bottom: .75rem; }
.uploader-error { font-size: .85rem; color: #f1c9c9; padding: .15rem 0; }
.photo-tile.is-uploading { display: grid; align-content: end; gap: .35rem; padding: .6rem; }
.upload-bar { height: 4px; border-radius: 4px; background: var(--hair); overflow: hidden; }
.upload-bar span { display: block; height: 100%; width: 0; background: var(--champagne); transition: width .2s linear; }
.upload-name { font-size: .72rem; color: var(--mist); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --- Visits, reviews and check-in (stage 2) ------------------------------------------------- */
.measure { max-width: var(--measure); }
.stars { display: inline-flex; gap: .1rem; color: var(--champagne); font-size: .9rem; vertical-align: -.1em; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; font-size: 1.5rem; color: rgba(var(--champagne-rgb), .22); transition: color .15s; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--champagne); }
.star-input input:focus-visible + label { outline: 2px solid var(--champagne); outline-offset: 2px; border-radius: 4px; }
.visit-place { font-size: 1.1rem; font-weight: 400; color: inherit; }
.review-form { margin-top: .5rem; }
.host-card { background: var(--ink-3); border-radius: 12px; padding: .8rem 1rem; margin-bottom: .9rem; }
.tag-pill { font-size: .78rem; padding: .2rem .65rem; border-radius: var(--r-pill); background: var(--ink-2); color: var(--smoke); }
.tag-unsafe, .tag-aggressive { color: #f1c9c9; }
.tag-recommend { color: #bfe3cb; }
.review-item { padding: 1.1rem 0; }
.review-item + .review-item { box-shadow: 0 -1px 0 rgba(255, 255, 255, .05); }
.review-reply { background: var(--ink-2); border-radius: 12px; padding: .75rem 1rem; margin-top: .25rem; }
.checkin-card { max-width: 36rem; }
.qr-sign { background: #fff; color: #111; border-radius: var(--r-tile); padding: 2rem; max-width: 26rem; display: grid; justify-items: center; gap: .6rem; text-align: center; }
.qr-sign-brand { font-weight: 500; letter-spacing: .02em; font-size: 1.1rem; }
.qr-sign-code { width: 100%; max-width: 18rem; }
.qr-sign-code svg { width: 100%; height: auto; display: block; }
.qr-sign-code svg path, .qr-sign-code svg .dark { fill: #111; }
.qr-sign-title { font-size: 1.4rem; font-weight: 300; }
.qr-sign-text { font-size: .95rem; color: #444; }
.qr-sign-place { font-size: .85rem; color: #666; margin-top: .4rem; }
@media print {
  body { background: #fff !important; }
  .site-nav, .bottom-nav, footer, .no-print, .flash, .alert, .toast-stack { display: none !important; }
  .qr-sign { margin: 0 auto; max-width: 14cm; }
  .desk { display: block; }
}

/* Account and admin pages: the page title and admin section titles use the section heading size
   (owner's request 2026-10-10). The h1 element stays for accessibility. Public pages are unchanged. */
.app-page .page-title, .app-page .band-title { font-size: 1.5rem; font-weight: 300; letter-spacing: -.02em; line-height: 1.2; }

/* --- Platinum (paid plan) ------------------------------------------------------------------- */
.plan-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.plan-features li { display: flex; gap: 1rem; align-items: flex-start; padding: .25rem .5rem; border-radius: 12px; }
.plan-features li > i { font-size: 1.4rem; color: var(--champagne); line-height: 1.2; }
.plan-features strong { display: block; font-weight: 400; font-size: 1.05rem; }
.plan-features span { display: block; color: var(--mist); font-size: .9rem; }
.plan-features li.is-focus { background: rgba(var(--champagne-rgb), .08); padding: .75rem; }
.price-card .price-name { color: var(--champagne-soft); font-weight: 500; letter-spacing: .02em; margin-bottom: .75rem; }
.price-card .price-amount { font-size: 3rem; font-weight: 200; letter-spacing: -.04em; line-height: 1; margin-bottom: .35rem; }
.price-card .price-amount span { font-size: 1rem; font-weight: 300; color: var(--mist); letter-spacing: 0; margin-left: .4rem; }
.bank-details { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.25rem; margin-bottom: 1rem; }
.bank-details dt { font-weight: 300; color: var(--mist); }
.bank-details dd { margin: 0; display: flex; align-items: center; gap: .25rem; min-width: 0; overflow-wrap: anywhere; }
.bank-details .btn-link { padding: 0 .25rem; color: var(--champagne); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.bank-details .ref { color: var(--champagne-soft); font-weight: 500; }
.plat-badge { display: inline-flex; align-items: center; gap: .25rem; font-size: .7rem; font-weight: 500; padding: .1rem .5rem; border-radius: var(--r-pill); background: rgba(var(--champagne-rgb), .14); color: var(--champagne-soft); vertical-align: .1em; }

/* --- Member profile ------------------------------------------------------------------------- */
.profile-card { display: flex; gap: 1.25rem; align-items: center; max-width: 40rem; }
.profile-avatar { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(var(--champagne-rgb), .14); color: var(--champagne-soft); font-size: 1.8rem; font-weight: 200; }

/* --- Member menu in the header (icon + nickname) --------------------------------------------- */
.user-menu { min-width: 14rem; }
.user-menu .dropdown-item { display: flex; align-items: center; gap: .65rem; padding-top: .45rem; padding-bottom: .45rem; }
.user-menu .dropdown-item i { color: var(--champagne); width: 1.1rem; text-align: center; }
.user-menu .menu-gap { height: .4rem; }

/* --- People (dating stage 1) ---------------------------------------------------------------- */
.person-card .listing-card-img { aspect-ratio: 1 / 1; }
.person-initial { font-size: 2.6rem; font-weight: 200; color: var(--champagne-soft); }
.online-dot { position: absolute; top: .7rem; right: .7rem; width: .7rem; height: .7rem; border-radius: 50%; background: #7fd39b; box-shadow: 0 0 0 3px rgba(0, 0, 0, .35); }
.shared-note { margin-left: .4rem; color: var(--champagne-soft); }
.badge-new { font-size: .72rem; font-weight: 500; padding: .12rem .55rem; border-radius: var(--r-pill); background: rgba(var(--champagne-rgb), .16); color: var(--champagne-soft); }
.activity { font-size: .8rem; color: var(--mist); }
.activity-online { color: #9fe0b4; }
.interest-pill { font-size: .8rem; padding: .25rem .7rem; border-radius: var(--r-pill); background: var(--ink-3); color: var(--mist); }
.interest-pill.is-shared { background: rgba(var(--champagne-rgb), .18); color: var(--champagne-soft); box-shadow: 0 0 0 1px rgba(var(--champagne-rgb), .35) inset; }
.profile-avatar-img { object-fit: cover; padding: 0; }
.profile-link .form-control { font-variant-numeric: tabular-nums; }
.people-filters .form-check-label { white-space: nowrap; }
.desk-main .profile-card { max-width: none; }
.info-pop { cursor: help; line-height: 1; }
.popover { --bs-popover-bg: var(--ink-3); --bs-popover-border-color: transparent; --bs-popover-body-color: var(--smoke); --bs-popover-body-padding-x: .85rem; --bs-popover-body-padding-y: .6rem; font-size: .82rem; max-width: 16rem; }

/* Filter bars (People, Places): buttons as tall as the fields next to them (decision 2026-10-10) */
.people-filters .btn { padding-top: .7rem; padding-bottom: .7rem; font-size: .875rem; line-height: 1.5; white-space: nowrap; align-self: flex-end; }
.people-filters .col-auto.d-flex { align-items: flex-end; }
/* phones: the filters stay folded behind the "Filter" button until it is pressed */
.filters-toggle { display: none; }
@media (max-width: 767.98px) {
  .filters-toggle { display: block; }
  .filters-toggle[aria-expanded="true"] { background: var(--ink-3); }
  .filters-fold:not(.is-open) { display: none; }
}

/* Platinum options shown to everybody, greyed out */
/* Platinum choices: paler, like inactive, still clickable (they lead to /platinum) */
/* every browser draws the list on the same dark ground, so the paler Platinum options stand out */
.form-select option { background-color: var(--ink-2); color: var(--smoke); }
.form-select option.opt-locked, option.opt-locked { color: #5c5458; background-color: var(--ink-2); }
.pref-group .opt-locked { opacity: .38; }

/* People on a map */
.people-map { height: min(70vh, 640px); border-radius: var(--r-tile); overflow: hidden; }
.marker-person { stroke: var(--champagne); fill: var(--champagne); }
.marker-person.is-online { stroke: #7fd39b; fill: #7fd39b; }
.person-pop-img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 10px; margin-bottom: .4rem; }

/* --- Facebook-like profiles (members and listings, decision 2026-10-10) ---------------------- */
/* the cover is as wide as the content below (decision 2026-10-10); main is a flex column, hence width 100% */
.fb-hero { position: relative; width: 100%; padding-top: 1.25rem; }
.fb-cover { height: clamp(170px, 26vw, 320px); background: var(--ink-2); overflow: hidden; border-radius: var(--r-tile); }
.fb-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.fb-cover.is-empty { background: #0b090d; } /* no cover photo: an empty dark box (owner, 2026-10-12) */
.fb-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.5rem; margin-top: -64px; padding-left: calc(var(--gutter) + 1.5rem); position: relative; padding-bottom: 1.25rem; }
.fb-avatar { flex: none; width: 152px; height: 152px; border-radius: 50%; overflow: hidden; background: var(--ink-3);
  box-shadow: 0 0 0 5px var(--ink); display: grid; place-items: center; }
.fb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fb-avatar span { font-size: 3.4rem; font-weight: 200; color: var(--champagne-soft); }
.fb-id { flex: 1 1 260px; min-width: 0; padding-bottom: .35rem; }
.fb-name { font-size: clamp(1.1rem, .6vw + .9rem, 1.4rem); font-weight: 300; letter-spacing: -.02em; /* smaller (2026-10-11, again 2026-10-14) */ margin: 0 0 .35rem; overflow-wrap: anywhere; }
.fb-suffix { font-weight: 200; color: var(--mist); }
.fb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; color: var(--mist); font-size: .9rem; }
.fb-meta .bi-circle-fill { font-size: .5rem; vertical-align: .15em; }
.fb-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem; padding-bottom: .35rem; margin-left: auto; }
.fb-actions form { margin: 0; }
.fb-body { width: 100%; padding-top: .5rem; padding-bottom: 4rem; } /* main is a flex column: without width 100% the container shrinks */
.fb-title { font-size: 1.15rem; font-weight: 400; letter-spacing: -.01em; margin-bottom: .9rem; }
.fb-score { font-size: 2.6rem; font-weight: 200; line-height: 1; margin-bottom: .3rem; }
.fb-score span { font-size: 1rem; color: var(--mist); margin-left: .3rem; }
.fb-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fb-facts li { display: flex; gap: .6rem; align-items: center; color: var(--smoke); }
.fb-facts i { color: var(--champagne); width: 1.1rem; text-align: center; }
.text-champagne { color: var(--champagne-soft); }
@media (max-width: 575.98px) {
  .fb-head { margin-top: -52px; padding-left: calc(var(--gutter) + .75rem); }
  .fb-hero { padding-top: .75rem; }
  .fb-avatar { width: 112px; height: 112px; }
  .fb-actions .btn { padding-left: .8rem; padding-right: .8rem; }
}
.photo-badge.is-banner { background: rgba(var(--champagne-rgb), .85); color: #1b1712; }

/* Lightbox gallery: arrows, counter, swipe (decision 2026-10-10) */
body.lightbox-open { overflow: hidden; }
.lightbox img, .lightbox video { max-height: calc(100% - 3rem); cursor: default; user-select: none; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%;
  border: 0; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: rgba(255, 255, 255, .12); cursor: pointer; }
.lightbox-nav:hover, .lightbox-nav:focus-visible { background: rgba(255, 255, 255, .24); }
.lightbox-nav.is-prev { left: 1rem; }
.lightbox-nav.is-next { right: 1rem; }
.lightbox.is-single .lightbox-nav { display: none; }
.lightbox-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .75);
  font-size: .9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) {
  .lightbox-nav { width: 2.6rem; height: 2.6rem; background: rgba(0, 0, 0, .35); }
  .lightbox-nav.is-prev { left: .4rem; }
  .lightbox-nav.is-next { right: .4rem; }
}

/* --- Chat (PLAN 2.16) ---------------------------------------------------------------------------- */
.nav-chat { position: relative; }
.nav-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem;
  border-radius: var(--r-pill); background: var(--champagne); color: var(--ink); font-size: .66rem; font-weight: 500; line-height: 1; }
.site-nav .nav-chat .nav-count { position: absolute; top: .15rem; right: -.1rem; }
.bottom-nav a.nav-chat { position: relative; }
.bottom-nav a.nav-chat .nav-count { position: absolute; top: -.3rem; left: 55%; }

.chat-list { display: flex; flex-direction: column; gap: .35rem; max-width: var(--measure-wide); }
.chat-row { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border-radius: var(--r-tile); background: var(--ink-2);
  color: inherit; text-decoration: none; transition: background .2s; }
.chat-row:hover { background: var(--ink-3); color: inherit; }
.chat-row.is-closed { opacity: .6; }
.chat-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.chat-row-top { display: flex; align-items: baseline; gap: .75rem; }
.chat-row-name { font-weight: 400; color: var(--smoke); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-row.is-unread .chat-row-name { font-weight: 500; color: var(--champagne-soft); }
.chat-row-time { margin-left: auto; font-size: .75rem; color: var(--mist); white-space: nowrap; }
.chat-row-sub { font-size: .78rem; color: var(--mist); }
.chat-row-last { font-size: .86rem; color: var(--mist); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-row.is-unread .chat-row-last { color: var(--smoke); }

.chat-avatar { flex: none; width: 3rem; height: 3rem; border-radius: 50%; overflow: hidden; background: var(--ink-3);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.chat-avatar.is-place { border-radius: 14px; }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-avatar span { font-size: 1.2rem; font-weight: 200; color: var(--champagne-soft); }

.chat-page { max-width: var(--measure-wide); display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: .8rem; padding-bottom: .9rem; }
.chat-back { color: var(--mist); font-size: 1.25rem; text-decoration: none; padding: .25rem .4rem .25rem 0; }
.chat-back:hover { color: var(--champagne); }
.chat-head-id { display: flex; flex-direction: column; min-width: 0; }
.chat-head-name { color: var(--smoke); font-weight: 400; font-size: 1.05rem; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head-name:hover { color: var(--champagne-soft); }

.chat-stream { background: var(--ink-2); border-radius: var(--r-tile); padding: 1rem; overflow-y: auto; overscroll-behavior: contain;
  height: calc(100dvh - 19rem); min-height: 16rem; display: flex; flex-direction: column; gap: .35rem; }
.chat-note { font-size: .76rem; color: var(--mist); text-align: center; max-width: 30rem; margin: 0 auto .75rem; }
.chat-day { align-self: center; font-size: .72rem; color: var(--mist); padding: .15rem .7rem; border-radius: var(--r-pill); background: var(--ink-3); margin: .6rem 0 .3rem; }
.chat-msg { display: flex; align-items: flex-end; gap: .45rem; max-width: 78%; }
.chat-msg.is-mine { align-self: flex-end; flex-direction: row-reverse; }
.chat-bubble { padding: .55rem .85rem; border-radius: 18px 18px 18px 6px; background: var(--ink-3); color: var(--smoke);
  white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 300; line-height: 1.45; }
.chat-msg.is-mine .chat-bubble { background: rgba(var(--champagne-rgb), .16); color: var(--champagne-soft); border-radius: 18px 18px 6px 18px; }
.chat-time { font-size: .68rem; color: var(--mist); flex: none; padding-bottom: .2rem; }

.chat-compose { display: flex; align-items: flex-end; gap: .5rem; margin-top: .75rem; }
.chat-compose textarea { resize: none; min-height: 2.75rem; max-height: 10rem; border-radius: 22px; padding: .65rem 1rem; }
.chat-send { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.chat-error { margin-top: .4rem; }
.chat-closed { margin-top: .75rem; }
@media (max-width: 767.98px) {
  .chat-stream { height: calc(100dvh - 20rem); }
  .chat-msg { max-width: 88%; }
}
.report-context { background: var(--ink-3); border-radius: var(--r-field); padding: .6rem .8rem; display: flex; flex-direction: column; gap: .2rem; }
.report-context .is-reported { color: var(--champagne-soft); font-weight: 400; }

/* chat photos and clips */
.chat-attach { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.chat-bubble.has-file { padding: .3rem; }
.chat-bubble.has-file .chat-text { padding: .35rem .55rem .2rem; }
.chat-file { position: relative; display: block; width: min(9rem, 42vw); aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ink); }
/* several photos in a row (decision 2026-10-13): smaller tiles side by side with small gaps, each with its own bin */
.chat-files { display: flex; flex-wrap: wrap; gap: .25rem; }
.chat-msg.is-mine .chat-files { justify-content: flex-end; }
.chat-file-item { position: relative; }
.chat-files .chat-file { width: min(6.5rem, 26vw); border-radius: 10px; }
.chat-file-item .chat-takeback { position: absolute; top: .2rem; right: .2rem; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: .75rem; display: grid; place-content: center; }
.chat-file img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat-file .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; color: var(--champagne); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.chat-bubble.is-deleted, .chat-gone { color: var(--mist); font-size: .85rem; }
.chat-meta { display: flex; flex-direction: column; align-items: center; gap: .2rem; flex: none; }
.chat-msg .chat-time { padding-bottom: 0; }
.chat-takeback { border: 0; background: none; color: var(--mist); padding: .15rem; font-size: .85rem; line-height: 1; }
.chat-takeback:hover, .chat-takeback:focus-visible { color: #e58c8c; }
.attach-group { font-size: .95rem; font-weight: 400; color: var(--smoke); margin: .5rem 0 .6rem; }
.attach-pick { border: 0; padding: 0; cursor: pointer; }
.attach-pick:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }
/* several photos picked at once: a ring and a check in the corner (decision 2026-10-13) */
.attach-pick .attach-check { position: absolute; top: .4rem; right: .4rem; display: grid; place-content: center; width: 1.5rem; height: 1.5rem;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .35); color: transparent; font-size: .85rem; }
.attach-pick.is-picked { box-shadow: inset 0 0 0 3px var(--champagne); }
.attach-pick.is-picked .attach-check { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }

/* like hint under the profile buttons (decision 2026-10-10) */
.fb-hint { order: 99; flex-basis: 100%; font-size: .8rem; color: var(--mist); }

/* listing promotion (decision 2026-10-10): marked everywhere as paid placement */
.status-promo { background: rgba(var(--champagne-rgb), .16); color: var(--champagne-soft); }
.panel-promo { box-shadow: inset 0 0 0 1px var(--hair-strong); }
.promo-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 500; padding: .15rem .55rem;
  border-radius: var(--r-pill); background: rgba(var(--champagne-rgb), .16); color: var(--champagne-soft); white-space: nowrap; }
.promo-badge.is-on-photo { position: absolute; top: .55rem; left: .55rem; z-index: 1; padding: 0; width: 1.9rem; height: 1.9rem; justify-content: center; border-radius: 50%; font-size: .85rem; background: rgba(10, 7, 12, .78); color: var(--champagne); } /* cards: icon only, on the photo (2026-10-14) */
.listing-card.is-promo { box-shadow: inset 0 0 0 1px var(--hair-strong); }
.promo-contact { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }

/* invitation under the landing hero (decision 2026-10-10) */
.invite-band { width: 100%; padding: 2rem 0 .5rem; }
.invite-card { display: flex; gap: 1.25rem; align-items: flex-start; max-width: var(--measure-wide); padding: 1.75rem; border-radius: var(--r-tile);
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.invite-mark { flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(var(--champagne-rgb), .16); color: var(--champagne-soft); font-size: 1.4rem; font-weight: 200; }
.invite-title { font-size: 1.3rem; font-weight: 300; letter-spacing: -.01em; margin: .1rem 0 .5rem; }
.invite-text { color: var(--mist); margin-bottom: 1.1rem; max-width: 40rem; }
.invite-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 575.98px) {
  .invite-card { flex-direction: column; padding: 1.25rem; }
}

/* invite page */
.invite-link { display: flex; gap: .5rem; }
.invite-link input { font-family: inherit; }
.invite-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.invite-stats div { background: var(--ink-3); border-radius: var(--r-field); padding: .9rem 1rem; }
.invite-stats strong { display: block; font-size: 1.6rem; font-weight: 200; color: var(--champagne-soft); line-height: 1.1; }
.invite-stats span { font-size: .8rem; color: var(--mist); }

/* OpenStreetMap attribution on imported listings (ODbL) */
.osm-credit { font-size: .78rem; color: var(--mist); }
.osm-credit a { color: inherit; }

/* approximate area on a listing page: dark like the pin, so it shows on the light map tiles */
.place-zone { stroke: var(--ink); stroke-opacity: .75; fill: var(--ink); fill-opacity: .14; }
.place-zone.is-private { stroke: var(--accent); fill: var(--accent); fill-opacity: .2; stroke-opacity: .9; }

/* photos with a free licence: credit line; listings without photos: category picture marked as illustration */
.photo-credits { font-size: .75rem; color: var(--mist); margin: .75rem 0 0; }
.photo-credits a { color: inherit; }
.is-illustration { position: relative; overflow: hidden; }
.is-illustration img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .55; }
.place-cover.is-illustration { aspect-ratio: 16 / 7; border-radius: var(--r-tile); margin-bottom: 1.5rem; background: var(--ink-2); }
.fb-cover { position: relative; }
.illustration-note { position: absolute; right: .75rem; bottom: .65rem; font-size: .72rem; padding: .2rem .6rem; border-radius: var(--r-pill);
  background: rgba(0, 0, 0, .55); color: var(--smoke); }
.listing-card-img.is-illustration img { opacity: .45; }
.listing-card-img .illustration-mark { position: absolute; left: .5rem; bottom: .5rem; font-size: .68rem; padding: .1rem .5rem;
  border-radius: var(--r-pill); background: rgba(0, 0, 0, .55); color: var(--smoke); }
.listing-card-img img.is-ill { opacity: .45; }

/* chip bars: arrows and edge fades on a computer (app.js) */
.chips-wrap { position: relative; width: 100%; }
.chips-wrap::before, .chips-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3.5rem; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .2s; }
.chips-wrap::before { left: 0; background: linear-gradient(90deg, var(--ink-2), transparent); }
.chips-wrap::after { right: 0; background: linear-gradient(270deg, var(--ink-2), transparent); }
.chips-wrap.has-prev::before, .chips-wrap.has-next::after { opacity: 1; }
.chips-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 1px solid var(--hair-strong); background: var(--ink-3); color: var(--champagne); display: grid; place-items: center; padding: 0; }
.chips-arrow.is-prev { left: .5rem; }
.chips-arrow.is-next { right: .5rem; }
.chips-arrow[hidden] { display: none; }
.chips-bar.is-dragging { cursor: grabbing; }
.chips-bar.is-dragging .chip { pointer-events: none; }
@media (hover: none) { .chips-arrow { display: none; } }

/* more results (pager) */
.more-wrap { display: flex; justify-content: center; margin: 1.5rem 0 .5rem; }
.js-more { display: inline-flex; align-items: center; gap: .5rem; }
.js-more .more-spin { display: none; width: 1rem; height: 1rem; border-width: .15em; color: var(--champagne); } /* turns while the next page loads (owner, 2026-10-27) */
.js-more.is-loading { pointer-events: none; }
.js-more.is-loading .more-spin { display: inline-block; }

/* admin: one screen per task */
.admin-tabs { display: flex; flex-wrap: wrap; gap: .35rem; }
.admin-tabs a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: var(--r-pill);
  background: var(--ink-2); color: var(--mist); text-decoration: none; font-size: .88rem; }
.admin-tabs a:hover { color: var(--smoke); background: var(--ink-3); }
.admin-tabs a.active { background: rgba(var(--champagne-rgb), .16); color: var(--champagne-soft); }
.admin-subtabs { display: flex; gap: 1rem; font-size: .9rem; }
.admin-subtabs a { color: var(--mist); text-decoration: none; padding-bottom: .2rem; border-bottom: 2px solid transparent; }
.admin-subtabs a.active { color: var(--champagne-soft); border-bottom-color: var(--champagne); }
.admin-stats a { color: inherit; text-decoration: none; }
.admin-stats a:hover span { color: var(--champagne); }
.admin-stats > a { background: var(--ink-2); border-radius: var(--r-tile); padding: 1rem 1.2rem; color: var(--mist); font-size: .85rem; }
.footer-credit { text-align: center; font-size: .72rem; color: var(--mist); opacity: .7; margin: .75rem 0 0; }
.footer-credit a { color: inherit; }

/* category in map popups and the list beside the map */
.pop-cats { color: var(--champagne); font-size: .8rem; }

/* admin bulk review */
.bulk-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .7rem 1rem;
  margin-bottom: 1rem; border-radius: var(--r-tile); background: var(--ink-2); }
.bulk-tick { position: absolute; top: .5rem; left: .5rem; z-index: 3; width: 1.35rem; height: 1.35rem; margin: 0; cursor: pointer; }
.photo-tile.is-ticked { outline: 2px solid var(--champagne); outline-offset: 2px; }
.bulk-credit { position: absolute; left: .4rem; right: .4rem; bottom: 2.6rem; font-size: .66rem; color: var(--smoke); background: rgba(0, 0, 0, .55);
  padding: .1rem .4rem; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.js-bulk-form .photo-badges { left: 2.2rem; }

/* city pages: the intro is three short facts, not paragraphs of text */
.city-intro { font-size: 1rem; line-height: 1.55; color: var(--mist); }
.city-intro p { margin-bottom: .35rem; }
.city-intro p:last-child { margin-bottom: 0; }

/* bookings (decision 2026-10-10) */
.booking-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .75rem 0; }
.panel.booking-row { padding: 1rem 1.25rem; margin-bottom: .6rem; }
.booking-row + .booking-row { border-top: 1px solid var(--hair); }
.panel.booking-row + .panel.booking-row { border-top: 0; }
.booking-when { min-width: 9rem; }
.booking-who { flex: 1 1 12rem; min-width: 0; }
.weekday-picks, .day-picks, .slot-picks { display: flex; flex-wrap: wrap; gap: .35rem; }
.weekday-label { width: 2.4rem; color: var(--mist); font-size: .85rem; }
.day-pick { display: flex; flex-direction: column; align-items: center; min-width: 4.2rem; padding: .45rem .6rem; border-radius: var(--r-field);
  background: var(--ink-3); color: var(--mist); text-decoration: none; font-size: .8rem; }
.day-pick strong { color: var(--smoke); font-weight: 400; font-size: .95rem; }
.day-pick:hover { color: var(--smoke); }
.day-pick.active { background: rgba(var(--champagne-rgb), .18); color: var(--champagne-soft); }
.slot-picks .btn { min-width: 7.5rem; }
.slot-picks .is-full { opacity: .35; text-decoration: line-through; }
.slot-free { display: block; font-size: .7rem; color: var(--mist); }

/* owner statistics: daily bars */
.stat-bars { display: flex; align-items: flex-end; gap: 2px; height: 120px; }
.stat-bar { flex: 1 1 0; min-height: 2px; border-radius: 3px 3px 0 0; background: rgba(var(--champagne-rgb), .55); }
.stat-bar:hover { background: var(--champagne); }
.admin-tabs a.opt-locked { opacity: .45; }

/* small booking calendar (decision 2026-10-10) */
.cal-panel { max-width: 22rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.cal-head strong { font-weight: 400; color: var(--smoke); }
.cal-nav { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: var(--champagne); text-decoration: none; }
.cal-nav:hover { background: var(--ink-3); color: var(--champagne-soft); }
.cal-nav.is-off { color: var(--mist); opacity: .3; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .2rem; text-align: center; }
.cal-wd { font-size: .7rem; color: var(--mist); padding-bottom: .3rem; }
.cal-day { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-size: .85rem; color: var(--mist); text-decoration: none; }
.cal-day.is-off { opacity: .35; }
.cal-day.is-free { color: var(--smoke); }
.cal-day.is-free::after { content: ""; position: absolute; bottom: 18%; width: 4px; height: 4px; border-radius: 50%; background: var(--champagne); }
.cal-day.is-free:hover { background: var(--ink-3); }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--hair-strong); }
.cal-day.is-selected { background: var(--champagne); color: var(--ink); font-weight: 500; }
.cal-day.is-selected::after { background: var(--ink); }
.book-layout { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 768px) { .book-layout { grid-template-columns: 22rem 1fr; } }
.book-layout .cal-panel { max-width: none; }

.fb-actions .fb-hint { text-align: right; }
@media (max-width: 767.98px) { .fb-actions { margin-left: 0; justify-content: flex-start; } .fb-actions .fb-hint { text-align: left; } }
/* the hint under the buttons must not widen the actions, or they drop below the name (2026-10-10) */
@media (min-width: 768px) {
  .fb-actions { position: relative; }
  .fb-actions .fb-hint { position: absolute; right: 0; top: 100%; white-space: nowrap; margin-top: .1rem; }
}
/* the buttons start at the top of the name, not at the bottom of the details (2026-10-10) */
.fb-main { flex: 1 1 260px; min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 1.5rem; }
.fb-main .fb-actions { padding-top: .2rem; }
@media (max-width: 767.98px) { .fb-main { display: contents; } .fb-main .fb-actions { padding-top: 0; } }

/* own fetishes as badges (decision 2026-10-11) */
.tag-input { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; min-height: calc(1.5em + .75rem + 2px); padding: .3rem .45rem; cursor: text; }
.tag-input:focus-within { border-color: rgba(var(--champagne-rgb), .6); box-shadow: 0 0 0 .2rem rgba(var(--champagne-rgb), .15); }
.tag-chip { display: inline-flex; align-items: center; gap: .15rem; font-size: .82rem; line-height: 1.4; padding: .15rem .2rem .15rem .65rem;
  border-radius: var(--r-pill); background: rgba(var(--champagne-rgb), .16); color: var(--champagne-soft); }
.tag-x { border: 0; background: none; color: inherit; opacity: .65; font-size: 1rem; line-height: 1; padding: 0 .3rem; }
.tag-x:hover { opacity: 1; }
.tag-field { flex: 1 1 8rem; min-width: 6rem; border: 0; outline: 0; background: transparent; color: inherit; padding: .1rem 0; }
.fetish-title { font-size: .85rem; font-weight: 400; color: var(--mist); margin: 1rem 0 .5rem; }
a.interest-pill.is-link { text-decoration: none; }
a.interest-pill.is-link:hover { color: var(--champagne-soft); }
.card-tags { display: flex; flex-wrap: wrap; gap: .25rem; }
.card-tags .interest-pill { font-size: .72rem; padding: .15rem .55rem; }

/* heading with a "See all" link on the right (category pages, by city; decision 2026-10-11) */
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.block-head h2 { margin-bottom: 0; }
.block-more { flex: none; font-size: .9rem; color: var(--champagne); text-decoration: none; white-space: nowrap; }
.block-more:hover { color: var(--champagne-soft); }
.block-head + .city-grid { margin-top: 1rem; }

/* admin lists of members and listings (decision 2026-10-11) */
.admin-filters { margin-bottom: 1rem; }
.admin-table { --bs-table-bg: transparent; --bs-table-color: var(--smoke); --bs-table-border-color: var(--ink-3); font-size: .9rem; }
.admin-table th { font-weight: 400; font-size: .78rem; color: var(--mist); white-space: nowrap; }
.admin-table tr.is-off td { opacity: .55; }
.admin-table a { color: var(--smoke); text-decoration: none; }
.admin-table a:hover { color: var(--champagne); }
.admin-thumb { width: 48px; }
.admin-thumb img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; display: block; }
.admin-note { max-width: 14rem; }
.admin-date { width: 9.5rem; }
.admin-pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1rem 0 2rem; color: var(--mist); }
.admin-pager a { color: var(--champagne); font-size: 1.1rem; }
.admin-dl { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: .35rem 1.25rem; margin: 0; }
.admin-dl dt { font-weight: 400; color: var(--mist); font-size: .85rem; }
.admin-dl dd { margin: 0; }
.admin-dl-tight { font-size: .88rem; }
.admin-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; padding: .45rem 0; }
.admin-row + .admin-row { border-top: 1px solid var(--ink-3); }
.admin-ua { max-width: 22rem; }

/* grouped pins on the map (decision 2026-10-11): a dark disc with the number, champagne ring */
/* .leaflet-marker-icon in front: leaflet.css comes later and sets display: block on every marker */
.leaflet-marker-icon.pin-cluster { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink-2);
  box-shadow: 0 0 0 2px rgba(var(--champagne-rgb), .85), 0 0 0 7px rgba(var(--champagne-rgb), .18), 0 4px 14px rgba(0, 0, 0, .45); }
.pin-cluster span { font-size: .85rem; font-weight: 500; color: var(--champagne-soft); line-height: 1; }
.pin-cluster.is-mid span { font-size: .9rem; }
.pin-cluster.is-big span { font-size: .95rem; }
.list-more { padding: .9rem 1rem; font-size: .8rem; color: var(--mist); }

/* a person on the people map: small round photo or icon, green ring when online (decision 2026-10-11) */
.leaflet-marker-icon.pin-person { display: flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; background: var(--ink-3); color: var(--champagne-soft);
  box-shadow: 0 0 0 2px rgba(var(--champagne-rgb), .7), 0 3px 10px rgba(0, 0, 0, .45); }
.pin-person img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pin-person i { font-size: 1.05rem; }
.leaflet-marker-icon.pin-person.is-online { box-shadow: 0 0 0 2px #3ecf8e, 0 3px 10px rgba(0, 0, 0, .45); }

/* messages: small bubbles top right, one under the other (decision 2026-10-11) */
.toast-stack { position: fixed; top: 76px; right: 16px; z-index: 1090; display: flex; flex-direction: column; gap: .5rem;
  width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.toast-bubble { pointer-events: auto; display: flex; align-items: flex-start; gap: .6rem; padding: .7rem .6rem .7rem .85rem;
  background: var(--ink-2); color: var(--smoke); border-radius: 14px; font-size: .85rem; font-weight: 300; line-height: 1.45;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 3px 0 0 var(--toast-accent, var(--champagne));
  animation: toast-in .25s ease-out; transition: opacity .2s ease, transform .2s ease; }
.toast-bubble > .bi { font-size: 1rem; color: var(--toast-accent, var(--champagne)); margin-top: .05rem; }
.toast-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.toast-x { flex: none; border: 0; background: none; color: var(--mist); font-size: 1.15rem; line-height: 1; padding: 0 .1rem; opacity: .7; }
.toast-x:hover { opacity: 1; color: var(--smoke); }
.toast-bubble.is-success { --toast-accent: #8cc7a0; }
.toast-bubble.is-danger  { --toast-accent: #e9a3a3; }
.toast-bubble.is-warning, .toast-bubble.is-info { --toast-accent: var(--champagne); }
.toast-bubble.is-leaving { opacity: 0; transform: translateX(16px); }
@keyframes toast-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .toast-bubble { animation: none; transition: none; } }
@media (max-width: 575.98px) { .toast-stack { top: 64px; right: 12px; width: calc(100vw - 24px); } }

/* moderation tiles: three round icon buttons that always fit (decision 2026-10-11) */
.photo-actions.mod-acts { left: .4rem; right: .4rem; justify-content: center; gap: .4rem; }
.mod-btn { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border: 0; border-radius: 50%;
  background: rgba(10, 7, 12, .78); color: var(--smoke); font-size: .95rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); transition: transform .12s ease; }
.mod-btn:hover { transform: scale(1.08); }
.mod-btn.is-ok { background: #8cc7a0; color: #0e1a12; }
.mod-btn.is-no { background: #e9a3a3; color: #2a1010; }

/* moving the wide cover up and down (decision 2026-10-11) */
.cover-btn { position: absolute; right: .9rem; bottom: .9rem; border: 0; border-radius: var(--r-pill); padding: .4rem .85rem;
  background: rgba(10, 7, 12, .72); color: var(--smoke); font-size: .82rem; z-index: 2; }
.cover-btn:hover { background: rgba(10, 7, 12, .88); }
.cover-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem;
  background: linear-gradient(transparent, rgba(10, 7, 12, .8)); z-index: 2; }
.cover-bar[hidden] { display: none; }
.cover-hint { margin-right: auto; font-size: .82rem; color: var(--smoke); }
.fb-cover.is-editing img { cursor: grab; touch-action: none; user-select: none; -webkit-user-drag: none; }
.fb-cover.is-editing.is-dragging img { cursor: grabbing; }
.fb-cover.is-editing { box-shadow: 0 0 0 2px rgba(var(--champagne-rgb), .6); }

/* section titles in the member and listing profiles (About, Rules, Photos...): small and pale (decision 2026-10-11) */
.fb-body .fb-title { font-size: .82rem; font-weight: 400; letter-spacing: .02em; color: var(--mist); opacity: .55; margin-bottom: .6rem; }
.fb-body .fb-title .text-secondary { color: inherit !important; }

/* fixed gender as text, and "tonight we are more" (decision 2026-10-11) */
.pref-fixed { display: inline-block; padding: .4rem .9rem; border-radius: var(--r-pill); background: var(--ink-3); color: var(--smoke); font-size: .9rem; }
.tonight-badge { display: inline-block; font-size: .72rem; padding: .1rem .55rem; border-radius: var(--r-pill);
  background: rgba(var(--champagne-rgb), .16); color: var(--champagne-soft); vertical-align: .1em; }

/* listing page for visitors who are not signed in (redesign 2026-10-11) */
.fb-avatar i { font-size: 3.2rem; color: var(--champagne-soft); }
.guest-cta { background: linear-gradient(160deg, rgba(var(--champagne-rgb), .10), var(--ink-2) 55%); }
.guest-cta-title { font-size: 1.15rem; font-weight: 300; margin-bottom: 1rem; }
.guest-perks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .65rem; font-size: .9rem; color: var(--smoke); }
.guest-perks li { display: flex; gap: .65rem; align-items: flex-start; }
.guest-perks i { color: var(--champagne); width: 1.1rem; text-align: center; margin-top: .1rem; }
@media (max-width: 767.98px) { .fb-avatar i { font-size: 2.4rem; } }
/* "sexual content" in the middle of the moderation buttons (decision 2026-10-11) */
.mod-btn.is-sex { background: #c9a227; color: #1a1406; font-size: .95rem; }
.mod-18 { display: inline-block; font-size: .68rem; font-weight: 600; padding: 0 .3rem; border-radius: 4px; background: #c9a227; color: #1a1406; }

/* moderation buttons under the photo in the lightbox (decision 2026-10-11) */
.glightbox-container .gslide-description { background: transparent !important; }
.glightbox-container .gdesc-inner { padding: .8rem 0 0 !important; }
.lb-mod { display: flex; justify-content: center; align-items: center; gap: .6rem; }
.lb-mod .mod-btn { width: 2.6rem; height: 2.6rem; font-size: 1.1rem; }
.lb-mod .mod-btn.is-sex { font-size: 1.05rem; }
.lb-mod .mod-btn:disabled { opacity: .45; }
.lb-mod-done { min-width: 2rem; color: #fff; font-size: .95rem; }

/* side panels on the owner pages (Bookings, Statistics, Promotion, QR...): smaller titles (decision 2026-10-11) */
.desk-side .panel h2 { font-size: 1.1rem; font-weight: 300; }
/* the same size for the main sections of the owner pages (Photos and videos, Requests, Visits, Reviews) */
.app-page .desk-main .cat-block h2 { font-size: 1.1rem; font-weight: 300; }

/* the member's own requests and the quick links in Places (decision 2026-10-11) */
.myreq-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .7rem 0; }
.myreq-row + .myreq-row { border-top: 1px solid var(--ink-3); }
.myreq-place { flex: 1 1 220px; min-width: 0; }
.myreq-place a { color: var(--smoke); text-decoration: none; }
.myreq-place a:hover { color: var(--champagne); }
.quick-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.quick-links a { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: var(--r-pill);
  background: var(--ink-2); color: var(--mist); font-size: .85rem; text-decoration: none; }
.quick-links a:hover { color: var(--smoke); background: var(--ink-3); }
.myreq-meta { font-size: .75rem; color: var(--mist); margin-top: .1rem; }
.myreq-msg { font-size: .85rem; color: var(--smoke); font-style: italic; margin-top: .35rem; overflow-wrap: anywhere; }

/* requests page sorted by who acts (decision 2026-10-11) */
.rq-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.rq-tabs a { display: inline-flex; align-items: center; gap: .2rem; padding: .45rem .95rem; border-radius: var(--r-pill);
  background: var(--ink-2); color: var(--mist); text-decoration: none; font-size: .88rem; }
.rq-tabs a span { margin-left: .35rem; padding: 0 .45rem; border-radius: var(--r-pill); background: var(--ink-3); color: var(--smoke); font-size: .78rem; }
.rq-tabs a:hover { color: var(--smoke); }
.rq-tabs a.is-hot { background: rgba(var(--champagne-rgb), .16); color: var(--champagne-soft); }
.rq-tabs a.is-hot span { background: var(--champagne); color: var(--ink); }
.rq-kind { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; padding: .1rem .5rem; border-radius: var(--r-pill);
  margin-right: .4rem; vertical-align: .1em; background: var(--ink-3); color: var(--mist); }
.rq-kind.is-booking { color: #8cc7a0; }
.rq-kind.is-access { color: var(--champagne-soft); }
/* help icon with a popover instead of explanation lines (decision 2026-10-11) */
.help-tip { display: inline-flex; vertical-align: .15em; margin-left: .3rem; font-size: .8rem; color: var(--mist); cursor: help; opacity: .8; }
.help-tip:hover, .help-tip:focus { color: var(--champagne); opacity: 1; outline: none; }
.rq-tabs a.active { background: var(--ink-3); color: var(--smoke); box-shadow: inset 0 -2px 0 var(--champagne); }
.rq-tabs a.is-hot.active { background: rgba(var(--champagne-rgb), .22); }
.rq-pane[hidden] { display: none; }

/* 404 (2026-10-11): the category hero with a small code line above the title, then every category as a link */
.hero-404 { min-height: min(70vh, 620px); }
.err-code { font-size: .85rem; font-weight: 500; letter-spacing: .04em; color: var(--champagne); margin: 0 0 .9rem; }
.err-cats { display: flex; flex-wrap: wrap; gap: .5rem; }
.err-cats a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: var(--ink-3); color: var(--smoke); text-decoration: none; font-size: .92rem; }
.err-cats a i { color: var(--champagne); }
.err-cats a:hover { background: rgba(var(--champagne-rgb), .16); color: var(--champagne-soft); }
/* the brick wall, mirrored: the lit bricks go right, the dark half carries the text on the left */
.hero-404 .hero-img { transform: scaleX(-1); }
.hero-404 .hero-veil {
  background:
    linear-gradient(90deg, rgba(16, 11, 20, .82) 0%, rgba(16, 11, 20, .55) 45%, rgba(16, 11, 20, .15) 100%),
    linear-gradient(180deg, rgba(16, 11, 20, .25) 0%, transparent 40%, transparent 70%, var(--ink) 100%);
}
@media (max-width: 767.98px) {
  .hero-404 .hero-veil { background: linear-gradient(180deg, rgba(16, 11, 20, .55) 0%, rgba(16, 11, 20, .7) 60%, var(--ink) 100%); }
}

/* member without a photo (owner, 2026-10-12): a black box, the initial in a dark circle in the middle */
.listing-card-img.is-blank { background: #0b090d; text-decoration: none; }
.listing-card-img.is-blank .person-initial { display: grid; place-items: center; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #1c1721; font-size: 2.4rem; font-weight: 200; color: var(--champagne-soft); }
.pin-person span { font-size: .95rem; font-weight: 300; }

/* Terms and Privacy (owner, 2026-10-12): a centred head with an icon, the text on one rounded card, each
   numbered section with its number in a soft circle and the text aligned under the heading */
.legal-page { width: 100%; background: var(--ink-2); padding-bottom: 4rem; }
.legal-head { text-align: center; padding: 3.5rem var(--gutter) 3rem; background: var(--ink); }
.legal-icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: rgba(var(--champagne-rgb), .12); color: var(--champagne); font-size: 1.45rem; margin-bottom: 1.1rem; }
.legal-title { font-weight: 300; font-size: clamp(1.9rem, 2.4vw + 1rem, 2.6rem); letter-spacing: -.02em; margin: 0 0 .5rem; }
.legal-date { color: var(--mist); font-size: .9rem; margin: 0; }
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 2.5rem var(--gutter) 0; }
.legal-card { background: var(--ink); border-radius: 22px; padding: 2.5rem 3rem; }
.legal-intro { padding-bottom: 1.75rem; margin-bottom: 2rem; border-bottom: 1px solid var(--hair); }
.legal-intro p:last-child { margin-bottom: 0; }
.legal-sec { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0 1rem; margin-bottom: 2.25rem; scroll-margin-top: 5rem; }
.legal-sec:last-child { margin-bottom: 0; }
.legal-num { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(var(--champagne-rgb), .12); color: var(--champagne); font-size: .9rem; font-weight: 500; margin-top: .05rem; }
.legal-body h2 { font-size: 1.2rem; font-weight: 500; margin: .35rem 0 .9rem; }
.legal-body p, .legal-body li { color: #d4cbc7; line-height: 1.75; }
.legal-body ul { padding-left: 1.1rem; }
.legal-body li { margin-bottom: .35rem; }
.legal-body p:last-child, .legal-body ul:last-child { margin-bottom: 0; }
@media (max-width: 575.98px) {
  .legal-card { padding: 1.75rem 1.25rem; border-radius: 18px; }
  .legal-sec { grid-template-columns: 1fr; }
  .legal-num { margin-bottom: .6rem; }
}

/* --- People cards on phones: two a row (decision 2026-10-12) ---------------------------------- */
.person-card .listing-card-body > * { max-width: 100%; min-width: 0; }
.person-card-name { display: flex; align-items: baseline; max-width: 100%; min-width: 0; white-space: nowrap; }
.person-card-nick { overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.card-ico { margin-right: .25rem; }
/* distance in the cards: small and bold with its pin; stars on the right of the same row (decision 2026-10-13) */
.card-meta-row { display: flex; align-items: center; gap: .5rem; min-width: 0; justify-self: stretch; }
.card-stars-end { justify-self: end; }
/* categories in a card: three small badges, then a "…" badge with the rest in a tooltip (decision 2026-10-13) */
.card-cats { display: flex; flex-wrap: wrap; gap: .25rem; min-width: 0; }
.cat-chip { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: .05rem .45rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--mist);
  font-size: .7rem; line-height: 1.5; }
.cats-more { color: var(--champagne); font-weight: 600; cursor: default; }
.card-dist { font-size: .75rem; font-weight: 600; white-space: nowrap; }
.card-short { display: none; }
.person-card .card-tags { display: flex; flex-wrap: wrap; gap: .25rem; }
@media (max-width: 575.98px) {
  .listing-cards:has(> .person-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  /* places on phones: two a row too, in Places, Saved and the city pages (owner, 2026-10-14) */
  .listing-cards.cards-5, .listing-cards.cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .listing-card:not(.person-card) .listing-card-body { padding: .7rem .75rem .8rem; gap: .25rem; }
  .listing-card:not(.person-card) .place-row-title { font-size: .9rem; }
  .person-card .listing-card-body { padding: .7rem .75rem .8rem; gap: .25rem; }
  .person-card .place-row-title { font-size: .9rem; }
  .person-card .card-label { display: none; }
  .person-card .card-short { display: inline; }
  .person-card .card-tags .interest-pill { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .72rem; padding: .15rem .5rem; }
  .person-card .card-tags .interest-pill:nth-child(n+3) { display: none; }
  .person-card .tonight-badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .person-card .person-initial { font-size: 2rem; }
}

/* Listing photos in their own fields, framed in place (decision 2026-10-14; crop.js) */
.photo-slot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.photo-slot-banner { display: block; }
.photo-slot-banner .photo-slot-side { margin-top: .9rem; }
.photo-slot-side { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.crop-frame { position: relative; overflow: hidden; background: var(--ink-3); touch-action: none; user-select: none; cursor: grab; }
.crop-frame.is-dragging { cursor: grabbing; }
.crop-frame.is-round { width: 200px; height: 200px; border-radius: 50%; flex: none; }
.crop-frame.is-wide { width: 100%; aspect-ratio: 4 / 1; border-radius: var(--r-tile); }
.crop-frame.is-square { width: 100%; aspect-ratio: 1; border-radius: var(--r-tile); }
.crop-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; -webkit-user-drag: none; }
.crop-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mist); font-size: 2rem; cursor: default; }
.photo-slot:not(.has-photo) .crop-frame { cursor: default; }
.photo-slot.is-busy { opacity: .6; pointer-events: none; }
.crop-zoom { display: flex; align-items: center; gap: .5rem; min-width: 180px; color: var(--mist); margin: 0; }
.crop-zoom[hidden] { display: none; }
.crop-zoom .form-range { flex: 1; }
.fb-avatar-box { position: relative; flex: none; }
.avatar-btn { position: absolute; right: 6px; bottom: 6px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(10, 7, 12, .8); color: var(--smoke); display: grid; place-items: center; z-index: 2; }
.avatar-btn:hover { background: rgba(10, 7, 12, .95); color: var(--champagne); }
@media (max-width: 575.98px) { .crop-frame.is-round { width: 160px; height: 160px; } }

/* ---------- Landing: people around, for guests (2026-10-27) ----------
   The photo arrives as 16 px from the server (/photos/{id}/blur); scaled up it is a soft blur, no CSS filter. */
.people-tease { background: var(--ink-2); }
.people-tease .band-head { text-align: center; margin-left: auto; margin-right: auto; } /* centred, with the button (owner, 2026-10-27) */
.tease-grid { display: flex; justify-content: center; gap: .5rem; } /* one row: 12 on a computer, 5 on a phone (owner, 2026-10-27); fewer stay centred */
.tease-card { flex: 0 0 calc((100% - 11 * .5rem) / 12); }
.tease-card { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #0b090d; text-decoration: none; }
.tease-img { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; }
.tease-blank { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.4rem; color: #3a3240; }
.tease-meta { position: absolute; left: 0; right: 0; bottom: 0; top: 50%; display: flex; flex-direction: column; justify-content: flex-end; padding: .45rem .45rem .35rem; font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--smoke);
  background: linear-gradient(180deg, rgba(11, 9, 13, 0), rgba(11, 9, 13, .55) 35%, rgba(11, 9, 13, .9)); } /* dark from the middle down, so the label reads */
@media (max-width: 991.98px) { .tease-grid { gap: .4rem; } .tease-card { flex-basis: calc((100% - 4 * .4rem) / 5); } .tease-card:nth-child(n+6) { display: none; } .tease-meta { font-size: .62rem; padding: .35rem .35rem .3rem; } }
/* Still by default; it answers only to the pointer (owner, 2026-10-27: constant motion looked like drowned bodies).
   On hover only the photo leans closer, with a champagne edge (no eye, no lift: owner 2026-10-27). */
.tease-card { transition: box-shadow .35s var(--ease); }
.tease-img { transition: transform 1.2s var(--ease); }
.tease-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 -40px 40px -20px rgba(11, 9, 13, .6); }
.tease-meta { z-index: 1; } /* above the card's inner edge (::after) */
.tease-meta { transition: color .3s var(--ease); }
@media (hover: hover) {
  .tease-card:hover { box-shadow: 0 0 0 1px var(--champagne); } /* no lift (owner, 2026-10-27) */
  .tease-card:hover .tease-img { transform: scale(1.18); }
  .tease-card:hover .tease-meta { color: var(--champagne-soft); }
}
@media (prefers-reduced-motion: reduce) { .tease-card, .tease-img { transition: none; } }

/* Places map for guests: people as their own layer (2026-10-27). Clusters carry a people icon and the theme
   colour, so they never read as places; a face is the 20 px blur, scaled up. */
.leaflet-marker-icon.pin-cluster-people { flex-direction: column; gap: 1px; box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px color-mix(in srgb, var(--accent) 22%, transparent), 0 4px 14px rgba(0, 0, 0, .45); }
.pin-cluster-people i { font-size: .72rem; color: var(--accent); line-height: 1; }
.pin-cluster-people span { font-size: .78rem; }
.leaflet-marker-icon.pin-person-guest { box-shadow: 0 0 0 2px var(--accent), 0 3px 10px rgba(0, 0, 0, .45); }
.pin-person-guest img { transform: scale(1.15); }
.person-pop-blur { width: 120px; height: 120px; }
.landing-links-sub { font-size: 1.05rem; font-weight: 300; color: var(--mist); margin: 2rem 0 .9rem; } /* "By country" under the cities on the landing page */
/* community rules (2026-10-27): the legal-page layout; safety sub-headings smaller and in champagne */
.legal-body h3 { font-size: 1rem; font-weight: 500; color: var(--champagne-soft); margin: 1.4rem 0 .5rem; }
.legal-body h3:first-of-type { margin-top: .4rem; }

/* Header over a hero (owner, 2026-10-27): see-through on the photo, solid once the page scrolls (app.js .is-solid).
   No backdrop-filter (it made scrolling stutter, decision 2026-10-10); a soft dark fade keeps the menu readable. */
body:has(main > section.hero:first-of-type) .site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  background: linear-gradient(180deg, rgba(10, 7, 13, .6), rgba(10, 7, 13, 0)); transition: box-shadow .25s ease; }
body:has(main > section.hero:first-of-type) .site-nav.is-solid { background: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
body:has(main > section.hero:first-of-type) main > section.hero:first-of-type { padding-top: var(--nav-h, 64px); }

/* "Available now" (2026-10-27): a calm green, apart from the champagne of buttons and the theme colour */
.available-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 3px rgba(62, 207, 142, .22); flex: none; }
.available-btn { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--hair-strong); color: var(--mist); border-radius: var(--r-pill); }
.available-btn .available-dot { background: transparent; box-shadow: inset 0 0 0 2px var(--mist); }
.available-btn:hover { color: var(--smoke); border-color: #3ecf8e; }
.available-btn.is-on { color: #c9f5e1; border-color: #3ecf8e; background: rgba(62, 207, 142, .12); }
.available-btn.is-on .available-dot { background: #3ecf8e; box-shadow: 0 0 0 3px rgba(62, 207, 142, .22); }
.available-badge { position: absolute; top: .55rem; left: .55rem; display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .55rem .12rem .45rem;
  border-radius: var(--r-pill); background: #3ecf8e; color: #08130e; font-size: .7rem; font-weight: 600; letter-spacing: .02em; line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35); } /* a solid badge (owner, 2026-10-27) */
.available-badge .available-dot { width: .45rem; height: .45rem; background: #08130e; box-shadow: 0 0 0 2px rgba(8, 19, 14, .35); } /* dark, pulsing on the green */
.available-badge.is-inline { position: static; margin-left: .4rem; vertical-align: middle; }
.leaflet-marker-icon.pin-person.is-available { box-shadow: 0 0 0 3px #3ecf8e, 0 3px 10px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: no-preference) {
  .available-btn.is-on .available-dot { animation: available-pulse 2.4s ease-in-out infinite; }
  .available-badge .available-dot { animation: available-pulse-dark 2.4s ease-in-out infinite; }
  @keyframes available-pulse-dark { 50% { box-shadow: 0 0 0 5px rgba(8, 19, 14, 0); } }
  @keyframes available-pulse { 50% { box-shadow: 0 0 0 6px rgba(62, 207, 142, 0); } }
}

/* ---------- Ad funnel (/start, 2026-11-21) ----------------------------------- */
/* One screen per step. No menus: the only way on is the next answer. The photo stays on the first
   step only; after it the page goes dark so the questions read at a glance. */
.page-start main { min-height: 100svh; }
.funnel { position: relative; isolation: isolate; flex: 1; display: flex; flex-direction: column; min-height: 100svh; }
.funnel-bg { position: absolute; inset: 0; z-index: -2; transition: opacity .5s var(--ease); }
.funnel-bg .hero-img { z-index: 0; }
.funnel-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 8, 12, .55) 0%, rgba(10, 8, 12, .35) 35%, var(--ink) 92%); transition: background .5s var(--ease); }
.funnel.is-started .funnel-bg { opacity: 0; }
.funnel.is-started .funnel-veil { background: var(--ink); }
.funnel-top { display: flex; align-items: center; gap: .75rem; padding: max(.9rem, env(safe-area-inset-top)) var(--gutter) .5rem; }
.funnel-logo { height: 32px; width: auto; }
.funnel-back { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; border: 1px solid var(--hair-strong); background: rgba(0, 0, 0, .25); color: var(--smoke); font-size: 1.1rem; }
.funnel-progress { flex: 1; height: 3px; border-radius: 3px; background: var(--hair); overflow: hidden; margin-left: .5rem; }
.funnel-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.funnel:not(.is-started) .funnel-progress { visibility: hidden; }
.funnel-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 32rem; margin: 0 auto; padding: 1rem var(--gutter) 2rem; }
.fn-step { display: none; }
.fn-step.is-on { display: block; animation: fn-in .35s var(--ease) both; }
.fn-step.is-on.is-back { animation-name: fn-in-back; }
@keyframes fn-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes fn-in-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.fn-step[data-step="0"] { margin-top: auto; } /* the hook sits low, over the photo */
.fn-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--champagne); margin: 0 0 .9rem; }
.fn-title { font-weight: 200; font-size: clamp(1.8rem, 3vw + 1rem, 2.4rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .5rem; text-wrap: balance; }
.fn-title-xl { font-size: clamp(2.4rem, 5vw + 1rem, 3.6rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.fn-lead { color: var(--smoke); font-size: 1.05rem; opacity: .9; margin: 0 0 1.5rem; }
.fn-hint { color: var(--mist); font-size: .95rem; margin: 0 0 1.25rem; }
.fn-cta { width: 100%; margin-top: 1.25rem; padding-top: .9rem; padding-bottom: .9rem; }
.fn-legal { color: var(--mist); font-size: .8rem; margin: 1rem 0 0; text-align: center; }
.fn-legal a { color: var(--smoke); }
.fn-skip { display: block; margin: .75rem auto 0; background: none; border: 0; color: var(--mist); font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.fn-options { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.25rem; }
.fn-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; min-height: 7.5rem; padding: 1rem .75rem;
  border-radius: var(--r-tile); border: 1px solid var(--hair-strong); background: var(--ink-2); color: var(--smoke); font-size: 1.05rem;
  transition: border-color .2s, background .2s, transform .15s; }
.fn-opt i { font-size: 1.9rem; color: var(--accent); }
.fn-opt:active { transform: scale(.97); }
.fn-opt.is-picked, .fn-opt:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .12); }
.fn-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.fn-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--hair-strong);
  background: var(--ink-2); color: var(--smoke); font-size: .98rem; transition: border-color .2s, background .2s; }
.fn-chip i { color: var(--accent); }
.fn-chip[aria-pressed="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb), .18); }
.fn-count { color: var(--mist); font-size: .8rem; }
.fn-count:empty { display: none; }
.fn-scan { text-align: center; padding: 2rem 0; }
.fn-radar { position: relative; width: 140px; height: 140px; margin: 0 auto 1.5rem; }
.fn-radar span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: fn-ping 1.8s var(--ease) infinite; }
.fn-radar span:nth-child(2) { animation-delay: .6s; }
.fn-radar span:nth-child(3) { animation-delay: 1.2s; }
.fn-radar::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--accent); }
@keyframes fn-ping { from { transform: scale(.15); opacity: .9; } to { transform: scale(1); opacity: 0; } }
.fn-result .fn-title { font-size: clamp(2.2rem, 4vw + 1rem, 3rem); }
.fn-faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 1.25rem 0 .5rem; }
.fn-faces:empty { display: none; }
.fn-face { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #0b090d; animation: fn-pop .4s var(--ease) both; }
.fn-face img { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; }
.fn-face > span { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem .5rem .4rem; font-size: .72rem; line-height: 1.25; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
@keyframes fn-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.fn-note { color: var(--mist); font-size: .82rem; margin: 0 0 1rem; }
.fn-places { list-style: none; padding: 0; margin: 1rem 0 0; }
.fn-places li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--hair); }
.fn-places li i { color: var(--accent); margin-right: .35rem; }
.fn-places li b { font-weight: 500; color: var(--champagne); }
.fn-places .fn-places-head { color: var(--mist); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.fn-trust { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.fn-trust li { padding: .3rem 0; color: var(--smoke); }
.fn-trust i { color: var(--accent); margin-right: .5rem; }
.funnel-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 1rem var(--gutter) max(1rem, env(safe-area-inset-bottom)); font-size: .8rem; color: var(--mist); }
.funnel-foot a { color: var(--mist); text-decoration: none; }
.funnel-foot a.active { color: var(--smoke); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .fn-step.is-on, .fn-face, .fn-radar span { animation: none; }
  .fn-radar span { opacity: .4; }
}
/* the hook: who is around, before any answer */
.fn-live { display: flex; align-items: center; gap: .75rem; margin: 0 0 .25rem; }
.fn-live-faces { display: flex; flex: 0 0 auto; }
.fn-live-faces span { position: relative; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px solid var(--ink); background: #0b090d; margin-left: -10px; }
.fn-live-faces span:first-child { margin-left: 0; }
.fn-live-faces img { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; }
.fn-live-text { font-size: .92rem; color: var(--smoke); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.fn-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; margin-right: .45rem; vertical-align: 1px; }
.fn-form .text-success { color: #3ecf8e !important; }
/* funnel, second version (2026-11-21): the people first, then the form; no photo behind */
.funnel { background: var(--ink); }
.funnel-stage { justify-content: flex-start; padding-top: .5rem; }
.fn-step[data-step="0"] { margin-top: 0; }
.funnel-tag { margin-left: auto; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); }
.fn-step[data-step="0"] .fn-title { font-size: clamp(1.6rem, 3vw + 1rem, 2.2rem); font-weight: 300; }
.fn-step[data-step="0"] .fn-hint { margin-bottom: .9rem; }
.fn-filter { display: flex; gap: .4rem; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) .25rem; padding: 0 var(--gutter) .35rem; scrollbar-width: none; }
.fn-filter::-webkit-scrollbar { display: none; }
.fn-filter .fn-chip { flex: 0 0 auto; padding: .45rem .9rem; font-size: .9rem; }
button.fn-face { border: 0; padding: 0; display: block; width: 100%; cursor: pointer; text-align: left; }
.fn-faces { margin-top: .6rem; transition: opacity .2s; }
.fn-faces.is-loading { opacity: .4; }
.fn-lock { position: absolute; top: .45rem; right: .5rem; color: #fff; opacity: .85; font-size: .8rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.fn-sticky { position: sticky; bottom: 0; margin: 1rem calc(-1 * var(--gutter)) 0; padding: .75rem var(--gutter) max(.75rem, env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--ink) 35%); }
.fn-sticky .fn-cta { margin-top: 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.fn-step[data-step="1"] .fn-trust { margin: 1.5rem 0 0; font-size: .92rem; }
.funnel-tag { white-space: nowrap; } #fnBack:not([hidden]) ~ .funnel-tag { display: none; }

/* ---------- Live side of listings (2026-11-21): here now, last confirmed, events ---------- */
.live-panel .live-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: 1.05rem; }
.live-dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--mist); opacity: .5; flex: none; }
.live-dot.is-on { background: #3ecf8e; opacity: 1; box-shadow: 0 0 0 4px rgba(62, 207, 142, .2); }
.live-host { font-size: .78rem; padding: .15rem .55rem; border-radius: var(--r-pill); background: rgba(62, 207, 142, .14); color: #3ecf8e; }
.live-facts { list-style: none; padding: 0; margin: .75rem 0 0; color: var(--mist); font-size: .9rem; }
.live-facts li { padding: .15rem 0; }
.live-facts i { margin-right: .45rem; color: var(--accent); }
.live-mine { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .7rem .9rem; border-radius: var(--r-field); background: rgba(62, 207, 142, .1); }
.live-status { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--hair); }
.live-ask { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.here-badge { position: absolute; left: .45rem; bottom: .45rem; display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .5rem; border-radius: var(--r-pill); background: rgba(8, 19, 14, .82); color: #3ecf8e; font-size: .72rem; }
.event-item { padding: .85rem 0; border-bottom: 1px solid var(--hair); }
.event-item:first-of-type { padding-top: 0; }
.event-when { color: var(--champagne); font-size: .85rem; }
.event-now { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: var(--r-pill); background: rgba(62, 207, 142, .16); color: #3ecf8e; font-size: .72rem; }
.event-title { font-size: 1.05rem; margin: .15rem 0; }
.event-body { color: var(--mist); font-size: .92rem; margin: .25rem 0 .4rem; }
.event-foot { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .35rem; }
.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: .9rem; }
.event-card { display: flex; gap: .9rem; padding: .9rem; border-radius: var(--r-tile); background: var(--ink-2); }
.band-2 .event-card { background: var(--ink-3); }
.event-card-img { flex: 0 0 4.5rem; height: 4.5rem; border-radius: 12px; overflow: hidden; background: var(--ink-3); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.5rem; }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; }
.event-card-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.event-place { color: var(--mist); font-size: .88rem; text-decoration: none; }
.event-card .event-foot { margin-top: auto; padding-top: .4rem; }
.fn-event { cursor: pointer; }
.fn-event small { display: block; color: var(--mist); font-size: .78rem; margin-top: .1rem; }
