/* ═══ WALLFORD dizayn tizimi ═══ */
:root {
  --bg: #0a0d13;
  --bg-2: #0e131c;
  --panel: #111723;
  --panel-2: #172031;
  --border: #1f2a3c;
  --border-2: #2a3850;
  --text: #e4e8f0;
  --muted: #8a94a8;
  --accent: #d4a64a;        /* brend: oltin */
  --accent-2: #e6bd66;
  --accent-soft: rgba(212,166,74,.12);
  --on-accent: #17110a;
  --link: #e2b85f;
  --green: #26a69a;
  --red: #ef5350;
  --orange: #ff9800;
  --radius: 12px;
  --head: "Manrope", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; }
body { background: radial-gradient(1200px 500px at 70% -10%, rgba(212,166,74,.06), transparent 60%), var(--bg); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(212,166,74,.35); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Menyu */
.nav { background: rgba(10,13,19,.82); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10; }
.nav .container { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 19px var(--head); color: #fff; letter-spacing: .2px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--accent); font-weight: 600; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { position: relative; color: var(--muted); font-weight: 500; font-size: 14px; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.03); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 2px;
  background: var(--accent); border-radius: 2px; }
.nav-right { display: flex; gap: 12px; align-items: center; }
.nav-right > a:not(.btn):not(.session-chip) { color: var(--muted); font-weight: 500; font-size: 14px; }
.nav-right > a:not(.btn):not(.session-chip):hover { color: #fff; text-decoration: none; }
.nav-right form { margin: 0; }
@media (max-width: 900px) {
  .nav .container { flex-wrap: wrap; height: auto; padding: 10px 20px; gap: 8px 16px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; }
  .nav-links a.active::after { bottom: -2px; }
}

/* Tugmalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--border-2);
  background: var(--panel-2); color: var(--text); padding: 9px 18px; border-radius: 9px; font: 600 14px Inter, sans-serif;
  cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { text-decoration: none; border-color: #3a4a66; background: #1c2740; }
.btn-primary { background: linear-gradient(180deg, var(--accent-2), var(--accent)); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: linear-gradient(180deg, #efc978, #dcae52); border-color: #e6bd66; }
.btn-ghost { background: transparent; }
.btn-lg { padding: 13px 28px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-link { background: none; border: none; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }

/* Asosiy qismlar */
main { padding: 32px 0 72px; min-height: calc(100vh - 300px); }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.2px; }
h1 { font-size: 32px; margin: 0 0 8px; color: #fff; font-weight: 800; }
h2 { font-size: 22px; margin: 0 0 14px; color: #fff; font-weight: 700; }
.sub { color: var(--muted); margin: 0 0 26px; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.015), transparent), var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; }
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
.section { margin-top: 44px; }
.eyebrow { display: inline-block; font: 700 12px Inter, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* Pastki qism */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); color: var(--muted); font-size: 14px; padding: 44px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand p { margin: 12px 0 0; max-width: 320px; line-height: 1.6; }
.foot-col h4 { margin: 0 0 12px; color: #fff; font: 700 13px var(--head); letter-spacing: .6px; text-transform: uppercase; }
.foot-col a { display: block; color: var(--muted); padding: 4px 0; }
.foot-col a:hover { color: #fff; text-decoration: none; }
.foot-risk { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 12px; line-height: 1.6; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; }

/* Hero */
.hero { padding: 40px 0 10px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.15; }
.hero p { color: var(--muted); font-size: 17px; }
.hero .actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero h1 { font-size: 30px; } }

/* Stats */
.stat .label { color: var(--muted); font-size: 13px; }
.stat .value { font-size: 26px; font-weight: 700; color: #fff; }
.stat .value.green { color: var(--green); }
.stat .value.red { color: var(--red); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; background: var(--panel-2); }
tr:last-child td { border-bottom: none; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--panel-2); }
.num { font-variant-numeric: tabular-nums; font-family: "JetBrains Mono", ui-monospace, monospace; }

/* Badges */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.buy { background: rgba(38,166,154,.15); color: var(--green); }
.badge.sell { background: rgba(239,83,80,.15); color: var(--red); }
.badge.win { background: rgba(38,166,154,.15); color: var(--green); }
.badge.loss { background: rgba(239,83,80,.15); color: var(--red); }
.badge.open { background: var(--accent-soft); color: var(--accent-2); }
.badge.limit { background: rgba(255,152,0,.15); color: var(--orange); }
.locked { color: var(--muted); filter: blur(4px); user-select: none; }
.lock-note { color: var(--muted); font-size: 13px; }

/* Forms */
.form-card { max-width: 420px; margin: 20px auto; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], select {
  width: 100%; padding: 10px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 15px; font-family: inherit; }
input:focus, select:focus { outline: none; border-color: var(--accent); }
.form-card .btn { width: 100%; margin-top: 20px; }
.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert.ok { background: rgba(38,166,154,.12); border: 1px solid rgba(38,166,154,.4); }
.alert.warn, .alert.error { background: rgba(239,83,80,.12); border: 1px solid rgba(239,83,80,.4); }

/* Pricing */
.plan { text-align: center; }
.plan .price { font-size: 30px; font-weight: 800; color: #fff; margin: 10px 0 2px; }
.plan .per { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; color: var(--muted); text-align: left; }
.plan li { padding: 5px 0; }
.plan li::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Levels */
.levels { display: grid; gap: 6px; }
.level { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 6px; background: var(--panel-2); }
.level.tp { border-left: 3px solid var(--green); }
.level.entry { border-left: 3px solid var(--accent); }
.level.limit { border-left: 3px solid var(--orange); }
.level.sl { border-left: 3px solid var(--red); }
#chart { width: 100%; height: 480px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
@media (max-width: 720px) { #chart { height: 360px; } }
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.muted { color: var(--muted); }
.disclaimer { color: var(--muted); font-size: 12px; margin-top: 24px; }
.nav-right a.btn-primary { color: var(--on-accent); }

/* Grafik terminali (TradingView uslubida) */
body:has(.terminal) main { padding-top: 14px; }
body:has(.terminal) .container { max-width: 1800px; }
.terminal { position: relative; display: grid; grid-template-columns: 1fr 44px; gap: 10px; height: calc(100vh - 150px); min-height: 560px; }
.tv-box { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--panel); min-width: 0; }
.tv-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-bottom: 1px solid var(--border); }
.tv-current { font-weight: 700; color: #fff; }
.tv-chart { flex: 1; min-height: 0; }
.side { display: flex; flex-direction: column; gap: 10px; min-height: 0;
  position: absolute; top: 48px; bottom: 8px; right: 62px; width: 290px; z-index: 5; }
.side .side-block { box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.terminal:fullscreen .side, .terminal.pseudo-fs .side { top: 56px; bottom: 16px; right: 70px; }
.side-block { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 0; }
.side-block.watch { flex: 1; }
.side-head { padding: 10px 12px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; color: #fff; }
.side-head input { padding: 6px 10px; font-size: 13px; }
.watch-list { overflow-y: auto; flex: 1; padding: 4px 0; }
.watch-group { padding: 10px 12px 4px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.watch-item { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 7px 12px; background: none; border: none;
  border-left: 3px solid transparent; color: var(--text); cursor: pointer; text-align: left; font-family: inherit; }
.watch-item:hover { background: var(--panel-2); }
.watch-item.active { background: var(--accent-soft); border-left-color: var(--accent); }
.w-name { font-weight: 600; font-size: 14px; }
.w-desc { font-size: 12px; color: var(--muted); }
.fibo-body { padding: 10px 12px; font-size: 13px; overflow-y: auto; max-height: 40vh; }
.levels.compact .level { padding: 4px 8px; font-size: 13px; }

/* To'liq ekran */
.terminal:fullscreen, .terminal.pseudo-fs { height: 100vh; width: 100vw; padding: 8px; background: var(--bg); }
.terminal.pseudo-fs { position: fixed; inset: 0; z-index: 1000; }

@media (max-width: 960px) {
  .terminal { grid-template-columns: 1fr; height: auto; }
  .tv-box { height: 70vh; min-height: 420px; }
  .side-block.watch { max-height: 360px; }
  .terminal:fullscreen .tv-box, .terminal.pseudo-fs .tv-box { height: 72vh; }
  .terminal:fullscreen, .terminal.pseudo-fs { overflow-y: auto; }
}
/* TradingView vidjeti konteynerni to'liq egallashi uchun */
.tv-chart { position: relative; }
.tv-chart > div, .tv-chart iframe { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }

/* O'ng ikonkalar paneli va yopiladigan bo'limlar */
.side.hidden, .side-block.hidden { display: none; }
.side-block.fibo.alone { flex: 1; }
.side-block.fibo.alone .fibo-body { max-height: none; }
.side-title { display: flex; justify-content: space-between; align-items: center; }
.panel-close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px; padding: 2px 6px; border-radius: 4px; }
.panel-close:hover { background: var(--panel-2); color: #fff; }
.rail { display: flex; flex-direction: column; gap: 6px; padding: 6px 4px; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius); }
.rail-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: none;
  border: none; border-radius: 6px; color: var(--muted); cursor: pointer; }
.rail-btn:hover { background: var(--panel-2); color: #fff; }
.rail-btn.active { background: var(--accent-soft); color: var(--accent-2); }
@media (max-width: 960px) {
  .terminal { grid-template-columns: 1fr; }
  .side { position: static; width: auto; }
  .rail { flex-direction: row; order: -1; justify-self: end; }
}

/* Kripto footprint */
body:has(.fp-layout) .container { max-width: 1800px; }
body:has(.fp-layout) main { padding-top: 16px; }
.fp-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.fp-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.seg { display: inline-flex; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.seg button { background: none; border: none; color: var(--muted); padding: 7px 12px; font: 600 13px Inter, sans-serif; cursor: pointer; }
.seg button:hover { color: #fff; background: var(--panel-2); }
.seg button.active { background: var(--accent); color: var(--on-accent); }
.step-label { cursor: pointer; padding: 0 8px; font-size: 12px; color: var(--muted); font-family: "JetBrains Mono", monospace; min-width: 120px; text-align: center; }
.fp-statsbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 8px 12px; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; border-bottom: none; font-size: 13px; }
.fp-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.fp-modebox b { color: #fff; }
.seg.disabled { opacity: .35; pointer-events: none; }
.fp-wrap { position: relative; height: calc(100vh - 250px); min-height: 460px; border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; background: #171b24; }
.fp-wrap canvas { display: block; cursor: grab; }
.fp-status { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: var(--panel-2);
  border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.fp-tip { position: absolute; display: none; pointer-events: none; background: #0f1218f0; border: 1px solid var(--border);
  border-radius: 6px; padding: 7px 10px; font-size: 12px; line-height: 1.5; font-family: "JetBrains Mono", monospace; z-index: 3; }
.fp-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 10px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -2px; margin-right: 4px; }
.lg.buy { background: rgba(38,166,154,.55); } .lg.sell { background: rgba(239,83,80,.55); } .lg.poc { border: 2px solid #ffca28; }
.buy-t { color: var(--green); } .sell-t { color: var(--red); }

/* Yangiliklar */
.news-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 600; }
.chip:hover { color: #fff; text-decoration: none; border-color: var(--muted); }
.chip.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip.toggle.active { background: rgba(239,83,80,.18); border-color: var(--red); color: #ff8a80; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .news-layout { grid-template-columns: 1fr; } }
.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.news-card.important { border-left: 3px solid var(--red); }
.news-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.news-time { color: var(--muted); margin-left: auto; }
.news-card h3 { margin: 10px 0 6px; font-size: 18px; color: #fff; line-height: 1.35; }
.news-summary { margin: 0 0 6px; color: var(--text); }
.news-orig { margin: 0; font-size: 13px; color: var(--muted); font-style: italic; }
.news-analysis { margin-top: 14px; padding: 12px 14px; background: var(--panel-2); border-radius: 8px; }
.na-title { font-weight: 700; color: #fff; margin-bottom: 6px; }
.na-reason { margin: 0 0 6px; font-size: 14px; }
.na-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 6px 0; }
.cur-chip, .pair-chip { padding: 3px 10px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.cur-chip.up, .pair-chip.buy { background: rgba(38,166,154,.15); color: var(--green); }
.cur-chip.down, .pair-chip.sell { background: rgba(239,83,80,.15); color: var(--red); }
.strength { font-size: 13px; color: var(--muted); margin-left: 4px; }
.strength b { color: #fff; }
.na-summary { margin: 10px 0 0; font-size: 14px; }
.news-link { display: inline-block; margin-top: 12px; font-size: 14px; }
.news-side { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow-y: auto; }
.cal-item { border-top: 1px solid var(--border); padding: 9px 0; font-size: 14px; }
.cal-item summary { cursor: pointer; list-style: none; line-height: 1.45; }
.cal-item summary::-webkit-details-marker { display: none; }
.cal-item.passed summary { opacity: .55; }
.cal-time { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--muted); margin-right: 4px; }
.imp { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }
.imp.high { background: var(--red); } .imp.medium { background: var(--orange); } .imp.low { background: #ffd54f; }
.cal-body { margin-top: 8px; padding: 10px 12px; background: var(--panel-2); border-radius: 8px; font-size: 13px; line-height: 1.6; }

/* Yangiliklar: kichik kartochkalar */
.nt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; align-content: start; }
.nt { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 12px 14px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer;
  transition: transform .15s ease, border-color .15s ease; }
.nt:hover, .nt:focus-visible { transform: translateY(-2px); border-color: var(--muted); outline: none; z-index: 20; }
.nt-head { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.nt-time { font-family: "JetBrains Mono", monospace; color: #fff; font-weight: 600; }
.nt-imp { margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: .5px; color: #ff8a80;
  background: rgba(239,83,80,.15); padding: 2px 7px; border-radius: 4px; }
.nt-title { margin: 0; font-size: 14px; line-height: 1.4; color: var(--text); font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nt-foot { margin-top: auto; display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.mini { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; }
.mini.up { color: var(--green); background: rgba(38,166,154,.14); }
.mini.down { color: var(--red); background: rgba(239,83,80,.14); }
.nt-side { margin-left: auto; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 4px; }
.nt-side.buy { background: var(--green); color: #0b1f1c; }
.nt-side.sell { background: var(--red); color: #2a0c0b; }

/* BUY: yashil, SELL: qizil rangda yonib-o'chib turadi */
@keyframes glowBuy { 0%, 100% { box-shadow: 0 0 0 1px rgba(38,166,154,.35), 0 0 6px rgba(38,166,154,.15); border-color: rgba(38,166,154,.45); }
                     50% { box-shadow: 0 0 0 1px rgba(38,166,154,.9), 0 0 22px rgba(38,166,154,.55); border-color: #26a69a; } }
@keyframes glowSell { 0%, 100% { box-shadow: 0 0 0 1px rgba(239,83,80,.35), 0 0 6px rgba(239,83,80,.15); border-color: rgba(239,83,80,.45); }
                      50% { box-shadow: 0 0 0 1px rgba(239,83,80,.9), 0 0 22px rgba(239,83,80,.55); border-color: #ef5350; } }
.nt.glow-buy { animation: glowBuy 2.2s ease-in-out infinite; }
.nt.glow-sell { animation: glowSell 2.2s ease-in-out infinite; }

/* Sichqoncha ustida: qisqa to'liq ma'lumot */
.nt-pop { position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 30; display: none;
  background: #1e2330; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.55); font-size: 13px; line-height: 1.5; cursor: default; }
.nt-pop p { margin: 6px 0 0; }
.nt-pop-hint { display: block; margin-top: 8px; color: var(--accent); font-weight: 600; }
@media (hover: hover) { .nt:hover .nt-pop { display: block; } }

/* Bosilganda ochiladigan oyna */
.nd-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(5,7,10,.72); backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.nd-overlay[hidden] { display: none; }
.nd-modal { position: relative; width: 100%; max-width: 1100px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.nd-close { position: absolute; top: 12px; right: 12px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text);
  width: 34px; height: 34px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.nd-close:hover { border-color: var(--muted); }
.nd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 860px) { .nd-grid { grid-template-columns: 1fr; } .nd-modal { padding: 18px; } }
.nd-side { display: flex; flex-direction: column; gap: 14px; }
.nd-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; margin-bottom: 10px; }
.nd-news h2 { font-size: 21px; line-height: 1.35; margin: 0 0 10px; }
.nd-news p { margin: 0 0 10px; line-height: 1.6; }
.nd-orig { color: var(--muted); font-style: italic; font-size: 13px; }
.nd-h { font-weight: 800; color: #fff; margin-bottom: 8px; font-size: 15px; }
.frame p { margin: 0 0 6px; line-height: 1.55; font-size: 14px; }
.pair-line.buy b { color: var(--green); } .pair-line.sell b { color: var(--red); }
.nd-skip { text-align: center; font-size: 12px; margin: 16px 0 0; }

/* Yashil ramka: paydo bo'lganda chizilib chiqadi */
.frame { position: relative; padding: 14px 16px; border-radius: 10px; background: rgba(38,166,154,.04);
  border: 1.5px solid transparent; opacity: 0; transform: translateY(8px); }
.frame.shown { animation: frameIn .45s ease forwards; }
@keyframes frameIn {
  0% { opacity: 0; transform: translateY(8px); border-color: transparent; box-shadow: none; }
  60% { opacity: 1; transform: none; border-color: rgba(38,166,154,.9); box-shadow: 0 0 18px rgba(38,166,154,.35); }
  100% { opacity: 1; transform: none; border-color: rgba(38,166,154,.75); box-shadow: 0 0 10px rgba(38,166,154,.18); } }
.frame.shown .cur-chip { opacity: 0; animation: chipIn .35s ease forwards; }
.frame.shown .cur-chip:nth-child(2) { animation-delay: .15s; } .frame.shown .cur-chip:nth-child(3) { animation-delay: .3s; }
.frame.shown .cur-chip:nth-child(4) { animation-delay: .45s; }
@keyframes chipIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
/* Yozilayotgan matn oxirida qalam */
.tw.writing::after { content: "✍️"; margin-left: 2px; font-size: .9em; animation: pen .5s ease-in-out infinite alternate; display: inline-block; }
@keyframes pen { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-2px) rotate(6deg); } }

@media (prefers-reduced-motion: reduce) {
  .nt.glow-buy, .nt.glow-sell { animation: none; }
  .nt.glow-buy { border-color: var(--green); } .nt.glow-sell { border-color: var(--red); }
  .frame, .frame.shown, .frame.shown .cur-chip { animation: none; opacity: 1; transform: none; border-color: rgba(38,166,154,.75); }
}

/* Yangilikdan keyingi narx harakati */
.nd-left { display: flex; flex-direction: column; gap: 14px; }
.oc-chart { height: 230px; margin: 8px 0 10px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.oc-moves { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.oc-move { font-size: 13px; padding: 4px 10px; border-radius: 6px; background: var(--panel-2); color: var(--muted); }
.oc-move b { color: var(--text); }
.oc-move.good { background: rgba(38,166,154,.14); } .oc-move.good b { color: var(--green); }
.oc-move.bad { background: rgba(239,83,80,.14); } .oc-move.bad b { color: var(--red); }
.verdict { font-weight: 600; }
.verdict.right { color: var(--green); } .verdict.wrong { color: var(--red); }
.oc-extra { font-size: 13px; }
.oc-note { font-size: 12px; margin: 4px 0 0; }
.nt-verdict { font-size: 12px; }

/* Savdo sessiyalari */
.session-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--text) !important;
  background: var(--panel-2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.session-chip:hover { text-decoration: none; border-color: var(--muted); }
.session-chip i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; animation: pulseDot 1.6s ease-in-out infinite; }
.session-chip.closed { color: var(--muted) !important; }
@keyframes pulseDot { 50% { opacity: .35; } }
@media (max-width: 720px) { .session-chip { display: none; } }
body:has(.ss-page) .container { max-width: 1600px; }
.ss-page { min-height: calc(100vh - 190px); display: flex; flex-direction: column; justify-content: center; }
.ss-title { text-align: center; margin: 0 0 36px; font-size: 32px; }
.ss-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 320px)); gap: 28px; justify-content: center; }
@media (max-width: 1420px) { .ss-grid { grid-template-columns: repeat(2, minmax(0, 320px)); } }
@media (max-width: 520px) { .ss-grid { grid-template-columns: minmax(0, 1fr); } }
.ss-box { aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border-radius: 18px; border: 2px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 30%, var(--panel)), color-mix(in srgb, var(--c) 8%, var(--panel)));
  opacity: .6; transition: opacity .3s, box-shadow .3s; }
.ss-box.open { opacity: 1; border-color: var(--c); box-shadow: 0 0 34px color-mix(in srgb, var(--c) 45%, transparent); }
.ss-city { font-size: 32px; font-weight: 800; color: #fff; }
.ss-time { font: 700 56px "JetBrains Mono", monospace; color: #fff; letter-spacing: 1px; }
.ss-status { font-size: 17px; font-weight: 700; color: var(--muted); }
.ss-box.open .ss-status { color: #fff; }
@media (max-width: 520px) { .ss-box { aspect-ratio: auto; padding: 30px 0; } .ss-time { font-size: 38px; } }

/* Kripto instrumentlar paneli */
.fp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px 44px; gap: 10px; }
.fp-layout.no-right { grid-template-columns: minmax(0, 1fr) 44px; }
.fp-layout.no-right .fp-right { display: none; }
.fp-main { min-width: 0; }
@media (max-width: 960px) {
  .fp-layout, .fp-layout.no-right { grid-template-columns: 1fr; }
  .cp-rail { flex-direction: row; order: -1; justify-self: end; }
  .fp-right { height: auto !important; }
  .cp { min-height: 360px; }
}
.cl-cols, .cl-item { display: grid; grid-template-columns: 1fr auto 62px; gap: 8px; align-items: center; }
.cl-cols { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; padding: 0 2px; }
.cl-cols span:nth-child(n+2) { text-align: right; }
.cl-list { flex: 1; overflow-y: auto; overflow-x: hidden; }
.cl-item { width: 100%; padding: 7px 12px; background: none; border: none; border-left: 3px solid transparent; color: var(--text);
  cursor: pointer; font-family: inherit; text-align: left; }
.cl-item:hover { background: var(--panel-2); }
.cl-item.active { background: var(--accent-soft); border-left-color: var(--accent); }
.cl-name b { font-size: 14px; } .cl-name small { color: var(--muted); font-size: 11px; margin-left: 1px; }
.cl-price { font: 500 12px "JetBrains Mono", monospace; text-align: right; }
.cl-chg { font: 600 12px "JetBrains Mono", monospace; text-align: right; color: var(--muted); }
.cl-chg.up { color: var(--green); } .cl-chg.down { color: var(--red); }
.cl-foot { font-size: 11px; padding: 8px 12px; border-top: 1px solid var(--border); }
#list-toggle.active { background: var(--accent); color: var(--on-accent); }
@media (max-width: 960px) { .fp-layout { grid-template-columns: 1fr; } .fp-side { height: 420px; min-height: 0; } }

/* WALLFORD grafigi */
.tv-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tv-chart[hidden] { display: none !important; }
.fl-overlay { pointer-events: none; overflow: hidden; z-index: 3; }
.fl-label { position: absolute; left: 0; top: 0; white-space: nowrap; font: 600 11px "JetBrains Mono", monospace;
  padding: 1px 6px; border-radius: 3px; will-change: transform; }
/* ".tv-chart > div" qoidasi (TradingView vidjeti uchun) sarlavhani butun grafikka cho'zmasin */
.tv-chart > .fl-legend { position: absolute !important; inset: auto !important; top: 8px !important; left: 10px !important;
  width: auto !important; height: auto !important; z-index: 4; font-size: 12px; color: var(--muted);
  background: rgba(19,23,34,.85); padding: 4px 10px; border-radius: 6px; pointer-events: none; }
.fl-legend b { color: #fff; }
.fl-lock { color: #ffca28; }
.tv-loading { position: static !important; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }

/* Grafik sozlamalari oynasi */
.tv-actions { display: flex; gap: 8px; }
.tv-actions [hidden] { display: none; }
.cs-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(5,7,10,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cs-overlay[hidden] { display: none; }
.cs-modal { width: 100%; max-width: 440px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.cs-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); color: #fff; font-size: 16px; }
.cs-x { background: none; border: none; color: var(--muted); font-size: 16px; cursor: pointer; }
.cs-x:hover { color: #fff; }
.cs-body { padding: 6px 18px 12px; max-height: 70vh; overflow-y: auto; }
.cs-sec { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.cs-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; gap: 10px; }
.cs-label { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--text); }
.cs-label input { width: 16px; height: 16px; accent-color: var(--accent); }
.cs-nochk { display: inline-block; width: 16px; }
.cs-colors { display: flex; align-items: center; gap: 6px; }
.cs-colors small { color: var(--muted); font-size: 11px; }
.cs-colors input[type=color] { width: 34px; height: 26px; padding: 0; border: 1px solid var(--border); border-radius: 5px; background: none; cursor: pointer; }
.cs-colors input[type=color]::-webkit-color-swatch-wrapper { padding: 2px; }
.cs-colors input[type=color]::-webkit-color-swatch { border: none; border-radius: 3px; }
.cs-foot { display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--border); }

/* Grafikni asl holatiga qaytarish tugmasi */
.pan-reset { position: absolute !important; inset: auto !important; right: 70px !important; bottom: 34px !important;
  width: auto !important; height: auto !important; z-index: 5; padding: 4px 10px; font: 600 12px Inter, sans-serif;
  color: var(--text); background: rgba(30,35,48,.9); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
.pan-reset:hover { border-color: var(--muted); color: #fff; }
.oc-chart { position: relative; }
.oc-chart .pan-reset { right: 64px !important; bottom: 30px !important; }
.oc-hint { font-size: 12px; margin: -4px 0 8px; }

/* ═══ Bosh sahifa ═══ */
.gold { color: var(--accent); }
.hx { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 36px 0 12px; }
@media (max-width: 960px) { .hx { grid-template-columns: 1fr; gap: 28px; padding-top: 12px; } }
.hx-title { font-size: 50px; line-height: 1.08; letter-spacing: -1px; margin: 0 0 18px; }
@media (max-width: 600px) { .hx-title { font-size: 34px; } }
.hx-lead { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 560px; margin: 0; }
.hx-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hx-points { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 14px; }
.hx-points li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 7px; }
.hx-card { background: linear-gradient(180deg, rgba(212,166,74,.06), rgba(255,255,255,.01) 40%), var(--panel);
  border: 1px solid var(--border); border-radius: 18px; padding: 20px 20px 16px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.hx-card-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 8px; }
.hx-price { font-size: 30px; font-weight: 600; color: #fff; }
.hx-change { font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 7px; background: var(--panel-2); color: var(--muted); }
.hx-change.up { color: var(--green); background: rgba(38,166,154,.12); }
.hx-change.down { color: var(--red); background: rgba(239,83,80,.12); }
.hx-chart { height: 260px; }
.hx-last { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border: 1px solid var(--border);
  border-radius: 16px; background: var(--panel); overflow: hidden; }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { padding: 24px 26px; border-right: 1px solid var(--border); }
.kpi:last-child { border-right: none; }
@media (max-width: 860px) { .kpi:nth-child(2) { border-right: none; } .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
.kpi-v { font: 800 34px var(--head); color: #fff; letter-spacing: -.5px; }
.kpi-l { color: var(--text); font-weight: 600; margin-top: 2px; }
.kpi-s { color: var(--muted); font-size: 13px; margin-top: 4px; }

.sec-title { font-size: 30px; margin: 0 0 22px; letter-spacing: -.4px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.sec-head .sec-title { margin-bottom: 18px; }
.sec-head > a { margin-bottom: 22px; font-weight: 600; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } }
.feat { display: block; padding: 24px; border-radius: 14px; background: var(--panel); border: 1px solid var(--border); color: var(--text);
  transition: border-color .2s, transform .2s, background .2s; }
.feat:hover { text-decoration: none; border-color: rgba(212,166,74,.45); transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(212,166,74,.05), transparent 60%), var(--panel); }
.feat svg { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--accent-soft); stroke: var(--accent);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin: 16px 0 6px; font-size: 18px; color: #fff; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step-c { padding: 24px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-2); position: relative; }
.step-n { font: 800 14px "JetBrains Mono", monospace; color: var(--accent); letter-spacing: 1px; }
.step-c h3 { margin: 10px 0 6px; color: #fff; font-size: 18px; }
.step-c p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.cta { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: 18px; border: 1px solid rgba(212,166,74,.35);
  background: radial-gradient(600px 200px at 0% 0%, rgba(212,166,74,.14), transparent 70%), var(--panel); }
.cta h2 { margin: 0 0 6px; font-size: 26px; }
.cta p { margin: 0; }

/* Tariflar va jadvallar (yangilangan) */
.plan { position: relative; }
.plan .price { font-family: var(--head); }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan.featured { border-color: rgba(212,166,74,.6); box-shadow: 0 0 0 1px rgba(212,166,74,.35) inset, 0 20px 50px rgba(0,0,0,.35); }
.plan-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.table-wrap { border-radius: 14px; }
th { background: var(--bg-2); }
tr.clickable:hover td { background: rgba(212,166,74,.04); }
input[type=text], input[type=email], input[type=password], input[type=number], select { border-radius: 9px; }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,166,74,.15); }

/* ═══ Kirish sahifasi (intro) ═══ */
html.intro-lock, html.intro-lock body { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(900px 500px at 50% 45%, #0f1a2e 0%, #070a10 60%, #04060a 100%);
  transition: opacity .8s ease, transform .8s cubic-bezier(.6,0,.3,1), filter .8s ease; }
.intro.leaving { opacity: 0; transform: scale(1.12); filter: blur(6px); pointer-events: none; }
.intro-grid { position: absolute; inset: -50%; opacity: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(600px) rotateX(58deg) translateY(10%);
  animation: gridIn 1.6s ease .1s forwards, gridMove 18s linear infinite; }
@keyframes gridIn { to { opacity: 1; } }
@keyframes gridMove { to { background-position: 0 560px, 0 0; } }
.intro-line { position: absolute; left: 0; right: 0; bottom: -2%; width: 100%; height: 30%; opacity: .5; }
.intro-line path { stroke-dasharray: 1800; stroke-dashoffset: 1800; filter: drop-shadow(0 0 8px rgba(212,166,74,.6));
  animation: drawLine 2.6s cubic-bezier(.4,0,.2,1) .3s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.intro-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; left: 50%; top: 46%; transform: translate(-50%,-50%) scale(.6);
  background: radial-gradient(circle, rgba(212,166,74,.22), rgba(59,130,246,.10) 45%, transparent 70%); opacity: 0;
  animation: glowIn 2s ease .4s forwards, glowPulse 5s ease-in-out 2.4s infinite; }
@keyframes glowIn { to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes glowPulse { 50% { transform: translate(-50%,-50%) scale(1.08); opacity: .8; } }
.intro-center { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; }
.intro-mark { width: 84px; height: 84px; opacity: 0; transform: scale(.3) rotate(-20deg);
  filter: drop-shadow(0 10px 40px rgba(212,166,74,.45)); animation: markIn .9s cubic-bezier(.2,1.6,.4,1) .2s forwards; }
@keyframes markIn { to { opacity: 1; transform: none; } }
.im-bar { stroke: #17110a; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 16; stroke-dashoffset: 16; }
.im-bar.b1 { animation: barUp .4s ease-out .8s forwards; }
.im-bar.b2 { animation: barUp .4s ease-out 1s forwards; }
.im-bar.b3 { animation: barUp .4s ease-out 1.2s forwards; }
@keyframes barUp { to { stroke-dashoffset: 0; } }
.intro-title { margin: 26px 0 0; display: flex; align-items: baseline; justify-content: center; gap: .28em; flex-wrap: wrap;
  font: 800 clamp(48px, 9vw, 112px)/1 var(--head); letter-spacing: -.02em; }
.it-bxe { display: inline-flex; color: #fff; }
.it-bxe i { font-style: normal; display: inline-block; opacity: 0; transform: translateY(40px) scale(.9); filter: blur(12px);
  animation: letterIn .8s cubic-bezier(.2,.9,.3,1.2) forwards; text-shadow: 0 0 40px rgba(255,255,255,.18); }
.it-bxe i:nth-child(1) { animation-delay: .7s; } .it-bxe i:nth-child(2) { animation-delay: .85s; } .it-bxe i:nth-child(3) { animation-delay: 1s; }
@keyframes letterIn { to { opacity: 1; transform: none; filter: blur(0); } }
.it-cap { font-weight: 600; opacity: 0; clip-path: inset(0 100% 0 0);
  background: linear-gradient(100deg, #b98a34 0%, #e8c170 30%, #fff4d2 45%, #e8c170 60%, #b98a34 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: capIn 1s cubic-bezier(.6,0,.2,1) 1.25s forwards, shimmer 3.2s linear 2.3s infinite; }
@keyframes capIn { to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.intro-tag { margin-top: 18px; color: var(--muted); font: 600 14px Inter, sans-serif; letter-spacing: 6px; text-transform: uppercase;
  opacity: 0; animation: fadeUp .8s ease 1.9s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* START tugmasi: ichi qora, chetlari yarim doira, atrofi ko'k neon kabi lipillab turadi */
.intro-start { margin-top: 46px; display: inline-flex; align-items: center; gap: 12px; padding: 16px 52px 16px 57px;
  border: 2px solid #3b82f6; border-radius: 999px; cursor: pointer; background: #030509; color: #e8f1ff;
  font: 800 17px Inter, sans-serif; letter-spacing: 5px; text-shadow: 0 0 10px rgba(96,165,250,.8);
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .8s cubic-bezier(.2,.9,.3,1) 2.3s forwards, neonFlicker 3.2s linear 3.1s infinite;
  transition: transform .2s ease, background .2s ease; }
.intro-start svg { width: 20px; height: 20px; fill: none; stroke: #93c5fd; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(96,165,250,.9)); transition: transform .2s; }
.intro-start:hover { transform: translateY(-2px) scale(1.04); background: #060a14; }
.intro-start:hover svg { transform: translateX(4px); }
.intro-start:focus-visible { outline: 3px solid #93c5fd; outline-offset: 5px; }
@keyframes neonFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    border-color: #60a5fa;
    box-shadow: 0 0 6px 1px rgba(96,165,250,.9), 0 0 22px 4px rgba(59,130,246,.65), 0 0 60px 10px rgba(37,99,235,.35), inset 0 0 14px rgba(59,130,246,.35); }
  20%, 24%, 55% {
    border-color: #1e3a8a;
    box-shadow: 0 0 2px 0 rgba(59,130,246,.3), 0 0 6px 0 rgba(37,99,235,.2), inset 0 0 4px rgba(59,130,246,.1); }
  70% {
    border-color: #93c5fd;
    box-shadow: 0 0 10px 2px rgba(147,197,253,1), 0 0 34px 8px rgba(59,130,246,.8), 0 0 80px 16px rgba(37,99,235,.45), inset 0 0 18px rgba(59,130,246,.45); } }

/* 1-bosqich: shior */
.intro-slogan { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 20px; font: 800 clamp(34px, 6.4vw, 84px)/1.12 var(--head); letter-spacing: -.02em; color: #fff;
  perspective: 900px; transition: transform 1.1s cubic-bezier(.7,0,.3,1), opacity 1.1s ease, filter 1.1s ease; }
.sl-line span { display: inline-block; opacity: 0; transform: translateY(30px); filter: blur(14px); animation: letterIn 1s cubic-bezier(.2,.9,.3,1) forwards; }
.sl-line:nth-child(1) span:nth-child(1) { animation-delay: .3s; }
.sl-line:nth-child(1) span:nth-child(2) { animation-delay: .55s; }
.sl-line:nth-child(1) span:nth-child(3) { animation-delay: .8s; }
.sl-line:nth-child(2) span:nth-child(1) { animation-delay: 1.05s; }
.sl-line:nth-child(2) span:nth-child(2) { animation-delay: 1.3s; }
.sl-dash { color: var(--muted); font-weight: 600; }
.sl-gold { background: linear-gradient(100deg, #b98a34 0%, #e8c170 30%, #fff4d2 45%, #e8c170 60%, #b98a34 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: letterIn 1s cubic-bezier(.2,.9,.3,1) forwards, shimmer 2.6s linear 1.6s infinite !important; }
.sl-line:nth-child(1) .sl-gold { animation-delay: .55s, 1.6s !important; }
.sl-line:nth-child(2) .sl-gold { animation-delay: 1.3s, 2s !important; }
.intro:not(.fonts) .intro-slogan, .intro:not(.fonts) .intro-slogan * { animation-play-state: paused !important; }
/* Shior chuqurlikka kirib ketadi */
.intro-slogan.out { transform: perspective(900px) translateZ(-1400px) scale(.9); opacity: 0; filter: blur(10px); pointer-events: none; }

/* 2-bosqich: shior ketgach boshlanadi (ungacha barcha animatsiyalar to'xtab turadi) */
.intro-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; }
.intro.phase2 .intro-stage { opacity: 1; transition: opacity .4s ease; }
.intro:not(.phase2) .intro-stage, .intro:not(.phase2) .intro-stage * { animation-play-state: paused !important; }
/* Logotip chuqurlikdan otilib chiqadi */
@keyframes markIn { 0% { opacity: 0; transform: perspective(600px) translateZ(-900px) rotate(-25deg); filter: blur(10px); }
  70% { opacity: 1; transform: perspective(600px) translateZ(60px) rotate(4deg); filter: blur(0); }
  100% { opacity: 1; transform: none; } }
.intro-mark { animation: markIn 1.1s cubic-bezier(.2,.9,.3,1) .2s forwards; }

/* Qo'shimcha: logotip ortidagi aylanuvchi nurlar va oltin zarrachalar */
.intro-rays { position: absolute; width: 900px; height: 900px; left: 50%; top: 44%; transform: translate(-50%,-50%); opacity: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(212,166,74,.07) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%); mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  animation: glowIn 2s ease .6s forwards, raysSpin 40s linear infinite; }
@keyframes raysSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.intro-dust { position: absolute; inset: 0; pointer-events: none; }
.intro-dust i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #f2d38a; opacity: 0;
  box-shadow: 0 0 6px rgba(242,211,138,.9); animation: dustFloat linear infinite; }
@keyframes dustFloat { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .8; } 85% { opacity: .5; }
  100% { opacity: 0; transform: translateY(-45vh) translateX(20px); } }

@media (prefers-reduced-motion: reduce) {
  .intro *, .intro { animation-duration: .01s !important; animation-delay: 0s !important; }
  .intro-start { animation: none; opacity: 1; transform: none; box-shadow: 0 0 24px rgba(59,130,246,.6); }
}

/* Menyudagi ochiladigan "Tahlil" ro'yxati */
.nav-dd { position: relative; display: flex; }
.nav-dd-btn { position: relative; display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer;
  color: var(--muted); font: 500 14px Inter, sans-serif; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav-dd-btn:hover, .nav-dd-btn.open { color: #fff; background: rgba(255,255,255,.03); }
.nav-dd-btn.active { color: #fff; }
.nav-dd-btn.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 2px; background: var(--accent); border-radius: 2px; }
@media (max-width: 900px) { .nav-dd-btn.active::after { bottom: -2px; } }
.nav-dd-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav-dd-btn.open svg { transform: rotate(180deg); }
.nav-dd-menu { position: fixed; z-index: 60; width: 300px; padding: 8px; display: flex; flex-direction: column; gap: 4px;
  background: #111723; border: 1px solid var(--border-2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.55);
  animation: ddIn .16s ease-out; }
.nav-dd-menu[hidden] { display: none; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-dd-menu a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.nav-dd-menu a:hover, .nav-dd-menu a:focus-visible { background: rgba(212,166,74,.08); text-decoration: none; outline: none; }
.nav-dd-menu a.current { background: var(--accent-soft); }
.nav-dd-menu svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--accent-soft); stroke: var(--accent);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-dd-menu b { display: block; color: #fff; font-size: 14px; }
.nav-dd-menu small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; line-height: 1.4; }

/* ═══ Kapital menejer ═══ */
.warn-t { color: var(--orange); }
.cm-grid { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
@media (max-width: 960px) { .cm-grid { grid-template-columns: 1fr; } }
.cm-form label { margin-top: 16px; }
.cm-form label:first-child { margin-top: 0; }
.cm-form input[type=range] { width: 100%; accent-color: var(--accent); }
.cm-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 2px; }
.cm-scale .ok { color: var(--green); }
.cm-row { display: flex; gap: 8px; }
.cm-row .btn { white-space: nowrap; }
.cm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cm-out { display: flex; flex-direction: column; gap: 16px; }
.cm-lot { text-align: center; padding: 30px 20px;
  background: radial-gradient(500px 160px at 50% 0%, rgba(212,166,74,.12), transparent 70%), var(--panel); border-color: rgba(212,166,74,.35); }
.cm-lot-v { font: 800 64px var(--head); color: #fff; letter-spacing: -1px; line-height: 1.1; margin: 6px 0; }
.cm-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cm-v { font: 700 26px var(--head); margin: 6px 0 2px; }
.cm-s { font-size: 13px; color: var(--muted); }
.cm-proj { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
@media (max-width: 860px) { .cm-proj { grid-template-columns: repeat(2, 1fr); } }
.cm-proj > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); }
.cm-proj b { font: 700 20px var(--head); }
.cm-proj small { color: var(--muted); font-size: 12px; }
.cm-chart { height: 260px; }
.cm-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 8px; }
.cm-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.cm-advice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 860px) { .cm-advice { grid-template-columns: 1fr; } }
.adv { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); border-left-width: 3px; }
.adv.good { border-left-color: var(--green); } .adv.warn { border-left-color: var(--orange); }
.adv.bad { border-left-color: var(--red); background: linear-gradient(90deg, rgba(239,83,80,.06), transparent 40%), var(--panel); }
.adv.info { border-left-color: var(--accent); grid-column: 1 / -1; }
.adv-t { font-weight: 700; color: #fff; }
.adv p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.risk-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.r-low { background: rgba(38,166,154,.15); color: var(--green); }
.r-mid { background: rgba(255,152,0,.15); color: var(--orange); }
.r-high { background: rgba(239,83,80,.15); color: var(--red); }
.cm-table td { vertical-align: top; }
.cm-note { white-space: normal; min-width: 280px; color: var(--muted); font-size: 13px; }
.cm-table tr.sel td { background: rgba(212,166,74,.07); }

/* Savdo xaritasi */
.map-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
@media (max-width: 960px) { .map-grid { grid-template-columns: 1fr; } }
.ladder { position: relative; min-height: 380px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); padding: 12px; }
.ladder-axis { position: absolute; left: 28px; top: 16px; bottom: 34px; width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--accent) 60%, var(--red)); border-radius: 2px; }
.lv { position: absolute; left: 20px; right: 12px; display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 8px;
  transform: translateY(-50%); font-size: 13px; }
.lv::before { content: ""; position: absolute; left: 3px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--bg-2); }
.lv-n { padding-left: 24px; font-weight: 800; font-size: 11px; letter-spacing: .5px; }
.lv-p { font-family: "JetBrains Mono", monospace; color: var(--text); }
.lv-m { font-weight: 700; text-align: right; }
.lv.tp::before { background: var(--green); } .lv.tp .lv-n, .lv.tp .lv-m { color: var(--green); }
.lv.entry::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(212,166,74,.25); } .lv.entry .lv-n { color: var(--accent); } .lv.entry .lv-m { color: #fff; }
.lv.sl::before { background: var(--red); } .lv.sl .lv-n, .lv.sl .lv-m { color: var(--red); }
.ladder-note { position: absolute; left: 12px; right: 12px; bottom: 10px; font-size: 11px; color: var(--muted); text-align: center; }
.tree-root { text-align: center; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(212,166,74,.45);
  background: radial-gradient(400px 100px at 50% 0%, rgba(212,166,74,.12), transparent 70%), var(--panel-2); position: relative; }
.root-t { font: 700 18px var(--head); color: #fff; }
.root-s { color: var(--muted); font-size: 13px; margin-top: 4px; }
.root-w { margin-top: 8px; color: var(--orange); font-size: 13px; }
.tree-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; position: relative; }
.tree-branches::before { content: ""; position: absolute; top: -26px; left: 25%; right: 25%; height: 14px;
  border: 2px solid var(--border-2); border-bottom: none; border-radius: 12px 12px 0 0; }
.tree-branches::after { content: ""; position: absolute; top: -26px; left: 50%; width: 2px; height: 0; }
@media (max-width: 700px) { .tree-branches { grid-template-columns: 1fr; } .tree-branches::before { display: none; } }
.branch { border-radius: 12px; padding: 14px 16px; border: 1px solid var(--border); background: var(--bg-2); }
.branch.up { border-top: 3px solid var(--green); } .branch.down { border-top: 3px solid var(--red); }
.branch-h { font-weight: 800; color: #fff; margin-bottom: 10px; }
.steps-v { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.steps-v li { position: relative; padding: 0 0 14px 34px; counter-increment: st; }
.steps-v li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font: 700 12px Inter, sans-serif; background: var(--panel-2); color: var(--text); border: 1px solid var(--border-2); }
.steps-v li::after { content: ""; position: absolute; left: 11px; top: 24px; bottom: 2px; width: 1px; background: var(--border-2); }
.steps-v li:last-child::after { display: none; }
.branch.up .steps-v li::before { border-color: rgba(38,166,154,.6); color: var(--green); }
.branch.down .steps-v li::before { border-color: rgba(239,83,80,.6); color: var(--red); }
.steps-v b { color: #fff; font-size: 14px; }
.steps-v p, .steps-v .st-d { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.loss-ladder { min-width: 0; width: 100%; margin-top: 6px; font-size: 12px; }
.loss-ladder th, .loss-ladder td { padding: 5px 6px; white-space: nowrap; }
.loss-ladder th { background: none; font-size: 10px; }
.loss-ladder tr.stop td { color: var(--red); background: rgba(239,83,80,.06); }

/* Maqsadga yo'l */
.goal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.goal-total { text-align: right; padding: 10px 16px; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(212,166,74,.35); }
.goal-total > b { font: 800 22px var(--head); color: var(--accent-2); }
.goal-total span { font-size: 13px; color: var(--muted); }
.goal-total span b { color: #fff; }
.goal-path { list-style: none; margin: 0; padding: 0; }
.goal-path li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 14px; }
.goal-path li::after { content: ""; position: absolute; left: 21px; top: 40px; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, rgba(212,166,74,.55), rgba(212,166,74,.15)); }
.goal-path li:last-child::after { display: none; }
.gp-dot { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 800 15px var(--head); color: var(--accent-2); background: var(--panel-2); border: 2px solid rgba(212,166,74,.55); z-index: 1; }
.gp-start .gp-dot { width: 20px; height: 20px; margin: 12px; background: var(--accent); border: none; }
.gp-goal .gp-dot { background: var(--accent); color: var(--on-accent); font-size: 18px; box-shadow: 0 0 20px rgba(212,166,74,.45); }
.gp-card { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-2); align-self: center; }
.gp-start .gp-card, .gp-goal .gp-card { background: none; border: none; padding-left: 0; }
.gp-goal .gp-card b { color: var(--accent-2); font: 800 18px var(--head); }
.gp-card.hot { border-color: rgba(239,83,80,.45); }
.gp-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gp-top b { color: #fff; font: 700 16px var(--head); }
.gp-gain { color: var(--green); font-weight: 700; }
.gp-grid { display: grid; grid-template-columns: repeat(6, auto); gap: 10px 22px; margin-top: 10px; }
@media (max-width: 1000px) { .gp-grid { grid-template-columns: repeat(3, auto); } }
@media (max-width: 560px) { .gp-grid { grid-template-columns: repeat(2, 1fr); } }
.gp-grid span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.gp-grid b { font-size: 14px; color: var(--text); white-space: nowrap; }
.gp-warn { margin: 10px 0 0; font-size: 13px; color: var(--orange); }

/* Kripto: o'ng tomondagi indikator panellari (Instrumentlar, Stakan, Lenta) */
.fp-right { display: flex; flex-direction: column; gap: 10px; height: calc(100vh - 250px + 38px); min-height: 498px; min-width: 0; }
.cp { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; }
.cp[hidden] { display: none; }
.cp-book { flex-grow: 1.35; }
.cp-list { min-height: 170px; }
.cp-tape { min-height: 150px; }
.cp-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.cp-head b { color: #fff; font-size: 14px; }
.cp-head .cp-sym { font-size: 12px; }
.cp-head select { margin-left: auto; width: auto; padding: 2px 6px; font-size: 12px; border-radius: 6px; }
.cp-head .panel-close { margin-left: auto; }
.cp-head select + .panel-close { margin-left: 0; }
.cp-empty { padding: 14px 12px; font-size: 13px; }
.ob-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 5px 12px; font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .4px; border-bottom: 1px solid var(--border); }
.ob-cols span:nth-child(n+2) { text-align: right; }
.ob-body, .tp-body { flex: 1; min-height: 0; overflow: hidden; font: 500 12px "JetBrains Mono", monospace; }
.ob-row { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 1px 12px; line-height: 18px; }
.ob-row i { position: absolute; right: 0; top: 1px; bottom: 1px; }
.ob-row.ask i { background: rgba(239,83,80,.16); } .ob-row.bid i { background: rgba(38,166,154,.16); }
.ob-row span { position: relative; }
.ob-row .ob-q, .ob-row .ob-v { text-align: right; }
.ob-row.ask .ob-p { color: var(--red); } .ob-row.bid .ob-p { color: var(--green); }
.ob-row .ob-v { color: var(--muted); }
.ob-row.wall { font-weight: 700; }
.ob-row.wall.ask i { background: rgba(239,83,80,.4); } .ob-row.wall.bid i { background: rgba(38,166,154,.4); }
.ob-row.wall .ob-q { color: #fff; }
.ob-mid { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 12px; margin: 2px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.ob-mid b { font-size: 15px; color: #fff; } .ob-mid.up b { color: var(--green); } .ob-mid.down b { color: var(--red); }
.ob-mid span { font-size: 11px; color: var(--muted); }
.cp-foot { padding: 7px 12px 9px; border-top: 1px solid var(--border); font-size: 12px; }
.ob-ratio { height: 5px; border-radius: 3px; background: rgba(239,83,80,.55); overflow: hidden; }
.ob-ratio i { display: block; height: 100%; background: var(--green); transition: width .4s; }
.ob-ratio-t { display: flex; justify-content: space-between; gap: 6px; margin-top: 5px; font-weight: 600; font-size: 11px; white-space: nowrap; }
.tp-cols { grid-template-columns: 1.1fr 1.1fr .8fr .8fr; }
.tp-row { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr .8fr; padding: 0 12px; line-height: 18px; }
.tp-row span:nth-child(n+2) { text-align: right; }
.tp-row .tp-t { color: var(--muted); }
.tp-row.buy .tp-p { color: var(--green); } .tp-row.sell .tp-p { color: var(--red); }
.tp-row .tp-v { color: var(--muted); }
.tp-row.big { font-weight: 700; }
.tp-row.big.buy { background: rgba(38,166,154,.18); } .tp-row.big.sell { background: rgba(239,83,80,.18); }
.tp-row.big .tp-v, .tp-row.big .tp-q { color: #fff; }
.cp-rail { align-self: stretch; }

/* Forex: yangi indikator panellari (Valyuta kuchi, Yangiliklar oqimi, Kalendar) */
.side-block.sb-dyn { flex: 1 1 0; min-height: 150px; }
.sb-body { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 12px; }
.sb-foot { padding: 8px 12px; border-top: 1px solid var(--border); font-size: 12px; line-height: 1.5; }
.sb-seg { margin-left: auto; margin-right: 4px; }
.sb-seg button { padding: 3px 8px; font-size: 11px; }
.st-row { display: grid; grid-template-columns: 92px 1fr 56px; align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; }
.st-c b { color: #fff; font-size: 13px; } .st-c small { display: block; color: var(--muted); font-size: 10px; line-height: 1.2; }
.st-bar { position: relative; height: 8px; background: var(--panel-2); border-radius: 4px; }
.st-bar::before { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--border-2); }
.st-bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.st-bar i.up { left: 50%; background: var(--green); } .st-bar i.down { right: 50%; background: var(--red); }
.st-v { text-align: right; font: 600 12px "JetBrains Mono", monospace; }
.nw-item { display: block; padding: 8px 0 8px 10px; border-bottom: 1px solid var(--border); border-left: 2px solid var(--border-2); color: var(--text); }
.nw-item:hover { text-decoration: none; background: rgba(255,255,255,.02); }
.nw-item.buy { border-left-color: var(--green); } .nw-item.sell { border-left-color: var(--red); }
.nw-meta { display: block; font-size: 11px; color: var(--muted); }
.nw-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.4; margin: 2px 0 4px; }
.nw-sig { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 4px; }
.nw-sig.buy { background: rgba(38,166,154,.15); color: var(--green); } .nw-sig.sell { background: rgba(239,83,80,.15); color: var(--red); }
.cal-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: 13px; }
.cal-row:hover { text-decoration: none; }
.cal-row .imp { margin-top: 5px; }
.cal-row.passed { opacity: .5; }
.cal-main b { color: #fff; } .cal-main small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.cal-left { font: 600 11px "JetBrains Mono", monospace; color: var(--accent-2); white-space: nowrap; }

/* Forex: "Barcha panellar" rejimi — panellar grafik ostida yonma-yon */
.rail-sep { display: block; height: 1px; margin: 2px 6px; background: var(--border-2); }
.terminal.dock { height: auto; grid-template-rows: calc(100vh - 150px) auto; }
.terminal.dock .tv-box { min-height: 560px; }
.terminal.dock .side { position: static; width: auto; grid-column: 1 / -1; grid-row: 2;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.terminal.dock .side.hidden { display: none; }
.terminal.dock .side-block, .terminal.dock .side-block.sb-dyn, .terminal.dock .side-block.watch { height: 380px; min-height: 0; flex: none; }
.terminal.dock .side .side-block { box-shadow: none; }
.terminal.dock .fibo-body { max-height: none; }
.terminal.dock .rail { grid-row: 1; grid-column: 2; align-self: stretch; }
.terminal.dock:fullscreen, .terminal.dock.pseudo-fs { overflow-y: auto; grid-template-rows: calc(100vh - 24px) auto; }
@media (max-width: 960px) {
  .terminal.dock { grid-template-rows: auto; }
  .terminal.dock .side { grid-row: auto; grid-column: auto; }
  .terminal.dock .rail { grid-row: auto; grid-column: auto; }
}

/* Kripto: TradingView rejimi va to'liq ekran */
.mode-hidden { display: none !important; }
.cr-tv { position: relative; height: calc(100vh - 212px); min-height: 498px; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--panel); }
.cr-tv[hidden] { display: none; }
.cr-tv .tv-loading { height: 100%; }
.fp-layout:fullscreen, .fp-layout.pseudo-fs { background: var(--bg); padding: 8px; height: 100vh; }
.fp-layout.pseudo-fs { position: fixed; inset: 0; z-index: 1000; }
.fp-layout:fullscreen .fp-right, .fp-layout.pseudo-fs .fp-right,
.fp-layout:fullscreen .cr-tv, .fp-layout.pseudo-fs .cr-tv { height: calc(100vh - 16px); }
.fp-layout:fullscreen .fp-wrap, .fp-layout.pseudo-fs .fp-wrap { height: calc(100vh - 16px - 40px); }
