.sidebar-pop-3d {
    position: relative;
}

.sidebar-pop-3d__shell {
    position: relative;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #c20000 0%, #ea580c 28%, #1f6fd1 55%, #7c3aed 82%, #22a54c 100%);
    box-shadow:
        0 14px 30px rgba(194, 0, 0, 0.14),
        0 6px 14px rgba(0, 31, 63, 0.1);
    overflow: hidden;
}

.sidebar-pop-3d__shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.42) 48%, transparent 72%);
    transform: translateX(-120%);
    animation: sidebarPopShine 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes sidebarPopShine {
    0%,
    100% {
        transform: translateX(-120%);
    }

    45%,
    55% {
        transform: translateX(120%);
    }
}

.sidebar-pop-3d__body {
    position: relative;
    z-index: 1;
    padding: 0.95rem 0.9rem 1rem;
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0%, rgba(194, 0, 0, 0.1) 0%, transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(31, 111, 209, 0.1) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.sidebar-pop-3d__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(10, 45, 92, 0.08);
}

.sidebar-pop-3d__header-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.sidebar-pop-3d__header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(145deg, #c20000 0%, #ea580c 45%, #1f6fd1 100%);
    box-shadow: 0 4px 10px rgba(194, 0, 0, 0.28);
}

.sidebar-pop-3d__header-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(90deg, #7f1d1d 0%, #ea580c 45%, #1f6fd1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sidebar-pop-3d__count-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #7f1d1d;
    background: rgba(194, 0, 0, 0.08);
    border: 1px solid rgba(194, 0, 0, 0.16);
    white-space: nowrap;
}

.sidebar-pop-3d__list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-pop-3d__item {
    margin: 0;
}

.sidebar-pop-3d__link {
    display: grid;
    grid-template-columns: auto 72px 1fr;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.6rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.9) 100%);
    border: 1px solid rgba(31, 111, 209, 0.1);
    box-shadow: 0 3px 8px rgba(0, 31, 63, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sidebar-pop-3d__link:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 111, 209, 0.24);
    box-shadow: 0 8px 18px rgba(31, 111, 209, 0.14);
}

.sidebar-pop-3d__item:nth-child(1) .sidebar-pop-3d__rank {
    background: linear-gradient(145deg, #c20000, #ea580c);
}

.sidebar-pop-3d__item:nth-child(2) .sidebar-pop-3d__rank {
    background: linear-gradient(145deg, #ea580c, #f59e0b);
}

.sidebar-pop-3d__item:nth-child(3) .sidebar-pop-3d__rank {
    background: linear-gradient(145deg, #1f6fd1, #22a54c);
}

.sidebar-pop-3d__item:nth-child(4) .sidebar-pop-3d__rank,
.sidebar-pop-3d__item:nth-child(5) .sidebar-pop-3d__rank {
    background: linear-gradient(145deg, #7c3aed, #1f6fd1);
}

.sidebar-pop-3d__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 3px 8px rgba(0, 31, 63, 0.18);
}

.sidebar-pop-3d__thumb-wrap {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 31, 63, 0.12);
}

.sidebar-pop-3d__thumb {
    display: block;
    width: 72px;
    height: 54px;
    object-fit: cover;
}

.sidebar-pop-3d__content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.sidebar-pop-3d__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f2744;
}

.sidebar-pop-3d__date {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
}
