
:root {
  --red: #d0121c;
  --red-deep: #8a0a12;
  --cream: #f8e4b8;
  --cream-dark: #edcc8a;
  --gold: #ffd24a;
  --gold-dim: #d4a22a;
  --navy: #0b1c36;
  --ink: #2a140c;
  --ticket: #f6e2b0;
  --wood: #6a3b22;
  --bulb: #ffe566;
  --booth: #f6dcab;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  position: relative;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #0a0720;
  overflow-x: hidden;
}
@font-face { font-family: "Luckiest Guy"; src: url("fonts/LuckiestGuy-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Limelight"; src: url("fonts/Limelight-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("fonts/BebasNeue-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Righteous"; src: url("fonts/Righteous-Regular.ttf") format("truetype"); font-display: swap; }

.backdrop { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 48% at 18% 84%, rgba(255, 110, 36, .55), transparent 72%),
    radial-gradient(ellipse 55% 42% at 82% 24%, rgba(110, 48, 200, .32), transparent 70%),
    radial-gradient(circle at 50% 8%, rgba(255, 210, 80, .12), transparent 42%),
    linear-gradient(180deg, #0a0722 0%, #16104a 20%, #4a1570 42%, #c43a2a 68%, #f07028 84%, #ffb044 100%);
}
/* stars that fill tall scrolling pages above the scene */
.sky::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 8% 6%, #fff8dc, transparent),
    radial-gradient(1.1px 1.1px at 18% 14%, #fff3c0, transparent),
    radial-gradient(1.4px 1.4px at 29% 4%, #fff8dc, transparent),
    radial-gradient(1px 1px at 41% 11%, #fff8dc, transparent),
    radial-gradient(1.3px 1.3px at 55% 5%, #fff3c0, transparent),
    radial-gradient(1.1px 1.1px at 67% 13%, #fff8dc, transparent),
    radial-gradient(1.2px 1.2px at 78% 7%, #fff8dc, transparent),
    radial-gradient(1px 1px at 91% 10%, #fff3c0, transparent),
    radial-gradient(1.2px 1.2px at 4% 22%, #fff8dc, transparent),
    radial-gradient(1px 1px at 96% 20%, #fff8dc, transparent);
  opacity: .85;
  pointer-events: none;
}
.scene {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100vh;
  display: block;
}

.boardwalk {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 18vh; min-height: 110px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.38), transparent 28%),
    repeating-linear-gradient(90deg,
      #7a4a2c 0 34px,
      #5c341c 34px 37px,
      #8a5634 37px 70px,
      #4e2c16 70px 73px);
  box-shadow: inset 0 16px 22px rgba(0,0,0,.28);
  z-index: 1;
  border-top: 8px solid #3a2012;
}
.boardwalk::after {
  content: "";
  position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  background: repeating-linear-gradient(90deg, #c9a15c 0 36px, #a07c3e 36px 72px);
  box-shadow: 0 2px 0 #5a3a14;
}

.page {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 24px 0;
}

.moon {
  position: absolute;
  top: 16px;
  left: 22px;
  width: 48px;
  height: 48px;
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 32%, #fffef6, #f7e7c0 55%, #e2c48a 100%);
  box-shadow: 0 0 18px rgba(255, 230, 180, .45);
}
.moon::after {
  content: "";
  position: absolute;
  top: -6px; right: -8px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #0a0722;
  opacity: .16;
}
@media (max-width: 679px) {
  /* Sit in the sky under the wordmark, clear of the title letters. */
  .moon { top: 68px; left: 10px; width: 34px; height: 34px; }
  .moon::after { width: 34px; height: 34px; top: -4px; right: -6px; }
  /* Directory wordmark is more compact, so raise the moon into the sliver of sky above the first awning. */
  body.directory .moon { top: 50px; }
}
.wordmark {
  text-align: center;
  margin: 0 0 14px;
  color: var(--cream);
  text-shadow:
    0 0 10px rgba(255, 210, 70, .85),
    0 0 28px rgba(255, 180, 40, .7),
    0 0 48px rgba(255, 140, 20, .4),
    0 2px 0 #3a1a00,
    0 8px 18px rgba(0,0,0,.45);
}
.wordmark h1 {
  font-family: "Limelight", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  letter-spacing: .14em;
  line-height: 1;
  color: #fff3c8;
}
.wordmark p {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 1.05rem;
  letter-spacing: .32em;
  color: var(--gold);
  margin-top: 6px;
  text-shadow: 0 0 12px rgba(255, 200, 50, .7), 0 2px 0 #3a1a00;
}
.sample-note {
  position: absolute;
  left: 0; right: 0;
  bottom: 28px;
  z-index: 4;
  text-align: center;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f6ead0;
  text-shadow: 0 1px 2px rgba(0,0,0,.75);
}

/* Directory grid: fixed booth size; only the column count changes. */
.grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 300px);
  justify-content: center;
  align-items: start;
  gap: 18px 16px;
  margin-top: 4px;
  margin-bottom: 88px;
  position: relative;
  z-index: 3;
}
body.directory .wordmark { margin: 0 0 8px; }
body.directory .wordmark h1 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); }
body.directory .wordmark p { font-size: .95rem; margin-top: 4px; }
body.directory .page { padding-top: 10px; }

/* ---- booth card ---- */
.booth {
  width: 300px;
  height: 362px;
  display: flex;
  flex-direction: column;
  filter: drop-shadow(0 22px 28px rgba(0,0,0,.5));
}
.awning {
  position: relative;
  z-index: 2;
  height: 48px;
  flex: 0 0 48px;
  margin: 0 -22px -6px;
  background: repeating-linear-gradient(90deg,
    var(--red) 0 20px,
    var(--cream) 20px 40px);
  clip-path: polygon(2% 12%, 98% 12%, 93% 100%, 7% 100%);
  box-shadow: inset 0 10px 0 rgba(255,255,255,.22), inset 0 -8px 0 rgba(0,0,0,.16);
}
.awning-bar {
  position: absolute; left: 4%; right: 4%; top: 8px; height: 7px;
  background: linear-gradient(180deg, #ffe27a, #d4a22a);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0,0,0,.3), 0 0 8px rgba(255, 200, 60, .45);
}
.bulbs {
  position: absolute; left: 10%; right: 10%; bottom: 8px;
  display: flex; justify-content: space-between; align-items: center;
}
.bulb {
  width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffce8, var(--bulb) 45%, #e0a020);
  box-shadow: 0 0 10px 3px rgba(255, 220, 80, 1), 0 0 18px 4px rgba(255, 180, 40, .55), 0 0 1px #fff;
}
.bulb:nth-child(3n) {
  background: radial-gradient(circle at 35% 30%, #fff8d0, #ffd24a 55%, #c08018);
  box-shadow: 0 0 8px 2px rgba(255, 200, 60, .75);
}

.booth-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(255,248,220,.28), transparent 18%),
    repeating-linear-gradient(90deg,
      var(--booth) 0 31px,
      #ebc888 31px 33px);
  border: 5px solid #8a1018;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  padding: 7px 10px 7px;
  display: flex; flex-direction: column; align-items: center;
  gap: 5px;
}
.booth-body::before, .booth-body::after {
  content: "";
  position: absolute; top: -8px; width: 16px; bottom: 10px;
  background: linear-gradient(90deg, #9a1018, #e01824, #7a0c14);
  border-radius: 3px;
  box-shadow: 0 0 0 1px #5a080c;
}
.booth-body::before { left: -10px; }
.booth-body::after { right: -10px; }

.marquee {
  width: 100%;
  background: linear-gradient(180deg, #8a1018, #5c0a10 60%, #3a060c);
  border: 3px solid var(--gold);
  border-radius: 8px;
  padding: 5px 8px 4px;
  text-align: center;
  position: relative;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 2px #2a0608, 0 2px 0 #d4a22a, 0 0 10px rgba(255, 200, 50, .35);
}
.marquee-lights {
  position: absolute; inset: 4px;
  pointer-events: none;
}
.dot {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--bulb);
  box-shadow: 0 0 7px rgba(255,230,100,1), 0 0 12px rgba(255,200,50,.7);
}
.dot:nth-child(odd) { opacity: .8; }
.marquee h2 {
  font-family: "Luckiest Guy", "Impact", sans-serif;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.08;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff3c8;
  text-shadow: 0 2px 0 #1a0406, 0 0 14px rgba(255,200,60,.45);
  padding: 4px 8px 2px;
}
.marquee h2.long { font-size: 0.84rem; letter-spacing: .02em; }

.icon-frame {
  width: 64px; height: 64px;
  flex: 0 0 64px;
  border-radius: 14px;
  padding: 4px;
  background: linear-gradient(180deg, #ffe27a, #d4a22a);
  box-shadow: 0 3px 0 #7a5a18, inset 0 1px 0 #fff3c0, 0 0 10px rgba(255, 200, 60, .35);
}
.icon-frame img, .icon-frame .hex-wrap, .icon-frame .icon-empty {
  width: 100%; height: 100%;
  border-radius: 11px;
  display: block;
  object-fit: cover;
  background: #1a0c08;
}
.hex-wrap {
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #16303a, #071014);
}
.hex-wrap.hex-sbc { background: radial-gradient(circle at 30% 20%, #1e3a8a, #0b1a3d); }
.hex-wrap.hex-mmb { background: radial-gradient(circle at 30% 20%, #6d28d9, #2a0548); }
.hex-wrap.hex-gdp { background: radial-gradient(circle at 30% 20%, #c27610, #3a2604); }
.hex-wrap.hex-xpr { background: radial-gradient(circle at 30% 20%, #475569, #020617); }
.hex-wrap.hex-sb { background: radial-gradient(circle at 30% 20%, #0284c7, #082f49); }
.hex-wrap.hex-xcf { background: radial-gradient(circle at 30% 20%, #4a3420, #1a120c); }
.hex-wrap img { width: 86%; height: 86%; object-fit: contain; background: transparent; border-radius: 0; }
.icon-empty {
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #4a3420, #1a120c);
}

.tagline {
  font-size: 11px;
  line-height: 1.28;
  text-align: center;
  color: var(--ink);
  padding: 0 2px;
  height: 6.4em;
  min-height: 6.4em;
  max-height: 6.4em;
  overflow: hidden;
  flex: 0 0 6.4em;
}

.meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center; align-items: center;
  width: 100%;
  flex: 0 0 auto;
}
.badge, .tag {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 15px;
  letter-spacing: .08em;
  padding: 3px 9px 2px;
  border-radius: 4px;
  line-height: 1;
}
.badge.drafts { background: #0f6a4a; color: #d8ffe8; }
.badge.acts { background: #c42810; color: #ffe8d0; }
.tag { background: #ffd24a; color: #3a1c00; }

.connectors {
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: #5a3a22;
  flex: 0 0 auto;
}
.connectors strong {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
  font-weight: 400;
  color: #8a1018;
  margin-right: 4px;
}
.pill {
  display: inline-block;
  background: #efe0c0;
  border: 1px solid #c9aa70;
  border-radius: 99px;
  padding: 1px 8px;
  font-size: 11px;
}

.counter {
  width: calc(100% + 8px);
  margin-top: auto;
  background: linear-gradient(180deg, #d01820, #8a0c14 70%, #5c080c);
  border-radius: 5px;
  padding: 7px 10px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.2), 0 3px 0 #3a0608;
}
.ticket {
  position: relative;
  display: block;
  width: 186px; height: 48px;
  text-decoration: none;
  color: var(--red-deep);
}
.ticket svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ticket .label {
  position: absolute;
  left: 46px; right: 14px; top: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Luckiest Guy", "Impact", sans-serif;
  font-size: 1.08rem;
  letter-spacing: .14em;
  color: var(--red-deep);
  text-shadow: 0 1px 0 #fff6d8;
  pointer-events: none;
}
.ticket:hover { filter: brightness(1.06); }

.maker {
  font-size: 10px;
  letter-spacing: .02em;
  color: #6a4a30;
  text-align: center;
  padding-top: 1px;
  flex: 0 0 auto;
  flex-shrink: 0;
}
body.directory .maker { order: 5; margin-top: auto; padding: 1px 0 2px; }
body.directory .counter { order: 6; margin-top: 0; }

/* Featured single-card page: slightly larger booth, same design language. */
.solo .grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  grid-template-columns: none;
  margin-top: auto;
  margin-bottom: 11vh;
}
.solo .booth { width: 360px; height: auto; min-height: 0; }
.solo .awning { height: 72px; flex-basis: 72px; margin: 0 -26px -6px; }
.solo .marquee { padding: 10px 12px 8px; }
.solo .marquee h2 { font-size: 1.5rem; }
.solo .icon-frame { width: 160px; height: 160px; flex-basis: 160px; }
.solo .tagline { font-size: 13.5px; height: auto; min-height: 3.6em; max-height: none; flex: 0 0 auto; overflow: visible; }
.solo .booth-body { gap: 10px; padding: 16px 16px 14px; }
.solo .ticket { height: 52px; }
.solo .counter { padding: 8px 10px 9px; }

@media (max-width: 1399px) {
  .grid { grid-template-columns: repeat(3, 300px); }
}
@media (max-width: 999px) {
  .grid { grid-template-columns: repeat(2, 300px); }
  .page { padding: 16px 14px 0; }
  .sample-note { bottom: 16px; }
}
@media (max-width: 679px) {
  .grid { grid-template-columns: 300px; gap: 26px; margin-bottom: 86px; }
  body.directory .booth { height: auto; }
  body.directory .tagline { height: auto; min-height: 0; max-height: none; overflow: visible; flex: 0 0 auto; }
  body.directory .icon-frame { width: 88px; height: 88px; flex-basis: 88px; }
  body.directory .wordmark h1 { font-size: clamp(1.6rem, 9vw, 2.2rem); }
  .wordmark { margin-bottom: 12px; }
  .wordmark h1 { letter-spacing: .1em; }
  .wordmark p { letter-spacing: .2em; font-size: .95rem; }
  .page { padding: 14px 12px 0; }
  .boardwalk { height: 120px; }
  .tagline { overflow: hidden; }
  .solo .grid { margin-bottom: 100px; }
  .solo .icon-frame { width: 140px; height: 140px; flex-basis: 140px; }
  .solo .booth { width: min(360px, 100%); }
  .solo .tagline { min-height: 0; }
}
@media (max-width: 360px) {
  .grid { grid-template-columns: min(300px, 100%); }
  .booth { width: 100%; max-width: 300px; height: auto; }
  .awning { margin-left: -12px; margin-right: -12px; }
  .solo .booth { width: min(340px, 100%); }
}


/* Scene is sized to the viewBox aspect so the full Ferris wheel stays
   on screen (no top-slice crop). A second left copy is shown only when
   the viewport is taller than the art, so the roller coaster stays on
   the left instead of being clipped off. */
.backdrop { overflow-x: hidden; overflow-y: visible; }
.scene-wrap {
  position: fixed;
  bottom: 0;
  width: calc(100vh * 1440 / 900);
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.scene-wrap .scene,
svg.scene { pointer-events: none !important; }
.page, .filters, .filters button, .site-nav, .site-nav a,
.ticket, .sign, footer, .add-overlay { pointer-events: auto; }
.page { z-index: 10; }
.filters, .site-nav { z-index: 11; }
.scene-wrap .scene,
.scene {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.scene-left { left: 0; display: none; }
.scene-right { right: 0; left: auto; }
@media (max-aspect-ratio: 159/100) {
  .scene-left {
    display: block;
    clip-path: inset(0 calc(100% - 42vw) 0 0);
  }
  .scene-right {
    clip-path: inset(0 0 0 calc(100% - 52vw));
  }
}
.boardwalk {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.preview-banner { display: none; }
html.is-preview .preview-banner {
  display: block;
  position: relative;
  z-index: 5;
  width: 100%;
  text-align: center;
  background: #2a140c;
  color: #ffe27a;
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: .95rem;
  letter-spacing: .16em;
  padding: 7px 12px 6px;
  border-bottom: 3px solid #d0121c;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 2px 0 14px;
  position: relative;
  z-index: 3;
}
.site-nav a {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 1.05rem;
  letter-spacing: .16em;
  color: #ffe27a;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
  border-bottom: 2px solid transparent;
  padding: 8px 4px;
  cursor: pointer;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff8dc;
  border-bottom-color: #ffd24a;
}
.lede {
  max-width: 640px;
  margin: 0 auto 14px;
  text-align: center;
  color: #fff3c8;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
  font-size: .98rem;
  line-height: 1.45;
  position: relative;
  z-index: 3;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 3;
}
.filters button {
  font-family: "Bebas Neue", "Impact", sans-serif;
  letter-spacing: .1em;
  font-size: 1rem;
  color: #2a140c;
  background: #f6e2b0;
  border: 2px solid #6e1218;
  border-radius: 999px;
  padding: 5px 14px 4px;
  cursor: pointer;
  box-shadow: 0 2px 0 #6e1218;
}
.filters button[aria-pressed="true"],
.filters button:hover {
  background: #ffd24a;
}
.filters button:focus-visible {
  outline: 3px solid #ffe566;
  outline-offset: 2px;
}
.grid.empty-state .booth { display: none; }
.empty-msg {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  color: #fff3c8;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
  padding: 12px;
}
.grid.is-empty .empty-msg { display: block; }
/* Author .booth { display: flex } otherwise overrides the UA [hidden] rule,
   so the chips looked dead: clicks worked but the cards never hid. */
.booth[hidden], .booth.is-off { display: none !important; }
.site-footer {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 8px 16px calc(18vh + 28px);
  color: #f6ead0;
  text-shadow: 0 1px 2px rgba(0,0,0,.75);
  font-size: .85rem;
}
.site-footer a { color: #ffe27a; cursor: pointer; }
.sign {
  position: relative;
  z-index: 3;
  width: min(640px, 100%);
  margin: 0 auto 100px;
  background: #f8e4b8;
  color: #2a140c;
  border: 4px solid #6a3b22;
  border-radius: 10px;
  box-shadow: 0 16px 30px rgba(0,0,0,.45), inset 0 0 0 3px #d4a22a;
  padding: 22px 22px 26px;
}
.sign h2 {
  font-family: "Limelight", "Times New Roman", serif;
  font-size: 1.55rem;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-align: center;
}
.sign p, .sign li {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 10px;
}
.sign ol { margin: 0 0 12px 1.2em; }
.sign a { color: #8a0a12; cursor: pointer; }
.steps { display: grid; gap: 16px; }
.step {
  background: rgba(255,255,255,.35);
  border: 2px solid #c0813a;
  border-radius: 8px;
  padding: 14px 14px 16px;
}
.step h3 {
  font-family: "Bebas Neue", "Impact", sans-serif;
  letter-spacing: .12em;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #8a0a12;
}
.step.hidden, .hidden { display: none !important; }
label, .field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.optional { font-weight: 600; color: #6a3b22; }
.step .hint { font-weight: 500; font-size: .9rem; margin: 4px 0 0; color: #5a3a22; }
input[type="url"], input[type="text"], select {
  width: 100%;
  font: inherit;
  padding: 10px 12px;
  border: 2px solid #6a3b22;
  border-radius: 6px;
  background: #fffaf0;
  color: #2a140c;
}
.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cats label {
  font-weight: 600;
  background: #fffaf0;
  border: 2px solid #6a3b22;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  margin: 0;
}
.cats input { margin-right: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn {
  font-family: "Bebas Neue", "Impact", sans-serif;
  letter-spacing: .12em;
  font-size: 1.15rem;
  background: #d0121c;
  color: #fff8dc;
  border: 2px solid #6e1218;
  border-radius: 8px;
  padding: 10px 18px 8px;
  cursor: pointer;
  box-shadow: 0 3px 0 #6e1218;
  text-decoration: none;
  display: inline-block;
}
.btn.secondary {
  background: #f6e2b0;
  color: #2a140c;
}
.btn:hover { filter: brightness(1.05); }
.btn:focus-visible { outline: 3px solid #8a0a12; outline-offset: 2px; }
.form-status {
  margin-top: 12px;
  min-height: 1.4em;
  font-weight: 700;
}
.form-status.error { color: #8a0a12; }
.form-status.ok { color: #165a24; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.directory .page { padding-bottom: 0; }
body.directory .grid { margin-bottom: 24px; }

/* Ticket hit target — SVG is decorative so the whole ticket stays a link */
.ticket { cursor: pointer; z-index: 2; }
.ticket svg { pointer-events: none; }

/* Moon with craters, shading, halo, and a slow shimmer */
.moon {
  position: fixed;
  top: 78px;
  left: 22px;
  width: 88px;
  height: 88px;
  z-index: 3;
  pointer-events: none;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.moon::after { content: none; display: none; }
.moon svg { width: 100%; height: 100%; display: block; overflow: visible; }
.moon .halo {
  transform-origin: 32px 32px;
  animation: moon-halo 7s ease-in-out infinite;
}
.moon .sheen {
  transform-origin: 32px 32px;
  animation: moon-sheen 6.5s ease-in-out infinite;
}
@keyframes moon-halo {
  0%, 100% { opacity: .55; }
  50% { opacity: .95; }
}
@keyframes moon-sheen {
  0%, 100% { opacity: .18; }
  45% { opacity: .42; }
  70% { opacity: .22; }
}
@media (max-width: 679px) {
  .moon { top: 90px; left: 4px; width: 42px; height: 42px; }
  body.directory .moon { top: 90px; }
}

/* Add-a-booth modal */
.add-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.add-overlay.hidden { display: none; }
.add-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 20, .62);
  cursor: pointer;
}
.add-overlay .sign {
  position: relative;
  z-index: 21;
  margin: 0;
  max-height: calc(100vh - 32px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.add-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 2px solid #6a3b22;
  border-radius: 8px;
  background: #fffaf0;
  color: #2a140c;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.add-close:hover { background: #ffe27a; }
.add-close:focus-visible { outline: 3px solid #8a0a12; outline-offset: 2px; }
.add-overlay .sign h2 { padding: 0 48px; }
body.modal-open { overflow: hidden; }

@media (max-width: 679px) {
  .sign { padding: 16px 14px 20px; margin-bottom: 80px; }
  .add-overlay { padding: 10px; align-items: flex-start; }
  .add-overlay .sign {
    margin-top: 8px;
    max-height: calc(100vh - 16px);
    padding-top: 52px;
  }
  .add-overlay .sign h2 { padding: 0 8px; }
  .site-nav { gap: 6px 14px; }
}
