:root {
  --background: 0 0% 0%;
  --foreground: 0 0% 100%;
  --muted-foreground: 0 0% 65%;
  --card: 0 0% 5%;
  --border-hsl: 0 0% 20%;
  --hero-subtitle: 210 17% 95%;
  --bg: hsl(0 0% 0%);
  --bg-elevated: hsl(0 0% 5%);
  --bg-hover: hsl(0 0% 8%);
  --border: hsl(0 0% 20%);
  --text: hsl(0 0% 100%);
  --text-muted: hsl(0 0% 65%);
  --accent: hsl(0 0% 100%);
  --accent-dim: rgba(255, 255, 255, 0.08);
  --up: #0ecb81;
  --down: #f6465d;
  --radius: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --bp-sm: 640px;
  --bp-md: 900px;
  --bp-lg: 960px;
  --scene-pad-x: 16px;
  --scene-pad-top: 12px;
  --top-nav-height: 60px;
  --raiders-scroll-size: 8px;
  --raiders-scroll-track: rgba(255, 255, 255, 0.06);
  --raiders-scroll-thumb-start: rgba(255, 255, 255, 0.35);
  --raiders-scroll-thumb-end: hsl(0 0% 85%);
  --raiders-scroll-thumb-hover-start: rgba(255, 255, 255, 0.55);
  --raiders-scroll-thumb-hover-end: hsl(0 0% 100%);
}

@font-face {
  font-family: "DSEG7 Classic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/dseg7-classic@5.3.0/latin-700-normal.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/fontsource/fonts/dseg7-classic@5.3.0/latin-700-normal.woff") format("woff");
}

* {
  box-sizing: border-box;
}

.flex-wrap-gap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.flex-fill {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
}

/* Default app scrollbar: thin track, rounded white-muted thumb. */
.raiders-scroll {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--raiders-scroll-thumb-end) transparent;
}

.raiders-scroll::-webkit-scrollbar {
  width: var(--raiders-scroll-size);
  height: var(--raiders-scroll-size);
}

.raiders-scroll::-webkit-scrollbar-track {
  background: var(--raiders-scroll-track);
  border-radius: 999px;
}

.raiders-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--raiders-scroll-thumb-start) 0%,
    var(--raiders-scroll-thumb-end) 100%
  );
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

.raiders-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    var(--raiders-scroll-thumb-hover-start) 0%,
    var(--raiders-scroll-thumb-hover-end) 100%
  );
  background-clip: padding-box;
}

@media (max-width: 900px) {
  .flex-stack-md {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .flex-stack-sm {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .hide-md {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .hide-sm {
    display: none !important;
  }
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

html[lang="zh-CN"] body {
  font-family: Inter, "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.font-serif,
.home-heading-italic {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.app {
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  position: relative;
}

.app--home {
  overflow-y: auto;
  overflow-x: hidden;
}

.page-view {
  flex: 1;
  min-height: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.page-view.active {
  display: flex;
}

.demo-top-nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  margin-bottom: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  z-index: 100;
}

.demo-top-nav.hidden {
  display: none;
}

.ops-moved-banner {
  position: fixed;
  left: 32px;
  right: 32px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 14px;
  background: hsl(0 0% 8%);
  border: 1px solid hsl(0 0% 22%);
  color: hsl(0 0% 80%);
  font-size: 13px;
}

.ops-moved-banner.hidden { display: none; }

.dev-tools-nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  margin-bottom: 10px;
  background: rgba(18, 22, 28, 0.96);
  border: 1px solid rgba(240, 185, 11, 0.28);
  border-radius: var(--radius);
}

.dev-tools-nav.hidden {
  display: none;
}

.dev-tools-nav-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dev-tools-nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

.dev-tools-nav-note {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.dev-tools-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.dev-tools-nav-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 7px 12px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.dev-tools-nav-btn:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
}

.dev-tools-nav-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.dev-tools-hub {
  margin: 0 20px 20px;
  padding: 32px 28px 40px;
}

.dev-tools-hub-note {
  margin: 10px 0 24px;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.dev-tools-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  max-width: 720px;
}

.dev-tools-hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.dev-tools-hub-card:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
}

.dev-tools-hub-card.active {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.dev-tools-hub-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.dev-tools-hub-card-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.demo-top-nav-brand {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  padding: 0;
  margin: 0;
}

.brand-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.brand-beta-badge {
  position: absolute;
  top: 0.05rem;
  right: -0.15rem;
  transform: translate(42%, -18%);
  padding: 0;
  background: none;
  border: none;
  color: #53fc18;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: none;
}

.home-brand-logo {
  display: block;
  height: clamp(72px, 14vw, 104px);
  width: auto;
  max-width: min(420px, 92vw);
  margin: 0 auto 18px;
  object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.55));
}

.demo-top-nav-brand--back {
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 10px;
  margin: -6px -10px;
  transition: color 0.15s, background 0.15s;
}

.demo-top-nav-brand--back:hover {
  color: var(--accent);
  background: var(--bg-hover);
}

.demo-top-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.demo-top-nav-links.hidden {
  display: none;
}

.demo-top-nav-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.demo-top-nav-tools.hidden {
  display: none;
}

.demo-top-nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.demo-top-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.demo-top-nav-actions.hidden {
  display: none;
}

.nav-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font: inherit;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.nav-circle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.nav-circle-btn:active {
  transform: scale(0.96);
}

.nav-circle-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-circle-btn--refresh.is-spinning .nav-circle-btn-icon {
  animation: navRefreshSpin 0.85s linear infinite;
}

@keyframes navRefreshSpin {
  to {
    transform: rotate(360deg);
  }
}

.nav-circle-btn-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.nav-circle-btn--lang {
  overflow: visible;
}

.nav-lang-flags {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
}

.nav-lang-text {
  position: absolute;
  font-size: 0.5625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.nav-lang-text--cn {
  top: 3px;
  left: 3px;
}

.nav-lang-text--eng {
  right: 2px;
  bottom: 3px;
  font-size: 0.5rem;
  letter-spacing: 0.01em;
}

.nav-circle-btn--lang.is-lang-zh .nav-lang-text--cn {
  color: var(--accent);
}

.nav-circle-btn--lang:not(.is-lang-zh) .nav-lang-text--eng {
  color: var(--accent);
}

.nav-lang-divider {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) rotate(-45deg);
  pointer-events: none;
}

.nav-circle-btn-icon {
  width: 18px;
  height: 18px;
}

.module-side-nav {
  --module-side-nav-width: 188px;
  position: fixed;
  top: var(--top-nav-height, 60px);
  left: 0;
  bottom: 0;
  z-index: 90;
  width: var(--module-side-nav-width);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.85rem 0.65rem 1rem;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.82) 0%, rgba(8, 10, 14, 0.52) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: auto;
}

.module-side-nav.hidden {
  display: none;
}

.module-side-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
}

.module-side-nav-item svg,
.module-side-nav-letter {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.module-side-nav-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.module-side-nav-label {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.module-side-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.98);
}

.module-side-nav-item.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: hsl(0 0% 20%);
  color: hsl(0 0% 100%);
}

.module-side-nav-item--locked {
  opacity: 0.4;
}

.module-side-nav-footer {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.module-side-nav-item--account.is-signed-in {
  border-color: hsl(0 0% 20%);
  color: hsl(0 0% 100%);
}

.demo-top-nav-tools .last-updated {
  white-space: nowrap;
}

.demo-nav-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 10px;
  transition: opacity 0.15s, background 0.15s;
}

.demo-nav-btn:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
}

.demo-nav-btn.active {
  background: transparent;
  border-color: transparent;
  color: var(--text);
  opacity: 1;
}

.page-home {
  position: relative;
  gap: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
  flex: 1;
  min-height: 0;
}

.home-hero-section {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.home-prism-background {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  background: #000;
}

.home-prism-background .prism-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-prism-background canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  image-rendering: auto;
}

.font-playfair {
  font-family: "Playfair Display", Georgia, serif;
}

.home-universe {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, #030508 0%, #060912 35%, #020204 100%);
  pointer-events: none;
}

.home-universe--base {
  z-index: 10;
}

.home-reveal-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.home-universe--reveal {
  z-index: 1;
}

.home-spotlight-canvas {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}

.home-universe-photo--reveal {
  opacity: 1;
  filter: brightness(1.1) contrast(1.04);
}

.home-universe-deep {
  position: absolute;
  inset: 0;
  background: #000;
}

.home-universe-deep--reveal {
  filter: brightness(1.08);
}

.home-universe-planet {
  display: none;
}

.home-universe-planet--reveal {
  opacity: 0.95;
  filter: brightness(1.15);
}

@keyframes home-planet-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-1.2%, 0.8%); }
}

.home-station-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 12% 9% at 52% 47%, rgba(196, 140, 70, 0.09) 0%, transparent 72%);
  animation: home-station-glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.home-station-glow--reveal {
  opacity: 1.35;
}

@keyframes home-station-glow-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

.home-universe-shade--reveal {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.home-universe-glow--reveal {
  opacity: 0.45;
}

.home-universe-stars--reveal {
  opacity: 1;
}

.home-universe-photo {
  position: absolute;
  inset: 0;
  background: url("assets/home-station-framework-profile.png") 42% 46% / cover no-repeat;
  opacity: 1;
  animation: home-station-intro 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, home-station-drift 52s ease-in-out 1.8s infinite alternate;
}

@keyframes home-station-intro {
  from { transform: scale(1.08); opacity: 0.75; }
  to { transform: scale(1.01); opacity: 1; }
}

.home-universe-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.22) 100%);
}

.home-universe-glow {
  display: none;
}

.home-universe-stars {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background-repeat: repeat;
}

.home-universe-stars--1 {
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1px 1px at 25% 42%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 48% 8%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 62% 28%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 78% 55%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 92% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 15% 72%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 35% 88%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 55% 68%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 88% 82%, rgba(255, 255, 255, 0.7), transparent);
  background-size: 420px 320px;
  animation: home-stars-twinkle 6s ease-in-out infinite;
}

.home-universe-stars--2 {
  background-image:
    radial-gradient(1px 1px at 8% 32%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 18% 58%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 42% 22%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 58% 48%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 72% 12%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 84% 38%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 28% 78%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 68% 88%, rgba(255, 255, 255, 0.8), transparent);
  background-size: 520px 400px;
  animation: home-stars-twinkle 9s ease-in-out infinite reverse;
  opacity: 0.7;
}

.home-universe-stars--3 {
  display: none;
}

.home-universe-vignette {
  display: none;
}

@keyframes home-station-drift {
  from { transform: scale(1.02) translate(0, 0); }
  to { transform: scale(1.06) translate(-0.35%, -0.2%); }
}

@keyframes home-nebula-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, -2%) scale(1.08); }
}

@keyframes home-stars-twinkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes home-stars-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-24px); }
}

.home-content {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.home-content--products .home-hero-ui {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.home-hero-section--products .home-prism-background {
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

.home-hero-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-product-panel {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14% 1.5rem 3rem;
  overflow-x: auto;
  overflow-y: auto;
  pointer-events: auto;
}

.home-product-panel.hidden {
  display: none;
}

.home-product-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
  width: min(100%, 96vw);
  max-width: 1280px;
}

.home-product-grid .home-product-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 18rem;
  padding: 1.65rem 1rem 1.35rem;
}

.home-product-grid--single {
  display: grid;
  grid-template-columns: 1fr;
  width: min(420px, 88%);
  max-width: 420px;
}

.home-product-grid--single .home-product-card {
  flex: none;
  min-width: auto;
  min-height: 21rem;
  padding: 2.25rem 1.25rem 2rem;
}

.home-product-list-group {
  margin-bottom: 0.75rem;
}

.home-product-list-group::before {
  content: none;
}

.home-product-list-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.home-product-sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-product-sublist li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.home-product-sublist li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: rgba(240, 185, 11, 0.75);
  font-weight: 700;
}

.home-product-card {
  position: relative;
  min-height: 21rem;
  padding: 2.25rem 1.25rem 2rem;
  background: hsl(0 0% 5%);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.home-product-card--with-action {
  display: flex;
  flex-direction: column;
}

.home-product-card-footer {
  margin-top: auto;
  padding-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.home-price-subscribe-btn {
  min-width: 7.5rem;
  padding: 0.7rem 1.75rem;
  border: none;
  border-radius: 999px;
  background: hsl(0 0% 100%);
  color: hsl(0 0% 0%);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.15s;
}

.home-price-subscribe-btn:hover {
  opacity: 0.9;
}

.home-price-subscribe-btn:focus-visible {
  outline: 2px solid hsl(0 0% 100%);
  outline-offset: 2px;
}

.home-product-title {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.home-product-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-product-list li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.home-product-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: hsl(0 0% 65%);
  font-weight: 700;
}

.home-product-disclaimer {
  margin: 1.15rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(200, 210, 230, 0.58);
}

.home-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  z-index: 52;
  max-width: min(42vw, 22rem);
}

.home-heading-title {
  margin: 0;
  color: #fff;
  line-height: 0.95;
}

.home-heading-line {
  display: block;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.08em;
}

.home-heading-line--display {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.home-heading-line + .home-heading-line {
  margin-top: -0.06em;
}

.home-blurb-left {
  display: none;
  position: absolute;
  bottom: 3.5rem;
  left: 2.5rem;
  max-width: 260px;
}

.home-blurb-left p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.home-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  flex-shrink: 0;
  background: linear-gradient(to top, rgba(2, 4, 8, 0.85), transparent);
}

.home-footer-meta {
  display: flex;
  align-items: flex-end;
  min-height: 3.5rem;
  padding: 0 2.5rem 1rem;
  pointer-events: none;
}

.home-footer-copy,
.home-footer-credit {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(200, 210, 230, 0.55);
}

.home-footer-copy {
  flex: 1;
}

.home-footer-credit {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  white-space: nowrap;
}

.home-footer p {
  color: rgba(200, 210, 230, 0.65);
}

@keyframes heroReveal {
  0% { opacity: 0; transform: translateY(28px); filter: blur(12px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroZoom {
  0% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.hero-anim {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-reveal {
  animation-name: heroReveal;
  animation-duration: 1.1s;
}

.hero-fade {
  animation-name: heroFadeUp;
  animation-duration: 1s;
}

.hero-zoom {
  animation: heroZoom 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.app--home {
  padding: 0;
  min-height: 100dvh;
}

.page-board {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
}

.board-hero-section {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.board-scene-content {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.corner-frame {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(255, 255, 255, 0.72);
  transition: border-color 0.15s ease;
  pointer-events: none;
}

.corner-frame--tl {
  top: 0;
  left: 0;
  border-top: 1.5px solid;
  border-left: 1.5px solid;
}

.corner-frame--tr {
  top: 0;
  right: 0;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
}

.corner-frame--bl {
  bottom: 0;
  left: 0;
  border-bottom: 1.5px solid;
  border-left: 1.5px solid;
}

.corner-frame--br {
  bottom: 0;
  right: 0;
  border-bottom: 1.5px solid;
  border-right: 1.5px solid;
}

.app--alpha .zone:hover .corner-frame {
  border-color: rgba(240, 185, 11, 0.9);
}

.app--alpha {
  padding: 0;
  min-height: 100dvh;
}

.app--alpha.app--with-side-nav {
  --module-side-nav-width: 188px;
}

.app--alpha .demo-top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin-bottom: 0;
  padding: 16px 20px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
}

.app--alpha .demo-top-nav-tools {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 4px 8px;
}

.app--alpha .demo-top-nav-end {
  gap: 12px;
}

.board-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-top: auto;
  padding-right: 1.5rem;
  color: rgba(200, 210, 230, 0.55);
}

.board-disclaimer {
  margin: 0;
  flex: 1 1 16rem;
  min-width: 0;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--accent);
}

.board-last-updated {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.app--alpha .page-board {
  flex: 1;
  min-height: 0;
}

.app--alpha .board-scene-content {
  padding: var(--scene-pad-top) var(--scene-pad-x) 12px;
}

.app--alpha.app--with-side-nav .board-scene-content,
.app--alpha.app--with-side-nav .personal-scene-content,
.app--alpha.app--with-side-nav .chart-scene-content,
.app--alpha.app--with-side-nav .mainstream-scene-content,
.app--alpha.app--with-side-nav .news-scene-wrap,
.app--alpha.app--with-side-nav .strategy-tree-shell,
.app--alpha.app--with-side-nav .strategy-tree-page .board-footer,
.app--alpha.app--with-side-nav .whale-scene-content {
  padding-left: calc(16px + var(--module-side-nav-width, 188px));
}

.app--alpha .board-scene-content .layout-zones {
  flex: 1;
  min-height: 0;
}

.app--alpha .zone {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.app--alpha .zone-title,
.app--alpha .zone-d-header,
.app--alpha .zone-a-header,
.app--alpha .zone-b-header,
.app--alpha .zone-c-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.app--alpha .zone-a .zone-body,
.app--alpha .zone-b .zone-body,
.app--alpha .zone-c .zone-body {
  background: transparent;
}

.app--alpha .zone-d-scroll {
  background: transparent;
  border: none;
  border-radius: 0;
}

.app--alpha .token-table th {
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.app--alpha .token-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.app--home .demo-top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 16px 20px;
}

.app--home .demo-top-nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 4px 8px;
  gap: 4px;
}

.app--home .demo-nav-btn {
  border: none;
  background: transparent;
}

.app--home .demo-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: transparent;
}

.app--home .demo-nav-btn.active {
  background: rgba(255, 255, 255, 0.95);
  color: #12161c;
  border-color: transparent;
}

.app--home .demo-top-nav-end {
  position: relative;
  z-index: 1;
}

.app--home .demo-top-nav-actions {
  position: relative;
  z-index: 1;
}

.app--home .page-home {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
}

@media (min-width: 640px) {
  .home-blurb-left {
    display: block;
  }
}

@media (min-width: 768px) {
  .home-blurb-left {
    left: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim,
  .hero-zoom {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .zone-refresh-rocket-icon {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-universe-stars,
  .home-universe-photo,
  .home-universe-deep,
  .home-station-glow,
  .home-universe-planet {
    animation: none;
  }
}

@media (max-width: 640px) {
  .app--home .demo-top-nav-links {
    position: static;
    transform: none;
    margin-left: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
  }

  .app--home .demo-nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .app--home .demo-nav-btn.active {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: var(--accent);
  }

  .demo-top-nav {
    flex-direction: row;
    align-items: center;
  }

  .demo-top-nav-links {
    justify-content: center;
  }

  .demo-top-nav-end {
    align-self: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .home-footer-meta {
    padding: 0 1rem 0.75rem;
  }

  .home-footer-copy {
    max-width: 46%;
  }

  .home-product-panel {
    padding: 18% 0.75rem 2rem;
  }

  .home-product-grid {
    gap: 0.75rem;
    width: 100%;
    max-width: none;
    padding: 0 0.25rem;
  }

  .home-product-grid .home-product-card {
    flex: 0 0 min(260px, 78vw);
    min-height: 16rem;
  }

  .home-product-grid--single {
    width: min(340px, 92%);
    max-width: 340px;
  }

  .home-product-grid--single .home-product-card {
    flex: none;
    min-height: 18rem;
  }

  .board-footer {
    padding-right: 1rem;
  }
}

.inside-page-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.inside-page-subtitle {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.inside-page-body {
  flex: 1;
  min-height: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-placeholder .placeholder-page-body {
  margin: 0 20px 20px;
  padding: 48px 32px;
}

.placeholder-page-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.oi-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.oi-loading {
  padding: 16px 18px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.oi-table .exchange-empty {
  color: var(--text-muted);
  opacity: 0.45;
}

.oi-table .ls-ratio {
  font-weight: 600;
}

.oi-table .ls-ratio.long-bias {
  color: var(--up);
}

.oi-table .ls-ratio.short-bias {
  color: var(--down);
}

.oi-table .funding-rate {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.oi-table .funding-rate.fund-long-pays {
  color: var(--down);
}

.oi-table .funding-rate.fund-short-pays {
  color: var(--up);
}

.oi-token-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.oi-token-toggle:hover,
.oi-token-toggle.is-open {
  color: var(--accent);
}

.oi-row.is-expanded {
  background: var(--bg-hover);
}

.oi-detail-row td {
  padding: 0;
  border-bottom: 1px solid var(--border);
  white-space: normal;
}

.oi-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px 18px;
  background: #12161c;
}

.oi-detail-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.oi-detail-main {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
}

.oi-detail-block {
  min-width: 0;
}

.oi-detail-block-full {
  grid-column: 1 / -1;
}

.oi-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-bottom: 14px;
}

.oi-tech-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.oi-tech-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.oi-osc.overbought {
  color: var(--down);
}

.oi-osc.oversold {
  color: var(--up);
}

.oi-detail-heading {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.oi-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.oi-detail-table th,
.oi-detail-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
}

.oi-detail-table th {
  color: var(--text-muted);
  font-weight: 600;
}

.oi-coef-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.oi-coef-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  font-size: 0.75rem;
}

.oi-coef-list li span {
  color: var(--text-muted);
}

.oi-momentum {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}

.oi-momentum-slow {
  background: rgba(246, 70, 93, 0.15);
  color: var(--down);
}

.oi-momentum-fast {
  background: rgba(14, 203, 129, 0.15);
  color: var(--up);
}

.oi-momentum-mixed {
  background: var(--accent-dim);
  color: var(--accent);
}

.oi-detail-side {
  width: 132px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

.oi-five-min-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
}

.oi-five-min-row span {
  color: var(--text-muted);
}

.oi-detail-heading-spaced {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.oi-holder-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

.oi-holder-sources {
  margin-top: 6px;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.oi-holder-empty {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.oi-detail-loading,
.oi-detail-error {
  padding: 16px 18px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.oi-detail-error {
  color: var(--down);
}

.dsb-body {
  gap: 0;
}

.strategy-tree-page {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.strategy-tree-page .board-footer {
  padding: 0 var(--scene-pad-x) 12px;
}

.strategy-tree-shell {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  height: 100%;
  min-height: 0;
  padding: var(--scene-pad-top) var(--scene-pad-x) 12px;
  box-sizing: border-box;
}

.strategy-tree-page .strategy-tree-shell {
  flex: 1;
  height: auto;
}

.strategy-tree-nav {
  flex: 0 0 200px;
  width: 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem 0.65rem;
  background: rgba(8, 10, 14, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 0;
}

.strategy-tree-nav-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.strategy-tree-nav-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strategy-tree-collapse-btn {
  appearance: none;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(200, 210, 230, 0.72);
  cursor: pointer;
}

.strategy-tree-collapse-btn svg {
  width: 16px;
  height: 16px;
}

.strategy-tree-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
}

.strategy-tree-collapse-btn:focus-visible {
  outline: 2px solid rgba(143, 220, 255, 0.65);
  outline-offset: 2px;
}

.strategy-tree-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 0;
  overflow: auto;
}

.strategy-tree-node {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.strategy-tree-node-mark {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 210, 230, 0.35);
}

.strategy-tree-node-label {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strategy-tree-node:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.98);
}

.strategy-tree-node.is-active {
  background: rgba(240, 185, 11, 0.12);
  border-color: rgba(240, 185, 11, 0.35);
  color: var(--accent, #f0b90b);
}

.strategy-tree-node.is-active .strategy-tree-node-mark {
  background: var(--accent, #f0b90b);
}

.strategy-tree-node:focus-visible {
  outline: 2px solid rgba(143, 220, 255, 0.65);
  outline-offset: 2px;
}

.strategy-tree-stage {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.strategy-tree-pane {
  display: none;
  flex: 1;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
}

.strategy-tree-pane.is-active {
  display: flex;
}

.strategy-tree-shell.is-tree-collapsed .strategy-tree-nav {
  flex-basis: 44px;
  width: 44px;
  padding: 0.55rem 0.35rem;
}

.strategy-tree-shell.is-tree-collapsed .strategy-tree-nav-title,
.strategy-tree-shell.is-tree-collapsed .strategy-tree-node-label {
  display: none;
}

.strategy-tree-shell.is-tree-collapsed .strategy-tree-nav-head {
  justify-content: center;
}

.strategy-tree-shell.is-tree-collapsed .strategy-tree-nav .strategy-tree-collapse-btn svg {
  transform: rotate(180deg);
}

.strategy-tree-shell.is-tree-collapsed .strategy-tree-node {
  justify-content: center;
  padding: 0.45rem 0;
}

.strategy-tree-detail {
  flex: 0 0 340px;
  width: 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem 0.65rem;
  background: rgba(8, 10, 14, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 0;
}

.strategy-tree-detail-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.strategy-tree-detail-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strategy-tree-detail-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.strategy-tree-detail-tagline {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent, #f0b90b);
}

.strategy-tree-detail-section-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
}

.strategy-tree-detail-body-text {
  margin: 0 0 0.55rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(230, 236, 245, 0.9);
}

.strategy-tree-detail-section .strategy-tree-detail-body-text:last-child {
  margin-bottom: 0;
}

.strategy-tree-detail-list {
  margin: 0.05rem 0 0.7rem;
  padding: 0.45rem 0 0.45rem 0.7rem;
  border-left: 2px solid rgba(240, 185, 11, 0.38);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.strategy-tree-detail-section .strategy-tree-detail-list:last-child {
  margin-bottom: 0;
}

.strategy-tree-detail-sub {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.strategy-tree-detail-sub-head {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.strategy-tree-detail-sub-index {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent, #f0b90b);
}

.strategy-tree-detail-sub-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(252, 213, 53, 0.92);
}

.strategy-tree-detail-sub-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(200, 210, 220, 0.82);
}

.strategy-tree-detail-disclaimer {
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  line-height: 1.5;
  color: #f7931a;
}

.strategy-tree-detail-empty {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(183, 198, 194, 0.7);
}

.strategy-tree-detail-badges {
  display: grid;
  gap: 0.7rem;
}

.strategy-tree-detail-badge-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.strategy-tree-detail-badge {
  flex: 0 0 62px;
  width: 62px;
  box-sizing: border-box;
  border: 1px solid var(--accent, #f0b90b);
  border-radius: 4px;
  color: var(--accent, #f0b90b);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 4px 2px;
  line-height: 1.2;
}

.strategy-tree-detail-badge--up {
  color: var(--up, #0ecb81);
  border-color: var(--up, #0ecb81);
}

.strategy-tree-detail-badge--warn {
  color: #f0b90b;
  border-color: #f0b90b;
}

.strategy-tree-detail-badge--accent {
  color: var(--accent, #f0b90b);
  border-color: var(--accent, #f0b90b);
}

.strategy-tree-detail-badge-body {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.6;
  color: rgb(234, 236, 239);
  white-space: pre-wrap;
}

.dam-detail-outcome {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dam-desk-root {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dam-desk-board {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: rgba(8, 10, 14, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.strategy-tree-shell.is-dam-board .strategy-tree-nav {
  flex-basis: 176px;
  width: 176px;
}

.strategy-tree-shell.is-dam-board .strategy-tree-detail {
  flex-basis: 300px;
  width: 300px;
}

.strategy-tree-shell.is-dam-board .strategy-tree-node {
  min-height: 42px;
  font-size: 13px;
}

.strategy-tree-shell.is-dam-board .strategy-tree-detail-section-title {
  font-size: 1.05rem;
}

.strategy-tree-shell.is-dam-board .strategy-tree-detail-body-text {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.strategy-tree-shell.is-dam-board .strategy-tree-detail-badge {
  flex-basis: 72px;
  width: 72px;
  font-size: 10px;
  padding: 6px 4px;
}

.strategy-tree-shell.is-dam-board .strategy-tree-detail-badge-body {
  font-size: 13px;
  line-height: 1.65;
}

.dam-toolbar {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
  align-items: center;
}

.dam-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.dam-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: rgba(183, 198, 194, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px 6px 8px;
  cursor: pointer;
}

.dam-chip.is-active {
  color: var(--accent, #f0b90b);
  border-color: var(--accent, #f0b90b);
  background: rgba(240, 185, 11, 0.08);
}

.dam-chip-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.dam-tabs {
  display: flex;
  gap: 4px;
}

.dam-tab {
  background: transparent;
  color: rgba(183, 198, 194, 0.72);
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}

.dam-tab.is-active {
  color: var(--text, #eaecef);
  border-bottom-color: var(--accent, #f0b90b);
}

.dam-asof {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
}

.dam-asof-label {
  color: rgba(132, 142, 156, 1);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.dam-date-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text, #eaecef);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}

.dam-date-wrap {
  position: relative;
  display: inline-block;
}

.dam-date-btn.is-open {
  border-color: var(--accent, #f0b90b);
  color: var(--accent, #f0b90b);
}

.dam-cal {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 21;
  margin-top: 6px;
  width: 268px;
  background: rgba(18, 22, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px;
}

.dam-cal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.dam-cal-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.dam-cal-shift,
.dam-cal-today {
  background: transparent;
  color: var(--text, #eaecef);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  padding: 2px 6px;
}

.dam-cal-dow,
.dam-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.dam-cal-dow {
  color: rgba(132, 142, 156, 1);
  font-size: 10px;
  margin-bottom: 4px;
}

.dam-cal-cell {
  background: transparent;
  color: var(--text, #eaecef);
  border: none;
  border-radius: 4px;
  font-size: 11px;
  min-height: 28px;
  cursor: pointer;
}

.dam-cal-cell.is-empty {
  min-height: 28px;
}

.dam-cal-cell.is-out {
  opacity: 0.25;
  cursor: default;
}

.dam-cal-cell.is-plan {
  box-shadow: inset 0 -2px 0 rgba(240, 185, 11, 0.7);
}

.dam-cal-cell.is-open {
  color: var(--up, #0ecb81);
}

.dam-cal-cell.is-stop {
  color: var(--down, #f6465d);
}

.dam-cal-cell.is-never {
  color: #f0b90b;
}

.dam-cal-cell.is-selected {
  background: rgba(240, 185, 11, 0.16);
  outline: 1px solid var(--accent, #f0b90b);
}

.dam-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
  gap: 14px;
  padding: 12px 14px 14px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.dam-map-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}

.dam-map-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px 14px;
}

.dam-map-col .dam-card:first-child {
  padding: 12px 14px;
}

.dam-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

.dam-stack .dam-card {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  gap: 8px;
}

.dam-fill-card {
  overflow: hidden;
}

.dam-fill-block {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: 0;
}

.dam-fill-block--reward {
  flex: 0 0 auto;
  justify-content: flex-start;
  gap: 8px;
}

.dam-fill-block--foot {
  flex: 0.75 1 0;
}

.dam-rung-wrap {
  flex: 1.45 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.dam-rung-wrap .dam-rung-table {
  flex: 1;
  height: 100%;
}

.dam-stack .dam-card-title {
  font-size: 16px;
  line-height: 1.45;
  flex-shrink: 0;
}

.dam-stack .dam-card-head {
  flex-shrink: 0;
}

.dam-stack .dam-card-kicker {
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.dam-stack .dam-muted {
  font-size: 13.5px;
  line-height: 1.7;
}

.dam-stack .dam-budget {
  font-size: 20px;
}

.dam-stack .dam-clear-air {
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

.dam-stack .dam-kv {
  font-size: 16px;
  line-height: 2.25;
  align-items: center;
}

.dam-stack .dam-wear {
  font-size: 15px;
  margin: 4px 0;
  gap: 12px;
}

.dam-stack .dam-wear-track {
  height: 10px;
}

.dam-stack .dam-reach {
  flex: none;
  margin-top: 0;
}

.dam-stack .dam-reach-val {
  font-size: 16px;
}

.dam-stack .dam-reach-bar {
  height: 18px;
}

.dam-stack .dam-reach-tick {
  font-size: 12.5px;
}

.dam-stack .dam-rule {
  margin: 10px 0;
  flex-shrink: 0;
}

.dam-stack .dam-rung-table {
  font-size: 16px;
}

.dam-stack .dam-rung-table th {
  font-size: 13px;
  padding: 0 0 12px;
}

.dam-stack .dam-rung-table td {
  padding: 14px 0;
  line-height: 1.75;
  vertical-align: middle;
}

.dam-stack .dam-pos-score {
  font-size: 36px;
}

.dam-stack .dam-pos-track {
  height: 10px;
  margin-bottom: 4px;
}

.dam-card {
  background: rgba(8, 10, 14, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px;
}

.dam-card.is-dashed {
  border-style: dashed;
}

.dam-card-title {
  color: var(--text, #eaecef);
  font-size: 14px;
  font-weight: 700;
}

.dam-card-title.is-warn {
  color: var(--accent, #f0b90b);
}

.dam-card-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dam-card-kicker {
  color: rgba(132, 142, 156, 1);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.dam-mb { margin-bottom: 10px; }
.dam-spacer { flex: 1; }
.dam-muted { color: rgba(132, 142, 156, 1); font-size: 12px; }
.dam-budget { color: var(--accent, #f0b90b); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dam-rule { height: 1px; background: rgba(255, 255, 255, 0.12); margin: 12px 0 10px; }
.dam-clear-air { color: var(--up, #0ecb81); font-size: 14px; font-weight: 700; margin: 6px 0 4px; }

.dam-kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.75;
}

.dam-kv-k { color: rgba(132, 142, 156, 1); }
.dam-kv-v { color: var(--text, #eaecef); font-variant-numeric: tabular-nums; font-weight: 600; }

.dam-wear {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(90px, 1.4fr) auto;
  gap: 10px;
  align-items: center;
  margin: 6px 0;
  font-size: 13px;
}

.dam-wear-label { color: rgba(200, 210, 220, 0.85); }
.dam-wear-track { height: 7px; background: rgba(255, 255, 255, 0.08); border-radius: 3px; overflow: hidden; }
.dam-wear-fill { height: 100%; background: var(--accent, #f0b90b); }
.dam-wear-n { font-variant-numeric: tabular-nums; color: rgba(132, 142, 156, 1); }

.dam-reach {
  position: relative;
  margin-top: 4px;
}
.dam-reach-head {
  position: relative;
  height: 26px;
}
.dam-reach-pin {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  transform: translateX(-50%);
  line-height: 1;
  white-space: nowrap;
}
.dam-reach-pin.is-start { transform: none; }
.dam-reach-pin.is-end { transform: translateX(-100%); }
.dam-reach-val {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dam-reach-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}
.dam-reach-track { position: relative; }
.dam-reach-needle {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 1px;
  pointer-events: none;
}
.dam-reach-bar {
  display: flex;
  height: 16px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.dam-reach-med { background: rgba(14, 203, 129, 0.72); }
.dam-reach-p75 { background: rgba(240, 185, 11, 0.7); }
.dam-reach-tail { flex: 1; background: rgba(246, 70, 93, 0.42); }
.dam-reach-ticks {
  position: relative;
  height: 22px;
  margin-top: 6px;
}
.dam-reach-tick {
  position: absolute;
  transform: translateX(-50%);
  color: rgba(132, 142, 156, 1);
  font-size: 11.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.dam-reach-tick.is-end {
  left: auto;
  right: 0;
  transform: none;
  text-align: right;
}

.dam-rung-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.dam-rung-table th {
  color: rgba(132, 142, 156, 1);
  font-size: 11.5px;
  font-weight: 500;
  text-align: left;
  padding: 0 0 8px;
}
.dam-rung-table td { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.dam-rung-table .num { text-align: right; }
.dam-rung-table tr.is-dim { opacity: 0.45; }
.dam-rung-table .is-strike { text-decoration: line-through; }
.dam-rung-id { color: var(--accent, #f0b90b); font-weight: 700; margin-right: 6px; }
.dam-rung-size { color: var(--accent, #f0b90b); font-weight: 700; }

.dam-pos-score { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dam-pos-track { height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 3px; overflow: hidden; margin-bottom: 12px; }
.dam-pos-track > div { height: 100%; }
.dam-warn-row { display: flex; gap: 8px; align-items: flex-start; }
.dam-dot { width: 7px; height: 7px; border-radius: 999px; margin-top: 5px; flex: 0 0 auto; }
.dam-dot.is-up { background: var(--up, #0ecb81); }

.dam-outcome-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.dam-outcome-badge {
  border: 1px solid;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 2px 6px;
  text-transform: uppercase;
}
.dam-outcome-pnl { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }

.dam-uni {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.35);
  padding: 12px 14px;
  flex: 0 0 auto;
}
.dam-uni-label {
  color: rgba(132, 142, 156, 1);
  font-size: 11.5px;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.dam-uni-wrap { overflow-x: auto; }
.dam-uni-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.dam-uni-table th {
  color: rgba(132, 142, 156, 1);
  font-weight: 500;
  padding: 7px 8px;
  text-align: right;
}
.dam-uni-table th:first-child,
.dam-uni-table td:first-child { text-align: left; }
.dam-uni-table td { padding: 8px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--text, #eaecef); }
.dam-uni-table tr { cursor: pointer; }
.dam-uni-table tr.is-active { background: rgba(240, 185, 11, 0.08); }
.dam-uni-sym { font-weight: 700; }
.dam-uni-table .is-up { color: var(--up, #0ecb81); font-weight: 600; }
.dam-uni-table .is-down { color: var(--down, #f6465d); font-weight: 600; }

.dam-level-map {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 320px;
  height: auto;
}

.page-dam-lab .dam-lab-body {
  display: grid;
  gap: 16px;
  padding: 16px 20px 28px;
  overflow: auto;
  align-content: start;
}
.dam-lab-note {
  margin: 0;
  color: rgba(183, 198, 194, 0.78);
  font-size: 13px;
  line-height: 1.55;
  max-width: 72ch;
}
.dam-lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
  align-items: start;
}
.dam-lab-3d {
  width: 100%;
  height: 420px;
  display: block;
  background: rgba(5, 8, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
.dam-lab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.dam-lab-table th,
.dam-lab-table td {
  text-align: left;
  padding: 7px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}
.dam-lab-table th { color: rgba(132, 142, 156, 1); font-weight: 500; font-size: 11px; }
.dam-lab-k { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--accent, #f0b90b); }
.dam-lab-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.dam-lab-stat {
  background: rgba(8, 10, 14, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
}
.dam-lab-stat-k { display: block; color: rgba(132, 142, 156, 1); font-size: 10.5px; margin-bottom: 4px; }
.dam-lab-stat-v { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .dam-body,
  .dam-lab-grid { grid-template-columns: 1fr; }
}

.strategy-tree-shell.is-detail-collapsed .strategy-tree-detail {
  flex-basis: 44px;
  width: 44px;
  padding: 0.55rem 0.35rem;
}

.strategy-tree-shell.is-detail-collapsed .strategy-tree-detail-title,
.strategy-tree-shell.is-detail-collapsed .strategy-tree-detail-body {
  display: none;
}

.strategy-tree-shell.is-detail-collapsed .strategy-tree-detail-head {
  justify-content: center;
}

.strategy-tree-shell.is-detail-collapsed .strategy-tree-detail-collapse-btn svg {
  transform: rotate(180deg);
}

.app--alpha .dsb-scene-content {
  padding: var(--scene-pad-top) var(--scene-pad-x) 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app--alpha .strategy-tree-shell .dsb-scene-content {
  padding: 0;
  flex: 1;
  height: auto;
  min-height: 0;
}

.dsb-watch-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(220px, 1.2fr);
  gap: 12px;
  flex: 1;
  min-height: 0;
  height: 100%;
  align-items: stretch;
  overflow: hidden;
  container-type: size;
  font-size: 125%;
}

.dsb-combined-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.7rem 0.5rem;
  line-height: 1.28;
  font-size: 1.1rem;
  font-size: clamp(0.95rem, 2.75cqh, 1.3125rem);
  background: rgba(8, 10, 14, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app--alpha .dsb-combined-panel {
  background: rgba(8, 10, 14, 0.2);
}

.dsb-combined-panel .dsb-panel-title {
  padding: 0 0 0.45em;
  flex: 0 0 auto;
  line-height: 1.4;
}

.dsb-combined-panel .dsb-history {
  display: flex;
  flex-direction: column;
  padding: 0 0 0.28em;
  flex: 1.2 0 auto;
  min-height: 0;
}

.dsb-calendar {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: 0;
  gap: 0.32em;
}

.dsb-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  padding: 0 2px 2px;
  position: relative;
  z-index: 3;
}

.dsb-cal-head-title {
  min-width: 0;
  flex: 1 1 auto;
}

.dsb-cal-month-switch {
  position: relative;
  flex: 0 0 auto;
}

.dsb-cal-month-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin: 0;
  padding: 0.2em 0.5em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(8, 10, 14, 0.45);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.875em;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.dsb-cal-month-btn:hover,
.dsb-cal-month-btn.is-open {
  border-color: rgba(252, 213, 53, 0.45);
  color: #fff;
}

.dsb-cal-month-chevron {
  width: 0.9em;
  height: 0.9em;
  flex: 0 0 auto;
  transition: transform 0.16s ease;
}

.dsb-cal-month-btn.is-open .dsb-cal-month-chevron {
  transform: rotate(180deg);
}

.dsb-cal-month-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 10.5em;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(10, 12, 16, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  z-index: 8;
}

.dsb-cal-month-menu.hidden {
  display: none;
}

.dsb-cal-month-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.45em 0.65em;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 0.875em;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.dsb-cal-month-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dsb-cal-month-option.is-active {
  background: rgba(252, 213, 53, 0.14);
  color: #fcd535;
}

.dsb-cal-weekdays,
.dsb-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.16em 0.2em;
}

.dsb-cal-grid {
  flex: 1 0 auto;
  min-height: 0;
  align-content: stretch;
  grid-auto-rows: minmax(1.65em, 1fr);
}

.dsb-cal-weekdays {
  color: var(--text-muted);
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.dsb-cal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08em;
  min-height: 0;
  min-width: 0;
  padding: 0.18em 0.08em;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.dsb-cal-cell.is-pad {
  visibility: hidden;
  pointer-events: none;
}

.dsb-cal-cell.is-empty,
.dsb-cal-cell:disabled {
  cursor: default;
  opacity: 0.5;
}

.dsb-cal-cell.is-pending {
  opacity: 0.65;
}

.dsb-cal-cell.is-selected {
  border-color: rgba(143, 220, 255, 0.55);
  background: rgba(143, 220, 255, 0.1);
  opacity: 1;
}

.dsb-cal-day {
  font-size: 0.8125em;
  color: rgba(183, 198, 194, 0.7);
  line-height: 1.2;
}

.dsb-cal-value {
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dsb-cal-cell.up .dsb-cal-value {
  color: var(--up);
}

.dsb-cal-cell.down .dsb-cal-value {
  color: var(--down);
}

.dsb-cal-cell.flat .dsb-cal-value {
  color: var(--text-muted);
}

.dsb-combined-panel .dsb-summary {
  display: flex;
  flex-direction: column;
  padding: 0 0 0.28em;
  gap: 0.32em;
  flex: 1 0 auto;
  min-height: 0;
}

.dsb-summary-hero {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0.12em;
}

.dsb-summary-hero .dsb-summary-value {
  font-size: 1.25em;
  line-height: 1.2;
}

.dsb-metric-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  justify-content: space-evenly;
  gap: 0;
  min-height: 0;
}

.dsb-metric-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0.22em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875em;
  line-height: 1.35;
}

.dsb-metric-list li:last-child {
  border-bottom: none;
}

.dsb-metric-label {
  color: rgba(183, 198, 194, 0.7);
}

.dsb-metric-value {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dsb-summary-muted {
  color: var(--text-muted);
  font-weight: 500;
}

.dsb-metric-value.up,
.dsb-metric-list .up {
  color: var(--up);
}

.dsb-metric-value.down,
.dsb-metric-list .down {
  color: var(--down);
}

.dsb-sector-switch {
  align-self: stretch;
  width: 100%;
  margin: 0 0 0.25em;
  flex: 0 0 auto;
}

.dsb-sector-switch .dsb-ball-view-switch-btn {
  flex: 1 1 0;
  min-width: 0;
}

.dsb-sector-switch .dsb-ball-view-switch-btn[data-dsb-sector-tone="win"].is-active {
  background: rgba(143, 220, 255, 0.16);
}

.dsb-sector-switch .dsb-ball-view-switch-btn[data-dsb-sector-tone="loss"].is-active {
  background: rgba(224, 69, 90, 0.16);
}

.dsb-combined-panel .dsb-sector-panel {
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.35em 0 0;
  flex: 1.05 0 auto;
  min-height: 0;
  height: auto;
  align-self: stretch;
  overflow: visible;
  gap: 0.45em;
}

.dsb-watch-stack {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.dsb-watch-ball {
  min-width: 0;
  min-height: 0;
  flex: 58 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dsb-insight-board {
  position: relative;
  min-width: 0;
  min-height: 0;
  flex: 42 1 0;
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.7rem 0.5rem;
  line-height: 1.28;
  font-size: clamp(0.88rem, 2.2cqh, 1.12rem);
  background: rgba(8, 10, 14, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow-x: hidden;
  overflow-y: auto;
}

.app--alpha .dsb-insight-board {
  background: rgba(8, 10, 14, 0.2);
}

.dsb-insight-board .dsb-panel-title {
  padding: 0 0 0.35em;
  flex: 0 0 auto;
  line-height: 1.4;
}

.app--alpha .dsb-insight-board .dsb-panel-title {
  padding: 0 0 0.35em;
}

.dsb-insight-body {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28em;
  overflow: hidden;
}

.dsb-insight-empty {
  color: var(--text-muted);
  font-size: 0.875em;
  padding: 0.4em 0;
}

.dsb-insight-legend {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75em;
  margin: 0;
  padding: 0 0 0.1em;
  flex: 0 0 auto;
  color: rgba(183, 198, 194, 0.72);
  font-size: 0.8125em;
  font-weight: 500;
}

.dsb-insight-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.dsb-insight-legend-swatch {
  width: 0.55em;
  height: 0.55em;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-block;
}

.dsb-insight-legend-swatch--alts {
  background: #fcd535;
}

.dsb-insight-legend-swatch--btc {
  background: #f7931a;
}

.dsb-insight-legend-swatch--strategy {
  background: #8fdcff;
}

.dsb-insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.dsb-insight-list + .dsb-insight-list {
  margin-top: 0.2em;
  padding-top: 0.25em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dsb-insight-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 0.18em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9375em;
  line-height: 1.4;
}

.dsb-insight-list li:last-child {
  border-bottom: none;
}

.dsb-insight-label {
  color: rgba(183, 198, 194, 0.7);
  flex: 1 1 auto;
  min-width: 0;
}

.dsb-insight-right {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.35em;
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

.dsb-insight-sep {
  color: var(--text-muted);
  font-weight: 500;
}

.dsb-insight-value {
  font-weight: 600;
  text-align: right;
  color: rgba(255, 255, 255, 0.92);
}

.dsb-insight-value.up {
  color: var(--up);
}

.dsb-insight-value.down {
  color: var(--down);
}

.dsb-insight-value.flat {
  color: var(--text-muted);
}

.dsb-insight-meta {
  color: rgba(183, 198, 194, 0.62);
  font-size: 0.8125em;
  font-weight: 500;
  white-space: nowrap;
}

.dsb-insight-chart-wrap {
  position: relative;
  flex: 1 1 0;
  min-height: 110px;
  width: 100%;
  overflow: hidden;
}

.dsb-insight-chart {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.dsb-insight-chart-tip {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  padding: 0.35em 0.5em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(10, 12, 16, 0.94);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125em;
  line-height: 1.3;
  pointer-events: none;
  white-space: nowrap;
  transform: translateY(-100%);
}

.dsb-insight-chart-tip.hidden {
  display: none;
}

.dsb-insight-chart-tip-date {
  color: rgba(200, 210, 230, 0.62);
  font-variant-numeric: tabular-nums;
}

.dsb-insight-chart-tip .dsb-insight-legend-swatch {
  margin-right: 0.35em;
  vertical-align: middle;
}

.dsb-watch-layout .oi-loading,
.dsb-watch-layout .error {
  font-size: 0.875em;
}

.dsb-ball-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.dsb-ball-block.hidden {
  display: none;
}

.dsb-ball-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  flex: 1;
}

.dsb-ball-stage.hidden {
  display: none;
}

.dsb-ball-view-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(8, 10, 14, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dsb-ball-view-switch-btn {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0.45rem 1rem;
  min-width: 5.5rem;
  font: inherit;
  font-size: 0.8125em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 210, 230, 0.72);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.dsb-ball-view-switch-btn + .dsb-ball-view-switch-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.dsb-ball-view-switch-btn.is-active {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(143, 220, 255, 0.16);
}

.dsb-ball-view-switch-btn[data-dsb-ball-view="7d"].is-active {
  background: rgba(224, 69, 90, 0.16);
}

.dsb-ball-view-switch-btn:focus-visible {
  outline: 2px solid rgba(143, 220, 255, 0.65);
  outline-offset: 2px;
}

.dsb-ball-wrap {
  position: relative;
  min-height: 0;
  justify-self: center;
}

.dsb-token-ball-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

.dsb-sector-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  min-width: 0;
  align-self: start;
  height: fit-content;
  padding: 0.75rem 0.65rem;
  background: rgba(8, 10, 14, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app--alpha .dsb-sector-panel:hover .corner-frame {
  border-color: rgba(255, 255, 255, 0.92);
}

.dsb-sector-panel--win {
  --dsb-sector-accent: #8fdcff;
  --dsb-sector-accent-dim: rgba(143, 220, 255, 0.18);
}

.dsb-sector-panel--loss {
  --dsb-sector-accent: #e0455a;
  --dsb-sector-accent-dim: rgba(224, 69, 90, 0.18);
}

.dsb-sector-panel-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dsb-sector-panel-title {
  font-size: 0.8125em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dsb-sector-accent);
}

.dsb-sector-primary {
  font-size: 0.9375em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}

.dsb-sector-primary-pct {
  color: var(--dsb-sector-accent);
}

.dsb-sector-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(118px, 0.95fr);
  gap: 0.45em 0.7em;
  align-items: stretch;
  min-width: 0;
  flex: 1 0 auto;
}

.dsb-sector-tokens-col,
.dsb-sector-chart-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dsb-sector-chart-col {
  align-items: center;
  gap: 0.28em;
}

.dsb-sector-chart-col .dsb-sector-panel-title {
  align-self: stretch;
  text-align: center;
}

.dsb-sector-pie-wrap {
  position: relative;
  width: 100%;
  max-width: 9.25em;
  aspect-ratio: 1;
  flex: 0 0 auto;
}

.dsb-sector-pie {
  display: block;
  width: 100%;
  height: 100%;
}

.dsb-sector-pie-center {
  position: absolute;
  inset: 24%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.dsb-sector-pie-center-pct {
  font-size: 0.875em;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dsb-sector-accent);
  font-variant-numeric: tabular-nums;
}

.dsb-sector-pie-center-name {
  max-width: 100%;
  font-size: 0.625em;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsb-sector-pie-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.12em 0.35em;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dsb-sector-pie-legend li {
  display: flex;
  align-items: center;
  gap: 0.28em;
  min-width: 0;
  font-size: 0.75em;
  line-height: 1.35;
  color: rgba(200, 210, 230, 0.82);
}

.dsb-sector-pie-swatch {
  width: 0.55em;
  height: 0.55em;
  border-radius: 2px;
  flex-shrink: 0;
}

.dsb-sector-pie-legend-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsb-sector-pie-legend-pct {
  margin-left: auto;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.62);
}

.dsb-sector-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 0.45 0 auto;
  justify-content: space-evenly;
}

.dsb-sector-breakdown-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.8125em;
  color: rgba(200, 210, 230, 0.82);
  padding: 0.28em 0;
  line-height: 1.5;
}

.dsb-sector-breakdown-item.is-top {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.dsb-sector-breakdown-item.is-top .dsb-sector-breakdown-pct {
  color: var(--dsb-sector-accent);
}

.dsb-sector-breakdown-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsb-sector-breakdown-pct {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.62);
}

.dsb-sector-top-label {
  margin: 0 0 0.1rem;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.62);
}

.dsb-sector-token-list {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  justify-content: space-evenly;
  gap: 0.18em;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 0;
}

.dsb-sector-token-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 0 auto;
  padding: 0.08em 0;
}

.dsb-sector-token-icon-wrap {
  position: relative;
  width: 1.375em;
  height: 1.375em;
  flex-shrink: 0;
}

.dsb-sector-token-icon {
  width: 1.375em;
  height: 1.375em;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  display: block;
}

.dsb-sector-token-icon.is-hidden {
  display: none;
}

.dsb-sector-token-letter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dsb-sector-accent-dim);
  color: var(--dsb-sector-accent);
  font-size: 0.625em;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dsb-sector-token-letter.is-hidden {
  display: none;
}

.dsb-sector-token-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dsb-sector-token-name {
  font-size: 0.875em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.22;
}

.dsb-sector-token-symbol,
.dsb-sector-token-sector {
  font-size: 0.75em;
  font-weight: 600;
  color: rgba(183, 198, 194, 0.68);
  line-height: 1.22;
}

.dsb-sector-token-sector {
  color: rgba(200, 210, 230, 0.72);
}

.dsb-sector-token-pct {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.8125em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--dsb-sector-accent);
}

@media (max-width: 860px) {
  .dsb-watch-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(280px, 1.1fr);
  }

  .dsb-watch-stack {
    min-height: 280px;
  }

  .dsb-ball-view-switch {
    width: min(100%, 280px);
  }

  .dsb-ball-view-switch-btn {
    flex: 1 1 0;
  }

  .dsb-sector-switch {
    width: 100%;
  }
}

.app--alpha .dsb-panel {
  position: relative;
  padding: 1.35rem 1.1rem 1.1rem;
  background: transparent;
}

.app--alpha .dsb-combined-panel {
  padding: 0.7rem 0.8rem 0.55rem;
  background: rgba(8, 10, 14, 0.2);
}

.app--alpha .dsb-date-label {
  color: rgba(255, 255, 255, 0.72);
}

.app--alpha .dsb-date-input {
  background: rgba(8, 10, 14, 0.45);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.app--alpha .demo-top-nav-tools .last-updated {
  color: rgba(255, 255, 255, 0.85);
}

.app--alpha .dsb-panel-title {
  margin: 0;
  padding: 0 0 0.85rem;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
}

.app--alpha .dsb-session-label {
  padding: 0 0 0.85rem;
  color: rgba(200, 210, 230, 0.72);
}

.app--alpha .dsb-history {
  padding: 0 0 1rem;
}

.app--alpha .dsb-combined-panel .dsb-history {
  display: flex;
  flex-direction: column;
  padding: 0 0 0.28em;
}

.app--alpha .dsb-combined-panel .dsb-panel-title {
  padding: 0 0 0.28em;
}

.app--alpha .dsb-combined-panel .dsb-summary {
  padding: 0 0 0.28em;
}

.app--alpha .dsb-history-card {
  background: rgba(8, 10, 14, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app--alpha .dsb-summary {
  padding: 0;
}

.app--alpha .dsb-summary-card {
  background: rgba(8, 10, 14, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app--alpha .dsb-summary-label {
  color: rgba(200, 210, 230, 0.62);
}

.app--alpha .dsb-summary-value {
  color: rgba(255, 255, 255, 0.92);
}

.app--alpha .dsb-history-value.up,
.app--alpha .dsb-summary-value.up,
.app--alpha .dsb-metric-value.up,
.app--alpha .dsb-metric-list .up,
.app--alpha .dsb-cal-cell.up .dsb-cal-value {
  color: var(--up);
}

.app--alpha .dsb-history-value.down,
.app--alpha .dsb-summary-value.down,
.app--alpha .dsb-metric-value.down,
.app--alpha .dsb-metric-list .down,
.app--alpha .dsb-cal-cell.down .dsb-cal-value {
  color: var(--down);
}

.app--alpha .dsb-history-value.flat,
.app--alpha .dsb-summary-value.flat,
.app--alpha .dsb-cal-cell.flat .dsb-cal-value {
  color: rgba(200, 210, 230, 0.62);
}

.app--alpha .dsb-panel .oi-loading,
.app--alpha .dsb-panel .error {
  padding: 0.75rem 0 0;
}

.dsb-date-label {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-right: 6px;
}

.dsb-date-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  padding: 6px 10px;
  margin-right: 12px;
}

.dsb-session-label {
  padding: 12px 18px 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.dsb-panel-title {
  margin: 0;
  padding: 0 0 0.75rem;
  font-size: 1em;
  font-weight: 700;
  color: var(--text);
}

.dsb-history {
  padding: 12px 18px 0;
}

.dsb-history-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
  text-align: center;
}

.dsb-history-card.is-pending {
  opacity: 0.65;
}

.dsb-history-date {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.dsb-history-value {
  font-size: 1rem;
  font-weight: 600;
}

.dsb-history-value.up,
.dsb-summary-value.up,
.dsb-metric-value.up,
.dsb-metric-list .up {
  color: var(--up);
}

.dsb-history-value.down,
.dsb-summary-value.down,
.dsb-metric-value.down,
.dsb-metric-list .down {
  color: var(--down);
}

.dsb-history-value.flat,
.dsb-summary-value.flat {
  color: var(--text-muted);
}

.dsb-history-meta {
  color: var(--text-muted);
  font-size: 0.6875rem;
}

.dsb-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 18px;
}

.dsb-summary-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dsb-summary-main {
  min-width: 180px;
}

.dsb-summary-strategy {
  display: none;
}

.dsb-summary-label {
  color: var(--text-muted);
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dsb-summary-value {
  font-size: 1.125em;
  font-weight: 600;
}

.dsb-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.dsb-token-symbol {
  font-weight: 600;
}

.dsb-token-name {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-left: 4px;
}

.dsb-status {
  font-size: 0.8125rem;
}

.dsb-status-stablecoin,
.dsb-status-no_futures,
.dsb-status-no_data {
  color: var(--text-muted);
}

.dsb-exit-reason {
  display: block;
  color: var(--text-muted);
  font-size: 0.6875rem;
  margin-top: 2px;
}

.page-switcher {
  position: fixed;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  z-index: 200;
}

.page-nav-btn {
  min-width: 44px;
  padding: 10px 14px;
  font-size: 1.125rem;
  line-height: 1;
}

.layout-zones {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.zones-sidebar {
  flex: 0 0 25%;
  width: 25%;
  max-width: 25%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow: hidden;
}

.strategy-panel,
.flow-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.strategy-panel {
  flex: 0 0 55%;
  max-height: 55%;
}

.flow-panel {
  flex: 1 1 45%;
  min-height: 0;
}

.strategy-panel .zones-folder-panels {
  flex: 1 1 0;
  min-height: 0;
}

.flow-panel-body {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 0 8px 8px;
}

.app--alpha .flow-panel-body {
  background: rgba(8, 10, 14, 0.25);
}

.alpha-flow-treemap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.alpha-flow-tile {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(8, 10, 14, 0.45);
  border-radius: 2px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  cursor: default;
  transition: filter 0.12s;
}

.alpha-flow-tile:hover {
  filter: brightness(1.12);
  z-index: 2;
}

.alpha-flow-tile--in {
  background: #023020;
  color: #f4f7f5;
}

.alpha-flow-tile--out {
  background: #480812;
  color: #f4f7f5;
}

.alpha-flow-tile--other,
.alpha-flow-tile--others {
  background: rgba(160, 170, 190, 0.48) !important;
  color: rgba(20, 24, 32, 0.92) !important;
  opacity: 0.95 !important;
}

.alpha-flow-tile-symbol {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alpha-flow-tile-meta {
  font-size: 0.625rem;
  font-weight: 600;
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flow-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px;
  text-align: center;
}

.flow-empty.hidden {
  display: none;
}

.zones-folder-tabs {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  padding: 0 0 10px;
}

.zones-folder-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px 10px 0 0;
  background: var(--bg-elevated);
  color: var(--text-muted);
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zones-folder-tab:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.zones-folder-tab.is-active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.zones-folder-panels {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app--alpha .zones-folder-tab {
  background: rgba(8, 10, 14, 0.35);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(200, 210, 230, 0.7);
}

.app--alpha .zones-folder-tab:hover {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
}

.app--alpha .zones-folder-tab.is-active {
  background: rgba(240, 185, 11, 0.12);
  border-color: rgba(240, 185, 11, 0.85);
  color: var(--accent);
}

html[lang="zh-CN"] .zones-folder-tab {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.9375rem;
}

.zone {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}

.zone-a,
.zone-b,
.zone-c {
  display: none;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 0;
  height: 100%;
}

.zone-a.is-active,
.zone-b.is-active,
.zone-c.is-active {
  display: flex;
}

.zone-d {
  flex: 0 0 75%;
  width: 75%;
  max-width: 75%;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.zone-d-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  min-height: 40px;
}

.zone-d-header .zone-title {
  border-bottom: none;
  padding: 10px 0;
  flex-shrink: 0;
}

.zone-d-status {
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.zone-d-status:empty {
  display: none;
}

.zone-d-header:not(:has(.zone-title)):not(:has(.zone-d-view-switch)):has(.zone-d-status:empty) {
  display: none;
}

.zone-d-view-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.zone-d-view-btn {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 6px 14px;
  min-width: 4.75rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.12s, background 0.12s;
}

.zone-d-view-btn + .zone-d-view-btn {
  border-left: 1px solid var(--border);
}

.zone-d-view-btn:hover {
  color: var(--text);
}

.zone-d-view-btn.is-active {
  color: var(--accent);
  background: var(--accent-dim);
}

.zone-d-view-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

html[lang="zh-CN"] .zone-d-view-btn {
  text-transform: none;
  letter-spacing: 0.02em;
}

.app--alpha .zone-d-view-switch {
  background: rgba(8, 10, 14, 0.35);
  border-color: rgba(255, 255, 255, 0.16);
}

.app--alpha .zone-d-view-btn + .zone-d-view-btn {
  border-left-color: rgba(255, 255, 255, 0.12);
}

.app--alpha .zone-d-view-btn.is-active {
  background: rgba(240, 185, 11, 0.16);
}

html[lang="zh-CN"] .app--alpha .zone-title {
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

html[lang="zh-CN"] .app--alpha .token-table th[data-i18n] {
  text-transform: none;
  letter-spacing: 0.02em;
}

.zone-title {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.zone-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.zone-a .zone-body,
.zone-b .zone-body,
.zone-c .zone-body {
  background: var(--bg);
}

.zone-a-header,
.zone-b-header,
.zone-c-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  min-height: 40px;
}

.zone-a-header .zone-title,
.zone-b-header .zone-title,
.zone-c-header .zone-title {
  border-bottom: none;
  padding: 10px 0;
  flex-shrink: 0;
}

.zone-b-status,
.zone-a-status,
.zone-c-status {
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 1.25rem;
}

.zone-refresh-rocket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.zone-refresh-rocket-icon {
  width: 16px;
  height: 16px;
  animation: zone-rocket-pulse 1.2s ease-in-out infinite;
}

@keyframes zone-rocket-pulse {
  0%, 100% { opacity: 0.65; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

.zone-b-status:empty,
.zone-a-status:empty,
.zone-c-status:empty {
  display: none;
}

.zone-count {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0;
}

.zone-status,
.zone-empty {
  margin: 0;
  padding: 12px 14px;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.zone-token {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

.zone-b .zone-token.is-new,
.zone-c .zone-token.is-new,
.zone-a .zone-token.is-new {
  background: rgba(240, 185, 11, 0.06);
}

.zone-c-match-time {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.zone-c-match-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  justify-content: flex-end;
}

.zone-c-match-name {
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zone-c-match-symbol {
  margin-left: 4px;
  color: var(--text-muted);
  font-weight: 500;
}

.zone-a-token {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  cursor: default;
}

.zone-a-token.is-expandable {
  cursor: pointer;
}

.zone-a-token-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.zone-a-match-count {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.zone-a-bulb {
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.zone-a-bulb--yellow {
  background: #e6b800;
  box-shadow: 0 0 0 2px rgba(230, 184, 0, 0.25);
}

.zone-a-bulb--green {
  background: #2eaa4f;
  box-shadow: 0 0 0 2px rgba(46, 170, 79, 0.28);
}

.zone-a-expand-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.zone-a-match-sublist {
  list-style: none;
  margin: 4px 0 0 0;
  padding: 4px 0 2px 10px;
  border-left: 1px solid var(--border);
}

.zone-a-match-sublist[hidden] {
  display: none;
}

.zone-a-match-sublist li {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  padding: 2px 0;
}

.zone-a-sub-label {
  opacity: 0.8;
  margin-right: 4px;
}

.zone-token:last-child {
  border-bottom: none;
}

.zone-token-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--bg-elevated);
}

.zone-token-icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  line-height: 1;
}

.zone-token-icon.is-hidden,
.zone-token-icon-fallback.is-hidden {
  display: none;
}

.zone-token-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.zone-token-name {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zone-token-meta {
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zone-d-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  min-height: 0;
  overflow: hidden;
}

.zone-d-tokens {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zone-d-tokens.hidden,
.zone-d-activity.hidden {
  display: none;
}

.zone-d-activity {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.activity-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 10, 14, 0.28);
  overflow: hidden;
}

.activity-panel-title {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}

html[lang="zh-CN"] .activity-panel-title {
  text-transform: none;
  letter-spacing: 0.02em;
}

.activity-list {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.activity-empty {
  margin: 0;
  padding: 16px 12px;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.activity-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 10, 14, 0.42);
}

.activity-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.activity-card-titles {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.activity-card-name {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.activity-card-symbol {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.activity-card-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.activity-card-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.activity-card-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

html[lang="zh-CN"] .activity-card-label {
  text-transform: none;
  letter-spacing: 0.02em;
}

.activity-card-value {
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-badge {
  flex-shrink: 0;
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.activity-card .zone-token-icon,
.activity-card .zone-token-icon-fallback {
  width: 36px;
  height: 36px;
}

.activity-badge--live {
  background: rgba(46, 170, 79, 0.18);
  color: #5ad67a;
}

.activity-badge--upcoming {
  background: rgba(240, 185, 11, 0.16);
  color: var(--accent);
}

.activity-badge--ended {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.zone-d-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.zone-body,
.zone-d-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.zone-body::-webkit-scrollbar,
.zone-d-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.zone-body::-webkit-scrollbar-thumb,
.zone-d-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.zone-body::-webkit-scrollbar-thumb:hover,
.zone-d-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.zone-d .toolbar {
  margin-bottom: 0;
  flex-shrink: 0;
  align-items: stretch;
  width: 100%;
  flex-wrap: nowrap;
}

.zone-d .table-wrap {
  min-height: 0;
  overflow: visible;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.subtitle {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.last-updated {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: hsl(0 0% 0%);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-page {
  background: var(--bg-hover);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-page:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-page-first,
.btn-page-last {
  padding: 6px 12px;
  font-size: 0.75em;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0 8px;
}

.page-info {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.period-status {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.search-wrap {
  position: relative;
  flex: 1.35 1 0;
  min-width: 0;
  width: auto;
  max-width: none;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

#searchInput {
  width: 100%;
  padding: 10px 12px 10px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
}

#searchInput:focus {
  outline: 2px solid var(--accent-dim);
  border-color: var(--accent);
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  flex: 2.65 1 0;
  align-items: stretch;
  min-width: 0;
}

.filters select {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
}

#periodFilter {
  flex: 0.7 1 0;
  min-width: 0;
}

select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.table-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  min-height: 0;
}

.token-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.token-table th,
.token-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

.token-table th {
  position: sticky;
  top: 0;
  background: #161a21;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 1;
}

.token-table tbody tr {
  transition: background 0.12s;
}

.token-table tbody tr:hover {
  background: var(--bg-hover);
}

.token-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.token-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.token-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-hover);
  object-fit: cover;
  flex-shrink: 0;
}

.token-name {
  font-weight: 600;
}

.token-symbol {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.chain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-hover);
  font-size: 0.75rem;
}

.chain-pill img,
.chain-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.change.up { color: var(--up); }
.change.down { color: var(--down); }
.change.flat { color: var(--text-muted); }

.tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.tag {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tag-hot { background: rgba(246, 70, 93, 0.15); color: #ff7a8a; }
.tag-tge { background: rgba(14, 203, 129, 0.15); color: var(--up); }
.tag-airdrop { background: rgba(120, 130, 255, 0.15); color: #9aa4ff; }
.tag-exclusive { background: var(--accent-dim); color: var(--accent); }

.circulation-col {
  min-width: 88px;
}

.circulation-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.circulation-pct {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.circulation-bar {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: var(--bg-hover);
  overflow: hidden;
}

.circulation-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.loading,
.error,
.empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--text-muted);
}

.zone-d-scroll .error,
.zone-d-scroll .empty {
  padding: 24px 16px;
}

.error {
  color: var(--down);
}

.hidden {
  display: none !important;
}

.spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.footer {
  flex-shrink: 0;
  margin-top: 8px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.footer code {
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .layout-zones {
    flex-direction: column;
    min-height: 0;
  }

  .zones-sidebar,
  .zone-d {
    flex: 1 1 0;
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .zone-d {
    margin-left: 0;
  }

  .zone-d-activity {
    grid-template-columns: 1fr;
  }

  .zones-sidebar {
    flex: 0 0 48%;
    flex-direction: column;
    min-height: 0;
    gap: 10px;
  }

  .strategy-panel {
    flex: 0 0 52%;
    max-height: 52%;
  }

  .flow-panel {
    flex: 1 1 48%;
    min-height: 140px;
  }

  .strategy-panel .zones-folder-panels {
    flex: 1 1 0;
    min-height: 0;
  }

  .zone-a.is-active,
  .zone-b.is-active,
  .zone-c.is-active {
    flex: 1 1 0;
    min-height: 0;
  }

  .token-table .hide-md {
    display: none;
  }
}

/* Personal CEX watch board — stats row | insights + positions | closed history */
.app--alpha .personal-scene-content {
  padding: var(--scene-pad-top) var(--scene-pad-x) 12px;
  overflow: hidden;
  gap: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.personal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) 285px;
  gap: 10px;
  flex: 1;
  min-height: 0;
  height: auto;
  width: 100%;
  overflow: hidden;
}

.personal-body.is-onboarding {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#personalOnboarding {
  display: none;
}

.personal-body.is-onboarding #personalOnboarding {
  display: flex;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.personal-body.is-onboarding #personalLayout,
.personal-body.is-onboarding .personal-panel--closed {
  display: none !important;
}

.personal-onboarding {
  flex-direction: column;
  align-items: center;
  overflow: auto;
  min-height: 0;
  padding: 8px 4px 12px;
}

.personal-onboard-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: clamp(12px, 2vh, 20px);
  padding-top: clamp(8px, 2vh, 24px);
  padding-bottom: clamp(8px, 2vh, 16px);
}

.personal-onboard-title {
  margin: 0 2px;
  padding: 0;
  background: none;
  border: none;
  width: 100%;
  line-height: 0;
  font-family: inherit;
  flex-shrink: 0;
}

.personal-onboard-howto {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 0;
  gap: clamp(16px, 2.8vh, 32px);
  margin-top: 50px;
  background: none;
  border: none;
  padding: 0 2px;
}

.personal-onboard-howto .personal-onboard-section-title {
  margin-top: 0;
}

.personal-onboard-panes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  flex-shrink: 0;
}

.personal-onboard-guides {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  min-height: 100%;
  padding: 1.15rem 1.5rem 1.2rem 2px;
  background: none;
  border: none;
}

.personal-onboard-guides .personal-onboard-note--warn {
  margin-top: auto;
}

.personal-onboard-guides .personal-onboard-note--ok {
  margin-bottom: 100px;
}

.personal-onboard-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 1.15rem 2px 1.2rem 1.5rem;
  background: none;
  border: none;
  border-radius: 0;
}

.personal-onboard-pane--benefits {
  border-left: 1px solid hsl(0 0% 32%);
}

.personal-onboard-pane .personal-onboard-section-title:first-child {
  margin-top: 0;
}

.personal-onboard-pane--benefits .personal-onboard-section-title {
  color: hsl(145 70% 72%);
}

.personal-onboard-section-title {
  margin: 8px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: hsl(0 0% 70%);
}

.personal-onboard-step-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.personal-onboard-step-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 14px;
  background: hsl(0 0% 7%);
  border: 1px solid hsl(0 0% 20%);
}

.personal-onboard-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: hsl(0 0% 96%);
  color: hsl(0 0% 8%);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.personal-onboard-step-heading {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: hsl(0 0% 96%);
}

.personal-onboard-step-body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: hsl(0 0% 68%);
}

.personal-onboard-docs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0;
  font-size: 1.0625rem;
}

.personal-onboard-docs-label {
  color: hsl(0 0% 70%);
  font-weight: 600;
}

.personal-onboard-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.personal-onboard-doc-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}

.personal-onboard-doc-link:hover {
  text-decoration: underline;
}

.personal-onboard-note {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: hsl(0 0% 78%);
}

.personal-onboard-note--warn {
  color: hsl(42 90% 72%);
}

.personal-onboard-note--ok {
  color: hsl(42 90% 72%);
}

.personal-onboard-cta {
  align-self: center;
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: auto;
  padding: 12px 22px;
}

.personal-onboard-copy {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: hsl(0 0% 80%);
}

.personal-onboard-unlock-label {
  margin: 6px 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: hsl(0 0% 58%);
}

.personal-onboard-unlock {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.personal-onboard-unlock-item {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid hsl(0 0% 20%);
  background: hsl(0 0% 7%);
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(0 0% 90%);
}

.personal-onboard-clear {
  margin: 4px 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: hsl(0 0% 55%);
}

@media (max-width: 820px) {
  .personal-onboard-step-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .personal-onboard-panes {
    grid-template-columns: 1fr;
  }

  .personal-onboard-guides {
    padding-right: 2px;
  }

  .personal-onboard-pane--benefits {
    border-left: none;
    border-top: 1px solid hsl(0 0% 32%);
    padding: 1.4rem 2px 1.2rem;
  }
}

.personal-layout {
  display: contents;
}

.personal-left {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.personal-analytics {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.personal-right {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.personal-account-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 0.6vh, 12px);
  flex: 1;
  min-height: 0;
  height: 100%;
  width: 100%;
}

.personal-panel--dashboard {
  display: flex;
  flex-direction: column;
  flex: none;
  min-height: 0;
  height: auto;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.personal-panel-title.personal-dashboard-kicker {
  margin: 0 2px 10px;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: hsl(0 0% 65%);
}

.personal-dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.personal-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.personal-dashboard-metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0.85rem 1.05rem 0.8rem;
  border-radius: 12px;
  background: hsl(0 0% 5%);
  border: 1px solid hsl(0 0% 20%);
  min-width: 0;
  min-height: 0;
}

.personal-dashboard-metric-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.personal-dashboard-spark {
  width: 88px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.personal-dashboard-metric-label {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: hsl(0 0% 65%);
}

.personal-dashboard-metric-value {
  font-size: 1.65rem;
  font-weight: 600;
  color: hsl(0 0% 100%);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.personal-dashboard-metric--equity .personal-dashboard-metric-value {
  font-size: 1.65rem;
}

.personal-dashboard-metric-value.is-up,
.personal-dashboard-metric-value.up {
  color: var(--up);
}

.personal-dashboard-metric-value.is-down,
.personal-dashboard-metric-value.down {
  color: var(--down);
}

.personal-dashboard-metric-value.flat {
  color: hsl(0 0% 100%);
}

.personal-dashboard-metric-sub {
  margin-top: auto;
  font-size: 0.75rem;
  color: hsl(0 0% 65%);
  font-variant-numeric: tabular-nums;
}

.personal-dashboard-metric-sub.is-up,
.personal-dashboard-metric-sub.up {
  color: var(--up);
}

.personal-dashboard-metric-sub.is-down,
.personal-dashboard-metric-sub.down {
  color: var(--down);
}

.personal-dashboard-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.personal-dashboard-strip-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.personal-dashboard-strip-value {
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: hsl(0 0% 100%);
}

.personal-card-holder {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid hsl(0 0% 100%);
  background: hsl(0 0% 5%);
  color: hsl(0 0% 100%);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.personal-card-holder:hover,
.personal-card-holder:focus-visible {
  border-color: hsl(0 0% 100%);
  background: hsl(0 0% 8%);
  outline: none;
}

.personal-card-holder-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.personal-card-holder-meta {
  margin-left: 0;
  font-size: 0.75rem;
  color: hsl(0 0% 65%);
}

.personal-card-holder-chevron {
  font-size: 0.875rem;
  color: hsl(0 0% 65%);
}

.personal-cards-view {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  gap: 8px;
}

.personal-cards-back {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid hsl(0 0% 20%);
  background: hsl(0 0% 5%);
  color: hsl(0 0% 100%);
  font-size: 0.75rem;
  cursor: pointer;
}

.personal-cards-back:hover,
.personal-cards-back:focus-visible {
  border-color: hsl(0 0% 40%);
  background: hsl(0 0% 8%);
  outline: none;
}

.personal-left.is-cards-open .personal-panel--dashboard {
  display: none;
}

.personal-left.is-cards-open {
  min-height: 240px;
}

.personal-left.is-cards-open .personal-cards-view {
  display: flex;
}

.personal-left.is-cards-open #personalAccountCards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(180px, 240px);
}

.personal-account-card {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
}

.personal-account-card--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.personal-account-card-content {
  width: 100%;
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.personal-account-card-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 108px;
  text-align: center;
}

.personal-account-card-empty-label {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(200, 210, 230, 0.68);
}

.personal-account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.personal-account-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.personal-account-card-label {
  font-size: 0.75rem;
  color: rgba(200, 210, 230, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.personal-account-card-balance-label {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 210, 230, 0.58);
}

.personal-account-card-balance {
  margin-top: 4px;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.personal-account-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.personal-account-card-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.personal-account-card-stat-label {
  font-size: 0.6875rem;
  color: rgba(200, 210, 230, 0.58);
}

.personal-account-card-stat-value {
  font-size: 0.8125rem;
  font-weight: 600;
}

.personal-account-card-actions {
  display: flex;
  gap: 6px;
}

.personal-account-card-edit {
  padding: 0.25rem 0.55rem;
  font-size: 0.6875rem;
}

.personal-account-card-error {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #ff8a8a;
}

.personal-panel--positions {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.personal-panel--positions .personal-panel-title-row {
  margin-bottom: 0.4rem;
}

.personal-panel--positions .personal-table-wrap {
  flex: 1;
  min-height: 0;
}

.personal-position-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: min-content;
  gap: 10px;
  flex: 1;
  min-height: 0;
  align-content: start;
  overflow-y: auto;
  padding-right: 2px;
}

.personal-panel--analytics {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 16px 18px 14px;
}

.personal-panel--analytics .personal-panel-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-transform: none;
  color: hsl(0 0% 96%);
}

.personal-analytics-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.personal-analytics-content.hidden {
  display: none;
}

.personal-analytics-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
}

.personal-analytics-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0 16px 2px 0;
  border-right: 1px solid hsl(0 0% 16%);
}

.personal-analytics-col--end {
  padding: 0 0 2px 16px;
  border-right: none;
}

.personal-analytics-block {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  padding: 12px 0;
  border-bottom: 1px solid hsl(0 0% 16%);
}

.personal-analytics-block:last-child {
  border-bottom: none;
  padding-bottom: 6px;
}

.personal-analytics-block-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: hsl(0 0% 55%);
}

.personal-analytics-kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.personal-analytics-kv-value {
  font-size: 1.125rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: hsl(0 0% 96%);
  white-space: nowrap;
}

.personal-analytics-kv-value.is-down {
  color: var(--down);
}

.personal-analytics-kv-value.is-up {
  color: var(--up);
}

.personal-analytics-metric-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: hsl(0 0% 55%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.personal-analytics-coin-list {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
}

.personal-analytics-coin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.personal-analytics-coin-symbol {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(0 0% 96%);
}

.personal-analytics-coin-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  background: hsl(0 0% 12%);
}

.personal-analytics-coin-logo,
.personal-analytics-coin-logo-fallback {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.personal-analytics-coin-logo {
  display: block;
  object-fit: cover;
}

.personal-analytics-coin-logo.is-hidden {
  display: none;
}

.personal-analytics-coin-logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  background: hsl(0 0% 16%);
  color: hsl(0 0% 78%);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
}

.personal-analytics-coin-logo-fallback:not(.is-hidden),
.personal-analytics-coin-logo.is-hidden + .personal-analytics-coin-logo-fallback {
  display: flex;
}

.personal-analytics-coin-ticker {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.personal-analytics-coin-pnl,
.personal-analytics-coin-pct {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: hsl(0 0% 72%);
}

.personal-analytics-coin-pnl.is-up,
.personal-analytics-coin-pct.is-up {
  color: var(--up);
}

.personal-analytics-coin-pnl.is-down,
.personal-analytics-coin-pct.is-down {
  color: var(--down);
}

.personal-analytics-stops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
}

.personal-analytics-stop {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.personal-analytics-stop-value {
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.personal-analytics-stop-value.is-up {
  color: var(--up);
}

.personal-analytics-stop-value.is-down {
  color: var(--down);
}

.personal-analytics-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.personal-analytics-pair-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.personal-analytics-pair-value {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: hsl(0 0% 96%);
}

.personal-analytics-chart-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 0;
  padding-top: 10px;
  margin-top: 2px;
  border-top: 1px solid hsl(0 0% 16%);
}

.personal-analytics-chart-wrap {
  position: relative;
  width: 100%;
  flex: none;
  height: 152px;
  min-height: 152px;
}

.personal-analytics-chart-wrap--equity {
  height: 152px;
  min-height: 152px;
}

.personal-analytics-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.personal-analytics-note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: hsl(0 0% 55%);
}

.personal-analytics-warn {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(240, 185, 11, 0.88);
}

.personal-position-cards:empty {
  display: none;
}

.personal-position-card {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0.8rem;
  background: hsl(0 0% 5%);
  border: 1px solid hsl(0 0% 20%);
  border-radius: 12px;
  min-width: 0;
}

.personal-position-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  min-width: 0;
}

.personal-position-card-symbol {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.personal-position-card-account {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.6875rem;
  color: rgba(200, 210, 230, 0.62);
}

.personal-position-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  flex: 1;
  min-height: 0;
  align-content: space-between;
}

.personal-position-card-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.personal-position-card-field-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.625rem;
  color: rgba(200, 210, 230, 0.58);
}

.personal-position-card-field-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
}

.personal-panel--closed {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  padding: 0.45rem 0.8rem 0.35rem;
}

.personal-body > .oi-loading,
.personal-body > .error {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  z-index: 20;
  place-self: center;
  pointer-events: none;
}

.personal-exchange-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.personal-account-type {
  font-size: 0.6875rem;
  color: rgba(200, 210, 230, 0.65);
}

.personal-summary-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 210, 230, 0.62);
}

.personal-summary-value {
  margin-top: 4px;
  font-size: 1.45rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.95);
}

.personal-summary-value--sm {
  font-size: 1.15rem;
}

.personal-summary-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(200, 210, 230, 0.65);
}

.personal-key-preview {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.82);
}

.personal-panel {
  position: relative;
  padding: 1rem 0.9rem 0.85rem;
  background: hsl(0 0% 5%);
  border: 1px solid hsl(0 0% 20%);
  border-radius: 12px;
  min-width: 0;
}

.personal-body .personal-panel > .corner-frame {
  display: none;
}

.personal-panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
}

.personal-panel-title-row .personal-panel-title {
  margin: 0;
}

.personal-lookback {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

.personal-lookback.hidden {
  display: none;
}

.personal-lookback-btn {
  position: relative;
  z-index: 6;
  pointer-events: auto;
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(200, 210, 230, 0.72);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
}

.personal-lookback-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
}

.personal-lookback-btn.is-active {
  color: hsl(0 0% 0%);
  background: hsl(0 0% 100%);
  border-color: hsl(0 0% 100%);
}

.personal-lookback-btn:disabled,
.personal-lookback-btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
}

.personal-lookback-btn:disabled:hover,
.personal-lookback-btn[aria-disabled="true"]:hover {
  color: rgba(200, 210, 230, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
}

.personal-panel-title {
  margin: 0 0 0.75rem;
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.personal-table-wrap {
  overflow: auto;
  flex: 1;
  min-height: 0;
}

.personal-table .side-long {
  color: var(--up);
  font-weight: 600;
}

.personal-table .side-short {
  color: var(--down);
  font-weight: 600;
}

.personal-account-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.personal-cex-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 50%;
}

.personal-account-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.personal-closed-time {
  margin-top: 2px;
  font-size: 0.625rem;
  color: rgba(200, 210, 230, 0.55);
}

.personal-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.personal-modal.hidden {
  display: none;
}

.personal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.personal-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 1.25rem 1.1rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(240, 185, 11, 0.28);
  box-shadow: var(--shadow);
}

.personal-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1rem;
}

.personal-modal-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.personal-modal-subtitle {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: var(--down);
  line-height: 1.45;
}

.personal-modal-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.personal-modal-close:hover {
  background: var(--bg-hover);
  border-color: var(--text-muted);
  color: var(--text);
}

.personal-modal-close svg {
  width: 16px;
  height: 16px;
}

.personal-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.personal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.personal-field--optional.hidden {
  display: none;
}

.personal-field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.personal-input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
}

.personal-input:focus {
  outline: none;
  border-color: rgba(240, 185, 11, 0.55);
  box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.12);
}

.personal-input-wrap {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.personal-input-wrap .personal-input {
  flex: 1;
  min-width: 0;
}

.personal-input-toggle {
  flex-shrink: 0;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-hover);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.personal-input-toggle:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.personal-modal-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(240, 185, 11, 0.08);
  border: 1px solid rgba(240, 185, 11, 0.18);
  font-size: 0.6875rem;
  color: rgba(234, 236, 239, 0.82);
  line-height: 1.45;
}

.personal-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.personal-modal-actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.personal-modal-remove {
  color: var(--down);
  border-color: rgba(246, 70, 93, 0.35);
}

.personal-modal-remove:hover {
  background: rgba(246, 70, 93, 0.1);
}

@media (max-width: 1360px) {
  .personal-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) 285px;
  }

  .personal-left {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .personal-analytics {
    grid-column: 1;
    grid-row: 2;
  }

  .personal-right {
    grid-column: 2;
    grid-row: 2;
  }

  .personal-panel--closed {
    grid-row: 3;
  }

  .personal-left.is-cards-open #personalAccountCards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(160px, 200px));
  }

  .personal-position-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .personal-analytics-desk {
    grid-template-columns: 1fr;
  }

  .personal-analytics-col,
  .personal-analytics-col--end {
    padding: 0 0 8px;
    border-right: none;
    border-bottom: 1px solid hsl(0 0% 16%);
  }

  .personal-analytics-col--end {
    padding-top: 8px;
    border-bottom: none;
  }

  .personal-dashboard-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .app--alpha .personal-scene-content {
    overflow: auto;
    height: auto;
  }

  .personal-body {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .personal-body.is-onboarding #personalOnboarding {
    flex: none;
    overflow: visible;
  }

  .personal-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .personal-left,
  .personal-right,
  .personal-analytics,
  .personal-panel--closed {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    overflow: visible;
  }

  .personal-panel--dashboard {
    flex: none;
    height: auto;
    min-height: 0;
  }

  .personal-cards-view {
    min-height: 0;
  }

  .personal-left.is-cards-open .personal-cards-view {
    height: auto;
  }

  .personal-account-cards {
    display: flex;
    flex-direction: column;
    height: auto;
    flex: none;
    justify-content: flex-start;
    gap: 14px;
  }

  .personal-left.is-cards-open #personalAccountCards {
    display: flex;
  }

  .personal-account-card,
  .personal-account-card-content {
    height: auto;
    flex: none;
  }

  .personal-panel--positions,
  .personal-panel--analytics {
    flex: none;
    height: auto;
    min-height: 280px;
  }

  .personal-panel--closed {
    min-height: 0;
    height: 285px;
    flex: none;
  }

  .personal-table-wrap {
    flex: 1;
    max-height: none;
  }

  .personal-position-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-y: visible;
  }

  .personal-analytics-content {
    overflow-y: visible;
  }
}

@media (max-width: 640px) {
  .personal-position-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .personal-position-cards {
    grid-template-columns: 1fr;
  }
}

/* —— Mainstream majors (BTC / ETH / SOL) —— */
.mainstream-scene-content {
  gap: 12px;
}

.mainstream-status {
  flex-shrink: 0;
  padding: 0 4px;
}

.app--alpha .mainstream-status.oi-loading,
.app--alpha .mainstream-status.error {
  color: rgba(200, 210, 230, 0.72);
}

.mainstream-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: 12px;
}

.mainstream-grid {
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.mainstream-gauges {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: 12px;
  min-height: 0;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mainstream-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 0;
  flex: 1 1 0;
  padding: 0.85rem 0.65rem 0.75rem;
  background: hsl(0 0% 5%);
  border: 1px solid hsl(0 0% 20%);
  border-radius: 12px;
}

.mainstream-gauge-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  text-align: center;
}

.mainstream-gauge-title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: hsl(0 0% 65%);
}

.mainstream-gauge-canvas {
  display: block;
  width: 100%;
  max-width: 168px;
  height: auto;
  aspect-ratio: 200 / 120;
}

.mainstream-gauge-value {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: hsl(0 0% 100%);
  line-height: 1.15;
}

.mainstream-gauge-label {
  font-size: 0.625rem;
  line-height: 1.25;
  color: hsl(0 0% 65%);
}

.mainstream-gauge-label:empty {
  display: none;
}

.mainstream-gauge--clock {
  flex: 0 0 auto;
  padding-top: 0.15rem;
}

.mainstream-gauge--clock .mainstream-gauge-value {
  font-size: 1.28rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.mainstream-gauge-spot {
  font-size: 0.625rem;
  line-height: 1.25;
  color: hsl(0 0% 65%);
}

.mainstream-gauge-spot:empty {
  display: none;
}

.mainstream-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 1rem 0.95rem 0.9rem;
  background: hsl(0 0% 5%);
  border: 1px solid hsl(0 0% 20%);
  border-radius: 12px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#pageMainstream .bento-section .magic-bento-card.mainstream-panel {
  border-radius: 12px;
  overflow: hidden;
}

#pageMainstream .home-universe-stars {
  opacity: 0.25;
}

.app--alpha .mainstream-panel:hover .corner-frame {
  opacity: 1;
}

.mainstream-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}

.mainstream-panel-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mainstream-panel-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
}

.mainstream-panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(0 0% 100%);
}

.mainstream-panel-symbol {
  font-size: 0.75rem;
  color: hsl(0 0% 65%);
}

.mainstream-chart-wrap {
  position: relative;
  flex: 0 0 auto;
  height: clamp(230px, 35vh, 350px);
  border: 1px solid hsl(0 0% 20%);
  border-radius: 10px;
  background: hsl(0 0% 0%);
  overflow: hidden;
}

.mainstream-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.mainstream-tsi-wrap {
  position: relative;
  flex: 0 0 auto;
  height: 100px;
  border: 1px solid hsl(0 0% 20%);
  border-radius: 10px;
  background: hsl(0 0% 0%);
  overflow: hidden;
}

.mainstream-tsi-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.mainstream-insight {
  flex: 0 0 13rem;
  height: 13rem;
  min-height: 13rem;
  max-height: 13rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.55rem 0.6rem 0.6rem;
  border: 1px solid hsl(0 0% 20%);
  border-radius: 10px;
  background: hsl(0 0% 0%);
}

.mainstream-insight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 0 0 auto;
}

.mainstream-insight-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 210, 230, 0.55);
}

.mainstream-insight-stance {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mainstream-insight-stance--long {
  color: var(--up);
  border-color: rgba(14, 203, 129, 0.35);
  background: rgba(14, 203, 129, 0.12);
}

.mainstream-insight-stance--short {
  color: var(--down);
  border-color: rgba(246, 70, 93, 0.35);
  background: rgba(246, 70, 93, 0.12);
}

.mainstream-insight-stance--aside {
  color: rgba(200, 210, 230, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

.mainstream-insight-thesis {
  margin: 0;
  flex: 0 0 2.8em;
  min-height: 2.8em;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(234, 236, 239, 0.88);
  overflow: hidden;
}

.mainstream-insight-levels {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 0.22rem;
}

.mainstream-insight-level {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 8px;
  align-items: baseline;
  font-size: 0.72rem;
}

.mainstream-insight-level dt {
  margin: 0;
  color: rgba(200, 210, 230, 0.5);
}

.mainstream-insight-level dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.88);
}

.mainstream-insight-empty {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(200, 210, 230, 0.5);
}

.mainstream-metrics {
  margin: 0;
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 0;
}

.mainstream-metric {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 0.5rem 0;
  border-top: 1px solid hsl(0 0% 20%);
}

.mainstream-metric:first-child {
  border-top: none;
  padding-top: 0.15rem;
}

.mainstream-metric dt {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(0 0% 65%);
}

.mainstream-metric dd {
  margin: 0;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.92);
  text-align: right;
}

.mainstream-metric dd.up {
  color: var(--up);
}

.mainstream-metric dd.down {
  color: var(--down);
}

.mainstream-metric dd.flat {
  color: rgba(200, 210, 230, 0.62);
}

.mainstream-metric--price {
  align-items: center;
}

.mainstream-metric--price dd {
  padding: 0;
}

.mainstream-diode {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.mainstream-diode-unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: hsl(0 0% 65%);
  line-height: 1;
}

.mainstream-diode-face {
  position: relative;
  display: inline-block;
  font-family: Inter, "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.mainstream-diode-ghost {
  color: transparent;
}

.mainstream-diode-value {
  position: absolute;
  left: 0;
  top: 0;
  color: hsl(0 0% 100%);
  text-shadow: none;
}

.mainstream-diode--empty .mainstream-diode-face {
  color: hsl(0 0% 35%);
}

.mainstream-metric-split {
  display: inline-flex;
  gap: 0.55rem;
  justify-content: flex-end;
}

.mainstream-metric-split span {
  white-space: nowrap;
}

.mainstream-metric-split .label {
  color: rgba(200, 210, 230, 0.5);
  font-size: 0.7rem;
  margin-right: 0.2rem;
}

.mainstream-metric--mainliq {
  grid-template-columns: 1fr;
  gap: 0.4rem;
  align-items: stretch;
}

.mainstream-metric--mainliq dd {
  text-align: left;
  display: flex;
  justify-content: flex-end;
}

.mainstream-mainliq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  width: 50%;
  max-width: 50%;
  margin-left: auto;
}

.mainstream-mainliq-empty {
  color: rgba(200, 210, 230, 0.62);
}

.mainstream-mainliq-col {
  min-width: 0;
  display: grid;
  gap: 0.22rem;
}

.mainstream-mainliq-candle {
  position: relative;
  display: flex;
  align-items: center;
  height: 1.05rem;
  min-width: 0;
}

.mainstream-mainliq-wick {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(200, 210, 230, 0.28);
  pointer-events: none;
}

.mainstream-mainliq-body {
  position: relative;
  z-index: 1;
  display: block;
  height: 0.65rem;
  min-width: 4px;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.mainstream-mainliq-col--long .mainstream-mainliq-body {
  background: var(--up);
}

.mainstream-mainliq-col--short .mainstream-mainliq-body {
  background: var(--down);
}

.mainstream-mainliq-pct {
  position: relative;
  z-index: 1;
  margin-left: 0.35rem;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.mainstream-mainliq-price {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

@media (max-width: 960px) {
  .mainstream-layout {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .mainstream-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .mainstream-gauges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 20px;
    flex: none;
    padding: 0.5rem 0;
  }

  .mainstream-gauge {
    flex: 0 1 120px;
  }

  .mainstream-gauge--clock {
    flex: 0 1 140px;
  }

  .mainstream-panel {
    min-height: auto;
  }

  .mainstream-chart-wrap {
    height: 243px; /* 180 * 1.35 */
  }

  .mainstream-tsi-wrap {
    height: 88px;
  }
}

/* —— Site content pages (Products / Price / Contact) —— */
.site-content-page {
  margin: 0 20px 20px;
  padding: 32px 28px 40px;
  overflow: auto;
}

.site-content-page-inner {
  max-width: 720px;
  margin: 0 auto;
}

.site-content-page-inner--cards {
  max-width: none;
  width: 100%;
  overflow-x: auto;
}

.site-content-page-inner--cards .home-product-grid {
  width: min(100%, 96vw);
  max-width: 1280px;
  margin: 0 auto;
}

.site-content-page-inner--cards .home-product-grid--single {
  max-width: 420px;
}

.site-contact-intro {
  margin: 12px 0 24px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.site-contact-channels {
  margin: 0;
  display: grid;
  gap: 12px;
}

.site-contact-channel {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.site-contact-channel-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.site-contact-channel-value {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
  word-break: break-word;
}

/* —— Dev content editor —— */
.content-editor-body {
  margin: 0 20px 20px;
  gap: 0;
  overflow: hidden;
}

.content-editor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px 0;
  border-bottom: 1px solid var(--border);
}

.content-editor-tab {
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 10px 16px;
  margin-bottom: -1px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.content-editor-tab:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.content-editor-tab.is-active {
  color: var(--accent);
  background: var(--bg);
  border-color: var(--border);
}

.content-editor-panel {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 20px;
}

.content-editor-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
}

.content-editor-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.content-editor-section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.content-editor-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.content-editor-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.content-editor-card-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.content-editor-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.content-editor-field--inline {
  flex: 1;
  min-width: 0;
}

.content-editor-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.content-editor-input,
.content-editor-textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
}

.content-editor-textarea {
  resize: vertical;
  min-height: 72px;
}

.content-editor-input:focus,
.content-editor-textarea:focus {
  outline: none;
  border-color: rgba(240, 185, 11, 0.55);
  box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.12);
}

.content-editor-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-editor-list-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.content-editor-list-row .content-editor-input {
  flex: 1;
  min-width: 0;
}

.content-editor-row-remove {
  flex-shrink: 0;
  min-width: 36px;
  padding-inline: 10px;
}

.content-editor-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-editor-channel {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.content-editor-list-add {
  align-self: flex-start;
}

@media (max-width: 640px) {
  .site-contact-channel {
    grid-template-columns: 1fr;
  }

  .content-editor-channel {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── News module ── */
#pageNews {
  --news-navy: #171e19;
  --news-sage: #b7c6c2;
  --news-taupe: #9f8d8b;
  --news-lime: #c5e047;
  --news-card-bg: rgba(18, 22, 20, 0.88);
  --news-card-slot: 168px;
  --news-visible-cards: 6;
  --news-iframe-panel-height: calc(
    28px + 12px + 32px + 14px + 1.15rem + 16px + 2rem + var(--news-card-slot) * var(--news-visible-cards)
  );
  --news-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --news-delist-ticker-duration: 240s;
  --news-iframe-scroll-size: 8px;
  --news-iframe-scroll-track: rgba(183, 198, 194, 0.06);
  --news-iframe-scroll-thumb-start: rgba(183, 198, 194, 0.55);
  --news-iframe-scroll-thumb-end: var(--accent);
  --news-dl-iframe-scroll-height: 3200px;
  --news-events-title-size: 1.125rem;
  --news-events-name-size: 13px;
  --news-events-meta-size: 11px;
  --news-events-time-size: 12px;
  --news-delist-font-size: 12px;
  --news-sidebar-font-size: 12px;
}

#pageNews .board-scene-content.news-scene-wrap {
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
  min-width: 0;
  padding-top: 4px;
  padding-bottom: 8px;
}

#pageNews .news-scene-wrap {
  min-width: 0;
}

.news-scene-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  min-width: 0;
  gap: 12px;
  overflow: hidden;
}

.news-scene-columns {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  gap: 20px;
  overflow: hidden;
}

.news-scene-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  flex: 1 1 480px;
  width: auto;
  max-width: 640px;
  max-height: 100%;
  padding: 28px 8px 12px 28px;
  align-self: stretch;
}

.news-layout {
  display: flex;
  flex: 1;
  min-height: 0;
  min-width: 0;
  gap: 20px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.news-sidebar {
  flex: 0 0 auto;
  width: 148px;
  max-width: 148px;
  min-width: 120px;
  align-self: stretch;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 32px 12px 32px 0;
  background: transparent;
  border: none;
}

.news-sidebar-label {
  margin: 0 0 28px;
  font-family: "Anton", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--news-lime);
}

.news-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 500ms var(--news-ease);
}

.news-nav-line {
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: rgba(183, 198, 194, 0.5);
  transition:
    width 500ms var(--news-ease),
    background 500ms var(--news-ease);
}

.news-nav-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-sidebar-font-size, 12px);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--news-lime);
  transition: color 500ms var(--news-ease), opacity 500ms var(--news-ease);
}

.news-nav-item:hover .news-nav-line,
.news-nav-item.is-active .news-nav-line {
  width: 64px;
  background: var(--news-sage);
}

.news-nav-item:hover .news-nav-text {
  color: var(--news-lime);
  opacity: 0.82;
}

.news-nav-item.is-active .news-nav-text {
  color: var(--news-lime);
  font-weight: 600;
  opacity: 1;
}

.news-sidebar-watchlist {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(183, 198, 194, 0.18);
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.news-sidebar-watchlist.hidden {
  display: none;
}

.news-sidebar-watchlist-label {
  margin: 0 0 12px;
  font-family: "Anton", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--news-lime);
}

.news-sidebar-watchlist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-sidebar-watchlist-list::-webkit-scrollbar {
  display: none;
}

.news-sidebar-watch-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 8px;
  transition: background 200ms var(--news-ease);
}

.news-sidebar-watch-item.is-active {
  background: rgba(183, 198, 194, 0.08);
  padding: 4px 0 6px;
}

.news-sidebar-watch-main {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.news-sidebar-watch-icon .zone-token-icon {
  width: 20px;
  height: 20px;
}

.news-sidebar-watch-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.news-sidebar-watch-name {
  flex: 1;
  min-width: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-sidebar-font-size, 12px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.94);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-sidebar-watch-pct {
  flex-shrink: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-sidebar-font-size, 12px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--news-lime);
  text-align: right;
}

.news-sidebar-watch-pct.is-up {
  color: var(--up);
}

.news-sidebar-watch-pct.is-down {
  color: var(--down);
}

.news-sidebar-watch-remove {
  display: none;
  align-self: flex-start;
  margin-left: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--text-muted);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 200ms var(--news-ease),
    color 200ms var(--news-ease);
}

.news-sidebar-watch-item.is-active .news-sidebar-watch-remove {
  display: inline-flex;
}

.news-sidebar-watch-remove:hover {
  border-color: var(--down);
  color: var(--down);
}

.news-sidebar-watch-add-wrap {
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 16px;
}

.news-sidebar-watch-add-panel {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-sidebar-watch-add-panel.hidden {
  display: none;
}

.news-sidebar-watch-add-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(197, 224, 71, 0.28);
  background: rgba(18, 22, 20, 0.96);
  color: var(--news-lime);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.news-sidebar-watch-add-input::placeholder {
  color: rgba(197, 224, 71, 0.45);
}

.news-sidebar-watch-add-input:focus {
  outline: none;
  border-color: var(--news-lime);
}

.news-sidebar-watch-add-dropdown {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid rgba(197, 224, 71, 0.2);
  border-radius: 8px;
  background: rgba(18, 22, 20, 0.98);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-sidebar-watch-add-dropdown::-webkit-scrollbar {
  display: none;
}

.news-sidebar-watch-add-dropdown.hidden {
  display: none;
}

.news-sidebar-watch-add-option {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: var(--news-lime);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
}

.news-sidebar-watch-add-option:hover {
  background: rgba(197, 224, 71, 0.08);
}

.news-sidebar-watch-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(197, 224, 71, 0.28);
  border-radius: 8px;
  background: transparent;
  color: var(--news-lime);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 200ms var(--news-ease),
    background 200ms var(--news-ease),
    opacity 200ms var(--news-ease);
}

.news-sidebar-watch-add-btn:hover,
.news-sidebar-watch-add-btn.is-active {
  border-color: var(--news-lime);
  background: rgba(197, 224, 71, 0.08);
}

.news-content-pane {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 0 16px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-content-pane::-webkit-scrollbar {
  display: none;
}

.news-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.news-view.hidden {
  display: none;
}

.news-view-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
}

.news-view-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.news-view-updated,
.news-view-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.news-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.news-filter-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.news-filter-chip.is-active,
.news-filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.news-token-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-token-row::-webkit-scrollbar {
  display: none;
}

.news-token-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

.news-token-chip.is-active {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

.news-token-chip-rank {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.news-token-chip-pct.is-up {
  color: var(--up);
}

.news-token-chip-pct.is-down {
  color: var(--down);
}

.news-token-detail {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-article-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  max-height: calc(var(--news-card-slot) * var(--news-visible-cards));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-article-list::-webkit-scrollbar {
  display: none;
}

.news-article-card {
  padding: 14px 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: var(--news-card-bg);
}

.news-article-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.news-article-category {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--news-lime);
}

.news-article-sep {
  flex-shrink: 0;
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
}

.news-article-time {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.news-article-title {
  margin: 0 0 6px;
  font-family: "Anton", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.22;
  text-transform: uppercase;
}

.news-article-title a {
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  transition: color 200ms var(--news-ease);
}

.news-article-title a:hover {
  color: var(--news-sage);
}

.news-article-summary {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-article-link {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--news-lime);
  text-decoration: none;
  transition: opacity 200ms var(--news-ease);
}

.news-article-link:hover {
  opacity: 0.82;
}

.news-article-bookmark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.38);
}

.news-empty {
  margin: 0;
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.news-watchlist-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.news-watchlist-search {
  position: relative;
  flex: 1;
  min-width: 180px;
}

.news-watchlist-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.news-watchlist-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.news-watchlist-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.news-watchlist-option:hover {
  background: var(--bg-hover);
}

.news-watchlist-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.news-watchlist-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.news-watchlist-chip.is-active {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.news-watchlist-remove {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  padding: 0 2px;
}

.news-watchlist-remove:hover {
  color: var(--down);
}

.news-status {
  margin: 0 8px 8px;
}

.news-rootdata-setup-hint,
.news-rootdata-empty,
.news-rootdata-loading,
.news-rootdata-error {
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(197, 224, 71, 0.24);
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.news-rootdata-setup-hint a,
.news-rootdata-empty a {
  color: var(--news-lime);
}

.news-rootdata-search-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: var(--news-lime);
  text-align: left;
  cursor: pointer;
}

.news-rootdata-search-option:hover {
  background: rgba(197, 224, 71, 0.08);
}

.news-rootdata-search-option-logo {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.news-rootdata-search-option-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.news-rootdata-search-option-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.94);
}

.news-rootdata-search-option-intro {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 300;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.48);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-defillama-empty,
.news-defillama-error,
.news-rootdata-empty,
.news-rootdata-error {
  margin: 0;
  padding: 10px 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.news-defillama-error,
.news-rootdata-error {
  color: rgba(255, 120, 120, 0.88);
}

.news-defillama-search-option,
.news-rootdata-search-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: var(--news-lime);
  text-align: left;
  cursor: pointer;
}

.news-defillama-search-option:hover,
.news-rootdata-search-option:hover {
  background: rgba(197, 224, 71, 0.08);
}

.news-defillama-search-option-logo,
.news-rootdata-search-option-logo {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.news-defillama-search-option-meta,
.news-rootdata-search-option-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.news-defillama-search-option-name,
.news-rootdata-search-option-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.94);
}

.news-defillama-search-option-intro,
.news-rootdata-search-option-intro {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 300;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.48);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-defillama-search-option-change {
  margin-left: 6px;
  font-size: 9px;
  font-weight: 500;
}

.news-defillama-search-option-change.is-up {
  color: #7ee787;
}

.news-defillama-search-option-change.is-down {
  color: #ff7b72;
}

.news-defillama-watch-icon,
.news-rootdata-watch-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.news-coin-aside {
  flex: 0 1 360px;
  width: auto;
  min-width: 0;
  max-width: 420px;
  align-self: stretch;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 12px 0;
  overflow: auto;
  scrollbar-width: thin;
  visibility: visible;
  opacity: 1;
}

.news-coin-empty,
.news-coin-loading,
.news-coin-error {
  margin: 0;
  padding: 24px 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: rgba(183, 198, 194, 0.72);
}

.news-coin-error {
  color: rgba(255, 120, 120, 0.88);
}

.news-coin-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 18px;
  border: 1px solid rgba(183, 198, 194, 0.14);
  border-radius: 12px;
  background: var(--news-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.news-coin-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-coin-panel-logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.news-coin-panel-logo-fallback {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: "Anton", sans-serif;
  font-size: 1.1rem;
  color: var(--news-lime);
  background: rgba(197, 224, 71, 0.12);
}

.news-coin-panel-title-wrap {
  min-width: 0;
}

.news-coin-panel-name {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.news-coin-panel-symbol {
  margin: 4px 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.72);
}

.news-coin-panel-desc {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(183, 198, 194, 0.82);
}

.news-coin-panel-note {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(159, 141, 139, 0.88);
}

.news-coin-panel-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.news-coin-panel-stat-label {
  display: inline-block;
  min-width: 72px;
  margin-right: 8px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.58);
}

.news-coin-panel-change.is-up {
  color: #7ee787;
}

.news-coin-panel-change.is-down {
  color: #ff7b72;
}

.news-coin-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-coin-panel-tag {
  padding: 4px 8px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(197, 224, 71, 0.92);
  background: rgba(197, 224, 71, 0.1);
  border: 1px solid rgba(197, 224, 71, 0.18);
}

.news-coin-panel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-coin-panel-link {
  padding: 6px 10px;
  border-radius: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: rgba(183, 198, 194, 0.92);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(183, 198, 194, 0.16);
  transition: color 200ms var(--news-ease), border-color 200ms var(--news-ease);
}

.news-coin-panel-link:hover {
  color: var(--news-lime);
  border-color: rgba(197, 224, 71, 0.35);
}

.news-coin-attribution {
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(183, 198, 194, 0.12);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(159, 141, 139, 0.78);
}

.news-coin-attribution a {
  color: rgba(183, 198, 194, 0.92);
  text-decoration: none;
}

.news-coin-attribution a:hover {
  color: var(--news-lime);
}

.news-dl-panel {
  gap: 14px;
}

.news-dl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.news-dl-category,
.news-dl-chain-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(197, 224, 71, 0.92);
  background: rgba(197, 224, 71, 0.1);
  border: 1px solid rgba(197, 224, 71, 0.18);
}

.news-dl-chain-label {
  color: rgba(183, 198, 194, 0.88);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(183, 198, 194, 0.16);
}

.news-dl-parent {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  color: rgba(183, 198, 194, 0.72);
}

.news-dl-parent a {
  color: rgba(183, 198, 194, 0.92);
  text-decoration: none;
}

.news-dl-parent a:hover {
  color: var(--news-lime);
}

.news-dl-hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(183, 198, 194, 0.12);
}

.news-dl-hero-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.58);
}

.news-dl-hero-value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.news-dl-change-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-dl-change-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: rgba(183, 198, 194, 0.88);
  background: rgba(255, 255, 255, 0.04);
}

.news-dl-change-pill.is-up {
  color: #7ee787;
  background: rgba(126, 231, 135, 0.1);
}

.news-dl-change-pill.is-down {
  color: #ff7b72;
  background: rgba(255, 123, 114, 0.1);
}

.news-dl-sparkline-wrap {
  margin-top: 4px;
}

.news-dl-sparkline {
  display: block;
  width: 100%;
  height: 48px;
  color: rgba(197, 224, 71, 0.85);
}

.news-dl-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.news-dl-metric-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(183, 198, 194, 0.1);
}

.news-dl-metric-label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.58);
}

.news-dl-metric-value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}

.news-dl-metric-change {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 600;
}

.news-dl-metric-change.is-up {
  color: #7ee787;
}

.news-dl-metric-change.is-down {
  color: #ff7b72;
}

.news-dl-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-dl-section-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.58);
}

.news-dl-chain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-dl-chain-row {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) minmax(60px, 1.2fr) auto;
  gap: 8px;
  align-items: center;
}

.news-dl-chain-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.news-dl-chain-bar-wrap {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.news-dl-chain-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(197, 224, 71, 0.55), rgba(197, 224, 71, 0.95));
}

.news-dl-chain-val {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(183, 198, 194, 0.92);
  white-space: nowrap;
}

.news-dl-methodology {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(183, 198, 194, 0.72);
}

.news-dl-audits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.news-dl-audit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgba(197, 224, 71, 0.95);
  background: rgba(197, 224, 71, 0.12);
  border: 1px solid rgba(197, 224, 71, 0.22);
}

.news-dl-key-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-dl-key-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-dl-key-group-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.62);
}

.news-dl-chain-bar.is-token {
  background: linear-gradient(90deg, rgba(120, 170, 255, 0.55), rgba(120, 170, 255, 0.85));
}

.news-dl-info-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(183, 198, 194, 0.1);
}

.news-dl-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.news-dl-info-label {
  min-width: 72px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.55);
}

.news-dl-info-value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
}

.news-dl-info-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-dl-oracle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-dl-oracle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(183, 198, 194, 0.1);
}

.news-dl-oracle-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.news-dl-oracle-type {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.82);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(183, 198, 194, 0.14);
}

.news-dl-raises-wrap {
  overflow-x: auto;
}

.news-dl-raises {
  width: 100%;
  border-collapse: collapse;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
}

.news-dl-raises th,
.news-dl-raises td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid rgba(183, 198, 194, 0.1);
  color: rgba(183, 198, 194, 0.82);
}

.news-dl-raises th {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.55);
}

.news-dl-raises td:nth-child(3) {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
}

.news-coin-aside--iframe {
  flex: 2 1 560px;
  width: auto;
  min-width: 0;
  max-width: none;
  height: var(--news-iframe-panel-height);
  max-height: var(--news-iframe-panel-height);
  min-height: var(--news-iframe-panel-height);
  align-self: flex-start;
  padding-right: 16px;
  overflow: hidden;
  box-sizing: border-box;
}

.news-dl-iframe-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.news-dl-iframe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 3;
  overflow: visible;
  flex: 0 0 auto;
}

.news-coin-pane-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(183, 198, 194, 0.16);
  background: rgba(0, 0, 0, 0.28);
}

.news-coin-pane-switch-btn {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(183, 198, 194, 0.72);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

.news-coin-pane-switch-btn:hover {
  color: rgba(255, 255, 255, 0.92);
}

.news-coin-pane-switch-btn.is-active {
  color: #10140f;
  background: var(--news-lime);
}

.news-coin-pane-switch-tip {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(12, 16, 14, 0.96);
  border: 1px solid rgba(197, 224, 71, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  color: rgba(232, 236, 230, 0.92);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: normal;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s var(--news-ease, ease), transform 0.14s var(--news-ease, ease);
  z-index: 8;
}

.news-coin-pane-switch-btn:first-child .news-coin-pane-switch-tip {
  left: 0;
  transform: translateY(4px);
}

.news-coin-pane-switch-btn:first-child:hover .news-coin-pane-switch-tip,
.news-coin-pane-switch-btn:first-child:focus-visible .news-coin-pane-switch-tip {
  transform: translateY(0);
}

.news-research-pane {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid rgba(183, 198, 194, 0.14);
  background: rgba(0, 0, 0, 0.35);
  padding: 16px 16px 20px;
}

.news-research-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.news-research-icon {
  display: flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.news-research-icon img,
.news-research-icon .zone-token-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.news-research-name {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.news-research-symbol {
  margin: 2px 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  color: rgba(183, 198, 194, 0.7);
}

.news-research-note {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(183, 198, 194, 0.78);
}

.news-dl-iframe-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.news-dl-iframe-sub {
  margin: 4px 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  color: rgba(183, 198, 194, 0.62);
}

.news-dl-iframe-open {
  flex: 0 0 auto;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  color: var(--news-lime);
  text-decoration: none;
  white-space: nowrap;
}

.news-dl-iframe-open:hover {
  text-decoration: underline;
}

.news-dl-iframe-wrap {
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(183, 198, 194, 0.14);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(240, 185, 11, 0.12);
}

.news-dl-iframe-crop {
  --dl-crop-left: 252px;
  --dl-crop-top: 64px;
  --dl-crop-right: 10px;
  overflow: hidden;
  width: 100%;
  min-height: 100%;
}

.news-dl-iframe-crop .news-dl-iframe {
  display: block;
  width: calc(100% + var(--dl-crop-left) + var(--dl-crop-right));
  height: var(--news-dl-iframe-scroll-height, 3200px);
  min-height: var(--news-dl-iframe-scroll-height, 3200px);
  margin-left: calc(-1 * var(--dl-crop-left));
  margin-top: calc(-1 * var(--dl-crop-top));
  margin-right: calc(-1 * var(--dl-crop-right));
  max-width: none;
  border: 0;
  background: #0b0f0e;
}

.news-dl-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #0b0f0e;
}

.news-dl-iframe-note {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  line-height: 1.45;
  color: rgba(183, 198, 194, 0.58);
}

.news-events-aside {
  flex: 0 1 320px;
  width: auto;
  min-width: 0;
  max-width: 380px;
  height: var(--news-iframe-panel-height);
  max-height: var(--news-iframe-panel-height);
  min-height: var(--news-iframe-panel-height);
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 12px 0;
  overflow: hidden;
  box-sizing: border-box;
}

.news-events-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.news-events-head {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
}

.news-events-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-events-title-size, 1.125rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
}

.news-events-fed-rate {
  flex: 0 0 auto;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-events-time-size, 12px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--news-lime);
  white-space: nowrap;
}

.news-events-updated {
  display: none;
}

.news-events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-events-list::-webkit-scrollbar {
  display: none;
}

.news-events-day {
  margin-top: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-events-meta-size, 11px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(183, 198, 194, 0.55);
}

.news-events-day:first-child {
  margin-top: 0;
}

.news-events-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
}

.news-events-main {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 46%;
}

.news-events-name {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-events-name-size, 13px);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.news-events-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.news-events-icon {
  flex: 0 0 auto;
}

.news-events-icon--us {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.news-events-icon--token {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.news-events-icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--news-lime);
}

.news-events-icon--dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(183, 198, 194, 0.45);
}

.news-events-values {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 4px;
}

.news-events-stat {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-events-meta-size, 11px);
  line-height: 1.35;
  color: rgba(183, 198, 194, 0.72);
}

.news-events-stat-label {
  display: inline-block;
  min-width: 2.2em;
  margin-right: 4px;
  color: rgba(183, 198, 194, 0.52);
}

.news-events-line {
  flex: 1 1 auto;
  min-width: 12px;
  height: 0;
  margin-top: 0.55em;
  align-self: flex-start;
  border-bottom: 1px dotted rgba(183, 198, 194, 0.28);
}

.news-events-time {
  flex: 0 0 auto;
  margin-top: 0.1em;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-events-time-size, 12px);
  font-weight: 500;
  color: rgba(183, 198, 194, 0.82);
  white-space: nowrap;
}

.news-events-empty,
.news-events-loading,
.news-events-error {
  margin: 0;
  padding: 16px 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-events-name-size, 13px);
  line-height: 1.5;
  color: rgba(183, 198, 194, 0.72);
}

.news-events-error {
  color: rgba(255, 120, 120, 0.88);
}

.news-delist-ticker {
  flex: 0 0 auto;
  width: 100%;
  min-height: 44px;
  max-height: 44px;
  overflow: hidden;
  border-top: 1px solid rgba(183, 198, 194, 0.14);
  background: rgba(12, 16, 14, 0.92);
  box-sizing: border-box;
}

.news-delist-ticker-empty,
.news-delist-ticker-loading,
.news-delist-ticker-error {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-delist-font-size, 12px);
  color: rgba(183, 198, 194, 0.62);
}

.news-delist-ticker-error {
  color: rgba(255, 120, 120, 0.88);
}

.news-delist-ticker-viewport {
  position: relative;
  height: 44px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.news-delist-ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  min-height: 44px;
  padding: 0 16px;
  animation: newsDelistTickerScroll var(--news-delist-ticker-duration, 240s) linear infinite;
}

.news-delist-ticker-viewport:hover .news-delist-ticker-track {
  animation-play-state: paused;
}

@keyframes newsDelistTickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.news-delist-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--news-delist-font-size, 12px);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.news-delist-ticker-item--listing {
  color: rgba(120, 220, 140, 0.92);
}

.news-delist-ticker-item--listing:hover {
  color: rgba(150, 240, 165, 1);
}

.news-delist-ticker-item--delisting {
  color: rgba(255, 120, 120, 0.9);
}

.news-delist-ticker-item--delisting:hover {
  color: rgba(255, 150, 150, 1);
}

.news-delist-ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.news-delist-ticker-dot--listing {
  background: rgba(120, 220, 140, 0.72);
}

.news-delist-ticker-dot--delisting {
  background: rgba(255, 120, 120, 0.72);
}

.news-delist-ticker-event {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.news-delist-ticker-item--listing .news-delist-ticker-event,
.news-delist-ticker-item--listing .news-delist-ticker-market {
  color: rgba(120, 220, 140, 0.95);
}

.news-delist-ticker-item--delisting .news-delist-ticker-event,
.news-delist-ticker-item--delisting .news-delist-ticker-market {
  color: rgba(255, 120, 120, 0.95);
}

.news-delist-ticker-exchange {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.news-delist-ticker-market {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.news-delist-ticker-symbol {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.news-delist-ticker-date {
  color: rgba(183, 198, 194, 0.58);
}

@media (max-width: 900px) {
  .news-scene-wrap {
    flex-direction: column;
    gap: 12px;
  }

  .news-scene-columns {
    flex-direction: column;
    gap: 12px;
  }

  .news-scene-content {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .news-layout {
    flex-direction: column;
    gap: 12px;
  }

  .news-sidebar {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 16px 8px 8px;
  }

  .news-sidebar-label {
    margin-bottom: 16px;
  }

  .news-sidebar-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
  }

  .news-nav-item {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    min-width: 72px;
  }

  .news-nav-line {
    width: 40px;
  }

  .news-nav-item:hover .news-nav-line,
  .news-nav-item.is-active .news-nav-line {
    width: 64px;
  }

  .news-nav-text {
    text-align: center;
  }

  .news-coin-aside,
  .news-coin-aside--iframe {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0 8px 12px 28px;
  }

  .news-events-aside {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 320px;
    max-height: none;
    padding: 0 8px 12px 28px;
  }
}

/* ── Super Chart module ── */
#pageChart {
  --chart-accent: #c5e047;
  --chart-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-scene-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  width: 100%;
  max-width: none;
  padding: 20px 20px 12px 24px;
}

.chart-layout {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  gap: 16px;
  width: 100%;
}

.chart-sidebar {
  flex: 0 0 auto;
  width: 300px;
  min-width: 260px;
  max-width: 320px;
  align-self: stretch;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 8px 8px 0;
}

.chart-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chart-sidebar-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.chart-sidebar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
}

.chart-sidebar-label {
  margin: 0;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
  line-height: 1.2;
}

.chart-sidebar-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #8b8e97;
  cursor: pointer;
}

.chart-sidebar-icon-btn:hover,
.chart-sidebar-icon-btn:focus-visible {
  color: #fff;
  background: hsl(0 0% 100% / 0.06);
  outline: none;
}

.chart-watch-composer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-watch-composer-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.chart-watch-select-wrap {
  position: relative;
  min-width: 0;
}

.chart-watch-select-wrap::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #787b86;
  border-bottom: 1.5px solid #787b86;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.chart-watch-select {
  appearance: none;
  width: 100%;
  height: 32px;
  padding: 0 22px 0 10px;
  border-radius: 4px;
  border: 1px solid #2a2e39;
  background: #131722;
  color: #d1d4dc;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.chart-watch-select:hover {
  border-color: #3a3f4b;
}

.chart-watch-select:focus-visible {
  outline: none;
  border-color: #5d606b;
}

.chart-watch-select option {
  background: #131722;
  color: #d1d4dc;
}

.chart-watch-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid #2a2e39;
  background: transparent;
  color: #d1d4dc;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 160ms var(--chart-ease), border-color 160ms var(--chart-ease), color 160ms var(--chart-ease);
}

.chart-watch-add-btn:hover,
.chart-watch-add-btn:focus-visible {
  background: hsl(0 0% 100% / 0.04);
  border-color: #434651;
  color: #fff;
  outline: none;
}

.chart-watch-add-plus {
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.chart-watch-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(68px, 0.85fr) minmax(54px, 0.7fr);
  gap: 8px;
  padding: 4px 4px 6px 32px;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: #787b86;
}

.chart-watch-cols span:nth-child(2),
.chart-watch-cols span:nth-child(3) {
  text-align: right;
}

.chart-sidebar-watchlist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.chart-sidebar-watch-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #1e222d;
}

.chart-sidebar-watch-item.is-chart-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--up);
}

.chart-sidebar-watch-item.is-chart-active {
  background: transparent;
}

.chart-sidebar-watch-item.is-selected {
  background: hsl(0 0% 100% / 0.03);
}

.chart-sidebar-watch-item.is-dragging {
  position: relative;
  z-index: 3;
  opacity: 0.95;
  background: hsl(0 0% 100% / 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  touch-action: none;
  transition: none;
}

.chart-sidebar-watch-item.is-dragging .chart-sidebar-watch-main {
  cursor: grabbing;
}

.chart-sidebar-watch-item.is-drop-target {
  opacity: 0.55;
}

.chart-sidebar-watch-item.is-drop-before {
  box-shadow: inset 0 2px 0 var(--up);
}

.chart-sidebar-watch-item.is-drop-after {
  box-shadow: inset 0 -2px 0 var(--up);
}

.chart-sidebar-watchlist-list.is-reordering {
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.chart-sidebar-watchlist-list.is-reordering .chart-sidebar-watch-main {
  cursor: grab;
}

.chart-sidebar-watch-main {
  display: grid;
  grid-template-columns: 22px minmax(0, 1.35fr) minmax(68px, 0.85fr) minmax(54px, 0.7fr);
  align-items: center;
  column-gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 8px 4px 8px 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.chart-sidebar-watch-icon {
  flex-shrink: 0;
}

.chart-sidebar-watch-icon .zone-token-icon,
.chart-sidebar-watch-icon .zone-token-icon-fallback {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chart-sidebar-watch-icon .zone-token-icon-fallback {
  background: hsl(0 0% 100% / 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.chart-sidebar-watch-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chart-sidebar-watch-symbol {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
  line-height: 1.2;
}

.chart-sidebar-watch-name {
  min-width: 0;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: #787b86;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.chart-sidebar-watch-price {
  justify-self: end;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #d1d4dc;
  line-height: 1.2;
}

.chart-sidebar-watch-pct {
  justify-self: end;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #787b86;
  line-height: 1.2;
}

.chart-sidebar-watch-pct.is-up {
  color: var(--up);
}

.chart-sidebar-watch-pct.is-down {
  color: var(--down);
}

.chart-sidebar-watch-remove {
  display: none;
  align-self: flex-start;
  margin: 0 8px 8px 38px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #2a2e39;
  background: transparent;
  color: #787b86;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.chart-sidebar-watch-item.is-selected .chart-sidebar-watch-remove {
  display: inline-flex;
}

.chart-sidebar-watch-remove:hover {
  border-color: var(--down);
  color: var(--down);
}

.chart-watchlist-empty {
  margin: 8px 0 0;
  font-size: 12px;
  color: #787b86;
  line-height: 1.4;
}

.chart-watchlist-empty.hidden {
  display: none;
}

.chart-candle-shape-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  flex-shrink: 0;
  margin-top: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 4px;
  border: 1px solid #2a2e39;
  background: transparent;
  color: #d1d4dc;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 160ms var(--chart-ease), border-color 160ms var(--chart-ease), color 160ms var(--chart-ease);
}

.chart-candle-shape-icon {
  flex-shrink: 0;
  color: #8b8e97;
}

.chart-candle-shape-btn:hover,
.chart-candle-shape-btn[aria-expanded="true"] {
  background: hsl(0 0% 100% / 0.04);
  border-color: #434651;
  color: #fff;
}

.chart-candle-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(300px, 40%) 1fr;
  pointer-events: none;
  overflow: hidden;
}

.chart-candle-overlay.hidden {
  display: none !important;
}

.chart-candle-overlay-panel {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 14px 14px 12px;
  border-right: 1px solid rgba(197, 224, 71, 0.18);
  background: rgba(11, 14, 17, 0.97);
}

.chart-candle-overlay-chart-slot {
  pointer-events: none;
}

.chart-candle-overlay-head {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.chart-candle-overlay-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.chart-candle-overlay-title {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chart-accent);
}

.chart-candle-overlay-meta {
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chart-candle-overlay-symbol {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}

.chart-candle-overlay-interval {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.625rem;
  color: var(--text-muted);
}

.chart-candle-overlay-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}

.chart-candle-overlay-close:hover {
  border-color: var(--chart-accent);
  color: var(--chart-accent);
}

.chart-candle-overlay-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-candle-bias-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chart-candle-filter-btn {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(197, 224, 71, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.chart-candle-filter-btn:hover {
  border-color: rgba(197, 224, 71, 0.45);
  color: rgba(255, 255, 255, 0.94);
}

.chart-candle-filter-btn.is-active {
  border-color: var(--chart-accent);
  background: rgba(197, 224, 71, 0.12);
  color: var(--chart-accent);
}

.chart-candle-overlay-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-candle-shape-grid {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  padding-right: 4px;
}

.chart-candle-shape-grid > .chart-candle-shape-detail-hint {
  grid-column: 1 / -1;
  margin: 8px 0 0;
}

.chart-candle-shape-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 8px 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(197, 224, 71, 0.16);
  background: rgba(18, 22, 28, 0.88);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.chart-candle-shape-card:hover {
  border-color: rgba(197, 224, 71, 0.4);
}

.chart-candle-shape-card.is-selected {
  border-color: var(--chart-accent);
  background: rgba(197, 224, 71, 0.08);
}

.chart-candle-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 64px;
}

.chart-candle-shape-card-name {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}

.chart-candle-shape-card-bias {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.chart-candle-shape-card-bias.is-long {
  color: var(--up);
}

.chart-candle-shape-card-bias.is-wait {
  color: var(--text-muted);
}

.chart-candle-shape-card-bias.is-continue {
  color: var(--chart-accent);
}

.chart-candle-shape-detail {
  flex-shrink: 0;
  padding: 10px 12px 12px;
  border-radius: 8px;
  border: 1px solid rgba(197, 224, 71, 0.18);
  background: rgba(18, 22, 28, 0.92);
}

.chart-candle-shape-detail-svg {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.chart-candle-shape-detail-svg .chart-candle-svg {
  max-height: 96px;
  width: min(100%, 220px);
}

.chart-candle-shape-detail-name {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
}

.chart-candle-shape-detail-hint {
  margin: 6px 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.chart-candle-shape-detail-look {
  margin: 8px 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.625rem;
  color: rgba(197, 224, 71, 0.75);
}

.chart-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.chart-tv-container {
  flex: 1;
  min-height: 60vh;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.chart-tv-widget-mount,
.chart-tv-widget-mount iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 60vh;
  border: 0;
}

.chart-tv-container .tradingview-widget-container__widget {
  height: calc(100% - 32px) !important;
}

.chart-tv-container .tradingview-widget-copyright {
  height: 32px;
  font-size: 11px;
  line-height: 32px;
  text-align: center;
  vertical-align: middle;
  color: var(--text-muted);
}

.chart-tv-container .tradingview-widget-copyright .blue-text {
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .chart-layout {
    flex-direction: column;
  }

  .chart-sidebar {
    width: 100%;
    max-width: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-right: 0;
  }

  .chart-sidebar-head,
  .chart-watch-composer,
  .chart-candle-shape-btn {
    width: 100%;
  }

  .chart-sidebar-watchlist-list {
    width: 100%;
    max-height: 120px;
    flex: none;
  }

  .chart-candle-shape-btn {
    margin-top: 8px;
  }

  .chart-candle-overlay {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 48vh) 1fr;
  }

  .chart-candle-overlay-panel {
    max-height: 48vh;
    border-right: none;
    border-bottom: 1px solid rgba(197, 224, 71, 0.18);
  }

  .chart-tv-container {
    min-height: 50vh;
  }

  .strategy-tree-shell {
    flex-direction: column;
    gap: 8px;
  }

  .strategy-tree-nav {
    flex: 0 0 auto;
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 0.45rem 0.65rem;
  }

  .strategy-tree-nav .strategy-tree-collapse-btn {
    display: none;
  }

  .strategy-tree-nav-list {
    flex-direction: row;
    flex: 1;
    overflow: auto;
  }

  .strategy-tree-node {
    width: auto;
    min-height: 36px;
  }

  .strategy-tree-shell.is-tree-collapsed .strategy-tree-nav {
    flex-basis: auto;
    width: 100%;
    padding: 0.45rem 0.65rem;
  }

  .strategy-tree-shell.is-tree-collapsed .strategy-tree-nav-title,
  .strategy-tree-shell.is-tree-collapsed .strategy-tree-node-label {
    display: block;
  }

  .strategy-tree-shell.is-tree-collapsed .strategy-tree-node {
    justify-content: flex-start;
    padding: 0.45rem 0.55rem;
  }

  .strategy-tree-detail {
    flex: 0 0 auto;
    width: 100%;
    max-height: 40vh;
  }

  .strategy-tree-shell.is-detail-collapsed .strategy-tree-detail {
    flex-basis: auto;
    width: 100%;
    max-height: none;
    padding: 0.45rem 0.65rem;
  }

  .strategy-tree-shell.is-detail-collapsed .strategy-tree-detail-title {
    display: block;
  }
}

/* ── Responsive flexbox (RWD plan) ── */

@media (max-width: 900px) {
  .home-product-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-product-grid .home-product-card {
    flex: 1 1 min(280px, 100%);
  }
}

@media (max-width: 640px) {
  :root {
    --scene-pad-x: 10px;
    --scene-pad-top: 10px;
    --top-nav-height: 56px;
  }

  .app--alpha .board-scene-content,
  .app--alpha .personal-scene-content,
  .app--alpha .dsb-scene-content,
  .chart-scene-content,
  .strategy-tree-shell,
  .whale-scene-content {
    padding: var(--scene-pad-top) var(--scene-pad-x) 12px;
  }

  .app--alpha .strategy-tree-shell .dsb-scene-content {
    padding: 0;
  }

  .app--alpha.app--with-side-nav .board-scene-content,
  .app--alpha.app--with-side-nav .personal-scene-content,
  .app--alpha.app--with-side-nav .chart-scene-content,
  .app--alpha.app--with-side-nav .mainstream-scene-content,
  .app--alpha.app--with-side-nav .news-scene-wrap,
  .app--alpha.app--with-side-nav .strategy-tree-shell,
  .app--alpha.app--with-side-nav .strategy-tree-page .board-footer,
  .app--alpha.app--with-side-nav .whale-scene-content {
    padding-left: calc(var(--scene-pad-x) + var(--module-side-nav-width, 156px));
  }

  .app--alpha.app--with-side-nav {
    --module-side-nav-width: 156px;
  }

  .module-side-nav {
    top: var(--top-nav-height, 56px);
    width: var(--module-side-nav-width, 156px);
    padding: 0.65rem 0.45rem 0.85rem;
  }

  .module-side-nav-item {
    min-height: 40px;
    gap: 0.55rem;
    padding: 0.45rem 0.55rem;
  }

  .module-side-nav-item svg,
  .module-side-nav-letter {
    width: 20px;
    height: 20px;
  }

  .module-side-nav-letter {
    font-size: 0.95rem;
  }

  .module-side-nav-label {
    font-size: 0.8125rem;
  }

  .inside-page-body,
  .content-editor-body,
  .dev-tools-hub,
  .site-content-page {
    margin-left: 10px;
    margin-right: 10px;
  }

  .home-product-grid .home-product-card {
    flex: 1 1 100%;
  }

  .layout-zones .zones-sidebar {
    flex: 0 0 auto;
    flex-direction: column;
    min-height: 0;
    gap: 10px;
  }

  .layout-zones .strategy-panel {
    flex: 0 0 auto;
    max-height: none;
    min-height: 200px;
  }

  .layout-zones .flow-panel {
    flex: 0 0 auto;
    min-height: 180px;
  }

  .layout-zones .zones-folder-panels {
    min-height: 140px;
  }

  .layout-zones .zone-a.is-active,
  .layout-zones .zone-b.is-active,
  .layout-zones .zone-c.is-active {
    flex: 1 1 auto;
    min-height: 120px;
  }

  .layout-zones .flow-panel-body {
    min-height: 160px;
  }

  .zone-d-header {
    flex-wrap: wrap;
  }

  .token-cell {
    min-width: 140px;
  }

  .dsb-summary-card {
    flex: 1 1 calc(50% - 6px);
  }

  .mainstream-grid {
    grid-template-columns: 1fr;
  }

  .mainstream-gauges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .mainstream-gauge {
    flex: 0 1 100px;
  }

  .mainstream-gauge--clock {
    flex: 0 1 120px;
  }

  .oi-detail-top {
    flex-direction: column;
  }

  .oi-detail-main {
    grid-template-columns: 1fr;
  }

  .members-admin-create-row {
    flex-direction: column;
    align-items: stretch;
  }

  .members-admin-create-row .member-password-wrap--inline {
    width: 100%;
  }

  .members-admin-create-row input,
  .members-admin-create-row button {
    width: 100%;
  }

  .dev-tools-hub-grid {
    grid-template-columns: 1fr;
  }

  .content-editor-tabs,
  .content-editor-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .content-editor-section-head .btn {
    align-self: flex-start;
  }

  #pageNews .news-coin-aside,
  #pageNews .news-coin-aside--iframe,
  #pageNews .news-events-aside {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0 8px 12px 16px;
  }

  #pageNews .news-delist-ticker {
    max-height: none;
    height: auto;
  }

  #pageNews .news-delist-ticker-viewport {
    height: auto;
    min-height: 44px;
  }

  #pageNews .news-delist-ticker-track {
    flex-wrap: wrap;
    width: 100%;
    animation: none;
  }

  .chart-sidebar {
    flex-direction: column;
    padding-right: 0;
  }

  .chart-sidebar-watchlist-list {
    max-height: 100px;
  }

  .chart-tv-container {
    min-height: 50vh;
  }
}

@media (max-width: 900px) {
  .oi-detail-top {
    flex-direction: column;
  }
}

.news-coin-aside--iframe .news-dl-iframe-wrap {
  overflow-x: auto;
  width: 100%;
}

/* —— Neuralyn landing chrome —— */
.demo-top-nav-start {
  display: flex;
  align-items: center;
  gap: 3rem;
  min-width: 0;
}

@media (min-width: 768px) {
  .demo-top-nav {
    padding: 16px 7rem;
  }

  .demo-top-nav-start {
    gap: 5rem;
  }
}

.brand-wordmark {
  display: none;
}

.demo-top-nav-brand {
  gap: 0;
  cursor: pointer;
}

.demo-top-nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0;
}

.nav-signin-btn {
  background: hsl(0 0% 100%);
  color: hsl(0 0% 0%);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.nav-signin-btn:hover {
  opacity: 0.85;
}

.nav-signin-btn.hidden {
  display: none;
}

.app--alpha .demo-top-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin-bottom: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.app--home .demo-top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8100;
  margin-bottom: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
}

.app--home .demo-top-nav-links {
  position: static;
  left: auto;
  transform: none;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  gap: 0.25rem;
}

.app--home .demo-nav-btn,
.app--home .demo-nav-btn:hover,
.app--home .demo-nav-btn.active {
  background: transparent;
  border: none;
  color: var(--text);
}

.app--home .page-home {
  overflow: visible;
  height: auto;
  flex: none;
  min-height: 0;
}

.home-hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  background: hsl(0 0% 0%);
  flex-shrink: 0;
}

.home-hero-copy {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: calc(2.5rem + 78px + var(--top-nav-height));
  padding: 0 1rem;
  width: 100%;
  max-width: 56rem;
  will-change: transform, opacity;
}

@media (min-width: 768px) {
  .home-hero-copy {
    margin-top: calc(3.25rem + 78px + var(--top-nav-height));
  }
}

.home-hero-title {
  margin: 0 0 2rem;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.15;
  color: hsl(0 0% 100%);
}

.home-hero-title-line {
  display: block;
}

.home-cta-btn {
  background: hsl(0 0% 100%);
  color: hsl(0 0% 0%);
  border: none;
  border-radius: 999px;
  padding: 0.875rem 2rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
}

.home-cta-btn:hover {
  opacity: 0.9;
}

.home-dashboard-area {
  position: relative;
  z-index: 10;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  aspect-ratio: 16 / 9;
  flex: 1 0 auto;
  min-height: 0;
}

.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-dashboard-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 64rem;
  width: 90%;
  border-radius: 1rem;
  mix-blend-mode: luminosity;
  will-change: transform;
}

.home-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10rem;
  background: linear-gradient(to top, hsl(0 0% 0%), transparent);
  z-index: 30;
  pointer-events: none;
}

.home-products-intro {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 2rem 4rem;
  background: hsl(0 0% 0%);
  flex-shrink: 0;
  scroll-margin-top: 0;
}

.home-products-intro-inner {
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2.5rem;
}

.home-products-intro-hero {
  text-align: left;
  max-width: none;
}

.home-products-intro-title {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: hsl(0 0% 100%);
}

.home-products-catalog {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid hsl(0 0% 20%);
}

.home-products-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(9rem, 0.34fr) minmax(0, 1fr);
  gap: 1rem 1.75rem;
  align-items: start;
  margin: 0;
  padding: 1.2rem 0 1.15rem;
  border-bottom: 1px solid hsl(0 0% 20%);
  outline: none;
  cursor: default;
}

.home-products-row-num {
  padding-top: 0.55rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: hsl(0 0% 42%);
}

.home-products-row-name {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: hsl(0 0% 46%);
  transition: color 0.2s ease, font-style 0.2s ease;
}

.home-products-row-body {
  margin: 0.2rem 0 0;
  max-width: 38rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: hsl(0 0% 42%);
  transition: color 0.2s ease;
}

.home-products-row.is-active .home-products-row-name,
.home-products-row:hover .home-products-row-name,
.home-products-row:focus-visible .home-products-row-name {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: hsl(0 0% 100%);
}

.home-products-row.is-active .home-products-row-body,
.home-products-row:hover .home-products-row-body,
.home-products-row:focus-visible .home-products-row-body {
  color: hsl(0 0% 68%);
}

.home-products-row.is-active .home-products-row-num,
.home-products-row:hover .home-products-row-num,
.home-products-row:focus-visible .home-products-row-num {
  color: hsl(0 0% 70%);
}

.site-content-page-inner--catalog .home-products-catalog {
  margin-top: 2rem;
}

@media (max-width: 960px) {
  .home-products-intro {
    align-items: flex-start;
    padding-top: 5rem;
  }

  .home-products-row {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.35rem 1rem;
  }

  .home-products-row-body {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .home-products-intro-title {
    font-size: 2rem;
  }

  .home-products-row-name {
    font-size: 1.5rem;
  }

  .home-products-row-body {
    font-size: 0.875rem;
  }
}

.home-price-contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 2rem 4rem;
  background: hsl(0 0% 0%);
  flex-shrink: 0;
}

.home-price-contact-inner {
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem 5rem;
  align-items: start;
}

.home-price-contact-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.home-price-contact-title,
.home-price-intro-title,
.home-contact-intro-title {
  margin: 0 0 1.75rem;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: hsl(0 0% 100%);
}

.home-price-intro-inner,
.site-content-page-inner--price,
.home-contact-intro-inner {
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2.5rem;
}

.home-price-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem 5rem;
  align-items: start;
  width: 100%;
  border-top: 1px solid hsl(0 0% 20%);
  padding-top: 2.25rem;
}

.home-price-tier {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: hsl(0 0% 100%);
}

.home-price-rates {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.home-price-rate {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.home-price-amount {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: hsl(0 0% 100%);
}

.home-price-unit {
  font-size: 1rem;
  color: hsl(0 0% 65%);
}

.home-price-contact-col .home-cta-btn,
.home-price-plan .home-cta-btn {
  margin-top: 1.75rem;
}

.home-price-includes {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 28rem;
  margin-top: 1.75rem;
}

.home-price-copy {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  letter-spacing: -0.02em;
  color: hsl(0 0% 58%);
}

.home-price-beta-note {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(24 95% 53%);
}

.home-price-contact-col .home-contact-card {
  max-width: none;
  width: 100%;
}

@media (max-width: 960px) {
  .home-price-contact {
    align-items: flex-start;
    padding-top: 5rem;
  }

  .home-price-contact-inner,
  .home-price-layout {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .home-price-tier {
    font-size: 3.5rem;
  }
}

@media (max-width: 640px) {
  .home-price-contact-title,
  .home-price-intro-title,
  .home-contact-intro-title {
    font-size: 2rem;
  }

}

.home-contact-card {
  width: 100%;
  max-width: 36rem;
  padding: 2.25rem 2rem;
}

.home-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.home-contact-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.38fr) minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: baseline;
}

.home-contact-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: hsl(0 0% 55%);
}

.home-contact-value {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: hsl(0 0% 96%);
  text-decoration: none;
  word-break: break-word;
}

a.home-contact-value:hover {
  color: hsl(0 0% 100%);
}

@media (max-width: 640px) {
  .home-contact-intro-title {
    font-size: 2rem;
  }

  .home-contact-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.home-guest-cta {
  display: none !important;
}

.home-testimonial {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
  background: hsl(0 0% 0%);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .home-testimonial {
    padding: 8rem 7rem;
  }
}

.home-testimonial-inner {
  max-width: 48rem;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

.home-testimonial-quote-mark {
  width: 3.5rem;
  height: 2.5rem;
  object-fit: contain;
  color: hsl(0 0% 100%);
}

.home-testimonial-quote {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .home-hero-title {
    font-size: 4.5rem;
  }

  .home-testimonial-quote {
    font-size: 3rem;
  }
}

.home-testimonial-word {
  margin-right: 0.3em;
  display: inline-block;
}

.home-testimonial-word--cjk {
  margin-right: 0;
}

.home-testimonial-word--lead {
  flex: 0 0 100%;
  margin-right: 0;
  margin-bottom: 0.2em;
}

.home-testimonial-close {
  margin-left: 0.5rem;
  color: hsl(0 0% 65%);
}

.home-landing-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 1.5rem 2rem 2rem;
  color: hsl(0 0% 65%);
  font-size: 0.6875rem;
  flex-shrink: 0;
}

.home-landing-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

@media (min-width: 768px) {
  .home-landing-footer {
    padding: 1.5rem 7rem 2.5rem;
  }
}

.home-landing-footer .home-footer-copy,
.home-landing-footer .home-footer-credit {
  position: static;
  transform: none;
  left: auto;
  bottom: auto;
  color: hsl(0 0% 65%);
}

.page-placeholder {
  padding-top: 0;
}

.page-placeholder .board-footer {
  padding: 0 1.25rem 12px;
}

.site-content-page {
  margin: 0 1.25rem 1.25rem;
  padding: 0.75rem 1.75rem 1.5rem;
  overflow: auto;
  background: hsl(0 0% 0%);
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.page-placeholder .inside-page-body {
  background: transparent;
  border: none;
  box-shadow: none;
}

.site-page-hero {
  margin: 0 auto 1rem;
  max-width: 48rem;
}

.site-page-title {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: hsl(0 0% 100%);
}

.site-page-kicker {
  margin: 0.5rem 0 0;
  font-size: 1.125rem;
  color: hsl(0 0% 65%);
}

.site-contact-channel {
  background: hsl(0 0% 5%);
  border: none;
  border-radius: 12px;
}

.home-product-card.liquid-glass {
  overflow: hidden;
}

@media (max-width: 768px) {
  .demo-top-nav-links {
    display: none;
  }

  .home-hero-title {
    font-size: 2.5rem;
  }

  .home-testimonial-quote {
    font-size: 1.75rem;
  }

  .home-landing-footer-row {
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-copy,
  .home-dashboard-img,
  .home-hero-title,
  .home-cta-btn,
  .home-dashboard-area,
  .home-price-plan,
  .home-price-includes,
  .home-price-contact-col {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
}

/* —— Whale Alert —— */
.whale-scene-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  width: 100%;
  max-width: none;
  gap: 12px;
  padding: var(--scene-pad-top) var(--scene-pad-x) 12px;
}

.app--alpha .whale-scene-content {
  overflow: hidden;
  height: 100%;
}

.whale-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  flex-shrink: 0;
}

.whale-metric {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.85rem 0.9rem 0.8rem;
  min-width: 0;
  background: rgba(8, 10, 14, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.whale-metric-label {
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(200, 210, 230, 0.58);
}

.whale-metric-value {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whale-metric--bias .whale-metric-value {
  overflow: visible;
}

.whale-metric-long {
  color: #7dcea0;
}

.whale-metric-short {
  color: #e07a7a;
}

.whale-bias-bar {
  display: flex;
  width: 100%;
  height: 6px;
  margin-top: 2px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.whale-bias-bar-long,
.whale-bias-bar-short {
  display: block;
  height: 100%;
  width: 0;
  min-width: 0;
}

.whale-bias-bar-long {
  background: #7dcea0;
}

.whale-bias-bar-short {
  background: #e07a7a;
}

.whale-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.whale-desk {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  gap: 10px;
}

.whale-desk-empty {
  margin: auto;
}

.whale-desk-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  gap: 10px;
}

.whale-desk-head {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
  padding: 0.7rem 0.9rem 0.65rem;
  background: rgba(8, 10, 14, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.whale-desk-id {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 8px;
}

.whale-desk-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}

.whale-desk-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.whale-desk-addr-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  flex: 1;
  margin-top: 0;
  font-size: 0.75rem;
  color: rgba(200, 210, 230, 0.62);
}

.whale-desk-addr {
  font-family: ui-monospace, "Cascadia Code", monospace;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whale-copy-btn {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 0.6875rem;
  cursor: pointer;
}

.whale-desk-label-input {
  flex-shrink: 0;
  width: 132px;
  min-width: 0;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(143, 220, 255, 0.45);
  background: rgba(8, 10, 14, 0.65);
  color: #fff;
  font: inherit;
  font-size: 0.6875rem;
}

.whale-label-edit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.whale-label-edit.hidden {
  display: none;
}

.whale-label-done-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 22px;
  padding: 0;
  color: #7dcea0;
  border-color: rgba(125, 206, 160, 0.4);
}

.whale-label-done-btn svg {
  width: 14px;
  height: 14px;
}

.whale-desk-account-type {
  flex-shrink: 0;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.whale-desk-top {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.35fr);
  gap: 10px;
  flex: 0 0 auto;
  min-height: 0;
  height: min(38vh, 300px);
  overflow: hidden;
}

.whale-overview,
.whale-chart-panel {
  height: 100%;
  min-height: 0;
}

.whale-overview {
  overflow: hidden;
}

.whale-table-panel {
  height: auto;
}

.whale-overview-label,
.whale-bias-kicker {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200, 210, 230, 0.55);
}

.whale-overview > .whale-overview-label,
.whale-overview > .whale-overview-value,
.whale-overview > .whale-spot-bar,
.whale-overview > .whale-spot-legend {
  flex-shrink: 0;
}

.whale-overview-value {
  display: block;
  margin: 2px 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  flex-shrink: 0;
}

.whale-spot-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.whale-spot-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #f0b90b;
}

.whale-spot-legend {
  display: flex;
  justify-content: space-between;
  margin: 4px 0 8px;
  font-size: 0.6875rem;
  color: rgba(200, 210, 230, 0.62);
  flex-shrink: 0;
}

.whale-overview-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
  min-height: 0;
}

.whale-bias-card,
.whale-lev-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.whale-bias-label {
  font-size: 0.92rem;
  font-weight: 700;
}

.whale-bias-card.is-short .whale-bias-label { color: #e07a7a; }
.whale-bias-card.is-long .whale-bias-label { color: #7dcea0; }
.whale-bias-card.is-neutral .whale-bias-label { color: rgba(255, 255, 255, 0.82); }

.whale-lev-gauge {
  width: 88px;
  height: 48px;
}

.whale-lev-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.whale-overview-perf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
  flex-shrink: 0;
}

.whale-overview-perf > div {
  min-width: 0;
}

.whale-window-pnl,
.whale-window-vlm {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.whale-chart-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
  margin-bottom: 6px;
}

.whale-chart-kinds,
.whale-chart-windows {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.whale-chart-value {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.whale-chart-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
}

.whale-chart-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.whale-chart-tip {
  position: absolute;
  z-index: 4;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 12, 16, 0.92);
  font-size: 0.6875rem;
  color: #fff;
  pointer-events: none;
  white-space: nowrap;
}

.whale-table-panel {
  flex: 1;
  min-height: 0;
}

.whale-desk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex-shrink: 0;
  margin-bottom: 6px;
}

.whale-desk-tab {
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.75rem;
  padding: 5px 10px;
  cursor: pointer;
}

.whale-desk-tab.is-active {
  color: #8fdcff;
  background: rgba(143, 220, 255, 0.12);
  border-color: rgba(143, 220, 255, 0.45);
}

.whale-table-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  flex-shrink: 0;
  margin-bottom: 6px;
  font-size: 0.75rem;
  color: rgba(200, 210, 230, 0.7);
}

.whale-liq-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 88px;
}

.whale-liq-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.whale-liq-bar > span {
  display: block;
  height: 100%;
  background: #e07a7a;
}

.whale-cell-sub {
  display: block;
  font-size: 0.6875rem;
  color: rgba(200, 210, 230, 0.52);
}

.whale-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  padding: 0.85rem 0.9rem 0.95rem;
  background: rgba(8, 10, 14, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.whale-panel-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.whale-panel-head--row {
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.whale-panel-title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 210, 230, 0.72);
}

.whale-selected-meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  color: rgba(200, 210, 230, 0.7);
}

.whale-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.whale-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.6875rem;
  padding: 4px 8px;
  cursor: pointer;
}

.whale-filter-btn svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.whale-filter-btn:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.whale-filter-btn.is-active {
  color: #8fdcff;
  background: rgba(143, 220, 255, 0.12);
  border-color: rgba(143, 220, 255, 0.45);
}

.whale-add-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}

.whale-input {
  width: 100%;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 14, 18, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 0.75rem;
}

.whale-input--label {
  grid-column: 1 / -1;
}

.whale-add-btn {
  padding: 6px 10px;
  font-size: 0.75rem;
}

.whale-add-error {
  margin: 0;
  font-size: 0.6875rem;
  color: #f07a7a;
}

.whale-list,
.whale-alert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.whale-list-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 8px;
}

.whale-pager-btn {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 0.6875rem;
  padding: 4px 10px;
  cursor: pointer;
}

.whale-pager-btn:hover:not(:disabled) {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.whale-pager-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.whale-pager-status {
  min-width: 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(200, 210, 230, 0.78);
  font-variant-numeric: tabular-nums;
}

.whale-list-item,
.whale-alert-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 8px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.whale-list-item:hover,
.whale-alert-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.whale-list-item.is-active {
  background: rgba(143, 220, 255, 0.1);
  border-color: rgba(143, 220, 255, 0.28);
}

.whale-list-item-top,
.whale-alert-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.whale-list-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}

.whale-list-equity {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: rgba(200, 210, 230, 0.78);
}

.whale-list-item-bottom,
.whale-alert-item-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 0.6875rem;
  color: rgba(200, 210, 230, 0.58);
}

.whale-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 1px 6px 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.whale-tag svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.whale-tag-label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.whale-tag--curated {
  color: #e8d4a0;
  border-color: rgba(232, 212, 160, 0.38);
  background: rgba(232, 212, 160, 0.08);
}

.whale-tag--printer {
  color: #8fd4aa;
  border-color: rgba(125, 206, 160, 0.38);
  background: rgba(125, 206, 160, 0.08);
}

.whale-tag--smartMoney {
  color: #7ee0d6;
  border-color: rgba(94, 214, 200, 0.38);
  background: rgba(94, 214, 200, 0.08);
}

.whale-tag--leaderboard {
  color: #9ec7ff;
  border-color: rgba(110, 182, 255, 0.35);
  background: rgba(110, 182, 255, 0.08);
}

.whale-tag--mine {
  color: #d7c4ff;
  border-color: rgba(186, 160, 255, 0.35);
  background: rgba(186, 160, 255, 0.08);
}

.whale-bias--long { color: #7dcea0; }
.whale-bias--short { color: #e07a7a; }

.whale-list-remove {
  margin-left: auto;
  border: none;
  background: transparent;
  color: rgba(200, 210, 230, 0.5);
  font: inherit;
  font-size: 0.6875rem;
  cursor: pointer;
  padding: 0 2px;
}

.whale-list-remove:hover {
  color: rgba(255, 255, 255, 0.9);
}

.whale-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.whale-table {
  width: 100%;
}

.whale-table .side-long { color: #7dcea0; }
.whale-table .side-short { color: #e07a7a; }
.whale-table .pnl-up { color: #7dcea0; }
.whale-table .pnl-down { color: #e07a7a; }

.whale-alert-item-action {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whale-alert-item-time {
  flex-shrink: 0;
  font-size: 0.6875rem;
  color: rgba(200, 210, 230, 0.5);
}

@media (max-width: 1100px) {
  .whale-desk-top {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .whale-chart-wrap {
    min-height: 160px;
  }
}

@media (max-width: 760px) {
  .whale-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whale-layout {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .whale-panel--list {
    max-height: 280px;
  }

  .whale-list,
  .whale-table-wrap {
    max-height: 280px;
  }
}

/* ── Quieter board chrome (2026-08-23). Home (.page-home) is untouched.
   Restore: copy backups/board-quieter-chrome-2026-08-23/{index.html,styles.css,magic-bento.css,magic-bento.js} ── */
.page-board .home-universe,
.page-board .home-spotlight-canvas,
.page-board .home-reveal-layer {
  display: none !important;
}

.page-board .corner-frame {
  display: none !important;
}

.page-board .bento-section .magic-bento-particle-layer,
.page-board .bento-section .global-spotlight,
.page-board .bento-section .magic-bento-card--border-glow::after {
  display: none !important;
}

.page-board .bento-section .magic-bento-card--border-glow:hover {
  box-shadow: none;
}

.page-board .bento-section .magic-bento-card {
  border-radius: var(--radius);
}

.page-board .bento-section .magic-bento-card.zone,
.page-board .bento-section .magic-bento-card.mainstream-panel,
.page-board .personal-panel.magic-bento-card,
.page-board .whale-metric.magic-bento-card,
.page-board .whale-panel.magic-bento-card,
.page-board .whale-desk-head.magic-bento-card,
.page-board .dsb-panel.magic-bento-card,
.page-board .dsb-watch-ball.magic-bento-card,
.page-board .dsb-insight-board.magic-bento-card,
.page-board .grid-sim-panel.magic-bento-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: none;
}

#pageNews {
  --news-navy: #000000;
  --news-sage: hsl(0 0% 65%);
  --news-taupe: hsl(0 0% 55%);
  --news-lime: hsl(0 0% 92%);
  --news-card-bg: hsl(0 0% 5%);
}

#pageNews .news-sidebar-label,
#pageNews .news-sidebar-watchlist-label,
#pageNews .news-article-title,
#pageNews .news-coin-panel-logo-fallback,
#pageChart .chart-candle-overlay-title {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: 0.04em;
}

#pageNews .news-article-title {
  text-transform: none;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
}

#pageNews .news-nav-text,
#pageNews .news-article-category {
  color: var(--text-muted);
}

#pageNews .news-nav-item.is-active .news-nav-text,
#pageNews .news-nav-item:hover .news-nav-text {
  color: var(--text);
}

#pageNews .news-coin-panel-logo-fallback {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

#pageNews .news-nav-item:hover .news-nav-line,
#pageNews .news-nav-item.is-active .news-nav-line {
  background: hsl(0 0% 70%);
}

/* ── News desk: match raiders-review-news-v2.png. Home is untouched. ── */
#pageNews {
  --news-nav-active: #3d8bfd;
  --news-card: hsl(0 0% 5%);
  --news-line: hsl(0 0% 16%);
  --news-thumb: 76px;
}

#pageNews ::selection {
  background: rgba(61, 139, 253, 0.32);
  color: #fff;
}

#pageNews .news-scene-content {
  max-width: 760px;
  padding: 0 8px 0 20px;
}

#pageNews .news-sidebar {
  width: 208px;
  max-width: 208px;
  min-width: 176px;
  padding: 0 8px 8px 0;
}

#pageNews .news-sidebar-label {
  display: none;
}

#pageNews .news-sidebar-list {
  gap: 2px;
}

#pageNews .news-nav-item {
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--text-muted);
}

#pageNews .news-nav-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: calc(18px * 1.15);
  height: calc(18px * 1.15);
  color: inherit;
}

#pageNews .news-nav-icon svg {
  width: calc(18px * 1.15);
  height: calc(18px * 1.15);
}

#pageNews .news-nav-text {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: calc(0.875rem * 1.15);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: inherit;
}

#pageNews .news-nav-item:hover {
  background: hsl(0 0% 8%);
  color: var(--text);
}

#pageNews .news-nav-item.is-active {
  background: rgba(61, 139, 253, 0.14);
  color: var(--news-nav-active);
}

#pageNews .news-nav-item.is-active .news-nav-text,
#pageNews .news-nav-item:hover .news-nav-text {
  color: inherit;
  font-weight: 600;
  opacity: 1;
}

#pageNews .news-nav-item:focus-visible,
#pageNews .news-feed-refresh:focus-visible,
#pageNews .news-filter-btn:focus-visible,
#pageNews .news-filter-option:focus-visible,
#pageNews .news-article-card:focus-visible,
#pageNews .news-sidebar-watch-add-btn:focus-visible,
#pageNews .news-sidebar-watch-main:focus-visible,
#pageNews .news-events-card:focus-visible,
#pageNews .news-delist-ticker-item:focus-visible {
  outline: 2px solid var(--news-nav-active);
  outline-offset: 2px;
}

#pageNews .news-sidebar-watchlist {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--news-line);
}

#pageNews .news-sidebar-watchlist-label {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

#pageNews .news-sidebar-watchlist-list {
  gap: 2px;
  scrollbar-width: thin;
}

#pageNews .news-sidebar-watchlist-list::-webkit-scrollbar {
  display: block;
  width: var(--raiders-scroll-size);
}

#pageNews .news-sidebar-watch-item {
  position: relative;
  flex-direction: row;
  align-items: center;
  gap: 0;
  border-radius: 10px;
}

#pageNews .news-sidebar-watch-item.is-active {
  background: hsl(0 0% 9%);
  padding: 0;
}

#pageNews .news-sidebar-watch-main {
  padding: 8px 28px 8px 8px;
  gap: 10px;
}

#pageNews .news-sidebar-watch-icon .zone-token-icon,
#pageNews .news-sidebar-watch-icon img,
#pageNews .news-sidebar-watch-icon .news-defillama-watch-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

#pageNews .news-sidebar-watch-meta {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
}

#pageNews .news-sidebar-watch-name {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}

#pageNews .news-sidebar-watch-ticker {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

#pageNews .news-sidebar-watch-remove {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
  color: var(--text-muted);
}

#pageNews .news-sidebar-watch-item:hover .news-sidebar-watch-remove,
#pageNews .news-sidebar-watch-item.is-active .news-sidebar-watch-remove,
#pageNews .news-sidebar-watch-item:focus-within .news-sidebar-watch-remove {
  display: inline-flex;
}

#pageNews .news-sidebar-watch-add-btn {
  height: 36px;
  gap: 6px;
  border: 1px solid var(--news-line);
  border-radius: 10px;
  color: var(--text-muted);
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
}

#pageNews .news-sidebar-watch-add-plus {
  font-size: 1rem;
  line-height: 1;
}

#pageNews .news-sidebar-watch-add-btn:hover,
#pageNews .news-sidebar-watch-add-btn.is-active {
  border-color: hsl(0 0% 28%);
  background: hsl(0 0% 8%);
  color: var(--text);
}

#pageNews .news-sidebar-watch-add-input {
  border-color: var(--news-line);
  background: hsl(0 0% 6%);
  color: var(--text);
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.75rem;
}

#pageNews .news-sidebar-watch-add-input::placeholder {
  color: hsl(0 0% 42%);
}

#pageNews .news-sidebar-watch-add-dropdown {
  border-color: var(--news-line);
  background: hsl(0 0% 6%);
}

#pageNews .news-content-pane {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 4px 0 8px;
}

#pageNews .news-view-header {
  position: relative;
  z-index: 6;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px 12px;
  margin-bottom: 12px;
}

#pageNews .news-view-heading {
  flex: 1 1 auto;
  min-width: 0;
}

#pageNews .news-view-title {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#pageNews .news-view-sub {
  display: block;
  margin-top: 2px;
}

#pageNews .news-view-toolbar {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin-left: auto;
}

#pageNews .news-filter-menu {
  position: relative;
}

#pageNews .news-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--news-line);
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

#pageNews .news-filter-btn svg {
  width: 15px;
  height: 15px;
}

#pageNews .news-filter-btn:hover,
#pageNews .news-filter-menu.is-open .news-filter-btn,
#pageNews .news-filter-btn.is-filtered {
  color: var(--text);
  border-color: hsl(0 0% 28%);
  background: hsl(0 0% 8%);
}

#pageNews .news-filter-btn.is-filtered {
  border-color: rgba(61, 139, 253, 0.45);
  color: var(--news-nav-active);
  background: rgba(61, 139, 253, 0.12);
}

#pageNews .news-filter-menu-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  display: none;
  min-width: 148px;
  max-height: 220px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--news-line);
  border-radius: 10px;
  background: hsl(0 0% 6%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

#pageNews .news-filter-menu.is-open .news-filter-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#pageNews .news-filter-option {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

#pageNews .news-filter-option:hover {
  background: hsl(0 0% 10%);
  color: var(--text);
}

#pageNews .news-filter-option.is-active {
  background: rgba(61, 139, 253, 0.14);
  color: var(--news-nav-active);
}

#pageNews .news-feed-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--news-line);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

#pageNews .news-feed-refresh svg {
  width: 16px;
  height: 16px;
}

#pageNews .news-feed-refresh:hover {
  color: var(--text);
  border-color: hsl(0 0% 28%);
}

#pageNews .news-feed-refresh:disabled {
  opacity: 0.55;
  cursor: default;
}

#pageNews .news-feed-refresh.is-busy svg {
  animation: newsFeedRefreshSpin 0.8s linear infinite;
}

@keyframes newsFeedRefreshSpin {
  to { transform: rotate(360deg); }
}

#pageNews .news-article-list {
  gap: 8px;
  flex: 1 1 auto;
  max-height: none;
  scrollbar-width: thin;
}

#pageNews .news-article-list::-webkit-scrollbar {
  display: block;
  width: var(--raiders-scroll-size);
}

#pageNews .news-article-card {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--news-line);
  border-radius: 12px;
  background: var(--news-card);
  text-decoration: none;
  color: inherit;
}

#pageNews .news-article-card:hover {
  border-color: hsl(0 0% 22%);
  background: hsl(0 0% 6.5%);
}

#pageNews .news-article-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

#pageNews .news-article-source-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

#pageNews .news-article-source-icon,
#pageNews .news-article-source-fallback {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

#pageNews .news-article-source-fallback,
#pageNews .news-article-thumb-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(0 0% 14%);
  color: var(--text-muted);
  font-size: 0.625rem;
  font-weight: 700;
}

#pageNews .news-article-source-icon.is-hidden,
#pageNews .news-article-source-fallback.is-hidden,
#pageNews .news-article-thumb-img.is-hidden,
#pageNews .news-article-thumb-fallback.is-hidden {
  display: none;
}

#pageNews .news-article-source {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

#pageNews .news-article-time {
  margin-left: auto;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: hsl(0 0% 48%);
}

#pageNews .news-article-title {
  margin: 0;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-transform: none;
  color: var(--text);
}

#pageNews .news-article-summary {
  margin: 0;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  color: hsl(0 0% 58%);
}

#pageNews .news-article-tag {
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

#pageNews .news-article-thumb {
  flex: 0 0 var(--news-thumb);
  width: var(--news-thumb);
  height: var(--news-thumb);
  border-radius: 10px;
  overflow: hidden;
  background: hsl(0 0% 10%);
  display: flex;
  align-items: center;
  justify-content: center;
}

#pageNews .news-article-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#pageNews .news-article-thumb.is-logo .news-article-thumb-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

#pageNews .news-article-thumb-fallback {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 0.875rem;
}

#pageNews .news-coin-aside,
#pageNews .news-coin-aside--iframe {
  height: auto;
  max-height: none;
  min-height: 0;
  align-self: stretch;
  padding-top: 0;
  padding-bottom: 0;
}

#pageNews .news-events-aside {
  flex: 0 1 256px;
  width: 256px;
  max-width: 256px;
  height: auto;
  max-height: none;
  min-height: 0;
  align-self: stretch;
  padding: 0 12px 0 0;
}

#pageNews .news-events-head {
  align-items: center;
  margin-bottom: 4px;
}

#pageNews .news-events-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

#pageNews .news-events-cal {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

#pageNews .news-events-fed-rate {
  color: var(--text-muted);
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
}

#pageNews .news-events-list {
  gap: 18px;
  scrollbar-width: thin;
}

#pageNews .news-events-list::-webkit-scrollbar {
  display: block;
  width: var(--raiders-scroll-size);
}

#pageNews .news-events-row {
  display: block;
  padding: 0;
}

#pageNews .news-events-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

#pageNews .news-events-stamp {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

#pageNews .news-events-name-row {
  align-items: center;
  gap: 8px;
}

#pageNews .news-events-name {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.25;
  color: var(--text);
}

#pageNews .news-events-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 1px;
}

#pageNews .news-events-impact {
  flex-shrink: 0;
  margin-top: 1px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#pageNews .news-events-impact.is-high {
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.5);
  background: transparent;
}

#pageNews .news-events-impact.is-medium {
  color: #eab308;
  border-color: rgba(234, 179, 8, 0.5);
  background: transparent;
}

#pageNews .news-events-values {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 1px;
  margin-top: 0;
}

#pageNews .news-events-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: hsl(0 0% 58%);
}

#pageNews .news-events-stat-label {
  min-width: 0;
  margin-right: 0;
  color: hsl(0 0% 45%);
}

#pageNews .news-events-stat-label::after {
  content: ":";
}

#pageNews .news-events-stat-value {
  color: hsl(0 0% 62%);
  font-variant-numeric: tabular-nums;
}

#pageNews .news-events-line,
#pageNews .news-events-time,
#pageNews .news-events-day {
  display: none;
}

#pageNews .news-delist-ticker {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  max-height: 64px;
  padding: 0 16px 0 20px;
  overflow: hidden;
  border-top: 1px solid var(--news-line);
  background: hsl(0 0% 4%);
}

#pageNews .news-delist-ticker-label {
  flex: 0 0 auto;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

#pageNews .news-delist-ticker-empty,
#pageNews .news-delist-ticker-loading,
#pageNews .news-delist-ticker-error {
  height: auto;
  padding: 0;
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
}

#pageNews .news-delist-ticker-viewport {
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
}

#pageNews .news-delist-ticker-track {
  align-items: center;
  gap: 12px;
  height: 56px;
}

#pageNews .news-delist-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--news-line);
  border-radius: 10px;
  background: hsl(0 0% 7%);
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

#pageNews .news-delist-ticker-item--listing,
#pageNews .news-delist-ticker-item--delisting {
  color: inherit;
}

#pageNews .news-delist-ticker-item:hover {
  border-color: hsl(0 0% 24%);
  background: hsl(0 0% 9%);
}

#pageNews .news-delist-ticker-logo {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  object-fit: contain;
  box-sizing: border-box;
  background: #111;
}

#pageNews .news-delist-ticker-logo--binance {
  padding: 0;
  object-fit: cover;
  background: #f0b90b;
}

#pageNews .news-delist-ticker-logo--okx {
  background: #111;
  box-shadow: inset 0 0 0 1px hsl(0 0% 28%);
}

#pageNews .news-delist-ticker-logo--bybit {
  background: #111;
}

#pageNews .news-delist-ticker-logo--bitget {
  padding: 0;
  object-fit: cover;
  background: transparent;
}

#pageNews .news-delist-ticker-logo.is-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(0 0% 16%);
  color: var(--text);
  font-size: 0.625rem;
  font-weight: 700;
}

#pageNews .news-delist-ticker-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#pageNews .news-delist-ticker-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

#pageNews .news-delist-ticker-exchange {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
}

#pageNews .news-delist-ticker-ago {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

#pageNews .news-delist-ticker-pair {
  display: flex;
  align-items: center;
  gap: 6px;
}

#pageNews .news-delist-ticker-event {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

#pageNews .news-delist-ticker-item--listing .news-delist-ticker-event,
#pageNews .news-delist-ticker-item--listing .news-delist-ticker-market {
  color: var(--up);
}

#pageNews .news-delist-ticker-item--delisting .news-delist-ticker-event,
#pageNews .news-delist-ticker-item--delisting .news-delist-ticker-market {
  color: #f87171;
}

#pageNews .news-delist-ticker-symbol {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
}

#pageNews .news-delist-ticker-dot,
#pageNews .news-delist-ticker-market,
#pageNews .news-delist-ticker-date {
  display: none;
}

@media (max-width: 900px) {
  #pageNews .news-events-aside {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 320px;
    padding: 0 8px 12px 16px;
  }

  #pageNews .news-coin-aside,
  #pageNews .news-coin-aside--iframe {
    height: auto;
    min-height: 0;
    padding: 0 8px 12px 16px;
  }

  #pageNews .news-delist-ticker {
    flex-wrap: wrap;
    max-height: none;
    height: auto;
    padding: 10px 16px;
    gap: 8px 16px;
  }

  #pageNews .news-delist-ticker-viewport {
    flex-basis: 100%;
    height: auto;
    min-height: 56px;
  }

  #pageNews .news-delist-ticker-track {
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pageNews .news-feed-refresh.is-busy svg {
    animation: none;
  }
}

/* ── Whale desk: match raiders-review-whale.png. Home is untouched. ── */
#pageWhale {
  --whale-card: hsl(0 0% 5%);
  --whale-line: hsl(0 0% 16%);
  --whale-list-row: 64px;
}

#pageWhale ::selection {
  background: rgba(14, 203, 129, 0.32);
  color: #fff;
}

#pageWhale .whale-scene-content {
  gap: 14px;
  overflow: hidden;
}

#pageWhale .whale-metrics {
  gap: 12px;
}

#pageWhale .whale-metric,
#pageWhale .whale-panel,
#pageWhale .whale-desk-head {
  background: var(--whale-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#pageWhale .whale-metric {
  gap: 6px;
  padding: 16px 18px 14px;
}

#pageWhale .whale-metric-label,
#pageWhale .whale-panel-title,
#pageWhale .whale-overview-label,
#pageWhale .whale-bias-kicker {
  font-family: Inter, "IBM Plex Sans", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

#pageWhale .whale-metric-value {
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

#pageWhale .whale-metric-hint {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

#pageWhale .whale-metric-long,
#pageWhale .whale-table .side-long,
#pageWhale .whale-table .pnl-up,
#pageWhale .whale-list-delta.pnl-up,
#pageWhale .whale-bias--long {
  color: var(--up);
}

#pageWhale .whale-metric-short,
#pageWhale .whale-table .side-short,
#pageWhale .whale-table .pnl-down,
#pageWhale .whale-list-delta.pnl-down,
#pageWhale .whale-bias--short {
  color: var(--down);
}

#pageWhale .whale-bias-bar {
  height: 7px;
  margin-top: 8px;
  background: hsl(0 0% 12%);
}

#pageWhale .whale-bias-bar-long { background: var(--up); }
#pageWhale .whale-bias-bar-short { background: var(--down); }

#pageWhale .whale-layout {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

#pageWhale .whale-panel--list,
#pageWhale .whale-panel--list.magic-bento-card {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}

#pageWhale .whale-list {
  display: grid;
  grid-template-rows: repeat(10, minmax(var(--whale-list-row), 1fr));
  align-content: stretch;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: none;
  scrollbar-gutter: auto;
}

#pageWhale .whale-list > li {
  min-height: 0;
  display: flex;
}

#pageWhale #whaleListEmpty:not(.hidden) {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#pageWhale .whale-panel {
  padding: 14px 14px 12px;
}

#pageWhale .whale-panel-head {
  gap: 10px;
  margin-bottom: 10px;
}

#pageWhale .whale-filter-tabs {
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--whale-line);
}

#pageWhale .whale-filter-btn {
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 8px 10px;
}

#pageWhale .whale-filter-btn svg {
  display: none;
}

#pageWhale .whale-filter-btn:hover {
  color: var(--text);
  background: transparent;
}

#pageWhale .whale-filter-btn.is-active {
  color: var(--text);
  background: transparent;
  border-color: transparent;
  border-bottom-color: #fff;
}

#pageWhale .whale-list-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: hsl(0 0% 3%);
}

#pageWhale .whale-list-search svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--text-muted);
}

#pageWhale .whale-input--search {
  border: 0;
  background: transparent;
  padding: 8px 0;
}

#pageWhale .whale-input--search:focus {
  outline: none;
}

#pageWhale .whale-list-search:focus-within {
  border-color: hsl(0 0% 38%);
}

#pageWhale .whale-list-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 6px 8px 6px 8px;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: 8px;
}

#pageWhale .whale-list-item:hover {
  background: var(--bg-hover);
}

#pageWhale .whale-list-item.is-active {
  background: rgba(14, 203, 129, 0.08);
  border-color: transparent;
  border-left-color: var(--up);
}

#pageWhale .whale-list-avatar,
#pageWhale .whale-desk-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 50%;
  background: hsl(0 0% 10%);
}

#pageWhale .whale-list-avatar svg,
#pageWhale .whale-desk-avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

#pageWhale .whale-avatar-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

#pageWhale .whale-list-avatar {
  width: 36px;
  height: 36px;
}

#pageWhale .whale-list-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

#pageWhale .whale-list-item-top,
#pageWhale .whale-list-item-bottom {
  flex-wrap: nowrap;
  overflow: hidden;
}

#pageWhale .whale-list-id {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px 6px;
  min-width: 0;
}

#pageWhale .whale-list-name {
  font-size: 0.8125rem;
  font-weight: 600;
}

#pageWhale .whale-list-addr {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

#pageWhale .whale-list-figures {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 1px;
}

#pageWhale .whale-list-equity {
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

#pageWhale .whale-list-delta {
  font-size: 0.6875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

#pageWhale .whale-list-copy,
#pageWhale .whale-copy-btn--icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

#pageWhale .whale-list-copy svg,
#pageWhale .whale-copy-btn--icon svg {
  width: 14px;
  height: 14px;
}

#pageWhale .whale-list-copy:hover,
#pageWhale .whale-copy-btn--icon:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

#pageWhale .whale-list-copy.is-copied,
#pageWhale .whale-copy-btn--icon.is-copied {
  color: var(--up);
}

#pageWhale .whale-copy-btn--icon .whale-copy-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

#pageWhale .whale-tag {
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.625rem;
}

#pageWhale .whale-list .whale-tag svg,
#pageWhale .whale-desk-tags .whale-tag svg {
  display: none;
}

#pageWhale .whale-tag-label {
  text-transform: none;
  letter-spacing: 0.01em;
}

#pageWhale .whale-tag--printer {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.38);
  background: rgba(139, 92, 246, 0.12);
}

#pageWhale .whale-list-pager {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--whale-line);
}

#pageWhale .whale-pager-btn {
  border-color: var(--border);
  background: transparent;
}

#pageWhale .whale-desk-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "avatar identity stats";
  align-items: center;
  gap: 16px 18px;
  padding: 18px 22px;
  background: var(--whale-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: none;
}

#pageWhale .whale-desk-head.is-overview {
  grid-template-areas:
    "avatar identity stats"
    "metrics metrics metrics"
    "chart chart chart";
  align-items: start;
}

#pageWhale .whale-desk-avatar { grid-area: avatar; }
#pageWhale .whale-desk-identity { grid-area: identity; }
#pageWhale .whale-desk-head-stats { grid-area: stats; }

#pageWhale .whale-desk-head-metrics {
  display: none;
  grid-area: metrics;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
  padding-top: 12px;
  border-top: 1px solid var(--whale-line);
}

#pageWhale .whale-desk-head.is-overview .whale-desk-head-metrics {
  display: grid;
}

#pageWhale .whale-desk-head-metrics .whale-desk-stat {
  align-items: flex-start;
}

#pageWhale .whale-desk-head-metrics .whale-spot-bar {
  width: 100%;
  max-width: 88px;
  height: 4px;
  margin-top: 4px;
}

#pageWhale .whale-desk-head-metrics .whale-desk-stat-value,
#pageWhale .whale-desk-head-metrics .whale-window-vlm {
  font-size: 1.125rem;
  margin: 0;
}

#pageWhale #whaleBiasCard.is-short .whale-bias-label { color: var(--down); }
#pageWhale #whaleBiasCard.is-long .whale-bias-label { color: var(--up); }
#pageWhale #whaleBiasCard.is-neutral .whale-bias-label { color: var(--text); }

#pageWhale .whale-desk-head-chart {
  display: none;
  grid-area: chart;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-top: 4px;
}

#pageWhale .whale-desk-head.is-overview .whale-desk-head-chart {
  display: flex;
}

#pageWhale .whale-desk-head-chart .whale-chart-wrap {
  height: 148px;
  flex: none;
}

#pageWhale .whale-desk-head-chart .whale-chart-toolbar {
  margin-bottom: 0;
}

#pageWhale .whale-desk-avatar {
  width: 60px;
  height: 60px;
  font-size: 0.9375rem;
}

#pageWhale .whale-desk-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

#pageWhale .whale-desk-title-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

#pageWhale .whale-desk-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

#pageWhale .whale-desk-tags {
  flex-wrap: wrap;
}

#pageWhale .whale-desk-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

#pageWhale .whale-desk-addr {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

#pageWhale .whale-desk-addr:not(.hidden) + .whale-desk-account-type::before {
  content: "·";
  margin: 0 8px;
  color: hsl(0 0% 40%);
}

#pageWhale .whale-desk-account-type {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--text-muted);
}

#pageWhale .whale-desk-head-stats {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  flex-shrink: 0;
  margin-left: auto;
}

#pageWhale .whale-desk-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

#pageWhale .whale-desk-stat-value,
#pageWhale .whale-desk-head-stats .whale-window-pnl {
  display: block;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}

#pageWhale .whale-desk-head-stats .whale-window-pnl.pnl-up,
#pageWhale .whale-desk-stat-value.pnl-up {
  color: var(--up);
}

#pageWhale .whale-desk-head-stats .whale-window-pnl.pnl-down,
#pageWhale .whale-desk-stat-value.pnl-down {
  color: var(--down);
}

#pageWhale .whale-desk-tabs {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 0;
  margin: 0 4px;
  border-bottom: 1px solid var(--whale-line);
}

#pageWhale .whale-desk-top {
  height: auto;
  flex: 1;
  min-height: 0;
  gap: 12px;
}

#pageWhale .whale-overview-perf {
  grid-template-columns: 1fr;
}

#pageWhale .whale-chart-toolbar .whale-filter-btn {
  border-bottom: 0;
  border-radius: 6px;
  padding: 4px 8px;
}

#pageWhale .whale-chart-toolbar .whale-filter-btn.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: transparent;
}

#pageWhale .whale-desk-tab {
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
}

#pageWhale .whale-desk-tab.is-active {
  color: var(--text);
  background: transparent;
  border-color: transparent;
  border-bottom-color: #fff;
}

#pageWhale .whale-table-summary {
  color: var(--text-muted);
}

#pageWhale .whale-table th {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--whale-line);
  padding: 8px 10px;
}

#pageWhale .whale-table td {
  padding: 10px;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#pageWhale .whale-coin-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  vertical-align: middle;
}

#pageWhale .whale-coin-icon-wrap {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  background: hsl(0 0% 12%);
}

#pageWhale .whale-coin-icon,
#pageWhale .whale-coin-icon-fallback {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

#pageWhale .whale-coin-icon {
  display: block;
  object-fit: cover;
}

#pageWhale .whale-coin-icon.is-hidden {
  display: none;
}

#pageWhale .whale-coin-icon-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  background: hsl(0 0% 14%);
  color: var(--text-muted);
  font-size: 0.625rem;
  font-weight: 700;
}

#pageWhale .whale-coin-icon-fallback:not(.is-hidden),
#pageWhale .whale-coin-icon.is-hidden + .whale-coin-icon-fallback {
  display: inline-flex;
}

#pageWhale .whale-coin-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

#pageWhale .whale-coin-sym {
  font-weight: 600;
  color: var(--text);
}

#pageWhale .whale-side {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#pageWhale .whale-list-item:focus-visible,
#pageWhale .whale-filter-btn:focus-visible,
#pageWhale .whale-desk-tab:focus-visible,
#pageWhale .whale-copy-btn:focus-visible,
#pageWhale .whale-pager-btn:focus-visible,
#pageWhale .whale-input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  #pageWhale .whale-desk-head,
  #pageWhale .whale-desk-head.is-overview {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "avatar identity"
      "stats stats";
  }

  #pageWhale .whale-desk-head.is-overview {
    grid-template-areas:
      "avatar identity"
      "stats stats"
      "metrics metrics"
      "chart chart";
  }

  #pageWhale .whale-desk-head-stats {
    grid-column: auto;
    justify-content: space-between;
  }

  #pageWhale .whale-desk-head.is-overview .whale-desk-head-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #pageWhale .whale-layout {
    grid-template-columns: 1fr;
  }

  #pageWhale .whale-panel--list,
  #pageWhale .whale-panel--list.magic-bento-card {
    height: auto;
    max-height: none;
  }

  #pageWhale .whale-list {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  #pageWhale .whale-list > li {
    flex: 0 0 auto;
  }

  #pageWhale .whale-list-item {
    height: var(--whale-list-row);
    min-height: var(--whale-list-row);
    max-height: var(--whale-list-row);
  }

  #pageWhale .whale-desk-head-stats {
    gap: 16px;
  }

  #pageWhale .whale-desk-stat-value,
  #pageWhale .whale-desk-head-stats .whale-window-pnl {
    font-size: 1.125rem;
  }
}

/* Personal all-accounts strip: 4 columns + linked CEX tiles / add, matching
   the review still. Home is untouched. */
#pagePersonal #personalDashboard.personal-panel--dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: none;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 16px 18px 18px;
  background: hsl(0 0% 4%);
  border: 1px solid hsl(0 0% 16%);
  border-radius: 12px;
}

#pagePersonal #personalDashboard .personal-panel-title.personal-dashboard-kicker {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: hsl(0 0% 92%);
}

#pagePersonal #personalDashboard .personal-dashboard-content {
  min-height: 0;
}

#pagePersonal #personalDashboard .personal-dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: stretch;
  min-width: 0;
}

#pagePersonal #personalDashboard .personal-dashboard-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 4px 22px 2px 0;
  border-right: 1px solid hsl(0 0% 16%);
}

#pagePersonal #personalDashboard .personal-dashboard-col:last-child {
  padding-right: 0;
  padding-left: 22px;
  border-right: none;
}

#pagePersonal #personalDashboard .personal-dashboard-col:first-child {
  padding-left: 0;
}

#pagePersonal #personalDashboard .personal-dashboard-metric-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: hsl(0 0% 55%);
}

#pagePersonal #personalDashboard .personal-dashboard-metric-value {
  font-size: 1.7rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
  color: hsl(0 0% 100%);
}

#pagePersonal #personalDashboard .personal-dashboard-metric-value.up {
  color: var(--up);
}

#pagePersonal #personalDashboard .personal-dashboard-metric-value.down {
  color: var(--down);
}

#pagePersonal #personalDashboard .personal-dashboard-metric-value.flat {
  color: hsl(0 0% 100%);
}

#pagePersonal #personalDashboard .personal-dashboard-metric-sub {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 0.75rem;
  color: hsl(0 0% 55%);
  font-variant-numeric: tabular-nums;
}

#pagePersonal #personalDashboard .personal-dashboard-metric-sub.up {
  color: var(--up);
}

#pagePersonal #personalDashboard .personal-dashboard-metric-sub.down {
  color: var(--down);
}

#pagePersonal #personalDashboard .personal-dashboard-caret {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

#pagePersonal #personalDashboard .personal-dashboard-linked-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 4px;
}

#pagePersonal #personalDashboard .personal-dashboard-linked-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#pagePersonal #personalDashboard .personal-dashboard-ex,
#pagePersonal #personalDashboard .personal-dashboard-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid hsl(0 0% 22%);
  background: hsl(0 0% 7%);
  color: hsl(0 0% 100%);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 160ms ease, background 160ms ease;
}

#pagePersonal #personalDashboard .personal-dashboard-ex img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

#pagePersonal #personalDashboard .personal-dashboard-add svg {
  width: 14px;
  height: 14px;
}

#pagePersonal #personalDashboard .personal-dashboard-ex:hover,
#pagePersonal #personalDashboard .personal-dashboard-add:hover,
#pagePersonal #personalDashboard .personal-dashboard-ex:focus-visible,
#pagePersonal #personalDashboard .personal-dashboard-add:focus-visible {
  border-color: hsl(0 0% 55%);
  background: hsl(0 0% 10%);
  outline: none;
}

#pagePersonal #personalDashboard .personal-dashboard-linked-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: hsl(0 0% 62%);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  flex-shrink: 0;
}

#pagePersonal #personalDashboard .personal-dashboard-linked-more:hover,
#pagePersonal #personalDashboard .personal-dashboard-linked-more:focus-visible {
  color: hsl(0 0% 92%);
  outline: none;
}

#pagePersonal #personalDashboard .personal-dashboard-linked-chevron {
  width: 10px;
  height: 10px;
}

@media (max-width: 1100px) {
  #pagePersonal #personalDashboard .personal-dashboard-columns {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
  }

  #pagePersonal #personalDashboard .personal-dashboard-col {
    padding: 8px 18px 10px 0;
  }

  #pagePersonal #personalDashboard .personal-dashboard-col:nth-child(2) {
    padding-right: 0;
    padding-left: 18px;
    border-right: none;
  }

  #pagePersonal #personalDashboard .personal-dashboard-col:nth-child(3) {
    padding-left: 0;
    border-right: 1px solid hsl(0 0% 16%);
  }

  #pagePersonal #personalDashboard .personal-dashboard-col--linked {
    padding-left: 18px;
  }
}

@media (max-width: 720px) {
  #pagePersonal #personalDashboard .personal-dashboard-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #pagePersonal #personalDashboard .personal-dashboard-col,
  #pagePersonal #personalDashboard .personal-dashboard-col:nth-child(2),
  #pagePersonal #personalDashboard .personal-dashboard-col:nth-child(3),
  #pagePersonal #personalDashboard .personal-dashboard-col--linked {
    padding: 12px 0;
    border-right: none;
    border-bottom: 1px solid hsl(0 0% 16%);
  }

  #pagePersonal #personalDashboard .personal-dashboard-col:last-child {
    border-bottom: none;
    padding-bottom: 2px;
  }
}

#pagePersonal .personal-left.is-cards-open #personalDashboard.personal-panel--dashboard {
  display: none;
}
