.site-header {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  padding-top: env(safe-area-inset-top);
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-hairline);
  position: sticky;
  top: 0;
  z-index: 5;
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--accent-pride-gradient);
}
.brand { font-weight: 700; letter-spacing: -0.03em; text-decoration: none; font-size: 1.05rem; line-height: 1.15; }
.jobs-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink-primary);
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.15;
  white-space: nowrap;
}
.jobs-link img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.jobs-link span { display: block; }
.search { flex: 1; max-width: 560px; margin: 0 auto; }
.search input, .admin-login input, .admin-meta textarea, .admin-meta select, .admin-filters select, .claim-form input, .claim-form select, .claim-form textarea {
  width: 100%;
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 16px;
}
.claim-form { display: grid; gap: 12px; max-width: 36rem; }
.claim-form textarea { border-radius: 16px; }
.claim-form button, .claim-form label { display: grid; gap: 4px; }
.claim-form button { width: fit-content; background: var(--accent-primary); color: var(--ink-on-accent); border: 0; border-radius: 999px; padding: 10px 18px; }
.form-error { color: var(--danger); }
.hint { color: var(--ink-muted); font-size: 0.85rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.search-panel[hidden], .touch-preview[hidden], .uk-back[hidden], .filter-bar [hidden], .venue-card[hidden] { display: none !important; }
.search-panel {
  position: sticky;
  top: var(--header);
  z-index: 6;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
  padding: 8px clamp(16px, 3vw, 32px) 16px;
}
.search-panel a { display: block; text-decoration: none; padding: 8px 0; }
.search-panel a strong { display: block; }
.ghost {
  text-decoration: none;
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
  background: var(--bg-surface);
}
.site-footer {
  padding: var(--space-section) clamp(16px, 3vw, 32px);
  color: var(--ink-muted);
  display: grid;
  gap: 12px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--ink-secondary); }
.theme-switch { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.theme-switch span { margin-right: 4px; }
.theme-switch button {
  border: 1px solid var(--border-hairline);
  background: transparent;
  color: var(--ink-secondary);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}
.theme-switch button.is-on { background: var(--accent-primary); color: var(--ink-on-accent); border-color: var(--accent-primary); }

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--header) - env(safe-area-inset-top));
  background: var(--bg-subtle);
}
.stage > .map-frame { flex: 1; min-height: calc(100dvh - var(--header) - var(--filter-bar) - 56px - env(safe-area-inset-top)); }
.map-frame { min-height: 280px; background: var(--bg-subtle); }
.band { padding: var(--space-section) clamp(16px, 3vw, 32px); }
.band-head { max-width: 46rem; margin-bottom: 28px; }
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.city-tile {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-subtle);
  aspect-ratio: 4 / 3;
}
.city-tile img, .tile-fallback { width: 100%; height: 100%; object-fit: cover; }
.tile-fallback { display: block; background: var(--bg-subtle); }
.tile-copy {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(20, 20, 22, 0.72);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  backdrop-filter: blur(8px);
}
.tile-copy strong, .tile-copy em { display: block; font-style: normal; }
.tile-copy em { color: rgba(255, 255, 255, 0.86); font-size: 0.85rem; }
.az { columns: 4; padding: 0; margin: 0 0 24px; list-style: none; }
.az li { break-inside: avoid; padding: 4px 0; }
.az span { color: var(--ink-muted); }

.city-head, .venue { padding: 28px clamp(16px, 3vw, 32px) 0; }
.kicker { color: var(--ink-muted); margin: 0 0 8px; }
.city-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 0 72px;
}
.city-list { display: grid; gap: 10px; padding: 4px 12px 0; align-content: start; }
.map-sticky { height: calc(100dvh - var(--header) - var(--filter-bar) - 72px); border-radius: 0; overflow: hidden; }
.view-toggle {
  display: flex;
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: var(--ink-on-accent);
  border-radius: 999px;
  overflow: hidden;
  z-index: 6;
  box-shadow: var(--shadow-float);
}
.view-toggle button { background: transparent; color: inherit; border: 0; padding: 10px 18px; }
.view-toggle button.is-on { background: var(--bg-canvas); color: var(--ink-primary); }
.stage.is-list > .map-frame, .stage.is-list .uk-back, .stage.is-map .home-list { display: none; }
.city-layout.is-list .city-map, .city-layout.is-map .city-list { display: none; }
.home-list { display: grid; gap: 10px; padding: 12px 12px 88px; align-content: start; }
.home-list[hidden] { display: none !important; }

.triptych {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.9fr;
  gap: 18px;
  margin-top: 18px;
}
.triptych.is-two { grid-template-columns: 1.3fr 1fr; }
.triptych.is-map-only { grid-template-columns: minmax(0, 720px); }
.shot, .shot-open, .map-card { margin: 0; }
.shot img, .shot-open img, .map-card .map-frame {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--bg-subtle);
}
.shot-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.map-card { position: relative; }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.venue-body {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap: 32px;
  padding: 28px 0 48px;
}
.facts { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-card); padding: 20px; }
.hours { width: 100%; border-collapse: collapse; margin: 12px 0; }
.hours th { text-align: left; font-weight: 600; color: var(--ink-primary); padding: 4px 12px 4px 0; }
.hours td { color: var(--ink-secondary); }
.prose { max-width: 68ch; }
.legal { padding: var(--space-section) clamp(16px, 3vw, 32px) 64px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nearby { padding: 0; list-style: none; }
.nearby li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border-hairline); }
.credit, .empty-note { color: var(--ink-muted); }
.sister-note { color: var(--ink-muted); font-size: 0.9rem; }
.city-list .sister-note { margin: 1rem 0 0; }

.drawer {
  --type-color: var(--pin-bar);
  inset: 0;
  width: min(980px, calc(100vw - 48px));
  max-width: none;
  height: min(880px, calc(100dvh - 48px));
  max-height: none;
  margin: auto;
  border: 0;
  border-radius: var(--radius-frame);
  padding: 0;
  overflow: hidden;
  background: var(--bg-canvas);
  box-shadow: 0 30px 80px rgba(20, 20, 22, 0.28);
}
.drawer[open] { display: flex; flex-direction: column; }
.drawer:focus, .drawer:focus-visible { outline: none; }
.drawer::backdrop { background: rgba(20, 20, 22, 0.45); backdrop-filter: blur(2px); }
.drawer-bar { flex: none; height: 3px; background: var(--accent-pride-gradient); }
.drawer-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 28px 32px; }
.drawer-body.type-club { --type-color: var(--pin-club); }
.drawer-body.type-cabaret { --type-color: var(--pin-cabaret); }
.drawer-body.type-event { --type-color: var(--pin-event); }
.drawer-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -28px;
  padding: 22px 28px 16px;
  background: color-mix(in srgb, var(--bg-canvas) 94%, transparent);
  backdrop-filter: blur(10px);
}
.drawer-titles { min-width: 0; display: grid; gap: 4px; }
.drawer-head h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); overflow-wrap: anywhere; }
.drawer-head .card-kind { font-size: 13px; }
.drawer-head .card-kind::before { background: var(--type-color); }
.drawer-head .open-state { margin: 0; font-size: 0.95rem; }
.drawer-close {
  flex: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--ink-primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.drawer-close:hover { background: var(--hover-fill); }
.drawer-grab { display: none; }
.drawer-media { display: grid; gap: 10px; grid-template-columns: 1fr 1fr 0.9fr; grid-auto-rows: 230px; }
.drawer-media.is-1 { grid-template-columns: 1.4fr 1fr; grid-auto-rows: 280px; }
.drawer-media.is-0 { grid-template-columns: 1fr; grid-auto-rows: 260px; }
.drawer-media > *, .drawer-media .shot-open { height: 100%; }
.drawer-media .shot img, .drawer-media .map-frame { height: 100%; min-height: 0; aspect-ratio: auto; border-radius: 14px; }
.drawer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 28px; margin-top: 24px; align-items: start; }
.drawer-main { display: grid; gap: 14px; min-width: 0; }
.drawer-main > * { margin: 0; }
.drawer-lede { font-size: 1.02rem; line-height: 1.6; color: var(--ink-secondary); }
.drawer-main .tags { margin: 0; }
.drawer-label { margin: 8px 0 0; font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.drawer-facts .drawer-label:first-child { margin-top: 0; }
.drawer-main .hours { margin: 0; font-size: 0.92rem; }
.drawer-main .hours th, .drawer-main .hours td { padding: 6px 12px 6px 0; border-bottom: 1px solid var(--border-hairline); vertical-align: top; }
.drawer-main .hours tr:last-child th, .drawer-main .hours tr:last-child td { border-bottom: 0; }
.drawer-main .hours th { font-weight: 500; width: 9em; }
.drawer-main .hours tr.is-today th, .drawer-main .hours tr.is-today td { color: var(--ink-primary); font-weight: 700; }
.drawer-facts {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
}
.drawer-facts > * { margin: 0; }
.drawer-address { color: var(--ink-primary); line-height: 1.45; }
.drawer-facts .chip-row a, .drawer-facts .chip-row button { font-size: 0.85rem; padding: 6px 12px; color: var(--ink-primary); cursor: pointer; }
.drawer-facts .chip-row a:hover, .drawer-facts .chip-row button:hover { background: var(--hover-fill); }
.drawer-nearby { list-style: none; padding: 0; margin: 0; }
.drawer-nearby li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--border-hairline); font-size: 0.9rem; }
.drawer-nearby li:last-child { border-bottom: 0; }
.drawer-nearby a { color: var(--ink-primary); text-decoration: none; font-weight: 600; }
.drawer-nearby a:hover { text-decoration: underline; }
.drawer-nearby span { color: var(--ink-muted); white-space: nowrap; }
.drawer-foot { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--border-hairline); font-size: 0.88rem; }
.drawer-foot a { color: var(--ink-secondary); }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 92vw;
}
.lightbox img { max-height: 86vh; border-radius: var(--radius-card); }
.lightbox::backdrop { background: rgba(20, 20, 22, 0.82); }
.lightbox-close { position: fixed; top: 16px; right: 16px; }

@media (max-width: 959px) {
  :root { --header: 104px; }
  .site-header { height: var(--header); flex-wrap: wrap; align-content: center; gap: 8px 10px; padding-bottom: 6px; }
  .brand { flex: 1 1 0; min-width: 0; font-size: 1rem; text-wrap: balance; }
  .jobs-link { order: 2; flex: none; gap: 6px; font-size: 0.72rem; }
  .jobs-link img { width: 28px; height: 28px; border-radius: 7px; }
  .ghost { order: 3; flex: none; padding: 6px 12px; font-size: 0.9rem; }
  .search { order: 4; flex: 1 1 100%; max-width: none; margin: 0; }
  .search input { padding: 8px 16px; }
}
@media (max-width: 359px) {
  .site-header { gap: 8px 8px; }
  .brand { font-size: 0.88rem; }
  .jobs-link { font-size: 0.66rem; gap: 5px; }
  .jobs-link img { width: 26px; height: 26px; }
  .ghost { padding: 6px 10px; font-size: 0.85rem; }
}
@media (max-width: 959px) {
  .city-grid, .az { grid-template-columns: 1fr 1fr; columns: 2; }
  .triptych, .venue-body { grid-template-columns: 1fr; }
  .drawer {
    inset: auto 0 0 0;
    width: 100vw;
    height: 92dvh;
    margin: 0;
    border-radius: 22px 22px 0 0;
  }
  .drawer-grab { flex: none; display: block; width: 42px; height: 4px; border-radius: 999px; background: var(--border-strong); margin: 8px auto 0; }
  .drawer-body { padding: 0 16px calc(28px + env(safe-area-inset-bottom)); }
  .drawer-head { margin: 0 -16px; padding: 12px 16px 12px; }
  .drawer-media { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .drawer-media::-webkit-scrollbar { display: none; }
  .drawer-media > * { flex: 0 0 82%; height: 230px; scroll-snap-align: center; }
  .drawer-media.is-0 > * { flex-basis: 100%; }
  .drawer-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 18px; }
  .maplibregl-ctrl-bottom-left,
  .maplibregl-ctrl-bottom-right { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .uk-back { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .filter-bar::after { content: ""; flex: 0 0 28px; }
  .filter-bar {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
  }
}
@media (min-width: 960px) {
  .site-header { gap: 20px; padding: 0 clamp(16px, 3vw, 32px); }
  .stage { margin: 16px clamp(16px, 3vw, 32px) 0; min-height: 72vh; border-radius: var(--radius-frame); overflow: hidden; border: 1px solid var(--border-hairline); }
  .stage-city { overflow: visible; min-height: 0; }
  .stage > .map-frame { min-height: 64vh; }
  .filter-bar { position: absolute; z-index: 2; top: 12px; left: 12px; right: auto; max-width: calc(100% - 72px); flex-wrap: wrap; overflow: visible; border-radius: var(--radius-card); }
  .filter-bar select { max-width: 260px; }
  .stage-city .filter-bar { position: static; max-width: none; margin: 12px 12px 0; }
  .view-toggle { display: none; }
  .city-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr); padding: 16px 16px 24px; }
  .city-layout.is-list .city-map { display: block; }
  .city-layout.is-map .city-list { display: grid; }
  .city-list { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; padding: 0; }
  .city-list > .empty-note, .city-list > .sister-note { grid-column: 1 / -1; }
  .map-sticky { position: sticky; top: calc(var(--header) + 12px); height: calc(100dvh - var(--header) - 36px); border-radius: var(--radius-card); }
  .home-list { display: none !important; }
  .uk-back { top: 72px; }
  .band-head { max-width: none; }
  .band-head p { max-width: 46rem; }
  .home-title { white-space: nowrap; }
}
@media (max-width: 720px) {
  .city-grid, .az, .gallery { grid-template-columns: 1fr; columns: 1; }
}

.site-offer { font-weight: 600; }
.new-website .lede { font-size: 1.2rem; color: var(--ink-muted); }
.new-website .who { display: flex; gap: 20px; align-items: flex-start; margin: 1.2rem 0; }
.new-website .who img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
.new-website .who p { margin: 0; }
@media (max-width: 560px) { .new-website .who { flex-direction: column; } }

.own-card { display: grid; gap: 8px; margin: 14px 0; padding: 14px; border: 1px solid var(--border-hairline); border-radius: 16px; background: var(--bg-surface); }
.own-card h2 { margin: 0; font-size: 0.95rem; }
.own-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-decoration: none; text-align: center; border: 1px solid var(--border-strong); border-radius: 999px; padding: 9px 14px; color: var(--ink-primary); font-weight: 600; }
.own-link:hover { background: var(--hover-fill); }
.own-link.own-site { background: var(--accent-primary); border-color: var(--accent-primary); color: var(--ink-on-accent); }
.own-link.own-site:hover { background: var(--accent-pressed); }
.own-link.own-site span { font-weight: 500; opacity: 0.85; }

.signature-sheet { margin: 1.4rem 0; padding: 28px; border: 1px solid var(--border-hairline); border-radius: 16px; background: #fff; }
.signature-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.signature-actions button { width: fit-content; background: var(--accent-primary); color: var(--ink-on-accent); border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.signature-status { min-height: 1.5em; }
.signature-page pre { white-space: pre-wrap; background: var(--bg-subtle); border-radius: 12px; padding: 14px 16px; color: var(--ink-primary); }
.host-note { margin: 0.4rem 0 1rem; }
.hosted-events { padding: 0; margin: 0.4rem 0 1rem; list-style: none; display: grid; gap: 6px; }
.hosted-events li { display: flex; flex-wrap: wrap; column-gap: 8px; align-items: baseline; }
.hosted-events span { color: var(--ink-muted); }
