.shorts-page {
    max-width: 520px;
    margin: 0 auto;
}

.shorts-status {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.shorts-wrap {
    position: relative;
}

.shorts-feed {
    height: calc(100vh - 150px);
    height: calc(100dvh - 150px);
    min-height: 420px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    outline: none;
}

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

.short {
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    justify-content: center;
    padding-bottom: 8px;
}

.short-frame {
    position: relative;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    overflow: hidden;
    background: #000 center / cover no-repeat;
}

.short-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.short-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 36px 14px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    pointer-events: none;
}

.short-caption h2 {
    margin: 0 0 4px;
    font-size: 0.98rem;
    line-height: 1.3;
}

.short-caption p {
    margin: 0 0 8px;
    font-size: 0.82rem;
    opacity: 0.85;
}

.short-caption a {
    pointer-events: auto;
    display: inline-block;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.8rem;
    text-decoration: none;
}

.short-origin {
    margin-left: 6px;
    border-radius: 4px;
    padding: 1px 6px;
    background: rgba(239, 68, 68, 0.85);
    font-size: 0.68rem;
    font-weight: 700;
}

.shorts-nav {
    position: absolute;
    right: -52px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shorts-nav button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.16);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
}

.shorts-nav button:hover {
    background: rgba(148, 163, 184, 0.3);
}

@media (max-width: 700px) {
    .shorts-nav {
        right: 8px;
    }
}
