/* Shorts: full-screen vertical feed, one clip per screen, snap scrolling.
   Mobile first: the feed covers the whole viewport with overlaid controls.
   Desktop (>= 900px): sits below the site header, clip framed in the middle,
   action rail beside it, comments slide in as a side panel. */

body.shorts-page {
    overflow: hidden;
    overscroll-behavior: none;
}

body.shorts-page footer {
    display: none;
}

.shorts-app {
    --shorts-top: 0px;
    --panel-w: 400px;
    position: fixed;
    inset: var(--shorts-top) 0 0 0;
    z-index: 1050;
    background: #000;
    color: #fff;
    overflow: hidden;
}

/* ---------- Top bar (mobile overlay) ---------- */
.shorts-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(8px + env(safe-area-inset-top)) 8px 8px;
    background: linear-gradient(rgba(0, 0, 0, 0.55), transparent);
    pointer-events: none;
}

.shorts-topbar > * {
    pointer-events: auto;
}

.shorts-topbar-title {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.shorts-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s, transform 0.1s;
}

.shorts-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.shorts-icon-btn:active {
    transform: scale(0.92);
}

.shorts-topbar-spacer {
    width: 44px;
}

/* Mute: top-right of the clip (sits in the top bar area on mobile) */
.short-mute-btn {
    position: absolute;
    top: calc(8px + env(safe-area-inset-top));
    right: 8px;
    z-index: 6;
}

/* Shown only when the browser blocked autoplay with sound */
.shorts-unmute-hint {
    position: absolute;
    top: calc(64px + env(safe-area-inset-top));
    left: 50%;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #000;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transform: translateX(-50%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    animation: shorts-hint-pulse 1.6s ease-in-out infinite;
}

.shorts-unmute-hint[hidden] {
    display: none;
}

@keyframes shorts-hint-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

@media (min-width: 900px) {
    .shorts-unmute-hint {
        top: 24px;
    }
}

/* ---------- Feed ---------- */
.shorts-feed {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    outline: none;
    transition: margin-right 0.25s ease;
}

.shorts-feed::-webkit-scrollbar {
    display: none;
}

.short-slide {
    position: relative;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.short-stage {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.short-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.short-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.short-tap {
    position: absolute;
    inset: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.short-play-indicator,
.short-heart-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.short-play-indicator {
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    font-size: 1.7rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.15s, transform 0.15s;
}

.short-play-indicator i {
    margin-left: 4px;
}

.short-slide.is-paused .short-play-indicator {
    opacity: 1;
    transform: scale(1);
}

.short-heart-burst {
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    font-size: 5.5rem;
    color: #ff2d6f;
    opacity: 0;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.short-heart-burst.burst {
    animation: short-heart-burst 0.7s ease-out;
}

@keyframes short-heart-burst {
    0% { opacity: 0; transform: scale(0.4); }
    20% { opacity: 1; transform: scale(1.15); }
    40% { transform: scale(0.95); }
    70% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.3) translateY(-20px); }
}

/* Title + meta, bottom-left over the video */
.short-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 60px 84px calc(18px + env(safe-area-inset-bottom)) 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    pointer-events: none;
}

.short-title {
    margin: 0 0 4px;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.short-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Progress bar: thin line, grows when touched/hovered */
.short-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: env(safe-area-inset-bottom);
    height: 16px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    touch-action: none;
    z-index: 2;
}

.short-progress::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    transition: height 0.15s;
}

.short-progress-fill {
    position: relative;
    height: 3px;
    width: 0;
    background: var(--primary-color, #ff9000);
    transition: height 0.15s;
}

.short-progress:hover::before,
.short-progress:hover .short-progress-fill,
.short-progress.seeking::before,
.short-progress.seeking .short-progress-fill {
    height: 6px;
}

/* Action rail: overlaid bottom-right on mobile */
.short-rail {
    position: absolute;
    right: 6px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.short-rail-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 56px;
    padding: 0;
    border: none;
    background: none;
    color: #fff;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.short-rail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    font-size: 1.25rem;
    transition: background-color 0.15s, transform 0.12s, color 0.15s;
}

.short-rail-btn:hover .short-rail-icon {
    background: rgba(255, 255, 255, 0.18);
}

.short-rail-btn:active .short-rail-icon {
    transform: scale(0.88);
}

.short-rail-btn:focus-visible .short-rail-icon {
    outline: 2px solid var(--primary-color, #ff9000);
    outline-offset: 2px;
}

.short-rail-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.short-like-btn.liked .short-rail-icon {
    color: #ff2d6f;
}

.short-save-btn.is-fav .short-rail-icon {
    color: #ffc233;
}

.short-save-btn.pop .short-rail-icon {
    animation: short-like-pop 0.35s ease-out;
}

.short-like-btn.pop .short-rail-icon {
    animation: short-like-pop 0.35s ease-out;
}

@keyframes short-like-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Up/down buttons: desktop only */
.shorts-nav {
    display: none;
}

.shorts-toast {
    position: absolute;
    left: 50%;
    bottom: calc(90px + env(safe-area-inset-bottom));
    z-index: 20;
    transform: translateX(-50%);
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(30, 30, 30, 0.95);
    font-size: 0.85rem;
    white-space: nowrap;
}

.shorts-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--muted-text, #aaa);
}

.shorts-empty a {
    color: var(--primary-color, #ff9000);
    margin-left: 4px;
}

/* ---------- Comments panel (bottom sheet on mobile) ---------- */
.shorts-comments-backdrop {
    position: absolute;
    inset: 0;
    z-index: 29;
    background: rgba(0, 0, 0, 0.45);
}

.shorts-comments {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    height: 72%;
    display: flex;
    flex-direction: column;
    background: #181818;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.28s;
}

.shorts-app.comments-open .shorts-comments {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

.shorts-comments.dragging {
    transition: none;
}

.shorts-comments-handle {
    flex-shrink: 0;
    width: 40px;
    height: 4px;
    margin: 8px auto 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.shorts-comments-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px 4px 16px;
    border-bottom: 1px solid var(--border-color, #333);
    /* undo the site-wide `header` rule (sticky nav bar styles) */
    position: static;
    z-index: auto;
    background: transparent;
    touch-action: none; /* drag-to-close area */
}

.shorts-comments-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.shorts-comments-count {
    color: var(--muted-text, #aaa);
    font-weight: 600;
    margin-left: 4px;
}

.shorts-comments-header .shorts-icon-btn {
    background: transparent;
}

.shorts-comments-list {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 16px;
}

.shorts-comments-state {
    padding: 40px 10px;
    text-align: center;
    color: var(--muted-text, #aaa);
    font-size: 0.9rem;
}

.shorts-comments-state i {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 10px;
    opacity: 0.6;
}

.sc-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
}

.sc-avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #fff;
    background: #555;
}

.sc-replies .sc-avatar {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
}

.sc-replies .sc-item {
    padding: 8px 0 0;
}

/* Same palette as the video page avatars (HtmlHelperExtensions.AvatarColorIndex) */
.avatar-color-0 { background-color: #e03131 !important; }
.avatar-color-1 { background-color: #e8590c !important; }
.avatar-color-2 { background-color: #d6336c !important; }
.avatar-color-3 { background-color: #ae3ec9 !important; }
.avatar-color-4 { background-color: #7048e8 !important; }
.avatar-color-5 { background-color: #1c7ed6 !important; }
.avatar-color-6 { background-color: #1098ad !important; }
.avatar-color-7 { background-color: #37b24d !important; }

.sc-body {
    flex: 1;
    min-width: 0;
}

.sc-head {
    font-size: 0.78rem;
    color: var(--muted-text, #aaa);
}

.sc-author {
    color: #ddd;
    font-weight: 700;
    margin-right: 6px;
}

.sc-text {
    margin: 2px 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #f1f1f1;
    white-space: pre-wrap;
    word-break: break-word;
}

.sc-reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    margin: 2px 0 0 -10px;
    padding: 4px 10px;
    border: none;
    border-radius: 999px;
    background: none;
    color: var(--muted-text, #aaa);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
}

.sc-reply-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sc-reply-btn[aria-pressed="true"] {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color, #ff9000);
}

.sc-replies-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    margin-left: -10px;
    padding: 4px 10px;
    border: none;
    border-radius: 999px;
    background: none;
    color: var(--primary-color, #ff9000);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.sc-replies-toggle:hover {
    background: rgba(255, 144, 0, 0.1);
}

.sc-replies[hidden] {
    display: none;
}

/* Composer */
.shorts-comment-form {
    flex-shrink: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-color, #333);
    background: #181818;
}

.shorts-replying {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--muted-text, #aaa);
}

.shorts-replying[hidden] {
    display: none;
}

.shorts-replying strong {
    color: #fff;
}

.shorts-replying button {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.shorts-comment-name,
.shorts-comment-input {
    width: 100%;
    border: 1px solid var(--border-color, #333);
    border-radius: 18px;
    background: #0f0f0f;
    color: #fff;
    font-family: inherit;
    font-size: 16px; /* >= 16px stops iOS from zooming on focus */
    outline: none;
}

.shorts-comment-name {
    height: 36px;
    padding: 0 14px;
    margin-bottom: 8px;
    font-size: 14px;
}

.shorts-comment-name:focus,
.shorts-comment-input:focus {
    border-color: var(--primary-color, #ff9000);
}

.shorts-comment-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.shorts-comment-input {
    flex: 1;
    min-height: 40px;
    max-height: 120px;
    padding: 9px 14px;
    resize: none;
    line-height: 1.35;
}

.shorts-comment-send {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color, #ff9000);
    color: #000;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
}

.shorts-comment-send:disabled {
    opacity: 0.35;
    cursor: default;
}

.shorts-comment-send:not(:disabled):active {
    transform: scale(0.9);
}

.shorts-comment-meta {
    display: flex;
    justify-content: flex-end;
    padding: 4px 6px 0;
    font-size: 0.72rem;
    color: var(--muted-text, #aaa);
}

.shorts-comment-meta .limit {
    color: var(--danger-color, #ff4444);
}

@media (prefers-reduced-motion: reduce) {
    .shorts-comments,
    .shorts-feed,
    .short-heart-burst.burst,
    .short-like-btn.pop .short-rail-icon,
    .short-save-btn.pop .short-rail-icon {
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
    .shorts-app {
        --shorts-top: 61px; /* site header height; refined by shorts.js */
        background: var(--bg-color, #0f0f0f);
    }

    .shorts-topbar {
        display: none;
    }

    .short-stage {
        gap: 14px;
        padding: 16px 0;
    }

    .short-frame {
        width: auto;
        height: 100%;
        aspect-ratio: 9 / 16;
        max-width: calc(100vw - 260px);
        border-radius: 14px;
    }

    .short-info {
        padding-right: 14px;
    }

    .short-rail {
        position: static;
        align-self: flex-end;
        margin-bottom: 8px;
    }

    .short-rail-icon {
        background: rgba(255, 255, 255, 0.1);
    }

    .short-rail-label {
        text-shadow: none;
    }

    .shorts-nav {
        position: absolute;
        right: 24px;
        top: 50%;
        z-index: 4;
        display: flex;
        flex-direction: column;
        gap: 12px;
        transform: translateY(-50%);
        transition: right 0.25s ease;
    }

    .shorts-nav-btn {
        width: 52px;
        height: 52px;
        border: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background-color 0.15s, opacity 0.15s;
    }

    .shorts-nav-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .shorts-nav-btn:disabled {
        opacity: 0.3;
        cursor: default;
    }

    /* Side panel instead of bottom sheet; the feed makes room for it */
    .shorts-comments-backdrop {
        display: none;
    }

    .shorts-comments {
        left: auto;
        top: 16px;
        right: 16px;
        bottom: 16px;
        width: var(--panel-w);
        height: auto;
        border: 1px solid var(--border-color, #333);
        border-radius: 14px;
        box-shadow: none;
        transform: translateX(calc(100% + 24px));
    }

    .shorts-app.comments-open .shorts-comments {
        transform: translateX(0);
    }

    .shorts-app.comments-open .shorts-feed {
        margin-right: calc(var(--panel-w) + 16px);
    }

    .shorts-app.comments-open .shorts-nav {
        right: calc(var(--panel-w) + 40px);
    }

    .shorts-comments-handle {
        display: none;
    }

    .shorts-comments-header {
        padding: 10px 8px 10px 18px;
        touch-action: auto;
    }

    .shorts-toast {
        bottom: 40px;
    }
}

/* ---------- In-feed VAST ad slides ---------- */
.short-ad-loading {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.short-ad.is-loading .short-ad-loading {
    display: flex;
}

.short-ad-badge {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top));
    left: 12px;
    z-index: 5;
    padding: 3px 9px;
    border-radius: 4px;
    background: rgba(255, 196, 0, 0.95);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    pointer-events: none;
}

.short-ad-time {
    font-weight: 600;
}

.short-ad-skip {
    position: absolute;
    right: 0;
    bottom: calc(110px + env(safe-area-inset-bottom));
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-right: none;
    border-radius: 6px 0 0 6px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.short-ad-skip[hidden] {
    display: none;
}

.short-ad-skip:disabled {
    cursor: default;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.short-ad-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 60px 14px calc(24px + env(safe-area-inset-bottom));
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    pointer-events: none;
}

.short-ad-domain {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.short-ad-domain:empty {
    display: none;
}

.short-ad-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    background: var(--primary-color, #ff9000);
    color: #000;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    pointer-events: auto;
}

.short-ad-cta[hidden],
.short-ad.is-loading .short-ad-bottom {
    display: none;
}

.short-ad .short-progress {
    cursor: default;
    z-index: 5;
}

@media (min-width: 900px) {
    .short-ad-rail {
        min-width: 56px;
    }

    .short-ad-badge {
        top: 14px;
    }
}

/* ---------- Tag / model chips under the title, and the active-filter chip ---------- */
.feed-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.feed-chip {
    pointer-events: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.feed-chip i { margin-right: 4px; font-size: 0.7rem; }

.feed-chip:hover,
.feed-chip:active {
    background: var(--primary-color, #ff9000);
    color: #000;
}

.feed-chip-model { background: rgba(255, 144, 0, 0.25); }

.feed-filter-chip {
    position: absolute;
    top: calc(56px + env(safe-area-inset-top));
    left: 50%;
    z-index: 6;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

@media (min-width: 900px) {
    .feed-filter-chip { top: 16px; }
}

/* Image slides: a tap hides the overlays so the picture can be seen on its own. */
.shorts-app .shorts-topbar,
.shorts-app .short-info,
.shorts-app .short-rail,
.shorts-app .feed-filter-chip {
    transition: opacity 0.2s ease;
}

.shorts-app.ui-hidden .shorts-topbar,
.shorts-app.ui-hidden .short-info,
.shorts-app.ui-hidden .short-rail,
.shorts-app.ui-hidden .feed-filter-chip {
    opacity: 0;
    pointer-events: none;
}

.shorts-app.ui-hidden .short-info a,
.shorts-app.ui-hidden .short-rail * {
    pointer-events: none;
}
