@import url("/assets/v41.css?v=1");

/* V42: dieselbe Kiro-Identität in acht echten Laufphasen. Die sichtbare
   Körperhöhe entspricht nun seinem Standbild; es gibt weder Größensprung
   noch Transparenzwechsel beim Loslaufen. */
.game[data-v39-walking="true"] .resident--kiro{
  width:66px!important;
  height:142px!important;
  background-image:url("/assets/kiro-walk-v42.webp")!important;
  background-repeat:no-repeat!important;
  background-size:800% 100%!important;
  opacity:1!important;
  filter:brightness(.96) saturate(.64) contrast(1.08) hue-rotate(2deg)
    drop-shadow(0 8px 11px rgba(0,0,0,.76))!important;
  animation:v42-kiro-walk 1.12s steps(7,end) infinite!important;
}
.game[data-v39-walking="true"] .kiro-ground-shadow{
  width:48px;
  height:11px;
  opacity:.82;
}
@keyframes v42-kiro-walk{
  from{background-position:0 0}
  to{background-position:100% 0}
}

/* Der Speicher besteht aus demselben dunklen Schiefer und geschwärzten
   Metall wie das Echo-Nest. Nur Kern und Fenster tragen das Echo-Cyan. */
.building--storage{
  aspect-ratio:1.26/1;
}
.game[data-v32-phase] .building--storage[data-v33-placed="true"] .storage-building-image{
  opacity:1;
  filter:brightness(.78) saturate(.68) contrast(1.1)
    drop-shadow(0 13px 16px rgba(0,0,0,.8))
    drop-shadow(0 0 9px rgba(55,194,210,.17));
}
.game[data-v32-phase="complete"] .building--storage[data-v33-placed="true"] .storage-building-image{
  filter:brightness(.94) saturate(.86) contrast(1.08)
    drop-shadow(0 13px 16px rgba(0,0,0,.8))
    drop-shadow(0 0 16px rgba(64,218,229,.32));
  animation:v42-storage-echo 1.15s ease-out both;
}
@keyframes v42-storage-echo{
  0%{filter:brightness(.76) saturate(.62) contrast(1.1) drop-shadow(0 13px 16px rgba(0,0,0,.8))}
  48%{filter:brightness(1.08) saturate(1.02) contrast(1.07) drop-shadow(0 0 22px rgba(79,234,239,.46))}
  100%{filter:brightness(.94) saturate(.86) contrast(1.08) drop-shadow(0 13px 16px rgba(0,0,0,.8)) drop-shadow(0 0 16px rgba(64,218,229,.32))}
}

@media (prefers-reduced-motion:reduce){
  .game[data-v39-walking="true"] .resident--kiro{animation:none!important;background-position:43% 0!important}
  .game[data-v32-phase="complete"] .building--storage[data-v33-placed="true"] .storage-building-image{animation:none!important}
}
