/* Where are Neal and Del? — Direction A ("Foldout road map").
   Values are copied from design/direction-a.dc.html; see DESIGN_HANDOFF.md. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #17130e; color: #f3e7cc;
  font: 500 17px/1.4 'Barlow Condensed', system-ui, sans-serif;
}
a { color: inherit; }
button, select { font-family: inherit; }
[hidden] { display: none !important; }

/* ----- Direction A: header band (title + trip progress) ----- */
.band {
  background: #17130e; color: #f3e7cc;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  padding: 56px 32px 56px;
}
.band .map-credit { margin: -44px 0 0; font-size: 15px; color: #cbbf9f; }
.band .map-credit a { color: inherit; }
.band-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.band .masthead {
  max-width: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 18px;
}
.title {
  margin: 0; width: fit-content; max-width: 100%;
  padding: .12em .1em .08em;
  border-top: 1.5px solid rgba(243,231,204,.6);
  border-bottom: 1.5px solid rgba(243,231,204,.6);
  font-family: 'Jost', 'Futura', 'Century Gothic', sans-serif; font-weight: 700;
  font-size: clamp(50px, 7.6vw, 100px); letter-spacing: -.01em; line-height: 1.1;
  color: #f3e7cc; text-wrap: balance;
}
.title-word { white-space: nowrap; }
.hat { display: inline-block; overflow: visible; }
.hat-neal {
  width: 1.42em; height: .795em; margin-left: -.38em; margin-right: -1.04em;
  vertical-align: .38em; vertical-align: calc(1cap - .28em); transform: rotate(-6deg);
}
.hat-del {
  width: 1.02em; height: .51em; margin-left: -.17em; margin-right: -.85em; /* design had -.33/-.69; nudged .16em right to center on the D */
  vertical-align: .42em; vertical-align: calc(1cap - .24em); transform: rotate(6deg);
}
.trip { width: 100%; max-width: 680px; display: flex; flex-direction: column; gap: 8px; }
.trip-bar { position: relative; height: 10px; border-radius: 5px; background: #5a4a2c; overflow: visible; }
.trip-fill { height: 100%; border-radius: 5px; background: #d4583a; width: 0; }
.trip-knob {
  position: absolute; top: 50%; left: 0; width: 20px; height: 20px; box-sizing: border-box;
  border-radius: 50%; background: #17130e; border: 4px solid #e0a94a; transform: translate(-50%, -50%);
}
.trip-labels { display: flex; justify-content: space-between; gap: 16px; font-size: 19px; font-weight: 600; }
.trip-done { color: #e98a6c; }
.trip-left { color: #e0a94a; }
.intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.trunk { margin: 0; flex: 0 1 440px; min-width: 0; }
.trunk svg { width: 100%; height: auto; display: block; }
.band .tagline {
  margin: 0; flex: 1 1 380px; font-size: clamp(26px, 3vw, 34px); line-height: 1.25; font-weight: 500;
  color: #e6dbbf; max-width: 660px; text-wrap: pretty;
}

/* ----- Direction A: foldout map ----- */
.foldout {
  position: relative; display: flex; flex-wrap: wrap; background: #ecdfc2; color: #2d2619;
  border-radius: 4px; box-shadow: 0 36px 70px rgba(0,0,0,.6); overflow: hidden;
}
.fold-legend {
  flex: 1 1 340px; min-width: 0; box-sizing: border-box; padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  background: linear-gradient(90deg, transparent 95%, rgba(80,55,20,.16) 99%, rgba(255,250,235,.55) 100%), #e7d9b8;
}
.legend-head { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; letter-spacing: .24em; text-transform: uppercase; color: #5a4d36; }
.legend-head .rule { flex: 1; height: 2px; background: #5a4d36; }
.lg-clocks { display: flex; flex-wrap: wrap; gap: 12px; }
.lg-box { flex: 1 1 140px; border: 2px solid #2d2619; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; background: #f2e8cf; }
.lg-label { font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #5a4d36; }
.lg-big { font-family: 'Alfa Slab One', Georgia, serif; font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lg-sub { font-size: 17px; font-weight: 500; color: #5a4d36; }
.lg-now {
  outline: 1px solid #2d2619; outline-offset: 4px; border: 2px solid #2d2619; padding: 16px 18px;
  background: #f2e8cf; display: flex; flex-direction: column; gap: 8px; margin: 4px 4px 0;
}
.lg-now-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.stamps { display: flex; gap: 8px; }
.stamp { border: 2px solid currentColor; padding: 2px 10px; border-radius: 4px; font-size: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.stamp.together { transform: rotate(-3deg); color: #1f6a45; }
.stamp.apart, .stamp.not_met { transform: rotate(-3deg); color: #5a4d36; }
.stamp.moving { transform: rotate(2deg); color: #9a5b00; }
.lg-place { font-family: 'Alfa Slab One', Georgia, serif; font-size: 26px; line-height: 1.15; text-wrap: balance; }
.lg-activity { font-size: 21px; font-weight: 500; }
.lg-since { font-size: 18px; font-weight: 500; color: #5a4d36; }
.lg-countdown { font-family: 'Alfa Slab One', Georgia, serif; font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lg-next { border: 2px dashed #9a5b00; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; }
.lg-next-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.lg-next-head .lg-label { color: #9a5b00; }
.lg-next-when { font-size: 18px; font-weight: 500; color: #5a4d36; }
.lg-next-text { font-size: 21px; font-weight: 600; line-height: 1.2; }
.lg-key { display: flex; flex-direction: column; gap: 8px; font-size: 18px; font-weight: 600; }
.lg-key-row { display: flex; align-items: center; gap: 12px; }
.fold-legend .cw { font-size: 15px; }

.fold-map-scroll { flex: 2 1 560px; min-width: 0; align-self: flex-start; overflow-x: auto; overscroll-behavior-x: contain; }
.fold-map { width: 100%; position: relative; aspect-ratio: 820/720; background: #ecdfc2; }
/* Never crop the sheet: if the legend runs taller, the map keeps its shape. */
.fold-map svg.paper, .fold-map svg.paper-over {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; font-family: 'Barlow Condensed', sans-serif;
}
.fold-map svg.paper-over { pointer-events: none; }
/* The magnifier: a round Leaflet map exactly where the design's lens is
   (centre 668,576, radius 138 on the 820 x 720 sheet). */
.loupe-map {
  position: absolute; left: 64.6341%; top: 60.8333%; width: 33.6585%; height: 38.3333%;
  border-radius: 50%; overflow: hidden; background: #ecdfc2; z-index: 0;
}
.loupe-map .leaflet-tile-pane { filter: grayscale(1) sepia(.55) brightness(1.03) contrast(.88); }
.loupe-map .leaflet-control-container { display: none; }
.loupe-badge-icon { background: none; border: 0; }
.loupe-badge {
  overflow: visible; display: block; position: absolute; left: 0; top: 0;
  width: var(--badge, 64px); height: var(--badge, 64px);
  transform: translate(calc(-50% + var(--side, 0) * var(--badge, 64px) * .53), -50%);
}
.crease-v {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 18px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(80,55,20,.2) 46%, rgba(255,250,235,.4) 54%, transparent); pointer-events: none;
}
.crease-h {
  position: absolute; left: 0; right: 0; top: 50%; height: 16px; transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(80,55,20,.13) 46%, rgba(255,250,235,.3) 54%, transparent); pointer-events: none;
}

/* ----- Direction A: window view + shower-curtain-rod timeline ----- */
.window-card {
  background: #201b14; border: 1px solid #3a3224; border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
}
.wv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.wv-titles { display: flex; flex-direction: column; gap: 6px; }
.wv-title { font-family: 'Alfa Slab One', Georgia, serif; font-size: 30px; }
.wv-note-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.wv-note { font-family: 'Special Elite', monospace; font-size: 17px; letter-spacing: .06em; color: #cbbf9f; }
.rod-play:focus-visible { outline: 2px solid #f3e7cc; outline-offset: 3px; }
.window-view { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.window-view.dragging { cursor: grabbing; }
.wv-signs { transition: margin-left .9s linear; }
.window-view.dragging .wv-signs { transition: none; }
.wv-hint { font-family: 'Special Elite', monospace; font-size: 17px; letter-spacing: .06em; color: #cbbf9f; }
.rod-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.rod-play {
  min-height: 48px; padding: 0 28px; border-radius: 12px; border: 2px solid #f3e7cc; background: #17130e;
  color: #f3e7cc; font-size: 22px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.rod-speed { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; color: #cbbf9f; }
.rod-speed select {
  min-height: 44px; border-radius: 10px; border: 2px solid #6b5f48; background: #17130e; color: #f3e7cc;
  font-size: 18px; padding: 0 12px; font-family: inherit;
}
.rod-wrap { display: flex; flex-direction: column; gap: 8px; }
.rod { position: relative; padding: 0 18px; }
.rod-cap {
  position: absolute; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #b9bfc8 45%, #5f656e);
}
.rod-cap.left { left: 0; }
.rod-cap.right { right: 0; }
/* Rings sit on the thumb's path: 18px padding + half the 36px thumb. */
.rod-rings { position: absolute; left: 36px; right: 36px; top: 0; bottom: 0; pointer-events: none; }
.ring {
  position: absolute; top: 13px; width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%;
  border: 3px solid #c9ced6; box-shadow: 0 2px 3px rgba(0,0,0,.5); transform: translateX(-50%);
}
.ring.past { border-color: #e0a94a; }
.rod input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent;
  margin: 0; position: relative; z-index: 1; cursor: pointer;
}
.rod input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 5px; background: linear-gradient(180deg,#f7f9fb 0%,#b9bfc8 45%,#757c86 100%); box-shadow: 0 2px 4px rgba(0,0,0,.5); }
.rod input[type=range]::-moz-range-track { height: 10px; border-radius: 5px; background: linear-gradient(180deg,#f7f9fb 0%,#b9bfc8 45%,#757c86 100%); box-shadow: 0 2px 4px rgba(0,0,0,.5); }
.rod input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; border-radius: 50%; background: transparent; border: 7px solid #e0a94a; box-shadow: 0 3px 8px rgba(0,0,0,.6), inset 0 2px 0 rgba(255,240,200,.6); margin-top: -13px; }
.rod input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: transparent; border: 7px solid #e0a94a; box-shadow: 0 3px 8px rgba(0,0,0,.6); }
.rod input[type=range]:focus-visible { outline: 2px solid #f3e7cc; outline-offset: 4px; border-radius: 8px; }
.rod-ends { display: flex; justify-content: space-between; font-size: 19px; font-weight: 500; color: #cbbf9f; }
.rod-caption { font-family: 'Special Elite', monospace; font-size: 17px; letter-spacing: .04em; color: #cbbf9f; }
.rod-status { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; color: #cbbf9f; }
.rod-status strong { color: #f3e7cc; }
.rod-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #e0a94a; }
.rod-status.live .rod-dot { background: #7fbf8f; }

/* Window animations, from the design. */
@keyframes pta-smoke{from{transform:translateY(0);opacity:.4}to{transform:translateY(-70px);opacity:0}}
.pta-smoke{animation:pta-smoke 4.5s ease-out infinite}
@keyframes pta-blink{0%,84%,100%{opacity:.15}86%,93%{opacity:1}}
@keyframes pta-drift{from{transform:translateX(0)}to{transform:translateX(-1000px)}}
@keyframes pta-pass{from{transform:translateX(0)}to{transform:translateX(-240px)}}
@keyframes pta-road{to{stroke-dashoffset:-72}}
@keyframes pta-flicker{0%,18%,22%,62%,64%,100%{opacity:1}20%,63%{opacity:.35}}
.pta-flicker{animation:pta-flicker 5s infinite}
@keyframes pta-snow{from{background-position:0 0,0 0}to{background-position:-60px 240px,-30px 240px}}
.pta-blink{animation:pta-blink 1.6s infinite}
.pta-drift{animation:pta-drift 70s linear infinite}
.pta-pass{animation:pta-pass 1.1s linear infinite}
.pta-road{animation:pta-road .55s linear infinite}
.pta-snow{animation:pta-snow 1.3s linear infinite}
@media (prefers-reduced-motion:reduce){.pta-flicker,.pta-blink,.pta-drift,.pta-pass,.pta-road,.pta-snow,.pta-smoke{animation:none}.wv-signs{transition:none}}

/* ----- Direction A: boarding pass (alerts) ----- */
.pass {
  position: relative; display: flex; flex-wrap: wrap; background: #f3e7cc; color: #2d2619;
  border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.45);
}
.pass-main { flex: 1 1 520px; min-width: 0; box-sizing: border-box; padding: 32px 36px; display: flex; flex-direction: column; gap: 18px; }
.pass-kicker { font-family: 'Special Elite', monospace; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: #5a4d36; }
.pass-fields { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.pass-label { font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #5a4d36; }
.pass-value { font-size: 22px; font-weight: 700; }
.pass-diverted { font-weight: 500; color: #9a5b00; }
.pass-title { margin: 0; font-family: 'Alfa Slab One', Georgia, serif; font-weight: 400; font-size: 38px; line-height: 1.1; }
.pass-text { margin: 0; font-size: 21px; font-weight: 500; line-height: 1.3; max-width: 560px; text-wrap: pretty; }
.pass-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.pass-btn {
  min-height: 48px; box-sizing: border-box; display: inline-flex; align-items: center; padding: 0 24px; border-radius: 12px;
  border: 2px solid #2d2619; color: #2d2619; font-size: 21px; font-weight: 700; text-decoration: none;
}
.pass-btn.primary { background: #c5432b; color: #ffffff; border: 0; }
.pass-link { min-height: 48px; display: inline-flex; align-items: center; padding: 0 8px; color: #5a4d36; font-size: 21px; font-weight: 700; }
.pass a:focus-visible { outline: 2px solid #2d2619; outline-offset: 3px; }
.pass-stub {
  position: relative; flex: 0 0 220px; box-sizing: border-box; padding: 32px 24px; border-left: 3px dashed #b9a77f;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; margin-left: auto;
}
.pass-notch { position: absolute; left: -17px; width: 30px; height: 30px; border-radius: 50%; background: #17130e; }
.pass-notch.top { top: -16px; }
.pass-notch.bottom { bottom: -16px; }
.pass-stub-text { font-family: 'Special Elite', monospace; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: #5a4d36; }
.pass-barcode { height: 70px; background: repeating-linear-gradient(90deg,#2d2619 0 2px,transparent 2px 5px,#2d2619 5px 6px,transparent 6px 10px,#2d2619 10px 13px,transparent 13px 15px); }

/* ----- Direction A: scenes ----- */
.scenes { display: flex; flex-direction: column; gap: 20px; }
.scenes-head { display: flex; flex-direction: column; gap: 6px; }
.scenes h2 { margin: 0; font-family: 'Alfa Slab One', Georgia, serif; font-weight: 400; font-size: 38px; }
.scenes-hint { font-size: 19px; font-weight: 500; color: #cbbf9f; }
.scene-days { display: flex; flex-direction: column; gap: 20px; }
.sc-day {
  margin: 0; font-size: 18px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #cbbf9f;
  border-bottom: 2px solid #6b5f48; padding-bottom: 8px;
}
.sc-list { list-style: none; margin: -20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.sc-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 18px 12px;
  border-bottom: 1px solid #3a3224; color: #cbbf9f;
}
.sc-time { flex: 0 0 130px; }
.sc-you { display: block; font-size: 28px; font-weight: 700; line-height: 1.1; color: #cbbf9f; text-decoration: none; }
.sc-you:hover, .sc-you:focus-visible { text-decoration: underline; }
.sc-them { font-size: 17px; font-weight: 500; }
.sc-icon { display: flex; flex: none; }
.sc-body { flex: 1 1 320px; min-width: 0; }
.sc-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sc-title { font-size: 22px; font-weight: 600; color: #e6dbbf; }
.sc-meta { font-size: 18px; font-weight: 500; }
.sc-row.now {
  padding: 20px 18px; margin: 10px 0; border: 2px solid #d4583a; border-radius: 14px; background: #201b14; color: #f3e7cc;
}
.sc-row.next { padding: 20px 18px; border: 2px dashed #e0a94a; border-radius: 14px; color: #f3e7cc; }
.sc-row.now .sc-you, .sc-row.next .sc-you { font-size: 30px; color: #f3e7cc; }
.sc-row.now .sc-them, .sc-row.next .sc-them, .sc-row.now .sc-meta, .sc-row.next .sc-meta { color: #cbbf9f; }
.sc-row.now .sc-icon { color: #d4583a; }
.sc-row.next .sc-icon { color: #e0a94a; }
.sc-row.now .sc-title, .sc-row.next .sc-title { font-size: 24px; font-weight: 700; color: inherit; }
.sc-tag { padding: 3px 12px; border-radius: 4px; font-size: 18px; font-weight: 700; text-transform: uppercase; }
.sc-tag.now { transform: rotate(-4deg); background: #c5432b; color: #ffffff; letter-spacing: .16em; }
.sc-tag.next { background: #e0a94a; color: #17130e; letter-spacing: .12em; }
/* Content-warning tag (scene list, legend, window signs). */
.badge.warn {
  display: inline-block; padding: 2px 8px; border-radius: 4px; background: #c5432b; color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; vertical-align: 2px;
}

/* ----- not-live banner ----- */
.not-live {
  position: sticky; top: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 8px 14px; background: #e0a94a; color: #17130e; font-size: 18px; font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.not-live .button {
  min-height: 36px; padding: 0 14px; border-radius: 8px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; background: transparent; color: inherit;
}
.not-live .button.primary { background: #c5432b; color: #ffffff; }
.not-live #copy-link { text-decoration: underline; }
.not-live .button:focus-visible { outline: 2px solid #17130e; outline-offset: 2px; }

/* ----- footer ----- */
footer { max-width: 1200px; margin: 0 auto; padding: 0 32px 64px; color: #cbbf9f; font-size: 17px; }
footer p { margin: 0 0 6px; }
.data-status { font-size: 15px; }


/* ----- phones ----- */
@media (max-width: 600px) {
  /* Their location has to be on the first screen: small trunk beside the
     tagline, compact clocks side by side, tighter spacing above the legend. */
  .band { padding: 24px 18px 48px; }
  .band .masthead { gap: 14px; }
  .intro { flex-wrap: nowrap; gap: 14px; }
  .band .tagline { flex: 1 1 auto; font-size: 20px; }
  .trunk { flex: 0 0 92px; }
  .fold-legend { gap: 12px; }
  .legend-head { display: none; }
  .lg-clocks { flex-wrap: nowrap; gap: 8px; }
  .lg-box { flex: 1 1 0; min-width: 0; padding: 6px 10px; }
  .lg-label { font-size: 15px; letter-spacing: .14em; }
  .lg-big { font-size: 24px; }
  .lg-sub { font-size: 15px; }
  .lg-sub-place { display: none; }
  .lg-now { padding: 12px 14px; }
  /* Most important first: where they are, then the map, then the rest of
     the legend (clocks, next scene, key). */
  .foldout { flex-direction: column; flex-wrap: nowrap; gap: 14px; padding-bottom: 18px; background: #e7d9b8; }
  .fold-legend { display: contents; }
  .lg-now { order: 1; margin: 18px 19px 0; }
  .fold-map-scroll { order: 2; align-self: stretch; flex: none; }
  .lg-clocks { order: 3; margin: 0 14px; }
  .lg-next { order: 4; margin: 0 14px; }
  .lg-key { order: 5; margin: 0 14px; }
  .lg-place { font-size: 22px; }
  .lg-activity { font-size: 19px; }
  footer { padding: 0 18px 48px; }
  .band-inner { gap: 24px; }
  .band .map-credit { margin-top: -12px; }
  .fold-legend { padding: 14px 14px 18px; }
  /* The sheet keeps a readable size and scrolls sideways under your finger. */
  .fold-map { min-width: 620px; aspect-ratio: 820/555; } /* cropped above Wisconsin (foldmap.js) */
  .window-card { padding: 20px 16px; }
  .pass-main { padding: 26px 22px; }
}
/* Smaller highway signs when the window is narrow (window.js measures them). */
.window-view.narrow .wv-signs { gap: 24px !important; }
.window-view.narrow .wv-signs > div { flex-basis: 230px !important; }
.window-view.narrow .wv-signs [style*="padding:12px 16px"] { padding: 8px 12px !important; }
.window-view.narrow .wv-signs [style*="font-size:18px"] { font-size: 15px !important; }
.window-view.narrow .wv-signs [style*="font-size:21px"] { font-size: 17px !important; }
/* Motel curtains take less of a narrow window. */
.window-view.narrow .hotel-curtain { width: 50px !important; }
.window-view.narrow .hotel-tie { width: 24px !important; }
.window-view.narrow .hotel-tie.left { left: 22px !important; }
.window-view.narrow .hotel-tie.right { right: 22px !important; }
/* Boarding pass: when the stub drops below, tear it along the top. */
.pass { container-type: inline-size; }
@container (max-width: 739px) {
  .pass-stub {
    flex: 1 1 100%; margin-left: 0; border-left: 0; border-top: 3px dashed #b9a77f;
    flex-direction: row; align-items: center; padding: 22px 24px;
  }
  .pass-notch { top: -17px; left: auto; bottom: auto; }
  .pass-notch.top { left: -16px; top: -17px; }
  .pass-notch.bottom { right: -16px; top: -17px; bottom: auto; }
  .pass-barcode { flex: 1; max-width: 220px; height: 56px; }
}
