:root {
  --ink: #1D1A18;
  --panel: #100910;
  --panel-2: #1a0e18;
  --magenta: #e23d9a;
  --magenta-deep: #9d145c;
  --curtain: #6b0d42;
  --gold: #e6c56a;
  --gold-deep: #a97820;
  --gold-bright: #fff1c4;
  --cyan: #8fd4ea;
  --cyan-deep: #5eb6d4;
  --pink: #f3a0d0;
  --text: #f7f2f5;
  --muted: #cbbec8;
  --line: rgba(230, 197, 106, 0.45);
  --stage-width: 1100px;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-script: "Great Vibes", cursive;
  --font-body: "Montserrat", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #1D1A18;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  font-size: 16.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--gold-bright); }
button, input, textarea { font-family: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-120%);
  background: var(--gold);
  color: #1a1008;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus {
  top: 12px;
  transform: none;
}

.drape {
  position: fixed;
  top: 0;
  bottom: 0;
  width: max(18px, calc((100vw - var(--stage-width)) / 2));
  z-index: 30;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), transparent 22%, rgba(255,255,255,.16) 46%, transparent 62%, rgba(0,0,0,.45)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px),
    linear-gradient(#f28bc4, #c2186a 28%, #7a1048 62%, #3d0624);
  box-shadow: inset 0 0 40px rgba(0,0,0,.45);
}
.drape-right { right: 0; transform: scaleX(-1); }
.drape-left { left: 0; }

.stage {
  width: min(var(--stage-width), 100%);
  margin: 0 auto;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(226, 61, 154, 0.18), transparent 60%),
    var(--ink);
  min-height: 100vh;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 1px rgba(230, 197, 106, 0.18);
}

.site-header { background: #1D1A18; position: relative; z-index: 5; }
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 22px 0;
}
.account { position: relative; z-index: 40; }
.account-toggle {
  background: transparent;
  color: var(--cyan);
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}
.account-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: 2px;
}
.account-toggle:hover,
.account-toggle[aria-expanded="true"] { color: var(--gold-bright); }
.account-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 41;
  min-width: 190px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #1D1A18;
  border: 1px solid rgba(230, 197, 106, 0.4);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.account.is-open .account-menu { display: block; }
.account-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.account-menu a:hover,
.account-menu a[aria-current="page"] { color: var(--gold-bright); }
.account-logout {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(230, 197, 106, 0.28);
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(143, 212, 234, 0.08);
  border: 1px solid rgba(143, 212, 234, 0.35);
}
.socials a:hover {
  color: #061018;
  background: var(--cyan);
}
.icon { width: 16px; height: 16px; }

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 4px 26px 12px;
  position: relative;
}
.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links.right { justify-content: flex-end; }
.nav-links a {
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a.is-current { color: var(--gold-bright); }
.welcome {
  display: block;
  line-height: 0;
  padding: 2px 14px 6px;
}
.welcome img {
  display: block;
  height: 92px;
  width: auto;
  max-width: 100%;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle:hover span,
.nav-toggle.is-open span { background: var(--gold-bright); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.menu-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: auto;
  padding: 132px 22px 48px;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(226, 61, 154, 0.16), transparent 55%),
    #1D1A18;
}
.menu-screen[hidden] { display: none; }
body.menu-open { overflow: hidden; }
body.menu-open .stage { z-index: 50; }
body.menu-open .float-cta { display: none; }
.menu-panel {
  width: min(560px, 100%);
  margin: 0 auto;
}
.menu-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-links a {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 12px 18px;
  border: 2px solid #6D5F39;
  border-radius: 10%;
  background: #241F1C;
  color: var(--cyan);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}
.menu-links a:hover,
.menu-links a.is-current,
.menu-links a[aria-current="page"] {
  color: var(--gold-bright);
  background: rgba(109, 95, 57, 0.45);
}
.menu-admin {
  margin-top: 22px;
  padding: 14px;
  border-radius: 10%;
  background: #3A292B;
}
.menu-admin a { background: #2A1C1E; }
.menu-admin a:hover,
.menu-admin a[aria-current="page"] {
  color: var(--gold-bright);
  background: #4A3033;
}
.menu-socials {
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.menu-socials a {
  width: 44px;
  height: 44px;
}
.menu-socials .icon { width: 18px; height: 18px; }

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-stage.is-plain {
  aspect-ratio: 1100 / 640;
  background: #1D1A18;
}
.hero-backdrop {
  width: 100%;
  height: auto;
  display: block;
}
.hero {
  position: relative;
  height: min(760px, 82vh);
  min-height: 560px;
  overflow: hidden;
  background: #1D1A18;
}
.hero-stage .hero {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(900 / 1100 * 100%);
  height: 86%;
  min-height: 0;
  background: transparent;
  container-type: inline-size;
}
.hero-stage .hero:not(.is-lineup) {
  top: 0;
  height: 100%;
  transform: translateX(-50%);
}
.slides, .slide {
  position: absolute;
  inset: 0;
}
.slide {
  opacity: 0;
  transition: opacity 0.8s ease;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.slide.is-live { opacity: 1; }
.slide:not(.slide-lineup) {
  background-size: auto 100%;
}
.slide-lineup {
  background: transparent;
}
.slide-lineup.has-image {
  background-position: center bottom;
  background-size: contain;
}
.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  height: 180px;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.55)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 180' preserveAspectRatio='none'><g fill='%230b1020'><path d='M0 180V110h40v-30h20v30h30v-50h16v50h50v-70h24v70h40v-40h18v40h70v-90h12v18h12v-18h14v90h36v-46h20v46h48v-78h22v78h30v-34h16v34h60v-60h20v60h80v-100h18v28h10v-28h16v100h40v-48h24v48h54v-66h18v66h90v-40h20v40h70v-84h26v84H1200v80z'/></g><g fill='%23e6c56a' opacity='.55'><rect x='92' y='48' width='3' height='6'/><rect x='430' y='28' width='3' height='8'/><rect x='742' y='18' width='3' height='7'/><rect x='980' y='40' width='3' height='6'/></g></svg>") center bottom / 100% 100% no-repeat;
  opacity: 0.9;
  pointer-events: none;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 26, 24, 0.28) 0%, rgba(29, 26, 24, 0.05) 32%, rgba(29, 26, 24, 0.25) 68%, rgba(29, 26, 24, 0.72) 100%);
  pointer-events: none;
}
.hero:not(.is-lineup) .hero-copy { display: none; }
.hero-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 6%;
  z-index: 4;
  text-align: center;
  text-shadow: 0 8px 24px rgba(0,0,0,.75);
}
.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.wordmark { margin: 0; line-height: 0.85; }
.hero-logo {
  display: block;
  width: min(68%, 460px);
  height: auto;
  margin: -50px auto 0;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45));
}
.hero-stage .wordmark-top { font-size: clamp(36px, 14cqw, 92px); }
.hero-stage .wordmark-script { font-size: clamp(42px, 16cqw, 96px); }
.wordmark-top {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 9vw, 108px);
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fff8dc 0%, #f0d78a 38%, #b8862f 62%, #fff1c2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 0 rgba(90, 50, 8, 0.45));
}
.wordmark-script {
  display: block;
  margin-top: -8px;
  font-family: var(--font-script);
  font-size: clamp(72px, 9vw, 112px);
  font-weight: 400;
  color: #9fdced;
  text-shadow: 0 0 22px rgba(120, 200, 230, 0.45);
  letter-spacing: 0.02em;
}
.lineup {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 18px;
  height: 54%;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  transition: opacity 0.45s ease;
}
.lineup.is-hidden { opacity: 0; }
.queen {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.55));
}
.queen-lead { width: 24%; height: 108%; }
.queen-photo {
  width: 18%;
  object-fit: cover;
  object-position: 18% center;
  height: 92%;
  mask-image: linear-gradient(90deg, #000 70%, transparent);
}

.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 64px;
  border: 0;
  background: rgba(29, 26, 24, 0.55);
  color: var(--gold-bright);
  font-size: 34px;
  cursor: pointer;
}
.hero-btn:hover { background: rgba(226, 61, 154, 0.55); }
.hero-btn.prev { left: 0; }
.hero-btn.next { right: 0; }
.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.dots button.is-live { background: var(--gold); }

.premiere {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 20px;
  background: #1D1A18;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(230, 197, 106, 0.35);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 22px);
  color: #f4f4f4;
}
.premiere i {
  color: var(--gold);
  font-style: normal;
}

.section { padding: 54px 36px; }
.section-tight { padding-top: 28px; }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}
.split.is-solo { grid-template-columns: 1fr; }
.ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--pink);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}
.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.lead { font-size: 18px; color: #fff; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

.frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 8px;
  background: #1D1A18;
}
.frame img { width: 100%; height: 280px; object-fit: cover; }
.play-card {
  position: relative;
  display: block;
  color: white;
}
.play-card img { width: 100%; height: 280px; object-fit: cover; filter: saturate(1.05); }
.play-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 16, 24, 0.72);
  border: 2px solid rgba(255,255,255,.8);
  font-size: 22px;
  padding-left: 4px;
}

.prose h2, .page-title, .block-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.prose h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature-list { margin: 18px 0 0; padding: 0; list-style: none; }
.feature-list li {
  padding: 10px 0 10px 18px;
  border-top: 1px solid rgba(230, 197, 106, 0.18);
}
.feature-list strong { color: var(--gold-bright); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(226,61,154,.12), rgba(29, 26, 24, 0.2));
  border: 1px solid rgba(230, 197, 106, 0.28);
  padding: 22px 20px 20px;
  min-height: 180px;
}
.card .btn {
  margin-top: auto;
  align-self: center;
}
.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 18px;
  color: var(--gold-bright);
}
.card p { margin: 0 0 14px; color: var(--muted); }

.btn {
  display: inline-block;
  background: linear-gradient(#f06ab6, var(--magenta) 40%, var(--magenta-deep));
  color: white;
  border-radius: 999px;
  padding: 10px 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(226, 61, 154, 0.28);
}
.btn:hover { color: white; filter: brightness(1.08); }
.btn-half {
  padding: 4px 9px;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 10px rgba(226, 61, 154, 0.28);
}
.btn-gold {
  background: linear-gradient(#fff1c4, var(--gold) 45%, var(--gold-deep));
  color: #2a1604;
}
.btn-gold:hover { color: #2a1604; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.btn-cyan,
.cards .card:nth-child(even) .btn,
.admin-links .btn:nth-child(even),
.actions .btn:nth-child(even) {
  background: #8FD4EA;
  color: #061018;
  box-shadow: 0 8px 20px rgba(143, 212, 234, 0.28);
}
.btn-cyan:hover,
.cards .card:nth-child(even) .btn:hover,
.admin-links .btn:nth-child(even):hover,
.actions .btn:nth-child(even):hover { color: #061018; }

.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.home-cast {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.home-cast-line {
  display: grid;
  gap: 12px;
  justify-content: center;
}
.home-cast-line-1 { grid-template-columns: minmax(0, 240px); }
.home-cast-line-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-cast-line-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cast-mini {
  text-align: center;
  color: var(--text);
}
.cast-mini img {
  height: 280px;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: radial-gradient(circle at center, #e84b73 0%, #1D1A18 49%);
  border: 1px solid rgba(230, 197, 106, 0.25);
}
.cast-mini span {
  display: block;
  margin-top: 8px;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
}

.band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 28px 36px 48px;
  background: linear-gradient(180deg, transparent, rgba(226, 61, 154, 0.08));
}
.address {
  font-style: normal;
  font-size: 18px;
}
.site-footer {
  padding: 28px 28px 80px;
  background: #1D1A18;
  border-top: 1px solid rgba(230, 197, 106, 0.25);
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.footer-nav a {
  color: var(--cyan);
  letter-spacing: 0.14em;
  font-size: 12px;
  text-transform: uppercase;
}
.fine { color: #9d929b; font-size: 13px; }
.fine a { color: var(--pink); }

.float-cta {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(#f06ab6, var(--magenta));
  color: white;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  line-height: 1.15;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  max-width: 260px;
}
.float-cta:hover { color: white; }
.float-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.float-label {
  font-size: 16.5px;
  font-weight: 700;
}

.page-hero {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 20px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 26, 24, 0.35), rgba(29, 26, 24, 0.62));
}
.page-hero > * { position: relative; }
.page-hero:has(> img) {
  display: block;
  min-height: 0;
  padding: 0;
  container-type: inline-size;
}
.page-hero > img {
  display: block;
  width: 100%;
  height: auto;
}
.page-hero:has(> img) > div {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  padding: clamp(8px, 3vw, 48px) 16px;
}
.page-hero:has(> img) .page-title {
  font-size: clamp(22px, 6cqi, 64px);
}
hr.page-break {
  border: 0;
  border-top: 1px solid #6D5F39;
  margin: 40px 0 36px;
  padding: 0;
}
.page-title {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--cyan);
  margin: 0 0 8px;
}

.cast-grid, .gallery-grid {
  display: grid;
  gap: 18px;
}
.cast-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cast-line {
  display: grid;
  gap: 18px;
  align-items: stretch;
}
.cast-line-1 {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}
.cast-line-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-line-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .cast-line-2,
  .cast-line-3 { grid-template-columns: 1fr; }
}
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.portrait {
  background: #1D1A18;
  border: 1px solid rgba(230, 197, 106, 0.28);
  padding: 12px 12px 16px;
}
button.portrait {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
button.portrait:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.portrait img {
  flex: 0 0 420px;
  width: 100%;
  height: 420px;
  object-fit: contain;
  object-position: center bottom;
  background: radial-gradient(circle at center, #e84b73 0%, #1D1A18 49%);
}
.portrait h2 {
  margin: 12px 0 4px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}
.portrait p { margin: 0; color: var(--muted); white-space: pre-wrap; }
.gallery-grid a {
  display: block;
  border: 1px solid rgba(230, 197, 106, 0.2);
  overflow: hidden;
  background: #1D1A18;
}
.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-grid a:hover img { transform: scale(1.05); }

.note-form {
  display: grid;
  gap: 12px;
  max-width: 640px;
  position: relative;
}
.party-form {
  margin-left: auto;
  margin-right: auto;
}
.party-form .btn {
  justify-self: center;
  width: auto;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(226, 61, 154, 0.28);
}
.party-form .form-note { text-align: center; }
.note-form .trap {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.note-form label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pink); }
.note-form input,
.note-form textarea {
  width: 100%;
  background: #1D1A18;
  color: white;
  border: 1px solid rgba(230, 197, 106, 0.4);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
}
.note-form select {
  width: 100%;
  background: #1D1A18;
  color: white;
  border: 1px solid rgba(230, 197, 106, 0.4);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}
.note-form input:focus,
.note-form textarea:focus,
.note-form select:focus {
  outline: 2px solid var(--cyan);
  border-color: transparent;
}
.font-sample {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1.2;
  color: var(--gold-bright);
  letter-spacing: 0.03em;
}
.font-sample.is-body {
  font-size: 16.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
  color: var(--text);
}
.note-form input[type="color"] {
  width: 64px;
  height: 44px;
  padding: 4px;
  cursor: pointer;
}
.heading-level {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(230, 197, 106, 0.22);
}
.heading-level .font-sample { grid-column: 1 / -1; margin: 0; }
.font-sample.is-h1 { font-size: 32px; }
.font-sample.is-h2 { font-size: 26px; }
.font-sample.is-h3 { font-size: 20px; }
.font-sample.is-h4 { font-size: 17px; }
.font-sample.is-h5 { font-size: 15px; }
.font-sample.is-performers { font-size: 22px; text-transform: uppercase; letter-spacing: 0.03em; }
.form-note { color: var(--muted); font-size: 14px; }
.map-frame {
  width: 100%;
  min-height: 360px;
  border: 1px solid rgba(230, 197, 106, 0.3);
  filter: saturate(0.85) contrast(1.05);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(29, 26, 24, 0.88);
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(920px, 90vw);
  max-height: 86vh;
  object-fit: contain;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox button {
  position: absolute;
  background: transparent;
  color: white;
  border: 0;
  font-size: 40px;
  cursor: pointer;
}
.lightbox .close { top: 12px; right: 18px; }
.lightbox .prev { left: 10px; top: 50%; }
.lightbox .next { right: 10px; top: 50%; }

.cast-box {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  overflow: auto;
  background: rgba(29, 26, 24, 0.9);
  padding: 48px 16px 32px;
}
.cast-box.is-open { display: block; }
.cast-dialog {
  width: min(980px, 100%);
  margin: 0 auto;
  background: #1D1A18;
  border: 1px solid rgba(230, 197, 106, 0.35);
  padding: 18px;
}
.cast-stage {
  display: grid;
  width: 100%;
  background: radial-gradient(circle at center, #e84b73 0%, #1D1A18 49%);
}
.cast-stage .cast-feature {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  transition: opacity 2s ease;
}
.cast-stage .cast-feature.is-shown { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .cast-stage .cast-feature { transition: none; }
}
.cast-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}
.cast-dialog h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold-bright);
}
.cast-bio {
  margin: 8px 0 0;
  white-space: pre-wrap;
  color: var(--muted);
  line-height: 1.6;
}
.cast-more {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
  overflow-x: auto;
}
.cast-more[hidden] { display: none; }
.cast-more button {
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(230, 197, 106, 0.35);
  background: #1D1A18;
  cursor: pointer;
}
.cast-more button.is-live { border-color: #e84b73; }
.cast-more img {
  display: block;
  width: 46px;
  height: 60px;
  object-fit: cover;
}
.cast-box .close {
  position: fixed;
  top: 10px;
  right: 16px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 40px;
  cursor: pointer;
}
.cast-edit {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  margin: 22px 0 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(230, 197, 106, 0.28);
}
.cast-edit > img { width: 160px; height: 210px; object-fit: contain; object-position: center bottom; }
.cast-edit label, .cast-photos + .note-form label { display: block; margin-bottom: 10px; }
.cast-edit label { color: var(--pink); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.cast-edit textarea,
.cast-edit input[type="text"],
.cast-edit input[type="number"] {
  display: block;
  width: min(100%, 640px);
  margin-top: 6px;
  background: #1D1A18;
  color: white;
  border: 1px solid rgba(230, 197, 106, 0.4);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}
.cast-photos { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 12px; }
.cast-photos figure { margin: 0; }
.cast-photos img { width: 90px; height: 120px; object-fit: cover; }
@media (max-width: 700px) {
  .cast-edit { grid-template-columns: 1fr; }
}

@media (max-width: 1040px) {
  .nav { gap: 4px; padding-left: 18px; padding-right: 18px; }
  .nav-links { gap: 8px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.06em; }
  .welcome img { height: 84px; }
}

@media (max-width: 900px) {
  .split, .band, .cards { grid-template-columns: 1fr; }
  .cast-row { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .section, .band { padding-left: 18px; padding-right: 18px; }
  .hero { min-height: 520px; height: 72vh; }
  .hero-stage .hero { min-height: 0; height: 86%; }
  .wordmark-top { letter-spacing: 0.04em; }
  .queen-lead { height: 100%; }
  .float-cta { left: 10px; right: 10px; max-width: none; align-items: center; text-align: center; }
  .cast-mini img { height: 220px; }
  .portrait img { flex-basis: 340px; height: 340px; }
}

@media (max-width: 760px) {
  .site-header { position: sticky; top: 0; z-index: 60; }
  .topbar { display: none; }
  .nav {
    display: flex;
    justify-content: center;
    min-height: 76px;
    padding: 6px 72px;
  }
  .nav-links { display: none; }
  .welcome { padding: 0; }
  .welcome img { height: 68px; }
  .nav-toggle {
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  .menu-screen:not([hidden]) { display: block; }
  .menu-screen { padding: 108px 16px 32px; }
  .menu-links a { font-size: 14px; letter-spacing: 0.12em; }
  .cast-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .lineup { height: 48%; }
  .eyebrow { letter-spacing: 0.12em; font-size: 11px; }
}

.admin-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 28px;
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 32px auto 0;
  max-width: 920px;
}
.dash-card {
  position: relative;
}
.dash-card.is-dragging { opacity: 0.45; }
.dash-grid .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 108px;
  padding: 24px 18px;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-align: center;
  background: #2B2724;
  color: #f06ab6;
  border: 2px solid #f06ab6;
  box-shadow: none;
}
.dash-card:nth-child(even) .btn {
  color: #8FD4EA;
  border-color: #8FD4EA;
}
.dash-grid .btn:hover {
  color: #f06ab6;
  filter: none;
  background: #2B2724;
}
.dash-card:nth-child(even) .btn:hover {
  color: #8FD4EA;
}
.dash-card .drag-handle {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  background: #f06ab6;
  color: #2B2724;
}
.dash-card:nth-child(even) .drag-handle {
  background: #8FD4EA;
  color: #061018;
}
#dash-status { text-align: center; }
.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
}
.settings-panel {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.settings-panel h2,
.settings-panel .muted {
  text-align: center;
}
.settings-panel .note-form .btn { justify-self: center; }
.settings-tab {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(143, 212, 234, 0.45);
  border-radius: 999px;
  padding: 8px 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.settings-tab.is-current {
  background: #8FD4EA;
  color: #061018;
  border-color: #8FD4EA;
}
.settings-panel[hidden] { display: none; }
.field-error { color: #ffb4c8; font-size: 14px; }
.field-error:empty { display: none; }
.note-form input.is-invalid { border-color: #ff8fab; }
.user-check { display: flex; align-items: center; gap: 10px; }
.user-check input { width: auto; }
.user-check label { margin: 0; }
.user-table-wrap { overflow-x: auto; margin: 0 0 28px; }
.user-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.user-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 8px 10px;
  border-bottom: 1px solid rgba(143, 212, 234, 0.35);
  white-space: nowrap;
}
.user-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(230, 197, 106, 0.18);
  vertical-align: top;
}
#backdrop-preview-wrap[hidden],
#backdrop-empty[hidden] { display: none; }
.checker {
  background-color: #1D1A18;
  background-image:
    linear-gradient(45deg, #2a1830 25%, transparent 25%),
    linear-gradient(-45deg, #2a1830 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #2a1830 75%),
    linear-gradient(-45deg, transparent 75%, #2a1830 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}
.slide-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 12px;
  margin-bottom: 14px;
}
.slide-row img {
  width: 160px;
  height: 100px;
  object-fit: contain;
}
.lineup-sort { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lady-row {
  display: grid;
  grid-template-columns: 44px 110px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(240, 215, 138, 0.35);
  background: rgba(29, 26, 24, 0.35);
}
.lady-row.is-dragging { opacity: 0.45; }
.lady-row.is-over { outline: 2px solid #e6c56a; }
.drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  color: #e6c56a;
  font-size: 22px;
  letter-spacing: -2px;
  line-height: 1;
  padding: 8px 0;
  user-select: none;
  touch-action: none;
}
.cast-order-wrap {
  width: min(600px, 100%);
  margin: 8px auto 18px;
}
.cast-order {
  list-style: none;
  counter-reset: cast;
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cast-order-item {
  counter-increment: cast;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  grid-template-rows: auto;
  align-items: center;
  column-gap: 12px;
  padding: 8px 14px;
  border: 1px solid #2C2825;
  border-radius: 12px;
  background: #262320;
  white-space: nowrap;
}
.cast-order-item.is-dragging { opacity: 0.45; }
#cast-editor-dialog.is-enabled {
  border-color: #125F06;
  box-shadow: 0 0 0 2px #125F06;
}
.cast-order-tools {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}
.cast-order .drag-handle {
  align-self: center;
  font-size: 22px;
  padding: 0;
}
.cast-order-index {
  color: var(--pink);
  font-size: 15px;
  letter-spacing: 0.04em;
  min-width: 1.4em;
  text-align: center;
}
.cast-order-index::before { content: counter(cast); }
.cast-order .performers {
  display: block;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  text-align: left;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-order-flag {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.cast-order-edit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: #e23d9a;
  background-image: linear-gradient(#f06ab6, var(--magenta) 40%, var(--magenta-deep));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(226, 61, 154, 0.28);
}
.cast-order-edit:hover { filter: brightness(1.08); }
.cast-order-edit svg { display: block; width: 18px; height: 18px; }
.cast-order-add {
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}
.cast-sort-status { min-height: 1.4em; max-width: none; margin: 0 0 12px; }
#cast-editor .cast-edit {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#cast-editor .cast-field-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}
#cast-editor .cast-grow { flex: 1 1 auto; min-width: 0; }
#cast-editor .cast-edit label { margin-bottom: 0; }
#cast-editor .cast-edit textarea,
#cast-editor .cast-edit input[type="text"] {
  width: 100%;
}
#cast-editor .cast-enabled {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  white-space: nowrap;
}
.cast-shots {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
}
.cast-shot { flex: 0 0 148px; }
.cast-shot-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--pink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cast-shot-frame {
  position: relative;
  height: 188px;
  border: 1px dashed rgba(230, 197, 106, 0.45);
  border-radius: 12px;
  background: #262320;
  overflow: hidden;
}
.cast-shot-frame.is-over { border-color: #e23d9a; }
.cast-shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.cast-shot-plus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 36px;
  line-height: 1;
  pointer-events: none;
}
.cast-shot-frame.has-image .cast-shot-plus { display: none; }
.cast-shot-frame input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.cast-shot-x {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(29, 26, 24, 0.88);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.cast-shot-frame:not(.has-image) .cast-shot-x { display: none; }
.cast-delete { margin: 18px 0 0; }
.cast-delete-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--pink);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.cast-delete-btn:hover { color: #fff; }
.cast-dialog h2.cast-editor-title { margin: 0; }
#cast-editor.cast-box { padding-top: 20px; }
.cast-editor-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -18px -18px 14px;
  padding: 12px 18px;
  background: #1D1A18;
}
#cast-editor .close {
  position: static;
  flex: 0 0 auto;
  color: var(--gold-bright);
  font-size: 36px;
  line-height: 1;
}
.cast-dialog .cast-edit {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.cast-edit input[type="file"],
.cast-dialog .note-form input[type="file"] {
  display: block;
  max-width: 100%;
  margin-top: 6px;
}
#cast-editor .cast-shot-frame input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.cast-editor-panel[hidden] { display: none; }
body.cast-editor-open { overflow: hidden; }
@media (max-width: 700px) {
  .cast-order .performers { font-size: 18px; }
}
.lady-row img { width: 110px; height: 140px; object-fit: contain; object-position: center bottom; }
.lady-fields label { display: block; margin-bottom: 8px; }
.lady-fields input[type="text"] { width: min(280px, 100%); }
@media (max-width: 700px) {
  .lady-row { grid-template-columns: 36px 1fr; }
  .lady-row img { grid-column: 2; }
}
.slide-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 0; }
.slide-actions label { margin-right: 8px; }

@media (max-width: 700px) {
  .slide-row { grid-template-columns: 1fr; }
}

.gallery-hero {
  position: relative;
  height: auto;
  aspect-ratio: 2200 / 480;
  margin: 0 0 22px;
  border: 1px solid #2C2825;
  border-radius: 12px;
  background: #262320;
  overflow: hidden;
}
.gallery-hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.gallery-hero.is-rect {
  width: 100%;
  aspect-ratio: auto;
  min-height: 180px;
}
.gallery-hero.is-rect img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.gallery-hero.is-rect img[hidden] { display: none; }
.gallery-hero.is-rect .cast-shot-plus {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 42px;
  pointer-events: none;
}
.gallery-hero.is-rect:not(.has-image) .cast-shot-plus { display: flex; }
.play-card.about-photo img {
  height: auto;
  object-fit: contain;
}
.home-copy {
  width: min(640px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.home-copy h2,
.home-copy .muted { text-align: center; }
.home-copy .gallery-hero.is-rect { margin-left: auto; margin-right: auto; }
.home-copy .note-form .btn { justify-self: center; }
#gallery-showing-row[hidden],
#gallery-size[hidden] { display: none; }
.gallery-board {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 8px 0 14px;
  padding: 0;
}
.gallery-tile {
  position: relative;
  height: 150px;
  border: 1px solid #2C2825;
  border-radius: 12px;
  background: #262320;
  overflow: hidden;
}
.gallery-tile.is-slide {
  background-color: #1D1A18;
  background-image:
    linear-gradient(45deg, #2a1830 25%, transparent 25%),
    linear-gradient(-45deg, #2a1830 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #2a1830 75%),
    linear-gradient(-45deg, transparent 75%, #2a1830 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}
.gallery-tile.is-slide img { object-fit: contain; }
.gallery-tile.is-hidden { opacity: 0.55; }
.gallery-tile.is-dragging { opacity: 0.45; }
.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-tile .drag-handle {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  background: #8FD4EA;
  color: #061018;
}
.gallery-x {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(29, 26, 24, 0.88);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.gallery-edit {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  width: 28px;
  height: 28px;
}
.gallery-edit svg { width: 14px; height: 14px; }
.gallery-flag {
  display: none;
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(29, 26, 24, 0.88);
  color: var(--pink);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gallery-tile.is-hidden .gallery-flag { display: inline-block; }
.gallery-sort-status { min-height: 1.4em; margin: 0 0 12px; }
#gallery-editor-dialog { width: min(760px, 100%); }
#gallery-editor-dialog.is-showing {
  border-color: #125F06;
  box-shadow: 0 0 0 2px #125F06;
}
#gallery-editor .close,
#backdrop-editor .close,
#cast-hero-editor .close,
#about-editor .close { position: static; }
.gallery-replace-frame {
  position: relative;
  height: min(62vh, 520px);
  border: 1px dashed rgba(230, 197, 106, 0.45);
  border-radius: 12px;
  background: #262320;
  overflow: hidden;
}
.gallery-replace-frame.is-banner {
  height: auto;
  aspect-ratio: 2200 / 480;
}
.gallery-replace-frame.is-banner img {
  position: absolute;
  inset: 0;
}
.gallery-replace-frame.is-over { border-color: #e23d9a; }
.gallery-replace-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-replace-frame .cast-shot-plus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 42px;
  pointer-events: none;
}
.gallery-replace-frame.has-image .cast-shot-plus { display: none; }
#gallery-editor .gallery-replace-frame input[type="file"],
#backdrop-editor .gallery-replace-frame input[type="file"],
#cast-hero-editor .gallery-replace-frame input[type="file"],
#about-editor .gallery-replace-frame input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.gallery-replace-note { margin: 8px 0 0; }
@media (max-width: 700px) {
  .gallery-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-tile { height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .gallery-grid img, .lineup { transition: none; }
  html { scroll-behavior: auto; }
}
