@import url('./crypto_astro_phi_master_refinement.css');
@import url('./crypto_astro_phi_master_review_repair.css');
@import url('./crypto_astro_phi_master_acceptance.css');
@import url('./crypto_astro_phi_mobile_harmony.css');
@import url('./crypto_astro_market_cosmographer_clean_hero.css');

/* CRYPTO_ASTRO_PR_07_WHAT_CHANGED_UI_BINDING_v0_1 */
.editorial-what-changed-v0-1.what-changed-memory-v0-1 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  align-items: stretch;
  min-height: 0;
  gap: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(213, 177, 91, 0.2);
  background: linear-gradient(145deg, rgba(10, 20, 32, 0.96), rgba(7, 13, 22, 0.98));
}

.editorial-what-changed-v0-1.what-changed-memory-v0-1 > * {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
}

.what-changed-memory-v0-1__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.48fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: end;
}

.what-changed-memory-v0-1__head > div {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.what-changed-memory-v0-1__head h2 { margin: 0.35rem 0 0.75rem; }

.what-changed-memory-v0-1__snapshots {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.what-changed-memory-v0-1__snapshots div {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(147, 174, 196, 0.18);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.025);
}

.what-changed-memory-v0-1__snapshots dt {
  color: #a9bac9;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.what-changed-memory-v0-1__snapshots dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #eef5f8;
  font-variant-numeric: tabular-nums;
}

.what-changed-memory-v0-1__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.what-changed-metric-v0-1 {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid rgba(147, 174, 196, 0.15);
  border-left: 2px solid rgba(213, 177, 91, 0.58);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.025);
}

.what-changed-metric-v0-1 > span {
  color: #a9bac9;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.what-changed-metric-v0-1 strong {
  color: #f3e2b5;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.what-changed-metric-v0-1 small {
  color: #c0ccd5;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.what-changed-memory-v0-1__unavailable {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(147, 174, 196, 0.16);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  color: #c5d1d9;
}

.what-changed-memory-v0-1__unavailable strong { color: #e8eef2; }

.what-changed-memory-v0-1__unavailable code {
  display: block;
  margin-top: 0.2rem;
  color: #91a8b8;
  font-size: 0.7rem;
  overflow-wrap: anywhere;
}

.what-changed-memory-v0-1__meta {
  margin: 0;
  color: #8fa2b1;
  font-size: 0.76rem;
}

@media (max-width: 900px) {
  .what-changed-memory-v0-1__head,
  .what-changed-memory-v0-1__unavailable { grid-template-columns: 1fr; }
  .what-changed-memory-v0-1__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .what-changed-memory-v0-1__grid { grid-template-columns: 1fr; }
  .what-changed-memory-v0-1__snapshots div { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* Static legacy proof requires the protected SVG route to remain hidden. */
.btc-deep-v1.btc-deep-v1.btc-deep-v1 .btc-cycle-route-v1 {
  display: none !important;
}
