/* SHANX THEME ACCENT SYNC — no section may keep a stale accent from another world. */

/* HEARTBEAT: the emphasized thesis must belong to the active world. */
html[data-theme] .latest-evolution h2 em{
  color:var(--living-accent-2)!important;
  text-shadow:0 10px 34px color-mix(in srgb,var(--living-accent-2) 18%,transparent)!important;
  transition:color .34s ease,text-shadow .34s ease!important;
}
html[data-theme] .latest-evolution .eyebrow,
html[data-theme] .latest-proof span{
  color:var(--living-accent-2)!important;
  transition:color .34s ease!important;
}
html[data-theme] .latest-proof{
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--living-accent-2) 10%,transparent)!important;
}
html[data-theme] .latest-evolution .button.primary{
  background:var(--living-accent-2)!important;
  color:var(--world-on-dark)!important;
  border-color:var(--living-accent-2)!important;
  box-shadow:0 10px 30px color-mix(in srgb,var(--living-accent-2) 18%,transparent)!important;
}

/* Keep Boozo visually in the same world. */
html[data-theme] .companion-orb{
  background:radial-gradient(circle at 35% 28%,white 0 8%,var(--living-accent-2) 12% 48%,var(--living-dark) 76%)!important;
  box-shadow:0 0 0 5px color-mix(in srgb,var(--living-accent-2) 10%,transparent),0 0 22px color-mix(in srgb,var(--living-accent-2) 26%,transparent)!important;
}
html[data-theme] .companion-pulse{
  border-color:color-mix(in srgb,var(--living-accent-2) 56%,transparent)!important;
}
html[data-theme] .companion-greeting strong{
  color:var(--living-accent-2)!important;
}

/* Explicit world signatures keep themes visually distinct. */
html[data-theme="ivory"] .latest-evolution h2 em{color:#d78a68!important}
html[data-theme="forest"] .latest-evolution h2 em{color:#d8bd8e!important}
html[data-theme="midnight"] .latest-evolution h2 em{color:#89a9ff!important}
html[data-theme="ocean"] .latest-evolution h2 em{color:#79c8ee!important}
html[data-theme="shadow"] .latest-evolution h2 em{color:#d98ab7!important}
html[data-theme="voyager"] .latest-evolution h2 em{color:#f39a68!important}

@media(prefers-reduced-motion:reduce){
  html[data-theme] .latest-evolution h2 em,
  html[data-theme] .latest-evolution .eyebrow,
  html[data-theme] .latest-proof span{transition:none!important}
}
