:root {
  --bg: #0f1016;
  --bg-alt: #181a24;
  --text: #f5f5f5;
  --muted: #a0a5b9;
  --accent: #ee8633;
  --accent-dark: #ca722b;
  --card: rgba(17, 19, 27, 0.9);
  --shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
  --radius-lg: 24px;
  --radius-sm: 10px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  justify-items: center;
  align-items: end;
  text-align: center;
  background: #0f1016 url('/images/logo-gif.gif?v=1') center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: grid;
  align-items: center;
  gap: 0.85rem;
}

.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero__logo {
  margin: 0 0 0.5rem;
  display: none;
}

.hero__logo img {
  display: block;
  width: min(520px, 90vw);
  height: auto;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero__accent {
  color: var(--accent);
  font-weight: 600;
  padding: 0 0.35rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hero-badge {
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero .button {
  min-width: 200px;
}

.section--tight {
  padding: 3rem 0;
}

.login-popover {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(380px, 92vw);
  background: rgba(15, 16, 22, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.login-popover.is-hidden {
  display: none;
}

.login-popover__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.login-popover__close {
  position: absolute;
  top: 0.25rem;
  right: 0.75rem;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  cursor: pointer;
}

.login-popover__submit {
  width: 100%;
}

.login-popover__link {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.login-popover__link:hover {
  color: var(--accent);
}

.section {
  padding: 4rem 0;
  background: var(--bg);
  text-align: center;
}

.language-widget {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  right: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5000;
  background: rgba(15, 16, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  backdrop-filter: blur(8px);
}

.language-widget__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.language-toggle__button {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 16, 22, 0.8);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.language-toggle__button:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
  transform: translateY(-1px);
}

.language-toggle__button.is-active {
  background: rgba(238, 134, 51, 0.22);
  border-color: rgba(238, 134, 51, 0.6);
  color: #fff;
}

.language-toggle__button:disabled {
  cursor: default;
  transform: none;
}

.language-toggle__flag {
  display: inline-flex;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.flag-de {
  background: linear-gradient(180deg, #000 33%, #dd0000 33%, #dd0000 66%, #ffce00 66%);
}

.flag-en {
  background-color: #012169;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0 0 L60 30 M60 0 L0 30' stroke='%23FFFFFF' stroke-width='6'/%3E%3Cpath d='M0 0 L60 30 M60 0 L0 30' stroke='%23C8102E' stroke-width='3'/%3E%3Crect x='0' y='12' width='60' height='6' fill='%23FFFFFF'/%3E%3Crect x='24' y='0' width='12' height='30' fill='%23FFFFFF'/%3E%3Crect x='0' y='13.5' width='60' height='3' fill='%23C8102E'/%3E%3Crect x='26.5' y='0' width='7' height='30' fill='%23C8102E'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

body.menu-open {
  overflow: hidden;
}

.menu-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 16, 22, 0.65);
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
  z-index: 5000;
}

.menu-toggle:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
  transform: translateY(-1px);
}

.menu-toggle__line {
  width: 55%;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.menu-panel {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 12, 0.75);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 6000;
}

.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel__inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 85vw);
  height: 100%;
  background: rgba(12, 14, 20, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.55);
  padding: 2rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-panel.is-open .menu-panel__inner {
  transform: translateX(0);
}

.menu-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-panel__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.menu-panel__close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  position: relative;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.menu-panel__close:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
  transform: translateY(-1px);
}

.menu-panel__close span {
  position: absolute;
  width: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}

.menu-panel__close span:first-child {
  transform: rotate(45deg);
}

.menu-panel__close span:last-child {
  transform: rotate(-45deg);
}

.menu-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-panel__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.menu-panel__link::after {
  content: '↗';
  font-size: 0.9rem;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.menu-panel__link:hover {
  color: var(--accent);
  padding-left: 0.5rem;
}

.menu-panel__link:hover::after {
  opacity: 0.9;
}

.menu-panel__footer {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  display: grid;
  gap: 0.2rem;
}

.footer-impressum {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  display: inline-block;
}

.footer-impressum > summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.35);
}

.footer-impressum > summary::marker,
.footer-impressum > summary::-webkit-details-marker {
  display: none;
}

.footer-impressum[open] > summary {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.16);
}

.footer-impressum > summary:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.12);
  transform: translateY(-1px);
}



.footer-impressum__body {
  position: static;
  min-width: 0;
  display: grid;
  gap: 0.3rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  z-index: auto;
}

.footer-impressum[open] {
  z-index: 10;
}

.footer-impressum__body a {
  color: var(--accent);
}

.footer-impressum__body p {
  margin: 0;
}

.footer-impressum__trigger {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition: border 0.2s ease, color 0.2s ease, background 0.2s ease;
  text-align: center;
  min-width: 0;
  flex: 1 1 160px;
  max-width: 220px;
}

.footer-impressum__trigger:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.12);
}

@media (max-width: 900px) {
  .language-widget {
    top: 1rem;
    left: 1rem;
    right: auto;
    padding: 0.35rem 0.7rem;
    gap: 0.5rem;
  }

  .menu-toggle {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }

  .menu-panel__inner {
    width: min(420px, 100vw);
    padding: 1.5rem;
  }

  .footer__links {
    width: min(520px, 100%);
    margin: 0 auto;
    gap: 0.7rem;
  }

  .footer__links a,
  .footer-impressum__trigger {
    width: 100%;
    padding: 0.55rem 0.9rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .footer__links a,
  .footer-impressum__trigger {
    flex: 1 1 100%;
  }
}

.section--alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-align: center;
}

.section__header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.subscribe-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.archive-intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

#archive.archive-empty {
  padding-bottom: 1rem;
}

#archive.archive-empty .archive-carousel {
  margin-bottom: 0;
}

#archive.archive-empty .event-grid--carousel {
  min-height: 0;
  padding: 0;
}

#archive.archive-empty .event-grid--carousel .empty-state {
  min-height: 120px;
  padding: 0.9rem 1rem;
}

#archive .event-grid--carousel .empty-state {
  min-height: 110px;
  padding: 0.9rem 1rem;
}

.form-details {
  display: grid;
  gap: 1rem;
}

.form-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-details.is-hidden {
  display: none;
}

#event-details.is-archive > * {
  display: none;
}

#event-details.is-archive [data-media-block] {
  display: block;
}

.form-label {
  font-weight: 600;
}

.visibility-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.visibility-options label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.visibility-options input {
  width: 1rem;
  height: 1rem;
}

.internal-list {
  display: grid;
  gap: 0.75rem;
}

.internal-item {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.internal-list__group-label {
  margin: 1rem 0 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
}

.internal-list__group-label:first-of-type {
  margin-top: 0;
}

.internal-item__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.internal-item__status {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.05rem 0.5rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.75);
}

.internal-item__status[data-status='upcoming'] {
  border-color: var(--accent);
  color: var(--accent);
}

.internal-item__status[data-status='past'] {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.65);
}

.internal-item--past {
  opacity: 0.75;
}

.internal-item__title {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.internal-item__meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.internal-item__description {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.internal-item--collapsed .internal-item__description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.internal-item__toggle {
  align-self: flex-start;
  margin-top: 0.25rem;
  border: none;
  background: transparent;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0;
}

.internal-item__toggle:hover {
  color: #fff;
}

.internal-item__lineup {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.internal-item__audit {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  display: grid;
  gap: 0.2rem;
}

#internal-card.dashboard-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#internal-card .empty-state {
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  color: var(--muted);
}

.highlight {
  background: rgba(238, 134, 51, 0.1);
  border-left: 4px solid var(--accent);
  padding: 1rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
}

.legacy-section {
  display: flex;
  justify-content: center;
  text-align: center;
}

.legacy-section__body {
  max-width: 560px;
  display: grid;
  gap: 1rem;
  margin: 0 auto;
}

.legacy-section__body p {
  color: var(--muted);
  margin: 0 auto;
}

.legacy-section__body .button {
  justify-self: center;
}

#about p,
#archive p,
.future-section p,
.legacy-section__body p {
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: 72ch;
}

#about p {
  max-width: none;
}

.future-section p {
  max-width: none;
  text-align: left;
  text-align-last: left;
}

.about-text {
  display: grid;
  gap: 1rem;
}

.about-text__intro,
.about-text__more {
  display: grid;
  gap: 1rem;
}

.about-toggle {
  justify-self: center;
  display: inline-flex;
}

.about-text__more {
  display: grid;
  gap: 1rem;
}

.about-text.is-collapsed .about-text__more {
  display: none;
}

.future-section {
  display: grid;
  gap: 1.2rem;
  text-align: center;
}

.future-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.events-layout {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.events-layout .event-highlight,
.event-grid--carousel .event-card {
  height: clamp(440px, 58vh, 520px);
}

.event-highlight {
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 45%),
    linear-gradient(145deg, rgba(238, 134, 51, 0.45), rgba(13, 14, 20, 0.95));
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  text-align: left;
  display: grid;
  gap: 0.5rem;
  grid-template-rows: 0 22px 46px minmax(0, 1fr) 22px 22px;
  width: clamp(220px, 26vw, 280px);
  max-width: clamp(220px, 26vw, 280px);
  flex: 0 0 clamp(220px, 26vw, 280px);
  position: relative;
  overflow: hidden;
}

.event-highlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.event-highlight--muted {
  background: rgba(17, 19, 27, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 35px rgba(0, 0, 0, 0.3);
}

.events-layout .events-carousel {
  flex: 1;
  min-width: 0;
}
.event-highlight h3 {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  grid-row: 3;
  min-height: 2.4em;
}

.event-highlight__media {
  border-radius: var(--radius-md, 18px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 60%),
    rgba(1, 1, 7, 0.45);
  min-height: 0;
  width: 100%;
  aspect-ratio: var(--flyer-ratio, 210 / 297);
  position: relative;
  justify-self: center;
  height: 100%;
  max-height: 100%;
  grid-row: 4;
}

.event-highlight--portrait .event-highlight__media {
  aspect-ratio: 210 / 297;
}

.event-highlight--landscape .event-highlight__media {
  aspect-ratio: 297 / 210;
}

.event-highlight__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  cursor: grab;
  transition: transform 0.6s ease, filter 0.6s ease;
  user-select: none;
  will-change: transform;
  background: #000;
}

.event-highlight__media img:active {
  cursor: grabbing;
  transform: scale(1.04);
  filter: saturate(1.05);
}

.event-highlight__media::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  animation: framePulse 4s ease-in-out infinite;
}

.event-highlight__media img {
  animation: gentleFloat 12s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.01);
  }
}

@keyframes framePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
  40% {
    box-shadow: 0 0 30px 4px rgba(238, 134, 51, 0.35);
  }
}

.event-highlight__eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.1rem;
  grid-row: 1;
  display: none;
}

.event-highlight__date {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.25rem;
  margin-top: -0.3rem;
  white-space: nowrap;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  grid-row: 2;
}

.event-highlight__meta {
  display: grid;
  grid-template-rows: 22px 22px;
  gap: 0.1rem;
  margin: 0;
  justify-items: center;
  grid-row: 5 / 7;
}

.event-highlight__meta div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.event-highlight__meta dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  display: none;
}

.event-highlight__meta dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  line-height: 1;
}

.event-highlight__cta-row {
  display: flex;
  justify-content: flex-start;
}

.event-highlight__cta {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border 0.2s ease, color 0.2s ease, background 0.2s ease;
  font-size: 0.85rem;
}

.event-highlight__cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(238, 134, 51, 0.12);
}

@media (max-width: 900px) {
  .events-layout {
    flex-direction: column;
  }
  .event-highlight {
    flex-basis: auto;
    width: 100%;
    max-width: 100%;
    padding: 0.9rem 1rem;
    gap: 0.5rem;
  }
  .event-highlight h3 {
    font-size: 1.1rem;
  }
  .event-highlight__eyebrow {
    letter-spacing: 0.14em;
  }
  .event-highlight__media {
    min-height: 140px;
    max-height: 220px;
  }
  .event-highlight__date {
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
  }
}

.team-public {
  text-align: left;
}

.team-public__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.team-public__card {
  background: rgba(16, 18, 26, 0.95);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.team-public__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.8);
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.button--ghost {
  background: transparent;
  border: 1px solid var(--accent);
}

.button--sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 18px 64px minmax(0, 1fr) 22px 22px auto;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.event-card > .event-date {
  order: 1;
  margin-top: -0.2rem;
  grid-row: 1;
}

.event-card > h3 {
  order: 2;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  min-height: 3.2em;
  text-align: center;
  margin-top: -0.1rem;
  grid-row: 2;
}

.event-card > .event-media {
  order: 3;
  grid-row: 3;
}

.event-card > .event-meta {
  order: 4;
  grid-row: 4 / 6;
}

.event-card > .event-headline,
.event-card > .event-description {
  order: 5;
}

.event-card > .event-lineup {
  order: 6;
}

.event-card__hint {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.event-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.event-card__actions .event-card__hint {
  margin: 0;
  flex: 1 1 240px;
}

.event-admin-panel {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.75rem;
}

.event-admin-panel__head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.event-admin-panel__head h4 {
  margin: 0;
  font-size: 1rem;
}

.event-admin-panel__head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.event-card--demo {
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.event-headline {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.45;
  position: relative;
}

.event-frame {
  display: flex;
  justify-content: center;
  margin-top: 0.45rem;
  grid-row: 5;
}

.event-frame-toggle {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 16, 22, 0.65);
  color: rgba(255, 255, 255, 0.88);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.event-frame-toggle:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
  transform: translateY(-1px);
}

.event-card--expanded .event-frame-toggle {
  background: rgba(238, 134, 51, 0.18);
  border-color: rgba(238, 134, 51, 0.65);
}

.event-card--highlight {
  box-shadow: 0 0 0 2px rgba(238, 134, 51, 0.45), 0 24px 45px rgba(0, 0, 0, 0.4);
  animation: cardHighlight 1.1s ease-in-out 1;
}

body.event-overlay-open {
  overflow: hidden;
}

html.artist-gallery-open,
body.artist-gallery-open {
  overflow: hidden;
}

body.artist-gallery-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  touch-action: none;
  overscroll-behavior: contain;
}

.event-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 1.5rem;
  overflow-y: auto;
}

.event-overlay.is-hidden {
  display: none;
}

.event-overlay__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 18, 0.82);
}

.event-overlay__panel {
  position: relative;
  max-width: 920px;
  width: min(960px, 100%);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  padding: 2.75rem 2.25rem;
  display: grid;
  gap: 1.5rem;
  z-index: 1;
}

@media (max-width: 720px) {
  .event-overlay {
    padding: 3rem 1rem;
  }

  .event-overlay__panel {
    padding: 2rem 1.5rem;
  }
}

.event-overlay__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 16, 22, 0.8);
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.event-overlay__close:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.25);
  transform: translateY(-1px);
}

.event-overlay__content {
  display: grid;
  gap: 1.5rem;
}

.event-overlay__image {
  width: 100%;
  border-radius: var(--radius-md);
  max-height: 420px;
  object-fit: cover;
  object-fit: contain;
  background: #000;
}

.event-overlay__header {
  display: grid;
  gap: 0.75rem;
}

.event-overlay__headline {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.5;
}

.event-overlay__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.event-overlay__meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.event-overlay__description {
  white-space: pre-line;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.65;
}

.event-overlay .event-lineup {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.75rem;
  gap: 0.75rem;
}

.event-overlay .event-performers {
  max-height: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.event-overlay .event-performers__item {
  border-left-width: 5px;
}

.event-overlay .event-performers__list {
  gap: 0.6rem;
}

.event-overlay .event-performers__name {
  display: block;
  font-size: 1rem;
}

.event-overlay .event-performers__description {
  display: block;
  line-height: 1.55;
  white-space: pre-line;
}

.event-overlay .event-performers__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.event-overlay__tags {
  margin-top: 0.5rem;
}

.event-overlay__external {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 16, 22, 0.65);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.event-overlay__external:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
  transform: translateY(-1px);
}

.event-overlay__audit {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.event-overlay__audit span {
  display: inline-flex;
  gap: 0.3rem;
  align-items: baseline;
}

.event-overlay__media {
  display: grid;
  gap: 0.75rem;
}

.event-overlay .event-media__item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.event-overlay .event-media__thumb {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  background: #000;
  border-radius: var(--radius-sm);
}

.event-media__link,
.event-archive-gallery__link {
  display: block;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

.media-lightbox.is-hidden {
  display: none;
}

.media-lightbox__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 13, 0.85);
}

.media-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 85vh;
}

.media-lightbox__image {
  display: block;
  max-width: 92vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  background: #000;
}

.media-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 16, 22, 0.85);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

@media (max-width: 600px) {
  .media-lightbox__panel {
    max-width: 94vw;
    max-height: 75vh;
  }

  .media-lightbox__image {
    max-width: 94vw;
    max-height: 75vh;
  }

  .media-lightbox__close {
    top: 8px;
    right: 8px;
  }
}

@keyframes cardHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(238, 134, 51, 0.35);
  }
  60% {
    box-shadow: 0 0 0 10px rgba(238, 134, 51, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(238, 134, 51, 0);
  }
}

.event-day-summary {
  display: none;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
  gap: 0.85rem;
}

.event-day-summary:not(.is-hidden) {
  display: grid;
}

.event-day-summary__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.event-day-summary__title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.event-day-summary__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.day-summary__item {
  background: rgba(18, 20, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  padding-right: calc(64px + 1.15rem);
  display: grid;
  column-gap: 0.75rem;
  gap: 0.4rem;
  position: relative;
}

.day-summary__thumb {
  width: 64px;
  top: 0.35rem;
  bottom: 0.35rem;
  height: auto;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  position: absolute;
  right: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.day-summary__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.day-summary__title {
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.9);
}

.day-summary__meta {
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.day-summary__preview {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.day-summary__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.day-summary__actions button {
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
}

.event-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.event-media__frame {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: var(--flyer-ratio, 210 / 297);
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-media__frame--empty {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.6));
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.event-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.event-card--portrait img {
  aspect-ratio: 210 / 297;
}

.event-card--landscape img {
  aspect-ratio: 297 / 210;
}

.event-card--portrait {
  --flyer-ratio: 210 / 297;
}

.event-card--landscape {
  --flyer-ratio: 297 / 210;
}

.event-highlight--portrait {
  --flyer-ratio: 210 / 297;
}

.event-highlight--landscape {
  --flyer-ratio: 297 / 210;
}

.event-date {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  white-space: nowrap;
}

.event-meta {
  color: var(--muted);
  font-size: 0.9rem;
  display: grid;
  grid-template-rows: 22px 22px;
  gap: 0.1rem;
  align-items: center;
  justify-items: center;
  font-weight: 600;
  grid-row: 4 / 6;
}

.event-card--clickable,
.event-highlight--clickable {
  cursor: pointer;
}

.event-card--archive .event-archive-details {
  display: none;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

.event-card--archive.is-expanded .event-archive-details {
  display: block;
  max-height: 1200px;
  opacity: 1;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.event-card--archive {
  grid-template-rows: 18px 64px minmax(0, 1fr) auto;
}

.event-card--archive .event-meta {
  display: none;
}

.event-card--archive .event-media {
  width: 100%;
  min-height: 0;
}

.event-card--archive .event-media__frame--empty {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.7));
}

.event-archive-details .event-description {
  margin-top: 0.5rem;
}

.event-archive-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.event-archive-gallery img,
.event-archive-gallery video {
  width: 100%;
  border-radius: var(--radius-sm);
  background: #000;
}

.event-archive-gallery audio {
  width: 100%;
}

.event-time,
.event-venue {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  line-height: 1;
}

.event-description {
  margin: 0;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  word-break: break-word;
  transition: max-height 0.25s ease;
}

.event-card .event-headline {
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: calc(1.45em * 2);
  position: relative;
}

.event-card .event-description {
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: calc(1.45em * 2);
  position: relative;
}

.event-card .event-headline::after,
.event-card .event-description::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1.6rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 16, 22, 0) 0%, rgba(15, 16, 22, 0.9) 100%);
}

.event-lineup__preview {
  position: relative;
  line-height: 1.3;
  max-height: calc(1.3em * 2);
  overflow: hidden !important;
  display: block;
  white-space: normal;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.event-lineup__preview::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1.4rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 16, 22, 0) 0%, rgba(15, 16, 22, 0.9) 100%);
}

.event-lineup p {
  position: relative;
  line-height: 1.3;
  max-height: calc(1.3em * 2);
  overflow: hidden !important;
}

.event-lineup p::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1.4rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 16, 22, 0) 0%, rgba(15, 16, 22, 0.9) 100%);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.performer-list {
  display: grid;
  gap: 1rem;
}

.performer-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  display: grid;
  gap: 1rem;
  background: linear-gradient(155deg, rgba(32, 36, 49, 0.9), rgba(18, 20, 28, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.performer-item::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(238, 134, 51, 0.35), rgba(255, 255, 255, 0));
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.performer-item__header,
.performer-item__inputs {
  position: relative;
  z-index: 1;
}

.performer-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.performer-item__title {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.performer-item__hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.03em;
}

.performer-item__group {
  display: grid;
  gap: 0.35rem;
}

.performer-item__group--inline {
  gap: 0.35rem;
}

.performer-item__group--full {
  grid-column: 1 / -1;
}

.performer-item__label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.performer-item input,
.performer-item textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 16, 22, 0.6);
  color: var(--text);
  font: inherit;
}

.performer-item input::placeholder,
.performer-item textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.performer-item input:focus,
.performer-item textarea:focus {
  outline: none;
  border-color: rgba(238, 134, 51, 0.65);
  box-shadow: 0 0 0 2px rgba(238, 134, 51, 0.18);
}

.performer-item__inputs {
  display: grid;
  gap: 0.85rem;
}

.performer-item__inputs > .performer-item__group--inline {
  display: grid;
}

.performer-item__inputs > .performer-item__group--full textarea {
  min-height: 72px;
}

.performer-item__inputs {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .performer-item__inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .performer-item__inputs > .performer-item__group--inline {
    grid-template-columns: 1fr;
  }
}

.performer-item textarea {
  min-height: 60px;
  resize: vertical;
}

.performer-item__remove {
  justify-self: flex-end;
  border-color: rgba(238, 134, 51, 0.45);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(238, 134, 51, 0.08);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.performer-item__remove:hover {
  border-color: rgba(238, 134, 51, 0.8);
  background: rgba(238, 134, 51, 0.18);
  transform: translateY(-1px);
}

.event-lineup {
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.event-lineup__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.event-lineup__preview {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.event-lineup__toggle {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 16, 22, 0.65);
  color: rgba(255, 255, 255, 0.88);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.event-lineup__toggle:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
  transform: translateY(-1px);
}

.event-lineup .event-performers {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
}

.event-lineup.is-open .event-performers {
  max-height: 260px;
  overflow: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  overscroll-behavior: contain;
}

.event-lineup--overlay .event-performers {
  max-height: none;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.event-performers {
  display: grid;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
}

.event-performers h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.event-performers__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.event-performers__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid rgba(238, 134, 51, 0.6);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: grid;
  gap: 0.3rem;
}

.event-performers__name {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.event-performers__description {
  color: var(--muted);
  font-size: 0.95rem;
}

.event-performers__item a {
  font-size: 0.9rem;
  color: var(--accent);
}

.event-performers__link::after {
  content: '↗';
  margin-left: 0.35rem;
  font-size: 0.8rem;
}

.event-performers__item a:hover {
  text-decoration: underline;
}

.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;
}

.hidden {
  display: none !important;
}

.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;
}


.artist-carousel,
.events-carousel,
.archive-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.artist-carousel--static {
  align-items: stretch;
}

.artist-grid,
.event-grid--carousel {
  display: flex;
  gap: clamp(1.25rem, 2vw, 2rem);
  overflow-x: auto;
  flex-wrap: nowrap;
  scroll-snap-type: x proximity;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
  flex: 1;
  align-items: stretch;
}

.artist-grid--names {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem 1.25rem;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
}

.artist-name {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: border 0.2s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.artist-name:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.05);
}

.artist-name:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.events-carousel {
  margin-top: 0.5rem;
  align-items: stretch;
}

.archive-timeline {
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 17, 25, 0.75);
  display: grid;
  gap: 0.75rem;
}

.archive-timeline.is-hidden {
  display: none;
}

.archive-timeline__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.archive-timeline__reset {
  border: none;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.85rem;
}

.archive-timeline__reset:disabled {
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
}

.archive-timeline__scale {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.archive-timeline__scale span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  min-width: 2.5rem;
  text-align: center;
}

.archive-timeline__scale input[type='range'] {
  flex: 1;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.archive-timeline__scale input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.archive-timeline__scale input[type='range']::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

.archive-timeline__value {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.artist-grid::-webkit-scrollbar {
  height: 6px;
}

.artist-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.artist-carousel__nav,
.archive-carousel__nav,
.events-carousel__nav {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 16, 22, 0.65);
  color: rgba(255, 255, 255, 0.9);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.artist-carousel__nav:hover:not(:disabled),
.archive-carousel__nav:hover:not(:disabled),
.events-carousel__nav:hover:not(:disabled) {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
  transform: translateY(-1px);
}

.artist-carousel__nav:disabled,
.archive-carousel__nav:disabled,
.events-carousel__nav:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.artist-carousel.is-scrollable .artist-carousel__nav,
.archive-carousel.is-scrollable .archive-carousel__nav,
.events-carousel.is-scrollable .events-carousel__nav {
  opacity: 1;
  pointer-events: auto;
}

.events-carousel:not(.is-scrollable) .events-carousel__nav {
  display: none;
}

.artist-carousel--static .artist-carousel__nav {
  display: none;
}

.archive-carousel:not(.is-scrollable) .archive-carousel__nav {
  display: none;
}

.archive-carousel:not(.is-scrollable) {
  justify-content: center;
}

.archive-carousel:not(.is-scrollable) .event-grid--carousel {
  justify-content: center;
}

.event-grid--carousel .empty-state {
  flex: 1 1 100%;
  width: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artist-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(145deg, rgba(21, 24, 32, 0.95), rgba(13, 14, 20, 0.9));
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  flex: 0 0 clamp(260px, 45vw, 360px);
  scroll-snap-align: center;
}

.event-grid--carousel .event-card {
  flex: 0 0 clamp(260px, 35vw, 360px);
  scroll-snap-align: start;
}

.event-grid--carousel .event-highlight {
  flex: 0 0 clamp(240px, 32vw, 320px);
  scroll-snap-align: start;
}

.artist-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
}

.artist-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.artist-card__media {
  position: relative;
  height: clamp(280px, 35vw, 420px);
  background-image: var(--artist-image);
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-color: rgba(12, 14, 18, 0.6);
  cursor: pointer;
}

.artist-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0) 30%, rgba(10, 10, 15, 0.8));
}

.artist-card__media--placeholder {
  background: linear-gradient(135deg, rgba(238, 134, 51, 0.35), rgba(15, 16, 22, 0.9));
}

.artist-card__body {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.artist-card__name {
  margin: 0;
  font-size: 1.4rem;
  text-align: center;
}

.artist-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  width: fit-content;
  margin: 0 auto;
}

.artist-card__excerpt {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  min-height: 3.5rem;
  text-align: justify;
  text-align-last: center;
  margin-left: auto;
  margin-right: auto;
}

.artist-gallery {
  border: none;
  border-radius: var(--radius-lg);
  background: transparent;
  color: #fff;
  padding: 0;
  margin: auto;
  width: 100%;
  max-width: 100%;
}

.artist-gallery[open] {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.75rem);
  z-index: 6000;
}

.artist-gallery::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.artist-gallery__frame {
  background: rgba(8, 9, 13, 0.97);
  border-radius: var(--radius-lg);
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  position: relative;
  width: 100%;
  max-width: min(1080px, 94vw);
  max-height: min(92vh, 900px);
  height: min(86vh, 760px);
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.55);
}

.artist-gallery__media {
  position: relative;
  min-height: clamp(240px, 38vh, 520px);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), rgba(6, 6, 10, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.artist-gallery__photo {
  --artist-gallery-scale: 1;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  display: none;
  transform: none !important;
  transition: transform 0.25s ease;
  cursor: zoom-in;
}

.artist-gallery__media:not(.artist-gallery__media--placeholder) .artist-gallery__photo {
  display: block;
}

.artist-gallery__media.is-zoomed .artist-gallery__photo {
  transform: scale(1.5) !important;
  cursor: zoom-out;
}

.artist-gallery__media::after {
  content: none;
}

.artist-gallery__media--placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 10, 0.1), rgba(6, 6, 10, 0.85));
}

.artist-gallery__media--placeholder {
  background-image: linear-gradient(135deg, rgba(238, 134, 51, 0.4), rgba(10, 10, 15, 0.95));
}

.artist-gallery__info {
  padding: clamp(1.5rem, 2vw, 2.75rem);
  display: grid;
  gap: 1.2rem;
  text-align: center;
  overflow-y: auto;
}

@media (min-width: 900px) {
  .artist-gallery__frame {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: min(80vh, 720px);
  }
  .artist-gallery__media {
    min-height: auto;
  }
  .artist-gallery__info {
    justify-content: center;
  }
}

@media (max-width: 899px) {
  .artist-gallery__frame {
    height: min(88vh, 820px);
    grid-template-rows: auto 1fr;
  }
  .artist-gallery__media {
    min-height: auto;
    height: 45vh;
    max-height: 45vh;
  }
}

.artist-gallery__head {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.artist-gallery__head h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  width: 100%;
}

.artist-gallery__tag {
  position: relative;
  display: inline-flex;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  z-index: 1;
  justify-content: center;
  margin: 0 auto;
}

.artist-gallery__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 4;
}

.artist-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.artist-gallery__nav:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.2);
  transform: translateY(-50%) scale(1.05);
}

.artist-gallery__nav--prev {
  left: 1.25rem;
}

.artist-gallery__nav--next {
  right: 1.25rem;
}

.artist-gallery__bio {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.artist-gallery__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.artist-gallery__links a {
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  transition: border 0.2s ease, background 0.2s ease;
}

.artist-gallery__links a:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.14);
}

.team-card__grid {
  display: block;
}

.team-section h4 {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.team-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
}

.password-field input {
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.password-input--weak {
  border-color: #ee8633 !important;
  box-shadow: 0 0 0 1px rgba(238, 134, 51, 0.35);
}

.password-input--medium {
  border-color: #f3c969 !important;
  box-shadow: 0 0 0 1px rgba(243, 201, 105, 0.35);
}

.password-input--strong {
  border-color: #6bdc82 !important;
  box-shadow: 0 0 0 1px rgba(107, 220, 130, 0.4);
}

.password-toggle {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 16, 22, 0.7);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.password-toggle:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
  transform: translateY(-1px);
}

.password-icon {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .password-icon--slash {
  display: none;
}

.password-toggle.is-visible .password-icon--eye {
  display: none;
}

.password-toggle.is-visible .password-icon--slash {
  display: inline;
}

.password-strength {
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.password-strength--weak {
  color: #ff8a8a;
}

.password-strength--medium {
  color: #f3c969;
}

.password-strength--strong {
  color: #8de5a1;
}

.team-table-wrapper {
  overflow-x: auto;
}

.team-card-entry-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-card-entry {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem 1.25rem;
  transition: border 0.2s ease, background 0.2s ease;
}

.team-card-entry.is-expanded {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.08);
}

.team-card-entry__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.team-card-entry__name {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.team-card-entry__name:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.team-card-entry__name h5 {
  margin: 0;
  font-size: 1rem;
}

.team-card-entry__email {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.team-card-entry__edit {
  margin-right: auto;
}

.team-card-entry__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}

.team-card-entry__details {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.team-card-entry__details dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem 1rem;
}

.team-card-entry__details dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.team-card-entry__details dd {
  margin: 0;
  font-weight: 600;
}

.team-card-entry__extra-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.team-add-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4.5rem 1.5rem 2.5rem;
  background: rgba(10, 11, 15, 0.78);
  z-index: 1300;
  overflow-y: auto;
}

.team-add-wrapper .team-form {
  width: min(520px, 92vw);
  background: rgba(14, 16, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.team-add-wrapper select[multiple] {
  min-height: 8rem;
}

.team-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.team-row {
  cursor: pointer;
}

.team-row.is-expanded {
  background: rgba(255, 255, 255, 0.03);
}

.team-detail-row {
  background: rgba(255, 255, 255, 0.02);
}

.team-detail-row.is-hidden {
  display: none;
}

.team-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.team-detail dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
}

.team-detail dd {
  margin: 0;
  font-weight: 600;
}

.team-table th,
.team-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.team-row__primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.team-row__name {
  font-weight: 600;
}

.team-row__hint {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.team-row__hint::after {
  content: '›';
  transition: transform 0.2s ease;
}

.team-row.is-expanded .team-row__hint::after {
  transform: rotate(90deg);
}

.planner-modal {
  position: fixed;
  inset: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 4700;
}

.planner-modal.is-hidden {
  display: none;
}

.planner-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 12, 0.85);
}

.planner-modal__panel {
  position: relative;
  z-index: 1;
  width: min(860px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.5rem;
  overscroll-behavior: contain;
}

.planner-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.planner-modal__close {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease;
}

.planner-modal__close:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
}

.planner-modal__subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

body.planner-open,
html.planner-open {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.team-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.team-role {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.team-role--team_admin {
  border-color: rgba(238, 134, 51, 0.7);
  background: rgba(238, 134, 51, 0.2);
  color: rgba(255, 206, 150, 0.95);
}

.team-role--board {
  border-color: rgba(101, 212, 170, 0.75);
  background: rgba(101, 212, 170, 0.2);
  color: rgba(203, 247, 231, 0.95);
}

.team-role--events {
  border-color: rgba(88, 140, 255, 0.7);
  background: rgba(88, 140, 255, 0.2);
  color: rgba(201, 219, 255, 0.95);
}

.team-table tbody tr:last-child td {
  border-bottom: none;
}

.team-table button {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 16, 22, 0.7);
  color: rgba(255, 255, 255, 0.88);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.team-table button + button {
  margin-left: 0.5rem;
}

.team-table button:hover {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
  transform: translateY(-1px);
}

.team-empty {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.team-form {
  display: grid;
  gap: 0.75rem;
}

.team-form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.team-form textarea,
.team-form input {
  width: 100%;
}

.team-roles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-align: left;
}

.team-roles label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  width: 100%;
}

.team-roles input {
  margin: 0;
  width: auto;
  flex: 0 0 auto;
}

.team-roles legend {
  padding: 0 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}

.team-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.audit-log {
  margin-top: 1rem;
}

.audit-log__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.audit-entry {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.audit-entry:last-child {
  border-bottom: none;
}

.audit-entry__title {
  font-weight: 600;
}

.audit-entry__meta {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.app-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(90vw, 460px);
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 90vh;
  overflow: auto;
  background: rgba(10, 11, 15, 0.97);
  color: #fff;
}

dialog {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

dialog:not([open]) {
  display: none !important;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  visibility: hidden;
}

dialog[open] {
  display: block;
}

.app-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.app-dialog__body {
  display: grid;
  gap: 0.75rem;
  padding: 2rem;
}

.app-dialog__body h3 {
  margin: 0;
}

.dialog-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dialog-hint {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.contact-dialog__body {
  text-align: center;
}

.contact-dialog__options {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.contact-dialog__options .button {
  width: 100%;
}

.contact-dialog__body .dialog-actions {
  justify-content: center;
}

.twofactor-secret {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.twofactor-secret input {
  flex: 1;
}

.link-button {
  margin-top: 0.5rem;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: 60vh;
  }
  .hero__content {
    padding: 1.5rem;
  }
  .section {
    padding: 3rem 0;
  }
  .dashboard__grid {
    grid-template-columns: 1fr;
  }
  .language-widget {
    left: 0.75rem;
    top: 0.75rem;
    gap: 0.4rem;
  }
  .language-widget__label {
    display: none;
  }
  .team-card__grid {
    display: block;
  }
  .team-card-entry__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .team-card-entry__roles {
    justify-content: flex-start;
    width: 100%;
  }
  .team-card-entry__extra-actions {
    width: 100%;
  }
  .artist-card__media {
    height: 200px;
  }
}

@media (min-width: 960px) {
  .artist-gallery__frame {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  }
  .artist-gallery__media {
    min-height: 100%;
  }
  .artist-gallery__info {
    text-align: left;
    align-content: center;
  }
  .artist-gallery__head {
    align-items: flex-start;
    text-align: left;
  }
  .artist-gallery__head h3 {
    text-align: left;
  }
  .artist-gallery__bio {
    text-align: left;
  }
  .artist-gallery__links {
    justify-content: flex-start;
  }
  .artist-gallery__nav--prev {
    left: -2.25rem;
  }
  .artist-gallery__nav--next {
    right: -2.25rem;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(95vw, 640px);
  }
  .event-grid--carousel .event-card {
    flex-basis: 85vw;
  }
  .artist-card__media {
    height: 180px;
  }
  .artist-gallery__info {
    padding: 1.5rem;
  }
  .artist-gallery__nav {
    width: 40px;
    height: 40px;
  }
  .artist-gallery__nav--prev {
    left: 0.75rem;
  }
  .artist-gallery__nav--next {
    right: 0.75rem;
  }
  .footer__copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .team-table thead {
    display: none;
  }
  .team-table tbody tr {
    display: grid;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 0.5rem;
  }
  .team-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: none;
  }
  .team-detail-row {
    padding: 0;
  }
  .team-detail-row td {
    padding: 0.5rem;
  }
  .team-detail-row td::before {
    content: none;
  }
  .team-detail {
    grid-template-columns: 1fr;
  }
  .team-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
  }
  .team-table button {
    width: 100%;
    justify-content: center;
  }
  .footer {
    padding: 2rem 0;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .section {
    padding: 2.25rem 0;
  }
  .team-form {
    gap: 0.6rem;
  }
  .artist-gallery__info,
  .app-dialog__body {
    padding: 1.5rem;
  }
}

.auth-panel {
  max-width: 420px;
}

.dashboard.hidden,
.auth-panel.hidden {
  display: none;
}

.dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.dashboard__actions {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dashboard-nav {
  display: inline-flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.dashboard-nav__button {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 16, 22, 0.8);
  color: var(--text);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dashboard-nav__button:hover {
  border-color: var(--accent);
}

.dashboard-nav__button.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.dashboard-nav__button.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dashboard-nav__button:disabled {
  cursor: not-allowed;
}

.dashboard-nav__button.is-disabled:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.dashboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.dashboard-card--archive {
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.dashboard-card--archive input:disabled,
.dashboard-card--archive textarea:disabled,
.dashboard-card--archive select:disabled,
.dashboard-card--archive label {
  color: var(--muted);
}

form {
  display: grid;
  gap: 0.75rem;
}

input,
textarea,
select {
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 16, 22, 0.8);
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid var(--accent);
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-feedback {
  min-height: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.save-dialog__body {
  text-align: center;
}

.save-dialog__body .dialog-actions {
  justify-content: center;
}

.save-dialog__message {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.save-dialog__message span {
  display: block;
  margin-top: 0.35rem;
}

.save-dialog__password {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(238, 134, 51, 0.16);
  border: 1px solid rgba(238, 134, 51, 0.5);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.item-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.item-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.item-list button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: inherit;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}

.item-list li.item-list__group-label {
  display: block;
  padding: 0;
  background: transparent;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  border-radius: 0;
}

.item-list li.item-list__group-label + li {
  margin-top: 0;
}

.item-list li.item-list__group-label--past {
  color: var(--accent);
}

.item-list button:hover {
  border-color: var(--accent);
}

.empty-state {
  background: rgba(0, 0, 0, 0.15);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

.calendar-link {
  font-size: 0.95rem;
  color: var(--muted);
}

.footer {
  background: #0a0b0f;
  text-align: center;
  padding: 2.75rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.footer__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 520px;
}

.footer__copy > p {
  margin: 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition: border 0.2s ease, color 0.2s ease, background 0.2s ease;
  text-align: center;
  min-width: 0;
  flex: 1 1 160px;
  max-width: 220px;
}

.footer__links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.12);
}

.footer-admin {
  background: rgba(17, 19, 27, 0.75);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  width: min(360px, 80vw);
}

.footer-admin summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.footer-admin summary::-webkit-details-marker {
  display: none;
}

.footer-admin__body {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.footer-admin .card {
  background: rgba(15, 16, 22, 0.85);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: none;
}

.footer-admin .dashboard__grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.footer-admin .card h3 {
  margin-top: 0;
}

.footer-admin .item-list li {
  font-size: 0.85rem;
}

.admin-only {
  display: none;
}

body.admin-mode .admin-only {
  display: block;
}

.item-controls {
  display: inline-flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
}

.item-controls .button {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  height: 100%;
}

.item-info--event {
  flex-direction: row;
  align-items: stretch;
  gap: 0.6rem;
}

.item-info__thumb {
  width: 56px;
  height: calc(100% + 1.3rem);
  margin: -0.65rem 0;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.item-info__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.item-info__thumb.is-empty {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.item-info__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-self: center;
}

.item-info__title {
  font-weight: 600;
}

.item-info__meta {
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.is-hidden {
  display: none !important;
}

.media-list {
  display: grid;
  gap: 0.75rem;
}

#event-details.is-archive [data-media-block] {
  border: 1px solid rgba(238, 134, 51, 0.35);
  background: rgba(238, 134, 51, 0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

#event-details.is-archive [data-media-block] > label {
  color: var(--accent);
  font-weight: 600;
}

#event-details.is-archive [data-media-block] .media-placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.file-input {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.file-input input[type='file'] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-input__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 600;
}

.file-input__label::before {
  content: '＋';
  font-size: 1rem;
  line-height: 1;
  color: var(--accent);
}

.file-input:hover .file-input__label,
.file-input:focus-within .file-input__label {
  border-color: var(--accent);
  background: rgba(238, 134, 51, 0.18);
}

.media-placeholder {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.media-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
}

.media-item__preview {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.media-item__label {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.media-item__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.media-item__controls {
  display: flex;
  gap: 0.5rem;
}

.media-item button {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  font-size: 0.75rem;
}

.media-item button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.media-item--removed {
  opacity: 0.45;
}

.event-media {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.event-media__item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.event-media__item img,
.event-media__item video {
  width: 100%;
  border-radius: var(--radius-sm);
}

.event-media__item audio {
  width: 100%;
}

.event-media__meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.calendar-heading {
  text-align: center;
  flex: 1;
}

.calendar-heading h3 {
  margin: 0;
  font-size: 1.4rem;
}

.calendar-note {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.calendar-nav {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.calendar-nav:hover {
  background: var(--accent);
}

.calendar-view-toggle {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
  flex-wrap: wrap;
}

.calendar-view-toggle__btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.calendar-view-toggle__btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1a1a;
  font-weight: 600;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  grid-auto-rows: minmax(90px, auto);
}

.calendar-grid.is-compact {
  gap: 0.25rem;
  grid-auto-rows: minmax(32px, auto);
}

.calendar-grid.is-compact .calendar-day {
  min-height: 28px;
  font-size: 0.55rem;
  padding: 0.18rem;
  gap: 0.15rem;
}

.calendar-grid.is-compact .calendar-day__date {
  font-size: 0.65rem;
  line-height: 1;
}

.calendar-grid.is-compact .calendar-day__events {
  display: none;
}

.calendar-grid.is-compact .calendar-day__dots {
  display: flex;
}

.calendar-grid.is-week-view {
  grid-template-rows: auto 1fr;
}

.calendar-grid.is-week-view .calendar-day:not(.calendar-day--header) {
  min-height: 60vh;
}

.calendar-grid.is-week-view .calendar-day__events {
  gap: 0.4rem;
}

.calendar-day {
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  background: transparent;
  min-height: 70px;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  align-items: center;
}

.calendar-day--clickable {
  cursor: pointer;
  transition: background 0.2s ease;
}

.calendar-day--clickable:hover {
  background: rgba(255, 255, 255, 0.03);
}

.calendar-day--header {
  background: transparent;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--muted);
  min-height: auto;
  padding: 0;
  justify-content: center;
  text-align: center;
  padding-bottom: 0.5rem;
  border-top: none;
}

.calendar-day--muted {
  opacity: 0.25;
}

.calendar-day--today {
  /* Apple style: Today is not a border, but the number is highlighted. Handled in __date */
}

.calendar-day--selected {
  background: rgba(255, 255, 255, 0.06);
}

.calendar-day__date {
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin: 0 auto;
}

.calendar-day--today .calendar-day__date {
  background: var(--accent);
  color: #1a1a1a;
}

.calendar-day--selected .calendar-day__date {
  background: #fff;
  color: #000;
}

.calendar-day__events {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.calendar-day__dots {
  display: none;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.calendar-day__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.calendar-day--selected .calendar-day__dot {
  background: rgba(255, 255, 255, 0.8);
}

.calendar-day__dot--galery {
  background: #ee8633;
}

.calendar-day__dot--rampe {
  background: #4ecdc4;
}

.calendar-day__dot--soundlabor {
  background: #5e81f4;
}

.calendar-day__dot--segment {
  background: #ffd66e;
}

.calendar-day__dot--hof {
  background: #66ffa3;
}

.calendar-day__dot--gartenbuehne {
  background: #ff6f91;
}

.calendar-day__dot--internal {
  background: #d3c7ff;
}

.calendar-mobile-day-list {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: transparent;
}

#calendar-card.is-compact-calendar .calendar-mobile-day-list {
  display: block;
}

.calendar-mobile-day-list__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.calendar-mobile-day-list__label {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.calendar-mobile-day-list__date {
  margin: 0;
  font-weight: 600;
}

.calendar-mobile-day-list__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calendar-mobile-day-list__empty {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.calendar-mobile-event {
  display: grid;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-mobile-event__image {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.calendar-mobile-event__primary {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

.calendar-mobile-event__primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.calendar-mobile-event__content {
  flex: 1;
  min-width: 0;
}

.calendar-mobile-event__title {
  display: block;
  font-weight: 600;
}

.calendar-mobile-event__meta {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.2rem;
}

.calendar-mobile-event__edit {
  flex: 0 0 auto;
}

.calendar-event {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.calendar-event__title {
  font-weight: 600;
  color: var(--text);
}

.calendar-event__meta {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 500;
}

.calendar-event[data-venue='galery'] {
  background: rgba(238, 134, 51, 0.18);
  border-left: 2px solid #ee8633;
}

.calendar-event[data-venue='rampe'] {
  background: rgba(78, 205, 196, 0.18);
  border-left: 2px solid #4ecdc4;
}

.calendar-event[data-venue='soundlabor'] {
  background: rgba(94, 129, 244, 0.18);
  border-left: 2px solid #5e81f4;
}

.calendar-event[data-venue='segment'] {
  background: rgba(255, 214, 110, 0.18);
  border-left: 2px solid #ffd66e;
}

.calendar-event[data-venue='hof'] {
  background: rgba(102, 255, 163, 0.18);
  border-left: 2px solid #66ffa3;
}

.calendar-event[data-venue='gartenbuehne'] {
  background: rgba(255, 111, 145, 0.18);
  border-left: 2px solid #ff6f91;
}

.calendar-event__more {
  color: var(--muted);
  font-size: 0.7rem;
}

.calendar-internal {
  font-size: 0.75rem;
  color: #d3c7ff;
  padding: 0.1rem 0;
}

.calendar-footer {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.calendar-subscribe {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 0.5rem;
}

.calendar-subscribe__label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.calendar-subscribe__row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.calendar-subscribe__row input {
  flex: 1;
  min-width: 220px;
}

.calendar-copy {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
}

.calendar-copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.calendar-subscribe__hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.calendar-today {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
}

.calendar-today:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.calendar-legend {
  font-size: 0.75rem;
  color: var(--muted);
}

.calendar-legend-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.calendar-legend-item {
  font-size: 0.8rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
}

.calendar-legend-item--galery {
  border-color: #ee8633;
}

.calendar-legend-item--rampe {
  border-color: #4ecdc4;
}

.calendar-legend-item--soundlabor {
  border-color: #5e81f4;
}

.calendar-legend-item--segment {
  border-color: #ffd66e;
}

.calendar-legend-item--hof {
  border-color: #66ffa3;
}

.calendar-legend-item--gartenbuehne {
  border-color: #ff6f91;
}

body.admin-mode {
  overflow: hidden;
}

body.team-add-open {
  overflow: hidden;
}

body.admin-mode .hero,
body.admin-mode .section:not(.admin-access),
body.admin-mode .auth-panel {
  pointer-events: none;
}

body.admin-mode .admin-access {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 15, 0.96);
  z-index: 1200;
  padding: 4rem 0 3rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
}

body.admin-mode .admin-access,
body.admin-mode .admin-shell,
body.admin-mode .admin-shell__panel {
  pointer-events: auto;
}

body.admin-mode .admin-shell {
  width: min(1200px, 92vw);
}

body.admin-mode .admin-shell__panel {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(17, 19, 27, 0.95);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

body.admin-mode .dashboard__grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

body.admin-mode .dashboard-card {
  height: 100%;
}

@media (max-width: 600px) {
  body:not(.page-intern) .container {
    width: 100%;
    padding: 0 1.25rem;
    box-sizing: border-box;
  }

  body:not(.page-intern) {
    overflow-x: hidden;
  }

  body:not(.page-intern) .hero__content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section--tight {
    padding: 1.75rem 0;
  }

  .hero {
    min-height: 52vh;
  }

  body:not(.page-intern) .hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  body:not(.page-intern) .hero__actions .button {
    min-width: 0;
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
  }

  .hero.hero--intern {
    text-align: left;
  }

  .hero.hero--intern .hero__content {
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0.75rem;
  }

  .hero.hero--intern h1 {
    font-size: clamp(2.1rem, 7vw, 3.1rem);
    letter-spacing: 1px;
  }

  .hero.hero--intern p {
    font-size: 1rem;
  }

  .hero.hero--intern .hero__badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero.hero--intern .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
  }

  .hero.hero--intern .hero__actions .button {
    width: 100%;
    text-align: center;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 1.75rem 0;
  }

  .events-layout {
    margin-top: 1rem;
  }

  .event-grid--carousel .empty-state,
  .artist-grid .empty-state {
    min-height: 120px;
  }

  #archive.section {
    padding-top: 1.5rem;
    padding-bottom: 0.4rem;
  }

  #archive .archive-intro {
    margin-bottom: 0.85rem;
  }

  #archive .event-grid--carousel {
    padding-bottom: 0;
  }

  #archive.archive-empty {
    padding-bottom: 0.2rem;
  }

  #archive.archive-empty .event-grid--carousel .empty-state {
    min-height: 96px;
    padding: 0.75rem 0.9rem;
  }

  .footer {
    padding: 1.5rem 0;
  }

  .footer__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .footer__legacy,
  .footer-admin {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .login-popover {
    position: relative;
    top: 0.5rem;
    left: 0;
    transform: none;
    width: 100%;
  }

  .hero__badges {
    justify-content: flex-start;
  }

  .intern-security {
    flex-direction: column;
    align-items: flex-start;
  }

  #calendar-card:not(.is-compact-calendar) .calendar-day {
    min-height: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem;
  }

  .calendar-header {
    flex-direction: column;
  }

  .calendar-heading {
    width: 100%;
  }

  .calendar-view-toggle {
    justify-content: space-between;
  }

  .calendar-legend-bar {
    flex-wrap: wrap;
  }

  .calendar-nav {
    width: 2.2rem;
    height: 2.2rem;
  }

  .intern-intro,
  .intern-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .intern-card {
    padding: 1.25rem;
  }

  .intern-stats {
    grid-template-columns: 1fr;
  }

  .admin-shell__panel {
    width: 100%;
    padding: 1.25rem;
  }

  .dashboard__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .dashboard__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-nav__button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .dashboard__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card,
  .dashboard-card,
  .dashboard-card .card {
    padding: 1.25rem;
  }

  body.admin-mode .admin-access {
    padding: 1.5rem 0.75rem 1.75rem;
  }

  body.admin-mode .admin-shell {
    width: 100%;
  }

  body.admin-mode .admin-shell__panel {
    border-radius: var(--radius-sm);
  }

  .calendar-subscribe__row {
    flex-direction: column;
  }

  .calendar-copy {
    width: 100%;
  }

  .event-preview__handle {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .events-layout {
    margin-top: 1rem;
  }

  .event-highlight {
    border-radius: var(--radius-md);
  }

  .event-highlight__media {
    min-height: 120px;
  }

  .event-highlight__meta {
    gap: 0.5rem;
  }

  .event-highlight__meta div {
    flex: 1 1 100%;
  }

  .events-carousel,
  .archive-carousel {
    width: 100%;
    gap: 0;
    display: flex;
  }

  .events-carousel__nav,
  .archive-carousel__nav {
    display: none;
  }

  .event-grid--carousel {
    width: 100%;
    max-width: 100%;
    padding: 0.25rem 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0;
  }

  .event-grid--carousel .event-card,
  .event-grid--carousel .event-highlight {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: center;
  }

  #archive .event-grid--carousel {
    align-items: flex-start;
  }

  #archive.section {
    padding-bottom: 0.75rem;
  }

  #archive .archive-carousel {
    margin-bottom: 0;
  }

  #archive .event-grid--carousel {
    padding-bottom: 0;
    min-height: 0;
  }


  .artist-grid {
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1.25rem;
  }

  .artist-card {
    scroll-snap-align: center;
  }

  .artist-card__media {
    height: clamp(200px, 55vw, 280px);
  }

  .time-select-group {
    display: none;
  }

}

@media (max-width: 768px) {
  .item-list li {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .item-info--event {
    display: flex;
  }

  .item-controls {
    justify-content: center;
    width: 100%;
  }

  .item-controls .button {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }

  .item-list li {
    padding: 0.65rem 0.8rem;
  }

  .calendar-header {
    display: grid;
    grid-template-columns: 2.25rem 1fr 2.25rem;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
  }

  .calendar-heading {
    width: 100%;
    text-align: center;
  }

  .calendar-note {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-top: 0.25rem;
  }

  .calendar-heading h3 {
    font-size: 1.2rem;
  }

  .calendar-nav {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.2rem;
  }

  #calendar-card .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
  }

  /* Remove the old rule to avoid conflicts */
  #calendar-card .calendar-grid.is-week-view {
    display: grid; /* Reset to grid default if needed, but overridden below */
  }

  #calendar-card .calendar-view-toggle {
    justify-content: center;
    gap: 0.35rem;
  }

  .calendar-mobile-day-list {
    padding: 0;
    margin-top: 0.85rem;
  }

  .calendar-mobile-event__primary {
    padding: 0.5rem 0.65rem;
  }

  .calendar-grid.is-week-view .calendar-day:not(.calendar-day--header) {
    min-height: 72px;
  }

  .calendar-view-toggle__btn {
    flex: 1 0 auto;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .calendar-grid.is-week-view .calendar-day--header {
    display: none;
  }
  #calendar-card .calendar-grid.is-week-view {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .calendar-grid.is-week-view .calendar-day:not(.calendar-day--header) {
    min-height: 72px;
  }
}

.datetime-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: rgba(30, 30, 35, 0.6);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.event-datetime {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  padding: 0.8rem;
  margin: 0.75rem 0 1rem;
  border-radius: 14px;
  background: rgba(18, 20, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.event-datetime__field {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}


.event-datetime__field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
}

.event-datetime__field input[type='date'],
.event-datetime__field input[type='time'] {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.2rem 0;
}

.time-select-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.time-select {
  width: 72px;
  font-size: 0.85rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 16, 22, 0.7);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.time-select-sep {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.event-datetime__field input[type='date']:focus,
.event-datetime__field input[type='time']:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.datetime-wrapper .form-row {
  width: 100%;
  gap: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  min-height: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.datetime-wrapper .form-row:last-child {
  border-bottom: none;
}

.datetime-wrapper .form-label {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
  margin: 0;
  flex: 0 0 auto;
}

.datetime-wrapper input[type="date"],
.datetime-wrapper input[type="time"] {
  font-size: 1rem;
  padding: 0;
  background: transparent;
  border: none;
  text-align: right;
  color: #fff;
  font-weight: 500;
  opacity: 0.9;
  cursor: pointer;
  flex: 1;
  font-family: inherit;
}

.datetime-wrapper input:focus {
  outline: none;
  box-shadow: none;
}

.datetime-hint {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
  padding: 0 0.25rem;
}

.form-block--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.form-row {
  display: grid;
  gap: 0.5rem;
}

.form-block {
  display: grid;
  gap: 0.5rem;
}

.artist-form--assign-only input[readonly],
.artist-form--assign-only textarea[readonly] {
  background: rgba(255, 255, 255, 0.04);
  cursor: not-allowed;
}

.artist-preview,
.event-preview {
  display: grid;
  gap: 0.35rem;
  max-width: 320px;
  margin: 0 auto 1.5rem;
  width: 100%;
  justify-self: center;
  align-self: center;
}

.artist-preview__frame,
.event-preview__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  background: rgba(8, 9, 13, 0.85);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border 0.2s ease, background 0.2s ease;
  touch-action: none;
  --artist-preview-x: 50;
  --artist-preview-y: 50;
  --artist-preview-scale: 1;
  --event-preview-x: 50;
  --event-preview-y: 50;
  --event-preview-scale: 1;
}

.artist-preview__frame {
  touch-action: auto;
  cursor: zoom-in;
}

.artist-preview__frame::after,
.event-preview__frame::after {
  content: '';
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius-md) - 4px);
  pointer-events: none;
  opacity: 0.6;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.artist-preview__frame.has-image,
.event-preview__frame.has-image {
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(6, 6, 10, 0.95);
  cursor: grab;
}

.artist-preview__frame.has-image {
  cursor: zoom-in;
}

.artist-preview__frame.is-dragging,
.event-preview__frame.is-dragging {
  cursor: grabbing;
}


.artist-preview__image,
.event-preview__image {
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: none;
  background-repeat: no-repeat;
  background-color: #000;
}

.artist-preview__image {
  object-position: var(--artist-preview-x, 50)% var(--artist-preview-y, 50)%;
  transform: scale(var(--artist-preview-scale, 1));
  object-fit: cover;
  transform-origin: center;
  transition: transform 0.15s ease;
}

.artist-preview__frame.is-dragging .artist-preview__image {
  transition: none;
}

.event-preview__image {
  object-position: var(--event-preview-x, 50)% var(--event-preview-y, 50)%;
  object-fit: cover;
  transform: scale(var(--event-preview-scale, 1));
  transform-origin: center;
  transition: transform 0.2s ease;
}

.event-preview__frame.is-vertical-fit .event-preview__image {
  object-fit: contain;
}

.artist-preview__frame.has-image .artist-preview__image,
.event-preview__frame.has-image .event-preview__image {
  display: block;
}

.artist-preview__frame.has-image .artist-preview__placeholder,
.event-preview__frame.has-image .event-preview__placeholder {
  display: none;
}

.artist-preview__placeholder,
.event-preview__placeholder {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 0 1rem;
}

.artist-preview__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.artist-form-toggle {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 1rem;
}

.artist-preview__hint,
.event-preview__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.artist-preview__reset,
.event-preview__reset {
  margin-left: auto;
}

.event-preview__handle {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  font-size: 0.8rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: nwse-resize;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.2s ease;
  z-index: 10;
  touch-action: none;
}

.event-preview__zoom {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.event-preview__zoom input[type='range'] {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.event-preview__zoom input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.event-preview__zoom input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

.event-preview__frame.has-image .event-preview__handle {
  opacity: 1;
  pointer-events: auto;
}

.artist-preview.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.artist-crop-dialog {
  border: none;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: 100%;
}

.artist-crop-dialog::backdrop {
  background: rgba(8, 9, 13, 0.85);
}

.artist-crop-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.artist-crop-dialog__panel {
  display: grid;
  gap: 0.75rem;
  background: rgba(12, 14, 20, 0.95);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  width: min(680px, 92vw);
  margin: 0 auto;
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.55);
}

.artist-crop-dialog__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0a0b0f;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  cursor: grab;
}

.artist-crop-dialog__frame::after {
  content: '';
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(238, 134, 51, 0.6);
  border-radius: calc(var(--radius-md) - 4px);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.artist-crop-dialog__frame:active {
  cursor: grabbing;
}

.artist-crop-dialog__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--artist-preview-x, 50%) var(--artist-preview-y, 50%);
  transform: scale(var(--artist-preview-scale, 1));
  transform-origin: center;
}

.artist-crop-dialog__placeholder {
  position: absolute;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 0 1rem;
}

.artist-crop-dialog__actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.event-preview__frame {
  aspect-ratio: 16 / 9; /* Events usually landscape */
  max-width: 100%;
}

.event-preview__controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.artist-admin-note {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.visibility-hint {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.intern-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
  text-align: left;
}

.intern-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.intern-checklist li::before {
  content: '•';
  margin-right: 0.5rem;
  color: var(--accent);
}

.intern-stats {
  display: grid;
  gap: 0.75rem;
}

.intern-stat {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(15, 16, 22, 0.65);
  display: grid;
  gap: 0.15rem;
}

.intern-stat__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.intern-stat__value {
  font-size: 1rem;
  font-weight: 600;
}

.intern-stat__link {
  color: var(--accent);
  font-weight: 600;
}

.intern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  text-align: left;
}

.intern-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(16, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.intern-card--accent {
  background: linear-gradient(130deg, rgba(238, 134, 51, 0.25), rgba(18, 19, 27, 0.9));
  border-color: rgba(238, 134, 51, 0.4);
}

.intern-card__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.25rem;
}

.intern-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.intern-card__list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.intern-card__list--inline li {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
}

.intern-card__cta {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.intern-security {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 13, 19, 0.9);
  text-align: left;
}

.intern-security__icon {
  font-size: 2rem;
}

.admin-shell {
  position: relative;
  display: flex;
  justify-content: center;
}

.admin-shell__panel {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.admin-access.is-hidden {
  display: none;
}
.event-card > .event-archive-details {
  grid-row: 6;
  width: 100%;
}
