.section-heading:after{content:"";display:block;width:150px;height:28px;background:url("petersburg-grille.svg") center/contain no-repeat;flex-shrink:0;opacity:.7}.panel{position:relative}.side-card:after{content:"";display:block;width:150px;height:20px;margin:20px auto 0;background:url("petersburg-grille.svg") center/contain no-repeat;opacity:.65}.apartment-tile strong{display:inline-block;min-width:36px;padding:3px 10px;border:1px solid #b4a480;border-radius:6px;background:linear-gradient(135deg,#faf5e7,#e1d4b8);box-shadow:inset 0 0 0 2px #f5eddd;color:#59482e;font-family:Georgia,serif}.apartment-tile.test-apartment strong{font-family:inherit;font-size:22px}body>footer{border-top:5px solid #c7b99b;padding-top:38px;background-image:linear-gradient(to bottom,transparent 22px,var(--paper,#f9f6ee) 23px),url("petersburg-tiles.svg");background-position:top;background-size:auto,28px 28px;background-repeat:no-repeat,repeat-x}.house-history h1:after{content:"";display:block;width:220px;height:26px;margin-top:14px;background:url("petersburg-grille.svg") left center/contain no-repeat}.auth-card:before{content:"ДОБРО ПОЖАЛОВАТЬ";display:block;width:fit-content;margin:0 auto 22px;padding:7px 16px;border:1px solid #ac9870;border-radius:5px;color:#705b36;background:#eee5d1;font:600 13px/1.5 Georgia,serif;letter-spacing:.12em}@media(max-width:650px){.section-heading:after{display:none}}@media print{.section-heading:after,.side-card:after,.auth-card:before{display:none}body>footer{background:none}}
.house-cat{position:relative;max-width:1440px;margin:20px auto 0;display:flex;align-items:end;justify-content:flex-end;gap:12px;padding:0 36px}.house-cat button{border:0;background:transparent;padding:0;cursor:pointer;line-height:0;border-radius:12px}.house-cat button:focus-visible{outline:2px solid #80683e;outline-offset:4px}.house-cat img{display:block;width:180px;height:90px}.house-cat span{max-width:220px;font-size:17px;line-height:1.4;color:#77674d;padding-bottom:10px}@media(max-width:650px){.house-cat{padding:0 16px;gap:0}.house-cat img{width:140px;height:70px}.house-cat span{font-size:16px}}@media print{.house-cat{display:none!important}}

.auth-intro{position:relative;isolation:isolate;padding:42px 36px}.auth-intro:before,.auth-intro:after{content:"";position:absolute;z-index:-1;pointer-events:none;top:5px;bottom:18px;width:24px;background:repeating-linear-gradient(90deg,#c8bba1 0,#e9dfcb 6px,#d5c8ad 12px,#f2ead9 18px);border-top:5px solid #99815b;border-bottom:1px solid #aa9470;opacity:.75;transition:transform .55s ease;border-radius:0 0 50% 10%}.auth-intro:before{left:0;transform-origin:top left}.auth-intro:after{right:0;transform-origin:top right;transform:none}.auth-layout:hover .auth-intro:before{transform:scaleX(.74) rotate(1deg)}.auth-layout:hover .auth-intro:after{transform:scaleX(.74) rotate(-1deg)}.button{transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}.button:hover{transform:translateY(-2px);box-shadow:0 5px 14px #56452c25;filter:brightness(1.04)}.button:active{transform:translateY(0);box-shadow:inset 0 1px 4px #56452c20}.button:focus-visible{outline:3px solid #b09257;outline-offset:4px}@media(prefers-reduced-motion:reduce){.button,.auth-intro:before,.auth-intro:after{transition:none!important}.button:hover,.button:active{transform:none}.auth-layout:hover .auth-intro:before{transform:none}.auth-layout:hover .auth-intro:after{transform:none}}

.history-lead{font-size:23px;line-height:1.7}.history-contents{font-size:18px;line-height:1.9;padding:16px 0;border-block:1px solid #d6c8ae;margin-bottom:28px}.house-history section{scroll-margin-top:24px}.house-history section h2{margin-top:38px}.house-history section h3{font-size:25px;margin-top:30px}.house-history p{line-height:1.8}.history-sources{font-size:15px;line-height:1.8;margin-top:32px;padding-top:14px;border-top:1px solid #d6c8ae;overflow-wrap:anywhere}.history-sources a{color:#776a54}

.apartment-tile{position:relative;overflow:visible}.apartment-tile:has(.birthday-balloons){z-index:3}.apartment-tile .birthday-balloons{position:absolute;right:-14px;bottom:-8px;display:block;width:130px;max-width:none;height:260px;object-fit:contain;margin:0;pointer-events:none}.theme-balloons .holiday-edge{width:100px;opacity:.9}.theme-balloons .holiday-edge img{width:100px;height:125px}@media(max-width:1450px) and (min-width:851px){.theme-balloons .holiday-edge{width:58px;opacity:.65}.theme-balloons .holiday-edge img{width:58px;height:90px}}

.personal-birthday-decor{position:fixed;inset:0;pointer-events:none;z-index:4;overflow:hidden}.birthday-bouquet{position:absolute;width:clamp(62px,8vw,130px);height:auto;max-width:none;filter:drop-shadow(0 3px 3px #61513712)}.birthday-bouquet-left{left:8px;top:160px;transform:rotate(-9deg);transform-origin:center bottom}.birthday-bouquet-right{right:8px;bottom:26px;transform:rotate(8deg);transform-origin:center bottom}@media(max-width:700px){.birthday-bouquet{width:58px}.birthday-bouquet-left{left:-13px;top:190px}.birthday-bouquet-right{right:-13px;bottom:14px}}@media print{.personal-birthday-decor{display:none!important}}
