/* ============================================================================
 * BonsTimes design system
 * Locked direction: Craigslist density + warm Mardi Gras palette as accents.
 * All views pull from this single file — when this changes, the site changes.
 * ============================================================================ */

:root {
  --bg:         #FFFEF8;
  --surface:    #FFFFFF;
  --ink:        #1A1208;
  --ink-soft:   #5A4B3A;
  --rule:       #EFE5D0;
  --navy:       #0A1133;
  --purple:     #6B1EAB;
  --green:      #28A745;
  --gold:       #FFC107;
  --gold-soft:  #FFF3CD;
  --purple-soft:#EFE0FA;
  --green-soft: #D6F1DC;
  --mg-gradient: linear-gradient(to right,
    var(--purple) 0%, var(--purple) 33%,
    var(--green)  33%, var(--green)  66%,
    var(--gold)   66%, var(--gold)   100%);
}

/* ============================================================================
 * Reset + base typography
 * ============================================================================ */
* { box-sizing: border-box; }
html { font-size: 15px; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, "Helvetica Neue", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.45;
  margin: 0; padding: 0;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple); }
button, input, select, textarea { font: inherit; color: inherit; }

/* ============================================================================
 * Top navbar + signature Mardi Gras rule
 * ============================================================================ */
.bt-top {
  background: var(--navy); color: #fff;
  padding: .55rem 1.25rem;
  display: flex; align-items: center; gap: 1.25rem;
}
.bt-top a { color: #fff; }
.bt-top a:hover { color: var(--gold); }

.bt-logo {
  font-weight: 800; font-size: 1.2rem;
  display: inline-flex; align-items: center; gap: .55rem;
  color: #fff; text-decoration: none;
}
.bt-logo:hover { color: #fff; }
.bt-logo img { height: 38px; width: auto; display: block; }
.bt-logo .wordmark { display: inline-flex; align-items: baseline; }
.bt-logo .accent { color: var(--gold); }

.bt-nav { display: flex; gap: 1rem; font-size: .95rem; }
.bt-nav a { color: #fff; padding: .25rem .35rem; text-decoration: none; }
.bt-nav a:hover, .bt-nav a.active { color: var(--gold); }

.bt-sign-in {
  background: var(--gold); color: var(--ink) !important;
  padding: .4rem .95rem; border-radius: 4px;
  font-weight: 800; font-size: .9rem; text-decoration: none;
}
.bt-sign-in:hover { filter: brightness(1.05); }

.bt-city-pill {
  background: rgba(255,255,255,.1); padding: .35rem .7rem; border-radius: 999px;
  font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none;
}
.bt-city-pill:hover { background: rgba(255,255,255,.16); color: #fff; }

.bt-search {
  flex: 1; max-width: 520px; display: flex;
  background: #fff; border-radius: 6px; overflow: hidden;
}
.bt-search input {
  flex: 1; padding: .5rem .75rem; border: none; outline: none;
  font: inherit; color: var(--ink);
}
.bt-search button {
  background: var(--gold); border: none; color: var(--ink);
  padding: 0 1rem; font-weight: 800; cursor: pointer; font-size: .9rem;
}

.bt-mg-rule {
  height: 4px; width: 100%; background: var(--mg-gradient);
}

/* ============================================================================
 * Breadcrumb
 * ============================================================================ */
.bt-crumbs {
  background: var(--surface); border-bottom: 1px solid var(--rule);
  padding: .55rem 1.25rem; font-size: .85rem; color: var(--ink-soft);
}
.bt-crumbs a { color: var(--purple); font-weight: 600; text-decoration: none; }
.bt-crumbs a:hover { text-decoration: underline; }
.bt-crumbs .sep { margin: 0 .4rem; color: var(--rule); }
.bt-crumbs .here { color: var(--ink); font-weight: 700; }

/* "It looks like you are near: <City>" nudge. Rendered by NearYouBanner view
 * component on Location/* pages; suppressed when the user is already on the
 * detected city's own dashboard. */
.bt-near-you {
  background: linear-gradient(90deg, rgba(107,30,171,.07), rgba(40,167,69,.07));
  border-bottom: 1px solid var(--rule);
  padding: .5rem 1.25rem; font-size: .9rem; color: var(--ink-soft);
  display: flex; align-items: center; gap: .5rem;
}
.bt-near-you-label { font-weight: 500; }
.bt-near-you-link {
  color: var(--purple); font-weight: 700; text-decoration: none;
}
.bt-near-you-link:hover { text-decoration: underline; }

/* ============================================================================
 * Hero (city, state, country, continent)
 *   .bt-hero          — wrapper, default 280px
 *   .bt-hero--medium  — 240px (continents)
 *   .bt-hero--short   — 200px (profile banner / minor pages)
 * ============================================================================ */
.bt-hero {
  position: relative; height: 280px; overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.bt-hero--medium { height: 240px; }
.bt-hero--short { height: 200px; }

.bt-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
}
.bt-hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,17,51,.15) 0%,
    rgba(10,17,51,.65) 65%,
    rgba(10,17,51,.85) 100%);
}
.bt-hero-content {
  position: absolute; inset: auto 0 0 0;
  padding: 1.5rem 1.25rem 1.25rem;
  color: #fff;
  max-width: 1100px; margin: 0 auto; left: 50%; transform: translateX(-50%); width: 100%;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.bt-hero h1 {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -.015em;
  line-height: 1.05; margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.bt-hero .sub {
  font-size: .95rem; opacity: .92; margin-top: .25rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.bt-hero-right { display: flex; gap: .5rem; flex-wrap: wrap; align-items: stretch; }
.bt-hero .stats {
  display: flex; gap: 1.1rem; align-items: center;
  background: rgba(0,0,0,.42); backdrop-filter: blur(6px);
  padding: .55rem .9rem; border-radius: 6px; font-size: .85rem; color: #fff;
}
.bt-hero .stats .num {
  font-size: 1.15rem; font-weight: 800; color: var(--gold);
  display: block; line-height: 1.1;
}
.bt-hero .stats .lbl { opacity: .88; }
.bt-hero .weather {
  background: rgba(0,0,0,.42); backdrop-filter: blur(6px);
  padding: .55rem .9rem; border-radius: 6px;
  display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: #fff;
}
.bt-hero .weather .icon { font-size: 1.6rem; }
.bt-hero .weather .temp { font-weight: 800; }
.bt-hero .weather .cond { font-size: .78rem; opacity: .88; }

@media (max-width: 700px) {
  .bt-hero { height: 220px; }
  .bt-hero h1 { font-size: 1.5rem; }
  .bt-hero-content { flex-direction: column; align-items: flex-start; }
}

/* ============================================================================
 * Hero band (no photo — gradient header for World view)
 * ============================================================================ */
.bt-hero-band {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: #fff; padding: 1.5rem 1.25rem; text-align: center;
}
.bt-hero-band h1 {
  font-size: 2rem; font-weight: 800; letter-spacing: -.015em; margin: 0;
}
.bt-hero-band .sub { opacity: .9; font-size: .95rem; margin-top: .35rem; }
.bt-hero-band .stats-row {
  display: inline-flex; gap: 1.5rem; margin-top: .85rem;
  background: rgba(0,0,0,.18); padding: .55rem 1.1rem; border-radius: 999px;
}
.bt-hero-band .stats-row .stat { font-size: .85rem; }
.bt-hero-band .stats-row .num {
  color: var(--gold); font-weight: 800; font-size: 1.05rem; margin-right: .2rem;
}

/* ============================================================================
 * Page container
 * ============================================================================ */
.bt-main {
  max-width: 1100px; margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
}

/* ============================================================================
 * Section headings + Mardi Gras title rule
 * ============================================================================ */
.bt-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: .3rem; margin-top: 1.25rem;
}
.bt-section-head:first-child { margin-top: 0; }
.bt-section-head h2 {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -.005em; margin: 0;
}
.bt-section-head h1 {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; margin: 0;
}
.bt-section-head .hint, .bt-section-head .count {
  color: var(--ink-soft); font-size: .85rem;
}
.bt-section-head .more { color: var(--purple); font-weight: 600; font-size: .85rem; }
.bt-title-mg-rule {
  height: 4px; background: var(--mg-gradient);
  margin: 0 0 .85rem; max-width: 200px; border-radius: 2px;
}

/* Featured strip flag */
.bt-featured-head {
  display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem;
}
.bt-featured-head .mg-flag {
  width: 36px; height: 8px; background: var(--mg-gradient); border-radius: 2px;
}
.bt-featured-head h2 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink); font-weight: 800; margin: 0;
}

/* ============================================================================
 * Chips + filter bar
 * ============================================================================ */
.bt-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .7rem; border: 1.5px solid var(--rule); border-radius: 999px;
  background: #fff; cursor: pointer; font-weight: 600; color: var(--ink); font-size: .85rem;
  text-decoration: none;
}
.bt-chip:hover { border-color: var(--purple); color: var(--ink); }
.bt-chip.active {
  background: var(--purple); border-color: var(--purple); color: #fff;
}

.bt-filters {
  background: var(--surface); border-bottom: 1px solid var(--rule);
  padding: .65rem 1.25rem; display: flex; gap: .55rem; flex-wrap: wrap; align-items: center;
  font-size: .85rem;
}
.bt-filters .label { color: var(--ink-soft); margin-right: .25rem; font-weight: 600; }
.bt-filters .spacer { flex: 1; }
.bt-filters select, .bt-filters input[type=text] {
  padding: .3rem .55rem; border: 1.5px solid var(--rule); border-radius: 4px;
  background: #fff; font: inherit; color: var(--ink); font-weight: 500; font-size: .85rem;
}

/* ============================================================================
 * Buttons
 * ============================================================================ */
.bt-btn-primary {
  display: inline-block; background: var(--gold); color: var(--ink) !important;
  padding: .55rem 1.1rem; border-radius: 4px; border: none;
  font-weight: 800; cursor: pointer; font-size: .9rem; text-decoration: none;
  text-align: center;
}
.bt-btn-primary:hover { filter: brightness(1.05); }

.bt-btn-secondary {
  display: inline-block; background: #fff; color: var(--ink) !important;
  padding: .5rem .9rem; border-radius: 4px; border: 1.5px solid var(--rule);
  font-weight: 700; cursor: pointer; font-size: .9rem; text-decoration: none;
  text-align: center;
}
.bt-btn-secondary:hover { border-color: var(--purple); color: var(--purple) !important; }

.bt-btn-block { display: block; width: 100%; }

/* ============================================================================
 * Featured cards (small, 240px wide — for "Featured this week" strips)
 * ============================================================================ */
.bt-featured {
  display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .5rem;
  scrollbar-width: thin;
}
.bt-feat-card {
  flex: 0 0 220px; background: var(--surface); border: 1.5px solid var(--rule);
  border-radius: 6px; overflow: hidden; cursor: pointer;
  transition: transform .12s, box-shadow .12s; text-decoration: none; color: inherit;
  display: block;
}
.bt-feat-card:hover {
  transform: translateY(-2px); box-shadow: 0 6px 16px rgba(107,30,171,.12); color: inherit;
}
.bt-feat-card .thumb {
  height: 100px; background-size: cover; background-position: center;
  background-color: var(--purple-soft);
}
.bt-feat-card .body { padding: .55rem .7rem; }
.bt-feat-card .title { font-weight: 800; font-size: .95rem; line-height: 1.25; margin-bottom: .2rem; }
.bt-feat-card .meta { font-size: .78rem; color: var(--ink-soft); }

/* ============================================================================
 * Event list rows (dense, Craigslist-style)
 * ============================================================================ */
.bt-events-list {
  background: var(--surface); border: 1.5px solid var(--rule);
  border-radius: 6px; overflow: hidden;
}
.bt-event-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: .9rem; padding: .75rem 1rem; align-items: center;
  border-bottom: 1px solid var(--rule);
  cursor: pointer; position: relative;
  text-decoration: none; color: inherit;
}
.bt-event-row:last-child { border-bottom: none; }
.bt-event-row:hover { background: #FFFCF0; color: inherit; }
.bt-event-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: transparent; transition: background .15s;
}
.bt-event-row:hover::before { background: var(--gold); }
.bt-event-row .thumb {
  width: 70px; height: 70px; border-radius: 4px;
  background: var(--purple-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  background-size: cover; background-position: center;
}
.bt-event-row .thumb.music { background-color: var(--purple-soft); }
.bt-event-row .thumb.food  { background-color: var(--gold-soft); }
.bt-event-row .thumb.sport { background-color: var(--green-soft); }
.bt-event-row .thumb.arts  { background-color: var(--purple-soft); }
.bt-event-row .info .title { font-weight: 700; font-size: 1rem; margin-bottom: .15rem; line-height: 1.3; }
.bt-event-row .info .org { font-size: .85rem; color: var(--ink-soft); margin-bottom: .25rem; }
.bt-event-row .info .org .verified {
  color: var(--green); font-weight: 700; margin-left: .15rem;
}
.bt-event-row .info .row2 {
  font-size: .82rem; color: var(--ink-soft);
  display: flex; gap: .85rem; flex-wrap: wrap; align-items: center;
}
.bt-event-row .info .row2 .cat {
  background: var(--purple); color: #fff;
  padding: .1rem .6rem; border-radius: 999px; font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .03em;
}
.bt-event-row .info .row2 .price-free { color: var(--green); font-weight: 800; }
.bt-event-row .info .row2 .price { font-weight: 800; color: var(--ink); }
.bt-event-row .save {
  background: none; border: 1.5px solid var(--rule); border-radius: 4px;
  padding: .35rem .6rem; cursor: pointer; font-size: 1rem; color: var(--ink-soft);
}
.bt-event-row .save:hover { color: var(--gold); border-color: var(--gold); }
.bt-event-row .save.saved { color: var(--gold); border-color: var(--gold); background: var(--gold-soft); }

/* ============================================================================
 * Category cards (city landing — "What's happening" section)
 * ============================================================================ */
.bt-cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .85rem;
}
.bt-cat-card {
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: 6px;
  overflow: hidden;
}
.bt-cat-card.muted { opacity: .55; }
.bt-cat-card-head {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .8rem; border-bottom: 1px solid var(--rule);
  background: #FFFCF0;
}
.bt-cat-card-head .icon { font-size: 1.1rem; }
.bt-cat-card-head h3 {
  font-size: .95rem; font-weight: 800; flex: 1; letter-spacing: -.003em; margin: 0;
}
.bt-cat-card-head .count {
  font-size: .72rem; background: var(--purple-soft); color: var(--purple);
  padding: .1rem .55rem; border-radius: 999px; font-weight: 700;
}
.bt-cat-card.muted .bt-cat-card-head .count { background: #EDE7DC; color: var(--ink-soft); }
.bt-cat-list { list-style: none; margin: 0; padding: 0; }
.bt-cat-list li { border-bottom: 1px solid #F4EFE2; }
.bt-cat-list li:last-child { border-bottom: none; }
.bt-cat-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem .8rem; font-size: .9rem; text-decoration: none; color: inherit;
}
.bt-cat-list a:hover { background: #FFFCF0; color: var(--ink); }
.bt-cat-list .ttl {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-right: .75rem; font-weight: 500;
}
.bt-cat-list .dt { color: var(--purple); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.bt-cat-empty {
  padding: .8rem; color: var(--ink-soft); font-style: italic; text-align: center;
  font-size: .85rem;
}

/* ============================================================================
 * Generic content "panel" with header
 * ============================================================================ */
.bt-panel {
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: 6px;
  overflow: hidden;
}
.bt-panel-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .75rem 1rem; border-bottom: 1px solid var(--rule); background: #FFFCF0;
}
.bt-panel-head h2 {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-soft); font-weight: 800; margin: 0;
}
.bt-panel-head a { color: var(--purple); font-size: .8rem; font-weight: 600; text-decoration: none; }

.bt-section-box {
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: 6px;
  padding: 1.25rem; margin-bottom: 1rem;
}
.bt-section-box h2 {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-soft); font-weight: 700; margin-bottom: .75rem;
}
.bt-section-box p { margin-bottom: .65rem; }
.bt-section-box p:last-child { margin-bottom: 0; }

/* ============================================================================
 * Country / city / state cards (drill-down levels)
 * ============================================================================ */
.bt-country-grid, .bt-city-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .85rem;
}
.bt-country-card, .bt-city-card {
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: 6px;
  overflow: hidden; transition: transform .12s, box-shadow .12s;
  cursor: pointer; display: flex; text-decoration: none; color: inherit;
}
.bt-country-card:hover, .bt-city-card:hover {
  transform: translateY(-2px); box-shadow: 0 6px 16px rgba(107,30,171,.12);
  border-color: var(--purple); color: inherit;
}
.bt-country-card .thumb, .bt-city-card .thumb {
  width: 100px; min-height: 100%; flex-shrink: 0;
  background-size: cover; background-position: center;
  background-color: var(--purple-soft);
}
.bt-country-card .body, .bt-city-card .body { padding: .8rem .9rem; flex: 1; }
.bt-country-card h3, .bt-city-card h3 {
  font-size: 1.05rem; font-weight: 800; margin: 0 0 .15rem; line-height: 1.2;
}
.bt-country-card .stats, .bt-city-card .stats {
  display: flex; gap: .85rem; font-size: .8rem; color: var(--ink-soft); margin-bottom: .35rem;
}
.bt-country-card .stats .num, .bt-city-card .stats .num { font-weight: 800; color: var(--ink); }
.bt-country-card .preview { display: flex; flex-wrap: wrap; gap: .25rem; font-size: .72rem; }
.bt-city-chip {
  background: var(--purple-soft); color: var(--purple);
  padding: .1rem .5rem; border-radius: 999px; font-weight: 600; font-size: .72rem;
}
.bt-city-chip.more { background: transparent; color: var(--ink-soft); }
.bt-city-card .county { font-size: .78rem; color: var(--ink-soft); margin-bottom: .35rem; }
.bt-city-card .badge {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-size: .65rem; font-weight: 800;
  padding: .1rem .45rem; border-radius: 3px; text-transform: uppercase;
  letter-spacing: .04em; margin-left: .25rem;
}

/* State grid — denser since there are 50 */
.bt-state-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .5rem;
}
.bt-state-card {
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: 4px;
  padding: .55rem .75rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .92rem; text-decoration: none; color: var(--ink);
}
.bt-state-card:hover { border-color: var(--purple); background: #FFFCF0; color: var(--ink); }
.bt-state-card.has-events {
  border-left: 3px solid var(--green); padding-left: calc(.75rem - 3px);
}
.bt-state-card.no-events { opacity: .55; }
.bt-state-card .name { font-weight: 700; }
.bt-state-card .ct {
  background: var(--purple-soft); color: var(--purple);
  font-size: .72rem; font-weight: 700; padding: .08rem .5rem; border-radius: 999px;
}
.bt-state-card.no-events .ct { background: #EDE7DC; color: var(--ink-soft); }
.bt-state-section-letter {
  font-size: 1.5rem; font-weight: 800; color: var(--purple);
  margin: 1rem 0 .5rem; letter-spacing: -.01em;
}
.bt-state-section-letter:first-child { margin-top: 0; }

/* ============================================================================
 * Map card wrapper
 * ============================================================================ */
.bt-map-card {
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: 8px;
  overflow: hidden; margin-bottom: 1.5rem;
}
.bt-map-card .map { height: 540px; background: #EEF3F7; }
.bt-map-card .map-footer {
  padding: .55rem 1rem; font-size: .8rem; color: var(--ink-soft);
  border-top: 1px solid var(--rule); background: #FFFCF0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
}

/* Continent markers as Leaflet divIcons.
   Rendered as an <a> so middle-click and right-click "open in new tab" work,
   in addition to the Leaflet marker click handler. */
.bt-cont-marker {
  background: var(--surface); border: 2px solid var(--gold); border-radius: 999px;
  padding: .3rem .75rem; font-weight: 700; font-size: .82rem; color: var(--ink);
  box-shadow: 0 3px 10px rgba(0,0,0,.15); cursor: pointer; white-space: nowrap;
  transition: transform .12s, box-shadow .12s, background .12s;
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: inline-flex; align-items: center; text-decoration: none;
}
.bt-cont-marker:hover {
  background: var(--gold); color: var(--ink); transform: translateX(-50%) scale(1.06);
  box-shadow: 0 5px 14px rgba(0,0,0,.25); z-index: 2000 !important;
}
.bt-cont-marker .ct {
  background: var(--purple); color: #fff; font-size: .7rem; font-weight: 700;
  margin-left: .35rem; padding: .05rem .4rem; border-radius: 999px;
}
.bt-cont-marker:hover .ct { background: var(--navy); }
.bt-cont-marker .pin {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 10px solid var(--gold);
}
.leaflet-div-icon.bt-cont-icon {
  background: transparent; border: none; overflow: visible; pointer-events: none;
}
.leaflet-div-icon.bt-cont-icon .bt-cont-marker { pointer-events: auto; }

/* ============================================================================
 * Alpha banner + footer
 * ============================================================================ */
.bt-alpha {
  background: var(--gold); border-top: 4px solid var(--ink);
  padding: .55rem 1.25rem; font-size: .9rem; text-align: center;
  color: var(--ink); font-weight: 600;
}
.bt-alpha code { background: rgba(0,0,0,.1); padding: .05rem .35rem; border-radius: 3px; }
.bt-alpha a { color: var(--purple); text-decoration: underline; }

.bt-footer { background: var(--navy); color: #cfd1de; }
.bt-footer .content { padding: 1.5rem 1.25rem; font-size: .85rem; text-align: center; }
.bt-footer a { color: var(--gold); font-weight: 700; text-decoration: none; }
.bt-footer a:hover { text-decoration: underline; color: var(--gold); }

/* ============================================================================
 * Pagination
 * ============================================================================ */
.bt-pagination {
  display: flex; justify-content: center; gap: .35rem; margin-top: 1.25rem;
}
.bt-pagination a {
  padding: .35rem .8rem; border: 1.5px solid var(--rule); border-radius: 4px;
  background: #fff; font-size: .9rem; font-weight: 600;
  text-decoration: none; color: var(--ink);
}
.bt-pagination a.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.bt-pagination a:hover:not(.current) { border-color: var(--purple); color: var(--purple); }

/* ============================================================================
 * Forum thread rows
 * ============================================================================ */
.bt-threads {
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: 6px; overflow: hidden;
}
.bt-thread-row {
  display: grid;
  grid-template-columns: 40px 1fr 90px 110px;
  gap: .9rem; padding: .7rem 1rem; align-items: center;
  border-bottom: 1px solid var(--rule); cursor: pointer; position: relative;
  text-decoration: none; color: inherit;
}
.bt-thread-row:last-child { border-bottom: none; }
.bt-thread-row:hover { background: #FFFCF0; color: inherit; }
.bt-thread-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: transparent; transition: background .15s;
}
.bt-thread-row:hover::before { background: var(--gold); }
.bt-thread-row.pinned::before { background: var(--purple); }
.bt-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .8rem;
}

/* ============================================================================
 * Profile page (organizer / user)
 * ============================================================================ */
.bt-profile-banner {
  position: relative; height: 200px; overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.bt-profile-banner .img {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--purple) 0%, var(--navy) 60%, var(--green) 100%);
  background-size: cover; background-position: center;
}
.bt-profile-banner .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.5));
}
.bt-profile-main {
  max-width: 1100px; margin: -65px auto 0; padding: 0 1.25rem 4rem;
  position: relative; z-index: 2;
}
.bt-profile-card {
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: 8px;
  padding: 1.25rem; margin-bottom: 1rem;
  display: flex; gap: 1.25rem; align-items: flex-start; flex-wrap: wrap;
}
.bt-avatar-big {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: #fff; font-weight: 800;
  border: 4px solid var(--surface); margin-top: -55px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15); flex-shrink: 0;
}
.bt-verified-badge {
  background: var(--green-soft); color: var(--green);
  font-size: .72rem; font-weight: 700;
  padding: .12rem .55rem; border-radius: 999px;
}
.bt-org-badge {
  background: var(--gold-soft); color: var(--ink);
  font-size: .72rem; font-weight: 700;
  padding: .12rem .55rem; border-radius: 999px;
}

/* ============================================================================
 * Content-blocked banner — shown above a Create/Edit form when the user's
 * submission tripped the content-safety filter. The "Request human review"
 * button is intentionally disabled in alpha; the queue ships in a later release.
 * ============================================================================ */
.bt-blocked-banner {
  background: #FFF5F5; border: 1.5px solid #E5484D; border-radius: 8px;
  padding: 1rem 1.25rem; margin-bottom: 1.25rem; color: var(--ink);
}
.bt-blocked-banner-head {
  display: flex; gap: .85rem; align-items: flex-start; margin-bottom: .85rem;
}
.bt-blocked-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.bt-blocked-banner h3 {
  font-size: 1.05rem; font-weight: 800; margin: 0 0 .2rem;
  color: #B0282D;
}
.bt-blocked-sub { font-size: .9rem; margin: 0; color: var(--ink); }
.bt-blocked-categories {
  background: #fff; border: 1px solid #F4C2C2; border-radius: 6px;
  padding: .65rem .9rem; margin-bottom: .85rem; font-size: .9rem;
}
.bt-blocked-categories-head {
  font-weight: 700; color: var(--ink-soft); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem;
}
.bt-blocked-categories ul { margin: 0; padding-left: 1.1rem; }
.bt-blocked-categories li { margin: .2rem 0; }
.bt-blocked-categories .explain { color: var(--ink-soft); font-size: .85rem; }
.bt-blocked-actions {
  display: flex; gap: .55rem; align-items: center; flex-wrap: wrap;
  margin-bottom: .65rem;
}
.bt-blocked-appeal:disabled,
.bt-blocked-appeal[aria-disabled="true"] {
  opacity: .55; cursor: not-allowed;
  background: #fff !important; color: var(--ink-soft) !important;
  border-color: var(--rule) !important;
}
.bt-blocked-appeal:disabled:hover,
.bt-blocked-appeal[aria-disabled="true"]:hover {
  border-color: var(--rule) !important; color: var(--ink-soft) !important;
}
.bt-blocked-appeal .bt-soon {
  background: var(--gold-soft); color: var(--ink);
  font-size: .65rem; font-weight: 800; padding: .05rem .4rem;
  border-radius: 3px; margin-left: .35rem; text-transform: uppercase;
  letter-spacing: .04em;
}
.bt-blocked-help {
  font-size: .82rem; color: var(--purple); margin-left: auto; font-weight: 600;
  text-decoration: underline;
}
.bt-blocked-details {
  margin-top: .5rem; font-size: .82rem; color: var(--ink-soft);
}
.bt-blocked-details summary { cursor: pointer; user-select: none; }
.bt-blocked-tech {
  margin-top: .5rem; padding: .6rem .8rem; background: #fff;
  border: 1px solid var(--rule); border-radius: 4px;
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace; font-size: .78rem;
  display: grid; gap: .25rem;
}
.bt-blocked-disclaimer {
  margin-top: .5rem; font-family: inherit; color: var(--ink-soft); font-size: .8rem;
}

/* ============================================================================
 * Misc utility / sister cities footer
 * ============================================================================ */
.bt-sister-cities {
  background: var(--surface); border: 1.5px solid var(--rule); border-radius: 6px;
  padding: 1rem; margin-top: 1.5rem;
}
.bt-sister-cities h3 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-soft); margin-bottom: .5rem; font-weight: 700;
}
.bt-sister-cities .cities { display: flex; flex-wrap: wrap; gap: .35rem; }
.bt-sister-cities .city-link {
  padding: .3rem .65rem; border: 1.5px solid var(--rule); border-radius: 999px;
  font-size: .85rem; background: #fff; text-decoration: none; color: var(--ink);
}
.bt-sister-cities .city-link:hover {
  border-color: var(--purple); background: var(--purple-soft); color: var(--purple);
}
