/* نسرون گیمز — تنظیمات تکمیلی (همه محدود به .nsv-games) */

/* ویژگی hidden همیشه کار کند */
.nsv-games [hidden] { display: none !important; }

/* خط کوچک قبل از عنوان کوچک حذف شد */
.nsv-games .eyebrow:before { display: none; }

/* کارت بازی: عکس ۱۶:۹ */
.nsv-games .gl-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 0;
}
.nsv-games .gl-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.nsv-games .gl-card:hover .gl-cover img { transform: scale(1.04); }
.nsv-games .gl-cover .gl-cover-txt {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 12px;
}
.nsv-games .gl-name a { color: inherit; text-decoration: none; }
.nsv-games .gl-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.nsv-games .gl-ver { font-size: 13px; color: #aaa; }
.nsv-games .gl-divider {
    width: 1px;
    height: 28px;
    background: var(--line);
    margin: 0 6px;
    align-self: center;
}
.nsv-games .gl-empty { text-align: center; color: #aaa; padding: 40px 0; }
.nsv-games .gl-count { white-space: nowrap; }

/* دکمه‌های فروشگاه: تقسیم عرض بین لینک‌های موجود */
.nsv-games .store-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.nsv-games .store-row > .store {
    flex: 1 1 0;
    min-width: 200px;
}
.nsv-games .store-empty { color: #aaa; margin: 8px 0 0; }
.nsv-games .store .logo {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.nsv-games .store .logo img { width: 100%; height: 100%; object-fit: contain; }

/* تریلر: آپارات (iframe) یا ویدیوی کتابخانه */
.nsv-games .trailer { position: relative; overflow: hidden; padding: 0; }
.nsv-games .trailer iframe,
.nsv-games .trailer video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}
.nsv-games .trailer .lbl {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    background: rgba(0, 0, 0, .55);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
}

/* گالری تصاویر */
.nsv-games .thumb { padding: 0; overflow: hidden; }
.nsv-games .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* لایت‌باکس */
.nsv-games .lb-img {
    display: grid;
    place-items: center;
    overflow: auto;
    max-height: 70vh;
}
.nsv-games .lb-img img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    transform: scale(var(--z, 1));
    transition: transform .25s ease;
}

/* لایهٔ تزئینی روی کاور حذف شد تا عکس ۱۶:۹ کاملاً دیده شود */
.nsv-list .gl-cover:before,
.nsv-list .gl-cover:after { display: none !important; }

/* پلیر تریلر خود قالب: ویدیو تمام‌کادر، کاور، دکمهٔ پخش وسط، و نوار کنترل */
.nsv-single .vp {
    position: absolute;
    inset: 0;
    background: #000;
    border-radius: inherit;
    overflow: hidden;
}
.nsv-single .vp video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    cursor: pointer;
}
.nsv-single .vp > .play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(225, 6, 0, .85);
    border: 0;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 0 30px rgba(225, 6, 0, .6);
}
.nsv-single .vp.is-playing > .play { display: none; }
.nsv-single .vp .vc { z-index: 3; }
.nsv-single .vp .vc-btn svg { width: 20px; height: 20px; }

/* فاصلهٔ بالای صفحه دانلود از هدر ثابت سایت (تا «بازگشت به بازی‌ها» زیر هدر نرود) */
.nsv-single .wrap { padding-top: clamp(96px, 12vw, 130px) !important; }
