:root {
  --bg: #000;
  --s1: #0a0a0a;
  --s2: #131313;
  --line: #222;
  --text: #f2f2f2;
  --muted: #8b8b8b;
  --ink: #0b0b0b;
  --bad: #ff5a5a;
  --silver-solid: #d4d4d4;
  /* Uchinchi aksent: elektrik ko'k */
  --accent: #4d8dff;
  --accent-hi: #7aa8ff;
  --accent-deep: #0a162d;
  --accent-line: #1a3566;
  /* Metall: vertikal xrom (yorug' tepa, qorong'i aks chizig'i, pastki aks), jilvir va faska */
  --metal: linear-gradient(180deg, #fdfdfd 0%, #e6e6e6 20%, #c2c2c2 44%, #8e8e8e 50%, #a9a9a9 56%, #d8d8d8 80%, #f4f4f4 100%);
  --brush: repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, rgba(0,0,0,.035) 1px 2px, rgba(255,255,255,0) 2px 3px);
  --metal-text: linear-gradient(180deg, #ffffff 0%, #f1f1f1 38%, #9a9a9a 52%, #c9c9c9 64%, #f6f6f6 100%);
  --edge: linear-gradient(160deg, #f4f4f4 0%, #6f6f6f 32%, #dcdcdc 55%, #3e3e3e 80%, #b5b5b5 100%);
  --bevel: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(0,0,0,.35), 0 1px 0 rgba(0,0,0,.9), 0 10px 26px -14px rgba(255,255,255,.28);
  --head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  color-scheme: dark;
}

/* ---------- Shisha (glassmorphism) ---------- */
body {
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(77,141,255,.16), transparent 60%),
    radial-gradient(800px 700px at -10% 30%, rgba(160,170,190,.10), transparent 60%),
    radial-gradient(700px 600px at 70% 110%, rgba(77,141,255,.08), transparent 60%),
    #000;
  background-attachment: fixed;
}
.langs a[aria-current], .crown, .card .score, .cta-ai > span, .sbtn {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 24px -12px rgba(0,0,0,.9);
  color: var(--text);
  text-shadow: none;
}
.crown, .card .score { border-color: rgba(122,168,255,.5); color: #e3edff; background: linear-gradient(180deg, rgba(122,168,255,.32), rgba(77,141,255,.12)); }
.picker button, .sbtn.tg, .ai-start, .verdict li:first-child, .chip.on {
  background: linear-gradient(180deg, rgba(122,168,255,.34) 0%, rgba(77,141,255,.14) 55%, rgba(77,141,255,.08) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(122,168,255,.55);
  box-shadow: inset 0 1px 0 rgba(220,232,255,.45), inset 0 -10px 24px -16px rgba(77,141,255,.5), 0 14px 40px -18px rgba(77,141,255,.55);
  color: #eaf1ff;
  text-shadow: none;
}
.bar.win span, .quiz-progress span { background: linear-gradient(90deg, #2f6fe0, var(--accent-hi)); box-shadow: 0 0 12px rgba(77,141,255,.45); }
.logo b, .price, .vs, .bigprice, .calc-out b, .trio .row i, .trio .go, .score-big b, .h1-silver {
  background-image: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vcar.win, a.card:hover, .pill:hover, .picker {
  border-color: rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.vcar.win { border-color: rgba(122,168,255,.55); box-shadow: inset 0 1px 0 rgba(220,232,255,.25), 0 30px 80px -40px rgba(77,141,255,.6); }
.card, .vcar, details, .tablewrap, .calc-out div, .factor, .verdict li, .msg.bot p, .chip, .pill, .langs, .specs {
  background-color: rgba(14,14,14,.72);
}
.picker button, .sbtn, .ai-start, .cta-ai { transition: background .25s, border-color .25s, box-shadow .25s, transform .15s; }
.picker button:hover, .sbtn.tg:hover, .ai-start:hover { border-color: rgba(170,200,255,.85); box-shadow: inset 0 1px 0 rgba(220,232,255,.6), 0 18px 50px -16px rgba(77,141,255,.75); }
.picker button:hover, .sbtn.tg:hover, .ai-start:hover { @media (prefers-reduced-motion: no-preference) { transform: translateY(-1px); } }
.sbtn:hover { border-color: rgba(255,255,255,.3); }

/* Ikonkalar */
.ic { width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: -0.17em; margin-right: .45em; stroke-width: 1.8; }
h2 .ic { color: #9d9d9d; width: .95em; height: .95em; vertical-align: -0.08em; }
.ic.big { width: 30px; height: 30px; margin: 0 0 12px; color: #cfcfcf; stroke-width: 1.5; display: block; }
th .ic, dt .ic, .factor .ic, label .ic { color: #8b8b8b; }
.nav a .ic { width: 1em; height: 1em; }
.tags em .ic { width: 1em; height: 1em; margin-right: .3em; }
.sbtn .ic { margin-right: .55em; }
.ai-start .ic:last-child { margin: 0 0 0 .5em; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); }
a { color: inherit; }
main, .top, .foot { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .logo, .model, .vs, .h { font-family: var(--head); line-height: 1.08; }
h1 { font-size: clamp(36px, 6.4vw, 76px); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; margin: 8px 0 18px; text-wrap: balance; }
h2 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 18px; }
h3 { font-size: 19px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.lead { font-size: 18px; color: #c9c9c9; max-width: 720px; }
.kicker { display: inline-block; color: #bdbdbd; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; margin: 0; }

/* Header */
.top { display: flex; align-items: center; gap: 20px; height: 68px; border-bottom: 1px solid var(--line); }
.logo { font-weight: 700; font-size: 24px; letter-spacing: .04em; text-decoration: none; }
.nav { display: flex; gap: 18px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }
.langs { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.langs a { padding: 6px 12px; font-size: 13px; text-decoration: none; color: var(--muted); font-weight: 700; }

.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-style: normal; opacity: .4; }

/* Hero */
.hero { padding: 40px 0 32px; }
.hero.home { padding: 64px 0 40px; }
.hero.home h1 { max-width: 920px; }
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; padding: 16px; border: 1px solid transparent; border-radius: 18px; }
.picker select { flex: 1 1 220px; appearance: none; background: var(--s2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4d4d4' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 14px 40px 14px 16px; font: 600 16px var(--body); }
.picker button { flex: 0 0 auto; border: 0; border-radius: 12px; padding: 14px 30px; font: 600 18px var(--head); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.picker button:hover { filter: brightness(1.1); }
.vs { font-weight: 700; font-size: 22px; letter-spacing: .04em; }

/* VS cards */
.versus { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.versus .vs { font-size: clamp(24px, 3.4vw, 40px); }
.vcar { flex: 1 1 240px; position: relative; display: flex; flex-direction: column; text-decoration: none; padding: 22px; background: var(--s1); border: 1px solid var(--line); border-radius: 20px; }
.vcar.win { box-shadow: 0 24px 70px -40px rgba(255,255,255,.35); }
.crown { position: absolute; top: 14px; right: 14px; font: 600 12px var(--head); text-transform: uppercase; letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; }
.brand { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.model { font-size: 30px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.price { display: inline-block; font-weight: 800; margin-top: 4px; }

.sil { width: 100%; max-width: 220px; height: auto; margin: 4px 0 10px; }
.sil path { fill: var(--s2); stroke: url(#silver); stroke-width: 2; stroke-linejoin: round; }
.sil circle { fill: var(--bg); stroke: url(#silver); stroke-width: 3; }
.sil line { stroke: var(--line); stroke-width: 2; }

/* Blocks */
.block { padding: 36px 0; border-top: 1px solid var(--line); }
.verdict ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.verdict li { display: flex; align-items: flex-start; gap: 2px; padding: 14px 18px; background: var(--s1); border: 1px solid var(--line); border-left: 3px solid var(--silver-solid); border-radius: 0 12px 12px 0; font-weight: 600; }
.verdict li:first-child { font: 600 22px var(--head); text-transform: uppercase; letter-spacing: .02em; border: 0; border-radius: 12px; }
.note { padding: 12px 16px; border: 1px dashed #4a4a4a; background: #0e0e0e; color: #cfcfcf; border-radius: 12px; font-size: 14px; }

/* Tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-family: var(--head); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; background: var(--s1); }
thead th a { text-decoration: none; }
tbody th { color: var(--muted); font-weight: 600; width: 22%; }
td.best { font-weight: 800; }
td.best::after { content: " ✓"; }
.scores td { white-space: nowrap; }
.bar { display: inline-block; width: calc(100% - 44px); max-width: 160px; height: 8px; background: var(--s2); border-radius: 99px; overflow: hidden; vertical-align: middle; margin-right: 8px; }
.bar span { display: block; height: 100%; background: #4a4a4a; border-radius: 99px; }
.scores b { font-size: 14px; }
.scores tr.sum th, .scores tr.sum td { background: var(--s1); color: var(--text); font-weight: 800; }

/* Grid & cards */
.grid { display: grid; gap: 14px; }
.grid.cars { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid.two, .grid.whoms { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { display: block; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-decoration: none; transition: transform .15s; }
a.card:hover { @media (prefers-reduced-motion: no-preference) { transform: translateY(-2px); } }
.card.car, .card.rival { display: flex; flex-direction: column; position: relative; }
.card .model { font-size: 24px; }
.card .score { position: absolute; top: 16px; right: 16px; font: 700 16px var(--head); padding: 3px 10px; border-radius: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags em { font-style: normal; font-size: 12px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); }
.tags em.warn { color: #cfcfcf; border-color: #4a4a4a; }
.whom p { color: #c9c9c9; }
ul.pros, ul.cons { list-style: none; padding: 0; margin: 10px 0 0; }
ul.pros li, ul.cons li { display: flex; align-items: flex-start; margin: 8px 0; }
ul.pros .ic { color: var(--silver-solid); margin-top: .2em; }
ul.cons .ic { color: var(--bad); margin-top: .2em; }

.trio { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: radial-gradient(120% 140% at 100% 0%, #1c1c1c 0%, var(--s1) 55%); }
.trio .h { font-size: clamp(26px, 4vw, 46px); font-weight: 700; text-transform: uppercase; }
.trio .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trio .row > span { display: flex; flex-direction: column; }
.trio .row b { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 18px; }
.trio .row i { font-style: normal; font-weight: 800; align-self: flex-start; }
.trio .go { font-weight: 800; align-self: flex-start; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; background: var(--s1); }
.pills.big .pill { padding: 12px 18px; font-size: 15px; }
.group { margin-bottom: 26px; }
.group h3 a { text-decoration: none; }

/* Calculator */
.calc-in { display: flex; flex-wrap: wrap; gap: 12px; }
.calc-in label { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.calc-in input { background: var(--s2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: 700 16px var(--body); width: 100%; }
.calc-in input:focus, .picker select:focus { outline: 2px solid var(--silver-solid); outline-offset: 1px; }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 16px; }
.calc-out div { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; }
.calc-out span { color: var(--muted); font-size: 13px; font-weight: 700; }
.calc-out b { font: 700 24px var(--head); align-self: flex-start; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--s1); }
summary { cursor: pointer; padding: 16px 18px; font-weight: 800; list-style: none; display: flex; align-items: center; }
summary span { flex: 1; }
summary .ic { color: #8b8b8b; }
summary .chev { margin: 0 0 0 12px; transition: transform .2s; }
details[open] summary .chev { transform: rotate(180deg); }
summary::-webkit-details-marker { display: none; }
details[open] details p { margin: 0; padding: 0 18px 16px; color: #c9c9c9; }

/* Car page */
.carhero .sil { max-width: 360px; }
.bigprice { display: inline-block; font: 700 clamp(28px, 4vw, 44px) var(--head); margin: 0; }
.score-big { color: var(--muted); }
.score-big b { font: 700 26px var(--head); }
.specs { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.specs dt, .specs dd { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); background: var(--s1); }
.specs dt:last-of-type, .specs dd:last-of-type { border-bottom: 0; }

.foot { padding: 40px 16px 60px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot p { max-width: 720px; font-size: 14px; }

@media (max-width: 640px) {
  .top { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 10px 16px; }
  .nav { order: 3; width: 100%; }
  .langs { margin-left: auto; }
  .picker .vs { width: 100%; text-align: center; }
  .picker button { width: 100%; }
  .versus .vs { width: 100%; text-align: center; }
  .trio .row { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .trio .row b { font-size: 14px; }
  .specs { grid-template-columns: 1fr 1.3fr; }
  th, td { padding: 11px 12px; font-size: 14px; }
}

/* Ulashish */
.share-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.share-in img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; }
.share-btns { display: flex; flex-direction: column; gap: 10px; }
.sbtn { display: block; text-align: center; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--s1); color: var(--text); text-decoration: none; font: 600 17px var(--head); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.sbtn:hover { border-color: var(--silver-solid); }

.sbtn.ghost { color: var(--muted); }

/* Hudud va vazifa jadvali */
.where td.why { color: var(--muted); font-size: 13px; white-space: normal; min-width: 180px; }
.where th a { text-decoration: none; color: var(--text); }
.where th a:hover { text-decoration: underline; }

/* Hudud/vazifa sahifalari */
.podiums { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.podium { position: relative; display: flex; flex-direction: column; }
.podium .place { position: absolute; top: 14px; right: 18px; font: 700 44px var(--head); color: #2c2c2c; }
.podium.first { border-color: transparent; background: linear-gradient(var(--s1), var(--s1)) padding-box, var(--edge) border-box; }
.podium.first .place { background-image: var(--metal-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.podium .sc { font: 700 30px var(--head); margin-top: 8px; }
.podium .sc i { font-style: normal; font-size: 16px; color: var(--muted); }
.podium .why { color: #c9c9c9; font-size: 14px; margin-top: 6px; }
.factors { display: flex; flex-wrap: wrap; gap: 8px; }
.factor { display: inline-flex; gap: 8px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--s1); font-weight: 600; }
.factor b { font: 700 18px var(--head); }
.rank-table td:first-child { font: 700 18px var(--head); color: var(--muted); width: 48px; }
.rank-table th a { text-decoration: none; color: var(--text); }
.scen-card { display: flex; flex-direction: column; gap: 2px; }
.scen-card .h, .rank .h { font: 600 20px var(--head); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.scen-ranks { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.rank { display: flex; flex-direction: column; }
.rank .pos { color: var(--muted); }
.rank .pos b { font: 700 28px var(--head); color: var(--text); }
.rank.top .pos b { background-image: var(--metal-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 760px) {
  .share-in { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; gap: 8px 16px; }
}

/* AI tugma va bosh sahifa */
.cta-ai { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 7px 14px 7px 7px; border-radius: 999px; font: 600 15px var(--head); text-transform: uppercase; letter-spacing: .05em; border: 1px solid transparent; background: linear-gradient(#0a0a0a, #0a0a0a) padding-box, var(--edge) border-box; }
.cta-ai span { border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.ai-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.ai-start { display: inline-flex; gap: 12px; align-items: center; padding: 20px 30px; border-radius: 16px; text-decoration: none; font: 700 clamp(18px, 2.4vw, 24px) var(--head); text-transform: uppercase; letter-spacing: .04em; }
.ai-start:hover { filter: brightness(1.08); }
.or { color: var(--muted); margin: 26px 0 0; font-size: 14px; }
.or + .picker { margin-top: 10px; }

/* Kviz: chat */
.quiz { max-width: 760px; padding-bottom: 30px; }
.quiz-progress { height: 4px; background: var(--s2); border-radius: 99px; overflow: hidden; margin-bottom: 24px; }
.quiz-progress span { display: block; height: 100%; width: 0; transition: width .4s; }
.chat { display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 12px; align-items: flex-end; @media (prefers-reduced-motion: no-preference) { animation: pop .25s ease-out; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.msg p { margin: 0; padding: 14px 18px; border-radius: 18px; max-width: 560px; }
.msg.bot p { background: var(--s1); border: 1px solid var(--line); border-bottom-left-radius: 6px; font-size: 18px; font-weight: 600; }
.msg.bot small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.msg.me { justify-content: flex-end; }
.msg.me p { background: #1b1b1b; border: 1px solid #2c2c2c; border-bottom-right-radius: 6px; font-weight: 700; }
.av { flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--head); }
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #777; animation: blink 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.thinking { color: var(--muted); font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 48px; @media (prefers-reduced-motion: no-preference) { animation: pop .25s ease-out; } }
.chip { padding: 11px 16px; border-radius: 999px; border: 1px solid #333; background: var(--s1); color: var(--text); font: 600 15px var(--body); cursor: pointer; }
.chip:hover { border-color: var(--silver-solid); }

.result { display: grid; gap: 12px; margin-top: 10px; @media (prefers-reduced-motion: no-preference) { animation: pop .3s ease-out; } }
.result h2 { margin: 10px 0 4px; }
.qres { position: relative; display: flex; flex-direction: column; gap: 4px; padding-right: 70px; }
.qres.first { border-color: transparent; background: linear-gradient(var(--s1), var(--s1)) padding-box, var(--edge) border-box; }
.qres .place { position: absolute; right: 20px; top: 14px; font: 700 44px var(--head); color: #2c2c2c; }
.qres .match { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.qres .match b { font: 700 40px var(--head); background-image: var(--metal-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qres .match i { font-style: normal; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800; }
.qres .why { color: #c9c9c9; font-size: 14px; }
.qres .go { color: var(--muted); font-weight: 700; font-size: 14px; margin-top: 4px; }
.qacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.qacts .sbtn { flex: 1 1 220px; }
.how { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.how b { font: 700 28px var(--head); color: #3a3a3a; }
.how p { color: #c9c9c9; margin: 0; }
@media (max-width: 640px) {
  .cta-ai { order: 2; }
  .chips { padding-left: 0; }
  .msg.bot p { font-size: 16px; }
  .ai-start { width: 100%; justify-content: center; }
}

.verdict li .ic { color: #9d9d9d; margin-top: .25em; }
.verdict li:first-child .ic { color: var(--accent-hi); margin-top: .15em; }
.nav a { display: inline-flex; align-items: center; }
.sbtn, .picker button { display: inline-flex; align-items: center; justify-content: center; }
.ai-start { color: #eaf1ff; }
.cta-ai > span { display: inline-flex; align-items: center; }
.cta-ai > span .ic { width: 13px; height: 13px; margin-right: 4px; }
.av .ic { margin: 0; width: 18px; height: 18px; }
.how .ic.big { margin-bottom: 14px; }
.where th a { display: inline-flex; align-items: center; }
.factor { align-items: center; }

/* ---------- Ko'k aksent ---------- */
.kicker { color: var(--accent); }
td.best { background-image: none; color: var(--accent); }
.factor b, .calc-out span { color: var(--accent); }
ul.pros .ic { color: var(--accent); }
.verdict li { border-left-color: var(--accent); }
.verdict li .ic { color: var(--accent); }
.verdict li:first-child .ic { color: var(--accent-hi); }
/* AI elementlari */
.cta-ai > span { background-image: none; background: var(--accent-deep); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); text-shadow: none; }
.av { background-image: none; background: linear-gradient(180deg, var(--accent-hi), #2f6fe0); color: #06101f; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 0 1px #1d3f7a; text-shadow: none; }
.ai-start .ic:first-child, .how .ic.big { color: var(--accent); }
.ai-start .ic:first-child { color: var(--accent-hi); }
.qres .match b { background-image: none; color: var(--accent); }
.chip:hover { border-color: var(--accent); }
.rank-table td:first-child { color: var(--accent); }
.podium .why, .qres .why { color: #c3d2ec; }
.calc-in input:focus, .picker select:focus { outline-color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.crumbs a:hover, .nav a:hover { color: var(--accent-hi); }
.nav a:hover .ic { color: var(--accent); }

/* Sarlavha osti, xolivar, metodologiya */
.brandmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; gap: 4px; }
.brandmark .sub { font: 600 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.talk { list-style: none; padding: 0; margin: 8px 0 0; }
.talk li { display: flex; align-items: flex-start; margin: 8px 0; color: #d6d6d6; font-size: 15px; }
.talk li.pro .ic { color: var(--accent); margin-top: .2em; }
.talk li.con .ic { color: var(--bad); margin-top: .2em; }
.talk-h { margin-top: 26px; }
.holivar-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.srcs { color: var(--muted); font-size: 13px; margin-top: 14px; }
.srcs a { color: #bdbdbd; }
.srcs .ic { color: var(--muted); }
.srclist { padding-left: 18px; color: #c9c9c9; } .srclist a { color: #d6d6d6; }
.indep-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border-radius: 22px; border: 1px solid rgba(122,168,255,.28);
  background: linear-gradient(160deg, rgba(77,141,255,.12), rgba(255,255,255,.02) 60%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(220,232,255,.18); }
.indep-in h2 { margin-top: 10px; } .indep-in p { color: #d0d0d0; }
.indep .sbtn { display: inline-flex; margin-top: 6px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats div { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); display: flex; flex-direction: column; }
.stats b { font: 700 34px var(--head); line-height: 1.1; }
.stats span { color: var(--muted); font-size: 13px; font-weight: 700; }
.stats .zero { grid-column: span 2; border-color: rgba(122,168,255,.45); }
.stats .zero b { color: var(--accent); }
.formula { font: 400 clamp(18px, 2.4vw, 24px)/1.6 "Times New Roman", Georgia, serif; font-style: italic; padding: 18px 22px; margin: 14px 0; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); overflow-x: auto; white-space: nowrap; }
.formula sub { font-size: .65em; }
.frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; margin: 0 .2em; }
.frac > span:first-child { border-bottom: 1px solid #bdbdbd; padding: 0 .3em; }
.frac > span:last-child { padding: 0 .3em; }
.matrix { min-width: 1100px; }
.matrix th, .matrix td { padding: 8px; font-size: 13px; text-align: center; }
.matrix thead th { vertical-align: bottom; font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 11px; color: #bdbdbd; max-width: 90px; }
.matrix thead th .ic { display: block; margin: 0 auto 6px; color: var(--accent); }
.matrix tbody th { text-align: left; white-space: nowrap; font-size: 13px; }
.matrix td { background: rgba(77,141,255, calc(var(--a) * .55)); font-weight: 700; }
@media (max-width: 760px) { .indep-in { grid-template-columns: 1fr; padding: 20px; } .brandmark .sub { font-size: 9px; } }

/* Sarlavha: o'rta ekranlarda ikki qator */
.cta-ai { white-space: nowrap; }
.top { gap: 12px 20px; }
@media (max-width: 1100px) {
  .top { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .brandmark { margin-right: auto; }
  .nav { order: 3; width: 100%; margin-right: 0; flex-wrap: wrap; gap: 6px 18px; }
}
@media (max-width: 520px) {
  .cta-ai { order: 2; }
  .langs { order: 4; }
  .top .langs a { padding: 6px 10px; }
}

/* Fotosuratlar */
.ph { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; margin: 0 0 14px; background: #111; border: 1px solid rgba(255,255,255,.08); position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92) contrast(1.04); transition: transform .5s ease; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); pointer-events: none; }
a.card:hover .ph img, .vcar:hover .ph img { @media (prefers-reduced-motion: no-preference) { transform: scale(1.04); } }
.vcar .ph { margin-bottom: 16px; }
.carhero .ph { max-width: 720px; aspect-ratio: 16 / 9; border-radius: 20px; margin: 10px 0 16px; }
.trio .row .ph { margin-bottom: 8px; border-radius: 10px; }
.credit { color: var(--muted); font-size: 12px; margin: 8px 0 0; max-width: 720px; }
.credit a { color: #a8a8a8; }
.credit .ic { color: var(--muted); }

/* Til tanlash: Uz · Ўз · Ру */
.langs a { min-width: 40px; text-align: center; font: 600 14px var(--head); letter-spacing: .04em; padding: 6px 10px; }

/* Logotip */
.logo-img { display: block; height: 40px; width: auto; align-self: flex-start; object-fit: contain; }
.foot-logo { height: 44px; margin-bottom: 8px; }
.brandmark { gap: 6px; }
@media (max-width: 520px) { .logo-img { height: 32px; } }


/* ---------- Audit tuzatishlari ---------- */
/* Faqat ekran o'quvchilar uchun */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Asosiy mazmunga o'tish */
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
/* Shrift yuklanguncha matn o'lchami barqaror */
body { font-size-adjust: from-font; }
h1, h2, h3, .model, .h { font-size-adjust: cap-height from-font; }
/* Birinchi ekrandan pastdagi og'ir bloklar */
.cv { content-visibility: auto; contain-intrinsic-size: auto none auto 620px; }
/* Windows yuqori kontrast rejimi */
@media (forced-colors: active) {
  .sbtn, .picker button, .ai-start, .cta-ai, .chip, .langs a, .pill, .crown, .card .score { border: 1px solid ButtonText; }
  .langs a[aria-current], .chip.on { border: 2px solid Highlight; }
  .bar span, .quiz-progress span { background: Highlight; forced-color-adjust: none; }
  .card, .tablewrap, details, .verdict li { border: 1px solid CanvasText; }
  .logo b, .price, .vs, .bigprice, .calc-out b, .trio .row i, .trio .go, .score-big b { -webkit-background-clip: border-box; background-clip: border-box; color: CanvasText; }
}
/* VS bloki: 2 yoki 3 mashina, osilib qolgan "VS"siz */
.versus { display: grid; align-items: center; gap: 14px; }
.versus.n2 { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.versus.n3 { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); }
.versus .vcar { min-width: 0; }
@media (max-width: 900px) {
  .versus.n3 { grid-template-columns: minmax(0, 1fr); }
  .versus.n3 .vs { justify-self: center; }
}
@media (max-width: 640px) {
  .versus.n2 { grid-template-columns: minmax(0, 1fr); }
  .versus.n2 .vs { justify-self: center; }
}

/* ---------- Reklama joylari ---------- */
.ad { display: block; margin: 8px 0; padding: 10px 0 18px; border-top: 1px solid var(--line); }
.ad-label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
/* Balandlik oldindan band qilinadi — sahifa sakramaydi (CLS) */
.ad-rect ins, .ad-rect .ad-box { min-height: 280px; }
.ad-wide ins, .ad-wide .ad-box { min-height: 250px; }
@media (min-width: 761px) { .ad-wide ins, .ad-wide .ad-box { min-height: 120px; } }
.ad-box { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #333; border-radius: 14px; color: #555; font-size: 13px; background: rgba(255,255,255,.015); }
/* Footer, qoidalar, forma */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-links button.pill { cursor: pointer; color: var(--text); font: inherit; font-size: 14px; font-weight: 600; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rules li { display: flex; align-items: flex-start; } .rules .ic { color: var(--accent); margin-top: .2em; }
.adform { max-width: 720px; display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field textarea { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid #3a3a3a; border-radius: 12px; padding: 12px 14px; font: 600 16px var(--body); width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--bad); }
.adform .sbtn { justify-self: start; }
.form-status { font-weight: 700; margin: 0; }
.hp { position: absolute; left: -9999px; }
.share-status { margin: 4px 0 0; }
.tech .grid.how { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 18px; }
.tech .sbtn { display: inline-flex; }

/* Marka logotiplari: bir rangli maska, rang — currentColor */
.brand .bm { display: inline-block; vertical-align: middle; background: currentColor; -webkit-mask: var(--m) left center / contain no-repeat; mask: var(--m) left center / contain no-repeat; }
.card .brand, .vcar .brand { color: #bdbdbd; display: flex; align-items: center; min-height: 20px; margin-bottom: 2px; }
a.card:hover .brand, .vcar:hover .brand { color: #fff; }
.ph-none { display: flex; align-items: center; justify-content: center; }
.ph-none .sil { max-width: 70%; margin: 0; }
@media (forced-colors: active) { .brand .bm { background: CanvasText; } }
/* Til tanlash: OʻZ · ЎЗ · РУ — qisqa kodlar katta harflarda */
.langs a { text-transform: uppercase; letter-spacing: .06em; }

/* Kredit kalkulyatori */
.credit-calc select, .filters select { background: var(--s2); color: var(--text); border: 1px solid #3a3a3a; border-radius: 10px; padding: 12px 14px; font: 600 15px var(--body); width: 100%; }
.cc-out .total { border-color: rgba(77,141,255,.55); background: linear-gradient(180deg, rgba(77,141,255,.18), rgba(77,141,255,.04)); }
.cc-out .total b { color: var(--accent-hi); -webkit-text-fill-color: currentColor; background: none; }
.cc-hint { margin: 8px 0 0; }
/* Katalog filtrlari */
search.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.filters label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.card[hidden] { display: none; }
.stamp { display: flex; align-items: center; margin: 4px 0 0; }
.changelog { padding-left: 18px; color: #c9c9c9; } .changelog b { color: var(--accent); }

/* Phosphor Duotone: ikkinchi qatlam (opacity .2) — aksent tusida */
.ic { stroke: none; }
h2 .ic, .verdict li .ic, .how .ic.big, .factor .ic, .talk .ic { color: var(--accent); }
.ic.big { width: 34px; height: 34px; }

/* Hudud/vazifa: ixcham reyting ro'yxati */
.scen-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(14,14,14,.72); }
.scen-list li + li { border-top: 1px solid var(--line); }
.scen-row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 1.3fr) 20px; gap: 14px; align-items: center; padding: 12px 16px; text-decoration: none; color: var(--text); transition: background .2s; }
.scen-row:hover { background: rgba(77,141,255,.07); }
.sr-name { display: flex; align-items: center; min-width: 0; }
.sr-name .ic { color: var(--accent); width: 22px; height: 22px; flex: 0 0 22px; }
.sr-name b { font: 600 17px var(--head); text-transform: uppercase; letter-spacing: .02em; }
.sr-keys { display: flex; gap: 6px; flex-wrap: wrap; }
.sr-keys .key { display: inline-flex; align-items: center; font-size: 12px; color: var(--muted); border: 1px solid #2a2a2a; border-radius: 999px; padding: 3px 9px 3px 6px; white-space: nowrap; }
.sr-keys .key .ic { width: 14px; height: 14px; margin-right: 4px; color: #9d9d9d; }
.sr-top { display: flex; gap: 8px; flex-wrap: wrap; }
.sr-top .pos { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 700; color: #cfcfcf; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,.04); white-space: nowrap; }
.sr-top .pos i { font: 700 12px var(--head); font-style: normal; color: var(--muted); }
.sr-top .pos em { font-style: normal; font-size: 12px; color: var(--muted); }
.sr-top .pos.first { color: #fff; background: rgba(77,141,255,.16); box-shadow: inset 0 0 0 1px rgba(77,141,255,.45); }
.sr-top .pos.first i, .sr-top .pos.first em { color: var(--accent-hi); }
.scen-row .go { color: var(--muted); margin: 0; }
.scen-row:hover .go { color: var(--accent); }
@media (max-width: 900px) {
  .scen-row { grid-template-columns: minmax(0, 1fr) 20px; }
  .sr-keys, .sr-top { grid-column: 1; }
  .scen-row .go { grid-row: 1; grid-column: 2; }
}
/* Mustaqillik bayonoti */
.pledge, .pledge-foot { display: flex; align-items: flex-start; gap: 4px; }
.pledge { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(77,141,255,.4); background: rgba(77,141,255,.08); color: #e3edff; font-weight: 600; }
.pledge .ic, .pledge-foot .ic { color: var(--accent); margin-top: .2em; flex: 0 0 auto; }
.pledge-foot { font-size: 14px; color: #c9c9c9; max-width: 760px; }
.legend { margin: 10px 0 0; max-width: 820px; }

/* Kimga mos emas va alternativalar */
.notfor { display: flex; align-items: flex-start; gap: 2px; color: #d6d6d6; }
.notfor .ic { color: var(--bad); margin-top: .2em; flex: 0 0 auto; }
.notfor b { color: #fff; }
.grid.alts { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card.alt { display: flex; flex-direction: column; gap: 4px; }
.card.alt .model { font-size: 22px; }
.card.alt .why { color: #c9c9c9; font-size: 14px; }
.card.alt .diff { align-self: flex-start; margin-top: 6px; font: 600 14px var(--head); letter-spacing: .03em; padding: 3px 10px; border-radius: 999px; border: 1px solid #333; color: #cfcfcf; }
.card.alt .diff.down { border-color: rgba(77,141,255,.5); color: var(--accent-hi); }

/* ---------- Katalog: komplektatsiyalar zinapoyasi ---------- */
.ladder-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(14,14,14,.72); }
.step { position: relative; padding: 18px 20px 18px 20px; display: grid; gap: 10px; }
.step + .step { border-top: 1px solid var(--line); }
.step-head { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.step-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 16px var(--head); color: var(--accent-hi); border: 1px solid var(--accent-line); background: var(--accent-deep); }
.step-name h3 { margin: 0; font: 600 21px var(--head); text-transform: uppercase; letter-spacing: .02em; }
.step-name p { margin: 2px 0 0; }
.step-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.step-price b { font: 600 20px var(--head); white-space: nowrap; }
.step-price .delta { font: 600 13px var(--head); letter-spacing: .03em; color: var(--accent-hi); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--accent-line); white-space: nowrap; }
.step-price .small { max-width: 260px; }
.spec-change { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 0 48px; padding: 8px 12px; border-radius: 12px; background: rgba(77,141,255,.08); border: 1px solid var(--accent-line); font-size: 14px; color: #dfe9ff; }
.spec-change .ic { color: var(--accent); flex: 0 0 auto; margin-top: .15em; }
.step .hl { list-style: none; margin: 0 0 0 48px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.step .hl li { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 4px 10px 4px 6px; border-radius: 999px; border: 1px solid #2a2a2a; color: #d6d6d6; }
.step .hl li .ic { width: 14px; height: 14px; color: #9d9d9d; }
.step .hl.adds li { border-color: var(--accent-line); color: #e3edff; }
.step .hl.adds li .ic { color: var(--accent); }
.step > p.muted, .step details.base { margin: 0 0 0 48px; }
.step details.base summary { cursor: pointer; font-size: 14px; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.step details.base .hl { margin-left: 0; }
.add-cmp { justify-self: start; margin-left: 48px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; color: var(--text); font: 600 14px var(--body); }
.add-cmp .ic { width: 16px; height: 16px; color: var(--accent); }
.add-cmp[aria-pressed="true"] { border-color: rgba(77,141,255,.6); background: rgba(77,141,255,.14); color: #fff; }
.add-cmp[aria-pressed="true"] .ic { transform: rotate(45deg); }
.add-cmp:focus-visible, .tray button:focus-visible, .tc-rm:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ladder-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 14px 0 0; }
.ladder-foot .pill { display: inline-flex; align-items: center; gap: 6px; }
.tags em.ok { color: var(--accent-hi); border-color: var(--accent-line); display: inline-flex; align-items: center; gap: 4px; }
.tags em.ok .ic { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .step { padding: 16px 14px; }
  .step-head { grid-template-columns: 30px minmax(0, 1fr); }
  .step-price { grid-column: 2; align-items: flex-start; text-align: left; }
  .spec-change, .step .hl, .step > p.muted, .step details.base, .add-cmp { margin-left: 0; }
}

/* ---------- Taqqoslash lotogi ---------- */
.tray { position: fixed; z-index: 40; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(960px, calc(100% - 24px));
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 18px; border: 1px solid rgba(77,141,255,.45);
  background: rgba(10,14,24,.78); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 20px 50px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(220,232,255,.14); }
.tray[hidden] { display: none; }
.tray.full { border-color: var(--bad); }
.tray-items { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tray-items li { display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto; padding: 4px 4px 4px 10px; border-radius: 999px; border: 1px solid #2f3a52; font-size: 13px; font-weight: 600; white-space: nowrap; }
.tray-items button, .tc-rm { border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; }
.tray-items button:hover, .tc-rm:hover { color: #fff; background: rgba(255,255,255,.08); }
.tray-msg { margin: 0; font-size: 13px; color: var(--bad); flex: 0 0 auto; }
.tray-msg:empty { display: none; }
.tray-go { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 10px 14px; border-radius: 12px; text-decoration: none; font: 600 15px var(--head); text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--accent); }
.tray-go .ic { width: 18px; height: 18px; }
.tray-go b { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: rgba(0,0,0,.25); font-size: 13px; }
.tray-clear { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; border: 1px solid #333; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.tray-clear .ic { width: 18px; height: 18px; }
body:has(.tray:not([hidden])) .foot { padding-bottom: 96px; }
@media (max-width: 640px) { .tray-go span { display: none; } }

/* ---------- Komplektatsiyalarni taqqoslash ---------- */
.tc-bar { display: grid; grid-template-columns: minmax(0, 420px) auto; gap: 12px 20px; align-items: end; margin-bottom: 10px; }
.tc-bar label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.tc-bar select { background: var(--s2); color: var(--text); border: 1px solid #3a3a3a; border-radius: 10px; padding: 12px 14px; font: 600 15px var(--body); width: 100%; }
.tc-bar .tc-diff { flex-direction: row; align-items: center; gap: 8px; font-size: 15px; color: var(--text); padding-bottom: 12px; cursor: pointer; }
.tc-diff input { width: 18px; height: 18px; accent-color: var(--accent); }
.tc-msg:empty { display: none; }
.tc-empty[hidden] { display: none; }
.tc-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: rgba(14,14,14,.72); }
.tc-grid { border-collapse: separate; border-spacing: 0; width: 100%; min-width: calc(170px + var(--n) * 190px); font-size: 14px; }
.tc-grid th, .tc-grid td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tc-grid tbody tr:last-child > * { border-bottom: 0; }
.tc-grid tbody th[scope="row"], .tc-grid thead .tc-p { position: sticky; left: 0; z-index: 1; background: #0c0c0c; color: var(--muted); font-weight: 600; width: 170px; min-width: 150px; }
.tc-grid thead th { position: relative; background: #0f0f0f; padding-right: 36px; }
.tc-grid thead .tc-p { font: 600 13px var(--head); text-transform: uppercase; letter-spacing: .05em; vertical-align: bottom; }
.tc-model { display: block; font-size: 13px; color: var(--muted); text-decoration: none; }
a.tc-model:hover { color: var(--accent-hi); }
.tc-trim { display: block; font: 600 18px var(--head); text-transform: uppercase; letter-spacing: .02em; margin: 2px 0; }
.tc-var { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.tc-rm { position: absolute; top: 8px; right: 6px; }
.tc-g th { position: sticky; left: 0; background: transparent; font: 600 14px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-hi); padding-top: 18px; }
.tc-grid td.na { color: #555; }
.tc-grid td.yes { color: #e3edff; }
.tc-grid td.best { color: var(--accent-hi); font-weight: 800; background: rgba(77,141,255,.08); }

/* Taqqoslash hubidagi havola */
.card.trims-cta { display: flex; align-items: center; gap: 16px; }
.card.trims-cta > span { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card.trims-cta b { font: 600 22px var(--head); text-transform: uppercase; letter-spacing: .02em; }
.card.trims-cta .ic.big { color: var(--accent); }

/* ---------- Rasmiy reestr ro'yxati ---------- */
.filters .q { grid-column: 1 / -1; }
.filters input[type="search"] { background: var(--s2); color: var(--text); border: 1px solid #3a3a3a; border-radius: 10px; padding: 12px 14px; font: 600 15px var(--body); width: 100%; }
.reg-grid { columns: 4 220px; column-gap: 20px; margin-top: 16px; }
.reg-b { break-inside: avoid; margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(14,14,14,.6); }
.reg-b[hidden], .reg li[hidden] { display: none; }
.reg-b h3 { margin: 0 0 8px; font: 600 16px var(--head); text-transform: uppercase; letter-spacing: .04em; }
.reg-b ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.reg-b li span { color: #a9a9a9; }
.reg-b li a { color: var(--accent-hi); font-weight: 700; }
.step .hl li.drop { border-color: #3a2a2a; color: #b9b9b9; }
.step .hl li.drop .ic { color: var(--bad); }
.tc-grid td.no { color: #777; }
.tc-grid td.opt { color: #cfcfcf; font-style: italic; }

/* ================= UX «A»: ixcham sarlavha, qidiruv, filtrlar, narx bloki, PWA ================= */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero.slim { padding: 22px 0 8px; }
.hero.home { padding: 28px 0 8px; }
.hero.home h1 { font-size: clamp(30px, 6vw, 56px); }

/* Sarlavha: bitta qator */
.top { flex-wrap: nowrap !important; height: 60px !important; padding-top: 0 !important; padding-bottom: 0 !important; gap: 10px 18px; position: relative; }
.top .brandmark { margin-right: auto; }
.top .logo-img { height: 34px; }
.top .nav { order: 0 !important; width: auto !important; margin: 0 8px 0 0 !important; flex-wrap: nowrap !important; gap: 18px; }
.top .nav a[aria-current="page"] { color: var(--text); }
.hsearch, .menu summary, .back-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--s1); color: var(--text); cursor: pointer; flex: 0 0 auto; }
.hsearch .ic, .menu summary .ic, .back-btn .ic { width: 20px; height: 20px; }
.hsearch:hover, .menu summary:hover, .back-btn:hover { border-color: var(--accent); }
.back-btn[hidden] { display: none; }
.menu { position: relative; flex: 0 0 auto; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--accent); color: var(--accent-hi); }
.menu nav { position: absolute; right: 0; top: 50px; z-index: 60; display: flex; flex-direction: column; min-width: 230px; padding: 8px; border-radius: 16px; border: 1px solid var(--line); background: rgba(12,12,12,.97); box-shadow: 0 24px 60px -20px #000; }
.menu nav a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; }
.menu nav a:hover, .menu nav a[aria-current="page"] { background: rgba(77,141,255,.12); }
.menu nav .ic { width: 18px; height: 18px; color: var(--accent); }
.top .langs a { min-width: 34px; padding: 6px 8px; font-size: 13px; }
@media (min-width: 1000px) { .menu { display: none; } }
@media (max-width: 999px) { .top .nav { display: none; } }
@media (max-width: 420px) { .top .langs a { min-width: 30px; padding: 6px 6px; } .top .logo-img { height: 28px; } .top { gap: 8px; } }

/* Qidiruv va filtrlar */
.finder { display: grid; gap: 14px; margin-bottom: 18px; }
.finder .q { position: relative; display: block; }
.finder .q .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.finder .q input { width: 100%; box-sizing: border-box; background: var(--s2); color: var(--text); border: 1px solid #3a3a3a; border-radius: 14px; padding: 15px 16px 15px 46px; font: 600 17px var(--body); }
.finder .q input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(77,141,255,.25); }
.chips-row { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips-row legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.fchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin: -2px; }
.fchips::-webkit-scrollbar { display: none; }
.fchip { position: relative; flex: 0 0 auto; }
.fchip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fchip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid #333; background: var(--s1); font: 600 14px var(--body); white-space: nowrap; color: var(--text); }
.fchip:hover span { border-color: var(--silver-solid); }
.fchip input:checked + span { background: linear-gradient(180deg, rgba(122,168,255,.34), rgba(77,141,255,.12)); border-color: rgba(122,168,255,.7); color: #eaf1ff; }
.fchip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.finder-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.finder-bar .pill { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text); font: 600 14px var(--body); }
.finder-bar .pill .ic { width: 18px; height: 18px; color: var(--accent); }
.filt-n { min-width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; }
.filt-n[hidden] { display: none; }
.finder .filter-count { margin: 0; color: var(--muted); font-weight: 600; }
.filt-dlg { border: 1px solid var(--line); border-radius: 20px; background: #0d0d0d; color: var(--text); padding: 0; width: min(520px, calc(100% - 24px)); max-height: 86vh; }
.filt-dlg::backdrop { background: rgba(0,0,0,.6); }
.filt-in { display: grid; gap: 16px; padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
.filt-top { display: flex; align-items: center; justify-content: space-between; }
.filt-top h2 { margin: 0; font-size: 22px; }
.filt-x { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--s1); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.filt-in label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.filt-in select { background: var(--s2); color: var(--text); border: 1px solid #3a3a3a; border-radius: 10px; padding: 12px 14px; font: 600 15px var(--body); }
.filt-in label.check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--text); font-weight: 600; font-size: 14px; }
.filt-in label.check input { width: 20px; height: 20px; accent-color: var(--accent); flex: 0 0 auto; }
.filt-in .fchips { flex-wrap: wrap; overflow: visible; }
.filt-acts { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: sticky; bottom: 0; }
@media (max-width: 640px) {
  .filt-dlg { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 20px 20px 0 0; border-bottom: 0; }
}
.to-cat { margin: 16px 0 0; }
.to-cat .sbtn { display: inline-flex; gap: 10px; }
.to-cat .sbtn .ic { margin: 0; }

/* Kartochka narxi: komplektatsiya va shartli narx */
.card .price small { display: block; -webkit-text-fill-color: var(--muted); color: var(--muted); font: 600 12px var(--body); letter-spacing: .02em; margin-top: 2px; }
.card .price-low { display: block; font-size: 12px; color: #a9c4ff; margin-top: 4px; }

/* Mashina sahifasi: birinchi ekran */
.pricebox { display: grid; gap: 6px; margin: 14px 0 10px; }
.pricebox .bigprice { margin: 0; }
.price-trim { margin: 0; color: #c9c9c9; font-size: 15px; }
.price-low { display: flex; gap: 6px; align-items: flex-start; margin: 0; color: #a9c4ff; font-size: 15px; font-weight: 600; }
.price-low .ic { color: var(--accent); width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.keyspecs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; max-width: 720px; }
.keyspecs div { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(14,14,14,.72); min-width: 0; }
.keyspecs dt { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 700; }
.keyspecs dt .ic { width: 15px; height: 15px; color: var(--accent); }
.keyspecs dd { margin: 4px 0 0; font-weight: 800; font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 640px) { .keyspecs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.hero-acts .sbtn { padding: 12px 16px; font-size: 15px; flex: 1 1 auto; }
.hero-acts .sbtn .ic { margin-right: 8px; }
.when-on { display: none; }
[aria-pressed="true"] .when-on { display: inline; }
[aria-pressed="true"] .when-off { display: none; }
.save[aria-pressed="true"] .ic { color: #ff7a9a; }
.add-cmp[aria-pressed="true"] { border-color: rgba(122,168,255,.7); }
.score-line { margin: 4px 0 0; }
.score-line a { color: inherit; }
.cmp-trims { margin: 0 0 24px; }
.cmp-trims .sbtn { display: inline-flex; }

/* Taqqoslash: komplektatsiyani almashtirish va tor ekran */
.tc-sw { display: block; width: 100%; margin: 4px 0 2px; background: var(--s2); color: var(--text); border: 1px solid #3a3a3a; border-radius: 8px; padding: 6px 8px; font: 600 14px var(--body); }
@media (max-width: 640px) {
  table { min-width: 0; font-size: 14px; }
  .tc-scroll { overflow: visible; border: 0; background: none; }
  .tc-grid, .tc-grid thead, .tc-grid tbody { display: block; width: 100%; min-width: 0; }
  .tc-grid tr { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .tc-grid thead tr { position: sticky; top: 0; z-index: 2; background: #0c0c0c; border: 1px solid var(--line); border-radius: 14px; }
  .tc-grid thead .tc-p { display: none; }
  .tc-grid thead th { padding: 10px 30px 10px 10px; border: 0; }
  .tc-grid tbody th[scope="row"], .tc-grid tr.tc-g th { grid-column: 1 / -1; position: static; width: auto; min-width: 0; background: none; border: 0; padding: 12px 4px 2px; font-size: 13px; }
  .tc-grid td { padding: 4px 4px 12px; border: 0; overflow-wrap: anywhere; }
  .tc-grid tr.tc-g { border: 0; }
}

/* Mening ro'yxatim */
.ml-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ml-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(14,14,14,.72); }
.ml-list li a { flex: 1 1 auto; font-weight: 700; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.ml-rm { border: 0; background: none; color: var(--muted); font-size: 20px; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.ml-rm:hover { color: #fff; background: rgba(255,255,255,.08); }
.ml-empty[hidden] { display: none; }
.ml-cmp .sbtn { display: inline-flex; gap: 10px; }
.ml-cmp .tray-n { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: rgba(0,0,0,.25); font-size: 13px; }

/* O'rnatilgan ilova: pastki panel (oddiy brauzer oynasida ko'rinmaydi) */
.tabbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  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));
  background: rgba(8,8,8,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabbar[hidden] { display: none; }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; min-height: 48px; justify-content: center; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 700; border-radius: 12px; }
.tabbar a .ic { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--accent-hi); }
.tabbar a[aria-current="page"] .ic { color: var(--accent); }
.tab-n { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; }
.tab-n[hidden] { display: none; }
html.pwa body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
html.pwa .tray { display: none !important; }
html.pwa .top { padding-top: env(safe-area-inset-top, 0px) !important; height: calc(60px + env(safe-area-inset-top, 0px)) !important; }
html.pwa .foot .install, html.pwa .install-hint { display: none !important; }
html.kb-open .tabbar { display: none; }
html.kb-open body { padding-bottom: 0; }
@media (forced-colors: active) { .fchip input:checked + span, .tabbar a[aria-current="page"] { outline: 2px solid Highlight; } }
/* Katalog kartochkasi: havola + «Taqqoslashga» tugmasi (tugma havola ichida emas) */
div.card.car { display: flex; flex-direction: column; }
.card.car > .car-link { display: flex; flex-direction: column; flex: 1 1 auto; text-decoration: none; color: inherit; }
.card.car:hover { border-color: #3a3a3a; }
.card.car .add-cmp.mini { align-self: flex-start; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 13px; cursor: pointer; color: var(--text); }
.card.car .add-cmp.mini .ic { width: 15px; height: 15px; color: var(--accent); }
.top details.menu { border: 0; background: none; padding: 0; margin: 0; border-radius: 0; }
.top details.menu > summary { padding: 0; margin: 0; font-size: 0; }
.top details.menu > summary::after, .top details.menu > summary::before { content: none; display: none; }
.card.car[hidden] { display: none !important; }
.picker select { min-width: 0; max-width: 100%; }
@media (max-width: 640px) { .picker select { flex: 1 1 100%; } .picker .vs { width: 100%; text-align: center; } .picker button { flex: 1 1 100%; justify-content: center; } }
/* AI pozitsiyalash */
.top .brandmark { flex-direction: column; justify-content: center; gap: 3px; }
.top .brandmark .sub { font-size: 9px; letter-spacing: .12em; }
@media (max-width: 420px) { .top .brandmark .sub { font-size: 8px; letter-spacing: .06em; } }
.ai-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-hi); }
.ai-kicker .ic { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 520px) { .top .brandmark .sub { display: none; } }
/* «Bepul» belgisi */
.free-badge { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 12px 0 0; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid rgba(74,222,128,.45); background: rgba(74,222,128,.10); color: #d9fbe5; font-size: 14px; }
.free-badge .ic { width: 16px; height: 16px; color: #4ade80; }
.free-badge b { font: 700 14px var(--head); text-transform: uppercase; letter-spacing: .06em; color: #86efac; }
