/* icons */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none; }

/* desktop nav */
.desknav { display: none; }
@media (min-width: 1024px) {
  .desknav { display: flex; align-items: center; gap: 28px; padding: 16px 24px; position: sticky; top: 0; z-index: 25; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .desknav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
  .desknav nav { display: flex; gap: 4px; flex: 1; }
  .desknav nav a { padding: 8px 14px; border-radius: var(--pill); color: var(--muted); font-weight: 500; }
  .desknav nav a.on { color: var(--ink-fg); background: var(--ink); }
  .mobonly { display: none !important; }
}

/* home */
.homehead { display: flex; align-items: center; gap: 10px; padding: calc(14px + env(safe-area-inset-top)) 16px 4px; }
.homehead .brand { font-size: 20px; font-weight: 700; flex: 1; display: flex; align-items: center; gap: 9px; }
.hero { position: relative; margin: 10px 16px 0; border-radius: 22px; overflow: hidden; min-height: 210px; background: #141414; color: #fff; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 12, 12, .12) 0%, rgba(12, 12, 12, .78) 100%); }
.hero .txt { position: relative; z-index: 1; padding: 92px 20px 44px; }
.hero h2 { font-size: 27px; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; max-width: 15ch; }
.hero p { font-size: 15px; opacity: .9; margin-top: 6px; }
.search { margin: -26px 16px 0; position: relative; z-index: 2; padding: 6px 16px 16px; }
.odbox { position: relative; }
.odrow { display: flex; align-items: center; gap: 14px; padding: 14px 52px 14px 0; width: 100%; text-align: left; }
.odrow + .odrow { border-top: 1px solid var(--line); }
.odrow .lbl { font-size: 12.5px; color: var(--muted); display: block; }
.odrow .val { font-size: 18px; font-weight: 600; display: block; }
.odrow .val.ph { color: var(--faint); font-weight: 500; }
.odrow .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); font-size: 18px; flex: none; }
.swap { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: var(--pill); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; color: var(--accent); font-size: 20px; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.swap:active { transform: translateY(-50%) rotate(180deg); }
.daterow { display: flex; gap: 8px; align-items: center; padding: 14px 0 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.datepick { position: relative; overflow: hidden; }
.datepick input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.deskintro { display: none; }
.hero .cap { display: none; }
.ghatnote { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 13px; color: var(--muted); line-height: 1.45; }
.ghatnote .ic { flex: none; font-size: 18px; color: var(--accent); margin-top: 1px; }
.recent { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.recent::-webkit-scrollbar { display: none; }
.routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.route { position: relative; border-radius: var(--r); overflow: hidden; min-height: 132px; color: #fff; text-align: left; display: block; width: 100%; }
.route img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.route:hover img { transform: scale(1.04); }
.route::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.7)); }
.route .t { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.route .t b { display: block; font-size: 17px; }
.route .t span { font-size: 13px; opacity: .9; }
.offers { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 10px; }
.offers::-webkit-scrollbar { display: none; }
.offer { padding: 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; }
.offer .code { font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 14px; color: var(--accent); background: var(--ink); padding: 4px 10px; border-radius: 6px; justify-self: start; letter-spacing: .04em; }
.trust { display: grid; gap: 18px; padding: 6px 0 4px; }
.trust div { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; align-items: start; }
.trust div .ti { grid-row: span 2; }
@media (min-width: 768px) { .trust { grid-template-columns: repeat(3, 1fr); } .trust div { grid-template-columns: 1fr; } .trust div .ti { grid-row: auto; } }
.trust .ti { font-size: 24px; color: var(--accent); }
.trust b { font-size: 15px; }
@media (min-width: 1024px) {
  .homegrid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 26px 40px; padding: 28px 24px 0; }
  .homegrid .hero { margin: 0; min-height: 480px; grid-column: 2; grid-row: 1 / span 2; }
  .homegrid .hero img { object-position: 76% center; }
  .homegrid .hero .txt { display: none; }
  .homegrid .hero .cap { display: flex; align-items: center; gap: 8px; position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; font-size: 13.5px; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
  .homegrid .hero .cap .ic { font-size: 18px; flex: none; }
  .homegrid .hero::after { background: linear-gradient(180deg, rgba(12, 12, 12, 0) 55%, rgba(12, 12, 12, .35) 100%); }
  .deskintro { display: block; grid-column: 1; grid-row: 1; align-self: end; padding-top: 18px; }
  .deskintro h1 { font-size: 46px; line-height: 1.06; letter-spacing: -.025em; font-weight: 700; max-width: 13ch; }
  .deskintro p { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 46ch; line-height: 1.5; }
  .homegrid .search { margin: 0; padding: 18px 22px 22px; grid-column: 1; grid-row: 2; align-self: start; }
  .routes { grid-template-columns: repeat(3, 1fr); }
  .top .sandbox { display: none; }
  .homehead { display: none; }
  .homebody { padding: 0 24px; }
}

/* results */
.datestrip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 16px 10px; }
.datestrip::-webkit-scrollbar { display: none; }
.dchip { flex: none; min-width: 64px; padding: 8px 10px; border-radius: 12px; text-align: center; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.2; }
.dchip b { display: block; font-size: 15px; }
.dchip span { font-size: 12px; color: var(--muted); }
.dchip.on { background: var(--ink); color: var(--ink-fg); box-shadow: none; }
.dchip.on span { color: inherit; opacity: .85; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 12px; }
.filters::-webkit-scrollbar { display: none; }
.reslist { display: grid; gap: 12px; padding: 0 16px; }
.routenote { margin: 0 16px 12px; }
.tripcard { display: grid; gap: 12px; padding: 16px; width: 100%; text-align: left; transition: transform .15s; }
.tripcard:active { transform: scale(.99); }
.opname { font-weight: 600; font-size: 16.5px; }
.price { font-size: 21px; font-weight: 700; }
.timeline { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.timeline b { font-size: 19px; font-weight: 600; display: block; }
.timeline .small { display: block; max-width: 18ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.timeline sup { font-size: 11px; color: var(--warn); margin-left: 2px; }
.dur { position: relative; text-align: center; }
.dur::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed var(--line); }
.dur span { position: relative; background: var(--surface); padding: 0 8px; font-size: 12.5px; color: var(--muted); }
.amen { gap: 12px; font-size: 16px; }
.resbar { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 10px; }
.sortsel { border: 0; background: transparent; font-weight: 600; color: var(--accent-strong); }
@media (min-width: 1024px) {
  .reslayout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 0 24px; }
  .reslayout .filters { flex-direction: column; overflow: visible; padding: 0; position: sticky; top: 90px; align-self: start; }
  .reslayout .filters .chip { justify-content: flex-start; height: 42px; }
  .reslayout .reslist, .reslayout .resbar { padding: 0; }
  .reslayout .routenote { margin: 0 0 12px; }
}

/* seats */
.decks { display: flex; gap: 6px; background: var(--surface-2); padding: 4px; border-radius: var(--pill); }
.decks button { flex: 1; height: 38px; border-radius: var(--pill); font-weight: 600; font-size: 14px; color: var(--muted); }
.decks button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.bus { padding: 18px 14px 20px; border-radius: 22px; }
.bus .front { display: flex; justify-content: flex-end; color: var(--faint); font-size: 22px; padding: 0 4px 12px; border-bottom: 1.5px dashed var(--line); margin-bottom: 14px; }
.seatmap { display: grid; gap: 8px; }
.seat { border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; font-size: 12px; transition: transform .12s, background .15s; }
.seat.sl { min-height: 88px; }
.seat .sid { font-weight: 600; font-size: 12.5px; }
.seat .sp { font-size: 11px; color: var(--muted); }
.seat .ic { font-size: 17px; }
.seat.free { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--text); color: var(--text); }
.seat.lo { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ladies); color: var(--ladies); }
.seat.on { background: var(--accent); color: var(--accent-ink); }
.seat.on .sp { color: inherit; opacity: .85; }
.seat.bk { background: var(--line); color: var(--faint); cursor: not-allowed; }
.seat.bf { background: var(--ladies-soft); color: var(--ladies); opacity: .7; cursor: not-allowed; }
.seat:not(:disabled):active { transform: scale(.94); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.seatpage { display: grid; gap: 16px; padding: 4px 16px 0; }
@media (min-width: 1024px) { .seatpage { grid-template-columns: minmax(320px, 420px) 1fr; padding: 4px 24px 0; align-items: start; } }
details.info { padding: 0 16px; }
details.info summary { list-style: none; padding: 16px 0; display: flex; justify-content: space-between; font-weight: 600; cursor: pointer; }
details.info summary::-webkit-details-marker { display: none; }
details.info[open] summary .ic { transform: rotate(180deg); }
details.info .body { padding-bottom: 16px; display: grid; gap: 10px; font-size: 14.5px; }
details.info + details.info { border-top: 1px solid var(--line); }
.stopline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pol { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; font-size: 14px; }

/* points */
.opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; width: 100%; text-align: left; }
.opt + .opt { border-top: 1px solid var(--line); }
.opt .radio { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); flex: none; display: grid; place-items: center; }
.opt.on .radio { box-shadow: inset 0 0 0 2px var(--accent); }
.opt.on .radio::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.opt .tm { font-weight: 700; font-size: 16px; width: 54px; flex: none; }

/* forms */
.pax { padding: 16px; display: grid; gap: 14px; }
.pax .head { display: flex; justify-content: space-between; align-items: center; }
.seg { display: flex; gap: 8px; }
.seg button { flex: 1; height: 48px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500; }
.seg button.on { box-shadow: none; background: var(--ink); color: var(--ink-fg); font-weight: 600; }
.seg button:disabled { opacity: .45; cursor: not-allowed; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
.toggle { display: flex; align-items: center; gap: 14px; padding: 14px 16px; width: 100%; text-align: left; }
.switch { width: 46px; height: 28px; border-radius: 14px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s cubic-bezier(.16,1,.3,1); }
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(18px); }

/* review & fares */
.fare { display: grid; grid-template-columns: 1fr auto; gap: 10px 0; font-size: 15px; padding: 16px; }
.fare > :nth-child(even) { text-align: right; padding-left: 16px; }
.fare .tot { font-weight: 700; font-size: 18px; padding-top: 10px; border-top: 1px solid var(--line); }
.fare .neg { color: var(--accent-strong); }
.hold { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r); background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 500; }
.couponrow { display: flex; gap: 10px; padding: 16px 16px 8px; }
.couponrow input { flex: 1; min-width: 0; height: 48px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); padding: 0 14px; text-transform: uppercase; outline: none; }
.couponrow input:focus { border-color: var(--accent); }
.summary { padding: 16px; display: grid; gap: 12px; }

/* payment sheet */
.paybanner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn); font-size: 13.5px; margin-bottom: 14px; }
.method { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); width: 100%; text-align: left; }
.method + .method { margin-top: 10px; }
.method .mi { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; font-size: 21px; color: var(--accent); flex: none; }
.outcome { display: grid; gap: 10px; margin-top: 14px; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; margin: 26px auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ticket */
.status { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); }
.status .si { font-size: 34px; flex: none; }
.status.good { background: var(--good-soft); color: var(--good); }
.status.warn { background: var(--warn-soft); color: var(--warn); }
.status.bad { background: var(--bad-soft); color: var(--bad); }
.status h3 { font-size: 17px; }
.status p { font-size: 13.5px; opacity: .9; }
.tkt { overflow: hidden; }
.tkt .top2 { padding: 18px 16px; display: grid; gap: 14px; }
.perf { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 14px; }
.perf::before, .perf::after { content: ''; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.perf::before { left: -26px; } .perf::after { right: -26px; }
.qrbox { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px 16px; }
.qrbox .qr { width: 132px; height: 132px; background: #fff; border-radius: 12px; padding: 8px; }
.qrbox .qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.pnr { font-family: ui-monospace, Menlo, monospace; font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.kv .k { font-size: 12.5px; color: var(--muted); }
.kv .v { font-weight: 600; font-size: 15px; }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.refund { display: grid; padding: 4px 16px 14px; }
.step { display: grid; grid-template-columns: 22px 1fr; gap: 12px; position: relative; padding-bottom: 14px; }
.step:last-child { padding-bottom: 0; }
.step .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--line); margin-top: 3px; position: relative; z-index: 1; }
.step.done .dot { background: var(--accent); }
.step:not(:last-child)::before { content: ''; position: absolute; left: 7px; top: 19px; bottom: 0; width: 2px; background: var(--line); }
.step.done:not(:last-child)::before { background: var(--accent); }

/* bookings */
.bk { padding: 16px; display: grid; gap: 10px; width: 100%; text-align: left; }
.segtabs { display: flex; gap: 6px; padding: 4px; background: var(--surface-2); border-radius: var(--pill); margin: 4px 16px 14px; }
.segtabs button { flex: 1; height: 38px; border-radius: var(--pill); font-weight: 600; font-size: 14px; color: var(--muted); }
.segtabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* tracking */
.trk { padding: 18px 16px; position: relative; }
.tstop { display: grid; grid-template-columns: 54px 22px 1fr; gap: 12px; position: relative; min-height: 56px; }
.tstop .tm { font-weight: 600; font-size: 14px; padding-top: 1px; }
.tstop .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 3px var(--line); margin: 3px 4px 0; position: relative; z-index: 1; }
.tstop.past .dot { box-shadow: inset 0 0 0 7px var(--accent); }
.tstop:not(:last-child)::before { content: ''; position: absolute; left: 76px; top: 18px; bottom: -3px; width: 2px; background: var(--line); }
.tstop.past:not(:last-child)::before { background: var(--accent); }
.busdot { position: absolute; left: 82px; z-index: 2; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; box-shadow: 0 0 0 5px var(--accent-soft); transition: top .9s linear; }

/* empty + misc */
.empty { text-align: center; padding: 48px 24px; display: grid; gap: 10px; justify-items: center; }
.empty .emicon { width: 64px; height: 64px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 30px; margin-bottom: 6px; }
.empty h3 { font-size: 18px; }
.empty p { max-width: 34ch; font-size: 14.5px; }
.list > * + * { border-top: 1px solid var(--line); }
.li { display: flex; align-items: center; gap: 14px; padding: 15px 16px; width: 100%; text-align: left; }
.li > .ic { font-size: 20px; color: var(--muted); }
.citem { display: flex; align-items: center; gap: 12px; padding: 13px 4px; width: 100%; text-align: left; border-bottom: 1px solid var(--line); }
.citem .ci { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); font-size: 18px; flex: none; }
.citem b { font-weight: 600; display: block; }
.citem .kn { font-size: 13px; color: var(--faint); }
.search-in { height: 50px; width: 100%; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface-2); padding: 0 14px; outline: none; margin-bottom: 6px; }
.search-in:focus { border-color: var(--accent); background: var(--surface); }
.faq summary { padding: 15px 16px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { padding: 0 16px 16px; color: var(--muted); font-size: 14.5px; }
.pagepad { padding: 0 16px; }
@media (min-width: 1024px) { .pagepad { padding: 0 24px; } }
.stack { display: grid; gap: 14px; }
.notice { font-size: 12.5px; color: var(--faint); text-align: center; padding: 24px 16px 8px; }
