/* ═══════════════════════════════════════════════════════════════════════════
   BnbScout — Stays & Experiences pages.
   Ultra-animated, option-rich catalogue. Builds on styles.css (tokens, aurora,
   grain, .cta) + app-header.css (the shared header). Cards use the house
   duotone-placeholder language until real photography is dropped in.
   ═══════════════════════════════════════════════════════════════════════════ */

/* content pages use the compact 76px header bar (no morph-search hero) */
body.pg-body { overflow-x: hidden; }
.shead.bar-only .shead-top { height: 76px; }

/* magnetic gold CTA — ported from styles.css so this sheet is self-contained
   (the product app loads pages.css without styles.css) */
.cta {
  --halo: 0 0 0 rgba(245,180,60,0);
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px; border: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: -.01em;
  color: #2A1C00; background: linear-gradient(180deg, #FFCC63, var(--gold));
  box-shadow: 0 8px 24px -8px rgba(245,180,60,.7), inset 0 1px 0 rgba(255,255,255,.6), var(--halo);
  cursor: pointer; will-change: transform;
  transition: box-shadow .25s, transform .18s cubic-bezier(.3,.8,.4,1);
}
.cta:hover { --halo: 0 0 36px rgba(245,180,60,.55); }
.cta:active { transform: translateY(1px) scale(.99); }
.cta .dot { width: 7px; height: 7px; border-radius: 50%; background: #2A1C00; }
.cta.ghost { color: var(--ink); background: var(--panel); border: 1px solid var(--panel-brd); box-shadow: 0 8px 24px -14px rgba(44,34,110,.4); }

.pg { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto;
  padding: 210px clamp(20px, 4vw, 56px) 100px; }

/* ── page hero ── */
.pg-head { margin-bottom: 30px; }
.pg-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 16px; }
.pg-kicker .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(22,184,166,.5); animation: pulse 2.4s infinite; }
.pg-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 6vw, 76px);
  line-height: .98; letter-spacing: -.035em; margin: 0; color: var(--ink); text-wrap: balance; max-width: 16ch; }
.pg-title .grad { background: linear-gradient(120deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.pg-sub { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: var(--ink-2); max-width: 52ch; margin: 16px 0 0; }

/* ── filter rail (sticky, glassy) ── */
.filters { position: sticky; top: 88px; z-index: 30; margin: 26px 0 30px;
  background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--panel-brd); border-radius: 18px;
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-glass); padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.filt-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filt-row.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filt-row.scroll::-webkit-scrollbar { display: none; }
.filt-lab { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); flex: none; margin-right: 2px; }
.filt-div { width: 1px; align-self: stretch; background: var(--hair); margin: 2px 4px; flex: none; }

.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; opacity: 1;
  border: 1px solid var(--hair); background: var(--panel); color: var(--ink-2);
  font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  transition: transform .16s cubic-bezier(.3,.8,.4,1), background .18s, color .18s, border-color .18s, box-shadow .18s; }
.chip:hover { color: var(--ink); border-color: var(--violet); transform: translateY(-1px); }
.chip .em { font-size: 15px; line-height: 1; }
.chip.on { background: linear-gradient(180deg, var(--violet), var(--violet-2)); color: #fff; border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(90,71,224,.6); }
.chip.on.gold { background: linear-gradient(180deg, #FFCC63, var(--gold)); color: #2A1C00; box-shadow: 0 8px 20px -8px rgba(245,180,60,.6); }
.chip.pop { animation: chipPop .32s cubic-bezier(.3,1.5,.5,1); }
@keyframes chipPop { 0% { transform: scale(.9); } 55% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* price slider + stepper + sort */
.ctrl { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.ctrl-lab { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.range { -webkit-appearance: none; appearance: none; width: 150px; height: 4px; border-radius: 999px;
  background: var(--hair); outline: none; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(180deg, var(--violet), var(--violet-2)); box-shadow: 0 3px 8px -2px rgba(90,71,224,.7); cursor: pointer; transition: transform .15s; }
.range::-webkit-slider-thumb:hover { transform: scale(1.18); }
.range::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--violet-2); cursor: pointer; }
.range-val { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); min-width: 96px; }
.range-val b { color: var(--gold-2); }

.stepper2 { display: inline-flex; align-items: center; gap: 4px; }
.step-b { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--hair); background: var(--panel);
  color: var(--ink); display: grid; place-items: center; cursor: pointer; font-size: 17px; line-height: 1; transition: .16s; }
.step-b:hover:not(:disabled) { border-color: var(--violet); color: var(--violet-2); }
.step-b:disabled { opacity: .4; cursor: default; }
.step-v { min-width: 58px; text-align: center; font-weight: 600; font-size: 13.5px; }

.selwrap { position: relative; display: inline-flex; align-items: center; }
.sel { -webkit-appearance: none; appearance: none; border: 1px solid var(--hair); background: var(--panel);
  color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 30px 8px 14px; border-radius: 999px; cursor: pointer; transition: border-color .18s; }
.sel:hover { border-color: var(--violet); }
.selwrap::after { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-65%) rotate(45deg); pointer-events: none; }

.results-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.results-bar .count { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); }
.results-bar .count b { color: var(--violet-2); }
.results-bar .reset { border: 0; background: transparent; color: var(--ink-3); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.results-bar .reset:hover { color: var(--violet-2); }

/* ── card grid ── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.scard { position: relative; background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 22px;
  overflow: hidden; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px -26px rgba(44,34,110,.5); cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s; }
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow-glass); }

.scard-photo { position: relative; aspect-ratio: 4 / 3.05; overflow: hidden; }
.scard-ph { position: absolute; inset: 0; transition: transform .65s cubic-bezier(.2,.7,.3,1); }
.scard:hover .scard-ph { transform: scale(1.07); }
.scard-ph::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 9px, rgba(255,255,255,0) 9px 20px); }
.scard-ph .tagcity { position: absolute; left: 14px; bottom: 12px; font-family: ui-monospace, monospace;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.92); text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.35); display: flex; align-items: center; gap: 6px; }
.scard-ph .tagcity::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }

.oc-fav { position: absolute; top: 11px; right: 11px; z-index: 4; width: 36px; height: 36px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: rgba(20,18,30,.34); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .16s, background .18s; }
.oc-fav:hover { transform: scale(1.12); }
.oc-fav svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; transition: fill .16s, stroke .16s; }
.oc-fav.on svg { fill: var(--gold); stroke: var(--gold); }
.oc-fav.on { animation: heartPop .42s cubic-bezier(.3,1.4,.5,1); }
.oc-fav.pop { animation: starPop .5s cubic-bezier(.3,1.5,.5,1); }
@keyframes heartPop { 0%,100% { transform: scale(1); } 45% { transform: scale(1.28); } }
@keyframes starPop {
  0% { transform: scale(1); }
  30% { transform: scale(1.35) rotate(-12deg); }
  55% { transform: scale(.86) rotate(6deg); }
  100% { transform: scale(1) rotate(0); }
}

/* star flying to the Profile tab */
.fav-fly { position: fixed; left: 0; top: 0; z-index: 300; width: 28px; height: 28px; pointer-events: none;
  will-change: transform, opacity; filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--gold) 60%, transparent)); }
.fav-fly svg { width: 100%; height: 100%; display: block; fill: var(--gold); }
/* Profile tab reaction when the star lands */
.botbar a.fav-land { animation: favLand .62s cubic-bezier(.3,1.3,.5,1); }
.botbar a.fav-land svg { color: var(--gold); animation: favLandIcon .62s cubic-bezier(.3,1.3,.5,1); }
@keyframes favLand { 0%,100% { transform: none; } 28% { transform: translateY(-7px) scale(1.22); } 60% { transform: translateY(0) scale(.92); } }
@keyframes favLandIcon { 0%,100% { filter: none; } 30% { filter: drop-shadow(0 0 9px var(--gold)); } }
@media (prefers-reduced-motion: reduce) { .fav-fly { display: none; } .botbar a.fav-land { animation: none; } }

.badge-match { position: absolute; top: 11px; left: 11px; z-index: 4; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 6px; border-radius: 999px; background: rgba(20,18,30,.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: 12px; font-weight: 700; }
.ring { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--cyan-glow) var(--deg, 0deg), rgba(255,255,255,.22) 0); }
.ring i { width: 16px; height: 16px; border-radius: 50%; background: #1c1830; display: grid; place-items: center;
  font-size: 8.5px; font-weight: 800; font-style: normal; color: #fff; }

.scard-body { padding: 15px 17px 17px; }
.scard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.scard-title { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; line-height: 1.18; color: var(--ink); }
.scard-rate { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink); flex: none; }
.scard-rate svg { width: 13px; height: 13px; fill: var(--gold); stroke: none; }
.scard-meta { color: var(--ink-3); font-size: 13px; margin-top: 5px; display: flex; flex-wrap: wrap; gap: 5px 8px; align-items: center; }
.scard-meta > span { white-space: nowrap; }
.scard-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.scard-reason { color: var(--ink-2); font-size: 13px; line-height: 1.45; margin-top: 10px; min-height: 2.9em; }
.scard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hair); }
.scard-price { display: flex; align-items: baseline; gap: 5px; }
.scard-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink); }
.scard-price .per { color: var(--ink-3); font-size: 12.5px; }
.scard-foot .cta { padding: 9px 16px; font-size: 13px; }

.amen-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.amen-tag { font-size: 11.5px; font-weight: 600; color: var(--violet-2); background: rgba(124,108,255,.10);
  padding: 4px 9px; border-radius: 7px; }

/* superhost / featured ribbon */
.ribbon { position: absolute; top: 11px; left: 11px; z-index: 5; font-size: 11px; font-weight: 800; letter-spacing: .02em;
  text-transform: uppercase; color: #2A1C00; background: linear-gradient(180deg, #FFCB63, var(--gold));
  padding: 4px 9px; border-radius: 7px; box-shadow: 0 4px 12px -4px rgba(245,180,60,.6); }
.scard.feat .badge-match { top: 44px; }

/* ── experiences card variant ── */
.xcard .scard-photo { aspect-ratio: 4 / 3.4; }
.xcat { position: absolute; left: 12px; top: 12px; z-index: 4; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px; color: #fff; background: rgba(20,18,30,.42);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.xmeta-row { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 10px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.xmeta-row span { display: inline-flex; align-items: center; gap: 6px; }
.xmeta-row svg { width: 14px; height: 14px; stroke: var(--violet-2); fill: none; stroke-width: 1.9; }

/* entrance reveal (staggered, JS-toggled) */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* fluid category swap (no reload) — outgoing wipes up, incoming rises in */
@media (prefers-reduced-motion: no-preference) {
  #catalog.cat-leave { animation: catLeave .25s cubic-bezier(.4,0,.2,1) forwards; }
  #catalog.cat-enter { animation: catEnter .46s cubic-bezier(.2,.7,.3,1); }
}
@keyframes catLeave { to { opacity: 0; transform: translateY(-26px) scale(.965); filter: blur(5px); } }
@keyframes catEnter { from { opacity: 0; transform: translateY(28px) scale(.985); filter: blur(4px); } }

/* ═══ detail page (listing / experience / cruise) ═══ */
.dpage { position: fixed; inset: 0; z-index: 40; --head-h: 210px; background: var(--bg); display: flex; flex-direction: column;
  opacity: 0; transform: translateY(16px); transition: opacity .28s ease, transform .3s cubic-bezier(.2,.7,.3,1); }
@media (max-width: 760px) { .dpage { --head-h: 146px; } }
.dpage.in { opacity: 1; transform: none; }
.dpage.closing { opacity: 0; transform: translateY(10px); }
.dpage-bar { height: 60px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--hair);
  background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
/* detail open: make the (otherwise transparent) site header opaque, keeping the category tabs visible */
.shead.detail-open { background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
/* detail header: hide logo, host link & globe; show back + save instead */
.shead.detail-open .brand { display: none; }
.shead.detail-open .host-link, .shead.detail-open .globe-btn { display: none; }
.shead.detail-open .shead-actions { display: flex; }
.shead-back { display: inline-flex; align-items: center; gap: 8px; flex: none; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14.5px; color: var(--ink); padding: 9px 14px 9px 10px; border-radius: 999px;
  transition: background .15s, transform .4s cubic-bezier(.4,0,.2,1), opacity .25s ease; }
.shead-back:hover { background: var(--hair-2); }
.shead-back svg { width: 18px; height: 18px; transform: rotate(180deg); }
/* on scroll, "Torna ai risultati" flies up with the category tabs */
.shead.detail-open.compact .shead-back { opacity: 0; transform: translateY(-210%); pointer-events: none; }
.shead-save { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--hair); background: var(--panel);
  cursor: pointer; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--ink-2); padding: 9px 16px; border-radius: 999px; transition: .15s; }
.shead-save svg { width: 15px; height: 15px; }
.shead-save:hover { border-color: var(--violet); color: var(--ink); }
.shead-save.on { color: var(--gold-2); border-color: var(--gold); }
.dpage-bar-l { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dpage-subbar { position: sticky; top: var(--head-h); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--hair);
  background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dp-brand { display: inline-flex; align-items: center; flex: none; }
.dp-brand img { height: 34px; width: auto; display: block; }
@media (max-width: 680px) { .dp-brand { display: none; } }
.dp-nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 26px); }
.dp-nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink-3); padding: 6px 2px; position: relative; transition: color .15s; }
.dp-nav a:hover { color: var(--ink); }
.dp-nav a.on { color: var(--ink); }
.dp-nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--violet); }
@media (max-width: 520px) { .dp-nav { display: none; } }
.dpage-back { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 14.5px; color: var(--ink); padding: 8px 12px 8px 8px; border-radius: 999px; transition: background .15s; }
.dpage-back:hover { background: var(--hair-2); }
.dpage-back svg { width: 18px; height: 18px; transform: rotate(180deg); }
.dpage-save { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--hair); background: var(--panel);
  cursor: pointer; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: .15s; }
.dpage-save svg { width: 15px; height: 15px; }
.dpage-save:hover { border-color: var(--violet); color: var(--ink); }
.dpage-save.on { color: var(--gold-2); border-color: var(--gold); }
.dpage-scroll { flex: 1; overflow-y: auto; padding-top: var(--head-h); }
.dpage-inner { max-width: 1100px; margin: 0 auto; padding: clamp(20px, 3vw, 32px) clamp(16px, 4vw, 40px) 56px; }
.dpage-scroll > .pg-foot { margin-top: 40px; }

.dp-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(25px, 3.4vw, 40px); letter-spacing: -.03em; color: var(--ink); margin: 0; line-height: 1.05; }
.dp-subrow { display: flex; align-items: center; gap: 10px; margin-top: 9px; color: var(--ink-2); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.dp-subrow svg { width: 14px; height: 14px; vertical-align: -2px; color: var(--gold); }
.dp-subrow .dp-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }

.dp-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px;
  height: clamp(280px, 42vw, 460px); border-radius: 20px; overflow: hidden; margin: 18px 0 30px; }
.dp-shot { position: relative; }
.dp-shot::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 9px, rgba(255,255,255,0) 9px 20px); }
.dp-shot-0 { grid-row: 1 / 3; grid-column: 1; }
.dp-shot-hint { position: absolute; left: 14px; bottom: 12px; font-family: ui-monospace, monospace; font-size: 10.5px;
  color: rgba(255,255,255,.92); letter-spacing: .04em; text-shadow: 0 1px 6px rgba(0,0,0,.4); z-index: 2; }
@media (max-width: 760px) {
  .dp-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 260px; }
  .dp-shot:not(.dp-shot-0) { display: none; }
  .dp-shot-0 { grid-row: 1; grid-column: 1; }
}

.dp-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .dp-cols { grid-template-columns: 1fr; } }
.dp-main { min-width: 0; }
.dp-sec { padding: 26px 0; border-top: 1px solid var(--hair); }
.dp-sec:first-child { border-top: 0; padding-top: 4px; }
.dp-h { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.dp-h svg { width: 18px; height: 18px; color: var(--gold); }
.dp-p { color: var(--ink-2); font-size: 15.5px; line-height: 1.62; margin: 0; max-width: 64ch; }

.dp-host { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dp-host-l { display: flex; align-items: center; gap: 13px; }
.dp-ava { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px; }
.dp-ava svg { width: 24px; height: 24px; stroke: #fff; }
.dp-host-l b { font-size: 15px; color: var(--ink); display: block; }
.dp-host-l small { font-size: 13px; color: var(--ink-3); }
.dp-match { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--violet-2);
  background: var(--violet-soft, rgba(124,108,255,.12)); padding: 7px 12px; border-radius: 999px; }
.dp-match svg { width: 13px; height: 13px; fill: var(--gold); }

.dp-high { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 620px) { .dp-high { grid-template-columns: 1fr; gap: 12px; } }
.dp-high-i { display: flex; gap: 11px; }
.dp-high-i svg { width: 22px; height: 22px; flex: none; color: var(--violet-2); margin-top: 2px; }
.dp-high-i b { font-size: 14.5px; color: var(--ink); display: block; }
.dp-high-i small { font-size: 13px; color: var(--ink-3); line-height: 1.4; }

.dp-amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
@media (max-width: 560px) { .dp-amen { grid-template-columns: 1fr; } }
.dp-amen li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink); }
.dp-amen svg { width: 17px; height: 17px; flex: none; color: var(--violet-2); }

.dp-map { position: relative; height: 168px; border-radius: 16px; overflow: hidden; margin-bottom: 16px; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, var(--violet-soft, rgba(124,108,255,.14)), transparent 60%),
    repeating-linear-gradient(0deg, var(--hair) 0 1px, transparent 1px 38px), repeating-linear-gradient(90deg, var(--hair) 0 1px, transparent 1px 38px), var(--panel-2); }
.dp-map-pin { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--violet), var(--violet-2)); color: #fff; box-shadow: 0 10px 22px -8px rgba(90,71,224,.7); }
.dp-map-pin svg { width: 20px; height: 20px; stroke: #fff; }
.dp-map-city { position: absolute; left: 14px; bottom: 12px; font-weight: 700; font-size: 13px; color: var(--ink); background: var(--panel); padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.dp-lm { list-style: none; padding: 0; margin: 0; }
.dp-lm li { display: flex; align-items: center; gap: 11px; padding: 11px 2px; border-bottom: 1px solid var(--hair-2); }
.dp-lm li:last-child { border-bottom: 0; }
.dp-lm-ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--violet-soft, rgba(124,108,255,.12)); color: var(--violet-2); }
.dp-lm-ic svg { width: 15px; height: 15px; }
.dp-lm-n { flex: 1; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.dp-lm-d { font-size: 13px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }

.dp-rev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .dp-rev-grid { grid-template-columns: 1fr; } }
.dp-rev { border: 1px solid var(--hair); border-radius: 16px; padding: 16px 17px; background: var(--panel); }
.dp-rev-top { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.dp-rev-ava { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; }
.dp-rev-top b { font-size: 14px; color: var(--ink); display: block; }
.dp-rev-top small { font-size: 12px; color: var(--ink-3); }
.dp-rev-rate { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.dp-rev-rate svg { width: 12px; height: 12px; fill: var(--gold); }
.dp-rev p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* important info — Airbnb-style 3-col grid */
.dp-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 44px; }
@media (max-width: 760px) { .dp-info-grid { grid-template-columns: 1fr 1fr; gap: 26px 32px; } }
@media (max-width: 480px) { .dp-info-grid { grid-template-columns: 1fr; } }
.dp-info-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--ink); margin-bottom: 12px; }
.dp-info-ic svg { width: 26px; height: 26px; }
.dp-info-i b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.dp-info-i p { margin: 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.dp-info-i u { text-decoration-color: var(--ink-3); text-underline-offset: 2px; cursor: pointer; }
.dp-info-i u:hover { color: var(--ink); }
.dp-freecx { color: var(--violet-2); font-weight: 700; }
.dp-rate-mini .dp-freecx::before { content: "·"; margin: 0 7px; color: var(--ink-3); font-weight: 400; }

/* similar listings carousel */
.dp-sim-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(216px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.dp-sim { scroll-snap-align: start; text-align: left; border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; background: var(--panel); cursor: pointer; padding: 0; font: inherit; display: flex; flex-direction: column; transition: transform .16s ease, box-shadow .22s ease; }
.dp-sim:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dp-sim-ph { height: 132px; position: relative; display: block; }
.dp-sim-city { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(20,16,40,.32); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.dp-sim-city svg { width: 12px; height: 12px; stroke: #fff; }
.dp-sim-b { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 5px; }
.dp-sim-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.dp-sim-t { font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.3; }
.dp-sim-r { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--ink); }
.dp-sim-r svg { width: 11px; height: 11px; fill: var(--gold); }
.dp-sim-m { font-size: 12.5px; color: var(--ink-3); }
.dp-sim-p { font-size: 13px; color: var(--ink-3); margin-top: 1px; }
.dp-sim-p b { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }

/* "Ti presentiamo l'host" section (detail page) */
.dp-hostx-cols { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 760px) { .dp-hostx-cols { grid-template-columns: 1fr; gap: 24px; } }
.dp-hostcard { text-align: center; border: 1px solid var(--hair); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow-md);
  padding: 28px 24px 22px; cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .16s ease, box-shadow .22s ease; }
.dp-hostcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg, 0 24px 48px -22px rgba(44,34,110,.5)); }
.dp-hostcard-ava { position: relative; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 34px; font-family: var(--font-display); margin-bottom: 8px; }
.dp-hostcard-badge { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--violet); border: 3px solid var(--panel); display: grid; place-items: center; }
.dp-hostcard-badge svg { width: 14px; height: 14px; stroke: #fff; }
.dp-hostcard-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink); letter-spacing: -.02em; }
.dp-hostcard-role { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.dp-hostcard-stats { display: flex; align-items: stretch; justify-content: center; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); width: 100%; }
.dp-hostcard-stats > span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dp-hostcard-stats b { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 3px; }
.dp-hostcard-stats b svg { width: 13px; height: 13px; fill: var(--gold); }
.dp-hostcard-stats small { font-size: 11px; color: var(--ink-3); }
.dp-hostcard-sep { flex: none !important; width: 1px; background: var(--hair); }
.dp-hostcard-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--violet-2); }
.dp-hostcard-link svg { width: 14px; height: 14px; }
.dp-hostx-h { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); margin: 0 0 10px; }
.dp-hostx-resp { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0 0 16px; }
.dp-hostx-msg { max-width: 320px; }
.dp-hostx-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.dp-hostx-note svg { width: 22px; height: 22px; flex: none; color: var(--violet-2); }
.dp-hostx-fine { font-size: 13px; color: var(--ink-3); margin: 16px 0 0; }
.dp-hostx-fine u { cursor: pointer; color: var(--ink-2); text-underline-offset: 2px; }

/* host profile page */
.hp-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 8px; }
.hp-id { display: flex; align-items: center; gap: 20px; min-width: 0; }
.hp-ava { position: relative; width: 100px; height: 100px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 40px; font-family: var(--font-display); }
.hp-ava-badge { position: absolute; right: 0; bottom: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--violet); border: 3px solid var(--bg); display: grid; place-items: center; }
.hp-ava-badge svg { width: 15px; height: 15px; stroke: #fff; }
.hp-role { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--violet-2); }
.hp-loc { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 14px; color: var(--ink-3); font-weight: 500; }
.hp-loc svg { width: 14px; height: 14px; color: var(--gold); }
.hp-loc .dp-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.hp-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 26px; padding: 16px 22px; border: 1px solid var(--hair); border-radius: 16px; background: var(--panel); }
@media (max-width: 560px) { .hp-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 26px; width: 100%; } }
.hp-stats > div { display: flex; flex-direction: column; gap: 2px; }
.hp-stats b { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.hp-stats b svg { width: 15px; height: 15px; fill: var(--gold); }
.hp-stats small { font-size: 11.5px; color: var(--ink-3); }
.hp-cols { margin-top: 6px; }
.hp-facts li { font-weight: 500; }
.hp-aside-rate { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 10px; }
.hp-aside-rate svg { width: 14px; height: 14px; fill: var(--gold); }
.hp-aside-resp { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 0 0 16px; }
.dp-count { font-size: 13px; font-weight: 700; color: var(--violet-2); background: var(--violet-soft, rgba(124,108,255,.12)); padding: 2px 9px; border-radius: 999px; vertical-align: middle; }

/* Scout mascot placements across detail + host pages */
.dp-gallery-scout { position: absolute; right: clamp(10px, 2vw, 22px); bottom: 0; height: clamp(116px, 21vw, 188px); width: auto; z-index: 3;
  pointer-events: none; filter: drop-shadow(0 10px 18px rgba(20,16,40,.28)); }
@media (max-width: 760px) { .dp-gallery-scout { height: 120px; right: 8px; } }
.dp-map-scout { position: absolute; right: 12px; bottom: 0; height: 150px; width: auto; z-index: 2; pointer-events: none;
  filter: drop-shadow(0 10px 16px rgba(20,16,40,.26)); }
@media (max-width: 560px) { .dp-map-scout { height: 118px; right: 6px; } }
.dp-cta-scout .dp-cta-scoutimg { width: 26px; height: 26px; object-fit: contain; margin: -6px 0; }
.hp-scout { display: block; width: 96px; height: auto; margin: -2px auto 8px; pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(20,16,40,.22)); }

.dp-itin-list { list-style: none; padding: 0; margin: 0; }
.dp-itin-list li { position: relative; padding: 0 0 18px 26px; }
.dp-itin-list li:last-child { padding-bottom: 0; }
.dp-itin-dot { position: absolute; left: 4px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft, rgba(124,108,255,.18)); }
.dp-itin-dot.end { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft, rgba(245,180,60,.2)); }
.dp-itin-list li::before { content: ""; position: absolute; left: 9px; top: 14px; bottom: -4px; width: 2px; background: var(--hair); }
.dp-itin-list li:last-child::before { display: none; }
.dp-itin-list b { font-size: 14.5px; color: var(--ink); display: block; }
.dp-itin-list small { font-size: 12.5px; color: var(--ink-3); }

.dp-book { align-self: start; }
@media (min-width: 901px) { .dp-book { position: sticky; top: 88px; } }
.dp-book-card { border: 1px solid var(--hair); border-radius: 20px; padding: 22px; background: var(--panel-2); box-shadow: var(--shadow-md); }
.dp-price { display: flex; align-items: baseline; gap: 7px; }
.dp-was { color: var(--ink-3); text-decoration: line-through; font-size: 15px; }
.dp-amt { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink); }
.dp-per { color: var(--ink-3); font-size: 13.5px; }
.dp-rate-mini { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink); margin: 6px 0 16px; }
.dp-rate-mini svg { width: 13px; height: 13px; fill: var(--gold); }
.dp-bk-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.dp-bk-dates > div { padding: 10px 13px; }
.dp-bk-dates > div:first-child { border-right: 1px solid var(--hair); }
.dp-bk-dates span, .dp-bk-row span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.dp-bk-dates b, .dp-bk-row b { font-size: 14px; color: var(--ink); font-weight: 500; }
.dp-bk-row { border: 1px solid var(--hair); border-radius: 12px; padding: 10px 13px; margin-bottom: 10px; }
.dp-cta { width: 100%; padding: 13px; border-radius: 12px; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 15px;
  color: #fff; background: linear-gradient(180deg, var(--violet), var(--violet-2)); box-shadow: 0 10px 24px -10px rgba(90,71,224,.7); transition: transform .15s; }
.dp-cta:hover { transform: translateY(-1px); }
.dp-cta-ghost { background: transparent; color: var(--violet-2); border: 1px solid var(--hair); box-shadow: none; margin-top: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.dp-cta-ghost svg { width: 16px; height: 16px; flex: none; }
.dp-cta-ghost:hover { border-color: var(--violet); }
.dp-note { text-align: center; font-size: 12px; color: var(--ink-3); margin: 12px 0 0; }

.dp-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(14px); z-index: 1300;
  background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 600; padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.dp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) { .dpage { transition: opacity .2s; transform: none; } }

/* empty state */
.pg-empty { text-align: center; padding: 70px 20px; color: var(--ink-2); }
.pg-empty h3 { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin: 0 0 8px; }

/* footer reuse */
.pg-foot { margin: 80px auto 0; max-width: 1280px; border-top: 1px solid var(--hair);
  padding: 26px clamp(20px,4vw,56px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; z-index: 10; }
.pg-foot .fb { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; }
.pg-foot .fb span { color: var(--violet); }
.pg-foot a { color: var(--ink-3); text-decoration: none; font-size: 13px; font-weight: 500; }
.pg-foot a:hover { color: var(--ink); }
.pg-foot .meta { color: var(--ink-3); font-size: 12px; }

/* coloured footer band */
.pg-foot { background: var(--violet-2); border-top: 0; border-radius: 28px 28px 0 0; padding-top: 32px; padding-bottom: 32px; }
.pg-foot .fb { color: #fff; letter-spacing: -.03em; }
.pg-foot .fb span { color: var(--gold); }
.pg-foot a { color: rgba(255,255,255,.76); }
.pg-foot a:hover { color: #fff; }
.pg-foot .meta { color: rgba(255,255,255,.6); }

@media (max-width: 760px) {
  .pg { padding: 146px clamp(16px, 5vw, 28px) 72px; }
}
@media (max-width: 600px) {
  .pg { padding-top: 146px; }
  .catalog { gap: 34px; }
  .xsec-head { margin-bottom: 12px; gap: 12px; }
  .xsec-title { font-size: 21px; }
  .xsec-sub { font-size: 12.5px; margin-top: 4px; }
  .row { gap: 10px; padding: 6px 2px 14px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%); }
  .catalog .row .scard { flex: 0 0 54vw; }
  .lg-row { gap: 10px; }
  .catalog .lg-row .scard { flex: 0 0 60vw; }
  .scard { border-radius: 15px; }
  .scard-photo { aspect-ratio: 4 / 3; }
  .scard-body { padding: 9px 10px 11px; }
  .scard-title { font-size: 13px; line-height: 1.16; }
  .scard-rate { font-size: 11px; gap: 3px; }
  .scard-rate svg { width: 11px; height: 11px; }
  .scard-meta { font-size: 10.5px; margin-top: 4px; gap: 3px 6px; }
  .scard-reason { font-size: 11px; line-height: 1.4; margin-top: 6px; min-height: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .amen-tags { display: none; }
  .ports { display: none; }
  .xmeta-row { font-size: 10.5px; gap: 5px 9px; margin-top: 7px; }
  .xmeta-row svg { width: 12px; height: 12px; }
  .scard-foot { margin-top: 9px; padding-top: 9px; flex-wrap: wrap; row-gap: 7px; }
  .scard-price .amt { font-size: 15.5px; }
  .scard-price .per, .ccard .scard-price .from { font-size: 10.5px; }
  .was { font-size: 11px; }
  .scard-foot .cta { padding: 7px 10px; font-size: 11px; gap: 5px; }
  .scard-foot .cta .dot { width: 5px; height: 5px; }
  .badge-match { font-size: 10px; padding: 4px 8px 4px 5px; }
  .badge-match .ring { width: 18px; height: 18px; }
  .badge-match .ring i { width: 13px; height: 13px; font-size: 7.5px; }
  .deal-rib { font-size: 10.5px; padding: 3px 7px; }
  .ribbon { font-size: 9.5px; padding: 3px 7px; }
  .xcat { font-size: 9.5px; padding: 4px 8px; }
  .oc-fav { width: 30px; height: 30px; top: 8px; right: 8px; }
  .oc-fav svg { width: 15px; height: 15px; }
  .scard-eyebrow { font-size: 10.5px; margin-bottom: 4px; }
  /* hero stacks already (≤760) — tighten internals */
  .scard.xl .scard-photo { min-height: 196px; }
  .scard.xl .scard-body { padding: 18px 16px 20px; }
  .scard.xl .scard-eyebrow { margin-bottom: 5px; }
  .scard.xl .scard-title { font-size: 23px; }
  .scard.xl .scard-reason { font-size: 14px; margin-top: 10px; }
  .scard.xl .scard-foot { margin-top: 16px; padding-top: 14px; }
  .scard.xl .scard-price .amt { font-size: 23px; }
}
@media (max-width: 400px) {
  .catalog .row .scard { flex: 0 0 50vw; }
  .catalog .lg-row .scard { flex: 0 0 66vw; }
  .xsec-title { font-size: 19.5px; }
}

/* ═══ product-app context (catalogue mounted inside .page-wide) ═══ */
.app-catalog { margin-top: 4px; position: relative; z-index: 1; }
.app-catalog .catalog { gap: clamp(36px, 4.5vw, 56px); }

/* Scout entry — centered, box-less hero (the "ask the scout" third of home) */
.scout-hero {
  position: relative; z-index: 30;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(20px, 5vw, 56px) 16px clamp(28px, 4vw, 44px); margin-bottom: 8px; }
.scout-hero .sb-kick { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 16px; }
.scout-hero .sb-kick .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 var(--cyan-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--cyan-glow); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.scout-hl {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.04; letter-spacing: -.03em;
  color: var(--ink); margin: 0 0 26px; max-width: 18ch; text-wrap: balance; }
.scout-hl em { font-style: normal; background: linear-gradient(120deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.scout-hero .sb-bar {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 640px;
  background: var(--panel-2); border: 1px solid var(--hair); border-radius: 999px; padding: 8px 8px 8px 18px;
  box-shadow: var(--shadow-md); transition: border-color .2s, box-shadow .2s; }
.scout-hero .sb-bar:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft), var(--shadow-md); }
.scout-hero .sb-bar svg { width: 18px; height: 18px; color: var(--cyan-2); flex: none; }
.scout-hero .sb-bar input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 15px; color: var(--ink); }
.scout-hero .sb-bar input::placeholder { color: var(--ink-3); }
.scout-hero .sb-bar .cta { flex: none; padding: 11px 18px; }
@media (max-width: 600px) {
  .scout-hero { padding: 14px 8px 24px; }
  .scout-hero .sb-bar { flex-wrap: wrap; padding: 8px 8px 8px 16px; }
  .scout-hero .sb-bar input { flex: 1 1 100%; padding: 4px 4px 8px; }
  .scout-hero .sb-bar .cta { flex: 1 1 100%; justify-content: center; }
}

/* ═══ AIKE composer — pixel-faithful chat bar (light + dark tokens) ═══ */
.aike {
  --c-elevated: #ffffff; --c-border: #d8d4ce; --c-text: #1f1d1b; --c-placeholder: #7a7570;
  --c-icon: #6b665f; --c-hover: #eceae6; --c-tertiary: #9a9590; --c-muted: #6b6560;
  --c-purple: #a855f7; --c-purple-hover: #9333ea; --c-purple-light: #c084fc;
  --c-purple-bg: rgba(168,85,247,0.15); --c-purple-border: rgba(168,85,247,0.3);
  --c-shadow: 0 8px 32px rgba(0,0,0,0.14);
  width: 100%; max-width: 600px; margin: 0 auto; text-align: left;
  font-family: "Inter", system-ui, sans-serif; }
.theme-dark .aike {
  --c-elevated: #363230; --c-border: #4a4643; --c-text: #e8e4e0;
  --c-icon: #8a8580; --c-hover: #2e2d2b; --c-shadow: 0 8px 32px rgba(0,0,0,0.4); }
@media (prefers-reduced-motion: no-preference) {
  .aike { animation: akRise .5s cubic-bezier(.2,.7,.3,1) both; }
}
@keyframes akRise { from { transform: translateY(14px); } to { transform: none; } }

.aike .composer { width: 100%; display: block; border: 0; padding: 0; gap: 0; }
.aike .composer__box { background: var(--c-elevated); border: 1px solid var(--c-border);
  border-radius: 14px; padding: 14px 14px 10px 14px; transition: border-color 150ms, box-shadow 150ms; }
.aike .composer__box:focus-within { border-color: var(--c-purple-border); box-shadow: 0 0 0 4px var(--c-purple-bg); }
.aike .composer__input { width: 100%; background: none; border: none; outline: none; resize: none;
  color: var(--c-text); font-family: inherit; font-size: 14px; line-height: 1.5;
  min-height: 28px; max-height: 200px; margin-bottom: 10px; display: block; }
.aike .composer__input::placeholder { color: var(--c-placeholder); }
.aike .composer__row { display: flex; align-items: center; justify-content: space-between; }
.aike .composer__row-left { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1 1 auto; }
.aike .composer__row-right { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.aike .composer__tool { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; border-radius: 8px; color: var(--c-icon); cursor: pointer; transition: background-color 150ms, color 150ms; }
.aike .composer__tool:hover { background: var(--c-border); }
.aike .composer__send { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 8px; background: var(--c-purple); color: #fff; cursor: pointer;
  transition: background-color 150ms, opacity 150ms, transform 150ms; }
.aike .composer__send:hover:not(:disabled) { background: var(--c-purple-hover); }
.aike .composer__send:active:not(:disabled) { transform: scale(.94); }
.aike .composer__send:disabled { background: var(--c-border); color: var(--c-icon); cursor: default; }

.aike .home__controls { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 0; padding: 0 4px; }
.aike .home__controls-left { display: flex; align-items: center; gap: 12px; }
.aike .composer__menu-wrap { position: relative; display: inline-flex; }
.aike .control-btn { display: flex; align-items: center; gap: 5px; font-family: inherit; font-size: 13px;
  color: var(--c-tertiary); padding: 4px 8px; border: 1px solid transparent; background: transparent;
  border-radius: 6px; cursor: pointer; transition: background-color 150ms, color 150ms; }
.aike .control-btn:hover { background: var(--c-elevated); color: var(--c-text); }
.aike .control-btn.is-active { color: var(--c-purple-light); border-color: var(--c-purple-border); background: var(--c-purple-bg); }
.aike .model-menu { position: absolute; top: 34px; left: 0; min-width: 160px; background: var(--c-elevated);
  border: 1px solid var(--c-border); border-radius: 10px; padding: 4px; z-index: 100; box-shadow: var(--c-shadow); }
.aike .model-menu__item { display: flex; flex-direction: column; gap: 1px; align-items: flex-start; width: 100%;
  text-align: left; padding: 7px 10px; border: none; background: transparent; border-radius: 7px; cursor: pointer; transition: background-color 150ms; }
.aike .model-menu__item:hover { background: var(--c-hover); }
.aike .model-menu__item.is-active .model-menu__label { color: var(--c-text); }
.aike .model-menu__label { font-size: 13px; font-weight: 500; color: var(--c-text); }
.aike .dropdown-backdrop { position: fixed; inset: 0; z-index: 50; }

/* scope selector — themed, animated icons */
.aike .ak-ico { flex: none; transition: transform .25s; }
.aike .scope-row { display: flex; align-items: center; gap: 9px; }
.aike .scope-row .ak-ico { color: var(--c-purple); }
.aike .scope-item.is-active .ak-ico { color: var(--c-purple-light); }
@media (prefers-reduced-motion: no-preference) {
  .aike .scope-btn:hover .ak-window, .aike .scope-item:hover .ak-window { animation: akWindow 1.1s ease-in-out infinite; transform-origin: center; }
  .aike .scope-btn:hover .ak-plane,  .aike .scope-item:hover .ak-plane  { animation: akPlane 1.1s ease-in-out infinite; }
  .aike .scope-btn:hover .ak-wave,   .aike .scope-item:hover .ak-wave   { animation: akWave 1.2s ease-in-out infinite; }
  .aike .scope-btn:hover .ak-globe,  .aike .scope-item:hover .ak-globe  { animation: akGlobe 2.8s linear infinite; }
}
@keyframes akWindow { 0%,100% { transform: scale(1); } 42% { transform: scale(1.16); } 70% { transform: scale(1.05); } }
@keyframes akPlane { 0%,100% { transform: translate(0,0) rotate(0); } 45% { transform: translate(3px,-3px) rotate(-13deg); } }
@keyframes akWave { 0%,100% { transform: translateY(0); } 25% { transform: translateY(-1.6px); } 75% { transform: translateY(1.6px); } }
@keyframes akGlobe { to { transform: rotate(360deg); } }

/* ═══ Cruises — coming-soon placeholder (site + app) ═══ */
.cruises-soon { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(40px, 8vw, 90px) 20px; }
.cruises-soon img { width: clamp(96px, 14vw, 150px); height: auto; display: block; margin-bottom: 22px;
  filter: drop-shadow(0 12px 26px rgba(20,18,30,.22)); animation: cruiseBob 4s ease-in-out infinite; }
@keyframes cruiseBob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.cruises-soon h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: -.03em; line-height: 1.04; color: var(--ink); margin: 0; max-width: 16ch; text-wrap: balance; }
.cruises-soon p { color: var(--ink-2); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; margin: 16px 0 0; max-width: 46ch; }
.cruises-soon-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.cruises-soon-actions a { text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .cruises-soon img { animation: none; } }

/* ═══ Cruise card extras (route + from-price) ═══ */
.ports { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 11px; }
.port { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.port-arrow { display: inline-flex; }
.port-arrow svg { width: 11px; height: 11px; stroke: var(--ink-3); fill: none; }
.ccard .scard-price .from { font-size: 12px; color: var(--ink-3); font-weight: 600; align-self: center; margin-right: 1px; }
.ccard .scard-photo { aspect-ratio: 4 / 3.25; }

/* ═══ Scout chat — minimal, centered composer → docks on first message ═══ */
.scout-screen { max-width: 760px; width: 100%; margin: 0 auto; padding: 0 16px;
  height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; }
.scout-screen.is-empty { justify-content: center; }
.scout-offline { padding: 11px 15px; margin: 14px 0 0; border-color: var(--gold);
  display: flex; gap: 10px; align-items: center; }
.scout-welcome { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 6vh; }
.scout-welcome-mascot { margin: 0 auto 14px; filter: drop-shadow(0 16px 22px rgba(90,71,224,.22)); -webkit-user-select: none; user-select: none; }
@media (prefers-reduced-motion: no-preference) {
  .scout-welcome-mascot { animation: smBob 4.5s ease-in-out infinite; }
}
.scout-welcome-hl { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -.03em; line-height: 1.04; color: var(--ink); margin: 0 0 12px; }
.scout-welcome-sub { color: var(--ink-2); font-size: clamp(14.5px, 1.4vw, 16px); line-height: 1.5;
  max-width: 42ch; margin: 0 0 28px; }
@media (prefers-reduced-motion: no-preference) {
  .scout-welcome-hl { animation: akRise .55s cubic-bezier(.2,.7,.3,1) both; }
  .scout-welcome-sub { animation: akRise .55s cubic-bezier(.2,.7,.3,1) .06s both; }
}
.scout-thread { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; padding: 18px 2px 18px; }

/* animated radar orb + quick-start chips (empty state) */
.scout-orb { position: relative; width: 64px; height: 64px; margin: 0 auto 22px; display: grid; place-items: center; }
.scout-orb .core { width: 56px; height: 56px; border-radius: 50%; z-index: 2; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--violet), var(--cyan)); box-shadow: 0 12px 30px -8px color-mix(in srgb, var(--violet) 70%, transparent); }
.scout-orb .r1, .scout-orb .r2 { position: absolute; inset: 4px; border-radius: 50%; border: 1.5px solid var(--violet); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .scout-orb .r1 { animation: scoutPing 2.6s ease-out infinite; }
  .scout-orb .r2 { animation: scoutPing 2.6s ease-out infinite 1.3s; }
  .scout-orb .core { animation: scoutFloat 4s ease-in-out infinite; }
}
@keyframes scoutPing { 0% { transform: scale(.7); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes scoutFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.scout-suggest { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 22px; max-width: 540px; }
.scout-chip { border: 1px solid var(--hair); background: var(--panel-2); color: var(--ink-2); border-radius: 999px;
  padding: 9px 15px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: transform .18s, border-color .18s, color .18s, box-shadow .2s;
  opacity: 0; animation: akRise .5s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: calc(.18s + var(--i) * .07s); }
.scout-chip:hover { color: var(--ink); border-color: var(--violet); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Scout reply rows get an adventurer avatar (pose reacts to the text) */
.scout-row { display: flex; align-items: flex-start; gap: 7px; }
.scout-av { position: relative; flex: none; width: 40px; height: 56px; margin-top: -2px; }
.scout-av-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: right bottom;
  filter: drop-shadow(0 6px 9px rgba(90,71,224,.24)); -webkit-user-select: none; user-select: none; }
.scout-av-img.av-out { animation: scoutAvOut .5s ease forwards; }
.scout-av-img.av-in { animation: scoutAvIn .5s ease forwards; }
@keyframes scoutAvOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.82) translateY(3px); } }
@keyframes scoutAvIn { from { opacity: 0; transform: scale(.82) translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .scout-av-img.av-out { display: none; } .scout-av-img.av-in { animation: none; } }
.scout-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.scout-row .cb-orb { display: none !important; }
.scout-row .cbubble { gap: 0; }
/* Scout's proposed stays/experiences: smaller cards, horizontal scroll */
.scout-offers { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; padding: 2px 2px 8px; margin: 2px -2px 0;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scout-offers::-webkit-scrollbar { display: none; }
.scout-offers .offercard { flex: none; width: 156px; scroll-snap-align: start; }
.scout-offers .oc-photo .photo { height: 94px !important; }
.scout-offers .oc-badge .badge-match { font-size: 10px; padding: 3px 7px; }
.scout-offers .oc-body { padding: 9px 10px 11px; }
.scout-offers .oc-title { font-size: 12.5px; line-height: 1.25; }
.scout-offers .oc-reason { font-size: 11px; line-height: 1.35; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scout-offers .oc-body .row[style*="space-between"] { margin-top: 8px !important; }
.scout-offers .offercard .price { font-size: 15px !important; }
.scout-offers .oc-body .dim { font-size: 11px !important; }
.scout-row-body .bubble, .scout-row-body .msg { margin-left: 0 !important; }

/* ═══ header search dropdowns (Where / When / Who) ═══ */
.shead, .morph-search { overflow: visible; }
.sb { position: relative; }
.sb-input { border: 0; background: transparent; outline: none; font: inherit; font-size: 14px; color: var(--ink); width: 160px; max-width: 42vw; padding: 0; }
.sb-cell.sb-active .sf-lab { color: var(--violet-2); }
.sb-pop { position: absolute; top: calc(100% + 14px); background: var(--panel-2); border: 1px solid var(--hair); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 90; }
@keyframes sbPop { from { opacity: 0; transform: translateY(-6px); } }
.sb-where-pop { left: 0; min-width: 290px; }
.sb-when-pop { left: 50%; transform: translateX(-50%); }
.sb-who-pop { right: 0; min-width: 280px; padding: 4px 16px; }
.sb-opt { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: none; border: 0; border-radius: 12px; padding: 9px 10px; cursor: pointer; transition: background .15s; }
.sb-opt:hover { background: var(--hair-2); }
.sb-opt-ic { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet-2); }
.sb-opt-ic.air { background: var(--cyan-soft); color: var(--cyan-2); }
.sb-opt-tx { display: flex; flex-direction: column; min-width: 0; }
.sb-opt-tx b { font-size: 14px; color: var(--ink); }
.sb-opt-tx small { font-size: 12px; color: var(--ink-3); }
.sb-empty { padding: 14px; color: var(--ink-3); font-size: 13px; text-align: center; }
.cal { width: 300px; max-width: 86vw; }
.sb-when-pop .cal { display: block; gap: 0; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; }
.cal-head b { font-family: var(--font-display); font-size: 15px; }
.cal-nav { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--hair); background: var(--panel-2); color: var(--ink); font-size: 16px; cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-dow { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; padding: 0 0 4px; }
.cal-dow span { text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-3); }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.cal-empty { aspect-ratio: 1; }
.cal-day { aspect-ratio: 1; border: 0; background: none; border-radius: 9px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; transition: background .14s; }
.cal-day .cd-n { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.cal-day .cd-p { font-size: 8.5px; font-weight: 700; font-style: normal; line-height: 1; }
.cal-day:hover:not(.past):not(.sel) { background: var(--hair-2); }
.cal-day.past { opacity: .32; cursor: default; }
.cal-day.t-lo .cd-p { color: #1E9E63; }
.cal-day.t-mid .cd-p { color: #D98A12; }
.cal-day.t-hi .cd-p { color: #D9536B; }
.cal-day.inr { background: var(--violet-soft); border-radius: 0; }
.cal-day.sel { background: linear-gradient(180deg, var(--violet), var(--violet-2)); }
.cal-day.sel .cd-n, .cal-day.sel .cd-p { color: #fff; }
.cal-legend { display: flex; gap: 14px; justify-content: center; padding: 10px 0 4px; }
.cal-legend .lg { font-size: 11px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.cal-legend .lg::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.cal-legend .lo::before { background: #1E9E63; }
.cal-legend .mid::before { background: #D98A12; }
.cal-legend .hi::before { background: #D9536B; }
.cal-hint { text-align: center; font-size: 12px; color: var(--ink-3); padding: 8px 4px 4px; }
.who-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; }
.who-tx b { font-size: 14.5px; display: block; }
.who-tx small { font-size: 12px; color: var(--ink-3); }
.who-divide { height: 1px; background: var(--hair); }
.who-step { display: inline-flex; align-items: center; gap: 12px; }
.who-step button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hair); background: var(--panel-2); color: var(--ink); font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: border-color .15s, color .15s; }
.who-step button:hover:not(:disabled) { border-color: var(--violet); color: var(--violet-2); }
.who-step button:disabled { opacity: .35; cursor: default; }
.who-step span { min-width: 18px; text-align: center; font-weight: 700; font-size: 14px; }
@media (max-width: 600px) {
  .sb-where-pop, .sb-who-pop { left: 8px; right: 8px; min-width: 0; transform: none; }
  .sb-when-pop { left: 50%; }
  .sb-input { width: 100%; max-width: none; }
}
.scout-aike { margin: 0 auto 18px; }
.scout-screen.is-empty .scout-aike { margin-bottom: 0; }
/* once the conversation starts, the composer drops down quickly into its docked spot */
.scout-screen:not(.is-empty) .scout-aike { animation: scoutDock .32s cubic-bezier(.4,0,.2,1) both; }
@keyframes scoutDock { from { transform: translateY(-54px); opacity: .35; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scout-screen:not(.is-empty) .scout-aike { animation: none; } }
@media (max-width: 860px) {
  .scout-screen { height: calc(100vh - var(--nav-h) - 80px - env(safe-area-inset-bottom)); }
  /* sit just above the bottom tab bar */
  .scout-screen:not(.is-empty) .scout-aike { margin-bottom: 6px; }
}

/* ═══ morphing page header: search at top ⇄ nav tabs on scroll ═══ */
.shead.pagehdr .shead-top { height: 76px; }
.shead.pagehdr .cats {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -36%);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .45s cubic-bezier(.3,1.1,.4,1); }
.shead.pagehdr.compact .cats { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.shead.pagehdr .morph-search {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(580px, 56vw); height: 50px; box-shadow: var(--shadow-md);
  opacity: 1; pointer-events: auto;
  transition: opacity .3s ease, transform .45s cubic-bezier(.3,1.1,.4,1); }
.shead.pagehdr.compact .morph-search { opacity: 0; pointer-events: none; transform: translate(-50%, -66%); }
@media (max-width: 860px) {
  .shead.pagehdr .morph-search { left: 12px; right: 12px; width: auto; transform: translateY(-50%); top: 50%; }
  .shead.pagehdr.compact .morph-search { transform: translateY(-66%); }
  .shead.pagehdr .shead-actions { display: flex; }
  .shead.pagehdr.compact .cats { transform: translate(-50%, -50%); }
}

/* ═══ category sections (animated rows) ═══ */
.catalog { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 60px); }
.xsec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.xsec-titlewrap { min-width: 0; }
.xsec-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(23px, 2.7vw, 32px); letter-spacing: -.025em; color: var(--ink); margin: 0; line-height: 1; }
.xsec-sub { color: var(--ink-2); font-size: 14px; margin: 6px 0 0; }
.xsec-nav { display: flex; gap: 8px; flex: none; }
.rownav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair); background: var(--panel);
  color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: border-color .18s, color .18s, transform .18s, opacity .25s; }
.rownav svg { width: 17px; height: 17px; }
.rownav.prev svg { transform: rotate(180deg); }
.rownav:hover { border-color: var(--violet); color: var(--violet-2); transform: translateY(-1px); }
.rownav.dim { opacity: .3; pointer-events: none; }
@media (max-width: 620px) { .xsec-nav { display: none; } }

.row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px 2px 18px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.row::-webkit-scrollbar { display: none; }
.row .scard { flex: 0 0 clamp(196px, 60vw, 220px); scroll-snap-align: start; }

/* ── compact, rounded competitor-style cards (Airbnb / Trivago) ── */
.row { gap: 16px; }
.scard:not(.xl) { border-radius: 18px; box-shadow: 0 10px 28px -22px rgba(44,34,110,.5); }
.scard:not(.xl):hover { transform: translateY(-4px); }
.scard:not(.xl) .scard-photo { aspect-ratio: 5 / 4; }
.scard:not(.xl) .scard-body { padding: 11px 13px 13px; }
.scard:not(.xl) .scard-top { gap: 8px; }
.scard:not(.xl) .scard-title { font-size: 14px; line-height: 1.22;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard:not(.xl) .scard-rate { font-size: 12px; gap: 3px; }
.scard:not(.xl) .scard-rate svg { width: 12px; height: 12px; }
.scard:not(.xl) .scard-meta { font-size: 12px; margin-top: 4px; gap: 4px 7px; }
.scard:not(.xl) .xmeta-row { font-size: 11.5px; gap: 5px 10px; margin-top: 6px; }
.scard:not(.xl) .xmeta-row svg { width: 12px; height: 12px; }
.scard:not(.xl) .scard-reason { display: none; }
.scard:not(.xl) .amen-tags { display: none; }
.scard:not(.xl) .badge-match { display: none; }
.scard:not(.xl) .scard-foot { margin-top: 10px; padding-top: 0; border-top: 0; }
.scard:not(.xl) .scard-foot .book { display: none; }
.scard:not(.xl) .scard-price .amt { font-size: 17px; }
.scard:not(.xl) .scard-price .per { font-size: 11.5px; }
.scard:not(.xl) .oc-fav { width: 30px; height: 30px; top: 9px; right: 9px; }
.scard:not(.xl) .oc-fav svg { width: 15px; height: 15px; }
.scard:not(.xl) .ribbon,
.scard:not(.xl) .deal-rib,
.scard:not(.xl) .xcat { font-size: 10px; padding: 3px 8px; top: 9px; left: 9px; }
.scard:not(.xl) .scard-ph .tagcity { left: 11px; bottom: 9px; font-size: 10px; }

/* ═══ featured hero + deals + richer motion ═══ */
.reveal { transform: translateY(22px) scale(.985); }
.reveal.in { transform: none; transition: opacity .65s ease, transform .7s cubic-bezier(.2,.7,.3,1); }

/* hover sheen sweep on every card photo */
.scard-photo::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.22) 48%, transparent 60%);
  transform: translateX(-130%); transition: transform .8s cubic-bezier(.4,0,.2,1); }
.scard:hover .scard-photo::after { transform: translateX(130%); }

/* struck price · deal ribbon · eyebrow */
.was { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-3); font-size: 13.5px; font-weight: 600; margin-right: 3px; }
.deal-rib { position: absolute; top: 11px; left: 11px; z-index: 5; font-family: var(--font-display); font-weight: 800;
  font-size: 13px; letter-spacing: -.01em; color: #fff; padding: 5px 11px; border-radius: 999px;
  background: linear-gradient(110deg, var(--gold-2) 0%, var(--gold) 42%, #FFE6A6 50%, var(--gold) 58%, var(--gold-2) 100%);
  background-size: 240% 100%; animation: ribShimmer 3.4s linear infinite; box-shadow: 0 6px 16px -6px var(--gold-2); }
@keyframes ribShimmer { to { background-position: -240% 0; } }
.scard-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 7px; display: inline-block; }

/* deals row — larger cards */
.lg-row { gap: 22px; }
.lg-row .scard { flex: 0 0 clamp(300px, 84vw, 366px); }
.scard.lg .scard-photo { aspect-ratio: 4 / 3.3; }
.scard.lg .scard-title { font-size: 18.5px; }

/* hero feature card (editorial, animated) */
.hero-sec .xsec-head { margin-bottom: 16px; }
.hero-wrap { width: 100%; }
.scard.xl { display: grid; grid-template-columns: 1.08fr .92fr; cursor: pointer; }
.scard.xl .scard-photo { aspect-ratio: auto; height: 100%; min-height: 360px; }
.scard.xl .scard-ph { background-size: 180% 180% !important; animation: gradDrift 17s ease-in-out infinite; }
@keyframes gradDrift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.scard.xl .scard-body { padding: clamp(22px, 3vw, 42px); display: flex; flex-direction: column; justify-content: center; }
.scard.xl .scard-title { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 42px); line-height: 1.04; letter-spacing: -.03em; }
.scard.xl .scard-rate { font-size: 15px; }
.scard.xl .scard-reason { font-size: 15px; line-height: 1.55; max-width: 46ch; margin-top: 12px; min-height: 0; }
.scard.xl .scard-meta { margin-top: 10px; font-size: 13.5px; }
.scard.xl .amen-tags { margin-top: 12px; }
.scard.xl .scard-foot { margin-top: 20px; padding-top: 18px; }
.scard.xl .scard-price .amt { font-size: 27px; }
.scard.xl .scard-foot .cta { padding: 12px 22px; font-size: 14px; }
@media (max-width: 760px) {
  .scard.xl { grid-template-columns: 1fr; }
  .scard.xl .scard-photo { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .scard.xl .scard-ph { animation: none; }
  .deal-rib { animation: none; }
  .scard-photo::after { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   Scout — first-run onboarding (shows once, in the Scout section)
   ═══════════════════════════════════════════════════════════════════ */
.scout-onboard { position: fixed; inset: 0; z-index: 88; display: grid; place-items: center; padding: 18px; }
.ob-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 38%, transparent);
  -webkit-backdrop-filter: blur(3px) saturate(108%); backdrop-filter: blur(3px) saturate(108%);
  animation: obFade .32s ease both; }
.ob-card { position: relative; z-index: 1; width: min(360px, 100%);
  background: var(--panel-2); border: 1px solid var(--hair); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 28px 24px 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  animation: obRise .44s cubic-bezier(.2,.7,.3,1) both; }
.ob-skip { position: absolute; top: 14px; right: 14px; border: 0; background: transparent;
  color: var(--ink-3); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px 7px; border-radius: 8px; }
.ob-skip:hover { color: var(--ink); background: var(--hair-2); }

.ob-stage { min-height: 192px; height: auto; width: 100%; display: grid; place-items: center; margin-bottom: 10px; }
.ob-stage > * { animation: obPop .5s cubic-bezier(.2,.7,.3,1) both; }
.ob-title { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -.025em;
  color: var(--ink); margin: 0 0 8px; animation: akRise .46s cubic-bezier(.2,.7,.3,1) both; }
.ob-sub { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0; max-width: 31ch;
  animation: akRise .46s cubic-bezier(.2,.7,.3,1) .05s both; }

.ob-foot { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 24px; }
.ob-dots { display: flex; gap: 7px; }
.ob-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: var(--hair);
  cursor: pointer; transition: background .22s, width .28s cubic-bezier(.3,1.1,.4,1); }
.ob-dot.on { width: 21px; border-radius: 4px; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.ob-next { gap: 7px; }

@keyframes obFade { from { opacity: 0; } }
@keyframes obRise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes obPop  { from { opacity: 0; transform: scale(.9); } }

/* step visuals */
.ob-orb { transform: scale(1.2); }
.ob-ask { width: 100%; max-width: 296px; display: flex; flex-direction: column; gap: 14px; }
.ob-userbubble { align-self: flex-end; max-width: 84%; color: #fff; font-size: 13.5px; line-height: 1.4;
  padding: 11px 15px; border-radius: 17px 17px 5px 17px; box-shadow: var(--shadow-sm);
  background: linear-gradient(180deg, var(--violet), var(--violet-2));
  animation: obSlideR .55s cubic-bezier(.2,.7,.3,1) .12s both; }
.ob-composer { display: flex; align-items: center; gap: 10px; border: 1px solid var(--hair);
  background: var(--panel-2); border-radius: 17px; padding: 11px 11px 11px 16px; box-shadow: var(--shadow-sm);
  animation: akRise .5s cubic-bezier(.2,.7,.3,1) .24s both; }
.ob-ph { flex: 1; text-align: left; color: var(--ink-3); font-size: 13.5px; }
.ob-caret { color: var(--violet); font-weight: 700; animation: obBlink 1s steps(1) infinite; }
.ob-send { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff;
  flex: none; background: linear-gradient(180deg, var(--gold), var(--gold-2)); }
@keyframes obBlink { 50% { opacity: 0; } }
@keyframes obSlideR { from { opacity: 0; transform: translateX(16px); } }

.ob-offer { width: 100%; max-width: 264px; overflow: hidden; text-align: left;
  border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--panel-2); box-shadow: var(--shadow-sm); }
.ob-offer-photo { position: relative; }
.ob-offer-badge { position: absolute; left: 10px; top: 10px; }
.ob-offer-body { padding: 12px 14px 14px; }
.ob-offer-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.ob-offer-reason { color: var(--ink-2); font-size: 12.5px; line-height: 1.42; margin: 4px 0 10px; }
.ob-offer-foot .price { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .ob-backdrop, .ob-card, .ob-stage > *, .ob-title, .ob-sub, .ob-userbubble, .ob-composer { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   Trips — animated "boarding-card" trips + animated underline heading
   ═══════════════════════════════════════════════════════════════════ */
.trips-head { margin-bottom: 22px; }
.trips-head h1 { font-size: clamp(30px, 6.5vw, 42px); line-height: 1.05; }

/* secondary pages show no category header on mobile — collapse the empty bar so
   the page title sits just under the notch instead of halfway down the screen */
@media (max-width: 860px) {
  .shead.bare .shead-top { height: auto; min-height: 0; padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 0; }
  .shead.bare .cats { display: none; }
}

/* animated underline (draws on mount, redraws on hover) — BnbScout violet */
.aul { position: relative; display: inline-block; }
.aul-text { position: relative; z-index: 1; }
.aul-svg { position: absolute; left: -3px; right: -3px; bottom: -.2em; width: calc(100% + 6px); height: .5em; overflow: visible; pointer-events: none; }
.aul-path { fill: none; stroke: var(--violet); stroke-width: 3.5; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .aul-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: aulDraw 1s cubic-bezier(.6,.1,.2,1) .3s forwards; }
  .aul:hover .aul-path { animation: aulDraw 1.05s cubic-bezier(.6,.1,.2,1); }
}
@keyframes aulDraw { to { stroke-dashoffset: 0; } }

.trip-deck { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .trip-deck { grid-template-columns: 1fr 1fr; } }
.trip-cardwrap { perspective: 1400px; }
@media (prefers-reduced-motion: no-preference) {
  .trip-cardwrap { opacity: 0; transform: translateY(26px);
    animation: tcIn .7s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: calc(var(--i, 0) * .09s); }
}
@keyframes tcIn { to { opacity: 1; transform: none; } }

.trip-card { position: relative; aspect-ratio: 1.586 / 1; border-radius: 20px; overflow: hidden; cursor: pointer; color: #fff;
  transform-style: preserve-3d; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s;
  box-shadow: 0 18px 42px -18px rgba(30,22,70,.5), 0 2px 6px rgba(0,0,0,.16); }
.trip-card:hover { box-shadow: 0 34px 72px -24px rgba(40,28,110,.62), 0 3px 10px rgba(0,0,0,.22); }
.tc-bg { position: absolute; inset: 0; }
.tc-photo-stripe { position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.12) 0 14px, transparent 14px 30px); }
.tc-tint { position: absolute; inset: 0; background: linear-gradient(158deg, rgba(10,8,24,.04) 0%, rgba(10,8,24,.30) 56%, rgba(10,8,24,.64) 100%); }
.tc-sheen { position: absolute; inset: -40%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.55) 48%, rgba(180,210,255,.28) 53%, transparent 62%);
  transform: translateX(-35%); animation: tcSheen 5.5s ease-in-out infinite; }
@keyframes tcSheen { 0%,100% { transform: translateX(-38%); } 50% { transform: translateX(38%); } }
.trip-card:hover .tc-sheen { animation-duration: 1.7s; }

.tc-content { position: absolute; inset: 0; padding: clamp(15px, 4.6%, 24px); display: flex; flex-direction: column; transform: translateZ(38px); }
.tc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tc-brand { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 7px; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.tc-brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex: none; }
.tc-mid { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tc-chip { width: 44px; height: 33px; border-radius: 7px; flex: none; position: relative;
  background: linear-gradient(135deg, #F6D88A, #D9A937 58%, #B9831F);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.6), inset 0 -1px 2px rgba(0,0,0,.25); }
.tc-chip i { position: absolute; background: rgba(120,80,10,.45); }
.tc-chip i:nth-child(1) { left: 4px; right: 4px; top: 33%; height: 1.5px; }
.tc-chip i:nth-child(2) { left: 4px; right: 4px; top: 66%; height: 1.5px; }
.tc-chip i:nth-child(3) { top: 4px; bottom: 4px; left: 50%; width: 1.5px; transform: translateX(-50%); }
.tc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .94; text-shadow: 0 1px 5px rgba(0,0,0,.5); }
.tc-num { font-family: "Space Grotesk", ui-monospace, monospace; font-weight: 600; font-size: clamp(17px, 4.6vw, 23px); letter-spacing: .035em;
  margin: 9px 0 14px; text-shadow: 0 2px 7px rgba(0,0,0,.5); line-height: 1.12;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-foot { display: flex; align-items: flex-end; gap: 14px; }
.tc-field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tc-field.tc-field-r { margin-left: auto; text-align: right; flex: none; }
.tc-field label { font-size: 8.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; opacity: .72; }
.tc-field span { font-size: 13px; font-weight: 600; white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.tc-field .tc-total { font-family: var(--font-display); font-size: 15.5px; }
@media (prefers-reduced-motion: no-preference) {
  .trip-card.float { animation: tcFloat 6.5s ease-in-out infinite; }
}
@keyframes tcFloat { 0%,100% { transform: rotateX(3deg) rotateY(-4deg) translateY(0); } 50% { transform: rotateX(-2deg) rotateY(4deg) translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .tc-sheen { animation: none; }
  .trip-cardwrap { opacity: 1; transform: none; animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   Stories (Explore) + full-screen story viewer
   ═══════════════════════════════════════════════════════════════════ */
.stories-rail { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 18px; scrollbar-width: none; }
.stories-rail::-webkit-scrollbar { display: none; }
.story-cell { flex: 0 0 auto; width: 72px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: transparent; cursor: pointer; }
.story-ring { position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; padding: 3px; }
.story-ring.unseen, .story-ring.has { background: conic-gradient(from 130deg, var(--violet), var(--cyan), var(--gold), var(--violet)); }
.story-ring.seen, .story-ring.add { background: var(--hair); }
.story-cell:active .story-ring { transform: scale(.93); }
.story-ring { transition: transform .15s; }
.av-circle { border-radius: 50%; display: grid; place-items: center; overflow: hidden; border: 2.5px solid var(--bg-2); color: #fff; }
.av-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-ini { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; }
.story-add { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--violet), var(--violet-2)); color: #fff; border: 2.5px solid var(--bg); }
.story-name { font-size: 11.5px; color: var(--ink-2); font-weight: 600; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.story-viewer { position: fixed; inset: 0; z-index: 95; background: rgba(8,6,16,.82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; animation: obFade .25s ease both; }
.sv-frame { position: relative; width: 100%; height: 100%; border-radius: 0; overflow: hidden;
  background: #14141c; animation: svIn .35s cubic-bezier(.2,.7,.3,1) both; }
@keyframes svIn { from { opacity: 0; transform: scale(.94); } }
.sv-bg { position: absolute; inset: 0; }
.sv-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0 18%, transparent 32% 66%, rgba(0,0,0,.55) 100%); }
.sv-bars { position: absolute; top: max(46px, env(safe-area-inset-top, 46px)); left: 12px; right: 12px; display: flex; gap: 5px; z-index: 3; }
.sv-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.32); overflow: hidden; }
.sv-fill { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.sv-fill.done { width: 100%; }
.sv-fill.live { animation-name: svGrow; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes svGrow { from { width: 0; } to { width: 100%; } }
.sv-head { position: absolute; top: calc(max(46px, env(safe-area-inset-top, 46px)) + 16px); left: 14px; right: 14px; z-index: 4; display: flex; align-items: center; gap: 9px; color: #fff; }
.sv-head b { font-size: 14px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.sv-place { font-size: 12px; opacity: .92; display: inline-flex; align-items: center; gap: 4px; }
.sv-close { margin-left: auto; background: transparent; border: 0; color: #fff; cursor: pointer; padding: 4px; }
.sv-cap { position: absolute; left: 18px; right: 18px; bottom: max(28px, env(safe-area-inset-bottom, 28px)); z-index: 4; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.sv-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: .7; }
.sv-nav { position: absolute; top: 0; bottom: 0; z-index: 2; background: transparent; border: 0; cursor: pointer; }
.sv-prev { left: 0; width: 34%; } .sv-next { right: 0; width: 66%; }

/* ═══════════════════════════════════════════════════════════════════
   Been — passport / world dot-map
   ═══════════════════════════════════════════════════════════════════ */
.been-page { max-width: 720px; }
.bn-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bn-headtxt { min-width: 0; }
.bn-title { font-family: var(--font-display); font-size: clamp(26px, 6.5vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.bn-passport { color: var(--violet-2); }
.bn-share { flex: none; }
/* Scout mascot */
.scout-mascot { display: block; overflow: visible; -webkit-user-select: none; user-select: none; }
/* bottom-bar tab: monochrome character silhouette, tints with currentColor like the icons */
.botbar a .tab-scout { width: 27px; height: 27px; display: block; background-color: currentColor;
  -webkit-mask: url("icons/scout/proud.png") center bottom / contain no-repeat;
          mask: url("icons/scout/proud.png") center bottom / contain no-repeat;
  transition: transform .35s cubic-bezier(.3,1.2,.4,1); }
.botbar a.active .tab-scout { transform: translateY(-1px) scale(1.08); }
.botbar.mini a .tab-scout { width: 28px; height: 28px; }
/* onboarding "Meet the Scout" */
.ob-scout { height: 190px; width: auto; filter: drop-shadow(0 16px 22px rgba(90,71,224,.22)); }
/* Scout interstitial strip between listing rows */
.scout-strip { margin: 10px 0; }
.scoutstrip { display: flex; align-items: center; gap: 20px; position: relative; overflow: hidden;
  background: linear-gradient(118deg, color-mix(in srgb, var(--violet) 17%, var(--panel-2)), color-mix(in srgb, var(--violet) 7%, var(--panel-2)));
  border: 1px solid color-mix(in srgb, var(--violet) 22%, transparent); border-radius: 22px; padding: 12px 22px 12px 14px; }
.scoutstrip-mascot { height: 124px; width: auto; flex: none; margin: -16px 0 -18px; filter: drop-shadow(0 12px 16px rgba(90,71,224,.22)); -webkit-user-select: none; user-select: none; }
.scoutstrip-txt { flex: 1; min-width: 0; }
.scoutstrip-txt h2 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--ink); margin: 0 0 4px; }
.scoutstrip-txt p { color: var(--ink-2); font-size: 14px; line-height: 1.45; margin: 0; max-width: 48ch; }
.scoutstrip-cta { flex: none; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-size: 14px;
  background: linear-gradient(180deg, var(--violet), var(--violet-2)); color: #fff; padding: 11px 16px; border-radius: 12px;
  box-shadow: 0 10px 22px -10px rgba(90,71,224,.8); transition: filter .2s, transform .2s; }
.scoutstrip-cta svg { width: 16px; height: 16px; }
.scoutstrip-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
@media (prefers-reduced-motion: no-preference) {
  .scoutstrip-mascot { animation: smBob 5s ease-in-out infinite; }
}
@media (max-width: 720px) {
  .scoutstrip { gap: 12px; padding: 12px 14px; flex-wrap: wrap; }
  .scoutstrip-mascot { height: 96px; margin: -10px 0 -14px; }
  .scoutstrip-txt { order: 2; flex-basis: 0; }
  .scoutstrip-cta { order: 3; width: 100%; justify-content: center; }
}
.bn-mascot { flex: none; margin: -10px -4px -16px 0; filter: drop-shadow(0 12px 16px rgba(90,71,224,.24)); }
@media (prefers-reduced-motion: no-preference) {
  .bn-mascot { animation: smBob 4.5s ease-in-out infinite; }
  @keyframes smBob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
}
.bn-mapcard { position: relative; background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; overflow: visible; margin: 8px 0 6px; width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.bn-mapcard::before { content: none; }
.bn-map { width: 100%; height: auto; display: block; position: relative; }
.bn-dotg { cursor: pointer; }
.bn-hit { fill: transparent; }
.bn-dot { fill: color-mix(in srgb, var(--ink) 15%, transparent); transition: fill .25s; transform-origin: center; transform-box: fill-box; opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .bn-dot { animation: bnDotIn .5s ease both; animation-delay: var(--d, 0s); } }
@keyframes bnDotIn { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.bn-dotg.on .bn-dot { fill: var(--gold); filter: drop-shadow(0 0 3px color-mix(in srgb, var(--gold) 80%, transparent)); }
.bn-dotg:hover .bn-dot { fill: var(--violet); }
@media (prefers-reduced-motion: no-preference) { .bn-dotg.on .bn-dot { animation: bnPulse 2.8s ease-in-out infinite; } }
@keyframes bnPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.28); } }
.bn-ripple { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: bnRipple .62s ease-out forwards; }
@keyframes bnRipple { from { r: 3; opacity: .9; } to { r: 22; opacity: 0; } }
.bn-maphint { position: relative; text-align: center; font-size: 12px; color: var(--ink-3); font-weight: 600; margin-top: 6px; }

/* map goals / tasks */
.bn-tasks { margin: 20px 0 4px; }
.bn-tasks-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.bn-tasks-head h2 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; }
.bn-tasks-count { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--violet-2); }
.bn-tasklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bn-task { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 16px;
  border: 1px solid var(--hair); background: var(--panel-2); transition: border-color .2s, box-shadow .2s, transform .2s; }
.bn-task:hover { box-shadow: var(--shadow-sm); }
.bn-task.done { border-color: var(--gold); background: var(--gold-soft); }
.bn-task-check { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--hair); color: var(--ink-3); }
.bn-task.done .bn-task-check { background: linear-gradient(180deg, var(--gold), var(--gold-2)); border-color: transparent; color: #fff; }
.bn-task-body { flex: 1; min-width: 0; }
.bn-task-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.bn-task-row b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.bn-task-num { font-size: 12px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; flex: none; }
.bn-task.done .bn-task-num { color: var(--gold-2); }
.bn-task-bar { height: 5px; border-radius: 999px; background: var(--hair); margin-top: 8px; overflow: hidden; }
.bn-task-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--violet), var(--cyan)); transition: width .6s cubic-bezier(.3,.8,.4,1); }
.bn-task.done .bn-task-bar span { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
@media (max-width: 620px) { .bn-tasklist { grid-template-columns: 1fr; } }
/* real country map: zoomed + finger-pannable */
.bn-worldwrap { overflow: auto; -webkit-overflow-scrolling: touch; max-height: 420px; border-radius: 0; cursor: grab; touch-action: pan-x pan-y; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 18%, #000 80%, transparent 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; }
.bn-worldwrap::-webkit-scrollbar { display: none; }
.bn-worldwrap.loading { min-height: 180px; }
.bn-worldsvg { width: 360%; height: auto; display: block; }
/* soft blur veils that intensify toward the top & bottom edges, so the map
   melts into the page instead of being hard-cropped */
.bn-mapview { position: relative; }
.bn-mapview::before, .bn-mapview::after {
  content: ""; position: absolute; left: 0; right: 0; height: 84px; z-index: 3; pointer-events: none;
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.bn-mapview::before { top: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.6) 45%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.6) 45%, transparent 100%); }
.bn-mapview::after { bottom: 0;
  -webkit-mask-image: linear-gradient(to top, #000 0, rgba(0,0,0,.6) 45%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0, rgba(0,0,0,.6) 45%, transparent 100%); }
.bn-cpath { fill: color-mix(in srgb, var(--ink) 16%, transparent) !important; stroke: var(--bg); stroke-width: .4; transition: fill .2s; cursor: pointer; }
.bn-cpath:hover { fill: var(--violet) !important; }
.bn-cpath.on { fill: var(--gold) !important; }
.bn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; margin: 24px 0 4px; }
.bn-stat { text-align: center; }
.bn-stat-n { display: block; font-family: var(--font-display); font-size: clamp(24px, 7vw, 30px); font-weight: 700; color: var(--gold-2); letter-spacing: -.02em; }
.bn-stat-n.pop { animation: bnPop .42s cubic-bezier(.3,1.5,.5,1); }
@keyframes bnPop { 0% { transform: scale(1); } 40% { transform: scale(1.32); color: var(--gold); } 100% { transform: scale(1); } }
.bn-stat span { font-size: 12.5px; color: var(--ink-3); }
.bn-basis { text-align: center; font-size: 11.5px; color: var(--ink-3); margin: 10px 0 22px; }
.bn-listcard { background: var(--panel-2); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.bn-listhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bn-listhead h2 { font-family: var(--font-display); font-size: 17px; }
.bn-visited { font-size: 15px; color: var(--ink-2); }
.bn-visited .tnum { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--ink); margin-right: 4px; }
.bn-search { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; padding: 9px 13px; border: 1px solid var(--hair); border-radius: 999px; color: var(--ink-3); }
.bn-search input { flex: 1; border: 0; background: transparent; outline: none; font: inherit; font-size: 14px; color: var(--ink); }
.bn-rows { display: flex; flex-direction: column; max-height: 340px; overflow-y: auto; scrollbar-width: thin; }
.bn-row { display: flex; align-items: center; gap: 11px; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--hair-2); background: transparent; cursor: pointer; text-align: left; font: inherit; opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .bn-row { animation: akRise .4s ease both; animation-delay: var(--d, 0s); } }
.bn-row:hover { background: var(--hair-2); }
.bn-code { flex: none; width: 32px; height: 22px; border-radius: 5px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; background: var(--violet-soft); color: var(--violet-2); }
.bn-row.on .bn-code { background: var(--gold-soft); color: var(--gold-2); }
.bn-cname { flex: 1; font-weight: 600; font-size: 14px; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-cont { font-size: 11.5px; color: var(--ink-3); flex: none; }
.bn-check { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hair); color: var(--ink-3); transition: background .2s, color .2s; }
.bn-check.on { background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: #fff; border-color: transparent; }
.bn-empty { padding: 18px 0; color: var(--ink-3); font-size: 13.5px; text-align: center; }
.bn-viewall { margin-top: 10px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; cursor: pointer; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--violet-2); padding: 6px; }
.pf-ava-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ═══ in-page search results (header search filters the catalogue) ═══ */
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.results-clear { flex: none; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--hair);
  background: var(--panel); color: var(--ink-2); font: inherit; font-weight: 600; font-size: 13.5px;
  padding: 9px 15px; border-radius: 999px; cursor: pointer; transition: border-color .18s, color .18s, transform .18s; }
.results-clear::before { content: "\00d7"; font-size: 16px; line-height: 1; margin-top: -1px; }
.results-clear:hover { border-color: var(--violet); color: var(--violet-2); transform: translateY(-1px); }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: clamp(16px, 2vw, 22px); }
.results-grid .scard { flex: none; width: auto; }
.results-empty { grid-column: 1 / -1; padding: 48px 0; text-align: center; color: var(--ink-3); font-size: 15px; }
@media (max-width: 560px) { .results-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* nudge when you hit search without a destination */
@keyframes sfShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
.sf-shake { animation: sfShake .42s cubic-bezier(.36,.07,.19,.97); }
.sf-shake .sf-lab { color: var(--violet-2); }
.shead.compact .ms-mini { cursor: pointer; }
