@font-face {
  font-family: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/noto-deva.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/noto-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1c1915;
  --muted: #5e584e;
  --paper: #f3efe6;
  --paper-2: #fffdf8;
  --line: #e4dccf;
  --asphalt: #14181f;
  --asphalt-2: #222833;
  --amber: #f0a202;
  --signal: #c81d25;
  --good: #0f7a45;
  --chip: #efe6d6;
  --shadow: 0 18px 40px rgba(20, 24, 31, 0.08);
  --radius: 18px;
  --font: "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;
  --display: "Outfit", "Noto Sans Devanagari", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 0.4rem; }
p { margin: 0 0 0.8rem; }
.sr, .skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip:focus { position: static; width: auto; height: auto; margin: 0; clip: auto; padding: 0.5rem 1rem; background: var(--amber); }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--asphalt); color: #f6f1e6;
  padding: 0.7rem 1rem 0.85rem;
}
.header-top, .header-tools, .site-nav, .langs { display: flex; align-items: center; gap: 0.55rem; }
.header-top { justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; }
.logo svg { width: 32px; height: 32px; }
.logo span span { color: var(--amber); }
.logo.light { color: #f6f1e6; }
.nav-toggle, .account, .tool, .langs a, .site-nav a, .text-btn, .btn, button {
  border-radius: 999px;
}
.nav-toggle, .account, .tool {
  background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.18);
  text-decoration: none; padding: 0.4rem 0.7rem; min-height: 42px;
}
.tool { display: inline-flex; align-items: center; gap: 0.35rem; }
.tool svg { width: 16px; height: 16px; }
.tool.yt { color: #ffe08a; }
.langs a { color: #f6f1e6; text-decoration: none; padding: 0.2rem 0.35rem; }
.langs a[aria-current="true"] { color: var(--amber); }
.header-search { display: flex; gap: 0.4rem; margin-top: 0.7rem; position: relative; }
.header-search input, .hero-search input, .filters input, .filters select, .stack input, .stack select, .stack textarea, .inline-sort select, .compare-form select {
  width: 100%; border: 1px solid var(--line); background: var(--paper-2); border-radius: 12px; padding: 0.75rem 0.8rem; min-height: 46px;
}
.header-search input { background: #fff; }
.header-search button, .hero-search button, .filters button, .btn {
  background: var(--amber); color: #1c1400; border: 0; font-weight: 700; padding: 0.7rem 1rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.site-nav { display: none; flex-wrap: wrap; margin-top: 0.7rem; }
.site-nav.is-open { display: flex; }
.site-nav a, .more summary { color: #f6f1e6; text-decoration: none; padding: 0.35rem 0.2rem; }
.site-nav a.is-active { color: var(--amber); }
.more { position: relative; }
.more summary { cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more div { display: grid; gap: 0.25rem; background: var(--asphalt-2); padding: 0.6rem; border-radius: 12px; margin-top: 0.3rem; }
.suggest { position: absolute; left: 0; right: 4.5rem; top: 100%; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow); z-index: 5; }
.suggest a { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.7rem 0.8rem; text-decoration: none; }
.suggest a small { color: var(--muted); }

main { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; padding-bottom: 4rem; }
.hero {
  margin: 1rem 0 0;
  background: var(--asphalt); color: #f6f1e6;
  border-radius: 28px; padding: 1.4rem 1.1rem 1.5rem;
  display: grid; gap: 1rem;
  box-shadow: inset 6px 0 0 var(--signal);
}
.kicker, .eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; color: var(--amber); margin: 0 0 0.4rem; }
html[lang="hi"] .kicker, html[lang="hi"] .eyebrow { text-transform: none; letter-spacing: 0; }
.hero h1 { font-size: clamp(2.1rem, 8vw, 4.3rem); max-width: 12ch; }
.lede { font-size: 1.08rem; max-width: 42rem; }
.hero-search { display: flex; gap: 0.45rem; }
.hero-panel { background: var(--asphalt-2); border-radius: 18px; padding: 1rem; }
.hero-panel strong { display: block; font-family: var(--display); font-size: 2.4rem; }
.hero-panel ul { padding-left: 1.1rem; margin: 0.6rem 0 0; }
.section { margin: 2rem 0; }
.section-head, .seg, .pager, .review-actions, .header-tools { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.section-head { justify-content: space-between; }
.cat-grid, .card-grid { display: grid; gap: 0.8rem; }
.cat, .vcard, .panel, .review, .rating-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem;
}
.cat { text-decoration: none; display: flex; flex-direction: column; min-height: 92px; justify-content: space-between; }
.cat:hover, .vcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.vcard h3 a { text-decoration: none; }
.price { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; list-style: none; }
.chips li, .pill { background: var(--chip); border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 0.85rem; }
.chips .video { background: #ffe7e4; color: var(--signal); }
.muted, .fine { color: var(--muted); font-size: 0.92rem; }
.stars { position: relative; display: inline-block; color: #ddd; letter-spacing: 0.08em; }
.stars-fill { position: absolute; left: 0; top: 0; width: var(--fill); overflow: hidden; color: #e39b00; white-space: nowrap; }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.brand-cloud a { text-decoration: none; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.75rem; }
.steps ol { display: grid; gap: 0.8rem; padding: 0; list-style: none; counter-reset: step; }
.steps li { background: var(--paper-2); border-radius: var(--radius); padding: 1rem; border: 1px solid var(--line); }
.steps li strong { display: block; }
.trust { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.trust li { background: #e7f6ee; color: var(--good); border-radius: 999px; padding: 0.35rem 0.7rem; }
.page-head { margin: 1.2rem 0; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0.8rem 0 0; margin: 0; color: var(--muted); font-size: 0.92rem; max-width: 100%; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; }
.crumbs li:last-child { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filters { display: grid; gap: 0.6rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem; margin-bottom: 1rem; }
.filters label, .stack label { display: grid; gap: 0.25rem; font-size: 0.92rem; }
.check { display: flex !important; align-items: center; gap: 0.4rem; }
.vehicle-layout, .contact-grid, .compare-table { display: grid; gap: 1rem; }
.specs { display: grid; gap: 0.45rem; margin: 0; }
.specs div { display: grid; grid-template-columns: minmax(8.5rem, 11rem) 1fr; gap: 0.5rem; border-bottom: 1px solid var(--line); padding-bottom: 0.35rem; }
.specs dt { color: var(--muted); }
.avg { font-family: var(--display); font-size: 3rem; margin: 0; }
.dist { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) 1.5rem; gap: 0.45rem; align-items: center; font-size: 0.9rem; }
.bar { background: #efe8da; border-radius: 99px; height: 10px; overflow: hidden; width: 100%; }
.bar span { display: block; height: 100%; background: var(--amber); }
.review-body { white-space: normal; }
.proscons { display: grid; gap: 0.4rem; }
.photo-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.photo-row img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.yt { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; margin: 0.6rem 0; }
.yt iframe, .yt button, .yt img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt button { padding: 0; background: #000; cursor: pointer; }
.yt img { object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%);
  background: #e10600; border-radius: 12px;
}
.play::after { content: ""; position: absolute; left: 28px; top: 14px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.review-actions button, .text-btn { background: transparent; border: 1px solid var(--line); padding: 0.4rem 0.7rem; cursor: pointer; text-decoration: none; }
.review-actions button.is-on { background: #fff4d6; border-color: var(--amber); }
.danger { color: var(--signal); }
.flash { padding: 0.7rem 0.9rem; border-radius: 12px; }
.flash.ok { background: #e7f6ee; }
.flash.bad, .field-error { color: var(--signal); }
.rate-input { border: 0; padding: 0; display: flex; gap: 0.35rem; }
.rate-input input { position: absolute; opacity: 0; }
.rate-input label { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--chip); cursor: pointer; font-weight: 700; }
.rate-input input:checked + label, .rate-input input:focus-visible + label { background: var(--amber); }
.stack { display: grid; gap: 0.7rem; max-width: 42rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--paper-2); }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.55rem; vertical-align: top; }
.plain { list-style: none; padding: 0; }
.plain li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.empty { background: var(--paper-2); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1rem; }
.site-footer { background: var(--asphalt); color: #e7e1d6; padding: 2rem 1rem 5rem; }
.footer-grid { width: min(var(--max), 100%); margin: 0 auto; display: grid; gap: 1.2rem; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.legal { width: min(var(--max), 100%); margin: 1rem auto 0; color: #b7b0a4; }
.wa-float {
  position: fixed; right: 14px; bottom: 14px; z-index: 40;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #0f8f62; color: #fff; text-decoration: none;
  border-radius: 999px; padding: 0.75rem 0.9rem; font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 143, 98, .35);
}
.wa-float svg { width: 22px; height: 22px; }
.has-sticky-cta .wa-float { bottom: 78px; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,253,248,.95); border-top: 1px solid var(--line); padding: 0.6rem 1rem; display: flex; justify-content: center; }
.admin-bar { background: var(--asphalt); color: #fff; padding: 0.8rem 1rem; display: grid; gap: 0.6rem; }
.admin-bar a { color: #fff; }
.admin-bar nav { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.admin-main { width: min(1100px, calc(100% - 2rem)); margin: 1rem auto 3rem; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; padding: 0; list-style: none; }
.stat-row li { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
@media (max-width: 720px) {
  .tool-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .header-tools .tool { padding-inline: 0.55rem; }
}
@media (min-width: 720px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .contact-grid { grid-template-columns: 0.8fr 1.2fr; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
}
html, body { overflow-x: clip; }
.site-header { padding: 0; }
.appbar { height: 56px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 12px; }
.appbar-actions { display: flex; margin-left: auto; }
.icon-btn, .bnav-link, .bnav-write { min-width: 48px; min-height: 48px; }
.icon-btn { display: grid; place-items: center; background: transparent; color: inherit; border: 0; padding: 0; cursor: pointer; }
.icon-btn svg, .bnav-link svg { width: 22px; height: 22px; }
.avatar { font-weight: 700; }
.desktop-search { display: none; }
.logo-word { white-space: nowrap; font-size: 1rem; }
.search-overlay { position: fixed; inset: 0; z-index: 50; background: var(--paper); padding: 12px; }
.search-overlay form { display: flex; flex-wrap: wrap; gap: 8px; }
.search-overlay input { flex: 1; min-width: 0; font-size: 16px; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; }
.search-overlay .suggest { position: static; width: 100%; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(20,24,31,.45); display: flex; align-items: flex-end; }
.sheet { background: var(--paper-2); width: 100%; max-height: 85vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.sheet-links { display: grid; gap: 10px; }
.sheet-links a { text-decoration: none; min-height: 48px; display: flex; align-items: center; }
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: #fffdf8; border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
.bnav-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; font-size: 10px; line-height: 1.15; text-align: center; color: var(--muted); min-height: 48px; padding: 0 2px; }
.nav-badge { position: absolute; top: 0; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: #D7263D; color: #fff; font-size: 10px; line-height: 16px; font-weight: 700; }
.bnav-link span { max-width: 100%; }
.bnav-link.is-active { color: var(--ink); font-weight: 700; }
.bnav-write { width: 56px; height: 56px; margin: -18px auto 4px; border-radius: 50%; background: var(--amber); color: #1c1400; display: grid; place-items: center; text-decoration: none; font-size: 2rem; line-height: 1; box-shadow: var(--shadow); }
.wa-float { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; left: 12px; right: auto; bottom: calc(88px + env(safe-area-inset-bottom)); }
.wa-float span { display: none; }
main { padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
.chip-scroller { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; overflow: visible; padding-bottom: 6px; }
.chip-scroller .cat { min-width: 0; flex: 1 1 140px; }
.rate-input label { width: 56px; height: 56px; font-size: 1.7rem; }
.rate-input[data-picked="1"] label:nth-of-type(-n+1),
.rate-input[data-picked="2"] label:nth-of-type(-n+2),
.rate-input[data-picked="3"] label:nth-of-type(-n+3),
.rate-input[data-picked="4"] label:nth-of-type(-n+4),
.rate-input[data-picked="5"] label:nth-of-type(-n+5) { background: var(--amber); }
.step-row { display: flex; gap: 8px; }
.faq { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.hero-search input, .desktop-search input, .search-overlay input { font-size: 16px; }
[hidden] { display: none !important; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .bottom-nav { display: none; }
  .wa-float { bottom: 20px; width: auto; border-radius: 999px; padding: 0 14px; }
  .wa-float span { display: inline; }
  main { padding-bottom: 3rem; }
  .chip-scroller { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; }
  .appbar { height: 64px; padding-inline: 16px; }
  .hero { grid-template-columns: 1.5fr 0.7fr; padding: 2.2rem; align-items: end; }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .vehicle-layout { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .steps ol { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none; }
  .has-sticky-cta .wa-float { bottom: 14px; }
}
@media (min-width: 1024px) {
  .appbar { height: 72px; gap: 20px; padding-inline: 28px; }
  .appbar-actions { margin-left: 0; order: 3; }
  [data-open-search] { display: none; }
  .hero-search { display: none; }
  .desktop-search {
    display: flex;
    order: 2;
    flex: 1 1 auto;
    align-items: center;
    gap: 10px;
    max-width: 560px;
    margin-left: 12px;
    position: relative;
  }
  .desktop-search input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #1c1915;
    padding: 0 18px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  }
  .desktop-search button {
    flex: 0 0 auto;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #f0a202;
    color: #1c1400;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
  }
  .desktop-search button svg { width: 18px; height: 18px; }
  .desktop-search .suggest { left: 0; right: 132px; top: calc(100% + 8px); }
}
.filter-bar { position: sticky; top: 56px; z-index: 25; background: var(--paper); margin: 0; padding: 0; max-width: 100%; }
.filter-scroll, .active-filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; overflow: visible; padding: 8px 0; align-items: center; }
.clear-all { white-space: nowrap; min-height: 48px; display: inline-flex; align-items: center; flex: 0 0 auto; }
.fchip, .choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.fchip.is-on, .choice.is-on, .choice:has(input:checked) { background: #1c1915; color: #fff; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice small { color: var(--muted); }
.choice.is-on small, .choice:has(input:checked) small { color: #f6f1e6; }
.filter-sheet .sheet section { margin: 18px 0; }
.filter-sheet .sheet h2, .review-flow h2 { font-size: 1rem; margin: 0 0 8px; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.progress { height: 6px; background: #e6e0d4; border-radius: 99px; overflow: hidden; margin: 8px 0 16px; }
.progress span { display: block; height: 100%; background: #f0a202; }
.sub-stars { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; border: 0; margin: 0; padding: 0; }
.sub-stars legend { width: 100%; font-size: 0.95rem; }
.sub-stars input { position: absolute; opacity: 0; }
.sub-stars label { min-width: 48px; min-height: 48px; display: grid; place-items: center; font-size: 1.4rem; }
.step-row { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.bnav-write { border: 0; cursor: pointer; padding: 0; }
.picker-search { position: relative; margin: 8px 0 16px; }
.fit-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.fit-row input { min-height: 48px; width: 96px; }
.fit-row button { min-width: 48px; min-height: 48px; }
.stack select { min-height: 48px; width: 100%; }
.picker-search input { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; font-size: 16px; }
.empty .btn, .empty .text-btn { min-height: 48px; }
input, select, textarea { color: var(--ink); -webkit-text-fill-color: var(--ink); caret-color: var(--ink); }
input::placeholder, textarea::placeholder { color: #8a8378; -webkit-text-fill-color: #8a8378; opacity: 1; }
.search-overlay input, .desktop-search input, .hero-search input, .header-search input { background: #fff; color: #1c1915; -webkit-text-fill-color: #1c1915; }
.class-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.class-card { min-height: 64px; display: flex; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; font-weight: 700; }
.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 8px 0 16px; }
.gallery img { width: min(88vw, 420px); height: 240px; object-fit: cover; scroll-snap-align: start; border-radius: 16px; flex: 0 0 auto; }
.sell-nav { color: inherit; min-height: 48px; }
.bnav-link { background: transparent; border: 0; cursor: pointer; }
.hero-search { position: relative; }
.hero-search .suggest { left: 0; right: 0; z-index: 50; }
.card-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; }
.card-rate-label { margin: 0; font-size: 0.92rem; }
.card-stars { display: flex; }
.card-stars a, .rate-sticky .card-stars a {
  min-width: 48px; min-height: 48px; display: grid; place-items: center;
  text-decoration: none; font-size: 1.6rem; color: #c4a15a; line-height: 1;
}
.card-write { min-height: 48px; display: inline-flex; align-items: center; }
.rate-sticky {
  position: sticky; top: 56px; z-index: 18;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  margin: 8px 0 12px; padding: 4px 0;
  background: var(--paper);
}
.rate-sticky p { margin: 0; font-weight: 700; }
.install-banner {
  position: static;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between;
  margin: 12px 0; padding: 10px 12px; border-radius: 16px;
  background: var(--asphalt); color: #f6f1e6;
}
.install-banner[hidden] { display: none; }
.install-banner p { margin: 0; flex: 1 1 180px; }
.install-banner .btn, .install-banner .text-btn { min-height: 48px; min-width: 48px; }
.install-banner .text-btn { color: #fff; border: 1px solid #fff; padding: 0 14px; background: transparent; }
@media (display-mode: standalone) {
  .install-banner { display: none !important; }
}
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.share-row a, .share-row button {
  min-height: 48px; display: inline-flex; align-items: center; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: inherit; text-decoration: none; font: inherit; cursor: pointer;
}
.prose p { margin: 0 0 0.8rem; }
.prose ul { margin: 0 0 0.8rem; padding-left: 1.2rem; }
@media (min-width: 1024px) {
  .rate-sticky { position: static; }
}
@media (min-width: 1024px) {
  .filter-bar { top: 72px; }
  .filter-sheet.sheet-backdrop, [data-picker].sheet-backdrop { align-items: center; justify-content: center; }
  .filter-sheet .sheet, [data-picker] .sheet { max-width: 720px; border-radius: 20px; }
}
.result-count { margin: 0 0 12px; font-weight: 700; color: var(--ink); }
.stack input, .stack select, .stack textarea, .stack input[type="file"] {
  width: 100%; max-width: 100%; min-height: 48px; box-sizing: border-box; font-size: 16px;
}
.listing-gallery { display: grid; gap: 8px; margin: 8px 0 16px; }
.photo-carousel { margin: 8px 0 16px; }
.photo-stage { position: relative; }
.photo-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photo-track::-webkit-scrollbar { display: none; }
.photo-slide { flex: 0 0 100%; scroll-snap-align: start; border: 0; padding: 0; background: #111; color: inherit; cursor: pointer; }
.photo-counter { position: absolute; right: 10px; bottom: 10px; margin: 0; padding: 4px 8px; border-radius: 999px; background: rgba(20,24,31,.72); color: #fff; font-size: 13px; }
.photo-stage .photo-arrow { display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%); z-index: 45; min-width: 48px; min-height: 48px; border: 0; border-radius: 999px; background: #fff; color: #111; font-size: 28px; }
.photo-stage .prev { left: 8px; }
.photo-stage .next { right: 8px; }
.photo-thumbs { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; margin-top: 8px; }
.photo-thumbs button { flex: 0 0 64px; width: 64px; height: 48px; padding: 0; border-radius: 8px; border: 2px solid transparent; overflow: hidden; background: #ece7dc; }
.photo-thumbs button.is-on { border-color: var(--ink); }
.photo-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.photo-viewer { position: fixed; inset: 0; z-index: 80; background: #000; display: grid; place-items: center; }
.photo-viewer[hidden] { display: none; }
.photo-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.photo-viewer-close, .photo-viewer .photo-arrow { position: absolute; min-width: 48px; min-height: 48px; border: 0; border-radius: 999px; background: rgba(255,255,255,.9); color: #111; font-size: 28px; }
.photo-viewer-close { top: 12px; right: 12px; }
.photo-viewer .photo-arrow { display: grid; place-items: center; top: 50%; }
.photo-viewer .prev { left: 8px; }
.photo-viewer .next { right: 8px; }
.photo-viewer .photo-counter { bottom: 16px; }
.chat-cta .btn { width: 100%; min-height: 48px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; margin: 8px 0; }
.chat-chips a, .chat-chips button { flex: 0 1 auto; min-height: 48px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; font: inherit; white-space: normal; }
.chat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chat-list a { display: grid; grid-template-columns: 72px 1fr auto; gap: 8px; align-items: center; text-decoration: none; color: inherit; min-height: 72px; }
.chat-list img, .chat-list .fresh-ph { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.chat-list small { display: block; color: var(--muted); }
.chat-log { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.chat-log li { max-width: 85%; padding: 8px 10px; border-radius: 12px; background: #fff; }
.chat-log li.mine { margin-left: auto; background: #14181f; color: #fff; }
.chat-log time { display: block; font-size: 11px; opacity: .7; }
.chat-form textarea { width: 100%; min-height: 48px; font: inherit; font-size: 16px; }
.card-photo { position: relative; display: block; }
.photo-badge { position: absolute; left: 8px; bottom: 8px; padding: 2px 6px; border-radius: 999px; background: rgba(20,24,31,.78); color: #fff; font-size: 12px; pointer-events: none; }
@media (min-width: 800px) {
  .wa-float { left: auto; right: 12px; }
}
.frame-43 { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: #ece7dc; }
.frame-43 img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.photo-manage { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.photo-row { display: grid; grid-template-columns: 128px 1fr; gap: 8px; align-items: start; }
.photo-row .frame-43 { width: 128px; }
.photo-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.photo-tools .fine { grid-column: 1 / -1; margin: 0; }
.photo-tools form { margin: 0; }
.photo-tools button, .owner-links a, .owner-actions .btn, .owner-actions .text-btn {
  min-height: 48px; width: 100%;
}
.owner-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.owner-links a { display: flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; }
.owner-bar {
  position: fixed; left: 0; right: 0; z-index: 46;
  bottom: calc(64px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px; background: var(--asphalt); color: #f6f1e6;
}
.owner-bar form { margin: 0; }
.owner-bar button:disabled { opacity: 0.7; }
.owner-bar a, .owner-bar button {
  min-height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: #f6f1e6; color: var(--asphalt); text-decoration: none;
  font: inherit; font-size: 13px; line-height: 1.2; text-align: center; border: 0; cursor: pointer; padding: 4px 6px;
  white-space: normal;
}
.has-owner-bar main { padding-bottom: calc(220px + env(safe-area-inset-bottom)); }
.has-owner-bar .install-banner { bottom: calc(148px + env(safe-area-inset-bottom)); }
.has-owner-bar .wa-float { display: none; }
.upload-row { display: grid; gap: 4px; margin: 8px 0; }
.upload-row progress { width: 100%; height: 12px; }
.home-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; position: relative; max-width: 100%; }
.home-search input { flex: 1 1 100%; min-width: 0; width: 100%; min-height: 48px; font-size: 16px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; }
.home-search button { min-height: 48px; min-width: 48px; }
.home-search .suggest { left: 0; right: 72px; }
.cat-row { display: flex; flex-wrap: wrap; gap: 10px; max-width: 100%; padding: 4px 0 12px; }
.cat-tile { flex: 0 0 84px; min-height: 88px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; text-decoration: none; font-size: 12px; line-height: 1.2; color: inherit; }
.cat-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.cat-ico svg { width: 26px; height: 26px; }
.fresh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fresh-card a { display: grid; gap: 4px; text-decoration: none; color: inherit; min-height: 48px; }
.fresh-card img, .fresh-ph { width: 100%; height: 120px; object-fit: cover; border-radius: 12px; background: #ece7dc; }
.fresh-ph { display: grid; place-items: center; color: var(--muted); font-size: 12px; text-align: center; padding: 8px; }
.fresh-card h3 { margin: 0; font-size: 0.95rem; line-height: 1.25; }
.hero.compact { padding: 1rem; margin-top: 8px; }
.hero.compact h1 { font-size: 1.35rem; }
@media (min-width: 800px) {
  .fresh-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-row { flex-wrap: wrap; overflow: visible; }
}
/* r31 stats */
.ad-stats { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ad-stat { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; text-align: center; min-width: 0; }
.ad-stat > a, .ad-stat > span { display: block; }
.ad-stat, .ad-stat a { color: inherit; text-decoration: none; }
.ad-stat a, .ad-stat { padding: 8px 4px; }
.ad-stat a { padding: 0; }
.ad-stat-ico { display: block; color: var(--muted); line-height: 0; margin-bottom: 2px; }
.ad-stat strong { display: block; font-family: var(--display); font-size: 1.2rem; line-height: 1.2; }
.ad-stat small { display: block; color: var(--muted); font-size: 0.72rem; line-height: 1.25; overflow-wrap: anywhere; }
.ad-stat-new { background: var(--signal); color: #fff; border-radius: 99px; padding: 0 6px; font-size: 0.65rem; vertical-align: middle; }
.wish-form { margin: 8px 0; }
.wish-btn { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; font: inherit; cursor: pointer; }
.wish-btn.is-on { background: #ffe7e4; border-color: var(--signal); color: var(--signal); }
@media (max-width: 380px) { .ad-stat small { font-size: 0.66rem; } }
/* r31c chat */
.ad-strip { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; text-decoration: none; color: inherit; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 8px; margin: 8px 0; }
.ad-strip img, .ad-strip .fresh-ph { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.ad-strip small { display: block; color: var(--muted); }
.ad-strip-status { color: var(--signal); font-weight: 700; }
.chat-chips a.is-on { background: var(--asphalt); color: #fff; border-color: var(--asphalt); }
.lc-list .lc-row { position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 4px 48px 4px 8px; }
.lc-list .lc-row > a { grid-template-columns: 44px 1fr auto; min-height: 64px; }
.lc-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--asphalt); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.lc-main { min-width: 0; }
.lc-main strong, .lc-preview { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-row.is-unread .lc-main strong { font-weight: 800; }
.lc-meta { display: grid; justify-items: end; gap: 4px; color: var(--muted); font-size: 0.78rem; }
.lc-dot { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--signal); color: #fff; font-size: 0.72rem; line-height: 20px; text-align: center; }
.lc-tick { color: var(--muted); letter-spacing: -2px; }
.lc-tick.is-read { color: #1a73e8; }
.chat-log li.mine .lc-tick { color: #cfd3da; }
.chat-log li.mine .lc-tick.is-read { color: #7db4ff; }
.lc-star { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); margin: 0; }
.lc-star button { min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0; }
.lc-star button.is-on { color: #e39b00; }
.chat-log li.chat-day { max-width: none; background: transparent; padding: 0; text-align: center; margin: 4px 0; }
.chat-log li.chat-day span { display: inline-block; background: var(--chip); color: var(--muted); border-radius: 999px; padding: 2px 12px; font-size: 0.78rem; }