:root{
  --white:#ffffff; --indigo:#20124d; --marigold:#ffa41b; --red:#e5262b; --teal:#00a6a6; --magenta:#d6247e;
  --muted:#5b4f80; --soft:#f3f0ff; --line:#e6e0f7;
  --t-sun:#ffe9c7; --t-teal:#d3f4f2; --t-pink:#fbdcec; --t-sky:#dcefff;
  --wrap:1180px;
  /* bottom stack: features.js writes the real tab bar / trip book bar heights (safe-area padding included); pages may raise --bottom-stack */
  --tabbar-h:0px; --bookbar-h:0px; --bottom-stack:calc(var(--tabbar-h) + var(--bookbar-h));
  --tray-h:52px; --tray-bottom:calc(var(--bottom-stack) + 8px); --tray-room:calc(var(--tray-h) + 24px);
}
*{box-sizing:border-box;margin:0}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;background:var(--white);color:var(--indigo);font-size:18px;line-height:1.35;overflow-x:clip}
html{overflow-x:clip;scroll-padding-bottom:calc(var(--bottom-stack) + 24px)} /* a focused field scrolls clear of the fixed tab bar / book bar */
button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}
:focus-visible{outline:3px solid var(--magenta);outline-offset:3px;border-radius:12px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}

/* truck-art chevron trim */
.trim{height:12px;background:
  linear-gradient(135deg,var(--red) 25%,transparent 25%) -6px 0/12px 12px,
  linear-gradient(225deg,var(--red) 25%,transparent 25%) -6px 0/12px 12px,
  linear-gradient(315deg,var(--marigold) 25%,transparent 25%) 0 0/12px 12px,
  linear-gradient(45deg,var(--marigold) 25%,var(--teal) 25%) 0 0/12px 12px}

/* ---------- header ---------- */
.top{order:1;width:100%;position:relative;z-index:5;display:flex;align-items:center;gap:18px;padding-top:30px;padding-bottom:4px}
.logo{display:inline-flex;align-items:center;background:#fff;padding:5px 10px;border-radius:12px;transform:rotate(-3deg);
  box-shadow:0 0 0 2px var(--indigo),3px 3px 0 2px var(--indigo)}
.logo img{display:block;width:104px;height:auto}
.nav{display:none;gap:6px;margin-left:auto}
.nav :is(a,button){font-weight:700;font-size:16px;padding:6px 14px;border-radius:999px;color:inherit;text-decoration:none}
.nav .on{background:#fff;color:var(--magenta)}
.me{margin-left:auto;width:38px;height:38px;border-radius:50%;background:var(--marigold);display:grid;place-items:center;font-size:20px;
  box-shadow:0 0 0 2px var(--indigo);cursor:pointer;transition:translate .15s}
.me:hover{translate:0 -2px}
.me:focus-visible{outline:3px solid var(--magenta);outline-offset:3px;border-radius:50%}

/* ---------- hero: the personality lives here ---------- */
.hero{position:relative;overflow:hidden;background:#e9f7ff;display:flex;flex-direction:column}
.bunting{position:absolute;top:0;left:0;width:100%;height:44px;z-index:2;pointer-events:none}
.bunting g{transform-origin:50% 0;animation:sway 5s ease-in-out infinite}
@keyframes sway{50%{transform:translateY(3px)}}
.sun{position:absolute;z-index:1;top:92px;right:22px;width:62px;height:62px}
.sun::before{content:"";position:absolute;inset:-20px;border-radius:50%;
  background:repeating-conic-gradient(#ffc45a 0 10deg,transparent 10deg 30deg);
  -webkit-mask:radial-gradient(circle,transparent 52%,#000 53%);mask:radial-gradient(circle,transparent 52%,#000 53%);animation:spin 40s linear infinite}
.sun::after{content:"";position:absolute;inset:0;border-radius:50%;background:var(--marigold);box-shadow:inset -6px -6px 0 #f08c00}
@keyframes spin{to{transform:rotate(360deg)}}
.hills{position:relative;order:3;height:150px;margin-top:6px;pointer-events:none;z-index:1}
.hills svg{position:absolute;left:-5%;width:110%;bottom:0;will-change:transform}
/* one landscape per place; the picked one rises in, the others sink away */
.sky{position:absolute;inset:0;opacity:0;transition:opacity .7s}
.sky.on{opacity:1}
.set > *{translate:0 110%;opacity:0;transition:translate .7s cubic-bezier(.2,1.15,.4,1),opacity .4s}
.set.on > *{translate:0 0;opacity:1}
.set.on > :nth-child(2){transition-delay:.08s}.set.on > :nth-child(3){transition-delay:.14s}.set.on > :nth-child(4){transition-delay:.2s}
.deco{position:absolute;inset:0;will-change:transform}
.deco span{position:absolute;line-height:1}
.bob{animation:bob 3.5s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(-6px) rotate(-3deg)}}
.fly{animation:fly 6s ease-in-out infinite}
@media (max-width:699px){.deco{inset:0 0 34px 0}.deco span{scale:.55;transform-origin:bottom center}.deco .fly{display:none}}
@keyframes fly{50%{transform:translate(14px,-10px)}}

.hero-in{display:contents}
.copy{order:2;position:relative;z-index:3;padding:22px 20px 0}
.hero-in>*{min-width:0}
.copy h1{font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:42px;line-height:1.05;max-width:12ch;text-wrap:balance}
.copy p{margin-top:10px;font-weight:700;font-size:18px;max-width:24ch}
.sign{display:inline-block;margin-top:14px;font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:15px;color:#fff;background:var(--red);
  padding:3px 12px 1px;border-radius:8px;transform:rotate(-2deg);box-shadow:0 0 0 2px #fff,0 0 0 4px var(--red)}

/* the search panel: light, floating */
.panel{background:#fff;border-radius:26px;padding:16px;box-shadow:0 18px 40px -22px #20124d55,0 0 0 1px var(--line);order:4;position:relative;z-index:3;margin:-34px 20px 28px}
.ask{font-weight:800;font-size:16px}
.picks{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:8px 0 16px}
.pick{position:relative;padding:12px 4px 10px;border-radius:18px;text-align:center;font-weight:700;font-size:15px;line-height:1.1;
  border:2px solid transparent;transition:transform .35s cubic-bezier(.3,1.7,.5,1),background .2s,border-color .2s,box-shadow .2s}
.pick .em{font-size:32px;display:block;line-height:1.2;margin-bottom:4px}
.pick:nth-child(1){background:var(--t-sun)}.pick:nth-child(2){background:var(--t-sky)}
.pick:nth-child(3){background:var(--t-pink)}.pick:nth-child(4){background:var(--t-teal)}
.pick:hover{transform:translateY(-3px) rotate(-2deg)}
.pick[aria-pressed="true"]{background:#fff;border-color:var(--magenta);transform:translateY(-4px) rotate(-3deg);box-shadow:0 10px 18px -10px #d6247e88}
.pick[aria-pressed="true"]::after{content:"✓";position:absolute;top:6px;right:6px;background:var(--magenta);color:#fff;
  width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:800}
/* when: the next three months as chips, then a month sheet for anything further out */
.when{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:8px;margin-top:8px;padding:2px 0 4px}
.month{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 12px;border-radius:999px;font-weight:700;font-size:16px;white-space:nowrap;border:1.5px solid var(--line);background:#fff;transition:background .2s,color .2s,border-color .2s}
.month:hover:not(:disabled){border-color:var(--indigo)}
.month.on{background:var(--indigo);border-color:var(--indigo);color:#fff}
.month:disabled{color:#b7aed3;border-style:dashed;cursor:not-allowed}
.month.more[aria-expanded="true"]:not(.on){border-color:var(--indigo);background:var(--soft)}
.month .caret{width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;rotate:45deg;translate:0 -2px;margin-left:4px;transition:rotate .2s,translate .2s}
.month[aria-expanded="true"] .caret{rotate:225deg;translate:0 2px}
/* the sheet drops open in place, pushing the search button down */
.msheet{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s cubic-bezier(.3,1.2,.5,1)}
.msheet.open{grid-template-rows:1fr}
.msheet-in{overflow:hidden;min-height:0;padding:0 5px}
.msheet:not(.open) .msheet-in{visibility:hidden;transition:visibility 0s .3s}
.msheet-card{margin:12px 0 10px;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 0 0 2px var(--indigo),4px 4px 0 2px var(--marigold)}
.msheet-body{padding:12px 14px 14px}
.m-year{font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:20px;line-height:1;color:var(--indigo);margin:6px 0 8px}
.m-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
.m-tile{display:flex;flex-direction:column;align-items:center;gap:2px;padding:9px 2px 7px;border-radius:14px;border:2px solid transparent;font-weight:800;font-size:17px;line-height:1.05;color:var(--indigo);
  transition:transform .3s cubic-bezier(.3,1.7,.5,1),border-color .2s,background .2s}
.m-tile small{font-size:12px;font-weight:700;color:var(--muted)}
/* tint = the Indian travel season: winter, summer, monsoon, festive */
.m-tile.winter{background:var(--t-sky)}.m-tile.summer{background:var(--t-sun)}.m-tile.monsoon{background:var(--t-teal)}.m-tile.festive{background:var(--t-pink)}
.m-tile:hover:not(:disabled){transform:translateY(-2px) rotate(-3deg);border-color:var(--indigo)}
.m-tile.on{background:var(--indigo);color:#fff;transform:rotate(-3deg)}
.m-tile.on small{color:#d9d2f5}
.m-tile:disabled{background:none;border:2px dashed var(--line);color:#b7aed3;cursor:not-allowed}
.m-tile:disabled small{color:#b7aed3}
.msheet.open .m-tile{animation:tilePop .4s cubic-bezier(.3,1.7,.5,1) both;animation-delay:calc(var(--i)*18ms)}
@keyframes tilePop{from{opacity:0;transform:scale(.7) rotate(-8deg)}}
.m-foot{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:12px;border-top:2px dashed var(--line)}
.m-foot p{flex:1 1 160px;font-size:13px;font-weight:700;color:var(--muted);line-height:1.35}
.m-any{min-height:40px;padding:0 14px;border-radius:999px;font-weight:800;font-size:15px;border:1.5px solid var(--indigo);background:#fff;color:var(--indigo)}
.m-any.on{background:var(--indigo);color:#fff}
@media (max-width:380px){.month{padding:0 8px;font-size:15px}.m-grid{grid-template-columns:repeat(3,1fr)}}
/* buttons: one look per purpose, used the same way everywhere
   search  = indigo solid    (find trips)
   book    = red solid       (spend money: the strongest action)
   look    = marigold solid  (open a trip to read more)
   notify  = marigold soft   (tell me later)                       */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 16px;border-radius:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-weight:800;font-size:17px;line-height:1.2;white-space:nowrap;transition:translate .15s,background .2s,box-shadow .15s}
/* every call to action wears the card's sticker accent: a 2px indigo outline and a hard offset shadow that it sinks into when pressed */
.btn{--ol:var(--indigo);--sh:var(--indigo);box-shadow:0 0 0 2px var(--ol),3px 3px 0 2px var(--sh)}
.btn:hover{translate:-1px -1px;box-shadow:0 0 0 2px var(--ol),4px 4px 0 2px var(--sh)}
.btn:active{translate:2px 2px;box-shadow:0 0 0 2px var(--ol),1px 1px 0 2px var(--sh)}
.btn-search{background:var(--indigo);color:#fff;--sh:var(--marigold)}
.btn-search:hover{background:#34216e}
.btn-book{background:var(--red);color:#fff}
.btn-book:hover{background:#c91d22}
.btn-look{background:var(--marigold);color:var(--indigo)}
.btn-look:hover{background:#ffb648}
/* "Back" links move you backwards, not forwards: same sticker accent, white fill, so they never outshine the real next step */
.btn-look.back{background:#fff}.btn-look.back:hover{background:var(--soft)}
.btn-notify{background:var(--t-sun);color:#7a4100;--ol:var(--marigold);--sh:var(--marigold)}
.btn-notify:hover{background:#ffdca6}
.find{display:flex;width:100%;margin-top:16px;padding:13px;font-size:20px}

/* ---------- sticky road: the truck drives as you scroll ---------- */
.roadwrap{position:sticky;top:env(safe-area-inset-top,0px);z-index:6;background:var(--indigo)}
.roadwrap .wrap{padding-top:6px;padding-bottom:6px}
.road{position:relative;height:30px}
.road::before{content:"";position:absolute;left:0;right:0;top:50%;height:3px;background:repeating-linear-gradient(90deg,#fff 0 14px,transparent 14px 24px)}
.truck{position:absolute;top:0;left:0;font-size:26px;line-height:30px;transform:scaleX(-1)}

/* ---------- results ---------- */
section.wrap{padding-top:34px;padding-bottom:8px}
h2{font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:30px;line-height:1.05}
.sub{color:var(--muted);font-weight:500;margin-top:4px}

.trips{display:grid;gap:22px;margin-top:22px}
.card{position:relative;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 0 0 2px var(--indigo),4px 5px 0 2px var(--indigo)}
.card .in2{padding:12px 14px 14px}
.thumb{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-size:30px;flex:none;border:2px dashed var(--indigo)}
.trip .top2{display:flex;gap:12px;align-items:center}
.trip h3{font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:22px;line-height:1.05}
.who{font-size:15px;color:var(--muted);font-weight:500}
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px;text-align:center}
.facts div{background:var(--soft);border-radius:12px;padding:5px 2px;font-size:13px;color:var(--muted);line-height:1.2}
.facts b{display:block;color:var(--indigo);font-size:16px}
.dots{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}
.dot{width:18px;height:18px;border-radius:50%;background:#e9e4f8;transition:background .3s,transform .4s cubic-bezier(.3,1.8,.5,1)}
.dot.go-line{box-shadow:0 0 0 2px var(--teal) inset}
.dot.f{background:var(--teal)}
.dot.f.pop{transform:scale(1.3)}
.status{display:inline-block;margin-top:10px;padding:2px 12px;border-radius:12px;font-weight:800;font-size:15px}
.s-go{background:var(--t-teal);color:#00706f}.s-wait{background:var(--t-sun);color:#9a5300}.s-full{background:var(--soft);color:var(--muted)}
.foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:10px}
.price{font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:26px;line-height:1}
.price small{display:block;font-family:Inter;font-size:13px;color:var(--muted);font-weight:500}

/* other bookable trips that miss the selected filters */
.row-h{display:flex;align-items:center;gap:8px;margin-top:24px;font-weight:800;font-size:19px}
.row-h .em{font-size:22px}
.switch{margin-left:auto;padding:10px 2px;font-size:14px;font-weight:800;color:var(--indigo);white-space:nowrap;text-decoration:underline;text-underline-offset:3px}
.swipe{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x pan-y;margin:0 -20px;padding:14px 26px 20px 20px;scroll-padding-inline:20px;scroll-snap-type:x mandatory;scrollbar-width:none}
.swipe::-webkit-scrollbar{display:none}
.mini{flex:0 0 72%;max-width:250px;scroll-snap-align:start}
.mini .trim{height:9px;background-size:9px 9px}
.mini .in2{padding:10px 12px 12px}
.mini .thumb{width:46px;height:46px;font-size:24px}
.mini h3{font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:19px;line-height:1.05;margin-top:8px}
.mini h3 a{display:inline-block;padding-block:12px;margin-block:-8px -12px;line-height:20px} /* 44px to tap */
.miss{display:inline-block;margin-top:8px;padding:1px 10px;border-radius:10px;font-weight:800;font-size:14px;background:var(--t-sun);color:#8a4b00}
.when2{font-size:15px;font-weight:700;margin-top:6px}
.bar2{height:9px;border-radius:999px;background:#e9e4f8;margin-top:8px;overflow:hidden}
.bar2 i{display:block;height:100%;width:0;background:var(--teal);border-radius:999px;transition:width 1s cubic-bezier(.2,1,.3,1)}
.seats{font-size:13px;color:var(--muted);font-weight:700;margin-top:3px}
.mini .foot{flex-direction:column;align-items:stretch;gap:8px;margin-top:8px}
.mini .price{font-size:21px}

/* "view all" sign: a painted truck-back board */
.viewall{display:block;max-width:600px;margin:44px auto 0;background:var(--marigold);color:var(--indigo);text-decoration:none;border-radius:22px;overflow:hidden;
  transform:rotate(-1.5deg);box-shadow:0 0 0 3px var(--indigo),6px 7px 0 3px var(--indigo);transition:transform .35s cubic-bezier(.3,1.7,.5,1),box-shadow .2s}
.viewall:hover{transform:rotate(0) scale(1.03)}
.viewall:active{transform:scale(.98);box-shadow:0 0 0 3px var(--indigo),2px 2px 0 3px var(--indigo)}
.viewall .trim{display:block;height:10px;background-size:10px 10px}
.va-in{display:flex;align-items:center;gap:14px;padding:14px 18px}
.va-truck{font-size:42px;line-height:1;transform:scaleX(-1);animation:idle 1.2s ease-in-out infinite}
@keyframes idle{50%{transform:scaleX(-1) translateY(-2px) rotate(2deg)}}
.viewall:hover .va-truck{animation:vroom .6s ease-in-out infinite}
@keyframes vroom{50%{transform:scaleX(-1) translateX(-6px)}}
.va-text{flex:1;min-width:0}
.va-text b{display:block;font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:25px;line-height:1.05}
.va-text small{display:block;font-weight:700;font-size:15px;color:#6b3a00}
.va-go{flex:none;background:var(--indigo);color:#fff;font-weight:800;font-size:15px;border-radius:999px;padding:6px 12px;transform:rotate(3deg)}
@media (max-width:420px){.va-go{display:none}.va-text b{font-size:22px}}
#results{scroll-margin-top:64px}
.empty{margin-top:22px;padding:22px;border-radius:22px;background:var(--soft);text-align:center}
.empty .big{font-size:44px}
.empty p{font-weight:700;margin:6px 0 14px}

.horn{text-align:center;padding:26px 16px 30px;font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:28px;color:var(--red)}
.horn small{display:block;font-family:Inter;font-size:15px;color:var(--muted);font-weight:500}

.site-foot{padding:0 20px 28px;text-align:center;font-size:15px;color:var(--muted)}
.site-foot .honest{max-width:62ch;margin:0 auto 10px;font-weight:500}
.site-foot nav{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 8px}
.site-foot a,.site-foot button{min-height:44px;display:inline-flex;align-items:center;padding:0 12px;border-radius:12px;color:var(--indigo);font:inherit;font-weight:800;
  text-decoration:underline;text-underline-offset:3px;background:none;border:0;cursor:pointer}
.site-foot a:hover,.site-foot button:hover{background:var(--soft)}
.tabbar{position:sticky;bottom:0;z-index:7;display:flex;justify-content:space-around;background:#fff;padding:8px 6px calc(12px + env(safe-area-inset-bottom,0px));border-top:2px solid var(--line)}
.tab{text-align:center;font-weight:800;font-size:14px;color:inherit;text-decoration:none}
.tab i{font-style:normal;font-size:24px;display:block}
.tab.on{color:var(--magenta)}

/* scroll reveal: stickers slap onto the page (always visible, so a fast scroll never shows a hole) */
.slap{transform:scale(.88) rotate(var(--r,-6deg));transition:transform .45s cubic-bezier(.25,1.7,.5,1)}
.slap.in{opacity:1;transform:none}
@keyframes wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-10deg)}75%{transform:rotate(10deg)}}
.wiggle{animation:wiggle .35s}

/* ---------- tablet ---------- */
@media (min-width:700px){
  .trips{grid-template-columns:repeat(2,1fr)}
  .copy h1{font-size:50px}
  .hero{display:block}
  .hills{position:absolute;left:0;right:0;bottom:0;height:200px;margin:0}
  .hero-in{display:grid;gap:26px;position:relative;z-index:3;padding-top:24px;padding-bottom:150px}
  .hero-in>*{min-width:0}
  .copy{padding:0}
  .panel{margin:0}
}
/* ---------- desktop ---------- */
@media (min-width:980px){
  .nav{display:flex}
  .me{margin-left:8px}
  .tabbar{display:none}
  .hero-in{grid-template-columns:1fr 470px;align-items:start;gap:56px;padding-top:48px;padding-bottom:190px}
  .copy h1{font-size:60px;max-width:12ch}
  .copy p{font-size:21px}
  .sun{top:230px;right:auto;left:calc(50% - 70px);width:92px;height:92px}
  .sun::before{inset:-28px}
  .hills{height:190px}
  .panel{padding:22px}
  .pick .em{font-size:38px}
  .trips{grid-template-columns:repeat(3,1fr)}
  .swipe{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible;margin:0;padding:14px 0 6px}
  .mini{max-width:none}
  .mini .foot{flex-direction:row;align-items:center}
  section.wrap{padding-top:56px}
  h2{font-size:38px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}.slap{opacity:1;transform:none}.hills svg,.deco{transform:none!important}.set > *{translate:0 0}}

/* ---------- loader: the wordmark's marigold dot hops along the truck-art road ---------- */
.loader{position:relative;display:block;width:132px;height:46px;margin:0 auto 12px}
.loader-road{position:absolute;left:0;right:0;bottom:3px;height:12px;overflow:hidden;border-radius:999px;background:#fff;
  box-shadow:0 0 0 2px var(--indigo),3px 3px 0 2px var(--marigold)}
.loader-road::before{content:"";position:absolute;inset:0 -24px 0 0;animation:road .5s linear infinite;background:
  linear-gradient(135deg,var(--red) 25%,transparent 25%) -6px 0/12px 12px,
  linear-gradient(225deg,var(--red) 25%,transparent 25%) -6px 0/12px 12px,
  linear-gradient(315deg,var(--marigold) 25%,transparent 25%) 0 0/12px 12px,
  linear-gradient(45deg,var(--marigold) 25%,var(--teal) 25%) 0 0/12px 12px}
@keyframes road{to{transform:translateX(-12px)}}
.loader-dot{position:absolute;left:55px;bottom:17px;width:22px;height:22px;border-radius:50%;background:var(--marigold);
  box-shadow:0 0 0 2px var(--indigo),inset -3px -3px 0 #f08c00;transform-origin:50% 100%;animation:hop .9s cubic-bezier(.3,0,.4,1) infinite}
@keyframes hop{0%,100%{transform:translateY(0) scale(1.18,.78)}12%{transform:translateY(0) scale(.92,1.1)}50%{transform:translateY(-16px) scale(1)}88%{transform:translateY(0) scale(.92,1.1)}}

/* ---------- screen changes: one soft, Apple-style hand-off between pages ---------- */
/* Chrome and Safari cross-fade the old page into the new one (the new one rises a few pixels, slightly slower than the old one leaves);
   other browsers just navigate as before. The bottom tab bar keeps its place, so only the content moves. */
@view-transition{navigation:auto}
.tabbar{view-transition-name:tabbar}
::view-transition-group(root){animation-duration:.42s;animation-timing-function:cubic-bezier(.22,1,.36,1)}
::view-transition-old(root){animation:vtOut .22s cubic-bezier(.4,0,1,1) both}
::view-transition-new(root){animation:vtIn .42s cubic-bezier(.22,1,.36,1) both}
@keyframes vtOut{to{opacity:0;transform:scale(.985)}}
@keyframes vtIn{from{opacity:0;transform:translateY(10px) scale(1.006)}}
/* the loader hands over to the real screen the same way */
.acct-card:not([hidden]),.errsum:not([hidden]),#me-error:not([hidden]){animation:screenIn .45s cubic-bezier(.22,1,.36,1) both}
@keyframes screenIn{from{opacity:0;transform:translateY(10px)}}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}

/* ---------- gated trip: the inline sign-in card under the Save button (trip-gate.js; needs account.css for fields) ---------- */
.gate{margin:16px 0 4px;max-width:520px}
.gate .acct-in{padding:14px 16px 18px}
.gate .phone{grid-template-columns:minmax(122px,auto) 1fr}.gate .phone select{padding-left:10px;padding-right:6px}
.gate .gate-h{display:flex;align-items:center;gap:10px;font-weight:800;font-size:21px;line-height:1.15}
.gate .gate-h .lk{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;border:2.5px solid var(--indigo);font-size:18px;transform:rotate(-6deg)}
.gate .sub{margin-top:6px;font-size:15px;font-weight:600;color:var(--muted)}
.gate .g-block{margin:12px 0 4px}
.gate .g-or{margin:12px 0 2px}
.gate .chk{margin:10px 0 12px}.gate .chk label{font-size:15px}
.gate .field{margin:10px 0 0}
.gate .gate-wait{margin:16px 0 4px;text-align:center;font-weight:700;color:var(--muted)}
.gate .acct-go{margin-top:2px;font-size:17px;padding:11px}
.gate a.acct-go{margin-top:14px;text-decoration:none}
.gate .errsum{margin-top:12px}
.gate .otp-row{margin-top:2px;flex-direction:column;gap:12px}
.gate .otp{flex:none;width:100%;max-width:none;min-height:54px}
.gate .otp::placeholder{letter-spacing:0;font-size:17px;font-weight:600}
.gate .otp-row .btn{width:100%;min-height:50px}
.gate .gate-terms .g-notice{margin:0 0 0 36px;text-align:left}
.gate .gate-terms{margin:12px 0 0}.gate .gate-terms .chk{margin:0 0 4px}
@media (min-width:560px){.gate .otp-row{flex-direction:row;align-items:stretch;gap:14px}.gate .otp{flex:1 1 auto;width:auto;max-width:300px}.gate .otp-row .btn{width:auto;flex:none;padding:0 26px}}

/* ---------- road bar: your picks + the scroll truck ---------- */
.roadrow{display:flex;align-items:center;gap:12px}
.mypicks{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:4px 5px 4px 12px;border-radius:999px;background:#fff;
  color:var(--indigo);font-weight:800;font-size:15px}
.mypicks .edit{background:var(--t-sun);color:#7a4100;border-radius:999px;padding:3px 10px;font-size:13px}
.roadrow .road{flex:1;min-width:0}
/* U-03: the pill shrinks (label ellipsis) so the search button always fits; narrow phones drop the road + truck */
.roadrow .mypicks{flex:0 1 auto;min-width:0;overflow:hidden}
.roadrow .mypicks>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.roadrow .mypicks .edit{flex:none}
.roadrow .road-search{flex:none;margin-left:auto}
@media (max-width:420px){.roadrow .road{display:none}}
.panel.flash{animation:flash 1s}
@keyframes flash{25%,60%{box-shadow:0 0 0 4px var(--magenta),0 18px 40px -22px #20124d55}}

/* ---------- card links + compare toggle ---------- */
.card h3 a{color:inherit;text-decoration:none}
.card h3 a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.row2{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:10px}
.row2 .status{margin-top:0}
.minitop{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cmp{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px 0 10px;border-radius:999px;background:#fff;color:var(--indigo);
  font-weight:800;font-size:15px;box-shadow:inset 0 0 0 1.5px var(--line);transition:background .2s,color .2s,box-shadow .2s}
.cmp:hover{box-shadow:inset 0 0 0 1.5px var(--indigo)}
/* the tick box: empty when off, a magenta tick once the trip is in the compare tray (magenta = selected, everywhere) */
.cmp-box{flex:none;position:relative;width:20px;height:20px;border-radius:6px;box-shadow:inset 0 0 0 2px var(--indigo);background:#fff;
  transition:background .2s,box-shadow .2s,transform .3s cubic-bezier(.3,1.8,.5,1)}
.cmp-box::after{content:"";position:absolute;left:7px;top:3px;width:5px;height:10px;border:solid #fff;border-width:0 2.5px 2.5px 0;rotate:45deg;scale:0;transition:scale .25s cubic-bezier(.3,1.8,.5,1)}
.cmp[aria-pressed="true"]{background:#fde8f2;color:var(--magenta);box-shadow:inset 0 0 0 1.5px var(--magenta)}
.cmp[aria-pressed="true"] .cmp-box{background:var(--magenta);box-shadow:none;transform:rotate(-6deg)}
.cmp[aria-pressed="true"] .cmp-box::after{scale:1}
a.btn{text-decoration:none}
.btn-notify[aria-pressed="true"]{background:var(--t-teal);color:#00706f;--ol:var(--teal);--sh:var(--teal)}

/* ---------- compare tray + sheet ---------- */
.tray{position:fixed;left:50%;bottom:var(--tray-bottom);z-index:20;display:flex;align-items:center;gap:10px;max-width:calc(100% - 28px);
  height:var(--tray-h);padding:6px 6px 6px 14px;border-radius:999px;background:#fff;box-shadow:0 0 0 2px var(--indigo),0 14px 30px -12px #20124d99;
  translate:-50% calc(100% + 140px);visibility:hidden;transition:translate .45s cubic-bezier(.2,1.4,.4,1),visibility 0s .45s}
.tray.show{translate:-50% 0;visibility:visible;transition:translate .45s cubic-bezier(.2,1.4,.4,1),visibility 0s}
.tray .ems{font-size:22px;letter-spacing:2px;white-space:nowrap}
.tray .msg{font-weight:800;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tray .btn[disabled]{opacity:.45;cursor:not-allowed;translate:none;box-shadow:none}
.tray .x{flex:none;width:40px;height:40px;border-radius:50%;font-size:20px;font-weight:800;color:var(--muted)}
.tray .x:hover{background:var(--soft)}
.tray .sm{display:none}
@media (min-width:980px){:root{--tray-bottom:24px;--tray-room:calc(var(--tray-h) + 40px)}} /* no tab bar here: the room covers the tray's 24px float + a 16px gap */
/* while the tray shows: the last content scrolls clear of it (the sticky bars stay put), and the toast rises above it */
body.has-tray>:not(.dock,.bookbar,.tabbar):has(+.dock,+.bookbar,+.tabbar){margin-bottom:var(--tray-room)}
body.has-tray:not(:has(>.dock,>.tabbar,>.bookbar)){padding-bottom:var(--tray-room)}

.sheet{margin:auto;border:0;padding:0;border-radius:26px;width:min(880px,calc(100% - 20px));max-height:88vh;color:var(--indigo);
  box-shadow:0 0 0 3px var(--indigo),8px 9px 0 3px var(--indigo)}
.sheet::backdrop{background:#20124d73}
.sheet[open]{animation:sheetIn .45s cubic-bezier(.2,1.3,.4,1)}
@keyframes sheetIn{from{transform:translateY(40px) scale(.96);opacity:0}}
.sheet .trim{position:sticky;top:0}
.sheet-h{display:flex;align-items:center;gap:12px;padding:14px 18px 6px}
.sheet-h h2{flex:1;font-size:26px}
.sheet-h .x{width:44px;height:44px;border-radius:50%;font-size:22px;font-weight:800}
.sheet-h .x:hover{background:var(--soft)}
.sheet .sub{padding:0 18px}
.cmp-scroll{overflow-x:auto;overflow-y:hidden;padding:10px 18px 20px}
.cmp-table{border-collapse:separate;border-spacing:0;width:100%;min-width:520px;font-size:15px}
.cmp-table th,.cmp-table td{padding:11px 10px;text-align:left;vertical-align:top;border-bottom:1.5px dashed var(--line)}
.cmp-table thead th{border-bottom:2px solid var(--indigo);font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:18px;line-height:1.1}
.cmp-table thead .em{display:block;font-size:30px;margin-bottom:4px}
.cmp-table thead a{color:inherit}
.cmp-table tbody th{position:sticky;left:0;background:#fff;color:var(--muted);font-weight:700;font-size:14px;white-space:nowrap}
.cmp-table td{font-weight:700}
.cmp-diff{background:#fff3d6;box-shadow:inset 3px 0 0 var(--marigold)}
.cmp-group th{background:var(--soft);color:var(--indigo);font-size:13px;position:static;text-transform:none}
.cmp-note td,.cmp-msg,.cmp-why,.cmp-attr{font-weight:600}
.cmp-note td{padding:14px 10px}
.cmp-why,.cmp-msg,.cmp-attr{margin:0 0 10px;font-size:14px}
.cmp-attr{font-weight:500;font-size:13px}
.cmp-lock{padding:18px;border-radius:16px;background:var(--soft);font-weight:700}
.cmp-lock p{margin:0 0 12px}
.cmp-partial>td{padding:0;border-bottom:0}
.cmp-partial summary,.cmp-more summary,.cmp-wrong summary{cursor:pointer;font-weight:700;font-size:14px;padding:10px}
.cmp-more{margin-top:10px}
.cmp-wrong summary{padding:4px 0;font-weight:500;color:var(--muted);text-decoration:underline}
.cmp-wrong div{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:4px}
.cmp-wrong button{border:0;background:none;padding:4px 0;font:inherit;font-size:13px;color:var(--indigo);text-align:left;cursor:pointer;text-decoration:underline}
.best{display:inline-block;margin-left:6px;padding:0 8px;border-radius:8px;background:var(--t-teal);color:#00706f;font-size:12px;font-weight:800;white-space:nowrap}
.yes{color:#00706f}.no{color:#b23c00}

/* ---------- one-time seat dot hint ---------- */
.hint{position:relative;display:flex;align-items:center;gap:10px;margin-top:12px;padding:10px 10px 10px 12px;border-radius:14px;
  background:var(--indigo);color:#fff;font-size:14px;font-weight:700;line-height:1.3;animation:hintIn .45s cubic-bezier(.2,1.4,.4,1)}
.hint::before{content:"";position:absolute;top:-6px;left:22px;width:12px;height:12px;background:var(--indigo);transform:rotate(45deg)}
.hint .ring{display:inline-block;width:14px;height:14px;border-radius:50%;box-shadow:0 0 0 2px #5ee0d8 inset;vertical-align:-2px}
.hint-x{flex:none;min-height:36px;padding:0 12px;border-radius:10px;background:#fff;color:var(--indigo);font-weight:800;font-size:13px}
@keyframes hintIn{from{opacity:0;transform:translateY(-8px)}}

.toast{position:fixed;left:50%;bottom:calc(var(--bottom-stack) + 12px);z-index:30;translate:-50% 0;background:var(--indigo);color:#fff;font-weight:800;padding:12px 18px;border-radius:999px;
  box-shadow:0 14px 30px -12px #20124d99;animation:toastIn .4s cubic-bezier(.2,1.4,.4,1)}
@keyframes toastIn{from{opacity:0;transform:translateY(20px)}}
@media (min-width:980px){.toast{bottom:32px}}
.has-tray .toast{bottom:calc(var(--tray-bottom) + var(--tray-h) + 10px)}
.toast a{color:inherit;margin-left:8px;text-underline-offset:3px;white-space:nowrap}

/* real catalogue: six places (adds Cities & more, Abroad), extra dates, scraped price notes */
.picks{grid-template-columns:repeat(3,1fr)}
.pick:nth-child(5){background:var(--t-pink)}.pick:nth-child(6){background:var(--t-sky)}
.facts b small{display:block;font-size:12px;font-weight:700;color:var(--muted)}

/* compare sheet: facts a listing does not give */
.muted{color:var(--muted);font-weight:500}

/* trips grouped by operator: a labelled block per operator gives the grid room to breathe */
.opgroup{margin-top:48px}
.opgroup:first-child{margin-top:18px}
.opgroup .trips{margin-top:16px}
.op-h{display:flex;align-items:baseline;gap:10px;padding-bottom:8px;border-bottom:2px dashed var(--line)}
.op-name{font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:26px;color:var(--indigo);line-height:1.1}
.op-n{font-weight:700;font-size:14px;color:var(--muted)}
.op-site{margin-left:auto;font-weight:700;font-size:14px;color:var(--magenta);text-decoration:none;white-space:nowrap}
.op-site:hover{text-decoration:underline}

/* calmer cards: one line of facts, badges only when urgent, compare on the last row, optional photo */
.trip .ttl{flex:1;min-width:0}
.trip .who .tagl{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.meta{margin-top:12px;font-weight:700;font-size:15px;color:var(--indigo);line-height:1.35}
.meta i{font-style:normal;color:var(--muted);margin:0 7px}
.meta small{font-weight:700;font-size:13px;color:var(--muted)}
.s-hot{background:#ffe3e3;color:#b3141a}
.photo{position:relative;height:150px;background:var(--soft);overflow:hidden}
.photo .credit{position:absolute;right:10px;bottom:8px;max-width:calc(100% - 110px);font-size:12px;font-weight:700;line-height:1.3;color:#fff;background:#20124d99;padding:2px 8px;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.photo img{width:100%;height:100%;object-fit:cover;display:block}
.has-img .in2{position:relative}
.has-img .top2 .thumb{margin-top:-40px;background:#fff!important;border-style:solid;box-shadow:0 0 0 3px #fff}
.see-more{display:flex;margin:18px auto 0;width:100%;max-width:420px}
.trips.more{margin-top:22px}

/* filter + sort bar */
.fbar{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:2px 0}
.fbar::-webkit-scrollbar{display:none}
/* phones: the row scrolls sideways; a fade pinned to the right edge says so, and settles into the empty end once you reach the last pill.
   A pseudo-element, not a mask, so the sticky bar's .stuck shadow is not clipped */
@media (max-width:699px){.fbar::after{content:"";flex:0 0 36px;margin-left:-8px;position:sticky;right:0;z-index:1;pointer-events:none;background:linear-gradient(to right,#fff0,#fff 80%)}}
/* U-10: tablets clip the row too ("Group by operator" at 768px), so the same fade shows on wider screens */
@media (min-width:700px){.fbar::after{content:"";flex:0 0 36px;margin-left:-8px;position:sticky;right:0;z-index:1;pointer-events:none;background:linear-gradient(to right,#fff0,#fff 80%)}}
.fsel{position:relative;flex:0 0 auto;display:flex;border-radius:16px;border:1.5px solid var(--line);background:#fff;transition:border-color .2s,background .2s}
.fsel:hover{border-color:var(--indigo)}
.dd-btn{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;min-height:44px;padding:4px 34px 4px 14px;font:inherit;color:var(--indigo);text-align:left;border-radius:inherit;cursor:pointer}
.dd-btn span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);line-height:1}
.dd-btn b{font-size:15px;line-height:1.1;white-space:nowrap}
.dd-btn::after{content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;border:solid var(--indigo);border-width:0 2px 2px 0;translate:0 -70%;rotate:45deg;transition:rotate .2s,translate .2s}
.dd-btn[aria-expanded="true"]::after{rotate:225deg;translate:0 -20%}
.dd-btn:focus-visible{outline:3px solid var(--magenta);outline-offset:2px}
.fsel:has(.dd-btn[aria-expanded="true"]){border-color:var(--indigo);box-shadow:0 0 0 3px var(--soft)}
.fsel.on{border-color:var(--indigo);background:var(--soft)}

/* five places: 3 tiles on top, 2 wider below */
.picks{grid-template-columns:repeat(6,1fr)}
.pick{grid-column:span 2}
.pick:nth-child(n+4){grid-column:span 3}
.pick[data-scene="hills"]{background:var(--t-sun)}.pick[data-scene="beach"]{background:var(--t-sky)}
.pick[data-scene="desert"]{background:var(--t-pink)}.pick[data-scene="more"]{background:var(--t-teal)}.pick[data-scene="abroad"]{background:var(--t-sky)}
.pick[aria-pressed="true"]{background:#fff}

/* ---------- first-visit welcome ---------- */
.welcome{margin:auto;border:0;padding:0;width:min(440px,calc(100% - 28px));border-radius:26px;color:var(--indigo);background:#fff;overflow:hidden;
  box-shadow:0 0 0 3px var(--indigo),8px 9px 0 3px var(--indigo)}
.welcome::backdrop{background:#20124d80}
.welcome[open]{animation:sheetIn .45s cubic-bezier(.2,1.3,.4,1)}
.welcome .x{position:absolute;top:18px;right:12px;width:44px;height:44px;border-radius:50%;font-size:22px;font-weight:800}
.welcome .x:hover{background:var(--soft)}
.w-in{padding:20px 22px 22px}
.w-in .logo{display:inline-block}
.welcome h2{margin-top:16px;font-size:30px;line-height:1.05;text-wrap:balance;padding-right:30px}
.w-steps{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:12px;counter-reset:step}
.w-steps li{counter-increment:step;position:relative;display:flex;gap:14px;align-items:center;padding:12px 14px;border-radius:18px;background:var(--soft);
  transform:rotate(var(--r));opacity:0;animation:stepIn .5s calc(.35s + var(--i) * .14s) forwards cubic-bezier(.25,1.7,.5,1)}
.w-steps li:nth-child(1){background:var(--t-sun)}.w-steps li:nth-child(2){background:var(--t-sky)}.w-steps li:nth-child(3){background:var(--t-pink)}
.w-steps li::before{content:counter(step);position:absolute;top:-8px;left:-6px;width:26px;height:26px;border-radius:50%;background:var(--indigo);color:#fff;
  display:grid;place-items:center;font-family:Inter;font-weight:700;letter-spacing:-0.02em;font-size:15px}
@keyframes stepIn{from{opacity:0;transform:scale(1.15) rotate(calc(var(--r) * 4))}to{opacity:1;transform:rotate(var(--r))}}
.w-em{font-size:32px;flex:none}
.w-steps b{display:block;font-size:18px;line-height:1.15}
.w-steps span:not(.w-em){display:block;font-size:15px;color:var(--muted);font-weight:500;line-height:1.3}
.w-note{margin-top:16px;font-size:14px;color:var(--muted);font-weight:500}
.w-go{display:flex;width:100%;margin-top:16px;padding:13px;font-size:18px}
/* U-08: taller than a small phone, so it scrolls inside (x stays clipped for the rounded corners) */
.welcome{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.welcome h2:focus{outline:none}
.howto{display:block;margin:14px auto 0;min-height:44px;padding:0 16px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:15px;font-weight:800;color:var(--indigo);
  text-decoration:underline;text-underline-offset:3px}
@media (prefers-reduced-motion:reduce){.w-steps li{animation:none;opacity:1}}

/* the hidden attribute always wins, even over display:grid on .trips */
[hidden]{display:none!important}

/* "More trips" row headings: an indigo road-sign bar, like the truck's road bar, so each row reads as its own stop */
.row-h{margin-top:30px;padding:10px 10px 14px 10px;border-radius:18px;background:var(--indigo);color:#fff;
  background-image:repeating-linear-gradient(90deg,#ffffff59 0 14px,transparent 14px 24px);background-size:calc(100% - 28px) 2px;
  background-position:14px calc(100% - 7px);background-repeat:no-repeat;box-shadow:4px 5px 0 #20124d33}
.row-h .em{flex:none;width:38px;height:38px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:21px}
.row-h .switch{min-height:38px;padding:0 14px;display:inline-flex;align-items:center;border-radius:999px;background:#fff;color:var(--indigo);text-decoration:none;font-size:14px}
.row-h .switch:hover{background:var(--t-sun)}
.row-h + .swipe{padding-top:16px}

/* ---------- availability, operator links, grouping switch, loosen-a-filter, coming-soon tabs ---------- */
.s-unk{background:#fff;color:var(--muted);box-shadow:inset 0 0 0 1.5px var(--line)}
.who .opname{font-weight:800;color:var(--indigo)}
.opline{margin-top:6px;text-align:right;font-size:14px;min-height:0}
/* last card row: Save and Compare */
.opline.acts{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 12px;margin-top:12px;padding-top:10px;border-top:1.5px dashed var(--line)}
.opline:empty{display:none}
/* the trip page's operator links: 44px to tap, 20px to look at */
.oplink{display:inline-block;padding-block:12px;margin-block:-12px;line-height:20px;color:var(--muted);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.oplink:hover{color:var(--indigo)}
.fchk{align-items:center;gap:12px;min-height:44px;padding:4px 12px 4px 14px;cursor:pointer;color:var(--indigo)}
.fchk input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.fchk-t{display:flex;flex-direction:column;gap:2px}
.fchk-t span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);line-height:1}
.fchk-t b{font-size:15px;line-height:1.1;white-space:nowrap}
.fchk:hover{border-color:var(--indigo)}
/* on/off switch, magenta when on (magenta = selected) */
.sw{position:relative;flex:none;width:36px;height:20px;border-radius:999px;background:var(--line);transition:background .2s}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #20124d40;transition:translate .25s cubic-bezier(.3,1.6,.5,1)}
.fchk input:checked~.sw{background:var(--magenta)}
.fchk input:checked~.sw::after{translate:16px 0}
.fchk:has(input:focus-visible){outline:3px solid var(--magenta);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.sw,.sw::after{transition:none}}
.relax{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:10px}
.relax small{font-weight:700;opacity:.7}
.soon-tag{display:inline-block;margin-left:4px;padding:0 5px;border-radius:6px;background:var(--soft);color:var(--muted);font-style:normal;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.tab .soon-tag{display:block;width:max-content;margin:1px auto 0}
.soon-dlg{max-width:440px}
.soon-dlg .sub{padding:0 18px}
.soon-go{padding:16px 18px 20px;display:flex;justify-content:flex-end}

/* ---------- filter dropdown list: floating card, bottom sheet on phones ---------- */
.dd-shade{position:fixed;inset:0;z-index:40;background:transparent}
.dd-pop{position:fixed;z-index:41;min-width:230px;max-width:min(320px,calc(100vw - 24px));max-height:min(420px,70vh);display:flex;flex-direction:column;
  background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 22px 44px -18px #20124d66,0 0 0 1.5px var(--line);animation:ddIn .18s cubic-bezier(.2,1.2,.4,1)}
@keyframes ddIn{from{opacity:0;transform:translateY(-6px) scale(.97)}}
.dd-pop .trim{flex:none;height:8px;background-size:8px 8px}
.dd-h{margin:0;padding:10px 16px 4px;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.dd-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.dd-x{flex:none;width:44px;height:44px;margin:2px 4px 0 0;display:grid;place-items:center;border-radius:50%;font-size:26px;line-height:1;color:var(--muted)}
.dd-x:hover{background:var(--soft);color:var(--indigo)}
.dd-x:focus-visible{outline:3px solid var(--magenta);outline-offset:-3px}
.dd-pop ul{list-style:none;margin:0;padding:4px 6px 8px;overflow-y:auto;outline:none}
.dd-pop li{display:flex;align-items:center;gap:10px;min-height:42px;padding:6px 10px;border-radius:12px;font-weight:700;font-size:15px;color:var(--indigo);cursor:pointer;outline:none}
.dd-pop li i{flex:none;width:18px;font-style:normal;font-weight:800;color:var(--magenta);text-align:center}
.dd-pop li span{flex:1}
.dd-pop li small{flex:none;min-width:28px;padding:1px 8px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:12px;font-weight:800;text-align:center}
.dd-pop li:hover,.dd-pop li:focus{background:var(--soft)}
.dd-pop li:focus-visible{box-shadow:inset 0 0 0 2px var(--indigo)}
.dd-pop li[aria-selected="true"]{background:#fde8f2;color:var(--magenta)}
.dd-pop li[aria-selected="true"] small{background:#fff;color:var(--magenta)}
.dd-pop li.zero{color:var(--muted)}
@media (max-width:600px){
  .dd-shade{background:#20124d59}
  .dd-pop{left:0!important;right:0;bottom:0;top:auto!important;max-width:none;width:100%;max-height:75vh;border-radius:24px 24px 0 0;
    padding-bottom:env(safe-area-inset-bottom,0px);animation:ddUp .28s cubic-bezier(.2,1,.3,1)}
  .dd-h{padding:14px 20px 6px;font-size:13px}
  .dd-pop ul{padding:4px 10px 16px}
  .dd-pop li{min-height:50px;font-size:17px}
}
@keyframes ddUp{from{transform:translateY(100%)}}
@media (prefers-reduced-motion:reduce){.dd-pop{animation:none}.dd-btn::after{transition:none}}

/* ---------- long lists: more cards load as you near the end; the button stays for keyboards and slow phones ---------- */
/* the auto-loader is a fallback, not a call to action: it stays quiet */
.see-more[data-feed]{background:#fff;color:var(--muted);--ol:var(--line);--sh:transparent}
.see-more[data-feed]:hover{color:var(--indigo);--ol:var(--indigo)}
.trips.more:not(:has(> :not([hidden]))){display:none}

/* ---------- phones: a little less chrome around each card ---------- */
@media (max-width:699px){
  .trips{gap:18px;margin-top:18px}
  .photo{height:128px}
  .has-img .top2 .thumb{width:50px;height:50px;font-size:26px;margin-top:-34px}
  .trip h3{font-size:21px}
  .card .in2{padding:12px 14px 12px}
  .price{font-size:24px}
  :root{--tray-h:44px}
  .tray{gap:8px;padding:4px 4px 4px 12px}
  .tray .ems{font-size:18px;letter-spacing:0}
  .tray .msg{font-size:14px}
  .tray .lg{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .tray .sm{display:inline}
  .tray .btn{padding:0 12px;height:34px;font-size:15px}
  .tray .x{width:34px;height:34px}
}
/* the narrowest phones: once two are picked the button already says "Compare 3", so the "3 picked" label goes rather than truncate */
@media (max-width:380px){.tray:not(:has(#trayGo:disabled)) .msg{display:none}}

/* phones: the sheet scrolls sideways inside itself (never the page); the label column stays put */
@media (max-width:600px){
  .cmp-scroll{padding:6px 14px 18px}
  .cmp-table{min-width:calc(104px + var(--n,2) * 132px)}
  .cmp-table th,.cmp-table td{padding:8px 8px;font-size:14px;overflow-wrap:anywhere}
  .cmp-table thead th{font-size:16px}
  .cmp-table tbody th{width:104px;min-width:104px;font-size:13px;white-space:normal;z-index:1}
  .cmp-table .btn{padding:8px 10px;font-size:15px;white-space:normal}
}

/* wider screens: cards in a row share their bottom edge, so price, View trip and Compare line up across the row */
@media (min-width:700px){
  .card.trip{display:flex;flex-direction:column}
  .trip .in2{flex:1;display:flex;flex-direction:column}
  .trip .in2 > .status{align-self:flex-start}
  .trip .foot{margin-top:auto;padding-top:12px}
}

/* ---------- trip page recommendation rows: one sideways row each, on every screen ---------- */
.rec-h{display:flex;align-items:center;gap:12px}
.rec-h h2{flex:1;min-width:0}
.rec-nav{display:none;gap:6px}
.rec-go{width:40px;height:40px;border-radius:50%;font-size:24px;font-weight:800;line-height:1;color:var(--indigo);background:#fff;box-shadow:inset 0 0 0 2px var(--indigo)}
.rec-go:hover{background:var(--soft)}
@media (min-width:980px){
  .rec .swipe{display:flex;overflow-x:auto;margin:0 -8px;padding:14px 8px 20px;scroll-padding-inline:8px}
  .rec .mini{flex:0 0 232px;max-width:232px}
  .rec-nav{display:flex}
}

/* search page: the filter row sticks just under the purple road bar while you scroll the results */
#results > .fbar{position:sticky;top:var(--road-h,52px);z-index:5;margin:14px -20px 0;padding:8px 20px;background:#fff;
  transition:box-shadow .2s}
#results > .fbar.stuck{box-shadow:0 10px 16px -14px #20124d73}

/* ---------- Saved (wishlist): heart button, "N people saved this", tab badge ---------- */
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.acts-b{display:inline-flex;gap:8px;flex-wrap:wrap}
.save{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px 0 10px;border-radius:999px;background:#fff;color:var(--indigo);
  font-weight:800;font-size:15px;box-shadow:inset 0 0 0 1.5px var(--line);transition:background .2s,color .2s,box-shadow .2s}
.save:hover{box-shadow:inset 0 0 0 1.5px var(--indigo)}
.save .heart{width:20px;height:20px;fill:none;stroke:var(--indigo);stroke-width:2.2;stroke-linejoin:round;transition:fill .2s,stroke .2s}
.save[aria-pressed="true"]{background:#fde8f2;color:var(--magenta);box-shadow:inset 0 0 0 1.5px var(--magenta)}
.save[aria-pressed="true"] .heart{fill:var(--magenta);stroke:var(--magenta);animation:beat .45s cubic-bezier(.3,1.8,.5,1)}
@keyframes beat{40%{transform:scale(1.35)}}
.save.icon{width:40px;padding:0;justify-content:center}
.mini-acts{display:flex;gap:6px;align-items:center}
.mini-acts .cmp{padding:0 12px 0 9px;font-size:14px;gap:6px}
.interest{display:inline-flex;align-items:center;gap:6px;margin:10px 0 0 10px;font-size:14px;font-weight:700;color:var(--indigo);vertical-align:middle}
.interest::before{content:"";width:14px;height:14px;flex:none;background:var(--red);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.3S3.6 15.2 2.3 10.2C1.4 6.8 3.7 4 6.8 4c2.1 0 3.7 1.1 5.2 3 1.5-1.9 3.1-3 5.2-3 3.1 0 5.4 2.8 4.5 6.2-1.3 5-9.7 10.1-9.7 10.1z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.3S3.6 15.2 2.3 10.2C1.4 6.8 3.7 4 6.8 4c2.1 0 3.7 1.1 5.2 3 1.5-1.9 3.1-3 5.2-3 3.1 0 5.4 2.8 4.5 6.2-1.3 5-9.7 10.1-9.7 10.1z'/%3E%3C/svg%3E") center/contain no-repeat}
.mini .interest{display:flex;margin:6px 0 0}
.headacts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 4px;margin-top:12px}
.headacts .interest{margin-top:0}
.saved-n{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:6px;padding:0 6px;border-radius:999px;background:var(--indigo);color:#fff;font-size:12px;font-weight:800;font-style:normal;line-height:1}
.nav .on .saved-n{background:var(--magenta)}
.tab{position:relative}
.tab .saved-n{position:absolute;top:-2px;left:calc(50% + 6px);margin:0;box-shadow:0 0 0 2px #fff}
/* the count changed (not on first paint): a quick pop so the eye finds where the trip went */
.saved-n.pop{animation:saved-pop .45s cubic-bezier(.3,1.7,.5,1)}
@keyframes saved-pop{40%{scale:1.45}}
@media (prefers-reduced-motion:reduce){.save .heart{animation:none!important}.saved-n.pop{animation:none}}

/* ---------- predictive search ---------- */
.srch{position:relative;z-index:8}
.srch-box{position:relative;display:flex;align-items:center;min-height:52px;border-radius:16px;background:#fff;
  box-shadow:0 0 0 2px var(--indigo),3px 3px 0 2px var(--indigo);transition:box-shadow .15s}
.srch.open .srch-box,.srch-box:focus-within{box-shadow:0 0 0 2px var(--indigo),3px 3px 0 2px var(--marigold),0 0 0 5px #d6247e33}
.srch-ic{flex:none;width:22px;height:22px;margin:0 6px 0 14px;fill:none;stroke:var(--indigo);stroke-width:2.6;stroke-linecap:round}
.srch input{flex:1;min-width:0;height:52px;border:0;background:none;font:inherit;font-size:17px;font-weight:700;color:var(--indigo);outline:none;padding:0 4px}
.srch input::placeholder{color:var(--muted);font-weight:500}
.srch input::-webkit-search-cancel-button{display:none}
.srch-x{flex:none;width:44px;height:44px;margin-right:4px;border-radius:50%;font-size:22px;font-weight:800;color:var(--muted)}
.srch-x:hover{background:var(--soft);color:var(--indigo)}
.srch-pop{position:absolute;left:0;right:0;top:calc(100% + 10px);max-height:min(460px,62vh);overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:20px;
  box-shadow:0 0 0 2px var(--indigo),4px 5px 0 2px var(--indigo),0 24px 40px -20px #20124d66;animation:ddIn .16s cubic-bezier(.2,1.2,.4,1)}
.srch-pop .trim{position:sticky;top:0;z-index:1;height:9px;background-size:9px 9px;border-radius:20px 20px 0 0}
.srch-pop [role=listbox]{padding:6px 8px 4px}
.so-h{margin:10px 8px 4px;font-size:13px;font-weight:800;color:var(--muted)}
.so{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 8px;border-radius:14px;cursor:pointer}
.so-em{flex:none;width:34px;height:34px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font-size:18px}
.so-main{flex:1;min-width:0;display:grid;line-height:1.2}
.so-main b,.so-t{font-weight:700;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.so-main b{font-weight:800;white-space:normal}
.so-main small{font-size:13px;color:var(--muted);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.so-n{flex:none;padding:1px 8px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:12px;font-weight:800}
.so mark{background:var(--t-sun);color:inherit;border-radius:4px;padding:0 1px;font-weight:800}
.so-all .so-em{background:var(--indigo);color:#fff}
.so[aria-selected="true"],.so:hover{background:var(--soft)}
.so[aria-selected="true"]{box-shadow:inset 0 0 0 2px var(--indigo)}
.so-chips{display:flex;flex-wrap:wrap;gap:8px;padding:2px 6px 8px}
.so-chip{min-height:40px;display:inline-flex;align-items:center;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);font-weight:700;font-size:15px;cursor:pointer}
.so-chip:hover,.so-chip[aria-selected="true"]{border-color:var(--indigo);background:var(--soft)}
.srch-tip{margin:0;padding:8px 16px 12px;font-size:13px;color:var(--muted);border-top:1.5px dashed var(--line)}
.panel .srch{margin:8px 0 4px}
.ask-or{margin-top:14px;font-weight:700;font-size:14px;color:var(--muted)}
.ask-or + .picks{margin-top:6px}
/* the road bar's search button: a round sign on the road */
.road-search{flex:none;width:40px;height:40px;border-radius:50%;background:var(--marigold);display:grid;place-items:center;box-shadow:0 0 0 2px #fff}
.road-search svg{width:20px;height:20px;fill:none;stroke:var(--indigo);stroke-width:2.8;stroke-linecap:round}
.road-search:hover{background:#ffb648}
/* All trips: the search sits on top of the sticky filters */
.filters .srch{margin-bottom:4px}
.filters .srch-box{min-height:46px}
.filters .srch input{height:46px;font-size:16px}
@media (max-width:699px){.srch-pop{max-height:min(420px,52vh)}}

/* search opened from the road bar: the box takes over the bar, suggestions drop down from it */
.roadrow.searching .mypicks,.roadrow.searching .road-search,.roadrow.searching .road{display:none}
.road-srch{flex:1;display:flex;align-items:center;gap:6px;min-width:0}
.road-srch .srch{flex:1;min-width:0}
.roadwrap .srch-box{min-height:40px;box-shadow:0 0 0 2px #fff}
.roadwrap .srch.open .srch-box,.roadwrap .srch-box:focus-within{box-shadow:0 0 0 2px #fff,0 0 0 5px var(--marigold)}
.roadwrap .srch input{height:40px;font-size:16px}
.roadwrap .srch-ic{width:20px;height:20px;margin-left:12px}
.roadwrap .srch-x{width:36px;height:36px}
.roadwrap .srch-pop{top:calc(100% + 12px);max-height:min(460px,calc(100vh - 140px))}
.road-srch-x{flex:none;width:40px;height:40px;border-radius:50%;color:#fff;font-size:24px;font-weight:800}
.road-srch-x:hover{background:#ffffff26}

/* ---------- U-11: keyboard ---------- */
/* focus is a dashed indigo ring, so a focused tile or chip never reads as the pink "selected" state (indigo on white: 17:1) */
:root{--ring:3px dashed var(--indigo)}
:focus-visible,.me:focus-visible,.dd-btn:focus-visible,.dd-x:focus-visible,.fchk:has(input:focus-visible){outline:var(--ring)}
/* on indigo surfaces (road bar, row headings) the ring turns white */
.roadwrap :focus-visible,.row-h :focus-visible{outline-color:#fff}
/* skip link: off-screen until a keyboard user tabs to it, then pinned top-left above the bars */
.skip{position:absolute;left:12px;top:-80px;z-index:100;padding:12px 18px;border-radius:14px;background:var(--indigo);color:#fff;font-weight:800;font-size:16px;text-decoration:none;
  box-shadow:3px 3px 0 2px var(--marigold)}
.skip:focus{top:12px;outline:3px dashed #fff;outline-offset:-6px}

/* ---------- ended trips: the whole card in black and white, with a "Trip ended" sticker over the photo ----------
   the photo and emoji go grey by filter; text and trim go grey by swapping the colour tokens inside the card, so text
   keeps full contrast (#1c1c1c and #545454 on white: 17:1 and 7.6:1) */
.card.ended{--indigo:#1c1c1c;--muted:#545454;--soft:#f0f0f0;--line:#dadada;--red:#3a3a3a;--marigold:#d6d6d6;--teal:#8c8c8c;
  --t-sun:#ececec;--t-teal:#ececec;--t-pink:#ececec;--t-sky:#ececec;color:var(--indigo)}
.card.ended .photo img,.card.ended .thumb{filter:grayscale(1)}
.card.ended,.card.ended:hover{translate:none}  /* no hover lift: an ended trip is not a call to action */
.card.ended .photo .credit{background:#1c1c1c99}
.card.ended .miss{background:var(--soft);color:var(--muted)}
.card.ended .btn-look:hover{background:#c4c4c4}
.s-ended{background:var(--soft);color:var(--muted);box-shadow:inset 0 0 0 1.5px var(--line)}
.seats.s-ended{display:inline-block;margin-top:6px;padding:1px 10px;border-radius:10px}
.ended-tag{display:block;width:fit-content;margin:2px 0 12px;padding:5px 14px;border-radius:12px;background:#fff;color:var(--indigo);font-weight:800;font-size:16px;
  line-height:1.2;white-space:nowrap;rotate:-4deg;box-shadow:0 0 0 2px var(--indigo),3px 3px 0 2px var(--indigo);pointer-events:none}
.photo .ended-tag{position:absolute;left:50%;top:50%;z-index:1;margin:0;padding:7px 20px;font-size:20px;translate:-50% -50%;rotate:-8deg}

/* All trips and search: trips that have ended sit last, set apart from the live list by a dashed rule */
.ended-sec{margin-top:28px;padding-top:20px;border-top:2px dashed var(--line)}
.fchips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
.fchip{padding:2px 10px;border-radius:12px;background:var(--t-teal);color:#00706f;font-weight:800;font-size:13px}
/* operator signals (T9): Tripomi's badges, and the operator's profile line in plain muted text (no stars, no badge look) */
.obadges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.obadge{padding:2px 10px;border-radius:12px;background:#fff;color:var(--indigo);box-shadow:inset 0 0 0 1.5px var(--line);font-weight:800;font-size:13px}
.op-profile{margin:6px 0 0;font-size:14px;line-height:1.4;color:var(--muted);font-weight:500}
.facts-t dd a{color:var(--indigo);font-weight:800}
.facts-attr{margin:12px 0 0;font-size:13px;color:var(--muted)}
.facts-wrong{margin:6px 0 0}

/* "Ask a person" on WhatsApp (ask.js): drawn only once data/contact.json has a number */
.ask-person{margin-top:20px}
.ask-person .ask-btn{white-space:normal;text-align:center}
.ask-person .ask-hours{margin:8px 0 0;font-size:13px;color:var(--muted)}
.cmp-table .ask-person{margin-top:10px}
.cmp-table .ask-person .ask-hours{font-size:12px}
