/* 01.12.2026 (Денис), только V8: плёнка Instagram.
   Справа внизу под иконками соцсетей торчит хвостик плёнки; клик — плёнка выматывается справа налево
   (работы уходят за левый край), в конце выезжает катушка. Плёнку листают колесом, тачпадом, мышью и пальцем;
   сильный рывок влево, когда катушка уже на экране, — плёнка сматывается обратно в хвостик. Esc — тоже смотать. */
.igr { position: fixed; left: 0; bottom: 0; width: 0; height: 0; z-index: 9; }  /* под рамкой сайта (footer z 10): иконки соцсетей — поверх хвостика */
.footer, .footer * { pointer-events: none; } .footer a, .footer button { pointer-events: auto; }  /* 01.12: в рамке клики ловят только ссылки (иконки, PDF, Privacy/Cookie), остальное — к хвостику и плёнке */
.igr-strip { position: absolute; left: 0; bottom: 0; transform-origin: 0 100%; will-change: transform; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.igr-strip svg.igr-film { position: absolute; left: 0; top: 0; overflow: visible; filter: drop-shadow(0 1px 1px rgba(20,16,8,.12)); }
.igr-frost { position: absolute; left: 0; top: 0; background: rgba(255,255,255,var(--igr-w,.05)); -webkit-backdrop-filter: blur(var(--igr-b,5px)); backdrop-filter: blur(var(--igr-b,5px)); }  /* 01.12 (Денис): чуть белого и лёгкое размытие — плёнка отделяется от фона, но остаётся прозрачной */
.igr-fr { position: absolute; display: block; overflow: hidden; border-radius: 1px; background: #e9e6df; -webkit-user-drag: none; }
.igr-fr img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .35s ease; }
.igr.is-open .igr-fr:hover img { transform: scale(1.03); }
.igr-can { position: absolute; }
.igr.is-open .igr-can, .igr.is-open svg.igr-film { cursor: pointer; }  /* клик — профиль Instagram */
.igr-can img { display: block; width: 100%; height: auto; }
.igr.is-open .igr-strip { cursor: grab; }
.igr.is-drag .igr-strip { cursor: grabbing; }
/* закрыто: только хвостик; зона нажатия больше хвостика */
.igr-hit { position: fixed; right: 0; bottom: 24px; width: 70px; height: 180px; cursor: pointer; z-index: 9; touch-action: pan-y; background: none; border: 0; padding: 0; }
.igr.is-open ~ .igr-hit, .igr.is-busy ~ .igr-hit, .igr.tail-off ~ .igr-hit { display: none; }
.igr-hit:focus-visible { outline: 1px solid #111; outline-offset: -2px; }
.igr-on .cookies__wrapper { opacity: 0 !important; pointer-events: none !important; transition: opacity .3s; }  /* пока плёнка открыта — cookie-плашка не лежит поверх */
/* 01.12 (Денис): варианты для сравнения — ?film=white и ?film=black (непрозрачные) */
.igr.f-white .igr-frost { background: #fbfaf6; -webkit-backdrop-filter: none; backdrop-filter: none; }
.igr.f-black .igr-frost { background: #141210; -webkit-backdrop-filter: none; backdrop-filter: none; }
.igr.f-black svg.igr-film g { fill: #f3f0e6; }
.igr.f-black svg.igr-film g rect[fill="#141210"] { fill: #f3f0e6; }
.igr.f-white .igr-bev, .igr.f-black .igr-bev { display: none; }  /* белая и чёрная — без блика и тени, только тонкая нейтральная линия */
.igr.f-white .igr-line { stroke: rgba(34,22,3,.22); }
.igr.f-black .igr-line { stroke: rgba(255,255,255,.16); }
.igr-fr .igr-play { position: absolute; right: 8px; top: 8px; width: 0; height: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); pointer-events: none; }  /* ролик */
.igr-fr .igr-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }  /* ролик поверх обложки */
