/* Карточки роликов для гостей: общие для страниц /v и главной гостя. Только классы .gv-*, глобальных правил нет. */
.gv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 560px) {
    .gv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.gv-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    background: linear-gradient(160deg, #2b3340, #12151a);
    color: #f5f7fa;
    text-decoration: none;
}

.gv-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.gv-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 11, 13, 0.55);
    font-size: 16px;
    transform: translate(-50%, -50%);
}

.gv-card-name {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}


/* Главная гостя: ряд роликов в одну строку с прокруткой */
.gv-home { margin: 20px 0; }

.gv-home-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.gv-home-head h3 { margin: 0; font-size: 20px; font-weight: 800; }

.gv-home-head a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    font-weight: 800;
    opacity: 0.8;
}

.gv-rail {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0 0 4px;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.gv-rail::-webkit-scrollbar { display: none; }

.gv-rail > li { flex: 0 0 120px; scroll-snap-align: start; }
