/* OWNER139: the room fills the viewport; Lera sits above the information. */
body[data-home-auth=true]{background:#665a49 url('/assets/lera-v6-room.webp') center center/cover fixed no-repeat}
body[data-home-auth=true]::before{content:'';position:fixed;inset:0;background:#eae4d32b;pointer-events:none;z-index:-1}
.topbar{background:#faf6e9e8;backdrop-filter:blur(12px)}
.house-nav{padding:8px;background:#fff9eee8;border-radius:20px;backdrop-filter:blur(12px)}
.product-home{max-width:1240px;padding-top:4px}
#page-home{grid-template-columns:1fr 1fr;gap:14px 20px}
.house-hero{grid-column:1/-1;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;background:none;box-shadow:none;border:0;border-radius:0;overflow:visible}
.house-hero .portrait-frame{width:min(100%,920px);height:auto;aspect-ratio:1.74;border:0;margin:0;border-radius:0;background:none;box-shadow:none;position:relative;z-index:2;overflow:hidden;pointer-events:none}
.house-hero .portrait,.house-hero .live-character{width:100%;height:100%;object-fit:cover;object-position:52% 2%;transform:none;clip-path:none;-webkit-mask-image:url('/assets/lera-mask.png');mask-image:url('/assets/lera-mask.png');-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center top;mask-position:center top;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-mode:luminance;mask-mode:luminance;filter:drop-shadow(0 5px 10px #1d140d1f)}
.house-hero .portrait-motion-toggle{pointer-events:auto}
.house-welcome{position:relative;z-index:2;padding:22px 26px;background:#fff9eef5;border-top:8px solid #bba184;border-radius:6px 6px 22px 22px;box-shadow:0 12px 36px #30261d22}
.house-welcome h2{font-size:26px;margin:6px 0}.house-welcome .focus{padding-top:8px}
.house-welcome .focus h1{font-size:18px}.house-welcome .focus-action{font-size:13px}
.house-attention{grid-column:1/-1;grid-row:2}
.home-quick-idea{grid-column:1/-1;grid-row:3}
.home-glance{grid-column:1;grid-row:4}
.home-important{grid-column:2;grid-row:4}
.house-shortcuts{grid-column:1/-1;grid-row:5}
.house-pane:not(#page-home)>.house-heading{background:#fff9eee8;border-radius:18px;padding:14px 20px}
.house-pane .panel{background:#fff9eef5}
@media(max-width:1000px){#page-home{grid-template-columns:1fr}.home-glance,.home-important,.house-shortcuts{grid-column:1;grid-row:auto}.house-hero{align-items:center}.house-hero .portrait-frame{width:min(100%,760px);height:auto;flex-shrink:0;aspect-ratio:1.62}}
@media(max-width:700px),(max-width:1000px) and (pointer:coarse){
 .product-home{padding:0 12px 86px}.house-hero{display:flex;align-items:center;width:100%;order:0;margin:0 0 8px}.house-hero .portrait-frame{width:min(100%,540px);height:auto;min-height:0;aspect-ratio:1.5;margin:0}
 .house-hero .portrait,.house-hero .live-character{object-position:51% 4%;transform:none}
 .house-welcome{padding:16px 16px;border-top-width:6px}.house-welcome h2{font-size:23px}.house-welcome .focus h1{font-size:16px;display:block}.house-welcome .focus-action{font-size:12px;display:block}.house-presence{font-size:12px}.house-welcome .house-step-detail>summary{font-size:12px;min-height:32px}.house-welcome .house-step-detail{margin-top:8px;padding-top:8px}
 .house-attention{order:1}.home-quick-idea{order:2}.home-glance{order:3}.home-important{order:4}.house-shortcuts{order:5}
 body.lme-mobile{overflow:auto;height:auto;min-height:var(--mobile-vh)}
 body.lme-mobile .product-home{height:auto;overflow:visible;padding:0 12px calc(86px + env(safe-area-inset-bottom))}
 body.lme-mobile .house-layout,body.lme-mobile .house-content{height:auto;overflow:visible}
 body.lme-mobile .house-pane{height:auto;overflow:visible;padding-bottom:14px}
 body.lme-mobile #page-home{height:auto;overflow:visible}
 body.lme-mobile #page-home>.house-hero{flex-shrink:0;margin-bottom:0}
 body.lme-mobile #page-dialog,body.lme-mobile #page-requests{height:calc(var(--mobile-vh) - var(--mobile-header) - var(--mobile-nav) - 8px);overflow:hidden;padding-bottom:0}
 body.lme-mobile[data-mobile-page=dialog],body.lme-mobile[data-mobile-page=requests]{overflow:hidden;height:var(--mobile-vh)}
 body.lme-mobile[data-mobile-page=dialog] .product-home,body.lme-mobile[data-mobile-page=requests] .product-home{padding-bottom:0}
}
/* РУЧНАЯ НАСТРОЙКА МАСКИ ЛЕРЫ */
.house-hero .portrait,
.house-hero .live-character {
    -webkit-mask-position: 0px -1px;
    mask-position: 0px -1px;

    -webkit-mask-size: 100% 116%;
    mask-size: 100% 116%;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

@media (max-width: 767px) {
  .house-hero .portrait,
  .house-hero .live-character {
    -webkit-mask-position: 0px -0px;
    mask-position: 0px 0px;

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}
@media (max-width: 767px) {
  .house-hero {
    position: relative;
    z-index: 10;
  }

  .house-hero .portrait-frame {
    transform: translateY(20px);
    z-index: 11;
  }

  .house-welcome {
    position: relative;
    z-index: 1;
  }
}
