.seat27[data-seating="diagram"] .seat27-mapfit {
  aspect-ratio: auto;
  max-height: min(65svh, 690px);
  overflow: auto;
  mask-image: none;
  scrollbar-color: #696781 #15151b;
  scrollbar-width: thin;
  margin: 14px 0;
}
.seat27-plane[hidden], .seat27-diagram-room[hidden] { display: none; }
.seat27-diagram {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 20px 16px;
  padding: 5px 8px 14px;
}
.seat27-diagram-room {
  min-width: 0;
  padding: 11px 4px 9px;
  border-top: 2px solid #575568;
}
.seat27-diagram-room:has(button[aria-pressed="true"]) { border-top-color: #8884ff; }
.seat27-diagram-room h3 { margin: 0 0 10px; font: 650 1rem/1.25 Montserrat, Arial, sans-serif; }
.seat27-diagram-places { display: flex; flex-wrap: wrap; gap: 9px; }
.seat27-diagram-places button {
  position: relative;
  min-width: 40px;
  min-height: 40px;
  padding: 4px 6px 9px;
  border: 1px solid #777688;
  border-radius: 4px;
  background: #20202b;
  color: white;
  cursor: pointer;
  font: 650 .9rem/1 Montserrat, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
.seat27-diagram-places button::after {
  content: "";
  position: absolute;
  left: 25%; right: 25%; bottom: 4px;
  height: 2px;
  background: currentColor;
  opacity: .66;
}
.seat27-diagram-places button[aria-pressed="true"] { background: #3030d9; border-color: white; }
@media (max-width: 540px) {
  .seat27-diagram { grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr)); }
  .seat27-diagram-places { gap: 6px; }
}
