/* CATNARA NYANG: restore original SVG 2D dimensions unless a 3D canvas is active. */
.nyanglife-page .nyang-stage.nyang-v4-ready[data-nyang-v4-breed] .nyang-avatar-slot{
  position:relative;min-height:270px;overflow:hidden;isolation:isolate
}
.nyanglife-page .nyang-v4-canvas{
  position:absolute;inset:0;margin:auto;
  width:min(100%,370px);height:min(76vw,320px);
  min-height:235px;
  display:block;z-index:2;
  border-radius:24px;
  pointer-events:none
}
.nyanglife-page .nyang-v4-canvas canvas{
  display:block;width:100%!important;height:100%!important;
  background:transparent
}
.nyanglife-page .nyang-stage.nyang-v4-ready .nyang-avatar-slot>.nyang-avatar{
  visibility:hidden;animation:none!important
}
.nyanglife-page .nyang-v4-toolbar{
  margin:8px 0 13px;
  padding:13px 14px;
  background:linear-gradient(140deg,#fff9f6,#f7eeeb);
  border:1px solid #eadbd2;border-radius:17px;
  color:#614c45
}
/* Production V4.4: informative status only, not an interactive pose toolbar. */
.nyanglife-page .nyang-v4-toolbar{
  padding:10px 14px;margin:7px 0 12px;
  background:linear-gradient(135deg,#f7eee8,#f3e6df);
  border-color:#d7bfb0;color:#543d34
}
.nyanglife-page [data-nyang-v4-status]{
  display:block;font-size:12px;font-weight:700;line-height:1.5
}
.nyanglife-page .nyang-v4-toolbar small{
  display:block;margin-top:4px;color:#806354;
  font-size:11px;line-height:1.5
}
.nyanglife-page .nyang-v4-toolbar button,
.nyanglife-page [data-nyang-v4-demo],
.nyanglife-page [data-nyang-v4-toggle]{display:none!important}
@media(max-width:370px){.nyanglife-page .nyang-v4-toolbar{padding:9px 11px}}

/* Stage5 opt-in 47-joint comparison links; no change to lobby simulation. */
.nyanglife-page .nyang-lobby-world .nyang-lobby-3d{
 display:block;width:max-content;max-width:100%;margin:4px auto 0;
 padding:4px 8px;border:1px solid #d6b9aa;border-radius:999px;
 background:#fff8f2;color:#775145;font-size:10px;font-weight:800;
 line-height:1.4;text-decoration:none;white-space:nowrap;
 position:relative;z-index:5;pointer-events:auto;
}
.nyanglife-page .nyang-lobby-world .nyang-lobby-3d:focus-visible{
 outline:2px solid #b37c70;outline-offset:2px
}
