/* ==========================================================================
   MEGA BOOKINGS · THE ART OF TRAVEL — design system + screens.

   One system for every tab (Home, Hotels, Flights, Rides, Tickets):
   · Tokens (section 1) hold every colour, type size, space, radius, shadow
     and timing. Screens use tokens only, so all four products read as one.
   · Mega Indigo is the accent. It marks what matters (the main
     action, the active tab, the route, prices you act on). The metallic
     gradient and the light sweep are reserved for the primary button and
     the boarding pass; nothing else glows.
   · Mobile first; desktop (960px+) gets its own wider compositions.
   · Motion is transform/opacity only, never loops on the page, and stops
     under prefers-reduced-motion (last block).
   ========================================================================== */

/* ---------- 0. brand fonts (Archivo Expanded, self-hosted; see media kit) ---------- */
@font-face { font-family: "Archivo Expanded"; font-weight: 500 600; font-style: normal; font-display: swap; src: url("/fonts/ArchivoExpanded-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Archivo Expanded"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/ArchivoExpanded-Bold.woff2") format("woff2"); }
@font-face { font-family: "Archivo Expanded"; font-weight: 800 900; font-style: normal; font-display: swap; src: url("/fonts/ArchivoExpanded-ExtraBold.woff2") format("woff2"); }

/* Inter, the brand's text face (media kit v1.0), Latin subset, self-hosted. */
@font-face { font-family: Inter; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 700 900; font-style: normal; font-display: swap; src: url("/fonts/Inter-Bold.woff2") format("woff2"); }

/* ---------- 1. tokens ---------- */
:root {
  /* colour */
  --bg: #0A0B10;
  --bg-2: #0D0E1A;
  --surface: #13151C;
  --surface-2: #1A1D2B;
  --surface-glass: rgba(18, 20, 31, 0.78);
  --accent: #818CF8;
  --accent-hi: #A5B4FC;
  --accent-deep: #6366F1;
  --accent-tint: rgba(129, 140, 248, 0.12);
  --accent-line: #262A3B;
  --accent-line-2: rgba(129, 140, 248, 0.38);
  --ivory: #EEF0F7;
  --text: #EEF0F7;
  --text-2: #A3A7B7;
  --text-3: #71768E;
  --hair: #262A35;
  --hair-2: rgba(238, 240, 247, 0.16);
  --ok: #34D399;
  --warn: #F87171;
  --warn-tint: rgba(248, 113, 113, 0.12);  /* soft red under --warn text */
  --ink: #0E0B33;                 /* text on the indigo accent */
  --pass-ink: #0F1222;            /* midnight type on the ivory pass */
  --pass-ink-2: #4A4F66;          /* quieter type on the pass (6:1 on its darkest paper) */
  --metal: linear-gradient(180deg, #A5B4FC 0%, #818CF8 50%, #6366F1 100%);
  --metal-text: linear-gradient(100deg, #6366F1 0%, #A5B4FC 48%, #818CF8 100%);

  /* product colors: each product reads as itself; indigo stays the brand and the main action.
     A screen or an item sets --k / --k-ink / --k-tint from these (see "product context"). */
  --k-hotel: #2DD4BF;  --k-hotel-ink: #042F2E;  --k-hotel-tint: rgba(45, 212, 191, 0.12);
  --k-ride: #E8C66A;   --k-ride-ink: #1A1406;   --k-ride-tint: rgba(232, 198, 106, 0.12);
  --k-ticket: #FF5A73; --k-ticket-ink: #1A0508; --k-ticket-tint: rgba(255, 90, 115, 0.12);
  --k-flight: #38BDF8; --k-flight-ink: #062235; --k-flight-tint: rgba(56, 189, 248, 0.12);
  /* the paper pass is light in both themes: inside it the light values are used */
  --k-hotel-paper: #0F766E; --k-ride-paper: #8A6716; --k-ticket-paper: #D20E36; --k-flight-paper: #0369A1;
  /* photo cards keep a dark scrim in both themes: on them the night values are used */
  --k-hotel-night: #2DD4BF; --k-ride-night: #E8C66A; --k-ticket-night: #FF5A73; --k-flight-night: #38BDF8;
  --k-hotel-ink-night: #042F2E; --k-ride-ink-night: #1A1406; --k-ticket-ink-night: #1A0508; --k-flight-ink-night: #062235;
  /* status green strong enough for a chip or text in both themes ("Live"), and its value on the paper pass */
  --ok-strong: #34D399; --ok-ink: #0A0B10; --ok-paper: #047857;

  /* type */
  --font-display: "Archivo Expanded", "Arial Black", Inter, system-ui, sans-serif;
  --font-ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(2.2rem, 9vw, 3.6rem);
  --fs-cinema: clamp(2.4rem, 5.6vw, 5.75rem);
  --fs-h1: clamp(2rem, 7.5vw, 3rem);
  --fs-h2: clamp(1.3rem, 4.6vw, 1.7rem);
  --fs-h3: 1.08rem;
  --fs-code: clamp(2.6rem, 13vw, 4.4rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-label: 0.6875rem;
  --track-label: 0.16em;

  /* space, shape, depth */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 48px;
  --s9: 64px; --s10: 96px; /* rhythm between sections on desktop (the cinema home) */
  --gut: clamp(20px, 4.4vw, 72px); /* fluid side margin for the home's full-width sections */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --pill: 999px;
  --sh-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px rgba(0, 0, 0, 0.28);
  --sh-2: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px rgba(0, 0, 0, 0.45);
  --sh-accent: 0 10px 28px rgba(129, 140, 248, 0.22);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t1: 0.18s;
  --t2: 0.32s;
  --t3: 0.6s;

  /* frame */
  --dock-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --wrap: 640px;
  --max-wide: 1760px; /* the home's content below the cover, capped on very wide screens */
  color-scheme: dark;
}
@media (min-width: 960px) { :root { --wrap: 1120px; } }

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text); font: 400 var(--fs-body)/1.55 var(--font-ui); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; text-rendering: optimizeLegibility; }
img, svg { display: block; }
svg { width: 1em; height: 1em; flex: none; }
a { color: var(--accent-hi); }
button, select, input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 8px; }
/* "Skip to content" (spec 6.10): off-screen until focused, then the first thing a keyboard sees. */
.skip-link { position: fixed; left: var(--s4); top: var(--s4); z-index: 100; padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--surface-2); color: var(--text); font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform var(--t2) var(--ease); }
.skip-link:focus-visible { transform: none; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- 3. atmosphere (one quiet light, no moving decoration) ---------- */
/* .sky sits behind everything in .app (its own stacking context): at z-index 0 it was painted over
   every static block, so the footer and plain titles were invisible unless an animation lifted them. */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(80% 60% at 0% 10%, rgba(67, 56, 202, 0.10), transparent 62%),
  linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 46%, #06070E 100%); }
.sky::after { content: ""; position: absolute; inset: 0; opacity: 0.35; background-image: radial-gradient(rgba(238, 240, 247, 0.10) 0.6px, transparent 0.9px); background-size: 3px 3px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); mask-image: linear-gradient(180deg, #000, transparent 55%); }

/* ---------- 4. frame ---------- */
.app { position: relative; z-index: 1; min-height: 100dvh; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: var(--s5); padding: calc(var(--s3) + var(--safe-t)) var(--gut) var(--s3); border-bottom: 1px solid transparent; }
/* The header's solid look (veil, blur, hairline) is its own layer, behind its contents, so it can
   fade by opacity alone (spec 6.8) when the header floats over the home cover. */
.top::before { content: ""; position: absolute; inset: 0 0 -1px; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 20, 0.92), rgba(10, 11, 20, 0.7)); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--hair); pointer-events: none; transition: opacity var(--t2) var(--ease); }
.top-logo { flex: 0 1 auto; min-width: 0; }
.top-logo img { display: block; height: clamp(36px, calc((100vw - 214px) * 0.231), 46px); width: auto; }
/* Hotels, Rides, Tickets & Events and Mega Radar: computer only (6.1). Mega Radar is born
   hidden until the Radar branch lands in main (spec 6.6). */
.top-nav { display: none; align-items: center; gap: 2px; }
.top-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--pill); color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color var(--t2), color var(--t2); }
.top-nav a svg { width: 16px; height: 16px; }
.top-nav a:hover { background: var(--surface-2); color: var(--text); }
.top-nav a[aria-current="page"] { color: var(--k, var(--accent-hi)); }
/* The header over the home cover (spec 6.1). Outside the app shell it floats over the photo (fixed,
   so the cover starts at the very top of the page) and is see-through while the page sits within
   ~40 px of the top (html.top-over, set by app.js); then its solid layer fades back in --t2. Logo,
   links, the Preview badge and icons all read in the full text color on the photo, in both themes
   (the quieter --text-2 fell under 4.5:1 there); the light theme's values are in its block. */
html:not([data-shell="ios"]):has(#v-home:not([hidden])) .top { position: fixed; inset: 0 0 auto; }
html.top-over .top { --text-2: var(--text); }
html.top-over .top::before { opacity: 0; }
html.top-over .top :focus-visible { outline-color: var(--text); }
.badge-preview { padding: 4px 10px; border: 1px solid var(--hair-2); border-radius: var(--pill); color: var(--text-2); font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; }
.views { margin: 0 auto; padding: var(--s5) var(--s4) var(--s8); outline: none; }
.view { animation: viewIn 0.42s var(--ease) both; }
/* Every screen goes full width from 960 px, as the home did first (spec 6.3; telas em largura total,
   spec 5.1): its content sits in the common width piece, .wide (section "home below the cover").
   Below 960 px the screens other than the home keep their --wrap column, as on main (spec 5.4). */
@media (max-width: 959px) { .view:not([data-view="home"]) { max-width: var(--wrap); margin-inline: auto; } }
[hidden] { display: none !important; }
.view[hidden] { display: none; }
@media (min-width: 960px) {
  .top { padding-inline: var(--gut); }
  .views { padding-top: var(--s7); }
  /* Outside the app shell, the dock gives way to the header's navigation (spec 6.1, 6.2); the
     dock's own reserved bottom space (now on the footer, the true last element — fix round 1
     below) only makes sense where the dock itself still shows. */
  html:not([data-shell="ios"]) .dock { display: none; }
  html:not([data-shell="ios"]) .top-nav { display: flex; }
  html:not([data-shell="ios"]) .site-foot { padding-bottom: var(--s6); }
}
/* Narrow laptops (960 to 1199 px): the header stays one line, with the Radar's link too. The links
   never wrap (nowrap above); here the gaps and the links' sides tighten, the Preview badge steps out
   (a preview-only label) and "My Trip" is its icon with the count on its corner, as on phones (the
   pill with the word comes back from 1200 px, section "my trip"). */
@media (min-width: 960px) and (max-width: 1199px) {
  html:not([data-shell="ios"]) .top { gap: var(--s3); }
  html:not([data-shell="ios"]) .top-nav a { padding-inline: var(--s3); }
  html:not([data-shell="ios"]) .badge-preview { display: none; }
}

/* ---------- product context ----------
   A product screen (data-view), an item of a product (data-k) or the dock on a product tab
   (data-on) sets --k, --k-ink, --k-tint and --k-line. The pieces below read them, falling
   back to indigo for a control and to a neutral for a label when no product is around. */
/* Mega Radar (spec 6.6): "Open Mega Radar" leads to the hotels screen, so its nav link and dock
   item take the same hotel teal as Hotels itself, in both themes (the tokens already change per
   html[data-theme], so nothing theme-specific is needed here). [data-k="radar"] is kept alongside
   in case a future piece (the home band already pins its own --k) ever needs it directly. */
[data-view="hotels"], [data-k="hotel"], [data-k="radar"], .dock[data-on="hotels"], .dock[data-on="radar"], .top-nav[data-on="hotels"], .top-nav[data-on="radar"] { --k: var(--k-hotel); --k-ink: var(--k-hotel-ink); --k-tint: var(--k-hotel-tint); --k-line: color-mix(in srgb, var(--k-hotel) 38%, transparent); }
[data-view="flights"], [data-k="flight"], .dock[data-on="flights"], .top-nav[data-on="flights"] { --k: var(--k-flight); --k-ink: var(--k-flight-ink); --k-tint: var(--k-flight-tint); --k-line: color-mix(in srgb, var(--k-flight) 38%, transparent); }
[data-view="rides"], [data-k="ride"], .dock[data-on="rides"], .top-nav[data-on="rides"] { --k: var(--k-ride); --k-ink: var(--k-ride-ink); --k-tint: var(--k-ride-tint); --k-line: color-mix(in srgb, var(--k-ride) 38%, transparent); }
[data-view="tickets"], [data-k="ticket"], .dock[data-on="tickets"], .top-nav[data-on="tickets"] { --k: var(--k-ticket); --k-ink: var(--k-ticket-ink); --k-tint: var(--k-ticket-tint); --k-line: color-mix(in srgb, var(--k-ticket) 38%, transparent); }
/* photo cards keep a dark scrim in both themes: inside them the product colors take their night values */
/* the passes are light paper in both themes: inside them the product colors take their paper values */
.pass, .opass { --k-hotel: var(--k-hotel-paper); --k-ride: var(--k-ride-paper); --k-ticket: var(--k-ticket-paper); --k-flight: var(--k-flight-paper); --k: var(--k-flight); }
/* the photo cards, and the header while it floats over a photo screen's cover (html.top-over; its current
   link wears its product color on the dark veil in both themes, telas em largura total), take the night
   values. The home's header has no current link, and keeps the theme's values. The header's selector has
   a rule of its own: a browser without :has() drops a whole rule over one selector it cannot read, and the
   photo cards must keep their night colors there. */
.esc, .portal, .crew { --k-hotel: var(--k-hotel-night); --k-hotel-ink: var(--k-hotel-ink-night); --k-ride: var(--k-ride-night); --k-ride-ink: var(--k-ride-ink-night); --k-ticket: var(--k-ticket-night); --k-ticket-ink: var(--k-ticket-ink-night); --k-flight: var(--k-flight-night); --k-flight-ink: var(--k-flight-ink-night); }
html.top-over:has(.view:not([hidden]) > .screen-cover) .top { --k-hotel: var(--k-hotel-night); --k-hotel-ink: var(--k-hotel-ink-night); --k-ride: var(--k-ride-night); --k-ride-ink: var(--k-ride-ink-night); --k-ticket: var(--k-ticket-night); --k-ticket-ink: var(--k-ticket-ink-night); --k-flight: var(--k-flight-night); --k-flight-ink: var(--k-flight-ink-night); }
/* and their words: the light text of the dark theme, with a quieter step of it, over a scrim of the
   brand's Ink (--pass-ink, the same in both themes); the light theme sets --photo-on in its block */
.esc, .portal, .crew { --photo-on: var(--text); --photo-on-2: color-mix(in srgb, var(--photo-on) 82%, var(--pass-ink)); --photo-scrim: color-mix(in srgb, var(--pass-ink) 92%, transparent); --photo-scrim-2: color-mix(in srgb, var(--pass-ink) 88%, transparent); }

/* ---------- 5. type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s3); color: var(--k, var(--text-2)); font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; }
.eyebrow svg { width: 14px; height: 14px; }
.eyebrow .rule { width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.live { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.h-hero, .h-1, .h-2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.h-hero { font-size: var(--fs-hero); }
.h-1 { font-size: var(--fs-h1); }
.h-2 { font-size: var(--fs-h2); line-height: 1.1; }
.h-hero em, .h-1 em, .h-2 em { font-style: normal; color: var(--k, var(--text)); }
.h-3 { margin: 0 0 var(--s3); font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.005em; }
.lede { margin: var(--s3) 0 0; max-width: 34em; color: var(--text-2); font-size: 1.02rem; }
.label { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-2); }
.v-head { margin-bottom: var(--s6); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin: var(--s7) 0 var(--s4); }
.sec-head h2 { margin: 0; }
.fine { margin: var(--s3) 0 0; color: var(--text-3); font-size: var(--fs-xs); }

/* ---------- 6. buttons (LuxuryButton) ---------- */
.btn { position: relative; display: inline-flex; white-space: nowrap; align-items: center; justify-content: center; gap: var(--s2); min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 700; font-size: 0.94rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform var(--t1) var(--ease), box-shadow var(--t2) var(--ease), border-color var(--t2), background-color var(--t2), color var(--t2); -webkit-tap-highlight-color: transparent; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--metal); color: var(--ink); box-shadow: var(--sh-accent), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
/* the metallic light passes once on hover or keyboard focus, never on a loop */
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(240, 242, 255, 0.5) 50%, transparent 65%); transform: translateX(-110%); transition: transform 0.9s var(--ease); }
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(110%); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(129, 140, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost { background: rgba(238, 240, 247, 0.03); color: var(--text); border-color: var(--hair-2); }
.btn-ghost:hover { border-color: var(--k-line, var(--accent-line-2)); color: var(--k, var(--accent-hi)); }
.btn-quiet { background: none; color: var(--k, var(--accent-hi)); padding-inline: 4px; min-height: 40px; }
.btn-quiet:hover { color: var(--ivory); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.86rem; border-radius: 11px; }
.btn[disabled] { opacity: 0.72; cursor: progress; }
.btn .spin { width: 18px; height: 18px; border: 2px solid rgba(14, 11, 51, 0.25); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.actions .btn { flex: 1 1 auto; }

/* ---------- 7. surfaces (PremiumCard) ---------- */
.card { position: relative; padding: var(--s5) var(--s4); border: 1px solid var(--accent-line); border-radius: var(--r); background: linear-gradient(180deg, rgba(26, 29, 43, 0.55), rgba(18, 20, 31, 0.55)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--sh-1); }
.card-raised { background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--sh-2); }
.chip { flex: none; min-height: 38px; padding: 0 15px; border: 1px solid var(--hair-2); border-radius: var(--pill); background: transparent; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: border-color var(--t2), background-color var(--t2), color var(--t2); }
.chip:hover { border-color: var(--k-line, var(--accent-line-2)); color: var(--k, var(--accent-hi)); }
.chip[aria-pressed="true"] { background: var(--k-tint, var(--accent-tint)); border-color: var(--k-line, var(--accent-line-2)); color: var(--k, var(--accent-hi)); }
.chips { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--hair-2); border-radius: var(--pill); color: var(--text-2); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tag.is-live { color: var(--ok); border-color: rgba(52, 211, 153, 0.3); }
.tag.is-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---------- 8. forms ---------- */
.search { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
.f { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; min-width: 0; }
.f > label, .f > .lbl { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-2); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field { position: relative; display: flex; align-items: center; }
.field > svg { position: absolute; left: 15px; width: 18px; height: 18px; color: var(--k, var(--accent)); pointer-events: none; }
.field input, .field select { width: 100%; min-height: 52px; padding: 0 14px 0 44px; border: 1px solid var(--hair-2); border-radius: 14px; background: rgba(10, 11, 20, 0.6); color: var(--text); font-size: 16px; transition: border-color var(--t2), box-shadow var(--t2); -webkit-appearance: none; appearance: none; }
.field input[type="date"] { padding-left: 42px; padding-right: 2px; min-width: 0; }
.field input::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.14); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(0.5) saturate(1.6) hue-rotate(5deg); opacity: 0.75; }
.stepper { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 5px; border: 1px solid var(--hair-2); border-radius: 14px; background: rgba(10, 11, 20, 0.6); }
.stepper button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: rgba(238, 240, 247, 0.06); cursor: pointer; transition: background-color var(--t2); }
.stepper button:hover { background: var(--k-tint, var(--accent-tint)); color: var(--k, var(--accent-hi)); }
.stepper button svg { width: 16px; height: 16px; }
.stepper output { font-size: 1.1rem; font-weight: 700; min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.f-msg { margin: 0; padding: 10px 12px; border: 1px solid rgba(248, 113, 113, 0.3); border-radius: 10px; background: rgba(248, 113, 113, 0.08); color: var(--warn); font-size: var(--fs-sm); }
.f-note { margin: -4px 0 0; color: var(--text-3); font-size: var(--fs-xs); }
.context-note { display: flex; align-items: center; gap: var(--s2); margin: -4px 0 0; color: var(--k, var(--text-2)); font-size: var(--fs-xs); font-weight: 600; }
.context-note svg { width: 14px; height: 14px; }
.context-note[hidden] { display: none; }

.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--k-line, var(--accent-line-2)); border-radius: 14px; background: rgba(18, 20, 31, 0.98); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--sh-2); max-height: 300px; overflow-y: auto; animation: popIn 0.2s var(--ease); }
.suggest li { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 10px; cursor: pointer; }
.suggest li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--k, var(--accent)); }
.suggest li b { display: block; font-size: 15px; font-weight: 600; }
.suggest li small { display: block; color: var(--text-3); font-size: 12.5px; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--k-tint, var(--accent-tint)); }
.suggest .s-empty { color: var(--text-3); font-size: 14px; cursor: default; }

.seg { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px; border: 1px solid var(--hair-2); border-radius: 14px; background: rgba(10, 11, 20, 0.6); }
.seg button { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; min-height: 54px; padding: 6px 2px; border: 0; background: none; color: var(--text-2); font-size: 12.5px; font-weight: 700; cursor: pointer; transition: color var(--t2); }
.seg button svg { width: 18px; height: 18px; }
/* chosen: a radio segment (#rideType, aria-checked) or a tab (the home search, aria-selected) */
.seg button[aria-checked="true"], .seg button[aria-selected="true"] { color: var(--k, var(--accent-hi)); }
.seg-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 4); border: 1px solid var(--k-line, var(--accent-line-2)); border-radius: 10px; background: var(--k-tint, var(--accent-tint)); transition: transform 0.42s var(--ease); }
.route-fields { position: relative; display: grid; gap: var(--s3); }
.swap { position: absolute; right: 12px; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -6px; border: 1px solid var(--hair-2); border-radius: 50%; background: var(--surface-2); color: var(--k, var(--accent-hi)); cursor: pointer; transition: transform 0.45s var(--ease), border-color var(--t2); }
.swap:hover { border-color: var(--k-line, var(--accent-line-2)); }
.swap.turn { transform: rotate(180deg); }
.swap svg { width: 18px; height: 18px; transform: rotate(90deg); }
.route-fields .f input { padding-right: 60px; }
.is-hourly #rToWrap, .is-hourly .swap { display: none; }

/* ---------- 9. home ---------- */
.home-hero { margin-bottom: var(--s7); }
.home-hero .lede { font-size: 1.06rem; }
.tiles { display: grid; gap: var(--s3); grid-template-columns: 1fr 1fr; margin-bottom: var(--s7); }
.tile { position: relative; display: grid; gap: var(--s5); align-content: space-between; min-height: 156px; padding: var(--s4); border: 1px solid var(--hair); border-radius: var(--r); background: linear-gradient(180deg, rgba(26, 29, 43, 0.6), rgba(18, 20, 31, 0.4)); color: var(--text); text-decoration: none; overflow: hidden; transition: transform var(--t2) var(--ease), border-color var(--t2), box-shadow var(--t2); -webkit-tap-highlight-color: transparent; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 80% at 100% 0%, var(--k-tint, rgba(238, 240, 247, 0.05)), transparent 55%); opacity: 0; transition: opacity var(--t3) var(--ease); pointer-events: none; }
.tile:hover, .tile:focus-visible { border-color: var(--k-line, var(--hair-2)); transform: translateY(-2px); box-shadow: var(--sh-2); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile-ico { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--k-line, var(--hair-2)); border-radius: 13px; color: var(--k, var(--text)); background: var(--k-tint, var(--surface-2)); }
.tile-ico svg { width: 22px; height: 22px; }
.tile-txt { display: grid; gap: 3px; }
.tile-txt b { font-size: 1.04rem; font-weight: 700; }
.tile-txt small { color: var(--text-2); font-size: 0.8rem; line-height: 1.4; }
.tile .tag { position: absolute; top: var(--s4); right: var(--s4); }

/* ConnectedJourneyCard */
.journey { margin-bottom: var(--s7); padding: var(--s6) var(--s5); }
.journey .h-2 { margin-bottom: var(--s5); }
.j-list { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.j-list::before { content: ""; position: absolute; left: 21px; top: 26px; bottom: 26px; width: 1px; background: linear-gradient(180deg, var(--hair-2), var(--hair) 80%); }
.j-item { position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: var(--s3); padding: var(--s3) 0; }
.j-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--hair-2); border-radius: 50%; background: var(--surface); color: var(--text-2); }
.j-ico svg { width: 19px; height: 19px; }
.j-item.is-set .j-ico { border-color: var(--k-line, var(--hair-2)); color: var(--k, var(--text)); }
.j-txt { min-width: 0; }
.j-txt b { display: block; font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-2); }
.j-txt span { display: block; font-size: 0.98rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.j-go { color: var(--k, var(--accent-hi)); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; white-space: nowrap; }
.j-go:hover { color: var(--ivory); }
.j-go.is-soon { color: var(--text-3); font-weight: 600; }

.quick { margin-bottom: var(--s7); }
.quick-form { display: grid; gap: var(--s3); margin-bottom: var(--s3); }
.why { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.why-item { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s4); border-top: 1px solid var(--hair); }
.why-item > svg { width: 20px; height: 20px; color: var(--text-2); margin-top: 3px; }
.why-item b { display: block; font-size: 0.95rem; }
.why-item small { color: var(--text-2); font-size: var(--fs-sm); }

/* ---------- 10. hotels (HotelExperienceCard) ---------- */
.results { display: grid; gap: var(--s4); }
.empty-hint { display: grid; justify-items: center; gap: var(--s3); padding: var(--s7) var(--s4); text-align: center; color: var(--text-2); border: 1px dashed var(--hair-2); border-radius: var(--r); }
.empty-art { width: 34px; height: 34px; color: var(--k, var(--text-2)); }
.empty-hint p { margin: 0; max-width: 26em; }
.res-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); }
.res-head h2 { margin: 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.res-head h2 small { font-family: var(--font-ui); color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; }
.sort { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.hcard { position: relative; display: grid; border: 1px solid var(--hair); border-radius: var(--r); background: var(--surface); overflow: hidden; cursor: pointer; text-align: left; padding: 0; transition: transform var(--t2) var(--ease), border-color var(--t2), box-shadow var(--t2); animation: cardIn 0.5s var(--ease) both; animation-delay: calc(var(--n, 0) * 50ms); }
.hcard:hover, .hcard:focus-visible { border-color: var(--k-line, var(--accent-line-2)); transform: translateY(-2px); box-shadow: var(--sh-2); }
.h-photo { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); overflow: hidden; }
.h-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform 1.2s var(--ease), opacity 0.4s; opacity: 0; }
.h-photo img.ok { opacity: 1; }
.hcard:hover .h-photo img { transform: scale(1.05); }
.h-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(10, 11, 20, 0.75)); }
.h-photo .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(238, 240, 247, 0.2); }
.h-photo .noimg svg { width: 40px; height: 40px; }
/* The bed placeholder only shows while there is no photo: once the photo loads it steps aside. */
.h-photo img.ok ~ .noimg { display: none; }
.h-badges { position: absolute; left: var(--s3); top: var(--s3); z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.h-badge { padding: 4px 10px; border-radius: var(--pill); background: rgba(10, 11, 20, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 11.5px; font-weight: 600; }
.h-badge.is-ok { color: var(--ok); }
.h-score { position: absolute; right: var(--s3); top: var(--s3); z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--pill); background: rgba(10, 11, 20, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--k, var(--accent-hi)); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.h-score svg { width: 12px; height: 12px; }
.h-body { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s4); padding: var(--s4); }
.h-name { margin: 0; font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.15; }
.h-stars { display: flex; gap: 2px; color: var(--k, var(--accent)); margin-top: 5px; }
.h-stars svg { width: 11px; height: 11px; }
.h-addr { grid-column: 1; margin: 2px 0 0; color: var(--text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-price { grid-column: 2; grid-row: 1 / span 3; align-self: end; text-align: right; }
.h-price b { display: block; font-size: 1.32rem; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.h-price small { color: var(--text-3); font-size: 11.5px; }
.skel { border-radius: var(--r); background: linear-gradient(90deg, rgba(238, 240, 247, 0.04) 0%, rgba(238, 240, 247, 0.09) 50%, rgba(238, 240, 247, 0.04) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skel-card { height: 290px; }
.searching { display: flex; align-items: center; gap: var(--s3); padding: var(--s4); border: 1px solid var(--k-line, var(--accent-line)); border-radius: var(--r); background: var(--k-tint, var(--accent-tint)); color: var(--k, var(--accent-hi)); font-weight: 600; font-size: var(--fs-sm); }
.radar { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--k-line, var(--accent-line-2)); flex: none; }
.radar::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--k, var(--accent-hi)); animation: spin 0.9s linear infinite; }
/* The Mega Radar's scan while a search loads (app.js scanHtml): the disc in the product's colour, a sweep that turns
   every 2.4 s, blips that light as it passes, the key and one changing line. Reduced motion: everything still. */
.scan { gap: var(--s4); padding: var(--s4) var(--s5, 20px); }
.scan-disc { --c: var(--k, var(--accent)); position: relative; flex: none; width: 84px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 16%, transparent), color-mix(in srgb, var(--c) 4%, transparent) 70%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 0 24px color-mix(in srgb, var(--c) 18%, transparent); }
.scan-ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border: 1px dashed color-mix(in srgb, var(--c) 48%, transparent); border-radius: 50%; }
.scan-ring.r1 { width: 33%; height: 33%; } .scan-ring.r2 { width: 66%; height: 66%; } .scan-ring.r3 { width: 96%; height: 96%; }
.scan-cross { position: absolute; inset: 0;
  background: linear-gradient(color-mix(in srgb, var(--c) 22%, transparent), color-mix(in srgb, var(--c) 22%, transparent)) center / 1px 100% no-repeat,
    linear-gradient(color-mix(in srgb, var(--c) 22%, transparent), color-mix(in srgb, var(--c) 22%, transparent)) center / 100% 1px no-repeat; }
.scan-sweep { position: absolute; inset: 0; border-radius: 50%; transform: rotate(45deg); animation: spin 2.4s linear infinite;
  background: conic-gradient(from 0deg, transparent 0deg 270deg, color-mix(in srgb, var(--c) 8%, transparent) 300deg, color-mix(in srgb, var(--c) 40%, transparent) 356deg, color-mix(in srgb, var(--c) 90%, transparent) 359deg, transparent 360deg); }
.scan-blip { position: absolute; inset: 0; transform: rotate(var(--a)); }
.scan-blip::after { content: ""; position: absolute; left: 50%; top: calc(50% - var(--d) / 2); width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 8px var(--c); opacity: 0.5; animation: scanBlip 2.4s linear infinite; animation-delay: calc((var(--p) - 1) * 2.4s); }
.scan-core { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); animation: scanCore 1.6s ease-out infinite; }
.scan-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.scan-key { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; color: var(--k, var(--accent-hi)); }
.scan-line { color: var(--text); font-weight: 600; }
.scan-line.is-new { animation: scanLine 0.35s var(--ease, ease-out); }
@keyframes scanBlip { 0% { opacity: 1; transform: scale(1.35); } 40% { opacity: 0.35; transform: scale(1); } 80%, 100% { opacity: 0; } }
@keyframes scanCore { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 50%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes scanLine { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
html[data-theme="light"] .scan-line { color: var(--text); }
.res-err { padding: var(--s4); border: 1px solid rgba(248, 113, 113, 0.35); border-radius: var(--r); background: rgba(248, 113, 113, 0.06); }
.res-err p { margin: 0 0 var(--s3); }
.more { justify-self: center; }

/* hotel sheet */
.sheet-layer { position: fixed; inset: 0; z-index: 60; }
.sheet-layer[hidden] { display: none; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(3, 3, 9, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadeIn 0.3s var(--ease); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: 680px; max-height: 92dvh; margin: 0 auto; border: 1px solid var(--accent-line); border-bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--surface); box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.55); overflow: hidden; display: flex; flex-direction: column; animation: sheetUp 0.42s var(--ease); }
.sheet::before { content: ""; position: absolute; top: 8px; left: 50%; z-index: 3; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(238, 240, 247, 0.35); }
.sheet-x { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(10, 11, 20, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; }
.sheet-x svg { width: 18px; height: 18px; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(var(--s5) + var(--safe-b)); }
.gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--bg-2); }
.gal::-webkit-scrollbar { display: none; }
.gal img { flex: none; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; scroll-snap-align: start; }
.gal-dots { display: flex; justify-content: center; gap: 5px; margin-top: -22px; position: relative; z-index: 2; }
.gal-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(238, 240, 247, 0.45); transition: width var(--t2) var(--ease), background-color var(--t2); }
.gal-dots i.on { width: 18px; border-radius: 4px; background: var(--k, var(--accent-hi)); }
.sh-in { padding: var(--s5) var(--s4) 0; }
.sh-in h2 { margin: 0 0 6px; padding-right: 40px; font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; line-height: 1.1; }
.sh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); color: var(--text-2); font-size: 13.5px; margin-bottom: var(--s3); }
.sh-meta .score { display: inline-flex; align-items: center; gap: 4px; color: var(--k, var(--accent-hi)); font-weight: 700; }
.sh-meta .score svg { width: 13px; height: 13px; }
.sh-desc { color: var(--text-2); font-size: 14.5px; margin: 0 0 var(--s4); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.sh-desc.open { -webkit-line-clamp: unset; }
.facil { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s5); padding: 0; list-style: none; }
.facil li { padding: 5px 11px; border: 1px solid var(--hair-2); border-radius: var(--pill); font-size: 12.5px; color: var(--text-2); }
.rooms { display: grid; gap: var(--s3); }
.room { border: 1px solid var(--hair); border-radius: 16px; background: rgba(10, 11, 20, 0.4); overflow: hidden; animation: cardIn 0.42s var(--ease) both; animation-delay: calc(var(--n, 0) * 45ms); }
.room-h { display: flex; gap: var(--s3); align-items: center; padding: var(--s3); }
.room-h img { width: 72px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--bg-2); }
.room-h b { font-size: 15px; line-height: 1.3; }
.offer { display: grid; grid-template-columns: 1fr auto; gap: 6px var(--s3); align-items: center; padding: var(--s3); border-top: 1px solid var(--hair); }
.offer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.offer li { display: flex; gap: 6px; align-items: center; }
.offer li svg { width: 14px; height: 14px; color: var(--text-3); }
.offer li.ok, .offer li.ok svg { color: var(--ok); }
.offer-p { text-align: right; }
.offer-p b { display: block; font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.offer-p small { display: block; color: var(--text-3); font-size: 11.5px; margin-bottom: 6px; }
.sh-foot { margin: var(--s5) var(--s4) 0; padding: var(--s4); border: 1px solid var(--k-line, var(--accent-line)); border-radius: 14px; background: var(--k-tint, var(--accent-tint)); display: grid; gap: var(--s3); }
.sh-foot p { margin: 0; font-size: 14px; color: var(--text-2); }
.sh-foot b { color: var(--text); }
.taxnote { margin: var(--s3) var(--s4) 0; color: var(--text-3); font-size: 12.5px; }

/* ---------- 11. flights ---------- */
.fl-layout { display: grid; gap: var(--s5); }

/* FlightRouteCard */
.fl-main { display: grid; gap: var(--s4); min-width: 0; }
.rides-side { min-width: 0; }
.sec-title { margin: var(--s7) 0 var(--s4); }
.route-card { position: relative; padding: var(--s5) var(--s4) var(--s4); border: 1px solid var(--accent-line); border-radius: var(--r-lg); overflow: hidden; background:
  radial-gradient(120% 90% at 50% 0%, var(--k-tint, rgba(129, 140, 248, 0.09)), transparent 60%),
  radial-gradient(80% 70% at 100% 100%, var(--k-tint, rgba(67, 56, 202, 0.16)), transparent 65%),
  linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--sh-2); }
.rc-sel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: var(--s2); margin-bottom: var(--s5); }
.rc-field { display: grid; gap: 6px; min-width: 0; }
.rc-field label { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-2); }
.rc-field.is-to label { text-align: right; }
.rc-select { position: relative; }
.rc-select select { width: 100%; min-height: 46px; padding: 0 30px 0 12px; border: 1px solid var(--hair-2); border-radius: 12px; background: rgba(10, 11, 20, 0.55); color: var(--text); font-size: 15px; font-weight: 600; text-overflow: ellipsis; cursor: pointer; -webkit-appearance: none; appearance: none; transition: border-color var(--t2); }
.rc-select select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.14); }
.rc-select::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 1.5px solid var(--k, var(--accent)); border-bottom: 1.5px solid var(--k, var(--accent)); transform: rotate(45deg); pointer-events: none; }
.rc-swap { display: grid; place-items: center; width: 42px; height: 46px; border: 1px solid var(--hair-2); border-radius: 12px; background: rgba(10, 11, 20, 0.55); color: var(--k, var(--accent-hi)); cursor: pointer; transition: border-color var(--t2), transform 0.45s var(--ease); }
.rc-swap:hover { border-color: var(--k-line, var(--accent-line-2)); }
.rc-swap.turn { transform: rotate(180deg); }
.rc-swap svg { width: 18px; height: 18px; }
.rc-board { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s2); }
.rc-end { display: grid; gap: 2px; min-width: 0; }
.rc-end.is-to { text-align: right; justify-items: end; }
.rc-code { display: block; font-family: var(--font-ui); font-size: var(--fs-code); font-weight: 800; line-height: 0.95; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
.rc-city { font-family: var(--font-ui); font-style: normal; font-size: 1.12rem; color: var(--text-2); white-space: nowrap; transition: opacity 0.22s var(--ease); }
.rc-out .rc-code, .rc-out .rc-city { opacity: 0; transform: translateY(6px); }
.rc-arc { width: 100%; height: auto; overflow: visible; }
.rc-base { fill: none; stroke: rgba(238, 240, 247, 0.16); stroke-width: 1.2; stroke-dasharray: 1.5 6; stroke-linecap: round; }
.rc-path { fill: none; stroke: url(#rcAccent); stroke-width: 1.8; stroke-linecap: round; }
.rc-mark { fill: var(--bg); stroke: var(--k, var(--accent)); stroke-width: 1.6; }
.rc-mark-glow { fill: var(--k-tint, rgba(129, 140, 248, 0.16)); }
.rc-stop-a { stop-color: var(--k, var(--accent)); }
.rc-stop-b { stop-color: color-mix(in srgb, var(--k, var(--accent)) 65%, var(--text)); }
.rc-plane { fill: var(--k, var(--accent-hi)); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--k, var(--accent-hi)) 55%, transparent)); }
@media (max-width: 599px) {
  .rc-board { grid-template-columns: 1fr 1fr; grid-template-areas: "from to" "arc arc"; row-gap: var(--s2); }
  .rc-end { grid-area: from; } .rc-end.is-to { grid-area: to; }
  .rc-arc { grid-area: arc; margin-top: -26px; }
}
.rc-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px var(--s3); margin: var(--s4) 0 0; padding-top: var(--s3); border-top: 1px solid var(--hair); color: var(--text-2); font-size: var(--fs-xs); }
.rc-meta b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }

/* FlightProgressIndicator (only when flights are live) */
.progress { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: var(--s4) var(--s2); list-style: none; counter-reset: step; }
.progress[hidden] { display: none; }
.progress li { position: relative; display: grid; justify-items: center; gap: var(--s2); text-align: center; font-size: 11px; font-weight: 600; color: var(--text-3); line-height: 1.25; }
.progress li::before { content: ""; position: absolute; top: 9px; right: 50%; left: -50%; height: 1px; background: var(--hair-2); }
.progress li:first-child::before { display: none; }
.p-dot { position: relative; z-index: 1; width: 19px; height: 19px; border: 1px solid var(--hair-2); border-radius: 50%; background: var(--bg-2); transition: all var(--t2) var(--ease); }
.progress li.is-done { color: var(--text-2); }
.progress li.is-done::before, .progress li.is-current::before { background: var(--k-line, var(--accent-line-2)); }
.progress li.is-done .p-dot { border-color: var(--k, var(--accent)); background: var(--k, var(--accent)); }
.progress li.is-current { color: var(--k, var(--accent-hi)); }
.progress li.is-current .p-dot { border-color: var(--k, var(--accent)); box-shadow: 0 0 0 4px var(--k-tint, rgba(129, 140, 248, 0.14)); }
.progress li.is-current .p-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--k, var(--accent-hi)); }

/* FlightsComingSoon */
.soon { display: grid; gap: var(--s4); padding: var(--s6) var(--s5); }
.soon[hidden] { display: none; }
.soon p { margin: 0; color: var(--text-2); }
.soon .soon-kicker { color: var(--text); font-weight: 700; }

/* PremiumBoardingPass */
.pass-wrap { margin: var(--s2) 0 0; perspective: 1100px; }
.pass { position: relative; display: grid; grid-template-columns: 1fr 78px; border-radius: 22px; color: var(--pass-ink); transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(255, 255, 255, 0.6) inset; background:
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.38  0 0 0 0 0.25  0 0 0 0.09 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
  linear-gradient(160deg, #F7F8FC 0%, #EEF0F7 55%, #E0E3EF 100%); }
.pass.is-live { transition-duration: 0.12s; }
.pass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 80% at var(--gx, 30%) var(--gy, 0%), rgba(255, 255, 255, 0.55), transparent 60%); mix-blend-mode: soft-light; }
.pass-main { padding: var(--s5) var(--s5) var(--s4); display: grid; gap: var(--s4); min-width: 0; }
.pass-top { display: flex; align-items: center; gap: var(--s2); font-size: 11px; font-weight: 800; letter-spacing: 0.2em; }
.pass-top img { width: 16px; height: auto; }
.pass-sample { margin-left: auto; padding: 3px 9px; border: 1px solid var(--k-flight); border-radius: var(--pill); color: var(--k-flight); font-size: 9.5px; font-weight: 800; letter-spacing: 0.18em; }
.pass-route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: var(--s3); }
.pass-route small, .pass-meta small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #6B7086; }
.pass-route b { display: block; font-size: 2.6rem; font-weight: 800; line-height: 0.95; letter-spacing: 0.01em; }
.pass-route .city { display: block; font-family: var(--font-display); font-style: italic; font-size: 0.98rem; color: #4A4F66; }
.pass-route .is-r { text-align: right; }
.pass-line { position: relative; height: 1px; margin-bottom: 1.4rem; background: repeating-linear-gradient(90deg, rgba(15, 18, 34, 0.35) 0 3px, transparent 3px 7px); }
.pass-line svg { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 2px; color: var(--k-flight); background: #F1F2F8; transform: rotate(45deg); }
.pass-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); padding-top: var(--s3); border-top: 1px solid rgba(15, 18, 34, 0.1); }
.pass-meta b { font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pass-stub { position: relative; display: grid; justify-items: center; align-content: center; gap: var(--s2); padding: var(--s3) 0; border-left: 2px dotted rgba(15, 18, 34, 0.28); }
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(238, 240, 247, 0.08); }
.pass-stub::before { top: -10px; } .pass-stub::after { bottom: -10px; }
.barcode { width: 34px; height: 104px; opacity: 0.85; background: repeating-linear-gradient(180deg, var(--pass-ink) 0 2px, transparent 2px 3px, var(--pass-ink) 3px 4px, transparent 4px 7px, var(--pass-ink) 7px 10px, transparent 10px 11px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.pass-void { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 8.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--k-flight); }
.pass-cap { margin: var(--s3) 0 0; text-align: center; color: var(--text-3); font-size: var(--fs-xs); }

/* ---------- 12. rides (RideExperienceCard) ---------- */
.fleet { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.car { display: grid; gap: 4px; padding: var(--s4); border: 1px solid var(--hair); border-radius: var(--r); background: linear-gradient(180deg, rgba(26, 29, 43, 0.55), rgba(18, 20, 31, 0.4)); }
.car-ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: var(--s2); border: 1px solid var(--k-line, var(--hair-2)); border-radius: 12px; background: var(--k-tint, var(--surface-2)); color: var(--k, var(--text)); }
.car-ico svg { width: 21px; height: 21px; }
.car b { font-size: 0.95rem; }
.car small { color: var(--text-2); font-size: 12.5px; }
.legs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s3); }
.leg { display: flex; align-items: center; gap: var(--s2); min-height: 46px; padding: 0 var(--s3); border: 1px solid var(--hair); border-radius: 12px; background: rgba(10, 11, 20, 0.35); color: var(--text); font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; transition: border-color var(--t2), color var(--t2); }
.leg:hover, .leg:focus-visible { border-color: var(--k-line, var(--accent-line-2)); color: var(--k, var(--accent-hi)); }
.leg svg { width: 15px; height: 15px; color: var(--k, var(--accent)); }
.leg[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- 13. tickets ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-bottom: var(--s6); }
.cat { display: grid; justify-items: center; gap: var(--s2); padding: var(--s4) 6px; border: 1px solid var(--hair); border-radius: var(--r); background: linear-gradient(180deg, rgba(26, 29, 43, 0.55), rgba(18, 20, 31, 0.4)); color: var(--text); text-decoration: none; font-size: 12.5px; font-weight: 600; transition: transform var(--t2) var(--ease), border-color var(--t2); }
.cat:hover, .cat:focus-visible { transform: translateY(-2px); border-color: var(--k-line, var(--hair-2)); }
.cat span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--k-line, var(--hair-2)); border-radius: 50%; background: var(--k-tint, var(--surface-2)); color: var(--k, var(--text)); }
.cat span svg { width: 20px; height: 20px; }
.stub-card { display: grid; grid-template-columns: 74px 1fr; padding: 0; overflow: hidden; }
.stub-l { display: grid; place-items: center; background: var(--k-tint, var(--surface-2)); border-right: 2px dotted var(--hair-2); }
.stub-r { padding: var(--s5) var(--s4); display: grid; gap: var(--s2); }
.stub-r .h-2 { font-size: 1.5rem; }
.stub-r p { margin: 0 0 var(--s2); color: var(--text-2); font-size: var(--fs-sm); }

/* ---------- 14. PremiumNavigation (floating dock) ---------- */
/* 6 tabs in the markup (Discover, Tickets, Flights, Hotels, Rides, Radar), but Radar is born
   hidden (spec 6.6) until the Mega Radar branch lands in main, and Flights leaves the page where
   flights are off (app.js, NO_FLIGHTS).
   grid-auto-flow: column + grid-auto-columns create exactly one equal-width column per visible
   item (hidden ones are display:none, so they are never counted): 5 today (4 on the public site
   while flights are off), one more once the Radar's dock item ships (spec 6.6). --dock-n
   (app.js, set once from the visible count) keeps .dock-ink's own width in step, since it is
   positioned by its own transform/width, not by the grid itself. */
.dock { position: fixed; left: 50%; bottom: calc(12px + var(--safe-b)); z-index: 40; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: min(calc(100% - 24px), 480px); height: var(--dock-h); padding: 6px; transform: translateX(-50%); border: 1px solid var(--accent-line); border-radius: 24px; background: rgba(10, 11, 20, 0.78); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.dock a { position: relative; z-index: 1; display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 44px; color: var(--text-3); text-decoration: none; font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em; transition: color var(--t2); -webkit-tap-highlight-color: transparent; }
.dock a svg { width: 22px; height: 22px; transition: transform var(--t2) var(--ease); }
.dock a:hover { color: var(--text-2); }
.dock a[aria-current="page"] { color: var(--k, var(--accent-hi)); }
.dock a[aria-current="page"] svg { transform: translateY(-1px); }
.dock-ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / var(--dock-n, 5)); border: 1px solid var(--k-line, var(--accent-line-2)); border-radius: 18px; background: var(--k-tint, linear-gradient(180deg, rgba(129, 140, 248, 0.16), rgba(129, 140, 248, 0.06))); transition: transform 0.45s var(--ease); }
.dock-ink::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--k, var(--accent)); }

/* ---------- 15. install + toast ---------- */
.install { position: fixed; left: 50%; bottom: calc(var(--dock-h) + 24px + var(--safe-b)); z-index: 45; display: flex; align-items: center; gap: var(--s3); width: min(calc(100% - 24px), 480px); padding: var(--s3); transform: translateX(-50%); border: 1px solid var(--accent-line-2); border-radius: 18px; background: rgba(18, 20, 31, 0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--sh-2); animation: popIn 0.35s var(--ease); }
.install[hidden] { display: none; }
.install img { border-radius: 10px; }
.install div { flex: 1; min-width: 0; }
.install b { display: block; font-size: 14px; }
.install small { color: var(--text-2); font-size: 12.5px; }
.install-x { border: 0; background: none; padding: 10px; cursor: pointer; color: var(--text-3); }
.install-x svg { width: 18px; height: 18px; }
/* Where the dock gives way to the header's navigation (from 960 px, outside the app shell), the hint
   takes the dock's own place, the same 12 px from the bottom, instead of floating over no dock. */
@media (min-width: 960px) { html:not([data-shell="ios"]) .install { bottom: calc(var(--s3) + var(--safe-b)); } }
.toast { position: fixed; left: 50%; top: calc(76px + var(--safe-t)); z-index: 70; max-width: calc(100% - 32px); padding: var(--s3) var(--s4); transform: translateX(-50%); border: 1px solid var(--hair-2); border-radius: 14px; background: rgba(18, 20, 31, 0.98); font-size: 14px; box-shadow: var(--sh-2); animation: popIn 0.3s var(--ease); }
.toast[hidden] { display: none; }
.install, .toast { --tx: -50%; }

/* ---------- 16. entrance on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 17. desktop compositions ---------- */
@media (min-width: 720px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .fleet { grid-template-columns: repeat(4, 1fr); }
  .legs { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
  .home-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s8); align-items: center; margin-bottom: var(--s8); }
  .home-top .home-hero, .home-top .journey { margin-bottom: 0; }
  .home-low { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s8); align-items: start; }
  .tile { min-height: 190px; padding: var(--s5); }
  .hotels-layout, .rides-layout { display: grid; grid-template-columns: 380px 1fr; gap: var(--s7); align-items: start; }
  .hotels-layout .search, .rides-layout .search { position: sticky; top: 96px; margin-bottom: 0; }
  .results { grid-template-columns: repeat(2, 1fr); }
  .results > .res-head, .results > .searching, .results > .res-err, .results > .empty-hint, .results > .more { grid-column: 1 / -1; }
  /* Hotels on the full-width block (spec 5.2): the results grow with the screen, 3 to 5 cards a row, and
     keep their tracks when there are few of them (auto-fill), so two hotels never stretch across the row;
     a card stays ~420 px at most, also where one track is all that fits (960 to ~1100 px). */
  .hotels-layout .results { grid-template-columns: repeat(auto-fill, minmax(min(17.5rem, 100%), 1fr)); }
  .hotels-layout .hcard { max-width: 26.25rem; }
  .rides-layout .fleet, .rides-layout .legs { grid-template-columns: repeat(2, 1fr); }
  /* Rides on the full-width block: the side column holds one card ("From your trip" and its two legs), so it
     stops at the reading block's measure (40rem) and never runs as a long bar beside the tall form; the room
     under it stays (the cars live inside the form, ruling R6) */
  .rides-layout { grid-template-columns: 380px minmax(0, 40rem); }
  .fl-layout { grid-template-columns: 1.15fr 0.85fr; align-items: start; gap: var(--s7); }
  .fl-layout .route-card { padding: var(--s7) var(--s6) var(--s5); }
  /* the route card grows with its column; its contents keep the reading block's measure, centered in
     it, so its fields and buttons never run wider than 40rem (the block buttons as blocks, to center) */
  .fl-layout .route-card > * { max-width: 40rem; margin-inline: auto; }
  .fl-layout .route-card > .btn-block { display: flex; }
  .fl-layout .fl-partner { max-width: 60ch; }
  .fl-side { display: grid; gap: var(--s6); }
  .tickets-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
  .tickets-layout .cats { grid-template-columns: repeat(2, 1fr); margin-bottom: 0; }
  .dock { width: 460px; }
}
@media (min-width: 1200px) { .results { grid-template-columns: repeat(3, 1fr); } .hotels-layout { grid-template-columns: 360px 1fr; } }
@media (max-width: 360px) {
  .tiles { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .seg button { font-size: 11px; }
  .rc-sel { grid-template-columns: 1fr; }
  .rc-field.is-to label { text-align: left; }
  .rc-swap { width: 100%; height: 40px; }
  .rc-swap svg { transform: rotate(90deg); }
}

/* ==========================================================================
   18. Photo-led screens (option C, indigo) — Home, Hotels, Flights, Rides, Tickets
   ========================================================================== */
.sky { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 40%, #06070E 100%); }
.sky::after { display: none; }
.top::before { background: rgba(10, 11, 20, 0.88); }
.card { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--hair); }
.btn-primary { box-shadow: 0 10px 24px rgba(129, 140, 248, 0.18); }
.btn-primary::after { display: none; }
.center { text-align: center; }
.h-2 { font-size: 1.35rem; }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.sec-row h2 { margin: 0; }
.sec-row a { font-size: 13px; font-weight: 700; text-decoration: none; }
.tcard { padding: var(--s4); border: 1px solid var(--hair); border-radius: 20px; background: var(--surface); }

/* photo hero: full bleed on phones, rounded on wide screens */
.ph-hero { position: relative; display: flex; align-items: flex-end; min-height: 420px; margin: calc(-1 * var(--s5)) calc(-1 * var(--s4)) var(--s6); overflow: hidden; background: var(--surface); }
.ph-hero.ph-sub { min-height: 300px; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 20, 0.35) 0%, rgba(10, 11, 20, 0.05) 30%, rgba(10, 11, 20, 0.3) 55%, rgba(10, 11, 20, 0.94) 88%, var(--bg) 100%); pointer-events: none; }
.ph-in { position: relative; z-index: 1; display: grid; gap: 14px; width: 100%; padding: var(--s5) var(--s5) var(--s6); }
.ph-pill { justify-self: start; padding: 6px 10px; border-radius: 8px; background: var(--k, var(--accent)); color: var(--k-ink, var(--ink)); font-size: 12px; font-weight: 700; }
.ph-title { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 9.5vw, 3.2rem); line-height: 1.03; font-weight: 700; letter-spacing: -0.03em; color: #fff; max-width: 14em; }
.ph-sub-t { margin: 0; max-width: 30em; color: #D4D7E6; font-size: 15px; }
.ph-search { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 60px; margin: 0; padding: 6px 6px 6px 16px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, 0.96); color: #0A0B14; text-align: left; font: inherit; }
button.ph-search { cursor: pointer; }
.ph-search > svg { width: 20px; height: 20px; color: #4A4F66; }
.ph-q { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ph-q label, .ph-q small { font-size: 11px; font-weight: 700; color: #4A4F66; }
.ph-q b { font-size: 15px; font-weight: 700; }
.ph-q input { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: #0A0B14; font-size: 16px; font-weight: 600; outline: none; }
.ph-q input::placeholder { color: #71768E; font-weight: 500; }
.ph-search:focus-within { box-shadow: 0 0 0 3px var(--accent-line-2); }
.ph-go { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--k, var(--accent)); color: var(--k-ink, var(--ink)); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; flex: none; }
.ph-go svg { width: 16px; height: 16px; }

/* ---------- home cover ("Cinema": spec 6.4 item 1, 6.5, 6.8) ----------
   The photo runs edge to edge, under the see-through header (outside the app shell; inside it the
   header stays solid and the photo starts right below it, spec 6.1). A veil of the brand's Ink
   (--pass-ink, the same in both themes) darkens the top for the header and everything behind the
   words; the glass search sits on it. The cover keeps .ph-hero, so heroOf() still finds it for the
   screen transitions. It does not clip (the place lists of the search open below it): the photo
   is clipped by its own <picture>. The veil is the page's own night (--bg) in the dark theme, so the
   cover melts into the page; the light theme sets it to Ink (its block, below). */
/* Below 960 px the words hang from the top of the cover (--cin-top under the see-through header, the
   safe area included), not from its bottom: the panes differ a lot in height there (one field for
   Tickets, seven for Private Rides), and bottom-anchored words would jump with every tab, and with
   every part of the form a slow connection paints. Inside the app shell the header is not over the
   cover, so the safe area is not added. From 960 px the panes are one strip and the words sit at
   the bottom of the photo (below). */
.ph-hero.cin { --cin-on: var(--text); --cin-veil: var(--bg); --cin-line: color-mix(in srgb, var(--pass-ink) 12%, transparent); --cin-top: calc(var(--s10) + var(--safe-t));
  align-items: flex-start; min-height: 88vh; min-height: 88svh; margin: calc(-1 * var(--s5)) calc(-1 * var(--s4)) var(--s8); border-radius: 0; overflow: visible; background: var(--pass-ink); }
html[data-shell="ios"] .ph-hero.cin { --cin-top: var(--s10); }
.cin-ph { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
/* one veil for both themes (only --cin-veil changes), so it also outranks the light photo-header veil */
.ph-hero.cin::after, html[data-theme="light"] .ph-hero.cin::after { border-radius: inherit; background: linear-gradient(180deg,
  color-mix(in srgb, var(--cin-veil) 72%, transparent) 0%, color-mix(in srgb, var(--cin-veil) 30%, transparent) 14%,
  transparent 30%, transparent 44%, color-mix(in srgb, var(--cin-veil) 45%, transparent) 70%, var(--cin-veil) 100%); }
/* the words get their own veil, from the top of the text block down, whatever its height; below 960 px
   the block ends above the cover's bottom, so the veil fades out under the glass instead of stopping
   on a hard line across the photo */
.ph-hero.cin .ph-in { display: block; max-width: none; padding: var(--cin-top) var(--gut) var(--s5); border-radius: inherit;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--cin-veil) 58%, transparent) var(--cin-top),
    color-mix(in srgb, var(--cin-veil) 58%, transparent) calc(100% - var(--s8)), transparent); }
.cin-eyebrow { display: block; margin: 0 0 var(--s3); color: var(--cin-on); }
.ph-hero.cin .ph-title { max-width: 16ch; margin: 0 0 var(--s6); font-size: var(--fs-cinema); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }

/* the glass, its tabs (the shared .seg, as tabs) and the light strip of fields */
.cin-search { position: relative; padding: var(--s2); border: 1px solid var(--hair-2); border-radius: var(--r-lg); background: var(--surface-glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--sh-2); }
.cin-tabs { display: flex; gap: var(--s1); padding: 0; border: 0; border-radius: var(--r-sm); background: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.cin-tabs::-webkit-scrollbar { display: none; }
.cin-tabs button { flex: none; display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }
.cin-tabs button svg { color: var(--k, var(--accent)); }
.cin-tabs button:not([aria-selected="true"]):hover { color: var(--text); }
.cin-tabs button:focus-visible { outline-offset: -2px; }
/* the ink follows the chosen tab: app.js sets its width, its offset and its product (data-k) */
.cin-tabs .seg-ink { top: 0; bottom: 0; left: 0; width: 0; border-radius: var(--r-sm); }
.cin-pane { margin-top: var(--s2); }
.cin-pane.is-in { animation: cinPaneIn var(--t1) var(--ease) both; }
/* light paper in both themes (Ivory here, the white surface in the light theme); its type is the
   pass inks, which never change with the theme */
.cin-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--r); background: var(--ivory); color: var(--pass-ink); color-scheme: light; }
.cin-fields > .f-wide, .cin-fields > .cin-when, .cin-fields > .ph-go { grid-column: 1 / -1; }
.cin-when { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cin-fields .f { position: relative; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px var(--s3); padding: var(--s3) var(--s4); }
.cin-fields .field { display: contents; }
.cin-fields .field > svg { position: static; grid-column: 1; grid-row: 1 / span 2; color: var(--pass-ink-2); }
.cin-fields .f > label, .cin-fields .f > .lbl { grid-column: 2; grid-row: 1; color: var(--pass-ink-2); }
.cin-fields .field > input { grid-column: 2; grid-row: 2; width: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--pass-ink); font-size: var(--fs-body); font-weight: 600; text-overflow: ellipsis; }
.cin-fields .field > input[type="date"], .cin-fields .field > input[type="time"] { padding: 0; }
.cin-fields .field > input::placeholder { color: var(--pass-ink-2); font-weight: 500; }
.cin-fields .field > input:focus { box-shadow: none; }
/* the place and event lists that open under a field are the page's own surface (.suggest), not the
   paper: they read in the theme's text again (--text, which the light theme redefines) */
.cin-fields .suggest { color: var(--text); color-scheme: dark; }
/* Below 960 px the fields are stacked and the search button sits right under the last one: a list
   laid over the page from its field would cover the button (finding 6). There the list opens in the
   flow, under its field and inside its cell, and pushes the rest down; app.js keeps the focus in the
   field while the button is pressed, so the list stays put under the finger. */
@media (max-width: 959px) {
  .cin-fields .suggest { position: static; grid-column: 1 / -1; grid-row: 3; margin-top: var(--s2); }
}
.cin-fields input::-webkit-calendar-picker-indicator { filter: none; opacity: 0.6; }
.cin-fields .f:not(.f-num):focus-within::after { content: ""; position: absolute; inset: var(--s1); border-radius: var(--r-sm); box-shadow: 0 0 0 2px var(--accent-deep); pointer-events: none; }
.cin-fields .f-num { grid-template-columns: minmax(0, 1fr); }
.cin-fields .f-num > .lbl, .cin-fields .f-num > .stepper { grid-column: 1; }
.cin-fields .f-num > .stepper { grid-row: 2; }
.cin-fields .stepper { min-height: 0; padding: 0; gap: var(--s2); justify-content: flex-start; border: 0; background: none; }
/* 44 x 44 touch targets on phones (spec 6.10); a mouse gets the slimmer ones from 960 px */
.cin-fields .stepper button { width: 44px; height: 44px; background: color-mix(in srgb, var(--pass-ink) 7%, transparent); color: var(--pass-ink); }
.cin-fields .stepper button:hover { background: color-mix(in srgb, var(--pass-ink) 12%, transparent); color: var(--pass-ink); }
.cin-fields > :not(:first-child):not(.ph-go) { border-top: 1px solid var(--cin-line); }
.cin-fields > .is-r, .cin-when > .f + .f { border-left: 1px solid var(--cin-line); }
.cin-fields > .ph-go { justify-content: center; margin: var(--s2); padding: 0 var(--s6); }
.cin-pane .ph-go span { display: inline; }
.cin-fl .ph-go { display: flex; justify-content: center; padding: 0 var(--s6); text-decoration: none; }
/* a date or time cell shows the browser's own picker button as its icon (ours would make two
   calendars side by side), which also leaves the whole date readable down to 360 px, where the
   cell is half the strip */
.cin-fields .f-date { column-gap: 0; }
.cin-fields .f-date .field > svg { display: none; }
@media (max-width: 1199px) { .cin-fields .f-date { padding-inline: var(--s3); } }

/* entrance (spec 6.8): only transform and opacity, nothing ever stops a tap or a key; app.js drops
   .is-intro once the photo has settled, so coming back home does not replay it */
.cin.is-intro .cin-ph .ph-img { animation: cinPhoto calc(var(--t3) * 8 / 3) var(--ease) both; }
.cin.is-intro .cin-eyebrow, .cin.is-intro .ph-title, .cin.is-intro .cin-search { animation: cinRise calc(var(--t3) * 1.5) var(--ease) both; }
.cin.is-intro .ph-title { animation-delay: calc(var(--t3) / 5); }
.cin.is-intro .cin-search { animation-delay: calc(var(--t3) / 5 * 2); }
@keyframes cinPhoto { from { transform: scale(1.06); } to { transform: none; } }
@keyframes cinRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* The home has its own entrance (the cover's, above), so the generic screen fade (viewIn) never runs
   on it. Under that fade Chrome records the cover photo as the page's largest paint only when the
   photo's zoom ends, about 1.6 s late; without it the photo counts from the first paint (Task 7
   measure). Screen changes use the View Transitions, which switch viewIn off anyway (html.vt-run). */
.view[data-view="home"] { animation: none; }
@keyframes cinPaneIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (min-width: 960px) {
  .ph-hero.cin { align-items: flex-end; min-height: min(92vh, 900px); min-height: min(92svh, 900px); margin-top: calc(-1 * var(--s7)); margin-bottom: var(--s10); }
  .ph-hero.cin .ph-in { padding-bottom: var(--s8); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--cin-veil) 58%, transparent) var(--cin-top)); }
  .ph-hero.cin .ph-title { margin-bottom: var(--s7); }
  .cin-eyebrow { font-size: var(--fs-xs); }
  .cin-search { max-width: var(--wrap); }
  /* one row of fields; the button takes its own row below until 1200 px, where it fits at the end */
  .cin-fields { display: flex; flex-wrap: wrap; align-items: stretch; }
  .cin-fields > .f, .cin-when { flex: 1 1 0; }
  .cin-fields > .f-grow { flex-grow: 1.4; } /* the one place field of a pane (Where, Destination) */
  .cin-when { display: flex; flex-grow: 2; }
  .cin-when > .f { flex: 1 1 0; }
  .cin-fields > .f-num { flex: none; }
  .cin-fields > :not(:first-child):not(.ph-go) { border-top: 0; border-left: 1px solid var(--cin-line); }
  .cin-fields > .ph-go { flex: 0 0 calc(100% - 2 * var(--s2)); }
  .cin-fields .stepper button { width: 32px; height: 32px; }
  .cin-fl .ph-go { display: inline-flex; }
}
@media (min-width: 1200px) {
  .cin-fields { flex-wrap: nowrap; }
  .cin-fields > .ph-go { flex: none; align-self: center; }
}

/* ---------- home below the cover ("Cinema": spec 6.4 items 2, 4, 5 and 6; 6.3, 6.8) ----------
   One centered block of at most --max-wide, while the cover above it stays edge to edge. Its sides
   sit --gut from the screen's edges (.views already gives --s4 of that), with --s8 between sections
   on phones and --s10 from 960 px (the cover's own bottom margin keeps the same rhythm).
   That block is the common width piece, .wide (telas em largura total, spec 5.1): every screen's
   content sits in one, the home's being .home-below.wide. From 960 px they all take the home's side
   margin; below it only the home's does, and the other screens stay as on main (spec 5.4). */
.view > *, .fl-main > *, .wide > * { min-width: 0; }
.wide { box-sizing: content-box; max-width: var(--max-wide); margin-inline: auto; }
.home-below { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s8); padding-inline: calc(var(--gut) - var(--s4)); }
@media (min-width: 960px) { .wide { padding-inline: calc(var(--gut) - var(--s4)); } }

/* the photo cards (portals, escapes, crew): the photo fills the card behind its words, which sit on a
   scrim of the brand's Ink (--photo-scrim, the same in both themes, so the night product colors and
   the light words hold on it). On hover and on keyboard focus the card rises --s1 and its photo grows
   to 1.04, by transform alone; reduced motion keeps them still (its block, below). */
.portal, .esc, .crew { position: relative; isolation: isolate; display: flex; overflow: hidden; border-radius: var(--r-lg); background: var(--pass-ink); color: var(--photo-on); text-decoration: none; transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.portal-ph, .esc-ph, .crew-ph { position: absolute; inset: 0; z-index: -1; display: block; overflow: hidden; border-radius: inherit; }
.portal-ph img, .esc-ph img, .crew-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t3) var(--ease); }
.portal:hover, .portal:focus-visible, .esc:hover, .esc:focus-visible, .crew:hover, .crew:focus-visible { transform: translateY(calc(-1 * var(--s1))); box-shadow: var(--sh-2); }
.portal:hover img, .portal:focus-visible img, .esc:hover img, .esc:focus-visible img, .crew:hover img, .crew:focus-visible img { transform: scale(1.04); }
.portal:focus-visible, .esc:focus-visible, .crew:focus-visible { border-radius: var(--r-lg); }

/* portals: one tall card per product, stacked on phones, three across from 960 px (spec 6.11) */
.portals { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
/* Below 960 px the words' veil covers their own block and fades out over --s8 above it: a phone's card
   is ~340 px tall and half of it is words, so a veil measured from the card's bottom left the whole
   photo under it. From 960 px the taller cards keep a veil that rises from the bottom (below). */
.portal { min-height: clamp(340px, 36vw, 500px); align-items: flex-end; }
.portal-c { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--s2); padding: calc(var(--s6) + var(--s9)) var(--s6) var(--s6);
  background: linear-gradient(to top, var(--photo-scrim) 0, var(--photo-scrim-2) calc(100% - var(--s9)), transparent); }
.portal-tag, .crew-tag { color: var(--k); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; }
.portal-h { margin: 0; font-family: var(--font-display); font-size: calc(var(--fs-h2) * 1.2); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; }
.portal-p { max-width: 32ch; margin: 0; color: var(--photo-on-2); font-size: var(--fs-sm); line-height: 1.55; }
.portal-go { display: inline-flex; align-items: center; gap: var(--s2); margin-top: var(--s2); color: var(--k); font-size: var(--fs-sm); font-weight: 700; }
.portal-go svg { width: 18px; height: 18px; transition: transform var(--t2) var(--ease); }
.portal:hover .portal-go svg, .portal:focus-visible .portal-go svg { transform: translateX(var(--s1)); }

/* the trip: blocks on the page's own surface (so the theme's product colors, paper in the light
   theme), tied by a dashed line, down the stack on phones and across from 960 px */
.slots-count { flex: none; padding: var(--s1) var(--s3); border: 1px solid var(--hair); border-radius: var(--pill); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.slots-note { max-width: 60ch; margin: 0 0 var(--s4); color: var(--text-2); font-size: var(--fs-sm); }
.slots { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.slot { --slot-ic: 44px; container-type: inline-size; position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); padding: var(--s4); border: 1px solid var(--hair); border-radius: var(--r); background: var(--surface); }
.slot + .slot::before { content: ""; position: absolute; left: calc(var(--s4) + var(--slot-ic) / 2); top: calc(-1 * var(--s3) - 1px); height: var(--s3); border-left: 1px dashed var(--text-3); }
.slot-ic { flex: none; display: grid; place-items: center; width: var(--slot-ic); height: var(--slot-ic); border-radius: var(--r-sm); background: var(--k-tint); color: var(--k); }
.slot-ic svg { width: 22px; height: 22px; }
.slot.is-soon .slot-ic { background: var(--surface-2); color: var(--text-2); }
.slot-t { flex: 1 1 8rem; min-width: 0; display: grid; gap: 2px; }
.slot-t b { font-size: var(--fs-body); font-weight: 700; }
.slot-t small { color: var(--text-2); font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-go { flex: none; display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 0 var(--s4); border: 1px solid var(--k); border-radius: var(--r-sm); color: var(--k); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; transition: background-color var(--t2); }
.slot-go:hover, .slot-go.is-set { background: var(--k-tint); }
.slot-go.is-set { border-color: transparent; }
.slot-go.is-soon { border-color: var(--hair); color: var(--text-2); }
.slot-go.is-soon:hover { background: none; }
/* a narrow block (four across while flights are on, from 960 px) puts its action on a row of its own, the same in every block */
@container (max-width: 300px) { .slot-go { flex: 1 0 100%; justify-content: center; margin-left: 0; } }
.j-review { width: 100%; margin-top: var(--s4); }

/* weekend escapes: three across from 960 px; below that the row scrolls sideways, edge to edge */
.esc-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 340px); gap: var(--s3); margin-inline: calc(-1 * var(--gut)); padding: var(--s2) var(--gut); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.esc-row::-webkit-scrollbar { display: none; }
.esc { height: clamp(300px, 26vw, 380px); padding: 0; border: 0; font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; }
.esc-t { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); padding: var(--s5); background: linear-gradient(180deg, transparent 40%, var(--photo-scrim) 100%); }
.esc-t > span:first-child { min-width: 0; }
.esc-t b { display: block; font-family: var(--font-display); font-size: calc(var(--fs-h2) * 1.1); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.esc-t small { display: block; margin-top: var(--s1); color: var(--photo-on-2); font-size: var(--fs-sm); }
.esc-go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--k); color: var(--k-ink); }
.esc-go svg { width: 18px; height: 18px; }

/* the Mega Event Crew band: its words at the bottom on phones, at the left from 960 px */
.crew { min-height: clamp(300px, 24vw, 420px); }
.crew-c { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); padding: var(--s6) var(--s5);
  background: linear-gradient(to top, var(--photo-scrim) 0, var(--photo-scrim-2) calc(var(--s10) * 2), transparent calc(var(--s10) * 3)); }
.crew-t { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); min-width: 0; }
.crew-h { max-width: 22ch; font-family: var(--font-display); font-size: calc(var(--fs-h2) * 1.2); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.crew-p { max-width: 46ch; color: var(--photo-on-2); font-size: var(--fs-body); }
.crew-go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--pill); background: var(--k); color: var(--k-ink); }
.crew-go svg { width: 18px; height: 18px; }

/* Mega Radar band (spec 6.4 item 3, 6.6, 6.9): born hidden in index.html, shown by app.js only once
   RADAR is true. It reads dark in both themes by itself: --text, --text-2, --text-3, --hair, --bg
   and --surface are pinned here to the dark theme's own values (:root, above), the same way
   .esc/.portal/.crew pin --photo-on for words over a photo (line ~192); --k stays the hotel
   product's night colour (the one those photo cards already use so it never follows
   html[data-theme]), since "Open Mega Radar" leads to the hotels screen. The rings, the label and
   the sweep are the only drawing here: no hotel dot, price or count is ever shown (spec 6.6). */
.radar-band {
  --text: #EEF0F7; --text-2: #A3A7B7; --text-3: #71768E; --hair: #262A35; --bg: #0A0B10; --surface: #13151C;
  --k-hotel: var(--k-hotel-night); --k-hotel-ink: var(--k-hotel-ink-night);
  --k: var(--k-hotel); --k-ink: var(--k-hotel-ink); --k-tint: rgba(45, 212, 191, 0.14);
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--s6);
  padding: var(--s6); border-radius: var(--r-lg); color: var(--text);
  background: radial-gradient(130% 160% at 80% 10%, var(--k-tint), transparent 60%), linear-gradient(175deg, var(--surface), var(--bg));
  border: 1px solid color-mix(in srgb, var(--k) 26%, transparent);
}
.radar-tag { display: inline-flex; align-items: center; gap: var(--s2); color: var(--k); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; }
.radar-tag svg { width: 18px; height: 18px; }
.radar-h { max-width: 18ch; margin: var(--s3) 0; font-family: var(--font-display); font-size: calc(var(--fs-h2) * 1.2); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.radar-p { max-width: 50ch; margin: 0; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.radar-act { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s3); margin-top: var(--s5); }
.radar-act .f { flex: 1 1 220px; min-width: 0; }
.radar-act .field > svg { color: var(--k); }
.radar-act > .btn-primary { flex: 1 1 100%; }
.radar-band .btn-primary { background: var(--k); color: var(--k-ink); box-shadow: none; }
.radar-band .btn-primary:hover, .radar-band .btn-primary:focus-visible { box-shadow: 0 14px 30px color-mix(in srgb, var(--k) 32%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
/* the decorative radar visual: rings in SVG, a conic-gradient sweep that spins once every 5 s (spec
   6.8) and the pulsing core "Your venue". transform and opacity only (reduced motion zeroes every
   animation-duration, below), never the gradient or the stroke. */
.radar-viz { position: relative; aspect-ratio: 1; width: 100%; max-width: 240px; margin: var(--s2) auto 0; }
.radar-viz svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.radar-ring { fill: none; stroke: color-mix(in srgb, var(--k) 46%, transparent); stroke-width: 1.4; }
.radar-rl { fill: color-mix(in srgb, var(--k) 85%, var(--text)); font: 700 10px var(--font-ui); text-anchor: middle; letter-spacing: 0.06em; }
.radar-sweep { position: absolute; inset: 4%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 280deg, color-mix(in srgb, var(--k) 38%, transparent) 360deg); animation: radarSweep 5s linear infinite; }
.radar-core { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--k); box-shadow: 0 0 0 6px color-mix(in srgb, var(--k) 22%, transparent); }
.radar-core::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--k) 55%, transparent); animation: radarPulse calc(var(--t3) * 4) ease-out infinite; }
.radar-core-l { position: absolute; left: 50%; top: calc(50% + var(--s5)); transform: translateX(-50%); padding: 4px var(--s3); border-radius: var(--pill); background: color-mix(in srgb, var(--bg) 80%, transparent); color: var(--text); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
@keyframes radarSweep { to { transform: rotate(360deg); } }
@keyframes radarPulse { from { transform: scale(0.6); opacity: 0.85; } to { transform: scale(2.4); opacity: 0; } }

/* For event organizers (Wristband Express, /go/wristbands): a dark band like the Radar's, pinned to the
   dark theme's values so it reads the same in both themes; --k is the tickets product's night colour,
   since organizers come from events. The wristbands on the right are drawn in CSS: no partner logo. */
.org-band {
  --text: #EEF0F7; --text-2: #A3A7B7; --text-3: #71768E; --hair: #262A35; --bg: #0A0B10; --surface: #13151C;
  --k: var(--k-ticket-night); --k-ink: var(--k-ticket-ink-night); --k-tint: rgba(255, 90, 115, 0.16);
  --gold: #E8C66A; --sky: #38BDF8; --mint: #4ADE80;
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--s5);
  padding: var(--s6); border-radius: var(--r-lg); color: var(--text); scroll-margin-top: calc(var(--s9) + var(--s4));
  background:
    radial-gradient(70% 90% at 92% 8%, rgba(255, 90, 115, 0.26), transparent 62%),
    radial-gradient(55% 70% at 70% 100%, rgba(129, 140, 248, 0.18), transparent 65%),
    linear-gradient(170deg, #171826, var(--bg) 70%);
  border: 1px solid color-mix(in srgb, var(--k) 38%, transparent);
  box-shadow: 0 30px 80px -30px rgba(255, 90, 115, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* a very light crowd photo under the gradient (the same concert photo the event pages fall back to),
   faded toward the copy so the text sits on the plain dark ground */
.org-band::after { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/img/org-crowd.jpg") right center / cover no-repeat; background: image-set(url("/img/org-crowd.webp") type("image/webp"), url("/img/org-crowd.jpg") type("image/jpeg")) right center / cover no-repeat; opacity: 0.16; filter: saturate(0.8); -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 35%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 35%, transparent 75%); }
/* a faint dot grid behind the wristbands, fading toward the copy */
.org-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%); mask-image: linear-gradient(100deg, transparent 30%, #000 85%); }
.org-copy { position: relative; }
.org-tag { display: inline-flex; align-items: center; gap: var(--s2); padding: 6px 12px 6px 10px; border: 1px solid color-mix(in srgb, var(--k) 40%, transparent); border-radius: var(--pill); background: var(--k-tint); color: var(--k); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; }
.org-tag svg { width: 16px; height: 16px; }
.org-h { max-width: 16ch; margin: var(--s4) 0 var(--s3); font-family: var(--font-display); font-size: clamp(1.75rem, 7.4vw, 3rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.org-h em { font-style: normal; background: linear-gradient(95deg, var(--k) 10%, var(--gold) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.org-p { max-width: 48ch; margin: 0; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.org-perks { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); margin: var(--s5) 0 0; padding: 0; list-style: none; }
.org-perks li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s3); align-items: center; padding: 10px var(--s3); border: 1px solid var(--hair); border-radius: 16px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)); }
.org-perks b { grid-column: 2; font-size: var(--fs-sm); font-weight: 700; line-height: 1.25; color: var(--text); }
.org-perks small { grid-column: 2; color: var(--text-3); font-size: var(--fs-xs); line-height: 1.35; }
.org-perk-ic { grid-row: 1 / span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--k-tint); color: var(--k); }
.org-perks li:nth-child(2) .org-perk-ic { background: rgba(232, 198, 106, 0.14); color: var(--gold); }
.org-perks li:nth-child(3) .org-perk-ic { background: rgba(56, 189, 248, 0.14); color: var(--sky); }
.org-perk-ic svg { width: 18px; height: 18px; }
.org-uses { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0 0; padding: 0; list-style: none; }
.org-uses li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border: 1px solid var(--hair); border-radius: var(--pill); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text-2); font-size: var(--fs-xs); font-weight: 600; }
.org-uses svg { width: 14px; height: 14px; color: var(--text-3); }
.org-band .org-go { width: 100%; min-height: 54px; margin-top: var(--s5); padding: 0 var(--s6); background: linear-gradient(180deg, #FF7088, var(--k)); color: var(--k-ink); font-size: var(--fs-body); font-weight: 800; box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--k) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.org-band .org-go:hover, .org-band .org-go:focus-visible { box-shadow: 0 18px 40px -8px color-mix(in srgb, var(--k) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.org-note { max-width: 56ch; margin: var(--s3) 0 0; color: var(--text-3); font-size: var(--fs-xs); line-height: 1.5; }

/* the stage: four Tyvek-style bands fanned under a spotlight, a silicone band behind them */
.org-viz { position: relative; order: -1; height: 222px; margin: calc(-1 * var(--s2)) calc(-1 * var(--s2)) 0; }
.org-spot { position: absolute; left: 50%; top: 52%; width: 82%; height: 70%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 115, 0.32), rgba(129, 140, 248, 0.12) 60%, transparent); filter: blur(10px); }
.org-ring { position: absolute; right: 6%; bottom: 4%; width: 92px; height: 92px; border-radius: 50%; border: 13px solid #8B5CF6; background: transparent; transform: perspective(300px) rotateX(58deg) rotateZ(-18deg); box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.28), inset 0 -4px 8px rgba(0, 0, 0, 0.35), 0 12px 20px rgba(0, 0, 0, 0.45); opacity: 0.95; }
.org-wb {
  --r: 0deg; --x: 0px;
  position: absolute; left: 50%; display: flex; align-items: center; justify-content: space-between; width: 270px; height: 40px; margin-left: -135px; padding: 0 14px 0 48px;
  border-radius: 7px 4px 4px 7px; transform: translateX(var(--x)) rotate(var(--r));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 5px),
    var(--c);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform var(--t3) var(--ease), opacity var(--t3) var(--ease);
}
.org-wb::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: rgba(10, 11, 16, 0.6); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5); }
.org-wb::after { content: ""; position: absolute; left: 38px; top: 5px; bottom: 5px; border-left: 2px dashed rgba(10, 11, 16, 0.3); }
.org-wb i { font-style: normal; font: 800 13px/1 var(--font-display); letter-spacing: 0.16em; color: rgba(10, 11, 16, 0.85); }
.org-wb em { font-style: normal; font: 700 9px/1 var(--font-ui); letter-spacing: 0.12em; color: rgba(10, 11, 16, 0.55); }
.org-wb-1 { --c: var(--k); --r: -7deg; --x: -8px; top: 26px; z-index: 4; }
.org-wb-2 { --c: var(--gold); --r: 4deg; --x: 22px; top: 74px; z-index: 3; }
.org-wb-3 { --c: var(--mint); --r: -3deg; --x: -20px; top: 122px; z-index: 2; }
.org-wb-4 { --c: var(--sky); --r: 5deg; --x: 10px; top: 168px; z-index: 1; }
.org-free { position: absolute; right: 2%; top: 4px; z-index: 5; padding: 6px var(--s3); border-radius: var(--pill); background: var(--text); color: var(--bg); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; transform: rotate(6deg); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4); transition: transform var(--t3) var(--ease), opacity var(--t3) var(--ease); }
.org-free-2 { display: none; right: auto; left: 2%; top: auto; bottom: 6px; background: var(--gold); color: #1A1406; transform: rotate(-5deg); }
/* one-shot entrance as the band scrolls in (no loops); hover lifts a band */
.org-band:not(.in) .org-wb { opacity: 0; transform: translateX(calc(var(--x) + 60px)) rotate(calc(var(--r) - 8deg)); }
.org-band:not(.in) .org-free { opacity: 0; transform: scale(0.6) rotate(0deg); }
.org-band.in .org-wb-2 { transition-delay: 0.08s; } .org-band.in .org-wb-3 { transition-delay: 0.16s; } .org-band.in .org-wb-4 { transition-delay: 0.24s; }
.org-band.in .org-free { transition-delay: 0.4s; }
@media (hover: hover) {
  .org-band.in .org-wb:hover { transform: translateX(var(--x)) translateY(-6px) rotate(calc(var(--r) * 0.4)); transition-delay: 0s; }
}
/* the Tickets screen's row: an icon tile in place of the photo, the tickets colour on its button */
.org-link { margin: 0 0 var(--s4); }
.x-i .org-link-ic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--k-tint, var(--accent-tint)); color: var(--k, var(--accent)); }
.org-link-ic svg { width: 26px; height: 26px; }
@media (min-width: 560px) {
  .org-free-2 { display: block; }
  .org-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .org-perks li { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: var(--s3); }
  .org-perks b { margin-top: var(--s2); }
}
@media (min-width: 960px) {
  .org-band { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s8); padding: var(--s8) var(--s9); }
  .org-band::before { -webkit-mask-image: linear-gradient(100deg, transparent 45%, #000 90%); mask-image: linear-gradient(100deg, transparent 45%, #000 90%); }
  .org-band::after { opacity: 0.2; -webkit-mask-image: linear-gradient(90deg, transparent 22%, rgba(0, 0, 0, 0.6) 50%, #000 85%); mask-image: linear-gradient(90deg, transparent 22%, rgba(0, 0, 0, 0.6) 50%, #000 85%); }
  .org-band .org-go { width: auto; }
  .org-viz { order: 0; height: 360px; margin: 0; }
  .org-wb { width: 340px; height: 52px; margin-left: -170px; padding: 0 18px 0 58px; }
  .org-wb::before { left: 18px; width: 17px; height: 17px; margin-top: -8.5px; }
  .org-wb::after { left: 46px; }
  .org-wb i { font-size: 16px; }
  .org-wb em { font-size: 10px; }
  .org-wb-1 { top: 50px; } .org-wb-2 { top: 122px; } .org-wb-3 { top: 194px; } .org-wb-4 { top: 264px; }
  .org-ring { width: 130px; height: 130px; border-width: 18px; right: 2%; bottom: 8%; }
  .org-free { font-size: var(--fs-xs); padding: 8px var(--s4); }
  .org-free:not(.org-free-2) { right: 4%; top: 24px; }
  .org-free-2 { left: 4%; bottom: 22px; }
}

@media (min-width: 960px) {
  .home-below { gap: var(--s10); }
  .portals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
  .portal { align-items: stretch; }
  .portal-c { padding: var(--s7); background: linear-gradient(to top, var(--photo-scrim) 0, var(--photo-scrim-2) calc(var(--s10) * 2.5), transparent calc(var(--s10) * 4)); }
  .slots { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; gap: var(--s4); }
  .slot + .slot::before { left: calc(-1 * var(--s4) - 1px); top: 50%; width: var(--s4); height: 0; border-left: 0; border-top: 1px dashed var(--text-3); }
  .j-review { width: auto; }
  .esc-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-inline: 0; padding: 0; overflow: visible; }
  .crew-c { align-items: center; padding: var(--s8) var(--s9);
    background: linear-gradient(90deg, var(--photo-scrim) 0%, var(--photo-scrim-2) 32%, color-mix(in srgb, var(--pass-ink) 50%, transparent) 62%, transparent 100%); }
  .crew-h { font-size: calc(var(--fs-h2) * 1.5); }
  .radar-band { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s8); padding: var(--s8) var(--s9); }
  .radar-act > .btn-primary { flex: 0 0 auto; }
  .radar-viz { max-width: 340px; }
}

/* the trip rows the profile still draws (journey() rows), and the festivals list's count */
.trip-count { color: var(--text-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.trip-list { margin: 0; padding: 0; list-style: none; }
.trip-i { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #1F2231; }
.trip-i img { width: 52px; height: 52px; flex: none; border-radius: 14px; object-fit: cover; }
.trip-i.is-soon img { opacity: 0.45; }
.trip-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.trip-t b { font-size: 14px; font-weight: 600; }
.trip-t small { color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-go { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--k, var(--accent)); background: transparent; color: var(--k, var(--accent-hi)); font-size: 13px; font-weight: 700; text-decoration: none; }
.trip-go.is-set { background: var(--k-tint, var(--accent-tint)); border-color: transparent; }
.trip-go.is-soon { border-color: var(--hair); color: var(--text-2); }

/* hotels: collections + complete the trip */
.coll-wrap { margin-bottom: var(--s6); }
.coll-wrap .h-2 { margin-bottom: var(--s3); }
.coll { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.coll-i { position: relative; height: 150px; padding: 0; border: 1px solid var(--hair); border-radius: 18px; overflow: hidden; color: #fff; text-align: left; cursor: pointer; background: var(--surface); }
.coll-i img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.coll-i:hover img { transform: scale(1.05); }
.coll-i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 11, 20, 0.9)); }
.coll-i span { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 2px; }
.coll-i b { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.coll-i small { color: #D4D7E6; font-size: 12px; }
.coll-i:focus-visible { outline-offset: 2px; }
.xsell { display: grid; gap: 10px; margin-top: var(--s7); }
.xsell .h-2 { margin-bottom: 4px; }
.x-i { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 1px solid var(--hair); border-radius: 16px; background: var(--surface); color: var(--text); text-decoration: none; text-align: left; font: inherit; cursor: pointer; transition: border-color var(--t2); }
.x-i:hover, .x-i:focus-visible { border-color: var(--k-line, var(--accent-line-2)); }
.x-i img { width: 56px; height: 56px; flex: none; border-radius: 12px; object-fit: cover; }
.x-i span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.x-i b { font-size: 14px; font-weight: 600; }
.x-i small { color: var(--text-2); font-size: 13px; }
.x-i i { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 10px; background: var(--k, var(--accent)); color: var(--k-ink, var(--ink)); font-style: normal; font-size: 13px; font-weight: 800; }

/* flights preview */
.rc-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.rc-head b { font-size: 14px; }
.route-card { background: var(--surface); border-color: var(--hair); }
.rc-soon-btn { margin-top: var(--s4); background: rgba(238, 240, 247, 0.06); color: var(--text-3); border-color: var(--hair); cursor: not-allowed; }
.rc-soon-btn[disabled] { opacity: 1; cursor: not-allowed; }
.fl-side .h-2 { margin-bottom: var(--s3); }
.opass { padding: var(--s4); border-radius: 20px; background: #F4F5FA; color: #0A0B14; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); }
.opass-top { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.2em; }
.opass-ex { margin-left: auto; padding: 3px 8px; border: 1px solid var(--k-flight); border-radius: 999px; color: var(--k-flight); font-size: 9.5px; letter-spacing: 0.16em; }
.opass-route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px; margin: 14px 0; padding-bottom: 14px; border-bottom: 2px dotted rgba(10, 11, 20, 0.2); }
.opass-route small { display: block; color: #4A4F66; font-size: 12px; font-weight: 600; }
.opass-route b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; font-weight: 700; }
.opass-route .is-r { text-align: right; }
.opass-line { position: relative; height: 1px; margin-bottom: 14px; background: repeating-linear-gradient(90deg, rgba(10, 11, 20, 0.35) 0 3px, transparent 3px 7px); }
.opass-line svg { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 2px; color: var(--k-flight); background: #F4F5FA; transform: rotate(45deg); }
.opass-rows { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.opass-rows li { display: flex; align-items: center; gap: 12px; }
.opass-rows img { width: 44px; height: 44px; flex: none; border-radius: 12px; object-fit: cover; }
.opass-rows span { flex: 1; min-width: 0; display: grid; }
.opass-rows b { font-size: 12px; color: var(--k, #4A4F66); font-weight: 700; }
.opass-rows a { color: #0A0B14; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opass-rows a:hover { color: var(--k, var(--k-flight)); text-decoration: underline; }
.opass-rows i { flex: none; font-style: normal; font-size: 12px; font-weight: 800; color: var(--ok-paper); }

/* rides */
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.seg-3 button { min-height: 46px; font-size: 13.5px; }
.seg-3 .seg-ink { width: calc((100% - 8px) / 3); }
.is-hourly #rToWrap, .is-hourly .swap { display: none; }
input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(0.8); opacity: 0.75; }
.field input[type="time"] { padding-left: 42px; padding-right: 4px; min-width: 0; }
.veh { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.veh legend { margin-bottom: 8px; padding: 0; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.veh-i { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--hair); border-radius: 16px; background: var(--bg-2); cursor: pointer; transition: border-color var(--t2), background-color var(--t2); }
.veh-i input { position: absolute; opacity: 0; pointer-events: none; }
.veh-i img { width: 72px; height: 50px; flex: none; border-radius: 10px; object-fit: cover; }
.veh-i span { display: grid; gap: 2px; min-width: 0; }
.veh-i b { font-size: 14.5px; font-weight: 700; }
.veh-i small { color: var(--text-2); font-size: 12.5px; }
.veh-i:has(input:checked) { border-color: var(--k, var(--accent)); background: var(--k-tint, var(--accent-tint)); }
.veh-i:has(input:focus-visible) { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.veh-i::after { content: ""; position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--hair-2); border-radius: 50%; }
.veh-i:has(input:checked)::after { border: 5px solid var(--k, var(--accent)); }
/* The live Mega Ride fleet: the same .veh-i row, with Mega Ride's studio photo (the car on a plain
   ground, so it is fitted whole, never cropped), the category, "<car> or similar", seats and bags. */
.veh-list { display: grid; gap: 8px; min-width: 0; }
.veh-car { align-items: flex-start; padding-right: 42px; }
.veh-car[hidden] { display: none; }
.veh-ph { width: 96px; height: 72px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: var(--surface-2, var(--bg)); }
.veh-i .veh-ph img, .veh-ph picture { width: 100%; height: 100%; }
.veh-i .veh-ph img { border-radius: 0; object-fit: contain; }
.veh-noimg svg { width: 30px; height: 30px; color: var(--text-3); }
.veh-i .veh-t { gap: 1px; padding-top: 2px; }
.veh-i .veh-m { color: var(--text); font-size: 13px; }
.veh-i .veh-sim { color: var(--text-3); font-size: 12px; }
.veh-i .veh-x { color: var(--text-3); font-weight: 600; }
.veh-i .veh-x[hidden] { display: none; }
.veh-car.is-small { cursor: not-allowed; opacity: .55; }
.veh-car.is-small .veh-p { display: none; }
.veh-wait { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px; border: 1px dashed var(--hair-2); border-radius: 16px; color: var(--text-2); font-size: 13.5px; }
.veh-wait svg { width: 22px; height: 22px; flex: none; color: var(--k, var(--accent-hi)); }
.veh-more { justify-self: start; min-height: 40px; padding: 0 4px; border: 0; background: none; color: var(--k, var(--accent-hi)); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.veh-more[hidden] { display: none; }
.veh-more:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-radius: 8px; }
#rGoNote { margin: -6px 0 2px; }
/* A Mega Ride studio photo on the trip's ride card: the whole car, as on the rides screen. */
.ti[data-kind="ride"] .ti-h img[src*="/fleet/"] { object-fit: contain; background: var(--surface-2); }
.ret-step { display: grid; gap: var(--s3); padding: var(--s4); border: 1px solid var(--k-line, var(--accent-line-2)); border-radius: 14px; background: var(--k-tint, var(--accent-tint)); }
.ret-step[hidden] { display: none; }
.ret-step p { margin: 0; font-size: 14px; color: var(--text-2); }
.ret-step b { color: var(--text); }
.rides-side .tcard .h-3 { margin-bottom: var(--s3); }

/* tickets: event + trip */
.ev-hero { position: relative; display: flex; align-items: flex-end; min-height: 360px; margin: calc(-1 * var(--s5)) calc(-1 * var(--s4)) var(--s5); overflow: hidden; background: var(--surface); }
.ev-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 20, 0.3) 0%, rgba(10, 11, 20, 0.1) 35%, rgba(10, 11, 20, 0.92) 85%, var(--bg) 100%); }
.ev-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
.ev-meta { margin: 0; color: #D4D7E6; font-size: 14.5px; }
.ev-skel { flex: none; width: 200px; height: 74px; }
.ev-c { flex: none; display: flex; align-items: center; gap: 10px; width: 240px; padding: 8px; border: 1px solid var(--hair); border-radius: 14px; background: var(--surface); color: var(--text); text-align: left; font: inherit; cursor: pointer; scroll-snap-align: start; transition: border-color var(--t2), background-color var(--t2); }
.ev-c[aria-selected="true"] { border-color: var(--k, var(--accent)); background: var(--k-tint, var(--accent-tint)); }
.ev-c img { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: cover; }
.ev-c span { min-width: 0; display: grid; gap: 2px; }
.ev-c b { font-size: 13.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-c small { color: var(--text-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-empty { flex: 1; padding: var(--s4); border: 1px dashed var(--hair-2); border-radius: 14px; color: var(--text-2); font-size: 14px; }
/* Tickets: the show catalog (#/tickets) and one show (#/tickets/<id>) */
.ev-browse { display: grid; margin-bottom: var(--s6); }
.ev-browse > .more { margin-bottom: var(--s4); }
.ev-find { display: grid; gap: var(--s3); margin-bottom: var(--s3); }
.ev-cats { margin-bottom: var(--s4); }
.ev-list { display: grid; gap: 10px; margin: 0 0 var(--s4); padding: 0; list-style: none; }
.ev-list > li { min-width: 0; }
.ev-list .ev-skel { width: auto; height: 74px; }
.ev-list .ev-c { width: 100%; padding: 9px; text-decoration: none; }
.ev-list .ev-c:hover, .ev-list .ev-c:focus-visible { border-color: var(--k-line, var(--accent-line-2)); }
.ev-c small + small { color: var(--text-3); }
.ev-day { flex: none; display: grid; place-content: center; justify-items: center; width: 56px; height: 56px; border-radius: 10px; background: var(--k-tint, var(--accent-tint)); color: var(--k, var(--accent)); line-height: 1; }
.ev-day small { color: inherit !important; font-size: 10.5px; font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; }
.ev-day b { font-size: 20px; font-weight: 800; -webkit-line-clamp: unset; display: block; }
.ev-day svg { width: 22px; height: 22px; }
.ev-list .ev-empty { list-style: none; grid-column: 1 / -1; }
.ev-empty a { color: var(--k, var(--accent-hi)); font-weight: 700; }
.ev-back { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-bottom: var(--s3); color: var(--k, var(--accent-hi)); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; }
.ev-back svg { width: 18px; height: 18px; transform: scaleX(-1); }
@media (min-width: 720px) {
  .ev-find { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .ev-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .ev-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ev-cta { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.ev-price { margin: 0; font-size: 14px; color: var(--text-2); }
.ev-price b { color: var(--text); font-size: 1.15rem; }
.ev-price .so { color: var(--warn); font-weight: 700; }
.mk { display: grid; gap: 10px; margin-bottom: var(--s4); }
.mk .h-2 { margin: 0; }
.mk-sub { margin: -4px 0 4px; color: var(--text-2); font-size: 14px; }
.mk-venue { display: grid; gap: var(--s3); }
.mk-venue[hidden] { display: none; }
.mk .x-i { background: var(--bg-2); }

@media (min-width: 720px) {
  .ph-hero, .ev-hero { margin: 0 0 var(--s7); border-radius: 26px; }
  .ph-hero { min-height: 460px; }
  .ph-hero.ph-sub { min-height: 340px; }
  .ph-in { padding: var(--s7); max-width: 640px; }
  .coll { grid-template-columns: repeat(4, 1fr); }
  .coll-i { height: 190px; }
}
@media (min-width: 960px) {
  /* "Complete the trip": rows of about 24rem side by side, keeping their tracks (auto-fill) on a wide
     block, so an "Add" never sits far from its words (ruling R9; two half-width rows ran ~875 px) */
  .xsell { grid-template-columns: repeat(auto-fill, minmax(min(24rem, 100%), 1fr)); }
  .xsell .h-2 { grid-column: 1 / -1; }
  .fl-layout { grid-template-columns: 1.1fr 0.9fr; }
  /* Tickets on the full-width block (spec 5.2, on main's show catalog: ruling R11). The list (#evBrowse)
     runs across the block: its search held to the cover search's measure, the shows a grid that grows
     with the screen (about 17.5rem a show, 3 a row at 960 px as on main, then more; the tracks stay when
     there are few shows, so they never stretch), "Show more shows" at its own width, centered (main's
     .more), and the venue row at the reading block's width. One show (#evShow): "All shows" above two
     columns, the show with its buttons (at most 38rem, so they stay in the reading block) left of "Make
     it a trip". The two links under both are rows of about 24rem side by side, as "Complete the trip"
     (ruling R9), and the fine print is held to a measure and centered. */
  #v-tickets > .wide { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(24rem, 100%), 1fr)); column-gap: var(--s4); align-items: start; }
  #v-tickets > .wide > #evBrowse, #v-tickets > .wide > #evShow, #v-tickets > .wide > .fine { grid-column: 1 / -1; }
  #v-tickets > .wide > .fine { max-width: 60ch; justify-self: center; }
  .ev-find { max-width: 36rem; }
  .ev-list { grid-template-columns: repeat(auto-fill, minmax(min(17.5rem, 100%), 1fr)); }
  #evPlan { max-width: 40rem; }
  #evShow { display: grid; grid-template-columns: minmax(0, 38rem) minmax(24rem, 1fr); column-gap: var(--s8); align-items: start; }
  #evShow > .ev-back { grid-column: 1 / -1; justify-self: start; }
  #v-tickets .ev-cta > .fine { max-width: 60ch; justify-self: center; }
  /* "Make it a trip" (and a festival's "Plan the trip") lays its rows side by side when it has the room:
     one a row up to about the reading block's width, then two, then three */
  .mk { grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr)); }
  .mk > :not(.x-i) { grid-column: 1 / -1; }
  .mk-venue { grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }
}

/* ---------- the photo screens' covers (telas em largura total: spec 4, 5.1 and 5.4) ----------
   Hotels, Flights and Rides (.ph-hero.ph-sub) and Tickets and Festivals (.ev-hero) share one frame,
   .screen-cover: the screen's own photo in a <picture> (.sc-ph) under the veil (::after). Below 960 px
   it is main's cover, its height, corners and veil included (spec 5.4). From 960 px it runs edge to edge
   from the very top of the page, under the header, which floats over it see-through outside the app
   shell (html.top-over, app.js; inside the shell the header stays solid and the cover starts right
   below it, part 1 rule 6.1). It is min(56vh, 560px) tall and carries the home cover's veil
   (--cin-veil: the page's night in the dark theme, Ink in the light one), on an Ink ground while the
   photo arrives; its words line up with the content block below (.wide) and keep their own measure.
   The veil's top band, under the header, is set in px rather than in % of the cover, and holds the
   home's darkest value (72%) across the header's words before it fades: the home's 14% is ~116 px of
   its tall cover, and the same 14% of this shorter one left the header's words on a bright daylight
   photo (Rides; its current link in gold most of all) under 4.5:1. */
.sc-ph { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
/* Rides keeps both faces in view. On a phone the cover is a short landscape box (390x300) that crops the
   photo's sides: anchored left, the passenger's face clears the pill and the chauffeur's stays inside the
   right edge, and the title sits on the dark car. */
#v-rides .sc-ph .ph-img { object-position: 0% 50%; }
@media (min-width: 960px) {
  /* the wide cover crops top and bottom instead: the faces sit in the photo's top fifth, so the crop
     starts there */
  #v-rides .sc-ph .ph-img { object-position: 50% 20%; }
  html:not([data-shell="ios"]):has(.view:not([hidden]) > .screen-cover) .top { position: fixed; inset: 0 0 auto; }
  .view > .screen-cover { --cin-veil: var(--bg); min-height: min(56vh, 560px); min-height: min(56svh, 560px); margin: calc(-1 * var(--s7)) calc(-1 * var(--s4)) var(--s8); border-radius: 0; background: var(--pass-ink); }
  html[data-theme="light"] .view > .screen-cover { --cin-veil: var(--pass-ink); border-radius: 0; }
  /* inside the app shell the header is solid and the cover starts below it: only the bottom veil */
  .view > .screen-cover::after, html[data-theme="light"] .view > .screen-cover::after { background: linear-gradient(180deg,
    transparent 44%, color-mix(in srgb, var(--cin-veil) 45%, transparent) 70%, var(--cin-veil) 100%); }
  html:not([data-shell="ios"]) .view > .screen-cover::after, html:not([data-shell="ios"])[data-theme="light"] .view > .screen-cover::after { background: linear-gradient(180deg,
    color-mix(in srgb, var(--cin-veil) 72%, transparent) 0, color-mix(in srgb, var(--cin-veil) 72%, transparent) var(--s9),
    color-mix(in srgb, var(--cin-veil) 30%, transparent) calc(var(--s10) + var(--s7)), transparent calc(var(--s10) * 2),
    transparent 44%, color-mix(in srgb, var(--cin-veil) 45%, transparent) 70%, var(--cin-veil) 100%); }
  /* the words' own veil, as on the home: it rises over the block's top padding, so it never draws a line
     across the photo */
  .view > .screen-cover .ph-in { max-width: none; padding: var(--s10) max(var(--gut), calc((100% - var(--max-wide)) / 2)) var(--s8);
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--cin-veil) 58%, transparent) var(--s10)); }
  .view > .screen-cover .ph-search { max-width: 36rem; }
  .view > .screen-cover .ev-meta { max-width: 60ch; }
}
@media (max-width: 360px) { .ph-go span { display: none; } }

/* ---------- screen transitions (View Transitions) ----------
   Header, dock and the dock's glass pill are their own layers, so they hold
   still (the pill glides to the new tab) while the screen between them moves. */
/* The header is named only while a transition runs (route() sets html.vt-run before it starts one):
   a named element is a backdrop root, which would keep its blur layer (.top::before) from seeing the
   page behind it the rest of the time. */
html.vt-run .top { view-transition-name: top; }
.dock { view-transition-name: dock; }
.dock-ink { view-transition-name: dock-ink; }
html.vt-run .view { animation: none; }
::view-transition-group(top), ::view-transition-group(dock) { animation: none; }
::view-transition-old(top), ::view-transition-new(top),
::view-transition-old(dock), ::view-transition-new(dock) { animation-duration: 0.2s; }
::view-transition-group(dock-ink) { animation-duration: 0.5s; animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }

/* Portal: the tapped photo (or the current hero) opens into the next
   screen's hero; the rest of the screen rises in behind it, row by row. */
html.vt-run::view-transition-old(root) { animation: fxPortalOut 0.3s var(--ease) both; }
html.vt-run::view-transition-new(root) { animation: fadeIn 0.3s 0.08s var(--ease) both; }
::view-transition-group(hero) { animation-duration: 0.6s; animation-timing-function: cubic-bezier(0.2, 0.9, 0.1, 1); overflow: clip; }
::view-transition-old(hero), ::view-transition-new(hero) { width: 100%; height: 100%; object-fit: cover; animation-duration: 0.45s; }
/* Every screen's rows sit in its .wide block (telas em largura total): the rows rise, as they did when they
   were the screen's own children, while .wide itself holds still, and so does the kit's cover (.kit-hero,
   the morph target) inside it. The home's block below its cover and the festivals' body (#fsBody, drawn
   by renderFestivals) were one row each and rise as one. Every selector here outranks the nth-child delays
   below, as the single rule did on main, so the rows still rise together (entrada-das-telas). */
html.vt-run .view:not([hidden]) > :not(.ph-hero):not(.ev-hero):not(.kit-hero):not(.wide),
html.vt-run .view:not([hidden]) > .home-below.wide,
html.vt-run .view:not([hidden]) > #fsBody,
html.vt-run .view:not([hidden]) > .wide:not(.home-below):not(#fsBody) > :not(.kit-hero) { animation: cardIn 0.5s var(--ease) both; }
html.vt-run .view:not([hidden]) > :nth-child(2) { animation-delay: 0.16s; }
html.vt-run .view:not([hidden]) > :nth-child(3) { animation-delay: 0.24s; }
html.vt-run .view:not([hidden]) > :nth-child(n+4) { animation-delay: 0.32s; }
@keyframes fxPortalOut { to { opacity: 0; transform: scale(0.96); filter: brightness(0.6); } }

/* ---------- site footer, every screen (spec 6.4 item 7) ---------- */
/* Fix round 1: the footer is now the true last flow element before the fixed dock (it used to
   sit inside .views, the last thing before the dock in the pre-footer markup). Its own bottom
   padding reserves the dock's space by default (phones, and the app shell at any width); the
   960px block above drops it back to --s6 once the dock itself is gone. */
.site-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s6); padding: var(--s7) var(--gut) calc(var(--dock-h) + var(--safe-b) + 40px); border-top: 1px solid var(--hair); }
.site-foot-logo { flex: none; display: block; }
.site-foot-logo img { display: block; height: 28px; width: auto; }
.site-foot-nav { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5); }
.site-foot-nav a { color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.site-foot-nav a:hover { color: var(--text); }
.site-foot-call { margin: 0; color: var(--text-3); font-size: var(--fs-sm); }
.site-foot-call a { color: var(--text-2); font-weight: 600; text-decoration: none; }
.site-foot-call a:hover { color: var(--text); }
.site-foot-c { margin-left: auto; color: var(--text-3); font-size: var(--fs-xs); }


/* ---------- media kit (#/brand) ---------- */
.top-r { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.dock.no-tab .dock-ink { opacity: 0; }

.kit-hero { position: relative; display: grid; justify-items: center; gap: var(--s3); margin: 0 calc(-1 * var(--s4)); padding: var(--s6) var(--s4) var(--s5); text-align: center; overflow: hidden; border-bottom: 1px solid var(--hair); background: radial-gradient(120% 80% at 50% 0%, rgba(79, 70, 229, 0.28), rgba(10, 11, 20, 0) 65%), var(--bg); }
.kit-glow { position: absolute; top: -40px; left: 50%; width: 260px; height: 260px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(129, 140, 248, 0.35), rgba(129, 140, 248, 0) 70%); pointer-events: none; }
.kit-hero > :not(.kit-glow) { position: relative; }
.kit-hero-mark { width: min(240px, 66%); height: auto; }
.kit-hero .ph-pill { justify-self: center; }
.kit-title { margin: 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.kit-lead { max-width: 34ch; margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.kit-cta { display: grid; gap: var(--s2); width: 100%; max-width: 360px; margin-top: var(--s2); }
.kit-cta .btn svg { width: 18px; height: 18px; margin-right: 8px; }
.kit-jump { display: flex; gap: 6px; width: calc(100% + 2 * var(--s4)); margin: var(--s3) calc(-1 * var(--s4)) 0; padding: 0 var(--s4); overflow-x: auto; scrollbar-width: none; }
.kit-jump::-webkit-scrollbar { display: none; }
.kit-jump a { flex: none; padding: 7px 12px; border: 1px solid var(--hair-2); border-radius: var(--pill); color: var(--text-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.kit-jump a:hover { border-color: var(--accent-line-2); color: var(--accent-hi); }

.kit-sec { padding: var(--s6) 0 var(--s2); scroll-margin-top: 72px; }
.kit-sec + .kit-sec { border-top: 1px solid var(--hair); }
.kit-num { margin: 0 0 var(--s2); color: var(--accent); font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; }
.kit-sec .h-2 { margin-bottom: var(--s4); }
.kit-sub { margin: calc(-1 * var(--s3)) 0 var(--s4); color: var(--text-3); font-size: 13px; }
.kit-note { margin: var(--s3) 0 0; color: var(--text-3); font-size: 13px; line-height: 1.5; }

.kit-mark { display: grid; grid-template-columns: 112px 1fr; gap: var(--s4); align-items: center; }
.kit-mark-art { display: grid; place-items: center; aspect-ratio: 1; border-radius: 26px; border: 1px solid var(--hair-2); background: radial-gradient(circle at 50% 35%, rgba(129, 140, 248, 0.18), rgba(18, 20, 31, 1) 70%); }
.kit-mark-art img { width: 70%; height: auto; }
.kit-mark-txt .h-2 { margin-bottom: var(--s2); }
.kit-mark-txt p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.kit-tagline { margin-top: var(--s3) !important; color: var(--accent-hi) !important; font-size: 11px !important; font-weight: 700; letter-spacing: 0.14em; }
.kit-rules { display: grid; gap: var(--s2); margin-top: var(--s5); }
.kit-rules div { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--hair); }
.kit-rules b { font-size: 14px; font-weight: 600; }
.kit-rules span { color: var(--text-2); font-size: 13px; line-height: 1.45; }

.kit-chips { display: flex; gap: 6px; margin: 0 calc(-1 * var(--s4)) var(--s3); padding: 0 var(--s4); overflow-x: auto; scrollbar-width: none; }
.kit-chips::-webkit-scrollbar { display: none; }
.kit-stage { display: grid; place-items: center; height: 200px; padding: var(--s5); border-radius: 22px; border: 1px solid var(--hair-2); transition: background-color var(--t2); }
.kit-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.kit-stage[data-bg="night"] { background: #0A0B14; }
.kit-stage[data-bg="white"], .kit-stage[data-bg="black"] { background: #FFFFFF; }
.kit-stage[data-bg="indigo"] { background: #4F46E5; }
.kit-stage-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s3); }
.kit-bgs { display: flex; gap: 8px; }
.kit-bgs button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--hair-2); border-radius: 50%; background: transparent; cursor: pointer; }
.kit-bgs button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.35); }
.kit-bgs i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); }
.sw-night { background: #0A0B14; }
.sw-white { background: #FFFFFF; }
.sw-indigo { background: #4F46E5; }
.sw-mono { background: linear-gradient(135deg, #FFFFFF 50%, #0F1222 50%); }
.kit-stage-bar .btn svg { width: 16px; height: 16px; margin-right: 6px; }

.kit-sw { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--hair); border-radius: 16px; background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color var(--t2); }
.kit-sw:hover { border-color: var(--accent-line-2); }
.kit-sw-c { grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 12px; background: var(--c); border: 1px solid rgba(255, 255, 255, 0.14); }
.kit-sw b { font-size: 14px; font-weight: 600; }
.kit-sw code { color: var(--text-2); font-family: inherit; font-size: 12px; font-variant-numeric: tabular-nums; }
.kit-sw small { color: var(--text-3); font-size: 12px; }
.kit-sw-hero { display: grid; gap: var(--s2); margin-bottom: var(--s2); }
.kit-sw-big { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 2px; padding: 0 0 14px; overflow: hidden; }
.kit-sw-big .kit-sw-c { grid-row: auto; width: 100%; height: 92px; border: 0; border-radius: 0; margin-bottom: 10px; }
.kit-sw-big b, .kit-sw-big code, .kit-sw-big small { padding: 0 14px; }
.kit-sw-big b { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.kit-sw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.kit-grad { display: flex; align-items: flex-end; justify-content: space-between; height: 84px; margin-top: var(--s2); padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, #C7D2FE, #4338CA); color: #0E0B33; }
.kit-grad span { font-weight: 700; font-size: 14px; }
.kit-grad code { font-family: inherit; font-size: 12px; color: #fff; }
.kit-scale { display: grid; grid-template-columns: repeat(11, 1fr); margin-top: var(--s2); border-radius: 14px; overflow: hidden; border: 1px solid var(--hair); }
.kit-step { display: flex; align-items: flex-end; justify-content: center; height: 64px; padding: 0 0 6px; border: 0; background: var(--c); cursor: pointer; }
.kit-step span { font-size: 9px; font-weight: 700; color: rgba(14, 11, 51, 0.8); }
.kit-step:nth-child(n+6) span { color: rgba(255, 255, 255, 0.85); }

.kit-font { padding: var(--s4); border: 1px solid var(--hair); border-radius: 18px; background: var(--surface); }
.kit-font + .kit-font { margin-top: var(--s2); }
.kit-font-h { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.kit-font-h b { display: block; font-size: 15px; font-weight: 600; }
.kit-font-h small { color: var(--text-3); font-size: 12px; line-height: 1.4; }
.kit-aa { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-hi); font-size: 24px; font-weight: 700; }
.kit-font-d .kit-aa { font-family: var(--font-display); font-weight: 800; }
.kit-font-t .kit-aa { font-family: Inter, system-ui, sans-serif; }
.kit-spec { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
.kit-spec-t { margin: 0 0 4px; font-family: Inter, system-ui, sans-serif; font-size: 15px; line-height: 1.5; }
.kit-glyphs { margin: var(--s3) 0 0; color: var(--text-2); font-family: Inter, system-ui, sans-serif; font-size: 13px; line-height: 1.6; letter-spacing: 0.02em; word-break: break-all; }
.kit-scale-t { display: grid; gap: 0; margin: var(--s3) 0 0; padding: 0; list-style: none; }
.kit-scale-t li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); padding: 12px 0; border-bottom: 1px solid var(--hair); }
.kit-scale-t small { flex: none; color: var(--text-3); font-size: 12px; }
.t-d1 { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 38px; }
.t-d2 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 30px; }
.t-d3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 26px; }
.t-t1 { font-family: Inter, system-ui, sans-serif; font-weight: 600; font-size: 17px; line-height: 24px; }
.t-t2 { font-family: Inter, system-ui, sans-serif; font-weight: 400; font-size: 16px; line-height: 24px; }

.kit-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4) var(--s3); }
.kit-icons figure, .kit-social-top figure { display: grid; justify-items: center; gap: 8px; margin: 0; }
.kit-icons img { width: 100%; max-width: 92px; height: auto; aspect-ratio: 1; box-shadow: 0 0 0 1px var(--hair-2), 0 8px 20px rgba(0, 0, 0, 0.35); }
.kit-icons .ic-ios { border-radius: 22.5%; }
.kit-icons .ic-and { border-radius: 50%; }
.kit-icons .ic-play { border-radius: 20%; }
.kit-icons figcaption, .kit-social-top figcaption, .kit-wide figcaption { color: var(--text-3); font-size: 12px; text-align: center; }
.kit-wide { display: grid; gap: 8px; margin: var(--s4) 0 0; }
.kit-wide img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hair); }
.kit-social-top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.kit-avatar { width: 100%; max-width: 128px; height: auto; border-radius: 50%; box-shadow: 0 0 0 1px var(--hair-2); }

.kit-files { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.kit-files a { display: grid; grid-template-columns: 1fr 20px; grid-template-rows: auto auto; column-gap: var(--s3); align-items: center; padding: 14px 16px; border: 1px solid var(--hair); border-radius: 16px; background: var(--surface); color: inherit; text-decoration: none; transition: border-color var(--t2); }
.kit-files a:hover { border-color: var(--accent-line-2); }
.kit-files b { font-size: 15px; font-weight: 600; }
.kit-files small { grid-row: 2; color: var(--text-3); font-size: 12px; }
.kit-files svg { grid-row: 1 / span 2; grid-column: 2; width: 20px; height: 20px; color: var(--accent); }

@media (min-width: 960px) {
  .kit-hero { margin: 0; border-radius: 28px; border: 1px solid var(--hair); }
  .kit-cta { grid-template-columns: 1fr 1fr; max-width: 560px; }
  .kit-mark { grid-template-columns: 180px 1fr; }
  .kit-rules { grid-template-columns: repeat(3, 1fr); }
  .kit-stage { height: 300px; }
  .kit-sw-hero { grid-template-columns: 1fr 1fr; }
  .kit-sw-grid { grid-template-columns: repeat(3, 1fr); }
  .kit-icons { grid-template-columns: repeat(6, 1fr); }
  .kit-files { grid-template-columns: 1fr 1fr; }
  /* On the full-width block (spec 5.3) the kit's grids take the width; what would otherwise run long or
     be blown up past its own size is set out: the mark's text keeps a measure, the two fonts sit side by
     side (the type scale under them, beside them from 1440 px), the feature graphic stays at its 1024 px,
     and the social images line up in a row instead of three full-width pictures. */
  .kit-mark-txt p { max-width: 60ch; }
  #kitType { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s2); }
  #kitType > :not(.kit-font) { grid-column: 1 / -1; }
  #kitType > .kit-font + .kit-font { margin-top: 0; }
  #kitIcons .kit-wide { max-width: 64rem; margin-inline: auto; }
  #kitSocial { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); column-gap: var(--s4); align-items: start; }
  #kitSocial > .kit-num, #kitSocial > .h-2 { grid-column: 1 / -1; }
  #kitSocial > .kit-social-top, #kitSocial > .kit-wide { margin: 0 0 var(--s4); }
}
/* the big swatches as two of three columns, over a row of six: no swatch wider than the reading block */
@media (min-width: 1200px) {
  .kit-sw-hero { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kit-sw-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 1440px) {
  #kitType { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #kitType > .kit-scale-t { grid-column: auto; margin-top: 0; }
}

/* ---------- my trip: the cart (#/trip), the next-step sheet, review and pay ---------- */
/* Celular: an icon with a corner badge, as before (spec 6.1). Computer: a pill with "My Trip" and
   the item count inline (spec 6.1) — the media query below only moves the count, it never doubles it.
   Narrow laptops (960 to 1199 px) keep the icon: the header's links need its room there to stay on
   one line (final review, finding 5; the compact header step is with the header, section 4). */
.top-trip { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 38px; height: 38px; padding: 0; border: 1px solid var(--hair-2); border-radius: 12px; color: var(--text); text-decoration: none; transition: border-color var(--t2), background-color var(--t2); }
.top-trip:hover { border-color: var(--text-3); background: var(--surface-2); }
.top-trip svg { width: 19px; height: 19px; flex: none; }
.top-trip-t { display: none; font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.top-trip i { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--metal); color: var(--ink); font: 800 11px/19px var(--font-ui); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.top-trip i[hidden] { display: none; }
.top-trip.bump { animation: tripBump 0.6s var(--ease); }
@media (min-width: 1200px) {
  .top-trip { width: auto; height: 42px; padding: 0 14px 0 12px; border-radius: var(--pill); }
  .top-trip-t { display: inline; }
  .top-trip i { position: static; margin: 0; box-shadow: none; }
}
@keyframes tripBump { 0% { transform: scale(1); } 30% { transform: scale(1.18); } 60% { transform: scale(0.96); } 100% { transform: scale(1); } }

.j-review[hidden] { display: none; }

.trip-head { margin-bottom: var(--s5); }
.tsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 var(--s5); padding: 0; list-style: none; counter-reset: ts; }
.ts { position: relative; display: grid; justify-items: center; gap: 6px; color: var(--text-3); font-size: 12px; font-weight: 700; }
.ts::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; border-radius: 2px; background: var(--hair); }
.ts:first-child::before { display: none; }
.ts.done::before, .ts.now::before { background: var(--k-line, var(--accent-line-2)); }
.ts i { display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--hair-2); border-radius: 50%; background: var(--surface); font-style: normal; }
.ts i svg { width: 16px; height: 16px; }
.ts span { display: grid; justify-items: center; gap: 1px; line-height: 1.2; }
.ts span small { font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.ts.soon i { border-style: dashed; }
.ts.done { color: var(--text); }
.ts.done i { border-color: transparent; background: var(--k, var(--metal)); color: var(--k-ink, var(--ink)); }
.ts.now { color: var(--k, var(--accent-hi)); }
.ts.now i { border-color: var(--k, var(--accent)); box-shadow: 0 0 0 4px var(--k-tint, var(--accent-tint)); }
.ts.now i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k, var(--accent)); }
.ts.soon { opacity: 0.6; }
.tsteps-sm { margin: var(--s4) 0; }

.titems { display: grid; gap: var(--s3); }
.ti { display: grid; gap: var(--s3); padding: var(--s4); border: 1px solid var(--hair); border-radius: 18px; background: var(--surface); }
.ti-h { display: flex; align-items: center; gap: 12px; }
.ti-h img { width: 56px; height: 56px; flex: none; border-radius: 14px; object-fit: cover; }
.ti-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ti-t .label { font-size: 10.5px; color: var(--k, var(--accent)); }
.ti-t b { font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.ti-p { flex: none; text-align: right; }
.ti-p b { display: block; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ti-p b.sm { font-size: 0.9rem; }
.ti-p small { display: block; color: var(--text-3); font-size: 11px; }
.ti-l { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: 13.5px; }
.ti-l li { display: flex; align-items: flex-start; gap: 8px; }
.ti-l svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--k, var(--accent)); }
.ti-l .ok { display: inline-flex; gap: 8px; color: #86EFAC; }
.ti-l .ok svg { color: inherit; }
.ti-n { display: flex; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--k-tint, var(--accent-tint)); color: var(--text-2); font-size: 12.5px; }
.ti-n svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--k, var(--accent-hi)); }
.ti-a { display: flex; flex-wrap: wrap; gap: 8px; }
.ti-a .btn svg { width: 15px; height: 15px; }
.ti-empty { grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px var(--s4); border-style: dashed; border-color: var(--hair-2); background: transparent; color: var(--text); text-decoration: none; transition: border-color var(--t2), background-color var(--t2); }
.ti-empty:hover { border-color: var(--k-line, var(--accent-line-2)); background: var(--k-tint, var(--accent-tint)); }
.ti-empty img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; opacity: 0.85; }
.ti-empty span { display: grid; gap: 2px; min-width: 0; }
.ti-empty b { font-size: 14px; font-weight: 600; }
.ti-empty small { color: var(--text-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ti-empty i { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border: 1px solid var(--k, var(--accent)); border-radius: 10px; color: var(--k, var(--accent-hi)); font-size: 13px; font-weight: 700; font-style: normal; }
.ti-empty.is-soon img { opacity: 0.4; }
.ti-empty.is-soon i { border-color: var(--hair); color: var(--text-3); }

.tsum { margin-top: var(--s5); }
.tsum-e { margin: 0; color: var(--text-2); font-size: 14px; }
.tsum-l { display: grid; gap: 10px; margin: 0 0 var(--s3); padding: 0; list-style: none; }
.tsum-l li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); font-size: 14px; }
.tsum-l li span { display: grid; gap: 1px; min-width: 0; }
.tsum-l li small { color: var(--text-3); font-size: 11.5px; }
.tsum-l li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tsum-l li.muted { color: var(--text-3); }
.tsum-l li.muted b { font-weight: 600; font-size: 12.5px; }
.tsum-t { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 var(--s4); padding-top: var(--s3); border-top: 1px solid var(--hair); }
.tsum-t span { color: var(--text-2); font-size: 13px; font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; }
.tsum-t b { font-family: var(--font-display); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.tprev { display: flex; align-items: center; justify-content: center; gap: 6px; }
.tprev svg { width: 14px; height: 14px; color: var(--text-2); }
/* On the full-width block (spec 5.3): the steps and the items at the left, the items as cards two a row
   when there is room for two of 22rem (a track is at least 34% of the list, more than a third, so never
   three; ruling R8), in the trip's order, and the summary at the right (20 to 26rem), held in view while
   the page scrolls. The items of a row share its height: an empty slot stands as tall as the card beside
   it, its words centered, and a card keeps its rows at the top. The last left row grows when the summary
   is the taller column. */
@media (min-width: 960px) {
  #v-trip > .wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem); grid-template-rows: auto auto auto 1fr; column-gap: var(--s8); align-items: start; }
  #v-trip > .wide > .trip-head { grid-column: 1 / -1; }
  #v-trip > .wide > .tsteps { grid-area: 2 / 1; }
  #v-trip > .wide > .titems { grid-area: 3 / 1; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(22rem, 34%)), 1fr)); }
  #v-trip .titems > .ti:not(.ti-empty) { align-content: start; }
  #v-trip > .wide > .tprev { grid-area: 4 / 1; }
  #v-trip > .wide > .tsum { grid-area: 2 / 2 / 5; align-self: start; position: sticky; top: var(--s10); margin-top: 0; }
}

.nx { text-align: center; padding-bottom: var(--s5); }
.nx-ok { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: var(--s3); border-radius: 50%; background: var(--k, var(--metal)); color: var(--k-ink, var(--ink)); box-shadow: 0 10px 28px var(--k-tint, rgba(129, 140, 248, 0.22)); animation: popIn 0.4s var(--ease) both; }
.nx-ok svg { width: 26px; height: 26px; }
.nx h2, .co h2 { margin: 0; font-size: 1.3rem; }
.nx-sub, .co-sub { margin: 6px 0 0; color: var(--text-2); font-size: 14px; }
.nx-go { display: grid; gap: var(--s2); }

.co { padding-bottom: var(--s5); }
.co-prev { display: inline-block; margin-bottom: var(--s3); padding: 4px 10px; border: 1px solid var(--k-line, var(--accent-line-2)); border-radius: var(--pill); color: var(--k, var(--accent-hi)); font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label); text-transform: uppercase; }
.co-steps { display: flex; gap: var(--s4); margin: 0 0 var(--s4); padding: 0; list-style: none; color: var(--text-3); font-size: 12.5px; font-weight: 700; }
.co-steps li { display: flex; align-items: center; gap: 6px; }
.co-steps i { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--hair-2); border-radius: 50%; font-size: 11px; font-style: normal; }
.co-steps i svg { width: 12px; height: 12px; }
.co-steps .now { color: var(--accent-hi); }
.co-steps .now i { border-color: var(--accent); }
.co-steps .done { color: var(--text); }
.co-steps .done i { border-color: transparent; background: var(--metal); color: var(--ink); }
.co-f { display: grid; gap: var(--s4); margin-top: var(--s4); }
.co .tsum-l { margin-top: var(--s4); }
.co-card { display: grid; gap: 4px; margin: 0 0 var(--s3); padding: var(--s4); border: 1px dashed var(--k-line, var(--accent-line-2)); border-radius: 14px; background: var(--k-tint, rgba(129, 140, 248, 0.05)); }
.co-card span { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.co-card span svg { width: 16px; height: 16px; color: var(--k, var(--accent-hi)); }
.co-card small { color: var(--text-2); font-size: 12.5px; }
.co-n { display: flex; gap: 8px; margin: 0 0 var(--s3); color: var(--text-2); font-size: 12.5px; }
.co-n svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--k, var(--text-2)); }
.co #coPay { margin-top: var(--s2); }
.co .nx-ok { display: grid; margin: 0 auto var(--s3); }
.co h2 + .co-sub + .co-done { margin-top: var(--s4); }
.co-done { display: grid; gap: var(--s3); margin: var(--s4) 0; padding: 0; list-style: none; text-align: left; }
.co-done li { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--hair); border-radius: 14px; background: var(--surface); }
.co-done svg { width: 20px; height: 20px; flex: none; color: var(--k, var(--accent-hi)); margin-top: 2px; }
.co-done span { display: grid; gap: 2px; }
.co-done small { color: var(--text-2); font-size: 12.5px; }

.veh-p { display: block; margin-top: 2px; color: var(--k, var(--accent-hi)); font-size: 12px; font-weight: 700; font-style: normal; }
.veh-p[hidden] { display: none; }
#evSave { margin-top: var(--s2); }
.tsum-why { display: flex; gap: 8px; margin: -4px 0 var(--s4); font-size: 12.5px; }
.tsum-why svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--text-2); }
.co-item { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin: var(--s4) 0 var(--s3); padding: var(--s4); border: 1px solid var(--hair); border-radius: 14px; background: var(--surface); }
.co-item span { display: grid; gap: 3px; min-width: 0; }
.co-item span b { font-size: 15px; font-weight: 700; line-height: 1.25; }
.co-item small { color: var(--text-2); font-size: 12.5px; }
.co-amt { flex: none; font-family: var(--font-display); font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-ok { color: #86EFAC; }
.co-wal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 var(--s2); }
.co-wal span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: 1px solid var(--hair-2); border-radius: 12px; background: var(--surface); color: var(--text); font-weight: 700; font-size: 14px; }
.co-wal svg { width: 15px; height: 15px; color: var(--text-2); }
.co-or { margin: var(--s2) 0; color: var(--text-3); font-size: 12px; text-align: center; }
.co-chk, .co-opt { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 var(--s3); padding: 12px; border: 1px solid var(--hair); border-radius: 14px; background: var(--surface); cursor: pointer; }
.co-chk input, .co-opt input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.co-chk span, .co-opt span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.co-chk b, .co-opt b { font-size: 14px; }
.co-chk small, .co-opt small { color: var(--text-2); font-size: 12.5px; }
.co-pick { display: grid; margin-bottom: var(--s2); }
.co-opt > svg { width: 18px; height: 18px; flex: none; color: var(--accent-hi); opacity: 0; }
.co-opt.on { border-color: var(--accent-line-2); background: var(--accent-tint); }
.co-opt.on > svg { opacity: 1; }
.co-ok svg { color: inherit; }

/* ---------- profile (#/profile): the brand's screen, saved on this phone only ---------- */
/* the button at the top: your initials on --metal, or the person icon before anything is saved */
.top-me { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid var(--hair-2); border-radius: 50%; color: var(--text); text-decoration: none; transition: border-color var(--t2), background-color var(--t2); }
.top-me:hover { border-color: var(--text-3); background: var(--surface-2); }
.top-me svg { width: 18px; height: 18px; }
.top-me b { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--metal); color: var(--ink); font: 800 13px/1 var(--font-ui); letter-spacing: 0.02em; }
.top-me.has-me { border-color: transparent; }
.top-me[aria-current="page"] { border: 2px solid var(--accent); background: var(--accent-tint); color: var(--accent-hi); }
.top-me.has-me[aria-current="page"] { border: 0; background: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
/* the preview badge does not fit next to three buttons on a phone: it moves to the profile's foot */
@media (max-width: 470px) { .badge-preview { display: none; } }

/* the profile reads as one 640 px column inside the screen's full-width block (.wide) */
.pf > .wide > * { max-width: 640px; margin-inline: auto; }
/* From 960 px (spec 5.3) it is two such columns, 40rem at most each, centered as the one column was:
   at the left who travels (the pass, or the first-visit card) with its note, your details and the
   family's links; at the right .pf-side (renderProfile's block of the trip being planned and what is
   booked), which spans the left column's rows, so each column stacks on its own (ruling R7). The left
   column's last row is the one that grows when .pf-side is the taller; the foot runs under both. Below
   960 px .pf-side is a plain block: its sections' margins collapse through it as before. */
@media (min-width: 960px) {
  .pf > .wide > * { max-width: calc(2 * 40rem + var(--s8)); }
  #pfBody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto auto 1fr; column-gap: var(--s8); align-items: start; }
  #pfBody > .pf-pass, #pfBody > .pf-new { grid-area: 1 / 1; }
  #pfBody > .pf-saved { grid-area: 2 / 1; }
  #pfBody > .pf-sec:has(> .pf-cards) { grid-area: 3 / 1; }
  #pfBody > .pf-more { grid-area: 4 / 1; }
  #pfBody > .pf-side { grid-area: 1 / 2 / 6; }
  #pfBody > .pf-side > .pf-trip { margin-top: 0; }
  #pfBody > .pf-foot { grid-area: 6 / 1 / auto / -1; }
}
.pf-sec { margin-top: var(--s7); }
/* first visit: the pass is a dashed outline until there is someone on it */
.pf-new { display: grid; gap: 14px; padding: var(--s5); border: 2px dashed var(--k-line, var(--accent-line-2)); border-radius: 22px; background: var(--k-tint, var(--accent-tint)); }
.pf-k { color: var(--k, var(--text-2)); font-size: 11px; font-weight: 800; letter-spacing: 0.2em; }
.pf-new p { display: grid; gap: var(--s1); margin: 0; }
.pf-new p b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.pf-new p span { color: var(--text-2); font-size: var(--fs-sm); }
/* your details: three small cards, each opens its sheet */
.pf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.pf-card { display: grid; gap: 6px; justify-items: start; min-width: 0; padding: 14px 12px; border: 1px solid var(--hair); border-radius: var(--r); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color var(--t2); }
.pf-card:hover { border-color: var(--k-line, var(--accent-line-2)); }
.pf-card svg { width: 20px; height: 20px; color: var(--k, var(--accent)); }
.pf-card span { color: var(--text-2); font-size: 12px; font-weight: 600; }
.pf-card b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; }
.pf-card b.is-add { color: var(--k, var(--accent-hi)); }
/* the trip: a summary card, a bar of the four parts (each in its product color once added), the stops */
.pf-trip .eyebrow { margin-bottom: var(--s2); }
.pf-trip .h-2 { margin: 0; }
.pf-sub { margin: 6px 0 var(--s3); color: var(--text-2); font-size: var(--fs-sm); }
.pf-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: var(--s2); }
.pf-bar span { height: 4px; border-radius: 4px; background: var(--hair); }
.pf-bar span.is-on { background: var(--k); }
.pf-bar span.is-soon { height: 0; border-top: 2px dashed var(--hair-2); border-radius: 0; background: none; align-self: center; }
.pf-trip .btn { margin-top: var(--s3); }
.pf-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pf-chips .chip { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; }
.pf-chips .chip svg { width: 16px; height: 16px; color: var(--k); }
.pf-booked .empty-hint { padding: var(--s5) var(--s4); gap: var(--s2); }
.pf-booked .empty-hint b { display: block; margin-bottom: 2px; color: var(--text); font-size: 15px; }
.pf-list { display: grid; gap: var(--s2); }
.pf-mark { padding: 8px; background: var(--surface-2); object-fit: contain !important; }
.pf-foot { display: grid; justify-items: center; gap: var(--s2); margin-top: var(--s6); }
.pf-note { margin: 0; text-align: center; color: var(--text-2); font-size: var(--fs-xs); }
.co-f .pf-note { margin-top: var(--s3); }
.pf .h-1 { overflow-wrap: anywhere; }
.pf .h-1 em { color: var(--k, var(--accent-hi)); }
/* the traveler pass: the boarding-pass pieces (.pass) with who travels instead of a route; paper in both themes */
.pf-pass .pass-line { margin: 0; }
.pf-pass .pass-meta { padding-top: 0; border-top: 0; }
.pf-pass .pass-meta small { color: var(--pass-ink-2); }
.pf-pass .pass-meta b { overflow-wrap: anywhere; }
.pf-edit { margin-left: auto; padding: 3px 9px; border: 1px solid var(--pass-ink-2); border-radius: var(--pill); background: none; color: var(--pass-ink); font: 800 9.5px/1.4 var(--font-ui); letter-spacing: 0.18em; cursor: pointer; }
.pass-who { min-width: 0; }
.pass-who small { display: block; color: var(--pass-ink-2); font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.pass-who b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.1; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.pass-who span { display: block; margin-top: var(--s1); color: var(--pass-ink-2); font-size: 13px; overflow-wrap: anywhere; }
.pf-saved { margin-top: var(--s3); }
/* initials: yours on --metal, a companion's on a soft fill */
.pf-av { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--k-tint, var(--accent-tint)); color: var(--k, var(--accent-hi)); font-size: 14px; font-weight: 800; }
.pf-av.is-me { background: var(--metal); color: var(--ink); }
/* travelers: the list rows are .x-i with initials in place of the photo */
.pf-list .x-i b { overflow-wrap: anywhere; }
.x-i .pf-av { flex: none; display: grid; width: 44px; gap: 0; }
.sh-in .pf-list { margin-top: var(--s4); }
.pf-you { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: var(--pill); background: var(--k-tint, var(--accent-tint)); color: var(--k, var(--accent-hi)); font-size: 11px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.pf-add { margin-top: var(--s3); }
.sh-in > .pf-note { margin-top: var(--s3); padding-bottom: var(--s5); }
.co-f .pf-warn { margin-top: var(--s2); }
/* clear your details: the destructive choice on a soft red, the safe one beside it */
.pf-btns { display: grid; gap: var(--s2); margin-top: var(--s4); padding-bottom: var(--s5); }
.pf-clear { background: var(--warn-tint); }
.pf-clear:hover { border-color: var(--warn); color: var(--warn); }
/* the checkout's saved travelers, above its fields */
.co-who { flex-wrap: wrap; margin-bottom: var(--s1); }
/* home airport: a search over the app's airports, one choice */
.pf-air .f { margin-bottom: var(--s3); }
.pf-air .co-opt[hidden] { display: none; }
.pf-air .co-pick { padding-bottom: var(--s5); }
.pf-warn, .pf-warn:hover { color: var(--warn); }

/* ---------- keyframes ---------- */
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { opacity: 0; transform: translate(var(--tx, 0), 6px) scale(0.98); } to { opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- reduced motion: everything works, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .org-band .org-wb, .org-band .org-free { opacity: 1 !important; }
  .org-band:not(.in) .org-wb, .org-band.in .org-wb:hover { transform: translateX(var(--x)) rotate(var(--r)); }
  .org-band:not(.in) .org-free { transform: rotate(6deg); }
  .org-band:not(.in) .org-free-2 { transform: rotate(-5deg); }
  .pass { transform: none !important; }
  .btn-primary::after { display: none; }
  /* the home cover appears ready: no photo zoom, no rising words, no pane fade */
  .cin.is-intro .cin-ph .ph-img, .cin.is-intro .cin-eyebrow, .cin.is-intro .ph-title, .cin.is-intro .cin-search, .cin-pane.is-in { animation: none; }
  .top::before { transition: none; }
  /* a screen simply shows (its fade, cut to nothing above, would otherwise linger as an animation) */
  .view { animation: none; }
  /* the photo cards stay put under the mouse and the keyboard (spec 6.8) */
  .portal:hover, .portal:focus-visible, .esc:hover, .esc:focus-visible, .crew:hover, .crew:focus-visible,
  .portal:hover img, .portal:focus-visible img, .esc:hover img, .esc:focus-visible img, .crew:hover img, .crew:focus-visible img,
  .portal:hover .portal-go svg, .portal:focus-visible .portal-go svg { transform: none; }
}

/* Long partner event names: keep the hero to three lines. */
.ev-title { font-size: clamp(1.6rem, 7.2vw, 2.5rem); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ==========================================================================
   Light theme: the same app, 100% light. html[data-theme="light"] is set
   before the first paint from the saved choice or the phone's setting.
   ========================================================================== */
.on-light { display: none !important; }
html[data-theme="light"] .on-light { display: block !important; }
html[data-theme="light"] .on-dark { display: none !important; }
.top-theme { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--hair-2); border-radius: 12px; background: none; color: var(--text); cursor: pointer; transition: border-color var(--t2), background-color var(--t2); }
.top-theme:hover { border-color: var(--text-3); background: var(--surface-2); }
.top-theme svg { width: 19px; height: 19px; }

html[data-theme="light"] {
  color-scheme: light;
  --bg: #F7F7F9; --bg-2: #FFFFFF; --surface: #FFFFFF; --surface-2: #EEF0F7; --surface-glass: rgba(255, 255, 255, 0.84);
  /* light tints are solid (8% of the product on the white surface): product text on them stays over 4.5:1
     wherever they sit, also over the grey page; a see-through tint over --bg fell to 4.4:1 */
  --k-hotel: #0F766E;  --k-hotel-ink: #FFFFFF;  --k-hotel-tint: color-mix(in srgb, var(--k-hotel) 8%, var(--surface));
  --k-ride: #8A6716;   --k-ride-ink: #FFFFFF;   --k-ride-tint: color-mix(in srgb, var(--k-ride) 8%, var(--surface));
  --k-ticket: #D20E36; --k-ticket-ink: #FFFFFF; --k-ticket-tint: color-mix(in srgb, var(--k-ticket) 8%, var(--surface));
  --k-flight: #0369A1; --k-flight-ink: #FFFFFF; --k-flight-tint: color-mix(in srgb, var(--k-flight) 8%, var(--surface));
  --ok-strong: #047857; --ok-ink: #FFFFFF;
  --accent: #4F46E5; --accent-hi: #4338CA; --accent-deep: #4338CA; --accent-tint: rgba(79, 70, 229, 0.08);
  --accent-line: #E1E4EF; --accent-line-2: rgba(79, 70, 229, 0.38);
  --ivory: #0F1222; --text: #0F1222; --text-2: #4A4F66; --text-3: #6B7086;
  --hair: #E6E7EC; --hair-2: rgba(15, 18, 34, 0.14); --ok: #059669; --warn: #DC2626; --warn-tint: rgba(220, 38, 38, 0.04); --ink: #FFFFFF;
  --metal: linear-gradient(180deg, #6366F1 0%, #4F46E5 50%, #4338CA 100%);
  --metal-text: linear-gradient(100deg, #4338CA 0%, #6366F1 48%, #4F46E5 100%);
  --sh-1: 0 1px 2px rgba(15, 18, 34, 0.05), 0 8px 24px rgba(15, 18, 34, 0.06);
  --sh-2: 0 2px 6px rgba(15, 18, 34, 0.06), 0 20px 50px rgba(15, 18, 34, 0.12);
  --sh-accent: 0 10px 26px rgba(79, 70, 229, 0.24);
}
html[data-theme="light"] .sky { background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 40%, var(--bg) 100%); }
html[data-theme="light"] .sky::after { display: none; }
html[data-theme="light"] .top::before { background: rgba(255, 255, 255, 0.86); border-bottom: 1px solid var(--hair); }
html[data-theme="light"] .btn-primary { box-shadow: var(--sh-accent), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
html[data-theme="light"] .btn-primary:hover { box-shadow: 0 14px 34px rgba(79, 70, 229, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
html[data-theme="light"] .btn-ghost { background: #FFFFFF; }
html[data-theme="light"] .btn .spin { border-color: rgba(255, 255, 255, 0.35); border-top-color: #FFFFFF; }
html[data-theme="light"] .card,
html[data-theme="light"] .tile,
html[data-theme="light"] .car,
html[data-theme="light"] .cat { background: #FFFFFF; box-shadow: var(--sh-1); -webkit-backdrop-filter: none; backdrop-filter: none; }
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .stepper,
html[data-theme="light"] .seg,
html[data-theme="light"] .rc-select select,
html[data-theme="light"] .rc-swap { background: #FFFFFF; }
html[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator,
html[data-theme="light"] input[type="time"]::-webkit-calendar-picker-indicator { filter: none; opacity: 0.6; }
html[data-theme="light"] .stepper button,
html[data-theme="light"] .rc-soon-btn { background: var(--surface-2); }
html[data-theme="light"] .btn-ghost.rc-soon-btn { background: var(--surface-2); }
html[data-theme="light"] .suggest { background: rgba(255, 255, 255, 0.98); }
html[data-theme="light"] .sheet-scrim { background: rgba(15, 18, 34, 0.38); }
html[data-theme="light"] .sheet { box-shadow: 0 -18px 50px rgba(15, 18, 34, 0.18); }
html[data-theme="light"] .sheet::before { background: rgba(15, 18, 34, 0.22); }
html[data-theme="light"] .sheet-x { background: rgba(255, 255, 255, 0.9); color: var(--text); box-shadow: 0 2px 8px rgba(15, 18, 34, 0.12); }
html[data-theme="light"] .h-photo { background: var(--surface-2); }
html[data-theme="light"] .h-photo .noimg { color: rgba(15, 18, 34, 0.25); }
html[data-theme="light"] .h-badge,
html[data-theme="light"] .h-score { background: rgba(255, 255, 255, 0.9); color: var(--text); }
html[data-theme="light"] .h-score { color: var(--k, var(--text)); }
html[data-theme="light"] .skel { background: linear-gradient(90deg, rgba(15, 18, 34, 0.05) 0%, rgba(15, 18, 34, 0.09) 50%, rgba(15, 18, 34, 0.05) 100%); background-size: 200% 100%; }
html[data-theme="light"] .room { background: #FFFFFF; }
html[data-theme="light"] .rc-base { stroke: rgba(15, 18, 34, 0.18); }
html[data-theme="light"] .leg { background: #FFFFFF; }
html[data-theme="light"] .dock { background: rgba(255, 255, 255, 0.9); border-color: var(--hair); box-shadow: 0 12px 34px rgba(15, 18, 34, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
html[data-theme="light"] .install,
html[data-theme="light"] .toast { background: rgba(255, 255, 255, 0.98); box-shadow: var(--sh-2); }
html[data-theme="light"] .trip-i { border-top-color: var(--hair); }
html[data-theme="light"] .gal-dots i { background: rgba(255, 255, 255, 0.6); }
html[data-theme="light"] .gal-dots i.on { background: var(--k, var(--accent-hi)); }
html[data-theme="light"] .ti-l .ok,
html[data-theme="light"] .co-ok { color: #047857; }
html[data-theme="light"] .opass { box-shadow: 0 1px 0 rgba(15, 18, 34, 0.04), 0 18px 40px rgba(15, 18, 34, 0.14); border: 1px solid var(--hair); }
/* photo headers keep their dark veil so the white words stay readable */
html[data-theme="light"] .ph-hero { border-radius: 0 0 28px 28px; }
html[data-theme="light"] .ph-hero::after { background: linear-gradient(180deg, rgba(10, 11, 20, 0.35) 0%, rgba(10, 11, 20, 0.05) 30%, rgba(10, 11, 20, 0.35) 55%, rgba(10, 11, 20, 0.9) 100%); }
html[data-theme="light"] .ev-hero::after { background: linear-gradient(180deg, rgba(10, 11, 20, 0.3) 0%, rgba(10, 11, 20, 0.1) 35%, rgba(10, 11, 20, 0.9) 100%); }
html[data-theme="light"] .ph-search { box-shadow: 0 10px 30px rgba(10, 11, 20, 0.25); }
/* media kit */
html[data-theme="light"] .kit-hero { background: radial-gradient(120% 80% at 50% 0%, rgba(99, 102, 241, 0.16), rgba(246, 247, 251, 0) 65%), var(--bg); }
html[data-theme="light"] .kit-mark-art { background: radial-gradient(circle at 50% 35%, rgba(99, 102, 241, 0.14), #FFFFFF 70%); }
html[data-theme="light"] .kit-icons img { box-shadow: 0 0 0 1px var(--hair-2), 0 8px 20px rgba(15, 18, 34, 0.12); }
/* the home cover is the same in both themes (spec 6.9): darkened photo, white words, and the header
   on it see-through with the white logo. Only the glass follows the theme (--surface-glass), with
   the light theme's own text and product colors on it; the fields strip stays light paper. The
   other screens' light photo headers round their bottom corners (above); the cover stays square,
   edge to edge, as in the dark theme. */
html[data-theme="light"] .ph-hero.cin { --cin-on: var(--surface); --cin-veil: var(--pass-ink); border-radius: 0; }
html[data-theme="light"] .cin-tabs { background: none; }
html[data-theme="light"] .cin-fields { background: var(--surface); }
html[data-theme="light"] .cin-fields .suggest { color-scheme: light; }
html[data-theme="light"] .cin-fields .field > input,
html[data-theme="light"] .cin-fields .stepper { background: none; }
html[data-theme="light"].top-over .top {
  --text: var(--surface); --text-3: color-mix(in srgb, var(--surface) 60%, var(--pass-ink));
  --hair-2: color-mix(in srgb, var(--surface) 22%, transparent); --surface-2: color-mix(in srgb, var(--surface) 14%, transparent); --bg: var(--pass-ink); }
html[data-theme="light"].top-over .top-logo .on-dark { display: block !important; }
html[data-theme="light"].top-over .top-logo .on-light { display: none !important; }
/* below the cover (spec 6.9): the light page and cards, and the products' paper values, come from the
   tokens; the photo cards keep their Ink scrim with white words (the light theme's white is its
   surface), and the trip blocks lift off the grey page like the other light cards */
html[data-theme="light"] .portal,
html[data-theme="light"] .esc,
html[data-theme="light"] .crew { --photo-on: var(--surface); }
html[data-theme="light"] .slot { box-shadow: var(--sh-1); }
html[data-theme="light"] .slots-count { background: var(--surface); }
/* the Mega Radar band stays dark in the light theme too (spec 6.9): its own --text/--surface pins
   (above) already cover most of it, but .field input and .suggest set a literal white background
   for the light theme (line ~1480), which would otherwise show through inside this one dark card. */
html[data-theme="light"] .radar-band .field input { background: rgba(10, 11, 20, 0.6); }
html[data-theme="light"] .radar-band .suggest { background: rgba(18, 20, 31, 0.98); }

/* compact preview badge on small phones so the bigger logo fits */
@media (max-width: 400px) { .badge-preview { padding: 3px 7px; letter-spacing: 0.06em; } .top-r { gap: 6px; } }

/* ---------- FlightSearch (test mode) ---------- */
.fl-form { display: grid; gap: var(--s3); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--hair); }
.fl-hint { margin: -4px 0 0; color: var(--text-3); font-size: var(--fs-xs); }
.fl-results { display: grid; gap: var(--s3); }
.fl-results .res-head h2 { font-size: 1.35rem; }
.fl-test { display: flex; gap: var(--s2); align-items: flex-start; margin: 0; padding: 10px 12px; border: 1px solid var(--accent-line); border-radius: 12px; background: var(--accent-tint); color: var(--text-2); font-size: var(--fs-xs); line-height: 1.45; }
.fl-test svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--accent-hi); }
.fl-partner { display: flex; gap: var(--s2); align-items: flex-start; margin: 0; color: var(--text-3); font-size: var(--fs-xs); line-height: 1.45; }
.fl-partner svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--accent-hi); }
.fl-partner b { color: var(--text-2); font-weight: 600; }
#flKidsF .lbl small { color: var(--text-3); font-weight: 400; }
.fl-coupon { display: grid; gap: 8px; padding: 12px; border: 1px dashed var(--k-line, var(--accent-line)); border-radius: 14px; background: var(--k-tint, var(--accent-tint)); }
.fl-coupon-t { margin: 0; color: var(--text); font-size: var(--fs-sm); font-weight: 700; }
.fl-coupon-row { display: flex; align-items: center; gap: var(--s2); }
.fl-coupon-row code { flex: 1; padding: 10px 12px; border-radius: 10px; background: var(--surface); color: var(--k, var(--accent-hi)); font: 700 1rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; text-align: center; }
.fl-copy { min-height: 42px; padding: 0 14px; font-size: 0.85rem; }
.fl-copy svg { width: 16px; height: 16px; }
.fl-coupon-s { margin: 0; color: var(--text-3); font-size: var(--fs-xs); }
.fl-deals { gap: 12px; }
.fl-deal { display: grid; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--k-line, var(--accent-line)); }
.fl-deal .fl-coupon-s b { color: var(--text); }
.fcard { display: grid; gap: var(--s3); width: 100%; padding: var(--s4); border: 1px solid var(--hair-2); border-radius: var(--r); background: var(--surface); color: inherit; text-align: left; font: inherit; cursor: pointer; transition: border-color var(--t2), transform var(--t2); }
.fcard:hover { border-color: var(--accent-line); }
.fcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fc-top { display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.fc-logo { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #fff; overflow: hidden; }
.fc-logo img { width: 24px; height: 24px; object-fit: contain; }
.fc-logo b { color: #1b1d2e; font-size: 11px; font-weight: 800; }
.fc-air { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-price { text-align: right; }
.fc-price b { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.fc-price small { color: var(--text-3); font-size: var(--fs-xs); }
.fc-leg { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s3); }
.fc-t b { display: block; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.fc-t small { color: var(--text-2); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; }
.fc-t.is-r { text-align: right; }
.fc-t sup { margin-left: 2px; color: var(--accent-hi); font-size: 10px; font-weight: 700; }
.fc-mid { display: grid; justify-items: center; gap: 4px; color: var(--text-2); font-size: var(--fs-xs); }
.fc-line { position: relative; width: 100%; height: 1px; background: var(--hair-2); }
.fc-line i { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-hi); transform: translateX(-50%); }
.fc-stop.is-direct { color: var(--ok, var(--accent-hi)); font-weight: 700; }
.fc-foot { display: flex; flex-wrap: wrap; gap: 6px var(--s3); color: var(--text-3); font-size: var(--fs-xs); }
html[data-theme="light"] .fc-logo { box-shadow: inset 0 0 0 1px var(--hair-2); }

/* ==========================================================================
   FESTIVALS · Mega Festival Crew (#/festivals)
   ========================================================================== */
.fs-link { margin: 0 0 var(--s4); }
#fsBody { display: grid; gap: var(--s4); }
#fsBody .mk { margin-bottom: 0; }
.fs-list { display: grid; gap: 12px; }
.fs-list .sec-row { margin-bottom: 0; }
.fs-c { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--hair); border-radius: 18px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color var(--t2); }
.fs-c:hover, .fs-c:focus-visible { border-color: var(--k-line, var(--accent-line-2)); }
.fs-c img { flex: none; width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.fs-c-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.fs-c-t b { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.15; }
.fs-c-t small { color: var(--text-2); font-size: 13px; }
.fs-tag { flex: none; align-self: flex-start; padding: 4px 8px; border-radius: 8px; background: var(--k, var(--accent)); color: var(--k-ink, var(--ink)); font-size: 11px; font-style: normal; font-weight: 800; white-space: nowrap; }
.fs-tag.is-soft { background: var(--k-tint, var(--accent-tint)); color: var(--k, var(--accent-hi)); }
.fs-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: fs; }
.fs-steps li { position: relative; display: grid; gap: 2px; padding-left: 40px; counter-increment: fs; }
.fs-steps li::before { content: counter(fs); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--k-tint, var(--accent-tint)); color: var(--k, var(--accent-hi)); font-size: 13px; font-weight: 800; }
.fs-steps b { font-size: 14.5px; }
.fs-steps span { color: var(--text-2); font-size: 13.5px; }
.fs-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.fs-count { margin: 0; color: var(--text-2); font-size: 14px; }
.fs-count b { color: var(--text); font-family: var(--font-display); font-size: 22px; }
.fs-follow { display: inline-flex; align-items: center; gap: 6px; }
.fs-follow svg { width: 16px; height: 16px; }
.fs-crew { display: grid; gap: 10px; }
.fs-crew .h-2 { margin: 0; }
.fs-crew .mk-sub { margin: 0 0 4px; }
.fs-crew-on { display: flex; align-items: center; gap: 12px; padding: 4px 0 6px; }
.fs-crew-on > span:last-child { display: grid; gap: 2px; min-width: 0; }
.fs-crew-on b { font-size: 15px; }
.fs-crew-on small { color: var(--text-2); font-size: 13px; }
.fs-av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--k, var(--accent)); color: var(--k-ink, var(--ink)); font-weight: 800; }
.fs-inv { margin: 0 0 4px; font-size: 15px; }
.fs-tips .h-3, .fs-tix .h-3 { margin-bottom: var(--s2); }
.fs-tl { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: var(--text-2); font-size: 14px; }
.fs-tix { display: grid; gap: 10px; }
.fs-tix .mk-sub { margin: 0; }
.fs-form { display: grid; gap: var(--s3); margin-top: var(--s3); }
.fs-chips { margin: 0 calc(-1 * var(--s4)); padding: 0 var(--s4) 2px; }
/* On the full-width block (spec 5.2; renderFestivals draws #fsBody, unchanged): the list 3 to 4 a row,
   "How a crew works" under it with its steps across, the fine print held to a measure and centered.
   A festival's own page (it starts with .fs-top) sets its cards side by side: two, then four from 1440 px,
   where a card stays under the reading block's width. */
@media (min-width: 960px) {
  .fs-list { grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr)); }
  .fs-list > .sec-row { grid-column: 1 / -1; }
  .fs-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #fsBody > .fine { max-width: 60ch; justify-self: center; }
  #fsBody:has(> .fs-top) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #fsBody > .fs-top, #fsBody > .fine { grid-column: 1 / -1; }
  /* the cards of a row share its height; their contents stay at the top instead of spreading out */
  #fsBody:has(> .fs-top) > .tcard { align-content: start; }
}
@media (min-width: 1440px) { #fsBody:has(> .fs-top) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Public site (megabookingsusa.com): flights and preview labels stay out until ready. */
/* With the Ovago partner on, the server marks <html data-flights="ovago"> and the Flights tab stays.
   The home has no product squares any more (spec 6.4): the dock's and the header's Flights tabs,
   the home search's Flights tab and the preview labels are what is left to hide (app.js also
   takes them out of the page, and the dock's columns follow its visible tabs). */
.is-public:not([data-flights]) .dock a[data-tab="flights"], .is-public:not([data-flights]) .top-nav a[data-tab="flights"], .is-public .badge-preview, .is-public .tprev { display: none; }
.is-public:not([data-flights]) #cinTabs [data-pane="flight"], .is-public:not([data-flights]) #paneFlight { display: none; }
.tsum-b { display: grid; gap: 10px; }
.tsum-b .btn svg:last-child { width: 14px; height: 14px; opacity: .7; }

/* ---- Holiday gifts: Adrenaline experiences (CJ affiliate), home page band after the organizers band ---- */
.gift-band {
  --text: #EEF0F7; --text-2: #A3A7B7; --text-3: #71768E; --hair: #262A35; --bg: #0A0B10;
  --gold: #E8C66A; --sky: #38BDF8;
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--s5);
  margin-top: var(--s6); padding: var(--s6); border-radius: var(--r-lg); color: var(--text); scroll-margin-top: calc(var(--s9) + var(--s4));
  background:
    radial-gradient(70% 90% at 8% 0%, rgba(232, 198, 106, 0.2), transparent 62%),
    radial-gradient(55% 70% at 90% 100%, rgba(56, 189, 248, 0.16), transparent 65%),
    linear-gradient(170deg, #171826, var(--bg) 70%);
  border: 1px solid rgba(232, 198, 106, 0.32);
  box-shadow: 0 30px 80px -30px rgba(232, 198, 106, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.gift-copy { position: relative; }
.gift-tag { display: inline-flex; align-items: center; gap: var(--s2); padding: 6px 12px 6px 10px; border: 1px solid rgba(232, 198, 106, 0.4); border-radius: var(--pill); background: rgba(232, 198, 106, 0.12); color: var(--gold); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; }
.gift-tag svg { width: 16px; height: 16px; }
.gift-h { max-width: 16ch; margin: var(--s4) 0 var(--s3); font-family: var(--font-display); font-size: clamp(1.75rem, 7.4vw, 3rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.gift-h em { font-style: normal; background: linear-gradient(95deg, var(--gold) 10%, var(--sky) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gift-p { max-width: 48ch; margin: 0; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.gift-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0 0; padding: 0; list-style: none; }
.gift-chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--hair); border-radius: var(--pill); background: rgba(255, 255, 255, 0.04); color: var(--text); font-size: var(--fs-xs); font-weight: 700; text-decoration: none; transition: border-color var(--t2, .2s) ease, background var(--t2, .2s) ease; }
.gift-chips a svg { width: 14px; height: 14px; color: var(--gold); }
.gift-chips a:hover, .gift-chips a:focus-visible { border-color: var(--gold); background: rgba(232, 198, 106, 0.1); }
.gift-band .gift-go { width: 100%; min-height: 54px; margin-top: var(--s5); padding: 0 var(--s6); background: linear-gradient(180deg, #F3D98A, var(--gold)); color: #1A1406; font-size: var(--fs-body); font-weight: 800; box-shadow: 0 14px 34px -10px rgba(232, 198, 106, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.gift-note { max-width: 56ch; margin: var(--s3) 0 0; color: var(--text-3); font-size: var(--fs-xs); line-height: 1.5; }
.gift-tiles { order: -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.gift-tile { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: 16px; aspect-ratio: 4 / 3; color: #fff; text-decoration: none; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8); }
.gift-tile-1 { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gift-tile picture, .gift-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gift-tile img { transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); }
.gift-tile:hover img, .gift-tile:focus-visible img { transform: scale(1.06); }
.gift-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(8, 9, 16, 0.85)); }
.gift-cap { position: absolute; left: 12px; right: 52px; bottom: 10px; z-index: 2; display: grid; gap: 2px; }
.gift-cap small { color: #F3D98A; font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; }
.gift-cap b { font-family: var(--font-display); font-size: clamp(0.95rem, 3.6vw, 1.35rem); font-weight: 800; line-height: 1.1; }
.gift-arrow { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gift-arrow svg { width: 16px; height: 16px; }
.gift-tile:hover .gift-arrow, .gift-tile:focus-visible .gift-arrow { background: var(--gold); color: #1A1406; }
@media (min-width: 960px) {
  .gift-band { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--s8); padding: var(--s8) var(--s9); }
  .gift-band .gift-go { width: auto; }
  .gift-tiles { order: 0; gap: var(--s3); }
  .gift-cap { left: 16px; bottom: 14px; }
}

/* ---- Rental cars band (Carla Car Rental via CJ, /go/cars): right after the three portals, in the
   Mega Ride gold, with a rental "pass" and a key fob instead of a photo. Night palette in both themes,
   like the organizers and gift bands. ---- */
.car-band {
  --text: #EEF0F7; --text-2: #A3A7B7; --text-3: #71768E; --hair: #262A35; --bg: #0A0B10; --surface: #13151C;
  --k: var(--k-ride-night); --k-ink: var(--k-ride-ink-night); --k-tint: rgba(232, 198, 106, 0.14); --sky: #38BDF8;
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--s5);
  margin: var(--s6) 0; padding: var(--s6); border-radius: var(--r-lg); color: var(--text); scroll-margin-top: calc(var(--s9) + var(--s4));
  background:
    radial-gradient(70% 90% at 95% 0%, rgba(232, 198, 106, 0.22), transparent 62%),
    radial-gradient(55% 70% at 75% 100%, rgba(56, 189, 248, 0.14), transparent 65%),
    linear-gradient(170deg, #171826, var(--bg) 70%);
  border: 1px solid rgba(232, 198, 106, 0.32);
  box-shadow: 0 30px 80px -30px rgba(232, 198, 106, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.car-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 90%); mask-image: linear-gradient(100deg, transparent 35%, #000 90%); }
.car-copy { position: relative; }
.car-tag { display: inline-flex; align-items: center; gap: var(--s2); padding: 6px 12px 6px 10px; border: 1px solid rgba(232, 198, 106, 0.4); border-radius: var(--pill); background: var(--k-tint); color: var(--k); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; }
.car-tag svg { width: 16px; height: 16px; }
.car-h { max-width: 16ch; margin: var(--s4) 0 var(--s3); font-family: var(--font-display); font-size: clamp(1.75rem, 7.4vw, 3rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.car-h em { font-style: normal; background: linear-gradient(95deg, var(--k) 10%, var(--sky) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.car-p { max-width: 48ch; margin: 0; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.car-perks { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0 0; padding: 0; list-style: none; }
.car-perks li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border: 1px solid var(--hair); border-radius: var(--pill); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text-2); font-size: var(--fs-xs); font-weight: 600; }
.car-perks svg { width: 14px; height: 14px; color: var(--k); }
.car-band .car-go { width: 100%; min-height: 54px; margin-top: var(--s5); padding: 0 var(--s6); background: linear-gradient(180deg, #F3D98A, var(--k)); color: var(--k-ink); font-size: var(--fs-body); font-weight: 800; box-shadow: 0 14px 34px -10px rgba(232, 198, 106, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.car-band .car-go:hover, .car-band .car-go:focus-visible { box-shadow: 0 18px 40px -8px rgba(232, 198, 106, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.car-note { max-width: 56ch; margin: var(--s3) 0 0; color: var(--text-3); font-size: var(--fs-xs); line-height: 1.5; }
.car-viz { position: relative; order: -1; height: 210px; }
.car-glow { position: absolute; left: 50%; top: 50%; width: 86%; height: 74%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 198, 106, 0.3), rgba(56, 189, 248, 0.1) 60%, transparent); filter: blur(10px); }
.car-pass { position: absolute; left: 50%; top: 50%; width: min(300px, 88%); display: grid; gap: 10px; padding: 14px 16px; transform: translate(-54%, -50%) rotate(-4deg); border-radius: 18px; background: linear-gradient(160deg, #F7F3E8, #E9E2CF); color: #1A1406; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.7), inset 0 1px 0 #fff; transition: transform var(--t3) var(--ease), opacity var(--t3) var(--ease); }
.car-pass small { display: block; color: rgba(26, 20, 6, 0.55); font-size: 9px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.car-pass b { display: block; font-family: var(--font-display); font-weight: 800; line-height: 1.1; }
.car-pass em { font-style: normal; color: rgba(26, 20, 6, 0.6); font-size: 11px; font-weight: 600; }
.car-pass-top { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1.5px dashed rgba(26, 20, 6, 0.2); }
.car-pass-top i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #1A1406; color: #E8C66A; }
.car-pass-top i svg { width: 16px; height: 16px; }
.car-pass-top b { flex: 1; font-size: 14px; }
.car-pass-top em { padding: 3px 8px; border-radius: var(--pill); background: rgba(22, 163, 74, 0.14); color: #166534; font-size: 10px; font-weight: 800; }
.car-pass-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.car-pass-row > span:last-child { text-align: right; }
.car-pass-row b { font-size: 26px; letter-spacing: 0.02em; }
.car-pass-line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(26, 20, 6, 0.35) 0 6px, transparent 6px 11px); }
.car-pass-line::after { content: ""; position: absolute; right: -2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #B8902F; }
.car-pass-foot { display: flex; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(26, 20, 6, 0.12); }
.car-pass-foot b { font-size: 13px; }
.car-key { position: absolute; right: 7%; bottom: 6%; z-index: 2; width: 74px; height: 92px; transform: rotate(14deg); transition: transform var(--t3) var(--ease), opacity var(--t3) var(--ease); }
.car-key-ring { position: absolute; left: 50%; top: 0; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; border: 4px solid #C9CCD6; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); }
.car-key-fob { position: absolute; left: 50%; top: 26px; width: 46px; height: 64px; margin-left: -23px; display: grid; align-content: center; justify-items: center; gap: 7px; border-radius: 16px 16px 20px 20px; background: linear-gradient(170deg, #2A2E3B, #0E1016); box-shadow: 0 14px 24px -8px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.car-key-fob i { width: 20px; height: 10px; border-radius: 5px; background: rgba(232, 198, 106, 0.85); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25); }
.car-key-fob i + i { background: rgba(255, 255, 255, 0.18); }
.car-chip { position: absolute; left: 4%; top: 6px; z-index: 3; padding: 6px var(--s3); border-radius: var(--pill); background: var(--text); color: var(--bg); font-size: var(--fs-label); font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; transform: rotate(-6deg); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4); transition: transform var(--t3) var(--ease), opacity var(--t3) var(--ease); }
.car-band:not(.in) .car-pass { opacity: 0; transform: translate(-54%, -38%) rotate(-10deg); }
.car-band:not(.in) .car-key { opacity: 0; transform: translateY(24px) rotate(40deg); }
.car-band:not(.in) .car-chip { opacity: 0; transform: scale(0.6) rotate(0deg); }
.car-band.in .car-key { transition-delay: 0.12s; } .car-band.in .car-chip { transition-delay: 0.3s; }
@media (min-width: 960px) {
  .car-band { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s8); padding: var(--s8) var(--s9); }
  .car-band .car-go { width: auto; }
  .car-viz { order: 0; height: 300px; }
  .car-pass { width: 340px; padding: 18px 20px; }
  .car-pass-row b { font-size: 30px; }
  .car-key { right: 6%; bottom: 10%; transform: rotate(14deg) scale(1.15); }
  .car-chip { left: 6%; top: 24px; font-size: var(--fs-xs); padding: 8px var(--s4); }
}
@media (prefers-reduced-motion: reduce) {
  .car-band .car-pass, .car-band .car-key, .car-band .car-chip { opacity: 1 !important; transition: none !important; }
  .car-band:not(.in) .car-pass { transform: translate(-54%, -50%) rotate(-4deg); }
  .car-band:not(.in) .car-key { transform: rotate(14deg); }
  .car-band:not(.in) .car-chip { transform: rotate(-6deg); }
}
