:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #17191f;
  color: #f4f6f8;
  --bg: #17191f;
  --bg-soft: #1a1d23;
  --surface: #181b21;
  --surface-strong: #14171b;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f6f8;
  --muted: #8f949d;
  --accent: #42f59b;
  --accent-strong: #69ffb0;
  --danger: #ff8d8d;
  --warn: #ffd37a;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  background:
    linear-gradient(90deg, rgba(2, 13, 13, 0.96) 0%, rgba(5, 43, 39, 0.96) 48%, rgba(2, 13, 13, 0.96) 100%),
    linear-gradient(180deg, rgba(62, 255, 171, 0.08) 0%, rgba(2, 13, 13, 0) 34%);
  background-attachment: fixed;
  color: var(--text);
  margin: 0;
  min-height: 100vh;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 760;
  line-height: 0.98;
  max-width: 900px;
}

h2 {
  font-size: 16px;
  font-weight: 730;
}

h3 {
  font-size: 13px;
  font-weight: 730;
}

p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
}

button,
select,
input {
  font: inherit;
}

button,
.button-link {
  align-items: center;
  background: #12281d;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 650;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  text-decoration: none;
}

button:hover,
.button-link:hover {
  border-color: rgba(167, 255, 209, 0.56);
}

button:disabled {
  color: rgba(233, 255, 243, 0.34);
  cursor: not-allowed;
}

select,
input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  min-height: 34px;
  padding: 0 10px;
}

input::placeholder {
  color: rgba(233, 255, 243, 0.4);
}

main {
  display: grid;
  gap: 14px;
  padding: 14px 20px 34px;
}

.app-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(4, 17, 11, 0.88);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-block {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.brand-block strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 8px;
  color: #04110b;
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.header-status {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px;
  justify-content: flex-end;
}

.app-tabs {
  background: rgba(4, 17, 11, 0.72);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  position: sticky;
  top: 63px;
  z-index: 19;
}

.tab-button {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  min-height: 32px;
}

.tab-button.is-active {
  background: rgba(130, 244, 184, 0.12);
  border-color: var(--border-strong);
  color: var(--accent-strong);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: grid;
  gap: 14px;
}

.panel-section,
.market-card,
.trade-card,
.feed-card,
.status-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.panel-section {
  padding: 12px;
}

.intro-section {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.intro-section h1 {
  font-size: 22px;
  line-height: 1.1;
}

.summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary div {
  border-right: 1px solid var(--border);
  min-width: 0;
  padding-right: 10px;
}

.summary div:last-child {
  border-right: 0;
}

.label {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

strong {
  display: block;
  overflow-wrap: anywhere;
}

.summary strong {
  font-size: 20px;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.controls button:first-child,
.accent-button {
  background: var(--accent);
  border-color: var(--accent);
  color: #04110b;
}

.section-title-row {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.chart-header {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.timeframe-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeframe-controls button {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
  min-height: 28px;
  padding: 0 10px;
}

.timeframe-controls button.active {
  background: rgba(130, 244, 184, 0.14);
  border-color: var(--border-strong);
  color: var(--accent-strong);
}

.chart-layout {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.chart-wrap {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-height: 320px;
  overflow: hidden;
}

canvas {
  display: block;
  height: 320px;
  width: 100%;
}

.chart-side {
  border-left: 1px solid var(--border);
  display: grid;
  gap: 12px;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding-left: 12px;
}

.legend,
.latest-values {
  display: grid;
  gap: 6px;
}

.legend-item,
.latest-item {
  align-items: center;
  display: grid;
  font-size: 12px;
  gap: 7px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
}

.legend-line {
  border-top: 3px solid var(--series-color);
  height: 0;
}

.legend-line.dashed {
  border-top-style: dashed;
}

.series-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.table-wrap {
  max-height: 280px;
  overflow: auto;
}

.record-table-wrap {
  max-height: 360px;
}

table {
  border-collapse: collapse;
  font-size: 12px;
  min-width: 860px;
  width: 100%;
}

.record-table {
  min-width: 2100px;
}

th,
td {
  border-bottom: 1px solid rgba(148, 255, 190, 0.09);
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

th {
  background: #0b2016;
  color: #b8d7c5;
  font-weight: 720;
  position: sticky;
  top: 0;
}

.ok {
  color: #82f4b8;
  font-weight: 700;
}

.fail {
  color: var(--danger);
  font-weight: 700;
}

.warn {
  color: var(--warn);
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.options-page {
  gap: 16px;
}

.options-hero {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 210px;
  padding: 28px 0 10px;
}

.options-hero p {
  font-size: 15px;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ghost-link {
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  color: var(--accent-strong);
  display: inline-flex;
  font-size: 13px;
  font-weight: 650;
  min-height: 34px;
  padding: 0 12px;
  text-decoration: none;
}

.status-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 12px;
}

.status-strip strong {
  font-size: 16px;
}

.asset-stack {
  display: grid;
  gap: 16px;
}

.asset-row {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
}

.market-card,
.trade-card,
.feed-card {
  padding: 16px;
}

.card-topline {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.eyebrow {
  color: var(--accent);
  display: block;
  font-size: 11px;
  font-weight: 730;
  letter-spacing: 0;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.source-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 720;
  padding: 5px 8px;
}

.ok-pill {
  background: rgba(130, 244, 184, 0.12);
  color: var(--accent-strong);
}

.fail-pill {
  background: rgba(255, 141, 141, 0.10);
  color: var(--danger);
}

.asset-price {
  color: #ffffff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  margin-top: 18px;
}

.mini-chart {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 255, 190, 0.12);
  border-radius: 8px;
  height: 92px;
  margin-top: 16px;
  width: 100%;
}

.metric-grid,
.fact-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0 0;
}

.metric-grid div,
.fact-grid div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 255, 190, 0.10);
  border-radius: 8px;
  min-width: 0;
  padding: 10px;
}

dt,
.fact-grid span {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-bottom: 5px;
}

dd,
.fact-grid strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 720;
  margin: 0;
  overflow-wrap: anywhere;
}

.segmented-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  gap: 2px;
  padding: 3px;
}

.segmented-control button {
  background: transparent;
  border: 0;
  color: var(--muted);
  min-height: 28px;
  padding: 0 9px;
}

.segmented-control button.is-active {
  background: rgba(130, 244, 184, 0.14);
  color: var(--accent-strong);
}

.milestone-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.milestone-list li {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px minmax(0, 1fr);
}

.milestone-list li > span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  height: 12px;
  margin-top: 3px;
  width: 12px;
}

.milestone-list li.done > span,
.milestone-list li.active > span {
  background: var(--accent);
  border-color: var(--accent);
}

.milestone-list strong {
  font-size: 13px;
}

.milestone-list small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 2px;
}

.waitlist-form {
  background: rgba(130, 244, 184, 0.08);
  border: 1px solid rgba(130, 244, 184, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 12px;
}

.waitlist-form label {
  font-size: 12px;
  font-weight: 730;
}

.waitlist-form div {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.form-status,
.inline-note {
  color: var(--muted);
  font-size: 12px;
}

.listing-x-link {
  margin-top: 10px;
}

.strategy-block {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.strategy-heading {
  align-items: center;
  border-bottom: 1px dashed rgba(232, 255, 250, 0.10);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 0 2px 7px;
}

.strategy-heading h3 {
  color: #e8fffa;
  font-size: 13px;
  font-weight: 790;
  white-space: nowrap;
}

.strategy-heading span {
  background: rgba(66, 245, 155, 0.065);
  border: 1px solid rgba(66, 245, 155, 0.10);
  border-radius: 999px;
  color: rgba(232, 255, 250, 0.58);
  font-size: 11px;
  font-weight: 720;
  padding: 3px 8px;
  white-space: nowrap;
}

.tsla-spread-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tsla-option-side {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-top: 8px;
  min-width: 0;
  padding: 0;
}

.tsla-option-side + .tsla-option-side {
  border-left: 1px dashed rgba(232, 255, 250, 0.10);
  padding-left: 16px;
}

.simulator-panel {
  align-items: center;
  background: linear-gradient(90deg, rgba(66, 245, 155, 0.070), rgba(141, 251, 226, 0.035));
  border: 0;
  border-bottom: 1px solid rgba(232, 255, 250, 0.09);
  border-radius: 999px;
  display: flex;
  gap: 6px;
  margin-top: 6px;
  min-width: 0;
  padding: 5px;
}

.simulator-panel > div:first-child {
  align-items: center;
  background: rgba(2, 14, 13, 0.34);
  border: 1px solid rgba(66, 245, 155, 0.095);
  border-radius: 999px;
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
  justify-content: space-between;
  min-height: 30px;
  min-width: 0;
  padding: 0 9px;
}

.simulator-panel span {
  color: #858992;
  display: block;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0;
  white-space: nowrap;
}

.simulator-panel strong {
  color: #ffffff;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.percent-stepper {
  align-items: center;
  display: grid;
  flex: 0 0 112px;
  gap: 4px;
  grid-template-columns: 34px 36px 34px;
}

.percent-stepper button {
  background: rgba(232, 255, 250, 0.075);
  border-color: rgba(232, 255, 250, 0.10);
  border-radius: 999px;
  color: #ffffff;
  font-size: 10px;
  min-height: 28px;
  padding: 0 5px;
  width: 100%;
}

.percent-stepper input {
  background: rgba(2, 14, 13, 0.58);
  border-color: rgba(232, 255, 250, 0.10);
  color: #ffffff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  min-height: 28px;
  padding: 0 4px;
  text-align: center;
  width: 36px;
}

.option-spread-grid {
  grid-template-columns: 1fr;
  margin-top: 8px;
  min-width: 0;
}

.spread-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spread-card,
.empty-card {
  align-items: stretch;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 255, 190, 0.12);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 8px;
  justify-content: stretch;
  min-height: 144px;
  min-width: 0;
  padding: 10px;
  text-align: left;
  width: 100%;
}

.spread-card:hover {
  background: rgba(130, 244, 184, 0.10);
  border-color: rgba(167, 255, 209, 0.46);
}

.spread-card > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
}

.option-card {
  min-height: 138px;
  overflow: visible;
  position: relative;
}

.option-card-body {
  align-items: stretch;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(96px, 0.78fr) minmax(128px, 1fr);
  min-width: 0;
}

.option-card-info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.option-card-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  justify-content: flex-start;
}

.option-card-top em {
  color: #858992;
  font-size: 11px;
  font-style: normal;
  font-weight: 720;
}

.contract-pair {
  align-items: baseline;
  color: #ffffff;
  display: flex;
  font-size: 19px;
  gap: 4px;
  line-height: 1;
  white-space: nowrap;
}

.contract-short {
  color: rgba(232, 255, 250, 0.72);
  font-size: 0.74em;
  font-weight: 790;
}

.contract-separator {
  color: rgba(232, 255, 250, 0.42);
  font-size: 0.72em;
  font-weight: 720;
}

.spread-card > strong {
  font-size: 18px;
  line-height: 1.1;
}

.spread-card dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.spread-card dl div {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.spread-card dt {
  font-size: 11px;
  margin: 0;
}

.spread-card dd {
  font-variant-numeric: tabular-nums;
}

.spread-card dd.up {
  color: #42f59b;
}

.spread-card dd.down {
  color: #ff6d78;
}

.payoff-inline {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(2, 16, 15, 0.62), rgba(66, 245, 155, 0.045)),
    radial-gradient(circle at 82% 22%, rgba(141, 251, 226, 0.12), transparent 38%);
  border: 1px solid rgba(154, 255, 232, 0.11);
  border-radius: 9px;
  overflow: hidden;
  padding: 5px 6px 4px;
}

.payoff-header {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 2px;
  min-width: 0;
  padding: 0 1px;
}

.payoff-header span,
.payoff-header em {
  display: block;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.payoff-header span {
  color: rgba(232, 255, 250, 0.64);
  text-transform: uppercase;
}

.payoff-header em {
  background: rgba(246, 200, 95, 0.10);
  border: 1px solid rgba(246, 200, 95, 0.16);
  border-radius: 999px;
  color: #f6c85f;
  font-style: normal;
  max-width: 100%;
  overflow: hidden;
  padding: 3px 6px;
  text-overflow: ellipsis;
}

.payoff-chart {
  display: block;
  height: 94px;
  width: 100%;
}

.payoff-axis {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}

.payoff-marker {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-dasharray: 3 3;
  stroke-width: 1;
}

.payoff-bep {
  stroke: #f6c85f;
  stroke-width: 1.65;
}

.payoff-sim {
  stroke: rgba(141, 230, 255, 0.7);
  stroke-width: 1.25;
}

.payoff-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.45;
}

.payoff-line-profit {
  stroke: #42f59b;
}

.payoff-line-loss {
  stroke: rgba(210, 220, 216, 0.48);
}

.payoff-dot {
  fill: #8de6ff;
  stroke: #0b0f13;
  stroke-width: 1.25;
}

.payoff-label {
  fill: rgba(232, 255, 250, 0.66);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 800;
}

.payoff-profit-label {
  fill: #42f59b;
}

.compact-option-metrics {
  align-content: start;
  border-top: 1px dashed rgba(232, 255, 250, 0.10);
  gap: 3px;
  grid-template-columns: 1fr;
  padding-top: 6px;
}

.compact-option-metrics div {
  align-items: baseline;
  display: flex;
  gap: 6px;
  justify-content: space-between;
}

.compact-option-metrics dt {
  align-items: center;
  color: rgba(232, 255, 250, 0.42);
  display: inline-flex;
  font-size: 9.5px;
  gap: 3px;
  white-space: nowrap;
}

.compact-option-metrics dd {
  font-size: 13.5px;
  font-weight: 820;
  white-space: nowrap;
}

.is-news-hidden .news-feed-grid {
  display: none;
}

.is-chart-preview-hidden .terminal-chart-wrap,
.is-chart-preview-hidden .market-indicators,
.is-chart-preview-hidden .market-timeframes {
  display: none;
}

.empty-card {
  color: var(--muted);
  font-size: 13px;
}

.feed-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed-card ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.feed-card li,
.feed-card a {
  color: #cfeadd;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.feed-card a:hover {
  color: var(--accent-strong);
}

.disclaimer {
  color: rgba(233, 255, 243, 0.58);
  font-size: 12px;
  margin-bottom: 20px;
}

.seo-info {
  background:
    linear-gradient(135deg, rgba(66, 245, 155, 0.065), rgba(141, 251, 226, 0.02)),
    rgba(2, 16, 15, 0.58);
  border: 1px solid rgba(232, 255, 250, 0.08);
  border-radius: 16px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  margin: 16px 0 20px;
  padding: 18px;
}

.seo-info h2 {
  color: #e8fffa;
  font-size: 18px;
  font-weight: 820;
  line-height: 1.18;
  margin-top: 5px;
}

.seo-info p {
  color: rgba(232, 255, 250, 0.62);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 8px;
}

.seo-bullets {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.seo-bullets li {
  color: rgba(232, 255, 250, 0.70);
  font-size: 12px;
  line-height: 1.35;
  padding-left: 14px;
  position: relative;
}

.seo-bullets li::before {
  background: #42f59b;
  border-radius: 999px;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 0.55em;
  width: 5px;
}

.seo-cta {
  align-items: center;
  border: 1px solid rgba(66, 245, 155, 0.22);
  border-radius: 999px;
  color: #8dfbe2;
  display: inline-flex;
  font-size: 12px;
  font-weight: 820;
  margin-top: 14px;
  min-height: 34px;
  padding: 0 13px;
  text-decoration: none;
}

.seo-faq {
  display: grid;
  gap: 8px;
}

.seo-faq details {
  background: rgba(2, 16, 15, 0.42);
  border: 1px solid rgba(232, 255, 250, 0.075);
  border-radius: 10px;
  padding: 10px 11px;
}

.seo-faq summary {
  color: #e8fffa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.seo-faq p {
  color: rgba(232, 255, 250, 0.58);
  font-size: 11px;
  line-height: 1.4;
}

/* Callput equity dashboard tab integration */
.app-header {
  background: transparent;
  border-bottom: 0;
  margin: 0 auto;
  max-width: 1560px;
  padding: 16px 26px 10px;
  position: static;
  width: 100%;
}

.brand-block {
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  background: #39f78d;
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(57, 247, 141, 0.34);
  height: 12px;
  width: 12px;
}

.brand-block strong {
  font-size: 16px;
  font-weight: 780;
}

.brand-block p {
  color: #858992;
  font-size: 12px;
  line-height: 1.25;
  margin-top: 1px;
}

.header-status {
  flex-wrap: nowrap;
  gap: 8px;
}

.fx-pill {
  align-items: center;
  background: rgba(66, 245, 155, 0.10);
  border: 1px solid rgba(66, 245, 155, 0.12);
  border-radius: 999px;
  color: #a0a5ae;
  display: inline-flex;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
}

.fx-pill strong {
  color: #42f59b;
  display: inline;
  font-size: 13px;
}

.fx-pill em {
  color: #ff6d78;
  font-style: normal;
  font-weight: 740;
}

.button-link {
  background: #42f59b;
  border-color: #42f59b;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(66, 245, 155, 0.14);
  color: #08120d;
  font-size: 12px;
  font-weight: 800;
  min-height: 34px;
  padding: 0 15px;
}

.button-link:hover {
  background: #74ffb8;
  border-color: #74ffb8;
}

.app-tabs {
  align-items: center;
  background: transparent;
  border-bottom: 0;
  gap: 10px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1560px;
  padding: 8px 26px 18px;
  position: static;
  width: 100%;
}

.tab-link,
.tab-button {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #15171c;
  font-size: 12px;
  font-weight: 780;
  min-height: 38px;
  padding: 0 17px;
  text-decoration: none;
}

.standalone-nav {
  justify-content: flex-end;
}

.tab-button.is-active {
  background: #0f2a1c;
  border-color: rgba(66, 245, 155, 0.4);
  box-shadow: 0 0 0 4px rgba(66, 245, 155, 0.08);
  color: #e9fff3;
}

.view-controls {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.header-controls {
  margin-left: 0;
}

.view-controls select {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #15171c;
  font-size: 12px;
  font-weight: 740;
  min-height: 38px;
  padding: 0 15px;
}

.view-controls select {
  appearance: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f4f6f8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px 16px no-repeat,
    #1f2228;
  border-color: rgba(255, 255, 255, 0.18);
  color: #f4f6f8;
  font-size: 12px;
  min-height: 34px;
  min-width: 116px;
  padding: 0 38px 0 16px;
  text-align: left;
}

main {
  background: transparent;
  margin: 0 auto;
  max-width: 1560px;
  padding: 0 26px 40px;
  width: 100%;
}

.site-footer {
  align-items: center;
  color: rgba(232, 255, 250, 0.50);
  display: grid;
  gap: 9px;
  justify-items: center;
  margin: 0 auto;
  max-width: 1560px;
  padding: 0 26px 38px;
  text-align: center;
  width: 100%;
}

.visitor-counter,
.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.visitor-counter {
  color: rgba(232, 255, 250, 0.58);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.counter-item {
  align-items: baseline;
  display: inline-flex;
  gap: 6px;
}

.counter-label {
  color: rgba(232, 255, 250, 0.52);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.visitor-counter strong {
  color: #8dfbe2;
  font-weight: 840;
}

.visitor-counter[data-status="local"] strong {
  color: #ffd48a;
}

.visitor-counter[data-status="unavailable"] {
  opacity: 0.62;
}

.visitor-counter[data-status="unavailable"] strong {
  color: rgba(232, 255, 250, 0.42);
}

.footer-links {
  font-size: 13px;
}

.footer-links a {
  color: rgba(232, 255, 250, 0.72);
  text-decoration: none;
}

.footer-links a:hover {
  color: #8dfbe2;
}

.site-footer p {
  color: rgba(232, 255, 250, 0.38);
  font-size: 12px;
}

.options-page {
  gap: 14px;
}

.dashboard-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0 0 2px;
}

.dashboard-heading h2 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 780;
}

.dashboard-heading p {
  color: #7f848d;
  font-size: 13px;
}

.asset-stage {
  display: grid;
  gap: 16px;
}

.asset-dashboard-row {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(400px, 0.95fr) minmax(0, 1.05fr);
}

.market-terminal-card,
.asset-right-card {
  background:
    linear-gradient(145deg, rgba(10, 58, 52, 0.78), rgba(4, 27, 25, 0.9)),
    rgba(4, 27, 25, 0.82);
  border: 1px solid rgba(154, 255, 232, 0.13);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 18px 58px rgba(0, 0, 0, 0.18);
  min-width: 0;
}

.market-terminal-card {
  display: grid;
  gap: 14px;
  min-height: 540px;
  overflow: hidden;
  padding: 24px;
}

.terminal-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.terminal-head h2 {
  color: #e8fffa;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 820;
  line-height: 0.98;
}

.terminal-head > div > span {
  color: #7df7c8;
  display: block;
  font-size: 13px;
  font-weight: 760;
  margin-top: 8px;
}

.asset-context-note {
  color: rgba(232, 255, 250, 0.56);
  display: block;
  font-size: 11px;
  font-weight: 720;
  margin-top: 4px;
}

.term-tip,
.term-help {
  border-bottom: 1px dotted rgba(232, 255, 250, 0.46);
  color: inherit;
  cursor: help;
  display: inline-flex;
  line-height: 1.1;
  position: relative;
}

.term-help {
  align-items: center;
  border: 1px solid rgba(232, 255, 250, 0.22);
  border-radius: 999px;
  color: rgba(232, 255, 250, 0.64);
  font-size: 8px;
  height: 13px;
  justify-content: center;
  margin-left: 2px;
  width: 13px;
}

.term-tip::after,
.term-help::after {
  background: #10151a;
  border: 1px solid rgba(232, 255, 250, 0.16);
  border-radius: 8px;
  bottom: calc(100% + 8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
  color: #e8fffa;
  content: attr(data-tooltip);
  font-size: 11px;
  font-weight: 650;
  left: 50%;
  line-height: 1.35;
  max-width: min(260px, 72vw);
  opacity: 0;
  padding: 8px 9px;
  pointer-events: none;
  position: absolute;
  text-transform: none;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: normal;
  width: max-content;
  z-index: 20;
}

.term-tip:hover::after,
.term-tip:focus-visible::after,
.term-help:hover::after,
.term-help:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.terminal-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
  max-width: 310px;
}

.terminal-actions a,
.terminal-actions button {
  align-items: center;
  background: rgba(232, 255, 250, 0.055);
  border: 1px solid rgba(232, 255, 250, 0.10);
  border-radius: 999px;
  color: rgba(232, 255, 250, 0.78);
  display: inline-flex;
  font-size: 10px;
  font-weight: 780;
  justify-content: center;
  letter-spacing: 0;
  min-height: 25px;
  padding: 0 8px;
  text-decoration: none;
  white-space: nowrap;
}

.terminal-actions a:hover {
  border-color: rgba(66, 245, 155, 0.38);
  color: #e8fffa;
}

.terminal-action-link.is-primary,
.terminal-actions a[data-i18n="tradeOptions"] {
  background: #42f59b;
  border-color: #42f59b;
  color: #08120d;
}

.terminal-action-link.is-secondary {
  background: rgba(232, 255, 250, 0.055);
}

.terminal-action-link.is-futures {
  background: rgba(232, 255, 250, 0.045);
  border-color: rgba(232, 255, 250, 0.09);
  color: rgba(232, 255, 250, 0.66);
}

.terminal-action-link.is-futures:hover {
  background: rgba(232, 255, 250, 0.075);
  border-color: rgba(232, 255, 250, 0.18);
  color: #e8fffa;
}

.terminal-action-link.is-muted,
.terminal-actions button:disabled {
  background: rgba(232, 255, 250, 0.04);
  border-color: rgba(232, 255, 250, 0.08);
  color: rgba(232, 255, 250, 0.46);
}

.terminal-price {
  color: #ffffff;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.95;
}

.terminal-change {
  color: rgba(232, 255, 250, 0.58);
  font-size: 16px;
  font-weight: 790;
}

.terminal-change.up {
  color: #42f59b;
}

.terminal-change.down {
  color: #ff7b84;
}

.terminal-metrics {
  border-bottom: 1px dashed rgba(232, 255, 250, 0.14);
  border-top: 1px dashed rgba(232, 255, 250, 0.14);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 13px 0;
}

.reference-details {
  border-bottom: 1px dashed rgba(232, 255, 250, 0.14);
  border-top: 1px dashed rgba(232, 255, 250, 0.14);
  padding: 8px 0;
}

.reference-details summary {
  align-items: center;
  color: rgba(232, 255, 250, 0.68);
  cursor: pointer;
  display: flex;
  font-size: 11px;
  font-weight: 780;
  justify-content: space-between;
  letter-spacing: 0.02em;
  list-style: none;
  text-transform: uppercase;
}

.reference-details summary::-webkit-details-marker {
  display: none;
}

.reference-details summary::after {
  border-bottom: 2px solid rgba(232, 255, 250, 0.62);
  border-right: 2px solid rgba(232, 255, 250, 0.62);
  content: "";
  height: 7px;
  margin-left: 12px;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms ease;
  width: 7px;
}

.reference-details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.reference-details .terminal-metrics {
  border: 0;
  margin-top: 10px;
  padding: 8px 0 4px;
}

.terminal-metrics span {
  color: rgba(232, 255, 250, 0.42);
  display: block;
  font-size: 11px;
  font-weight: 720;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.terminal-metrics strong {
  color: #e8fffa;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.metric-source {
  color: rgba(232, 255, 250, 0.50);
  display: block;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0;
  margin-top: 4px;
  text-transform: uppercase;
}

.metric-source.is-live {
  color: #42f59b;
}

.metric-source.is-indicative {
  color: #ffd48a;
}

.market-chart-toolbar {
  align-items: center;
  background: rgba(2, 16, 15, 0.48);
  border: 1px solid rgba(232, 255, 250, 0.10);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: space-between;
  overflow: hidden;
  padding: 5px;
  width: 100%;
}

.market-chart-toolbar::-webkit-scrollbar {
  display: none;
}

.market-timeframes {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 3px;
}

.market-timeframes button {
  background: transparent;
  border-color: transparent;
  border-radius: 999px;
  color: rgba(232, 255, 250, 0.62);
  font-size: 10px;
  font-weight: 780;
  min-height: 24px;
  padding: 0 8px;
}

.market-timeframes button.is-active {
  background: #8dfbe2;
  border-color: #8dfbe2;
  color: #05201d;
}

.market-indicators {
  align-items: center;
  display: flex;
  flex: 1 1 280px;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: flex-end;
  margin-top: 0;
  min-width: 0;
}

.market-indicators label {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(232, 255, 250, 0.075);
  border-radius: 999px;
  color: rgba(232, 255, 250, 0.68);
  display: inline-flex;
  font-size: 10px;
  font-weight: 760;
  gap: 4px;
  min-height: 24px;
  padding: 0 6px;
  white-space: nowrap;
}

.market-indicators input {
  accent-color: #42f59b;
  height: 11px;
  min-height: 0;
  padding: 0;
  width: 11px;
}

.terminal-chart-wrap {
  background: rgba(2, 14, 13, 0.82);
  border: 1px solid rgba(232, 255, 250, 0.075);
  border-radius: 12px;
  min-height: 284px;
  overflow: hidden;
  position: relative;
}

.terminal-chart-wrap canvas {
  height: 284px;
  width: 100%;
}

.terminal-chart-wrap canvas.is-hidden {
  display: none;
}

.lightweight-chart {
  height: 284px;
  width: 100%;
}

.lightweight-chart.is-hidden {
  display: none;
}

.tv-attribution {
  background: rgba(2, 14, 13, 0.62);
  border-radius: 999px;
  bottom: 6px;
  color: rgba(232, 255, 250, 0.38);
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
  padding: 4px 7px;
  position: absolute;
  right: 8px;
  text-decoration: none;
  z-index: 3;
}

.tv-attribution:hover {
  color: rgba(232, 255, 250, 0.72);
}

.terminal-status {
  color: rgba(232, 255, 250, 0.48);
  font-size: 12px;
}

.terminal-status.is-error {
  color: #ff8d8d;
}

.news-card {
  padding: 22px;
}

.what-matters {
  background: rgba(232, 255, 250, 0.045);
  border: 1px solid rgba(232, 255, 250, 0.09);
  border-radius: 12px;
  margin-top: 14px;
  padding: 12px;
}

.what-matters h3 {
  color: #e8fffa;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.what-matters ul {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
}

.what-matters li {
  color: rgba(232, 255, 250, 0.72);
  font-size: 12px;
  line-height: 1.35;
  padding-left: 14px;
  position: relative;
}

.what-matters li::before {
  background: #42f59b;
  border-radius: 999px;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 0.55em;
  width: 5px;
}

.news-disclaimer {
  border-top: 1px dashed rgba(232, 255, 250, 0.12);
  color: rgba(232, 255, 250, 0.50);
  font-size: 11px;
  line-height: 1.35;
  margin-top: 12px;
  padding-top: 10px;
}

.news-details-drawer {
  border-top: 1px dashed rgba(232, 255, 250, 0.12);
  margin-top: 12px;
  padding-top: 10px;
}

.news-details-drawer summary {
  align-items: center;
  background: rgba(232, 255, 250, 0.045);
  border: 1px solid rgba(232, 255, 250, 0.09);
  border-radius: 999px;
  color: #8dfbe2;
  cursor: pointer;
  display: inline-flex;
  font-size: 11px;
  font-weight: 820;
  gap: 8px;
  list-style: none;
  min-height: 32px;
  padding: 0 12px;
}

.news-details-drawer summary::-webkit-details-marker {
  display: none;
}

.news-details-drawer summary::after {
  content: "+";
  font-size: 14px;
  line-height: 1;
}

.news-details-drawer[open] summary::after {
  content: "-";
}

.follow-cta {
  align-items: center;
  background: rgba(66, 245, 155, 0.075);
  border: 1px solid rgba(66, 245, 155, 0.22);
  border-radius: 12px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px;
}

.follow-cta strong {
  color: #e8fffa;
  display: block;
  font-size: 13px;
}

.follow-cta span {
  color: rgba(232, 255, 250, 0.56);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 3px;
}

.follow-cta .accent-button {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  text-decoration: none;
}

.card-context-copy {
  color: rgba(232, 255, 250, 0.54);
  font-size: 11px;
  line-height: 1.35;
  margin-top: 4px;
  max-width: none;
  white-space: nowrap;
}

.news-feed-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.news-feed-grid section {
  background: rgba(2, 16, 15, 0.34);
  border: 1px solid rgba(232, 255, 250, 0.08);
  border-radius: 10px;
  min-width: 0;
  padding: 11px;
}

.feed-heading {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.feed-heading h3 {
  color: #e8fffa;
}

.feed-heading span,
.feed-source-pill {
  border: 1px solid rgba(125, 247, 200, 0.16);
  border-radius: 999px;
  color: #7df7c8;
  font-size: 11px;
  font-weight: 760;
  padding: 3px 7px;
  white-space: nowrap;
}

.feed-source-pill.is-static {
  border-color: rgba(255, 212, 138, 0.20);
  color: #ffd48a;
}

.feed-source-pill.is-hidden {
  display: none;
}

.feed-source-note {
  color: rgba(255, 212, 138, 0.78) !important;
}

.news-feed-grid ul {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.news-feed-grid li,
.news-feed-grid a {
  color: rgba(232, 255, 250, 0.72);
  font-size: 11px;
  line-height: 1.35;
  text-decoration: none;
}

.compact-milestones {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tradingview-panel {
  background: #101317;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.tv-head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.tv-market h2 {
  color: #ffffff;
  font-size: 21px;
  font-weight: 780;
}

.tv-market p {
  color: #858992;
  margin-top: 4px;
}

.tv-ohlc {
  align-items: center;
  color: #a0a5ae;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 10px;
  justify-content: flex-end;
  text-align: right;
}

.tv-ohlc span,
.tv-ohlc strong {
  display: inline;
  font-variant-numeric: tabular-nums;
}

.tv-ohlc .up {
  color: #42f59b;
}

.tv-ohlc .down {
  color: #ff6d78;
}

.tv-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.tv-control-group,
.tv-settings {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tv-control-group {
  background: #15191e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px;
}

.tv-control-group button,
.tv-settings button {
  background: transparent;
  border-color: transparent;
  border-radius: 999px;
  color: #8f949d;
  min-height: 30px;
  padding: 0 10px;
}

.tv-control-group button.is-active,
.tv-settings button:hover {
  background: rgba(66, 245, 155, 0.14);
  border-color: rgba(66, 245, 155, 0.28);
  color: #e9fff3;
}

.tv-settings select {
  background: #15191e;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #ffffff;
  min-height: 32px;
}

.tv-toggle {
  align-items: center;
  background: #15191e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #c4c9d1;
  display: inline-flex;
  font-size: 12px;
  font-weight: 690;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  white-space: nowrap;
}

.tv-toggle input {
  accent-color: #42f59b;
  height: 14px;
  min-height: 0;
  padding: 0;
  width: 14px;
}

.tv-chart-wrap {
  background: #0d1116;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-height: 420px;
  overflow: hidden;
}

#tradingview-chart {
  background: #0d1116;
  height: 420px;
  width: 100%;
}

.tv-status {
  color: #858992;
  font-size: 12px;
  min-height: 16px;
}

.tv-status.is-error {
  color: #ff8d8d;
}

.dashboard-assets,
.trade-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-card,
.trade-card,
.feed-card,
.panel-section,
.status-strip {
  background: #181b21;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  box-shadow: none;
}

.asset-card {
  min-height: 250px;
  padding: 26px;
}

.asset-card-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.asset-card-head h2 {
  color: #ffffff;
  font-size: 30px;
  font-weight: 790;
  letter-spacing: 0;
}

.symbol-link {
  color: #42f59b;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.card-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.card-action-row a,
.card-action-row button {
  background: #25282f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 740;
  min-height: 28px;
  padding: 0 12px;
  text-decoration: none;
}

.card-action-row a:hover {
  border-color: rgba(66, 245, 155, 0.52);
}

.asset-card p {
  color: #858992;
  margin-top: 14px;
}

.asset-price {
  color: #ffffff;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 780;
  letter-spacing: 0;
  margin-top: 30px;
}

.price-caption {
  align-items: center;
  color: #858992;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.source-pill {
  border-radius: 999px;
  font-size: 11px;
}

.mini-chart {
  background: #121518;
  border-color: rgba(255, 255, 255, 0.08);
  height: 98px;
  margin-top: 24px;
}

.metric-grid,
.fact-grid {
  gap: 10px;
  margin-top: 14px;
}

.metric-grid div,
.fact-grid div {
  background: transparent;
  border: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 11px 0 0;
}

dt,
.fact-grid span {
  color: #777c85;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

dd,
.fact-grid strong {
  color: #ffffff;
  font-size: 15px;
}

.trade-card {
  padding: 20px;
}

.tsla-trade-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(66, 245, 155, 0.20), transparent 34%),
    linear-gradient(145deg, rgba(10, 68, 56, 0.90), rgba(4, 27, 25, 0.94) 56%, rgba(8, 38, 34, 0.92));
}

.eyebrow {
  color: #42f59b;
}

.segmented-control {
  background: #111418;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 999px;
}

.segmented-control button {
  border-radius: 999px;
}

.segmented-control button.is-active {
  background: rgba(66, 245, 155, 0.16);
  color: #ffffff;
}

.waitlist-form {
  background: #111418;
  border-color: rgba(66, 245, 155, 0.18);
}

.accent-button {
  background: #42f59b;
  border-color: #42f59b;
  color: #08120d;
}

.ghost-link {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
}

.spread-card,
.empty-card {
  background: rgba(9, 14, 16, 0.86);
  border-color: rgba(255, 255, 255, 0.09);
  min-height: 136px;
}

.spread-card:hover {
  background: #17251e;
  border-color: rgba(66, 245, 155, 0.45);
}

.spread-card > span {
  color: #42f59b;
}

.spread-card.option-card {
  min-height: 138px;
}

.tsla-trade-card .spread-card.option-card {
  background:
    radial-gradient(circle at 92% 18%, rgba(141, 251, 226, 0.13), transparent 34%),
    linear-gradient(105deg, rgba(232, 255, 250, 0.052), rgba(66, 245, 155, 0.085) 44%, rgba(2, 16, 15, 0.28));
  border-color: rgba(154, 255, 232, 0.17);
  border-radius: 10px;
  box-shadow: none;
  min-height: 150px;
  padding: 11px 12px;
}

.tsla-trade-card .spread-card.option-card:hover {
  background:
    radial-gradient(circle at 92% 18%, rgba(141, 251, 226, 0.18), transparent 34%),
    linear-gradient(105deg, rgba(66, 245, 155, 0.10), rgba(66, 245, 155, 0.055));
  border-color: rgba(154, 255, 232, 0.24);
}

.tsla-trade-card .option-card-top > span {
  color: #42f59b;
  font-size: 12px;
  font-weight: 820;
}

.tsla-trade-card .option-spread-grid {
  grid-template-columns: 1fr;
}

.asset-right-card {
  background:
    linear-gradient(145deg, rgba(10, 58, 52, 0.78), rgba(4, 27, 25, 0.9)),
    rgba(4, 27, 25, 0.82);
  border: 1px solid rgba(154, 255, 232, 0.13);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 18px 58px rgba(0, 0, 0, 0.18);
}

.asset-right-card.tsla-trade-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(66, 245, 155, 0.20), transparent 34%),
    linear-gradient(145deg, rgba(10, 68, 56, 0.90), rgba(4, 27, 25, 0.94) 56%, rgba(8, 38, 34, 0.92));
}

.feed-grid {
  display: none;
}

@media (max-width: 1040px) {
  .options-hero,
  .asset-row,
  .asset-dashboard-row,
  .asset-dashboard-row[data-asset-row="tesla"],
  .trade-row,
  .seo-info,
  .feed-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .spread-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .app-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-tabs {
    overflow-x: auto;
    align-items: flex-start;
    flex-direction: column;
  }

  .view-controls {
    margin-left: 0;
    overflow-x: auto;
    width: 100%;
  }

  .intro-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary,
  .status-strip,
  .metric-grid,
  .fact-grid,
  .news-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary div:nth-child(2) {
    border-right: 0;
  }

  .chart-layout {
    grid-template-columns: 1fr;
  }

  .chart-side {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 12px;
  }

  .tv-head,
  .tv-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .tv-ohlc {
    justify-content: flex-start;
    text-align: left;
  }

  .tv-control-group,
  .tv-settings {
    width: 100%;
  }

  .tsla-spread-layout {
    grid-template-columns: 1fr;
  }

  .tsla-option-side + .tsla-option-side {
    border-left: 0;
    border-top: 1px dashed rgba(232, 255, 250, 0.10);
    padding-left: 0;
    padding-top: 12px;
  }
}

@media (max-width: 560px) {
  main {
    padding: 12px;
  }

  .app-header,
  .app-tabs {
    padding-left: 12px;
    padding-right: 12px;
  }

  .standalone-nav {
    align-items: stretch;
  }

  .view-controls select {
    width: 100%;
  }

  .summary,
  .status-strip,
  .metric-grid,
  .fact-grid,
  .waitlist-form div {
    grid-template-columns: 1fr;
  }

  .summary div {
    border-bottom: 1px solid var(--border);
    border-right: 0;
    padding-bottom: 8px;
  }

  .summary div:last-child {
    border-bottom: 0;
  }

  .card-topline,
  .asset-card-head,
  .terminal-head,
  .strategy-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-action-row {
    justify-content: flex-start;
  }

  .market-terminal-card,
  .news-card {
    padding: 18px;
  }

  .terminal-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .terminal-metrics,
  .news-feed-grid,
  .compact-milestones,
  .compact-facts {
    grid-template-columns: 1fr;
  }

  .tsla-spread-layout,
  .simulator-panel {
    grid-template-columns: 1fr;
  }

  .tsla-option-side + .tsla-option-side {
    border-left: 0;
    border-top: 1px dashed rgba(232, 255, 250, 0.10);
    padding-left: 0;
    padding-top: 12px;
  }

  .option-card-body {
    grid-template-columns: minmax(126px, 0.78fr) minmax(156px, 1fr);
  }

  .payoff-inline {
    padding: 6px;
  }

  .simulator-panel {
    align-items: stretch;
    border-radius: 14px;
    flex-direction: column;
  }

  .percent-stepper {
    flex-basis: auto;
    width: 100%;
  }

  .follow-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .follow-cta .accent-button {
    justify-content: center;
    width: 100%;
  }

  .tradingview-panel {
    padding: 12px;
  }

  .tv-chart-wrap {
    min-height: 360px;
  }

  #tradingview-chart {
    height: 360px;
  }

  h1 {
    font-size: 32px;
  }
}
