/* USABANGPALACE — Telegram branch design system */
:root {
  --bg: #0b0f14;
  --bg-elevated: #141a22;
  --bg-card: #1a222d;
  --bg-hover: #222c3a;
  --border: #2a3544;
  --border-light: #364556;
  --text: #f0f4f8;
  --text-muted: #8b9cb3;
  --text-dim: #6b7d93;
  --accent: #229ed9;
  --accent-hover: #1a8bc4;
  --accent-soft: rgba(34, 158, 217, 0.15);
  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.12);
  --warning: #f59e0b;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --max: 1280px;
  --sidebar: 260px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 158, 217, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(99, 102, 241, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: #5bc4f0; }

/* Age gate */
.age-gate {
  background: linear-gradient(90deg, #2d1518, #1a1218);
  color: #fca5a5;
  text-align: center;
  font-size: 0.78rem;
  padding: 8px 16px;
  border-bottom: 1px solid #4a2528;
}
.age-gate a { color: #fecaca; }

/* Header */
.site-header {
  background: rgba(20, 26, 34, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { color: var(--accent); text-decoration: none; }

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.site-header nav a {
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.site-header nav a:hover {
  background: var(--bg-hover);
  color: var(--text);
  text-decoration: none;
}
.site-header nav a.nav-active {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Page shell */
.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
  gap: 28px;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

/* Filters sidebar */
.filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 72px;
  box-shadow: var(--shadow-sm);
}

.filters-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0 0 16px;
  font-weight: 700;
}

.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }

.filter-group label,
.filter-group strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.filter-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-pills a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  border: 1px solid transparent;
  text-decoration: none;
}
.filter-pills a:hover {
  background: var(--bg-hover);
  border-color: var(--border);
  text-decoration: none;
}
.filter-pills a.is-active {
  background: var(--accent-soft);
  border-color: rgba(34, 158, 217, 0.35);
  color: var(--accent);
  font-weight: 600;
}

.hint {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0;
}

/* Page hero */
.page-hero {
  margin-bottom: 24px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.page-hero .intro {
  color: var(--text-muted);
  margin: 0 0 12px;
  font-size: 1rem;
  max-width: 56ch;
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.results-bar strong { color: var(--text); }

/* Profile cards grid */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 18px;
  margin: 0;
  width: 100%;
}

/* Feed cards (CrushFling-style) */
.profile-card--feed {
  background: transparent;
  border: none;
  border-radius: var(--radius);
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.2s;
}
.profile-card--feed:hover {
  transform: translateY(-4px);
}

.profile-card-photo {
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.profile-card-photo:hover { text-decoration: none; }

.profile-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #252f3d;
}

.profile-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 35%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.profile-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.profile-card--feed:hover .profile-card-media img {
  transform: scale(1.05);
}

.profile-card-online {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: lowercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  flex-shrink: 0;
}

.profile-card-hook {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 88%;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  line-height: 1.3;
  text-transform: lowercase;
}

.profile-card-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-card-id {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.profile-card-loc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.profile-card-cta {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 11px 16px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(180deg, #3b9ee8 0%, #229ed9 100%);
  border: none;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.45);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.profile-card-cta:hover {
  background: linear-gradient(180deg, #4aacf0 0%, #1a8bc4 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.55);
  text-decoration: none !important;
  color: #fff !important;
}

.profile-card--compact .profile-card-hook { display: none; }
.profile-card--compact .profile-card-id { font-size: 0.8rem; }
.profile-card--compact .profile-card-loc { font-size: 0.7rem; }
.profile-card--compact .profile-card-cta {
  padding: 8px 10px;
  font-size: 0.8rem;
  margin-top: 6px;
}

/* Affiliate */
.affiliate-row { margin: 8px 0 20px; width: 100%; }

.affiliate-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  width: 100%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), var(--bg-card));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.affiliate-card:hover {
  border-color: var(--success);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.affiliate-live {
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.affiliate-cta {
  margin-left: auto;
  color: var(--success);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}
.pagination a {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
}
.pagination a:hover {
  background: var(--bg-hover);
  color: var(--text);
  text-decoration: none;
}
.pagination a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Content sections */
.section-panel {
  margin-top: 36px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.section-panel h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.section-panel > p { color: var(--text-muted); margin: 0 0 12px; max-width: 72ch; }
.section-panel > p:last-child { margin-bottom: 0; }

.about-block, .featured-girls, .interests, .faq-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.featured-girls .profile-grid {
  margin-top: 8px;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(34, 158, 217, 0.3);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.chip:hover {
  background: rgba(34, 158, 217, 0.25);
  text-decoration: none;
  transform: translateY(-1px);
}
.chip-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.chip-primary:hover { background: var(--accent-hover); color: #fff; }
.chip-muted {
  background: var(--bg);
  color: var(--text-muted);
  border-color: var(--border);
}

/* FAQ */
.faq-block details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-block summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}
.faq-block details[open] summary { border-bottom: 1px solid var(--border); }
.faq-block details p {
  padding: 12px 16px 16px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(34, 158, 217, 0.45);
  z-index: 90;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.sticky-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.03);
  text-decoration: none;
  color: #fff;
}

/* Footer */
.site-footer {
  margin-top: 48px;
  padding: 32px 24px;
  text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 14px;
}
.site-footer a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.site-footer a:hover { color: var(--accent); }
.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.empty-grid {
  color: #f87171;
  padding: 24px;
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius);
}

/* ========== PROFILE PAGE ========== */
.profile-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

.profile-main { min-width: 0; }

.profile-main h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.profile-subtitle {
  color: var(--text-muted);
  margin: 0 0 20px;
  font-size: 0.95rem;
}

.profile-hero-card {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.profile-avatar-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: #252f3d;
  aspect-ratio: 3/4;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-hero-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.telegram-handle {
  font-size: 1rem;
  margin: 0 0 16px;
  color: var(--text-muted);
}
.telegram-handle code {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 600;
  word-break: break-all;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.trust-note {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}

.profile-section {
  margin-bottom: 24px;
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.profile-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.profile-section p {
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.65;
}
.profile-section p:last-child { margin-bottom: 0; }

.interest-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  background: var(--accent-soft);
  color: #7dd3fc;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(34, 158, 217, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #252f3d;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}
.gallery-item:hover img { transform: scale(1.03); }

.comment {
  background: var(--bg);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.comment strong { color: var(--text); }
.comment p { margin: 8px 0 0; color: var(--text-muted); font-size: 0.9rem; }
.comment-ago { color: var(--text-dim); font-size: 0.78rem; margin-left: 8px; font-weight: 400; }

.profile-footer-link {
  margin-top: 8px;
  font-size: 0.95rem;
}

/* Profile sidebar */
.profile-sidebar {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  overflow: hidden;
}

.sidebar-panel h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
}

.profile-sidebar .profile-grid,
.profile-sidebar .sidebar-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.profile-sidebar .profile-card--compact .profile-card-media { aspect-ratio: 1; }
.profile-sidebar .profile-card-online { font-size: 0.6rem; padding: 4px 7px; }

.sidebar-banner .affiliate-row { margin: 0; }

.profile-hero {
  /* legacy wrapper — use profile-hero-card in new markup */
}

/* Quick filters — mobile only */
.filter-bar-mobile {
  display: none;
}

/* Collapsible sidebar filters */
.filters-details > summary {
  list-style: none;
  cursor: default;
}

.filters-details > summary::-webkit-details-marker {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .sidebar-banner { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .page-shell, .profile-layout { padding: 12px 12px 20px; }

  /* Profiles first, filters after content */
  .layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .layout-main {
    order: 1;
    width: 100%;
    min-width: 0;
  }
  .filters {
    order: 2;
    position: static;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .filters-details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .filters-details > summary.filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    user-select: none;
  }

  .filters-details > summary.filters-toggle::after {
    content: "›";
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.2s;
  }

  .filters-details[open] > summary.filters-toggle::after {
    transform: rotate(90deg);
  }

  .filters-body {
    padding: 0 14px 14px;
    border-top: 1px solid var(--border);
  }

  .filters-body .filters-title {
    display: none;
  }

  .filter-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .filter-pills a {
    padding: 9px 10px;
    font-size: 0.85rem;
    text-align: center;
  }

  .filter-bar-mobile {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 2px 10px;
    margin: 0 -2px;
  }

  .filter-bar-mobile::-webkit-scrollbar {
    display: none;
  }

  .filter-bar-mobile__link {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-decoration: none;
    white-space: nowrap;
  }

  .filter-bar-mobile__link:hover {
    color: var(--text);
    background: var(--bg-hover);
    text-decoration: none;
  }

  .filter-bar-mobile__link.is-active {
    color: var(--accent);
    background: var(--accent-soft);
    border-color: rgba(34, 158, 217, 0.4);
  }

  .page-hero {
    margin-bottom: 10px;
  }

  .page-hero h1 {
    font-size: 1.35rem;
    margin-bottom: 6px;
  }

  .page-hero .intro {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .results-bar {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .listings-section {
    margin-top: 0;
  }

  .profile-hero-card {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .profile-sidebar {
    grid-template-columns: 1fr;
  }
  .header-inner {
    padding: 10px 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .brand { font-size: 1rem; }
  .site-header nav {
    width: 100%;
    justify-content: center;
  }
  .site-header nav a { padding: 6px 10px; font-size: 0.82rem; }
  .sticky-cta { bottom: 12px; right: 12px; padding: 12px 18px; }
  .section-panel { padding: 16px; margin-top: 24px; }
}

@media (min-width: 769px) {
  .filters-details > summary.filters-toggle {
    display: none;
  }

  .filters-details .filters-body {
    display: block;
    padding: 0;
    border: 0;
  }

  .filters-details:not([open]) .filters-body {
    display: block;
  }
}

@media (max-width: 400px) {
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
