/* Shared compact homepage rails — vouchers + tickets (Apple-soft) */
.home-rail {
  --hr-ink: #1d1d1f;
  --hr-foam: #f5f5f7;
  --hr-mute: #6e6e73;
  --hr-blue: #0071e3;
  --hr-blue-soft: #2997ff;
  --hr-curve: 999px;
  margin: 0 0 1rem;
  padding: 0.15rem 0 0.35rem;
  color: var(--hr-ink);
  overflow-x: clip;
}
.home-rail__inner {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr);
}
.home-rail__inner > * { min-width: 0; }
.home-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.home-rail__titles {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  min-width: 0;
}
.home-rail__eyebrow {
  margin: 0;
  padding: 0.2rem 0.55rem;
  border-radius: var(--hr-curve);
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.14);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hr-blue);
}
.home-rail__title {
  margin: 0;
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--hr-ink);
}
.home-rail__all {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--hr-curve);
  background: var(--hr-ink);
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}
.home-rail__all:hover { background: var(--hr-blue); }
.home-rail__all:active { transform: scale(0.98); }

.home-rail__scroller {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  margin: 0 -0.15rem;
  padding: 0.1rem 0.15rem;
  outline: none;
}
.home-rail__scroller::-webkit-scrollbar { display: none; }
.home-rail__scroller:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.45);
  border-radius: 16px;
}
.home-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.55rem;
  width: max-content;
  min-width: 100%;
}
.home-rail__list > li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.home-rail__hint {
  margin: 0;
  font-size: 0.75rem;
  color: var(--hr-mute);
}
.home-rail__hint span {
  color: var(--hr-ink);
  font-weight: 650;
}

.home-chip {
  --i: 0;
  width: min(16.5rem, 76vw);
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: 2.85rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.08);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(29, 29, 31, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  animation: home-chip-in 0.4s calc(var(--i) * 0.03s) ease both;
}
.home-chip:hover {
  border-color: rgba(0, 113, 227, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(29, 29, 31, 0.06);
}
.home-chip.is-copied {
  border-color: rgba(0, 113, 227, 0.45);
  background: #f0f7ff;
}
.home-chip__mark,
.home-chip__media {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  overflow: hidden;
  background: #f5f5f7;
  display: grid;
  place-items: center;
}
.home-chip__media {
  border-radius: 14px;
}
.home-chip__mark img,
.home-chip__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-chip__mark img {
  width: 62%;
  height: 62%;
  object-fit: contain;
}
.home-chip__initial {
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hr-blue);
}
.home-chip__body {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.home-chip__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hr-blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-chip__kicker--onsale { color: #b45309; }
.home-chip__kicker--announced { color: #0e8f8a; }
.home-chip__kicker--lineup { color: #5b4bc4; }
.home-chip__name {
  font-family: var(--font-body, Figtree, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--hr-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-chip__meta {
  font-size: 0.78rem;
  color: var(--hr-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-chip__action {
  justify-self: start;
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--hr-curve);
  background: rgba(0, 113, 227, 0.1);
  color: var(--hr-blue);
  font-size: 0.72rem;
  font-weight: 750;
  font-style: normal;
}
.home-chip.is-copied .home-chip__action {
  background: var(--hr-blue);
  color: #fff;
}

.home-rail--tickets .home-chip {
  grid-template-columns: 3.2rem minmax(0, 1fr);
}
.home-rail--tickets .home-chip__media {
  width: 3.2rem;
  height: 3.2rem;
}

@keyframes home-chip-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 720px) {
  .home-chip { width: 17.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-chip { animation: none; }
}
