/* Interactive Valkyrie demo — sample data only */
.vk-demo-page{padding-bottom:32px}
.vk-demo-page .vk-demo{width:min(100%,420px);margin:18px auto 0}
.vk-demo-back{padding-top:18px}
.vk-demo-back a{font-weight:700}

.vk-demo{
  background:#070c12;
  border:1px solid #456579;
  border-radius:28px;
  padding:10px 8px 12px;
  min-width:0;
  box-shadow:none;
}
.vk-demo-app{
  background:#080d14;
  color:#edf6fc;
  border-radius:20px;
  overflow:hidden;
  min-height:640px;
  height:680px;
  max-height:78vh;
  display:flex;
  flex-direction:column;
  font:15px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;
}
.vk-demo-body{flex:1;overflow:auto;padding:14px 14px 10px;-webkit-overflow-scrolling:touch}
.vk-demo-body::-webkit-scrollbar{width:6px}
.vk-demo-body::-webkit-scrollbar-thumb{background:#2a3d4f;border-radius:4px}

.vk-d-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.vk-d-top h2{font-size:1.45rem;letter-spacing:-.03em;margin:0 0 2px;color:#edf6fc}
.vk-d-top p{margin:0;color:#8fa0b3;font-size:.82rem}
.vk-d-icon{
  width:36px;height:36px;border-radius:50%;border:1px solid #314a63;
  background:#101a26;color:#edf6fc;display:grid;place-items:center;flex:none;
  padding:0;cursor:pointer;
}
.vk-d-banner{
  display:inline-block;margin:0 0 12px;padding:3px 8px;border-radius:999px;
  border:1px solid #456579;color:#65e5ee;font:650 10px/1.5 var(--mono),ui-monospace,monospace;
  letter-spacing:.08em;text-transform:uppercase;
}
.vk-d-alert{
  margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#2a1014;
  border:1px solid #7a3038;color:#ffd0d4;font-size:.9rem;
}
.vk-d-card{
  background:#121a26;border:1px solid #2a3d4f;border-radius:16px;
  padding:14px;margin:0 0 12px;
}
.vk-d-card h3{margin:0 0 6px;font-size:1.02rem}
.vk-d-card p{margin:0;color:#adbdcc;font-size:.92rem}
.vk-d-muted{color:#8fa0b3;font-size:.82rem}
.vk-d-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.vk-d-mode{flex:1;min-width:110px;min-height:44px;border-radius:12px;border:1px solid #314a63;
  background:#1a2330;color:#edf6fc;font-weight:700;cursor:pointer}
.vk-d-mode[aria-pressed=true]{background:#22c55e;border-color:#22c55e;color:#05240f}
.vk-d-mode[data-kind=manual][aria-pressed=true]{background:#2a3544;border-color:#65e5ee;color:#edf6fc}
.vk-d-mode:disabled{opacity:.45;cursor:not-allowed}
.vk-d-kill{
  display:block;width:100%;min-height:48px;margin-top:4px;border:0;border-radius:14px;
  background:#e44545;color:#fff;font-weight:800;letter-spacing:.04em;cursor:pointer;
}
.vk-d-kill[aria-pressed=true]{background:#7a1f1f}
.vk-d-tabs{display:flex;gap:0;background:#1a2330;border-radius:14px;padding:3px;margin:0 0 10px;overflow:auto}
.vk-d-tabs button{
  flex:1;border:0;background:transparent;color:#8fa0b3;font-weight:700;font-size:.85rem;
  min-height:36px;border-radius:11px;cursor:pointer;white-space:nowrap;padding:0 10px;
}
.vk-d-tabs button[aria-selected=true]{background:#3b82f6;color:#fff}
.vk-d-chips{display:flex;gap:8px;overflow:auto;margin:0 0 12px;padding-bottom:2px}
.vk-d-chips button{
  flex:none;border:1px solid #314a63;background:#101a26;color:#edf6fc;border-radius:999px;
  padding:6px 12px;font-weight:700;font-size:.82rem;cursor:pointer;
}
.vk-d-chips button[aria-pressed=true]{background:#2563eb;border-color:#2563eb}
.vk-d-pick{text-align:left;width:100%;cursor:pointer;display:block}
.vk-d-pick[data-side=buy]{border-color:#1f6a4a;background:linear-gradient(#0f1f1a,#121a26 40%)}
.vk-d-pick[data-side=sell]{border-color:#7a3038;background:linear-gradient(#1f1214,#121a26 40%)}
.vk-d-pick-hd{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.vk-d-pick-hd strong{font-size:1.15rem}
.vk-d-px{font-weight:800}
.vk-d-pills{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 8px}
.vk-d-pill{display:inline-block;border-radius:999px;padding:2px 8px;font:800 10px/1.6 var(--mono),ui-monospace,monospace;letter-spacing:.06em}
.vk-d-pill.buy,.vk-d-pill.good{background:#166534;color:#d1fae5}
.vk-d-pill.hot{background:#9a3412;color:#ffedd5}
.vk-d-pill.sell,.vk-d-pill.bad{background:#7f1d1d;color:#fee2e2}
.vk-d-pill.neutral{background:#334155;color:#e2e8f0}
.vk-d-bar{height:6px;border-radius:99px;background:#1f313f;overflow:hidden;margin:6px 0 10px}
.vk-d-bar>span{display:block;height:100%;background:#22c55e}
.vk-d-bar.cold>span{background:#ef4444}
.vk-d-ai{background:#152033;border-radius:10px;padding:10px 12px;margin:10px 0 8px}
.vk-d-ai strong{color:#93c5fd;font-size:.86rem}
.vk-d-news{width:100%;text-align:left}
.vk-d-news h3{font-size:.98rem;margin:6px 0}
.vk-d-note{margin-top:8px;font-size:.8rem;color:#8fa0b3}
.vk-d-chart{width:100%;height:220px;display:block}
.vk-d-legend{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 12px;color:#8fa0b3;font-size:.78rem}
.vk-d-legend i{display:inline-block;width:10px;height:3px;margin-right:4px;vertical-align:middle}
.vk-d-field{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #1e2d3c}
.vk-d-field:last-child{border-bottom:0}
.vk-d-field label{color:#adbdcc;font-size:.9rem}
.vk-d-field input[type=number]{
  width:88px;background:#0c1620;border:1px solid #314a63;border-radius:8px;
  color:#edf6fc;padding:6px 8px;font-weight:700;
}
.vk-d-toggle{appearance:none;width:42px;height:24px;border-radius:99px;background:#314a63;position:relative;cursor:pointer;border:0;flex:none}
.vk-d-toggle[aria-pressed=true]{background:#22c55e}
.vk-d-toggle::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s}
.vk-d-toggle[aria-pressed=true]::after{left:21px}
.vk-d-back{
  display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;
  color:#edf6fc;font-weight:700;cursor:pointer;padding:0;margin:0 0 8px;
}

.vk-demo-nav{
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  border-top:1px solid #24394a;background:#0b121a;padding:6px 2px 8px;
}
.vk-demo-nav button{
  border:0;background:transparent;color:#8fa0b3;font-size:10px;font-weight:700;
  display:grid;justify-items:center;gap:3px;padding:6px 0 2px;cursor:pointer;
}
.vk-demo-nav button[aria-current=page]{color:#65e5ee}
.vk-demo-nav svg{width:20px;height:20px}

@media(max-width:520px){
  .vk-demo{border-radius:24px;padding:8px 6px 10px}
  .vk-demo-app{min-height:600px;height:640px;border-radius:18px}
}

.vk-demo-page .studio-header{position:relative}
