/* CONSUMERLAND — the world. Scoped to #v-travel.
   Tokens on the section so they inherit down and never leak, like casino.css and
   home.css. Every class is prefixed .tv- .

   Unlike the house, the map DOES commit to its own dark world whatever the app theme
   is: a glowing night map on a white page is not a glowing night map. Everything
   outside the map surface still wears the app theme. */

#v-travel{
  --tv-void:#080B14; --tv-void-2:#0D1220;
  --tv-land:#31476B; --tv-land-lit:#3E5A85;
  --tv-node:#64748B; --tv-open:#38BDF8; --tv-here:#FF4B14; --tv-been:#2ED19B;
  --tv-arc:#7C3AED;
}

/* ------------------------------------------------------------------ header */
.tv-top{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:0 0 12px}
.tv-top .tv-h{flex:1 1 220px;min-width:0}
.tv-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:var(--sec);margin-bottom:5px}
.tv-name{font-family:var(--disp);font-weight:800;font-size:clamp(23px,3.4vw,32px);letter-spacing:-.02em;line-height:1.05}
.tv-sub{color:var(--ink-3);font-size:13px}
.tv-tools{display:flex;gap:7px;flex-wrap:wrap}

/* -------------------------------------------------------------- the globe */
.tv-globe{position:relative;border-radius:var(--r-lg);overflow:hidden;border:var(--bw) solid var(--ink);
  background:var(--tv-void);box-shadow:var(--shadow)}
.tv-globe svg{display:block;width:100%;height:auto}
.tv-city{cursor:pointer}
.tv-city .tv-hit{fill:transparent}
.tv-city:focus-visible{outline:none}
.tv-city:focus-visible .tv-hit{fill:color-mix(in srgb,var(--tv-open) 26%,transparent);stroke:var(--tv-open);stroke-width:2}
.tv-dot{transition:r .16s}
.tv-city:hover .tv-dot{r:7}
.tv-lab{font-family:var(--body);font-weight:700;font-size:11px;fill:#DCE6F5;pointer-events:none;
  paint-order:stroke;stroke:rgba(4,8,16,.9);stroke-width:3.5px;stroke-linejoin:round}
.tv-lab.dim{fill:#5B6880}
@keyframes tvPulse{0%,100%{opacity:.22;transform:scale(1)}50%{opacity:.5;transform:scale(1.5)}}
.tv-ping{transform-origin:center;transform-box:fill-box;animation:tvPulse 2.6s ease-in-out infinite}
@keyframes tvDash{to{stroke-dashoffset:-220}}
.tv-arc-live{stroke-dasharray:7 9;animation:tvDash 5s linear infinite}

.tv-legend{position:absolute;left:12px;bottom:11px;display:flex;gap:11px;flex-wrap:wrap;
  font-size:10.5px;color:#8DA0BC;pointer-events:none}
.tv-legend i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;vertical-align:1px}
.tv-hud{position:absolute;right:12px;top:11px;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;
  max-width:calc(100% - 24px)}
.tv-globe svg{cursor:grab;touch-action:none}
.tv-globe.tv-dragging svg{cursor:grabbing}
.tv-zoom{position:absolute;right:12px;bottom:11px;display:flex;flex-direction:column;gap:4px}
.tv-zbtn{width:26px;height:26px;border-radius:8px;background:rgba(6,10,20,.82);
  border:1px solid rgba(120,150,190,.28);color:#DCE6F5;font-size:14px;font-weight:700;
  line-height:1;display:grid;place-items:center}
.tv-zbtn:hover{background:rgba(6,10,20,.95)}
.tv-zbtn:active{transform:scale(.92)}
.tv-chip{background:rgba(6,10,20,.82);color:#DCE6F5;border:1px solid rgba(120,150,190,.28);
  font-size:10.5px;font-weight:700;letter-spacing:.04em;padding:5px 9px;border-radius:8px;white-space:nowrap}
.tv-chip.here{background:var(--tv-here);border-color:transparent;color:#fff}
.tv-chip.go{background:var(--tv-open);border-color:transparent;color:#04121C}

/* --------------------------------------------------------------- the list */
.tv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;margin-top:12px}
.tv-card{background:var(--surface);border:var(--bw) solid var(--ink);border-radius:var(--r);padding:13px;
  text-align:left;position:relative;overflow:hidden;transition:transform .14s,border-color .14s,box-shadow .14s}
button.tv-card:hover{transform:translateY(-3px);border-color:var(--line-2);box-shadow:var(--shadow-lift)}
.tv-card.locked{opacity:.5}
.tv-card.here{border-color:color-mix(in srgb,var(--spend) 50%,var(--line));background:var(--spend-soft)}
.tv-card .tv-flag{font-size:22px;line-height:1}
.tv-card .tv-ct{font-weight:700;font-size:14px;margin-top:6px;line-height:1.2}
.tv-card .tv-cc{font-size:11px;color:var(--ink-3)}
.tv-card .tv-cf{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}
.tv-card .tv-km{font-family:var(--mono);font-size:11px;color:var(--ink-3)}
.tv-card .tv-pr{font-family:var(--disp);font-weight:800;font-size:15px;letter-spacing:-.02em}
.tv-card .tv-stamp{position:absolute;right:10px;top:10px;font-size:13px}

/* -------------------------------------------------------------- mode cards */
.tv-modes{display:flex;flex-direction:column;gap:8px}
.tv-mode{display:flex;gap:12px;align-items:center;padding:12px 13px;border-radius:12px;border:1px solid var(--line);
  background:var(--surface);text-align:left;width:100%;transition:border-color .14s,transform .12s}
button.tv-mode:hover{border-color:var(--line-2);transform:translateY(-1px)}
.tv-mode[disabled]{opacity:.45}
.tv-mode .tv-mg{font-size:23px;width:42px;height:42px;border-radius:11px;display:grid;place-items:center;flex:0 0 42px;
  background:linear-gradient(160deg,var(--bc),color-mix(in srgb,var(--bc) 68%,#000))}
.tv-mode .tv-mt{font-weight:700;font-size:13.5px;line-height:1.2}
.tv-mode .tv-md{font-size:11.5px;color:var(--ink-3);line-height:1.3}
.tv-mode .tv-mr{margin-left:auto;text-align:right;white-space:nowrap}
.tv-mode .tv-mp{font-family:var(--disp);font-weight:800;font-size:16px;letter-spacing:-.03em}
.tv-mode .tv-mh{font-size:10.5px;color:var(--ink-3);font-family:var(--mono)}
.tv-comfort{display:inline-flex;gap:2px;margin-top:3px}
.tv-comfort i{width:4px;height:4px;border-radius:50%;background:var(--line-2)}
.tv-comfort i.on{background:var(--sec)}

/* ---------------------------------------------------------- boarding pass */
.tv-pass{border-radius:16px;overflow:hidden;border:1px solid var(--line);background:var(--surface);
  box-shadow:var(--shadow-lift);position:relative}
.tv-pass-h{padding:15px 17px;color:#fff;display:flex;align-items:center;gap:11px;
  background:linear-gradient(105deg,var(--bc),color-mix(in srgb,var(--bc) 62%,#000))}
.tv-pass-h .tv-pg{font-size:22px}
.tv-pass-h .tv-pt{font-family:var(--disp);font-weight:800;font-size:14px;letter-spacing:.06em}
.tv-pass-h .tv-ps{font-size:10.5px;opacity:.85;letter-spacing:.08em}
.tv-route{display:flex;align-items:center;gap:12px;padding:18px 17px}
.tv-route .tv-end{text-align:center;min-width:0}
.tv-route .tv-code{font-family:var(--disp);font-weight:800;font-size:clamp(24px,7vw,34px);letter-spacing:-.02em;line-height:1}
.tv-route .tv-cn{font-size:11px;color:var(--ink-3);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tv-route .tv-mid{flex:1;position:relative;height:26px}
.tv-route .tv-line{position:absolute;left:0;right:0;top:12px;height:2px;
  background:repeating-linear-gradient(90deg,var(--line-2) 0 6px,transparent 6px 12px)}
.tv-route .tv-plane{position:absolute;top:0;left:50%;transform:translateX(-50%);font-size:18px}
/* The perforation. It is one gradient and it is what makes this read as a ticket. */
.tv-perf{height:1px;margin:0 14px;background:repeating-linear-gradient(90deg,var(--line-2) 0 5px,transparent 5px 10px)}
.tv-perf-n{position:absolute;width:20px;height:20px;border-radius:50%;background:var(--paper);
  border:1px solid var(--line);left:-11px}
.tv-stub{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:12px;padding:14px 17px 17px}
.tv-stub .tv-k{font-size:9px;letter-spacing:.14em;font-weight:700;color:var(--ink-3);display:block}
.tv-stub .tv-v{font-family:var(--mono);font-size:13.5px;margin-top:3px;display:block}

/* ------------------------------------------------------------- in transit */
.tv-transit{text-align:center;padding:8px 0 0}
.tv-stage{font-family:var(--disp);font-weight:800;font-size:clamp(20px,5vw,26px);letter-spacing:-.02em;margin-top:14px}
.tv-eta{font-family:var(--mono);font-size:13px;color:var(--ink-3);margin-top:5px}
.tv-bar{height:7px;border-radius:4px;background:var(--surface-2);overflow:hidden;margin:14px auto 0;max-width:420px}
.tv-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--sec),var(--spend));transition:width .45s linear}
.tv-steps{display:flex;gap:5px;max-width:420px;margin:10px auto 0}
.tv-steps i{flex:1;height:3px;border-radius:2px;background:var(--surface-2)}
.tv-steps i.on{background:var(--sec)} .tv-steps i.done{background:var(--money)}

/* -------------------------------------------------------------- the city */
.tv-hero{border-radius:var(--r-lg);padding:20px;color:#fff;position:relative;overflow:hidden;
  background:linear-gradient(120deg,var(--bc),color-mix(in srgb,var(--bc) 55%,#000))}
.tv-hero .tv-hf{font-size:38px;line-height:1}
.tv-hero .tv-hn{font-family:var(--disp);font-weight:800;font-size:clamp(26px,5vw,36px);letter-spacing:-.03em;margin-top:6px}
.tv-hero .tv-hc{font-size:12.5px;opacity:.82;margin-top:2px}
.tv-hero .tv-hd{font-size:13px;opacity:.92;margin-top:9px;max-width:46ch}
.tv-hero .tv-hs{position:absolute;right:16px;top:16px;background:rgba(0,0,0,.26);border-radius:9px;
  padding:6px 10px;font-size:11px;font-weight:700}

.tv-thing{display:flex;gap:11px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}
.tv-thing:last-child{border-bottom:none}
.tv-thing .tv-tg{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-size:18px;flex:0 0 38px;
  background:var(--surface-2)}
.tv-thing .tv-tt{font-size:13px;font-weight:600;line-height:1.2}
.tv-thing .tv-td{font-size:11.5px;color:var(--ink-3);line-height:1.3}
.tv-thing.done .tv-tg{background:var(--money-soft)}

/* ------------------------------------------------------------- passport */
.tv-book{background:linear-gradient(160deg,#1B2A4A,#0F1A30);border-radius:var(--r-lg);padding:18px;color:#E6EDF8}
.tv-book .tv-bt{font-family:var(--disp);font-weight:800;font-size:16px;letter-spacing:.14em}
.tv-book .tv-bs{font-size:11.5px;opacity:.7;margin-top:2px}
.tv-stamps{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;margin-top:14px}
.tv-st{border:2px dashed rgba(200,220,255,.32);border-radius:12px;padding:10px;text-align:center;
  transform:rotate(-2deg);background:rgba(255,255,255,.04)}
.tv-st:nth-child(even){transform:rotate(2deg)}
.tv-st:nth-child(3n){transform:rotate(-1deg)}
.tv-st .tv-sf{font-size:20px}
.tv-st .tv-sn{font-size:11px;font-weight:700;margin-top:3px;line-height:1.15}
.tv-st .tv-sd{font-size:9.5px;opacity:.6;margin-top:2px;font-family:var(--mono)}

/* --------------------------------------------------------------- mobile */
@media (max-width:620px){
  .tv-grid{grid-template-columns:repeat(2,1fr)}
  .tv-lab{display:none}           /* labels are unreadable at phone width */
  .tv-legend{font-size:9.5px;gap:8px}
  .tv-stub{grid-template-columns:repeat(2,1fr)}
  button.tv-card:hover{transform:none}
}
@media (max-width:400px){
  .tv-grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .tv-ping,.tv-arc-live{animation:none!important}
  .tv-bar i{transition:none!important}
}

/* ======================================================== booking-site pass
   Light daytime map, a search form, destination cards with pictures, and results
   laid out like a timetable. Later rules win over the dark-map ones above. */
#v-travel{--tv-land:#AEBCC6;--tv-node:#9AA6B2;--tv-open:#16181D;--tv-here:#C8102E;--tv-been:#0A7A3E;--tv-arc:#16181D}
.tv-lab{fill:#16181D;stroke:rgba(255,255,255,.9)}
.tv-lab.dim{fill:#8A94A0}
.tv-globe{border:1px solid var(--line);box-shadow:none;border-radius:10px;background:#E4EDF2}
.tv-globe.sm{margin-top:24px;max-height:320px}
.tv-legend{color:var(--ink-2);background:rgba(255,255,255,.85);padding:5px 9px;border-radius:5px}
.tv-zbtn{background:#fff;border:1px solid var(--line-2);color:var(--ink)}
.tv-zbtn:hover{background:var(--surface-2)}
.tv-chip{background:#fff;color:var(--ink);border-color:var(--line)}
.tv-comfort i.on{background:var(--ink)}

.tv-search{background:#0E3B5C;color:#fff;border-radius:10px;padding:28px 28px 20px;margin-bottom:30px;
  background-image:linear-gradient(120deg,#0E3B5C,#1B5E7E)}
.tv-search h1{font-size:clamp(28px,3.6vw,40px);font-weight:800;letter-spacing:-.035em;margin-bottom:16px}
.tv-form{display:grid;grid-template-columns:1fr 1.4fr .8fr auto;gap:4px;background:#FFD23F;padding:4px;border-radius:8px}
.tv-form label{background:#fff;color:var(--ink);padding:9px 14px;display:flex;flex-direction:column;justify-content:center;border-radius:5px;min-width:0}
.tv-form small{font-size:12px;color:var(--ink-3)}
.tv-form b{font-size:16px}
.tv-form select{border:none;font-size:16px;font-weight:700;padding:0;background:transparent;width:100%;outline:none}
.tv-form .btn.pri.big{border-radius:5px}
.tv-meta{margin-top:14px;font-size:13.5px;color:#C9DCE8}
.tv-meta .lnk{color:#fff;text-decoration:underline}
.tv-sec{margin-bottom:34px}
.tv-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}
.tv-card{padding:0;border:none;background:none;box-shadow:none!important;transform:none!important;text-align:left;display:flex;flex-direction:column}
.tv-card:hover .tv-ct{text-decoration:underline}
.tv-card.locked{opacity:.55}
.tv-art{aspect-ratio:4/3;border-radius:8px;position:relative;overflow:hidden;display:grid;place-items:center;
  background:linear-gradient(180deg,hsl(var(--h) 55% 78%) 0 55%,hsl(calc(var(--h) + 30) 35% 58%) 55% 100%)}
.tv-art::before{content:"";position:absolute;left:-10%;right:-10%;top:48%;height:30%;border-radius:50% 50% 0 0;background:hsl(calc(var(--h) + 20) 30% 48%);opacity:.7}
.tv-art::after{content:"";position:absolute;right:16%;top:14%;width:14%;aspect-ratio:1;border-radius:50%;background:#FFF4D0;opacity:.85}
.tv-art span{position:relative;z-index:1;font-size:44px;filter:drop-shadow(0 6px 8px rgba(0,0,0,.2))}
.tv-cb{padding:10px 2px 0}
.tv-card .tv-ct{font-size:16px;font-weight:700;margin:0}
.tv-been{font-style:normal;font-size:11.5px;font-weight:700;color:var(--money);background:var(--money-soft);padding:2px 6px;border-radius:3px;vertical-align:2px}
.tv-card .tv-cc{font-size:13px;color:var(--ink-3)}
.tv-card .tv-pr{font-size:14px;margin-top:4px;color:var(--ink-2);font-family:var(--body)}
.tv-card .tv-pr b{font-size:17px;font-weight:800;color:var(--ink)}

.tv-rh{display:grid;grid-template-columns:220px 1fr;gap:24px;align-items:center;margin-bottom:26px}
.tv-rh h1{font-size:clamp(26px,3.2vw,34px);font-weight:800;letter-spacing:-.03em}
.tv-rh p{margin:4px 0 0;color:var(--ink-3)}
.tv-rh .tv-blurb{color:var(--ink-2);font-size:15px}
.tv-res-h{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:10px;border-bottom:1px solid var(--line);margin-bottom:12px}
.tv-res-h span{font-size:13px;color:var(--ink-3)}
.tv-res{display:flex;flex-direction:column;gap:10px}
.tv-row{display:grid;grid-template-columns:1.3fr 1.2fr auto;gap:20px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:16px 18px}
.tv-row:hover{border-color:var(--ink-3)}
.tv-row.dim{opacity:.6}
.tv-op{display:flex;gap:12px;align-items:center;min-width:0}
.tv-op .tv-mg{font-size:26px;width:46px;height:46px;border-radius:8px;background:var(--surface-2);display:grid;place-items:center;flex:0 0 46px}
.tv-op span{display:flex;flex-direction:column;min-width:0}
.tv-op b{font-size:15px}
.tv-op small{font-size:12.5px;color:var(--ink-3);line-height:1.3}
.tv-times{display:flex;align-items:center;gap:12px}
.tv-times>span{display:flex;flex-direction:column;align-items:center}
.tv-times b{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}
.tv-times small{font-size:12px;color:var(--ink-3)}
.tv-times .tv-line{flex:1;position:static;height:auto;background:none;align-items:stretch;text-align:center}
.tv-times .tv-line i{height:2px;background:var(--line-2);margin:4px 0;position:relative}
.tv-buy{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:130px}
.tv-buy b{font-size:22px;font-weight:800;letter-spacing:-.02em}
.tv-buy small{font-size:12px;color:var(--ink-3)}
@media (max-width:760px){
  .tv-search{padding:20px 16px 14px}
  .tv-form{grid-template-columns:1fr 1fr}
  .tv-form .btn{grid-column:1/-1}
  .tv-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .tv-rh{grid-template-columns:1fr}
  .tv-row{grid-template-columns:1fr;gap:12px}
  .tv-buy{flex-direction:row;align-items:center;justify-content:space-between;min-width:0}
}
.tv-op .tv-comfort{flex-direction:row;margin-top:5px}
