.featured-feed-section {
    position: relative;
    margin: 0 0 12px;
    padding: 16px 0 12px;
}

.featured-feed-section.featured-feed-skeleton {
    pointer-events: none;
}

.featured-feed-shell {
    position: relative;
    border: 1px solid rgba(251, 191, 36, 0.16);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(251, 191, 36, 0.12), transparent 35%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.featured-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
}

.featured-feed-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.featured-feed-title strong {
    color: #fde68a;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.featured-feed-title span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.featured-feed-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.featured-feed-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.18);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.featured-feed-nav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(251, 191, 36, 0.18);
    background: rgba(251, 191, 36, 0.08);
    color: #fde68a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.featured-feed-nav svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.featured-feed-nav:hover {
    transform: translateY(-1px);
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.14);
}

.featured-feed-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.featured-feed-skeleton .skeleton-pill,
.featured-feed-skeleton .skeleton-subtitle,
.featured-feed-skeleton .skeleton-counter,
.featured-skeleton-card {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
    background-size: 200% 100%;
    animation: featuredShimmer 1.35s linear infinite;
}

.featured-feed-skeleton .skeleton-pill {
    width: 104px;
    height: 24px;
    border-radius: 999px;
}

.featured-feed-skeleton .skeleton-subtitle {
    width: 160px;
    height: 12px;
    border-radius: 999px;
    margin-top: 10px;
}

.featured-feed-skeleton .skeleton-counter {
    width: 56px;
    height: 28px;
    border-radius: 999px;
}

.featured-feed-skeleton .skeleton-nav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
    background-size: 200% 100%;
    animation: featuredShimmer 1.35s linear infinite;
}

.featured-skeleton-card {
    position: relative;
    border-radius: 16px;
    min-height: 220px;
    border: 1px solid rgba(251, 191, 36, 0.12);
    flex: 0 0 auto;
}

@keyframes featuredShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.featured-post-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 340px);
    gap: 12px;
    overflow-x: auto;
    padding: 0 20px 16px;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.featured-post-rail::-webkit-scrollbar {
    display: none;
}

.featured-post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    scroll-snap-align: start;
    border: 1px solid rgba(251, 191, 36, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    min-height: 220px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.featured-post-card:hover {
    transform: translateY(-1px);
    border-color: rgba(251, 191, 36, 0.28);
}

.featured-card-glow {
    position: absolute;
    inset: auto -20% -35% -20%;
    height: 180px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2), transparent 62%);
    pointer-events: none;
    z-index: -1;
    filter: blur(12px);
}

.featured-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.featured-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.16);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.featured-card-pill svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.featured-card-count {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
}

.featured-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-card-author img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(251, 191, 36, 0.22);
    flex-shrink: 0;
}

.featured-card-author-copy {
    min-width: 0;
}

.featured-card-author-copy strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-card-author-copy span {
    display: block;
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
    margin-top: 2px;
}

.featured-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.featured-card-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 108px;
}

.featured-card-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 160px;
}

.featured-card-video {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    min-height: 132px;
    color: #fde68a;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(245, 158, 11, 0.06));
}

.featured-card-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.featured-card-play svg {
    width: 16px;
    height: 16px;
}

.featured-card-poll {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    min-height: 132px;
    color: #fde68a;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(245, 158, 11, 0.06));
}

.featured-poll-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.16);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.featured-poll-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.featured-poll-text {
    font-size: 13px;
    font-weight: 500;
}

.featured-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.featured-card-footer strong {
    color: #fff;
    font-weight: 700;
}

@media (max-width: 640px) {
    .featured-feed-header {
        padding: 14px 14px 10px;
    }

    .featured-post-rail {
        grid-auto-columns: minmax(78vw, 320px);
        padding: 0 16px 14px;
        scroll-padding-inline: 16px;
    }

    .featured-feed-controls {
        gap: 6px;
    }

    .featured-feed-nav {
        width: 30px;
        height: 30px;
    }
}
