/* Комнаты дома — полноценная нарисованная комната на весь экран (art/bg_<комната>), без рамки-«квадрата».
   Внутренние координаты сцены прежние (1196×380, пол с 274), сцена масштабируется на ширину 1280 и стоит на полу. */
#stage[data-screen="house"] { background: #f3eee6 url(../art/bg_room.webp) center / cover no-repeat; }
#stage[data-screen="house"][data-roombg="bedroom"] { background-image: url(../art/bg_bedroom.webp); }
#stage[data-screen="house"][data-roombg="bathroom"] { background-image: url(../art/bg_bathroom.webp); }
#stage[data-screen="house"][data-roombg="playroom"] { background-image: url(../art/bg_playroom.webp); }
#stage[data-screen="house"][data-roombg="kitchen"] { background-image: url(../art/bg_kitchenroom.webp); }
#stage[data-screen="house"][data-roombg="living"] { background-image: url(../art/bg_living.webp); }
#stage[data-screen="house"] .world-shell { padding: 12px 24px; }
#stage[data-screen="house"] .world-shell > h1 { font-size: 30px; }
#stage[data-screen="house"] .world-room-tabs { margin-top: 8px; }
#stage[data-screen="house"] .world-room-tabs button { min-height: 50px; font-size: 18px; background: rgba(255, 255, 255, .92); }
#stage[data-screen="house"] .world-room-scene { left: 0; right: auto; top: auto; bottom: 0; width: 1196px; height: 380px; transform: scale(1.0702); transform-origin: left bottom;
  background: none !important; border-radius: 0; overflow: visible; }
#stage[data-screen="house"] .world-room-scene .world-window, #stage[data-screen="house"] .world-room-scene .world-rug { display: none; }
/* Вещи на стене поднимаем на нарисованную стену */
#stage[data-screen="house"] .home-item.slot-curtain, #stage[data-screen="house"] .home-item.slot-picture, #stage[data-screen="house"] .home-item.slot-wall,
#stage[data-screen="house"] .home-item.slot-wallL, #stage[data-screen="house"] .home-item.slot-wallR, #stage[data-screen="house"] .home-item.slot-window { margin-top: -140px; }
#stage[data-screen="house"] .home-item.slot-window { margin-top: -60px; }
/* Ночь — затемнение всей комнаты */
#stage[data-screen="house"] .world-room-scene.is-night:before { content: ''; position: fixed; inset: -2000px; background: rgba(28, 34, 60, .45); pointer-events: none; z-index: 0; }
/* Подсказка и подпись — наверху, не закрывают комнату */
#stage[data-screen="house"] .world-task { left: 24px; bottom: auto; top: 128px; width: 360px; height: 60px; font-size: 19px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 12px rgba(47, 59, 76, .12); }
#stage[data-screen="house"] .world-word { right: 24px; bottom: auto; top: 128px; width: 380px; min-height: 60px; padding: 6px 16px; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 12px rgba(47, 59, 76, .12); z-index: 6; }
#stage[data-screen="house"] .world-word b { font-size: 32px; }
#stage[data-screen="house"] .world-need-acts { top: 196px; right: 24px; }
#stage[data-screen="house"] .world-room-object { filter: drop-shadow(0 6px 5px rgba(47, 59, 76, .18)); }

/* Кухня при готовке: нарисованная кухня, Сафия у стола, блюдо на столешнице */
#stage[data-screen="kitchenCook"] { background: #f6ead6 url(../art/bg_kitchen.webp) center / cover no-repeat; }
#stage[data-screen="kitchenCook"] .kd-shell.kd-cook { background: transparent; }
#stage[data-screen="kitchenCook"] .kd-chef { display: none; }
.kd-counter { position: absolute; left: 130px; right: 130px; top: 470px; height: 64px; border-radius: 18px; background: linear-gradient(#e2b47a, #c98f53); box-shadow: 0 10px 0 #a8743f, 0 18px 30px rgba(47, 59, 76, .18); z-index: 0; pointer-events: none; }
.kd-hero { position: absolute; left: 6px; bottom: 150px; z-index: 1; pointer-events: none; }
#stage[data-screen="kitchenCook"] .kd-work, #stage[data-screen="kitchenCook"] .kd-side { z-index: 2; }
#stage[data-screen="kitchenCook"] .kd-tray { background: rgba(255, 255, 255, .88); box-shadow: 0 -4px 18px rgba(47, 59, 76, .12); }

/* Фоны остальных локаций */
#stage.has-bg[data-screen="salon"] .salon { background: #e8f2fb url(../art/bg_showroom.webp) center / cover no-repeat; }
#stage.has-bg[data-screen="salon"] .salon:before { display: none; }
#stage.has-bg[data-screen="autosalon"], #stage.has-bg[data-screen="trips"] { background: #e8f2fb url(../art/bg_showroom.webp) center / cover no-repeat; }
#stage.has-bg[data-screen="workshop"], #stage.has-bg[data-screen="tuning"] { background: #eef0f2 url(../art/bg_workshop.webp) center / cover no-repeat; }
#stage.has-bg[data-screen="care"] { background: #f3eee6 url(../art/bg_guest.webp) center / cover no-repeat; }
#stage.has-bg[data-screen="care"] .care-room { background: transparent !important; }
#stage.has-bg[data-screen="wardrobe"] { background: #f7f0fb url(../art/bg_dressing.webp) center / cover no-repeat; }
#stage.has-bg[data-screen="wardrobe"] .wd-stage { background: radial-gradient(rgba(255, 255, 255, .85) 0 45%, rgba(255, 255, 255, .35) 75%); }
#stage.has-bg[data-screen="help"] .hp-scene.is-art { background: #f3eee6 url(../art/bg_help.webp) center / cover no-repeat; }
#stage.has-bg[data-screen="help"] .hp-scene.is-art .hp-house { display: none; }
#stage[data-screen="album"] { background: #f7f3ea url(../art/bg_room.webp) center / cover no-repeat; }
#stage[data-screen="house"] .world-room-tabs .selected { background: #638b75 !important; color: #fff !important; border-color: #638b75; }
#stage[data-screen="house"] .world-shell > h1 { display: table; margin: 0 auto; }
#stage[data-screen="kitchenCook"] .kd-counter { display: none; }
#stage[data-screen="kitchenCook"] .kd-work { top: 150px; filter: drop-shadow(0 14px 10px rgba(47, 59, 76, .22)); }
#stage[data-screen="kitchenCook"] .kd-work.is-to-oven { top: 150px; }
/* Ночь затемняет только комнату, а не заголовок и кнопки */
#stage[data-screen="house"] .world-shell > h1, #stage[data-screen="house"] .world-room-tabs, #stage[data-screen="house"] .world-need-acts { position: relative; z-index: 7; }
#stage[data-screen="house"] .world-task, #stage[data-screen="house"] .world-word { z-index: 7; }
/* В гостях: нарисованная столовая вместо старого окна; заголовок на подложке */
#stage.has-bg[data-screen="care"] .care-window { display: none; }
#stage.has-bg[data-screen="care"] .care-room > h1 { display: table; margin: 8px auto 0; padding: 4px 24px; border-radius: 24px; background: rgba(255, 255, 255, .9); }
