:root {
  --bg: #f6f8f6;
  --paper: #ffffff;
  --ink: #0b1110;
  --muted: #65706c;
  --line: #e2e8e4;
  --green: #00c805;
  --green-deep: #047a08;
  --mint: #72ead5;
  --blue: #2864d8;
  --red: #ef4d48;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(11, 17, 16, 0.08);
  --glass-blur: 24px;
  --glass-fill: rgba(255, 255, 255, 0.22);
  --glass-fill-strong: rgba(255, 255, 255, 0.38);
  --glass-stroke: rgba(255, 255, 255, 0.52);
  --glass-shadow: 0 22px 68px rgba(18, 32, 28, 0.16);
  --glass-edge: rgba(255, 255, 255, 0.74);
  --glass-ink: rgba(5, 13, 12, 0.86);
  --mx: 50%;
  --my: 0%;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button {
  cursor: pointer;
  font: inherit;
}
.glass-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: clamp(10px, 2.4vw, 22px);
  align-items: center;
  width: min(800px, calc(100% - 24px));
  min-height: 48px;
  margin: 0;
  padding: 4px 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.58);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.24)),
    rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16),
    inset 10px 0 28px rgba(205, 255, 230, 0.08),
    inset -10px 0 28px rgba(212, 230, 255, 0.12),
    0 15px 48px rgba(18, 32, 28, 0.16);
  backdrop-filter: blur(20px) saturate(1.9) contrast(1.08) url("#liquid-glass-refraction");
  -webkit-backdrop-filter: blur(20px) saturate(1.9) contrast(1.08);
  transform: translateX(-50%);
  transition:
    background 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
  isolation: isolate;
  overflow: hidden;
}
.site-header::before,
.site-header::after,
.ticker-band::before,
.ticker-band::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.site-header::before,
.ticker-band::before {
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.7), transparent 26%),
    linear-gradient(110deg, transparent 0 25%, rgba(255, 255, 255, 0.24) 39%, transparent 53%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 56%, rgba(255, 255, 255, 0.12));
  mix-blend-mode: screen;
  opacity: 0.72;
  z-index: -1;
}
.site-header::after,
.ticker-band::after {
  inset: 1px;
  border: 0.5px solid rgba(255, 255, 255, 0.42);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 10px 10px 24px rgba(255, 255, 255, 0.16),
    inset -14px -16px 30px rgba(7, 23, 19, 0.07);
  z-index: -1;
}
.site-header > * {
  position: relative;
  z-index: 1;
}
body.is-scrolled .site-header {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.24)),
    rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16),
    inset 10px 0 28px rgba(205, 255, 230, 0.08),
    inset -10px 0 28px rgba(212, 230, 255, 0.12),
    0 15px 48px rgba(18, 32, 28, 0.16);
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  padding: 4px 8px 4px 4px;
  border-radius: 28px;
  transition: background 220ms ease;
}
.brand:hover {
  background: rgba(255, 255, 255, 0.16);
}
.brand-mark,
.profile-button span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.98), transparent 31%),
    radial-gradient(circle at 76% 88%, rgba(0, 200, 5, 0.2), transparent 35%),
    rgba(255, 255, 255, 0.2);
  color: rgba(3, 93, 8, 0.94);
  font-weight: 900;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -10px 18px rgba(255, 255, 255, 0.12),
    0 8px 24px rgba(4, 122, 8, 0.12);
  backdrop-filter: blur(18px) saturate(1.7);
  -webkit-backdrop-filter: blur(18px) saturate(1.7);
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.brand-mark.is-logo-missing {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.98), transparent 31%),
    rgba(255, 255, 255, 0.2);
}
.brand strong {
  display: block;
  line-height: 1;
  color: var(--glass-ink);
  font-size: 1rem;
  font-weight: 860;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: rgba(46, 59, 55, 0.7);
  font-size: 0.75rem;
  font-weight: 720;
}
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  justify-self: center;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(4, 122, 8, 0.06),
    0 6px 18px rgba(10, 24, 20, 0.06);
  isolation: isolate;
  color: rgba(46, 59, 55, 0.78);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 820;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}
.nav-tabs a:hover {
  color: rgba(4, 16, 14, 0.92);
  border-color: rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.14));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(4, 122, 8, 0.08),
    0 8px 24px rgba(10, 24, 20, 0.08);
  transform: translateY(-1px);
}
.nav-tabs a.active {
  color: rgba(2, 10, 8, 0.97);
  font-weight: 860;
  border-color: rgba(255, 255, 255, 0.52);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 1), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(4, 122, 8, 0.1),
    0 9px 28px rgba(10, 24, 20, 0.11);
}

.portfolio-scroll-hint {
  position: fixed;
  left: 50%;
  top: calc(14px + 52px + 8px);
  z-index: 21;
  width: max-content;
  max-width: min(calc(100% - 28px), 220px);
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.portfolio-scroll-hint-pane {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 1px;
  width: auto;
  padding: 2px 2px 2px 4px;
  border-radius: 14px;
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.1) 45%, rgba(255, 255, 255, 0.26)),
    rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14),
    0 14px 40px rgba(18, 32, 28, 0.14);
  backdrop-filter: blur(20px) saturate(1.9) contrast(1.08) url("#liquid-glass-refraction");
  -webkit-backdrop-filter: blur(20px) saturate(1.9) contrast(1.08);
  isolation: isolate;
  transform: translateY(calc(-100% - 10px));
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease;
}
.portfolio-scroll-hint.is-open .portfolio-scroll-hint-pane {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.portfolio-scroll-hint-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  padding: 4px 9px;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: var(--glass-ink);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.portfolio-scroll-hint-go:hover {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(2, 10, 8, 0.98);
}
.portfolio-scroll-hint-chevron {
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.72;
  translate: 0 1px;
}
.portfolio-scroll-hint-x {
  display: grid;
  place-items: center;
  width: 28px;
  min-height: 30px;
  padding: 0;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: rgba(46, 59, 55, 0.55);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.portfolio-scroll-hint-x:hover {
  color: rgba(2, 10, 8, 0.88);
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 560px) {
  .portfolio-scroll-hint {
    top: calc(8px + 58px + 8px);
    max-width: min(calc(100% - 20px), 220px);
  }
}

.header-snapshot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: center;
  justify-self: end;
  min-width: 104px;
  min-height: 36px;
  padding: 2px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.14));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(4, 122, 8, 0.08),
    0 8px 24px rgba(10, 24, 20, 0.08);
  isolation: isolate;
}
.header-snapshot-date {
  position: relative;
  z-index: 0;
  pointer-events: none;
  font-size: 0.82rem;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: rgba(4, 16, 14, 0.92);
}
.header-snapshot-chevron {
  position: relative;
  z-index: 0;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  pointer-events: none;
  color: rgba(4, 16, 14, 0.82);
}
.header-snapshot-chevron svg {
  display: block;
}
.header-snapshot-select {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: transparent;
}
.profile-button {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 999px;
  transition: transform 180ms ease;
}
.profile-button:hover {
  transform: translateY(-1px);
}
.landing-gradient {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 248, 246, 0.54)),
    #f7faf7;
  isolation: isolate;
}
.dashboard-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
body.tv-chart-open .candle-mask {
  visibility: hidden;
}
.gradient-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.gradient-field::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    conic-gradient(from 220deg at 52% 48%, rgba(0, 200, 5, 0.2), rgba(114, 234, 213, 0.28), rgba(40, 100, 216, 0.18), rgba(255, 255, 255, 0.72), rgba(0, 200, 5, 0.18)),
    linear-gradient(120deg, #ffffff, #eff9f1 44%, #eef5ff 100%);
  animation: gradientDrift 18s ease-in-out infinite alternate;
  filter: saturate(1.1);
}
.gradient-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 17, 16, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 17, 16, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 74%, transparent);
}
.candle-mask {
  position: absolute;
  inset: 0 0 58px;
  z-index: 1;
  opacity: 0.9;
  pointer-events: none;
}
.candle-chart {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.market-grid line {
  stroke: rgba(11, 17, 16, 0.08);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.volume-layer {
  filter: drop-shadow(0 10px 22px rgba(11, 17, 16, 0.08));
}
.tv-candle .wick {
  stroke-width: 2.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.tv-candle .body {
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}
.tv-candle.up .wick,
.tv-candle.up .body {
  fill: #22ab94;
  stroke: #22ab94;
}
.tv-candle.down .wick,
.tv-candle.down .body {
  fill: #f23645;
  stroke: #f23645;
}
.tv-candle.power .body {
  filter: drop-shadow(0 0 10px rgba(0, 200, 5, 0.22));
}
.tv-candle.spring .wick,
.tv-candle.shakeout .wick {
  stroke-width: 2.8;
}
.tv-candle.engulf .body,
.tv-candle.launch .body {
  filter: drop-shadow(0 0 8px rgba(34, 171, 148, 0.2));
}
.volume-bar {
  opacity: 0.22;
}
.volume-bar.up {
  fill: #26a69a;
}
.volume-bar.down {
  fill: #ef5350;
}
.ticker-band {
  position: absolute;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  z-index: 5;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  background:
    linear-gradient(100deg, rgba(248, 255, 250, 0.3), rgba(255, 255, 255, 0.08) 42%, rgba(232, 251, 242, 0.24)),
    rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22),
    0 24px 76px rgba(7, 20, 12, 0.18);
  backdrop-filter: blur(26px) saturate(1.85) contrast(1.08) url("#liquid-glass-refraction");
  -webkit-backdrop-filter: blur(26px) saturate(1.85) contrast(1.08);
  isolation: isolate;
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 260ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}
body.tv-chart-open .ticker-band {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  visibility: hidden;
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    transform 260ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 260ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 260ms;
}
.ticker-band:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(255, 255, 255, 0.24),
    0 28px 82px rgba(7, 20, 12, 0.2);
}
.ticker-band::before {
  opacity: 0.86;
}
.ticker-band::after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 12px 10px 28px rgba(255, 255, 255, 0.24),
    inset -18px -18px 32px rgba(5, 20, 14, 0.12);
}
.ticker-track {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  animation: tape 82s linear infinite;
}
.ticker-item {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 18px;
  color: rgba(10, 22, 18, 0.76);
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.36);
}
.ticker-symbol {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.86), transparent 36%),
    rgba(255, 255, 255, 0.18);
  color: rgba(2, 44, 6, 0.88);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 6px 18px rgba(8, 26, 18, 0.08);
}
.ticker-gain {
  min-width: 70px;
  color: rgba(0, 109, 6, 0.9);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}
.ticker-item.negative {
  color: rgba(66, 20, 19, 0.75);
}
.ticker-item.negative .ticker-symbol {
  color: rgba(104, 18, 17, 0.9);
}
.ticker-item.negative .ticker-gain {
  color: rgba(193, 43, 38, 0.9);
}
.logo-tank-band {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(200px, 28vh, 340px);
  height: clamp(200px, 28vh, 340px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.logo-tank {
  position: absolute;
  inset: 0;
  contain: strict;
  touch-action: none;
}
.tv-chart-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
}
.tv-chart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 220ms ease,
    visibility 0s linear 0s;
}
.landing-gradient .tv-chart-overlay.is-open .tv-chart-overlay-panel {
  padding-top: calc(74px + env(safe-area-inset-top, 0px));
  /* Ticker is hidden while chart is open — no bottom gutter; tank sits flush under the chart. */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tv-chart-overlay-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.tv-chart-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}
.tv-chart-overlay-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}
.tv-chart-overlay-symbol {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tv-chart-basis-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 109, 6, 0.07);
  border: 1px solid rgba(0, 109, 6, 0.14);
}
.tv-chart-basis-pill[hidden] {
  display: none;
}
.tv-chart-basis-pill-label {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.tv-chart-basis-pill-value {
  font-size: 0.78rem;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-chart-frame-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
}
.tv-chart-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tv-chart-close {
  flex-shrink: 0;
}
.logo-tank-bubble {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--bubble-size, 36px);
  height: var(--bubble-size, 36px);
  margin: calc(var(--bubble-size, 36px) / -2) 0 0 calc(var(--bubble-size, 36px) / -2);
  will-change: transform;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 4px 10px rgba(11, 17, 16, 0.1));
}
.logo-tank-bubble .ticker-logo {
  width: 100%;
  height: 100%;
  flex: none;
}
.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.holdings-section {
  padding: 72px 0 96px;
}
.holdings-section-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}
.holdings-section-head-copy {
  max-width: 52ch;
}
.holdings-dashboard {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.holdings-visual-panel {
  min-width: 0;
}
.donut-card {
  padding: clamp(20px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 250, 248, 0.98) 100%),
    var(--paper);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    var(--shadow);
}
.donut-eyebrow {
  margin: 0 0 6px;
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.donut-chart-launch {
  display: flex;
  align-self: stretch;
  justify-content: center;
  width: 100%;
  margin: 18px 0 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(0, 109, 6, 0.35);
  text-underline-offset: 3px;
  cursor: pointer;
}
.donut-chart-launch:hover,
.donut-chart-launch:focus-visible {
  color: var(--ink);
}
.donut-title {
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.donut-wrap {
  position: relative;
  width: min(100%, 280px);
  margin: 0 auto 14px;
  aspect-ratio: 1;
}
.holdings-donut {
  display: block;
  width: 100%;
  height: auto;
}
.holdings-donut .donut-slice {
  transform: translate(0, 0);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.holdings-donut path {
  cursor: default;
  outline: none;
  transition:
    filter 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    stroke 520ms cubic-bezier(0.22, 1, 0.36, 1),
    stroke-width 520ms cubic-bezier(0.22, 1, 0.36, 1);
  vector-effect: non-scaling-stroke;
}
.holdings-donut path[data-ticker]:not([data-ticker="CASH"]) {
  cursor: pointer;
}
/* When any slice is active, gently recede the rest. */
.holdings-donut:has(.donut-slice:hover) .donut-slice:not(:hover) path[data-ticker],
.holdings-donut:has(.donut-slice:focus-within) .donut-slice:not(:focus-within) path[data-ticker] {
  opacity: 0.88;
  filter: saturate(0.96);
}
.holdings-donut .donut-slice:hover,
.holdings-donut .donut-slice:focus-within {
  transform: translate(var(--pull-x, 0px), var(--pull-y, 0px));
}
.holdings-donut .donut-slice:hover path[data-ticker],
.holdings-donut .donut-slice:focus-within path[data-ticker] {
  opacity: 1;
  filter: brightness(1.05) saturate(1.04) drop-shadow(0 5px 16px rgba(11, 17, 16, 0.12));
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 0.85;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  pointer-events: none;
}
.donut-center strong {
  font-size: clamp(1.75rem, 5vw, 2.15rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height:1;
}
.donut-center span {
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.donut-hint {
  margin: 0 0 16px;
  min-height: 1.25em;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 720;
}
.donut-stats {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.donut-stats li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(237, 241, 239, 0.65);
  font-size: 0.82rem;
  font-weight: 820;
  color: var(--muted);
}
.donut-stats li span:last-child {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.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;
}
.jackson-section {
  position: relative;
  display: none;
  min-height: 100svh;
  padding: clamp(120px, 14vh, 160px) clamp(20px, 4vw, 48px) clamp(56px, 8vh, 96px);
  place-items: center;
  background: #faf7f1;
  overflow: hidden;
  isolation: isolate;
}
.jackson-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(255, 252, 244, 0.9), transparent 72%);
  pointer-events: none;
}
.jackson-about {
  position: relative;
  z-index: 1;
}
.jackson-about {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
@media (min-width: 860px) {
  .jackson-about {
    grid-template-columns: minmax(320px, 540px) minmax(0, 1fr);
  }
}
.jackson-visual {
  justify-self: center;
  width: 100%;
  display: flex;
  justify-content: center;
}
.jackson-portrait {
  position: relative;
  width: min(520px, 92vw);
  aspect-ratio: 1 / 1.28;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}
.jackson-portrait-glow {
  display: none;
}
.jackson-portrait-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter:
    drop-shadow(0 20px 24px rgba(45, 36, 22, 0.14))
    drop-shadow(0 4px 8px rgba(45, 36, 22, 0.08));
}
.jackson-portrait-pedestal {
  display: none;
}
.jackson-bio {
  position: relative;
  max-width: 56ch;
  font-family: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1, "onum" 1;
}
.jackson-bio .jackson-eyebrow {
  margin: 0 0 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--green-deep);
}
.jackson-lede {
  margin: 0 0 clamp(1.1rem, 1.6vw, 1.5rem);
  font-family: "Fraunces", "Source Serif 4", Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.jackson-bio-copy p {
  margin: 0 0 1.15rem;
  max-width: 42rem;
  font-size: clamp(1.04rem, 0.96rem + 0.35vw, 1.18rem);
  line-height: 1.7;
  font-weight: 400;
  color: rgba(11, 17, 16, 0.84);
}
.jackson-bio-copy p:last-child {
  margin-bottom: 0;
}
.jackson-bio-copy p.jackson-tagline {
  margin-top: clamp(1.5rem, 2.2vw, 1.85rem);
  margin-bottom: 0;
  max-width: none;
  font-family: "Fraunces", "Source Serif 4", Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.32rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.012em;
  line-height: 1.35;
  color: var(--green-deep);
}
.jackson-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
}
.social-chip {
  --chip-accent: rgba(11, 17, 16, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 36px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(11, 17, 16, 0.09);
  background: transparent;
  color: rgba(11, 17, 16, 0.72);
  text-decoration: none;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}
.social-chip:hover {
  background: #fff;
  border-color: rgba(11, 17, 16, 0.14);
  color: var(--chip-accent);
  box-shadow: 0 8px 20px rgba(45, 36, 22, 0.08);
  transform: translateY(-1px);
}
.social-chip:active {
  transform: translateY(0);
}
.social-chip:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
}
.social-chip__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.social-chip__icon--instagram {
  width: 18px;
  height: 18px;
}
.social-chip__label {
  line-height: 1;
}
.social-chip--linkedin {
  --chip-accent: #0a66c2;
}
.social-chip--linkedin .social-chip__icon { color: #0a66c2; }
.social-chip--x {
  --chip-accent: #0b1110;
}
.social-chip--x .social-chip__icon { color: #0b1110; }
.social-chip--instagram {
  --chip-accent: #c9248c;
}
@media (max-width: 860px) {
  .jackson-bio {
    text-align: left;
  }
  .jackson-social {
    justify-content: flex-start;
  }
}
body.route-jackson {
  background: #fbf8f3;
}
body.route-jackson .landing-gradient,
body.route-jackson .holdings-section,
body.route-jackson .alltime-section,
body.route-jackson .thesis-section,
body.route-jackson .logo-tank-band {
  display: none;
}
body.route-jackson .jackson-section {
  display: grid;
}
body.route-alltime .landing-gradient,
body.route-alltime .holdings-section,
body.route-alltime .jackson-section,
body.route-alltime .thesis-section,
body.route-alltime .logo-tank-band {
  display: none;
}
.alltime-section {
  display: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 110px 0 96px;
  --alltime-pad: clamp(20px, 4.5vw, 44px);
  --alltime-chart-pad: max(10px, env(safe-area-inset-left, 0px));
  --alltime-chart-pad-right: max(10px, env(safe-area-inset-right, 0px));
}
body.route-alltime .alltime-section {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 110px 0 max(10px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-y: auto;
}
body.route-alltime .alltime-panel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
/** No nested flex on #alltimeChart — Safari collapses % heights and hides bars. Stage uses a real svh-based height. */
body.route-alltime .alltime-chart-wrap {
  flex: 0 0 auto;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding: clamp(4px, 0.9vh, 10px) 0 0;
  padding-inline: var(--alltime-chart-pad) var(--alltime-chart-pad-right);
}
body.route-alltime .alltime-scope-wrap {
  margin-top: auto;
  flex-shrink: 0;
}
/**
 * Explicit main-axis size so .alltime-chart-track height:100% resolves (Safari-safe).
 * ~110 header offset + scope row + small gaps ≈ 11.75rem; tune with svh not dvh for file:// consistency.
 */
body.route-alltime .alltime-chart-stage {
  width: 100%;
  min-height: 400px;
  height: min(900px, max(400px, calc(100svh - 11.75rem)));
  padding-top: clamp(26px, 3.2vh, 40px);
}
.alltime-panel {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.alltime-scope-wrap {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px var(--alltime-pad) max(6px, env(safe-area-inset-bottom, 0px));
}
.alltime-scope {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.alltime-scope .ghost-button {
  border: 0;
  background: transparent;
  min-height: 30px;
  padding: 0 14px;
}
.alltime-scope .ghost-button.active {
  background: #edffef;
  color: var(--green-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 4px 12px rgba(4, 122, 8, 0.08);
}
.alltime-chart-wrap {
  --alltime-green: #00c807;
  --alltime-red: #ff5001;
  width: 100%;
  padding: clamp(4px, 0.8vw, 12px) 0 clamp(6px, 1.2vw, 14px);
  padding-inline: var(--alltime-chart-pad) var(--alltime-chart-pad-right);
  background: transparent;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.alltime-chart-wrap::-webkit-scrollbar {
  height: 8px;
}
.alltime-chart-wrap::-webkit-scrollbar-thumb {
  background: rgba(11, 17, 16, 0.18);
  border-radius: 999px;
}
.alltime-chart-stage {
  --top: 50%;
  --bottom: 50%;
  --foot: 76px;
  position: relative;
  height: clamp(400px, 56vh, 580px);
  min-width: 100%;
  padding-top: 32px;
  padding-bottom: var(--foot);
}
.alltime-chart-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(36px, 1fr);
  gap: clamp(2px, 0.35vw, 6px);
  height: 100%;
}
/** Many bars: fixed column width + wide stage so labels clear; `.alltime-chart-wrap` scrolls horizontally. */
.alltime-chart-stage.is-alltime-expanded {
  min-width: max(100%, var(--alltime-track-min));
}
.alltime-chart-stage.is-alltime-expanded .alltime-chart-track {
  grid-auto-columns: minmax(56px, 56px);
  gap: 6px;
}
.alltime-chart-axis {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--top);
  height: 1px;
  background: rgba(11, 17, 16, 0.16);
  pointer-events: none;
  z-index: 0;
}
.alltime-col {
  --bar-h: 0%;
  position: relative;
  height: 100%;
}
/** Two-axis chart: bars hang off the shared mid-axis at `--top` from the top of the stage. */
.alltime-col-bar {
  position: absolute;
  left: 50%;
  width: clamp(10px, 38%, 22px);
  height: var(--bar-h);
  transform: translateX(-50%);
  transition:
    height 520ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 160ms ease;
}
.alltime-chart-stage.is-entering .alltime-col-bar {
  height: 0;
  transition: none;
}
.alltime-chart-stage.is-entering .alltime-col-value {
  opacity: 0;
  transition: none;
}
.alltime-col.is-gain .alltime-col-bar {
  bottom: calc(100% - var(--top));
  border-radius: 3px 3px 0 0;
  background: var(--alltime-green);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 18px rgba(0, 200, 7, 0.18);
}
.alltime-col.is-loss .alltime-col-bar {
  top: var(--top);
  border-radius: 0 0 3px 3px;
  background: var(--alltime-red);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 18px rgba(255, 80, 1, 0.2);
}
.alltime-col:hover .alltime-col-bar {
  filter: brightness(1.06) saturate(1.05);
}
.alltime-col-value {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.65rem, 0.62rem + 0.2vw, 0.74rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  transition: opacity 320ms ease 280ms;
}
.alltime-col.is-gain .alltime-col-value {
  bottom: calc(100% - var(--top) + var(--bar-h) + 6px);
  color: var(--alltime-green);
}
.alltime-col.is-loss .alltime-col-value {
  top: calc(var(--top) + var(--bar-h) + 6px);
  color: var(--alltime-red);
}
.alltime-col-foot {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
}
.alltime-col .alltime-col-logo.ticker-logo {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  font-size: 0.58rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 3px 8px rgba(11, 17, 16, 0.08);
}
.alltime-col-ticker {
  font-size: clamp(0.68rem, 0.64rem + 0.15vw, 0.76rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
button.alltime-col-ticker {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
button.alltime-col-ticker:hover,
button.alltime-col-ticker:focus-visible {
  color: var(--alltime-green);
  outline: none;
}
.alltime-col.is-loss button.alltime-col-ticker:hover,
.alltime-col.is-loss button.alltime-col-ticker:focus-visible {
  color: var(--alltime-red);
}
.alltime-empty {
  padding: 56px var(--alltime-pad);
  text-align: center;
}
.alltime-empty-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.alltime-empty-copy {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.55;
}
@media (max-width: 640px) {
  body.route-alltime .alltime-section {
    padding-top: 92px;
  }
  .alltime-section {
    padding-top: 92px;
    --alltime-chart-pad: max(8px, env(safe-area-inset-left, 0px));
    --alltime-chart-pad-right: max(8px, env(safe-area-inset-right, 0px));
  }
  .alltime-row {
    grid-template-columns: minmax(96px, 110px) minmax(0, 1fr) 60px;
    gap: 10px;
  }
  .alltime-row-ticker {
    font-size: 0.84rem;
  }
  .alltime-row-value {
    font-size: 0.82rem;
  }
}
.thesis-section {
  display: none;
  min-height: 100svh;
  padding: clamp(116px, 12vh, 142px) clamp(16px, 3vw, 44px) clamp(52px, 7vh, 84px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(246, 248, 246, 0.96) 34%, rgba(250, 251, 249, 1)),
    #f7f8f6;
}
body.route-theses {
  background: #f7f8f6;
}
body.route-theses .landing-gradient,
body.route-theses .holdings-section,
body.route-theses .alltime-section,
body.route-theses .jackson-section,
body.route-theses .logo-tank-band {
  display: none;
}
body.route-theses .thesis-section {
  display: block;
}
.thesis-shell {
  width: min(1260px, 100%);
  margin: 0 auto;
}
.thesis-head {
  display: block;
  margin-bottom: clamp(24px, 3.2vw, 44px);
}
.thesis-head .eyebrow {
  margin-bottom: 14px;
  color: rgba(4, 122, 8, 0.92);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}
.thesis-head h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6.3vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
}
.thesis-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.1vw, 24px);
}
.thesis-post-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: clamp(14px, 1.5vw, 18px);
  font: inherit;
  text-align: left;
  border: 1px solid rgba(11, 17, 16, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 253, 252, 0.98)),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 18px 50px rgba(11, 17, 16, 0.07);
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 240ms ease,
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1);
}
.thesis-post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(52, 215, 90, 0),
    rgba(52, 215, 90, 0.9) 50%,
    rgba(52, 215, 90, 0)
  );
  box-shadow: 0 0 14px rgba(52, 215, 90, 0.42);
  opacity: 0;
  transform: scaleX(0.55);
  transform-origin: center;
  transition:
    opacity 360ms ease,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 3;
}
.thesis-post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 0 0 1px rgba(11, 17, 16, 0.04);
  transition: opacity 320ms ease;
  z-index: 2;
}
.thesis-post-card:hover,
.thesis-post-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(11, 17, 16, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 2px 6px rgba(11, 17, 16, 0.05),
    0 14px 28px rgba(11, 17, 16, 0.07),
    0 36px 80px rgba(11, 17, 16, 0.1);
  outline: none;
}
.thesis-post-card:hover::before,
.thesis-post-card:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}
.thesis-post-card:hover::after,
.thesis-post-card:focus-visible::after {
  opacity: 1;
}
.thesis-post-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.thesis-avatar {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11, 17, 16, 0.08);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.92), transparent 34%),
    rgba(244, 248, 245, 0.92);
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(11, 17, 16, 0.08);
}
.thesis-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.thesis-post-card:hover .thesis-avatar img,
.thesis-post-card:focus-visible .thesis-avatar img {
  transform: scale(1.045);
}
.thesis-author {
  display: grid;
  min-width: 0;
  line-height: 1.12;
}
.thesis-author strong {
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thesis-author span {
  overflow: hidden;
  margin-top: 3px;
  color: rgba(87, 98, 94, 0.9);
  font-size: 0.82rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thesis-x-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: rgba(11, 17, 16, 0.78);
}
.thesis-x-mark svg {
  width: 17px;
  height: 17px;
}
.thesis-post-line {
  min-height: 1.35em;
  margin: 0;
  color: rgba(11, 17, 16, 0.94);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 650;
  line-height: 1.35;
}
.thesis-post-line:empty::after {
  content: "";
  display: block;
  width: min(64%, 260px);
  height: 1em;
  border-radius: 999px;
  background: rgba(11, 17, 16, 0.055);
}
.thesis-post-ticker {
  color: #1d9bf0;
  font-weight: 800;
}
.thesis-logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(70, 83, 78, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.42), transparent 36%),
    var(--logo-bg, #f3f5f4);
}
.thesis-logo-frame.thesis-logo-frame--brand {
  background: var(--logo-bg, #f3f5f4);
}
.thesis-logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform-origin: center;
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.thesis-post-card:hover .thesis-logo-frame img,
.thesis-post-card:focus-visible .thesis-logo-frame img {
  transform: scale(1.045);
}
.thesis-post-card[data-thesis-id="btc"] .thesis-logo-frame img {
  transform: scale(0.95);
}
.thesis-post-card[data-thesis-id="btc"]:is(:hover, :focus-visible) .thesis-logo-frame img {
  transform: scale(calc(0.95 * 1.045));
}
.thesis-logo-frame[data-logo-fit="contain"] img,
.thesis-exhibit-logo[data-logo-fit="contain"] img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.thesis-logo-frame[data-logo-fit="contain"],
.thesis-exhibit-logo[data-logo-fit="contain"],
.thesis-logo-frame[data-logo-fit="wide"],
.thesis-exhibit-logo[data-logo-fit="wide"] {
  background: var(--logo-bg, #f3f5f4);
}
.thesis-logo-frame[data-logo-fit="wide"] img,
.thesis-exhibit-logo[data-logo-fit="wide"] img {
  width: 150%;
  height: 180%;
  object-fit: contain;
}
.thesis-logo-fallback {
  display: none;
  color: rgba(11, 17, 16, 0.86);
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  font-weight: 950;
  letter-spacing: 0;
}
.thesis-logo-frame.is-fallback img,
.thesis-exhibit-logo.is-fallback img {
  display: none;
}
.thesis-logo-frame.is-fallback .thesis-logo-fallback,
.thesis-exhibit-logo.is-fallback .thesis-logo-fallback {
  display: block;
}
.thesis-return-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(11, 17, 16, 0.12);
  color: rgba(3, 93, 8, 0.95);
  font-size: 0.8rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(18px) saturate(1.8) contrast(1.04) url("#liquid-glass-refraction");
  -webkit-backdrop-filter: blur(18px) saturate(1.8) contrast(1.04);
  transition:
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 240ms ease;
}
.thesis-post-card:hover .thesis-return-badge,
.thesis-post-card:focus-visible .thesis-return-badge {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    0 14px 32px rgba(11, 17, 16, 0.14);
}
.thesis-status-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #00c805;
  box-shadow: 0 0 0 2px rgba(0, 200, 5, 0.13);
}
.thesis-status-dot.is-closed {
  background: #222826;
  box-shadow: 0 0 0 1.5px rgba(34, 40, 38, 0.1);
}
@keyframes thesis-status-pulse {
  0% {
    box-shadow:
      0 0 0 2px rgba(0, 200, 5, 0.13),
      0 0 0 0 rgba(0, 200, 5, 0.5);
  }
  70% {
    box-shadow:
      0 0 0 2px rgba(0, 200, 5, 0.13),
      0 0 0 11px rgba(0, 200, 5, 0);
  }
  100% {
    box-shadow:
      0 0 0 2px rgba(0, 200, 5, 0.13),
      0 0 0 11px rgba(0, 200, 5, 0);
  }
}
.thesis-post-card:hover .thesis-status-dot:not(.is-closed),
.thesis-post-card:focus-visible .thesis-status-dot:not(.is-closed) {
  animation: thesis-status-pulse 1100ms cubic-bezier(0.22, 1, 0.36, 1) 1;
}
.thesis-post-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  color: rgba(86, 100, 106, 0.86);
}
.thesis-post-actions span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 22px;
  font-size: 0.78rem;
  font-weight: 760;
}
.thesis-post-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thesis-exhibit {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
}
.thesis-exhibit.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 220ms ease,
    visibility 0s linear 0s;
}
.thesis-exhibit[hidden] {
  display: none;
}
.thesis-exhibit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(246, 248, 246, 0.72);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}
.thesis-exhibit-panel {
  position: relative;
  z-index: 1;
  width: min(1460px, 100%);
  height: min(860px, calc(100svh - 36px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22) 48%, rgba(237, 250, 242, 0.34)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22),
    0 34px 90px rgba(11, 17, 16, 0.18);
  backdrop-filter: blur(30px) saturate(1.9) contrast(1.04) url("#liquid-glass-refraction");
  -webkit-backdrop-filter: blur(30px) saturate(1.9) contrast(1.04);
  transform-origin: top left;
}
.thesis-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0.5px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.88), transparent 34%),
    rgba(255, 255, 255, 0.34);
  color: rgba(11, 17, 16, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 28px rgba(11, 17, 16, 0.1);
  backdrop-filter: blur(16px) saturate(1.6) url("#liquid-glass-refraction");
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
}
.thesis-close:hover,
.thesis-close:focus-visible {
  color: var(--ink);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 34px rgba(11, 17, 16, 0.13);
}
.thesis-close svg {
  width: 20px;
  height: 20px;
}
.thesis-exhibit-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(20px, 3vw, 44px);
  height: 100%;
  padding: clamp(26px, 4vw, 52px);
}
.thesis-exhibit-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
}
.thesis-exhibit-chart {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(70, 83, 78, 0.14);
  border-radius: 8px;
  background: #ffffff;
}
.thesis-exhibit-journey {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
  padding: 0 4px;
  color: rgba(11, 17, 16, 0.62);
  font-size: 0.92rem;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}
.thesis-journey-entry,
.thesis-journey-current {
  color: var(--ink);
}
.thesis-journey-arrow {
  color: rgba(11, 17, 16, 0.36);
  font-weight: 600;
}
.thesis-journey-mult {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 200, 5, 0.1);
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 900;
}
.thesis-exhibit-chart iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.thesis-exhibit-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.9vw, 24px);
  min-width: 0;
  min-height: 0;
  padding-right: clamp(8px, 2.6vw, 42px);
  overflow-y: auto;
}
.thesis-exhibit-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}
.thesis-exhibit-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(11, 17, 16, 0.54);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.thesis-exhibit-eyebrow .thesis-status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
}
.thesis-exhibit-title h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: clamp(12px, 1.6vw, 22px);
  row-gap: 6px;
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.thesis-exhibit-name {
  font-weight: 900;
}
.thesis-exhibit-gain {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.012em;
  line-height: 1;
  white-space: nowrap;
}
.thesis-exhibit-gain.is-gain {
  color: var(--green-deep);
}
.thesis-exhibit-gain.is-loss {
  color: var(--red);
}
.thesis-exhibit-artifact {
  position: relative;
  margin: 0;
  padding-left: 16px;
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}
.thesis-exhibit-artifact::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--green-deep);
}
.thesis-exhibit-artifact.is-closed::before {
  background: rgba(11, 17, 16, 0.22);
}
.thesis-artifact-item {
  margin: 0;
  flex: 0 1 auto;
  max-width: 100%;
}
.thesis-exhibit-artifact.is-multi .thesis-artifact-item:not(.is-accent) {
  flex: 1 1 280px;
  max-width: 460px;
}
.thesis-artifact-item.is-accent {
  flex: 0 0 auto;
  max-width: 220px;
}
.thesis-artifact-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  mix-blend-mode: multiply;
}
.thesis-artifact-item.is-accent img {
  max-height: 360px;
  width: auto;
}
/* AVGO-style: secondary text bubble grounded at the bottom of the primary, tilted like a sticker. */
.thesis-exhibit-artifact.layout-grounded {
  align-items: flex-end;
}
.thesis-exhibit-artifact.layout-grounded .thesis-artifact-item.is-accent {
  max-width: 200px;
  margin-bottom: 6px;
  transform: rotate(-2.4deg);
  transform-origin: bottom left;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.thesis-exhibit-artifact.layout-grounded .thesis-artifact-item.is-accent:hover {
  transform: rotate(0deg);
}
/* PLTR-style: wide primary chart on top, accent tucked into the bottom-right beneath it. */
.thesis-exhibit-artifact.layout-stacked {
  flex-direction: column;
  align-items: stretch;
  gap: clamp(10px, 1.2vw, 18px);
}
.thesis-exhibit-artifact.layout-stacked .thesis-artifact-item:not(.is-accent) {
  max-width: 100%;
  width: 100%;
}
.thesis-exhibit-artifact.layout-stacked .thesis-artifact-item:not(.is-accent) img {
  width: 100%;
  max-width: 100%;
}
.thesis-exhibit-artifact.layout-stacked .thesis-artifact-item.is-accent {
  align-self: flex-end;
  max-width: 240px;
  margin-right: clamp(8px, 2vw, 28px);
}
.thesis-exhibit-writeup {
  color: rgba(11, 17, 16, 0.9);
  font-size: clamp(1.04rem, 1.25vw, 1.14rem);
  font-weight: 620;
  line-height: 1.55;
  letter-spacing: -0.003em;
  max-width: 60ch;
  flex: 0 0 auto;
}
.thesis-exhibit-writeup p {
  margin: 0 0 0.7em 0;
}
.thesis-exhibit-writeup p:last-child {
  margin-bottom: 0;
}
body.thesis-open {
  overflow: hidden;
}
@media (max-width: 980px) {
  .thesis-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .thesis-exhibit-grid {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(240px, 0.55fr) minmax(0, 1fr);
    overflow-y: auto;
  }
  .thesis-exhibit-copy {
    padding-right: 0;
    overflow-y: visible;
  }
  .thesis-exhibit-chart {
    min-height: 240px;
  }
}
@media (max-width: 640px) {
  .thesis-section {
    padding-top: 130px;
  }
  .thesis-head {
    display: block;
  }
  .thesis-gallery {
    grid-template-columns: 1fr;
  }
  .thesis-post-card {
    padding: 13px;
  }
  .thesis-post-top {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }
  .thesis-avatar {
    width: 38px;
    height: 38px;
  }
  .thesis-exhibit {
    padding: 10px;
  }
  .thesis-exhibit-panel {
    height: calc(100svh - 20px);
  }
  .thesis-exhibit-grid {
    padding: 58px 14px 16px;
  }
  .thesis-close {
    top: 12px;
    right: 12px;
  }
}
.holdings-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 253, 252, 1)),
    var(--paper);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    var(--shadow);
}
.panel-title {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
}
.panel-head-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 0;
}
.sort-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: 100%;
}
.sort-chips-label {
  margin-right: 2px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.sort-chip {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 860;
}
.sort-chip:hover {
  border-color: #cfe8d2;
  color: var(--ink);
}
.sort-chip.active {
  border-color: #b9edbc;
  background: #edffef;
  color: var(--green-deep);
}
.sort-chip-dir {
  display: inline-block;
  margin-left: 0.22em;
  font-size: 0.82em;
  font-weight: 800;
  opacity: 0.72;
  translate: 0 0.5px;
}
.holdings-cards-wrap {
  padding: 16px 16px 20px;
  overflow-x: auto;
  background: linear-gradient(180deg, rgba(246, 248, 246, 0.45), rgba(255, 255, 255, 0.55));
}
.holding-card-grid {
  display: grid;
  gap: 12px;
  max-width: 100%;
}
.holding-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 8px 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 252, 250, 0.96) 100%),
    #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}
.holding-card.is-gain {
  border-color: rgba(0, 200, 5, 0.14);
}
.holding-card.is-loss {
  border-color: rgba(239, 77, 72, 0.12);
}
.holding-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(11, 17, 16, 0.08);
  border-color: rgba(226, 232, 228, 0.95);
}
.holding-card-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}
.holding-card .holding-card-logo.ticker-logo {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 22px rgba(11, 17, 16, 0.1);
}
.holding-card-id {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.holding-card-ticker {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
button.holding-card-ticker {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  justify-self: start;
}
button.holding-card-ticker:hover,
button.holding-card-ticker:focus-visible {
  color: var(--green-deep);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 109, 6, 0.18);
}
.holding-card-name {
  font-size: 0.8rem;
  font-weight: 720;
  color: var(--muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.holding-card-gain-block {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
  min-width: min(120px, 30vw);
}
.holding-card-pct {
  display: block;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
@media (max-width: 520px) {
  .holding-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .holding-card-gain-block {
    grid-column: 1;
    grid-row: 2;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
  }
  .holding-card-meta {
    grid-row: 3;
  }
}
.holding-card-meta {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 4px;
  border-top: 1px solid rgba(226, 232, 228, 0.75);
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 760;
  color: var(--muted);
}
.holding-meta-item em {
  margin-right: 6px;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(101, 112, 108, 0.85);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: 0;
}
.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ghost-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}
.ghost-button.active {
  border-color: #b9edbc;
  background: #edffef;
  color: var(--green-deep);
}
.ticker-logo {
  display: grid;
  place-items: center;
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid #e4ebe7;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.98), transparent 34%),
    #f7faf8;
  color: var(--blue);
  font-size: 0.78rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 5px 14px rgba(11, 17, 16, 0.08);
}
.gain {
  color: var(--green-deep);
  font-weight: 900;
}
.ticker-logo img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
}
.ticker-logo.logo-contain img,
.ticker-logo.logo-wordmark img {
  object-fit: contain;
}
.ticker-logo.logo-contain img {
  padding: 4px;
}
.ticker-logo.logo-wordmark img {
  padding: 7px;
}
.ticker-logo.logo-sndk img {
  padding: 8px 5px;
  object-fit: contain;
}
.ticker-logo.logo-aaoi img,
.ticker-logo.logo-tsm img {
  padding: 3px;
}
.ticker-logo.logo-crdo img {
  padding: 2px;
}
.ticker-logo.logo-iren img {
  padding: 0;
  transform: scale(1.1);
  transform-origin: center;
}
.ticker-logo.logo-iqe img {
  padding: 1px;
}
.ticker-logo.logo-bwxt img {
  padding: 5px;
}
/* Wide brand SVGs: vector sharpness + slight zoom so they don’t float tiny in the circle */
.ticker-logo.logo-nvda img,
.ticker-logo.logo-ceg img {
  object-fit: contain;
  object-position: center;
  padding: 3px;
  transform-origin: center;
}
.ticker-logo.logo-nvda img {
  transform: scale(1.18);
}
.ticker-logo.logo-ceg img {
  transform: scale(1.24);
}
.ticker-logo b {
  display: none;
  font-weight: 900;
}
.ticker-logo.is-fallback {
  background: #f0f7ff;
}
.ticker-logo.is-fallback b {
  display: block;
}
.gain {
  color: var(--green-deep);
  font-weight: 900;
}
.loss {
  color: var(--red);
  font-weight: 900;
}
@keyframes tape {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}
@keyframes gradientDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 2%, 0) scale(1.08);
  }
}
.chart-ticker-pop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  background: rgba(11, 17, 16, 0.26);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    visibility 0s linear 180ms;
}
.chart-ticker-pop.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 180ms ease,
    visibility 0s linear 0s;
}
.chart-ticker-pop-panel {
  position: relative;
  width: min(380px, 100%);
  padding: 18px 20px 16px;
  border-radius: 28px;
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 46%, rgba(232, 251, 242, 0.22)),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14),
    inset 10px 0 28px rgba(205, 255, 230, 0.06),
    inset -10px 0 28px rgba(212, 230, 255, 0.1),
    0 28px 72px rgba(7, 20, 12, 0.22);
  backdrop-filter: blur(22px) saturate(1.85) contrast(1.08) url("#liquid-glass-refraction");
  -webkit-backdrop-filter: blur(22px) saturate(1.85) contrast(1.08);
  isolation: isolate;
}
.chart-ticker-pop-title {
  margin: 0 0 8px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 22, 18, 0.55);
}
.chart-ticker-input {
  box-sizing: border-box;
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.38);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-transform: uppercase;
  backdrop-filter: blur(14px) saturate(1.5) url("#liquid-glass-refraction");
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
}
.chart-ticker-input:focus {
  outline: none;
  border-color: rgba(0, 109, 6, 0.42);
  box-shadow: 0 0 0 3px rgba(0, 109, 6, 0.12);
}
.chart-ticker-suggest {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  max-height: min(36vh, 200px);
  overflow: auto;
}
.chart-ticker-suggest button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 9px 10px;
  border: none;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 820;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.chart-ticker-suggest button:hover,
.chart-ticker-suggest button:focus-visible {
  background: rgba(255, 255, 255, 0.38);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.chart-ticker-suggest-tk {
  font-weight: 900;
  letter-spacing: 0.04em;
}
.chart-ticker-suggest-name {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 720;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}
.chart-ticker-hint {
  margin: 10px 0 0;
  font-size: 0.68rem;
  font-weight: 720;
  color: var(--muted);
}
.chart-ticker-hint kbd {
  padding: 1px 5px;
  border-radius: 6px;
  border: 0.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.32);
  font-size: 0.62rem;
  font-weight: 800;
}
body.chart-ui-open {
  overflow: hidden;
}
@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    border-radius: 24px;
  }
  body.is-scrolled .site-header {
    width: min(100% - 24px, 1180px);
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .header-snapshot {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
  }
  .profile-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .nav-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    justify-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-tabs::-webkit-scrollbar {
    display: none;
  }
  .panel-head {
    display: block;
  }
  .table-actions {
    margin-top: 16px;
  }
  .panel-head-actions {
    align-items: stretch;
    width: 100%;
  }
  .sort-chips {
    justify-content: flex-start;
  }
  .holdings-dashboard {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    padding: 8px;
    border-radius: 24px;
  }
  body.is-scrolled .site-header {
    width: calc(100% - 16px);
  }
  .brand small {
    display: none;
  }
  .brand-mark,
  .profile-button span {
    width: 40px;
    height: 40px;
  }
  .nav-tabs a {
    flex: 1;
    min-height: 36px;
    padding-inline: 14px;
    text-align: center;
  }
  .landing-gradient {
    min-height: 100svh;
  }
  .candle-mask {
    bottom: 82px;
  }
  .ticker-band {
    right: 8px;
    bottom: 8px;
    left: 8px;
    border-radius: 24px;
  }
  .ticker-item {
    min-height: 52px;
    padding-inline: 14px;
    font-size: 0.8rem;
  }
  .ticker-symbol {
    min-width: 48px;
    height: 30px;
    padding-inline: 10px;
  }
  .section-shell {
    width: min(100% - 24px, 1180px);
  }
  .holdings-section {
    padding-top: 42px;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .ticker-band,
  .header-snapshot,
  .brand-mark,
  .profile-button span,
  .portfolio-scroll-hint-pane {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-tabs a {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .chart-ticker-pop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .chart-ticker-pop-panel,
  .chart-ticker-input,
  .thesis-return-badge,
  .thesis-exhibit-panel,
  .thesis-close {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .thesis-exhibit-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
