/* RNG · страницы дисков (20.11.2026): просмотр фото на весь экран — к zoom.js */
.z9 .rngz-can{cursor:zoom-in}
.z9 .z9-rph.rngz-can:focus-visible{outline:2px solid #d2f065;outline-offset:2px}
html.rngz-lock,html.rngz-lock body{overflow:hidden!important}
.rngz{position:fixed;inset:0;z-index:10060;background:#050506;display:flex;flex-direction:column;color:#fff;font-family:inherit}
.rngz[hidden]{display:none!important}
.rngz-top,.rngz-bot{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
.rngz-top{padding-top:calc(12px + env(safe-area-inset-top,0px))}
.rngz-bot{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
.rngz-cap{margin:0!important;font-size:14px;line-height:1.3;color:#e9e6df;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rngz-close{flex:0 0 auto;background:none;border:1px solid #444;color:#fff;border-radius:10px;padding:9px 16px;cursor:pointer;font-size:13px;line-height:1}
.rngz-stage{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;overscroll-behavior:contain;touch-action:pan-y}
.rngz-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;cursor:zoom-in;user-select:none;-webkit-user-drag:none}
.rngz.is-zoom .rngz-stage{display:grid;align-content:center;justify-content:start;overflow:auto;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.rngz.is-zoom .rngz-stage::-webkit-scrollbar{display:none}
.rngz.is-zoom .rngz-stage img{max-width:none;max-height:none;width:260vw;cursor:zoom-out}
.rngz-info{margin:0!important;flex:1 1 auto;text-align:center;font-size:12px;line-height:1.35;color:#9a968d}
.rngz-cnt{display:block;font-weight:500;color:#fff;font-size:13px}
.rngz-nav{flex:0 0 auto;width:44px;height:44px;border-radius:50%;border:1px solid #d2f065;background:none;color:#d2f065;font-size:18px;line-height:1;cursor:pointer}
.rngz-nav[disabled]{border-color:#333;color:#555;cursor:default}
.rngz-nav[hidden]{display:none}
@media (min-width:768px){
 .rngz.is-zoom .rngz-stage img{width:130vw}
 .rngz-cap{font-size:16px}
}
/* пока открыто окно дизайна или просмотр фото — видеокружок и плашка cookie не лежат поверх */
html body:has(.z9-modal:not([hidden])) [class*="GetReviewWidget"],html body:has(.rngz:not([hidden])) [class*="GetReviewWidget"]{display:none!important}
@media (max-width:767px){
 html body:has(.z9-modal:not([hidden])) #cookie-banner,html body:has(.rngz:not([hidden])) #cookie-banner{display:none!important}
}
