/* Quiet instrument trim; all readouts here are decorative. */
.ah-event-directory {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 24px;
  padding: 8px 12px;
  border-block: 1px solid var(--ah-line);
  color: var(--ah-soft);
  font: 10px/1.5 var(--ah-mono);
  letter-spacing: .08em;
  pointer-events: none;
  user-select: none;
}
.ah-directory-ruler {
  flex: 1;
  min-width: 20px;
  height: 7px;
  border-bottom: 1px solid var(--ah-line);
  background: repeating-linear-gradient(90deg, var(--ah-soft) 0 1px, transparent 1px 10px) bottom / 100% 3px no-repeat;
  opacity: .4;
}
.ah-directory-mark {
  width: 24px;
  height: 8px;
  border-inline: 1px solid var(--ah-soft);
  background: repeating-linear-gradient(90deg, var(--ah-soft) 0 3px, transparent 3px 6px) center / 14px 3px no-repeat;
  opacity: .5;
}

.ah-event-stamp {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 20px;
  padding: 6px 8px;
  border: 1px dashed var(--ah-line);
  color: var(--ah-soft);
  font: 10px/1.6 var(--ah-mono);
  letter-spacing: .025em;
  overflow-wrap: anywhere;
  pointer-events: none;
  transform: rotate(-1deg);
}
.ah-detail-copy > .ah-event-stamp,
.ah-home-event-copy > .ah-event-stamp { margin: 0 0 18px; }

.ah-customer-system.ah-body .ah-main :is(.ah-event-card, .ah-home-event-card) {
  position: relative;
  overflow: visible;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  margin-bottom: 12px;
}
.ah-customer-system.ah-body .ah-main .ah-event-card .ah-event-art {
  border-radius: 3px 3px 0 0 !important;
}
.ah-customer-system.ah-body .ah-main .ah-event-card .ah-event-photo {
  border-radius: 0;
}
.ah-customer-system.ah-body .ah-main :is(.ah-event-info, .ah-home-event-copy, .ah-detail-below) {
  position: relative;
  background-image: radial-gradient(circle, var(--ah-line) .45px, transparent .8px), radial-gradient(circle, var(--ah-line) .35px, transparent .7px);
  background-size: 5px 7px, 9px 11px;
  background-position: 0 0, 3px 4px;
}
.ah-customer-system.ah-body .ah-main :is(.ah-event-card, .ah-home-event-card)::after {
  content: "";
  position: absolute;
  inset: auto -1px -11px;
  height: 12px;
  background: var(--ah-surface);
  pointer-events: none;
  /* Uneven fibres, rather than a repeating ticket zigzag. */
  clip-path: polygon(0 0, 100% 0, 100% 42%, 97% 70%, 94% 38%, 91% 82%, 87% 54%, 84% 94%, 79% 48%, 75% 68%, 71% 34%, 67% 80%, 63% 46%, 59% 90%, 55% 58%, 51% 74%, 47% 30%, 44% 68%, 40% 44%, 36% 96%, 32% 54%, 28% 76%, 23% 42%, 19% 88%, 15% 56%, 11% 72%, 7% 36%, 3% 80%, 0 52%);
}
.ah-customer-system.ah-body .ah-main .ah-event-card:nth-child(3n+2)::after {
  transform: scaleX(-1);
}
.ah-customer-system.ah-body .ah-main .ah-event-file .ah-detail { overflow: hidden; border-radius: var(--ah-radius-panel) var(--ah-radius-panel) 0 0; }
.ah-main .ah-event-file .ah-detail-below { padding-bottom: 40px; border-radius: 0 0 var(--ah-radius-panel) var(--ah-radius-panel); border-top: 1px solid var(--ah-line); background-color: var(--ah-surface); }
@media (forced-colors: active) {
  .ah-event-stamp { border-color: CanvasText; color: CanvasText; }
  .ah-customer-system.ah-body .ah-main :is(.ah-event-info, .ah-home-event-copy, .ah-detail-below) { background-image: none; }
  .ah-customer-system.ah-body .ah-main :is(.ah-event-card, .ah-home-event-card)::after,
  .ah-main .ah-event-file .ah-detail-below::after { display: none; }
}

/* ==========================================================================
   Cinema Poster Gallery: Events Directory (Apple Inc. 4:5 Proportion)
   3-Column Desktop / 2-Column Tablet / 1-Column Mobile
   ========================================================================== */
.ah-event-index {
  max-width: 1180px;
  margin-inline: auto;
  padding-block: 24px 80px;
}

.ah-main .ah-event-index .ah-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ah-main .ah-event-index .ah-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .ah-main .ah-event-index .ah-event-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- Apple TV+ Featured Spotlight Banner --- */
.tp-featured-spotlight {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(13, 14, 18, 0.94);
  border: 1px solid rgba(229, 227, 218, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  margin: 0 0 36px 0;
  isolation: isolate;
  transition: border-color 0.25s ease, box-shadow 0.35s ease;
}

.tp-featured-spotlight:hover {
  border-color: rgba(229, 227, 218, 0.24);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tp-spotlight-backdrop {
  position: absolute;
  inset: -25%;
  background-size: cover;
  background-position: center;
  filter: blur(54px) brightness(0.32) saturate(160%);
  transform: scale(1.15);
  pointer-events: none;
  z-index: 1;
  opacity: 0.88;
}

/* Spotlight Corner Brackets */
.tp-featured-spotlight .re-bracket {
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 5;
  border-color: rgba(229, 227, 218, 0.32);
  border-style: solid;
}
.tp-featured-spotlight .re-bracket--tl {
  top: 8px;
  left: 8px;
  border-width: 1.5px 0 0 1.5px;
}
.tp-featured-spotlight .re-bracket--tr {
  top: 8px;
  right: 8px;
  border-width: 1.5px 1.5px 0 0;
}
.tp-featured-spotlight .re-bracket--bl {
  bottom: 8px;
  left: 8px;
  border-width: 0 0 1.5px 1.5px;
}
.tp-featured-spotlight .re-bracket--br {
  bottom: 8px;
  right: 8px;
  border-width: 0 1.5px 1.5px 0;
}

.tp-spotlight-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  padding: 28px 32px;
  align-items: center;
}

.tp-spotlight-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #07080a;
}

.tp-spotlight-poster-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.tp-spotlight-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tp-spotlight-visual:hover .tp-spotlight-poster-img {
  transform: scale(1.035);
}

.tp-spotlight-poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14151a;
  color: #8e8d85;
  font-family: var(--ah-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.tp-spotlight-poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(10, 11, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  pointer-events: none;
}

.tp-spotlight-day {
  font-family: var(--ah-display);
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.tp-spotlight-month {
  font-family: var(--ah-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #d4d2c7;
  text-transform: uppercase;
  margin-top: 1px;
}

.tp-spotlight-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.tp-spotlight-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tp-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--ah-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tp-spotlight-genre {
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(229, 227, 218, 0.06);
  border: 1px solid rgba(229, 227, 218, 0.14);
  color: #b8b6aa;
  font-family: var(--ah-mono);
  font-size: 10.5px;
  font-weight: 600;
}

.tp-spotlight-status {
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: #34d399;
  font-family: var(--ah-mono);
  font-size: 10.5px;
  font-weight: 700;
}

.tp-spotlight-title {
  font-family: var(--ah-display);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 0;
}

.tp-spotlight-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.18s ease;
}

.tp-spotlight-title a:hover {
  color: #e5e3da;
}

.tp-spotlight-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2px;
}

.tp-spotlight-detail-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ah-mono);
  font-size: 12.5px;
  color: #b8b6aa;
}

.tp-spotlight-icon {
  color: #8e8d85;
  flex-shrink: 0;
}

.tp-spotlight-desc {
  font-family: var(--ah-text);
  font-size: 14px;
  line-height: 1.6;
  color: #a1a1aa;
  margin: 0;
  max-width: 65ch;
}

.tp-spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 6px;
}

.tp-spotlight-price-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tp-spotlight-price-label {
  font-family: var(--ah-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #8e8d85;
  text-transform: uppercase;
}

.tp-spotlight-price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tp-spotlight-currency {
  font-family: var(--ah-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.tp-spotlight-amount {
  font-family: var(--ah-display);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.tp-spotlight-price-note {
  font-family: var(--ah-text);
  font-size: 12px;
  color: #8e8d85;
  margin-left: 2px;
}

.tp-spotlight-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 980px;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #000000;
  font-family: var(--ah-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.22);
  transition: background-color 0.16s ease, transform 0.15s ease, box-shadow 0.16s ease;
  user-select: none;
}

.tp-spotlight-cta-btn:hover {
  background: #f0f0f0;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.tp-spotlight-cta-btn:active {
  transform: scale(0.97);
}

/* --- Apple TV+ Floating Glass Poster Card (4:5 Ratio) --- */
.ah-event-card--cinema {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: rgba(13, 14, 18, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(229, 227, 218, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.35s ease;
}

.ah-event-card--cinema:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 227, 218, 0.28);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.ah-customer-system .ah-main .ah-event-index .ah-event-card--cinema {
  background: var(--ah-customer-card-surface);
}

/* Fluid Interface: Immediate press feedback on pointer-down */
.ah-event-card--cinema:active {
  transform: scale(0.98);
  transition: transform 100ms ease-out;
}

/* Cinema Card Corner Brackets */
.ah-event-card--cinema .re-bracket {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
  z-index: 5;
  border-color: rgba(229, 227, 218, 0.28);
  border-style: solid;
}
.ah-event-card--cinema .re-bracket--tl {
  top: 6px;
  left: 6px;
  border-width: 1.5px 0 0 1.5px;
}
.ah-event-card--cinema .re-bracket--tr {
  top: 6px;
  right: 6px;
  border-width: 1.5px 1.5px 0 0;
}
.ah-event-card--cinema .re-bracket--bl {
  bottom: 6px;
  left: 6px;
  border-width: 0 0 1.5px 1.5px;
}
.ah-event-card--cinema .re-bracket--br {
  bottom: 6px;
  right: 6px;
  border-width: 0 1.5px 1.5px 0;
}

/* 4:5 Poster Visual Stage (Ambient Frosted Backdrop) */
.ah-event-poster-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #07080a;
}

.ah-event-poster-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.ah-event-backdrop-blur {
  position: absolute;
  inset: -14%;
  width: 128%;
  height: 128%;
  object-fit: cover;
  filter: blur(28px) brightness(0.4) saturate(150%);
  transform: scale(1.1);
  pointer-events: none;
  z-index: 1;
}

.ah-event-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.58) 100%);
  box-sizing: border-box;
  padding: 6px;
}

.ah-event-poster-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-event-card--cinema:hover .ah-event-poster-img {
  transform: scale(1.03);
}

.ah-event-poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14151a;
  color: #8e8d85;
  font-family: var(--ah-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* Floating Glass Badges on 4:5 Poster */
.ah-poster-top-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 4;
  pointer-events: none;
}

.ah-date-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(10, 11, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  line-height: 1.1;
}

.ah-date-day {
  font-family: var(--ah-display);
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.ah-date-month {
  font-family: var(--ah-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #b8b6aa;
  text-transform: uppercase;
}

.ah-cat-tag {
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(10, 11, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e5e3da;
  font-family: var(--ah-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.ah-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(212, 163, 115, 0.2);
  border: 1px solid rgba(212, 163, 115, 0.45);
  color: #d4a373;
  font-family: var(--ah-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ah-featured-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4a373;
  box-shadow: 0 0 6px #d4a373;
}

/* Card Body & Apple Typography */
body.ah-customer-system .ah-main .ah-event-card--cinema .ah-event-card-body,
body.ah-customer-system .ah-main :is(.ah-event-card--cinema) .ah-event-card-body,
.ah-main .ah-event-card--cinema .ah-event-card-body,
.ah-event-card--cinema .ah-event-card-body,
.ah-event-card-body {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 18px 20px 20px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  flex-grow: 1 !important;
  box-sizing: border-box !important;
}

.ah-poster-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ah-poster-index {
  font-family: var(--ah-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8e8d85;
}

.ah-poster-status-tag {
  font-family: var(--ah-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: #34d399;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 980px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.ah-event-poster-title {
  margin: 0;
  font-family: var(--ah-display);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.015em;
}

.ah-event-poster-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.16s ease;
}

.ah-event-poster-title a:hover {
  color: #e5e3da;
}

.ah-poster-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}

.ah-poster-detail-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ah-mono);
  font-size: 12px;
  line-height: 1.5;
  color: #b8b6aa;
}

.ah-poster-detail-item svg {
  flex-shrink: 0;
  color: #8e8d85;
}

.ah-event-poster-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ah-poster-price-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ah-poster-price-label {
  font-family: var(--ah-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: #8e8d85;
}

.ah-poster-price-val {
  font-family: var(--ah-display);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.ah-poster-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--ah-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.ah-poster-cta-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.ah-poster-cta-btn:active {
  transform: scale(0.96);
}

/* Spotlight Responsive Layout */
@media (max-width: 1023px) {
  .tp-spotlight-inner {
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 22px 24px;
  }
}

@media (max-width: 767px) {
  .tp-featured-spotlight {
    border-radius: var(--tp-radius-card, 20px);
    margin-bottom: 28px;
  }
  .tp-spotlight-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }
  .tp-spotlight-visual {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }
  .tp-spotlight-title {
    font-size: clamp(20px, 5vw, 24px);
  }
  .tp-spotlight-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .tp-spotlight-cta-btn {
    width: 100%;
    min-height: var(--tp-tap-target, 44px);
  }
}
    align-items: stretch;
    gap: 14px;
  }
  .tp-spotlight-cta-btn {
    width: 100%;
    min-height: 48px;
  }
}

/* --- Apple Inc. Events Editorial Hero Header & Bento Chassis --- */
.tp-events-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  min-height: 44px;
  border-radius: 980px;
  background: rgba(229, 227, 218, 0.06);
  border: 1px solid rgba(229, 227, 218, 0.14);
  color: #b8b6aa;
  font-family: var(--ah-mono, -apple-system, monospace);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-bottom: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.tp-events-back-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(229, 227, 218, 0.32);
  transform: translateX(-2px);
}

.tp-events-back-pill:active {
  transform: scale(0.96) translateX(-2px);
}

.tp-pill-arrow-back {
  font-size: 13px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.tp-events-back-pill:hover .tp-pill-arrow-back {
  transform: translateX(-2px);
}

body.ah-customer-system .ah-main .ah-event-index .ah-section-head.tp-events-header.tp-events-header-chassis,
.ah-event-index .ah-section-head.tp-events-header.tp-events-header-chassis,
.tp-events-header.tp-events-header-chassis {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 24px !important;
  background: rgba(13, 14, 18, 0.96) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid rgba(229, 227, 218, 0.14) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  padding: clamp(24px, 4vw, 36px) !important;
  margin-top: 8px !important;
  margin-bottom: 32px !important;
}

.tp-events-chassis-top {
  margin-bottom: 24px;
}

.tp-events-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1;
}

.tp-events-badge-row .tp-radar-dot-pulse {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50%;
  background: #22c55e !important;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7) !important;
  flex-shrink: 0;
  margin: 0 !important;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-1px);
  animation: ahPulseDot 2.4s infinite;
}

.tp-events-badge-row .ah-eyebrow,
.tp-events-badge-row .tp-event-eyebrow {
  font-family: var(--ah-mono) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: #8e8d85 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
}

/* Eliminate duplicate pseudo-element dot from legacy afterhours.css */
.ah-event-index .tp-events-badge-row .ah-eyebrow::before,
.tp-events-header .ah-eyebrow::before {
  display: none !important;
  content: none !important;
}

@keyframes ahPulseDot {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.ah-event-index .ah-title-row,
.tp-events-header .ah-title-row,
.tp-events-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  min-width: 0 !important;
  margin-bottom: 8px !important;
}

.tp-events-main-title {
  margin: 0;
  font-family: var(--ah-display, -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.tp-events-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: 980px;
  background: rgba(229, 227, 218, 0.08);
  border: 1px solid rgba(229, 227, 218, 0.16);
  color: #e5e3da;
  font-family: var(--ah-mono, -apple-system, monospace);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.tp-events-subtitle {
  font-family: var(--ah-text, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 15px;
  line-height: 1.6;
  color: #a1a1aa;
  margin: 10px 0 0 0;
  max-width: 58ch;
}

@media (max-width: 640px) {
  .ah-event-index .ah-section-head.tp-events-header.tp-events-header-chassis,
  .tp-events-header.tp-events-header-chassis {
    padding: 20px 18px !important;
    border-radius: 18px !important;
    margin-bottom: 24px !important;
  }
  .tp-events-back-pill {
    margin-bottom: 16px;
  }
  .tp-events-main-title {
    font-size: clamp(24px, 6.5vw, 32px);
  }
  .tp-events-header .ah-title-row {
    gap: 8px 10px !important;
  }
}

/* Filter Console - Integrated Inside Apple Bento Chassis */
.tp-filter-tools.tp-events-filter-dock {
  margin: 24px 0 0 0 !important;
  padding: 20px 0 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  box-sizing: border-box;
}

.tp-filters-console,
.ah-main .ah-event-index .tp-filters-console {
  position: relative;
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  margin: 0 !important;
}

/* Remove all clashing .re-bracket accents across Apple Bento layout */
.re-bracket,
.tp-filters-console .re-bracket,
.tp-featured-spotlight .re-bracket,
.ah-event-card--cinema .re-bracket {
  display: none !important;
}

/* Tier 1: Search & Action Dock */
.tp-filter-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.tp-filter-search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 44px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(229, 227, 218, 0.14);
  padding: 0 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

.tp-filter-search-box:focus-within {
  border-color: rgba(229, 227, 218, 0.35);
  box-shadow: 0 0 0 3px rgba(229, 227, 218, 0.08);
  background: rgba(10, 10, 14, 0.85);
}

.tp-search-icon,
.tp-search-svg {
  font-size: 15px;
  color: #8e8d85;
  margin-right: 8px;
  flex-shrink: 0;
  user-select: none;
}

.tp-search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: var(--ah-text, system-ui, sans-serif);
  font-size: 13.5px;
  padding: 0;
  height: 100%;
  outline: none;
  min-width: 0;
}

.tp-search-input::placeholder {
  color: #71717a;
}

.tp-search-clear {
  color: #8e8d85;
  text-decoration: none;
  font-size: 13px;
  padding: 4px 6px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.tp-search-clear:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.tp-filter-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 20px;
  height: 44px;
  min-height: 44px;
  border-radius: 980px;
  background: rgba(229, 227, 218, 0.08);
  border: 1px solid rgba(229, 227, 218, 0.18);
  color: #e5e3da;
  font-family: var(--ah-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
  box-sizing: border-box;
}

.tp-filter-submit-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.tp-filter-submit-btn:active {
  transform: scale(0.96);
}

.tp-btn-arrow {
  font-size: 12px;
  transition: transform 0.18s ease;
}

.tp-filter-submit-btn:hover .tp-btn-arrow {
  transform: translate(1px, -1px);
}

/* Tier 2: Tactical Racks Row */
.tp-filter-racks-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
}

.tp-filter-rack-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tp-filter-rack-header {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
  user-select: none;
}

.tp-filter-rack-tag {
  font-family: var(--ah-mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8e8d85;
}

.tp-filter-rack-sub {
  font-size: 10px;
  color: #55555c;
  font-family: var(--ah-text, system-ui, sans-serif);
}

/* Apple Segmented Bar (Inventory Rails) */
.tp-filter-segmented-bar {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(229, 227, 218, 0.12);
  gap: 2px;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.tp-filter-segmented-bar::-webkit-scrollbar {
  display: none;
}

.tp-seg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  min-height: 32px;
  border-radius: 980px;
  font-family: var(--ah-mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8e8d85;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.1s ease;
  box-sizing: border-box;
}

.tp-seg-btn:hover {
  color: #e5e3da;
  background: rgba(229, 227, 218, 0.06);
}

.tp-seg-btn:active {
  transform: scale(0.96);
}

.tp-seg-btn.is-active {
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Radar pulse indicator */
.tp-radar-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  display: inline-block;
  flex-shrink: 0;
}

/* Tablet & Mobile Layout Adaptations */
@media (max-width: 1023px) {
  .tp-filter-tools,
  .tp-filter-tools.tp-events-filter-dock {
    margin: 20px 0 0 0 !important;
    padding: 16px 0 0 0 !important;
  }
  .tp-filters-console,
  .ah-main .ah-event-index .tp-filters-console {
    padding: 0 !important;
    gap: 14px;
  }
  .tp-filter-racks-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .tp-filter-rack-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }
  .tp-filter-segmented-bar {
    width: 100%;
    padding: 4px;
    background: rgba(0, 0, 0, 0.55);
  }
}

@media (max-width: 767px) {
  .tp-filter-tools,
  .tp-filter-tools.tp-events-filter-dock {
    margin: 16px 0 0 0 !important;
    padding: 14px 0 0 0 !important;
  }
  .tp-filters-console,
  .ah-main .ah-event-index .tp-filters-console {
    padding: 0 !important;
    gap: 12px;
    border-radius: 0 !important;
  }
  .tp-filter-search-row {
    gap: 8px;
  }
  .tp-filter-search-box {
    height: 42px;
    padding: 0 12px;
  }
  .tp-search-input {
    font-size: 13px;
  }
  .tp-filter-submit-btn {
    height: 44px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .tp-seg-btn {
    padding: 8px 16px;
    min-height: 44px;
    font-size: 12px;
  }
  .ah-poster-cta-btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .ah-main .ah-event-index {
    padding-inline: 10px;
  }
  .tp-events-header.tp-events-header-chassis {
    padding: 16px 12px;
  }
  .tp-spotlight-inner {
    padding: 12px;
  }
  .ah-event-card-body {
    padding: 14px 12px;
  }
  .ah-poster-cta-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Pagination & Empty States */
.tp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.tp-page-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 980px;
  background: #0d0e12;
  border: 1px solid rgba(229, 227, 218, 0.16);
  color: #e5e3da;
  font-family: var(--ah-mono);
  font-size: 12px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tp-page-nav-btn:hover {
  background: #ffffff;
  color: #000000;
}

.tp-page-status {
  font-family: var(--ah-mono);
  font-size: 12px;
  color: #8e8d85;
  letter-spacing: 0.08em;
}

.tp-empty-state {
  text-align: center;
  padding: 64px 24px;
  border-radius: 20px;
  background: #0d0e12;
  border: 1px solid rgba(229, 227, 218, 0.10);
  margin-top: 24px;
}

.tp-empty-icon {
  font-size: 36px;
  color: #8e8d85;
  display: block;
  margin-bottom: 12px;
}
