/* Force grid to expand fully and stop parent wrappers from cutting it off */
.shorts-gallery-grid-e88be4cc {
    display: grid !important;
    gap: 15px;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.shorts-gallery-item-e88be4cc {
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    height: 100%;
}

.shorts-gallery-item-e88be4cc:hover {
    transform: translateY(-5px);
}

.shorts-thumb-wrapper-e88be4cc {
    position: relative;
    aspect-ratio: 9/16;
    width: 100%;
    background: #222;
    overflow: hidden;
    border-radius: inherit;
}

.shorts-thumb-wrapper-e88be4cc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shorts-play-icon-e88be4cc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.shorts-title-e88be4cc {
    padding: 10px 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Force exactly 1x1 on mobile (hide all items except the first one) */
@media (max-width: 767px) {
    .shorts-gallery-grid-e88be4cc {
        display: block !important;
    }
    .shorts-gallery-item-e88be4cc {
        display: none !important;
    }
    .shorts-gallery-item-e88be4cc:first-child {
        display: flex !important;
    }
    .shorts-thumb-wrapper-e88be4cc {
        aspect-ratio: 1/1;
    }
}

/* Lightbox Styles */
.shorts-lightbox-overlay-e88be4cc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.shorts-lightbox-overlay-e88be4cc.is-open {
    opacity: 1;
    pointer-events: auto;
}

.shorts-lightbox-close-e88be4cc {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 999999;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    line-height: 1;
}

.shorts-slider-container-e88be4cc {
    width: 100%;
    height: 100%;
    max-width: 450px;
    margin: 0 auto;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background: #000;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.short-slide-e88be4cc {
    height: 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #000;
}

.short-slide-placeholder-e88be4cc {
    width: 100%;
    height: 100%;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
}

.short-slide-placeholder-e88be4cc::after {
    content: "";
    width: 40px;
    height: 40px;
    border: 4px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: shorts-spin-e88be4cc 1s linear infinite;
}

@keyframes shorts-spin-e88be4cc {
    to { transform: rotate(360deg); }
}

.short-slide-e88be4cc iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
}