@font-face {
  font-family: "Anton";
  src: url("fonts/Anton-Regular.ttf") format("truetype");
  font-display: swap;
}
/* Energy & Vibe — brand styles. Black / gold / purple. Mobile-first. */
:root {
  --black: #0b0b0e;
  --black-2: #141419;
  --black-3: #1d1d24;
  --gold: #d4af37;
  --gold-bright: #f0c94a;
  --gold-dim: #8a6f24;
  --purple: #8b3dff;
  --purple-deep: #5b21b6;
  --text: #f5f2e9;
  --text-dim: #b9b3a5;
  --line: #2a2a33;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--gold-bright); text-decoration: none; }
a:active { opacity: .8; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: rgba(11,11,14,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand svg { width: 34px; height: 42px; flex: none; }
.brand-name {
  font-size: 1.25rem; font-weight: 800; letter-spacing: .5px;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 60%, var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.header-spacer { flex: 1; }
.header-location {
  font-size: .8rem; color: var(--text-dim);
  display: flex; align-items: center; gap: 6px;
  max-width: 38vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.header-location button {
  background: none; border: none; color: var(--gold-bright);
  font-size: .8rem; padding: 2px 4px; cursor: pointer;
}
#where-bar { margin-top: 10px; }
.where-pill {
  background: #17171d; border: 1px solid var(--gold); color: var(--text);
  border-radius: 999px; padding: 9px 16px; font-size: .9rem; font-weight: 700; cursor: pointer;
}
.auth-btn {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff; border: none; border-radius: 999px;
  padding: 8px 16px; font-size: .85rem; font-weight: 700; cursor: pointer;
}
.auth-btn.ghost { background: transparent; border: 1px solid var(--gold-dim); color: var(--gold-bright); }
.user-chip {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--text-dim);
  max-width: 40vw;
}
.user-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip button {
  background: none; border: 1px solid var(--line); color: var(--text-dim);
  border-radius: 999px; padding: 4px 10px; font-size: .75rem; cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: visible;
  min-height: 46vh; display: flex; align-items: flex-end;
  background: radial-gradient(120% 90% at 50% 0%, #1c1530 0%, var(--black) 70%);
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,14,.25) 0%, rgba(11,11,14,.88) 92%);
}
.hero-inner { position: relative; z-index: 2; padding: 28px 20px 26px; width: 100%; max-width: 720px; margin: 0 auto; }
.hero h1 { margin: 0 0 6px; font-size: 1.9rem; line-height: 1.15; }
.hero h1 .accent { color: var(--gold-bright); }
.hero p { margin: 0 0 16px; color: var(--text-dim); font-size: .95rem; }
.hero-credit { position: absolute; right: 10px; bottom: 8px; z-index: 3; font-size: .62rem; color: rgba(245,242,233,.55); }

/* ---------- search ---------- */
.search-wrap { position: relative; z-index: 5; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--black-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 6px 6px 16px;
}
.search-box input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-size: 1rem; min-width: 0;
}
.search-box input::placeholder { color: #6f6a5e; }
.search-go {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border: none; border-radius: 999px; color: #1a1405;
  font-weight: 800; padding: 10px 20px; font-size: .9rem; cursor: pointer;
}
.suggest-list {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  background: var(--black-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
}
.suggest-list button {
  display: block; width: 100%; text-align: left;
  background: none; border: none; border-bottom: 1px solid var(--line);
  color: var(--text); padding: 12px 16px; font-size: .92rem; cursor: pointer;
}
.suggest-list button:last-child { border-bottom: none; }
.suggest-list button:hover, .suggest-list button:focus { background: var(--black-3); }

/* ---------- sections / tiles ---------- */
.section { padding: 26px 20px 6px; max-width: 1060px; margin: 0 auto; width: 100%; }
.section h2 { margin: 0 0 4px; font-size: 1.25rem; }
.section .sub { margin: 0 0 14px; color: var(--text-dim); font-size: .88rem; }
.tile-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
@media (min-width: 700px) { .tile-grid { grid-template-columns: repeat(4, 1fr); } }
.tile {
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 8px 14px; text-align: center; color: var(--text);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-height: 118px; justify-content: center; cursor: pointer;
}
.tile:active { transform: scale(.97); }
.tile .tile-icon { font-size: 1.7rem; line-height: 1; }
.tile .tile-label { font-size: .82rem; font-weight: 700; }
.tile.gold { border-color: var(--gold-dim); }
.tile .bolt { width: 30px; height: 38px; }

/* ---------- listing cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 4px 0 30px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  position: relative; background: var(--black-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
}
.card-photo {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--black-3);
}
.card-photo.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(100% 100% at 50% 0%, #241b3d, var(--black-3));
  color: var(--gold); font-weight: 800; font-size: 1.6rem; letter-spacing: 2px;
}
.card-body { padding: 12px 14px 14px; }
/* Real links inside cards (SEO + keyboard access, 2026-11-13): the photo
   and the venue name are ordinary anchors; the whole card still clicks. */
.card-photo-link { display: block; text-decoration: none; }
.card-name { margin: 0 0 4px; font-size: 1rem; font-weight: 700; padding-right: 34px; }
.card-name-link { color: inherit; text-decoration: none; }
.card-name-link:hover, .card-name-link:focus-visible { text-decoration: underline; text-decoration-color: var(--gold); }
.card-addr { margin: 0 0 8px; font-size: .82rem; color: var(--text-dim); }
.card-rating { font-size: .85rem; margin: 0 0 8px; }
.card-rating .stars { color: var(--gold-bright); letter-spacing: 1px; }
.card-rating .unrated { color: var(--text-dim); font-style: italic; }
.card-credit { font-size: .62rem; color: #6f6a5e; margin: 6px 0 0; }
.save-bolt {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(11,11,14,.72); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.save-bolt svg { width: 20px; height: 26px; }
.save-bolt .bolt-off { display: block; }
.save-bolt .bolt-on { display: none; }
.save-bolt.saved { border-color: var(--gold-bright); background: var(--gold-bright); }
.saves-section-title { font-size: 1.1rem; margin: 28px 0 12px; color: var(--gold); }
.save-bolt.saved .bolt-off { display: none; }
.save-bolt.saved .bolt-on { display: block; }
.verified-badge {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .4px;
  color: #1a1405; background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.tag {
  font-size: .72rem; border-radius: 999px; padding: 3px 10px;
  border: 1px dashed var(--gold); color: var(--gold-bright);
  background: transparent; cursor: pointer;
}
.tag.verified { border-style: solid; border-color: var(--gold); background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: #1a1405; font-weight: 800; }
.tag .prov { opacity: .65; font-weight: 400; }

/* ---------- detail page ---------- */
.detail-photo { width: 100%; max-height: 46vh; object-fit: cover; }
.detail-wrap { padding: 18px 20px 40px; max-width: 760px; margin: 0 auto; width: 100%; }
.detail-wrap h1 { margin: 6px 0 4px; font-size: 1.6rem; }
.detail-addr { color: var(--text-dim); font-size: .9rem; margin: 0 0 10px; }
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin: 10px 0; background: var(--black-2); }
.review .r-head { display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-dim); margin-bottom: 6px; }
.review .r-stars { color: var(--gold-bright); letter-spacing: 2px; }
.review p { margin: 6px 0 0; font-size: .92rem; line-height: 1.5; }
.review-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.review-photos a { display: block; }
.review-photos img { width: 92px; height: 92px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.card .review-photos img { width: 76px; height: 76px; }
.rev-photo-previews { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 8px; }
.rev-photo-previews:empty { display: none; }
.rev-photo-thumb { position: relative; display: inline-block; }
.rev-photo-thumb img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.rev-photo-thumb button { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: #000; color: #fff; cursor: pointer; line-height: 1; font-size: .8rem; padding: 0; }

/* ---------- forms ---------- */
.form-card {
  background: var(--black-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; margin: 16px 0;
}
.form-card h3 { margin: 0 0 12px; font-size: 1.05rem; }
label.field { display: block; margin: 10px 0 4px; font-size: .82rem; color: var(--text-dim); }
input.text, textarea.text, select.text {
  width: 100%; background: var(--black); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text); padding: 10px 12px; font-size: .95rem;
  font-family: var(--font);
}
textarea.text { min-height: 90px; resize: vertical; }
.btn {
  display: inline-block; border: none; border-radius: 999px; cursor: pointer;
  padding: 11px 22px; font-size: .92rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: #1a1405;
  margin-top: 12px;
}
.btn.purple { background: linear-gradient(135deg, var(--purple-deep), var(--purple)); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--gold-dim); color: var(--gold-bright); }
.btn.gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #14100a; font-weight: 700; border: none; }
.btn:disabled { opacity: .5; cursor: default; }
.contact-btn {
  display: inline-block; border-radius: 999px; text-decoration: none;
  padding: 14px 28px; font-size: 1.05rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: #1a1405;
  box-shadow: 0 4px 18px rgba(212, 175, 55, .35);
}
.star-input { display: flex; gap: 6px; font-size: 1.9rem; margin: 6px 0; }
.star-input button { background: none; border: none; color: #4a463c; cursor: pointer; padding: 0; font-size: inherit; }
.star-input button.lit { color: var(--gold-bright); }
.star-input button svg { width: 30px; height: 42px; display: block; }
/* Ratings render as bolts, never stars (Raven, 2026-11-01). */
.bolts { display: inline-flex; gap: 2px; align-items: center; vertical-align: -.08em; }
.bolts .bolt { width: .78em; height: 1.09em; }
.bolts .bolt.on { color: var(--gold-bright); }
.bolts .bolt.off { color: #4a463c; }
/* Headings in Anton — heavy, condensed, squared (Raven, 2026-11-01). */
h1, h2, h3 { font-family: "Anton", "Arial Narrow", "Liberation Sans Narrow", sans-serif; font-weight: 400; letter-spacing: .015em; }
.card-type { color: var(--gold-bright); font-size: .8rem; font-weight: 700; margin: 3px 0 0; }
/* Member profiles with &handles. */
.user-chip a { color: var(--gold-bright); font-weight: 700; text-decoration: none; white-space: nowrap; }
.pf-avatar { border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: #23232c; flex: none; }
.pf-letter { display: flex; align-items: center; justify-content: center; color: var(--gold-bright); font-family: "Anton", "Arial Narrow", sans-serif; }
.pf-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.pf-handle { color: var(--gold-bright); font-weight: 800; }
.pf-handle-row { display: flex; align-items: center; gap: 8px; }
.pf-handle-row .text { flex: 1; }
.pf-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pf-row:last-child { border-bottom: none; }
.pf-cover-preview { height: 120px; border-radius: 14px; overflow: hidden; margin-bottom: 16px; background: linear-gradient(120deg, #17171d, #2a1650 55%, #17171d); border: 1px solid var(--gold-dim); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 2rem; }
.pf-cover-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-hero { margin-bottom: 6px; }
/* Cover shows FULLY at its natural shape (Raven, 2026-11-03: the fixed
   height + object-fit was cropping her banner art). No-cover states
   keep a fixed-height slot. */
.pf-cover { border-radius: 18px; overflow: hidden; background: linear-gradient(120deg, #17171d, #2a1650 55%, #17171d); border: 1px solid var(--gold-dim); }
.pf-cover img { width: 100%; height: auto; display: block; }
.pf-cover-fallback { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gold); }
.pf-hero-card { position: relative; margin: 12px 0 0; background: rgba(23,23,29,.97); border: 1px solid var(--gold-dim); border-radius: 16px; padding: 18px; display: flex; gap: 16px; align-items: flex-start; }
.pf-hero-main h2 { margin: 2px 0 0; }
.pf-bio { margin: 10px 0 0; line-height: 1.55; white-space: pre-wrap; font-size: .92rem; }
.pf-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
.pf-viber-row { margin: 8px 0 0; }
/* OG Viber badge - design A "Classic" from Raven's badge sheet
   (2026-11-03): black pill, gold border, real pin-and-bolt logo,
   thin gold divider, bold gold caps. Built to read at small size. */
.viber-badge { display: inline-flex; align-items: center; gap: 8px; background: #0b0b0e; border: 1.5px solid var(--gold); color: var(--gold-bright); font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 14px 4px 7px; border-radius: 999px; }
.viber-badge-logo { height: 18px; width: 18px; object-fit: cover; border-radius: 4px; display: block; }
.viber-badge .vb-div { width: 1px; align-self: stretch; background: var(--gold-dim); }
.viber-note { color: var(--gold-bright); }
.pf-actions .btn { margin: 0; }
.pf-vibe-frame { width: 100%; height: 120px; border: 0; border-radius: 10px; display: block; background: #0b0b0e; }
@media (max-width: 560px) { .pf-hero-card { margin: 10px 0 0; padding: 14px; gap: 12px; } .pf-hero-card .pf-avatar { width: 84px; height: 84px; } .pf-hero-main { min-width: 0; } }
#pf-vibe.form-card { padding: 14px 18px; }
.vibe-art { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.vibe-art img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: none; }
.vibe-art-meta strong { display: block; color: var(--text); font-size: 1rem; }
.vibe-art-meta span { color: var(--gold); font-size: .88rem; }
.form-note { font-size: .8rem; color: var(--text-dim); margin-top: 8px; }
/* Review-submitted confirmation: unmissable gold banner (was small grey
   .form-note text — 2026-10-26: Raven said it didn't read as completed). */
.review-done {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a1405; font-weight: 800; font-size: 1rem; line-height: 1.45;
  padding: 14px 16px; border-radius: 12px; margin-top: 12px;
}
.form-error { font-size: .85rem; color: #ff9d9d; margin-top: 8px; }

/* ---------- auth modal ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--black-2); border: 1px solid var(--gold-dim);
  border-radius: 18px; padding: 24px; width: 100%; max-width: 400px;
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}
.modal h2 { margin: 0 0 4px; font-size: 1.3rem; }
.modal .m-sub { color: var(--text-dim); font-size: .85rem; margin: 0 0 14px; }
.modal-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.modal-tabs button {
  flex: 1; background: var(--black-3); border: 1px solid var(--line); color: var(--text-dim);
  border-radius: 999px; padding: 8px; font-size: .85rem; font-weight: 700; cursor: pointer;
}
.modal-tabs button.active { border-color: var(--gold); color: var(--gold-bright); }
.modal-close {
  float: right; background: none; border: none; color: var(--text-dim);
  font-size: 1.3rem; cursor: pointer; padding: 4px;
}
.auth-success { text-align: center; padding: 8px 0 4px; }
.linklike { display: block; margin: 12px auto 0; background: none; border: none; color: var(--gold-bright); font-size: .85rem; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.auth-success img { width: 120px; height: 120px; object-fit: cover; border-radius: 24px; margin: 0 auto 14px; display: block; }
.auth-success h2 { font-size: 1.4rem; margin-bottom: 8px; }
.auth-success .m-sub { font-size: .95rem; }

/* ---------- location prompt ---------- */
.loc-prompt {
  background: linear-gradient(160deg, #1d1530, var(--black-2));
  border: 1px solid var(--purple-deep); border-radius: var(--radius);
  padding: 16px; margin: 14px 0;
}
.loc-prompt p { margin: 0 0 10px; font-size: .9rem; }
.loc-prompt .row { display: flex; gap: 8px; flex-wrap: wrap; }
.loc-city-row { display: flex; gap: 8px; margin-top: 10px; }
.loc-city-row input { flex: 1; }
.loc-suggest-list { margin-top: 8px; background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.loc-suggest-list button { display: block; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid var(--line); color: var(--text); padding: 12px 16px; font-size: .92rem; cursor: pointer; }
.loc-suggest-list button:last-child { border-bottom: none; }
.loc-suggest-list button:hover, .loc-suggest-list button:focus { background: var(--black-3); }

/* ---------- events ---------- */
.class-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; }
.class-tabs button {
  flex: none; background: var(--black-2); border: 1px solid var(--line); color: var(--text-dim);
  border-radius: 999px; padding: 8px 16px; font-size: .85rem; font-weight: 700; cursor: pointer;
}
.class-tabs button.active { border-color: var(--purple); color: #fff; background: var(--purple-deep); }
.event-date { font-size: .8rem; color: var(--gold-bright); font-weight: 700; margin: 0 0 4px; }
.ticket-btn {
  display: inline-block; margin-top: 10px;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: #fff; border-radius: 999px; padding: 9px 18px; font-size: .85rem; font-weight: 800;
}

/* ---------- misc ---------- */
.page { flex: 1; width: 100%; }
.page-head { padding: 22px 20px 0; max-width: 1060px; margin: 0 auto; width: 100%; }
.page-head h1 { margin: 0 0 4px; font-size: 1.5rem; }
.page-head .sub { color: var(--text-dim); font-size: .9rem; margin: 0 0 6px; }
.list-wrap { padding: 0 20px; max-width: 1060px; margin: 0 auto; width: 100%; }
.loader { text-align: center; color: var(--text-dim); padding: 30px; font-size: .9rem; }
.empty { text-align: center; color: var(--text-dim); padding: 40px 20px; }
.follow-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; }
.follow-ava { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; }
.follow-ava-ph { display: flex; align-items: center; justify-content: center; background: #1c1c22; font-size: 1.3rem; }
.empty .empty-why { color: var(--text); font-size: 1.12rem; font-weight: 600; margin: 0 0 8px; }
.empty .empty-sub { margin: 0 auto 18px; max-width: 44ch; line-height: 1.55; }
.empty-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ev-head-actions { margin-top: 12px; }
.empty .big { font-size: 2.4rem; margin-bottom: 10px; }
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 200;
  background: var(--black-3); border: 1px solid var(--gold-dim); color: var(--text);
  border-radius: 999px; padding: 11px 22px; font-size: .88rem;
  box-shadow: 0 14px 40px rgba(0,0,0,.6); max-width: 92vw; text-align: center;
}
.trust-row {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  padding: 18px 20px 6px; color: var(--text-dim); font-size: .78rem; text-align: center;
}
.trust-row b { color: var(--gold-bright); }
.site-footer {
  margin-top: auto; border-top: 1px solid var(--line);
  padding: 22px 20px 40px; color: var(--text-dim); font-size: .78rem;
  display: flex; gap: 14px; align-items: flex-start; justify-content: center;
  flex-wrap: wrap; text-align: center;
}
.site-footer svg { width: 26px; height: 32px; flex: none; }
.install-btn {
  position: fixed; right: 14px; bottom: 14px; z-index: 60;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a1405; border: none; border-radius: 999px;
  padding: 11px 18px; font-weight: 800; font-size: .85rem; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); display: none;
}
.back-link { display: inline-block; margin-bottom: 8px; font-size: .88rem; }

/* ---------- reference welcome-page restoration (2026-10-20) ---------- */
.brand-name {
  font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400; letter-spacing: .6px;
  background: linear-gradient(100deg, #9d6bff 0%, #9d6bff 32%, var(--gold) 46%, var(--gold-bright) 50%, var(--gold) 54%, #9d6bff 68%, #9d6bff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wm-sweep 7s ease-in-out infinite;
}
@keyframes wm-sweep {
  0% { background-position: 105% 0; }
  55% { background-position: -105% 0; }
  100% { background-position: -105% 0; }
}
.brand svg { animation: pin-glow 3.4s ease-in-out infinite; }
@keyframes pin-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(240, 201, 74, 0)); }
  50% { filter: drop-shadow(0 0 7px rgba(240, 201, 74, .55)); }
}
/* header layout (2026-11-02, Raven): profile pic top-left, logo + title
   centered, sign out top-right; location / search / add-event below. */
.hdr-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.hdr-left { justify-self: start; display: flex; align-items: center; min-height: 38px; }
.hdr-right { justify-self: end; display: flex; align-items: center; }
.brand { justify-self: center; }
.hdr-sub { display: flex; align-items: center; gap: 10px; }
.hdr-sub .add-event-btn { margin-left: auto; }
.hdr-avatar {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: block;
  border: 2px solid var(--gold); background: #17171d; flex: none;
}
.hdr-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hdr-avatar-blank {
  display: block; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 50% 35%, #45434f 0 24%, transparent 25%),
    radial-gradient(circle at 50% 92%, #45434f 0 36%, transparent 37%),
    #17171d;
}
.hdr-signout {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 8px 15px; font-size: .84rem; cursor: pointer; white-space: nowrap;
}
.add-event-btn {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff; font-weight: 700; font-size: .78rem;
  padding: 8px 12px; border-radius: 10px; white-space: nowrap;
}
.header-search { color: var(--text); font-size: 1.35rem; line-height: 1; padding: 6px 2px; }
@media (max-width: 640px) {
  .brand-name { font-size: 1.02rem; }
  .add-event-btn { padding: 8px 10px; font-size: .74rem; }
  .header-location { font-size: .72rem; }
  .header-search { display: none; }
}
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; margin-bottom: 10px; }
.footer-links a { color: var(--gold-bright); font-size: .85rem; font-weight: 600; }
.hero { min-height: 60vh; }
.hero-photo { opacity: .78; }
/* unified white search pill (what + category + distance in one control) */
.search-box { background: transparent; border: none; box-shadow: none; flex-wrap: wrap; row-gap: 8px; }
.search-box input { color: #17171c; background: #fff; border: 1.5px solid #cfc9b8; border-radius: 999px; padding: 12px 16px; }
.search-box input::placeholder { color: #8a8578; }
.pill-select {
  -webkit-appearance: none; appearance: none;
  border: 1.5px solid #cfc9b8; background-color: #fff; color: #17171c;
  border-radius: 999px;
  font-size: .9rem; padding: 10px 30px 10px 12px; max-width: 168px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%2317171c' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
}
.search-go { background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: #fff; }
/* narrow phones: stack the hero search pill into clean rows instead of squishing it */
@media (max-width: 640px) {
  .search-box { border-radius: 20px; padding: 10px; gap: 6px; }
  .search-box input { flex-basis: 100%; padding: 12px 16px; }
  .pill-select { flex: 1; max-width: none; padding: 12px 30px 12px 10px; }
  .search-go { flex-basis: 100%; padding: 13px 20px; font-size: 1.12rem; line-height: 1; letter-spacing: .03em; }
}
/* photo category tiles */
.tile { position: relative; overflow: hidden; }
.tile.photo-tile { padding: 0; min-height: 158px; align-items: stretch; justify-content: flex-end; text-align: left; }
.tile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-shade {
  position: relative; z-index: 2; margin-top: auto; width: 100%;
  padding: 36px 12px 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  background: linear-gradient(180deg, transparent, rgba(5,5,8,.88) 55%);
}
.tile-shade .tile-label { color: #fff; font-size: .95rem; }
.tile-arrow {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(20,20,26,.65); border: 1px solid rgba(255,255,255,.35);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.review-cta .btn { margin-top: 4px; }
.form-grid { display: grid; gap: 10px; max-width: 560px; }
.form-grid label { font-size: .85rem; font-weight: 600; color: var(--text-dim); display: grid; gap: 5px; }
.form-grid input, .form-grid select, .form-grid textarea {
  background: var(--black-2); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); padding: 11px 12px; font-size: .95rem; width: 100%;
}

/* ---------- venue details (2026-10-20) ---------- */
.info-row { display: flex; gap: 8px; align-items: baseline; margin: 6px 0; font-size: .95rem; }
.info-row a { color: var(--gold-bright); font-weight: 600; }
.info-ic { flex: none; }
.hours-list { list-style: none; margin: 4px 0 8px 28px; padding: 0; color: var(--text-dim); font-size: .88rem; line-height: 1.55; }
.open-badge { font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 999px; }
.open-badge.open { background: rgba(46, 125, 50, .25); color: #8fe388; border: 1px solid rgba(143, 227, 136, .4); }
.open-badge.closed { background: rgba(125, 46, 46, .22); color: #f0a3a3; border: 1px solid rgba(240, 163, 163, .35); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.about-block { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.about-block h4 { margin: 0 0 4px; }
.about-block p { margin: 0 0 4px; line-height: 1.5; }

/* ---------- search rework (2026-10-20): header search, advanced, dates ---------- */
.hdr-search { display: flex; align-items: center; gap: 6px; flex: 1 1 180px; max-width: 340px; margin: 0 10px; position: relative; }
.hdr-search input { flex: 1; min-width: 0; background: #17171d; border: 1px solid var(--line); border-radius: 999px; color: var(--text); padding: 8px 14px; font-size: .92rem; }
.hdr-search input:focus { outline: 2px solid var(--purple); }
.hdr-search button[type="submit"] { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; color: var(--gold-bright); font-size: 1.05rem; cursor: pointer; }
.adv-mount { margin-top: 10px; text-align: left; }
.adv-toggle { background: none; border: none; color: var(--gold-bright); font-weight: 700; font-size: .95rem; cursor: pointer; padding: 6px 2px; }
.adv-panel { margin-top: 6px; background: var(--black); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.adv-group { margin: 8px 0 6px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #17171d; color: var(--text); border-radius: 999px; padding: 7px 13px; font-size: .9rem; cursor: pointer; }
.chip.on { background: var(--gold); border-color: var(--gold); color: #14100a; font-weight: 700; }
.adv-radius { margin: 2px 0 10px; }
.adv-radius label { display: inline-flex; gap: 8px; align-items: center; font-size: .95rem; color: var(--text); }
.adv-radius select { background: #17171d; border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: 6px 8px; }
.card-dist { margin: -4px 0 8px; font-size: .82rem; font-weight: 700; color: var(--gold-bright); }
.adv-dates { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.adv-dates label, .date-bar label { display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; color: var(--text-dim); }
.adv-dates input[type="date"], .date-bar input[type="date"] { background: #17171d; border: 1px solid var(--line); border-radius: 8px; color: var(--text); padding: 6px 8px; color-scheme: dark; }
.adv-actions { display: flex; gap: 10px; margin-top: 12px; }
.date-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.btn.sm { padding: 7px 14px; font-size: .88rem; }

/* ---------- verified logo badge + review tag chips (2026-10-20) ---------- */
.verified-badge { display: inline-flex; align-items: center; gap: 5px; }
.verified-badge .verified-logo { width: 17px; height: 17px; border-radius: 4px; object-fit: cover; }
.chip.dark { background: #17171d; }
/* Review-form tag dropdown (Raven, 2026-11-03): gold text, collapsed
   until tapped; chosen tags echo as mini gold pills under the trigger. */
.tag-drop { display: flex; align-items: center; gap: 10px; width: 100%; background: #101016; border: 1.5px solid var(--gold-dim); border-radius: 12px; padding: 13px 15px; cursor: pointer; margin-top: 4px; }
.tag-drop-label { color: var(--gold-bright); font-weight: 700; font-size: .95rem; }
.tag-drop-count { color: var(--gold); font-size: .82rem; font-weight: 700; margin-left: auto; }
.tag-drop-chev { color: var(--gold); transition: transform .2s; }
.tag-drop[aria-expanded="true"] .tag-drop-chev { transform: rotate(180deg); }
.tag-panel { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 8px; background: rgba(255,255,255,.02); }
#r-tags .chip { color: var(--gold-bright); border-color: var(--gold-dim); }
#r-tags .chip.on { background: var(--gold); border-color: var(--gold); color: #14100a; }
.tag-chosen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag-chosen:empty { display: none; margin: 0; }
.tag-mini { background: var(--gold); color: #14100a; font-weight: 700; font-size: .78rem; border-radius: 999px; padding: 3px 10px; }
.tag-custom { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 4px; }
.tag-custom-row { display: flex; gap: 8px; }
.tag-custom-row .text { flex: 1; }
.tag-custom-row .btn { flex: none; }

/* ---------- mock polish pass (2026-10-20): richer hero, bigger tiles,
   outlined sign-in, circled search icon, trust icons. Search behavior
   is unchanged — only the finish. ---------- */
.hero::after {
  background:
    linear-gradient(90deg, rgba(11,11,14,.90) 0%, rgba(11,11,14,.62) 44%, rgba(11,11,14,.18) 72%, rgba(11,11,14,.30) 100%),
    linear-gradient(180deg, rgba(11,11,14,.08) 55%, rgba(11,11,14,.72) 100%);
}
.hero-photo { opacity: .82; }
.hero-inner { max-width: 1060px; margin: 0 auto; padding: 34px 20px 30px; }
.hero h1 { font-size: 2.05rem; max-width: 620px; }
.hero p { max-width: 520px; }
@media (min-width: 700px) {
  .hero { min-height: 68vh; }
  .hero-photo { opacity: .94; }
  .hero h1 { font-size: 2.9rem; line-height: 1.08; }
}
@media (min-width: 900px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tile.photo-tile { min-height: 218px; }
}
.header-search {
  border: 1px solid var(--line); border-radius: 50%;
  width: 38px; height: 38px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 640px) { .header-search { display: none; } }
.auth-btn {
  background: transparent; border: 1px solid rgba(245,242,233,.38);
  color: var(--text); border-radius: 999px; padding: 9px 18px;
  font-weight: 600; cursor: pointer; white-space: nowrap;
}
.trust-row div { display: inline-flex; align-items: center; gap: 8px; }
.trust-ic { width: 20px; height: 20px; flex: none; }
.trust-ic.gold-ic { fill: var(--gold); stroke: var(--gold); }
.trust-ic.gold-ic path, .trust-ic.gold-ic circle { vector-effect: non-scaling-stroke; }
svg.trust-ic.gold-ic[fill="none"] { fill: none; }

/* ---------- calendar tile + events calendar (Phase 1, 2026-10-21) ---------- */
.tile .cal-mark { width: 34px; height: 34px; }
.tile .cal-mark svg { width: 100%; height: 100%; display: block; }
.tile.cal-tile { background: linear-gradient(160deg, #241b3d, var(--black-2)); }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 0 12px; }
.cal-nav h2 { margin: 0; font-size: 1.15rem; }
.cal-nav-btn {
  background: var(--black-2); border: 1px solid var(--line); color: var(--gold-bright);
  border-radius: 999px; width: 40px; height: 40px; font-size: 1.3rem; line-height: 1; cursor: pointer; flex: none;
}
.cal-nav-btn:active { border-color: var(--gold-dim); }
.cal-week {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  color: var(--text-dim); font-size: .7rem; font-weight: 700; text-align: center;
  text-transform: uppercase; letter-spacing: .5px; padding-bottom: 6px;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-day {
  background: var(--black-2); border: 1px solid var(--line); border-radius: 10px;
  min-height: 76px; padding: 6px; cursor: pointer; overflow: hidden;
  font-family: var(--font); text-align: left; color: var(--text);
  display: flex; flex-direction: column; align-items: stretch;
}
.cal-day.other { opacity: .35; }
.cal-day .cal-dnum { font-size: .8rem; font-weight: 700; color: var(--text-dim); }
.cal-day.today { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.cal-day.today .cal-dnum { color: var(--gold-bright); }
.cal-day.selected { border-color: var(--purple); background: #1d1530; }
.cal-ev {
  font-size: .63rem; line-height: 1.3; color: var(--text);
  background: rgba(139, 61, 255, .18); border-left: 2px solid var(--purple);
  border-radius: 4px; padding: 2px 4px; margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-more { font-size: .62rem; color: var(--gold-bright); font-weight: 700; margin-top: 3px; }
.cal-day-panel { padding: 20px 0 4px; }
.cal-day-panel h2 { font-size: 1.05rem; margin: 0 0 4px; }
.cal-none { color: var(--text-dim); font-size: .9rem; margin: 6px 0 0; }
@media (max-width: 640px) {
  .cal-day { min-height: 58px; padding: 4px; border-radius: 8px; }
  .cal-ev { font-size: .55rem; }
  .cal-week, .cal-grid { gap: 4px; }
}

/* ---------- Early-member offer + tiers + featuring (2026-10-30) ---------- */
.early-panel {
  border: 1px solid var(--gold); border-radius: 14px; padding: 18px;
  background: linear-gradient(160deg, #17110a, var(--black-2));
  max-width: 560px; margin-bottom: 18px;
}
.early-panel h2 { margin: 0 0 8px; font-size: 1.15rem; color: var(--gold-bright); }
.early-panel p { margin: 0 0 10px; font-size: .92rem; line-height: 1.5; }
.early-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.early-tiers li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: .9rem; }
.early-tiers .was { color: var(--text-dim); text-decoration: line-through; }
.early-tiers .free { color: var(--gold-bright); }
.tier-field { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.tier-field legend { font-size: .85rem; font-weight: 600; color: var(--text-dim); padding: 0; margin-bottom: 2px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tier-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  display: grid !important; gap: 3px; cursor: pointer; background: var(--black-2);
}
.tier-card:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.tier-card input { accent-color: var(--gold); }
.tier-name { font-weight: 700; color: var(--text); font-size: .88rem; }
.tier-price { color: var(--text-dim); font-size: .8rem; text-decoration: line-through; }
.tier-free { color: var(--gold-bright); font-weight: 700; font-size: .8rem; }
@media (max-width: 640px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-badge {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .4px;
  color: #0b0b0e; background: var(--gold); border-radius: 999px; padding: 2px 8px;
  text-transform: uppercase; vertical-align: middle;
}
.feat-badge {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .4px;
  color: #fff; background: var(--purple); border-radius: 999px; padding: 2px 8px;
  text-transform: uppercase; vertical-align: middle;
}
.claim-card {
  border: 1.5px dashed var(--gold); border-radius: 14px; padding: 22px 16px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  background: rgba(212, 175, 55, .05); cursor: pointer; color: var(--text);
}
.claim-card h3 { margin: 0; color: var(--gold-bright); }
.claim-card p { margin: 0; font-size: .88rem; color: var(--text-dim); line-height: 1.45; }

/* ---------- Spacing audit fixes (2026-10-30, Raven: "Sign in is askew") ----------
   The header row (brand + location + add-event + sign in) was wider than
   small phones and pushed Sign in off the right edge. On phones the
   header now wraps: brand / add-event / sign-in on row one, the
   location pill gets its own full-width row beneath. */
html, body { overflow-x: hidden; overflow-x: clip; }
@media (max-width: 640px) {
  .site-header { row-gap: 6px; padding-left: 12px; padding-right: 12px; }
  .brand { gap: 8px; }
  .brand svg { width: 28px; height: 35px; }
  .brand-name { font-size: 1.05rem; }
  .header-location { max-width: 52vw; }
  .auth-btn { padding: 7px 12px; font-size: .8rem; }
  .hdr-avatar { width: 34px; height: 34px; }
  .hdr-signout { padding: 7px 12px; font-size: .8rem; }
  .hdr-sub { flex-wrap: wrap; }
  .hdr-search { order: 5; flex-basis: 100%; max-width: none; margin: 2px 0 0; }
}

/* ---------- Once-only gentle review banner (2026-10-30) ---------- */
.review-banner {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80; max-width: 480px; margin: 0 auto;
  background: #17110a; border: 1px solid var(--gold); border-radius: 14px;
  padding: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.6);
  display: grid; gap: 10px; animation: rb-in .35s ease-out;
}
.review-banner p { margin: 0; line-height: 1.45; font-size: .95rem; padding-right: 18px; }
.review-banner .rb-x {
  position: absolute; top: 6px; right: 10px; background: none; border: none;
  color: var(--text-dim); font-size: 1rem; cursor: pointer; padding: 4px;
}
@keyframes rb-in { from { transform: translateY(16px); opacity: 0; } }

/* ---------- Festival overhead banner (2026-10-30) ---------- */
#fest-banner {
  position: relative; margin: 16px auto 0; width: calc(100% - 40px); max-width: 1020px;
  border: 1px solid var(--gold);
  border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 1; background: var(--black-2);
}
.fest-slide {
  position: absolute; inset: 0; display: flex; opacity: 0;
  transition: opacity .8s ease; pointer-events: none;
}
.fest-slide.on { opacity: 1; pointer-events: auto; }
.fb-strip {
  flex: none; width: 92px; background: #0b0b0e; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; padding: 8px;
  border-right: 1px solid var(--gold);
}
.fb-strip img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.fb-name { font-size: .6rem; font-weight: 800; letter-spacing: .4px; color: var(--gold-bright); text-align: center; line-height: 1.25; }
.fb-img { flex: 1; min-width: 0; width: 100%; height: 100%; object-fit: cover; }
.fb-tab {
  position: absolute; top: 10px; right: 10px; background: var(--gold); color: #0b0b0e;
  font-weight: 800; font-size: .78rem; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
}
@media (max-width: 640px) {
  #fest-banner { aspect-ratio: 3 / 1; }
  .fb-strip { width: 64px; }
  .fb-strip img { width: 32px; height: 32px; }
  .fb-name { font-size: .52rem; }
}

/* Add to calendar (cal.js) */
.cal-wrap { position: relative; margin-top: 10px; }
.cal-btn {
  background: transparent; color: var(--gold, #d4af37);
  border: 1px solid var(--gold-dim, #8a6f24); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.cal-btn:hover { border-color: var(--gold, #d4af37); }
.cal-menu {
  position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 6;
  min-width: 216px; background: #1d1d24; border: 1px solid var(--gold-dim, #8a6f24);
  border-radius: 12px; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.55);
}
.cal-menu a, .cal-menu button {
  display: block; width: 100%; box-sizing: border-box; text-align: left;
  padding: 11px 14px; font-size: 14.5px; color: #f2ead2; background: none;
  border: none; cursor: pointer; text-decoration: none;
}
.cal-menu a:hover, .cal-menu button:hover { background: #26262f; }
.cal-menu a + button { border-top: 1px solid rgba(212,175,55,.18); }

/* Sign-up email consent (app.js auth modal) */
.consent-row {
  display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
  margin: 14px 0 4px; font-size: 15px; line-height: 1.35; color: #f2ead2;
}
.consent-row input[type="checkbox"] {
  width: 19px; height: 19px; margin-top: 1px; flex: none;
  accent-color: var(--gold, #d4af37); cursor: pointer;
}

/* Google sign-in (app.js auth modal) */
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 14px; margin-top: 6px; cursor: pointer;
  background: #fff; color: #1f1f1f; border: 1px solid #dadce0; border-radius: 999px;
  font-size: 15.5px; font-weight: 600;
}
.fb-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 10px; padding: 11px 14px; border: none; border-radius: 999px; background: #1877F2; color: #fff; font-weight: 600; font-size: 15.5px; cursor: pointer; }
.fb-btn:disabled { opacity: .6; cursor: wait; }
.google-btn:hover { background: #f4f4f5; }
.google-btn:disabled { opacity: .6; cursor: wait; }
.auth-or {
  display: flex; align-items: center; gap: 12px; margin: 14px 0 4px;
  color: #9a97a3; font-size: 13px;
}
.auth-or::before, .auth-or::after {
  content: ""; flex: 1; height: 1px; background: rgba(212,175,55,.22);
}

/* account menu (2026-11-02, Raven's pick): Sign out lives inside the
   profile-pic menu, not as a header button. */
.hdr-menu-wrap { position: relative; }
button.hdr-avatar { padding: 0; cursor: pointer; font: inherit; }
.hdr-menu[hidden] { display: none; }
.hdr-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 90;
  min-width: 180px; display: grid; gap: 2px; padding: 6px;
  background: #17171d; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.55);
}
.hdr-menu a, .hdr-menu button {
  display: block; width: 100%; box-sizing: border-box; text-align: left;
  padding: 10px 12px; border: none; border-radius: 8px;
  background: none; color: var(--text); font-size: .92rem; cursor: pointer;
  text-decoration: none; font-family: inherit;
}
.hdr-menu a:hover, .hdr-menu button:hover { background: #22222b; }

/* menu-bars button, top right (Raven, 2026-11-02) */
.hdr-burger {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 5px 12px; font-size: 1.25rem; line-height: 1.2;
  cursor: pointer; display: inline-flex; flex-direction: column; align-items: center;
}
.hdr-burger-label { font-size: .5rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; line-height: 1; margin-top: 1px; }
.welcome-modal .btn { width: 100%; margin: 2px 0 10px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap > input { padding-right: 46px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-dim); padding: 6px; display: flex; align-items: center; }
.pw-eye svg { width: 20px; height: 20px; }
.pw-eye .pw-slash { display: none; }
.pw-eye.on .pw-slash { display: block; }
.welcome-alt { width: 100%; background: transparent; border: 1.5px solid var(--gold-dim); color: var(--gold); border-radius: 999px; padding: 11px; font-weight: 700; cursor: pointer; font-size: .95rem; }
.welcome-skip { display: block; margin: 10px auto 0; background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: .9rem; text-decoration: underline; }
.hdr-menu-right { left: auto; right: 0; }

/* Owner placeholders on the public profile: labeled empty spots only the
   owner sees, so the page's layout is visible before it's filled in. */
.pf-placeholder { display: block; border: 1.5px dashed var(--gold-dim); border-radius: 14px; padding: 18px; text-decoration: none; background: rgba(212,175,55,.05); }
.pf-placeholder:hover { border-color: var(--gold); }
.pf-ph-label { display: block; color: var(--gold); font-weight: 700; }
.pf-ph-hint { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; line-height: 1.5; }
.pf-cover-add { height: 150px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; text-decoration: none; border: 1.5px dashed var(--gold-dim); border-radius: 18px; }
.pf-bio-empty { color: var(--muted); font-style: italic; }
.pf-bio-empty a { color: var(--gold); }

/* Signup account-type chooser (Personal vs Business / Events) */
.acct-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 2px 0 8px; }
.acct-card { position: relative; text-align: left; background: linear-gradient(160deg, #1b1b23, #121218); border: 1.5px solid var(--gold-dim); border-radius: 16px; padding: 16px 46px 16px 18px; cursor: pointer; color: var(--ink); }
.acct-card strong { display: block; font-family: 'Anton', sans-serif; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; }
.acct-card span { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; line-height: 1.45; }
.acct-card::after { content: ""; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--gold-dim); }
.acct-card.active { border-color: var(--gold); background: rgba(212,175,55,.10); }
.acct-card.active strong { color: var(--gold); }
.acct-card.active::after { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.18); }
@media (max-width: 600px) { .acct-choose { grid-template-columns: 1fr; } }
/* Change location after the first pick: small city search at the top */
.city-changer { max-width: 560px; margin: 10px auto; background: #121218; border: 1.5px solid var(--gold-dim); border-radius: 14px; padding: 12px 14px; position: relative; z-index: 30; }
.city-changer .cc-row { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 2px; }
.city-changer .cc-x { background: none; border: none; color: var(--muted); font-size: 1rem; cursor: pointer; padding: 2px 8px; }
.city-changer .loc-city-row { margin-top: 0; }
.header-location { cursor: pointer; }
/* Claim your business (profile, signed out): search-first claim entry */
.claim-btn { display: block; width: 100%; margin-top: 14px; background: transparent; border: 1.5px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 13px 18px; font-family: 'Anton', sans-serif; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.claim-box { margin-top: 14px; text-align: left; }
.claim-box input { width: 100%; box-sizing: border-box; background: #17171d; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); padding: 12px 14px; font-size: 1rem; }
.claim-results { margin-top: 8px; display: grid; gap: 8px; }
.claim-result { text-align: left; background: #17171d; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; color: var(--ink); width: 100%; box-sizing: border-box; }
.claim-result strong { display: block; font-size: .98rem; }
.claim-result span { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.claim-none { color: var(--muted); font-size: .88rem; margin: 8px 0 0; }
/* Profile: your events rows with flyer thumbnails */
.pf-event-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.pf-event-row img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; flex: 0 0 54px; }
.pf-event-row .pf-ev-main { flex: 1; min-width: 0; }

/* Add an event — simple-first form: flyer upload up top */
.flyer-upload { display: block; }
.flyer-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1.5px dashed var(--gold-dim); border-radius: 16px; padding: 22px 16px; cursor: pointer; text-align: center; background: rgba(212,175,55,.05); }
.flyer-drop:hover { border-color: var(--gold); }
.flyer-drop img { max-width: 100%; max-height: 260px; border-radius: 10px; display: block; }
.flyer-cta { color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.flyer-or { display: block; margin-top: 10px; }
.more-details { border: 1px solid var(--gold-dim); border-radius: 14px; padding: 12px 16px; }
.more-details summary { cursor: pointer; color: var(--gold); font-weight: 700; padding: 4px 0; }
.more-details label { display: block; margin-top: 12px; }

/* Event detail page */
.ev-flyer { width: 100%; max-height: 520px; object-fit: cover; border-radius: 18px; display: block; }
.ev-flyer-ph { height: 220px; border-radius: 18px; }
.ev-desc { line-height: 1.65; white-space: pre-wrap; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }

/* Designated blank slots — the setup is always on the page */
.pf-blank { cursor: default; opacity: .75; }
.pf-cover-cap { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dim); margin-top: 6px; }

/* iPhone install instructions sheet */
.install-sheet { position: fixed; inset: 0; background: rgba(5,5,8,.82); display: flex; align-items: flex-end; justify-content: center; z-index: 200; padding: 16px; }
.install-sheet[hidden] { display: none; }
.install-card { background: var(--card); border: 1px solid var(--gold-dim); border-radius: 20px; padding: 22px; max-width: 420px; width: 100%; }
.install-card img { width: 52px; height: 52px; border-radius: 12px; }
.install-card h3 { margin: 12px 0 8px; }
.install-card ol { line-height: 1.75; padding-left: 20px; margin: 8px 0 16px; }

/* Account switcher rows on the profile settings page (2026-11-03). */
.acct-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.acct-row:last-child { border-bottom: 0; }
.acct-ava { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--black-3); flex: 0 0 auto; }
.acct-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.acct-meta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-meta small { color: var(--text-dim); }
.acct-active { color: var(--gold-bright); font-weight: 700; font-size: .85rem; }
/* Flyer squares on business / events public pages (2026-11-03):
   their page leads with folders and a grid of flyer pics. */
.flyer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.flyer-sq { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--black-3); }
.flyer-sq img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flyer-sq-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-family: "Anton", sans-serif; letter-spacing: .06em; }
.flyer-sq-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 8px 7px; font-size: .78rem; line-height: 1.25; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
