/* Ganap by Aftr Dark Collective
   Same tokens + fonts as aftrdarkco.com. Gold = interactive accent, pins and highlights.
   Motion: soft, slow-in/fast-out; all of it switches off under prefers-reduced-motion. */
:root {
  --true-black: #000; --midnight: #1a1a1a; --coal: #222; --grid: #2a2a2a; --charcoal: #404040; --fog: #3f474b;
  --steel: #808080; --small: #9a9a9a; --soft: #cfcfcf; --bone: #fff; --gold: #ffcc00;
  --gold-12: rgba(255, 204, 0, .12); --gold-25: rgba(255, 204, 0, .25);
  --font-serif: 'Palatino Linotype', 'Book Antiqua', Georgia, 'Times New Roman', serif;
  --font-sans: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --top-h: 62px; --tabs-h: 48px; --bottom-h: 0px;
  --r: 14px; --r-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--bone); font-family: var(--font-sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 204, 0, .07), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(63, 71, 75, .35), transparent 60%),
    var(--true-black);
  background-attachment: fixed; min-height: 100vh;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
img { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--midnight); }

.label { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; color: var(--small); font-weight: 600; }
h1, h2, .d-name { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.4px; line-height: 1.12; margin: 0 0 .35em; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
h3.label { margin: 0 0 14px; }
.lede { color: var(--soft); max-width: 640px; margin: 0 0 18px; }
.fine { color: var(--steel); font-size: .82rem; margin: 6px 0; }
.fine a, .lede a, .d-org a, .lb-author a, .schedule a { color: var(--bone); text-decoration: underline; text-decoration-color: var(--charcoal); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.fine a:hover, .lede a:hover, .d-org a:hover, .lb-author a:hover, .schedule a:hover { text-decoration-color: var(--gold); }
.empty { color: var(--small); padding: 34px 8px; text-align: center; list-style: none; }
.empty.small { padding: 16px 0; text-align: left; font-size: .92rem; }
.mt { margin-top: 14px; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: -400px 0; } to { background-position: 400px 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, .55); } 100% { box-shadow: 0 0 0 14px rgba(255, 204, 0, 0); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- header ---------- */
.top {
  height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 20px; position: sticky; top: 0; z-index: 60;
  background: rgba(26, 26, 26, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; min-width: 0; }
.wordmark { font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.5px; line-height: 1; }
.by { display: inline-flex; align-items: center; gap: 6px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.by img { height: 26px; width: auto; transform: translateY(3px); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-link { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--small); text-decoration: none; padding: 8px 10px; border-radius: 999px; transition: color .2s, background .2s; }
.top-link:hover { color: var(--bone); background: rgba(255, 255, 255, .05); }
.top-btn {
  font-size: .74rem; letter-spacing: .1em; text-decoration: none; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--charcoal); transition: border-color .2s, background .2s; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis;
}
.top-btn:hover { border-color: var(--bone); }

/* ---------- tabs (top on desktop, bottom bar on phones) ---------- */
.tabs {
  height: var(--tabs-h); display: flex; gap: 2px; padding: 0 14px; position: sticky; top: var(--top-h); z-index: 59;
  background: rgba(26, 26, 26, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.tab {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 0 14px; text-decoration: none;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--small); transition: color .25s var(--ease);
}
.tab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tab::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab:hover { color: var(--bone); }
.tab.on { color: var(--bone); }
.tab.on::after { transform: scaleX(1); }
.tab.on svg { stroke: var(--gold); }

/* ---------- buttons, chips, forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  background: var(--gold); border: 1px solid var(--gold); color: var(--midnight); padding: 10px 22px; border-radius: 999px; cursor: pointer;
  text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; text-decoration: none;
  transition: transform .15s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn:hover { box-shadow: 0 6px 22px var(--gold-25); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: progress; transform: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--charcoal); }
.btn.ghost:hover { border-color: var(--bone); box-shadow: none; }
.btn.outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn.outline:hover { background: var(--gold-12); box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--small); cursor: pointer; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--charcoal); }
.link-btn:hover { color: var(--bone); }
.link-btn.danger { color: #e08a8a; }

.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  background: rgba(255, 255, 255, .02); border: 1px solid var(--charcoal); padding: 6px 12px; cursor: pointer; border-radius: 999px;
  font-size: .76rem; letter-spacing: .04em; color: #d6d6d6; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center;
  transition: border-color .2s, color .2s, background .2s, transform .15s var(--ease);
}
.chip:hover { border-color: var(--steel); color: var(--bone); }
.chip:active { transform: scale(.96); }
.chip.on { border-color: var(--gold); color: var(--gold); background: var(--gold-12); }
.chip.old { opacity: .5; }
.chip .n { color: var(--steel); margin-left: 5px; font-size: .68rem; }

.search input, .field input, .field select, .field textarea, .composer textarea, .rate-form textarea, .act-row input, .act-row select {
  width: 100%; background: rgba(34, 34, 34, .9); border: 1px solid var(--grid); padding: 12px 14px; border-radius: var(--r-sm);
  font-size: 1rem; color: var(--bone); outline: none; color-scheme: dark; transition: border-color .2s, box-shadow .2s;
}
.search input:focus, .field input:focus, .field select:focus, .field textarea:focus, .composer textarea:focus, .rate-form textarea:focus, .act-row input:focus {
  border-color: var(--steel); box-shadow: 0 0 0 4px rgba(255, 255, 255, .04);
}
textarea { resize: vertical; line-height: 1.5; }
.search.wide { display: block; max-width: 460px; margin: 6px 0 20px; }
.field { display: grid; gap: 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--small); border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 6px; }
.field .fine { text-transform: none; letter-spacing: 0; }
.stack-form, .ev-form { display: grid; gap: 16px; max-width: 640px; }
.ev-form h3.label { margin: 18px 0 -4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.row-form .field { min-width: 160px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--grid); border-radius: 999px; cursor: pointer;
  font-size: .85rem; text-transform: none; letter-spacing: 0; color: #ddd; transition: border-color .2s, background .2s;
}
.check:hover { border-color: var(--charcoal); }
.check input { accent-color: var(--gold); width: 16px; height: 16px; margin: 0; }
.check:has(input:checked) { border-color: var(--gold); background: var(--gold-12); color: var(--bone); }
.check.head { border-style: dashed; }
.err:empty { display: none; }
.form-err { color: #f0a0a0; background: rgba(224, 138, 138, .08); border: 1px solid rgba(224, 138, 138, .3); padding: 10px 14px; border-radius: var(--r-sm); margin: 0; font-size: .9rem; animation: pop .25s var(--ease); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.seg { display: inline-flex; background: var(--coal); border: 1px solid var(--grid); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 18px; }
.seg button { background: none; border: 0; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: .8rem; color: var(--small); transition: background .25s var(--ease), color .25s; }
.seg button.on { background: var(--bone); color: var(--midnight); }
.seg button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- explore ---------- */
.explore { display: grid; grid-template-columns: minmax(360px, 450px) 1fr; height: calc(100vh - var(--top-h) - var(--tabs-h)); height: calc(100dvh - var(--top-h) - var(--tabs-h)); }
body:not(.explore-on) .explore { display: none; }
.panel { overflow-y: auto; padding: 24px 18px 40px; background: rgba(26, 26, 26, .55); border-right: 1px solid var(--grid); scrollbar-width: thin; scrollbar-color: var(--charcoal) transparent; }
.intro { animation: rise .5s var(--ease) both; }
.intro p { color: var(--soft); margin: 0 0 18px; font-size: .95rem; }
.filters { display: grid; gap: 10px; margin-bottom: 16px; animation: rise .5s .05s var(--ease) both; }
.list-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 10px; }
.sort select { background: var(--coal); border: 1px solid var(--grid); padding: 5px 8px; margin-left: 6px; border-radius: 8px; text-transform: none; letter-spacing: 0; font-size: .8rem; color: var(--bone); }
.map-wrap { position: relative; }
#map { position: absolute; inset: 0; background: #111; }
.map-btn {
  position: absolute; z-index: 500; right: 14px; top: 14px; background: rgba(26, 26, 26, .85); backdrop-filter: blur(8px); border: 1px solid var(--charcoal);
  padding: 9px 16px; border-radius: 999px; cursor: pointer; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; transition: border-color .2s;
}
.map-btn:hover { border-color: var(--gold); }
.toggle-map { display: none; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.card { animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
.card > a {
  display: block; text-decoration: none; padding: 15px 16px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(42, 42, 42, .75), rgba(30, 30, 30, .75)); border: 1px solid var(--grid);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .3s;
}
.card > a:hover { transform: translateY(-2px); border-color: #4a4a4a; box-shadow: var(--shadow); }
.card > a:active { transform: scale(.99); }
.card.past > a { opacity: .55; }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.card-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; line-height: 1.25; text-decoration: none; }
.card-meta { color: var(--small); font-size: .82rem; margin-top: 3px; }
.card-when { font-size: .8rem; margin-top: 8px; color: #e4e4e4; }
.card-hl { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.score { white-space: nowrap; font-size: .84rem; }
.score .star { color: var(--gold); }
.score .n { color: var(--steel); }
.score.none { color: var(--steel); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.badge { display: inline-block; border: 1px solid var(--charcoal); padding: 1px 8px; border-radius: 999px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-right: 6px; vertical-align: 1px; }
.badge.live { border-color: var(--gold); color: var(--gold); background: var(--gold-12); }
.hl { display: inline-block; font-size: .7rem; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--grid); color: #d8d8d8; }
.hl.head { border-color: rgba(255, 204, 0, .45); color: var(--gold); background: var(--gold-12); }
.hl-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.hl-row .hl { font-size: .78rem; padding: 5px 12px; }

/* map pins */
.pin { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid var(--midnight); box-shadow: 0 0 0 1px var(--gold); transition: transform .2s var(--ease); }
.pin:hover { transform: scale(1.35); }
.pin.live { animation: pulse 1.8s ease-out infinite; }
.pin.fw { background: radial-gradient(circle, #fff 0 25%, var(--gold) 35%); }
.pin.past { background: var(--steel); box-shadow: 0 0 0 1px var(--steel); animation: none; }
.pin.sel { transform: scale(1.5); box-shadow: 0 0 0 1px var(--gold), 0 0 16px rgba(255, 204, 0, .6); }
.leaflet-container { font-family: var(--font-sans); background: #131313 !important; }
.dark-tiles { filter: invert(1) hue-rotate(180deg) grayscale(.85) brightness(.72) contrast(1.15); }
.leaflet-tooltip { background: rgba(26, 26, 26, .95); color: var(--bone); border: 1px solid var(--charcoal); border-radius: 8px; box-shadow: var(--shadow); font-size: .8rem; padding: 5px 10px; }
.leaflet-tooltip-top:before { border-top-color: var(--charcoal); }
.leaflet-control-attribution { background: rgba(0, 0, 0, .6) !important; color: var(--steel) !important; }
.leaflet-control-attribution a { color: var(--small) !important; }
.leaflet-bar { border: 0 !important; box-shadow: var(--shadow) !important; }
.leaflet-bar a { background: rgba(26, 26, 26, .9) !important; color: var(--bone) !important; border-color: var(--charcoal) !important; }

/* ---------- pages ---------- */
.page-host { min-height: calc(100dvh - var(--top-h) - var(--tabs-h)); }
.page { max-width: 980px; margin: 0 auto; padding: 36px 22px 40px; animation: rise .45s var(--ease) both; }
.page.narrow { max-width: 620px; }
.back { display: inline-block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--small); text-decoration: none; margin-bottom: 18px; transition: color .2s, transform .2s var(--ease); }
.back:hover { color: var(--bone); transform: translateX(-3px); }
.sec { margin-top: 38px; animation: rise .5s var(--ease) both; }
.skel { border-radius: 10px; background: linear-gradient(90deg, var(--coal) 0, #2e2e2e 50%, var(--coal) 100%) 0 0 / 800px 100%; animation: shimmer 1.3s linear infinite; margin-bottom: 14px; }
.skel-title { height: 42px; width: 60%; } .skel-line { height: 14px; width: 90%; } .skel-line.short { width: 45%; } .skel-block { height: 220px; margin-top: 26px; }

/* market + organizer pages */
.cover { border-radius: var(--r); overflow: hidden; margin-bottom: 22px; aspect-ratio: 16 / 7; background: var(--coal); }
.cover img { width: 100%; height: 100%; object-fit: cover; animation: fade .6s ease both; }
.d-name { font-size: clamp(2rem, 5vw, 3rem); margin: 6px 0 6px; }
.d-org { color: var(--small); font-size: .92rem; margin-bottom: 18px; }
.d-desc { font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.6; color: #ececec; margin: 0 0 20px; max-width: 700px; white-space: pre-line; }
.d-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .95rem; margin: 0 0 20px; padding: 18px 20px; border: 1px solid var(--grid); border-radius: var(--r); background: rgba(34, 34, 34, .5); }
.d-facts dt { text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; color: var(--small); padding-top: 4px; }
.d-facts dd { margin: 0; }
.d-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.d-sources { margin-top: 40px; font-size: .76rem; color: var(--steel); word-break: break-word; }
.d-sources a { color: var(--small); }
.unclaimed { border: 1px dashed var(--charcoal); border-radius: var(--r-sm); padding: 12px 14px; }

.lineup { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lineup li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid var(--grid); border-radius: var(--r); background: rgba(34, 34, 34, .5); }
.act-when { font-size: .78rem; color: var(--gold); letter-spacing: .04em; line-height: 1.35; }
.act-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.08rem; }
.act-name a { text-decoration: none; }
.act-name a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.lineup .card-meta { display: block; }

.schedule { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.schedule li { display: grid; grid-template-columns: 170px 1fr; column-gap: 16px; row-gap: 3px; padding: 12px 4px; border-bottom: 1px solid var(--grid); align-items: baseline; transition: background .2s; }
.schedule li:hover { background: rgba(255, 255, 255, .02); }
.schedule li > a { font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.schedule li > .card-meta, .schedule li > .card-hl { grid-column: 2; margin-top: 0; }
.sched-date { font-size: .82rem; color: var(--gold); grid-row: span 3; }

.org-hero { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; object-fit: cover; background: linear-gradient(135deg, #2b2b2b, #1b1b1b); border: 1px solid var(--charcoal); font-family: var(--font-serif); font-weight: 700; color: var(--soft); }
.avatar.lg { width: 84px; height: 84px; font-size: 1.6rem; }
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.org-card { display: grid; gap: 10px; padding: 18px; border-radius: var(--r); border: 1px solid var(--grid); background: linear-gradient(180deg, rgba(42, 42, 42, .7), rgba(30, 30, 30, .7)); transition: transform .25s var(--ease), box-shadow .3s, border-color .25s; animation: rise .45s var(--ease) both; }
.org-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #4a4a4a; }
.org-head { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.org-name { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.org-stats { display: flex; justify-content: space-between; align-items: baseline; }
.follow-btn { justify-self: start; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 24px; border-radius: var(--r); border: 1px solid var(--grid); background: radial-gradient(600px 200px at 100% 0, var(--gold-12), transparent 70%), rgba(34, 34, 34, .6); }
.cta-band p { margin: 6px 0 0; color: var(--soft); }
.follow-row { margin: 0 0 8px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--soft); }
.ticks li::before { content: ''; position: absolute; left: 4px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold-25); }

/* best per area */
.area-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; margin-top: 24px; }
.area-card { padding: 20px; display: flex; flex-direction: column; gap: 6px; border-radius: var(--r); border: 1px solid var(--grid); background: linear-gradient(180deg, rgba(42, 42, 42, .7), rgba(30, 30, 30, .7)); animation: rise .45s var(--ease) both; transition: transform .25s var(--ease), box-shadow .3s; }
.area-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.area-card:nth-child(2) { animation-delay: .04s; } .area-card:nth-child(3) { animation-delay: .08s; } .area-card:nth-child(4) { animation-delay: .12s; } .area-card:nth-child(n+5) { animation-delay: .16s; }
.area-top { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.area-top:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.area-runners { margin: 8px 0 0; padding: 0; list-style: none; font-size: .86rem; color: var(--soft); }
.area-runners li { padding: 7px 0; border-top: 1px solid var(--grid); display: flex; justify-content: space-between; gap: 8px; }
.area-runners a { text-decoration: none; }
.area-runners a:hover { color: var(--bone); }

/* posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 14px; }
.post-tile { position: relative; aspect-ratio: 4 / 5; border: 0; padding: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--coal); cursor: zoom-in; }
.post-tile img, .post-tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease), filter .3s; animation: fade .5s ease both; }
.post-tile:hover img, .post-tile:hover video { transform: scale(1.05); filter: brightness(1.08); }
.post-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .7)); pointer-events: none; }
.play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); font-size: .9rem; padding-left: 3px; z-index: 1; }
.multi { position: absolute; top: 8px; right: 8px; z-index: 1; font-size: .7rem; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .6); }
.tile-by { position: absolute; left: 10px; bottom: 8px; z-index: 1; font-size: .7rem; letter-spacing: .06em; color: var(--soft); }
.tile-by.org { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .6rem; }

.composer { display: grid; gap: 12px; padding: 16px; border-radius: var(--r); border: 1px solid var(--grid); background: rgba(34, 34, 34, .5); margin-bottom: 8px; max-width: 640px; }
.drop { display: grid; place-items: center; gap: 4px; padding: 24px; border: 1.5px dashed var(--charcoal); border-radius: var(--r-sm); cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.drop:hover { border-color: var(--gold); background: var(--gold-12); }
.drop > span:first-of-type { font-size: .95rem; }
.previews { display: flex; flex-wrap: wrap; gap: 8px; }
.previews:empty { display: none; }
.prev { position: relative; width: 80px; height: 100px; border-radius: 8px; overflow: hidden; animation: pop .25s var(--ease) both; }
.prev img, .prev video { width: 100%; height: 100%; object-fit: cover; }
.prev button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); cursor: pointer; line-height: 1; }
.composer-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* ratings */
.rating-block { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 18px 32px; align-items: start; }
.rating-head { display: flex; align-items: baseline; gap: 10px; }
.big-score { font-family: var(--font-serif); font-size: 3rem; font-weight: 700; line-height: 1; }
.bars { grid-column: 1; display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 112px 1fr 30px; gap: 10px; align-items: center; font-size: .84rem; color: var(--soft); }
.bar { height: 6px; border-radius: 999px; background: var(--grid); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b38f00, var(--gold)); transform-origin: left; animation: grow .9s var(--ease) both .15s; }
.bar-v { text-align: right; font-variant-numeric: tabular-nums; }
.rate-form, .rating-block > .btn, .rating-block > .fine { grid-column: 2; grid-row: 1 / span 2; }
.rating-block > .btn { justify-self: start; }
.rate-form { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); border: 1px solid var(--grid); background: rgba(34, 34, 34, .5); }
.rate-form .btn { margin-top: 8px; justify-self: start; }
.rate-form textarea { margin-top: 8px; }
.d-rate-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: .92rem; }
.stars { display: flex; gap: 2px; }
.stars button { background: none; border: 0; cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--charcoal); padding: 3px; transition: transform .15s var(--ease), color .15s; }
.stars button:hover { transform: scale(1.2); }
.stars button.on { color: var(--gold); text-shadow: 0 0 12px var(--gold-25); }
.stars:hover button { color: var(--fog); }
.stars button:hover, .stars button:has(~ button:hover) { color: var(--gold) !important; }
.reviews { grid-column: 1 / -1; display: grid; gap: 10px; }
.reviews:empty { display: none; }
.review { padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--grid); background: rgba(34, 34, 34, .4); }
.review-top { display: flex; justify-content: space-between; }
.review p { margin: 6px 0; color: #e4e4e4; }

/* organizer tools */
.table-wrap { overflow-x: auto; border: 1px solid var(--grid); border-radius: var(--r); margin-bottom: 30px; }
.pulse { width: 100%; border-collapse: collapse; font-size: .88rem; }
.pulse th, .pulse td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--grid); white-space: nowrap; }
.pulse tr:last-child td { border-bottom: 0; }
.pulse th { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .64rem; color: var(--small); background: rgba(26, 26, 26, .8); }
.pulse td.num { font-variant-numeric: tabular-nums; }
.pulse tbody tr { transition: background .2s; }
.pulse tbody tr:hover { background: rgba(255, 255, 255, .03); }
.clash-out { margin-top: 14px; }
.clash-out ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.clash-out li { background: rgba(34, 34, 34, .6); border: 1px solid var(--grid); border-radius: var(--r-sm); padding: 10px 12px; font-size: .9rem; animation: rise .3s var(--ease) both; }

/* dashboard */
.dash-head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.subtabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--grid); margin-bottom: 24px; scrollbar-width: none; }
.subtabs a { padding: 12px 14px; text-decoration: none; font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--small); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .3s var(--ease); }
.subtabs a:hover { color: var(--bone); }
.subtabs a.on { color: var(--bone); border-bottom-color: var(--gold); }
.dash-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ev-list { display: grid; gap: 10px; }
.ev-card { display: grid; grid-template-columns: 1fr auto; gap: 14px 20px; padding: 18px; border-radius: var(--r); border: 1px solid var(--grid); background: linear-gradient(180deg, rgba(42, 42, 42, .7), rgba(30, 30, 30, .7)); animation: rise .4s var(--ease) both; }
.ev-main .card-name { display: inline-block; }
.ev-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.todo { margin: 10px 0 0; padding-left: 18px; color: var(--soft); font-size: .85rem; }
.todo li::marker { color: var(--gold); }
.lvl {
  --p: 0; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 0;
  background: radial-gradient(closest-side, var(--midnight) 82%, transparent 83% 100%), conic-gradient(var(--gold) calc(var(--p) * 1%), var(--grid) 0);
  transition: --p .8s var(--ease);
}
.lvl-n { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.lvl-n small { font-size: .8rem; color: var(--steel); }
.lvl .label { font-size: .56rem; }
.form-title { font-family: var(--font-serif); font-size: 1.8rem; margin: 0; }
.pin-map { height: 260px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--grid); }
.date-adder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; padding: 16px; border: 1px solid var(--grid); border-radius: var(--r); background: rgba(34, 34, 34, .4); }
.date-adder fieldset { grid-column: 1 / -1; }
.date-adder .btn { grid-column: 1 / -1; justify-self: start; }
.days .check { padding: 6px 10px; font-size: .78rem; }
.date-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.act-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr 1.4fr auto; gap: 8px; align-items: center; margin-bottom: 8px; animation: rise .3s var(--ease) both; }
.act-row input, .act-row select { padding: 10px; font-size: .9rem; }
.act-row .link-btn { font-size: 1.3rem; text-decoration: none; padding: 0 6px; }
.cover-pick, .logo-pick { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cover-pick img { width: 220px; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-sm); animation: fade .4s ease both; }

/* ---------- lightbox + toast ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.lb-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .82); backdrop-filter: blur(6px); animation: fade .25s ease both; }
.lb-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; width: min(1100px, 94vw); max-height: 90vh; border-radius: var(--r); overflow: hidden; background: var(--midnight); border: 1px solid var(--charcoal); box-shadow: 0 30px 80px rgba(0, 0, 0, .7); animation: pop .3s var(--ease) both; }
.lb-media { position: relative; background: #000; display: grid; place-items: center; min-height: 300px; }
.lb-media img, .lb-media video { max-width: 100%; max-height: 90vh; display: block; animation: fade .3s ease both; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(26, 26, 26, .75); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-nav:hover { background: rgba(60, 60, 60, .9); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-count { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: .72rem; background: rgba(0, 0, 0, .6); padding: 3px 10px; border-radius: 999px; }
.lb-info { padding: 26px 22px; overflow-y: auto; }
.lb-author { font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; margin: 6px 0 10px; }
.lb-caption { color: #e4e4e4; white-space: pre-line; margin: 0 0 16px; }
.lb-actions { display: flex; gap: 16px; }
.lb-x { position: absolute; top: 10px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); font-size: 1.5rem; cursor: pointer; color: var(--soft); }
.lb-x:hover { color: var(--bone); }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 1100; transform: translateX(-50%); max-width: min(92vw, 460px);
  background: rgba(26, 26, 26, .95); backdrop-filter: blur(10px); border: 1px solid var(--charcoal); border-left: 3px solid var(--gold);
  padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-size: .92rem; animation: rise .3s var(--ease) both;
}

/* ---------- footer ---------- */
.foot { text-align: center; padding: 40px 20px 50px; border-top: 1px solid var(--grid); }
.foot img { width: 54px; height: auto; margin: 0 auto 10px; display: block; opacity: .9; }
.foot p { font-family: var(--font-serif); font-style: italic; color: var(--soft); margin: 0; }
body.explore-on .foot { display: none; }

/* ---------- Ganap features ---------- */
.tab.mob { display: none; }
.bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--soft); transition: background .2s, color .2s; }
.bell:hover { background: rgba(255,255,255,.06); color: var(--bone); }
.bell svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bell-dot { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--midnight); font-size: .64rem; font-weight: 700; display: grid; place-items: center; animation: pop .3s var(--ease) both; }
.discover { display: flex; gap: 8px; overflow-x: auto; margin: -4px 0 16px; padding-bottom: 2px; scrollbar-width: none; animation: rise .5s .03s var(--ease) both; }
.discover a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: .78rem; background: rgba(255,255,255,.04); border: 1px solid var(--grid); transition: border-color .2s, background .2s; }
.discover a:hover { border-color: var(--steel); background: rgba(255,255,255,.07); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; flex: none; animation: pulse 1.8s ease-out infinite; }
.btn.sm { min-height: 36px; padding: 7px 14px; font-size: .66rem; }
.badge.live.soon, .badge.live.later, .badge.live.today { background: transparent; }
.badge.live.ended { border-color: var(--charcoal); color: var(--small); background: transparent; }
.crowd { display: inline-block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 1px 8px; border-radius: 999px; margin-right: 6px; border: 1px solid var(--charcoal); }
.crowd.c1 { color: #9fd3a8; border-color: rgba(159,211,168,.4); }
.crowd.c2 { color: #f2c46d; border-color: rgba(242,196,109,.45); }
.crowd.c3 { color: #f0938a; border-color: rgba(240,147,138,.45); }
.rain { font-size: .78rem; color: var(--soft); white-space: nowrap; }
.rain.wet { color: #9cc7f0; }
.verified { color: #9fd3a8; font-size: .72rem; letter-spacing: .04em; font-weight: 600; text-transform: none; }
.going-n { font-weight: 400; opacity: .8; }
.good { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.good span { color: #d6efd9; }

.pop-menu { position: absolute; z-index: 1200; min-width: 230px; padding: 6px; border-radius: 12px; background: rgba(30,30,30,.97); backdrop-filter: blur(12px); border: 1px solid var(--charcoal); box-shadow: var(--shadow); animation: pop .18s var(--ease) both; }
.pop-menu a, .pop-menu button { display: block; width: 100%; text-align: left; padding: 11px 14px; border-radius: 8px; background: none; border: 0; text-decoration: none; font-size: .92rem; cursor: pointer; }
.pop-menu a:hover, .pop-menu button:hover { background: rgba(255,255,255,.07); }

.share-sheet { position: relative; width: min(460px, 94vw); max-height: 92vh; overflow-y: auto; padding: 26px; border-radius: var(--r); background: var(--midnight); border: 1px solid var(--charcoal); box-shadow: 0 30px 80px rgba(0,0,0,.7); animation: pop .3s var(--ease) both; display: grid; gap: 14px; }
.share-prev { width: 62%; justify-self: center; border-radius: 12px; box-shadow: var(--shadow); }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.live-box { margin: 0 0 18px; padding: 16px 18px; border-radius: var(--r); border: 1px solid rgba(255,204,0,.35); background: radial-gradient(500px 120px at 0 0, var(--gold-12), transparent 70%), rgba(34,34,34,.6); animation: rise .45s var(--ease) both; }
.live-box.ended { border-color: var(--grid); background: rgba(34,34,34,.5); }
.live-box.ended .live-dot { animation: none; background: var(--steel); }
.live-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.live-top strong { font-family: var(--font-serif); font-size: 1.2rem; }
.live-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }

.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-top: 12px; }
.vendor-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--grid); background: rgba(34,34,34,.5); animation: rise .35s var(--ease) both; }
.vendor-head { display: flex; gap: 10px; align-items: center; text-decoration: none; min-width: 0; flex: 1; }
.vendor-head > span:last-child { min-width: 0; overflow: hidden; }
.vendor-head .card-meta { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vendor-card .avatar { width: 40px; height: 40px; font-size: .9rem; }
.booth-form summary { list-style: none; cursor: pointer; display: inline-flex; }
.booth-form summary::-webkit-details-marker { display: none; }
.booth-form[open] summary { margin-bottom: 14px; }

.tn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tn-card { border-radius: var(--r); border: 1px solid var(--grid); background: linear-gradient(180deg, rgba(42,42,42,.75), rgba(30,30,30,.75)); animation: rise .4s var(--ease) both; overflow: hidden; }
.tn-card.on { border-color: rgba(255,204,0,.4); box-shadow: 0 0 0 1px rgba(255,204,0,.08), 0 10px 30px rgba(255,204,0,.05); }
.tn-card.ended { opacity: .55; }
.tn-card.ended .live-dot { animation: none; background: var(--steel); }
.tn-main { display: block; padding: 16px 16px 8px; text-decoration: none; }
.tn-status { display: flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.tn-card.ended .tn-status, .tn-card.later .tn-status { color: var(--small); }
.tn-status .card-meta { text-transform: none; letter-spacing: .01em; margin: 0; }
.tn-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.tn-actions { display: flex; gap: 8px; padding: 0 16px 14px; }
.empty-state { text-align: center; padding: 40px 0; }

.reels { height: calc(100dvh - var(--top-h) - var(--tabs-h)); overflow-y: auto; scroll-snap-type: y mandatory; background: #000; scrollbar-width: none; }
.reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; overflow: hidden; background: #000; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: contain; animation: fade .4s ease both; }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.75)); pointer-events: none; }
.reel-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 70px 26px 20px; max-width: 720px; }
.reel-author { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; margin: 4px 0; }
.reel-market { display: inline-block; color: var(--gold); text-decoration: none; font-size: .9rem; margin-bottom: 6px; }
.reel-info p { margin: 0; color: #e6e6e6; font-size: .92rem; }
.reel-sound { position: absolute; right: 16px; bottom: 28px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); font-size: 1.1rem; cursor: pointer; }
.empty-reel { text-align: center; padding: 20px; }
body.reels-on .foot { display: none; }

.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 20px; }
.list-card { display: grid; gap: 6px; padding: 20px; border-radius: var(--r); text-decoration: none; border: 1px solid var(--grid); background: radial-gradient(400px 140px at 100% 0, var(--gold-12), transparent 70%), rgba(34,34,34,.6); transition: transform .25s var(--ease), box-shadow .3s, border-color .25s; animation: rise .4s var(--ease) both; }
.list-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #4a4a4a; }
.list-card.none { opacity: .5; background: rgba(34,34,34,.4); }
.list-title { font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; }

.notif-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.notif-list a { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-sm); text-decoration: none; border: 1px solid var(--grid); background: rgba(34,34,34,.4); transition: border-color .2s; }
.notif-list a:hover { border-color: var(--charcoal); }
.notif-list li.unread a { border-color: rgba(255,204,0,.35); background: rgba(255,204,0,.05); }
.notif-list .card-meta { display: block; }
.notif-list .label { display: block; margin-top: 4px; font-size: .6rem; }
.notif-kind { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--charcoal); flex: none; }
.unread .notif-kind { background: var(--gold); }
.cta-band.slim { margin: 10px 0 18px; padding: 16px 18px; }

.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.badge-card { display: grid; gap: 4px; padding: 14px; border-radius: var(--r-sm); border: 1px solid var(--grid); background: rgba(34,34,34,.4); opacity: .7; }
.badge-card.earned { opacity: 1; border-color: rgba(255,204,0,.45); background: radial-gradient(200px 80px at 0 0, var(--gold-12), transparent 70%), rgba(34,34,34,.6); }
.badge-ic { font-size: 1.3rem; color: var(--steel); }
.badge-card.earned .badge-ic { color: var(--gold); text-shadow: 0 0 12px var(--gold-25); }
.mini-bar { height: 4px; border-radius: 999px; background: var(--grid); overflow: hidden; margin-top: 4px; }
.mini-bar span { display: block; height: 100%; background: var(--gold); animation: grow .8s var(--ease) both; transform-origin: left; }
.or { display: flex; align-items: center; gap: 12px; color: var(--steel); font-size: .8rem; margin: 22px 0 14px; max-width: 640px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--grid); }
.social { display: grid; gap: 10px; justify-items: start; }
.toggle { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--grid); cursor: pointer; }
.toggle input { grid-row: span 2; width: 20px; height: 20px; accent-color: var(--gold); }
.toggle .fine { margin: 0; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.stat-card { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); border: 1px solid var(--grid); background: rgba(34,34,34,.5); animation: rise .4s var(--ease) both; }
.stat-card b { font-family: var(--font-serif); font-size: 2.2rem; line-height: 1; }
.week-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: end; height: 170px; padding: 14px; border: 1px solid var(--grid); border-radius: var(--r); background: rgba(34,34,34,.4); }
.wb { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.wb span { width: 100%; min-height: 2px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold), #8a6e00); transform-origin: bottom; animation: growUp .9s var(--ease) both; }
.wb small { font-size: .62rem; color: var(--steel); white-space: nowrap; }
@keyframes growUp { from { transform: scaleY(0); } }
.insights { margin: 0; padding-left: 18px; color: var(--soft); display: grid; gap: 6px; }
.app-list { display: grid; gap: 10px; margin-top: 12px; }
.app-card { display: grid; gap: 6px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--grid); background: rgba(34,34,34,.5); animation: rise .35s var(--ease) both; }
.app-card.new { border-color: rgba(255,204,0,.35); }
.app-card.declined { opacity: .55; }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.app-card a { color: var(--bone); }
.tile-ok { position: absolute; top: 8px; left: 8px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #9fd3a8; font-size: .75rem; }
.banner {
  position: fixed; z-index: 900; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(94vw, 520px);
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: rgba(26,26,26,.96); backdrop-filter: blur(12px); border: 1px solid var(--charcoal); border-left: 3px solid var(--gold); box-shadow: var(--shadow); animation: rise .35s var(--ease) both;
}
.banner > div { flex: 1; display: grid; gap: 2px; font-size: .88rem; }
.banner span { color: var(--soft); font-size: .82rem; }

/* ---------- phones ---------- */
@media (max-width: 820px) {
  :root { --top-h: 56px; --bottom-h: calc(62px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--bottom-h); }
  .top { padding: 0 14px; }
  .wordmark { font-size: 1.25rem; }
  .by img { height: 22px; }
  .top-link { display: none; }
  .tabs {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: var(--bottom-h); padding: 0 6px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(255, 255, 255, .07); border-bottom: 0; justify-content: space-around; background: rgba(20, 20, 20, .9);
  }
  .tab { flex-direction: column; justify-content: center; gap: 4px; padding: 0 6px; font-size: .58rem; letter-spacing: .08em; flex: 1; }
  .tab svg { width: 22px; height: 22px; transition: transform .25s var(--ease); }
  .tab.on svg { transform: translateY(-1px) scale(1.08); }
  .tab::after { top: 0; bottom: auto; left: 30%; right: 30%; }
  .tab.desk { display: none; }
  .tab.mob { display: flex; }
  .top-btn { display: none; }
  .reels { height: calc(100dvh - var(--top-h) - var(--bottom-h)); }
  .banner { bottom: calc(var(--bottom-h) + 14px); }
  .share-prev { width: 70%; }
  .explore { display: block; height: auto; }
  .panel { border-right: 0; padding-bottom: 96px; min-height: calc(100dvh - var(--top-h) - var(--bottom-h)); background: transparent; }
  .map-wrap { display: none; position: fixed; top: var(--top-h); left: 0; right: 0; bottom: var(--bottom-h); z-index: 40; }
  body.map-open .map-wrap { display: block; animation: fade .25s ease both; }
  .toggle-map {
    display: block; position: fixed; z-index: 600; left: 50%; bottom: calc(var(--bottom-h) + 16px); transform: translateX(-50%);
    background: var(--gold); color: var(--midnight); border: 0; padding: 12px 28px; border-radius: 999px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; box-shadow: 0 8px 28px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 204, 0, .1); cursor: pointer;
  }
  .page { padding: 26px 16px 30px; }
  .two, .date-adder { grid-template-columns: 1fr; }
  .rating-block { grid-template-columns: 1fr; }
  .rate-form, .rating-block > .btn, .rating-block > .fine { grid-column: 1; grid-row: auto; }
  .schedule li { grid-template-columns: 1fr; }
  .sched-date { grid-row: auto; }
  .schedule li > .card-meta, .schedule li > .card-hl { grid-column: 1; }
  .lineup li { grid-template-columns: 78px 1fr; }
  .act-row { grid-template-columns: 1fr 1fr; padding: 10px; border: 1px solid var(--grid); border-radius: var(--r-sm); }
  .act-row input[data-k="name"], .act-row input[data-k="link"] { grid-column: 1 / -1; }
  .lb-card { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; width: 100vw; border-radius: var(--r) var(--r) 0 0; align-self: end; }
  .lightbox { place-items: end center; }
  .toast { bottom: calc(var(--bottom-h) + 16px); }
  .post-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .post-tile { border-radius: 6px; }
  .tile-by { display: none; }
  .org-hero .avatar.lg, .dash-head .avatar.lg { width: 64px; height: 64px; }
  .ev-card { grid-template-columns: 1fr auto; }
  .foot { padding-bottom: 30px; }
}
@media (max-width: 420px) {
  .by { font-size: 0; gap: 0; }
  .by img { height: 20px; }
  .card-top { flex-direction: column; gap: 4px; }
  .card-top .score { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
