/* Every --rnd-* custom property is declared here; components only read them.
   The wrapper carries the site theme (the plugin's inline style beats these defaults) and the
   light card palette. The hero re-declares only its dark surfaces: re-declaring tint or accent
   there would shadow the wrapper's inline theme. */
.rnd-event-page {
  --rnd-tint: #0f0f0f;
  --rnd-accent: #e8622a;
  --rnd-accent-fg: #fff;
  --rnd-accent-dim: color-mix(in srgb, var(--rnd-accent) 12%, transparent);

  --rnd-card-bg: color-mix(in srgb, var(--rnd-tint) 4%, #fff);
  --rnd-surface-2: color-mix(in srgb, var(--rnd-tint) 8%, #fff);
  --rnd-border: color-mix(in srgb, var(--rnd-tint) 18%, #fff);
  --rnd-text: color-mix(in srgb, var(--rnd-tint) 85%, #000);
  --rnd-text-muted: color-mix(in srgb, var(--rnd-tint) 45%, #fff);
}

.rnd-event-hero {
  --rnd-bg: #0f0f0f;
  --rnd-surface: #1a1a1a;
  --rnd-surface-2: #222;
  --rnd-border: #2a2a2a;
  --rnd-text: #fbf5f3;
  --rnd-text-muted: #777;
}

/* ─── Island nav: rendered by the site's layout, outside the themed wrapper, so no --rnd-* reads ─── */

.rnd-islands {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(0.875rem + env(safe-area-inset-top, 0px)) 1.5rem 0.875rem;
  pointer-events: none;
}

.rnd-islands__end {
  display: flex;
  gap: 0.625rem;
  margin-inline-start: auto;
}

.rnd-island {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 2.375rem;
  height: 2.375rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}
.rnd-island:hover {
  background: rgba(26, 26, 26, 0.85);
}
.rnd-island:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.rnd-island__icon {
  width: 0.9375rem;
  height: 0.9375rem;
}

/* ─── Share modal ─── */

.rnd-share {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  visibility: hidden;
  transition: visibility 0s linear 0.2s;
}
.rnd-share.is-open {
  visibility: visible;
  transition-delay: 0s;
}

.rnd-share__scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--rnd-tint) 55%, transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.rnd-share.is-open .rnd-share__scrim {
  opacity: 1;
}

.rnd-share__panel {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 24rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--rnd-text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.rnd-share.is-open .rnd-share__panel {
  opacity: 1;
  transform: none;
}

.rnd-share__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.rnd-share__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.rnd-share__close {
  padding: 0 0.25rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--rnd-text-muted);
  cursor: pointer;
}

.rnd-share__copy-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rnd-share__url {
  flex: 1;
  min-width: 0;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--rnd-border);
  border-radius: 0.5rem;
  background: var(--rnd-card-bg);
  color: var(--rnd-text);
  font: inherit;
  font-size: 0.8125rem;
}

.rnd-share__copy {
  padding: 0.625rem 0.875rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--rnd-accent);
  color: var(--rnd-accent-fg);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.rnd-share__channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.rnd-share__channel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid var(--rnd-border);
  border-radius: 0.5rem;
  background: var(--rnd-card-bg);
  color: var(--rnd-text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.rnd-share__channel:hover {
  background: var(--rnd-surface-2);
}
.rnd-share__channel:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.rnd-share__close:focus-visible,
.rnd-share__url:focus-visible,
.rnd-share__copy:focus-visible,
.rnd-share__channel:focus-visible {
  outline: 2px solid var(--rnd-accent);
  outline-offset: 2px;
}

.rnd-cards {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 0;
}

.rnd-card {
  background: var(--rnd-card-bg);
  border-bottom: 1px solid var(--rnd-border);
}
.rnd-card:first-child {
  border-top: 1px solid var(--rnd-border);
}

.rnd-card__trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rnd-text);
  cursor: pointer;
  text-align: start;
  list-style: none;
}
.rnd-card__trigger::-webkit-details-marker {
  display: none;
}
.rnd-card__trigger:hover {
  opacity: 0.75;
}

.rnd-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--rnd-surface-2);
  border: 1px solid var(--rnd-border);
}
.rnd-card__icon::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: var(--rnd-accent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.rnd-card__icon--ticket::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v2z'/%3E%3C/svg%3E");
}
.rnd-card__icon--bag::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
}
.rnd-card__icon--map::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='3 6 9 3 15 6 21 3 21 18 15 21 9 18 3 21'/%3E%3Cline x1='9' y1='3' x2='9' y2='18'/%3E%3Cline x1='15' y1='6' x2='15' y2='21'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='3 6 9 3 15 6 21 3 21 18 15 21 9 18 3 21'/%3E%3Cline x1='9' y1='3' x2='9' y2='18'/%3E%3Cline x1='15' y1='6' x2='15' y2='21'/%3E%3C/svg%3E");
}
.rnd-card__icon--hand::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 11V6a2 2 0 0 0-4 0v0M14 10V4a2 2 0 0 0-4 0v2M10 10.5V6a2 2 0 0 0-4 0v8M6 14l-1.6-1.6a2 2 0 0 0-2.8 2.8L7 21h8a6 6 0 0 0 6-6V8a2 2 0 0 0-4 0v3'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 11V6a2 2 0 0 0-4 0v0M14 10V4a2 2 0 0 0-4 0v2M10 10.5V6a2 2 0 0 0-4 0v8M6 14l-1.6-1.6a2 2 0 0 0-2.8 2.8L7 21h8a6 6 0 0 0 6-6V8a2 2 0 0 0-4 0v3'/%3E%3C/svg%3E");
}
.rnd-card__icon--heart::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}
.rnd-card__icon--star::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
}

.rnd-card__label {
  flex: 1;
}

.rnd-card__chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--rnd-text-muted);
  transition: transform 0.2s ease;
}

.rnd-card[open] .rnd-card__chevron {
  transform: rotate(180deg);
}

.rnd-card__body {
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.rnd-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--rnd-text-muted);
}

.rnd-card__detail {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rnd-border);
}
.rnd-card__detail:last-of-type {
  border-bottom: none;
}

.rnd-card__detail-label {
  color: var(--rnd-text-muted);
}

.rnd-card__detail-value {
  font-weight: 600;
  color: var(--rnd-text);
}

.rnd-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rnd-tint);
  text-decoration: none;
}
.rnd-card__link:hover {
  text-decoration: underline;
}

.rnd-card__picture {
  display: block;
  border-radius: 8px;
  overflow: hidden;
}

.rnd-card__img {
  display: block;
  width: 100%;
  height: auto;
}

.rnd-card__tier {
  padding: 0.875rem;
  background: var(--rnd-surface-2);
  border: 1px solid var(--rnd-border);
  border-radius: 8px;
}

.rnd-card__tier-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.rnd-card__tier-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rnd-text);
}

.rnd-card__tier-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rnd-accent);
  white-space: nowrap;
}

.rnd-card__tier-includes {
  margin: 0 0 0.375rem;
  font-size: 0.8rem;
  color: var(--rnd-text-muted);
}

.rnd-card__tier-perks {
  margin: 0;
  padding-left: 1.125rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rnd-card__tier-perk {
  font-size: 0.8375rem;
  color: var(--rnd-text-muted);
}

.rnd-card__tier-note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--rnd-text-muted);
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .rnd-cards {
    padding-inline: 0;
  }
}
.rnd-event-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--rnd-bg);
  color: var(--rnd-text);
}

.rnd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.rnd-hero-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(70%) brightness(110%) blur(2px);
  transform: scale(1.05);
}

.rnd-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--rnd-bg) 40%, transparent), var(--rnd-bg)), color-mix(in srgb, var(--rnd-tint) 85%, transparent);
}

.rnd-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem 1rem 2.5rem;
}

.rnd-poster-col {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
}

.rnd-poster {
  position: relative;
  width: 200px;
  aspect-ratio: 8/10;
  transform: rotate(-3deg);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
}

.rnd-poster-sheet {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
}

.rnd-poster-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rnd-tape {
  position: absolute;
  z-index: 3;
  width: 28px;
  height: 12px;
  background: rgba(230, 222, 200, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.rnd-tl {
  top: -3px;
  left: -12px;
  transform: rotate(-42deg);
}

.rnd-tr {
  top: -3px;
  right: -12px;
  transform: rotate(42deg);
}

.rnd-bl {
  bottom: -3px;
  left: -12px;
  transform: rotate(42deg);
}

.rnd-br {
  bottom: -3px;
  right: -12px;
  transform: rotate(-42deg);
}

.rnd-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.rnd-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

.rnd-category {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--rnd-accent-dim);
  color: var(--rnd-accent);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rnd-title {
  margin: 0;
  font-size: clamp(1.9rem, 7.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--rnd-text);
  overflow-wrap: break-word;
  text-wrap: balance;
}

.rnd-summary {
  margin: 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--rnd-text) 80%, transparent);
  white-space: pre-line;
}

.rnd-info-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  background: var(--rnd-surface);
  border: 1px solid var(--rnd-border);
  border-radius: 12px;
  text-align: start;
}

.rnd-info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rnd-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--rnd-surface-2);
  color: var(--rnd-accent);
}

.rnd-info-icon-svg {
  width: 16px;
  height: 16px;
}

.rnd-info-body {
  min-width: 0;
}

.rnd-info-text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--rnd-text);
}

.rnd-info-meta {
  margin: 0.125rem 0 0;
  font-size: 0.8125rem;
  color: var(--rnd-text-muted);
}

.rnd-divider {
  height: 1px;
  margin: 0;
  border: none;
  background: var(--rnd-border);
}

.rnd-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.rnd-rsvp-btn {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  background: var(--rnd-accent);
  color: var(--rnd-accent-fg);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.rnd-rsvp-btn:hover {
  filter: brightness(1.08);
}
.rnd-rsvp-btn:focus-visible {
  outline: 2px solid var(--rnd-text);
  outline-offset: 2px;
}

@media screen and (min-width: 420px) and (max-width: 768px) {
  .rnd-poster {
    width: 250px;
  }
}
@media screen and (min-width: 768px) {
  .rnd-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    max-width: 1100px;
    padding: 4rem 2rem;
  }
  .rnd-solo {
    grid-template-columns: minmax(0, 40rem);
    justify-content: center;
  }
  .rnd-content,
  .rnd-hero-content {
    align-items: flex-start;
    text-align: start;
  }
}
