/* TripForge: departure board.
   Night-blue terminal, white boarding-pass cards, one loud signal yellow for "go".
   One family (Barlow) in two widths: Condensed for the board, codes and headings; regular for reading. */

:root {
  --night: #0E1B3D;
  --night-2: #16264F;
  --night-3: #22366C;
  --flap: #0A1431;
  --signal: #FFC531;
  --signal-hot: #FFB000;
  --ticket: #F6F8FC;
  --ticket-2: #EAF0F8;
  --ink: #0E1B3D;
  --ink-soft: #52627F;
  --line: #D6DEEB;
  --on-night: #EAF0FB;
  --on-night-soft: #A9B7D3;
  --sky: #8DB8FF;
  --go: #1C9E6B;
  --stop: #E5483A;
  --c-flights: #3D7BF7;
  --c-lodging: #0E1B3D;
  --c-food: #FFC531;
  --c-activities: #1C9E6B;
  --c-getting: #8E7CF0;
  --c-buffer: #B9C3D6;
  --r-ticket: 20px;
  --r-control: 12px;
  --shadow-ticket: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -18px rgba(3,8,26,.55);
  --cond: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  overflow-x: clip;
  margin: 0; min-height: 100vh; font: 400 17px/1.55 var(--body); color: var(--on-night);
  background: var(--night);
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(61,123,247,.22), transparent 60%),
                    radial-gradient(900px 500px at -10% 30%, rgba(255,197,49,.06), transparent 60%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; letter-spacing: .005em; line-height: 1.05; margin: 0; }
h2 { font-size: 30px; }
h3 { font-size: 21px; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-soft); }
.on-night .muted { color: var(--on-night-soft); }
.step .muted, .ticket .muted, .panel .muted { color: var(--ink-soft); }
code { font: 600 .92em/1 var(--body); background: rgba(14,27,61,.08); padding: 2px 6px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px 40px; }

/* ---------- top bar ---------- */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
  font: 700 24px/1 var(--cond); letter-spacing: .02em; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 13px); gap: 2px; }
.brand-mark i { height: 18px; border-radius: 3px; background: linear-gradient(var(--night-3) 0 50%, var(--flap) 50%); position: relative; }
.brand-mark i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #050b1f; }
.brand-mark i:first-child { background: linear-gradient(var(--signal) 0 50%, var(--signal-hot) 50%); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- buttons ---------- */
.btn, .go {
  --b: rgba(234,240,251,.35);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  font: 600 16px/1 var(--body); padding: 12px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--b); background: transparent; color: inherit; text-decoration: none;
  transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .25s var(--ease);
}
.btn:hover { border-color: currentColor; background: rgba(255,255,255,.06); color: inherit; }
.ticket .btn, .panel .btn { --b: rgba(14,27,61,.28); color: var(--ink); }
.ticket .btn:hover, .panel .btn:hover { background: var(--ticket-2); border-color: var(--ink); }
.btn:active, .go:active { transform: translateY(1px) scale(.98); }

/* the "go" button: signal yellow with a plane that takes off on hover */
.go, .btn.primary {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--signal); color: var(--ink); border-color: var(--signal);
  font: 700 19px/1 var(--cond); letter-spacing: .02em; padding: 15px 26px;
  box-shadow: 0 10px 30px -10px rgba(255,197,49,.65), 0 0 0 0 rgba(255,197,49,.0);
}
.btn.primary { font-size: 17px; padding: 12px 20px; }
.go::before, .btn.primary::before {   /* sheen that sweeps across on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.go:hover, .btn.primary:hover { background: #FFD155; border-color: #FFD155; color: var(--ink);
  transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(255,197,49,.8), 0 0 0 6px rgba(255,197,49,.14); }
.go:hover::before, .btn.primary:hover::before { transform: translateX(120%); }
.go .plane { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.go:hover .plane { transform: translate(4px, -3px) rotate(-8deg); }
.go[aria-busy="true"] { cursor: progress; opacity: .85; }
.go:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.go.big { font-size: 22px; padding: 18px 32px; }
.btn.danger { color: var(--stop); --b: var(--stop); }
.btn.danger:hover { background: rgba(229,72,58,.08); }
.linkish { background: none; border: 0; padding: 0; color: var(--ink-soft); text-decoration: underline; font: inherit; font-size: 15px; cursor: pointer; }
.linkish:hover { color: var(--ink); }

/* ---------- tickets (white cards on the night background) ---------- */
.ticket, .panel {
  background: var(--ticket); color: var(--ink); border-radius: var(--r-ticket);
  padding: 28px; box-shadow: var(--shadow-ticket);
}
.ticket, .panel, .step, .suggest, dialog { color-scheme: light; }   /* native checkboxes, dates and selects render light inside cards */
.ticket a, .panel a { color: #2155C9; }
.ticket a:hover, .panel a:hover { color: var(--ink); }
.ticket h2, .panel h2 { margin-bottom: 14px; }
.stack > * + * { margin-top: 22px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 22px; align-items: start; }
.narrow { max-width: 640px; margin: 40px auto; }
.h-page { font: 700 clamp(30px, 4vw, 42px)/1.05 var(--cond); margin: 0 0 10px; }

/* ---------- form controls ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
input[type=text], input[type=date], input[type=number], input[type=email], input[type=tel], select, textarea {
  font: 500 17px/1.3 var(--body); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-control); padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
input:hover, select:hover, textarea:hover { border-color: #AEBBD2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,197,49,.45); }
textarea { resize: vertical; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font: 700 20px/1.2 var(--cond); color: var(--ink); padding: 0; margin-bottom: 10px; }
.error { background: #FDECEA; color: #8F1F14; border-left: 4px solid var(--stop); padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.error ul { margin: 0; padding-left: 18px; }

/* chips and segmented choices */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, .chip-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 500 15px/1.2 var(--body);
  transition: background .15s, border-color .15s, transform .15s var(--ease);
}
.chip span:hover, .chip-btn:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--ticket-2); border-radius: 14px; padding: 4px; gap: 4px; }
.seg label { position: relative; }
.seg span { display: block; padding: 10px 16px; border-radius: 10px; cursor: pointer; font-weight: 500; font-size: 15px; color: var(--ink-soft); transition: background .15s, color .15s; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(14,27,61,.12); font-weight: 600; }

/* ---------- badges, banners, flashes ---------- */
.badge { display: inline-flex; align-items: center; font: 600 13px/1 var(--body); padding: 5px 10px; border-radius: 999px;
  background: var(--ticket-2); color: var(--ink); white-space: nowrap; }
.badge.pick { background: var(--ink); color: #fff; }
.badge.ok { background: #DDF3E9; color: #0E6A45; }
.badge.warn { background: #FDE3DF; color: #9B2416; }
.mode-banner { margin: 0 0 18px; padding: 10px 16px; border-radius: 12px; font-size: 15px;
  background: rgba(255,197,49,.12); border: 1px solid rgba(255,197,49,.45); color: var(--on-night); }
.mode-banner.live { background: rgba(229,72,58,.16); border-color: var(--stop); }
.flash { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--night-2); border-left: 4px solid var(--sky); }
.flash.ok { border-left-color: #3FD49A; }
.flash.error { border-left-color: var(--stop); }
.sample { padding: 12px 16px; border-radius: 12px; background: rgba(255,197,49,.12); border: 1px dashed rgba(255,197,49,.5); color: var(--on-night); font-size: 15px; }
.busy { margin: 12px 0 0; font-size: 15px; padding: 10px 14px; border-radius: 12px; background: var(--ticket-2); color: var(--ink); }
.busy.clear { background: #DDF3E9; }
.busy.conflict { background: #FFF1CC; }
.busy ul { margin: 6px 0 0; padding-left: 18px; }

footer { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(169,183,211,.18); font-size: 14px; color: var(--on-night-soft); }
footer details { margin-top: 10px; }
footer summary { cursor: pointer; color: var(--on-night); }
.sources { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 22px; }
.sources li { display: flex; gap: 10px; align-items: baseline; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--on-night-soft); flex: none; }
.dot.live { background: #3FD49A; box-shadow: 0 0 0 4px rgba(63,212,154,.18); }

/* ======================================================================
   THE BOARD — split-flap letters. The one loud thing on every page.
   ====================================================================== */
.board { --tile: clamp(30px, 5.4vw, 64px); display: flex; flex-wrap: wrap; gap: calc(var(--tile) * .08); }
.board.small { --tile: clamp(22px, 3.4vw, 40px); }
.board .word { display: flex; gap: calc(var(--tile) * .08); margin-right: calc(var(--tile) * .32); }
.flap {
  width: var(--tile); height: calc(var(--tile) * 1.32); position: relative; border-radius: calc(var(--tile) * .1);
  background: linear-gradient(#1A2B5C 0 50%, #13224C 50%);
  box-shadow: 0 2px 0 #050B20, inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px -10px rgba(0,0,0,.6);
  display: grid; place-items: center; perspective: 300px; overflow: hidden;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: #050B20; opacity: .85; }
.flap .ch { font: 700 calc(var(--tile) * 1.16)/1 var(--cond); color: #F4F7FF; text-shadow: 0 1px 0 rgba(0,0,0,.4); }
.flap.spin .ch { animation: flip 70ms linear; }
.flap.hot { background: linear-gradient(var(--signal) 0 50%, var(--signal-hot) 50%); }
.flap.hot .ch { color: var(--ink); text-shadow: none; }
@keyframes flip { from { transform: rotateX(70deg); opacity: .4; } to { transform: rotateX(0); opacity: 1; } }

/* ======================================================================
   THE FUNNEL (home)
   ====================================================================== */
.stage { position: relative; min-height: calc(100vh - 80px); }
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--night); }
.backdrop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.backdrop img.on { opacity: 1; }
.backdrop img.on.drift { animation: drift 24s ease-out forwards; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.backdrop .shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,27,61,.92) 0%, rgba(14,27,61,.72) 42%, rgba(14,27,61,.25) 75%, rgba(14,27,61,.35) 100%),
              linear-gradient(0deg, rgba(14,27,61,.9) 0%, transparent 35%); }
.backdrop:not(.has-photo) .shade { background: radial-gradient(1000px 520px at 80% 10%, rgba(61,123,247,.28), transparent 65%); }

.funnel { max-width: 720px; padding-top: 8px; }
.progress { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 30px; }
.progress li { flex: 1; }
.progress button { width: 100%; background: none; border: 0; padding: 0; color: var(--on-night-soft); font: 600 14px/1 var(--body); text-align: left; cursor: pointer; }
.progress button:disabled { cursor: default; }
.progress .bar-seg { display: block; height: 4px; border-radius: 4px; background: rgba(169,183,211,.25); margin-bottom: 9px; overflow: hidden; }
.progress .bar-seg::after { content: ""; display: block; height: 100%; width: 0; background: var(--signal); transition: width .5s var(--ease); }
.progress .done .bar-seg::after, .progress .now .bar-seg::after { width: 100%; }
.progress .now button { color: #fff; }
.progress .done button { color: var(--on-night); }

.board-row { margin-bottom: 26px; min-height: calc(clamp(26px, 5.4vw, 64px) * 1.32); }
.answers { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 22px; min-height: 34px; }
.answers button { background: rgba(14,27,61,.55); backdrop-filter: blur(6px); color: var(--on-night); border: 1px solid rgba(169,183,211,.3);
  border-radius: 999px; padding: 7px 13px; font: 500 14px/1.2 var(--body); cursor: pointer; }
.answers button:hover { border-color: var(--signal); }

.step { background: var(--ticket); color: var(--ink); border-radius: 24px; padding: 32px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); position: relative; }
.js .step { display: none; }
.js .step.now { display: block; animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.no-js .step + .step { margin-top: 20px; }
.step h1:focus { outline: none; }   /* focused only so screen readers announce the new step */
.step h1 { font-size: clamp(40px, 6vw, 64px); line-height: .95; margin-bottom: 8px; }
.step .lede { color: var(--ink-soft); font-size: 18px; margin-bottom: 22px; max-width: 52ch; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.step-nav .back { --b: rgba(14,27,61,.25); color: var(--ink); }
.step-nav .back:hover { background: var(--ticket-2); border-color: var(--ink); }
.hint { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }
.step .error { margin-bottom: 18px; }

/* big search inputs + autofill */
.combo { position: relative; }
.big-input { position: relative; }
.big-input > svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; color: var(--ink-soft); pointer-events: none; }
.big-input input { font: 600 24px/1.2 var(--body); padding: 18px 18px 18px 54px; border-radius: 16px; border-width: 2px; }
.from-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.from-row label { font-weight: 600; color: var(--ink-soft); }
.from-row .combo { flex: 1; min-width: 240px; }
.from-row input { font-weight: 600; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(3,8,26,.5), 0 0 0 1px var(--line); list-style: none; margin: 0; padding: 6px; max-height: 360px; overflow-y: auto; }
.suggest li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--ticket-2); }
.suggest .code { font: 700 18px/1 var(--cond); background: var(--ink); color: #fff; border-radius: 8px; padding: 8px 0; text-align: center; letter-spacing: .04em; }
.suggest .code.country { background: var(--signal); color: var(--ink); font-size: 13px; letter-spacing: 0; }
.suggest b { display: block; font-weight: 600; }
.suggest small { color: var(--ink-soft); font-size: 14px; }
.suggest mark { background: rgba(255,197,49,.5); color: inherit; border-radius: 3px; }
.suggest .free { grid-template-columns: 44px 1fr; color: var(--ink-soft); }

/* "Where in Peru?" picker */
.picker { margin-top: 24px; }
.picker h2 { font-size: 28px; margin-bottom: 4px; }
.picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 14px; }
.place-card { position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--night-3), var(--night)); color: #fff; text-align: left;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.place-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s, transform .6s var(--ease); }
.place-card img.loaded { opacity: 1; }
.place-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,15,38,.9), rgba(8,15,38,.05) 65%); }
.place-card .txt { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.place-card b { display: block; font: 700 22px/1.05 var(--cond); }
.place-card small { display: block; font-size: 13px; line-height: 1.3; color: #DCE5F7; margin-top: 3px; }
.place-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(3,8,26,.7); }
.place-card:hover img { transform: scale(1.05); }
.place-card[aria-pressed="true"] { box-shadow: 0 0 0 4px var(--signal); }
.picker .any { margin-top: 12px; }

/* calendar */
.cal-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal-head b { font: 700 20px/1 var(--cond); }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.cal-nav:hover { border-color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-grid .dow { font-size: 13px; color: var(--ink-soft); padding: 4px 0; font-weight: 600; }
.cal-day { aspect-ratio: 1; border: 0; background: none; border-radius: 10px; font: 500 15px/1 var(--body); color: var(--ink); cursor: pointer; position: relative; }
.cal-day:hover:not(:disabled) { background: var(--ticket-2); }
.cal-day:disabled { color: #BAC4D6; cursor: default; }
.cal-day.in { background: rgba(255,197,49,.28); border-radius: 0; }
.cal-day.start, .cal-day.end { background: var(--ink); color: #fff; font-weight: 700; }
.cal-day.start { border-radius: 10px 0 0 10px; }
.cal-day.end { border-radius: 0 10px 10px 0; }
.cal-day.start.end { border-radius: 10px; }
.cal-day.today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--signal-hot); }
.date-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1.5px dashed var(--line); }
.date-summary .nights { font: 700 22px/1 var(--cond); }
.native-dates { margin-top: 16px; }
.js .native-dates { display: none; }

/* travelers */
.presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.preset { border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 16px 10px 14px; cursor: pointer; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 8px; font: 600 15px/1.2 var(--body); transition: border-color .15s, transform .2s var(--ease); }
.preset svg { width: 34px; height: 34px; }
.preset:hover { border-color: var(--ink); transform: translateY(-2px); }
.preset[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.stepper-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.stepper-row b { display: block; font-size: 18px; }
.stepper-row small { color: var(--ink-soft); }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font: 600 22px/1 var(--body); color: var(--ink); cursor: pointer; }
.stepper button:hover:not(:disabled) { border-color: var(--ink); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper input { width: 56px; text-align: center; font: 700 26px/1 var(--cond); border: 0; background: none; padding: 0; }
.stepper input:focus { box-shadow: none; }

/* budget */
.money { display: flex; align-items: baseline; gap: 6px; font: 700 clamp(56px, 9vw, 92px)/1 var(--cond); color: var(--ink); }
.money input { font: inherit; border: 0; background: none; padding: 0; width: 6ch; color: inherit; }
.money input:focus { box-shadow: none; border-bottom: 3px solid var(--signal); border-radius: 0; }
.money .cur { color: var(--ink-soft); font-size: .6em; }
input[type=range] { width: 100%; accent-color: var(--ink); margin: 14px 0 6px; height: 28px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.tier { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 16px; cursor: pointer; color: var(--ink); transition: border-color .15s, transform .2s var(--ease); }
.tier b { display: block; font: 700 19px/1.1 var(--cond); }
.tier small { color: var(--ink-soft); font-size: 14px; }
.tier:hover { border-color: var(--ink); transform: translateY(-2px); }
.tier[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #FFF6DB; }
.per { font-size: 17px; margin-top: 4px; }
.per b { font-weight: 700; }

/* interests */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; }
.tile span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px 14px; border-radius: 16px; border: 2px solid var(--line);
  background: #fff; cursor: pointer; font: 600 16px/1.1 var(--body); transition: border-color .15s, background .15s, transform .2s var(--ease); }
.tile svg { width: 36px; height: 36px; color: var(--ink); transition: transform .3s var(--ease); }
.tile span:hover { border-color: var(--ink); transform: translateY(-2px); }
.tile input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile input:checked + span svg { color: var(--signal); transform: scale(1.08); }
.tile input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.style-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.style-row p { font-weight: 600; margin-bottom: 8px; }
details.more { margin-top: 22px; border-top: 1.5px dashed var(--line); padding-top: 16px; }
details.more summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ticket-2); font-weight: 700; }
details.more[open] summary::before { content: "−"; }
details.more .more-body { display: grid; gap: 18px; margin-top: 16px; }

.photo-credit { position: fixed; right: 16px; bottom: 12px; z-index: 2; font-size: 12px; color: rgba(234,240,251,.75);
  background: rgba(8,15,38,.45); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; max-width: 70vw; }
.photo-credit a { color: #fff; }
.photo-credit:empty { display: none; }

/* loading: the board flips through what's happening */
.loading { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; text-align: center; padding: 24px;
  background: rgba(14,27,61,.55); }
.loading.on { display: grid; animation: fade .3s ease; }
body.is-loading .stage, body.is-loading .photo-credit, body.is-loading footer { visibility: hidden; }
.loading .board { justify-content: center; flex-wrap: nowrap; --tile: min(52px, calc((100vw - 48px) / 10)); }
.loading .board .word { margin-right: 0; }
.loading p { margin-top: 22px; color: var(--on-night); font-size: 18px; min-height: 2.8em; }
body.is-loading { overflow: hidden; }
.loading > div { width: 100%; }
.loading .dots { display: inline-flex; gap: 6px; margin-top: 16px; }
.loading .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: blink 1.2s infinite; }
.loading .dots i:nth-child(2) { animation-delay: .2s; } .loading .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

/* ======================================================================
   PLAN PAGE
   ====================================================================== */
.hero { position: relative; margin: 0 -24px; padding: 40px 24px 0; min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-photo { position: absolute; top: -90px; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; overflow: hidden; background: var(--night); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: fade .8s ease; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--night) 0%, rgba(14,27,61,.55) 38%, rgba(14,27,61,.15) 70%, rgba(14,27,61,.55) 100%); }
.hero-photo.none::after { background: radial-gradient(900px 500px at 75% 20%, rgba(61,123,247,.3), transparent 65%); }
.hero .board { margin-bottom: 26px; }
.hero .photo-credit { position: absolute; right: 24px; top: 8px; bottom: auto; }

.pass { display: grid; grid-template-columns: 1fr auto; background: var(--ticket); color: var(--ink); border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.75); position: relative; }
.pass-main { padding: 26px 30px; }
.pass-route { display: flex; align-items: center; gap: 18px; }
.pass-route .code { font: 700 clamp(44px, 7vw, 76px)/.9 var(--cond); letter-spacing: .01em; }
.pass-route .city { display: block; font: 500 15px/1.2 var(--body); color: var(--ink-soft); margin-top: 4px; letter-spacing: 0; }
.pass-route .path { flex: 1; min-width: 60px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); position: relative; }
.pass-route .path svg { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; transform: translate(-50%, -50%); color: var(--ink); background: var(--ticket); padding: 0 4px; }
.pass-facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 20px; }
.pass-facts div { min-width: 90px; }
.pass-facts small { display: block; color: var(--ink-soft); font-size: 13px; font-weight: 500; }
.pass-facts b { font: 700 22px/1.1 var(--cond); }
.pass-summary { margin-top: 16px; color: var(--ink-soft); font-size: 16px; max-width: 70ch; }
.pass-stub { padding: 26px 30px; border-left: 2px dashed var(--line); min-width: 280px; position: relative; display: flex; flex-direction: column; justify-content: center; }
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--night); }
.pass-stub::before { top: -14px; } .pass-stub::after { bottom: -14px; }
.pass-stub .total { font: 700 52px/1 var(--cond); }
.pass-stub .of { color: var(--ink-soft); font-size: 15px; margin-top: 2px; }
.left { margin-top: 12px; font-weight: 600; }
.left.ok b { color: var(--go); }
.left.over b { color: var(--stop); }
.track { position: relative; display: flex; height: 12px; border-radius: 6px; background: var(--ticket-2); overflow: visible; margin-top: 12px; }
.track span { height: 100%; }
.track span:first-child { border-radius: 6px 0 0 6px; }
.track .limit { position: absolute; top: -5px; bottom: -5px; width: 3px; background: var(--ink); border-radius: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: 0; }

.jump { position: sticky; top: 0; z-index: 30; margin: 22px -24px 0; padding: 10px 24px; background: rgba(14,27,61,.9); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(169,183,211,.15); display: flex; align-items: center; gap: 12px; }
.jump-links { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 22px; }
.jump-links::-webkit-scrollbar { display: none; }
.jump a { flex: none; color: var(--on-night); text-decoration: none; font: 600 15px/1 var(--body); padding: 9px 14px; border-radius: 999px; border: 1px solid transparent; }
.jump a:hover { border-color: rgba(169,183,211,.35); }
.jump a.on { background: var(--signal); color: var(--ink); }

.plan-body { margin-top: 26px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head h2 { color: #fff; font-size: clamp(30px, 4vw, 40px); margin: 0; }
.section-head p { color: var(--on-night-soft); }

/* change box */
.change-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.changed { background: #DDF3E9; border-radius: 12px; padding: 10px 14px; margin: 10px 0; }
#change-form .field { margin: 10px 0 8px; }
#change-form .chips { margin: 10px 0 16px; }

/* day by day: board rows + timeline + map */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; align-items: start; }
.split > *, .cols > * { min-width: 0; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.tab { flex: none; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 10px; cursor: pointer; color: var(--ink); font: 500 14px/1.2 var(--body); max-width: 230px; }
.tab .d { grid-row: span 2; width: 42px; height: 48px; border-radius: 8px; display: grid; place-items: center; font: 700 26px/1 var(--cond);
  background: linear-gradient(#1A2B5C 0 50%, #13224C 50%); color: #fff; position: relative; }
.tab .d::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #050B20; }
.tab b { font-weight: 700; font-size: 15px; }
.tab .a { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.tab[aria-selected="true"] .a { color: var(--on-night-soft); }
.tab[aria-selected="true"] .d { background: linear-gradient(var(--signal) 0 50%, var(--signal-hot) 50%); color: var(--ink); }
.day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.day-head h3 { font-size: 28px; }
.weather { font-size: 14px; background: var(--ticket-2); padding: 5px 10px; border-radius: 999px; }
.day-events { margin-top: 8px; font-size: 15px; }
.stops { list-style: none; padding: 0; margin: 18px 0 0; }
.stop { display: grid; grid-template-columns: 64px 26px 1fr; gap: 0 10px; }
.stop .time { font: 700 20px/1.3 var(--cond); padding-top: 2px; text-align: right; }
.stop .rail { position: relative; display: flex; justify-content: center; }
.stop .rail::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--line); }
.stop:first-child .rail::before { top: 12px; }
.stop:last-child .rail::before { bottom: calc(100% - 12px); }
.stop .pin { position: relative; margin-top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--c-flights); }
.stop.meal .pin { border-color: var(--signal-hot); }
.stop .body { padding-bottom: 20px; }
.stop .name { font-weight: 700; font-size: 18px; }
.stop .name a { color: var(--ink); text-decoration-color: rgba(14,27,61,.25); }
.stop .name a:hover { text-decoration-color: var(--signal-hot); }
.stop .info { color: var(--ink-soft); font-size: 15px; }
.stop .leg { font-size: 13px; color: var(--ink-soft); margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; }
.free { color: var(--go); font-weight: 600; }
.empty-day { color: var(--ink-soft); margin-top: 14px; }
.mapbox { position: sticky; top: 76px; border-radius: var(--r-ticket); overflow: hidden; background: var(--night-2); min-height: 560px; box-shadow: var(--shadow-ticket); }
#map { height: 560px; }
#map p { color: var(--on-night-soft); }

/* destination gallery strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip figure { margin: 0; scroll-snap-align: start; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--night-2); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.strip figure:hover img { transform: scale(1.04); }
.strip figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 14px 10px; font-size: 13px; color: #DCE5F7;
  background: linear-gradient(0deg, rgba(8,15,38,.85), transparent); }
.strip figcaption b { display: block; color: #fff; font: 700 19px/1.1 var(--cond); }
.strip figcaption a { color: #fff; }

/* flights as strips */
.flights { list-style: none; padding: 0; margin: 0; }
.flight { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.flight:first-child { border-top: 0; }
.flight.chosen { background: #FFF6DB; margin: 0 -16px; padding: 16px; border-radius: 14px; border-top-color: transparent; }
.flight.chosen + .flight { border-top-color: transparent; }
.flight .who b { display: block; font-size: 17px; margin-top: 6px; }
.flight .times { font: 700 24px/1.1 var(--cond); }
.flight .times span { color: var(--ink-soft); font-weight: 500; font-family: var(--body); font-size: 15px; margin: 0 6px; }
.flight .sub { color: var(--ink-soft); font-size: 14px; margin-top: 3px; }
.flight .price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.flight .price b { display: block; font: 700 28px/1 var(--cond); }
.flight .price small { color: var(--ink-soft); font-size: 13px; }
.flight .price .btn { margin-top: 8px; }
.fine { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }

/* stays */
.stays { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.stay { display: grid; grid-template-columns: 340px 1fr auto; gap: 22px; align-items: start; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; }
.stay.chosen { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.gallery { display: grid; gap: 4px; border-radius: 12px; overflow: hidden; height: 210px; }
.gallery.n1 { grid-template-columns: 1fr; }
.gallery.n2 { grid-template-columns: 2fr 1fr; }
.gallery.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.n3 .lead { grid-row: span 2; }
.gallery.none { display: grid; place-items: center; background: var(--ticket-2); color: var(--ink-soft); font-size: 14px; }
.ph { position: relative; border: 0; padding: 0; cursor: zoom-in; background: var(--ticket-2); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ph:hover img { transform: scale(1.05); }
.ph .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14,27,61,.55); color: #fff; font: 700 22px/1 var(--cond); }
.stay-info h3 { font-size: 24px; margin-top: 8px; }
.stay-info .why { margin: 8px 0 6px; font-size: 15px; }
.stay-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding: 6px 6px 0 0; }
.stay-price b { font: 700 30px/1 var(--cond); }
.stay-price small { color: var(--ink-soft); font-size: 13px; line-height: 1.35; }
.stay-price .btn { margin-top: 8px; }
.airbnb { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--ticket-2); }

dialog#viewer { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); }
dialog#viewer::backdrop { background: rgba(5,11,32,.9); }
#viewer-img { max-height: 78vh; border-radius: 14px; margin: 0 auto; }
.viewer-bar { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; color: var(--on-night); }

/* tables */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--ink-soft); font-weight: 600; border-top: 0; }
td.r, th.r { text-align: right; }
tr.chosen td { background: #FFF6DB; }
.total-row td { font-weight: 700; font-size: 18px; border-top: 2px solid var(--ink); }
.scroll { overflow-x: auto; }

/* events, tips, checklist */
.ev-day { font-size: 20px; margin: 18px 0 8px; }
.ev-day:first-of-type { margin-top: 0; }
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.event { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); }
.event img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.event .name { font-weight: 700; }
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tips li { padding: 12px 14px; border-radius: 12px; background: #fff; border-left: 4px solid var(--c-flights); font-size: 15px; }
.tips li.scam { border-left-color: var(--stop); }
.tips li.gem { border-left-color: var(--go); }
.tips li.overrated { border-left-color: var(--c-buffer); }
.tips li.timing { border-left-color: var(--signal-hot); }
.tips .kind { display: block; font-weight: 700; font-size: 13px; color: var(--ink-soft); margin-bottom: 2px; }
.checklist { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 10px; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 15px; }
.checklist li::before { content: counter(c); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 700 16px/1 var(--cond);
  background: linear-gradient(#1A2B5C 0 50%, #13224C 50%); color: #fff; }
.notes { margin: 0; padding-left: 18px; font-size: 15px; }

/* ======================================================================
   BOOKING PAGES (kept class names)
   ====================================================================== */
.offers, .rates, .booking-list, .hotel-grid { list-style: none; padding: 0; margin-bottom: 0; }
.offers, .rates, .booking-list { margin-top: 0; }
.offer { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.offer.match { background: #FFF6DB; margin: 0 -14px; padding: 16px 14px; border-radius: 14px; }
.offer-price { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.offer-price .num { font-family: var(--cond); }
.leg-line { margin: 4px 0; }
.leg-line b { display: inline-block; width: 46px; }
.total-line { font-size: 18px; margin-top: 8px; }
.traveler { border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; margin: 0 0 16px; background: #fff; }
.traveler legend { font-size: 18px; padding: 0 6px; }
.confirm { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 20px; font-size: 16px; }
.confirm input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--ink); }
.inline-form { display: flex; gap: 12px; align-items: flex-end; margin-top: 14px; }
.inline-form .btn { height: 48px; }
.hotel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 22px; }
.hotel { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.hotel img, .hotel .ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: var(--ticket-2); }
.hotel-body { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.hotel-body h2 { font-size: 22px; margin: 0 0 4px; }
.hotel-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.photo-strip { display: flex; gap: 8px; overflow-x: auto; margin-top: 14px; }
.photo-strip img { height: 170px; border-radius: 12px; flex: none; }
.rates li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.booking-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.booking-list a { color: inherit; text-decoration: none; }
.booking-list a:hover b { text-decoration: underline; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 16px 0; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 500; }
.trip-band { position: relative; height: 150px; margin: 0 0 22px; border-radius: 22px; overflow: hidden; background: var(--night-2); }
.trip-band img { width: 100%; height: 100%; object-fit: cover; animation: fade .8s ease; }
.trip-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,27,61,.85), rgba(14,27,61,.1) 70%); }
.trip-band .board { position: absolute; left: 24px; bottom: 22px; z-index: 1; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .mapbox { position: relative; top: 0; min-height: 360px; }
  #map { height: 360px; }
  .stay { grid-template-columns: 1fr; }
  .stay-price { text-align: left; align-items: flex-start; }
  .pass { grid-template-columns: 1fr; }
  .pass-stub { border-left: 0; border-top: 2px dashed var(--line); min-width: 0; }
  .pass-stub::before, .pass-stub::after { top: -15px; bottom: auto; }
  .pass-stub::before { left: -14px; } .pass-stub::after { left: auto; right: -14px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px 32px; }
  .hero { margin: 0 -16px; padding: 24px 16px 0; min-height: 70vh; }
  .jump { margin: 18px -16px 0; padding: 10px 16px; }
  .ticket, .panel { padding: 20px; }
  .step { padding: 22px 18px; border-radius: 20px; }
  .cal-wrap { grid-template-columns: 1fr; }
  .cal-wrap .cal:last-child { display: none; }
  .presets { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .style-row { grid-template-columns: 1fr; }
  .flight { grid-template-columns: 1fr; gap: 8px; }
  .flight .price { text-align: left; align-items: flex-start; }
  .offer, .rates li { flex-direction: column; align-items: stretch; }
  .offer-price { align-items: flex-start; }
  .airbnb { flex-direction: column; align-items: flex-start; }
  .progress button { font-size: 12px; }
  .bar .actions { flex-wrap: nowrap; gap: 6px; }
  .bar .btn { padding: 9px 12px; font-size: 14px; }
  .brand { font-size: 21px; }
  .hero .photo-credit { position: static; order: 3; align-self: flex-start; margin: 12px 0 0; }
  .pass-main, .pass-stub { padding: 20px; }
  .pass-route { gap: 10px; }
  .step-nav .go { flex: 1; }
  .photo-credit { position: static; display: inline-block; margin-top: 16px; max-width: 100%; }
  .picker-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .place-card b { font-size: 19px; }
  .place-card small { display: none; }
  .board { --tile: clamp(24px, 7.4vw, 40px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ======================================================================
   CHEAPEST FLIGHTS ANYWHERE
   ====================================================================== */
.explore-head { padding: 18px 0 22px; }
.explore-title { font-size: clamp(36px, 5.4vw, 60px); color: #fff; margin-top: 22px; }
.explore-sub { color: var(--on-night-soft); font-size: 18px; margin-top: 6px; }
.explore-form { position: relative; z-index: 3; }
.ex-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .6fr) minmax(0, .6fr); gap: 14px; align-items: end; }
.ex-grid > * { min-width: 0; }
.ex-grid .combo { position: relative; }
.ex-grid #ex-origin { font-weight: 700; font-size: 20px; letter-spacing: .03em; }
.ex-filters { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-end; margin-top: 20px; padding-top: 18px; border-top: 1.5px dashed var(--line); }
.ex-label { font-weight: 600; font-size: 15px; color: var(--ink-soft); margin-bottom: 8px; }
.ex-max { max-width: 190px; }
.ex-go { margin-top: 22px; }

.departures { margin-top: 6px; background: #0A1431; border-radius: 18px; padding: 8px 10px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.8), inset 0 0 0 1px rgba(141,184,255,.12); }
.dep-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) auto; gap: 16px; align-items: center;
  padding: 12px 14px; border-radius: 10px; color: var(--on-night); text-decoration: none; border-top: 1px solid rgba(141,184,255,.1); }
.dep-row:first-child, .dep-row.dep-head + .dep-row { border-top: 0; }
a.dep-row:hover { background: rgba(141,184,255,.08); color: #fff; }
.dep-head { font-size: 13px; color: var(--on-night-soft); font-weight: 600; padding-top: 6px; padding-bottom: 6px; }
.dep-head .r { text-align: right; }
.dep-dest b { display: block; font: 700 24px/1.05 var(--cond); letter-spacing: .05em; color: #fff; }
.dep-dest small { color: var(--on-night-soft); font-size: 13px; }
.dep-flight { font-size: 15px; color: var(--on-night-soft); }
.dep-price { font: 700 26px/1 var(--cond); color: var(--ink); background: linear-gradient(var(--signal) 0 50%, var(--signal-hot) 50%);
  padding: 8px 12px; border-radius: 8px; position: relative; min-width: 92px; text-align: center; }
.dep-price::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(14,27,61,.35); }

.ex-tools { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 30px 0 16px; }
.ex-tools .chip-btn { background: transparent; color: var(--on-night); border-color: rgba(169,183,211,.35); }
.ex-tools .chip-btn:hover { border-color: var(--on-night); }
.ex-tools .chip-btn.on { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.ex-sort { display: flex; align-items: center; gap: 10px; color: var(--on-night-soft); font-size: 15px; }
.ex-sort select { width: auto; padding: 9px 12px; color-scheme: light; }

.deals { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.deal { background: var(--ticket); color: var(--ink); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-ticket); color-scheme: light; }
.deal[hidden] { display: none; }
.deal-photo { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--night-3), var(--night)); }
.deal-photo img { width: 100%; height: 100%; object-fit: cover; }
.deal-badge { position: absolute; left: 12px; top: 12px; background: var(--signal); color: var(--ink); }
.deal-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.deal-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.deal-top h3 { font-size: 25px; }
.deal-top .muted { font-size: 14px; margin-top: 2px; }
.deal-price { text-align: right; }
.deal-price b { display: block; font: 700 30px/1 var(--cond); }
.deal-price small { color: var(--ink-soft); font-size: 12px; }
.deal-meta { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }
.deal-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; }
.deal-actions .btn { font-size: 15px; padding: 10px 16px; }
.deal:target { box-shadow: 0 0 0 4px var(--signal), var(--shadow-ticket); }

@media (max-width: 860px) {
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-grid .combo { grid-column: span 2; }
}
@media (max-width: 680px) {
  .dep-row { grid-template-columns: minmax(0, 1fr) auto; }
  .dep-flight, .dep-head span:nth-child(2) { display: none; }
  .dep-dest b { font-size: 20px; }
  .bar .actions .btn[href$="/explore"] { display: none; }
}

/* affiliate extras */
.alt-link { font-size: 13px; color: var(--ink-soft) !important; margin-top: 6px; }
.tours-cta { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: 18px; background: var(--night-2); border: 1px solid rgba(141,184,255,.18); }
.tours-cta p { color: var(--on-night); max-width: 70ch; }
.disclosure { margin-top: 6px; }
.about h2 { font-size: 24px; margin: 22px 0 8px; }
.about p, .about li { font-size: 16px; }
.about ul { padding-left: 20px; display: grid; gap: 6px; }


/* ======================================================================
   PLAN PAGE: share, drawers, flight timelines, tip cards
   ====================================================================== */
.sr-only:focus { position: static; width: auto; height: auto; clip: auto; }
.share-wrap { position: relative; flex: none; }
.share-form { margin: 0; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0;
  background: var(--signal); color: var(--ink); font: 700 15px/1 var(--body); cursor: pointer; box-shadow: 0 6px 18px -8px rgba(255,197,49,.8);
  transition: background .2s, transform .2s var(--ease); }
.share-btn:hover { background: #FFD155; }
.share-btn:active { transform: scale(.97); }
.share-btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.share-pop { position: fixed; right: 16px; top: 70px; z-index: 40; width: min(370px, calc(100vw - 32px)); box-sizing: border-box;
  padding: 20px; border-radius: 18px; background: #fff; color: var(--ink); color-scheme: light; box-shadow: 0 30px 70px -20px rgba(3,8,26,.75);
  transform-origin: top right; animation: pop-in .28s var(--ease); }
.share-pop[hidden] { display: none; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.pop-title { font: 700 23px/1.1 var(--cond); }
.pop-sub { margin: 4px 0 14px; font-size: 14px; color: var(--ink-soft); }
.pop-link { display: flex; gap: 8px; }
.pop-link input { flex: 1; min-width: 0; height: 46px; box-sizing: border-box; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px;
  font: 500 14px/1 var(--body); color: var(--ink); background: var(--ticket); text-overflow: ellipsis; }
.pop-link input:focus { outline: 0; border-color: var(--ink); }
.copy-btn { flex: none; min-width: 104px; height: 46px; border: 0; border-radius: 12px; background: var(--signal); color: var(--ink);
  font: 700 15px/1 var(--body); cursor: pointer; transition: background .2s; }
.copy-btn:hover { background: #FFD155; }
.copy-btn:disabled { opacity: .5; cursor: progress; }
.copy-btn.done { background: #DDF3E9; color: #0E6A45; }
.pop-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; margin-top: 12px; }
.share-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 0; border-radius: 12px; background: var(--ticket);
  color: var(--ink) !important; font: 600 13px/1 var(--body); text-decoration: none; cursor: pointer; }
.share-opt:hover { background: var(--ticket-2); }
.share-opt[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.pop-msg { margin-top: 10px; font-size: 14px; color: var(--ink-soft); min-height: 1em; }
.pop-msg:empty { display: none; }
.pop-msg.bad { color: var(--stop); }
.share-scrim { display: none; }

.shared-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin: 6px 0 18px;
  padding: 16px 20px; border-radius: 18px; background: rgba(255,197,49,.12); border: 1px solid rgba(255,197,49,.35); color: var(--on-night); }
.shared-banner b { display: block; font: 700 22px/1.1 var(--cond); color: #fff; }
.shared-banner span { font-size: 15px; color: var(--on-night-soft); }
.shared-banner .pop-link { flex: 1 1 320px; max-width: 520px; }
.notice { padding: 12px 16px; border-radius: 12px; background: rgba(141,184,255,.12); border: 1px solid rgba(141,184,255,.35); color: var(--on-night); font-size: 15px; }
#plan-notice:empty { display: none; }

/* drawers */
.essentials { display: flex; flex-direction: column; gap: 18px; }
.essentials .section-head { margin-bottom: 0; }
.drawer { position: relative; border-radius: 22px; overflow: hidden; background: var(--ticket); color: var(--ink); color-scheme: light;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 22px 44px -22px rgba(3,8,26,.75); scroll-margin-top: 76px; }
.drawer-h { margin: 0; font: inherit; }
.drawer-head { all: unset; box-sizing: border-box; position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; width: 100%; min-height: 164px; padding: 24px 26px; cursor: pointer; overflow: hidden; color: #fff; -webkit-tap-highlight-color: transparent;
  background: var(--night-2); }
.drawer-head:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; border-radius: 22px 22px 0 0; }
.scene { position: absolute; inset: 0; z-index: -2; background: var(--night-2); transition: transform 1s var(--ease); }
.scene .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.scene.loaded img { opacity: 1; }
.drawer-head:hover .scene { transform: scale(1.04); }
.shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,16,40,.88) 0%, rgba(8,16,40,.55) 48%, rgba(8,16,40,.18) 100%); }
.dh-text { display: flex; flex-direction: column; min-width: 0; }
.kicker { display: flex; gap: 4px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.kicker .tile { display: inline-grid; place-items: center; width: 22px; height: 29px; border-radius: 4px; position: relative;
  background: linear-gradient(#1A2B5C 0 50%, #13224C 50%); box-shadow: 0 2px 0 #050B20; font: 700 19px/1 var(--cond); color: #F4F7FF; }
.kicker .tile::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 2px; background: #050B20; opacity: .8; }
.kicker .tile.hot { background: linear-gradient(var(--signal) 0 50%, var(--signal-hot) 50%); color: var(--ink); }
.kicker .arrow { margin: 0 4px; color: var(--signal); font: 700 17px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; }
.dh-title { font: 700 clamp(40px, 6vw, 56px)/.95 var(--cond); letter-spacing: .02em; text-transform: uppercase; }
.dh-sub { margin-top: 8px; color: #D7E0F2; font-size: 16px; overflow: hidden; text-overflow: ellipsis; }
.dh-side { display: flex; align-items: center; gap: 16px; flex: none; }
.pill { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding: 10px 16px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill small { font-size: 12px; color: #D7E0F2; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.pill b { font: 700 32px/1 var(--cond); white-space: nowrap; }
.pill .per { font-size: 17px; font-weight: 600; }
.chev { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--signal); color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(255,197,49,.8); transition: transform .45s var(--ease); }
.drawer.open .chev { transform: rotate(180deg); }
.scene-credit { position: absolute; top: 10px; right: 14px; z-index: 2; margin: 0; font-size: 11px; color: rgba(255,255,255,.75); max-width: 60%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-credit:empty { display: none; }
.scene-credit a { color: #fff !important; }
.drawer-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.drawer.open .drawer-panel { grid-template-rows: 1fr; }
.drawer.instant .drawer-panel, .drawer.instant .chev { transition: none; }
.drawer-inner { overflow: hidden; min-height: 0; }
.drawer-inner > * { padding: 8px 26px 26px; }
.drawer:not(.open) .drawer-inner { visibility: hidden; transition: visibility 0s .55s; }
.no-js .drawer-panel { grid-template-rows: 1fr; }
.no-js .drawer:not(.open) .drawer-inner { visibility: visible; }
.no-js .chev { display: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.drawer.open:not(.settled) :is(.fl, .stay, .ev, .airbnb, .fine, .empty-note) { animation: drop .55s var(--ease) both; }
.drawer.open:not(.settled) :is(.fl, .stay, .ev):nth-child(2) { animation-delay: .07s; }
.drawer.open:not(.settled) :is(.fl, .stay, .ev):nth-child(3) { animation-delay: .14s; }
.drawer.open:not(.settled) :is(.fl, .stay, .ev):nth-child(4) { animation-delay: .21s; }
.drawer.open:not(.settled) :is(.fl, .stay, .ev):nth-child(n+5) { animation-delay: .28s; }
.drawer.open:not(.settled) .airbnb, .drawer.open:not(.settled) .fine { animation-delay: .3s; }
.empty-note { color: var(--ink-soft); margin-bottom: 12px; }

/* flights as boarding-pass rows */
.fl-list { list-style: none; margin: 0; padding: 0; }
.fl { display: grid; grid-template-columns: minmax(140px, .8fr) minmax(0, 2fr) auto; grid-template-areas: "who route price" "who sub price";
  gap: 6px 26px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fl:last-child { border-bottom: 0; }
.fl.mine { background: #FFF6DB; margin: 8px -14px; padding: 20px 14px; border-radius: 16px; border-bottom-color: transparent; }
.fl-who { grid-area: who; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.fl-who b { font-size: 18px; }
.badge svg { margin-right: 4px; }
.fl-route { grid-area: route; display: flex; align-items: center; gap: 12px; }
.fl-end { display: flex; flex-direction: column; }
.fl-end.r { align-items: flex-end; text-align: right; }
.fl-end b { font: 700 24px/1 var(--cond); white-space: nowrap; }
.fl-end sup { font-size: 13px; color: var(--stop); margin-left: 2px; }
.fl-end span { font-size: 13px; color: var(--ink-soft); margin-top: 3px; letter-spacing: .04em; }
.route { flex: 1; position: relative; min-width: 70px; height: 2px; background: #C9D3E3; margin: 0 6px; }
.route::before, .route::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.route::before { left: -5px; } .route::after { right: -5px; }
.stopdot { position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2.5px solid var(--c-flights); box-sizing: border-box; }
.route-top { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font: 600 12px/1 var(--body); color: #2155C9; white-space: nowrap; }
.route-bot { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font: 500 12px/1 var(--body); color: var(--ink-soft); white-space: nowrap; }
.fl-sub { grid-area: sub; color: var(--ink-soft); font-size: 14px; margin-top: 8px; }
.fl-price { grid-area: price; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.fl-price > b { font: 700 30px/1 var(--cond); }
.fl-price small { color: var(--ink-soft); font-size: 13px; }
.fl-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-top: 8px; }
.fl-actions form { margin: 0; }
.drawer .btn { --b: rgba(14,27,61,.28); color: var(--ink); }
.drawer .btn:hover { background: var(--ticket-2); border-color: var(--ink); }
.drawer .btn.primary { color: var(--ink); }
.drawer .btn.primary:hover { background: #FFD155; border-color: #FFD155; }
.use-btn { font-size: 15px; padding: 10px 16px; }
.use-btn[aria-busy="true"] { cursor: progress; opacity: .7; }
.stay-info .badges { display: flex; gap: 6px; flex-wrap: wrap; }
.stay-price .fl-actions { justify-content: flex-start; }
@media (min-width: 961px) { .stay-price .fl-actions { justify-content: flex-end; } }

/* events */
.ev-list { list-style: none; margin: 0; padding: 0; }
.ev { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 12px 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ev:last-child { border-bottom: 0; }
.ev:target { background: #FFF6DB; border-radius: 14px; margin: 0 -12px; padding: 16px 12px; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 68px; border-radius: 12px; background: var(--ink); color: #fff; }
.ev-date small { font: 600 12px/1 var(--body); letter-spacing: .12em; color: var(--signal); }
.ev-date b { font: 700 30px/1 var(--cond); }
.ev-img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.ev:not(:has(.ev-img)) { grid-template-columns: auto minmax(0, 1fr) auto; }
.ev-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ev-body .name { font-size: 18px; }
.ev-body .muted { font-size: 14px; }

/* local tips as cards */
.tips-head { align-items: flex-end; }
.tips-head .rule { display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--signal); margin-bottom: 12px; }
.tip-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 16px; }
.tip-card { --tc: #C5D0E6; --tb: rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 12%, transparent), rgba(255,255,255,.02)); border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent);
  transition: transform .3s var(--ease), border-color .3s; }
.tip-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tc) 55%, transparent); }
.tip-card.warn { --tc: #FF8A7A; } .tip-card.time { --tc: var(--sky); } .tip-card.star { --tc: var(--signal); }
.tip-card.skip { --tc: #C5D0E6; } .tip-card.info { --tc: #7FD1AE; }
.tip-top { display: flex; align-items: center; gap: 12px; }
.tip-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--tc); background: color-mix(in srgb, var(--tc) 16%, transparent); }
.tip-kind { font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--tc); }
.tip-text { font-size: 18px; line-height: 1.55; color: #F4F7FF; }
.tip-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--on-night-soft); }
.empty-tips { color: var(--on-night-soft); }
.checklist-card { margin-top: 18px; }
.checklist-card h3 { font-size: 24px; margin-bottom: 14px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--go); color: #fff; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 60; transform: translateX(-50%); max-width: min(520px, calc(100vw - 32px)); box-sizing: border-box;
  padding: 14px 20px; border-radius: 14px; background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 50px -16px rgba(0,0,0,.8); font-size: 15px; animation: toast-in .35s var(--ease); }
.toast.bad { background: #5A1A14; border-color: rgba(255,138,122,.4); }
.toast[hidden] { display: none; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.swapped { animation: flash-in .6s ease; }
@keyframes flash-in { from { opacity: .72; } }

@media (max-width: 960px) {
  .fl { grid-template-columns: minmax(0, 1fr); grid-template-areas: "who" "route" "sub" "price"; gap: 10px; }
  .fl-price { align-items: flex-start; text-align: left; }
  .fl-actions { justify-content: flex-start; }
  .fl-route { padding: 14px 0 10px; }
}
@media (max-width: 680px) {
  .jump { gap: 8px; }
  .wide-only { display: none; }
  .share-btn { padding: 0 14px; min-height: 40px; }
  .share-pop { position: fixed; left: 12px !important; right: 12px !important; top: auto !important; bottom: 12px; width: auto; border-radius: 22px; transform-origin: bottom center;
    padding-bottom: max(20px, env(safe-area-inset-bottom)); animation: sheet-in .3s var(--ease); }
  .share-scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(5,11,32,.5); }
  .share-scrim[hidden] { display: none; }
  @keyframes sheet-in { from { transform: translateY(30px); opacity: 0; } }
  .drawer-head { min-height: 150px; padding: 20px 18px; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 14px; }
  .dh-side { justify-content: space-between; }
  .pill { align-items: flex-start; }
  .pill b { font-size: 28px; }
  .chev { width: 44px; height: 44px; }
  .drawer-inner > * { padding: 4px 18px 22px; }
  .fl.mine { margin: 6px -10px; padding: 16px 10px; }
  .ev { grid-template-columns: auto minmax(0, 1fr); }
  .ev .ev-img { display: none; }
  .ev .btn { grid-column: 2; justify-self: start; }
  .tip-card { padding: 20px; }
  .tip-text { font-size: 17px; }
  .shared-banner { padding: 14px 16px; }
  .toast { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .drawer-panel, .chev, .scene { transition: none; }
  .drawer.open :is(.fl, .stay, .ev, .airbnb, .fine) { animation: none !important; }
}
