:root {
  --bg: #07070a;
  --bg2: #0b0b12;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.70);
  --muted2: rgba(255, 255, 255, 0.55);
  --accent: #ff2a2a;
  --blue: #1687ff;
  --cyan: #4cc9ff;
  --ok: #2fbf71;
  --radius: 18px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(900px 600px at 18% 0%, rgba(255, 42, 42, 0.14), transparent 55%),
    radial-gradient(800px 520px at 90% 8%, rgba(22, 135, 255, 0.12), transparent 58%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible {
  outline: 3px solid rgba(255, 42, 42, 0.45);
  outline-offset: 3px;
}

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  margin: 14px auto 0;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  position: sticky;
  top: 12px;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 0.95rem; letter-spacing: -0.02em; }
.brand-text span { font-size: 0.72rem; color: var(--muted); font-weight: 600; }

.navdetails { position: relative; }
.navdetails > summary { list-style: none; }
.navdetails > summary::-webkit-details-marker { display: none; }
.navtoggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.navtoggle .bars { width: 18px; height: 12px; position: relative; display: block; }
.navtoggle .bars span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}
.navtoggle .bars span:nth-child(1) { top: 0; }
.navtoggle .bars span:nth-child(2) { top: 5px; }
.navtoggle .bars span:nth-child(3) { top: 10px; }
.navlinks { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.navlinks a {
  color: var(--muted);
  padding: 9px 11px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
}
.navlinks a:hover,
.navlinks a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.navlinks a.btn-nav {
  background: rgba(255, 42, 42, 0.16);
  border: 1px solid rgba(255, 42, 42, 0.35);
  color: #fff;
}

.hero { padding: 22px 0 10px; }
.hero-kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 0 0 12px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 42, 42, 0.16);
  border: 1px solid rgba(255, 42, 42, 0.5);
  color: #ffd7dc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.live-badge i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.55);
  animation: livePulse 1.6s ease-out infinite;
}
.live-badge[data-status="reconnecting"] {
  background: rgba(255, 184, 77, 0.14);
  border-color: rgba(255, 184, 77, 0.5);
  color: #ffe3b0;
}
.live-badge[data-status="reconnecting"] i { background: #ffb84d; animation: none; }
.live-badge[data-status="offline"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.78);
}
.live-badge[data-status="offline"] i { background: #9aa3b5; animation: none; box-shadow: none; }
.hvl-offline-notice {
  margin: 12px 8px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
}
.hvl-offline-notice strong { display: block; margin-bottom: 4px; }
.kicker-loc { color: var(--muted); font-size: 0.88rem; font-weight: 650; }
.viewer-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
}
.viewer-count-icon { flex-shrink: 0; opacity: 0.8; }
.viewer-count-num {
  display: inline-block;
  min-width: 1em;
  text-align: center;
  transition: transform 0.2s ease;
}
.total-views {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--muted2);
  font-weight: 500;
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.hero .sub {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

.player-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 18px;
  border-radius: 20px;
  padding: 0.55rem;
  background: rgba(8, 8, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}
.player {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 14px;
  overflow: hidden;
  background: #07070a;
}
.player-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex: 0 0 auto;
  container-type: size;
  container-name: hvl-player;
  background-color: #000;
  background-image: var(--player-poster, none);
  background-size: cover;
  background-position: center;
}
.player:not(:has(.player-stage)) {
  aspect-ratio: 16 / 9;
  container-type: size;
  container-name: hvl-player;
}
.player video,
.player-stage video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  object-fit: contain;
  background: #000;
}
.player-stage video {
  position: absolute;
  inset: 0;
}
.player-stack {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-height: 0;
  pointer-events: none;
}
.player-content {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.player-status {
  flex: 0 0 auto;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 8px 4px;
  pointer-events: none;
}
.player-controls {
  flex: 0 0 auto;
  z-index: 7;
  pointer-events: none;
}
.player-controls:not([hidden]) { pointer-events: auto; }
.connectingToast {
  position: absolute; inset: 0; z-index: 3;
  display: none; align-items: center; justify-content: center;
  background: transparent;
  pointer-events: none;
}
.player-status .connectingToast {
  position: static;
  inset: auto;
}
.player-status .connectingToast.is-visible { display: flex; }
.connectingToast.is-visible { display: flex; }
.connectingToast-pill {
  display: flex; align-items: center; gap: 10px;
  max-width: min(92%, 360px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(8, 10, 16, 0.8);
  color: #fff;
  font-size: 14px; font-weight: 650; line-height: 1.25;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}
.connection-spinner {
  width: 20px; height: 20px; flex: 0 0 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hvl-spin 0.8s linear infinite;
}
.connectingToast-icon { display: none; }
.connectingToast-text { min-width: 0; }

.section { padding: 2.2rem 0 0.4rem; }
.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.sponsor {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}
.presenting-sponsor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 28rem;
}
.sponsor-logo-link {
  display: inline-flex;
  pointer-events: auto;
}
.sponsor-logo {
  width: 72px; height: 72px;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px;
  border: 1px solid var(--line);
}
.sponsor .presented { color: var(--muted2); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 4px; }
.sponsor h2 { margin: 0 0 4px; font-size: 1.25rem; }
.sponsor .tag { margin: 0; color: var(--muted); }
#sponsorBlock[hidden],
#sponsorBlock[hidden] a,
#sponsorBlock[hidden] button,
.presenting-sponsor-section[hidden],
.presenting-sponsor-section[hidden] a,
.presenting-sponsor-section[hidden] button {
  display: none !important;
  pointer-events: none !important;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 750;
  cursor: pointer;
}
.btn:hover { background: rgba(255, 255, 255, 0.1); }
.btn-primary {
  background: rgba(255, 42, 42, 0.18);
  border-color: rgba(255, 42, 42, 0.45);
}
.btn-primary:hover { background: rgba(255, 42, 42, 0.28); }

.about p { margin: 0; color: var(--muted); font-size: 1.02rem; max-width: 46rem; }
.goshen-history-archive .teaser {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 46rem;
}
.goshen-history-archive .btn {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.host-board {
  display: grid;
  gap: 1rem;
  padding-top: 1.4rem;
}
.host-board[hidden] { display: none; }
.host-status-pill {
  justify-self: start;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.host-kicker {
  margin: 0 0 0.35rem;
  color: var(--muted2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.host-event h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}
.host-when { margin: 0 0 0.4rem; color: var(--muted); font-weight: 650; }
.host-event-desc { margin: 0; color: var(--muted); max-width: 42rem; }
.host-announcement {
  margin: 0;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  max-width: 46rem;
}
.host-schedule-wrap h2 { margin-bottom: 0.65rem; }
.host-schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.host-schedule li {
  display: grid;
  grid-template-columns: minmax(6.5rem, auto) 1fr;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
}
.host-sched-time {
  font-weight: 800;
  color: var(--cyan);
  white-space: nowrap;
}
.host-sched-body { display: grid; gap: 0.15rem; min-width: 0; }
.host-sched-body strong { font-size: 1rem; }
.host-sched-body span { color: var(--muted); font-size: 0.9rem; }
.host-cta { justify-self: start; }
@media (max-width: 640px) {
  .host-schedule li { grid-template-columns: 1fr; gap: 0.2rem; }
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.explore-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  min-height: 8.5rem;
}
.explore-card h3 { margin: 0 0 8px; font-size: 0.95rem; }
.explore-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.explore-card .empty { color: var(--muted2); font-style: italic; }

.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row button, .share-row a.btn { min-height: 44px; }
.share-note { margin: 10px 0 0; color: var(--muted2); font-size: 0.86rem; }

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.more-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.more-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: #111; }
.more-card div { padding: 0.85rem 1rem 1rem; }
.more-card strong { display: block; }
.more-card span { color: var(--muted); font-size: 0.88rem; }
.teaser { color: var(--muted); }

.cta-band {
  margin: 2rem 0 0.5rem;
  padding: 1.4rem 1.3rem;
  border-radius: 18px;
  border: 1px solid rgba(22, 135, 255, 0.28);
  background:
    radial-gradient(500px 180px at 90% 0%, rgba(22, 135, 255, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--muted); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 2.4rem 0 2.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer a:hover { color: var(--text); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 42, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 42, 42, 0); }
}
@keyframes hvl-spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .navlinks { display: none; }
  .navtoggle { display: inline-flex; }
  .navdetails[open] .navlinks {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 36px));
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.78);
    z-index: 40;
  }
  .explore-grid, .more-grid { grid-template-columns: 1fr 1fr; }
  .sponsor { grid-template-columns: auto 1fr; }
  .sponsor .btn { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 1.2rem, var(--max)); }
  .nav { top: 8px; padding: 10px 10px; }
  .hero { padding-top: 14px; }
  .player-shell {
    margin-left: 0;
    margin-right: 0;
    margin-top: 12px;
    padding: 0;
    border-width: 0;
    border-radius: 16px;
    background: #000;
    box-shadow: none;
  }
  .player {
    border-radius: 16px;
  }
  .player-stage,
  .player-stage video,
  .player video {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }
  .explore-grid, .more-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 1.15rem; }
  .btn, .share-row a.btn, .share-row button { width: 100%; }
}

.venue-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.venue-logo {
  width: 72px; height: 72px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  padding: 6px;
  flex: 0 0 auto;
}
.venue-logo[hidden] { display: none !important; }
.event-grid, .sponsor-grid, .gallery-grid {
  display: grid;
  gap: 12px;
}
.event-grid { grid-template-columns: repeat(4, 1fr); }
.sponsor-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid { grid-template-columns: repeat(2, 1fr); }
.event-card, .sponsor-mini, .gallery-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}
.event-card .date {
  color: var(--muted2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.event-card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.event-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.sponsor-mini {
  text-align: center;
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sponsor-mini img {
  width: 72px; height: 72px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  padding: 6px;
}
.sponsor-mini strong { font-size: 0.95rem; }
.sponsor-mini span { color: var(--muted); font-size: 0.86rem; }
.gallery-card { padding: 0; overflow: hidden; }
.gallery-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.gallery-card figcaption,
.gallery-card .photo-caption { padding: 0.7rem 0.9rem 0.9rem; color: var(--muted); font-size: 0.86rem; }
.gallery-card .photo-caption p { margin: 0; }
.gallery-card .photo-caption p:first-child { margin-top: 0; }
.gallery-card .photo-caption p:last-child { margin-bottom: 0; }
.gallery-card .photo-caption ul,
.gallery-card .photo-caption ol { margin: 0.35rem 0 0; padding-left: 1.2rem; }
.sponsor-this {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.sponsor-this p { margin: 6px 0 0; color: var(--muted); max-width: 40rem; }

body.theme-goshen {
  --bg: #0c0906;
  --bg2: #120e09;
  --card: rgba(255, 232, 196, 0.06);
  --line: rgba(196, 165, 116, 0.28);
  --accent: #c45a2a;
  --blue: #c4a574;
  --cyan: #e8c98a;
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(196, 90, 42, 0.18), transparent 55%),
    radial-gradient(720px 480px at 92% 6%, rgba(196, 165, 116, 0.12), transparent 58%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}
body.theme-goshen .hero-venue {
  position: relative;
}
body.theme-goshen .hero h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.theme-goshen .hero .sub {
  font-style: italic;
  color: #e8d7b0;
}
body.theme-goshen .player-shell {
  border-color: rgba(196, 165, 116, 0.35);
  background:
    linear-gradient(180deg, rgba(20, 14, 8, 0.55), rgba(8, 6, 4, 0.82));
}
body.theme-goshen .live-badge {
  background: rgba(196, 90, 42, 0.18);
  border-color: rgba(196, 90, 42, 0.55);
  color: #ffd7c4;
}
body.theme-goshen .btn-primary {
  background: rgba(196, 90, 42, 0.22);
  border-color: rgba(196, 165, 116, 0.45);
}
body.theme-goshen .btn-primary:hover { background: rgba(196, 90, 42, 0.34); }
body.theme-goshen .cta-band {
  border-color: rgba(196, 165, 116, 0.32);
  background:
    radial-gradient(500px 180px at 90% 0%, rgba(196, 165, 116, 0.14), transparent 60%),
    rgba(255, 232, 196, 0.04);
}
body.theme-goshen .navlinks a.btn-nav,
body.theme-goshen .navlinks a[aria-current="page"] {
  color: #f3e6c8;
}

@media (max-width: 960px) {
  .event-grid, .sponsor-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .event-grid, .sponsor-grid, .gallery-grid { grid-template-columns: 1fr; }
  .venue-title-row { align-items: flex-start; }
}

html.is-embed .nav,
html.is-embed .footer,
html.is-embed #shareSection,
html.is-embed #moreSection,
html.is-embed .cta-band,
html.is-embed .about-section,
html.is-embed .gallery,
html.is-embed .event-grid,
html.is-embed .sponsor-grid,
html.is-embed #goshenHistoryArchive,
html.is-embed #hostContentSection {
  display: none !important;
}
html.is-embed body {
  background: #000;
}
html.is-embed .wrap {
  max-width: none;
  padding: 0;
}
html.is-embed .player {
  border-radius: 0;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-badge i, .connection-spinner { animation: none; }
}
