body.shorts-mode {
    background: #050505;
}

.shorts-shell {
    padding-top: 10px;
    padding-bottom: 32px;
}

.shorts-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0 14px;
}

.shorts-toolbar__copy {
    min-width: 0;
}

.shorts-toolbar__eyebrow {
    margin: 0 0 6px;
    color: #ff9b63;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.shorts-toolbar h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.02;
}

.shorts-toolbar__summary {
    margin: 10px 0 0;
    max-width: 720px;
    color: #a9a9a9;
    font-size: 15px;
    line-height: 1.45;
}

.shorts-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.shorts-focus-strip {
    margin-bottom: 14px;
}

.shorts-feed {
    display: grid;
    gap: 18px;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
}

.short-card {
    min-height: calc(100dvh - 164px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.short-card__surface {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: inherit;
    border: 1px solid #242424;
    border-radius: 8px;
    overflow: hidden;
    background: #070707;
}

.short-card__backdrop {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(34px);
    transform: scale(1.08);
    opacity: 0.24;
}

.short-card__surface::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.46) 58%, rgba(0, 0, 0, 0.88) 100%);
}

.short-card__stage,
.short-card__overlay {
    position: relative;
    z-index: 1;
}

.short-card__stage {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    min-width: 0;
}

.short-card__player-shell {
    position: relative;
    width: min(100%, 440px);
    height: min(78dvh, 820px);
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.42);
}

.short-card__poster,
.short-card__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.short-card__poster {
    object-fit: cover;
    transition: opacity 0.24s ease;
}

.short-card__iframe {
    border: 0;
    background: #000;
    opacity: 0;
    transition: opacity 0.24s ease;
}

.short-card.is-loaded .short-card__poster {
    opacity: 0;
    pointer-events: none;
}

.short-card.is-loaded .short-card__iframe {
    opacity: 1;
}

.short-card__overlay {
    width: min(420px, 36vw);
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    padding: 24px 24px 28px 0;
}

.short-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.short-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f1f1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.short-card__copy {
    display: grid;
    gap: 10px;
}

.short-card__title-link {
    color: inherit;
    text-decoration: none;
}

.short-card__title-link h2 {
    margin: 0;
    font-size: clamp(28px, 3.1vw, 44px);
    font-weight: 800;
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.short-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #cfcfcf;
    font-size: 14px;
}

.short-card__dot {
    opacity: 0.55;
}

.chip-list--shorts {
    gap: 8px;
}

.short-card__actions {
    display: grid;
    gap: 10px;
    width: min(100%, 320px);
}

.short-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.short-action--primary {
    background: #ff6500;
    color: #fff;
}

.short-action--primary:hover {
    background: #ff7a1f;
}

.short-action--secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f1f1;
}

.short-action--secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.short-card--stack-nav {
    min-height: auto;
}

.short-card__stack-nav,
.shorts-empty {
    display: grid;
    gap: 12px;
    justify-items: start;
    padding: 28px;
    border: 1px solid #242424;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.96), rgba(10, 10, 10, 0.96));
}

.short-card__stack-nav h2,
.shorts-empty h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.05;
}

.short-card__stack-nav p,
.shorts-empty p {
    margin: 0;
    color: #a9a9a9;
    font-size: 15px;
    line-height: 1.45;
    max-width: 560px;
}

@media (max-width: 1120px) {
    .short-card {
        min-height: calc(100dvh - 154px);
    }

    .short-card__surface {
        flex-direction: column;
    }

    .short-card__surface::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.32) 38%, rgba(0, 0, 0, 0.9) 100%);
    }

    .short-card__stage {
        padding: 14px 14px 0;
    }

    .short-card__player-shell {
        width: min(100%, 520px);
        height: min(62dvh, 700px);
    }

    .short-card__overlay {
        width: 100%;
        min-width: 0;
        padding: 18px 16px 20px;
        gap: 14px;
    }

    .short-card__title-link h2 {
        font-size: clamp(24px, 6.8vw, 36px);
    }

    .short-card__actions {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .shorts-shell {
        padding-top: 6px;
        padding-bottom: 18px;
    }

    .shorts-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 12px;
    }

    .shorts-toolbar__summary {
        margin-top: 8px;
        font-size: 14px;
    }

    .shorts-focus-strip {
        margin-bottom: 10px;
    }

    .shorts-feed {
        gap: 12px;
    }

    .short-card {
        min-height: calc(100dvh - 164px);
    }

    .short-card__stage {
        padding: 10px 10px 0;
    }

    .short-card__player-shell {
        width: 100%;
        height: min(58dvh, 520px);
    }

    .short-card__badges {
        gap: 6px;
    }

    .short-pill {
        min-height: 30px;
        padding: 0 11px;
        font-size: 11px;
    }

    .short-card__meta {
        font-size: 13px;
    }

    .short-card__actions {
        grid-template-columns: 1fr;
    }

    .short-card__stack-nav,
    .shorts-empty {
        padding: 20px 16px;
    }
}
