/* =====================================================
   FESTIVAL TODAY GUIDE
   Reusable mobile-first app-style guide
===================================================== */

/* =====================================================
   01. PAGE VARIABLES / BASE
===================================================== */

.single-festival-today {
  --today-admin-offset: 0px;
  --today-quick-nav-height: 48px;
  --today-card-radius: 20px;
  --today-panel-radius: 24px;
  --today-border: 1px solid rgba(42, 0, 115, 0.08);

  color: var(--color-text);
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}

.admin-bar .single-festival-today {
  --today-admin-offset: 32px;
}

.single-festival-today [hidden] {
  display: none !important;
}

.single-festival-today .content-wrapper {
  max-width: 980px;
}

.single-festival-today .section {
  padding: var(--space-4) var(--space-3);
  scroll-margin-top: calc(var(--today-admin-offset) + var(--today-quick-nav-height) + 74px);
}

.single-festival-today .section-eyebrow {
  display: inline-flex;
  margin-bottom: var(--space-1);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  justify-content: center;
}

.single-festival-today .header-title {
  margin-bottom: var(--space-2);
}

/* =====================================================
   02. APP HEADER
===================================================== */

.today-app-header {
  position: relative;
  z-index: 40;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  min-height: 58px;
  padding: 12px var(--space-3);

  background: rgba(255, 255, 255, 0.96);
  border-bottom: var(--today-border);
  backdrop-filter: blur(12px);
}

.today-app-header__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  width: fit-content;

  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.today-app-header__back i {
  font-size: 0.75rem;
}

.today-app-header__title {
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

/* =====================================================
   03. HERO
===================================================== */

.today-hero {
  position: relative;
  overflow: hidden;
  background: var(--salsa-gradient-6);
  color: #fff;
}

.today-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 35%),
    radial-gradient(circle at bottom right, rgba(42, 0, 115, 0.28), transparent 42%);
  pointer-events: none;
}

.today-hero__inner {
  position: relative;
  z-index: 2;
  padding: var(--space-5) var(--space-3);
  text-align: center;
}

.today-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;

  margin-bottom: var(--space-2);
  padding: 7px 13px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;

  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.today-hero h1 {
  max-width: 820px;
  margin: 0 auto var(--space-1);
  color: #fff;
  font-size: clamp(2rem, 7vw, 4rem);
}

.today-hero__date {
  margin: 0 auto var(--space-2);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 800;
}

.today-hero__body {
  max-width: 660px;
  margin: 0 auto var(--space-3);
  color: rgba(255, 255, 255, 0.94);
  font-size: var(--body-md);
  line-height: 1.7;
}

.today-alerts-button {
  box-shadow: 0 12px 28px rgba(42, 0, 115, 0.22);
}

/* =====================================================
   04. STICKY NAV / DATE TABS
===================================================== */

.today-quick-nav,
.today-date-tabs__inner,
.today-stage-filters {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.today-quick-nav::-webkit-scrollbar,
.today-date-tabs__inner::-webkit-scrollbar,
.today-stage-filters::-webkit-scrollbar {
  height: 0;
}

.today-quick-nav {
  position: sticky;
  top: var(--today-admin-offset);
  z-index: 70;

  display: flex;
  justify-content: center;
  gap: 8px;

  padding: 10px var(--space-3);

  background: rgba(255, 255, 255, 0.96);
  border-bottom: var(--today-border);
  backdrop-filter: blur(12px);
}

.today-quick-nav a,
.today-date-tab,
.today-stage-filter {
  flex: 0 0 auto;
  scroll-snap-align: center;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.today-quick-nav a {
  padding: 9px 14px;
  background: var(--purple-100);
  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 900;
}

.today-date-tabs {
  position: sticky;
  top: calc(var(--today-admin-offset) + var(--today-quick-nav-height));
  z-index: 60;

  background: var(--purple-100);
  border-bottom: var(--today-border);
}

.today-date-tabs__inner {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px var(--space-3);
}

.today-date-tab,
.today-stage-filter {
  appearance: none;
  padding: 10px 16px;

  background: #fff;
  border: 2px solid rgba(42, 0, 115, 0.12);
  color: var(--color-secondary);

  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;

  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.today-date-tab.is-active,
.today-stage-filter.is-active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

/* Stronger selected state for sticky nav + tabs */
.today-quick-nav,
.today-date-tabs__inner,
.today-stage-filters {
  scroll-padding-inline: 50%;
}

.today-quick-nav a {
  position: relative;
  border: 2px solid transparent;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.today-quick-nav a.is-active,
.today-quick-nav a[aria-current="location"] {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(42, 0, 115, 0.18);
}

.today-quick-nav a,
.today-date-tab,
.today-stage-filter {
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    opacity 0.22s ease;
}

.today-quick-nav a.is-active,
.today-quick-nav a[aria-current="location"],
.today-date-tab.is-active,
.today-stage-filter.is-active {
  will-change: transform, box-shadow;
}

.today-date-tab.is-active,
.today-stage-filter.is-active {
  box-shadow: 0 8px 18px rgba(42, 0, 115, 0.18);
  transform: translateY(-1px);
}

@media (max-width: 782px) {
  .today-quick-nav,
  .today-date-tabs__inner,
  .today-stage-filters {
    justify-content: flex-start;
  }

  .today-quick-nav a.is-active,
  .today-quick-nav a[aria-current="location"],
  .today-date-tab.is-active,
  .today-stage-filter.is-active {
    transform: scale(1.04);
  }
}

/* =====================================================
   05. QUICK ACTION CARDS
===================================================== */

.today-actions {
  padding: var(--space-3);
  background: #fff;
}

.today-actions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2);
}

.today-action-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: var(--space-2);
  border-radius: var(--today-card-radius);

  background: #fff;
  border: var(--today-border);
  box-shadow: var(--shadow-sm);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.today-action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.today-action-card span {
  display: inline-flex;
  width: fit-content;

  margin-bottom: var(--space-1);
  padding: 6px 10px;
  border-radius: 999px;

  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.today-action-card strong {
  color: var(--color-secondary);
  font-size: 1.02rem;
  line-height: 1.25;
}

.today-action-card--contest span {
  background: rgba(224, 30, 69, 0.1);
  color: var(--watermelon-500);
}

.today-action-card--survey span {
  background: rgba(255, 190, 12, 0.22);
  color: var(--yellow-700);
}

.today-action-card--map span {
  background: rgba(57, 134, 255, 0.12);
  color: var(--sky-700);
}

/* =====================================================
   06. SECTION / EMPTY STATES
===================================================== */

.today-section {
  background: var(--purple-100);
}

.today-section-header {
  margin-bottom: var(--space-3);
  text-align: center;
}

.today-section-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.today-card-list,
.today-timeline {
  display: grid;
  gap: var(--space-2);
}

.today-empty-card {
  display: grid;
  gap: 6px;

  padding: var(--space-3);
  border-radius: var(--today-card-radius);

  background: #fff;
  border: var(--today-border);
  box-shadow: var(--shadow-sm);

  text-align: center;
}

.today-empty-card strong {
  color: var(--color-secondary);
  font-size: 1.05rem;
}

.today-empty-card span {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* =====================================================
   07. SCHEDULE CARDS
===================================================== */

.today-schedule-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: var(--space-2);

  padding: var(--space-2);
  border-radius: var(--today-card-radius);

  background: #fff;
  border: var(--today-border);
  box-shadow: var(--shadow-sm);

  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.today-schedule-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.today-schedule-card:focus-visible {
  outline: 3px solid rgba(57, 134, 255, 0.55);
  outline-offset: 3px;
}

.today-schedule-card__time {
  color: var(--color-secondary);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.25;
}

.today-schedule-card__content {
  min-width: 0;
}

.today-schedule-card__category {
  display: inline-flex;
  width: fit-content;

  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;

  background: var(--schedule-soft, rgba(42, 0, 115, 0.06));
  color: var(--schedule-color, var(--color-secondary));

  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.today-schedule-card h3 {
  margin: 0;
  color: var(--color-secondary);
  font-size: 1.05rem;
  line-height: 1.25;
}

.today-schedule-card p {
  margin: 6px 0 0;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.today-schedule-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.today-schedule-card__meta span {
  display: grid;
  gap: 2px;

  padding: 7px 10px;
  border-radius: 12px;

  background: var(--purple-100);
  color: var(--color-secondary);

  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.15;
}

.today-schedule-card__meta small {
  display: block;

  color: rgba(42, 0, 115, 0.58);

  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.today-schedule-card__details-link,
.today-schedule-card__artist-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;
  margin-top: 14px;
  padding: 0;

  border: 0;
  background: transparent;
  color: var(--color-secondary);

  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.today-schedule-card__details-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;
  border-radius: 999px;

  background: rgba(42, 0, 115, 0.06);
  color: var(--color-secondary);

  font-size: 0.62rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.today-schedule-card:hover .today-schedule-card__details-link i,
.today-schedule-card:focus-visible .today-schedule-card__details-link i {
  transform: translateX(2px);
  background: rgba(42, 0, 115, 0.1);
}

.today-schedule-card__artist-link {
  appearance: none;
  cursor: pointer;
}

.today-schedule-card--now {
  position: relative;
}

.today-schedule-card--now::before {
  content: "Live";
  position: absolute;
  top: 12px;
  right: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 5px 8px;
  border-radius: 999px;

  background: rgba(224, 30, 69, 0.1);
  color: var(--watermelon-500);

  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.today-schedule-card.is-past {
  opacity: 0.7;
  box-shadow: none;
}

.today-schedule-card.is-past .today-schedule-card__time {
  color: rgba(42, 0, 115, 0.55);
}

.today-schedule-card.is-past .today-schedule-card__time::after {
  content: "Passed";

  display: inline-flex;
  width: fit-content;

  margin-top: 6px;
  padding: 4px 7px;
  border-radius: 999px;

  background: rgba(42, 0, 115, 0.06);
  color: rgba(42, 0, 115, 0.62);

  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .today-schedule-card {
    position: relative;
    padding: 17px;
    border: 1px solid rgba(42, 0, 115, 0.08);
    box-shadow: 0 12px 28px rgba(42, 0, 115, 0.08);
  }

  .today-schedule-card__details-link {
    width: 100%;
    margin-top: 16px;
    padding-top: 13px;

    border-top: 1px solid rgba(42, 0, 115, 0.08);

    justify-content: space-between;
    color: rgba(42, 0, 115, 0.78);
  }

  .today-schedule-card__details-link i {
    background: rgba(42, 0, 115, 0.07);
    color: var(--color-secondary);
  }

  .today-schedule-card:active {
    transform: scale(0.992);
    box-shadow: 0 8px 20px rgba(42, 0, 115, 0.08);
  }
}

/* =====================================================
   08. STAGE FILTERS
===================================================== */

.today-stage-filters {
  display: flex;
  gap: 8px;

  margin: 0 calc(var(--space-3) * -1) var(--space-3);
  padding: 0 var(--space-3) 8px;
}

.today-stage-filter {
  padding: 10px 14px;
  font-size: 0.74rem;
}

/* =====================================================
   09. MAP SECTION
   Tall image friendly for 1080 x 2900 style app maps
===================================================== */

.today-map-card {
  padding: var(--space-4);
  border-radius: var(--today-panel-radius);

  background: #fff;
  border: var(--today-border);
  box-shadow: var(--shadow-md);

  text-align: center;
}

.today-map-card p {
  max-width: 640px;
  margin: 0 auto var(--space-3);
  color: var(--color-text);
  line-height: 1.7;
}

.today-map-card__image {
  max-width: 900px;
  max-height: min(74vh, 920px);
  margin: 0 auto var(--space-3);
  overflow: auto;
  -webkit-overflow-scrolling: touch;

  border-radius: 22px;
  background: var(--purple-100);
  border: var(--today-border);
  box-shadow: var(--shadow-sm);
}

.today-map-card__image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* =====================================================
   10. CONTESTS / SURVEY
===================================================== */

.today-contest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.today-contest-card {
  min-width: 0;
  padding: var(--space-4);
  border-radius: var(--today-panel-radius);

  background: #fff;
  border: var(--today-border);
  box-shadow: var(--shadow-md);
}

/* Visually prioritize the survey card */
.today-contest-card--survey {
  order: -1;
  background:
    linear-gradient(180deg, rgba(255, 190, 12, 0.12), rgba(255, 255, 255, 1) 46%);
  border: 1px solid rgba(255, 190, 12, 0.34);
}

.today-contest-card h2 {
  margin: 0 auto var(--space-2);
  color: var(--color-secondary);
  font-size: 1.55rem;
  text-align: center;
}

.today-contest-card p {
  margin: auto auto var(--space-2);
  color: var(--color-text);
  font-size: var(--body-md);
  line-height: 1.65;
  text-align: center;
}

.today-contest-preview-card__title {
  text-align: left !important;
  margin: 0 !important;
}

/* =====================================================
   TODAY CONTEST PREVIEWS
===================================================== */

.today-contest-card--with-previews {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.today-contest-preview-grid {
  display: flex;
  gap: var(--space-3);

  margin-inline: calc(var(--space-1) * -1);
  padding: 0 0 var(--space-2);

  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.today-contest-preview-grid::-webkit-scrollbar {
  display: none;
}

.today-contest-preview-card {
  flex: 0 0 245px;
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;

  padding: 10px;
  border-radius: 18px;

  background: #fff;
  border: 1px solid rgba(42, 0, 115, 0.12);
  color: inherit;
  text-decoration: none;

  overflow: hidden;
}

.today-contest-preview-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;

  border-radius: 14px;
  overflow: hidden;

  background: rgba(42, 0, 115, 0.08);
}

.today-contest-preview-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.today-contest-preview-card__body {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 6px;

  padding: 12px 2px 2px;
}

.today-contest-preview-card__eyebrow {
  width: fit-content;

  color: var(--purple-500, #8338ec);

  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .today-contest-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    margin-inline: 0;
    padding: 0 0 var(--space-4);

    overflow: visible;
    scroll-snap-type: none;
  }

  .today-contest-preview-card {
    flex: initial;
  }
}

/* =====================================================
   TODAY SURVEY FEATURE
===================================================== */

.today-survey-card {
  position: relative;
  overflow: hidden;

  padding: var(--space-4);
  border-radius: var(--today-panel-radius);

  background: var(--color-background);
  box-shadow: var(--shadow-md);

  text-align: center;
}

.today-survey-card h2 {
  margin: 0 0 var(--space-2);
  color: var(--color-secondary);
  font-size: 1.65rem;
}

.today-survey-card p {
  max-width: 680px;
  margin: 0 auto var(--space-3);
  color: var(--color-text);
}

.today-survey-bonus {
  display: grid;
  gap: 4px;

  max-width: 520px;
  margin: 0 auto var(--space-3);
  padding: 14px 16px;
  border-radius: 18px;

  background: #fff;
  border: 1px solid rgba(42, 0, 115, 0.1);
  box-shadow: 0 10px 24px rgba(42, 0, 115, 0.07);
}

.today-survey-bonus strong {
  color: var(--watermelon-500);
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.today-survey-bonus span {
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .today-survey-card {
    padding: var(--space-3);
    border-radius: 22px;
  }

  .today-survey-card h2 {
    font-size: 1.4rem;
  }

  .today-survey-card .btn {
    width: 100%;
  }
}

/* =====================================================
   11. EVENT DETAILS MODAL / BOTTOM SHEET
===================================================== */

body.today-modal-open {
  overflow: hidden;
}

.today-event-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.22s ease,
    visibility 0s linear 0.22s;
}

.today-event-modal.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;

  transition:
    opacity 0.22s ease,
    visibility 0s linear 0s;
}

.today-event-modal__overlay {
  position: absolute;
  inset: 0;

  background: rgba(15, 8, 35, 0.66);
  backdrop-filter: blur(6px);
  opacity: var(--today-overlay-opacity, 1);

  transition: opacity 0.26s ease;
}

.today-event-modal__content {
  position: absolute;
  left: 50%;
  top: 50%;

  display: flex;
  flex-direction: column;

  width: min(92vw, 560px);
  max-height: min(82vh, 720px);
  overflow: hidden;

  transform: translate3d(-50%, calc(-50% + var(--today-sheet-y, 32px)), 0);

  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 8, 35, 0.32);

  overscroll-behavior: contain;
  will-change: transform;

  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.today-event-modal.is-active .today-event-modal__content {
  transform: translate3d(-50%, calc(-50% + var(--today-sheet-y, 0px)), 0);
}

.today-event-modal.is-closing .today-event-modal__content {
  transform: translate3d(-50%, 110vh, 0);
}

.today-event-modal.is-dragging .today-event-modal__content,
.today-event-modal.is-dragging .today-event-modal__overlay {
  transition: none;
}

.today-event-modal__drag-handle {
  display: none;
}

.today-event-modal__close {
  appearance: none;

  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border: 0;
  border-radius: 999px;

  background: var(--purple-100);
  color: var(--color-secondary);

  font-size: 1.5rem;
  line-height: 1;

  cursor: pointer;
}

.today-event-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  padding: var(--space-3) var(--space-3) calc(var(--space-4) + env(safe-area-inset-bottom));
}

.today-event-modal__category {
  display: inline-flex;
  width: fit-content;

  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(42, 0, 115, 0.08);
  color: var(--color-secondary);

  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.today-event-modal h2 {
  margin: 0;
  color: var(--color-secondary);
  font-size: clamp(1.55rem, 5vw, 2.2rem);
  line-height: 1.1;
}

.today-event-modal__time {
  margin-top: 10px;
  color: var(--watermelon-500);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}

.today-event-modal__description {
  margin: var(--space-2) 0 0;
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.6;
}

.today-event-modal__info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: var(--space-3);
}

.today-event-modal__info-grid div {
  display: grid;
  gap: 4px;

  padding: 12px;
  border-radius: 16px;

  background: var(--purple-100);
  border: var(--today-border);
}

.today-event-modal__info-grid small {
  color: rgba(42, 0, 115, 0.58);

  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.today-event-modal__info-grid strong {
  color: var(--color-secondary);
  font-size: 0.92rem;
  line-height: 1.25;
}

.today-event-modal__map {
  width: 100%;
  margin-top: var(--space-3);
}


.today-event-modal__artist {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;

  margin-top: var(--space-3);
  padding: 14px;
  border-radius: var(--today-card-radius);

  background: linear-gradient(180deg, rgba(42, 0, 115, 0.06) 0%, rgba(224, 30, 69, 0.06) 100%);
  border: var(--today-border);
}

.today-event-modal__artist[hidden],
.today-event-modal__artist-img-wrap[hidden] {
  display: none;
}

.today-event-modal__artist img {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  object-fit: cover;
}

.today-event-modal__artist span {
  display: inline-flex;
  margin-bottom: 5px;

  color: var(--watermelon-500);

  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.today-event-modal__artist h3 {
  margin: 0;
  color: var(--color-secondary);
  font-size: 1.1rem;
  line-height: 1.2;
}

.today-event-modal__artist p {
  margin: 6px 0 0;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Legacy inline artist panel support, safe to keep if old markup exists. */
.today-artist-panel {
  margin-top: 12px;
}

.today-artist-panel__inner {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;

  padding: 12px;
  border-radius: 16px;

  background: var(--purple-100);
  border: var(--today-border);
}

.today-artist-panel img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.today-artist-panel span {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--schedule-color, var(--color-primary));
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.today-artist-panel strong {
  display: block;
  color: var(--color-secondary);
  font-size: 0.95rem;
  line-height: 1.2;
}

.today-artist-panel p {
  margin-top: 5px;
  font-size: 0.84rem;
  line-height: 1.4;
}

/* =====================================================
   12. CATEGORY COLORS
===================================================== */

.schedule-category-live_music {
  --schedule-color: var(--watermelon-500);
  --schedule-soft: rgba(224, 30, 69, 0.1);
}

.schedule-category-latin_dance,
.schedule-category-workshop,
.schedule-category-dance_lesson {
  --schedule-color: var(--purple-500);
  --schedule-soft: rgba(131, 56, 236, 0.1);
}

.schedule-category-samba_folkloric,
.schedule-category-food_vendor,
.schedule-category-market {
  --schedule-color: var(--orange-500);
  --schedule-soft: rgba(251, 86, 7, 0.1);
}

.schedule-category-kids_family,
.schedule-category-fireworks,
.schedule-category-special_event {
  --schedule-color: var(--sky-500);
  --schedule-soft: rgba(57, 134, 255, 0.1);
}

.schedule-category-dj {
  --schedule-color: var(--yellow-700);
  --schedule-soft: rgba(255, 190, 12, 0.2);
}

.schedule-category-festival_program,
.schedule-category-partner_program,
.schedule-category-resort_program,
.schedule-category-blue_mountain {
  --schedule-color: var(--purple-800);
  --schedule-soft: rgba(42, 0, 115, 0.1);
}

.schedule-category-general {
  --schedule-color: var(--color-primary);
  --schedule-soft: rgba(42, 0, 115, 0.06);
}

@media (max-width: 900px) {
  .today-actions__grid {
    grid-template-columns: 1fr;
  }

  .today-action-card {
    min-height: 112px;
  }
}

/* =====================================================
   14. MOBILE
===================================================== */

@media (max-width: 782px) {
  .admin-bar .single-festival-today {
    --today-admin-offset: 46px;
  }

  .today-quick-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .single-festival-today .section {
    padding: var(--space-4) var(--space-3);
  }

  .today-app-header {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }

  .today-app-header__back {
    font-size: 0.76rem;
  }

  .today-hero__inner {
    padding: var(--space-4) var(--space-3);
  }

  .today-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .today-hero__body {
    font-size: var(--body-sm);
  }

  .today-actions {
    padding: var(--space-3);
  }

  .today-actions__grid {
    gap: var(--space-2);
  }

  .today-action-card {
    min-height: 104px;
  }

  .today-schedule-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 15px;
    border-radius: 18px;
  }

  .today-schedule-card__time {
    font-size: 0.95rem;
  }

  .today-schedule-card h3 {
    font-size: 1rem;
  }

  .today-schedule-card p {
    font-size: 0.88rem;
  }

  .today-map-card,
  .today-contest-card {
    padding: var(--space-3);
    border-radius: 22px;
  }

  .today-map-card__image {
    max-height: 72vh;
    margin-left: calc(var(--space-1) * -1);
    margin-right: calc(var(--space-1) * -1);
    border-radius: 18px;
  }

  .today-map-card__image img {
    min-width: 520px;
  }

  .today-contest-card h2 {
    font-size: 1.35rem;
  }

  .today-contest-card .btn,
  .today-map-card .btn {
    width: 100%;
  }

  .today-event-modal__content {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
  
    width: 100%;
    max-height: 55vh;
    overflow: hidden;
  
    transform: translate3d(0, calc(100% + var(--today-sheet-y, 0px)), 0);
  
    border-radius: 28px 28px 0 0;
  }
  
  .today-event-modal.is-active .today-event-modal__content {
    transform: translate3d(0, var(--today-sheet-y, 0px), 0);
  }
  
  .today-event-modal.is-closing .today-event-modal__content {
    transform: translate3d(0, 110%, 0);
  }
  
  .today-event-modal__drag-handle {
    position: sticky;
    top: 0;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 34px;
    width: 100%;
    margin: 0;

    background: #fff;
    border-radius: 28px 28px 0 0;

    cursor: grab;
    touch-action: none;
  }

  .today-event-modal__drag-handle::before {
    content: "";
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: rgba(42, 0, 115, 0.24);
  }

  .today-event-modal.is-dragging .today-event-modal__drag-handle {
    cursor: grabbing;
  }

  .today-event-modal__body {
    padding: 0 var(--space-3) calc(var(--space-4) + env(safe-area-inset-bottom));
  }

  .today-event-modal__info-grid {
    grid-template-columns: 1fr;
  }

  .today-event-modal__artist {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .today-event-modal__artist img {
    width: 68px;
    height: 68px;
    border-radius: 15px;
  }
}

@media (max-width: 600px) {
  .admin-bar .single-festival-today {
    --today-admin-offset: 0px;
  }
}

@media (max-width: 580px) {
  .today-quick-nav,
  .today-date-tabs__inner {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .today-action-card strong {
    font-size: 0.98rem;
  }

  .today-empty-card {
    padding: var(--space-2);
  }

  .today-map-card p,
  .today-contest-card p {
    font-size: var(--body-sm);
  }
}

/* =====================================================
   15. REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {
  .today-action-card,
  .today-schedule-card,
  .today-event-modal,
  .today-event-modal__overlay,
  .today-event-modal__content,
  .today-quick-nav a,
  .today-date-tab,
  .today-stage-filter {
    transition: none !important;
  }
}
