.prediction-v3-page {
  background: #050505;
  color: #f3f3f3;
}

.prediction-v3-page .modern-navbar,
.prediction-v3-page .navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.prediction-page {
  --prediction-bg: #050505;
  --prediction-panel: #090909;
  --prediction-panel-strong: #0d0d0d;
  --prediction-control: #111111;
  --prediction-border: rgba(255, 255, 255, 0.08);
  --prediction-border-strong: rgba(255, 255, 255, 0.18);
  --prediction-text: #f3f3f3;
  --prediction-muted: #9d9d9d;
  --prediction-soft: #cfcfcf;
  --prediction-weak: #7e7e7e;
  --prediction-positive: #86efac;
  --prediction-negative: #fca5a5;
  --prediction-amber: #fcd34d;
  --radius-2xl: 18px;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --text-primary: var(--prediction-text);
  --text-secondary: var(--prediction-soft);
  --text-muted: var(--prediction-muted);
  --text-accent: var(--prediction-text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: var(--prediction-bg);
  color: var(--prediction-text);
}

.prediction-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.16;
  pointer-events: none;
}

.prediction-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.72) 100%);
  opacity: 1;
  pointer-events: none;
}

.prediction-page > section {
  position: relative;
  z-index: 1;
}

.prediction-hero {
  min-height: calc(100vh - var(--navbar-height, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--space-lg) 48px;
}

.prediction-shell {
  width: min(1180px, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  text-align: center;
}

.prediction-title {
  margin: 0;
  font-size: 45px;
  line-height: 1.05;
  font-weight: var(--font-bold);
  letter-spacing: 0;
  color: var(--text-primary);
}

.prediction-card {
  width: min(100%, 760px);
  display: block;
  position: relative;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--prediction-border);
  background: var(--prediction-panel);
  box-shadow: none;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  text-align: left;
  color: inherit;
  font: inherit;
  appearance: none;
}

.prediction-card--link {
  text-decoration: none;
}

.prediction-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%);
  opacity: 1;
  pointer-events: none;
}

.prediction-card:hover,
.prediction-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  border-color: var(--prediction-border-strong);
}

.prediction-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
}

.prediction-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.prediction-card__badge {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  border: 1px solid var(--prediction-border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--prediction-control);
}

.prediction-card__date {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.prediction-card__content {
  display: grid;
  gap: var(--space-md);
  color: var(--text-secondary);
  filter: blur(7px);
  opacity: 0.75;
}

.prediction-card__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  font-size: clamp(1rem, 2.3vw, 1.35rem);
}

.prediction-card__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.prediction-card__value {
  font-weight: var(--font-semibold);
  color: var(--text-accent);
}

.prediction-card__value-group {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.prediction-card__divider {
  color: var(--text-muted);
  font-size: 0.85em;
}

.prediction-card__value.is-bullish {
  color: var(--prediction-positive);
}

.prediction-card__value.is-bearish {
  color: var(--prediction-negative);
}

.prediction-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  text-align: center;
  color: var(--text-primary);
  font-size: 15px;
  background: rgba(9, 9, 9, 0.82);
  opacity: 1;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.prediction-card__overlay-title {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.prediction-card__overlay-subtitle {
  max-width: 520px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.prediction-card__overlay-date {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.prediction-card__overlay-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
}

.prediction-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.8rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--prediction-border);
  border-radius: 999px;
  background: var(--prediction-control);
  color: var(--prediction-soft);
}

.prediction-card__note {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.prediction-card:hover .prediction-card__overlay,
.prediction-card:focus-visible .prediction-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.prediction-hint {
  margin: 0;
  max-width: 640px;
  color: var(--text-secondary);
}

.prediction-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.prediction-section {
  padding: clamp(2rem, 5vw, 3.5rem) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.prediction-section > * {
  width: min(100%, 1000px);
}

.prediction-section__header {
  text-align: left;
}

.prediction-section__header p {
  margin: 0;
  color: var(--text-secondary);
}

.prediction-table__wrapper {
  overflow-x: auto;
  padding: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--prediction-border);
  background: var(--prediction-panel);
}

.prediction-table {
  min-width: 640px;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--prediction-soft);
  font-size: 0.88rem;
}

.prediction-table th,
.prediction-table td {
  padding: 0.72rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.prediction-table th {
  background: var(--prediction-panel-strong);
  color: var(--prediction-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prediction-table tbody tr:last-child td {
  border-bottom: 0;
}

.prediction-table tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.prediction-table__empty {
  text-align: center;
  color: var(--text-muted);
  padding: var(--space-lg);
}

.prediction-table__cta {
  padding: 0.35rem 0.85rem;
}

.prediction-table__locked {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.prediction-table__period {
  display: inline-flex;
  align-items: center;
  margin-right: 0.35rem;
  color: var(--prediction-muted);
  font-size: 0.7rem;
}

.prediction-metric-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  vertical-align: middle;
}

.prediction-info-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid var(--prediction-border);
  border-radius: 999px;
  background: var(--prediction-control);
  color: var(--prediction-muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  text-transform: none;
  letter-spacing: 0;
}

.prediction-info-dot:focus {
  outline: none;
  border-color: var(--prediction-border-strong);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.prediction-info-dot::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  width: min(240px, 72vw);
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--prediction-border);
  border-radius: 12px;
  background: var(--prediction-control);
  color: var(--prediction-soft);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  pointer-events: none;
}

.prediction-info-dot:hover::after,
.prediction-info-dot:focus::after,
.prediction-info-dot:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.prediction-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.prediction-pagination__link,
.prediction-pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--prediction-border);
  background: var(--prediction-control);
  color: var(--prediction-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.prediction-pagination__link:hover {
  color: var(--prediction-text);
  border-color: var(--prediction-border-strong);
}

.prediction-pagination__link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.prediction-pagination__current {
  background: var(--prediction-text);
  border-color: var(--prediction-text);
  color: var(--prediction-bg);
  font-weight: 700;
}

.prediction-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.prediction-tag.bullish {
  background: rgba(134, 239, 172, 0.12);
  border-color: rgba(134, 239, 172, 0.35);
  color: var(--prediction-positive);
}

.prediction-tag.bearish {
  background: rgba(252, 165, 165, 0.12);
  border-color: rgba(252, 165, 165, 0.35);
  color: var(--prediction-negative);
}

.prediction-tag.unknown {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--text-muted);
}

.prediction-result {
  font-weight: var(--font-medium);
}

.prediction-result.is-win {
  color: #6ee7b7;
}

.prediction-result.is-loss {
  color: #fca5a5;
}

.prediction-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.prediction-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--prediction-border);
  background: var(--prediction-panel);
}

.prediction-step__index {
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  color: var(--text-muted);
  font-weight: var(--font-semibold);
}

.prediction-step h3 {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-lg);
}

.prediction-step p {
  margin: 0;
  color: var(--text-secondary);
}

.prediction-detail {
  min-height: calc(100vh - var(--navbar-height, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 24px var(--space-lg) 48px;
}

.prediction-report {
  width: min(1180px, calc(100% - 2rem));
  border-radius: var(--radius-2xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--prediction-border);
  background: var(--prediction-panel);
}

.prediction-report::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%);
  opacity: 1;
  pointer-events: none;
}

.prediction-report__content {
  position: relative;
  z-index: 1;
}

.prediction-report__actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-md);
}

.prediction-export-btn {
  min-width: 150px;
}

.prediction-export-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.prediction-report__header {
  text-align: center;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.prediction-report__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.prediction-report__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.prediction-report__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.prediction-report__title-main {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.prediction-report__title-sub {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

.prediction-report__published {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.prediction-report__date-badge {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  border: 1px solid var(--prediction-border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--prediction-control);
}

.prediction-report__brand {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.prediction-report__subtitle {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 640px;
}

.prediction-summary {
  width: min(100%, 760px);
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--prediction-border);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: left;
  background: var(--prediction-panel-strong);
}

.prediction-summary__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.prediction-summary__badge {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  border: 1px solid var(--prediction-border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--prediction-control);
}

.prediction-summary__date {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.prediction-summary__grid {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.prediction-summary__signal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--prediction-border);
  background: var(--prediction-control);
}

.prediction-summary__signal-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.prediction-summary__signal-value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: var(--font-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.prediction-summary__signal-value.is-bullish {
  color: var(--prediction-positive);
}

.prediction-summary__signal-value.is-bearish {
  color: var(--prediction-negative);
}

.prediction-summary__signal-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.prediction-summary__stats {
  display: grid;
  gap: var(--space-sm);
}

.prediction-summary__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: var(--text-sm);
}

.prediction-summary__label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.prediction-summary__value {
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}
.prediction-report__lead {
  margin: 0;
  color: var(--text-secondary);
}

.prediction-report__lead strong {
  color: var(--text-primary);
}

.prediction-signal {
  margin-left: 0.35rem;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.prediction-signal.is-bullish {
  color: var(--prediction-positive);
}

.prediction-signal.is-bearish {
  color: var(--prediction-negative);
}

.prediction-report__disclaimer {
  color: var(--text-muted);
  font-size: 10px;
  max-width: 720px;
}

.prediction-report__overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.prediction-report__analysis {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-2xl);
}

.prediction-report__analysis .prediction-report__charts {
  margin-bottom: 0;
}

.prediction-report__analysis .prediction-report__details {
  margin-bottom: 0;
  grid-template-columns: 1fr;
}

.prediction-report__charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.prediction-panel {
  background: var(--prediction-panel-strong);
  border: 1px solid var(--prediction-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  min-width: 0;
}

.prediction-panel__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.prediction-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.prediction-panel__tabs {
  justify-content: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.prediction-tab {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  padding: 0.45rem 0.9rem;
  background: var(--prediction-control);
  border-color: var(--prediction-border);
  color: var(--text-secondary);
}

.prediction-tab.is-active {
  background: var(--prediction-text);
  border-color: var(--prediction-text);
  color: var(--prediction-bg);
  box-shadow: none;
}

.prediction-tabpanel {
  display: block;
}

.prediction-panel__title {
  font-size: var(--text-base);
  margin-bottom: var(--space-lg);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.prediction-panel__header .prediction-panel__title {
  margin-bottom: 0;
  text-align: left;
}

.prediction-bar-chart {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
}

.prediction-bar-chart__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.prediction-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr 40px;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  min-width: 0;
}

.prediction-bar-row span:first-child {
  white-space: normal;
  overflow-wrap: anywhere;
}

.prediction-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.prediction-bar__fill {
  height: 100%;
  border-radius: 999px;
  transition: width var(--transition-normal);
}

.prediction-bar__fill.is-positive {
  background: var(--prediction-positive);
}

.prediction-bar__fill.is-negative {
  background: var(--prediction-negative);
}

.prediction-bar__fill.is-neutral {
  background: rgba(157, 157, 157, 0.55);
}

.prediction-report__charts .prediction-bar__fill.is-positive,
.prediction-report__charts .prediction-bar__fill.is-negative,
.prediction-report__charts .prediction-bar__fill.is-neutral {
  background: rgba(207, 207, 207, 0.55);
}


.prediction-report__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.prediction-badges {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.prediction-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--prediction-border);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.prediction-badge.is-active {
  border-color: rgba(134, 239, 172, 0.5);
  color: var(--prediction-positive);
}

.prediction-tooltip {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
  cursor: help;
}

.prediction-window {
  width: 100%;
}

.prediction-window-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-xs);
}

.prediction-window-table th {
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--prediction-border);
}

.prediction-window-table td {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.prediction-window-table tr:last-child td {
  border-bottom: none;
}

.prediction-window__empty {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.prediction-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--prediction-border);
  color: var(--text-muted);
}

.prediction-chip.is-bullish {
  border-color: rgba(134, 239, 172, 0.5);
  color: var(--prediction-positive);
}

.prediction-chip.is-bearish {
  border-color: rgba(252, 165, 165, 0.5);
  color: var(--prediction-negative);
}

.prediction-window-result {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.prediction-window-result.is-correct {
  color: var(--prediction-positive);
}

.prediction-window-result.is-incorrect {
  color: var(--prediction-negative);
}

.prediction-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  margin: 0;
}

.prediction-metric {
  background: var(--prediction-control);
  border: 1px solid var(--prediction-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.prediction-metric dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.prediction-metric dd {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.prediction-timeline {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-sm);
  align-items: start;
  margin: 0 auto;
  width: min(100%, 720px);
}

.prediction-timeline__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.prediction-timeline__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.prediction-timeline__row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: var(--space-xs);
  align-items: center;
}

.prediction-timeline__row-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.prediction-timeline__cells {
  display: grid;
  gap: 4px;
}

.prediction-timeline__cell {
  height: 10px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid transparent;
}

.prediction-timeline__cell.is-bullish {
  background: rgba(134, 239, 172, 0.72);
  border-color: rgba(134, 239, 172, 0.6);
}

.prediction-timeline__cell.is-bearish {
  background: rgba(252, 165, 165, 0.7);
  border-color: rgba(252, 165, 165, 0.6);
}

.prediction-timeline__cell.is-neutral {
  background: rgba(148, 163, 184, 0.6);
  border-color: rgba(148, 163, 184, 0.5);
}

.prediction-timeline__scale {
  display: grid;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 50px;
  margin-top: var(--space-xs);
}

.prediction-timeline__caption {
  margin: 0;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.prediction-timeline__legend {
  margin: var(--space-sm) 0 0;
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.prediction-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.prediction-legend-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.prediction-legend-item.is-bullish::before {
  background: var(--prediction-positive);
}

.prediction-legend-item.is-bearish::before {
  background: var(--prediction-negative);
}

.prediction-legend-item.is-neutral::before {
  background: rgba(148, 163, 184, 0.8);
}

.prediction-watermark {
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
}

.prediction-watermark::before {
}

.prediction-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: rgba(8, 8, 10, 0.82);
  text-align: center;
  padding: var(--space-lg);
  z-index: 2;
}

.prediction-lock__title {
  font-size: var(--text-lg);
  margin: 0;
}

.prediction-lock__message {
  margin: 0;
  color: var(--text-secondary);
}

.prediction-report.is-locked .prediction-report__content {
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
}

/* V3 dashboard treatment: compact, panel-based, aligned with CTA and earnings. */
.prediction-page {
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1rem;
  --space-xl: 1rem;
  --space-2xl: 0.9rem;
}

.prediction-page::before,
.prediction-page::after {
  display: none;
}

.prediction-hero,
.prediction-detail {
  min-height: auto;
  display: block;
  padding: 24px 0 0;
}

.prediction-shell,
.prediction-report {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.prediction-shell {
  align-items: stretch;
  gap: 0.9rem;
  text-align: left;
}

.prediction-report {
  padding: 0 0 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.prediction-report::before {
  display: none;
}

.prediction-report__content {
  display: grid;
  gap: 0.9rem;
}

.prediction-report__actions {
  order: -1;
  margin: 0;
  justify-content: flex-end;
}

.prediction-report__header {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
  text-align: left;
}

.prediction-report__heading {
  min-width: 0;
}

.prediction-report__kicker,
.prediction-report__title {
  align-items: flex-start;
  justify-content: flex-start;
}

.prediction-report__eyebrow {
  margin-bottom: 0.1rem;
  letter-spacing: 0.08em;
}

.prediction-report__title {
  gap: 0.15rem;
}

.prediction-report__title-main {
  font-size: 1.75rem;
  letter-spacing: 0;
  line-height: 1.12;
}

.prediction-report__title-sub,
.prediction-report__published {
  letter-spacing: 0.08em;
}

.prediction-report__disclaimer {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--prediction-muted);
}

.prediction-report__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  align-self: flex-end;
  margin-top: auto;
  order: 0;
}

.prediction-back-btn,
.prediction-export-btn {
  min-height: 2.35rem;
  align-items: center;
  gap: 0.4rem;
  border-radius: 12px;
  white-space: nowrap;
}

.prediction-report__overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 0.9rem;
  align-items: stretch;
  margin: 0;
}

.prediction-summary,
.prediction-timeline,
.prediction-panel,
.prediction-card,
.prediction-step {
  border: 1px solid var(--prediction-border);
  border-radius: 18px;
  background: var(--prediction-panel);
  box-shadow: none;
}

.prediction-summary {
  width: 100%;
  margin: 0;
  padding: 0.95rem;
}

.prediction-summary__grid {
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.prediction-summary__signal {
  border-radius: 14px;
  background: var(--prediction-panel-strong);
  min-height: 100%;
}

.prediction-summary__signal-value {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: 0.08em;
}

.prediction-summary__stats {
  gap: 0;
}

.prediction-summary__row {
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.prediction-summary__row:first-child {
  padding-top: 0;
}

.prediction-summary__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.prediction-timeline {
  width: 100%;
  margin: 0;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.95rem;
}

.prediction-timeline__label {
  writing-mode: horizontal-tb;
  transform: none;
  letter-spacing: 0.08em;
}

.prediction-timeline__rows {
  gap: 0.45rem;
}

.prediction-timeline__caption,
.prediction-timeline__legend {
  letter-spacing: 0.08em;
}

.prediction-report__analysis {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 0.9rem;
  margin: 0;
}

.prediction-report__charts,
.prediction-report__details {
  gap: 0.9rem;
  margin: 0;
}

.prediction-report__charts {
  grid-template-columns: 1fr;
}

.prediction-panel {
  padding: 0.95rem;
}

.prediction-panel__title {
  margin: 0 0 0.75rem;
  text-align: left;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.prediction-bar-chart {
  gap: 0.55rem;
}

.prediction-bar-chart__label {
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.prediction-bar-row {
  grid-template-columns: minmax(112px, 150px) minmax(120px, 1fr) 34px;
  font-size: 0.76rem;
}

.prediction-panel__tabs {
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.prediction-tab {
  border-radius: 999px;
  border: 0;
  padding: 0.5rem 0.75rem;
  background: transparent;
  color: var(--prediction-muted);
}

.prediction-tab.is-active {
  background: var(--prediction-text);
  color: var(--prediction-bg);
}

.prediction-window {
  overflow-x: auto;
}

.prediction-window-table {
  min-width: 520px;
}

.prediction-window-table th,
.prediction-window-table td {
  padding: 0.58rem 0.62rem;
}

.prediction-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.prediction-metric {
  border-radius: 12px;
  padding: 0.65rem;
  background: var(--prediction-panel-strong);
}

.prediction-metric dt {
  letter-spacing: 0.08em;
}

.prediction-metric dd {
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.prediction-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.9rem 0 1.6rem;
  align-items: stretch;
}

.prediction-hero + .prediction-section {
  padding-top: 1.25rem;
}

.prediction-section > * {
  width: 100%;
}

.prediction-section__header {
  margin-bottom: 0.1rem;
}

.prediction-section__header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.prediction-card {
  width: 100%;
  padding: 1.1rem;
  transform: none;
}

.prediction-card:hover,
.prediction-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: none;
}

.prediction-card__overlay {
  background: rgba(9, 9, 9, 0.88);
}

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

.prediction-steps {
  gap: 0.75rem;
}

.prediction-step {
  padding: 0.95rem;
}

.prediction-lock {
  border-radius: 18px;
}

@media (max-width: 980px) {
  .prediction-report__analysis {
    grid-template-columns: 1fr;
  }

  .prediction-report__overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .prediction-report__header {
    flex-direction: column;
  }

  .prediction-report__actions {
    justify-content: flex-end;
    align-self: flex-end;
  }

  .prediction-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .prediction-card__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .prediction-table {
    min-width: 100%;
  }

  .prediction-bar-row {
    grid-template-columns: 110px 1fr 32px;
  }

  .prediction-summary__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .prediction-summary__grid {
    grid-template-columns: 1fr;
  }

  .prediction-summary__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .prediction-timeline {
    grid-template-columns: 1fr;
  }

  .prediction-timeline__label {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .prediction-timeline__row {
    grid-template-columns: 50px 1fr;
  }

  .prediction-timeline__scale {
    margin-left: 50px;
  }
}

@media (hover: none) {
  .prediction-info-dot::after {
    display: none;
  }
}
