@charset "utf-8";

/* Shared Next Gig component. Existing JS owns the data/countdown; this file owns presentation. */
.home-next-date {
  background: linear-gradient(180deg, rgba(183, 140, 255, 0.035), transparent);
}
.home-next-date .section-head,
.next-gig-row .next-gig-heading {
  display: block;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.home-next-date .section-head h2,
.next-gig-row .next-gig-heading h2 {
  width: 100%;
  max-width: none;
  text-align: center;
  white-space: nowrap;
}
.home-next-date [data-home-next-gig],
#next-gig {
  width: 100%;
}
.next-gig {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-areas: "date main" "actions actions";
  gap: 14px 16px;
  padding: 20px 16px;
  border: 1px solid rgba(207, 166, 255, 0.45);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(183, 140, 255, 0.16),
    rgba(9, 7, 17, 0.45)
  );
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}
.next-gig-date {
  grid-area: date;
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  padding: 2px 14px 2px 0;
  border-right: 1px solid rgba(207, 166, 255, 0.24);
}
.next-gig-dow {
  color: #cfa6ff;
  font:
    700 0.72rem/1 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.next-gig-day {
  color: #fff;
  font:
    800 2.3rem/1 "Barlow Condensed",
    sans-serif;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(183, 140, 255, 0.45);
}
.next-gig-mon {
  color: #cfa6ff;
  font:
    700 0.86rem/1 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gig-year {
  display: block;
  margin-top: 4px;
  color: #b3aac0;
  font:
    700 0.75rem/1.2 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.08em;
}
.next-gig-main {
  grid-area: main;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  color: #fff;
}
.next-gig-venue-row {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 10px;
}
.next-gig-venue {
  display: block;
  max-width: 100%;
  color: #fff;
  font:
    700 1.38rem/1.12 "Barlow Condensed",
    sans-serif;
  text-decoration: none;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
a.next-gig-venue:hover,
a.next-gig-venue:focus-visible {
  color: #ffd9b0;
}
.next-gig-loc-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 9px;
}
.next-gig-loc {
  min-width: 0;
  color: #b9b2c6;
  font-size: 0.9rem;
  line-height: 1.4;
  overflow-wrap: break-word;
}
.next-gig-loc-row .gig-badge {
  flex: 0 0 auto;
}
.next-gig-time {
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin-top: 2px;
  color: #d8d3e4;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  /* Venue and time text comes from the gig feed, so long values must wrap
     instead of overflowing the card at narrow widths. */
  overflow-wrap: anywhere;
}
.next-gig-utility {
  grid-area: actions;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}
.next-gig-status {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  border: 1px solid rgba(207, 166, 255, 0.24);
  border-radius: 12px;
  background: rgba(183, 140, 255, 0.07);
  color: #eee8f6;
}
.next-gig-status-label {
  color: #cfa6ff;
  font:
    800 0.69rem/1 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.next-gig-countdown {
  color: #fff;
  font:
    800 0.88rem/1 "Manrope",
    sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.next-gig-actions {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
}
.next-gig-actions .button {
  width: 100%;
  min-width: 0;
  margin: 0;
  text-align: center;
}
.next-gig-actions .gig-dir {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: #eee2ff;
  text-decoration: none;
}
.next-gig-empty-card {
  grid-template-columns: 1fr;
  grid-template-areas: "main" "actions";
}
.next-gig-empty-card .next-gig-actions {
  grid-template-columns: 1fr;
}
.gig-tonight-badge {
  color: #ffd9b0;
  background: rgba(255, 217, 176, 0.08);
  border-color: rgba(255, 217, 176, 0.55);
}
.next-gig-is-tonight {
  border-color: rgba(223, 178, 255, 0.56);
}
.next-gig-is-soon {
  border-color: rgba(255, 217, 176, 0.56);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.36),
    0 0 24px rgba(183, 140, 255, 0.12);
}
.next-gig-status[data-state="tonight"],
.next-gig-status[data-state="soon"] {
  border-color: rgba(255, 217, 176, 0.38);
  background: rgba(255, 217, 176, 0.07);
}
.next-gig-status[data-state="tonight"] .next-gig-status-label,
.next-gig-status[data-state="soon"] .next-gig-status-label {
  color: #ffd9b0;
}
.next-gig-is-live .next-gig-status {
  border-color: rgba(255, 217, 176, 0.62);
  background: rgba(255, 217, 176, 0.1);
}
.next-gig-is-live .next-gig-status-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffd9b0;
}
.next-gig-is-live .next-gig-status-label::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  content: "";
  animation: nightshift-live-pulse 1.7s ease-out infinite;
}
.next-gig-is-wrap {
  border-color: rgba(207, 166, 255, 0.3);
}
.next-gig-status[data-state="wrap"] .next-gig-status-label {
  color: #dfb2ff;
}

/* Keep legacy page-theme limits from squeezing the shared action columns. */
.next-gig .next-gig-actions {
  min-width: 0;
  max-width: none;
  padding-left: 0;
}

/* Crisp shared action arrow: line icon instead of a font glyph. */
.next-gig .next-gig-actions .button,
.next-gig .next-gig-actions .gig-dir {
  position: relative;
}
.next-gig .next-gig-actions .button::after,
.next-gig .next-gig-actions .gig-dir::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 18px;
  height: 12px;
  margin: 0;
  background: currentColor;
  content: "";
  transform: translateY(-50%);
  transition: transform 0.18s cubic-bezier(0.2, 0.7, 0.2, 1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M1 7h16M12 2l5 5-5 5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M1 7h16M12 2l5 5-5 5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.next-gig .next-gig-actions .button {
  padding-right: 42px;
}
.next-gig .next-gig-actions .gig-dir {
  padding-right: 42px;
}
@media (hover: hover) and (pointer: fine) {
  .next-gig .next-gig-actions .button:hover::after,
  .next-gig .next-gig-actions .button:focus-visible::after,
  .next-gig .next-gig-actions .gig-dir:hover::after,
  .next-gig .next-gig-actions .gig-dir:focus-visible::after {
    transform: translate(3px, -50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .next-gig-is-live .next-gig-status-label::before {
    animation: none;
  }
  .next-gig .next-gig-actions .button::after,
  .next-gig .next-gig-actions .gig-dir::after {
    transition: none !important;
  }
}

/* Mobile and tablet use the same visual language as the current desktop card,
   reflowed vertically rather than falling back to the older compact design. */
@media (max-width: 639px) {
  .home-next-date > .next-gig-row {
    width: min(calc(100% - 32px), 520px);
    margin-inline: auto;
  }
  .home-next-date [data-home-next-gig],
  #next-gig {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .next-gig {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas: "date main" "actions actions";
    gap: 18px 14px;
    padding: 22px 16px 18px;
    overflow: hidden;
    border-color: rgba(157, 108, 232, 0.78);
    border-radius: 20px;
    background: linear-gradient(
      145deg,
      rgba(53, 31, 82, 0.76),
      rgba(25, 14, 45, 0.78) 48%,
      rgba(13, 8, 25, 0.82)
    );
    box-shadow:
      0 0 28px rgba(147, 81, 255, 0.12),
      0 22px 54px rgba(0, 0, 0, 0.3);
  }

  .next-gig-date {
    justify-content: flex-start;
    gap: 5px;
    padding: 3px 14px 3px 0;
    border-right: 1px solid rgba(207, 166, 255, 0.3);
  }

  .next-gig-dow {
    font-size: 0.74rem;
    letter-spacing: 0.19em;
  }
  .next-gig-day {
    font-size: 2.65rem;
    line-height: 0.95;
  }
  .next-gig-mon {
    font-size: 0.86rem;
  }
  .gig-year {
    margin-top: 3px;
    font-size: 0.74rem;
  }

  .next-gig-main {
    justify-content: center;
    gap: 9px;
    padding: 2px 0;
  }

  .next-gig-venue {
    font-family: "Manrope", sans-serif;
    font-size: 1.46rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.015em;
    text-wrap: pretty;
  }

  .next-gig-loc-row {
    align-items: center;
    gap: 8px;
  }

  .next-gig-loc-row::before {
    width: 16px;
    height: 20px;
    flex: 0 0 auto;
    background: #b77cff;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.15 7-13a7 7 0 1 0-14 0c0 6.85 7 13 7 13Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }

  .next-gig-loc {
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .next-gig-time {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1px;
    color: #f7f2fb;
    font-size: 0.96rem;
    font-weight: 700;
  }

  .next-gig-time::before {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    background: #d0c4dc;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 7v5l3.5 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }

  .next-gig-utility {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(207, 166, 255, 0.16);
  }

  .next-gig-status {
    min-height: 82px;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-areas: "icon label" "icon value";
    align-content: center;
    column-gap: 13px;
    row-gap: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(207, 166, 255, 0.3);
    border-radius: 15px;
    background: linear-gradient(
      135deg,
      rgba(183, 140, 255, 0.11),
      rgba(20, 13, 34, 0.46)
    );
  }

  .next-gig-status::before {
    grid-area: icon;
    width: 36px;
    height: 36px;
    background-color: #bc83ff;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5.5' width='16' height='15' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3.5v4M16 3.5v4M4 10h16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='14' r='1' fill='black'/%3E%3Ccircle cx='12' cy='14' r='1' fill='black'/%3E%3Ccircle cx='16' cy='14' r='1' fill='black'/%3E%3Ccircle cx='8' cy='17.5' r='1' fill='black'/%3E%3Ccircle cx='12' cy='17.5' r='1' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }

  .next-gig-status-label {
    grid-area: label;
    align-self: end;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .next-gig-countdown {
    grid-area: value;
    align-self: start;
    min-width: 0;
    max-width: 100%;
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.22;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: left;
  }

  .next-gig-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .next-gig .next-gig-actions .button,
  .next-gig .next-gig-actions .gig-dir {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 48px 14px 18px;
    border-radius: 15px;
    font:
      800 0.9rem/1.2 "Manrope",
      sans-serif;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
  }

  .next-gig .next-gig-actions .button {
    border: 0;
    background: linear-gradient(135deg, #c995ff, #9557ef);
    color: #160b25;
    box-shadow: 0 9px 24px rgba(153, 91, 244, 0.24);
  }

  .next-gig .next-gig-actions .gig-dir {
    border: 1px solid rgba(207, 166, 255, 0.58);
    background: rgba(183, 140, 255, 0.045);
    color: #f3eafa;
  }

  .next-gig .next-gig-actions .gig-dir::before {
    width: 16px;
    height: 20px;
    flex: 0 0 auto;
    margin-right: 10px;
    background: #b77cff;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.15 7-13a7 7 0 1 0-14 0c0 6.85 7 13 7 13Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }

  .next-gig .next-gig-actions .button::after,
  .next-gig .next-gig-actions .gig-dir::after {
    right: 17px;
    width: 18px;
    height: 12px;
  }
}

@media (max-width: 380px) {
  .next-gig {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px 11px;
    padding: 20px 13px 16px;
  }

  .next-gig-date {
    padding-right: 10px;
  }
  .next-gig-day {
    font-size: 2.4rem;
  }
  .next-gig-venue {
    font-size: 1.32rem;
  }
  .next-gig-status {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 13px;
  }
  .next-gig-status::before {
    width: 32px;
    height: 32px;
  }
  .next-gig-countdown {
    font-size: 0.9rem;
  }
}

@media (min-width: 640px) and (max-width: 900px) {
  .home-next-date > .next-gig-row {
    width: min(calc(100% - 48px), 780px);
    margin-inline: auto;
  }
  .home-next-date [data-home-next-gig],
  #next-gig {
    max-width: 780px;
    margin-inline: auto;
  }

  .next-gig {
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-areas: "date main" "date actions";
    gap: 18px 22px;
    padding: 26px;
    border-color: rgba(157, 108, 232, 0.8);
    border-radius: 21px;
    background: linear-gradient(
      135deg,
      rgba(53, 31, 82, 0.72),
      rgba(25, 14, 45, 0.74) 48%,
      rgba(13, 8, 25, 0.78)
    );
  }

  .next-gig-date {
    justify-content: center;
    gap: 5px;
    padding-right: 20px;
  }

  .next-gig-day {
    font-size: 3rem;
  }
  .next-gig-main {
    justify-content: center;
    gap: 10px;
  }
  .next-gig-venue {
    font-family: "Manrope", sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.08;
  }

  .next-gig-loc-row::before {
    width: 17px;
    height: 21px;
    flex: 0 0 auto;
    background: #b77cff;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.15 7-13a7 7 0 1 0-14 0c0 6.85 7 13 7 13Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }

  .next-gig-time {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .next-gig-time::before {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    background: #d8d3e4;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 7v5l3.5 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }

  .next-gig-utility {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(207, 166, 255, 0.16);
  }

  .next-gig-status {
    min-height: 92px;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-areas: "icon label" "icon value";
    align-content: center;
    column-gap: 14px;
    row-gap: 7px;
    padding: 15px 18px;
    border: 1px solid rgba(207, 166, 255, 0.3);
    border-radius: 15px;
    background: linear-gradient(
      135deg,
      rgba(183, 140, 255, 0.11),
      rgba(20, 13, 34, 0.46)
    );
  }

  .next-gig-status::before {
    grid-area: icon;
    width: 38px;
    height: 38px;
    background-color: #bc83ff;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5.5' width='16' height='15' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3.5v4M16 3.5v4M4 10h16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='14' r='1' fill='black'/%3E%3Ccircle cx='12' cy='14' r='1' fill='black'/%3E%3Ccircle cx='16' cy='14' r='1' fill='black'/%3E%3Ccircle cx='8' cy='17.5' r='1' fill='black'/%3E%3Ccircle cx='12' cy='17.5' r='1' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }

  .next-gig-status-label {
    grid-area: label;
    align-self: end;
  }
  .next-gig-countdown {
    grid-area: value;
    align-self: start;
    white-space: normal;
    text-align: left;
  }

  .next-gig-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .next-gig .next-gig-actions .button,
  .next-gig .next-gig-actions .gig-dir {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 48px 14px 18px;
    border-radius: 15px;
    font:
      800 0.9rem/1.2 "Manrope",
      sans-serif;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
  }

  .next-gig .next-gig-actions .button {
    border: 0;
    background: linear-gradient(135deg, #c995ff, #9557ef);
    color: #160b25;
  }

  .next-gig .next-gig-actions .gig-dir {
    border: 1px solid rgba(207, 166, 255, 0.58);
    background: rgba(183, 140, 255, 0.045);
    color: #f3eafa;
  }
}

@media (min-width: 901px) {
  .next-gig-row {
    max-width: 1320px;
  }
  .next-gig-row .next-gig-heading,
  .home-next-date .section-head {
    max-width: 1240px;
    margin-inline: auto;
  }
  .home-next-date .section-head h2,
  .next-gig-row .next-gig-heading h2 {
    display: flex;
    width: 100%;
    max-width: none;
    align-items: center;
    justify-content: center;
    gap: 38px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    letter-spacing: 0.025em;
    white-space: nowrap;
  }
  .home-next-date .section-head h2::before,
  .home-next-date .section-head h2::after,
  .next-gig-row .next-gig-heading h2::before,
  .next-gig-row .next-gig-heading h2::after {
    width: auto;
    max-width: 132px;
    min-width: 48px;
    height: 1px;
    flex: 1 1 132px;
    background: #9d62ef;
    content: "";
    opacity: 0.72;
  }
  .home-next-date [data-home-next-gig],
  #next-gig {
    max-width: 1240px;
    margin-inline: auto;
  }
  .next-gig {
    grid-template-columns: 145px minmax(300px, 1fr) minmax(0, 1.75fr);
    grid-template-areas: "date main actions";
    align-items: stretch;
    gap: 0;
    min-height: 246px;
    padding: 38px 42px;
    border: 1px solid rgba(157, 108, 232, 0.86);
    border-radius: 22px;
    background: linear-gradient(
      112deg,
      rgba(53, 31, 82, 0.72),
      rgba(25, 14, 45, 0.72) 45%,
      rgba(13, 8, 25, 0.72)
    );
    box-shadow:
      0 0 35px rgba(147, 81, 255, 0.16),
      0 28px 70px rgba(0, 0, 0, 0.28);
  }
  .next-gig-date {
    justify-content: center;
    gap: 6px;
    padding: 4px 34px 4px 0;
    border-right: 1px solid rgba(207, 166, 255, 0.32);
  }
  .next-gig-dow {
    font-size: 0.82rem;
    letter-spacing: 0.2em;
  }
  .next-gig-day {
    font-size: 3.8rem;
  }
  .next-gig-mon {
    font-size: 0.96rem;
  }
  .gig-year {
    margin-top: 5px;
    font-size: 0.82rem;
  }
  .next-gig-main {
    justify-content: center;
    gap: 12px;
    padding: 4px 38px;
    border-right: 1px solid rgba(207, 166, 255, 0.18);
  }
  .next-gig-venue {
    max-width: 100%;
    font-family: "Manrope", sans-serif;
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.018em;
    text-wrap: pretty;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .next-gig-loc-row {
    gap: 10px;
  }
  .next-gig-loc-row::before {
    width: 18px;
    height: 22px;
    flex: 0 0 auto;
    background: #b77cff;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.15 7-13a7 7 0 1 0-14 0c0 6.85 7 13 7 13Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }
  .next-gig-loc {
    font-size: 1.05rem;
    line-height: 1.35;
  }
  .next-gig-time {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    color: #f7f2fb;
    font-size: 1.08rem;
    font-weight: 700;
  }
  .next-gig-time::before {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    background: #d0c4dc;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 7v5l3.5 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }
  .next-gig-utility {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 30px;
    padding: 4px 0 4px 38px;
    border: 0;
  }
  .next-gig-status {
    min-width: 0;
    min-height: 104px;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas: "icon label" "icon value";
    align-content: center;
    column-gap: 16px;
    row-gap: 8px;
    padding: 18px 22px;
    border: 1px solid rgba(207, 166, 255, 0.3);
    border-radius: 16px;
    background: linear-gradient(
      135deg,
      rgba(183, 140, 255, 0.11),
      rgba(20, 13, 34, 0.46)
    );
  }
  .next-gig-status::before {
    grid-area: icon;
    width: 44px;
    height: 44px;
    background-color: #bc83ff;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5.5' width='16' height='15' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3.5v4M16 3.5v4M4 10h16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='14' r='1' fill='black'/%3E%3Ccircle cx='12' cy='14' r='1' fill='black'/%3E%3Ccircle cx='16' cy='14' r='1' fill='black'/%3E%3Ccircle cx='8' cy='17.5' r='1' fill='black'/%3E%3Ccircle cx='12' cy='17.5' r='1' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }
  .next-gig-status-label {
    grid-area: label;
    align-self: end;
    font-size: 0.74rem;
    letter-spacing: 0.15em;
  }
  .next-gig-countdown {
    grid-area: value;
    align-self: start;
    min-width: 0;
    font-size: 1.08rem;
    line-height: 1.2;
    white-space: normal;
    text-align: left;
  }
  .next-gig-actions {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 14px;
  }
  .next-gig .next-gig-actions .button,
  .next-gig .next-gig-actions .gig-dir {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 54px 18px 24px;
    border-radius: 17px;
    font:
      800 0.98rem/1.2 "Manrope",
      sans-serif;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
  }
  .next-gig .next-gig-actions .button {
    border: 0;
    background: linear-gradient(135deg, #c995ff, #9557ef);
    color: #160b25;
    box-shadow: 0 10px 30px rgba(153, 91, 244, 0.28);
  }
  .next-gig .next-gig-actions .button::after,
  .next-gig .next-gig-actions .gig-dir::after {
    right: 22px;
    width: 20px;
    height: 14px;
  }
  .next-gig .next-gig-actions .gig-dir {
    border: 1px solid rgba(207, 166, 255, 0.62);
    background: rgba(183, 140, 255, 0.045);
    color: #f3eafa;
  }
  .next-gig .next-gig-actions .gig-dir::before {
    width: 18px;
    height: 22px;
    flex: 0 0 auto;
    margin-right: 12px;
    background: #b77cff;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.15 7-13a7 7 0 1 0-14 0c0 6.85 7 13 7 13Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }
  .next-gig-empty-card {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "actions";
  }
  .next-gig-empty-card .next-gig-main {
    padding-right: 0;
    border-right: 0;
  }
  .next-gig-empty-card .next-gig-actions {
    grid-template-columns: 1fr;
    max-width: 260px;
    margin-left: auto;
  }
}

/* Desktop composition hardening: keep Home and Live visually identical. */
@media (min-width: 901px) {
  .next-gig-row {
    width: min(100%, 1320px);
    margin-inline: auto;
  }

  .next-gig-row .next-gig-heading,
  .home-next-date .next-gig-heading {
    display: grid;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 28px;
    place-items: center;
    text-align: center;
  }

  .next-gig-row .next-gig-heading h2,
  .home-next-date .next-gig-heading h2 {
    display: flex;
    width: 100%;
    max-width: 1240px;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin-inline: auto !important;
    white-space: nowrap;
    text-align: center !important;
    line-height: 0.95;
  }

  .next-gig-row .next-gig-heading h2::before,
  .next-gig-row .next-gig-heading h2::after,
  .home-next-date .next-gig-heading h2::before,
  .home-next-date .next-gig-heading h2::after {
    display: block;
    width: auto;
    min-width: 48px;
    max-width: 132px;
    height: 1px;
    flex: 1 1 132px;
    content: "";
    background: #9d62ef;
    opacity: 0.72;
  }

  .home-next-date [data-home-next-gig],
  #next-gig {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
  }

  .next-gig {
    min-height: 220px;
    grid-template-columns: 122px minmax(360px, 1.15fr) minmax(0, 1.35fr);
    padding: 32px 36px;
  }

  .next-gig-date {
    padding-right: 30px;
  }

  .next-gig-main {
    padding-inline: 32px;
  }

  .next-gig-utility {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 22px;
    padding-left: 30px;
  }

  .next-gig-status {
    min-height: 96px;
    padding: 16px 20px;
  }

  .next-gig-actions {
    gap: 11px;
  }

  .next-gig .next-gig-actions .button,
  .next-gig .next-gig-actions .gig-dir {
    min-height: 66px;
    padding: 15px 50px 15px 22px;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .next-gig-row .next-gig-heading h2,
  .home-next-date .next-gig-heading h2 {
    gap: 26px;
  }

  .next-gig {
    /* Same bounded tracks as body .next-gig in theme-nightshift.css, which
       takes over from 981px. Between 901px and 1120px this rule is the one
       that applies, and its previous `minmax(300px, 1.05fr)` plus a 510px
       utility minimum pushed the card's contents up to 66px outside the card
       border at 901px. */
    grid-template-columns: 96px minmax(220px, 1fr) minmax(0, 420px);
    min-height: 210px;
    padding: 28px 30px;
  }

  .next-gig-main {
    padding-inline: 25px;
  }

  .next-gig-venue {
    font-size: 1.82rem;
    line-height: 1.08;
  }

  .next-gig-utility {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 18px;
    padding-left: 24px;
  }

  .next-gig .next-gig-actions .button,
  .next-gig .next-gig-actions .gig-dir {
    min-height: 60px;
    font-size: 0.9rem;
  }
}

/* Dedicated Next Gig heading: isolated from generic section-head rules. */
.next-gig-row > .next-gig-heading {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.next-gig-row > .next-gig-heading > h2 {
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}

@media (min-width: 901px) {
  .next-gig-row > .next-gig-heading {
    max-width: 1240px;
    margin-bottom: 28px;
  }

  .next-gig-row > .next-gig-heading > h2 {
    display: grid;
    grid-template-columns: minmax(72px, 132px) max-content minmax(72px, 132px);
    align-items: center;
    justify-content: center;
    gap: 34px;
    width: min(100%, 620px);
    max-width: none;
    margin-inline: auto;
    font-size: clamp(2.7rem, 3.8vw, 3.75rem);
    letter-spacing: 0.025em;
  }

  .next-gig-row > .next-gig-heading > h2::before,
  .next-gig-row > .next-gig-heading > h2::after {
    display: block;
    width: 100%;
    height: 1px;
    content: "";
    background: #9d62ef;
    opacity: 0.72;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .next-gig-row > .next-gig-heading > h2 {
    grid-template-columns: minmax(52px, 104px) max-content minmax(52px, 104px);
    gap: 24px;
    width: min(100%, 520px);
    font-size: clamp(2.45rem, 4vw, 3rem);
  }
}

@media (max-width: 900px) {
  .next-gig-row > .next-gig-heading {
    margin-bottom: 22px;
  }

  .next-gig-row > .next-gig-heading > h2 {
    display: grid;
    grid-template-columns: minmax(24px, 1fr) max-content minmax(24px, 1fr);
    align-items: center;
    gap: 14px;
    width: min(100%, 440px);
    margin-inline: auto;
    font-size: clamp(2.35rem, 11vw, 3.05rem);
  }

  .next-gig-row > .next-gig-heading > h2::before,
  .next-gig-row > .next-gig-heading > h2::after {
    display: block;
    width: 100%;
    height: 1px;
    content: "";
    background: #9d62ef;
    opacity: 0.72;
  }
}

/* Canonical mobile Next Gig composition.
   This mirrors the established homepage card so Home and Live render the same
   component. */
@media (max-width: 760px) {
  /* Canonical card width: Home and Live must use the same mobile geometry. */
  .next-gig-row > :is([data-home-next-gig], #next-gig) {
    width: min(calc(100% - 28px), 440px) !important;
    max-width: 440px !important;
    margin-inline: auto !important;
  }

  .home-next-date {
    padding-top: 68px !important;
    padding-bottom: 52px !important;
  }

  .home-next-date :is([data-home-next-gig], #next-gig) {
    width: min(calc(100% - 28px), 440px) !important;
    max-width: 440px !important;
    margin-inline: auto !important;
  }

  .home-next-date .next-gig {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    grid-template-areas: "date main" "utility utility" !important;
    gap: 0 16px !important;
    min-height: 0 !important;
    padding: 18px 16px 16px !important;
    border-radius: 17px !important;
  }

  .home-next-date .next-gig-date {
    grid-area: date !important;
    align-self: stretch !important;
    justify-content: center !important;
    gap: 2px !important;
    padding: 2px 14px 2px 0 !important;
    border-right: 1px solid rgba(207, 166, 255, 0.27) !important;
  }

  .home-next-date .next-gig-day {
    font-size: 2.4rem !important;
    line-height: 0.94 !important;
  }

  .home-next-date .next-gig-main {
    grid-area: main !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 2px 0 !important;
    border: 0 !important;
  }

  .home-next-date .next-gig-venue {
    font-size: 1.38rem !important;
    line-height: 1.08 !important;
  }

  .home-next-date .next-gig-loc-row::before {
    display: block !important;
    width: 16px !important;
    height: 19px !important;
    flex: 0 0 16px !important;
    background: #b77cff !important;
    content: "" !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.15 7-13a7 7 0 1 0-14 0c0 6.85 7 13 7 13Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat !important;
  }

  .home-next-date .next-gig-utility {
    grid-area: utility !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.18fr) minmax(132px, 0.82fr) !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 16px !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid rgba(207, 166, 255, 0.16) !important;
  }

  .home-next-date .next-gig-status {
    display: grid !important;
    grid-template-columns: 29px minmax(0, 1fr) !important;
    grid-template-areas: "icon label" "icon value" !important;
    align-content: center !important;
    column-gap: 9px !important;
    row-gap: 3px !important;
    min-height: 96px !important;
    margin: 0 !important;
    padding: 11px !important;
    border-radius: 12px !important;
  }

  .home-next-date .next-gig-status::before {
    display: block !important;
    grid-area: icon !important;
    width: 26px !important;
    height: 26px !important;
    background: #bc83ff !important;
    content: "" !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5.5' width='16' height='15' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3.5v4M16 3.5v4M4 10h16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
      center/contain no-repeat !important;
  }

  .home-next-date .next-gig-status-label {
    grid-area: label !important;
    font-size: 0.61rem !important;
    letter-spacing: 0.1em !important;
  }

  .home-next-date .next-gig-countdown {
    grid-area: value !important;
    font-size: 0.79rem !important;
    line-height: 1.28 !important;
    white-space: normal !important;
    text-align: left !important;
  }

  .home-next-date .next-gig-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    width: 100% !important;
    gap: 7px !important;
    margin: 0 !important;
  }

  .home-next-date .next-gig-actions .button,
  .home-next-date .next-gig-actions .gig-dir {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 9px 31px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 11px !important;
    font-size: 0.69rem !important;
    line-height: 1.08 !important;
    letter-spacing: 0.025em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .home-next-date .next-gig-actions .button::after,
  .home-next-date .next-gig-actions .gig-dir::after {
    position: absolute !important;
    right: 9px !important;
    top: 50% !important;
    width: 16px !important;
    height: 11px !important;
    margin: 0 !important;
    background: currentColor !important;
    content: "" !important;
    transform: translateY(-50%) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M1 7h16M12 2l5 5-5 5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center/contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M1 7h16M12 2l5 5-5 5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center/contain no-repeat !important;
  }

  .home-next-date .next-gig-actions .gig-dir::before {
    position: absolute !important;
    left: 9px !important;
    top: 50% !important;
    width: 13px !important;
    height: 16px !important;
    margin: 0 !important;
    background: #b77cff !important;
    content: "" !important;
    transform: translateY(-50%) !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.15 7-13a7 7 0 1 0-14 0c0 6.85 7 13 7 13Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat !important;
  }
}

/* Live uses the same canonical mobile Next Gig composition as Home. */
@media (max-width: 760px) {
  /* Canonical card width: Home and Live must use the same mobile geometry. */
  .next-gig-row > :is([data-home-next-gig], #next-gig) {
    width: min(calc(100% - 28px), 440px) !important;
    max-width: 440px !important;
    margin-inline: auto !important;
  }

  /* .next-gig-row is the .wrap inside .home-next-date, so copying the
     section's 68px/52px padding here applied it twice on both pages: 156px
     of space above "Next gig" on Home and 136px under Live's page header.
     The section padding alone gives the same rhythm as the other sections. */
  .next-gig-row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .next-gig-row :is([data-home-next-gig], #next-gig) {
    width: min(calc(100% - 28px), 440px) !important;
    max-width: 440px !important;
    margin-inline: auto !important;
  }

  .next-gig-row .next-gig {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    grid-template-areas: "date main" "utility utility" !important;
    gap: 0 16px !important;
    min-height: 0 !important;
    padding: 18px 16px 16px !important;
    border-radius: 17px !important;
  }

  .next-gig-row .next-gig-date {
    grid-area: date !important;
    align-self: stretch !important;
    justify-content: center !important;
    gap: 2px !important;
    padding: 2px 14px 2px 0 !important;
    border-right: 1px solid rgba(207, 166, 255, 0.27) !important;
  }

  .next-gig-row .next-gig-day {
    font-size: 2.4rem !important;
    line-height: 0.94 !important;
  }

  .next-gig-row .next-gig-main {
    grid-area: main !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 2px 0 !important;
    border: 0 !important;
  }

  .next-gig-row .next-gig-venue {
    font-size: 1.38rem !important;
    line-height: 1.08 !important;
  }

  .next-gig-row .next-gig-loc-row::before {
    display: block !important;
    width: 16px !important;
    height: 19px !important;
    flex: 0 0 16px !important;
    background: #b77cff !important;
    content: "" !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.15 7-13a7 7 0 1 0-14 0c0 6.85 7 13 7 13Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat !important;
  }

  .next-gig-row .next-gig-utility {
    grid-area: utility !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.18fr) minmax(132px, 0.82fr) !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 16px !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid rgba(207, 166, 255, 0.16) !important;
  }

  .next-gig-row .next-gig-status {
    display: grid !important;
    grid-template-columns: 29px minmax(0, 1fr) !important;
    grid-template-areas: "icon label" "icon value" !important;
    align-content: center !important;
    column-gap: 9px !important;
    row-gap: 3px !important;
    min-height: 96px !important;
    margin: 0 !important;
    padding: 11px !important;
    border-radius: 12px !important;
  }

  .next-gig-row .next-gig-status::before {
    display: block !important;
    grid-area: icon !important;
    width: 26px !important;
    height: 26px !important;
    background: #bc83ff !important;
    content: "" !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5.5' width='16' height='15' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3.5v4M16 3.5v4M4 10h16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
      center/contain no-repeat !important;
  }

  .next-gig-row .next-gig-status-label {
    grid-area: label !important;
    font-size: 0.61rem !important;
    letter-spacing: 0.1em !important;
  }

  .next-gig-row .next-gig-countdown {
    grid-area: value !important;
    font-size: 0.79rem !important;
    line-height: 1.28 !important;
    white-space: normal !important;
    text-align: left !important;
  }

  .next-gig-row .next-gig-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    width: 100% !important;
    gap: 7px !important;
    margin: 0 !important;
  }

  .next-gig-row .next-gig-actions .button,
  .next-gig-row .next-gig-actions .gig-dir {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 9px 31px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 11px !important;
    font-size: 0.69rem !important;
    line-height: 1.08 !important;
    letter-spacing: 0.025em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .next-gig-row .next-gig-actions .button::after,
  .next-gig-row .next-gig-actions .gig-dir::after {
    position: absolute !important;
    right: 9px !important;
    top: 50% !important;
    width: 16px !important;
    height: 11px !important;
    margin: 0 !important;
    background: currentColor !important;
    content: "" !important;
    transform: translateY(-50%) !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M1 7h16M12 2l5 5-5 5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center/contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M1 7h16M12 2l5 5-5 5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center/contain no-repeat !important;
  }

  .next-gig-row .next-gig-actions .gig-dir::before {
    position: absolute !important;
    left: 9px !important;
    top: 50% !important;
    width: 13px !important;
    height: 16px !important;
    margin: 0 !important;
    background: #b77cff !important;
    content: "" !important;
    transform: translateY(-50%) !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.15 7-13a7 7 0 1 0-14 0c0 6.85 7 13 7 13Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='black'/%3E%3C/svg%3E")
      center/contain no-repeat !important;
  }
}

@media (max-width: 420px) {
  .home-next-date > .next-gig-row {
    width: min(calc(100% - 24px), 396px);
    max-width: 396px;
  }
  .home-next-date :is([data-home-next-gig], #next-gig) {
    width: min(calc(100% - 24px), 396px) !important;
  }

  .home-next-date .next-gig {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 0 13px !important;
    padding: 17px 14px 15px !important;
  }

  .home-next-date .next-gig-date {
    padding-right: 11px !important;
  }
  .home-next-date .next-gig-venue {
    font-size: 1.28rem !important;
  }
  .home-next-date .next-gig-loc {
    font-size: 0.84rem !important;
    line-height: 1.35 !important;
  }
  .home-next-date .next-gig-time {
    font-size: 0.88rem !important;
  }

  .home-next-date .next-gig-utility {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding-top: 13px !important;
  }

  .home-next-date .next-gig-status {
    min-height: 72px !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    padding: 10px 12px !important;
  }

  .home-next-date .next-gig-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    gap: 8px !important;
  }

  .home-next-date .next-gig-actions .button,
  .home-next-date .next-gig-actions .gig-dir {
    min-height: 46px !important;
    padding: 9px 29px !important;
    font-size: 0.67rem !important;
    white-space: normal !important;
  }

  .home-next-date .next-gig-countdown {
    font-size: 0.78rem !important;
    overflow-wrap: anywhere !important;
  }
}

/* Keep Live's shared card geometry aligned below 420px too. */
@media (max-width: 420px) {
  .next-gig-row > .next-gig-row {
    width: min(calc(100% - 24px), 396px);
    max-width: 396px;
  }
  .next-gig-row :is([data-home-next-gig], #next-gig) {
    width: min(calc(100% - 24px), 396px) !important;
  }

  .next-gig-row .next-gig {
    grid-template-columns: 62px minmax(0, 1fr) !important;
    gap: 0 13px !important;
    padding: 17px 14px 15px !important;
  }

  .next-gig-row .next-gig-date {
    padding-right: 11px !important;
  }
  .next-gig-row .next-gig-venue {
    font-size: 1.28rem !important;
  }
  .next-gig-row .next-gig-loc {
    font-size: 0.84rem !important;
    line-height: 1.35 !important;
  }
  .next-gig-row .next-gig-time {
    font-size: 0.88rem !important;
  }

  .next-gig-row .next-gig-utility {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding-top: 13px !important;
  }

  .next-gig-row .next-gig-status {
    min-height: 72px !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    padding: 10px 12px !important;
  }

  .next-gig-row .next-gig-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    gap: 8px !important;
  }

  .next-gig-row .next-gig-actions .button,
  .next-gig-row .next-gig-actions .gig-dir {
    min-height: 46px !important;
    padding: 9px 29px !important;
    font-size: 0.67rem !important;
    white-space: normal !important;
  }

  .next-gig-row .next-gig-countdown {
    font-size: 0.78rem !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 350px) {
  .home-next-date .next-gig-actions {
    grid-template-columns: 1fr !important;
  }
  .home-next-date .next-gig-actions .button,
  .home-next-date .next-gig-actions .gig-dir {
    font-size: 0.7rem !important;
  }
}

@media (max-width: 350px) {
  .next-gig-row .next-gig-actions {
    grid-template-columns: 1fr !important;
  }
  .next-gig-row .next-gig-actions .button,
  .next-gig-row .next-gig-actions .gig-dir {
    font-size: 0.7rem !important;
  }
}

@media (max-width: 760px) {
  .next-gig-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .next-gig-actions .button,
  .next-gig-actions .gig-dir {
    min-height: 46px;
    padding: 10px 9px;
    box-sizing: border-box;
    border: 1px solid rgba(207, 166, 255, 0.36);
    border-radius: 10px;
    text-align: center;
  }
  .next-gig-actions .button {
    background: rgba(183, 140, 255, 0.38);
    border-color: rgba(207, 166, 255, 0.78);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
  }
  .next-gig-actions .gig-dir {
    background: rgba(48, 35, 68, 0.9);
    border-color: rgba(207, 166, 255, 0.5);
    font:
      800 0.78rem/1.15 "Barlow Condensed",
      sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
  }
  .next-gig-actions .gig-dir::after {
    display: none !important;
  }
}

.next-gig-is-live .next-gig-status {
  border-color: rgba(255, 103, 110, 0.66);
  background: rgba(255, 74, 82, 0.11);
}
.next-gig-is-live .next-gig-status-label {
  color: #ff8a8f;
}
.next-gig-is-live .next-gig-status-label::before {
  background: #ff5962;
}
@keyframes nightshift-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 74, 82, 0.58);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 74, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 74, 82, 0);
  }
}

/* Keep the shared Next Gig card within the intended desktop reading width. */
@media (min-width: 761px) {
  .next-gig-row > :is([data-home-next-gig], #next-gig) {
    width: min(100%, 922px) !important;
    max-width: 922px !important;
    margin-inline: auto !important;
  }

  .next-gig-row .next-gig {
    max-width: 922px !important;
    margin-inline: auto !important;
  }
}

