/* Hamyonda — video e'lonlar. Telefon uchun yaratilgan; kompyuter va planshetda (html.web) — to'liq sayt ko'rinishi, faylning oxirida. */

@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/onest-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/onest-latin-600-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/onest-latin-700-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/onest-latin-800-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/onest-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/onest-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/onest-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/onest-cyrillic-800-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --accent: #12B76A;
  --accent-ink: #141414;
  --accent-soft: #E3F6ED;
  --accent-softer: #F1FBF6;
  --link: #0B7A47;
  --nasiya: #0B7A47;
  --nasiya-soft: #E7F7EF;
  --bolib: #4338CA;
  --bolib-soft: #EEF0FF;
  --sold: #DC2626;
  --text: #141414;
  --text2: #4A4A4A;
  --muted: #6B6B6B;
  --bg: #FFFFFF;
  --surface: #F5F4F1;
  --surface2: #EFEDE9;
  --border: #ECEAE6;
  --border2: #E2DFDA;
  --border3: #D9D6D0;
  --green: #16A34A;
  --green-ink: #15803D;
  --green-soft: #E8F7EE;
  --danger: #DC2626;
  --danger-ink: #B91C1C;
  --danger-soft: #FEE2E2;
  --star: #F59E0B;
  --warn-soft: #FFF7E0;
  --warn-ink: #5C4A12;
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --shell: 520px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--surface2);
  color: var(--text);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: #08603A; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* ---------- Yuklanish ---------- */
.boot { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #fff; }
.boot-logo { width: 56px; height: 56px; border-radius: 18px; background: var(--accent); display: flex; align-items: center; justify-content: center; animation: pulse 1.2s ease-in-out infinite; }
.boot-name { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; text-transform: lowercase; }
@keyframes pulse { 50% { transform: scale(.92); } }

/* ---------- Asosiy qobiq ---------- */
.shell { position: relative; max-width: var(--shell); margin: 0 auto; min-height: 100dvh; background: var(--bg); }
@media (min-width: 560px) { .shell { box-shadow: 0 0 0 1px var(--border), 0 10px 40px rgba(0, 0, 0, .06); } }
.page { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 20px); }
.page.bare { padding-bottom: calc(var(--safe-b) + 24px); }
.page.with-bar { padding-bottom: calc(88px + var(--safe-b) + 12px); }
.pad { padding-left: 16px; padding-right: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.bold { font-weight: 700; }
.center { text-align: center; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; } .mt24 { margin-top: 24px; }

/* ---------- Pastki menyu ---------- */
.nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 60;
  width: 100%; max-width: var(--shell); height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: #fff; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
}
.nav.dark { background: #0B0B0C; border-top-color: #0B0B0C; }
.nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; color: var(--muted); font-size: 11px; font-weight: 700; }
.nav a[aria-current="page"] { color: var(--text); }
.nav.dark a { color: #A1A1AA; }
.nav.dark a[aria-current="page"] { color: #fff; }
.nav .plus-wrap { display: flex; justify-content: center; }
.nav .plus { width: 52px; height: 38px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
.nav .plus:hover { color: var(--accent-ink); filter: brightness(1.05); }
.badge { position: absolute; top: 1px; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* ---------- Sarlavha qatori ---------- */
.topbar { position: sticky; top: 0; z-index: 30; height: calc(56px + var(--safe-t)); padding: calc(6px + var(--safe-t)) 8px 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; }
.topbar h1 { font-size: 17px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar.left h1 { text-align: left; padding-left: 8px; font-size: 20px; font-weight: 800; }
.topbar.left { grid-template-columns: minmax(0, 1fr) auto; padding-left: 8px; }
.icon-btn { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-btn:hover { background: rgba(0, 0, 0, .05); }
.icon-btn.white { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.icon-btn.dark { color: #fff; }
.icon-btn.dark:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Tugmalar ---------- */
.btn { height: 48px; padding: 0 16px; border: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 800; white-space: nowrap; text-decoration: none; transition: filter .15s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.04); }
.btn-outline { background: #fff; border: 1.5px solid var(--border3); color: var(--text); font-weight: 700; }
.btn-outline:hover { color: var(--text); background: #FAFAF8; }
.btn-soft { background: var(--surface); color: var(--text); font-weight: 700; }
.btn-soft:hover { color: var(--text); background: var(--surface2); }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { color: var(--text); }
.btn-dark { background: #141414; color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { color: #fff; }
.btn-danger { background: var(--danger-soft); color: var(--danger-ink); font-weight: 700; }
.btn-danger:hover { color: var(--danger-ink); }
.btn-block { display: flex; width: 100%; }
.btn-lg { height: 52px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.link-btn { padding: 8px 0; border: 0; background: transparent; color: var(--link); font-size: 13px; font-weight: 700; }

/* ---------- Kiritish maydonlari ---------- */
.field { display: flex; flex-direction: column; gap: 4px; }
.field > label, .label { font-size: 12px; font-weight: 600; color: var(--muted); }
.input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--border2); border-radius: 12px; background: #fff; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18, 183, 106, .22); }
.input.big { height: 52px; font-size: 18px; font-weight: 700; }
textarea.input { height: auto; padding: 10px 12px; resize: none; line-height: 1.4; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .prefix { position: absolute; left: 12px; font-weight: 700; color: var(--text2); pointer-events: none; }
.input-wrap .input { padding-left: 62px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface); gap: 2px; }
.seg button { height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; font-size: 14px; font-weight: 700; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.err { color: var(--danger-ink); font-size: 13px; font-weight: 600; }
.hint { font-size: 12px; color: var(--muted); }

/* toggle */
.switch { position: relative; width: 46px; height: 28px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 14px; background: #D6D3CE; transition: background .2s; pointer-events: none; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid #2563EB; outline-offset: 2px; }

/* ---------- Kartalar ---------- */
.card { padding: 12px 14px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.soft { padding: 12px 14px; border-radius: 16px; background: var(--surface); }
.warn-box { padding: 8px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--warn-ink); display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.35; }
.ok-box { padding: 12px 14px; border-radius: 16px; background: var(--green-soft); color: #14532D; display: flex; align-items: flex-start; gap: 10px; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.section-h h2 { font-size: 18px; font-weight: 800; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.accent { background: var(--accent-soft); color: var(--link); }
.pill.green { background: var(--green-soft); color: var(--green-ink); }
.pill.gray { background: var(--surface); color: var(--text2); }
.pill.dark { background: #141414; color: #fff; }
.pill.red { background: var(--danger-soft); color: var(--danger-ink); }
.pill.solid { background: var(--accent); color: var(--accent-ink); }
.pill.warn { background: var(--warn-soft); color: var(--warn-ink); }
.ai-tag { height: 20px; padding: 0 6px; border-radius: 6px; background: #141414; color: #fff; display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ---------- Avatar ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--surface); }
.avatar.ph { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #1E3A8A; background: #DCE8F7; }
.verified { display: inline-block; vertical-align: -2px; flex-shrink: 0; }
.stars { display: inline-flex; gap: 1px; }

/* ---------- Bosh sahifa ---------- */
.home-head { height: calc(58px + var(--safe-t)); padding: calc(10px + var(--safe-t)) 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.logo-name { font-size: 23px; font-weight: 800; letter-spacing: -0.6px; }
.region-btn { height: 40px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; background: var(--surface); display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; max-width: 58%; }
.region-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.searchrow { padding: 6px 16px 0; display: flex; gap: 8px; }
.searchbox { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 14px; background: var(--surface); display: flex; align-items: center; gap: 8px; border: 0; color: var(--muted); font-size: 15px; text-align: left; }
.searchbox input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font-size: 15px; outline: none; }
.searchbox:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.tavsiya-btn { height: 48px; padding: 0 14px 0 12px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; border: 0; flex-shrink: 0; }
.tavsiya-btn:hover { color: var(--accent-ink); }
.cats { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px; }
.cat { padding: 0; border: 0; background: transparent; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.cat:hover { color: var(--text); }
.cat-ic { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.cat:hover .cat-ic { transform: translateY(-2px); }
.cat-name { min-height: 30px; font-size: 12px; font-weight: 600; line-height: 1.25; text-align: center; overflow-wrap: break-word; hyphens: auto; letter-spacing: -0.1px; max-width: 100%; }
:lang(ru) .cat-name { font-size: 11.5px; letter-spacing: -0.25px; }
.newhomes { margin-top: 8px; width: 100%; height: 56px; padding: 0 12px 0 8px; border: 0; border-radius: 16px; background: var(--surface); color: var(--text); display: flex; align-items: center; gap: 12px; text-align: left; }
.newhomes:hover { color: var(--text); }
.newhomes .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #fff; color: #1D4ED8; display: flex; align-items: center; justify-content: center; }

/* ---------- E'lon kartalari ---------- */
.hscroll { display: flex; gap: 10px; overflow-x: auto; padding: 6px 16px 4px; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hcard { width: 150px; flex-shrink: 0; color: var(--text); scroll-snap-align: start; }
.hcard:hover { color: var(--text); }
.thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hcard .thumb { height: 110px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; padding: 0 16px; }
@media (min-width: 460px) { .grid2.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gcard { color: var(--text); display: block; min-width: 0; }
.gcard:hover { color: var(--text); }
.gcard .thumb { aspect-ratio: 4 / 5; }
.tchip { position: absolute; height: 22px; padding: 0 7px; border-radius: 8px; display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; }
.tchip.dur { left: 6px; bottom: 6px; background: rgba(0, 0, 0, .68); color: #fff; }
.tchip.dist { right: 6px; top: 6px; background: rgba(255, 255, 255, .92); color: var(--text); }
.tchip.top { left: 6px; top: 6px; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.tchip.sold { left: 6px; top: 6px; background: #141414; color: #fff; }
.tchip.face { right: 6px; bottom: 6px; width: 30px; height: 40px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid #fff; }
.tchip.face img { width: 100%; height: 100%; object-fit: cover; }
.c-price { display: block; margin-top: 6px; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-title { display: block; font-size: 13px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-meta { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.c-meta span { overflow: hidden; text-overflow: ellipsis; }

/* ---------- Qidiruv ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.fchip { height: 36px; padding: 0 12px; border: 1px solid var(--border2); border-radius: 999px; background: #fff; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.fchip[aria-pressed="true"] { background: #141414; border-color: #141414; color: #fff; }
.result-count { padding: 8px 16px 4px; font-size: 13px; color: var(--muted); }

/* ---------- Bo'sh holat, yuklanish ---------- */
.empty { padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--muted); }
.empty .em-ic { width: 64px; height: 64px; border-radius: 20px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--text2); }
.empty h3 { font-size: 17px; font-weight: 800; color: var(--text); }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(0, 0, 0, .12); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.spinner.light { border-color: rgba(255, 255, 255, .25); border-top-color: #fff; }
.spin-wrap { padding: 28px; display: flex; justify-content: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.skel { background: linear-gradient(90deg, var(--surface) 0%, #FAF9F7 50%, var(--surface) 100%); background-size: 200% 100%; animation: skel 1.2s ease-in-out infinite; border-radius: 14px; }
@keyframes skel { to { background-position: -200% 0; } }

/* ---------- Toast va oynalar ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 16px); transform: translateX(-50%); z-index: 200; max-width: min(92vw, 460px); padding: 12px 16px; border-radius: 14px; background: #141414; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); display: flex; align-items: center; gap: 12px; animation: toastIn .2s ease-out; }
.toast button { border: 0; background: transparent; color: var(--accent); font-weight: 800; padding: 4px 0; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } }
.overlay { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; justify-content: center; animation: fadeIn .15s ease-out; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet { width: 100%; max-width: var(--shell); max-height: 88dvh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 8px 16px calc(18px + var(--safe-b)); animation: sheetIn .22s cubic-bezier(.2, .8, .3, 1); }
@keyframes sheetIn { from { transform: translateY(40px); opacity: .6; } }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: #DAD7D2; margin: 0 auto 10px; }
.sheet h2 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.sheet-list { display: flex; flex-direction: column; }
.sheet-item { min-height: 52px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--border); background: transparent; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; text-align: left; color: var(--text); }
.sheet-item:last-child { border-bottom: 0; }
.sheet-item .sel { margin-left: auto; color: var(--accent); }
.sheet-item.danger { color: var(--danger-ink); }

/* ---------- Tavsiyalar (video tasma) ---------- */
.feed { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--shell); bottom: calc(var(--nav-h) + var(--safe-b)); background: #000; color: #fff; overflow: hidden; z-index: 10; }
.feed-scroller { height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.feed-scroller::-webkit-scrollbar { display: none; }
.fitem { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #000; }
.fitem video, .fitem .fposter { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fitem .grad-t { position: absolute; left: 0; right: 0; top: 0; height: 200px; background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); pointer-events: none; }
.fitem .grad-b { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .88)); pointer-events: none; }
.feed-top { position: absolute; z-index: 5; left: 4px; right: 4px; top: calc(8px + var(--safe-t)); height: 52px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; pointer-events: none; }
.feed-top > * { pointer-events: auto; }
.feed-title { display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; pointer-events: none; }
.feed-title b { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; }
.feed-title span { font-size: 12px; font-weight: 500; color: #E9E9EC; }
.feed-chips { position: absolute; z-index: 5; left: 0; right: 0; top: calc(66px + var(--safe-t)); display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px; scrollbar-width: none; }
.feed-chips::-webkit-scrollbar { display: none; }
.feed-chips button { height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .42); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; flex-shrink: 0; backdrop-filter: blur(6px); }
.feed-chips button[aria-pressed="true"] { background: #fff; color: #141414; font-weight: 700; }
.fseller { position: absolute; z-index: 3; left: 16px; top: calc(122px + var(--safe-t)); display: flex; align-items: flex-start; gap: 10px; color: #fff; max-width: calc(100% - 90px); }
.fseller:hover { color: #fff; }
.fface { position: relative; width: 72px; height: 96px; border-radius: 16px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); flex-shrink: 0; background: #222; }
.fface img, .fface video { width: 100%; height: 100%; object-fit: cover; }
.fseller-info { display: flex; flex-direction: column; gap: 4px; padding: 8px 12px; border-radius: 14px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(4px); min-width: 0; }
.fseller-info .nm { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; }
.fseller-info .nm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fseller-info .rt { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
.fseller-info .lv { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #E9E9EC; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; flex-shrink: 0; }
.fbody { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.frow { display: flex; align-items: flex-end; gap: 10px; }
.finfo { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.frail { width: 56px; display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; padding-bottom: 4px; }
.rail-btn { padding: 0; border: 0; background: transparent; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; }
.rail-btn .ic { width: 48px; height: 48px; border-radius: 50%; background: rgba(0, 0, 0, .42); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: transform .15s; }
.rail-btn:active .ic { transform: scale(.9); }
.rank-chip { height: 30px; padding: 0 10px 0 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; max-width: 100%; }
.rank-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.subs { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 100%; }
.sub { display: flex; align-items: flex-start; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .62); font-size: 14px; font-weight: 600; line-height: 1.35; animation: fadeIn .2s; }
.sub.ru { font-weight: 500; color: #E9E9EC; }
.sub .lg { flex-shrink: 0; margin-top: 1px; padding: 1px 5px; border-radius: 5px; background: #fff; color: #141414; font-size: 10px; font-weight: 800; line-height: 1.5; }
.sub.ru .lg { background: #E9E9EC; }
.fprice { display: flex; flex-direction: column; gap: 3px; color: #fff; text-align: left; max-width: 100%; padding: 0; border: 0; background: transparent; }
.fprice:hover { color: #fff; }
.fprice .p { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.fprice .t { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fprice .m { font-size: 13px; color: #D4D4D8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fprogress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25); }
.fprogress i { display: block; height: 100%; background: var(--accent); width: 0; }
.ftap { position: absolute; inset: 0; z-index: 1; }
.fpaused { position: absolute; z-index: 2; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.heart-pop { position: absolute; z-index: 6; left: 50%; top: 42%; transform: translate(-50%, -50%); pointer-events: none; animation: heartPop .7s ease-out forwards; }
@keyframes heartPop { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 30% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } 100% { transform: translate(-50%, -70%) scale(1); opacity: 0; } }
.fend { height: 100%; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: #D4D4D8; }
@media (max-height: 700px) {
  .fface { width: 54px; height: 72px; border-radius: 12px; }
  .fseller { top: calc(112px + var(--safe-t)); }
  .fprice .p { font-size: 22px; }
  .sub { font-size: 13px; padding: 5px 9px; }
  .frail { gap: 8px; }
  .rail-btn .ic { width: 42px; height: 42px; }
}

/* ---------- Video pleyer (to'liq ekran) ---------- */
.player { position: fixed; inset: 0; z-index: 120; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; }
.player-box { position: relative; width: 100%; max-width: var(--shell); height: 100%; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player .close { position: absolute; z-index: 5; left: 8px; top: calc(8px + var(--safe-t)); }
.player .mute { position: absolute; z-index: 5; right: 8px; top: calc(8px + var(--safe-t)); }
.player .psubs { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: calc(40px + var(--safe-b)); }
.player .pbar { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: calc(18px + var(--safe-b)); height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.player .pbar i { display: block; height: 100%; border-radius: 2px; background: var(--accent); }

/* ---------- E'lon sahifasi ---------- */
.hero { position: relative; height: min(76vw, 360px); background: #000; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero .grad { position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); }
.hero .back { position: absolute; left: 12px; top: calc(12px + var(--safe-t)); }
.hero .acts { position: absolute; right: 12px; top: calc(12px + var(--safe-t)); display: flex; gap: 8px; }
.hero .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #141414; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.hero .chips { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.hero .chip { height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.hero .face { position: absolute; right: 12px; bottom: 12px; width: 54px; height: 72px; border-radius: 12px; overflow: hidden; border: 2px solid #fff; }
.hero .face img { width: 100%; height: 100%; object-fit: cover; }
.l-price { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.l-title { margin-top: 4px; font-size: 18px; font-weight: 700; }
.l-meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fact { padding: 9px 10px; border-radius: 12px; background: var(--surface); font-size: 14px; font-weight: 600; line-height: 1.3; }
.ai-card ul { margin: 8px 0 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; color: #2A2A2A; }
.seller-card { padding: 12px 14px; border-radius: 16px; background: var(--surface); color: var(--text); display: flex; align-items: center; gap: 12px; }
.seller-card:hover { color: var(--text); }
.seller-card .nm { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; flex-wrap: wrap; }
.vline { font-size: 12px; font-weight: 600; color: var(--green-ink); }
.rline { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text2); }
.safety { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text2); line-height: 1.4; }
.bottombar { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: var(--shell); padding: 12px 16px calc(12px + var(--safe-b)); background: #fff; border-top: 1px solid var(--border); display: flex; gap: 10px; }
.bottombar .btn { flex: 1; }
.bottombar .btn.sq { flex: 0 0 48px; padding: 0; }
.bottombar.col { flex-direction: column; gap: 8px; }
.bottombar.col .btn { flex: none; width: 100%; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stat { padding: 10px 6px; border-radius: 14px; background: var(--surface); text-align: center; }
.stat b { display: block; font-size: 18px; font-weight: 800; }
.stat span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }

/* ---------- Sotuvchi profili ---------- */
.prof-head { display: flex; align-items: center; gap: 14px; }
.prof-name { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 800; }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stats3 .stat b { font-size: 20px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.rbar { display: grid; grid-template-columns: 124px 1fr 30px; align-items: center; gap: 10px; font-size: 13px; }
.rbar .track { height: 8px; border-radius: 4px; background: #EFEDE9; overflow: hidden; }
.rbar .track i { display: block; height: 100%; background: var(--star); }
.review { padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.review:last-child { border-bottom: 0; padding-bottom: 0; }
.review p { margin-top: 6px; font-size: 14px; line-height: 1.4; }
.review .reply { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface); font-size: 13px; color: var(--text2); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--surface); }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.tile .tp { position: absolute; left: 6px; bottom: 6px; padding: 3px 7px; border-radius: 8px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; font-weight: 700; }

/* ---------- Chatlar ---------- */
.tabs { display: flex; gap: 6px; padding: 4px 16px 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 700; color: var(--text2); white-space: nowrap; flex-shrink: 0; }
.tab[aria-selected="true"] { background: #141414; color: #fff; }
.chat-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: var(--text); position: relative; }
.chat-item:hover { background: #FAFAF8; color: var(--text); }
.ci-thumb { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.ci-thumb .poster { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; object-position: 50% 60%; background: var(--surface); }
.ci-thumb .avatar { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border: 2px solid #fff; }
.ci-top { display: flex; align-items: baseline; gap: 8px; }
.ci-name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-time { margin-left: auto; font-size: 12px; color: var(--muted); flex-shrink: 0; }
.ci-listing { font-size: 13px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-last { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.ci-last span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.ci-last.unread span { color: var(--text); font-weight: 600; }
.ci-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.chat-page { position: fixed; top: var(--vvtop, 0px); left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--shell); height: var(--vvh, 100dvh); background: var(--surface); display: flex; flex-direction: column; z-index: 20; }
.chat-head { flex-shrink: 0; height: calc(64px + var(--safe-t)); padding: calc(8px + var(--safe-t)) 6px 0 4px; background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; }
.chat-who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--text); }
.chat-who:hover { color: var(--text); }
.chat-who .nm { display: flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 700; }
.chat-who .nm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-who .st { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.chat-who .st.on { color: var(--green-ink); }
.chat-who .st.on i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chat-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.chat-listing { padding: 8px; border-radius: 14px; background: #fff; display: flex; align-items: center; gap: 10px; }
.chat-listing img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; object-position: 50% 60%; flex-shrink: 0; background: var(--surface); }
.day-sep { align-self: center; padding: 3px 10px; border-radius: 999px; background: #E9E6E1; font-size: 12px; font-weight: 600; color: var(--text2); margin: 4px 0; }
.msg { max-width: 78%; padding: 8px 12px; border-radius: 16px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.msg.me { align-self: flex-end; border-bottom-right-radius: 4px; background: #D3F3E3; }
.msg.them { align-self: flex-start; border-bottom-left-radius: 4px; background: #fff; }
.msg .tm { display: block; margin-top: 2px; text-align: right; font-size: 11px; color: var(--muted); white-space: nowrap; }
.msg.me .tm { color: #4E7A63; }
.msg.photo { padding: 4px; }
.msg.photo img { border-radius: 12px; max-height: 320px; width: auto; max-width: 100%; cursor: zoom-in; background: var(--surface2); }
.msg.photo .tm { padding: 0 6px 2px; }
.voice { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.voice .pb { width: 36px; height: 36px; flex-shrink: 0; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
.voice .wave { flex: 1; height: 24px; display: flex; align-items: center; gap: 3px; }
.voice .wave i { width: 3px; border-radius: 2px; background: #C9C4BC; flex-shrink: 0; }
.voice .wave i.on { background: var(--accent); }
.voice .dur { font-size: 12px; color: var(--muted); min-width: 30px; text-align: right; }
.offer { width: 250px; max-width: 86%; padding: 12px 14px; border-radius: 16px; background: #fff; border: 2px solid var(--accent); }
.offer.me { align-self: flex-end; border-bottom-right-radius: 4px; }
.offer.them { align-self: flex-start; border-bottom-left-radius: 4px; }
.offer.done { border-color: var(--border2); }
.offer .oh { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--link); }
.offer .oa { margin-top: 4px; font-size: 20px; font-weight: 800; }
.offer .om { margin-top: 2px; font-size: 12px; color: var(--muted); }
.offer .obtns { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sysmsg { align-self: center; max-width: 92%; padding: 4px 12px; border-radius: 999px; background: #E9E6E1; font-size: 12.5px; font-weight: 600; color: var(--text2); text-align: center; }
.syscard { align-self: stretch; margin-top: 2px; }
.chat-foot { flex-shrink: 0; padding: 8px 10px calc(8px + var(--safe-b)); background: #fff; border-top: 1px solid var(--border); display: flex; align-items: flex-end; gap: 6px; }
.chat-foot textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 140px; padding: 11px 14px; border: 0; border-radius: 22px; background: var(--surface); font-size: 15px; line-height: 1.4; resize: none; outline: none; }
.chat-foot textarea:focus { box-shadow: 0 0 0 2px var(--accent); }
.send-btn { width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
.rec-bar { flex: 1; height: 44px; padding: 0 14px; border-radius: 22px; background: var(--accent-soft); display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--link); }
.typing { font-size: 12px; color: var(--green-ink); }
.typing-dots i { display: inline-block; width: 4px; height: 4px; margin: 0 1px; border-radius: 50%; background: currentColor; animation: dot 1s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .2; } }

/* yulduzcha tanlash */
.star-pick { display: flex; gap: 4px; }
.star-pick button { width: 40px; height: 40px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; }

/* ---------- Kamera (video olish) ---------- */
.rec { position: fixed; inset: 0; z-index: 100; background: #000; color: #fff; overflow: hidden; }
.rec-box { position: relative; width: 100%; max-width: var(--shell); height: 100%; margin: 0 auto; overflow: hidden; }
.rec video.live, .rec video.review { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #111; }
.rec video.live.mirror { transform: scaleX(-1); }
.rec .grad-t { position: absolute; left: 0; right: 0; top: 0; height: 240px; background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); pointer-events: none; }
.rec .grad-b { position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .9)); pointer-events: none; }
.rec-top { position: absolute; z-index: 3; left: 8px; right: 8px; top: calc(8px + var(--safe-t)); height: 48px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; }
.rec-top b { text-align: center; font-size: 16px; font-weight: 700; }
.rec-status { position: absolute; z-index: 3; left: 16px; right: 16px; top: calc(62px + var(--safe-t)); display: flex; flex-direction: column; gap: 10px; }
.stepchips { display: flex; gap: 8px; align-items: center; }
.stepchip { height: 30px; padding: 0 12px 0 8px; border-radius: 999px; background: rgba(0, 0, 0, .5); display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.stepchip.done { background: var(--green); color: #fff; }
.stepchip.now { background: #fff; color: #141414; }
.timechip { margin-left: auto; height: 30px; padding: 0 10px; border-radius: 999px; background: rgba(0, 0, 0, .5); display: flex; align-items: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rec-prog { position: relative; height: 22px; }
.rec-prog .tr { position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.rec-prog .fl { position: absolute; left: 0; top: 0; height: 6px; border-radius: 3px; background: var(--accent); }
.rec-prog .mk { position: absolute; top: -3px; width: 2px; height: 12px; background: #fff; }
.rec-prog .ml { position: absolute; top: 10px; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: #E9E9EC; white-space: nowrap; }
.rec-face { position: absolute; z-index: 3; left: 16px; top: calc(148px + var(--safe-t)); display: flex; align-items: center; gap: 10px; }
.rec-face img { width: 60px; height: 80px; border-radius: 14px; border: 2px solid #fff; object-fit: cover; }
.rec-face .ok { position: absolute; left: 44px; top: 62px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.rec-bubble { padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .5); font-size: 13px; font-weight: 600; line-height: 1.35; }
.face-guide { position: absolute; z-index: 2; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 62%; max-width: 280px; aspect-ratio: 3 / 4; border: 3px dashed rgba(255, 255, 255, .85); border-radius: 50%; pointer-events: none; }
.count-big { position: absolute; z-index: 4; left: 50%; top: 44%; transform: translate(-50%, -50%); font-size: 96px; font-weight: 800; text-shadow: 0 6px 20px rgba(0, 0, 0, .4); pointer-events: none; }
.rec-tips { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: calc(150px + var(--safe-b)); display: flex; flex-direction: column; gap: 10px; }
.tipcard { padding: 12px 14px; border-radius: 16px; background: rgba(0, 0, 0, .62); backdrop-filter: blur(4px); }
.tipchips { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.tipchips span { height: 30px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }
.tipchips span.on { background: var(--green); }
.rec-ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(46px + var(--safe-b)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; justify-items: center; }
.rc-side { padding: 0; border: 0; background: transparent; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.rc-side .ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; }
.rc-side.go .ic { background: var(--accent); color: var(--accent-ink); }
.rc-side[disabled] { opacity: .35; }
.rec-btn { width: 84px; height: 84px; padding: 0; border: 5px solid #fff; border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; }
.rec-btn i { width: 64px; height: 64px; border-radius: 50%; background: #FF3B30; transition: all .2s; }
.rec-btn.on i { width: 34px; height: 34px; border-radius: 9px; }
.rec-note { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: calc(12px + var(--safe-b)); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #D4D4D8; text-align: center; }
.rec-msg { position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; background: rgba(0, 0, 0, .78); }
.rec-msg h2 { font-size: 20px; font-weight: 800; }
.rec-msg p { color: #D4D4D8; line-height: 1.45; }
.upbar { width: 100%; max-width: 280px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.upbar i { display: block; height: 100%; background: var(--accent); transition: width .2s; }

/* ---------- Joylash formasi ---------- */
.post-head { display: flex; gap: 12px; }
.post-vid { position: relative; width: 92px; height: 122px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: #000; border: 0; padding: 0; }
.post-vid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.post-vid .pl { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #141414; display: flex; align-items: center; justify-content: center; }
.picker { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--border2); border-radius: 12px; background: #fff; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-align: left; color: var(--text); }
.picker .ph { color: var(--muted); font-weight: 500; }
.loc-card { border: 1px solid var(--border); border-radius: 16px; padding: 10px 10px 10px 12px; display: flex; align-items: center; gap: 10px; }
.loc-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--link); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.loc-card.bad .loc-ic { background: var(--danger-soft); color: var(--danger-ink); }
.price-row { display: flex; gap: 10px; align-items: flex-end; }

/* ---------- Ko'tarish (reklama) ---------- */
.pkg { position: relative; min-height: 62px; padding: 10px 14px; border: 1.5px solid var(--border2); border-radius: 16px; display: flex; align-items: center; gap: 12px; cursor: pointer; background: #fff; }
.pkg:has(input:checked) { border: 2px solid var(--accent); background: var(--accent-softer); }
.pkg input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pay-opt { min-height: 56px; padding: 8px 12px; border: 1.5px solid var(--border2); border-radius: 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; background: #fff; }
.pay-opt:has(input:checked) { border: 2px solid var(--accent); background: var(--accent-softer); }
.pay-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.pay-logo { font-size: 15px; font-weight: 800; }

/* ---------- Kirish ---------- */
.login-hero { padding: 28px 20px 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.login-hero h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; }
.code-inputs { display: flex; gap: 8px; }
.code-inputs input { width: 100%; height: 56px; border: 1.5px solid var(--border2); border-radius: 14px; text-align: center; font-size: 24px; font-weight: 800; }
.code-inputs input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18, 183, 106, .22); }
.demo-users { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.demo-user { padding: 10px; border: 1px solid var(--border); border-radius: 14px; background: #fff; display: flex; align-items: center; gap: 10px; text-align: left; }
.demo-user:hover { border-color: var(--accent); }
.demo-user b { display: block; font-size: 14px; }
.demo-user span { display: block; font-size: 12px; color: var(--muted); }
.devcode { padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--warn-ink); font-size: 13px; }

/* ---------- Profil (men) ---------- */
.me-card { padding: 14px; border-radius: 18px; background: var(--surface); display: flex; align-items: center; gap: 14px; }
.menu-list { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; }
.menu-item { width: 100%; min-height: 54px; padding: 8px 14px; border: 0; border-bottom: 1px solid var(--border); background: #fff; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; text-align: left; color: var(--text); }
.menu-item:last-child { border-bottom: 0; }
.menu-item:hover { background: #FAFAF8; color: var(--text); }
.menu-item .mi-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text2); }
.menu-item .mi-val { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.menu-item.danger { color: var(--danger-ink); }
.cta-card { padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #E3F6ED, #CFF1E1); display: flex; flex-direction: column; gap: 10px; }
.cta-card h3 { font-size: 17px; font-weight: 800; }
.my-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.my-item:last-child { border-bottom: 0; }
.my-item:hover { color: var(--text); }
.my-item .thumb { width: 72px; height: 92px; flex-shrink: 0; }

/* ---------- Tasdiqlash (sotuvchi bo'lish) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; list-style: none; padding: 0; }
.steps li { display: flex; flex-direction: column; gap: 6px; }
.steps li i { height: 4px; border-radius: 2px; background: var(--border); }
.steps li.done i { background: var(--green); }
.steps li.now i { background: var(--accent); }
.steps li span { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--muted); }
.steps li.done span { color: var(--green-ink); }
.steps li.now span { color: var(--text); }
.cam-box { position: relative; width: 100%; aspect-ratio: 3 / 4; max-height: 60dvh; border-radius: 20px; overflow: hidden; background: #111; }
.cam-box video, .cam-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-box video.mirror { transform: scaleX(-1); }
.cam-box .face-guide { top: 48%; width: 64%; }
.doc-drop { width: 100%; min-height: 160px; border: 2px dashed var(--border3); border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--text2); font-weight: 600; padding: 16px; text-align: center; cursor: pointer; }
.doc-prev { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); }
.doc-prev img { width: 100%; max-height: 300px; object-fit: contain; }
.locked-list { border: 1px solid var(--border); border-radius: 16px; }
.locked-row { padding: 9px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.locked-row:last-child { border-bottom: 0; }
.locked-row .k { display: block; font-size: 12px; color: var(--muted); }
.locked-row .v { display: block; font-size: 15px; font-weight: 600; }

/* ---------- Admin ---------- */
.admin-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-stats .stat b { font-size: 22px; }
.disk-bar { height: 8px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.disk-bar i { display: block; height: 100%; border-radius: 99px; }
.adm-card { border: 1px solid var(--border); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.adm-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.adm-imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: var(--surface); }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 4px 10px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.table-list { display: flex; flex-direction: column; }
.trow { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; font-size: 14px; }
.trow:last-child { border-bottom: 0; }

/* ---------- Rasm ko'ruvchi ---------- */
.viewer { position: fixed; inset: 0; z-index: 160; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; }
.viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer .close { position: absolute; top: calc(10px + var(--safe-t)); right: 10px; }

/* ---------- To'lov holati ---------- */
.pay-state { padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pay-state .big-ic { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pay-state .big-ic.ok { background: var(--green); color: #fff; }
.pay-state .big-ic.wait { background: var(--accent-soft); color: var(--link); }
.pay-state .big-ic.bad { background: var(--danger-soft); color: var(--danger-ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Halol nasiya va bo'lib to'lash ---------- */
.c-plan { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.c-plan span { overflow: hidden; text-overflow: ellipsis; }
.c-plan.nasiya { color: var(--nasiya); }
.c-plan.bolib { color: var(--bolib); }
.paycards { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.paycard { min-width: 0; padding: 10px; border-radius: 16px; background: var(--surface); color: var(--text); display: flex; align-items: center; gap: 10px; }
.paycard:hover { color: var(--text); }
.paycard .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
.paycard b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paycard .tiny { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-info { margin: 8px 16px 0; padding: 12px 14px; border-radius: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; }
.plan-info.nasiya { background: var(--nasiya-soft); color: #0A4D2E; }
.plan-info.bolib { background: var(--bolib-soft); color: #312E81; }
.plan-card { padding: 14px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; }
.plan-card.nasiya { background: var(--nasiya-soft); }
.plan-card.bolib { background: var(--bolib-soft); }
.plan-card .ph { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.plan-card.nasiya .ph { color: var(--nasiya); }
.plan-card.bolib .ph { color: var(--bolib); }
.plan-card .pm { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; }
.plan-card .pm small { font-size: 14px; font-weight: 600; color: var(--text2); letter-spacing: 0; }
.plan-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.plan-rows div { padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .75); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.plan-rows span { font-size: 11px; color: var(--muted); font-weight: 600; }
.plan-rows b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-box { padding: 12px; border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.plan-box.nasiya { background: var(--nasiya-soft); }
.plan-box.bolib { background: var(--bolib-soft); }
.seg.full { display: flex; width: 100%; }
.seg.full button { flex: 1; padding: 0 6px; font-size: 13px; }
.months { display: flex; flex-wrap: wrap; gap: 6px; }
.months button { height: 34px; min-width: 52px; padding: 0 10px; border: 1px solid var(--border2); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 700; color: var(--text2); }
.months button[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: #fff; }
.plan-sum { font-size: 15px; font-weight: 800; }
.plan-sum small { font-size: 12px; font-weight: 600; color: var(--muted); }

/* ---------- Sotilgan belgisi ---------- */
.is-sold img { filter: grayscale(.9) brightness(.92); }
.sold-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); padding: 3px 9px; border: 2.5px solid var(--sold); border-radius: 8px;
  background: rgba(255, 255, 255, .88); color: var(--sold); font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.hcard .sold-stamp, .tile .sold-stamp { font-size: 11px; padding: 2px 7px; border-width: 2px; }
.hero .sold-stamp { top: 30%; font-size: 26px; padding: 5px 14px; border-width: 3.5px; border-radius: 12px; }
.sold-banner { padding: 10px 12px; border-radius: 14px; background: #FEF2F2; color: #991B1B; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.fplan { align-self: flex-start; height: 26px; margin-top: 2px; padding: 0 9px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 800; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.fplan.nasiya { background: #12B76A; color: #052E1A; }
.fplan.bolib { background: #6366F1; color: #fff; }

/* ---------- Chat: savdo, "Sotildimi?" va nasiya kartalari ---------- */
.cl-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: inherit; }
.cl-link:hover { color: inherit; }
.cl-img { position: relative; width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: var(--surface); }
.cl-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.chat-listing .btn { flex-shrink: 0; }
.chat-strip { padding: 9px 12px; border-radius: 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.35; background: var(--nasiya-soft); color: #0A4D2E; }
.chat-strip:hover { color: #0A4D2E; }
.chat-strip.bolib { background: var(--bolib-soft); color: #312E81; }
.chat-strip.bolib:hover { color: #312E81; }
.chat-strip b { font-weight: 800; }
.sys2 { align-self: center; max-width: 92%; padding: 6px 12px; border-radius: 12px; background: #E9E6E1; font-size: 12.5px; font-weight: 600; color: var(--text2); text-align: center; line-height: 1.35; }
.sys2.ok { background: var(--green-soft); color: #14532D; }
.sys2.warn { background: var(--warn-soft); color: var(--warn-ink); }
.scard { align-self: stretch; margin-top: 2px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1.5px solid var(--border2); display: flex; align-items: flex-start; gap: 10px; }
.scard .si { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--text2); }
.scard .sb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.scard .stt { font-size: 15px; font-weight: 800; }
.scard .sx { font-size: 13px; line-height: 1.4; color: var(--text2); }
.scard .sx.b { font-weight: 700; color: var(--text); }
.scard .sa { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.scard.ok { background: var(--green-soft); border-color: transparent; }
.scard.ok .si { background: var(--green); color: #fff; }
.scard.ok .stt { color: #14532D; }
.scard.ok .sx { color: #2F5D3F; }
.scard.ask { border-color: var(--accent); }
.scard.ask .si { background: var(--accent); color: var(--accent-ink); }
.scard.warn { background: var(--warn-soft); border-color: transparent; }
.scard.warn .si { background: #F59E0B; color: #fff; }
.scard.warn .sx { color: var(--warn-ink); }
.scard.nasiya { background: var(--nasiya-soft); border-color: transparent; }
.scard.nasiya .si { background: var(--nasiya); color: #fff; }
.offer.nas { width: 280px; border-color: var(--nasiya); }
.offer.nas.bolib { border-color: var(--bolib); }
.offer.nas .oh { color: var(--nasiya); }
.offer.nas.bolib .oh { color: var(--bolib); }
.offer.nas.done { border-color: var(--border2); }
.offer .oa small { font-size: 13px; font-weight: 600; color: var(--muted); }
.offer .orows { margin-top: 8px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; font-size: 12.5px; }
.offer .orows span { color: var(--muted); }
.offer .orows b { text-align: right; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Nasiya daftari ---------- */
.nas-head { padding: 14px; border-radius: 18px; background: var(--nasiya-soft); display: flex; flex-direction: column; gap: 10px; }
.nas-head.bolib { background: var(--bolib-soft); }
.nas-head .row > span:first-child { color: var(--nasiya); }
.nas-head.bolib .row > span:first-child { color: var(--bolib); }
.nas-big { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.nas-head .pill { background: #fff; }
.progress { display: block; height: 8px; border-radius: 4px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 4px; background: var(--nasiya); transition: width .3s; }
.bolib .progress i { background: var(--bolib); }
.pay-row { padding: 10px 0; border-bottom: 1px solid var(--border); }
.pay-row:last-child { border-bottom: 0; }
.pay-row .pn { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--surface); color: var(--text2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.pay-row.paid .pn { background: var(--green); color: #fff; }
.pay-row.claimed .pn { background: var(--accent-soft); color: var(--link); }
.pay-row.late .pn { background: var(--danger-soft); color: var(--danger-ink); }
.pay-row.next { margin: 4px -10px; padding: 10px; border-radius: 14px; background: #FAFAF8; border: 1px solid var(--border); }
.sum2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sum2 > div { padding: 12px; border-radius: 16px; background: var(--surface); min-width: 0; }
.sum2 b { display: block; margin-top: 2px; font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.nas-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.nas-item:last-child { border-bottom: 0; }
.nas-item:hover { color: var(--text); }
.nas-item img { width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px; object-fit: cover; object-position: 50% 60%; background: var(--surface); }
.late-txt { color: var(--danger-ink); font-weight: 700; }

/* ---------- Adolatli narx ---------- */
.tchip.fair { left: 6px; top: 6px; background: #DCFCE7; color: #14532D; font-weight: 800; }
.tchip.fair.low2 { top: 32px; }
.fair-box { padding: 10px 12px; border-radius: 14px; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.4; }
.fair-box b { font-size: 14px; font-weight: 800; }
.fair-box.low { background: #F3FCF6; border: 1.5px solid #BBEBCB; color: #14532D; }
.fair-box.market { background: var(--surface); color: var(--text2); }
.fair-box.market b { color: var(--text); }
.fair-box.high { background: var(--warn-soft); color: var(--warn-ink); }
.ffair { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; height: 22px; margin-left: 8px; padding: 0 8px; border-radius: 7px; background: #DCFCE7; color: #14532D; font-size: 12px; font-weight: 800; letter-spacing: 0; }

/* ---------- "Hali bormi?" ---------- */
.check-box { padding: 12px 14px; border-radius: 16px; background: var(--warn-soft); color: var(--warn-ink); display: flex; flex-direction: column; gap: 10px; }
.check-box b { color: #3D300B; }

/* ---------- Do'konlar ---------- */
.shop-logo { display: block; flex-shrink: 0; object-fit: cover; background: var(--surface); }
.shop-logo.ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #E3F6ED, #C9EEDC); color: var(--link); font-weight: 800; }
.c-shop { display: inline-flex; align-items: center; gap: 3px; color: var(--text2); font-weight: 700; flex-shrink: 1; min-width: 0; }
.shop-link { padding: 10px 12px; border: 1px solid var(--border); border-radius: 16px; display: flex; align-items: center; gap: 12px; color: var(--text); }
.shop-link:hover { color: var(--text); background: #FAFAF8; }
.shop-hero { padding: 16px; border-radius: 20px; background: linear-gradient(160deg, #F1FBF6, #E3F6ED); display: flex; flex-direction: column; gap: 12px; }
.shop-hero h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.shop-meta { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--text2); }
.shop-meta span { display: flex; align-items: flex-start; gap: 8px; }
.shop-card { padding: 12px; border: 1px solid var(--border); border-radius: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.shop-card:hover { color: var(--text); background: #FAFAF8; }
.shop-prev { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.shop-prev img { width: 100%; aspect-ratio: 4 / 5; border-radius: 10px; object-fit: cover; object-position: 50% 60%; background: var(--surface); }
.shop-chip { width: 84px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; font-weight: 700; color: var(--text); scroll-snap-align: start; }
.shop-chip:hover { color: var(--text); }
.shop-chip span { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: #EEF2FF; color: #3730A3; font-size: 11px; font-weight: 800; white-space: nowrap; }
.logo-pick { width: 84px; height: 84px; padding: 0; border: 2px dashed var(--border3); border-radius: 22px; background: var(--surface); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--muted); flex-shrink: 0; }
.logo-pick img { width: 100%; height: 100%; object-fit: cover; }
.perk { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; }

/* ---------- Kuzatilayotgan qidiruvlar ---------- */
.watch-btn { height: 34px; padding: 0 12px; border: 1.5px solid var(--border3); border-radius: 999px; background: #fff; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.watch-btn[aria-pressed="true"] { background: var(--accent-soft); border-color: transparent; color: var(--link); }
.ss-item { display: flex; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.ss-item:last-child { border-bottom: 0; }
.ss-item a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--text); }
.ss-item a:hover { color: var(--text); }
.ss-new { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* ---------------- v1.3: Telegram, taklif, story, filtrlar, firibgarlikdan himoya ---------------- */

/* O'zbek kirill: Ққ Ғғ Ҳҳ harflari (cyrillic-ext) */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/onest-cyrillic-ext-400-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/onest-cyrillic-ext-600-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/onest-cyrillic-ext-700-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/onest-cyrillic-ext-800-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root { --tg: #2AABEE; --tg-ink: #0B6FA4; --drop: #E11D48; }

.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { color: #fff; filter: brightness(1.05); }
.btn-tg.disabled { opacity: .6; }
.or-sep { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 1px; background: var(--border2); }
.tg-wait { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #E7F5FD; color: #0B4F75; }
.tg-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + var(--safe-b) + 10px); z-index: 30; width: calc(100% - 20px); max-width: calc(var(--shell) - 20px); padding: 10px 6px 10px 12px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); display: flex; align-items: center; gap: 10px; }
.tg-ic, .tg-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--tg); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tg-dot { width: 30px; height: 30px; }

.seg.compact button { height: 34px; padding: 0 10px; font-size: 13px; }

/* Do'stlarni taklif qilish */
.invite-hero { padding: 18px 16px; border-radius: 20px; background: linear-gradient(140deg, #0F3D2B, #0B5E37); color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.invite-hero h2 { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -.3px; }
.invite-hero p { font-size: 14px; color: #CDEBDD; line-height: 1.4; }
.ih-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--accent); color: #08150F; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ih-ic.sm { width: 40px; height: 40px; border-radius: 12px; }
.code-box { margin-top: 6px; width: 100%; padding: 10px 14px; border: 1.5px dashed rgba(255, 255, 255, .45); border-radius: 14px; background: rgba(255, 255, 255, .08); color: #fff; display: flex; align-items: center; gap: 10px; text-align: left; }
.code-box .tiny { color: #CDEBDD; }
.code-box b { flex: 1; font-size: 24px; letter-spacing: 3px; }
.step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--link); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bonus-n { min-width: 44px; height: 30px; padding: 0 8px; border-radius: 10px; background: var(--green-soft); color: var(--green-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.bonus-n.neg { background: var(--surface); color: var(--text2); }
.invite-strip { padding: 12px 12px 12px 14px; border-radius: 16px; background: linear-gradient(120deg, #E3F6ED, #D2F1E2); color: #0A4D2E; display: flex; align-items: center; gap: 12px; }
.invite-strip:hover { color: #0A4D2E; }
.invite-strip .tiny { color: #2F6B4E; }
.menu-item .mi-ic.gift { background: var(--accent-soft); color: var(--link); }
.bonus-card { padding: 14px; border-radius: 16px; background: var(--green-soft); color: #14532D; display: flex; flex-direction: column; gap: 12px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 12px; background: #fff; }
.stepper button { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--surface); font-size: 20px; font-weight: 800; color: var(--text); }
.stepper button[disabled] { opacity: .4; }
.stepper b { min-width: 64px; text-align: center; font-size: 15px; }

/* Sotuvchining javob tezligi */
.reply-line { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.reply-line.fast { color: var(--green-ink); }
.chat-who .st.fast { color: var(--green-ink); font-weight: 600; }

/* Narxi tushdi */
.drop-line { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.drop-line s { color: var(--muted); font-size: 15px; font-weight: 600; }
.drop-chip { height: 24px; padding: 0 8px; border-radius: 8px; background: #FFE4E8; color: #BE123C; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; }
.tchip.fair.drop { background: var(--drop); color: #fff; }
.c-old { margin-left: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.c-attrs { display: block; font-size: 12px; font-weight: 600; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-deliv { display: inline-flex; color: var(--link); flex-shrink: 0; }

/* Yetkazib berish, xususiyatlar */
.deliv-line { padding: 12px 14px; border-radius: 16px; background: var(--accent-softer); display: flex; align-items: flex-start; gap: 10px; color: #0A4D2E; font-size: 14px; line-height: 1.4; }
.attrs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.attrs-grid > div { padding: 10px 12px; border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.attrs-grid span { font-size: 12px; color: var(--muted); }
.attrs-grid b { font-size: 15px; overflow-wrap: anywhere; }
.attr-fields { padding: 12px; border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.attr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.attr-grid .field.full { grid-column: 1 / -1; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip.sm { height: 34px; font-size: 13px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }

/* Aqlli qidiruv */
.smart-hint { margin: 8px 16px 0; padding: 8px 12px; border-radius: 14px; background: #F1EBFF; color: #3B1F7A; display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.35; }
.smart-hint .link-btn { color: #6D28D9; white-space: nowrap; }

/* Story uchun rasm */
.story-prev { width: min(70%, 260px); aspect-ratio: 9 / 16; align-self: center; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); object-fit: cover; }

/* Chat: firibgarlik ogohlantirishi va tez javoblar */
.risk-box { align-self: flex-start; max-width: 88%; padding: 10px 12px; border-radius: 14px; background: #FEF2F2; border: 1px solid #FECACA; color: #7F1D1D; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; }
.risk-box svg { flex-shrink: 0; color: #DC2626; margin-top: 1px; }
.quick-row { flex-shrink: 0; display: flex; gap: 8px; overflow-x: auto; padding: 8px 10px 0; background: var(--surface); scrollbar-width: none; }
.quick-row::-webkit-scrollbar { display: none; }
.quick { flex-shrink: 0; height: 34px; padding: 0 12px; border: 1px solid #BFE9D3; border-radius: 999px; background: #fff; color: #0A4D2E; font-size: 13px; font-weight: 700; white-space: nowrap; }
.quick:active { background: var(--accent-soft); }

/* Trafikni tejash (tasma) */
.saver-note { position: absolute; z-index: 2; left: 50%; top: calc(45% + 56px); transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none; }

/* ================================================================
   Kompyuter va planshet: to'liq sayt ko'rinishi
   html.web — ekran ≥ 768px va Telegram ichida emas (main.js). Telefon ko'rinishiga tegmaydi.
   ================================================================ */
:root { --dh: 68px; --wmax: 1280px; }

/* Telefon uchun bo'limlar (kompyuterda tepadagi menyu ularning o'rnini bosadi) */
.webhead, .webfoot { display: none; }
.shops-grid { display: flex; flex-direction: column; gap: 12px; }

html.web body { background: #fff; }
html.web .shell { max-width: none; box-shadow: none; display: flex; flex-direction: column; }
html.web .shell > .page { flex: 1 0 auto; width: 100%; }
html.web .page, html.web .page.with-bar, html.web .page.bare { padding-bottom: 56px; }
html.web .w-wide .page { max-width: var(--wmax); margin: 0 auto; padding-left: 16px; padding-right: 16px; padding-top: 8px; }
html.web .w-medium .page { max-width: 1040px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
html.web .w-narrow .page { max-width: 720px; margin: 0 auto; padding-left: 8px; padding-right: 8px; }
html.web .home-head, html.web .home-search, html.web .search-top { display: none; }
html.web .topbar { top: var(--dh); }
html.web .toast { bottom: 28px; }

/* ---------- Tepadagi menyu ---------- */
html.web .webhead { display: block; position: sticky; top: 0; z-index: 70; height: var(--dh); background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.webhead-in { max-width: var(--wmax); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 12px; }
.webhead .logo { flex-shrink: 0; }
.webhead .region-btn { flex-shrink: 0; max-width: 220px; }
.webhead-search { flex: 1; min-width: 0; max-width: 560px; }
.webhead-search .searchbox { height: 44px; border-radius: 12px; }
.webnav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-shrink: 0; }
.webnav a { position: relative; height: 44px; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; gap: 8px; color: var(--text2); font-size: 14px; font-weight: 700; white-space: nowrap; }
.webnav a:hover, .webnav a[aria-current="page"] { background: var(--surface); color: var(--text); }
.webnav .lbl { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.webnav .badge { position: static; margin: 0; }
.webpost { height: 44px; padding: 0 18px; border-radius: 12px; flex-shrink: 0; }
@media (max-width: 1180px) {
  html.web .webnav .lbl { display: none; }
  html.web .webnav a { padding: 0 10px; }
}
@media (max-width: 980px) {
  html.web .webhead-in { padding: 0 16px; gap: 8px; }
  html.web .webhead .logo-name, html.web .webhead .region-btn span, html.web .webpost span { display: none; }
  html.web .webhead .region-btn { padding: 0 10px; }
  html.web .webpost { width: 44px; padding: 0; }
}

/* ---------- Pastki qism (footer) ---------- */
html.web .webfoot { display: block; margin-top: 24px; border-top: 1px solid var(--border); background: #FAFAF8; }
.webfoot-in { max-width: var(--wmax); margin: 0 auto; padding: 32px 32px 20px; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) auto; gap: 32px; }
.wf-brand { display: flex; flex-direction: column; gap: 10px; }
.wf-brand .logo-name { font-size: 20px; }
.wf-brand p { max-width: 380px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.wf-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.wf-links a, .wf-links span { color: var(--text2); font-weight: 600; }
.wf-links a:hover { color: var(--text); text-decoration: underline; }
.wf-lang { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.webfoot-bot { max-width: calc(var(--wmax) - 64px); margin: 0 auto; padding: 14px 0 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
@media (max-width: 1344px) { .webfoot-bot { margin: 0 32px; } }
@media (max-width: 980px) { .webfoot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Bosh sahifa va e'lonlar to'ri ---------- */
html.web .section-h h2 { font-size: 21px; }
html.web .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 8px; margin-top: 14px; }
@media (min-width: 1100px) { html.web .cats { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
html.web .paycards { grid-template-columns: repeat(2, minmax(0, 360px)); margin-top: 14px; }
/* Gorizontal tasmalar — kompyuterda bitta qator kartalar (qolgani "Hammasi" orqali) */
html.web .hscroll { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); grid-template-rows: auto; grid-auto-rows: 0; gap: 0 16px; overflow: hidden; padding: 8px 16px 0; margin-bottom: 6px; }
html.web .hcard { width: auto; min-width: 0; }
html.web .hcard .thumb { height: auto; aspect-ratio: 4 / 3; }
html.web .hscroll.shops-row { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
html.web .shop-chip { width: auto; }
html.web .grid2, html.web .grid2.wide { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 28px 16px; }
html.web .grid3 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
html.web .thumb img, html.web .tile img { transition: transform .35s ease; }
html.web .gcard:hover .thumb img, html.web .hcard:hover .thumb img, html.web .tile:hover img { transform: scale(1.04); }
html.web .gcard:hover .c-title, html.web .hcard:hover .c-title { color: var(--text); text-decoration: underline; }
html.web .filters { flex-wrap: wrap; overflow: visible; }
html.web .shops-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
html.web .admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- E'lon sahifasi: chapda video, o'ngda ma'lumot ---------- */
html.web .l-wrap { display: grid; grid-template-columns: minmax(240px, min(400px, 38%)) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; padding: 24px 16px 0; }
html.web .l-media { position: sticky; top: calc(var(--dh) + 20px); }
html.web .hero { height: auto; aspect-ratio: 3 / 4; max-height: calc(100dvh - var(--dh) - 48px); border-radius: 22px; }
html.web .l-info { margin-top: 0 !important; padding: 0; gap: 16px; max-width: 680px; }
html.web .l-price { font-size: 32px; }
html.web .l-title { font-size: 22px; }
html.web .l-info .bottombar { position: static; transform: none; z-index: auto; width: auto; max-width: 520px; padding: 0; border: 0; background: transparent; }
html.web .w-narrow .bottombar { max-width: 720px; }

/* ---------- Tavsiyalar (video tasma): o'rtada video, atrofi qora ---------- */
html.web .feed { top: var(--dh); bottom: 0; left: 0; right: 0; transform: none; width: auto; max-width: none; background: #0B0B0C; }
html.web .fitem { width: min(100%, calc((100dvh - var(--dh)) * 9 / 16)); margin: 0 auto; }
html.web .feed-chips > :first-child { margin-left: auto; }
html.web .feed-chips > :last-child { margin-right: auto; }

/* ---------- Chatlar: chapda ro'yxat, o'ngda suhbat ---------- */
html.web .chat-dual { display: grid; grid-template-columns: 360px minmax(0, 1fr); width: 100%; max-width: var(--wmax); height: calc(100dvh - var(--dh)); margin: 0 auto; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
html.web .chat-side { min-width: 0; overflow-y: auto; border-right: 1px solid var(--border); }
html.web .chat-side .page { padding-bottom: 16px; }
html.web .chat-side .topbar { top: 0; }
html.web .chat-item[aria-current="page"] { background: var(--accent-softer); }
html.web .chat-main { position: relative; min-width: 0; background: var(--surface); }
html.web .chat-main .chat-page { position: absolute; inset: 0; transform: none; width: auto; max-width: none; height: auto; z-index: 1; }
html.web .chat-main .chat-head { height: 64px; padding-top: 8px; padding-left: 12px; }
html.web .chat-main .chat-head > .icon-btn:first-child { display: none; }
.chat-empty { height: 100%; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--muted); }
.chat-empty .em-ic { width: 64px; height: 64px; border-radius: 20px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--text2); }
.chat-empty b { font-size: 17px; color: var(--text); }
.chat-empty .small { max-width: 320px; }

/* ---------- Pastdan chiquvchi oynalar — kompyuterda o'rtada ---------- */
html.web .overlay { align-items: center; padding: 24px; }
html.web .sheet { max-width: 480px; max-height: 84dvh; border-radius: 22px; padding: 18px 20px 20px; animation: dlgIn .18s ease-out; }
html.web .sheet-grip { display: none; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* Kadri yo'q e'lon (buzilgan rasm o'rniga) */
.noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--surface2); color: #A8A39B; }
.thumb .noimg, .tile .noimg { border-radius: inherit; }
