/* ============================================================
   BARS for KINGS — extensions beyond the design package.
   Same tokens, same type scale. Covers patterns the real site
   needs that the package's example pages did not include:
   ranked-list descriptions, visible FAQ blocks, long-form
   article prose, sources/citations, closed-bar banner.
   ============================================================ */

/* ---- Ranked list: editorial description under each row ---- */
.rank-row.has-desc { grid-template-rows: auto auto; }

.rank-desc {
  grid-column: 2 / -1;
  font-size: 15px;
  line-height: 1.65;
  color: #3c3830;
  max-width: 62ch;
  margin-top: 6px;
  text-wrap: pretty;
}

.rank-row .rank-info a { transition: color 0.25s; }
.rank-row .rank-info a:hover { color: var(--accent-deep); }

/* ---- Visible FAQ block (matches FAQPage schema content) ---- */
.faq-block { padding: 96px 0; background: var(--cream); }

.faq-list { max-width: 760px; border-top: 1px solid var(--line); margin-top: 8px; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
  transition: color 0.25s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 28px; flex: none; transition: transform 0.3s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-deep); }

.faq-item .faq-a {
  padding: 0 4px 26px;
  font-size: 16px;
  line-height: 1.7;
  color: #3c3830;
  max-width: 64ch;
  text-wrap: pretty;
}

/* ---- Long-form article prose (blog pillars) ---- */
.prose { max-width: 720px; margin: 0 auto; }

.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.1; margin: 64px 0 20px; text-wrap: balance; }
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 44px 0 16px; }
.prose p { font-size: 17.5px; line-height: 1.78; color: #3c3830; margin-bottom: 20px; text-wrap: pretty; }
.prose .lede { font-family: var(--serif); font-size: 26px; line-height: 1.45; color: var(--ink); }
.prose a { border-bottom: 1px solid var(--accent); transition: color 0.25s; }
.prose a:hover { color: var(--accent-deep); }
.prose ul, .prose ol { margin: 0 0 20px 22px; font-size: 17px; line-height: 1.7; color: #3c3830; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: 18px; margin: 36px 0; }
.prose blockquote {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.4;
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  margin: 40px 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.article-meta a { color: var(--accent-deep); }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }

/* ---- Sources / citations on bar profiles ---- */
.sources {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.sources h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.sources a { border-bottom: 1px solid var(--line); transition: color 0.25s, border-color 0.25s; }
.sources a:hover { color: var(--accent-deep); border-color: var(--accent); }

/* ---- Verified / updated line ---- */
.verified-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.verified-line::before { content: "✓"; font-size: 13px; }

/* ---- Permanently closed banner ---- */
.closed-banner {
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 18px 26px;
  font-size: 15px;
  line-height: 1.6;
  margin: 24px 0;
}

.closed-banner strong { color: var(--accent); }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 72px; }

.pagination a, .pagination span {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  padding: 0 14px;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---- Occasion grid: slots 7 and 8 (the site has 8 categories) ---- */
.occasion-card:nth-child(7) { grid-column: span 3; grid-row: span 3; }
.occasion-card:nth-child(8) { grid-column: span 3; grid-row: span 3; }

/* ---- Footer: five-column variant (brand + 4 link groups) ---- */
.footer-inner.five { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }

/* ---- Hero quick tags ---- */
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-tags .btn-ghost { font-size: 12.5px; padding: 9px 16px; }

/* ---- Mobile menu (the package has no small-screen nav) ---- */
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
}

body[data-hero="full"] .nav:not(.is-solid) .menu-btn { border-color: rgba(255,255,255,0.45); color: #fff; }

.mob-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--paper);
  overflow-y: auto;
  padding: 96px 32px 48px;
  display: none;
}

.mob-panel.is-open { display: block; }

.mob-panel .mob-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 28px 0 10px;
}

.mob-panel a {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.mob-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 210;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
}

body.mob-locked { overflow: hidden; }

@media (max-width: 960px) {
  .rank-desc { grid-column: 1 / -1; }
  .prose h2 { font-size: 30px; }
  .menu-btn { display: inline-flex; }
  .footer-inner.five { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   POLISH PASS — tightened vertical rhythm sitewide
   (this sheet loads last, so these win over the package values)
   ============================================================ */
.page-section { padding: 64px 0; }
.page-section.tight { padding: 36px 0 64px; }
.page-hero { padding: 148px 0 56px; }
.bar-head { padding: 140px 0 36px; }
.bar-body { padding: 48px 0 72px; }
.also-ranked { padding: 0 0 88px; }
.faq-block { padding: 64px 0; }
.newsletter { padding: 20px 0; }
.cta-band { padding: 20px 0; }
.principles { padding: 64px 0; }
.stat-band { padding: 64px 0; }
.local-take { padding: 80px 0; }
.about-note { padding: 24px 0 80px; }
.manifesto { padding: 156px 0 64px; }
.occasions { padding: 88px 0 48px; }
.rankings { padding: 88px 0; }
.cities { padding: 88px 0; }
.journal { padding: 24px 0 88px; }
.section-head { margin-bottom: 40px; }
.prose h2 { margin: 44px 0 16px; }
.region-block { margin-top: 48px; }

/* ---- Fix: media wrappers must be block (spans collapse and rows overlap) ---- */
.story-card .media,
.story-feature .media,
.journal-item .thumb,
.bar-gallery .shot { display: block; }

/* ---- Fix: hero text readability over bright photos ---- */
.hero-full .hero-scrim {
  background: linear-gradient(180deg, rgba(10,9,7,0.55) 0%, rgba(10,9,7,0.4) 40%, rgba(10,9,7,0.8) 100%);
}
.hero-full .hero-content { text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.hero-full .eyebrow { color: #F2D27C; font-weight: 700; }
.hero-full .eyebrow::before { background: #F2D27C; height: 2px; }
.hero-full .hero-sub { color: #ffffff; }
.city-hero .eyebrow { color: #F2D27C; font-weight: 700; }
.city-hero .wrap { text-shadow: 0 2px 18px rgba(0,0,0,0.5); }

/* ============================================================
   ACCOUNTS + REVIEWS
   ============================================================ */

/* --- Nav auth control --- */
.bfk-auth { display: inline-flex; align-items: center; }
.bfk-signin { white-space: nowrap; }
.bfk-menu { position: relative; }
.bfk-menu-trigger { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.bfk-avatar { border-radius: 50%; object-fit: cover; display: block; }
.bfk-menu-pop {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-card); padding: 8px; display: none; flex-direction: column; z-index: 200;
}
.bfk-menu.is-open .bfk-menu-pop { display: flex; }
.bfk-menu-pop a, .bfk-menu-pop .bfk-logout {
  text-align: left; background: none; border: 0; font: inherit; color: var(--ink);
  padding: 10px 12px; border-radius: 8px; cursor: pointer; text-decoration: none; font-size: 14px;
}
.bfk-menu-pop a:hover, .bfk-menu-pop .bfk-logout:hover { background: var(--cream); color: var(--accent-deep); }

/* --- Reviews section on bar pages --- */
.bfk-reviews { padding: 8px 0 72px; }
.bfk-reviews .section-head { align-items: baseline; margin-bottom: 28px; }
.bfk-review-summary { color: var(--muted); font-size: 14px; white-space: nowrap; }
.bfk-review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.bfk-review {
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: var(--paper);
}
.bfk-review-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.bfk-review-stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.bfk-review-author { font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; }
a.bfk-review-author:hover { color: var(--accent-deep); }
.bfk-review-loc { color: var(--muted); font-weight: 400; }
.bfk-review-body { margin: 0; line-height: 1.7; color: #33302b; white-space: pre-wrap; overflow-wrap: anywhere; }
.bfk-review-empty { color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; padding: 22px; list-style: none; }

/* --- Review form / sign-in CTA --- */
.bfk-form-slot { margin-bottom: 30px; }
.bfk-review-form, .bfk-review-cta {
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; background: var(--cream);
}
.bfk-review-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.bfk-review-cta p { margin: 0; color: var(--muted); }
.bfk-review-form h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 22px; }
.bfk-starpick { display: inline-flex; gap: 4px; margin-bottom: 14px; }
.bfk-star { background: none; border: 0; cursor: pointer; font-size: 26px; line-height: 1; color: var(--accent); padding: 2px; transition: transform .15s var(--ease-out); }
.bfk-star:hover { transform: scale(1.15); }
.bfk-review-text {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; font: inherit; font-size: 15px; line-height: 1.6; background: var(--paper); resize: vertical;
}
.bfk-review-text:focus { outline: none; border-color: var(--accent); }
.bfk-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.bfk-wc { font-size: 13px; color: var(--muted); }
.bfk-wc.is-ok { color: #2e7d32; font-weight: 600; }
.bfk-form-msg { margin: 12px 0 0; font-size: 14px; }
.bfk-form-msg.is-error { color: #b3261e; }
.bfk-form-msg.is-ok { color: #2e7d32; }

/* --- Account / admin pages --- */
.bfk-account-wrap { max-width: 720px; }
.bfk-account-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; background: var(--paper);
  box-shadow: var(--shadow-card); margin-bottom: 22px;
}
.bfk-account-card h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 14px; }
.bfk-muted { color: var(--muted); }
.bfk-field { display: block; margin-bottom: 16px; }
.bfk-field > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.bfk-input {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: 15px; background: var(--paper);
}
.bfk-input:focus { outline: none; border-color: var(--accent); }
.bfk-account-card .btn-ink { margin-top: 6px; }
.bfk-badge {
  font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; margin-left: auto;
}
.bfk-status-pending { color: #8a6d00; background: #fbf1cf; }
.bfk-status-approved { color: #1b5e20; background: #ddefd9; }
.bfk-status-rejected { color: #b3261e; background: #f7dbd8; }

/* --- Admin moderation cards --- */
.bfk-mod-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; background: var(--paper); }
.bfk-mod-card.is-done { opacity: .55; }
.bfk-mod-actions { display: flex; gap: 12px; margin-top: 14px; }
.bfk-mod-actions .btn-ink, .bfk-mod-actions .btn-ghost { padding: 10px 22px; }

/* --- Turnstile --- */
.bfk-turnstile { margin: 14px 0 4px; }

/* --- Nav unread dot --- */
.bfk-unread-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #c0392b; margin-left: 6px; vertical-align: middle;
}

/* --- Account inbox --- */
.bfk-message { border-top: 1px solid var(--line); padding: 14px 0; }
.bfk-message:first-child { border-top: 0; padding-top: 0; }
.bfk-message-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.bfk-message-head strong { font-size: 15px; }

/* --- Admin tabs --- */
.bfk-tabs { display: flex; gap: 8px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.bfk-tab {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font: inherit; font-weight: 600; font-size: 15px; color: var(--muted);
  padding: 10px 14px; cursor: pointer;
}
.bfk-tab:hover { color: var(--ink); }
.bfk-tab.is-on { color: var(--ink); border-bottom-color: var(--accent); }

/* --- Admin user cards --- */
.bfk-user-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; background: var(--paper); }
.bfk-user-card.is-blocked { background: #fdf3f2; border-color: #f0d2ce; }
.bfk-user-head { display: flex; align-items: center; gap: 12px; }
.bfk-user-head .bfk-avatar { border-radius: 50%; object-fit: cover; }
.bfk-user-id { flex: 1; min-width: 0; }
.bfk-user-id strong { font-size: 15px; }
.bfk-user-email { font-size: 13px; word-break: break-all; }
.bfk-user-meta { font-size: 13px; margin: 10px 0 4px; }
.bfk-compose { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.bfk-compose .bfk-input { margin-bottom: 10px; }
.bfk-compose .bfk-review-text { margin-bottom: 10px; }

/* --- Avatars (image + initials fallback) --- */
.bfk-avatar { border-radius: 50%; object-fit: cover; display: inline-flex; vertical-align: middle; flex: none; }
.bfk-avatar-fallback {
  align-items: center; justify-content: center; background: var(--accent); color: #fff;
  font-family: var(--serif); font-weight: 600; line-height: 1;
}

/* --- Reviewer trust tiers --- */
.bfk-tier {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .03em;
  padding: 2px 8px; border-radius: 999px; vertical-align: middle;
  background: var(--cream); color: var(--muted); border: 1px solid var(--line);
}
.bfk-tier-1 { background: #eef4fb; color: #2f6db5; border-color: #d6e4f2; }
.bfk-tier-2 { background: #ecf6ed; color: #2e7d32; border-color: #d3ead5; }
.bfk-tier-3 { background: #e7f5f4; color: #14807a; border-color: #cfe9e6; }
.bfk-tier-4 { background: #f2ecfa; color: #6b3fb0; border-color: #e2d6f3; }
.bfk-tier-5 { background: #fbf1cf; color: #8a6d00; border-color: #efe0a6; }
.bfk-tier-line { margin: 4px 0 18px; }
.bfk-tier-line .bfk-tier { margin: 0 4px; }

/* --- Review byline (avatar + author + tier + stars) --- */
.bfk-review-byline { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bfk-review-who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bfk-reviews .bfk-review-stars { margin-left: auto; }

/* --- Account: avatar editor --- */
.bfk-avatar-edit { display: flex; align-items: center; gap: 16px; margin: 6px 0 20px; }
.bfk-avatar-edit-img .bfk-avatar { width: 72px; height: 72px; font-size: 30px; }
.bfk-avatar-controls { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.bfk-avatar-msg { font-size: 13px; }
.bfk-avatar-msg.is-ok { color: #2e7d32; }
.bfk-avatar-msg.is-error { color: #b3261e; }

/* --- Public profile page --- */
.bfk-profile-head { display: flex; align-items: center; gap: 20px; }
.bfk-profile-head .bfk-avatar { width: 76px; height: 76px; font-size: 32px; }
.bfk-profile-id { min-width: 0; }
.bfk-profile-name { font-family: var(--serif); font-size: 30px; margin: 0 0 4px; }
.bfk-profile-tier { margin: 8px 0; }
.bfk-profile-meta { font-size: 14px; margin: 6px 0 0; }
.bfk-profile-social { margin: 8px 0 0; }
.bfk-social { color: var(--accent-deep); text-decoration: none; border-bottom: 1px solid var(--line); }
.bfk-social:hover { border-color: var(--accent); }
.bfk-profile-review { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 16px 0; }
.bfk-profile-review:first-of-type { border-top: 0; }

/* --- Submit a bar form --- */
.bfk-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bfk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bfk-chip {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13.5px; cursor: pointer;
}
.bfk-chip:hover { border-color: var(--ink); }
.bfk-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.bfk-chip.is-static { cursor: default; background: var(--cream); border-color: var(--line); }
.bfk-photo-add { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bfk-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.bfk-thumb { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.bfk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bfk-thumb-x {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%;
  border: 0; background: rgba(13,12,10,0.7); color: #fff; cursor: pointer; font-size: 11px; line-height: 20px; padding: 0;
}
.bfk-barsubmit .btn-ink { margin-top: 8px; }

/* --- Community listing --- */
.bfk-community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; margin-top: 32px; }
.bfk-cbar { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-card); scroll-margin-top: 96px; }
.bfk-cbar-photo { aspect-ratio: 16/10; background: var(--cream); }
.bfk-cbar-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bfk-cbar-body { padding: 20px 22px; }
.bfk-cbar-body h3 { font-family: var(--serif); font-size: 23px; margin: 0 0 4px; }
.bfk-cbar-loc { font-size: 14px; margin: 0 0 10px; }
.bfk-cbar-occ { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.bfk-cbar-occ .bfk-chip { font-size: 12px; padding: 4px 10px; }
.bfk-cbar-desc { line-height: 1.7; color: #33302b; white-space: pre-wrap; }
.bfk-cbar-by { font-size: 13px; margin-top: 12px; }
.bfk-cbar-by a { color: var(--accent-deep); text-decoration: none; }
.bfk-cbar-strip { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; }
.bfk-cbar-strip img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }

/* --- Admin: bar submission cards --- */
.bfk-sub-name { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; }
.bfk-sub-photos { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.bfk-sub-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* --- Nav "Vote 2026" accent (now inside the Community dropdown, on white) --- */
.nav-links .nav-vote { color: #b8791a; font-weight: 700; }

/* --- Best Bars 2026 poll --- */
.bfk-poll-cta {
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; background: var(--cream);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 24px;
}
.bfk-poll-cta p { margin: 0; color: var(--muted); }
.bfk-poll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bfk-poll-city {
  text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s, transform .2s var(--ease-out); position: relative;
}
.bfk-poll-city:hover { border-color: var(--ink); transform: translateY(-2px); }
.bfk-poll-city.is-voted { background: #f6faf5; border-color: #d3ead5; }
.bfk-poll-city-name { font-family: var(--serif); font-size: 22px; }
.bfk-poll-city-meta { font-size: 13px; }
.bfk-poll-city .bfk-badge, .bfk-poll-go { position: absolute; top: 16px; right: 18px; }
.bfk-poll-go { color: var(--accent-deep); font-weight: 600; font-size: 14px; }

.bfk-poll-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.bfk-poll-head h2 { font-family: var(--serif); font-size: 28px; margin: 0; }
.bfk-poll-back { padding: 8px 16px; font-size: 14px; }
.bfk-poll-form { max-width: 560px; }
.bfk-poll-form .btn-ink { margin-top: 6px; }

.bfk-poll-voted { color: #1b5e20; font-weight: 600; margin: 0 0 20px; }
.bfk-poll-standings-h { font-family: var(--serif); font-size: 20px; margin: 28px 0 4px; }
.bfk-poll-rank { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: rank; max-width: 640px; }
.bfk-poll-row { padding: 12px 0; border-top: 1px solid var(--line); }
.bfk-poll-row:first-child { border-top: 0; }
.bfk-poll-row.is-mine .bfk-poll-bar-label { font-weight: 700; }
.bfk-poll-bar-label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.bfk-poll-bar-label a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.bfk-poll-bar-label a:hover { color: var(--accent-deep); }
.bfk-poll-pct { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }
.bfk-poll-track { height: 8px; background: var(--cream); border-radius: 999px; overflow: hidden; }
.bfk-poll-fill { height: 100%; background: var(--accent); border-radius: 999px; min-width: 2px; transition: width .5s var(--ease-out); }
.bfk-poll-row.is-mine .bfk-poll-fill { background: var(--accent-deep); }

/* --- Inline poll CTA on bar pages --- */
.bfk-poll-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 16px 22px; margin-bottom: 28px; text-decoration: none;
}
.bfk-poll-inline strong { color: var(--accent); }
.bfk-poll-inline-go { border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.bfk-poll-inline:hover .bfk-poll-inline-go { background: #fff; color: var(--ink); border-color: #fff; }

@media (max-width: 560px) {
  .bfk-review-cta { flex-direction: column; align-items: flex-start; }
  .bfk-user-head { flex-wrap: wrap; }
  .bfk-profile-head { flex-direction: column; text-align: center; }
  .bfk-2col { grid-template-columns: 1fr; }
  .bfk-community-grid { grid-template-columns: 1fr; }
  .bfk-poll-cta { flex-direction: column; align-items: flex-start; }
}


/* ===== Community v2: crowns, tags, photos, helpful, court favorite ===== */
.bfk-crownrow { display: inline-flex; gap: 2px; }
.bfk-crown { color: rgba(120,110,90,.28); font-size: 17px; line-height: 1; }
.bfk-crown.is-on { color: var(--amber, #c98a2b); }
.bfk-crownbtn { background: none; border: none; cursor: pointer; font-size: 26px; padding: 2px 4px; color: rgba(120,110,90,.28); transition: transform .12s; }
.bfk-crownbtn.is-on { color: var(--amber, #c98a2b); }
.bfk-crownbtn:hover { transform: scale(1.15); }
.bfk-review-title { font-size: 17px; margin: 10px 0 0; font-weight: 650; }
.bfk-review-titlein { width: 100%; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line, #ddd); border-radius: 10px; font: inherit; }
.bfk-review-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bfk-chip { display: inline-block; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: rgba(201,138,43,.1); color: var(--ink, #222); border: 1px solid rgba(201,138,43,.35); }
.bfk-tagpick { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.bfk-chip-pick { cursor: pointer; background: transparent; }
.bfk-chip-pick.is-on { background: var(--amber, #c98a2b); color: #fff; border-color: var(--amber, #c98a2b); }
.bfk-form-label { font-size: 13px; color: var(--muted, #777); margin: 12px 0 0; }
.bfk-review-photos { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.bfk-review-photo { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; }
.bfk-photo-preview { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.bfk-photo-cell { display: flex; flex-direction: column; gap: 4px; width: 130px; }
.bfk-photo-cell img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }
.bfk-photo-alt { font-size: 11.5px; padding: 4px 6px; border: 1px solid var(--line, #ddd); border-radius: 6px; }
.bfk-review-foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.bfk-helpful-btn { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line, #ccc); background: transparent; cursor: pointer; color: var(--ink, #222); text-decoration: none; }
.bfk-helpful-btn.is-on { background: var(--ink, #222); color: #fff; border-color: var(--ink, #222); }
.bfk-helpful-n { font-size: 12.5px; color: var(--muted, #777); }
.bfk-report-btn { font-size: 12px; background: none; border: none; color: var(--muted, #999); cursor: pointer; text-decoration: underline; }
.bfk-report-sel { font-size: 12.5px; padding: 3px 6px; margin-right: 6px; }
.bfk-report-go { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line, #ccc); background: transparent; cursor: pointer; }
.bfk-court-fav { border: 1.5px solid var(--amber, #c98a2b); border-radius: 14px; padding: 18px; background: rgba(201,138,43,.05); }
.bfk-fav-flag { font-size: 12.5px; font-weight: 650; color: var(--amber, #b07717); margin-bottom: 10px; letter-spacing: .02em; text-transform: uppercase; }
.bfk-own-actions { display: flex; gap: 10px; margin-top: 8px; }
.bfk-photo-in { margin-top: 6px; font-size: 13px; }
@media (max-width: 560px) {
  .bfk-review-photo { width: 88px; height: 88px; }
  .bfk-tagpick { gap: 5px; }
}

/* ===== Admin v2: AI chips, batch, focus, stats ===== */
.bfk-ai-chip { display: inline-block; font-size: 11.5px; font-weight: 650; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }
.bfk-ai-chip.is-ok { background: rgba(46,160,67,.12); color: #1a7f37; border: 1px solid rgba(46,160,67,.4); }
.bfk-ai-chip.is-warn { background: rgba(212,167,44,.14); color: #9a6700; border: 1px solid rgba(212,167,44,.45); }
.bfk-ai-chip.is-bad { background: rgba(207,34,46,.1); color: #cf222e; border: 1px solid rgba(207,34,46,.4); }
.bfk-mod-card.is-focus { outline: 2px solid var(--amber, #c98a2b); outline-offset: 2px; border-radius: 12px; }
.bfk-mod-check { width: 17px; height: 17px; accent-color: var(--amber, #c98a2b); }
.bfk-reject-wrap { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.bfk-reject-wrap .bfk-input { flex: 1; min-width: 220px; }
.bfk-batch-btn { margin-top: 10px; }
.bfk-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 18px; }
.bfk-stat-card { border: 1px solid var(--line, #e2ddd2); border-radius: 14px; padding: 18px 16px; background: var(--card, #fff); }
.bfk-stat-big { font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--ink, #222); }
.bfk-stat-label { font-size: 12.5px; color: var(--muted, #777); margin-top: 6px; }

/* ===== Self-serve bar pages: submit form + live preview ===== */
.bfk-submit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: start; }
.bfk-pv { position: sticky; top: 90px; border: 1px solid var(--line, #e2ddd2); border-radius: 16px; padding: 18px; background: var(--card, #fff); }
.bfk-pv-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--amber, #b07717); margin-bottom: 10px; }
.bfk-pv-url { font-size: 12px; color: var(--muted, #888); font-family: ui-monospace, monospace; margin-bottom: 12px; word-break: break-all; }
.bfk-pv-hero { width: 100%; aspect-ratio: 16/9; border-radius: 10px; background: rgba(120,110,90,.08); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 12px; }
.bfk-pv-hero img { width: 100%; height: 100%; object-fit: cover; }
.bfk-pv-hero-empty { font-size: 12.5px; color: var(--muted, #999); padding: 0 20px; text-align: center; }
.bfk-pv-name { font-size: 26px; font-weight: 700; font-family: "Instrument Serif", serif; line-height: 1.1; }
.bfk-pv-meta { font-size: 13px; color: var(--muted, #777); margin: 6px 0 12px; }
.bfk-pv-cols { display: grid; gap: 14px; }
.bfk-pv-body p { font-size: 13.5px; line-height: 1.55; margin: 0 0 10px; }
.bfk-pv-facts { list-style: none; padding: 12px; margin: 0; border: 1px solid var(--line, #eee); border-radius: 10px; font-size: 12.5px; }
.bfk-pv-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.bfk-pv-facts .k { color: var(--muted, #888); flex-shrink: 0; }
.bfk-geo-details { margin: 14px 0; font-size: 14px; }
.bfk-geo-details summary { cursor: pointer; font-weight: 600; }
.bfk-cbar-visit { display: inline-block; font-size: 13px; font-weight: 650; color: var(--amber, #b07717); margin: 2px 0 8px; }
@media (max-width: 900px) { .bfk-submit-layout { grid-template-columns: 1fr; } .bfk-pv { position: static; } }

/* ===== The Royal Court: leaderboards, rank frames, ladder ===== */
.bfk-nav-crowns { font-size: 12px; font-weight: 700; color: var(--amber, #b07717); margin-left: 6px; }
.bfk-frame { display: inline-flex; border-radius: 999px; padding: 2px; }
.bfk-frame img, .bfk-frame .bfk-avatar { display: block; border-radius: 999px; }
.bfk-frame-0 { box-shadow: 0 0 0 2px #b8b2a4; }
.bfk-frame-1 { box-shadow: 0 0 0 2px #8c9a6f; }
.bfk-frame-2 { box-shadow: 0 0 0 2px #7c8fb8; }
.bfk-frame-3 { box-shadow: 0 0 0 2px #a06fb0; }
.bfk-frame-4 { box-shadow: 0 0 0 2px #c98a2b; }
.bfk-frame-5 { box-shadow: 0 0 0 3px #c98a2b, 0 0 10px rgba(201,138,43,.55); }
.bfk-profile-crowns { font-size: 14.5px; font-weight: 650; margin: 4px 0 6px; }
.bfk-lb-controls { margin: 22px 0 6px; max-width: 280px; }
.bfk-lb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bfk-lb { list-style: none; margin: 12px 0 0; padding: 0; }
.bfk-lb-row { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 12px; }
.bfk-lb-row + .bfk-lb-row { margin-top: 2px; }
.bfk-lb-gold { background: rgba(201,138,43,.12); }
.bfk-lb-silver { background: rgba(140,140,150,.1); }
.bfk-lb-bronze { background: rgba(160,110,60,.09); }
.bfk-lb-pos { width: 22px; text-align: center; font-weight: 800; font-size: 14px; color: var(--muted, #888); }
.bfk-lb-gold .bfk-lb-pos { color: var(--amber, #b07717); }
.bfk-lb-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bfk-lb-sub { font-size: 12px; color: var(--muted, #888); }
.bfk-lb-crowns { font-weight: 750; font-size: 15px; white-space: nowrap; }
.bfk-ladder { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.bfk-ladder-step { display: flex; align-items: center; gap: 8px; font-size: 13px; }
@media (max-width: 760px) { .bfk-lb-grid { grid-template-columns: 1fr; } }

/* ===== Step 6: Bar of the Week, quests, share ===== */
.bfk-botw { padding: 26px 0 0; }
.bfk-botw-card { display: flex; gap: 22px; align-items: center; border: 1.5px solid var(--amber, #c98a2b); border-radius: 18px; padding: 18px 22px; text-decoration: none; background: var(--card, #fff); }
.bfk-botw-img { width: 260px; height: 170px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.bfk-botw-name { font-size: 30px; margin: 4px 0 4px; font-family: "Instrument Serif", serif; }
.bfk-botw-go { font-weight: 700; color: var(--amber, #b07717); font-size: 14px; }
.bfk-quest { border: 1px solid var(--line, #e2ddd2); border-radius: 12px; padding: 14px 16px; margin-top: 12px; }
.bfk-quest.is-done { border-color: var(--amber, #c98a2b); background: rgba(201,138,43,.05); }
.bfk-quest-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bfk-quest-bounty { font-weight: 750; color: var(--amber, #b07717); white-space: nowrap; }
.bfk-quest-bar { position: relative; height: 22px; border-radius: 999px; background: rgba(120,110,90,.12); margin-top: 8px; overflow: hidden; }
.bfk-quest-fill { position: absolute; inset: 0 auto 0 0; background: var(--amber, #c98a2b); border-radius: 999px; transition: width .4s; }
.bfk-quest-n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--ink, #222); }
.bfk-share-btn { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--amber, #c98a2b); color: var(--amber, #b07717); background: transparent; cursor: pointer; font-weight: 650; }
.bfk-share-btn:hover { background: var(--amber, #c98a2b); color: #fff; }
@media (max-width: 640px) { .bfk-botw-card { flex-direction: column; align-items: flex-start; } .bfk-botw-img { width: 100%; height: 180px; } }

/* ===== Header, sitewide (honest 100% values — no zoom compensation) ===== */
.nav-inner { height: 90px; }
.wordmark { font-size: 29px; }
.nav-links { gap: 32px; }
.nav-links a, .nav-dd-trigger { font-size: 15px; }
.nav-cta { gap: 12px; }
.nav-cta .btn-ghost, .nav-cta .btn-ink, .nav-cta .bfk-menu-trigger { font-size: 13.5px; padding: 10px 18px; }
.nav-cta .menu-btn { font-size: 13.5px; }
.bfk-nav-crowns { font-size: 12px; }

/* ===== Community dropdown (consolidates Community / Court / Vote) ===== */
.nav-dd { position: relative; }
.nav-dd-trigger {
  background: none; border: none; cursor: pointer; font-family: inherit;
  font-weight: 500; letter-spacing: 0.02em; color: inherit;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
}
.nav-dd-caret { font-size: 0.66em; transition: transform 0.2s; }
.nav-dd:hover .nav-dd-caret, .nav-dd.is-open .nav-dd-caret { transform: rotate(180deg); }
.nav-dd-pop {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 224px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 44px rgba(20, 15, 8, 0.18); padding: 8px;
  display: none; flex-direction: column; z-index: 200;
}
.nav-dd-pop::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-dd:hover .nav-dd-pop, .nav-dd.is-open .nav-dd-pop { display: flex; }
.nav-dd-pop a {
  padding: 11px 15px; border-radius: 10px; font-size: 15.5px; font-weight: 500;
  color: var(--ink); white-space: nowrap;
}
.nav-dd-pop a::after { display: none; }
.nav-dd-pop a:hover { background: rgba(120, 110, 90, 0.09); }
.nav-dd-pop .nav-vote { color: #b8791a; font-weight: 700; }

@media (max-width: 900px) {
  .nav-inner { height: 84px; padding: 0 20px; }
  .wordmark { font-size: 27px; }
  .nav-cta .btn-ghost, .nav-cta .btn-ink, .nav-cta .bfk-menu-trigger { font-size: 14px; padding: 9px 15px; }
}

/* ===== Homepage hero: headline + search (honest 100% values) ===== */
.hero-full .display { font-size: clamp(40px, 4.6vw, 76px); }
.hero-full .search-pill { max-width: 840px; padding: 10px; }
.hero-full .search-seg { padding: 10px 28px; }
.hero-full .search-seg .seg-label { font-size: 13px; }
.hero-full .search-seg .seg-value { font-size: 17px; }
.hero-full .search-seg .seg-input { font-size: 17px; }
.hero-full .search-go { width: 68px; }
@media (max-width: 640px) {
  .hero-full .search-seg { padding: 10px 20px; }
  .hero-full .search-seg .seg-input, .hero-full .search-seg .seg-value { font-size: 18px; }
  .hero-full .search-go { width: 64px; }
}

/* ===== Hero "AI search" — inline full-text search (renders results
   in a dropdown on the page; never opens a modal) ===== */
.hero-ai-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  max-width: 840px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(20,17,13,0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.25s, border-color 0.25s;
}
.hero-ai-search:focus-within {
  background: rgba(20,17,13,0.6);
  border-color: rgba(242,210,124,0.7);
}
.hero-ai-search .ai-spark { color: var(--accent); flex: none; }
.hero-ai-search .ai-label {
  flex: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  padding-right: 12px;
  border-right: 1px solid rgba(255,255,255,0.24);
}
.hero-ai-search .ai-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 0;
}
.hero-ai-search .ai-input::placeholder { color: rgba(255,255,255,0.6); }

/* inline results dropdown — reuses the .ps-row row styling */
.hero-ai-search .ai-suggest {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(13,12,10,0.08), 0 24px 48px -16px rgba(13,12,10,0.28);
  padding: 8px;
  max-height: 360px;
  overflow-y: auto;
  text-align: left;
  z-index: 60;
}
.hero-ai-search .ps-empty {
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--muted);
}
@media (max-width: 560px) {
  .hero-ai-search .ai-label { display: none; }
}


/* ===== Fix: hero search dropdown must not be clipped by the hero ===== */
/* Move the parallax clip onto .hero-clip so .hero-full can stop clipping the
   autocomplete dropdown (which extends below the hero into the section under
   it). The dropdown lives in .hero-content (z-index:2), so it paints above
   the Bar-of-the-Week card once the clip is gone. */
.hero-full { overflow: visible; }
.hero-full .hero-clip { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-full .pill-suggest { z-index: 60; }

/* ============================================================
   SCALE RE-TUNE  (2026-07-12)  — single source of truth for the
   desktop display scale. Replaces the old body{zoom:0.8} + the
   scattered "bigger" patches. Keeps the compact editorial feel the
   zoom gave, but coherently: the large serif display type is scaled
   ~0.84 uniformly, body/label type stays at a readable native size,
   and sticky offsets are re-aligned to the 90px nav (the zoom used
   to hide these). Scoped to >=961px to leave mobile/tablet untouched.
   ============================================================ */
@media (min-width: 961px) {
  /* --- Display + heading type (uniform compaction) --- */
  .section-head h2            { font-size: clamp(34px, 3.7vw, 52px); }
  .hero-type .display         { font-size: clamp(54px, 7.6vw, 124px); }
  .hero-split .display        { font-size: clamp(40px, 4.5vw, 70px); }
  .page-hero .display         { font-size: clamp(42px, 5.2vw, 86px); }
  .city-hero .display         { font-size: clamp(52px, 7.3vw, 122px); }
  .bar-head .display          { font-size: clamp(40px, 4.7vw, 76px); }
  .manifesto .display         { font-size: clamp(36px, 4.5vw, 72px); }
  .newsletter .display        { font-size: clamp(24px, 2vw, 30px); }
  .cta-band .display          { font-size: clamp(22px, 1.9vw, 28px); }
  .local-take blockquote      { font-size: clamp(25px, 2.8vw, 40px); }
  .stat-row strong            { font-size: clamp(40px, 3.8vw, 60px); }
  .story-feature h2           { font-size: clamp(28px, 3vw, 44px); }
  .journal-feature .feature-meta h3 { font-size: clamp(24px, 2.1vw, 32px); }

  /* --- Section-level serif headings (fixed px) --- */
  .occasion-meta h3           { font-size: 22px; }
  .rank-num                   { font-size: 37px; }
  .rank-info h3               { font-size: 22px; }
  .city-meta h3               { font-size: 24px; }
  .journal-item h4            { font-size: 18px; }
  .ticker-item                { font-size: 19px; }
  .region-block h3            { font-size: 25px; }
  .city-row .name             { font-size: 18px; }
  .hood-card h3               { font-size: 20px; }
  .collection-card .meta h3   { font-size: 24px; }
  .story-card h3              { font-size: 21px; }
  .principle .n               { font-size: 54px; }
  .principle h3               { font-size: 24px; }
  .faq-item summary           { font-size: 20px; }
  .essentials h3              { font-size: 22px; }
  .also-card .meta .n         { font-size: 25px; }
  .also-card .meta h3         { font-size: 20px; }
  .footer .wordmark           { font-size: 22px; }

  /* --- Long-form / detail serif headings --- */
  .prose h2                   { font-size: 32px; }
  .prose h3                   { font-size: 24px; }
  .prose .lede                { font-size: 22px; }
  .bar-article h2             { font-size: 30px; }
  .bar-article .lede          { font-size: 22px; }

  /* --- Sticky offsets re-aligned to the 90px nav (was masked by zoom) --- */
  .rank-preview               { top: 108px; }
  .essentials                 { top: 108px; }
  .bfk-pv                     { top: 108px; }
}

/* ============================================================================
   VISUAL ELEVATION PASS — 2026-07-12  (loads last; wins the cascade)
   Sitewide fixes + upgrades from the full 39-template visual audit.
   See VISUAL-AUDIT.md for the mapped defect for each block.
   ============================================================================ */

/* --- Token hygiene ---------------------------------------------------------
   --amber was referenced as var(--amber,#c98a2b) across the bfk layer but never
   defined, so those components silently used a DIFFERENT orange than the brand
   --accent (#c9a227). Define it. Add an AA-contrast amber for small label text
   (--accent-deep #a4831a is only ~3.1:1 on cream; fails 4.5:1). */
:root {
  --amber: var(--accent);
  --accent-text: #7a610f;      /* ~5.2:1 on cream — safe for small uppercase labels */
  --ink-soft: #3c3830;         /* single dark-gray body token (kills #33302b/#3c3830 drift) */
  --shadow-sm: 0 1px 2px rgba(13,12,10,0.06);
  --shadow-md: 0 1px 2px rgba(13,12,10,0.05), 0 10px 24px -12px rgba(13,12,10,0.16);
  --shadow-lg: 0 2px 4px rgba(13,12,10,0.06), 0 24px 48px -20px rgba(13,12,10,0.28);
}

/* Amber label text → AA. Eyebrows, card kickers, count links, section kickers. */
.eyebrow,
.hood-card .count,
.city-hero .stat b,
.faq-item summary { color: var(--accent-text); }
.hero-full .eyebrow,
.city-hero .eyebrow,
.newsletter .eyebrow,
.cta-band .eyebrow { color: var(--accent); } /* on dark/photo — keep bright accent */

/* ===== Compact newsletter + advertising bands (2026-07-14) ===== */
.newsletter .display { max-width: none; margin: 10px auto 8px; font-size: clamp(24px, 2.6vw, 30px); }
.newsletter p { font-size: 14.5px; margin: 0 auto 14px; max-width: 78ch; }
.news-form { max-width: 440px; }
.news-form input { padding: 8px 18px; font-size: 14px; }
.news-success { margin-top: 8px; min-height: 0; }
.cta-band .display { max-width: none; margin-bottom: 10px; font-size: clamp(22px, 2.4vw, 28px); }
.cta-band .btn-ink, .cta-band .btn-ghost { padding: 10px 22px; font-size: 14px; }

/* --- Focus visibility (site used outline:none with no replacement) --------- */
a:focus-visible,
button:focus-visible,
.btn-ink:focus-visible,
.btn-ghost:focus-visible,
.menu-btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

/* --- HEADER: collapse the CTA cluster on small screens --------------------
   At <=600px the nav packed Search-with-label + "Submit a bar" + Menu past the
   viewport edge, clipping Submit and stranding the Menu button offscreen — the
   only mobile navigation. Below 600px keep the wordmark + a compact icon Search
   + Menu; Submit + full search live inside the menu panel and the footer. */
@media (max-width: 600px) {
  .nav-inner { gap: 12px; min-width: 0; padding: 0 20px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-ink { display: none; }          /* Submit — reachable via menu + footer */
  .nav-cta .search-trigger { font-size: 0; padding: 10px; gap: 0; } /* icon-only */
  .nav-cta .search-trigger svg { width: 16px; height: 16px; }
  .wordmark { font-size: 24px; }
}

/* --- HEADER: stop "Submit a bar" wrapping to 2 lines at ~1024 -------------- */
@media (max-width: 1160px) and (min-width: 961px) {
  .nav-links { gap: 22px; }
  .nav-inner { gap: 20px; padding: 0 32px; }
}

/* --- FOOTER: kill the systemic 390 horizontal overflow --------------------
   The brand column's social row (LinkedIn/Instagram/X/Facebook) is a non-
   wrapping flex row; as min-content it blew out column 1 of the grid and pushed
   the whole footer past the viewport (body{overflow-x:hidden} only masked it).
   Let it wrap, give grid children min-width:0, and go single-column when tight. */
.footer-inner > div { min-width: 0; }
.footer ul { flex-wrap: wrap; }
@media (max-width: 700px) {
  .footer-inner, .footer-inner.five { padding-left: 24px; padding-right: 24px; }
  .footer-bottom { padding-left: 24px; padding-right: 24px; flex-direction: column; gap: 8px; }
}
@media (max-width: 560px) {
  .footer-inner, .footer-inner.five { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Minimal (account/user) footer: off-token light hairline on dark ------- */
.footer[style*="border-top"], .site-footer-min { border-top-color: rgba(255,255,255,0.1) !important; }

/* --- CARD GRIDS: inline repeat(3,1fr) defeated the responsive breakpoints --
   about / awards / authors hard-code style="grid-template-columns:repeat(3,1fr)"
   which can't shrink below min-content at 390 → torn right gutter / shredded
   cards (authors hit scrollWidth 542). Reclaim mobile with a targeted override. */
@media (max-width: 900px) { .hood-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .hood-grid { grid-template-columns: 1fr !important; } }

/* --- BLOG / JOURNAL list: inline columns:2 overflowed at 390 --------------- */
@media (max-width: 640px) {
  .city-rows[style*="columns"] { columns: 1 !important; }
}

/* --- RANK ROWS: desktop 88px numeral column crushed names on mobile -------- */
@media (max-width: 640px) {
  .rank-row { grid-template-columns: 40px 1fr auto; gap: 14px; padding: 20px 4px; }
  .rank-num { font-size: 26px; }
  .rank-row:hover, .rank-row.is-active { padding-left: 8px; }
}

/* --- CTA band: center the trust eyebrow (band is text-align:center) -------- */
.cta-band .eyebrow,
.local-take .eyebrow { justify-content: center; }
@media (max-width: 480px) {
  .cta-band .eyebrow::before,
  .newsletter .eyebrow::before { display: none; } /* lone dash detaches when wrapped */
}

/* ============================================================================
   UPGRADE PASS — depth, hierarchy, motion, polish
   ============================================================================ */

/* Layered surfaces + hairline + soft shadow so hierarchy reads instantly.
   Cards lift on hover with a spring ease; the whole set shares one shadow scale. */
.hood-card,
.journal-card,
.story-card,
.compare-card,
.f-panel {
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.hood-card:hover,
.journal-card:hover,
.story-card:hover,
.compare-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

/* Rank rows: add a right-edge chevron + smoother lift, use the accent hairline. */
.rank-row { position: relative; }
.rank-row::after {
  content: "›";
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%) translateX(-4px);
  font-family: var(--serif); font-size: 22px; color: var(--accent);
  opacity: 0; transition: opacity .25s, transform .25s var(--ease-out);
  pointer-events: none;
}
.rank-row:hover::after, .rank-row.is-active::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* Data numerals: tabular everywhere they cluster (stats, counts, ratings). */
.city-row .n, .hood-card .count, .stat b, .stat-row b, .rank-info p, .rank-desc,
.compare-stat, .ps-main .s { font-variant-numeric: tabular-nums; }

/* Table-style rows: crisp hover surface + smooth reveal (no snap). */
.city-row { transition: background .2s var(--ease-out), padding .25s var(--ease-out); }

/* Reveal timing: keep within 150–300ms, honor reduced-motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Buttons: unify press feedback. */
.btn-ink:active, .btn-ghost:active, .menu-btn:active { transform: translateY(0) scale(.985); }

/* Select controls: kill native chrome so forms read as one system. */
.f-field select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236f6a61' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}

/* ---------- "More bars like this" (M2 vector look-alikes) ---------- */
.bfk-similar { padding: 56px 0 72px; border-top: 1px solid var(--line); }
.bfk-similar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px;
}
.bfk-similar-card {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  text-decoration: none; color: var(--ink); background: var(--paper);
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.bfk-similar-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.bfk-similar-card strong { font-size: 17px; line-height: 1.25; }
.bfk-similar-card span { font-size: 13.5px; color: #6f6a61; }
@media (max-width: 860px) { .bfk-similar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bfk-similar-grid { grid-template-columns: 1fr; } }

/* Applied-filter chips inside the search overlay (parsed from the query). */
.so-applied { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.so-applied-chip {
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  color: var(--ink); background: rgba(201,162,39,.07);
}
.so-applied-chip.is-open-chip { border-color: var(--accent); color: var(--accent-deep); }

/* ============================================================
   AI CONCIERGE — floating launcher + chat panel (feature #2)
   ============================================================ */
.cx-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 280;
  display: flex; align-items: center; gap: 9px;
  padding: 13px 20px; border: none; border-radius: 999px;
  background: var(--ink); color: #fff; cursor: pointer;
  font-family: var(--sans, inherit); font-size: 14.5px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.28); transition: transform .2s var(--ease-out), box-shadow .2s;
}
.cx-launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(0,0,0,.34); }
.cx-launcher.is-hidden { opacity: 0; pointer-events: none; transform: scale(.9); }
.cx-launcher-star { color: var(--accent); font-size: 16px; }

.cx-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 281;
  width: 400px; max-width: calc(100vw - 32px); height: 620px; max-height: calc(100vh - 44px);
  display: none; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4); overflow: hidden;
}
.cx-panel.is-open { display: flex; animation: cxIn .28s var(--ease-out); }
@keyframes cxIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.cx-head { display: flex; justify-content: space-between; align-items: flex-start;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.cx-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); }
.cx-sub { font-size: 13px; color: #6f6a61; margin-top: 4px; max-width: 300px; }
.cx-close { border: none; background: none; font-size: 17px; color: #6f6a61; cursor: pointer; padding: 4px; line-height: 1; }
.cx-close:hover { color: var(--ink); }

.cx-thread { flex: 1; overflow-y: auto; padding: 18px 18px 4px; display: flex; flex-direction: column; gap: 12px; }
.cx-msg { display: flex; }
.cx-user { justify-content: flex-end; }
.cx-bubble { max-width: 82%; padding: 10px 14px; border-radius: 15px; font-size: 14.5px; line-height: 1.5; }
.cx-assistant .cx-bubble { background: rgba(201,162,39,.09); color: var(--ink); border-bottom-left-radius: 5px; }
.cx-user .cx-bubble { background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }

.cx-cards { display: flex; flex-direction: column; gap: 9px; margin: 2px 0 4px; }
.cx-card { display: flex; flex-direction: column; gap: 3px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 13px; text-decoration: none; color: var(--ink);
  background: var(--paper); transition: border-color .18s, transform .18s var(--ease-out); }
.cx-card:hover { border-color: var(--accent); transform: translateX(2px); }
.cx-card strong { font-size: 15.5px; }
.cx-card-sub { font-size: 12.5px; color: #6f6a61; }
.cx-why { font-size: 13px; color: var(--accent-deep); font-style: italic; margin-top: 3px; }

.cx-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 18px 0; }
.cx-chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 7px 13px; font-size: 12.5px; color: var(--ink); cursor: pointer; transition: border-color .18s, background .18s; }
.cx-chip:hover { border-color: var(--accent); background: rgba(201,162,39,.06); }

.cx-composer { display: flex; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.cx-input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px;
  font-size: 14.5px; outline: none; color: var(--ink); background: var(--paper); }
.cx-input:focus { border-color: var(--accent); }
.cx-send { border: none; background: var(--ink); color: #fff; width: 42px; border-radius: 50%;
  font-size: 18px; cursor: pointer; flex-shrink: 0; transition: background .18s; }
.cx-send:hover { background: var(--accent-deep); }

.cx-typing .cx-bubble { display: flex; gap: 4px; align-items: center; }
.cx-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-deep); opacity: .4; animation: cxBlink 1.2s infinite; }
.cx-dot:nth-child(2) { animation-delay: .2s; } .cx-dot:nth-child(3) { animation-delay: .4s; }
@keyframes cxBlink { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }

@media (max-width: 520px) {
  .cx-panel { right: 0; bottom: 0; width: 100vw; height: 88vh; max-height: 88vh; border-radius: 18px 18px 0 0; }
  .cx-launcher { right: 16px; bottom: 16px; padding: 12px 17px; font-size: 14px; }
}

/* ================================================================
   SIGNUP ENGINE — save/favourites, open-now, bar conversion card,
   starter quest, concierge nudge, toast. Added 2026-07-14.
   ================================================================ */

/* Toast */
.bfk-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px);
  z-index: 9500; display: flex; align-items: center; gap: 14px;
  max-width: min(92vw, 460px); padding: 13px 18px;
  background: var(--ink); color: #fff; border-radius: 14px;
  box-shadow: 0 12px 40px -10px rgba(13,12,10,.5);
  font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .28s, transform .28s;
}
.bfk-toast.is-in { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bfk-toast-msg { line-height: 1.4; }
.bfk-toast-cta { color: var(--accent); font-weight: 600; white-space: nowrap; border-bottom: 1px solid transparent; }
.bfk-toast-cta:hover { border-bottom-color: var(--accent); }

/* Save (♡) button — fab on cards + inline in the conversion card */
.bfk-save {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-family: inherit; font-size: 14px; line-height: 1;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; transition: transform .12s, border-color .15s, color .15s, background .15s;
}
.bfk-save:hover { border-color: var(--accent); transform: translateY(-1px); }
.bfk-save-heart { color: var(--muted); font-size: 15px; transition: color .15s, transform .2s; }
.bfk-save.is-saved .bfk-save-heart { color: #d5406b; transform: scale(1.12); }
.bfk-save.is-saved { border-color: #eabcc9; }
/* fab variant — floats top-right on a card */
.bfk-save-fab {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px; justify-content: center; padding: 0;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px -2px rgba(13,12,10,.28);
}
.bfk-save-fab .bfk-save-heart { font-size: 17px; }
.rank-row .bfk-save-fab { top: 50%; right: 12px; transform: translateY(-50%); }
.rank-row .bfk-save-fab:hover { transform: translateY(-50%) scale(1.06); }
/* inline variant — in the conversion card */
.bfk-save-inline { padding: 12px 18px; font-weight: 600; }

/* Bar-page conversion card (in .essentials sidebar) */
.bfk-convert {
  margin: 0 0 22px; padding: 18px 18px 20px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
}
.bfk-convert-h { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0 0 4px; }
.bfk-convert-proof { font-size: 13.5px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bfk-convert-proof strong { color: var(--ink); }
.bfk-convert-avatars { display: inline-flex; }
.bfk-convert-avatars .bfk-avatar { margin-right: -8px; border: 2px solid var(--cream); border-radius: 50%; }
.bfk-convert-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bfk-convert-actions .btn-ink { justify-content: center; padding: 12px 16px; }
.bfk-convert-join {
  display: block; margin-top: 14px; font-size: 12.5px; color: var(--accent-deep);
  border-bottom: 1px solid transparent; width: fit-content;
}
.bfk-convert-join:hover { border-bottom-color: var(--accent); }
.bfk-convert-join .bfk-crown { margin-right: 3px; }

/* Open-now badge */
.bfk-opennow {
  display: flex; align-items: center; gap: 7px; font-size: 13.5px;
  margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.bfk-opennow-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.bfk-opennow.is-open  .bfk-opennow-dot { background: #2f9e57; box-shadow: 0 0 0 3px rgba(47,158,87,.18); }
.bfk-opennow.is-closed .bfk-opennow-dot { background: #b23b3b; }
.bfk-opennow.is-open  strong { color: #2f9e57; }
.bfk-opennow.is-closed strong { color: #b23b3b; }

/* Saved list on the account page */
.bfk-saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.bfk-saved-item {
  display: flex; align-items: center; gap: 9px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px;
  transition: border-color .15s, transform .12s;
}
.bfk-saved-item:hover { border-color: var(--accent); transform: translateY(-1px); }
.bfk-saved-item .bfk-save-heart.is-saved { color: #d5406b; }

/* Rich (reward-first) review CTA */
.bfk-review-cta-rich { text-align: left; }
.bfk-review-cta-lead { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.bfk-review-cta-lead .bfk-crown { color: var(--accent); }
.bfk-review-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.bfk-onboard-hint { margin: -4px 0 8px; }

/* Starter-quest strip */
.bfk-quest-strip { background: var(--ink); color: #fff; }
.bfk-quest-inner { display: flex; align-items: center; gap: 18px; padding: 16px 0; flex-wrap: wrap; }
.bfk-quest-badge {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  background: var(--accent); color: var(--ink); border-radius: 50%; font-size: 20px;
}
.bfk-quest-copy { display: flex; flex-direction: column; gap: 2px; min-width: 200px; flex: 1; }
.bfk-quest-copy strong { font-size: 15px; }
.bfk-quest-copy .bfk-muted { color: rgba(255,255,255,.7); font-size: 13px; }
.bfk-quest-progress { width: 120px; height: 6px; background: rgba(255,255,255,.2); border-radius: 4px; overflow: hidden; }
.bfk-quest-progress span { display: block; height: 100%; background: var(--accent); }
.bfk-quest-strip .btn-ink { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.bfk-quest-strip .btn-ink:hover { background: #fff; border-color: #fff; }

/* Concierge signup nudge */
.cx-nudge {
  margin: 14px 6px 4px; padding: 16px; text-align: center;
  background: var(--cream); border: 1px dashed var(--accent); border-radius: 14px;
}
.cx-nudge p { font-size: 13.5px; margin-bottom: 12px; color: var(--ink); }
.cx-nudge .btn-ink { justify-content: center; }

@media (max-width: 640px) {
  .bfk-quest-inner { gap: 12px; }
  .bfk-quest-progress { display: none; }
  .bfk-saved-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- /join/ page ---- */
.join-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.join-perk { padding: 26px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: center; }
.join-perk-ico { font-size: 30px; color: var(--accent); display: block; margin-bottom: 12px; }
.join-perk h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 8px; }
.join-perk p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.join-ladder { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.join-ladder li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.join-ladder li.is-top { border-color: var(--accent); background: #fffdf6; }
.join-rank { font-family: var(--serif); font-size: 20px; }
.join-ladder li.is-top .join-rank { color: var(--accent-deep); }
.join-need { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 680px) {
  .join-perks { grid-template-columns: 1fr; }
}

/* ---- bar-of-week email hook + profile share ---- */
.bfk-botw-sub {
  display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600;
  color: var(--accent-deep); border-bottom: 1px solid transparent;
}
.bfk-botw-sub:hover { border-bottom-color: var(--accent); }
.bfk-profile-share { margin-top: 12px; }

/* ================================================================
   GROWTH DASHBOARD — web analytics + newsletter admin. 2026-07-14.
   ================================================================ */
/* Growth dashboard uses a wide container (the account wrap is 720px — too narrow
   for tables/charts). */
.bfk-growth-wrap { max-width: 1180px; }
.bfk-growth-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bfk-growth-live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.bfk-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e57; box-shadow: 0 0 0 3px rgba(47,158,87,.18); }
@keyframes bfkPulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.bfk-live-dot { animation: bfkPulse 2s ease-in-out infinite; }

.bfk-win-picker { display: inline-flex; gap: 4px; margin: 14px 0 18px; background: var(--cream); padding: 4px; border-radius: 10px; }
.bfk-win { border: none; background: none; padding: 7px 14px; border-radius: 7px; cursor: pointer; font: inherit; font-size: 13px; color: var(--muted); }
.bfk-win.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(13,12,10,.1); font-weight: 600; }

.bfk-growth-stats { margin-bottom: 22px; }
.bfk-growth-h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; margin: 26px 0 12px; }

.bfk-chart { display: flex; align-items: flex-end; gap: 3px; height: 130px; padding: 8px 0 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.bfk-chart-col { flex: 1 0 8px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 10px; }
.bfk-chart-bar { width: 70%; max-width: 22px; background: var(--accent); border-radius: 3px 3px 0 0; transition: background .15s; }
.bfk-chart-col:hover .bfk-chart-bar { background: var(--accent-deep); }
.bfk-chart-x { font-size: 9px; color: var(--muted); margin-top: 4px; white-space: nowrap; transform: rotate(0); }

.bfk-source-row { display: flex; gap: 8px; flex-wrap: wrap; }
.bfk-source-pill { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.bfk-source-pill strong { color: var(--accent-deep); }

.bfk-table-wrap { overflow-x: auto; }
.bfk-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.bfk-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.bfk-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.bfk-table td a { color: var(--accent-deep); word-break: break-all; }
.bfk-table tr:hover td { background: var(--cream); }

.bfk-growth-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bfk-composer { margin-top: 8px; }
.bfk-compose-body { width: 100%; resize: vertical; font-family: inherit; line-height: 1.5; }
.bfk-composer-foot { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.bfk-subs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

@media (max-width: 640px) { .bfk-growth-cols { grid-template-columns: 1fr; } }

/* ================= Community 2035 layer ================= */
.bfk-c35 { display: grid; gap: 14px; margin: 28px 0 8px; }
.bfk-c35-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--paper); box-shadow: var(--shadow-sm); }
.bfk-c35-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; margin-bottom: 10px; }
.bfk-c35-live { color: #c0392b; font-size: 12px; font-weight: 600; letter-spacing: .02em; animation: bfkpulse 2s ease-in-out infinite; }
@keyframes bfkpulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.bfk-muted { color: var(--muted); font-size: 13px; }
.bfk-vibe-read { margin: 0 0 12px; font-size: 15px; }
.bfk-vibe-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.bfk-vibe-btn { border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; transition: transform .12s var(--ease-out), background .12s; }
.bfk-vibe-btn:hover { background: var(--accent); color: var(--accent-text); transform: translateY(-1px); }
.bfk-c35-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bfk-twin-out, .bfk-twin-card { margin-top: 4px; }
.bfk-twin-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); background: var(--paper); }
.bfk-twin-card:hover { border-color: var(--accent-deep); }
.bfk-twin-card strong { font-family: var(--serif); font-size: 17px; }
.bfk-twin-card span { color: var(--muted); font-size: 13px; }
.bfk-fresh-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.bfk-fresh-btn { border: 1px solid var(--line); background: var(--cream); border-radius: 8px; padding: 8px 12px; font-size: 13px; cursor: pointer; }
.bfk-fresh-btn:hover { background: var(--accent); color: var(--accent-text); }
.bfk-insight-sum { font-family: var(--serif); font-size: 17px; line-height: 1.45; margin: 4px 0 12px; }
.bfk-insight-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bfk-insight-chip { border-radius: 999px; padding: 5px 11px; font-size: 13px; text-transform: capitalize; border: 1px solid var(--line); }
.bfk-insight-chip.pos { background: #eaf6ee; color: #1e6b3a; border-color: #cfe8d7; }
.bfk-insight-chip.neg { background: #fbeceb; color: #a1362c; border-color: #f0d2ce; }
.bfk-listfollow { margin-top: 12px; }
.bfk-c35-account { display: grid; gap: 16px; margin-top: 24px; }
.bfk-impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bfk-impact-stat { text-align: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.bfk-impact-stat strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--accent-deep); }
.bfk-impact-stat span { font-size: 12px; color: var(--muted); }
.l-list-head { margin-top: 8px; }
.l-desc { font-size: 16px; color: var(--muted); max-width: 60ch; margin-top: 6px; }
.l-items { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; counter-reset: none; }
.l-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.l-rank { font-family: var(--serif); font-size: 22px; color: var(--accent-deep); min-width: 28px; }
.l-name { font-family: var(--serif); font-size: 20px; color: var(--ink); text-decoration: none; }
.l-name:hover { color: var(--accent-deep); }
.l-meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.l-note { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.l-rat { color: var(--accent-deep); }
@media (max-width: 640px) {
  .bfk-impact-grid { grid-template-columns: repeat(2, 1fr); }
  .bfk-c35-actions { flex-direction: column; align-items: stretch; }
}
