/* travel · Vuelos y hoteles (usa los tokens de app.css; todo con prefijo tv-) */
.tv-seg { margin: 8px 0 2px; }
.tv-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.tv-seg svg { width: 17px; height: 17px; }
.tv-note { margin: 8px 4px 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.tv-note.tv-c { text-align: center; margin: 10px 6px 0; }

/* tus vuelos · vacío */
.tv-empty { display: flex; align-items: center; gap: 12px; }
.tv-empty .ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.tv-empty .ic svg { width: 20px; height: 20px; }
.tv-empty .tx { min-width: 0; }
.tv-empty b { display: block; font-size: 15px; font-weight: 600; }
.tv-empty .tx span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.tv-emptybtn { margin-top: 10px; }

/* rastreador: píldora con campo y botón negro */
.tv-track { display: flex; align-items: center; gap: 10px; height: 60px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--glass2); border: 1px solid var(--glass-line); box-shadow: var(--shadow); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); transition: box-shadow 160ms ease, border-color 160ms ease; }
.tv-track:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 17, 21, .08), var(--shadow); }
.tv-track-ic { display: grid; place-items: center; color: var(--muted); flex: none; }
.tv-track-ic svg { width: 18px; height: 18px; }
.tv-track input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.tv-track input::placeholder { font-weight: 500; letter-spacing: 0; color: var(--faint); }
.tv-track .go { height: 48px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 600; font-size: 14.5px; flex: none; }

/* pase de abordar */
.tv-pass { margin-top: 12px; padding: 16px 16px 14px; }
.tv-pass-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-air { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tv-air .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: var(--white); flex: none; }
.tv-air .ic svg { width: 19px; height: 19px; }
.tv-air .tx { min-width: 0; }
.tv-air b { display: block; font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-air span { display: block; font-size: 12.5px; color: var(--muted); }
.tv-route { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: center; gap: 8px; margin: 18px 2px 14px; }
.tv-route b { display: block; font-size: 30px; line-height: 1; letter-spacing: -.03em; font-weight: 800; }
.tv-route span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-route .r { text-align: right; }
.tv-line { position: relative; height: 26px; display: grid; place-items: center; color: var(--accent2); }
.tv-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--line2); }
.tv-line svg { position: relative; width: 22px; height: 22px; padding: 0 5px; box-sizing: content-box; background: var(--white); }
.tv-times { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 12px 2px; border-top: 1px dashed var(--line2); }
.tv-times small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.tv-times b { display: block; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; margin-top: 2px; }
.tv-times .r { text-align: right; }
.tv-times b.late { color: var(--warn); } .tv-times b.early { color: var(--info); }
.tv-pick { display: flex; align-items: center; gap: 12px; padding: 12px; margin: 2px 0 14px; border-radius: var(--r); background: var(--soft); }
.tv-pick .rt-dot { width: 36px; height: 36px; background: var(--ink); color: var(--white); }
.tv-pick .rt-dot svg { width: 18px; height: 18px; }
.tv-pick .tx { flex: 1; min-width: 0; }
.tv-pick small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.tv-pick b { display: block; font-size: 20px; letter-spacing: -.02em; line-height: 1.15; }
.tv-pick .tx span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-miss { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tv-miss b { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.tv-miss span { font-size: 13px; color: var(--muted); }
.tv-miss .chip { margin-top: 6px; min-height: 40px; }
.tv-miss .chip svg { width: 16px; height: 16px; }

/* llegadas de hoy */
.tv-hr { width: 48px; flex: none; text-align: center; line-height: 1.05; }
.tv-hr b { display: block; font-size: 17px; letter-spacing: -.02em; }
.tv-hr small { font-size: 11px; font-weight: 600; color: var(--muted); }
.lrow.tv-on { background: var(--soft); }
.tv-more { display: block; width: 100%; min-height: 44px; text-align: center; }

/* buscar vuelos (enlace externo) */
.tv-find { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 10px 14px 10px 10px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); }
.tv-find .art { width: 92px; height: 92px; border-radius: 16px; overflow: hidden; flex: none; background: var(--soft); }
.tv-find .art img { width: 100%; height: 100%; object-fit: cover; }
.tv-find .tx { display: block; flex: 1; min-width: 0; }
.tv-find b { display: block; font-size: 16px; letter-spacing: -.01em; }
.tv-find .tx > span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.tv-find .tx > .tv-ext { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent); }
.tv-ext svg { width: 14px; height: 14px; }

/* hoteles */
.tv-map { height: 210px; margin-bottom: 14px; }
.tv-hotels { display: flex; flex-direction: column; gap: 14px; }
.tv-hotel { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color 160ms ease, box-shadow 160ms ease; }
.tv-hotel.on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 17, 21, .07), var(--shadow-sm); }
.tv-hotel-main { display: block; width: 100%; text-align: left; transition: transform 140ms var(--ease); }
.tv-hotel-main:active { transform: scale(.985); }
.tv-hotel .ph { display: block; position: relative; height: 172px; overflow: hidden; background: var(--soft); }
.tv-hotel .ph .tagl { position: absolute; left: 12px; bottom: 12px; }
.tv-hotel .bd { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px 0; }
.tv-hotel .bd .tx { display: block; flex: 1; min-width: 0; }
.tv-hotel .bd b { display: block; font-size: 16px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-hotel .meta { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-hotel .pr { flex: none; text-align: right; font-weight: 700; font-size: 16px; }
.tv-hotel .pr small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.tv-hotel .desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 8px 14px 0; font-size: 13.5px; line-height: 1.4; color: var(--ink2); }
.tv-acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; }
.tv-acts .btn { flex: 1 1 auto; height: 42px; }
.tv-acts .btn svg { width: 16px; height: 16px; }
.tv-acts-0 { padding: 0; }

/* dónde te hospedas */
.tv-stay { display: flex; flex-direction: column; gap: 12px; }
.tv-stay-top { display: flex; align-items: center; gap: 12px; }
.tv-stay .thumb { position: relative; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex: none; background: var(--soft); display: grid; place-items: center; }
.tv-stay .tv-ic svg { width: 26px; height: 26px; }
.tv-stay .tx { flex: 1; min-width: 0; }
.tv-stay .tx b { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-stay .tx span { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }

/* escritorio: tarjeta flotante sobre el mapa con el vuelo rastreado */
.tv-over { display: flex; align-items: center; gap: 12px; width: min(100%, 460px); padding: 12px 14px; }
.tv-over .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: var(--white); flex: none; }
.tv-over .ic svg { width: 19px; height: 19px; }
.tv-over .tx { flex: 1; min-width: 0; }
.tv-over b { display: block; font-size: 15px; }
.tv-over .tx span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 370px) {
  .tv-route { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); }
  .tv-route b { font-size: 26px; }
  .tv-track { padding-left: 14px; gap: 8px; }
  .tv-track .go { padding: 0 16px; }
  .tv-find .art { width: 76px; height: 76px; }
}
