:root {
  --page: #b9b8b4;
  --sheet: #f7f5ef;
  --sheet-strong: #fcfbf8;
  --ink: #060606;
  --red: #de3d4a;
  --yellow: #e8aa45;
  --blue: #5d95ad;
  --mint: #7bc7bd;
  --line: rgba(0, 0, 0, 0.12);
  --muted: rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.pop-body {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 24%),
    linear-gradient(180deg, #c3c2bd 0%, var(--page) 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;
}

.app-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 32px 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 28px;
  margin-bottom: 28px;
  border-radius: 32px;
  background: rgba(252, 251, 248, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1.15;
}

.topbar-meta,
.hero-chip-row,
.stage-instructions,
.hero-flags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill,
.launch-button,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-button {
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.layout,
.report-layout,
.art-layout {
  display: grid;
  gap: 24px;
}

.layout {
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.76fr);
}

.stage-panel,
.side-panel,
.report-layout,
.art-layout {
  display: grid;
  gap: 22px;
}

.card,
.stage-frame {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54)),
    var(--sheet);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.card {
  padding: 24px;
}

.card-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.summary-text,
.card-copy,
.metric-text,
.report-card-note {
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.6;
}

#summaryText {
  min-height: 3.6em;
}

.pop-intro-card,
.report-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.pop-dot-cluster,
.hero-orbit-cluster {
  position: relative;
  min-height: 170px;
}

.pd,
.orbit-dot {
  position: absolute;
  border-radius: 50%;
}

.pd.red,
.orbit-red {
  background: var(--red);
}

.pd.black,
.orbit-black {
  background: #000;
}

.pd.blue,
.orbit-blue {
  background: var(--blue);
}

.pd.yellow,
.orbit-yellow {
  background: var(--yellow);
}

.pd.mint,
.orbit-mint {
  background: var(--mint);
}

.lg { width: 84px; height: 84px; }
.md { width: 58px; height: 58px; }
.sm { width: 24px; height: 24px; }
.xs { width: 12px; height: 12px; }

.pd:nth-child(1) { left: 12%; top: 18%; }
.pd:nth-child(2) { left: 40%; top: 8%; }
.pd:nth-child(3) { right: 18%; top: 22%; }
.pd:nth-child(4) { left: 24%; bottom: 12%; }
.pd:nth-child(5) { right: 14%; bottom: 6%; }
.pd:nth-child(6) { left: 62%; top: 14%; }
.pd:nth-child(7) { right: 28%; bottom: 26%; }

.stage-frame {
  min-height: 680px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(93, 149, 173, 0.16), transparent 26%),
    var(--sheet);
}

.pop-stage-frame {
  min-height: 680px;
}

#video,
#visionCanvas,
#hudOverlay {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  border-radius: 28px;
}

#video {
  object-fit: cover;
  transform: scaleX(-1);
  background: #ddd;
}

.stage-vignette,
.pop-stage-vignette {
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  pointer-events: none;
  background: radial-gradient(circle, transparent 48%, rgba(0, 0, 0, 0.12) 100%);
}

.frame-corners,
.report-hero-frame {
  position: absolute;
  inset: 18px;
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: rgba(0, 0, 0, 0.18);
  border-style: solid;
}

.corner-tl { left: 0; top: 0; border-width: 3px 0 0 3px; }
.corner-tr { right: 0; top: 0; border-width: 3px 3px 0 0; }
.corner-bl { left: 0; bottom: 0; border-width: 0 0 3px 3px; }
.corner-br { right: 0; bottom: 0; border-width: 0 3px 3px 0; }

.stage-glyph,
.bottom-tape,
.center-caption,
.report-glyph {
  position: absolute;
  z-index: 2;
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage-glyph-left,
.report-glyph-left { left: 34px; top: 36px; display: grid; gap: 8px; }
.stage-glyph-right,
.report-glyph-right { right: 34px; top: 36px; display: grid; gap: 8px; text-align: right; }

.center-caption {
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
}

.bottom-tape {
  display: flex;
  gap: 22px;
  left: 36px;
  bottom: 18px;
}

.console-grid,
.metric-grid,
.report-bottom-grid,
.report-grid,
.art-panels {
  display: grid;
  gap: 16px;
}

.console-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid,
.report-bottom-grid,
.art-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.polished-report-layout,
.polished-art-layout {
  gap: 26px;
}

.polished-panel {
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(93, 149, 173, 0.08), transparent 28%),
    rgba(252, 251, 248, 0.96);
}

.polished-hero-copy {
  padding: 6px 2px 6px 2px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.polished-stack {
  align-items: stretch;
}

.polished-matrix {
  padding-top: 26px;
}

.console-box,
.metric,
.fortune-badge,
.report-card,
.forecast-row {
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.console-box,
.metric,
.fortune-badge,
.report-card {
  padding: 18px;
}

.matrix-card {
  cursor: pointer;
  position: relative;
  text-align: left;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.matrix-card:hover,
.matrix-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  border-color: rgba(93, 149, 173, 0.45);
  outline: none;
}

.matrix-card:focus-visible {
  outline: 2px solid rgba(93, 149, 173, 0.75);
  outline-offset: 2px;
}

.matrix-card.is-open {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(93, 149, 173, 0.42);
}

.console-key,
.metric-title,
.fortune-label,
.report-card-title,
.report-card-state {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.56);
}

.fortune-desc {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.48);
}

.fortune-badge strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #000;
}

.fortune-note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.64);
}

.fortune-explainer {
  margin-top: 0;
  font-size: 0.86rem;
  line-height: 1.7;
}

.fortune-banner .fortune-badge {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.fortune-banner .fortune-badge.pop-tone-red {
  background: linear-gradient(180deg, rgba(222, 61, 74, 0.18), rgba(255, 255, 255, 0.72));
}

.fortune-banner .fortune-badge.pop-tone-yellow {
  background: linear-gradient(180deg, rgba(232, 170, 69, 0.2), rgba(255, 255, 255, 0.72));
}

.fortune-banner .fortune-badge.pop-tone-blue {
  background: linear-gradient(180deg, rgba(93, 149, 173, 0.2), rgba(255, 255, 255, 0.72));
}

.console-box strong,
.metric-value,
.report-card-value {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: #000;
}

.forecast-list {
  display: grid;
  gap: 12px;
}

.forecast-row {
  padding: 14px 16px;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.76);
  border-left: 4px solid transparent;
}

.forecast-row.emphasis {
  background: rgba(222, 61, 74, 0.08);
}

#indicatorList .forecast-row:nth-child(1),
#indicatorList .forecast-row:nth-child(5) {
  border-left-color: rgba(93, 149, 173, 0.9);
  background: linear-gradient(90deg, rgba(93, 149, 173, 0.14), rgba(255, 255, 255, 0.82) 34%);
}

#indicatorList .forecast-row:nth-child(2),
#indicatorList .forecast-row:nth-child(6) {
  border-left-color: rgba(232, 170, 69, 0.92);
  background: linear-gradient(90deg, rgba(232, 170, 69, 0.15), rgba(255, 255, 255, 0.82) 34%);
}

#indicatorList .forecast-row:nth-child(3) {
  border-left-color: rgba(123, 199, 189, 0.95);
  background: linear-gradient(90deg, rgba(123, 199, 189, 0.16), rgba(255, 255, 255, 0.82) 34%);
}

#indicatorList .forecast-row:nth-child(4) {
  border-left-color: rgba(222, 61, 74, 0.88);
  background: linear-gradient(90deg, rgba(222, 61, 74, 0.12), rgba(255, 255, 255, 0.84) 34%);
}

#advisoryList .forecast-row:nth-child(1),
#advisoryList .forecast-row:nth-child(4) {
  border-left-color: rgba(123, 199, 189, 0.9);
}

#advisoryList .forecast-row:nth-child(2),
#advisoryList .forecast-row:nth-child(5) {
  border-left-color: rgba(93, 149, 173, 0.85);
}

#advisoryList .forecast-row:nth-child(3),
#advisoryList .forecast-row:nth-child(6) {
  border-left-color: rgba(232, 170, 69, 0.88);
}

#fortuneStream .forecast-row:nth-child(1),
#fortuneStream .forecast-row:nth-child(4) {
  border-left-color: rgba(222, 61, 74, 0.92);
  background: linear-gradient(90deg, rgba(222, 61, 74, 0.14), rgba(255, 255, 255, 0.84) 34%);
}

#fortuneStream .forecast-row:nth-child(2),
#fortuneStream .forecast-row:nth-child(5) {
  border-left-color: rgba(232, 170, 69, 0.92);
  background: linear-gradient(90deg, rgba(232, 170, 69, 0.16), rgba(255, 255, 255, 0.84) 34%);
}

#fortuneStream .forecast-row:nth-child(3),
#fortuneStream .forecast-row:nth-child(6) {
  border-left-color: rgba(93, 149, 173, 0.9);
  background: linear-gradient(90deg, rgba(93, 149, 173, 0.14), rgba(255, 255, 255, 0.84) 34%);
}

#horoscopeList .forecast-row:nth-child(1),
#horoscopeList .forecast-row:nth-child(5) {
  border-left-color: rgba(93, 149, 173, 0.88);
  background: linear-gradient(90deg, rgba(93, 149, 173, 0.14), rgba(255, 255, 255, 0.84) 34%);
}

#horoscopeList .forecast-row:nth-child(2),
#horoscopeList .forecast-row:nth-child(4) {
  border-left-color: rgba(123, 199, 189, 0.9);
  background: linear-gradient(90deg, rgba(123, 199, 189, 0.14), rgba(255, 255, 255, 0.84) 34%);
}

#horoscopeList .forecast-row:nth-child(3),
#horoscopeList .forecast-row:nth-child(6) {
  border-left-color: rgba(232, 170, 69, 0.9);
  background: linear-gradient(90deg, rgba(232, 170, 69, 0.15), rgba(255, 255, 255, 0.84) 34%);
}

#artSignalList .forecast-row:nth-child(1),
#artSignalList .forecast-row:nth-child(4) {
  border-left-color: rgba(93, 149, 173, 0.9);
  background: linear-gradient(90deg, rgba(93, 149, 173, 0.14), rgba(255, 255, 255, 0.84) 34%);
}

#artSignalList .forecast-row:nth-child(2),
#artSignalList .forecast-row:nth-child(5) {
  border-left-color: rgba(232, 170, 69, 0.9);
  background: linear-gradient(90deg, rgba(232, 170, 69, 0.14), rgba(255, 255, 255, 0.84) 34%);
}

#artSignalList .forecast-row:nth-child(3),
#artSignalList .forecast-row:nth-child(6) {
  border-left-color: rgba(123, 199, 189, 0.9);
  background: linear-gradient(90deg, rgba(123, 199, 189, 0.14), rgba(255, 255, 255, 0.84) 34%);
}

.telemetry-row,
.system-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.telemetry-row strong,
.system-line strong {
  color: #000;
}

.hero-flags,
.fortune-banner {
  display: grid;
  gap: 12px;
}

.hero-flags {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fortune-banner {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

#reportHud {
  min-height: 380px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.42), transparent 58%),
    rgba(255, 255, 255, 0.24);
}

.report-hero-copy {
  position: relative;
  z-index: 1;
}

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

.report-card-head-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.report-card-kicker {
  display: block;
  margin-top: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.42);
}

.report-card-detail {
  display: grid;
  gap: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 220ms ease,
    opacity 180ms ease,
    margin-top 180ms ease;
}

.matrix-card.is-open .report-card-detail {
  max-height: 420px;
  opacity: 1;
  margin-top: 14px;
}

.report-card-detail-block {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.report-card-detail-label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(93, 149, 173, 0.92);
}

.report-card-detail-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.72);
}

.report-card-icon,
.mini-signal-icon {
  position: relative;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
}

.report-card-icon {
  width: 44px;
  height: 44px;
  margin-top: 1px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.mini-signal-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.report-card-icon::before,
.report-card-icon::after,
.mini-signal-icon::before,
.mini-signal-icon::after {
  content: "";
  position: absolute;
}

.report-card-icon .icon-layer,
.mini-signal-icon .icon-layer {
  position: absolute;
  pointer-events: none;
}

.icon-ring {
  inset: 7px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.45;
}

.icon-core {
  width: 10px;
  height: 10px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: currentColor;
}

.icon-mark {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.tone-red { color: #de3d4a; }
.tone-yellow { color: #d39a31; }
.tone-blue { color: #4d89ac; }
.tone-mint { color: #4cad9d; }

.icon-pulse .icon-mark {
  width: 18px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -50%) skewX(-30deg) rotate(-14deg);
}

.icon-tear .icon-mark,
.icon-drop .icon-mark {
  width: 13px;
  height: 18px;
  border-radius: 50% 50% 60% 60%;
  background: currentColor;
  clip-path: polygon(50% 0%, 84% 38%, 75% 100%, 25% 100%, 16% 38%);
}

.icon-focus .icon-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.92);
}

.icon-bloom .icon-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, currentColor 0 16%, transparent 18%),
    conic-gradient(from 0deg, currentColor 0 16%, transparent 16% 32%, currentColor 32% 48%, transparent 48% 64%, currentColor 64% 80%, transparent 80% 100%);
  opacity: 0.9;
}

.icon-sync .icon-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.icon-moon .icon-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: -4px 0 0 0 currentColor;
}

.icon-burn .icon-mark {
  width: 14px;
  height: 18px;
  background: currentColor;
  clip-path: polygon(50% 0%, 72% 28%, 58% 42%, 80% 100%, 44% 74%, 35% 100%, 18% 46%);
}

.icon-retina .icon-mark,
.icon-screen .icon-mark {
  width: 18px;
  height: 12px;
  border-radius: 10px;
  border: 2px solid currentColor;
}

.icon-pause .icon-mark {
  width: 16px;
  height: 14px;
  background:
    linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66% 100%);
}

.icon-scatter .icon-mark {
  width: 20px;
  height: 20px;
  background:
    radial-gradient(circle, currentColor 0 2px, transparent 3px) 2px 8px / 8px 8px no-repeat,
    radial-gradient(circle, currentColor 0 2px, transparent 3px) 11px 2px / 8px 8px no-repeat,
    radial-gradient(circle, currentColor 0 2px, transparent 3px) 11px 13px / 8px 8px no-repeat;
}

.icon-echo .icon-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 0 0 6px currentColor;
}

.icon-calm .icon-mark {
  width: 18px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid currentColor;
}

.icon-flow .icon-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -50%) rotate(-24deg);
}

.icon-grid .icon-mark {
  width: 18px;
  height: 18px;
  background:
    linear-gradient(currentColor 0 0) 0 0 / 5px 5px no-repeat,
    linear-gradient(currentColor 0 0) 7px 0 / 5px 5px no-repeat,
    linear-gradient(currentColor 0 0) 14px 0 / 4px 5px no-repeat,
    linear-gradient(currentColor 0 0) 0 7px / 5px 5px no-repeat,
    linear-gradient(currentColor 0 0) 7px 7px / 5px 5px no-repeat,
    linear-gradient(currentColor 0 0) 14px 7px / 4px 5px no-repeat;
}

.matrix-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.matrix-modal.is-open {
  display: block;
}

.matrix-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 239, 0.72);
  backdrop-filter: blur(12px);
}

.matrix-modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 34px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  padding: 28px 28px 30px;
}

.matrix-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.matrix-modal-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
}

.matrix-close-button {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #111;
  padding: 10px 16px;
  font: inherit;
  cursor: pointer;
}

.matrix-modal-body {
  display: grid;
  gap: 16px;
}

.matrix-copy-block {
  border-radius: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.matrix-copy-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5d95ad;
}

body.modal-open {
  overflow: hidden;
}

.art-stage {
  min-height: 920px;
}

.polished-art-stage {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(232, 170, 69, 0.08), transparent 26%),
    radial-gradient(circle at bottom left, rgba(93, 149, 173, 0.08), transparent 24%),
    rgba(252, 251, 248, 0.98);
}

#artCanvasMount canvas {
  width: 100%;
  height: 860px;
  display: block;
  border-radius: 28px;
}

.art-overlay-copy {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 480px;
  padding: 18px 20px;
}

.polished-art-copy {
  background: rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.polished-art-panels {
  gap: 18px;
}

.pop-tone-red,
.metric.pop-tone-red,
.fortune-badge.pop-tone-red {
  background: rgba(222, 61, 74, 0.12);
}

.pop-tone-yellow,
.metric.pop-tone-yellow,
.fortune-badge.pop-tone-yellow {
  background: rgba(232, 170, 69, 0.14);
}

.pop-tone-blue,
.metric.pop-tone-blue,
.fortune-badge.pop-tone-blue {
  background: rgba(93, 149, 173, 0.14);
}

.pop-tone-mint,
.metric.pop-tone-mint {
  background: rgba(123, 199, 189, 0.14);
}

.app-shell {
  position: relative;
}

.app-shell::before,
.app-shell::after {
  content: "";
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.65;
}

.app-shell::before {
  width: 240px;
  height: 240px;
  top: 82px;
  right: 5vw;
  background: radial-gradient(circle, rgba(93, 149, 173, 0.26), transparent 66%);
}

.app-shell::after {
  width: 280px;
  height: 280px;
  left: 4vw;
  bottom: 10vh;
  background: radial-gradient(circle, rgba(232, 170, 69, 0.18), transparent 68%);
}

.app-shell > * {
  position: relative;
  z-index: 1;
}

.pop-topbar {
  align-items: flex-start;
}

.future-layout {
  grid-template-columns: minmax(0, 1.34fr) minmax(320px, 0.66fr);
  align-items: start;
}

.future-sidebar {
  gap: 18px;
}

.future-panel,
.future-hero-card,
.future-stage-card,
.future-report-hero,
.future-art-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 248, 243, 0.9));
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.future-hero-card {
  min-height: 214px;
  grid-template-columns: minmax(280px, 1.2fr) minmax(220px, 0.8fr);
  overflow: hidden;
}

.future-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -56px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 61, 74, 0.12), transparent 62%);
}

.future-stage-card {
  padding: 22px;
  min-height: 720px;
  background:
    radial-gradient(circle at top right, rgba(93, 149, 173, 0.11), transparent 24%),
    radial-gradient(circle at bottom left, rgba(232, 170, 69, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 247, 242, 0.94));
}

.future-stage-card #video,
.future-stage-card #visionCanvas,
.future-stage-card #hudOverlay,
.future-stage-card .stage-vignette,
.future-stage-card .frame-corners {
  inset: 22px;
  width: calc(100% - 44px);
  height: calc(100% - 44px);
}

.future-stage-card .frame-corners {
  width: auto;
  height: auto;
}

.future-stage-card .stage-glyph-left,
.future-stage-card .stage-glyph-right {
  top: 42px;
}

.future-stage-card .center-caption {
  bottom: 40px;
}

.future-report-layout,
.future-art-layout {
  gap: 28px;
}

.future-report-hero {
  grid-template-columns: minmax(420px, 1.05fr) minmax(360px, 0.95fr);
  padding: 18px;
}

.report-visual-shell {
  position: relative;
  border-radius: 30px;
  min-height: 100%;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(246, 243, 236, 0.86));
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.report-visual-shell::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.polished-hero-copy {
  padding: 10px 8px 10px 6px;
  gap: 16px;
}

.polished-hero-copy h2 {
  max-width: 12ch;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  line-height: 1.04;
}

.polished-hero-copy .summary-text {
  max-width: 44ch;
  font-size: 0.98rem;
}

.hero-flags .chip {
  background: rgba(255, 255, 255, 0.72);
}

.fortune-banner {
  gap: 14px;
}

.fortune-banner .fortune-badge {
  min-height: 164px;
  padding: 20px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.52));
}

.fortune-badge strong {
  margin-top: 14px;
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
}

.fortune-note {
  font-size: 0.84rem;
}

.report-grid {
  gap: 18px;
}

.report-card {
  min-height: 166px;
  padding: 20px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(252, 251, 246, 0.76));
}

.report-card-title {
  line-height: 1.35;
}

.forecast-row {
  min-height: 62px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(252, 250, 245, 0.74));
}

.future-art-main {
  padding: 18px;
  min-height: 980px;
}

.art-canvas-shell {
  border-radius: 32px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 246, 241, 0.88));
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.polished-art-copy {
  max-width: 420px;
}

.polished-art-copy .summary-text {
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .layout,
  .report-hero,
  .report-bottom-grid,
  .art-panels {
    grid-template-columns: 1fr;
  }

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

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

  .future-layout,
  .future-report-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .app-shell {
    padding: 16px;
  }

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

  .topbar-meta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .metric-grid,
  .report-grid,
  .console-grid,
  .hero-flags,
  .fortune-banner {
    grid-template-columns: 1fr;
  }

  .pop-intro-card,
  .future-hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 14px;
    padding: 20px 18px;
  }

  .future-hero-card .pop-dot-cluster {
    min-height: 112px;
  }

  .future-hero-card h2 {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
    line-height: 1.18;
  }

  .future-stage-card {
    min-height: 560px;
    padding: 14px;
  }

  .future-stage-card #video,
  .future-stage-card #visionCanvas,
  .future-stage-card #hudOverlay,
  .future-stage-card .stage-vignette,
  .future-stage-card .frame-corners {
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
  }

  .future-art-main {
    min-height: auto;
    padding: 14px;
  }

  .art-canvas-shell {
    padding: 8px;
    border-radius: 24px;
  }

  #artCanvasMount {
    min-height: 74vh;
  }

  #artCanvasMount canvas {
    height: auto;
    aspect-ratio: 9 / 14;
    min-height: 74vh;
    max-height: none;
    object-fit: contain;
    border-radius: 20px;
  }

  .polished-art-copy {
    position: static;
    margin-top: 18px;
    max-width: none;
    padding: 16px;
  }

  .polished-art-panels {
    grid-template-columns: 1fr;
  }

  .art-overlay-copy {
    left: auto;
    bottom: auto;
  }

  .stage-glyph,
  .report-glyph,
  .bottom-tape,
  .center-caption {
    display: none;
  }
}
