:root{color-scheme:light dark;--bg:#f2f5f5;--card:#fff;--ink:#152f37;--muted:#52696f;--line:#dce5e6;--accent:#087b70;--head:#102e38;--stripe:#f6f9f9;--warn:#90590a}*{box-sizing:border-box}html[data-theme=dark]{--bg:#0b1920;--card:#14282e;--ink:#e4efed;--muted:#abc1c1;--line:#29434a;--accent:#6bd4bc;--head:#102e38;--stripe:#182f35;--warn:#f4ca7e} @media(prefers-color-scheme:dark){html:not([data-theme=light]){--bg:#0b1920;--card:#14282e;--ink:#e4efed;--muted:#abc1c1;--line:#29434a;--accent:#6bd4bc;--stripe:#182f35;--warn:#f4ca7e}}body{margin:0;background:var(--bg);color:var(--ink);font-family:Tahoma,Arial,sans-serif;font-size:14px;line-height:1.8}header{background:#102e38;color:white;display:flex;align-items:center;justify-content:space-between;padding:12px max(16px,calc((100% - 1040px)/2));gap:10px}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand img{width:43px;border-radius:11px}.brand small{display:block;color:#a7c8c9;font-size:11px}.actions{display:flex;gap:7px}button,input{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:9px;padding:7px 12px}header button{background:#21424a;color:white;border-color:#3f666b}main{max-width:1040px;margin:auto;padding:16px}.intro,.controls,article,aside{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:14px}.eyebrow{color:var(--accent);font-size:12px;margin:0}h1{font-size:clamp(21px,4vw,32px);margin:4px 0 15px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.metrics>div{background:var(--stripe);border:1px solid var(--line);border-radius:10px;padding:10px;min-width:0}.metrics small{display:block;font-size:11px;color:var(--muted)}.metrics strong{font-size:clamp(12px,3vw,19px);white-space:nowrap}#status{margin:10px 0 0;color:var(--muted);font-size:12px}#status.warn{color:var(--warn)}label{display:block;font-size:12px;color:var(--muted)}input{width:100%;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:9px 12px;margin:4px 0 12px}nav{display:flex;flex-wrap:wrap;gap:6px}nav button{font-size:12px}nav button[aria-pressed=true]{background:var(--accent);color:var(--card);border-color:var(--accent)}article{padding:0;overflow:hidden}h2{font-size:15px;padding:12px 14px;margin:0;background:var(--stripe);border-bottom:1px solid var(--line)}table{border-collapse:collapse;width:100%;table-layout:fixed;text-align:right;font-size:13px}th{font-size:12px;color:var(--muted);font-weight:normal}td,th{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:middle;overflow-wrap:anywhere}td{white-space:pre-line}tr:last-child td{border-bottom:0}tbody tr:nth-child(even){background:var(--stripe)}th:first-child{width:42%}th:nth-child(2){width:32%}td:first-child{font-weight:bold}td:nth-child(2){color:var(--accent);font-variant-numeric:tabular-nums}td:nth-child(3){color:var(--muted)}aside,footer{font-size:12px;color:var(--muted)}footer{padding:12px 4px;text-align:center}a{color:var(--accent)}[hidden]{display:none!important}@media(max-width:420px){main{padding:10px}.intro,.controls{padding:12px}.metrics>div{padding:7px}.metrics small{font-size:10px}td,th{padding:8px 7px;font-size:11px}th:first-child{width:39%}th:nth-child(2){width:36%}}

/* Black is the default; light remains an explicit optional preference. */
html:not([data-theme=light]){color-scheme:dark;--bg:#000;--card:#101010;--ink:#f2f2f2;--muted:#b6b6b6;--line:#292929;--accent:#65e0bc;--head:#090909;--stripe:#171717;--warn:#ffd083}
html:not([data-theme=light]) header{background:#080808;border-bottom:1px solid #252525}
html:not([data-theme=light]) header button{background:#191919;border-color:#363636;color:#f2f2f2}
html:not([data-theme=light]) .brand small{color:#b6b6b6}
html[data-theme=light]{color-scheme:light}
body{font-family:Vazirmatn,Tahoma,Arial,sans-serif}header{position:sticky;top:0;z-index:5;backdrop-filter:blur(12px)}main{max-width:1160px}.sections{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 14px;gap:8px}.sections button{padding:12px 5px;font-weight:bold}.filters{display:flex;gap:8px;margin-bottom:12px}.filters select{width:50%;font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:9px;padding:8px}.carlink{color:var(--ink);text-decoration:none;font-weight:bold}.carlink:hover{color:var(--accent)}.change{display:block;font-size:11px;font-weight:normal;direction:ltr;text-align:right}.positive{color:#65e0bc}.negative{color:#f17b85}.neutral{color:var(--muted)}html[data-theme=light] .positive{color:#087b70}html[data-theme=light] .negative{color:#b42334}.detail-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:14px}.detail-card h2{background:none;padding:0;border:0;font-size:22px}.detail-card svg{width:100%;height:auto;display:block;touch-action:pan-y}.chart-controls{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.chart-controls button[aria-pressed=true]{background:var(--accent);color:var(--card)}.chart-tip{min-height:28px;color:var(--muted);font-size:13px}.report-text{white-space:pre-wrap;line-height:2.3}.table-sub{color:var(--muted);font-size:12px}.detail-card a{display:inline-block;margin-bottom:10px}.gap-table th:first-child{width:36%}.gap-table th:nth-child(2){width:22%}.gap-table th:nth-child(3){width:22%}.gap-table th:nth-child(4){width:20%}@media(max-width:420px){.gap-table td,.gap-table th{font-size:10px;padding:7px 4px}.sections button{font-size:12px}}
:root{--accent:#07849d}html:not([data-theme=light]){--accent:#56d8ef;--line:#25292c;--card:#111315;--stripe:#171a1d}
header .brand strong{font-size:18px;letter-spacing:-.3px}.brand img{width:54px;height:54px;object-fit:contain;background:#000;border:1px solid #282d31}.telegram{color:#92e4f3;text-decoration:none;padding:6px 10px;border:1px solid #344a51;border-radius:9px;font-size:12px;white-space:nowrap}.intro{position:relative;overflow:hidden;border-top:2px solid var(--accent)}.eyebrow{font-weight:600;letter-spacing:.5px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metrics strong{display:block}.vehicle-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.vehicle-metrics>div{min-width:0;background:var(--stripe);border:1px solid var(--line);border-radius:12px;padding:12px}.vehicle-metrics small{display:block;color:var(--muted);font-size:12px}.vehicle-metrics strong{font-size:21px;color:var(--accent);display:block;overflow-wrap:anywhere}.detail-card>p{color:var(--muted);margin:0}.detail-card h3{margin:24px 0 6px}.sections button{min-height:44px}.chart-controls button{min-height:40px}.carlink{display:inline-block;padding:4px 0} @media(max-width:600px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-metrics strong{font-size:17px}.brand img{width:42px;height:42px}header .brand strong{font-size:14px}.brand small{font-size:10px}.telegram{padding:5px 7px;font-size:10px}header{padding:10px;gap:6px}.actions{gap:4px;align-items:center}.actions button{padding:5px 8px}.sections button{font-size:12px}}@media(max-width:350px){.telegram{display:none}}
/* ICR identity: true black, white typography, cyan radar accents. */
html:not([data-theme=light]){--bg:#000;--card:#080b0d;--ink:#f7f7f7;--muted:#a9b7bd;--line:#182a30;--accent:#39c8eb;--stripe:#0d1317;--head:#000;--warn:#ffd083}
html:not([data-theme=light]) header{background:#000;border-bottom:1px solid #17333e}
html:not([data-theme=light]) header button{background:#0b151a;border-color:#23424c}
html:not([data-theme=light]) .intro{background:radial-gradient(ellipse at 5% 0%,#09222b 0%,#080b0d 47%,#080b0d 100%);border-top-color:#31badd}
html:not([data-theme=light]) .brand img{border:0;border-radius:0;background:#000}
.brand img{width:66px;height:66px}
html:not([data-theme=light]) .sections button[aria-pressed=true],html:not([data-theme=light]) nav button[aria-pressed=true]{background:#39c8eb;color:#001015}
html:not([data-theme=light]) .chart-controls button[aria-pressed=true]{color:#001015}
@media(max-width:600px){.brand img{width:51px;height:51px}}
/* Mobile-first readability, without hiding price or ad-count columns. */
@media(max-width:600px){
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:16px;line-height:1.8}
main{padding:10px 8px}
header{padding:8px 10px;flex-wrap:wrap;gap:8px}
.brand{gap:8px;min-width:0;white-space:normal}
.brand img{width:76px;height:76px;flex-shrink:0}
header .brand strong{font-size:17px;line-height:1.5}
.brand small{font-size:12px}
.actions{margin-inline-start:auto;flex-wrap:wrap;gap:6px}
.actions button,.telegram{font-size:13px;min-height:44px;display:inline-flex;align-items:center;padding:7px 10px}
.intro,.controls,.detail-card{padding:12px}
h1{font-size:25px}
.metrics{gap:8px}.metrics>div{padding:10px 8px}
.metrics small{font-size:13px}.metrics strong{font-size:19px;white-space:normal;overflow-wrap:anywhere}
#status,label,footer,aside{font-size:13px}
input,select{font-size:16px;min-height:46px}
nav button,.sections button{font-size:14px;min-height:44px}
.sections{gap:5px}.sections button{padding:9px 4px}
article h2{font-size:18px;padding:12px}
table{font-size:15px;line-height:1.65}
td,th{font-size:14px;padding:12px 5px;overflow-wrap:normal;word-break:normal}
th{font-size:13px}
th:first-child{width:37%}th:nth-child(2){width:39%}th:nth-child(3){width:24%}
td:first-child{overflow-wrap:anywhere}td:nth-child(2){font-size:15px;overflow-wrap:anywhere}td:nth-child(3){font-size:13px;overflow-wrap:anywhere}
.change{font-size:13px}
.carlink{padding:5px 0;line-height:1.7}
.vehicle-metrics strong{font-size:20px}.vehicle-metrics small{font-size:13px}
.chart-controls button{min-height:44px;font-size:14px}.chart-tip{font-size:14px}
.gap-table td,.gap-table th{font-size:13px;padding:10px 4px;overflow-wrap:anywhere}
}
@media(max-width:360px){header .brand strong{font-size:16px}.brand img{width:66px;height:66px}.telegram{display:none}.metrics strong{font-size:17px}td,td:nth-child(2){font-size:14px}td:nth-child(3){font-size:12px}}
/* App shell navigation and lightweight transitions */
.bottom-nav{display:none}.loading{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px;background:var(--card);border:1px solid var(--line);border-radius:14px;margin-bottom:14px}.loading img{width:76px;height:76px;object-fit:contain}.spinner{width:26px;height:26px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.back-nav{min-height:44px;margin-bottom:10px;color:var(--accent)}.bot-cta{padding:10px 16px;background:var(--accent);color:var(--bg);border-radius:10px;text-decoration:none;margin-top:16px;font-weight:bold}.controls{scroll-margin-top:120px}.bottom-nav button svg{width:23px;height:23px;pointer-events:none}.bottom-nav button span{pointer-events:none}.detail-card,article{animation:appear .16s ease-out}@keyframes appear{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:760px){main{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}.bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;bottom:0;left:0;right:0;padding:7px 4px calc(7px + env(safe-area-inset-bottom,0px));z-index:20;background:var(--card);border-top:1px solid var(--line);box-shadow:0 -4px 20px #0003}.bottom-nav button{min-width:0;min-height:54px;background:transparent;border:0;border-radius:10px;padding:5px 1px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:var(--muted);font-size:12px;white-space:nowrap}.bottom-nav button[aria-pressed=true]{color:var(--accent);background:var(--stripe)}.bottom-nav button svg{width:24px;height:24px}.sections button{min-height:44px}}
@media(max-width:350px){.bottom-nav button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.spinner,.detail-card,article{animation:none}}
@font-face{font-family:VazirmatnWeb;src:url('/fonts/Vazirmatn.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
body,button,input,select,textarea{font-family:VazirmatnWeb,Vazirmatn,Tahoma,Arial,sans-serif}
.ad-link{color:var(--accent);white-space:pre-line;display:inline-block;text-decoration:underline;padding:4px}.ad-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.ad-filters label{display:flex;flex-direction:column;min-width:0;gap:3px;font-size:13px}.ad-filters input,.ad-filters select{min-width:0;width:100%;padding:9px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--bg);font-size:16px}.ad-filters button{min-height:44px;background:var(--accent);color:var(--bg);font-weight:bold}.ad-result{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 10px;border:1px solid var(--line);border-radius:12px;background:var(--stripe);margin:10px 0}.ad-result strong,.ad-result p,.ad-result small{width:100%;margin:0}.ad-result b{color:var(--accent);font-size:18px;width:100%}.ad-result a,.ad-result button{padding:8px;border:1px solid var(--line);border-radius:8px}.web-stats{margin-top:20px}
.install-banner{display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:13px;padding:12px;margin-bottom:12px}.install-banner img{width:54px;height:54px;object-fit:contain;border-radius:9px}.install-banner>div{flex:1;min-width:0}.install-banner strong,.install-banner small{display:block}.install-banner small{color:var(--muted);font-size:12px}.install-banner button,#nativeInstall{background:var(--accent);color:var(--bg);font-weight:bold;min-height:44px;padding:8px 15px}.install-banner #dismissInstall{background:transparent;color:var(--muted);border:0;font-size:22px;padding:4px 7px}#install{background:var(--accent);color:var(--bg);font-weight:bold}#installDialog{width:min(440px,calc(100% - 24px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:18px;padding:18px;background:var(--card);color:var(--ink);direction:rtl}#installDialog::backdrop{background:#000a}.install-dialog-head{display:flex;gap:10px;align-items:center}.install-dialog-head img{width:58px;height:58px}.install-dialog-head div{flex:1}.install-dialog-head h2{font-size:19px;margin:0;background:none;padding:0}.install-dialog-head p{font-size:13px;color:var(--muted);margin:4px 0}.install-dialog-head button{min-width:40px;font-size:20px}.install-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:16px}.install-tabs button{min-height:44px}.install-tabs button[aria-pressed=true]{background:var(--accent);color:var(--bg)}#installSteps ol{padding-inline-start:24px;line-height:1.9}#installSteps li{margin-bottom:10px}#nativeInstall,#copyInstallUrl{width:100%;margin-top:8px;min-height:44px}#installNotice{font-size:13px;overflow-wrap:anywhere}[hidden]{display:none!important}@media(max-width:400px){.install-banner{padding:8px;gap:6px}.install-banner img{width:44px;height:44px}.install-banner strong{font-size:13px}.install-banner small{font-size:11px}}

.hero-copy{color:var(--muted);margin:0 0 16px;font-size:14px}.market-dashboard{margin:0 0 18px}.dash-heading{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.dash-heading h2{border:0;background:none;padding:0;font-size:23px}.dash-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dash-card{padding:14px;margin:0}.dash-card h3{font-size:17px;margin:0}.dash-card p{font-size:12px;color:var(--muted);margin:3px 0 10px}.dash-card img{display:block;width:100%;height:auto;aspect-ratio:auto;border-radius:9px;background:#111}.dash-tabs{display:flex;gap:5px;margin-bottom:10px}.dash-tabs button{flex:1;padding:5px 2px;font-size:12px}.dash-tabs button[aria-pressed=true]{background:var(--accent);color:var(--bg)}.dash-card a{display:block;margin-top:8px;font-size:12px}.quick-links{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.quick-links a{padding:10px 4px;text-align:center;border:1px solid var(--line);border-radius:10px;background:var(--card);text-decoration:none}.sections{grid-template-columns:repeat(4,1fr)}.bottom-nav button{min-width:0;flex:1}.bottom-nav button span{font-size:10px}.bottom-nav button[data-tab=home] span:first-child{font-size:24px;line-height:24px}@media(max-width:720px){.dash-grid{grid-template-columns:1fr}.quick-links{grid-template-columns:repeat(2,1fr)}}

@media(max-width:760px){.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}}
