/* NISSEN — клиентская версия: фон экранов — готовые кадры (nmclient.js), без 3D. Схема KAGEBAU kgclient.css. */
#nm3d-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; z-index: 0; pointer-events: none; background: #1A1A17; overflow: hidden; }
#nm-stage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.nm-cf { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: fill; pointer-events: none; opacity: 0; z-index: 1; transform-origin: 0 0; will-change: opacity, transform; user-select: none; }
#nm-standl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 2; }
#nm-standl .nm-stand { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; }
#nm-bb, #nm-hl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
html.nm-fly #nm-bb, html.nm-fly #nm-hl, html.nm-fly #nm-standl { visibility: hidden; }
/* Pläne: кадр «под куском» + кусок крыши/этажа, matrix3d каждый кадр */
#nm-tf { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 1; display: none; }
#nm-tf .nm-tf-b { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: fill; user-select: none; }
#nm-tf .nm-tf-p { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; will-change: transform; }
#nm-tf .nm-tf-i { position: absolute; max-width: none; user-select: none; }
/* Pläne: подписи комнат поверх пустых помещений (вид без мебели) */
#nm-rooms { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .35s ease; }
#nm-rooms.on { opacity: 1; }
html.nm-fly #nm-rooms { opacity: 0; transition: none; }
#nm-rooms .nm-room { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap;
    line-height: 1.18; color: #fff; font-family: inherit; text-shadow: 0 0 3px rgba(0,0,0,.85), 0 1px 2px rgba(0,0,0,.7); letter-spacing: .01em; }
#nm-rooms .nm-room b { font-weight: 600; }
#nm-rooms .nm-room span { font-weight: 400; opacity: .9; font-size: .88em; }
#nm-rooms .nm-room.off { display: none; }
#nm-rooms .nm-room.rot { transform: translate(-50%, -50%) rotate(-90deg); }
/* «Möbel ausblenden / einblenden» (houseview.js сайта) */
.kg-furn-btn.off { background: transparent !important; color: inherit !important; box-shadow: inset 0 0 0 1px currentColor !important; }
.gp-plan-actions .kg-furn-btn, .gp-plan-actions .primary-btn { white-space: nowrap; }
html.gp-mobile .gp-plan-actions .primary-btn { font-size: 12px; padding-left: 8px; padding-right: 8px; letter-spacing: 0; }
