@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&family=Onest:wght@400;500;600;700;800&family=Unbounded:wght@700;800;900&display=swap");

/* ui.css — AniUz interfeysi. fsociety ekotizimi uslubida:
   Unbounded 900 (katta sarlavhalar, KATTA HARF), Onest (matn), JetBrains Mono (raqam, yorliq),
   #FF3B5C aksent, #D7FF3E lime, #0A0A0A ink, #F5F2EA paper, #ECEBE7 stage,
   16-28px shisha kartalar, o'q doirachali pill tugmalar, 44x44 mavzu tugmasi,
   data-theme='light|dark' (localStorage + prefers-color-scheme). */

:root {
  --ink: #0A0A0A;
  --paper: #F5F2EA;
  --stage: #ECEBE7;
  --lime: #D7FF3E;
  --lime-glow: rgba(215, 255, 62, 0.35);
  --accent: #FF3B5C;
  --accent-glow: rgba(255, 59, 92, 0.35);
  --accent-ink: #FFFFFF;
  --accent-text: #FF3B5C;
  --red: #FF3B5C;
  --blue: #2B6BFF;
  --orange: #FF6A1A;
  --mint: #3DFFB5;
  --violet-eclipse: #7C3AED;
  --aether-deep: #160B28;
  --aether-flare: #FF5E62;
  --pad: clamp(20px, 4vw, 56px);
  --pos: #4cc38a;
  --font-display: "Unbounded", system-ui, -apple-system, sans-serif;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --page: 1240px;
  --gut: 16px;

  /* Yorug' mavzu (default) */
  --bg-0: #ECEBE7;
  --bg: #F5F2EA;
  --card: rgba(255, 255, 255, 0.75);
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(10, 10, 10, 0.08);
  --raised: #FFFFFF;
  --line: rgba(10, 10, 10, 0.08);
  --line-2: rgba(10, 10, 10, 0.16);
  --tx: #0A0A0A;
  --tx-2: #4A4A4A;
  --tx-3: #75726D;
  --shadow-glass: 0 20px 48px rgba(10, 10, 10, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color-scheme: light;
}

:root[data-theme="light"], html[data-theme="light"] {
  --bg-0: #ECEBE7;
  --bg: #F5F2EA;
  --card: rgba(255, 255, 255, 0.75);
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(10, 10, 10, 0.08);
  --raised: #FFFFFF;
  --line: rgba(10, 10, 10, 0.08);
  --line-2: rgba(10, 10, 10, 0.16);
  --tx: #0A0A0A;
  --tx-2: #4A4A4A;
  --tx-3: #75726D;
  --accent-ink: #FFFFFF;
  --accent-text: #FF3B5C;
  --shadow-glass: 0 20px 48px rgba(10, 10, 10, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color-scheme: light;
}

:root[data-theme="dark"], html[data-theme="dark"] {
  --bg-0: #050507;
  --bg: #0A0A0A;
  --card: rgba(18, 18, 24, 0.75);
  --card-bg: rgba(18, 18, 24, 0.75);
  --card-border: rgba(255, 255, 255, 0.14);
  --raised: #15151A;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --tx: #F5F2EA;
  --tx-2: #A5A29D;
  --tx-3: #75726D;
  --accent-ink: #0A0A0A;
  --accent-text: #FF3B5C;
  --shadow-glass: 0 24px 50px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]), html:not([data-theme="light"]) {
    --bg-0: #050507;
    --bg: #0A0A0A;
    --card: rgba(18, 18, 24, 0.75);
    --card-bg: rgba(18, 18, 24, 0.75);
    --card-border: rgba(255, 255, 255, 0.14);
    --raised: #15151A;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.16);
    --tx: #F5F2EA;
    --tx-2: #A5A29D;
    --tx-3: #75726D;
    --accent-ink: #0A0A0A;
    --accent-text: #FF3B5C;
    --shadow-glass: 0 24px 50px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    color-scheme: dark;
  }
}

@media (min-width: 640px) {
  :root { --gut: 24px; }
}
@media (min-width: 1024px) {
  :root { --gut: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 400 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gut); position: relative; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ic { width: 18px; height: 18px; flex: none; stroke-width: 1.75; }
.ic-16 { width: 16px; height: 16px; flex: none; stroke-width: 1.75; }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Typography — Unbounded 900 KATTA HARF sarlavhalar */
h1, h2, h3, .h1, .h2, .h3, .page-head h1, .sec-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

/* Mono yorliqlar ("01 — ...") va Kicker */
.mono-label, .kicker, .fs-kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker::before, .fs-kicker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Ulkan xira fon so'zi */
.fs-watermark {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(64px, 16vw, 200px);
  color: var(--tx);
  opacity: 0.035;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  line-height: 0.85;
  white-space: nowrap;
}
[data-theme="dark"] .fs-watermark {
  opacity: 0.055;
}

/* Boot / loading */
.boot { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 200; }
.boot img { width: 44px; height: 44px; opacity: 0.95; }
.loading { width: 32px; height: 32px; margin: 24vh auto; border-radius: 50%; border: 2.5px solid var(--line-2); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header — fsociety uslubida shisha bar */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 234, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
[data-theme="dark"] .top {
  background: rgba(10, 10, 14, 0.82);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
@media (max-width: 639px) {
  .top .wrap { gap: 10px; }
  .top-tools { gap: 8px; }
  .top-tools .btn-sm { padding: 0 12px; font-size: 13px; }
}
@media (max-width: 380px) {
  .top-tools .btn-sm span:first-child { display: none; }
  .top-tools .btn-sm { padding: 0 8px; }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--tx);
}
.logo img { width: 28px; height: 28px; border-radius: 8px; }
.logo b { color: var(--accent); }
.nav { display: none; gap: 6px; }
.nav a {
  height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  color: var(--tx-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.nav a:hover { color: var(--tx); background: var(--card); }
.nav a[aria-current="page"] { color: var(--tx); background: var(--card); font-weight: 600; border: 1px solid var(--card-border); }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-btn {
  height: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--tx-3);
  font-size: 14px;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}
.search-btn:hover { border-color: var(--line-2); color: var(--tx-2); }
.search-btn:active { transform: scale(0.96); }
.search-btn .lbl { display: none; min-width: 140px; }
.search-btn kbd { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .search-btn .lbl { display: inline; }
  .search-btn kbd { display: inline-flex; }
}
kbd { font: 600 11px/1 var(--mono); padding: 4px 6px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--tx-3); }

/* 44x44 Mavzu tugmasi (localStorage + prefers-color-scheme) */
.theme-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--tx);
  cursor: pointer;
  flex: none;
  box-sizing: border-box;
  padding: 0;
  transition: transform 0.16s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.theme-btn:active { transform: scale(0.96); }
.theme-btn:hover { border-color: var(--tx); background: var(--raised); }
.theme-btn svg { width: 20px; height: 20px; stroke-width: 2; transition: transform 0.2s var(--ease); }
.theme-btn:hover svg { transform: rotate(15deg); }
.theme-btn .moon { display: block; }
.theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: block; }

/* ── O'q doirachali pill tugmalar ───────────────────────────────────────────── */
.btn, .btn-pill {
  min-height: 44px;
  height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.16s var(--ease),
              box-shadow 0.2s var(--ease),
              background-color 0.15s var(--ease),
              border-color 0.15s var(--ease),
              color 0.15s var(--ease);
}
.btn:active, .btn-pill:active { transform: scale(0.96); }

/* Doiracha va o'q */
.fs-arrow-circle, .btn i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.2s var(--ease);
  font-style: normal;
}
.fs-arrow-circle svg { width: 13px; height: 13px; stroke-width: 2; }
.btn i::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
  display: block;
}

@media (hover: hover) {
  .btn:hover, .btn-pill:hover {
    transform: translateY(-1px);
  }
  .btn:hover .fs-arrow-circle, .btn:hover i,
  .btn-pill:hover .fs-arrow-circle, .btn-pill:hover i {
    transform: translateX(3px);
  }
}

/* Primary Button (kontrast qora/oq) */
.btn-primary {
  background: var(--tx);
  color: var(--bg);
  border-color: var(--tx);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.btn-primary .fs-arrow-circle, .btn-primary i {
  background: var(--bg);
  color: var(--tx);
}

/* Accent Button (#FF3B5C) */
.btn-accent {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-accent:hover { filter: brightness(1.06); }
.btn-accent .fs-arrow-circle, .btn-accent i {
  background: #FFFFFF;
  color: var(--accent);
}

/* Lime Button (#D7FF3E) */
.btn-lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  box-shadow: 0 8px 24px var(--lime-glow);
}
.btn-lime:hover { filter: brightness(1.05); }
.btn-lime .fs-arrow-circle, .btn-lime i {
  background: var(--ink);
  color: var(--lime);
}

/* Ghost Button (shisha chegara) */
.btn-ghost {
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--line-2);
  color: var(--tx);
}
.btn-ghost:hover {
  border-color: var(--tx);
  background: var(--raised);
}
.btn-ghost .fs-arrow-circle, .btn-ghost i {
  background: var(--tx);
  color: var(--bg);
}

/* Tugma o'lchamlari */
.btn-sm {
  min-height: 38px;
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
  gap: 8px;
}
.btn-sm .fs-arrow-circle, .btn-sm i { width: 20px; height: 20px; }
.btn-sm .fs-arrow-circle svg { width: 11px; height: 11px; }
.btn-sm i::after { width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }

.btn-lg {
  min-height: 50px;
  height: 50px;
  padding: 0 26px;
  font-size: 16px;
  gap: 12px;
}
.btn-lg .fs-arrow-circle, .btn-lg i { width: 28px; height: 28px; }

/* Kichik dumaloq icon tugmalar (44x44 qulay sensorli nishon) */
.icon-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--tx-2);
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}
.icon-btn:hover { color: var(--tx); border-color: var(--line-2); background: var(--raised); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn[aria-pressed="true"] { color: var(--accent-text); border-color: rgba(255, 59, 92, 0.4); background: rgba(255, 59, 92, 0.08); }

/* Ticket — imzo detali: qism belgisi */
.ticket {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(255, 59, 92, 0.12);
  color: var(--accent-text);
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ── 16-28px Shisha kartalar va panellar ─────────────────────────────────── */
.fs-glass-card, .fs-glass-widget, .fs-card {
  border-radius: clamp(16px, 2vw, 24px);
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-glass);
}

/* Sections */
.section { margin-top: 56px; }
@media (min-width: 1024px) { .section { margin-top: 76px; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 900; }
.sec-head p { margin-top: 6px; color: var(--tx-3); font-size: 14px; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; color: var(--tx-2); font-size: 14px; font-weight: 600; transition: color 0.15s var(--ease); }
.sec-link:hover { color: var(--accent); }
.rail-ctl { display: none; gap: 8px; }
@media (min-width: 768px) { .rail-ctl { display: flex; } }
.empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--tx-3);
  font-size: 15px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-0);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: saturate(1.2); }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-0) 0%, rgba(10, 10, 14, 0.88) 42%, rgba(10, 10, 14, 0.45) 100%),
              linear-gradient(0deg, var(--bg-0) 0%, transparent 40%);
}
[data-theme="light"] .hero-shade {
  background: linear-gradient(90deg, var(--bg-0) 0%, rgba(236, 235, 231, 0.92) 42%, rgba(236, 235, 231, 0.5) 100%),
              linear-gradient(0deg, var(--bg-0) 0%, transparent 40%);
}
.hero .wrap { position: relative; display: grid; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
.hero-copy { max-width: 580px; align-self: center; }
.hero-kicker { display: flex; align-items: center; gap: 8px; color: var(--tx-2); font-size: 14px; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 8px var(--pos); }
.hero h1 { margin-top: 18px; font-size: clamp(34px, 5.5vw, 64px); }
.hero-sub { margin-top: 18px; max-width: 38rem; color: var(--tx-2); font-size: 16px; line-height: 1.65; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* 24px shisha feature kartochkasi */
.hero-feature {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: end;
  padding: 16px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
  transition: border-color 0.15s var(--ease), transform 0.2s var(--ease);
}
.hero-feature:hover { border-color: var(--line-2); transform: translateY(-2px); }
.hero-feature .poster { border-radius: 14px; }
.hero-feature small { color: var(--tx-3); font-size: 13px; }
.hero-feature strong { display: block; margin-top: 6px; font-size: 18px; line-height: 1.3; font-weight: 700; }
.hero-feature .meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px 12px; color: var(--tx-2); font-size: 13px; }
.hero-feature .go { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-size: 14px; font-weight: 700; }

@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr 380px; min-height: 520px; padding-top: 72px; padding-bottom: 64px; align-items: center; }
  .hero-feature { grid-template-columns: 1fr; padding: 20px; }
  .hero-feature .poster { aspect-ratio: 0.72; }
}

/* Quick navigatsiya shisha paneli */
.quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.quick a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--card);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.quick a:hover { background: var(--raised); }
.quick .ic { color: var(--accent); }
.quick b { display: block; font-size: 14px; font-weight: 700; }
.quick small { display: block; color: var(--tx-3); font-size: 12px; margin-top: 2px; }
@media (min-width: 900px) {
  .quick { grid-template-columns: repeat(4, 1fr); }
  .quick a { padding: 18px 24px; }
}

/* Poster kartalar (18px) */
.poster {
  position: relative;
  aspect-ratio: 0.72;
  overflow: hidden;
  border-radius: 18px;
  background: var(--raised);
  border: 1px solid var(--card-border);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster .score {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(10, 10, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font: 700 12px/1 var(--mono);
}
.poster .score svg { width: 12px; height: 12px; color: var(--accent); }
.poster .rank {
  position: absolute;
  left: 8px;
  top: 8px;
  font: 700 12px/1 var(--mono);
  color: #fff;
  background: rgba(10, 10, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 8px;
}

/* Card Grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.card { display: block; }
.card:hover .poster {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}
.card:hover h3 { color: var(--accent); }
.card h3 {
  margin-top: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  min-height: 40px;
  transition: color 0.15s var(--ease);
}
.card .meta { margin-top: 4px; color: var(--tx-3); font-size: 13px; }

/* Horizontal rails */
.rail {
  display: grid;
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin: 0 calc(var(--gut) * -1);
  padding-left: var(--gut);
  padding-right: var(--gut);
  scroll-padding: 0 var(--gut);
}
.rail > * { scroll-snap-align: start; }
.rail-cards { grid-auto-columns: 154px; gap: 18px; }
@media (min-width: 900px) { .rail-cards { grid-auto-columns: 196px; } }

/* 18px shisha episode kartochkasi */
.ep-rail { grid-auto-columns: 290px; }
.ep {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.ep:hover { border-color: var(--line-2); background: var(--raised); transform: translateY(-2px); }
.ep .poster { width: 60px; flex: none; border-radius: 12px; }
.ep-body { min-width: 0; flex: 1; }
.ep-body strong { display: block; margin-top: 8px; font-size: 14px; line-height: 20px; font-weight: 700; }
.ep-body small { display: block; margin-top: 2px; color: var(--tx-3); font-size: 12px; }

/* Segmented tabs */
.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.seg button {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--tx-2);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.seg button:hover { color: var(--tx); }
.seg button[aria-selected="true"] {
  background: var(--tx);
  color: var(--bg);
}

/* Ranked lists */
.lists { display: grid; gap: 32px; }
@media (min-width: 900px) { .lists { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.list {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
}
.list h3 { font-size: 16px; font-weight: 700; }
.list > p { color: var(--tx-3); font-size: 13px; margin-top: 4px; }
.list ol { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.list li a {
  display: grid;
  grid-template-columns: 28px 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.15s var(--ease);
}
.list li a:hover strong { color: var(--accent); }
.list .rk { font: 700 13px/1 var(--mono); color: var(--tx-3); }
.list .poster { width: 44px; border-radius: 10px; }
.list strong { display: block; font-size: 14px; line-height: 20px; font-weight: 600; transition: color 0.15s var(--ease); }
.list small { display: block; color: var(--tx-3); font-size: 12px; }

/* 20px shisha fikr kartochkalari */
.quotes { display: grid; gap: 16px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.quote:hover { border-color: var(--line-2); transform: translateY(-2px); }
.quote p { color: var(--tx); font-size: 14px; line-height: 1.6; }
.quote footer { display: flex; align-items: center; gap: 10px; color: var(--tx-3); font-size: 13px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--raised); flex: none; }
.quote footer b { color: var(--tx-2); font-weight: 600; }

/* Page Header */
.page-head { padding-top: 36px; padding-bottom: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--tx-3); font-size: 13px; }
.crumbs a:hover { color: var(--accent); }
.page-head h1 { margin-top: 14px; font-size: clamp(28px, 4.5vw, 40px); }
.page-head p { margin-top: 10px; color: var(--tx-2); font-size: 15px; max-width: 42rem; }

/* Filtrlar va inputlar */
.filters { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-top: 28px; }
.filters .f-q { grid-column: 1 / -1; }
@media (min-width: 900px) { .filters { grid-template-columns: 2fr 1fr 1fr 1fr; } .filters .f-q { grid-column: auto; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { color: var(--tx-3); font-size: 13px; font-weight: 500; }
.input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--tx);
  outline: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
select.input {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a847a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
select.input option { background: var(--bg); color: var(--tx); }
.input:hover { border-color: var(--line-2); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 59, 92, 0.15); }
.input::placeholder { color: var(--tx-3); }

/* Katta qidiruv satri */
.search-big {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 20px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glass);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.search-big:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 59, 92, 0.15); }
.search-big .ic { color: var(--accent); }
.search-big input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font-size: 16px; color: var(--tx); }
.count { margin-bottom: 20px; color: var(--tx-3); font-size: 13px; }

/* Pager */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 48px; }
.pager a, .pager span {
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font: 600 13px/1 var(--mono);
  color: var(--tx-2);
}
.pager a {
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.pager a:hover { color: var(--tx); border-color: var(--line-2); background: var(--raised); }
.pager a[aria-current="page"] {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* Anime Detail sahifasi */
.ad-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-0);
}
.ad-hero .hero-bg { opacity: 0.25; filter: saturate(1.2); }
.ad-hero .wrap { position: relative; display: grid; gap: 28px; padding-top: 32px; padding-bottom: 40px; }
.ad-poster { width: 180px; border-radius: 20px; box-shadow: var(--shadow-glass); }
.ad-hero h1 { font-size: clamp(28px, 4.5vw, 44px); margin-top: 14px; }
.ad-orig { margin-top: 6px; color: var(--tx-3); font-size: 14px; }
.ad-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; color: var(--tx-2); font-size: 14px; }
.ad-meta .star { display: inline-flex; align-items: center; gap: 6px; color: var(--tx); font-family: var(--mono); font-weight: 700; }
.ad-meta .star svg { width: 16px; height: 16px; color: var(--accent); }
.ad-meta .live { display: inline-flex; align-items: center; gap: 8px; }
.ad-meta .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 8px var(--pos); }
.ad-desc { margin-top: 18px; max-width: 46rem; color: var(--tx-2); font-size: 15px; line-height: 1.7; }
.ad-desc.short { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ad-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  height: 32px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--tx-2);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.tag:hover { color: var(--accent); border-color: var(--accent); }

@media (min-width: 768px) {
  .ad-hero .wrap { grid-template-columns: 260px 1fr; gap: 44px; padding-top: 56px; padding-bottom: 56px; align-items: start; }
  .ad-poster { width: 100%; }
}

/* 24px shisha faktlar paneli */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { padding: 20px; background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.facts small { display: block; color: var(--tx-3); font-size: 13px; }
.facts b { display: block; margin-top: 6px; font: 700 22px/1.2 var(--mono); }

.season-h { display: flex; align-items: baseline; gap: 10px; margin: 32px 0 16px; font-size: 16px; font-weight: 700; }
.season-h small { color: var(--tx-3); font-size: 13px; font-weight: 400; }

.eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.eps .ep .lock { margin-left: auto; color: var(--tx-3); }

/* Raqamli qismlar paneli */
.eps-n { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 10px; }
.ep-n {
  position: relative;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.ep-n:hover { border-color: var(--accent); background: var(--raised); transform: translateY(-2px); }
.ep-n b { font: 700 17px/1 var(--mono); }
.ep-n small { color: var(--tx-3); font-size: 11px; }
.ep-n .lock { position: absolute; top: 6px; right: 6px; color: var(--tx-3); }
.ep-n .lock svg { width: 12px; height: 12px; }

.more { display: flex; justify-content: center; margin-top: 28px; }
.info-table { display: grid; grid-template-columns: max-content 1fr; gap: 0 24px; margin-top: 20px; font-size: 14px; }
.info-table dt, .info-table dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-table dt { color: var(--tx-3); }
.info-table dd { font-variant-numeric: tabular-nums; }

/* 24px shisha hamjamiyat paneli */
.community { display: grid; gap: 28px; }
@media (min-width: 1000px) { .community { grid-template-columns: 390px 1fr; } }
.panel {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
}
.panel h2 { font-size: 18px; font-weight: 700; }
.panel > p { margin-top: 6px; color: var(--tx-3); font-size: 14px; }

.scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: 18px; }
.scale button {
  height: 40px;
  border-radius: 8px;
  background: var(--raised);
  border: 1px solid var(--card-border);
  color: var(--tx-2);
  font: 700 13px/1 var(--mono);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.scale button:hover { color: var(--tx); border-color: var(--line-2); }
.scale button[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.rate-note { margin-top: 14px; color: var(--tx-3); font-size: 13px; }
.rate-note b { color: var(--tx); font-weight: 700; font-family: var(--mono); }

.mine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.mine button {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--raised);
  color: var(--tx-2);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.mine button:hover { color: var(--tx); }
.mine button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: rgba(255, 59, 92, 0.08); }

.bot-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; color: var(--tx-2); font-size: 14px; }
.comments-list { display: flex; flex-direction: column; margin-top: 18px; }
.cm { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.cm .avatar { width: 36px; height: 36px; }
.cm header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 14px; }
.cm header b { font-weight: 600; }
.cm header small { color: var(--tx-3); font-size: 12px; }
.cm header .r { font: 700 12px/1 var(--mono); color: var(--accent-text); }
.cm p { margin-top: 6px; color: var(--tx-2); font-size: 14px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }

.compose { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.compose textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--raised);
  border: 1px solid var(--card-border);
  color: var(--tx);
  outline: none;
  resize: vertical;
}
.compose textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 59, 92, 0.15); }
.compose-row { display: flex; gap: 10px; align-items: center; }
.compose-row select { width: auto; }
.compose .msg { color: var(--tx-3); font-size: 13px; min-height: 18px; }
.note {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--tx-2);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Prose sahifalar (reklama, maxfiylik) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; font-size: 22px; font-weight: 700; }
.prose h3 { margin-top: 24px; font-size: 17px; font-weight: 700; }
.prose p, .prose li { margin-top: 10px; color: var(--tx-2); font-size: 15px; line-height: 1.7; }
.prose ul { padding-left: 20px; margin: 10px 0 0; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 0 24px; margin-top: 16px; font-size: 14px; }
.prose dt, .prose dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prose dt { color: var(--tx); font-weight: 600; }
.prose dd { color: var(--tx-2); }

.offers { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 768px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
}
.offer small { color: var(--accent); font-family: var(--mono); font-weight: 700; font-size: 12px; }
.offer h3 { margin-top: 6px; font-size: 20px; font-weight: 700; }
.offer p { margin-top: 10px; color: var(--tx-2); font-size: 14px; line-height: 1.6; }
.offer ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.offer li { display: flex; gap: 10px; align-items: center; color: var(--tx-2); font-size: 14px; }
.offer li svg { color: var(--pos); }

.steps { display: grid; gap: 20px; margin-top: 28px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps div { padding-top: 20px; border-top: 2px solid var(--line-2); }
.steps b { font: 700 13px/1 var(--mono); color: var(--accent-text); }
.steps h3 { margin-top: 12px; font-size: 16px; font-weight: 700; }
.steps p { margin-top: 6px; color: var(--tx-2); font-size: 14px; }

/* Profil */
.pf { display: flex; gap: 24px; align-items: center; padding-top: 44px; }
.pf .avatar { width: 92px; height: 92px; box-shadow: var(--shadow-glass); }
.pf h1 { font-size: 32px; font-weight: 900; }
.pf .handle { color: var(--tx-3); font-size: 14px; margin-top: 4px; }
.pf .vip {
  margin-left: 10px;
  vertical-align: middle;
  font: 700 11px/1 var(--mono);
  color: #fff;
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 999px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 28px;
  box-shadow: var(--shadow-glass);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stats div { padding: 20px; background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.stats small { display: block; color: var(--tx-3); font-size: 13px; }
.stats b { display: block; margin-top: 6px; font: 700 24px/1.2 var(--mono); }
.stats span { color: var(--tx-3); font-size: 13px; }

/* Footer */
.foot {
  margin-top: 104px;
  border-top: 1px solid var(--line);
  background: var(--bg-0);
  padding: 48px 0 116px;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
@media (min-width: 1024px) { .foot { padding-bottom: 48px; } }
.foot-top { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.4fr 1fr 2fr; } }
.foot p { color: var(--tx-3); font-size: 14px; margin-top: 14px; max-width: 28rem; line-height: 1.6; }
.foot h4 { margin: 0 0 14px; color: var(--tx); font-family: var(--font-display); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav a, .foot .genres a { color: var(--tx-2); font-size: 14px; transition: color 0.15s var(--ease); }
.foot nav a:hover, .foot .genres a:hover { color: var(--accent); }
.foot .genres { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--tx-3); font-size: 13px; }
.foot-bottom a:hover { color: var(--accent); }

/* Mobil tab bar — shisha dock */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(245, 242, 234, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
[data-theme="dark"] .tabbar {
  background: rgba(10, 10, 14, 0.88);
}
.tabbar a {
  height: 58px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--tx-3);
  font-size: 11px;
  font-weight: 600;
  transition: color 0.15s var(--ease);
}
.tabbar a[aria-current="page"] { color: var(--tx); }
.tabbar a[aria-current="page"] .ic { color: var(--accent); }
@media (min-width: 1024px) { .tabbar { display: none; } }

/* Entrance motion */
#kw-main { animation: rise 0.28s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Telegram Mini App moslashuv */
.in-tg .top { padding-top: calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px)); }
.in-tg .tabbar { padding-bottom: calc(var(--tg-safe-area-inset-bottom, 0px) + env(safe-area-inset-bottom)); }
@media (max-width: 899px) { .input, .compose textarea { font-size: 16px; } }
