/* Decorative barcode shared by the desktop and mobile ticket previews. */
.sunday-ticket-page main { padding-top: 76px; }

.stub-lines {
  position: relative;
  background: repeating-linear-gradient(
    90deg,
    #24141b 0 2px,
    transparent 2px 4px,
    #24141b 4px 5px,
    transparent 5px 8px,
    #24141b 8px 12px,
    transparent 12px 14px,
    #24141b 14px 16px,
    transparent 16px 20px
  );
  opacity: .78;
}

/* Mobile ticket flow: preserve the ticket character without squeezing its content. */
@media (max-width: 600px) {
  .sunday-ticket-page main { padding-top: 64px; }
  body { background-image: radial-gradient(ellipse at 50% 8%, #ff2d7824, transparent 34%); }
  .site-header, main, footer { width: calc(100% - 28px); }
  .site-header { padding: 16px 0; }
  .site-header img { width: 118px; }
  .back { font-size: 12px; font-weight: 700; }
  .back span { margin-left: 6px; }
  .intro { margin: 34px auto 26px; }
  .intro .eyebrow { margin-bottom: 12px; }
  h1 { margin: 10px 0 16px; font-size: clamp(42px, 15vw, 64px); line-height: .94; }
  .lede { margin: 16px auto 20px; font-size: 14px; line-height: 1.55; }
  .facts { display: grid; grid-template-columns: 1fr; gap: 5px; font-size: 9px; }

  .ticket-section { width: 100%; }
  .ticket-preview { grid-template-columns: minmax(0, 2.25fr) minmax(92px, .75fr); min-height: 220px; border-radius: 16px; filter: drop-shadow(0 18px 28px #0008); }
  .ticket-main { min-height: 220px; padding: 18px 16px 16px; }
  .ticket-top { font-size: 8px; }
  .ticket-top span { display: none; }
  .ticket-label { margin: 24px 0 6px; font-size: 7px; }
  .ticket-main h2 { max-width: 90%; margin-bottom: 24px; font-size: clamp(34px, 11vw, 46px); line-height: .88; }
  .star { right: -2px; top: -3px; font-size: 28px; }
  .ticket-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .ticket-bottom span { font-size: 7px; }
  .ticket-bottom strong { font-size: 10px; line-height: 1.3; }

  .ticket-stub {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    min-height: 220px;
    padding: 16px 9px;
    border-top: 0;
    border-left: 2px dashed #24141b50;
    text-align: center;
  }
  .ticket-stub::before, .ticket-stub::after { left: -12px; width: 24px; height: 24px; }
  .ticket-stub::before { top: -12px; }
  .ticket-stub::after { top: auto; right: auto; bottom: -12px; }
  .ticket-stub span { font-size: 7px; letter-spacing: .07em; }
  .ticket-stub strong { font-size: 30px; line-height: 1.15; }
  .ticket-stub .stub-lines { width: 100%; height: 25px; margin: 14px 0 8px; }
  .ticket-stub span:last-child { display: none; }

  .booking { gap: 14px; padding: 30px 0; }
  .booking h2 { margin: 8px 0; font-size: 30px; }
  .booking p:not(.eyebrow) { margin-bottom: 16px; line-height: 1.55; }
  .booking form { padding: 18px; border: 1px solid #ffffff1f; border-radius: 16px; background: #ffffff08; }
  .booking label { font-size: 13px; }
  select, button { min-height: 58px; border-radius: 12px; font-size: 16px; }
  button { margin-top: 10px; padding: 14px 16px; }
  .booking .form-note { margin: 10px 0 0; }
  #ticket-status { font-size: 13px; line-height: 1.5; }
  #download-again { display: inline-block; min-height: 44px; padding-top: 10px; font-weight: 700; }

  .details { gap: 0; margin: 32px auto 26px; }
  .details > div { padding: 22px 0; border-top: 1px solid #ffffff18; }
  .details h3 { font-size: 19px; }
  .details p { font-size: 14px; }
  .terms { margin-bottom: 28px; font-size: 10px; }
  footer { align-items: flex-start; padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); line-height: 1.5; }
}

@media (max-width: 360px) {
  .site-header, main, footer { width: calc(100% - 22px); }
  .site-header img { width: 105px; }
  .ticket-preview { grid-template-columns: minmax(0, 2.35fr) minmax(82px, .65fr); min-height: 210px; }
  .ticket-main { min-height: 210px; padding-right: 13px; padding-left: 13px; }
  .ticket-main h2 { margin-bottom: 20px; font-size: 34px; }
  .ticket-stub { min-height: 210px; padding-right: 7px; padding-left: 7px; }
  .ticket-stub strong { font-size: 26px; }
  .booking form { padding: 15px; }
}
