/* Chata Pirohovie • V13 / etapa 1 • only scoped overrides over V12 */
:root{--v13-wood:#75523a;--v13-green:#2b503d}
/* Genuine colored brand logo in the loader, no substitute typographic P. */
.page-loader .loader-inner{display:grid!important;place-items:center!important;gap:0!important}
.page-loader .loader-inner .v13-loader-logo{display:block;width:min(290px,75vw);height:auto;max-height:120px;object-fit:contain;animation:v13LogoIn .9s ease-out both}
@keyframes v13LogoIn{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
/* The lead film is scrubbed as one unbroken picture sequence on desktops. Safari
   retains the existing 61-frame path; no sudden video/canvas switch at second 1. */
@media (min-width:1px){.hero-scroll .hero-scene[data-index="0"] .hero-frame-canvas.v13-canvas-ready{opacity:1!important;z-index:2!important;transition:none!important}}
/* Wide original tree shape retained; low clearings around *swapped* animal positions.
   The little trees remain behind each animal; clearing geometry comes from SVG. */
.forest-scene .forest-deer{left:7.5%!important;right:auto!important;z-index:7!important}
.forest-scene .forest-fox,.forest-scene .forest-fox:hover,.forest-scene .forest-fox.animal-active{left:47%!important;right:auto!important;z-index:7!important}
.forest-scene .forest-bear,.forest-scene .forest-bear:hover,.forest-scene .forest-bear.animal-active{right:5%!important;z-index:7!important}
.forest-scene .forest-layer.front{background-image:url('/assets/forest/front-v12.svg?v=13')!important}
/* Shoe follows Mišo and always stays on the grass. Not a real guest item. */
.forest-fox .v13-fox-shoe{position:absolute;right:-2%;bottom:0;width:clamp(36px,4vw,64px);height:clamp(27px,3.5vw,42px);pointer-events:none;transform:rotate(-7deg);z-index:3}
.forest-fox .v13-fox-shoe::before{content:"";position:absolute;inset:18% 0 4%;border-radius:14px 22px 10px 9px / 18px 26px 9px 9px;background:#9d3d2e;border-bottom:6px solid #f3d7a9;box-shadow:inset 0 2px 1px #d78960,2px 4px 5px #203d2f33}
.forest-fox .v13-fox-shoe::after{content:"";position:absolute;inset:11% 36% 37% 26%;border-top:2px dashed #f6ece0;border-bottom:2px dashed #f6ece0;transform:rotate(12deg)}
/* Smaller clouds: one third opacity, visibly higher and on a layer behind larger clouds. */
.forest-scene .forest-clouds .cloud:nth-child(-n+5){z-index:2!important}
.forest-scene .forest-clouds .cloud:nth-child(n+6){z-index:1!important;opacity:.32!important;width:clamp(68px,6vw,110px)!important;height:clamp(29px,3.3vw,49px)!important;filter:none}
.forest-scene .forest-clouds .cloud-6{left:7%!important;top:0!important;scale:.61!important}
.forest-scene .forest-clouds .cloud-7{left:35%!important;top:2%!important;scale:.55!important}
.forest-scene .forest-clouds .cloud-8{left:64%!important;top:1%!important;scale:.63!important}
.forest-scene .forest-clouds .cloud-9{left:91%!important;top:1%!important;scale:.51!important}
/* The lower-floor family continues in the hut SVG; V12's upper-window children gone. */
.forest-hut .hut-kids{display:none!important}
/* Footer particles use the same independent x/y scrub model as detox, plus
   calm micro-motion when the viewer stops scrolling. */
.site-footer .footer-atmosphere .footer-leaf{translate:var(--v13-foot-x,0px) var(--v13-foot-y,0px)!important;transition:translate .26s cubic-bezier(.18,.7,.25,1)!important;opacity:var(--leaf-opacity,.13);}
.site-footer .footer-atmosphere .footer-leaf svg{animation:v13LeafBreath var(--leaf-time,15s) ease-in-out infinite alternate;transform-origin:center}
@keyframes v13LeafBreath{0%{transform:rotate(-9deg) scale(.91)}100%{transform:rotate(13deg) scale(1.14)}}
/* Muted, looping nature film for the story section, old photo is its poster. */
.story-left-image{position:relative;isolation:isolate;overflow:hidden}
.story-left-image .v13-story-film{position:absolute!important;inset:0;width:100%;height:100%;min-height:100%;object-fit:cover;object-position:center;display:block;z-index:1;filter:none;transform:scale(1.025)}
.story-left-image .v13-story-fallback{position:absolute!important;inset:0;width:100%;height:100%;min-height:100%;object-fit:cover;z-index:0}
/* Clean audio controls, no autoplay; stay above page but underneath cookie modal. */
.v13-sound-control{position:fixed;left:16px;bottom:16px;z-index:35;display:flex;gap:7px;align-items:center;padding:6px;border-radius:40px;background:#f8f4e9ef;border:1px solid #5e654a36;box-shadow:0 8px 30px #102b222b;backdrop-filter:blur(9px);font:600 11px/1.1 system-ui,sans-serif;}
.v13-sound-control button{appearance:none;border:0;cursor:pointer;display:flex;gap:6px;align-items:center;justify-content:center;padding:8px 11px;color:#294635;background:transparent;border-radius:28px;min-height:33px;transition:background .4s,color .4s,transform .4s;letter-spacing:.035em}
.v13-sound-control button>span:first-child{font-size:19px;font-weight:400}
.v13-sound-control button:is(:hover,:focus-visible){background:#e6dccc;transform:translateY(-2px)}
.v13-sound-control button[aria-pressed="true"]{background:#75523a;color:#fff9ed}
.v13-sound-control button:focus-visible{outline:2px solid #c9aa72;outline-offset:2px}
@media(max-width:700px){.v13-sound-control{left:8px;bottom:8px;padding:4px;gap:3px}.v13-sound-control button{padding:7px 9px;min-height:31px;font-size:10px}.forest-scene .forest-deer{left:1%!important}.forest-scene .forest-fox,.forest-scene .forest-fox:hover,.forest-scene .forest-fox.animal-active{left:43%!important}.forest-scene .forest-bear{right:-1%!important}.forest-scene .forest-layer.front{background-image:url('/assets/forest/front-v12-mobile.svg?v=13')!important}.forest-fox .v13-fox-shoe{width:35px;height:28px}}
@media(prefers-reduced-motion:reduce){.page-loader .v13-loader-logo,.site-footer .footer-atmosphere .footer-leaf svg{animation:none!important}.story-left-image .v13-story-film{display:none!important}.story-left-image{background-position:center;background-size:cover}}
/* The uploaded color logo needs a light loader surface for sufficient contrast. */
.page-loader{background:#f4f0e7!important;color:#234331!important}
