/* Trip passes on iPhone (passes.jsx). New light look: off-white, near-black text, one road-yellow accent.
   System font (SF on iPhone), text 15 px and up, buttons 56-66 px high (travelers 50-75). */
.pass-screen, .pass-welcome {
  --p-bg: #FBFBFA; --p-surf: #EFEFEC; --p-ink: #111214; --p-ink2: #55565B; --p-line: rgba(17, 18, 20, .14);
  --p-yellow: #F2C230; --p-amber: #8A6100;
  position: fixed; inset: 0; z-index: 300; background: var(--p-bg); color: var(--p-ink);
  font-family: var(--body); display: flex; flex-direction: column;
}
.pass-scroll {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 24px; display: flex; flex-direction: column; gap: 22px;
  max-width: 560px; width: 100%; margin: 0 auto; box-sizing: border-box;
}
.pass-top { display: flex; align-items: center; justify-content: space-between; }
.pass-round {
  width: 52px; height: 52px; border-radius: 999px; border: 0; background: var(--p-surf); color: var(--p-ink);
  display: flex; align-items: center; justify-content: center;
}
.pass-link { min-height: 48px; border: 0; background: none; color: var(--p-ink); font-size: 17px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.pass-head { display: flex; flex-direction: column; gap: 10px; }
.pass-head h1 { margin: 0; font-size: 38px; font-weight: 700; line-height: 1.04; letter-spacing: -.02em; }
.pass-head p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--p-ink2); }

.pass-options { display: flex; flex-direction: column; gap: 14px; }
.pass-option {
  position: relative; width: 100%; text-align: left; border-radius: 22px; background: var(--p-surf);
  border: 2px solid var(--p-line); color: var(--p-ink); padding: 20px 18px 18px; font: inherit;
  display: flex; align-items: center; gap: 14px; box-sizing: border-box;
}
.pass-option.is-on { border-color: var(--p-ink); }
.pass-badge {
  position: absolute; top: -13px; left: 18px; padding: 3px 12px; border-radius: 999px;
  background: var(--p-yellow); color: var(--p-ink); font-size: 14px; font-weight: 700;
}
.pass-radio { flex: 0 0 28px; height: 28px; border-radius: 999px; border: 2px solid var(--p-line); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.pass-option.is-on .pass-radio { border-color: var(--p-ink); }
.pass-option.is-on .pass-radio span { width: 14px; height: 14px; border-radius: 999px; background: var(--p-ink); }
.pass-option-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pass-option-text strong { font-size: 21px; }
.pass-option-text span { font-size: 16px; color: var(--p-ink2); }
.pass-price { font-size: 30px; font-weight: 700; }

.pass-table { border-radius: 22px; background: var(--p-surf); padding: 4px 16px 8px; }
.pass-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 56px; align-items: center; min-height: 56px; border-top: 1px solid rgba(17, 18, 20, .08); }
.pass-row > span:not(:first-child) { display: flex; justify-content: center; }
.pass-row > span:first-child { font-size: 16px; line-height: 1.35; padding: 8px 8px 8px 0; }
.pass-row-head { border-top: 0; min-height: 48px; }
.pass-row-head > span { font-size: 15px; font-weight: 700; color: var(--p-ink2); }
.pass-row-head > span:first-child { font-size: 17px; color: var(--p-ink); }
.pass-row-head > span.is-on { color: var(--p-ink); }

.pass-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pass-promises > div { border-radius: 18px; background: var(--p-surf); padding: 14px 12px; font-size: 15px; line-height: 1.35; }
.pass-promises strong { display: block; }
.pass-note { margin: 0; font-size: 17px; line-height: 1.45; }
.pass-fine { margin: 0; font-size: 15px; line-height: 1.5; color: var(--p-ink2); }
.pass-legal { margin: 0 0 8px; display: flex; gap: 22px; font-size: 16px; }
.pass-legal a { color: var(--p-ink); }

.pass-bar {
  padding: 14px 20px calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--p-bg);
  box-shadow: 0 -12px 24px -12px rgba(17, 18, 20, .18); display: flex; flex-direction: column; gap: 8px;
}
.pass-bar p { margin: 0; text-align: center; font-size: 15px; font-weight: 600; color: var(--p-ink2); }
.pass-cta {
  min-height: 64px; width: 100%; max-width: 560px; margin: 0 auto; border-radius: 999px; border: 0; background: var(--p-yellow);
  color: var(--p-ink); font: inherit; font-size: 20px; font-weight: 700; display: flex; align-items: center;
  justify-content: space-between; padding: 0 10px 0 26px; box-sizing: border-box;
  transition: transform .25s cubic-bezier(.32, .72, 0, 1);
}
.pass-cta:active { transform: scale(.98); }
.pass-cta:disabled { opacity: .6; }
.pass-cta-block { justify-content: center; padding: 0 24px; margin-top: 8px; }
.pass-cta-ico { width: 46px; height: 46px; border-radius: 999px; background: rgba(17, 18, 20, .12); display: flex; align-items: center; justify-content: center; }
.pass-ghost { min-height: 62px; width: 100%; border-radius: 999px; border: 1.5px solid rgba(17, 18, 20, .24); background: transparent; color: var(--p-ink); font: inherit; font-size: 20px; font-weight: 700; }
.pass-claim .pass-scroll { padding-top: calc(48px + env(safe-area-inset-top, 0px)); }
.pass-claim form { display: flex; flex-direction: column; gap: 10px; }
.pass-claim .field { background: #FFFFFF; }

.pass-welcome { overflow-y: auto; }
.pass-welcome-photo { position: relative; height: 52vh; min-height: 300px; flex-shrink: 0; }
.pass-welcome-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pass-welcome-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 251, 250, 0) 55%, #FBFBFA 100%); }
.pass-welcome-photo p { position: absolute; right: 12px; bottom: 10px; z-index: 1; margin: 0; font-size: 12px; color: rgba(17, 18, 20, .62); }
.pass-welcome-body {
  flex: 1; padding: 4px 20px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 14px;
  max-width: 560px; width: 100%; margin: 0 auto; box-sizing: border-box;
}
.pass-welcome-body h1 { margin: 0; font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.pass-welcome-body > p { margin: 0; font-size: 19px; line-height: 1.45; color: var(--p-ink2); }
.pass-welcome-ctas { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .pass-cta { transition: none; } }
