        /* ---------------- МАГАЗИН ---------------- */
        #screen-shop {
            overflow: hidden;
            background: linear-gradient(155deg, rgba(13,76,145,0.96), rgba(42,142,207,0.95) 52%, rgba(20,75,133,0.98));
            color: #12345b;
        }
        .shop-view { position: absolute; inset: 0; display: flex; flex-direction: column; min-height: 0; }
        .shop-view.hidden { display: none; }
        #shop-category-view { padding: 82px 14px 88px; overflow-y: auto; touch-action: pan-y; }
        .shop-heading { flex: none; text-align: center; margin: 2px auto 18px; color: #fff; text-shadow: 0 2px 3px rgba(0,0,0,0.32); }
        .shop-heading h1 { font-size: clamp(24px, 4vh, 32px); line-height: 1.1; }
        .shop-effects { margin-top: 7px; min-height: 18px; color: #eaf7ff; font-size: clamp(11px, 1.8vh, 14px); font-weight: 800; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,0.45); }
        .shop-category-list { width: min(100%, 560px); margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
        .shop-category {
            width: 100%; min-height: 88px; display: flex; align-items: center; gap: 12px; padding: 13px 15px;
            border: 2px solid #a8dfff; border-radius: 18px; color: #14365b; text-align: left; cursor: pointer;
            background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(213,241,255,0.94));
            box-shadow: 0 5px 0 #1761a2, 0 9px 16px rgba(0,0,0,0.22); font-family: inherit; transition: transform .12s, filter .12s;
        }
        .shop-category:active { transform: translateY(3px); box-shadow: 0 2px 0 #1761a2, 0 5px 10px rgba(0,0,0,0.2); }
        .shop-category-icon { width: 46px; flex: none; text-align: center; font-size: 32px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
        .shop-category-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
        .shop-category-copy b { font-size: clamp(17px, 2.8vh, 21px); font-weight: 900; }
        .shop-category-copy small { font-size: clamp(11px, 1.8vh, 13px); line-height: 1.25; font-weight: 800; opacity: .76; }
        .shop-category-arrow { color: #247bc0; font-size: 36px; font-weight: 900; line-height: .8; }
        .shop-category-vip { border-color: #ffe08a; background: linear-gradient(135deg,#fffaf0,#ffe9a5 55%,#ffcf61); }
        .shop-category-badge { flex: none; padding: 5px 8px; border-radius: 10px; background: #d8eaff; color: #32618e; font-size: 10px; font-weight: 900; }
        #shop-product-view { padding: 82px 8px 88px; overflow: hidden; }
        .shop-products-head { flex: none; width: min(100%, 600px); margin: 0 auto; padding: 0 10px; color: #fff; text-align: center; text-shadow: 0 2px 3px rgba(0,0,0,.32); }
        .shop-products-head h2 { margin-top: 7px; font-size: clamp(20px, 3.2vh, 27px); font-weight: 900; }
        .shop-back { display: block; border: 1px solid rgba(255,255,255,.65); border-radius: 11px; padding: 6px 11px; color: #fff; background: rgba(15,57,103,.42); font-family: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
        .shop-carousel-wrap { position: relative; flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
        .shop-carousel { position: relative; width: 100%; max-width: 620px; height: min(64vh, 580px); min-height: 360px; overflow: hidden; touch-action: pan-y; perspective: 1100px; }
        .shop-product-card {
            position: absolute; top: 0; left: 50%; width: min(76vw, 365px); height: 100%; display: flex; flex-direction: column; align-items: center;
            padding: 15px 17px 18px; border: 3px solid #a9ddff; border-radius: 24px;
            background: linear-gradient(155deg, #f9fdff, #d9f1ff 52%, #bfe5ff); color: #153a60;
            box-shadow: 0 6px 0 #165b98, 0 12px 24px rgba(0,0,0,.3); transition: transform .24s cubic-bezier(.22,.75,.2,1), opacity .24s ease, filter .24s ease; will-change: transform, opacity;
        }
        .shop-product-card.center { z-index: 3; transform: translateX(calc(-50% + var(--shop-drag-x, 0px))) scale(1) rotateZ(var(--shop-center-tilt, 0deg)); opacity: 1; }
        .shop-product-card.prev { z-index: 1; transform: translateX(calc(-50% - 72% + var(--shop-drag-x, 0px))) scale(.82) rotateY(8deg) rotateZ(-4deg); opacity: .62; filter: saturate(.72); pointer-events: none; }
        .shop-product-card.next { z-index: 1; transform: translateX(calc(-50% + 72% + var(--shop-drag-x, 0px))) scale(.82) rotateY(-8deg) rotateZ(4deg); opacity: .62; filter: saturate(.72); pointer-events: none; }
        .shop-carousel:not(.is-settling) .shop-product-card { transition: none; }
        .shop-carousel.slide-next .shop-product-card.center { z-index: 1; transform: translateX(calc(-50% + var(--shop-drag-x, 0px))) scale(.82) rotateY(8deg) rotateZ(-4deg); opacity: .62; }
        .shop-carousel.slide-next .shop-product-card.next { z-index: 3; transform: translateX(calc(-50% + 72% + var(--shop-drag-x, 0px))) scale(1) rotateY(0) rotateZ(0); opacity: 1; filter: none; }
        .shop-carousel.slide-next .shop-product-card.prev { transform: translateX(calc(-50% - 144% + var(--shop-drag-x, 0px))) scale(.66) rotateY(14deg) rotateZ(-6deg); opacity: 0; }
        .shop-carousel.slide-prev .shop-product-card.center { z-index: 1; transform: translateX(calc(-50% + var(--shop-drag-x, 0px))) scale(.82) rotateY(-8deg) rotateZ(4deg); opacity: .62; }
        .shop-carousel.slide-prev .shop-product-card.prev { z-index: 3; transform: translateX(calc(-50% + 72% + var(--shop-drag-x, 0px))) scale(1) rotateY(0) rotateZ(0); opacity: 1; filter: none; }
        .shop-carousel.slide-prev .shop-product-card.next { transform: translateX(calc(-50% + 144% + var(--shop-drag-x, 0px))) scale(.66) rotateY(-14deg) rotateZ(6deg); opacity: 0; }
        .shop-product-art { width: 100%; height: clamp(130px, 25vh, 220px); flex: none; object-fit: contain; filter: drop-shadow(0 5px 4px rgba(37,79,114,.23)); }
        .vip-card .shop-product-art { height: clamp(95px, 18vh, 150px); }
        .shop-product-title { margin-top: 2px; font-size: clamp(20px, 3.1vh, 25px); font-weight: 900; text-align: center; line-height: 1.1; }
        .shop-product-desc { min-height: 47px; margin-top: 7px; color: #375a7d; font-size: clamp(12px, 1.9vh, 14px); font-weight: 800; line-height: 1.3; text-align: center; }
        .shop-product-status { min-height: 18px; margin-top: 5px; color: #176a3b; font-size: 12px; font-weight: 900; text-align: center; }
        .shop-product-price { margin-top: auto; margin-bottom: 11px; color: #1d4168; font-size: clamp(20px, 3vh, 25px); font-weight: 900; text-shadow: 0 1px #fff; }
        .shop-buy {
            width: 100%; flex: none; padding: 12px 10px; border: 0; border-radius: 14px; color: #fff; cursor: pointer;
            background: linear-gradient(#4ade80, #16a34a); box-shadow: 0 4px 0 #166534; font-family: inherit; font-size: 17px; font-weight: 900; text-shadow: 0 1px 2px rgba(0,0,0,.2);
        }
        .shop-buy:active { transform: translateY(3px); box-shadow: 0 1px 0 #166534; }
        .vip-buy-row { width: 100%; display: flex; flex-direction: column; gap: 7px; }
        .vip-buy-row .shop-buy { padding: 9px 7px; font-size: 14px; }
        .vip-buy-permanent { background: linear-gradient(#ffd86d,#e49a16); box-shadow: 0 4px 0 #98620f; }
        .vip-buy-rent { background: linear-gradient(#65c5ff,#2874d0); box-shadow: 0 4px 0 #1d4e91; }
        .vip-bonus-claim { width: 100%; margin: 5px 0 9px; padding: 8px; border: 1px solid #f2c344; border-radius: 12px; color: #60420b; background: #fff1b8; font-family: inherit; font-size: 12px; font-weight: 900; cursor: pointer; }
        .shop-arrow { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 38px; height: 54px; flex: none; border: 1px solid rgba(255,255,255,.65); border-radius: 13px; color: #fff; background: rgba(13,53,96,.62); font-family: inherit; font-size: 36px; font-weight: 900; line-height: 1; cursor: pointer; text-shadow: 0 2px 3px #123; }
        #shop-prev { left: 4px; }
        #shop-next { right: 4px; }
        .shop-dots { flex: none; height: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; }
        .shop-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
        .shop-dot.active { width: 22px; border-radius: 7px; background: #ffe17a; }
        .shop-dot { transition: width .25s ease, background-color .25s ease; }
        .shop-swipe-hint { flex: none; padding: 2px 0 0; text-align: center; color: rgba(255,255,255,.8); font-size: 11px; font-weight: 800; }
        @media (max-height: 700px) {
            .shop-category { min-height: 72px; padding: 9px 12px; }
            .shop-category-list { gap: 8px; }
            .shop-carousel { height: min(62vh, 470px); min-height: 315px; }
            .shop-product-art { height: clamp(100px, 21vh, 160px); }
            .shop-product-card { padding: 10px 13px 14px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .shop-product-card, .shop-dot { transition-duration: .01ms; }
        }
