:root {
  --bg: #06070b;
  --panel: rgba(255, 255, 255, .04);
  --panel-strong: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --text: #f2f4f8;
  --muted: #98a1b3;
  --lime: #c8ff3e;
  --violet: #8b6cff;
  --cyan: #38e1ff;
  --pink: #ff5fa2;
  --radius: 20px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ---------- fon: suzuvchi dog'lar + to'r ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
.blob.b1 { width: 560px; height: 560px; background: var(--violet); top: -180px; left: -120px; }
.blob.b2 { width: 480px; height: 480px; background: #1d6bff; top: 20%; right: -160px; animation-duration: 28s; animation-delay: -6s; opacity: .38; }
.blob.b3 { width: 420px; height: 420px; background: var(--lime); bottom: -220px; left: 30%; opacity: .16; animation-duration: 34s; animation-delay: -12s; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: .5;
}
@keyframes drift { to { transform: translate3d(90px, 70px, 0) scale(1.18); } }

/* ---------- navigatsiya ---------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(6, 7, 11, .62); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px var(--display); }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: conic-gradient(from 210deg, var(--lime), var(--cyan), var(--violet), var(--lime)); position: relative; animation: spin 9s linear infinite; }
.brand-mark::after { content: ""; position: absolute; inset: 3px; border-radius: 7px; background: var(--bg); }
.brand-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin: 11px; box-shadow: 0 0 12px var(--lime); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--panel-strong); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- tugmalar ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 600 16px var(--body); border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: #0a0d02; box-shadow: 0 0 0 0 rgba(200, 255, 62, .5); }
.btn-primary:hover { box-shadow: 0 10px 40px -8px rgba(200, 255, 62, .65); }
.btn-ghost { background: var(--panel); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .28); background: var(--panel-strong); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 70px; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--lime); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); font-weight: 700; margin: 24px 0 22px; }
.grad { background: linear-gradient(100deg, var(--lime) 0%, var(--cyan) 50%, var(--violet) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s ease-in-out infinite alternate; }
@keyframes sheen { to { background-position: 100% 0; } }
.rotator { display: inline-block; min-width: 4ch; }
.rotator .caret { display: inline-block; width: 3px; height: .85em; margin-left: 4px; background: var(--lime); vertical-align: -.08em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 54ch; margin: 0 0 34px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- radar ---------- */
.radar-wrap { position: relative; display: grid; place-items: center; }
.radar { position: relative; width: min(420px, 82vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(200, 255, 62, .35);
  background:
    radial-gradient(circle, transparent 0 24.6%, rgba(200,255,62,.2) 24.8% 25%, transparent 25.2% 49.6%, rgba(200,255,62,.16) 49.8% 50%, transparent 50.2% 74.6%, rgba(200,255,62,.12) 74.8% 75%, transparent 75.2%),
    radial-gradient(circle, rgba(200,255,62,.08), rgba(6,7,11,.2) 70%);
  box-shadow: 0 0 90px -20px rgba(200, 255, 62, .4), inset 0 0 60px rgba(200, 255, 62, .06);
}
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(200, 255, 62, .14); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(200,255,62,.55), rgba(200,255,62,0) 28%, transparent); animation: spin 4.5s linear infinite; }
.radar-core { position: absolute; inset: 47.5%; border-radius: 50%; background: var(--lime); box-shadow: 0 0 22px var(--lime); }
.blip { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px var(--lime); transform: translate(-50%, -50%); animation: blip 4.5s ease-out infinite; opacity: 0; }
.blip.c { background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.blip.v { background: var(--pink); box-shadow: 0 0 16px var(--pink); }
@keyframes blip { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 6% { opacity: 1; transform: translate(-50%, -50%) scale(1.5); } 60% { opacity: .55; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; } }
.tag { position: absolute; padding: 8px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; background: rgba(12, 14, 20, .82); border: 1px solid var(--line); backdrop-filter: blur(10px); white-space: nowrap; animation: float 6s ease-in-out infinite; max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
.tag small { display: block; color: var(--lime); font-weight: 600; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.tag.t1 { top: 4%; left: -6%; } .tag.t2 { bottom: 14%; right: -8%; animation-delay: -2s; } .tag.t3 { bottom: -2%; left: 6%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- raqamlar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(10px); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 clamp(30px, 4vw, 46px)/1 var(--display); }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- bo'limlar ---------- */
section.block { padding: 96px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.eyebrow { color: var(--lime); font: 600 13px var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); }
.section-head p { color: var(--muted); margin: 10px 0 0; max-width: 56ch; }

/* ---------- hakaton kartalari ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, border-color .25s, background .25s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 255, 62, .13), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-5px); border-color: rgba(200, 255, 62, .4); background: var(--panel-strong); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 20px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .07); color: var(--muted); }
.chip.open { background: rgba(200, 255, 62, .14); color: var(--lime); }
.chip.hot { background: rgba(255, 95, 162, .16); color: var(--pink); }
.chip.hot .pulse { background: var(--pink); } .chip.hot .pulse::after { border-color: var(--pink); }
.chip.closed { background: rgba(255, 255, 255, .05); color: #6c7484; }
.meta { display: grid; gap: 8px; color: var(--muted); font-size: 14.5px; margin: 0; padding: 0; list-style: none; }
.meta li { display: flex; gap: 10px; align-items: baseline; }
.meta b { color: var(--text); font-weight: 600; }
.meta .ico { width: 18px; flex: none; text-align: center; }
.card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.card-foot .links { display: flex; gap: 8px; }
.link { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; color: var(--text); transition: background .2s, border-color .2s, color .2s; }
.link:hover { border-color: var(--lime); color: var(--lime); }
.link.solid { background: var(--lime); color: #0a0d02; border-color: var(--lime); }
.link.solid:hover { color: #0a0d02; filter: brightness(1.08); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- qadamlar ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.step::before { counter-increment: step; content: "0" counter(step); font: 700 64px/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .18); position: absolute; right: 18px; top: 12px; }
.step .ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; font-size: 24px; background: rgba(200, 255, 62, .12); margin-bottom: 18px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- chat ko'rinishi (bosh sahifa) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(139, 108, 255, .16), rgba(56, 225, 255, .05) 60%, transparent); }
.duo h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 14px; }
.duo p { color: var(--muted); margin: 0 0 26px; }
.demo { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: rgba(6, 7, 11, .7); border: 1px solid var(--line); min-height: 250px; }
.bubble { max-width: 88%; padding: 11px 15px; border-radius: 16px; font-size: 15px; white-space: pre-line; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }
.bubble.show { opacity: 1; transform: none; }
.bubble.me { align-self: flex-end; background: var(--violet); border-bottom-right-radius: 5px; }
.bubble.bot { align-self: flex-start; background: var(--panel-strong); border: 1px solid var(--line); border-bottom-left-radius: 5px; }

/* ---------- manbalar lentasi ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); padding: 6px 0; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.pill { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-weight: 500; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

footer { margin-top: 110px; padding: 34px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- ro'yxat sahifasi ---------- */
.page-head { padding: 64px 0 34px; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 12px; }
.page-head p { color: var(--muted); margin: 0; max-width: 60ch; }
.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.tabs a { padding: 9px 18px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.tabs a.active { background: var(--lime); color: #0a0d02; }
.tabs a small { opacity: .7; font-weight: 500; }
.search { flex: 1; min-width: 220px; max-width: 360px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; }
.search:focus { outline: none; border-color: var(--lime); }

/* ---------- chat sahifasi ---------- */
body.chat-page { height: 100vh; display: flex; flex-direction: column; }
.chat-shell { flex: 1; min-height: 0; display: flex; flex-direction: column; width: min(820px, 100% - 32px); margin: 0 auto; }
.chat-scroll { flex: 1; overflow-y: auto; padding: 28px 4px 16px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.chat-list { display: flex; flex-direction: column; gap: 12px; }
.chat-hello { text-align: center; padding: 30px 0 18px; }
.chat-hello h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.chat-hello p { color: var(--muted); margin: 0 auto; max-width: 48ch; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 18px; white-space: pre-wrap; overflow-wrap: anywhere; animation: rise .35s ease-out both; }
.msg.user { align-self: flex-end; background: var(--violet); border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: var(--panel-strong); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.error { align-self: flex-start; color: var(--pink); border: 1px dashed currentColor; }
.msg a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-6px); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.chips button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: 500 14.5px var(--body); cursor: pointer; transition: border-color .2s, transform .2s; }
.chips button:hover { border-color: var(--lime); transform: translateY(-2px); }
.composer { padding: 12px 0 22px; }
.composer form { display: flex; gap: 10px; padding: 8px; border-radius: 22px; background: var(--panel-strong); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.composer form:focus-within { border-color: rgba(200, 255, 62, .6); box-shadow: 0 0 0 4px rgba(200, 255, 62, .08); }
.composer textarea { flex: 1; resize: none; height: 46px; max-height: 140px; padding: 11px 12px; border: 0; background: transparent; color: var(--text); font: inherit; }
.composer textarea:focus { outline: none; }
.composer button { width: 46px; height: 46px; border-radius: 15px; border: 0; background: var(--lime); color: #0a0d02; font-size: 20px; font-weight: 700; cursor: pointer; transition: transform .2s, opacity .2s; }
.composer button:hover { transform: scale(1.06); }
.composer button:disabled { opacity: .4; cursor: default; transform: none; }
.composer small { display: block; text-align: center; color: #6c7484; margin-top: 10px; font-size: 12.5px; }

/* ---------- paydo bo'lish animatsiyasi ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 50px; }
  .hero .container, .duo { grid-template-columns: 1fr; }
  .radar-wrap { order: -1; }
  .radar { width: min(300px, 74vw); }
  .tag.t1 { left: 0; } .tag.t2 { right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .duo { padding: 26px; }
  section.block { padding-top: 70px; }
  .nav-links a { padding: 8px 10px; font-size: 14px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .brand span.name { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .bubble { opacity: 1; transform: none; }
  .blip { opacity: .9; }
}

/* navdagi asosiy tugma: umumiy havola rangi ustidan */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #0a0d02; background: var(--lime); }

/* tur va hudud belgilari, filtrlar */
.tags-row { display: flex; flex-wrap: wrap; gap: 6px; }
.kind { padding: 3px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); background: rgba(255, 255, 255, .06); }
.kind.hackathon { color: var(--cyan); background: rgba(56, 225, 255, .12); }
.kind.startup { color: #ffb347; background: rgba(255, 179, 71, .13); }
.kind.contest { color: #c4b5ff; background: rgba(139, 108, 255, .18); }
.filters { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: -8px 0 26px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-group a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s, border-color .2s, background .2s; }
.filter-group a:hover { color: var(--text); border-color: rgba(255, 255, 255, .28); }
.filter-group a.active { color: var(--lime); border-color: rgba(200, 255, 62, .55); background: rgba(200, 255, 62, .08); }
.card-foot > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-foot .links { flex: none; }
.link { white-space: nowrap; }

/* shaxsiy bo'lim */
.card form { display: contents; }
button.link { background: transparent; font: inherit; font-weight: 600; cursor: pointer; }
.link.tracked { color: var(--lime); border-color: rgba(200, 255, 62, .55); background: rgba(200, 255, 62, .1); }
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.connect-item { padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--line); color: var(--muted); font-size: 14.5px; display: grid; gap: 4px; }
.connect-item b { color: var(--text); }
.connect-item.on { border-style: solid; border-color: rgba(200, 255, 62, .45); }
.connect-item code, .update code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); font-size: 13px; overflow-wrap: anywhere; }
.apps { display: grid; gap: 18px; }
.card.app:hover { transform: none; }
.app-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; }
.app-head h3 { margin: 12px 0; -webkit-line-clamp: unset; }
.app-head h3 a:hover { color: var(--lime); }
.card .app-form { display: grid; gap: 10px; align-content: start; }
.app-form label { display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.app-form select, .app-form input, .app-form textarea { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(6, 7, 11, .6); color: var(--text); font: inherit; font-size: 14.5px; }
.app-form select:focus, .app-form input:focus, .app-form textarea:focus { outline: none; border-color: var(--lime); }
.app-form .link { justify-self: start; }
.app-updates { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.update { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border-left: 3px solid var(--line); }
.update small { color: var(--muted); font-size: 12px; }
.update p { margin: 3px 0 0; font-size: 14.5px; overflow-wrap: anywhere; }
.update a { color: var(--lime); white-space: nowrap; }
.update.change { border-left-color: #ffb347; } .update.result { border-left-color: var(--lime); }
.update.reminder { border-left-color: var(--pink); } .update.mail { border-left-color: var(--cyan); } .update.post { border-left-color: var(--violet); }
.update.none { color: var(--muted); }
.card .app-remove { display: block; text-align: right; }
button.plain { background: none; border: 0; color: #6c7484; font: inherit; font-size: 13px; cursor: pointer; }
button.plain:hover { color: var(--pink); }
@media (max-width: 900px) { .connect, .app-head { grid-template-columns: 1fr; } }

.mail-form { display: grid !important; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 6px; }
.connect-item form { display: block; }
.mail-form input { min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(6, 7, 11, .6); color: var(--text); font: inherit; font-size: 14px; }
.mail-form input:focus { outline: none; border-color: var(--lime); }
.connect-item .hint { font-size: 12.5px; color: #6c7484; }
.connect-item .warn { color: var(--pink); }
@media (max-width: 600px) { .mail-form { grid-template-columns: 1fr; } }

.update.plan { border-left-color: var(--cyan); }

/* hakaton sahifasi */
.card h3 a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card h3 a.stretch:hover { color: var(--lime); }
.card .card-foot { position: relative; z-index: 2; }
.detail { padding-top: 34px; }
.back { display: inline-block; color: var(--muted); font-size: 14.5px; margin-bottom: 22px; transition: color .2s; }
.back:hover { color: var(--lime); }
.detail-head h1 { font-size: clamp(30px, 4.4vw, 54px); margin: 16px 0 24px; overflow-wrap: anywhere; }
.detail-head .cta form { display: contents; }
.btn.tracked { color: var(--lime); border-color: rgba(200, 255, 62, .55); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; margin-top: 38px; align-items: start; }
.detail-grid main, .detail-grid aside { display: grid; gap: 20px; }
.detail-grid aside { position: sticky; top: 86px; }
.panel { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.panel h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); font-family: var(--body); font-weight: 600; margin-bottom: 16px; }
.prose { color: #d5dae3; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.prose p { margin: 0 0 14px; } .prose p:last-child { margin-bottom: 0; }
.prose a, .facts a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.muted { color: var(--muted); margin: 0; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; margin: 0; font-size: 15px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 18px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.timeline li b { font-family: var(--display); font-size: 16px; }
.timeline li span { color: var(--muted); font-size: 14.5px; }
.timeline li.past { opacity: .5; } .timeline li.past::before { background: var(--muted); }
.timeline li.next::before { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.timeline li.next b { color: var(--lime); }
.panel .hint { margin: 16px 0 0; font-size: 12.5px; color: #6c7484; }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sources a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.sources a:hover { border-color: rgba(200, 255, 62, .45); background: rgba(255, 255, 255, .03); }
.sources small { color: var(--muted); } .sources span { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.app-updates.plain-top { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .detail-grid aside { position: static; order: -1; } }

/* savol-javob */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 0 20px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(200, 255, 62, .35); }
.faq summary { cursor: pointer; padding: 18px 0; font: 600 18px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); }
.faq a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
