:root {
  --bg: #F3F6FC; --surface: #FFFFFF; --fg: #0B1B3A; --muted: #55627A; --line: #D9E1F0;
  --accent: #01368C; --accent-fg: #FFFFFF; --accent-soft: #E1EAFB; --ink: #01368C;
  --seat: #12A506; --seat-off: #D9E1F0; --vwin: #FFFFFF;
  --ok: #1B7F4B; --ok-soft: #DCF2E5; --warn: #7A5000; --warn-soft: #FFEFC2; --bad: #B3261E; --bad-soft: #F9DEDC;
  --font-body: 'Noto Sans Tamil', 'Noto Sans Sinhala', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-num: 'Space Grotesk', 'Noto Sans Tamil', 'Noto Sans Sinhala', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1020; --surface: #121B30; --fg: #EAF0FB; --muted: #9AA8C4; --line: #24324F;
    --accent: #5B9BFF; --accent-fg: #06142E; --accent-soft: #14264A; --ink: #8DB8FF;
    --seat: #3DD62B; --seat-off: #24324F; --vwin: #121B30;
    --ok: #5CD08F; --ok-soft: #123623; --warn: #FFC83A; --warn-soft: #3A2E0C; --bad: #F2877F; --bad-soft: #3D1816;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1020; --surface: #121B30; --fg: #EAF0FB; --muted: #9AA8C4; --line: #24324F;
  --accent: #5B9BFF; --accent-fg: #06142E; --accent-soft: #14264A; --ink: #8DB8FF;
  --seat: #3DD62B; --seat-off: #24324F; --vwin: #121B30;
  --ok: #5CD08F; --ok-soft: #123623; --warn: #FFC83A; --warn-soft: #3A2E0C; --bad: #F2877F; --bad-soft: #3D1816;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 15px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
[hidden] { display: none !important; }
.wrap { max-width: 560px; margin: 0 auto; padding-block: calc(18px + env(safe-area-inset-top, 0px)) calc(100px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 16px; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: var(--ink); }

.top { display: flex; align-items: center; gap: 12px; }
.mark { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; }
.brand { min-width: 0; }
.brand h1 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 700; text-wrap: balance; }
.brand p { margin: 0; font-size: 13px; color: var(--muted); }

.stack { display: flex; flex-direction: column; gap: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.panel h2 { margin: 0; font-size: 16px; }
.row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > label, .lbl { font-size: 12.5px; color: var(--muted); font-weight: 500; }
select, input[type=time], input[type=number], input[type=text], input[type=email], input[type=password], input[type=tel], input[type=search] {
  width: 100%; min-width: 0; font-size: 16px; padding: 10px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; min-height: 44px;
}
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); }
.swap { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; }
.seg { display: flex; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 8px 10px; border-radius: 8px; font-weight: 500; min-height: 40px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); }

.btn { border: 0; border-radius: 10px; padding: 10px 16px; min-height: 44px; font-weight: 600; background: var(--accent); color: var(--accent-fg); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.bad { background: transparent; color: var(--bad); border: 1px solid var(--line); }
.btn.sm { min-height: 40px; padding: 8px 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 6px 0; color: var(--muted); text-decoration: underline; font-size: 13px; }

.chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.sect { margin: 4px 0 -4px; font-size: 13px; font-weight: 700; color: var(--muted); }

.ride { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; }
.time { display: flex; flex-direction: column; align-items: flex-start; min-width: 54px; }
.time .t { font-family: var(--font-num); font-weight: 700; font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.time .p { font-size: 12px; color: var(--muted); }
.route { font-weight: 700; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.route .arr { color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--muted); margin-top: 2px; }
.foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.seats { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dots { display: flex; gap: 3px; }
.dots i { width: 9px; height: 14px; border-radius: 3px; background: var(--seat); }
.buy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fare { text-align: right; line-height: 1.2; }
.fare b { font-family: var(--font-num); font-size: 19px; font-variant-numeric: tabular-nums; }
.fare span { display: block; font-size: 11.5px; color: var(--muted); }

.empty { text-align: center; padding: 28px 16px; color: var(--muted); display: flex; flex-direction: column; gap: 12px; align-items: center; background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; }
.sugg { background: var(--accent-soft); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; }
.sugg b { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.err { color: var(--bad); font-size: 13.5px; }
.err:empty { display: none; }
.note { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.notice { font-size: 13.5px; background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 10px 12px; }

.person { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.person .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.person .nm { font-weight: 700; overflow-wrap: anywhere; }
.person .sub { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.stat b { display: block; font-family: var(--font-num); font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); display: block; }
.ledger { display: flex; flex-direction: column; }
.ledger div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.ledger div:first-child { border-top: 0; }
.ledger small { color: var(--muted); display: block; }
.ledger b { font-family: var(--font-num); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger b.pos { color: var(--ok); }
.ledger b.neg { color: var(--bad); }
.contact { background: var(--accent-soft); border-radius: 10px; padding: 8px 12px; font-size: 14px; }

.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line);
  padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
.nav-in { max-width: 560px; margin: 0 auto; display: grid; gap: 4px; }
.nav button { border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; min-height: 52px; border-radius: 10px; font-size: 11.5px; font-weight: 500; line-height: 1.25; }
.nav button[aria-current="page"] { color: var(--ink); background: var(--accent-soft); font-weight: 700; }
.badge { position: relative; display: inline-flex; }
.badge em { position: absolute; top: -5px; right: -9px; background: var(--bad); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 30; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 14px; max-width: calc(100% - 32px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
@media (prefers-reduced-motion: no-preference) { .toast { animation: rise .2s ease-out; } @keyframes rise { from { opacity: 0; transform: translate(-50%, 8px); } } }

/* ---------- பாதுகாப்பு மேம்பாடு: படங்கள், இலக்கத் தகடு, ஆவணங்கள் ---------- */
#banner:empty { display: none; }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.banner span { min-width: 0; flex: 1 1 200px; }

.av { position: relative; flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--ink); font-weight: 700; font-size: 15px; overflow: hidden; }
.av.md { width: 48px; height: 48px; font-size: 19px; }
.av.lg { width: 84px; height: 84px; font-size: 32px; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
img:not([src]) { visibility: hidden; }
img.failed { display: none; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who > div { min-width: 0; }

.drv { display: flex; align-items: center; gap: 10px; margin-top: 8px; min-width: 0; }
.dtxt { min-width: 0; }
.dtxt .nm { font-weight: 700; overflow-wrap: anywhere; }
.rmain { min-width: 0; }

.plate { display: inline-block; font-family: var(--font-num); font-weight: 700; font-size: 13px; letter-spacing: .06em; border: 2px solid #1b1b1b; border-radius: 6px; padding: 0 8px; background: #fff; color: #111; white-space: nowrap; line-height: 1.5; }
.vehicle, .vehline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.vehicle { background: var(--accent-soft); border-radius: 10px; padding: 8px 12px; }
.vehline { color: var(--muted); }

.file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
label.btn { display: inline-flex; align-items: center; justify-content: center; width: fit-content; }

.docs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.doc { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; }
.dh { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.dn { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; background: var(--bg); }
.docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.dthumb { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dl { font-size: 12px; color: var(--muted); }
.miss { aspect-ratio: 4 / 3; display: grid; place-items: center; border: 1px dashed var(--bad); color: var(--bad); border-radius: 8px; font-size: 12px; }

#lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; }
#lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 8px; visibility: visible; }

.sos { border-color: var(--bad); }
.flat { display: flex; flex-direction: column; gap: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
textarea { width: 100%; min-width: 0; min-height: 80px; font: inherit; font-size: 16px; color: inherit; padding: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; resize: vertical; }
.amt { max-width: 150px; }
.acts input[type=text] { flex: 1 1 140px; width: auto; }
.stats { grid-template-columns: repeat(2, 1fr); }
.doc .thumb { max-height: 170px; }
.miss.opt { border-color: var(--line); color: var(--muted); }
a.btn { text-decoration: none; }

/* ---------- வாகன ஐகான் தேர்வு ---------- */
.vpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; }
.vopt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 6px; min-height: 78px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.3; text-align: center; }
.vopt[aria-checked="true"] { border-color: var(--ink); background: var(--accent-soft); color: var(--ink); }
.vico { width: 46px; height: 30px; flex: none; }
.vico.sm { width: 28px; height: 18px; vertical-align: middle; margin-right: 6px; }
.vl { display: inline-flex; align-items: center; }
.vdisp { --vwin: var(--bg); display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font-weight: 600; }
.vdisp .vico { width: 34px; height: 22px; }


/* ---------- மேல் பட்டி: மொழி, theme, அறிவிப்பு ---------- */
.top { flex-wrap: nowrap; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.langs { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.langs button { border: 0; background: transparent; min-width: 36px; min-height: 40px; padding: 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.langs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-fg); }
.tbtn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--fg); padding: 0; }
.sh-head .tbtn, .bank .tbtn { border-color: transparent; background: transparent; }
.mark { color: var(--accent-fg); }
@media (max-width: 380px) { .brand p { display: none; } .tools { gap: 4px; } .langs button { min-width: 32px; padding: 0 6px; } }

/* ---------- இடத் தேர்வு ---------- */
.pbtn { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; padding: 8px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.pbtn.set { color: var(--fg); font-weight: 600; background: var(--surface); border-color: var(--accent); }
.pbtn .pl { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.pbtn small, .route small.sub, .sub small { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.quick { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.qchip { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; min-height: 36px; color: var(--fg); white-space: nowrap; }
.km { font-size: 12.5px; color: var(--muted); }
body.noscroll { overflow: hidden; }
#sheet { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: flex-end; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.sheet { position: relative; max-width: 560px; width: 100%; margin: 0 auto; max-height: 82vh; display: flex; flex-direction: column; background: var(--surface); border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
.sh-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sh-head h3 { margin: 0; flex: 1; text-align: center; font-size: 16px; }
.sh-head .sp { width: 40px; }
.sh-list { overflow-y: auto; padding: 8px 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.opt { text-align: left; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-weight: 600; color: var(--fg); }
.opt.any { background: var(--accent-soft); border-color: var(--accent); }
.pickother { display: flex; gap: 8px; margin-top: 6px; }
.pickother input { flex: 1; }

/* ---------- வங்கி விவரங்கள் ---------- */
.banks { display: flex; flex-direction: column; gap: 8px; }
.bank { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.blogo { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: .03em; overflow: hidden; }
.blogo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.bt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.bt span { font-size: 13px; color: var(--muted); }
.bt code { font-size: 16px; font-weight: 700; letter-spacing: .04em; user-select: all; font-family: var(--font-num); overflow-wrap: anywhere; }
.btn.wa { background: #FFFFFF; color: #15140F; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid #12A506; }
.btn.ghost.wa { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.waic { flex: none; }

/* ---------- மதிப்பீடு, அறிவிப்பு, சட்டப் பக்கம் ---------- */
.rate { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.rate small { font-weight: 400; color: var(--muted); }
.rate.none { color: var(--muted); font-weight: 500; }
.stars-ro { color: var(--seat); letter-spacing: 2px; }
.rate-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.stars { display: inline-flex; gap: 2px; }
.star { border: 0; background: transparent; font-size: 28px; line-height: 1; padding: 2px 4px; min-width: 40px; min-height: 40px; color: var(--seat); }
.nlist { display: flex; flex-direction: column; }
.nitem { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.nitem:first-child { border-top: 0; }
.nitem small { display: block; color: var(--muted); margin-top: 2px; }
.nitem.unread { border-left: 3px solid var(--accent); padding-left: 10px; }
.doc-text { font-size: 14px; line-height: 1.75; }
.doc-text h3 { font-size: 15px; margin: 16px 0 4px; }
.doc-text p, .doc-text ul { margin: 6px 0; }
.doc-text ul { padding-left: 20px; }
.doc-text .stamp { font-size: 12.5px; color: var(--muted); }
.link.inl { display: inline; padding: 0; font-size: inherit; color: var(--ink); }
.legal-links { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; }
.trip { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.trip:first-child { border-top: 0; }
.trip > span { min-width: 0; display: block; }
.trip small { display: block; color: var(--muted); }
.trip .acts { margin-top: 6px; }
.person .sub .rate { font-size: 12px; }

/* பயணி கோரிக்கை */
.fvseg { margin-bottom: 2px; }
.wantwrap { display: flex; flex-direction: column; gap: 8px; }
.left { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.takef { border-color: var(--accent); }

.btn.wa .wat { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }
.btn.wa .wat small { font-size: 13px; font-weight: 600; opacity: .75; font-family: var(--font-num); }

/* 3D வாகனப் படங்கள் */
.vico3d { width: 46px; height: 46px; flex: none; object-fit: contain; }
.vico3d.sm { width: 26px; height: 26px; vertical-align: middle; margin-right: 6px; }
.vdisp .vico3d { width: 36px; height: 36px; }
.vopt { min-height: 88px; }

/* ஓட்டுநர் ID */
.did { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin-bottom: 10px; border: 1px dashed var(--ink); border-radius: 10px; background: var(--accent-soft); color: var(--ink); }
.did span { font-size: 13px; color: var(--muted); }
.did b { font-family: var(--font-num); font-size: 20px; letter-spacing: .06em; flex: 1; }

/* விளம்பர pop-up */
.adpop { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .6); animation: adin .25s ease; }
@keyframes adin { from { opacity: 0 } to { opacity: 1 } }
.ad-card { position: relative; width: 100%; max-width: 380px; max-height: 88vh; overflow: auto; background: var(--surface); color: var(--fg); border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.ad-img { display: block; width: 100%; max-height: 42vh; object-fit: cover; border-radius: 20px 20px 0 0; background: var(--accent-soft); }
.ad-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.ad-body h3 { margin: 0; font-size: 1.2rem; line-height: 1.35; color: var(--ink); }
.ad-body p { margin: 0; color: var(--muted); line-height: 1.55; }
.ad-tag { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(0, 0, 0, .55); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 999px; }
.ad-x { position: absolute; right: 10px; top: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.ad-x:disabled { opacity: .75; cursor: default; }
.ad-card:not(:has(.ad-img)) .ad-body { padding-top: 50px; }

/* புதியவர் வழிகாட்டி */
.tour { position: fixed; inset: 0; z-index: 95; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .55); animation: adin .25s ease; }
.tour-card { position: relative; width: 100%; max-width: 420px; background: var(--surface); color: var(--fg); border-radius: 22px; padding: 28px 22px 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: max(8px, env(safe-area-inset-bottom, 0px)); }
.tour-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--accent-soft); color: var(--ink); display: grid; place-items: center; }
.tour-ic svg { width: 38px; height: 38px; }
.tour-card h3 { margin: 6px 0 0; font-size: 1.25rem; line-height: 1.35; color: var(--ink); }
.tour-card p { margin: 0; color: var(--muted); line-height: 1.6; min-height: 5.4em; }
.tour-dots { display: flex; gap: 6px; margin: 4px 0; }
.tour-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--seat-off); }
.tour-dots i.on { background: var(--seat); width: 22px; border-radius: 6px; }
.tour-btns { display: flex; justify-content: space-between; gap: 10px; width: 100%; margin-top: 6px; }
.tour-btns .btn { flex: 1; }
.tour-btns span { flex: 1; }
.tour-skip { position: absolute; right: 14px; top: 12px; background: none; border: 0; color: var(--muted); font: inherit; font-size: .85rem; cursor: pointer; padding: 6px; }

/* கடவுச்சொல் 👁 */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 48px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.pw-eye:hover, .pw-eye:focus-visible { color: var(--ink); background: var(--accent-soft); }

.delbox { width: 100%; background: rgba(214, 48, 49, .08); border: 1px solid rgba(214, 48, 49, .4); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }

.adthumb { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); flex: none; }
.adthumb.big { width: 100%; height: auto; max-height: 180px; margin: 6px 0; }
.notice.promo { background: var(--accent-soft); color: var(--ink); font-weight: 600; }

.panel.nopad { padding: 0; overflow: hidden; }
.panel.nopad > .accbody { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.acchead { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 14px 16px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; font: inherit; font-weight: 700; font-size: 16px; text-align: left; cursor: pointer; }
.panel.nopad > .acchead { border: 0; border-radius: 0; }
.acchead span { flex: 1; }
.acchead em { font-style: normal; font-weight: 700; font-size: 13px; padding: 3px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--ink); }
.acchead i { width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
.acchead[aria-expanded="true"] i { transform: rotate(-135deg); }
.accbody[hidden] { display: none; }
#profile > .accbody { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.earnpill { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 19; display: flex; gap: 14px; padding: 9px 16px; border: 0; border-radius: 99px; background: var(--accent); color: var(--accent-fg); font: inherit; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); cursor: pointer; }
.earnpill[hidden] { display: none; }
.earnpill span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.earnpill small { font-size: 11px; opacity: .8; }
.earnpill b { font-size: 15px; }

/* பல வாகனங்கள் */
.vcard { border: 1px solid var(--line, #d9dee8); border-radius: 12px; overflow: hidden; background: var(--card, transparent); }
.vcard.on { border-color: var(--brand, #01368C); }
.vhead { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; flex-wrap: wrap; }
.vhead .vt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 120px; }
.vhead .vt small { opacity: .7; overflow-wrap: anywhere; }
.vhead .vchips { display: flex; gap: 6px; flex-wrap: wrap; }
.vbody { padding: 0 12px 12px; }
.vacts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.vswitch { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.vsw { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line, #d9dee8); background: none; color: inherit; font: inherit; cursor: pointer; }
.vsw.on { border-color: var(--brand, #01368C); font-weight: 700; }

/* எரிபொருள் panel */
.fuelrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; padding: 10px 0; border-top: 1px solid var(--line, #d9dee8); }
.fuelrow > b { grid-column: 1 / -1; }
.fuelrow label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; min-width: 0; }
.fuelrow .fuelres { grid-column: 1 / -1; font-weight: 700; }
