/* Showcase — ranked list, ticket-stub cards */
.showcase {
  padding: var(--rl-space-lg) 0;
}
.showcase__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: var(--rl-space-md);
  margin-bottom: var(--rl-space-lg);
  border-bottom: 2px solid var(--rl-ink);
  padding-bottom: var(--rl-space-sm);
}
.showcase__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.showcase__disclosure {
  margin: 0 0 var(--rl-space-lg);
  font-size: 0.88rem;
  border-left: 3px solid var(--rl-brass);
  padding-left: var(--rl-space-md);
  background: rgba(255, 255, 255, 0.5);
  padding-top: var(--rl-space-sm);
  padding-bottom: var(--rl-space-sm);
}

.ticket {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0;
  background: var(--rl-white);
  border: 1px dashed var(--rl-plum);
  margin-bottom: var(--rl-space-md);
  opacity: 0;
  transform: translateY(12px);
}
.ticket.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
@media (prefers-reduced-motion: reduce) {
  .ticket { opacity: 1; transform: none; }
  .ticket.is-visible { transition: none; }
}

.ticket__rank {
  font-family: var(--rl-font-display);
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  line-height: 1;
  color: var(--rl-brass);
  padding: var(--rl-space-md);
  border-right: 1px dashed var(--rl-rule);
  min-width: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rl-lavender);
}
.ticket__body {
  padding: var(--rl-space-md);
  display: grid;
  gap: var(--rl-space-sm);
}
.ticket__top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rl-space-md);
  align-items: center;
}
.ticket__logo {
  width: 72px;
  height: 48px;
  object-fit: contain;
  background: var(--rl-lavender);
  border: 1px dotted var(--rl-rule);
  padding: 4px;
}
.ticket__logo-fallback {
  width: 72px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--rl-lavender-deep);
  color: var(--rl-plum);
  border: 1px dotted var(--rl-rule);
}
.ticket__name {
  font-family: var(--rl-font-display);
  font-size: 1.25rem;
  margin: 0;
  color: var(--rl-plum-deep);
}
.ticket__desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--rl-ink);
  max-width: 42rem;
}
.ticket__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ticket__offer {
  font-size: 0.85rem;
  color: var(--rl-muted);
  margin: 0;
}
.ticket__note {
  font-size: 0.72rem;
  color: var(--rl-muted);
  margin: 0;
}

.ticket__action {
  padding: var(--rl-space-md);
  border-left: 2px dotted var(--rl-brass);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: var(--rl-space-sm);
  min-width: 9.5rem;
  background: linear-gradient(90deg, transparent 0, transparent 4px, var(--rl-lavender) 4px);
  background-size: 8px 100%;
  background-repeat: repeat-y;
  background-position: left;
  padding-left: calc(var(--rl-space-md) + 8px);
}
.ticket__action .rl-score {
  text-align: center;
  font-size: 1.35rem;
}
.ticket__action .rl-score small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--rl-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticket__info {
  text-align: center;
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .ticket {
    grid-template-columns: auto 1fr;
  }
  .ticket__action {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 2px dotted var(--rl-brass);
    background: var(--rl-lavender);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding-left: var(--rl-space-md);
  }
}
