.seat-exhibit {
  container-type: inline-size;
}
.seat-tools,
.seat-programmes,
.seat-ticket-head,
.seat-legend {
  display: flex;
  align-items: center;
}
.seat-tools {
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.3rem 0 0.85rem;
}
.seat-programmes {
  gap: 0.2rem;
  border: 1px solid #b6c0ae;
  border-radius: 7px;
  padding: 0.18rem;
}
.seat-programmes button {
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
}
.seat-programmes button[aria-pressed="true"] {
  background: #214e46;
  color: #fff9ed;
}
.seat-indicator {
  max-width: 100%;
  font-size: 0.95rem;
}
.seat-season {
  margin: 0 0 .65rem;
  color: var(--muted);
  font-size: .94rem;
}
.seat-tickets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.6rem, 2vw, 1.1rem);
}
.seat-ticket {
  --auditorium: #19433e;
  --seat-ink: #ffce80;
  min-width: 0;
  border: 1px solid #b5b8a6;
  border-radius: 9px;
  overflow: hidden;
  background: var(--auditorium);
}
.seat-ticket:nth-child(2) {
  --auditorium: #4b3030;
  --seat-ink: #ffd2a4;
}
.seat-ticket-head {
  padding: 0.85rem 1rem 0.25rem;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.15rem 0.55rem;
  color: #fff3dc;
}
.seat-ticket-head h3 {
  font: 620 clamp(1.15rem, 3vw, 1.65rem) / 1.12 var(--typeface);
  letter-spacing: -0.035em;
  margin: 0;
}
.seat-ticket-head small {
  font-size: 0.85rem;
  color: #e2d9c1;
}
.seat-hall {
  display: block;
  width: 100%;
  height: clamp(108px, 20vw, 190px);
  color: var(--seat-ink);
}
.seat-screen {
  fill: #e2ead8;
}
.seat-curtain {
  fill: #dd9c80;
}
.seat-stub {
  position: relative;
  padding: 0.85rem 1rem 1rem;
  border-top: 2px dashed #a8a18f;
  display: grid;
  gap: 0.15rem;
  background: #fbf3e0;
}
.seat-stub::before,
.seat-stub::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: #fffdf6;
  border: 1px solid #b5b8a6;
}
.seat-stub::before {
  left: -6px;
}
.seat-stub::after {
  right: -6px;
}
.seat-stub strong {
  font-size: clamp(1.35rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.seat-stub span,
.seat-legend {
  color: #49584d;
}
.seat-legend {
  display: block;
  margin: 0.55rem 0;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
@container (max-width:450px) {
  .seat-tools {
    align-items: start;
  }
  .seat-tickets {
    gap: 0.45rem;
  }
  .seat-ticket-head,
  .seat-stub {
    padding-inline: 0.55rem;
  }
  .seat-ticket-head {
    display: grid;
  }
  .seat-ticket-head h3 {
    font-size: 1.16rem;
    overflow-wrap: anywhere;
  }
  .seat-hall {
    height: auto;
  }
  .seat-stub strong {
    font-size: 1.3rem;
  }
  .seat-stub span {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .seat-city-changed {
    width: fit-content;
    animation: seat-city-highlight 900ms ease-out;
  }
  @keyframes seat-city-highlight {
    0%, 35% { color: #ffda9a; box-shadow: 0 2px #e4b46d; }
    100% { color: inherit; box-shadow: 0 2px transparent; }
  }
}
