/* ==========================================================
   404 DROP — "TERMINAL" dizayn tizimi
   Grafit qora · limon-yashil signal · kesilgan burchaklar
   ========================================================== */
:root {
  --bg: #0a0b09;
  --bg-2: #0e100c;
  --panel: #121410;
  --panel-2: #181b15;
  --panel-3: #1f231b;
  --line: rgba(222, 255, 180, .085);
  --line-2: rgba(222, 255, 180, .16);
  --text: #eceee6;
  --text-2: #9ca294;
  --text-3: #5f6559;
  --sig: #c8ff3e;            /* asosiy signal rang */
  --sig-ink: #0a0b09;
  --sig-text: #c8ff3e;
  --sig-soft: rgba(200, 255, 62, .1);
  --up: #c8ff3e;
  --down: #ff5c49;
  --warn: #ffc93e;
  --cut: 14px;
  --pad: clamp(16px, 3.2vw, 48px);
  --f-disp: 'Big Shoulders Display', 'Impact', sans-serif;
  --f-body: 'Geist', system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', monospace;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #eeede5;
  --bg-2: #e6e5dc;
  --panel: #f8f7f1;
  --panel-2: #ffffff;
  --panel-3: #f0efe7;
  --line: rgba(20, 22, 14, .1);
  --line-2: rgba(20, 22, 14, .2);
  --text: #11120d;
  --text-2: #55594d;
  --text-3: #8d9184;
  --sig-text: #4d6b00;
  --sig-soft: rgba(110, 160, 0, .12);
  --up: #3f7a00;
  --warn: #a66a00;
  --down: #d13a28;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body); font-size: 15px; background: var(--bg); color: var(--text);
  min-height: 100vh; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0);
  background-size: 28px 28px;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
svg { display: block; }
::selection { background: var(--sig); color: var(--sig-ink); }
.mono { font-family: var(--f-mono); font-feature-settings: "tnum" 1, "zero" 1; }
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }

/* ---------- Tiker (yuqori lenta) ---------- */
.ticker {
  height: 34px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line);
  background: var(--bg-2); font-family: var(--f-mono); font-size: 12px; white-space: nowrap; position: relative;
}
.ticker .lbl { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--sig); color: var(--sig-ink); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; flex: none; }
.ticker .lbl i { width: 7px; height: 7px; background: var(--sig-ink); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ticker .run { display: flex; width: max-content; animation: run 70s linear infinite; }
.ticker:hover .run { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; border-right: 1px solid var(--line); height: 34px; }
.tk .sw { width: 6px; height: 6px; background: var(--c); }
.tk b { font-weight: 500; color: var(--text); }
.tk .pz { color: var(--up); }
.tk .tm { color: var(--text-3); }

/* ---------- Yuqori panel ---------- */
.bar {
  position: sticky; top: 0; z-index: 40; height: 68px; display: flex; align-items: center; gap: 28px;
  padding: 0 var(--pad); border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4);
}
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
/* Logotip: animatsiyali 404 + oddiy so'z */
.logo .mark {
  position: relative; display: grid; place-items: center; height: 40px; padding: 0 10px 0 9px; overflow: hidden;
  background: var(--sig); color: var(--sig-ink); font-family: var(--f-disp); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: .01em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: transform .45s cubic-bezier(.2, .9, .3, 1.4);
}
.logo:hover .mark { transform: rotate(-8deg) scale(1.08); }
.logo .mark b { position: relative; z-index: 1; font-weight: inherit; animation: mkJit 4.2s steps(1) infinite; }
.logo .mark .mk-g { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 0 10px 0 9px; font-style: normal; color: var(--down); opacity: 0; animation: mkGlitch 4.2s steps(1) infinite; }
.logo .mark .mk-s { position: absolute; left: 0; right: 0; height: 45%; top: -45%; z-index: 3; background: linear-gradient(transparent, rgba(255, 255, 255, .6), transparent); animation: mkScan 4.2s cubic-bezier(.5, 0, .5, 1) infinite; }
.logo:hover .mark .mk-s { animation-duration: 1s; }
@keyframes mkScan { 0%, 55% { top: -45%; } 80%, 100% { top: 100%; } }
@keyframes mkJit { 0%, 100% { transform: none; } 30% { transform: translateX(-1.5px); } 31% { transform: translateX(1px); } 32% { transform: none; } }
@keyframes mkGlitch {
  0%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); }
  30% { opacity: 1; clip-path: inset(15% 0 60% 0); transform: translateX(-3px); }
  31% { opacity: 1; clip-path: inset(62% 0 18% 0); transform: translateX(3px); }
  32% { opacity: 0; }
}
.logo .word { font-family: var(--f-disp); font-weight: 900; font-size: 28px; letter-spacing: .01em; text-transform: uppercase; line-height: 1; color: var(--text); }
.tabs { display: flex; gap: 2px; height: 100%; }
.tabs a { position: relative; display: flex; align-items: center; padding: 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); transition: color .2s; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--text); }
.tabs a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--sig); }
.tabs a .n { margin-left: 7px; font-family: var(--f-mono); font-size: 11px; padding: 1px 5px; background: var(--sig); color: var(--sig-ink); }
.bar-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sq { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 12px; font-weight: 600; transition: border-color .2s, background .2s; }
.sq:hover { border-color: var(--text-2); background: var(--panel); }
.sq svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.acct { display: flex; align-items: center; height: 40px; border: 1px solid var(--line-2); transition: border-color .2s; }
.acct:hover { border-color: var(--text-2); }
.acct .bal { padding: 0 14px; white-space: nowrap; font-family: var(--f-mono); font-size: 14px; font-weight: 600; }
.acct .bal small { color: var(--text-3); font-size: 11px; margin-left: 4px; }
.acct .av { width: 40px; height: 38px; display: grid; place-items: center; background: var(--sig); color: var(--sig-ink); font-family: var(--f-disp); font-weight: 900; font-size: 18px; position: relative; overflow: hidden; }
.acct .av img { width: 100%; height: 100%; object-fit: cover; }
.acct .dot { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; background: var(--down); border: 2px solid var(--bg); }

/* Akkaunt menyusi */
.menu { position: fixed; z-index: 45; top: 110px; right: var(--pad); width: 300px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); display: none; animation: drop .25s cubic-bezier(.2, .8, .2, 1); }
.menu.open { display: block; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.menu .hd { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.menu .hd b { display: block; font-size: 15px; }
.menu .hd span { font-family: var(--f-mono); font-size: 11.5px; color: var(--text-3); }
.menu a, .menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 18px; font-size: 14px; font-weight: 500; color: var(--text-2); text-align: left; }
.menu a:hover, .menu button:hover { background: var(--panel-3); color: var(--text); }
.menu svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu .sep { height: 1px; background: var(--line); margin: 6px 0; }
.menu .k { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--sig-text); }

/* ---------- Tugmalar ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 26px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn .ar { transition: transform .25s; }
.btn:hover .ar { transform: translateX(4px); }
.btn-sig { background: var(--sig); color: var(--sig-ink); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.btn-sig:hover { background: #d8ff6e; }
.btn-line { border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--text); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 11.5px; gap: 8px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn-ok { background: var(--sig-soft); color: var(--sig-text); border: 1px solid color-mix(in srgb, var(--sig) 35%, transparent); }
.btn-no { color: var(--down); border: 1px solid rgba(255, 92, 73, .35); }

/* ---------- Umumiy ---------- */
.view { padding: 0 var(--pad) 140px; max-width: 1680px; margin: 0 auto; min-height: 70vh; animation: vin .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes vin { from { opacity: 0; transform: translateY(10px); } }
.kick { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.kick b { color: var(--sig-text); font-weight: 500; }
.kick::before { content: "//"; color: var(--sig-text); }
.mega { font-family: var(--f-disp); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; }
.mega .o { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.mega .s { color: var(--sig-text); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 44px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.head .mega { font-size: clamp(54px, 8vw, 120px); margin-top: 14px; }
.head p { color: var(--text-2); max-width: 520px; line-height: 1.6; margin-top: 14px; }
.figs { display: flex; gap: 0; border: 1px solid var(--line); background: var(--panel); }
.fig { padding: 16px 24px; border-right: 1px solid var(--line); min-width: 150px; }
.fig:last-child { border-right: 0; }
.fig .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.fig .v { font-family: var(--f-mono); font-size: 26px; font-weight: 500; margin-top: 6px; letter-spacing: -.02em; white-space: nowrap; }
.fig .v small { font-size: 12px; color: var(--text-3); margin-left: 5px; }
.fig .v.sig { color: var(--sig-text); }
.panel { background: var(--panel); border: 1px solid var(--line); }
.ph { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.ph b { color: var(--text); font-weight: 600; }
.dim { color: var(--text-3); }
.muted { color: var(--text-2); }

/* ---------- Bosh sahifa ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 0; border-bottom: 1px solid var(--line); }
.hero-l { padding: 56px 40px 50px 0; border-right: 1px solid var(--line); }
.hero .mega { font-size: clamp(64px, 10.5vw, 188px); margin: 22px 0 30px; }
.hero .mega span { display: block; animation: rise .8s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero .mega span:nth-child(2) { animation-delay: .08s; } .hero .mega span:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(40%); } }
.hero p { color: var(--text-2); font-size: 17px; line-height: 1.65; max-width: 560px; margin-bottom: 34px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .btn { height: 60px; padding: 0 30px; font-size: 13.5px; }
.hero-r { display: flex; flex-direction: column; }
.quote { flex: 1; display: flex; flex-direction: column; }
.quote .ph { border-top: 0; }
.qrow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line); animation: vin .5s backwards; }
.qrow .th { width: 56px; height: 40px; display: grid; place-items: center; background: var(--panel-3); border-left: 2px solid var(--c); }
.qrow .th img, .qrow .th svg { max-width: 48px; max-height: 34px; }
.qrow .n { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qrow .r { font-family: var(--f-mono); font-size: 11px; color: var(--text-3); margin-top: 2px; }
.qrow .p { font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: var(--up); text-align: right; }
.qrow .p small { display: block; color: var(--text-3); font-size: 10.5px; font-weight: 400; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.nums > div { padding: 22px 20px; border-right: 1px solid var(--line); }
.nums > div:last-child { border-right: 0; }
.nums .v { font-family: var(--f-mono); font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.nums .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.step { padding: 40px 32px 44px 0; border-right: 1px solid var(--line); position: relative; }
.step + .step { padding-left: 32px; }
.step:last-child { border-right: 0; }
.step .no { font-family: var(--f-disp); font-weight: 900; font-size: 110px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); transition: -webkit-text-stroke-color .3s, color .3s; }
.step:hover .no { -webkit-text-stroke-color: var(--sig); }
.step h3 { font-family: var(--f-disp); font-weight: 800; font-size: 32px; text-transform: uppercase; letter-spacing: .01em; margin: 26px 0 10px; }
.step p { color: var(--text-2); line-height: 1.65; max-width: 380px; }
.band { margin: 0 calc(var(--pad) * -1); padding: 18px 0; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--sig); color: var(--sig-ink); }
.band div { display: flex; gap: 40px; width: max-content; animation: run 40s linear infinite; font-family: var(--f-disp); font-weight: 900; font-size: 44px; text-transform: uppercase; line-height: 1; }
.band span { display: inline-flex; align-items: center; gap: 40px; }
.band span::after { content: "✦"; font-size: 26px; }

/* ---------- Sotish ---------- */
.ctrl { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; margin-bottom: 22px; }
.seg { display: flex; border: 1px solid var(--line-2); }
.seg button { height: 48px; padding: 0 18px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); border-right: 1px solid var(--line-2); transition: .2s; }
.seg button:last-child { border-right: 0; }
.seg button span { color: var(--text-3); margin-left: 6px; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--text); color: var(--bg); }
.seg button.on span { color: var(--bg); opacity: .55; }
.find { flex: 1 1 240px; position: relative; }
.find input { width: 100%; height: 50px; padding: 0 16px 0 46px; border: 1px solid var(--line-2); background: var(--panel); outline: none; font-size: 14px; transition: border-color .2s; }
.find input:focus { border-color: var(--sig); }
.find svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; fill: none; stroke: var(--text-3); stroke-width: 2; stroke-linecap: round; }
.find kbd { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-family: var(--f-mono); font-size: 11px; color: var(--text-3); border: 1px solid var(--line-2); padding: 2px 6px; }
.sort { height: 50px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.sort select { appearance: none; background: none; border: 0; outline: none; font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.sort select option { background: var(--panel); }
.note { padding: 14px 18px; margin-bottom: 18px; border-left: 3px solid var(--warn); background: var(--panel); font-size: 13.5px; color: var(--text-2); font-family: var(--f-mono); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.it {
  --c: #8b8b9a; position: relative; display: flex; flex-direction: column; text-align: left; background: var(--panel); padding: 0; isolation: isolate;
  transition: background .2s; animation: vin .4s backwards; min-width: 0;
}
.it:hover { background: var(--panel-2); }
.it .top { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 0; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.it .rar { display: flex; align-items: center; gap: 7px; }
.it .rar i { width: 8px; height: 8px; background: var(--c); }
.it .box { width: 20px; height: 20px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: .2s; }
.it .box svg { width: 12px; stroke: var(--sig-ink); stroke-width: 3.4; fill: none; opacity: 0; }
.it .pic { position: relative; height: 150px; display: grid; place-items: center; margin: 4px 0 0; overflow: hidden; }
.it .pic::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 38%, transparent), transparent); opacity: .7; transition: opacity .3s, transform .4s; }
.it:hover .pic::before { opacity: 1; transform: scale(1.15); }
.it .pic img, .it .pic svg { position: relative; max-width: 82%; max-height: 120px; object-fit: contain; filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .5)); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.it:hover .pic img, .it:hover .pic svg { transform: scale(1.07) translateY(-3px); }
.it .scan { position: absolute; left: 0; right: 0; height: 40%; top: -40%; background: linear-gradient(transparent, color-mix(in srgb, var(--sig) 10%, transparent), transparent); pointer-events: none; }
.it:hover .scan { animation: scan 1.1s ease-out; }
@keyframes scan { to { top: 100%; } }
.it .body { padding: 0 14px 14px; display: flex; flex-direction: column; flex: 1; }
.it .nm { font-size: 13.5px; font-weight: 600; line-height: 1.35; min-height: 37px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.it .nm .stt { color: var(--warn); }
.it .ft { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.it .pr { font-family: var(--f-mono); font-size: 18px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.it .pr small { font-size: 10.5px; color: var(--text-3); margin-left: 3px; }
.it .ex { font-family: var(--f-mono); font-size: 11px; font-weight: 600; padding: 3px 6px; border: 1px solid var(--line-2); color: var(--text-2); }
.it::after { content: ""; position: absolute; inset: 0; border: 1.5px solid transparent; pointer-events: none; transition: border-color .2s; }
.it.sel { background: var(--panel-2); }
.it.sel::after { border-color: var(--sig); }
.it.sel .box { background: var(--sig); border-color: var(--sig); }
.it.sel .box svg { opacity: 1; }
.it.sel .pr { color: var(--sig-text); }
.sk { height: 300px; background: linear-gradient(100deg, var(--panel) 30%, var(--panel-3) 50%, var(--panel) 70%); background-size: 300% 100%; animation: sk 1.3s infinite; }
@keyframes sk { to { background-position: -150% 0; } }

/* Bitim paneli (pastda suzuvchi) */
.dock {
  position: fixed; left: 50%; bottom: 22px; z-index: 50; width: min(980px, calc(100% - 32px)); translate: -50% 160%;
  background: var(--text); color: var(--bg); transition: translate .45s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
}
.dock.show { translate: -50% 0; }
.dock-row { display: flex; align-items: center; gap: 20px; padding: 12px 12px 12px 22px; }
.stack { display: flex; flex: none; }
.stack div { width: 48px; height: 36px; margin-left: -14px; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--text); border-left: 3px solid var(--c); }
.stack div:first-child { margin-left: 0; }
.stack img, .stack svg { max-width: 40px; max-height: 28px; }
.stack .more { font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--text); border-left-color: var(--text); }
.dock .info { flex: 1; min-width: 0; }
.dock .info .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.dock .info .v { font-family: var(--f-mono); font-size: 26px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.dock .info .v small { font-size: 12px; opacity: .55; margin-left: 4px; }
.dock .tog { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--bg); opacity: .6; padding: 8px; }
.dock .tog:hover { opacity: 1; }
.dock .btn-sig { height: 56px; }
.dock-list { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2, .8, .2, 1); }
.dock.open .dock-list { max-height: 320px; overflow-y: auto; border-bottom: 1px solid rgba(0, 0, 0, .12); }
[data-theme="light"] .dock.open .dock-list { border-color: rgba(255, 255, 255, .12); }
.dl { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 32px; gap: 14px; align-items: center; padding: 8px 22px; border-bottom: 1px solid color-mix(in srgb, var(--bg) 12%, transparent); }
.dl .th { height: 34px; display: grid; place-items: center; background: var(--bg); border-left: 3px solid var(--c); }
.dl .th img, .dl .th svg { max-width: 42px; max-height: 26px; }
.dl .n { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl .p { font-family: var(--f-mono); font-size: 13px; font-weight: 600; }
.dl .x { width: 28px; height: 28px; display: grid; place-items: center; opacity: .5; }
.dl .x:hover { opacity: 1; }
.dl .x svg { width: 13px; stroke: currentColor; stroke-width: 2.4; fill: none; }

/* ---------- Kabinet ---------- */
.sub { display: flex; gap: 0; overflow-x: auto; border: 1px solid var(--line); margin-bottom: 22px; background: var(--panel); scrollbar-width: none; }
.sub a { flex: none; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); border-right: 1px solid var(--line); }
.sub a:hover { color: var(--text); background: var(--panel-3); }
.sub a.on { background: var(--text); color: var(--bg); }
.sub a .n { font-size: 10.5px; padding: 1px 5px; background: var(--sig); color: var(--sig-ink); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; align-items: start; }
.wallet { padding: 30px; position: relative; overflow: hidden; }
.wallet .v { font-family: var(--f-mono); font-size: clamp(40px, 5vw, 68px); font-weight: 500; letter-spacing: -.05em; line-height: 1; margin: 18px 0 8px; }
.wallet .v small { font-size: 16px; color: var(--text-3); margin-left: 8px; letter-spacing: 0; }
.wallet .glyph { position: absolute; right: -10px; top: -30px; font-family: var(--f-disp); font-weight: 900; font-size: 220px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); pointer-events: none; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.inp { height: 52px; padding: 0 16px; border: 1px solid var(--line-2); background: var(--bg-2); outline: none; width: 100%; font-family: var(--f-mono); font-size: 14px; transition: border-color .2s; }
.inp:focus { border-color: var(--sig); }
.meth { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.meth button { height: 50px; background: var(--bg-2); font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: var(--text-2); }
.meth button.on { background: var(--sig); color: var(--sig-ink); }
.rows .rw { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.rows .rw:last-child { border-bottom: 0; }
.rw .t { font-weight: 500; font-size: 14px; }
.rw .s { font-family: var(--f-mono); font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.amt { font-family: var(--f-mono); font-weight: 500; font-size: 15px; white-space: nowrap; text-align: right; }
.amt.up { color: var(--up); }
.st { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border: 1px solid currentColor; }
.st-pending { color: var(--warn); } .st-approved, .st-paid { color: var(--up); } .st-rejected { color: var(--down); } .st-cancelled { color: var(--text-3); }
.ord { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.ord:last-child { border-bottom: 0; }
.ord-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ord-top .code { font-family: var(--f-mono); font-size: 15px; font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.chip { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; background: var(--panel-3); border-left: 2px solid var(--c); font-size: 12px; max-width: 260px; }
.chip .th { width: 36px; height: 26px; display: grid; place-items: center; flex: none; }
.chip .th img, .chip .th svg { max-width: 34px; max-height: 24px; }
.chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip .p { font-family: var(--f-mono); color: var(--text-2); flex: none; }
.empty { padding: 70px 20px; text-align: center; }
.empty .gl { font-family: var(--f-disp); font-weight: 900; font-size: 90px; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.empty h4 { font-family: var(--f-disp); font-weight: 800; font-size: 28px; text-transform: uppercase; margin: 16px 0 6px; }
.empty p { color: var(--text-2); max-width: 420px; margin: 0 auto; line-height: 1.6; }
.empty .btn { margin-top: 22px; }
.who { display: flex; gap: 20px; align-items: center; padding: 26px; border-bottom: 1px solid var(--line); }
.who .ava { width: 84px; height: 84px; flex: none; background: var(--sig); color: var(--sig-ink); display: grid; place-items: center; font-family: var(--f-disp); font-weight: 900; font-size: 42px; overflow: hidden; }
.who .ava img { width: 100%; height: 100%; object-fit: cover; }
.who h2 { font-family: var(--f-disp); font-weight: 900; font-size: 40px; text-transform: uppercase; line-height: 1; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin-top: 10px; font-family: var(--f-mono); font-size: 12px; }
.kv dt { color: var(--text-3); } .kv dd { color: var(--text-2); }
.inner { padding: 24px 26px; }
.copy { display: flex; gap: 0; }
.copy .inp { border-right: 0; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 60px 1fr 30px; align-items: center; padding: 24px 24px 24px 0; font-size: 18px; font-weight: 600; }
.faq summary .i { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); padding-left: 24px; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 22px; color: var(--sig-text); text-align: right; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 26px 60px; color: var(--text-2); line-height: 1.75; max-width: 820px; }

.kpi { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--panel); margin-bottom: 22px; }
.kpi .fig { border-right: 1px solid var(--line); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 50px var(--pad) 120px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; max-width: 1680px; margin: 0 auto; }
.foot .big { font-family: var(--f-disp); font-weight: 900; font-size: clamp(60px, 9vw, 140px); line-height: .8; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }
.foot h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 500; }
.foot a { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--text-2); font-size: 14px; transition: color .2s; }
.foot a:hover { color: var(--sig-text); }
.foot a::before { content: "→"; font-family: var(--f-mono); color: var(--text-3); }
.foot .cp { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11.5px; color: var(--text-3); }

/* ---------- Toast & modal ---------- */
.toasts { position: fixed; right: 20px; top: 120px; z-index: 100; display: flex; flex-direction: column; gap: 8px; }
.toast { min-width: 260px; max-width: 380px; padding: 14px 18px; background: var(--panel-2); border: 1px solid var(--line-2); border-left: 3px solid var(--sig); font-size: 14px; line-height: 1.45; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); animation: tin .35s cubic-bezier(.2, .8, .2, 1); }
.toast.err { border-left-color: var(--down); }
.toast.out { opacity: 0; transform: translateX(20px); transition: .3s; }
@keyframes tin { from { opacity: 0; transform: translateX(30px); } }
.modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 20px; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(6px); }
.modal.open { display: grid; animation: vin .25s; }
.modal-card { width: min(560px, 100%); background: var(--panel); border: 1px solid var(--line-2); padding: 34px; animation: vin .35s cubic-bezier(.2, .8, .2, 1); }
.modal-card .mega { font-size: 52px; margin: 10px 0 12px; }
.code-box { display: flex; justify-content: space-between; align-items: center; margin: 22px 0; padding: 18px 20px; background: var(--sig); color: var(--sig-ink); }
.code-box span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.code-box b { font-family: var(--f-mono); font-size: 34px; font-weight: 600; letter-spacing: .14em; }
.olist { counter-reset: s; margin-bottom: 26px; }
.olist li { list-style: none; counter-increment: s; display: grid; grid-template-columns: 34px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-2); line-height: 1.55; font-size: 14.5px; }
.olist li::before { content: "0" counter(s); font-family: var(--f-mono); font-size: 12px; color: var(--sig-text); padding-top: 3px; }
.mrow { display: flex; gap: 10px; flex-wrap: wrap; }

.demo { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 6px 12px; border: 1px dashed var(--warn); color: var(--warn); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }

.mtabs { display: none; }

/* ---------- Moslashuvchanlik ---------- */
@media (max-width: 1180px) {
  .tabs a { padding: 0 10px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; }
  .hero-l { border-right: 0; padding-right: 0; }
  .hero-r { border-top: 1px solid var(--line); margin: 0 calc(var(--pad) * -1); }
  .split { grid-template-columns: 1fr; }
  .kpi { grid-template-columns: 1fr 1fr; }
  .kpi .fig:nth-child(2) { border-right: 0; }
  .kpi .fig:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .tabs { display: none; }
  .bar { height: 60px; gap: 12px; }
  .menu { top: 100px; right: 12px; left: 12px; width: auto; }
  .mtabs {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 48;
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mtabs a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 9px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); position: relative; }
  .mtabs a svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mtabs a.on { color: var(--sig-text); }
  .mtabs a.on::before { content: ""; position: absolute; top: -1px; left: 30%; right: 30%; height: 2px; background: var(--sig); }
  .dock { bottom: calc(70px + env(safe-area-inset-bottom)); }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .figs { width: 100%; }
  .fig { flex: 1; min-width: 0; padding: 14px 16px; }
  .fig .v { font-size: 20px; }
  .foot { grid-template-columns: 1fr 1fr; padding-bottom: 150px; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .acct .bal { padding: 0 10px; font-size: 13px; }
  .acct .bal small { display: none; }
  .bar-r { gap: 6px; }
  .figs { flex-wrap: wrap; }
  .fig:first-child { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .mtabs a { font-size: 8.5px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 2px; padding-right: 2px; }
  #themeBtn { display: none; }
  .logo .word { font-size: 22px; }
  .logo .mark { height: 34px; font-size: 25px; }
  .logo { gap: 9px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it .pic { height: 110px; }
  .it .pic img, .it .pic svg { max-height: 88px; }
  .it .nm { font-size: 12.5px; }
  .it .pr { font-size: 15px; }
  .it .ex { display: none; }
  .seg { width: 100%; } .seg button { flex: 1; padding: 0 8px; }
  .sort { flex: 1; }
  .dock-row { gap: 12px; padding: 10px 10px 10px 14px; }
  .dock .stack, .dock .tog { display: none; }
  .dock .info .v { font-size: 20px; }
  .dock .btn-sig { height: 50px; padding: 0 18px; }
  .meth { grid-template-columns: repeat(3, 1fr); }
  .nums .v { font-size: 20px; }
  .who h2 { font-size: 30px; }
  .faq summary { grid-template-columns: 44px 1fr 24px; font-size: 16px; }
  .faq summary .i { padding-left: 14px; }
  .faq details p { padding-left: 44px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ==========================================================
   404 yuklanish ekrani
   ========================================================== */
.splash {
  --p: 0; position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; overflow: hidden;
  background: var(--bg); color: var(--text);
  transition: clip-path .8s cubic-bezier(.76, 0, .24, 1);
  clip-path: inset(0 0 0 0);
  animation: spKill 0s 9s forwards; /* zaxira: JS ishlamasa ham ekran yopilmay qolmaydi */
}
@keyframes spKill { to { visibility: hidden; } }
.splash.out { clip-path: inset(0 0 100% 0); }
.splash.out .sp-core { transform: scale(1.12); opacity: 0; transition: transform .8s cubic-bezier(.76, 0, .24, 1), opacity .5s; }
.sp-grid { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, var(--line-2) 1px, transparent 0); background-size: 28px 28px; mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); }
.sp-core { position: relative; max-width: calc(100vw - 48px); display: flex; flex-direction: column; align-items: stretch; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.splash.go .sp-core { opacity: 1; transform: none; }
.sp-404 { position: relative; font-family: var(--f-disp); font-weight: 900; font-size: min(56vw, 46vh, 520px); line-height: .78; letter-spacing: -.02em; user-select: none; }
.sp-404 span { display: block; }
.sp-o { color: transparent; -webkit-text-stroke: 2px var(--line-2); }
.sp-f { position: absolute; inset: 0; color: var(--sig); clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0); filter: drop-shadow(0 0 40px color-mix(in srgb, var(--sig) 35%, transparent)); }
.sp-g { position: absolute; inset: 0; color: var(--down); mix-blend-mode: screen; opacity: 0; animation: spGlitch 2.4s steps(1) infinite .6s; }
@keyframes spGlitch {
  0%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: none; }
  8% { opacity: .85; clip-path: inset(18% 0 62% 0); transform: translateX(-10px); }
  10% { opacity: .85; clip-path: inset(64% 0 22% 0); transform: translateX(12px); }
  12% { opacity: 0; }
  56% { opacity: .7; clip-path: inset(40% 0 48% 0); transform: translateX(8px); }
  58% { opacity: 0; }
}
.sp-scan { position: absolute; left: -4%; right: -4%; height: 3px; top: calc((1 - var(--p)) * 100%); background: var(--sig); box-shadow: 0 0 24px 4px color-mix(in srgb, var(--sig) 60%, transparent); opacity: calc(1 - var(--p) * .9); }
.sp-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: clamp(16px, 3vh, 30px); font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.sp-name { color: var(--text-2); }
.sp-pct { color: var(--sig-text); font-size: 15px; font-weight: 600; }
.sp-bar { height: 2px; background: var(--line); margin-top: 12px; position: relative; overflow: hidden; }
.sp-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--sig); }
.sp-bar i.indet { width: 30%; animation: spInd 1.2s ease-in-out infinite; }
@keyframes spInd { from { left: -30%; } to { left: 100%; } }
.sp-log { margin-top: 12px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--text-3); }
.sp-corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--sig); opacity: .8; }
.sp-corner.tl { top: 22px; left: 22px; border-right: 0; border-bottom: 0; }
.sp-corner.tr { top: 22px; right: 22px; border-left: 0; border-bottom: 0; }
.sp-corner.bl { bottom: 22px; left: 22px; border-right: 0; border-top: 0; }
.sp-corner.br { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }

/* Telegram ichida */
.tg .foot .cp span:last-child { display: none; }
.tg body { user-select: none; -webkit-user-select: none; }
.tg input { user-select: text; -webkit-user-select: text; }
