/*
 * Improvista — visual system adapted from the approved HTML POC.
 * Colours: ink #183d38 · cream #faf7ef · coral #f6a38e / #d55e45 · blue #ccdafc · lime #d8ef83
 */

:root {
  --ink: #183d38;
  --cream: #faf7ef;
  --coral: #f6a38e;
  --coral-deep: #d55e45;
  --blue: #ccdafc;
  --line: #d7ddd3;
  --lime: #d8ef83;
  --muted: #51665d;
  --muted-2: #65776e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.5 "Avenir Next", "Segoe UI", Arial, Helvetica, sans-serif;
}
main { flex: 1 0 auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { outline-offset: 5px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(1200px, calc(100% - 80px)); max-width: 1200px; margin: auto; }

/* —— Header —— */
.site-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid #183d3820;
  background: var(--cream);
}
.nav {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 100%;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 0;
  flex-shrink: 0;
}
.logo-mark {
  display: block;
  height: 58px;
  width: auto;
  overflow: visible;
}
span.logo-mark {
  position: relative;
  aspect-ratio: 207 / 150;
}
.logo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.logo-dot,
.logo-star {
  will-change: transform, opacity;
}
.logo-dot {
  transform-origin: 7.97% 14.33%;
  animation: logo-dot-pop 950ms cubic-bezier(0.22, 0.9, 0.3, 1.15) both;
}
.logo-star {
  transform-origin: 8.21% 13%;
  animation: logo-star-pop 950ms cubic-bezier(0.22, 0.9, 0.3, 1.15) both;
}
@keyframes logo-dot-pop {
  0%, 42% {
    opacity: 1;
    transform: scale(1, 1);
  }
  50% {
    opacity: 1;
    transform: scale(1.14, 0.78);
  }
  68%, 100% {
    opacity: 0;
    transform: scale(0.2, 0.2);
  }
}
@keyframes logo-star-pop {
  0%, 50% {
    opacity: 0;
    transform: scale(0.3) rotate(-15deg);
  }
  82% {
    opacity: 1;
    transform: scale(1.15) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
.logo-mark-horizontal { height: 36px; }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}
.nav-primary {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}
.nav-text-link {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}
.nav-text-link:hover { opacity: 0.8; }
.nav-community { position: relative; }
.nav-community-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  line-height: 1;
}
.nav-community-trigger[aria-expanded="true"] { background: transparent; }
.nav-panel-community {
  left: 0;
  right: auto;
  width: 300px;
}
.nav-mobile-group { padding: 4px 0; }
.nav-mobile-label {
  margin: 8px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-mobile-sublink { padding-left: 12px; }
.nav-mobile-sublink span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.nav-text-link:focus-visible,
.nav-icon-btn:focus-visible,
.nav-avatar-btn:focus-visible,
.nav-post-btn:focus-visible,
.nav-mobile-post:focus-visible,
.nav-mobile-link:focus-visible,
.nav-panel-item:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.nav-post-btn,
.nav-mobile-post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
.nav-post-btn:hover,
.nav-mobile-post:hover {
  background: color-mix(in srgb, var(--blue) 82%, var(--ink));
  color: var(--ink);
  filter: none;
}

.nav-icon-btn,
.nav-avatar-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  margin: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  line-height: 0;
}
.nav-icon-btn:hover,
.nav-avatar-btn:hover { background: #183d3810; }
/* After .nav-icon-btn so the shared button display does not keep the menu visible on desktop. */
.nav-icon-btn.nav-mobile-trigger { display: none; }
.nav-icon-btn[aria-expanded="true"],
.nav-avatar-btn[aria-expanded="true"] { background: #183d3814; }

.nav-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--coral-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.nav-avatar {
  display: block;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-chevron { flex-shrink: 0; opacity: 0.7; }

.nav-notify,
.nav-account {
  position: relative;
  flex-shrink: 0;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  width: min(320px, calc(100vw - 24px));
  max-height: min(70vh, 420px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px #183d3818;
}
.nav-panel[hidden] { display: none !important; }
.nav-panel-label {
  padding: 8px 12px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  word-break: break-word;
}
.nav-panel-org {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.visibility-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  cursor: pointer;
}
.visibility-toggle input { margin-top: 3px; }
.visibility-toggle strong { display: block; font-size: 14px; }
.visibility-toggle .small-note { display: block; margin-top: 2px; }
.private-page h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.private-page p { margin: 0; color: var(--muted); }
.troupe-invite-form select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.nav-panel-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.nav-panel-item:hover {
  background: #eef3ff;
}
.nav-panel-item-title {
  display: block;
}
.nav-panel-item-detail {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.nav-panel-empty {
  margin: 0;
  padding: 14px 12px;
  font-size: 13px;
  color: var(--muted);
}
.nav-panel-sep {
  height: 1px;
  margin: 6px 8px;
  background: var(--line);
}
.nav-panel-form { margin: 0; }
.nav-panel-button { font: inherit; }

.nav-mobile-panel {
  border-top: 1px solid #183d3820;
  background: var(--cream);
  max-width: 100vw;
  overflow-x: hidden;
}
.nav-mobile-panel[hidden] { display: none !important; }
.nav-mobile-inner {
  padding: 12px 0 20px;
}
.nav-mobile-inner nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.nav-mobile-link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
}
.nav-mobile-link:hover { opacity: 0.8; }
.nav-mobile-post {
  margin-top: 8px;
  justify-content: center;
  width: 100%;
}


.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}
.btn:hover { filter: brightness(1.08); }
.btn.light { background: transparent; color: var(--ink); }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lavender { background: var(--blue); color: var(--ink); border-color: #b7c6f0; }
.btn.full { width: 100%; }
.btn.small { padding: 9px 14px; font-size: 13px; }
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}
.btn:disabled:hover { filter: none; }

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
}

/* —— Hero —— */
.hero {
  padding: 64px 0 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "copy art"
    "find find";
  align-items: center;
  column-gap: 40px;
  row-gap: 32px;
}
.hero-copy { grid-area: copy; }
.hero-art { grid-area: art; }
.hero .find-shows {
  grid-area: find;
  width: 100%;
  padding: 0;
}
.hero h1 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  font-weight: 850;
}
.hero h1 .hero-where::after,
.hero h1 .hero-is::after { content: " "; }
.hero h1 .hero-everything::after {
  content: "\A";
  white-space: pre;
}
.hero h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #be583f;
  font-style: italic;
}
.hero p {
  max-width: 460px;
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}
.hero-learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.hero-learn:hover { opacity: 0.8; }
.hero.catalog {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "cities" "find";
  min-width: 0;
  padding-bottom: 0;
  row-gap: 22px;
}
.hero.catalog.catalog-plain {
  grid-template-areas: "copy" "find";
}
.hero.catalog + .browse {
  padding-top: 20px;
}
.hero.catalog h1 {
  font-size: clamp(32px, 4vw, 48px);
}
.hero.catalog .hero-copy p {
  max-width: none;
}
.city-carousel {
  grid-area: cities;
  position: relative;
  margin-top: 18px;
  min-width: 0;
  max-width: 100%;
  container-type: inline-size;
  container-name: cities;
}
.city-carousel-track {
  display: flex;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  padding-block: 4px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.city-carousel-track::-webkit-scrollbar { display: none; }
.city-card {
  --city-visible: 8;
  flex: 0 0 calc((100cqi - (var(--city-visible) - 1) * 12px) / var(--city-visible));
  width: calc((100cqi - (var(--city-visible) - 1) * 12px) / var(--city-visible));
  min-width: calc((100cqi - (var(--city-visible) - 1) * 12px) / var(--city-visible));
  aspect-ratio: 1;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 8px 10px 8px;
  background: #fffdf8;
  border: 1px solid #d8dcd1;
  border-radius: 12px;
  color: var(--ink);
  transition: transform .18s, box-shadow .18s;
}
.city-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #183d3810;
}
.city-card-art {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
}
.city-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.1;
}
.city-card-label .arrow { font-size: 12px; }
.city-card-more-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  color: var(--coral-deep);
}
.city-card-more-mark .eta-star {
  width: 48px;
  height: 48px;
  color: var(--coral-deep);
}
.city-index { padding: 36px 0 72px; }
.city-index h1 { margin: 8px 0 8px; }
.city-index-lede { margin: 0 0 28px; color: var(--muted); }
.city-index-groups {
  columns: 4 180px;
  column-gap: 36px;
}
.city-index-group {
  break-inside: avoid;
  margin: 0 0 22px;
}
.city-index-group h2 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.city-index-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.city-index-group a {
  display: block;
  padding: 3px 0;
  font-weight: 600;
}
.city-index-group a:hover { text-decoration: underline; text-underline-offset: 3px; }
.city-carousel-nav {
  position: absolute;
  top: calc(4px + (100% - 16px) / 2);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 0;
  padding: 0;
  border-radius: 50%;
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--ink);
  transform: translateY(-50%);
  box-shadow: 0 4px 14px #183d3818;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}
.city-carousel-nav svg { display: block; }
.city-carousel:hover .city-carousel-nav,
.city-carousel:focus-within .city-carousel-nav {
  opacity: 1;
  pointer-events: auto;
}
@media (hover: none) {
  .city-carousel-nav { opacity: 1; pointer-events: auto; }
}
.city-carousel-nav.is-prev { left: -6px; }
.city-carousel-nav.is-next { right: -6px; }
@container cities (max-width: 1139px) { .city-card { --city-visible: 7; } }
@container cities (max-width: 995px) { .city-card { --city-visible: 6; } }
@container cities (max-width: 851px) { .city-card { --city-visible: 5; } }
@container cities (max-width: 707px) { .city-card { --city-visible: 4; } }
@container cities (max-width: 563px) { .city-card { --city-visible: 3; } }
@container cities (max-width: 419px) { .city-card { --city-visible: 2; } }
@container cities (max-width: 275px) { .city-card { --city-visible: 1; } }
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-art-img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
}

.small-note { font-size: 12px; color: var(--muted-2); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.poster-headline-line { display: block; }

/* —— Filters —— */
.find-shows { padding-bottom: 8px; }
.filters {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 0;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 0 #183d3805;
}
.filter { position: relative; padding: 0 24px; border-right: 1px solid var(--line); }
.filter:first-child { padding-left: 12px; }
.filter label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #69776c;
}
.filter select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2365776e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    right center / 12px no-repeat;
  padding: 5px 22px 5px 0;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
}
.filters.directory-filters {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr) auto;
}
.filters.directory-filters .choice-menu-trigger {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filters.directory-filters.players-filters {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr) auto;
}
.filters.event-filters {
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.9fr)) auto;
  margin-bottom: 22px;
}
.filters .filter input[type="text"],
.filters .city-combobox-input {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 5px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.filters .filter input[type="text"]:focus,
.filters .city-combobox-input:focus {
  outline: none;
  border: 0;
  box-shadow: none;
}
.filters .filter input::placeholder,
.filters .city-combobox-input::placeholder {
  color: var(--ink);
  opacity: 1;
  font-weight: 500;
}
.filters-submit { margin-left: 20px; }
.choice-menu-trigger { display: none; }
.choice-menu.is-enhanced select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}
.choice-menu.is-enhanced .choice-menu-trigger,
.date-range .choice-menu-trigger {
  display: block;
  width: 100%;
  border: 0;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2365776e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    right center / 12px no-repeat;
  padding: 5px 22px 5px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.choice-menu-list {
  min-width: 220px;
  width: max(100%, 220px);
}
.choice-menu-search {
  display: block;
  width: calc(100% - 8px);
  margin: 4px 4px 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.choice-menu-search:focus {
  outline: none;
  border-color: var(--ink);
}
.field.choice-menu { position: relative; }
.field.choice-menu.is-enhanced .choice-menu-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  border: 1px solid #c6cebf;
  border-radius: 6px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23183d38' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  padding: 8px 36px 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.field.choice-menu.is-enhanced .choice-menu-trigger:focus-visible {
  outline: 2px solid var(--ink);
  border-color: var(--ink);
}
.choice-menu-face {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.choice-menu-face .org-avatar { flex: none; }
.city-combobox-option.is-face {
  flex-direction: row;
  align-items: center;
}
.date-range-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px #183d3825;
}
.date-range-head {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  margin-bottom: 8px;
}
.date-range-head strong {
  text-align: center;
  font-size: 14px;
}
.date-range-nav {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}
.date-range-nav:hover { background: #eef3ff; }
.date-range-nav:disabled { opacity: 0.35; }
.date-range-weekdays,
.date-range-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.date-range-weekdays {
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-align: center;
}
.date-range-day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
button.date-range-day { cursor: pointer; }
button.date-range-day:hover { background: #eef3ff; }
.date-range-day.is-disabled { color: #b7c2bb; font-weight: 500; }
.date-range-day.is-today { box-shadow: inset 0 0 0 1px var(--line); }
.date-range-day.is-in-range {
  background: #eef3ff;
  border-radius: 0;
}
.date-range-day.is-selected,
button.date-range-day.is-selected:hover {
  background: var(--ink);
  color: #fff;
}
.date-range-day.is-start { border-radius: 8px 0 0 8px; }
.date-range-day.is-end { border-radius: 0 8px 8px 0; }
.date-range-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.date-range-control { position: relative; }
.date-range.has-value .choice-menu-trigger { background-image: none; }
.date-range-clear {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1px solid #b7c2bb;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
}
.date-range-clear:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* —— Browse —— */
.browse { padding: 48px 0 36px; }
.browse-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 22px 0 28px;
  flex-wrap: wrap;
}
.browse-toolbar .chips { margin: 0; }
.browse-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.browse-more .btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-bottom: 27px;
}
h2 {
  font-size: 35px;
  letter-spacing: -1.4px;
  line-height: 1.15;
  margin: 8px 0 0;
}
.section-heading p { font-size: 13px; color: #63736a; margin: 8px 0 0; }

.view-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #eeeede;
  border-radius: 7px;
}
.view-switch button {
  background: transparent;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 12px;
}
.view-switch button.active {
  background: white;
  box-shadow: 0 1px 3px #0001;
}

.chips { display: flex; gap: 9px; margin: 0 0 25px; flex-wrap: wrap; }
.chip {
  font-size: 12px;
  padding: 7px 14px;
  border: 1px solid #cdd4c8;
  border-radius: 30px;
  background: transparent;
}
.chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 25px;
}
.grid.list { grid-template-columns: 1fr; }
.list .card { display: grid; grid-template-columns: 230px 1fr; align-items: start; }
.list .poster { height: auto; aspect-ratio: 16/9; align-self: start; }
.list .card-body { padding: 20px 25px; }
.list .card-copy { margin-bottom: 12px; }

.card {
  border: 1px solid #d8dcd1;
  border-radius: 11px;
  background: #fffdf8;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px #183d3810;
}
.poster {
  height: auto;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.poster-photo {
  background: #183d38;
  color: #faf7ef;
}
.poster-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster.poster-photo .corner {
  background: rgba(250, 247, 239, 0.78);
  color: var(--ink);
  border-color: transparent;
}
.image-frame {
  border: 1px dashed #c6cebf;
  border-radius: 10px;
  background: #f3f5eb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #65776e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-frame-16x9 { aspect-ratio: 16 / 9; }
.image-frame-1x1 { aspect-ratio: 1 / 1; max-width: 220px; }
.image-frame-social {
  border-style: solid;
  border-width: 10px;
  border-color: #faf7ef;
  box-shadow: 0 0 0 1px #d7ddd3;
}
.image-upload-grid .field input[type="file"] {
  padding: 8px 0;
  border: 0;
  background: transparent;
}
.poster-fields .avatar-mode-switch { margin-bottom: 14px; }
.poster-panel { margin-top: 4px; }
.poster-editor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.poster-editor-preview .field-label { display: block; margin-bottom: 8px; }
.poster-preview {
  border-radius: 10px;
  width: 100%;
}
.eta-star {
  display: inline-flex;
  width: 1em;
  height: 1em;
  line-height: 0;
  color: #ee5b26;
  pointer-events: none;
}
.eta-star svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.image-assets {
  margin: 20px 0;
}
.image-assets .eyebrow { margin-bottom: 10px; }
.image-assets small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #778174;
  margin-bottom: 6px;
}
.poster .type {
  font-weight: 900;
  line-height: .95;
  letter-spacing: -1.5px;
  text-align: center;
  z-index: 2;
  font-size: 28px;
  transform: rotate(-5deg);
  padding: 0 16px;
}
.poster .poster-small {
  font-size: 9px;
  letter-spacing: 2px;
  display: block;
  margin: 10px 0;
  font-weight: 700;
  line-height: 1.5;
}
.poster::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -40px;
  bottom: -45px;
  opacity: .18;
  background-color: currentColor;
  -webkit-mask: url("/assets/logo/eta-star-c0e35aff.svg") center / contain no-repeat;
  mask: url("/assets/logo/eta-star-c0e35aff.svg") center / contain no-repeat;
  pointer-events: none;
}
.poster-green { background: #234d42; color: #f4e8ba; }
.poster-pink { background: #edb5c0; color: #5d254d; }
.poster-blue { background: #c5d7f2; color: #243b72; }
.poster-yellow { background: #f7cf66; color: #853b22; }
.poster-orange { background: #e88d6c; color: #463625; }
.poster-lilac { background: #d5cce9; color: #44345c; }
.poster .corner {
  position: absolute;
  top: 13px;
  left: 14px;
  font-size: 9px;
  border: 1px solid currentColor;
  padding: 3px 6px;
  border-radius: 3px;
  z-index: 3;
}
.poster .doodle {
  position: absolute;
  left: 12px;
  bottom: 10px;
  width: 56px;
  height: 56px;
  font-size: 56px;
  transform: rotate(12deg);
  opacity: .9;
  z-index: 2;
}
.poster .doodle.poster-star,
.poster .doodle.eta-star {
  color: inherit;
  opacity: 0.88;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 21px 21px 16px;
}
.card-copy { margin-bottom: 19px; }
.date {
  color: #ab5039;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}
.card h3 {
  font-size: 19px;
  letter-spacing: -.5px;
  line-height: 1.25;
  margin: 9px 0;
}
.venue { font-size: 12px; color: #67776b; margin: 0; }
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e8e9df;
  font-size: 12px;
}
.tag {
  background: #eef0e7;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 10px;
  display: inline-block;
}
.arrow { font-size: 19px; }

.empty {
  padding: 45px;
  text-align: center;
  border: 1px dashed #aab9aa;
  border-radius: 10px;
  grid-column: 1 / -1;
}

/* —— Organisers band —— */
.pathways {
  padding: 28px 0 72px;
  text-align: left;
}
.pathways .eyebrow { color: var(--muted); margin: 0 0 10px; }
.pathways h2 {
  max-width: 16ch;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.04em;
  margin: 0;
}
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: 36px;
  margin-top: 36px;
}
.pathway {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 280px;
  text-align: center;
}
.pathway:hover h3 { color: var(--coral-deep); }
.pathway-art {
  display: block;
  align-self: center;
  width: 168px;
  height: 112px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 8px;
}
.pathway h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.pathway p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 28ch;
}

.organisers {
  background: #ddd6f5;
  border-top: 1px solid #cfc6ea;
}
.organiser-inner {
  padding: 54px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.organiser-inner h2 { font-size: 40px; }
.organiser-inner p { max-width: 520px; font-size: 15px; }
.organiser-mark {
  line-height: 1;
  transform: rotate(-12deg);
  color: #ee5b26;
}
.organiser-mark .eta-star,
.organiser-mark img {
  width: 78px;
  height: auto;
  color: inherit;
  display: block;
}

.ntrada {
  padding: 35px 0;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.ntrada p { font-size: 14px; margin: 8px 0 0; color: var(--muted-2); }
.ntrada-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.ntrada-brand:hover { opacity: 0.85; }
.ntrada-logo {
  display: block;
  vertical-align: middle;
}
.ntrada-logo-inline {
  display: inline-block;
  height: 18px;
  width: auto;
  vertical-align: -4px;
  margin: 0 2px;
}
.text-link {
  border: 0;
  background: none;
  padding: 0;
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ntrada-cta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
.ntrada-ticket-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin-top: 8px;
  padding: 16px 18px;
  background: #e7eefc;
  border-radius: 12px;
  color: var(--ink);
}
.ntrada-mark {
  display: block;
  width: 78px;
  height: 24px;
  margin-bottom: 8px;
  background-color: currentColor;
  -webkit-mask: url("/assets/logos/Ntrada_Box_Black-c67349c0.svg") left center / contain no-repeat;
  mask: url("/assets/logos/Ntrada_Box_Black-c67349c0.svg") left center / contain no-repeat;
}
.ntrada-ticket-cta-copy strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.ntrada-ticket-cta-copy p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}
.ntrada-ticket-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  gap: 6px;
}
.ntrada-waitlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.ntrada-waitlist:hover { background: rgba(255, 255, 255, 0.55); }
@container event-editor (max-width: 720px) {
  .ntrada-ticket-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .ntrada-ticket-cta-action { align-items: stretch; text-align: center; }
  .ntrada-waitlist { width: 100%; }
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: #f4f3df;
  padding: 35px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.footer-brand {
  color: #f4f3df;
}
.footer-logo {
  aspect-ratio: 207 / 150;
  background-color: currentColor;
  -webkit-mask: url("/assets/logo/improvista-9006a478.png") center / contain no-repeat;
  mask: url("/assets/logo/improvista-9006a478.png") center / contain no-repeat;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #f4f3df;
  font-size: 13px;
  line-height: 1;
}
.site-footer .footer-copy {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  color: #f4f3df;
}
.footer-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-ntrada {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f4f3df;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.footer-ntrada:hover { opacity: 0.72; }
.footer-ntrada:focus-visible {
  outline: 2px solid #f4f3df;
  outline-offset: 4px;
  border-radius: 2px;
}
.footer-ntrada-logo {
  display: block;
  width: 46px;
  height: 14px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("/assets/logos/Ntrada_Box_Black-c67349c0.svg") left center / contain no-repeat;
  mask: url("/assets/logos/Ntrada_Box_Black-c67349c0.svg") left center / contain no-repeat;
}
.site-footer .logo:focus-visible {
  outline: 2px solid #f4f3df;
  outline-offset: 4px;
  border-radius: 2px;
}
.family-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  font-size: 12px;
  color: #c1d0bc;
}
.family-link:hover { opacity: 0.9; }
.family-by {
  font-size: 12px;
  letter-spacing: 0.02em;
}
.site-footer p {
  font-size: 11px;
  color: #c1d0bc;
  margin: 0;
  text-align: right;
}

/* —— Event show —— */
.event-show { padding: 26px 0 54px; }
.event-show-back { margin: 0 0 20px; }
.event-show-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  column-gap: clamp(30px, 4vw, 52px);
  align-items: start;
}
.event-show-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.event-show-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.event-show .poster { border-radius: 12px; margin-bottom: 0; }
.event-show .poster:not(.poster-photo) .type {
  font-size: clamp(38px, 4.5vw, 56px);
  padding-inline: 28px;
}
.event-show .poster:not(.poster-photo) .poster-small {
  font-size: 11px;
  letter-spacing: 2.5px;
  margin: 13px 0;
}
.event-show .poster:not(.poster-photo) .corner {
  top: 17px;
  left: 18px;
  font-size: 11px;
  padding: 4px 8px;
}
.event-show .poster:not(.poster-photo) .doodle {
  left: 18px;
  bottom: 14px;
  width: 82px;
  height: 82px;
  font-size: 82px;
}
.event-show h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 7px 0 12px;
}
.event-show-about h2,
.event-other-dates h2 {
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.15;
  letter-spacing: -0.7px;
  margin: 0 0 7px;
}
.event-show .lede {
  color: var(--ink);
  font-size: 16px;
  margin: 0;
}
.event-show .lede p { margin: 0 0 12px; }
.event-show .lede p:last-child { margin-bottom: 0; }
.event-show-about .event-lineup { margin-top: 24px; }
.event-show-about .event-lineup h2 { margin-bottom: 12px; }
.event-show-location {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 16px;
  font-size: 14px;
  line-height: 1.3;
}
.event-show-location svg { flex: 0 0 auto; margin-top: 1px; }
.event-show-location strong,
.event-show-location span { display: block; }
.event-show-location .date-meta { margin-top: 2px; }
.event-next-date {
  margin-top: 10px;
  padding: 15px 16px 13px;
  border-radius: 10px;
  background: #eef0e7;
}
.event-next-label {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.event-next-date h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.7px;
}
.event-next-date .btn { min-height: 42px; }
.event-next-date .ticket-note { text-align: center; }
.event-other-dates { margin-top: 14px; }
.event-other-dates h2 { font-size: 22px; margin-bottom: 5px; }
.ticket-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted-2);
}
.signup-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.signup-box p { margin: 0 0 12px; font-size: 14px; }
.signup-box p:last-child { margin-bottom: 0; }
.signup-box .field { margin-top: 12px; }
.signup-privacy { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.result-aside { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.result-aside h2 { font-size: 22px; margin: 0 0 8px; }
.booking-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.booking-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.booking-row h2 {
  font-size: 20px;
  margin: 8px 0 4px;
}
.group-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.group-identity h2 { margin: 0 0 2px; }
.group-identity .venue { margin: 0; }
a.group-identity {
  color: inherit;
  text-decoration: none;
}
a.group-identity:hover h2 {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.booking-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tip {
  position: relative;
  display: inline-flex;
  cursor: not-allowed;
}
.tip .btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}
.tip-bubble {
  display: none;
  position: absolute;
  z-index: 6;
  right: 0;
  top: calc(100% + 8px);
  width: max-content;
  max-width: 220px;
  padding: 8px 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.tip:hover .tip-bubble,
.tip:focus-within .tip-bubble { display: block; }
.waitlist-fold { margin: 18px 0 0; }
.waitlist-fold > summary { cursor: pointer; font-size: 14px; font-weight: 700; }
.waitlist-fold[open] > summary { margin-bottom: 4px; }
.recipient-list { margin: 0 0 18px 28px; }
.signup-email { position: relative; }
.signup-email summary { list-style: none; cursor: pointer; }
.signup-email summary::-webkit-details-marker { display: none; }
.signup-email form {
  position: absolute;
  z-index: 5;
  right: 0;
  top: calc(100% + 6px);
  width: min(280px, 70vw);
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px #183d3820;
}
.signup-email .field { margin: 0 0 8px; }
.signup-email textarea { width: 100%; }
.badge.attending { background: var(--lime); }
.badge.pending { background: #f7cf66; }
.badge.accepted { background: var(--lime); }
.badge.declined, .badge.expired { background: #f6e2d8; }
.attendance-preview { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.attendance-preview ul { margin: 4px 0 10px; padding-left: 18px; }
.attendance-preview li { font-size: 14px; }
.attendance-consent, .check-row { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; font-size: 14px; line-height: 1.4; }
.attendance-consent input, .check-row input { margin-top: 3px; }
.check-row .small-note { display: block; margin-top: 2px; }
.badge.waitlisted { background: #f6e2d8; }
.panel .lede { color: var(--muted); margin-top: 8px; }
.share-bar {
  position: relative;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: inline-block;
}
.event-show .share-bar {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 16px;
  padding-top: 0;
  border-top: 0;
}
.event-show .share-status { position: absolute; right: 0; top: 100%; }
.share-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 7px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.share-trigger:hover { background: #eef3ff; }
.share-trigger[aria-expanded="true"] { background: #eef3ff; }
.share-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  min-width: 180px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px #183d3818;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.share-menu[hidden] { display: none !important; }
.share-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.share-menu-item:hover,
.share-menu-item:focus-visible {
  background: #eef3ff;
  outline: none;
}
.share-status {
  min-height: 1.2em;
  margin: 8px 0 0;
}
.details-grid {
  --details-pad: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: white;
  padding: var(--details-pad);
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 14px;
  margin: 20px 0;
}
.details-grid small {
  display: block;
  color: #778174;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.details-tickets {
  grid-column: 1 / -1;
  margin-left: calc(var(--details-pad) * -1);
  margin-right: calc(var(--details-pad) * -1);
  padding: 16px var(--details-pad) 0;
  border-top: 1px solid var(--line);
}
.notice {
  background: #e8eedc;
  border: 1px solid #d5dec6;
  padding: 13px;
  border-radius: 8px;
  font-size: 13px;
  margin: 15px 0;
}

/* —— Auth / forms —— */
.auth-shell {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 60px;
}
.auth-card {
  width: min(440px, 100%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
}
.auth-card h1 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 8px 0 8px;
}
.signin-create {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ink);
}
.signin-create a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.field:has(.signin-forgot) {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  align-items: baseline;
}
.field:has(.signin-forgot) .signin-forgot { grid-column: 2; grid-row: 1; }
.field:has(.signin-forgot) input { grid-column: 1 / -1; grid-row: 2; }
.signin-forgot {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-card .lede { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.field label, .field .field-label { font-weight: 700; font-size: 12px; }
/* class display rules otherwise beat the native [hidden] attribute */
.field[hidden],
.avatar-panel[hidden],
.poster-panel[hidden],
[hidden] {
  display: none !important;
}

.form-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
.form-section-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin: 0 0 14px;
}
.admission-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.admission-heading .form-section-title { margin: 0; }
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.occurrence-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.occurrence-card {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: visible;
}
.occurrence-card.is-expanded {
  position: relative;
  z-index: 3;
}
.occurrence-summary {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: default;
  color: inherit;
  font: inherit;
}
.occurrence-summary-main {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.occurrence-summary-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.occurrence-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.occurrence-icon-btn:hover { background: #eef3ea; color: var(--ink); }
.occurrence-icon-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.occurrence-icon-btn[aria-label],
.profile-link-remove[aria-label],
.profile-link-handle[aria-label],
.row-more-trigger[aria-label],
.date-range-nav[aria-label] {
  position: relative;
}
.occurrence-icon-btn[aria-label]::after,
.nav-icon-btn[aria-label]::after,
.nav-avatar-btn[aria-label]::after,
.profile-link-remove[aria-label]::after,
.profile-link-handle[aria-label]::after,
.row-more-trigger[aria-label]::after,
.date-range-nav[aria-label]::after,
.date-range-clear[aria-label]::after,
.city-carousel-nav[aria-label]::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  z-index: 30;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.occurrence-icon-btn[aria-label]:hover::after,
.occurrence-icon-btn[aria-label]:focus-visible::after,
.nav-icon-btn[aria-label]:hover::after,
.nav-icon-btn[aria-label]:focus-visible::after,
.nav-avatar-btn[aria-label]:hover::after,
.nav-avatar-btn[aria-label]:focus-visible::after,
.profile-link-remove[aria-label]:hover::after,
.profile-link-remove[aria-label]:focus-visible::after,
.profile-link-handle[aria-label]:hover::after,
.row-more-trigger[aria-label]:hover::after,
.row-more-trigger[aria-label]:focus-visible::after,
.date-range-nav[aria-label]:hover::after,
.date-range-nav[aria-label]:focus-visible::after,
.date-range-clear[aria-label]:hover::after,
.date-range-clear[aria-label]:focus-visible::after,
.city-carousel-nav[aria-label]:hover::after,
.city-carousel-nav[aria-label]:focus-visible::after {
  opacity: 1;
  visibility: visible;
}
.nav-icon-btn[aria-expanded="true"]::after,
.nav-avatar-btn[aria-expanded="true"]::after,
.row-more-trigger[aria-expanded="true"]::after {
  opacity: 0;
  visibility: hidden;
}
.occurrence-cal {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #eef1ec;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.occurrence-cal strong {
  font-size: 16px;
  letter-spacing: -0.4px;
}
.occurrence-summary-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.occurrence-summary-copy strong {
  font-size: 14px;
}
.occurrence-summary-copy span {
  font-size: 13px;
  color: var(--muted);
}
.occurrence-summary-copy .occurrence-summary-label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.occurrence-body {
  padding: 14px 14px 12px;
}
.occurrence-body-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.occurrence-inline-action {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 13px;
}
.occurrence-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  margin: 4px 0 12px;
  cursor: pointer;
}
.occurrence-check input {
  margin-top: 3px;
}
.occurrence-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.occurrence-icon-btn.occurrence-remove { color: #b42318; }
.occurrence-icon-btn.occurrence-remove:hover { background: #f8ebe7; color: #b42318; }
.occurrence-remove.is-disabled,
.occurrence-remove:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.occurrence-ticket-override { margin: 4px 0 14px; }
.occurrence-ticket-panel { margin-top: 8px; }
.occurrence-repeat {
  margin: 4px 0 14px;
}
.occurrence-repeat-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
}
.occurrence-repeat-label {
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
}
.switch {
  display: flex;
  align-items: center;
  width: 46px;
  height: 28px;
  padding: 3px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}
.switch-thumb {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8aa097;
}
.switch[aria-checked="true"] {
  justify-content: flex-end;
  background: var(--ink);
  border-color: var(--ink);
}
.switch[aria-checked="true"] .switch-thumb { background: #fff; }
.switch:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.occurrence-repeat-frequency { margin-bottom: 12px; }
.occurrence-repeat-options {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f2f3ff;
}
.occurrence-repeat-count {
  display: flex;
  gap: 10px;
  align-items: center;
}
.occurrence-repeat-count > span {
  flex: none;
  white-space: nowrap;
}
.occurrence-repeat-count input {
  flex: none;
  width: 5em;
  min-height: 44px;
  padding: 10px 8px;
  border: 1px solid #c6cebf;
  border-radius: 6px;
  background: white;
  font-size: 14px;
  text-align: center;
}
.occurrence-repeat-count input:focus {
  outline: 2px solid var(--ink);
  border-color: var(--ink);
}
.occurrence-repeat-options .small-note { margin: 8px 0 0; }
.occurrence-repeat-generate { margin-top: 14px; }
.occurrence-card > .occurrence-repeat-status { margin: 0; padding: 0 14px 12px; }
.occurrence-add {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px dashed var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 10px;
}
.occurrence-add:hover {
  border-color: var(--ink);
  background: #f7f5ef;
}
.occurrence-errors {
  margin-bottom: 12px;
}
.ntrada-quiet {
  margin-top: 4px;
}
.poster-more {
  margin-top: 8px;
}
.poster-more summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.event-dates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.event-dates-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(70px, auto);
  gap: 14px;
  align-items: baseline;
  padding: 7px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.event-dates-list li:last-child { border-bottom: 0; }
.event-date-day {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.event-date-day > span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}
.event-date-time { white-space: nowrap; }
.event-date-action {
  min-width: 70px;
  text-align: right;
  font-weight: 800;
  white-space: nowrap;
}
.event-date-action a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.date-closed {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.org-fields {
  padding: 4px 0 2px;
}
.icon-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.icon-option {
  position: relative;
  cursor: pointer;
}
.icon-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.icon-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid #d7ddd3;
  background: #fff;
  font-size: 22px;
  line-height: 1;
}
.icon-option input:checked + span {
  border-color: var(--ink);
  background: #eef3ff;
  box-shadow: 0 0 0 2px #ccdafc;
}
.icon-option input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.org-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: #eef3ff;
  object-fit: cover;
}
.org-avatar-emoji {
  background: #eef3ff;
  line-height: 1;
}
.org-avatar-initials {
  background: #183d38;
  color: #faf7ef;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.org-badge-icon {
  /* size set inline via helper */
}
.avatar-mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.avatar-mode-option {
  position: relative;
  cursor: pointer;
}
.avatar-mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.avatar-mode-option span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid #d7ddd3;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}
.avatar-mode-option input:checked + span,
.avatar-mode-option.is-active span {
  border-color: var(--ink);
  background: #eef3ff;
  box-shadow: 0 0 0 1px var(--ink);
}
.initials-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.initials-row input {
  max-width: 120px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.initials-preview {
  width: 48px;
  height: 48px;
  font-size: 16px;
}
.avatar-current {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.card-org {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  font-size: 12px;
  color: #51665d;
  font-weight: 600;
}
.card-org-avatar {
  flex-shrink: 0;
}
.org-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  padding-right: 4px;
}
.org-badge-kind {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #65776e;
}
.presented-by {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  font-size: 13px;
  color: #65776e;
}
.slug-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #c6cebf;
  border-radius: 6px;
  background: white;
  overflow: hidden;
}
.slug-prefix {
  padding: 10px 0 10px 12px;
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  user-select: none;
}
.slug-row input {
  border: 0 !important;
  border-radius: 0 !important;
  padding-left: 2px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.mono-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.mono-link a { text-decoration: underline; text-underline-offset: 2px; }
.handle-preview {
  margin: 8px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.org-show { padding: 22px 0 70px; }
.org-show > .eyebrow { margin: 0; }
.org-show-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 32px;
  row-gap: 18px;
  align-items: start;
  margin-top: 20px;
}
.org-show-mark {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  justify-self: start;
  display: flex;
}
.org-show-header.has-bio .org-show-mark { grid-row: 1 / span 2; }
.org-show-header.has-links .org-show-mark { grid-row: 1 / span 3; }
.org-show-header.has-links:not(.has-bio) .org-show-mark { grid-row: 1 / span 2; }
.org-show-mark-fit {
  height: 100%;
  aspect-ratio: 1;
  container-type: size;
}
.org-show-avatar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  object-fit: cover;
  font-size: 52cqh !important;
}
.org-show-avatar.org-avatar-initials { font-size: 38cqh !important; }
.org-show-identity { grid-column: 2; grid-row: 1; min-width: 0; }
.org-show-header h1 {
  margin: 8px 0 0;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -1.4px;
  line-height: 1.05;
}
.org-show-actions {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  margin-left: 0;
}
.org-show-header .org-share { margin-left: 0; }
.org-bio { grid-column: 2; grid-row: 2; }
.org-show-links {
  grid-column: 2;
  grid-row: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.org-website-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.org-website-link:hover { opacity: 0.8; }
.org-bio {
  max-width: 640px;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.org-bio p { margin: 0 0 0.8em; }
.org-bio p:last-child { margin-bottom: 0; }
.org-profile-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.org-section-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 18px;
}
.org-section-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -1px;
}
.org-past-heading {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.org-members-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.org-member-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 28px 32px;
}
.org-member-grid > li {
  flex: 0 0 132px;
  width: 132px;
}
.org-member-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
  color: inherit;
}
.org-member-tile .player-avatar { flex: none; border-radius: 50%; }
a.org-member-tile:hover .org-member-name { text-decoration: underline; text-underline-offset: 3px; }
.org-member-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
}
.org-member-name {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.org-member-handle {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.org-show-more {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.org-members .troupe-join-box { margin-top: 18px; }
.org-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.upcoming-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: auto;
}
.upcoming-feature .poster {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  align-self: start;
  border-radius: 0;
}
.upcoming-feature .poster .corner { top: 8px; left: 8px; }
.upcoming-feature .poster .doodle {
  width: 32px;
  height: 32px;
  font-size: 32px;
  left: 8px;
  bottom: 6px;
}
.upcoming-feature .poster::after {
  width: 88px;
  height: 88px;
  right: -22px;
  bottom: -26px;
}
.poster.poster-photo::after { content: none; }
.upcoming-feature .card-body { padding: 14px 16px 12px; min-width: 0; }
.upcoming-feature .card-copy { margin-bottom: 8px; }
.upcoming-feature .card h3 { margin: 6px 0; }
@container (min-width: 640px) {
  .upcoming-feature { grid-template-columns: 300px minmax(0, 1fr); }
  .upcoming-feature .poster {
    height: calc(100% + 2px);
    margin-top: -1px;
    margin-bottom: -1px;
    aspect-ratio: auto;
    align-self: stretch;
  }
}
.upcoming-follow {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  min-width: 0;
  background: #fffdf8;
  border: 1px solid #d8dcd1;
  border-radius: 11px;
  overflow: hidden;
  color: inherit;
  transition: transform .18s, box-shadow .18s;
}
.upcoming-follow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #183d3810;
}
.upcoming-follow-poster { display: block; align-self: start; }
.upcoming-follow-poster .poster,
.poster-square {
  width: 156px;
  height: 156px;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 0;
}
.poster-square .type {
  width: 100%;
  font-size: 16px;
  letter-spacing: -0.5px;
  line-height: 0.92;
  transform: none;
  padding: 22px 10px 20px;
}
.poster-square .poster-headline-line { display: block; overflow-wrap: break-word; }
.poster-square .poster-small {
  font-size: 7px;
  letter-spacing: 0.4px;
  line-height: 1.25;
  margin: 5px 0;
}
.poster-square .corner { top: 8px; left: 8px; font-size: 8px; padding: 2px 4px; }
.poster-square .doodle { width: 22px; height: 22px; font-size: 22px; left: 8px; bottom: 6px; }
.poster-square::after { width: 78px; height: 78px; right: -24px; bottom: -28px; }
.upcoming-follow-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
}
.upcoming-follow-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.upcoming-follow-venue { font-size: 13px; color: var(--muted); }
.upcoming-follow .card-org { margin-top: 2px; }
.upcoming-follow-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}
.upcoming-follow-tags .arrow { margin-left: auto; }
.org-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}
.org-past-grid {
  display: grid;
  gap: 10px;
}
.org-past-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  background: #fffdf8;
  border: 1px solid #d8dcd1;
  border-radius: 11px;
}
.org-past-card:hover .org-past-title { text-decoration: underline; text-underline-offset: 3px; }
.org-past-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.org-past-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.org-past-detail {
  font-size: 12px;
  color: var(--muted);
}
.org-past-card .arrow { color: var(--muted); }
@media (min-width: 760px) {
  .org-past-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 901px) {
  .org-view-all-compact { display: none; }
}
@media (max-width: 900px) {
  .org-member-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
  .org-member-grid > li { width: auto; }
  .org-member-tile {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 10px;
  }
  .org-member-name { justify-content: flex-start; }
  .org-member-tile .player-avatar {
    width: 44px !important;
    height: 44px !important;
    font-size: 15px !important;
  }
  .org-event-grid { grid-template-columns: 1fr; }
  .org-event-grid:not(.is-expanded) .card:nth-child(n + 2) { display: none; }
  .org-view-all {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .org-show-header { grid-template-columns: auto minmax(0, 1fr); }
  .org-show-header .org-show-mark,
  .org-show-header.has-bio .org-show-mark,
  .org-show-header.has-links .org-show-mark { grid-row: 1; }
  .org-bio { grid-column: 1 / -1; }
  .org-show-header.has-links .org-show-links {
    grid-column: 1;
    align-self: center;
  }
  .org-show-header.has-links .org-show-actions {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }
  .org-show-header:not(.has-links) .org-show-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
  }
}
.past-shows-grid .card {
  opacity: 0.88;
}
.short-link-box {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
.short-link-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
}

.field input, .field select, .field textarea {
  border: 1px solid #c6cebf;
  border-radius: 6px;
  background: white;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
}
.field input[type="search"] {
  appearance: none;
  -webkit-appearance: none;
}
.field input[type="search"]::-webkit-search-decoration,
.field input[type="search"]::-webkit-search-cancel-button,
.field input[type="search"]::-webkit-search-results-button {
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--ink);
  border-color: var(--ink);
}
.field .slug-row:focus-within {
  outline: 2px solid var(--ink);
  border-color: var(--ink);
}
.field .slug-row input:focus {
  outline: none;
  border-color: transparent;
}
.price-row {
  display: flex;
  align-items: center;
  border: 1px solid #c6cebf;
  border-radius: 6px;
  background: white;
  overflow: hidden;
}
.price-prefix {
  padding: 0 0 0 12px;
  color: var(--ink);
  font-weight: 700;
  user-select: none;
}
.price-row input {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.price-row input::-webkit-outer-spin-button,
.price-row input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.field .price-row:focus-within {
  outline: 2px solid var(--ink);
  border-color: var(--ink);
}
.price-row input:focus {
  outline: none;
  border-color: transparent;
}
.field textarea { min-height: 110px; resize: vertical; }
.field .error, .field-error { color: #b42318; font-size: 13px; margin: 6px 0 0; }
.signup-shell {
  display: flex;
  justify-content: center;
  padding: 32px 16px 64px;
}
.signup-frame { width: min(520px, 100%); }
.signup-card .field > label { font-size: 14px; }
.signup-frame .signup-card { width: 100%; }
.signup-kicker {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--muted);
}
.signup-signin {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--ink);
}
.signup-signin a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signup-return {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signup-card {
  width: min(600px, 100%);
}
.signup-card .btn { min-height: 48px; }
.signup-progress { margin: 0 0 22px; }
.signup-step-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 15px;
}
.signup-step-count,
.signup-step-dot { color: var(--muted); font-weight: 500; }
.signup-step-name { color: var(--ink); font-weight: 800; }
.signup-optional {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #e6eee4;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.signup-meter { display: flex; gap: 8px; }
.signup-meter span {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #d5dfd2;
}
.signup-meter span.is-filled { background: var(--ink); }
.draft-context { font-size: 14px; margin: -8px 0 18px; }
.choice-list { border: 0; margin: 0 0 18px; padding: 0; }
.choice {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 14px 4px;
  margin-bottom: 10px;
}
.choice:has(input[type="radio"]:checked) {
  background: color-mix(in srgb, var(--blue) 62%, white);
  border-color: var(--ink);
}
.choice:has(input[type="radio"]:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.choice-label {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
  margin-bottom: 10px;
}
.choice-label input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--ink);
}
.choice-label strong { display: block; font-size: 15px; }
.choice-hint, .choice-note { display: block; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.4; }
.choice-note { margin: 0 0 12px; }
.choice-status { font-size: 13px; margin: 8px 0 0; }
.choice-fields { display: none; }
.choice:has(input[type="radio"]:checked) .choice-fields { display: block; }
.signup-back {
  display: block;
  margin-top: 8px;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signup-text-form { margin: 0; }
.signup-text-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.change-email { margin-top: 4px; }
.change-email summary {
  cursor: pointer;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.change-email summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 640px) {
  .signup-card { padding: 20px; }
  .signup-card .field input,
  .signup-card .field select,
  .signup-card .field textarea { font-size: 16px; }
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.auth-links { margin-top: 18px; font-size: 13px; }
.auth-links a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.back-arrow {
  display: inline-block;
  transform: scaleX(-1);
  letter-spacing: 0;
}

/* —— My shows —— */
.panel { padding: 40px 0 70px; }
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}
.panel-header h1 {
  font-size: 36px;
  letter-spacing: -1.4px;
  margin: 6px 0 0;
}
.post-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.post-actions form { margin: 0; }
.launch-pill {
  position: relative;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
}
.launch-pill span {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e6efe3;
  color: var(--muted);
}
.launch-pill::before {
  content: "";
  position: absolute;
  inset: -6px -10px -8px 0;
}
.launch-pill:hover span { background: #dce7d6; }
.launch-pill:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
@media (max-width: 800px) {
  .panel form > .post-actions,
  .save-bar .post-actions { width: 100%; }
  .panel form > .post-actions > .btn,
  .save-bar .post-actions > .btn { width: 100%; align-self: stretch; }
}
.panel-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.organiser-space-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 10px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.table th, .table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #ecefe6;
  font-size: 14px;
}
.table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #69776c;
  background: #f3f5eb;
}
.table a.event-title-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.event-edit-cell { width: 1%; text-align: right; white-space: nowrap; }
.event-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--muted);
}
.event-edit:hover { background: #eef3ea; color: var(--ink); }
.event-edit:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #eef0e7;
}
.badge.published { background: var(--lime); }
.badge.draft { background: #f6e2d8; }

.flash {
  width: min(1200px, calc(100% - 80px));
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.draft-resume {
  background: #e8eedc;
  border-bottom: 1px solid #d5dec6;
}
.draft-resume .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
}
.draft-resume a { color: var(--ink); text-underline-offset: 3px; }
.draft-resume-delete-form { margin: 0; flex: none; }
.draft-resume-delete {
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.draft-resume-delete:hover { color: var(--ink); }

.flash-notice { background: #e8eedc; border: 1px solid #d5dec6; }
.flash-alert { background: #fde8e4; border: 1px solid #f3c5bb; color: #8a2e1f; }

.error-summary {
  background: #fde8e4;
  border: 1px solid #f3c5bb;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #8a2e1f;
}

@media (min-width: 1500px) {
  .hero { padding-top: 80px; padding-bottom: 65px; }
}

@media (max-width: 1100px) {
  .nav-primary { display: none; }
  .nav-icon-btn.nav-mobile-trigger { display: inline-flex; }
  .nav-signin { display: none; }
}

@media (max-width: 850px) {
  .wrap, .flash { width: calc(100% - 40px); }
  .nav-primary { display: none; }
  .nav-icon-btn.nav-mobile-trigger { display: inline-flex; }
  .nav-signin { display: none; }
  .nav-actions { gap: 8px; }
  .nav-chevron { display: none; }
  .hero.catalog {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "cities" "find";
    padding-top: 40px;
  }
  .hero:not(.catalog) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "copy art" "find find";
    align-items: end;
    column-gap: 8px;
    row-gap: 28px;
    padding-top: 28px;
  }
  .hero:not(.catalog) h1 {
    font-size: clamp(24px, 7.2vw, 46px);
    letter-spacing: -0.045em;
    line-height: 0.96;
    margin-bottom: 12px;
  }
  .hero:not(.catalog) h1 .hero-where::after,
  .hero:not(.catalog) h1 .hero-is::after {
    content: "\A";
    white-space: pre;
  }
  .hero:not(.catalog) h1 .hero-everything::after {
    content: " ";
    white-space: normal;
  }
  .hero:not(.catalog) p {
    max-width: none;
    font-size: 15px;
    line-height: 1.35;
  }
  .hero:not(.catalog) .hero-art {
    justify-content: flex-end;
    align-items: flex-end;
    margin: 0;
    min-height: 0;
  }
  .hero:not(.catalog) .hero-art-img {
    width: clamp(112px, 36vw, 230px);
    max-width: none;
  }
  .hero.catalog h1 { letter-spacing: -2.5px; font-size: 55px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .event-show-grid {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }
}

@media (max-width: 580px) {
  .nav { height: 80px; }
  .logo-mark { height: 48px; }
  .logo-mark-horizontal { height: 32px; }
  .hero { padding: 28px 0 25px; }
  .hero.catalog h1 { font-size: 36px; max-width: none; }
  .hero.catalog p { font-size: 16px; }
  .find-shows { padding: 8px 0 0; }
  .browse-toolbar { align-items: stretch; }
  .pathway-grid { grid-template-columns: 1fr; gap: 28px; }
  .pathway { max-width: none; }
  .filters {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 6px 18px 18px;
    border-radius: 16px;
    box-shadow: none;
  }
  .filter {
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid #e8e9df;
  }
  .filter:first-child {
    padding-left: 0;
    padding-top: 14px;
  }
  .filter:last-of-type {
    border-bottom: 0;
    padding-bottom: 18px;
  }
  .filter label {
    font-size: 11px;
    letter-spacing: 1.6px;
    color: #7a877f;
    margin-bottom: 6px;
  }
  .filter select,
  .choice-menu.is-enhanced .choice-menu-trigger,
  .date-range .choice-menu-trigger {
    font-size: 16px;
    padding: 2px 28px 2px 0;
    background-size: 14px;
  }
  .filters.directory-filters,
  .filters.directory-filters.players-filters,
  .filters.event-filters { grid-template-columns: 1fr; }
  .filters .filter input[type="text"],
  .filters .city-combobox-input {
    font-size: 16px;
    padding: 2px 0;
  }
  .filters-submit {
    margin: 4px 0 0;
    width: 100%;
    padding: 15px 22px;
    border-radius: 10px;
  }
  .browse { padding: 38px 0 45px; }
  h2 { font-size: 30px; }
  .section-heading { align-items: start; }
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .organiser-inner { display: block; padding: 35px 0; }
  .organiser-inner h2 { font-size: 34px; }
  .organiser-inner .btn { margin-top: 8px; }
  .ntrada {
    align-items: start;
    padding: 30px 0;
    flex-direction: column;
    gap: 15px;
  }
  .footer-row { align-items: start; flex-direction: column; }
  .footer-nav { flex-wrap: wrap; max-width: 100%; }
  .site-footer p { text-align: left; }
  .list .card { grid-template-columns: 1fr; }
  .list .poster { aspect-ratio: 16/9; }
  .event-show { padding-top: 24px; }
  .event-show-back { margin-bottom: 18px; }
  .event-show h1 { font-size: 38px; }
  .event-show-body { margin-bottom: 2px; }
  .event-show-location { margin-top: 16px; }
  .event-next-date { padding: 14px; }
  .event-dates-list li {
    grid-template-columns: minmax(0, 1fr) auto minmax(62px, auto);
    gap: 9px;
  }
  .two,
  .three { grid-template-columns: 1fr; gap: 0; }
  .occurrence-summary { align-items: flex-start; }
  .occurrence-actions { flex-wrap: wrap; }
  .occurrence-repeat-count { align-items: center; }
  .poster-editor { grid-template-columns: 1fr; }
  .details-grid { --details-pad: 14px; padding: var(--details-pad); gap: 12px; }
  .panel-header { flex-direction: column; align-items: start; }
}

/* —— Players / lineup —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-section-optional {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-2);
  text-transform: none;
  letter-spacing: 0;
}
.player-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  object-fit: cover;
  background: #eef3ff;
}
.player-avatar-initials {
  background: #183d38;
  color: #faf7ef;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.player-claimed-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  vertical-align: middle;
}
.lineup-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.lineup-list-stack {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
}
.lineup-list-stack > li {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.lineup-list-stack > li:first-child { padding-top: 2px; }
.lineup-list-stack > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.lineup-person {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.lineup-list-stack .lineup-person {
  display: flex;
  width: 100%;
}

a.lineup-person-claimed:hover .lineup-person-name {
  text-decoration: underline;
}
.lineup-person-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lineup-person-name {
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.performer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.attendee-form { margin: 0 0 14px; }
.performer-composer { position: relative; margin-top: 14px; }
.performer-composer > input,
.roster-search input,
.roster-session select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: 1px solid #c6cebf;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
}
.performer-composer > input:focus,
.roster-search input:focus,
.roster-session select:focus {
  outline: 2px solid var(--ink);
  border-color: var(--ink);
}
.roster-session select {
  cursor: pointer;
  padding-right: 36px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23183d38' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    right 12px center / 12px 8px no-repeat;
}
.roster-search input::-webkit-search-decoration,
.roster-search input::-webkit-search-cancel-button,
.performer-composer > input::-webkit-search-decoration,
.performer-composer > input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.performer-composer-results { max-height: 320px; }
.performer-search-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.performer-search-copy .muted { font-size: 13px; }
.performer-search-fallback {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  background: #f7f8f4;
  text-align: left;
  border-top: 1px solid var(--line);
}
.performer-search-fallback:hover { background: #eef3ea; }
.performer-lineup-block { margin-top: 22px; }
.performer-lineup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.performer-lineup-head h4 { margin: 0; font-size: 15px; }
.performer-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: #f3f5f0;
  border-radius: 999px;
  padding: 4px 10px;
}
.lineup-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.lineup-row-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  min-width: 0;
}
.lineup-row-person { flex: 1 1 140px; min-width: 0; }
.lineup-row-person strong { display: block; font-size: 15px; }
.lineup-row-person .small-note { margin: 0; }
.lineup-status {
  flex: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}
.lineup-status.linked { background: var(--lime); color: var(--ink); }
.lineup-status.pending { background: #f7e2b0; color: #6a4b12; }
.lineup-status.name { background: #e7ece4; color: #51665d; }
.lineup-invite-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.lineup-invite-panel[hidden] { display: none; }
.lineup-invite-panel input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  appearance: none;
  border: 1px solid #c6cebf;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
}
.lineup-invite-panel .share-bar {
  margin: 0;
  padding: 0;
  border: 0;
}
.lineup-invite-panel .share-trigger {
  padding: 9px 14px;
}
.lineup-invite-panel .share-menu {
  left: auto;
  right: 0;
}
.lineup-invite-status { flex: 1 0 100%; margin: 0; }
.lineup-roster-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.performer-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}
.performer-mode { margin-bottom: 10px; }
.group-invite-link {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.group-invite-link .invite-token-link { word-break: break-all; }
.performer-card-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.performer-card-fields {
  flex: 1;
  min-width: 0;
  position: relative;
}
.performer-card-fields input[type="text"],
.performer-card-fields input[type="email"],
.troupe-invite-search {
  width: 100%;
}
.performer-claimed-note {
  margin: 6px 0 0;
}
.performer-invite {
  margin-top: 10px;
  font-size: 13px;
}
.performer-invite-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}
.performer-invite-row input { flex: 1; min-width: 0; }
.performer-invite summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}
.performer-invite-body {
  margin-top: 10px;
}
.performer-search-results {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px #183d3820;
  max-height: 220px;
  overflow: auto;
}
.performer-search-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: transparent;
  text-align: left;
  border-bottom: 1px solid #eef1eb;
}
.performer-search-item:last-child { border-bottom: 0; }
.performer-search-item:hover { background: #f4f7f1; }
.performer-search-item .muted { color: var(--muted-2); font-weight: 500; }
.lineup-manage-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lineup-manage-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.lineup-invite-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.lineup-invite-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.lineup-invite-email {
  min-width: 180px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.invite-link-field {
  flex: 1 0 100%;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
.invite-link-field[hidden] { display: none; }
.player-troupe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.troupe-membership-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.troupe-join-box { margin: 8px 0 0; }
.public-page-card {
  padding: 14px 0 4px;
}
.player-city,
.org-show-location {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.org-show-location { margin-top: 8px; }

/* —— Public player profile —— */
.player-profile { padding: 36px 0 70px; }
.player-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-items: start;
  margin-bottom: 36px;
}
.player-hero-main {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  min-width: 0;
}
.player-hero-avatar {
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid #d8dcd1;
  background: #eef0e7;
}
.player-hero-copy { min-width: 0; }
.player-hero-copy h1 {
  margin: 4px 0 0;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.02;
}
.player-bio {
  margin: 12px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.player-bio p { margin: 0 0 0.6em; }
.player-bio p:last-child { margin-bottom: 0; }
.player-social-links {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.player-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.player-social-link:hover { opacity: 0.75; }
.player-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  justify-self: end;
}
.player-hero-actions .share-trigger {
  padding: 9px 14px;
  border-width: 1px;
  gap: 10px;
  line-height: 19.5px;
}
.player-hero-actions .share-status:empty {
  display: none;
}
.player-hero-actions .btn.small > span {
  display: flex;
  line-height: 0;
}
.player-share-bar.share-bar {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.player-share-bar .share-menu {
  left: auto;
  right: 0;
}
.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
}
.player-section { margin-bottom: 42px; }
.player-workshop-block { margin-bottom: 22px; }
.player-workshop-block .eyebrow { margin: 0 0 12px; }
.player-workshop-block:last-child { margin-bottom: 0; }
.player-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.player-section-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -1px;
}
.player-section-heading-split { flex-wrap: wrap; align-items: center; }
.player-past-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.player-filter {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23183d38' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    right 12px center / 12px 8px no-repeat;
  padding: 8px 32px 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  cursor: pointer;
}
.player-filter:hover { border-color: #b7c0b2; }
.player-filter:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.player-upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  container-type: inline-size;
}
.player-upcoming-card {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  gap: 0;
  background: #fffdf8;
  border: 1px solid #d8dcd1;
  border-radius: 11px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.player-upcoming-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #183d3810;
}
.player-upcoming-poster {
  min-width: 0;
  overflow: hidden;
  background: #234d42;
  align-self: stretch;
}
.player-upcoming-poster .poster {
  width: 100%;
  height: 100%;
  min-height: 130px;
  aspect-ratio: auto;
  border-radius: 0;
}
.player-upcoming-poster .poster .type { font-size: 22px; }
.player-upcoming-poster .poster .poster-small { font-size: 8px; margin: 6px 0; }
.player-upcoming-body {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.player-upcoming-body .date {
  color: var(--coral-deep);
}
.player-upcoming-body h3 {
  font-size: 19px;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin: 8px 0;
}
.player-upcoming-body .venue { margin: 0; }
.player-upcoming-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}
.player-upcoming-tags .arrow { margin-left: auto; font-size: 18px; }
.player-past-year { margin-bottom: 18px; }
.player-past-year-label { margin-bottom: 8px; color: var(--muted); }
.player-past-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e8ece6;
}
.player-past-link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid #e8ece6;
}
.player-past-link:hover .player-past-title { text-decoration: underline; text-underline-offset: 3px; }
.player-past-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.player-past-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.player-past-thumb-mark {
  display: inline-flex;
  color: currentColor;
  opacity: 0.55;
  transform: scale(0.7);
}
.player-past-thumb-green { background: #234d42; color: #f4e8ba; }
.player-past-thumb-pink { background: #edb5c0; color: #5d254d; }
.player-past-thumb-blue { background: #c5d7f2; color: #243b72; }
.player-past-thumb-yellow { background: #f7cf66; color: #853b22; }
.player-past-thumb-orange { background: #e88d6c; color: #463625; }
.player-past-thumb-lilac { background: #d5cce9; color: #44345c; }
.player-past-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.player-past-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.player-past-detail {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-past-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.player-past-date {
  font-size: 13px;
  font-weight: 700;
}
.player-past-role {
  font-size: 12px;
  color: var(--muted);
}
.player-past-link .arrow {
  color: var(--muted);
  font-size: 16px;
}
.player-show-more {
  margin-top: 8px;
  width: 100%;
}
.player-empty {
  padding: 28px 20px;
}
.player-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 18px;
}
.player-aside-section {
  display: flex;
  flex-direction: column;
}
.player-aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.player-group-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-group-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.player-group-card:hover {
  background: #f7f8f4;
  border-color: #e7ebe4;
}
.player-group-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.player-group-name {
  font-size: 14px;
  font-weight: 800;
}
.player-group-detail {
  font-size: 12px;
  color: var(--muted);
}
.player-group-card .arrow {
  color: var(--muted);
  font-size: 15px;
}
.player-find-group { width: 100%; }
.player-credit-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 900px) {
  .player-hero,
  .player-layout {
    grid-template-columns: 1fr;
  }
  .player-aside { position: static; }
  .player-upcoming-card { grid-template-columns: 1fr; }
  .player-upcoming-poster .poster {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 580px) {
  .player-hero-main { flex-direction: column; }
  .player-past-link {
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }
  .player-past-link .arrow { display: none; }
}
.troupe-invite-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.invite-token-link {
  font-size: 11px;
  word-break: break-all;
}
.event-lineup { margin: 4px 0 16px; }

/* —— Public page settings —— */
.profile-settings { padding-bottom: 70px; }
.profile-settings-intro {
  margin: 0 auto 8px;
  width: min(720px, 100%);
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.profile-settings-lede {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 36rem;
}
.profile-settings-card {
  width: min(720px, 100%);
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 28px 22px;
  box-shadow: 0 1px 0 #183d3808;
}
.profile-settings-split .profile-settings-intro,
.profile-settings-layout {
  width: min(1080px, 100%);
  margin-inline: auto;
}
.profile-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 20px;
  align-items: start;
}
.profile-settings-layout .profile-settings-card {
  width: auto;
  margin-inline: 0;
}
.profile-memberships-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 1px 0 #183d3808;
}
.profile-memberships-card .profile-troupe-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.profile-memberships-card .profile-section {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.profile-memberships-card .player-troupe-list { gap: 0; }
.profile-membership {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 14px 0;
}
.profile-membership-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.profile-membership-identity {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
}
.profile-membership-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.profile-membership-copy .lineup-person-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.profile-memberships-card .row-more {
  z-index: 2;
  margin-left: auto;
  flex: none;
  align-self: center;
}
.profile-membership + .profile-membership { border-top: 1px solid #e8ece6; }
.profile-membership:first-child { padding-top: 2px; }
.profile-membership:last-child { padding-bottom: 0; }
.profile-memberships-card form { margin: 0; width: auto; }
.profile-membership .small-note { margin: 0; line-height: 1.45; }
.profile-memberships-pending {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8ece6;
}
.profile-memberships-pending .eyebrow { margin: 0 0 2px; }

.profile-section {
  padding: 8px 0 26px;
  border-bottom: 1px solid #e8ece6;
  margin-bottom: 22px;
}
.profile-section:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.profile-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.profile-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf6c8;
  color: var(--ink);
  flex-shrink: 0;
}
.profile-section-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.profile-photo-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.profile-photo-frame { flex: 0 1 280px; max-width: 100%; }
.profile-photo-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #183d38;
  display: grid;
  place-items: center;
}
.profile-photo-initials {
  color: #faf7ef;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.photo-crop-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #183d38;
  border: 1px solid var(--line);
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.photo-crop-stage:active { cursor: grabbing; }
.photo-crop-stage:focus-visible {
  outline: 2px solid #eaf6c8;
  outline-offset: 2px;
}
.photo-crop-image {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
  pointer-events: none;
  user-select: none;
}
.photo-crop-circle {
  position: absolute;
  inset: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 999px rgba(24, 61, 56, 0.5);
  pointer-events: none;
}
.photo-crop-zoom {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.photo-crop-zoom input[type="range"] {
  flex: 1;
  accent-color: #183d38;
}
.profile-photo-actions { flex: 1; min-width: 180px; }
.profile-photo-actions .small-note { margin: 6px 0 0; }
.photo-crop-error {
  margin: 8px 0 0;
  color: #8a2e1f;
  font-size: 13px;
  font-weight: 600;
}
.req { color: var(--coral-deep); }
.profile-slug-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.profile-slug-input {
  flex: 1 1 220px;
  min-width: 0;
}
.profile-copy-link {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.profile-copy-link:hover { opacity: 0.75; }
.profile-bio-wrap { position: relative; }
.profile-bio-wrap textarea { padding-bottom: 28px; min-height: 110px; }
.profile-bio-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 600;
}
.profile-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.profile-link-row {
  display: grid;
  grid-template-columns: 28px 1fr 36px;
  gap: 8px;
  align-items: center;
  padding: 4px 0;
}
.profile-link-row.is-dragging { opacity: 0.55; }
.profile-link-handle {
  width: 28px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #9aa79f;
  cursor: grab;
  font-size: 14px;
  letter-spacing: -2px;
  line-height: 1;
}
.profile-link-fields {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) minmax(160px, 1fr);
  gap: 8px;
}
.profile-link-fields input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.profile-link-remove {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #8a9790;
  font-size: 16px;
}
.profile-link-remove:hover { color: var(--coral-deep); }
.profile-add-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 0;
}
.profile-add-link:hover { opacity: 0.75; }
.profile-troupe-empty {
  background: #f7f8f4;
  border: 1px solid #e7ebe4;
  border-radius: 10px;
  padding: 16px 18px;
}
.profile-troupe-empty p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.profile-troupe-section {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e8ece6;
}
.profile-save { margin-top: 8px; }
.profile-danger {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ece6;
}

/* —— Troupe directory —— */
.org-index { padding: 48px 0 70px; }
.org-index-copy h1 { margin: 0 0 8px; }
.org-index-copy p {
  margin: 0;
  max-width: 36em;
  color: var(--muted);
}
.org-index .find-shows { margin: 22px 0 28px; }

body:has(.newsletter-page) main {
  display: flex;
  flex-direction: column;
}
.newsletter-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  padding: 48px 0;
}
.newsletter-edition { padding: 48px 0 72px; }
.legal-page { max-width: 740px; }
.legal-page .legal-meta { margin: 0 0 22px; color: var(--muted); }
.legal-page h2 { margin: 28px 0 8px; font-size: 1.25rem; }
.legal-page p, .legal-page li { max-width: 40em; }
.legal-page ul { margin: 0 0 16px; padding-left: 1.2em; }
.legal-page a, .check-row a { text-decoration: underline; text-underline-offset: 3px; }
.newsletter-hero {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  align-items: center;
  column-gap: 0;
}
.newsletter-art {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: min(360px, 100%);
  height: auto;
  justify-self: center;
  align-self: center;
  object-view-box: inset(18% 7% 10% 20%);
}
.newsletter-signup, .newsletter-test { display: grid; gap: 14px; max-width: 520px; margin: 22px 0 36px; }
.newsletter-consent .check-row { margin-bottom: 4px; }
.newsletter-consent .small-note { margin: 0 0 0 26px; }
.newsletter-hero .newsletter-signup { grid-column: 1; }
@media (max-width: 700px) {
  .newsletter-hero {
    grid-template-columns: minmax(0, 1fr) clamp(120px, 34vw, 180px);
    align-items: start;
    column-gap: 12px;
  }
  .newsletter-art {
    grid-row: 1;
    width: 100%;
    margin-top: 6px;
  }
  .newsletter-hero .newsletter-signup { grid-column: 1 / -1; }
}
.newsletter-archive, .newsletter-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.newsletter-archive a, .newsletter-events li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  background: #fffdf8;
  border: 1px solid #d8dcd1;
  border-radius: 11px;
}
.newsletter-events li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.newsletter-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
}
.newsletter-thumb-img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
}
.newsletter-poster-mark { margin: 0; }
.newsletter-feature .newsletter-poster-mark { margin: 0 0 12px; }
.newsletter-events li > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.newsletter-events li > div:last-child > a { font-weight: 800; letter-spacing: -0.2px; }
.newsletter-events li > div:last-child > span { color: var(--muted); font-size: 14px; }
.newsletter-feature .poster {
  width: 100%;
  border-radius: 12px;
  margin: 0 0 12px;
}
.newsletter-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 28px;
  align-items: start;
}
.newsletter-live {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 16px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.newsletter-live .newsletter-date { margin-top: 0; }
.feature-search { margin: 0 0 16px; }
.feature-search-chosen {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  margin: 8px 0 0;
}
.feature-search-chosen[hidden] { display: none !important; }
@media (max-width: 980px) {
  .newsletter-workspace { grid-template-columns: 1fr; }
  .newsletter-live { position: static; max-height: none; }
}
.newsletter-feature { margin: 22px 0 28px; }
.newsletter-feature-art, .newsletter-crop img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #f3efe4;
}
.newsletter-crop { max-width: 420px; margin-top: 8px; }
.newsletter-fallback {
  display: grid;
  place-items: center;
  min-height: 180px;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.newsletter-section { margin: 28px 0; }
.newsletter-block { margin: 28px 0; }
.newsletter-date { color: var(--muted); margin-top: 0; }
.newsletter-report { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 22px; }
.newsletter-report div { min-width: 120px; }
.newsletter-report dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.newsletter-report dd { margin: 2px 0 0; font-size: 20px; font-weight: 800; }
.troupe-directory {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.troupe-directory-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fffdf8;
  border: 1px solid #d8dcd1;
  border-radius: 11px;
  transition: transform .18s, box-shadow .18s;
}
.troupe-directory-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #183d3810;
}
.troupe-directory-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.troupe-directory-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.troupe-directory-detail {
  font-size: 13px;
  color: var(--muted);
}
.troupe-directory-card .arrow {
  font-size: 18px;
  color: var(--muted);
}

/* —— City combobox —— */
fieldset.occurrence-location {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  width: 100%;
}
.city-combobox-shell {
  position: relative;
}
.city-combobox-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.city-combobox-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px #183d3820;
}
.city-combobox-list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: min(280px, 50vh);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px #183d3825;
  padding: 6px;
}
.city-combobox-option {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 12px 12px;
  font: inherit;
  color: var(--ink);
  min-height: 44px;
}
.city-combobox-option:hover,
.city-combobox-option.is-active {
  background: #eef3ff;
}
.city-combobox-name {
  font-weight: 700;
  font-size: 14px;
}
.city-combobox-aka {
  font-size: 12px;
  color: var(--muted-2);
}
.city-combobox-empty {
  padding: 14px 12px;
  color: var(--muted-2);
  font-size: 13px;
}

@media (max-width: 640px) {
  .city-combobox-list {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    max-height: 45vh;
    border-radius: 16px;
    box-shadow: 0 8px 40px #183d3840;
  }
  .filter .choice-menu-list,
  .field .choice-menu-list {
    position: absolute;
    left: 0;
    right: auto;
    top: calc(100% + 6px);
    bottom: auto;
    width: 100%;
    max-height: min(280px, 50vh);
    border-radius: 12px;
  }
}


@media (max-width: 860px) {
  .profile-settings-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .profile-settings-card { padding: 20px 16px 16px; }
  .profile-link-fields { grid-template-columns: 1fr; }
  .profile-slug-row { align-items: stretch; }
}

/* —— About —— */
.about { padding: 72px 0 88px; }
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 32px 56px;
  padding-bottom: 64px;
}
.about-hero .eyebrow {
  color: var(--muted);
  margin: 0 0 22px;
}
.about h1,
.about-free h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -2.4px;
  line-height: 0.92;
}
.about h1 { font-size: clamp(46px, 5.2vw, 64px); }
.about-line { display: block; }
.about h1 em,
.about-free h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--coral-deep);
  letter-spacing: -1.5px;
}
.about-hero-copy p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.about-art {
  width: 100%;
  height: auto;
  justify-self: end;
}
.about-body { padding-top: 8px; }
.about-split,
.about-free {
  border-top: 1px solid var(--line);
}
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 80px;
  padding: 56px 0 64px;
}
.about-split h2 {
  margin: 0 0 18px;
  font-size: 36px;
  letter-spacing: -1.2px;
}
.about-split p,
.about-free p {
  margin: 0 0 16px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.about-link:hover { opacity: 0.75; }
.about-free {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: 32px 64px;
  align-items: start;
  padding: 56px 0 8px;
  scroll-margin-top: 24px;
}
.about-free h2 { font-size: clamp(44px, 5vw, 60px); }
.about-free p { max-width: 48ch; }
.about-free p:last-child { margin-bottom: 0; }

@media (max-width: 800px) {
  .about { padding: 48px 0 64px; }
  .about-split,
  .about-free { grid-template-columns: 1fr; }
  .about-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 8px;
    row-gap: 0;
    padding-bottom: 40px;
  }
  .about-hero .eyebrow { margin-bottom: 12px; }
  .about h1 {
    font-size: clamp(24px, 7.2vw, 46px);
    letter-spacing: -0.045em;
    line-height: 0.96;
  }
  .about-hero-copy p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.35;
  }
  .about-art {
    width: clamp(112px, 36vw, 230px);
    max-width: none;
    justify-self: end;
    align-self: start;
    margin-top: 26px;
    object-view-box: inset(20% 15% 11% 6%);
  }
  .about-split { gap: 40px; padding: 40px 0; }
  .about-free { padding-top: 40px; }
  .about-free h2 { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .logo-dot {
    animation: none !important;
    opacity: 0 !important;
  }
  .logo-star {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.manage-event { padding-top: 28px; padding-bottom: 64px; }
.manage-crumb { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.manage-crumb a { color: var(--muted); }
.manage-header {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.manage-thumb {
  --poster-size: 156px;
  --thumb-size: 120px;
  width: var(--thumb-size);
  height: var(--thumb-size);
  flex: none;
  border-radius: 12px;
  overflow: hidden;
}
.manage-thumb .poster,
.manage-thumb .poster-square {
  width: var(--poster-size);
  height: var(--poster-size);
  border-radius: 0;
  transform: scale(calc(var(--thumb-size) / var(--poster-size)));
  transform-origin: top left;
}
.manage-heading { flex: 1; min-width: 200px; }
.manage-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.manage-title-row h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); letter-spacing: -1px; }
.manage-when { margin: 4px 0 0; color: var(--muted); }
.manage-when-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.manage-when-list li + li { margin-top: 2px; }
.manage-stats {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
}
.manage-stats div {
  min-width: 76px;
  padding: 8px 12px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.manage-stats dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.manage-stats dd {
  margin: 3px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--ink);
}
.manage-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.manage-action-form { margin: 0; }
.manage-copy-status { font-size: 13px; color: var(--muted); white-space: nowrap; }
.manage-copy-status:empty { display: none; }
.manage-more { position: relative; }
.manage-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  min-width: 180px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(24, 61, 56, 0.08);
}
.manage-more-menu form { margin: 0; }
.manage-more-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
}
.manage-more-item:hover { background: var(--cream); }
.manage-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.manage-tabs a { flex: none; white-space: nowrap; padding: 8px 0 10px; color: var(--muted); font-weight: 700; }
.manage-tabs a.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.manage-panel { max-width: none; }
.people-toolbar, .people-toolbar-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.people-toolbar { justify-content: space-between; margin-bottom: 16px; }
.people-toolbar h2 { margin: 0; }
.roster-search { display: block; margin: 0 0 12px; max-width: 320px; }
.roster-search input { width: 100%; }
.roster-session { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; max-width: 420px; }
.roster-session span { font-weight: 700; font-size: 12px; color: var(--ink); }
.participant-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.participant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 12px 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.participant-main, .participant-status, .participant-action { display: flex; align-items: center; gap: 10px; }
.participant-action { justify-content: flex-end; }
.participant-action form, .row-more form, .attendance-menu form { margin: 0; }
.roster-person strong, .roster-meta { display: block; }
.roster-meta { color: var(--muted-2); font-size: 13px; }
.attendance-mark,
.attendance-control { width: 168px; }
.attendance-control { position: relative; }
.attendance-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #e7f3d4;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.attendance-state.is-absent { background: #f6e2d8; }
.attendance-menu,
.row-more-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  min-width: 200px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(24, 61, 56, 0.08);
}
.attendance-menu { left: 0; right: 0; }
.attendance-menu .small-note { margin: 6px 10px 4px; }
.attendance-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
}
.attendance-menu-item:hover { background: var(--cream); }
.row-more { position: relative; justify-self: end; }
.row-more-trigger {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.row-more-trigger:hover { background: #eef3ea; }
.row-more-menu { right: 0; }
.badge.confirmed, .badge.attended, .badge.accepted { background: var(--lime); }
.badge.requested, .badge.invited, .badge.pending { background: #f7cf66; }
.badge.added, .badge.not_sent { background: var(--blue); }
.badge.not_recorded { background: transparent; border: 1px solid var(--line); }
.badge.no_show, .badge.declined, .badge.expired { background: #f6e2d8; }
.add-people-inline {
  margin: 0 0 18px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.add-people-lookup { position: relative; }
.add-people-switch { display: flex; gap: 16px; border-bottom: 1px solid var(--line); margin: 0 0 12px; }
.add-people-switch button { background: transparent; border: 0; padding: 8px 0; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.add-people-switch button.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.add-people-picked { list-style: none; margin: 8px 0; padding: 0; }
.add-people-picked li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; }
.add-people-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.participant-approve { margin-top: 16px; }
.update-preview { margin: 12px 0; padding: 12px; background: white; border-radius: 10px; border: 1px solid var(--line); }
.update-history { list-style: none; padding: 0; }
.update-history li { padding: 12px 0; border-top: 1px solid var(--line); }
.recipient-groups { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

@media (max-width: 800px) {
  .manage-header { align-items: flex-start; }
  .participant {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "main more"
      "status status"
      "action action";
    gap: 8px 12px;
  }
  .participant-main { grid-area: main; }
  .row-more { grid-area: more; align-self: start; }
  .participant-status { grid-area: status; }
  .participant-action { grid-area: action; }
  .attendance-mark,
  .attendance-control,
  .attendance-state { width: 100%; }
  .add-people-actions { flex-direction: column; }
  .add-people-actions .btn { width: 100%; }
  .save-bar-inner { width: calc(100% - 40px); }
  .save-bar-submit { min-width: 0; }
  .event-editor .field input,
  .event-editor .field select,
  .event-editor .field textarea,
  .occurrence-repeat-count input,
  .field.choice-menu.is-enhanced .choice-menu-trigger,
  .performer-composer > input,
  .roster-search input,
  .roster-session select { font-size: 16px; }
}

.event-editor { container-type: inline-size; container-name: event-editor; }
.event-editor-grid { display: grid; gap: 28px; align-items: start; }
.event-editor .form-section-title { font-size: 22px; letter-spacing: -0.4px; }
.event-editor .form-divider { margin: 28px 0; }
.event-editor .field input,
.event-editor .field select,
.event-editor .field textarea { min-height: 44px; }
.event-editor .field textarea { min-height: 140px; }
.event-editor .avatar-mode-option span { min-height: 44px; align-items: center; }
.event-editor .avatar-mode-option input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.event-editor .field.has-error input,
.event-editor .field.has-error textarea,
.event-editor .field.has-error select { border-color: #b42318; }
.form-subsection-title { font-size: 15px; font-weight: 800; margin: 4px 0 8px; }
.booking-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.booking-method {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}
.event-editor .booking-method input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  outline: none;
  accent-color: var(--ink);
}
.event-editor .booking-method input:focus {
  outline: none;
  border: 0;
}
.booking-method:has(input:checked) {
  background: var(--blue);
  border-color: #8ea2d6;
}
.booking-method:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.booking-method:has(input:disabled) { cursor: not-allowed; }
.booking-method:has(input:disabled) > :not(.tip-bubble) { opacity: 0.45; }
.booking-powered {
  margin: 0 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  color: var(--muted-2);
  white-space: nowrap;
}
.booking-powered-mark {
  display: block;
  width: 36px;
  height: 11px;
  background-color: currentColor;
  -webkit-mask: url("/assets/logos/Ntrada_Box_Black-c67349c0.svg") left center / contain no-repeat;
  mask: url("/assets/logos/Ntrada_Box_Black-c67349c0.svg") left center / contain no-repeat;
}
.booking-method:has(input:disabled) input { pointer-events: none; }
.booking-method.is-soon { position: relative; }
.booking-method.is-soon:has(input:disabled):hover,
.booking-method.is-soon:has(input:disabled):focus-within { z-index: 2; }
.booking-method.is-soon .tip-bubble {
  left: 0;
  right: auto;
  top: calc(100% + 8px);
  max-width: 280px;
}
.booking-method.is-soon:has(input:disabled):hover .tip-bubble,
.booking-method.is-soon:has(input:disabled):focus-within .tip-bubble { display: block; }
.field:has(.booking-method.is-soon:has(input:disabled):hover) > #booking-method-note,
.field:has(.booking-method.is-soon:has(input:disabled):focus-within) > #booking-method-note { visibility: hidden; }
.registration-settings { display: grid; grid-template-columns: 1fr; }
.capacity-input { max-width: 180px; }
.poster-column { min-width: 0; }
.poster-disclosure { margin: 0; }
.poster-mobile-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.4px;
}
.poster-mobile-summary::-webkit-details-marker { display: none; }
.poster-mobile-summary::marker { content: ""; }
.poster-mobile-summary:focus { outline: none; }
.poster-mobile-summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.poster-mobile-summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-3px) rotate(45deg);
}
.poster-disclosure[open] > .poster-mobile-summary::after { transform: translateY(3px) rotate(-135deg); }
.poster-mobile-label { flex: 1; min-width: 0; }
.poster-thumb {
  position: relative;
  width: 56px;
  height: 34px;
  flex: none;
  border-radius: 6px;
  overflow: hidden;
}
.poster-thumb .poster {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 224px;
  margin: 0;
  border-radius: 0;
  transform: translate(-50%, -50%) scale(0.25);
  pointer-events: none;
}
.poster-disclosure[open] .poster-thumb { display: none; }
.poster-column-body { display: none; }
.poster-disclosure[open] + .poster-column-body { display: block; }
.poster-preview-title {
  display: none;
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.poster-artwork .poster {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}
.poster-photo-empty { position: relative; z-index: 1; font-size: 13px; font-weight: 700; color: #faf7ef; }
.poster-edit { width: 100%; margin-top: 12px; min-height: 44px; }
.poster-editor-panel { margin-top: 16px; }
.occurrence-add { min-height: 44px; }
form.has-save-bar { padding-bottom: 120px; }
.save-bar {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 247, 239, 0.96);
  border-top: 1px solid var(--line);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(24, 61, 56, 0.06);
}
.save-bar.is-raised { padding-bottom: 12px; }
.save-bar-inner {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.save-bar-lead {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.save-bar-status { margin: 0; font-weight: 700; }
.save-bar-status[hidden] { display: none; }
.save-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.save-bar-split { position: relative; display: inline-flex; align-items: stretch; }
.save-bar-submit { min-height: 44px; min-width: 140px; }
.save-bar-split:has(.save-bar-toggle) .save-bar-submit {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.save-bar-toggle {
  width: 42px;
  min-width: 42px;
  padding: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.save-bar-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.save-bar-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 2;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(24, 61, 56, 0.08);
}
.save-bar-menu[hidden] { display: none; }
.save-bar-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 7px;
  cursor: pointer;
}
.save-bar-menu-item:hover { background: var(--cream); }

@container event-editor (max-width: 859px) {
  .event-editor-grid { margin-bottom: 20px; }
  .poster-column:has(.poster-disclosure[open]) {
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: #fff;
  }
  .poster-column:has(.poster-disclosure[open]) .poster-mobile-summary {
    border: 0;
    background: transparent;
  }
  .poster-disclosure[open] + .poster-column-body { padding: 0 14px 14px; }
}

@container event-editor (min-width: 720px) {
  .registration-settings {
    grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
    column-gap: 20px;
  }
  .registration-settings .is-wide { grid-column: 1 / -1; }
}

@container event-editor (min-width: 860px) {
  .event-editor-grid {
    grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
    gap: 32px;
  }
  .poster-preview-title { display: block; }
  .poster-disclosure { display: none; }
  .poster-column-body { display: block; }
}

@media (max-width: 640px) {
  .booking-methods { grid-template-columns: 1fr; }
  .booking-method { font-size: 16px; }
}

@media (min-width: 860px) and (min-height: 720px) {
  .poster-column { position: sticky; top: 16px; align-self: start; max-height: calc(100vh - 32px); overflow: auto; }
}

@media (max-width: 800px) {
  .save-bar-inner { width: calc(100% - 40px); }
  .save-bar-submit { min-width: 0; }
}

/* —— Admin —— */
.admin-nav {
  display: flex;
  gap: 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.admin-nav a {
  padding: 8px 0 10px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.admin-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.admin-subnav { margin-top: -10px; }
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
}
.admin-filters .field { margin: 0; flex: 1 1 160px; }
.admin-filters .field.search { flex: 2 1 280px; }
.admin-filters .btn { min-height: 44px; }
.form-guard {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.admin-table .sub,
.admin-meta .sub,
.admin-links .sub,
.admin-history .sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.admin-meta {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px 18px;
  margin: 0 0 22px;
}
.admin-meta dt {
  margin: 0;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}
.admin-meta dd { margin: 0; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 28px; }
.admin-links { list-style: none; margin: 0 0 28px; padding: 0; }
.admin-links li { padding: 8px 0; border-bottom: 1px solid #ecefe6; }
.admin-history-section h2 { font-size: 22px; letter-spacing: -0.4px; margin: 0 0 12px; }
.admin-history { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: white; }
.admin-history li { padding: 12px 14px; border-bottom: 1px solid #ecefe6; font-size: 14px; }
.admin-history li:last-child { border-bottom: 0; }
.admin-history p { margin: 6px 0 0; }
.admin-change { color: var(--muted); }
.confirm-card {
  max-width: 640px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.confirm-card ul { margin: 0 0 16px; padding-left: 18px; color: var(--muted); }
.confirm-card li + li { margin-top: 6px; }
.admin-inline-form { margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.btn.danger { background: transparent; color: #8a2e1f; border: 1px solid #e7b2a6; }
.badge.active, .badge.published { background: var(--lime); }
.badge.suspended, .badge.unpublished { background: #f6e2d8; }
.admin-edit-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--muted);
  font-size: 14px;
}
.pager { display: flex; gap: 14px; align-items: center; margin-top: 16px; font-size: 14px; font-weight: 700; }
@media (max-width: 720px) {
  .admin-meta { grid-template-columns: 1fr; gap: 2px; }
  .admin-meta dt { margin-top: 10px; }
  .admin-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td { display: block; width: auto; }
  .admin-table { background: transparent; border: 0; }
  .admin-table tr {
    margin-bottom: 12px;
    padding: 12px 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .admin-table td { border: 0; padding: 4px 0; }
  .admin-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted-2);
    font-weight: 700;
  }
}

.org-claim-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: 28px;
  padding: 14px 18px;
  background: #e6eefc;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.4;
}
.org-claim-banner p { margin: 0; }
.org-claim-banner a {
  flex: none;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 800px) {
  .org-claim-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
.event-source {
  width: 100%;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.event-source p { margin: 0; }
.event-source a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.event-claim-link {
  margin-top: 16px;
  font-size: 14px;
}
.event-claim-link p {
  margin: 0 0 4px;
  color: var(--muted);
}
.event-claim-link a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.org-claim-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.org-claim-note a,
.claim-manual summary {
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.claim-manual {
  margin-top: 18px;
}

.claim-resend {
  margin-top: 16px;
}


/* Group settings share the profile settings cards, badges and buttons. */
.group-settings-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line, #dce4df); margin-bottom: 24px; }
.group-settings-tabs a { padding: 12px 0; color: inherit; text-decoration: none; border-bottom: 3px solid transparent; }
.group-settings-tabs a[aria-current="page"] { border-bottom-color: currentColor; font-weight: 700; }
.membership-heading, .membership-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ownership-transfer-card { width: min(560px, 100%); margin: 40px auto; }
.ownership-transfer-message p { margin: 0; }
.ownership-transfer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.ownership-transfer-actions form { margin: 0; width: auto; }
.membership-settings-card > .profile-section {
  padding-top: 16px;
}
.membership-settings-card .profile-section > .profile-section-title {
  margin-bottom: 16px;
}
.membership-settings-card .group-member-row {
  min-height: 60px;
  padding: 10px 0;
}
.membership-settings-card .group-member-row + .group-member-row {
  border-top: 1px solid #e8ece6;
}
.membership-identity { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.group-member-row { gap: 12px; scroll-margin-top: 100px; }
.group-member-row > .lineup-person { flex: 1; min-width: 0; max-width: 100%; }
.group-member-row > span, .group-member-row > strong { max-width: 100%; overflow-wrap: anywhere; }
.group-member-row:target {
  margin-inline: -12px;
  padding-inline: 12px;
  background: var(--blue);
  border-radius: 8px;
}
.membership-menu { position: relative; margin-left: auto; }
.membership-menu summary { cursor: pointer; }
.membership-menu-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  min-width: 200px;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  box-shadow: 0 12px 32px #183d3818;
}
.membership-menu-content form { margin: 0; }
.membership-menu-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.membership-menu-item:hover,
.membership-menu-item:focus-visible {
  background: #eef3ff;
  outline: none;
}
.decline-split {
  display: flex;
  align-items: stretch;
}
.decline-split-main { border-radius: 7px 0 0 7px; }
.decline-split-menu { margin-left: -1px; }
.decline-split-toggle {
  width: 34px;
  height: 100%;
  min-height: 34px;
  padding: 0;
  border-radius: 0 7px 7px 0;
  display: grid;
  place-items: center;
  list-style: none;
}
.decline-split-toggle::-webkit-details-marker { display: none; }
.decline-split-toggle::marker { content: ""; }
.decline-split-content {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  width: max-content;
  max-width: calc(100vw - 48px);
  min-width: 0;
  padding: 6px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(24, 61, 56, 0.14);
}
.decline-split-content form { margin: 0; }
.decline-block {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d14343;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
}
.decline-block svg { flex: none; }
.decline-block:hover { background: #fdeeee; }
.decline-block:focus-visible {
  outline: 2px solid #d14343;
  outline-offset: 2px;
}
.blocked-players > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}
.blocked-players > summary::-webkit-details-marker { display: none; }
.blocked-players > summary::marker { content: ""; }
.blocked-players > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.blocked-players[open] > summary::after { transform: rotate(-135deg); }
.blocked-players-body { margin-top: 16px; }
.membership-unblock { margin-left: auto; }
.membership-invite {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e8ece6;
}
.membership-invite h3 { margin: 0 0 12px; font-size: 18px; }
.membership-invite fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.membership-invite .field { margin: 16px 0; min-width: 0; }
.membership-invite input,
.membership-invite select { min-width: 0; max-width: 100%; font-size: 16px; }
.membership-search-results {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  max-height: 240px;
  overflow-y: auto;
}
.membership-search-results[hidden] { display: none; }
@media (max-width: 600px) {
  .group-member-row { align-items: flex-start; flex-direction: column; }
  .group-member-row .membership-menu { margin-left: 0; }
  .group-member-row .decline-split-menu { margin-left: -1px; }
  .membership-menu-content { left: 0; right: auto; }
  .decline-split-content {
    left: auto;
    right: 0;
    max-width: calc(100vw - 40px);
  }
  .decline-block { white-space: normal; }
  .membership-heading { align-items: flex-start; flex-wrap: wrap; }
  .membership-unblock { margin-left: 0; }
}

.membership-invite .avatar-mode-option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 4px; }

.security-methods { display: grid; gap: 14px; margin: 4px 0 18px; }
.security-method { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 16px; background: #fff; }
.security-method-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.security-method-head .badge { flex: none; }
.security-method h2 { margin: 0; font-size: 16px; }
.security-method > .small-note { margin: 6px 0 14px; }
.security-method form .small-note { margin: 0 0 12px; }
.security-method .field { margin-bottom: 12px; }
.security-action-row { display: flex; flex-wrap: wrap; gap: 8px; }
.security-inline-form { display: inline; }
.recovery-fold { margin-top: 16px; }
.recovery-fold > summary {
  cursor: pointer;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  list-style: none;
}
.recovery-fold > summary::-webkit-details-marker { display: none; }
.recovery-fold[open] > summary { margin-bottom: 12px; }
.security-inline-form .text-link { font-size: 13px; cursor: pointer; color: inherit; }
.security-qr { width: 168px; height: 168px; margin: 12px 0; }
.security-qr svg { width: 100%; height: 100%; display: block; }
.security-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.5px; }
.recovery-codes { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
