/* EXPOfood — mijoz menyusi
   Uslub: ko'rgazma yo'l-ko'rsatkich belgilari (wayfinding) — lojuvard ko'k, signal sariq,
   har bir pavilion o'z rangida. */

@font-face { font-family: 'Golos'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/golos-text-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/golos-text-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Golos'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/golos-text-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --lapis: #1E3A8A;
  --lapis-deep: #172E6E;
  --ink: #0F1B33;
  --paper: #F1F3F6;
  --card: #FFFFFF;
  --signal: #FFC21A;
  --signal-press: #EDB000;
  --muted: #5A6377;
  --line: #DDE2EA;
  --tint: #E8EDF8;
  --ok: #0E8F7E;
  --danger: #C8372D;
  --font: 'Golos', system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --wrap: 720px;
}
:lang(zh) { --font: 'Golos', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.45 var(--font); font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body.lock { overflow: hidden; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 6px; }
.light :focus-visible, .sheet :focus-visible { outline-color: var(--lapis); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- shapka */
.top { background: var(--lapis); color: #fff; }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 14px 18px 26px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.burger { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); margin-right: 2px; }
.burger svg { width: 22px; height: 22px; }
.cimg { width: 22px; height: 22px; object-fit: cover; border-radius: 6px; display: inline-block; }
.cimg.big { width: 30px; height: 30px; border-radius: 8px; }
.item .pic .ph img { width: 60px; height: 60px; object-fit: cover; border-radius: 12px; }
.brand small { display: block; font-weight: 500; font-size: 12px; opacity: .72; letter-spacing: 0; margin-top: 1px; }
.langs { display: flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.langs button { min-width: 38px; height: 30px; padding: 0 9px; border-radius: 999px; font-size: 13px; font-weight: 650; color: rgba(255,255,255,.82); }
.langs button[aria-pressed="true"] { background: #fff; color: var(--lapis); }
.langs button { white-space: nowrap; }
@media (max-width: 420px) {
  .top-in { padding-left: 14px; padding-right: 14px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand small { display: none; }
  .brand img { width: 30px; height: 30px; }
  .langs button { min-width: 32px; padding: 0 7px; font-size: 12px; }
}
.hero { margin-top: 26px; }
.hero h1 { margin: 0; font-size: clamp(30px, 8.4vw, 46px); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; max-width: 13ch; }
:lang(zh) .hero h1 { letter-spacing: 0; max-width: 9em; }
.hero p { margin: 10px 0 0; font-size: 16px; color: rgba(255,255,255,.8); max-width: 34ch; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fact { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 8px; background: rgba(255,255,255,.1); font-size: 14px; font-weight: 550; }
.fact .dot { width: 8px; height: 8px; border-radius: 50%; background: #39D98A; box-shadow: 0 0 0 3px rgba(57,217,138,.25); }
.fact.off .dot { background: #FF6B5E; box-shadow: 0 0 0 3px rgba(255,107,94,.25); }

/* ---------------------------------------------------------------- faol buyurtma bannerchasi */
.track-banner { max-width: var(--wrap); margin: 0 auto; padding: 12px 18px 0; }
.track-banner button {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px; font-weight: 600;
}
.track-banner .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); flex: none; animation: pulse 1.6s ease-out infinite; }
.track-banner span.grow { flex: 1; }
.track-banner em { font-style: normal; color: var(--signal); font-weight: 700; }

/* ---------------------------------------------------------------- kategoriyalar */
.cats { position: sticky; top: 0; z-index: 20; background: rgba(241,243,246,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.cats.stuck { border-bottom-color: var(--line); }
.cats-in { max-width: var(--wrap); margin: 0 auto; display: flex; gap: 6px; overflow-x: auto; padding: 10px 18px; scrollbar-width: none; }
.cats-in::-webkit-scrollbar { display: none; }
.cats button { flex: none; height: 38px; padding: 0 14px; border-radius: 10px; font-weight: 650; font-size: 15px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.cats button[aria-current="true"] { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- menyu */
main { max-width: var(--wrap); margin: 0 auto; padding: 4px 18px calc(120px + var(--safe-b)); }
.sec { padding-top: 22px; scroll-margin-top: 62px; }
.sec h2 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.015em; display: flex; align-items: center; gap: 8px; }
.list { background: var(--card); border-radius: 18px; overflow: hidden; }
.item { display: flex; gap: 14px; padding: 14px; align-items: stretch; position: relative; }
.item + .item::before { content: ''; position: absolute; top: 0; left: 14px; right: 14px; border-top: 1px solid var(--line); }
.item .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item h3 { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 650; }
.item .desc { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .price { margin-top: auto; padding-top: 8px; font-weight: 750; font-size: 16px; }
.item .pic { width: 104px; height: 104px; flex: none; border-radius: 12px; background: var(--tint); position: relative; }
.item .pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.item .pic .ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 40px; border-radius: 12px; }
.item.out { color: var(--muted); }
.item.out .pic img, .item.out .pic .ph { filter: grayscale(1); opacity: .5; }
.badge-out { position: absolute; left: 6px; top: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }

.ctl { position: absolute; right: -6px; bottom: -6px; }
.add { width: 42px; height: 42px; border-radius: 50%; background: var(--signal); color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 0 rgba(15,27,51,.18); transition: transform .12s; }
.add:active { transform: scale(.92); }
.add svg, .step svg { width: 20px; height: 20px; }
.step { display: flex; align-items: center; background: var(--ink); color: #fff; border-radius: 999px; height: 42px; padding: 0 2px; box-shadow: 0 2px 0 rgba(15,27,51,.18); }
.step button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.step button:active { background: rgba(255,255,255,.14); }
.step b { min-width: 22px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.add[disabled] { background: var(--line); color: var(--muted); box-shadow: none; cursor: not-allowed; }

.empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.closed-note { margin-top: 16px; background: #FFF4D6; color: #5C4300; border-radius: 14px; padding: 14px 16px; font-weight: 550; }

/* ---------------------------------------------------------------- pastki savat tugmasi */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(12px + var(--safe-b)); pointer-events: none; transform: translateY(120%); visibility: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s .28s; }
.cartbar.show { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.cartbar button {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto;
  height: 60px; padding: 0 18px 0 10px; background: var(--signal); color: var(--ink); border-radius: 16px;
  font-weight: 750; font-size: 17px; box-shadow: 0 10px 30px rgba(15,27,51,.22);
}
.cartbar button:active { background: var(--signal-press); }
.cartbar .count { min-width: 40px; height: 40px; padding: 0 8px; border-radius: 11px; background: var(--ink); color: var(--signal); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cartbar .grow { flex: 1; text-align: left; }
.bump { animation: bump .32s ease; }

/* ---------------------------------------------------------------- oyna (savat va buyurtma) */
.veil { position: fixed; inset: 0; z-index: 40; background: rgba(15,27,51,.5); opacity: 0; transition: opacity .25s; }
.veil.show { opacity: 1; }
.sheet {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; top: 0; background: var(--paper);
  display: flex; flex-direction: column; transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
.sheet.show { transform: none; }
@media (min-width: 760px) {
  .sheet { left: auto; width: 460px; transform: translateX(100%); box-shadow: -20px 0 60px rgba(15,27,51,.2); }
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font-size: 20px; font-weight: 800; }
.x { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card); }
.x svg { width: 20px; height: 20px; }
.sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 18px 24px; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 18px calc(14px + var(--safe-b)); background: var(--card); border-top: 1px solid var(--line); }

.group { margin-top: 18px; }
.group > h3 { margin: 0 0 10px; font-size: 17px; font-weight: 750; }
.panel { background: var(--card); border-radius: 16px; padding: 4px 14px; }
.line { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.line + .line { border-top: 1px solid var(--line); }
.line .nm { flex: 1; min-width: 0; font-weight: 600; }
.line .nm small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.line .sm { font-weight: 700; min-width: 84px; text-align: right; }
.line .step { height: 36px; box-shadow: none; }
.line .step button { width: 32px; height: 32px; }
.line .step svg { width: 17px; height: 17px; }
.link-btn { color: var(--muted); font-size: 14px; font-weight: 600; padding: 10px 0 4px; text-decoration: underline; text-underline-offset: 3px; }

/* Bloklar — ko'rgazma yo'l-ko'rsatkichlari kabi */
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.blk {
  position: relative; text-align: left; background: var(--card); border-radius: 12px; padding: 10px 10px 10px 14px;
  min-height: 78px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  border: 2px solid transparent; transition: border-color .15s, background .15s;
}
.blk::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.blk b { font-size: 28px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.blk span { overflow-wrap: anywhere; }
.blk span { font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.blk[aria-checked="true"] { border-color: var(--ink); background: var(--ink); }
.blk[aria-checked="true"] b { color: #fff; }
.blk[aria-checked="true"] span { color: rgba(255,255,255,.75); }
.blk[aria-checked="true"]::before { width: 100%; height: 5px; bottom: auto; }
.blocks.err .blk { border-color: rgba(200,55,45,.35); }

.field { display: block; margin-top: 12px; }
.field > span { display: block; font-size: 14px; font-weight: 650; margin-bottom: 6px; }
.field > span i { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card);
  padding: 0 14px; font-size: 17px; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none;
}
.field textarea { height: auto; min-height: 72px; padding: 12px 14px; resize: vertical; font-size: 16px; line-height: 1.4; }
.field input:focus, .field textarea:focus { border-color: var(--lapis); box-shadow: 0 0 0 3px rgba(30,58,138,.14); }
.field.err input { border-color: var(--danger); }
.field small, .hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.errmsg { display: block; margin-top: 6px; font-size: 14px; color: var(--danger); font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr; gap: 0 10px; }
@media (min-width: 420px) { .two { grid-template-columns: 1fr 1fr; } }

.pays { display: grid; gap: 8px; }
.pay { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 12px; padding: 12px 14px; text-align: left; border: 2px solid transparent; }
.pay .rd { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.pay[aria-checked="true"] { border-color: var(--ink); }
.pay[aria-checked="true"] .rd { border-color: var(--ink); }
.pay[aria-checked="true"] .rd::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.pay b { display: block; font-weight: 650; }
.pay small { color: var(--muted); font-size: 13px; }

.sum { margin-top: 18px; }
.sum .row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); font-size: 15px; }
.sum .row b { color: var(--ink); font-weight: 650; }
.sum .row.total { color: var(--ink); font-size: 19px; font-weight: 800; padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--line); }
.sum .row.total b { font-weight: 800; }

.cta {
  width: 100%; height: 58px; border-radius: 16px; background: var(--signal); color: var(--ink); font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.cta:active { background: var(--signal-press); }
.cta.split { justify-content: space-between; padding: 0 22px; }
.cta[disabled] { opacity: .55; cursor: default; }
.cta.dark { background: var(--ink); color: #fff; }
.cta.ghost { background: var(--card); color: var(--ink); }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(15,27,51,.25); border-top-color: var(--ink); animation: spin .8s linear infinite; }

/* ---------------------------------------------------------------- yon menyu, tarix, yordam */
.sheet.left { right: auto; width: min(86vw, 380px); transform: translateX(-100%); box-shadow: 20px 0 60px rgba(15,27,51,.2); }
.sheet.left.show { transform: none; }
@media (min-width: 760px) { .sheet.left { left: 0; width: 400px; transform: translateX(-100%); } .sheet.left.show { transform: none; } }
.navlist { display: grid; gap: 8px; margin-top: 14px; }
.navitem { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: 14px; padding: 14px; text-align: left; }
.navitem .ni { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--lapis); display: grid; place-items: center; flex: none; }
.navitem .ni svg { width: 22px; height: 22px; }
.navitem .nt { flex: 1; min-width: 0; }
.navitem .nt b { display: block; font-weight: 700; font-size: 17px; }
.navitem .nt small { display: block; color: var(--muted); font-size: 13px; }
.navitem > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.hist { padding: 0; overflow: hidden; }
.hrow { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; text-align: left; }
.hrow + .hrow { border-top: 1px solid var(--line); }
.hrow .hn { font-weight: 850; font-size: 19px; flex: none; min-width: 54px; }
.hrow .hm { flex: 1; min-width: 0; }
.hrow .hm b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow .hm small, .hrow .hr small { display: block; color: var(--muted); font-size: 13px; }
.hrow .hr { text-align: right; flex: none; }
.hrow .hr b { font-weight: 750; font-size: 15px; }
.st-done { color: var(--ok) !important; } .st-cancelled { color: var(--danger) !important; }
.st-new, .st-preparing, .st-delivering { color: #8A6100 !important; font-weight: 700; }
.warn-box { margin-top: 16px; background: #FFF4D6; color: #5C4300; border-radius: 14px; padding: 14px 16px; font-weight: 600; font-size: 15px; line-height: 1.45; border-left: 5px solid var(--signal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { height: 38px; padding: 0 12px; border-radius: 10px; background: var(--card); border: 1.5px solid var(--line); font-weight: 650; font-size: 14px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.done-box { text-align: center; padding: 48px 12px 24px; }
.done-box .ok { width: 64px; height: 64px; border-radius: 50%; background: #DDF4EF; color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.done-box .ok svg { width: 30px; height: 30px; }
.done-box h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.done-box p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- buyurtma chiptasi */
.order-wrap { padding-top: 14px; }
.ticket { background: var(--card); border-radius: 20px; overflow: hidden; position: relative; }
.ticket.enter { animation: ticket .6s cubic-bezier(.2,.9,.25,1) both; }
.t-dest { background: var(--c, var(--lapis)); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.t-dest .code { font-size: 52px; line-height: .9; font-weight: 850; letter-spacing: -0.03em; }
.t-dest .where { font-weight: 650; line-height: 1.3; }
.t-dest .where small { display: block; opacity: .8; font-weight: 500; font-size: 13px; }
.t-main { padding: 20px 20px 18px; position: relative; }
.t-main::before, .t-main::after { content: ''; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); }
.t-main::before { left: -12px; } .t-main::after { right: -12px; }
.t-label { font-size: 14px; color: var(--muted); font-weight: 600; }
.t-num { font-size: 64px; line-height: 1; font-weight: 850; letter-spacing: -0.035em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.t-lead { margin-top: 8px; font-size: 16px; font-weight: 600; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.steps li { font-size: 12px; font-weight: 650; color: var(--muted); line-height: 1.25; }
.steps li::before { content: ''; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 8px; }
.steps li.done::before { background: var(--ink); }
.steps li.now { color: var(--ink); }
.steps li.now::before { background: var(--signal); animation: glow 1.6s ease-in-out infinite; }
.steps.cancel li::before { background: var(--line); }
.cancel-tag { margin-top: 16px; display: inline-block; background: #FDE8E6; color: var(--danger); font-weight: 700; border-radius: 8px; padding: 6px 10px; }
.t-items { border-top: 2px dashed var(--line); padding: 14px 20px 18px; }
.t-items .r { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 15px; }
.t-items .r span:first-child { min-width: 0; }
.t-items .r.m { color: var(--muted); }
.t-items .r.tot { font-weight: 800; font-size: 18px; padding-top: 8px; }
.paid-tag { display: inline-block; margin-left: 6px; background: #DDF4EF; color: var(--ok); font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 6px; vertical-align: 2px; }
.order-actions { display: grid; gap: 10px; margin-top: 16px; }
.order-actions a.cta { text-decoration: none; }

/* ---------------------------------------------------------------- xabarcha */
.toast { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; width: max-content; max-width: calc(100vw - 32px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,194,26,.7); } 100% { box-shadow: 0 0 0 10px rgba(255,194,26,0); } }
@keyframes glow { 50% { opacity: .45; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bump { 40% { transform: scale(1.04); } }
@keyframes ticket { from { transform: translateY(40px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

@media (min-width: 760px) {
  .top-in { padding: 18px 24px 40px; }
  .hero { margin-top: 40px; }
  main, .cats-in, .track-banner { padding-left: 24px; padding-right: 24px; }
  .item .pic { width: 120px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------------- yetkazish turi */
.dtypes { grid-template-columns: 1fr; }
@media (min-width: 600px) { .dtypes { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- yordam yozishmasi */
.burger { position: relative; }
.dotb { position: absolute; top: 5px; right: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 2px var(--lapis); }
.nb { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--signal); color: var(--ink); font-style: normal; font-weight: 800; font-size: 12px; display: inline-grid; place-items: center; flex: none; }
.tlist { padding: 0; overflow: hidden; margin-top: 14px; }
.trow { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; text-align: left; }
.trow + .trow { border-top: 1px solid var(--line); }
.trow .tm-l { flex: 1; min-width: 0; }
.trow .tm-l b { display: block; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow .tm-l small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow .tm-r { display: grid; justify-items: end; gap: 4px; flex: none; }
.trow .tm-r small { color: var(--muted); font-size: 12px; }
.thread-top { margin: 12px 0 10px; color: var(--muted); font-size: 13px; font-weight: 650; }
.bubbles { display: grid; gap: 10px; }
.bub { max-width: 86%; padding: 10px 12px; border-radius: 16px; background: var(--card); justify-self: start; border-bottom-left-radius: 6px; }
.bub.me { justify-self: end; background: var(--ink); color: #fff; border-bottom-left-radius: 16px; border-bottom-right-radius: 6px; }
.bub .bt { font-size: 12px; font-weight: 650; opacity: .65; margin-bottom: 2px; }
.bub p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.4; }
.bub details { margin-top: 6px; font-size: 13px; opacity: .8; }
.bub summary { cursor: pointer; }
.thread-hint { text-align: center; margin: 16px 8px 0; }
.composer { display: flex; align-items: flex-end; gap: 8px; }
.composer textarea { flex: 1; min-height: 46px; max-height: 140px; resize: none; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); padding: 11px 14px; font: inherit; font-size: 16px; line-height: 1.35; outline: none; }
.composer textarea:focus { border-color: var(--lapis); background: var(--card); }
.composer .send { width: 46px; height: 46px; border-radius: 14px; background: var(--signal); color: var(--ink); display: grid; place-items: center; flex: none; }
.composer .send svg { width: 20px; height: 20px; }
.composer .send[disabled] { opacity: .5; }
