/**
 * Single post (video) — refined UI
 * Scoped: .single-refined
 */

.single-refined .single-page-layout.single-video-layout {
    max-width: 1320px;
    margin: 1rem auto 2rem;
    padding: 0 16px;
    gap: 20px;
}

.single-refined .single-main.site-main {
    min-width: 0;
}

/* ── Player block ────────────────────────────────────────────── */
.single-refined .single-player-block {
    margin-bottom: 0.75rem;
}

.single-refined .video-player-section {
    margin-bottom: 0;
}

.single-refined .video-player-wrapper {
    border-radius: 14px;
    overflow: hidden;
    background: #0a0c12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

.single-refined .player-footer-container {
    margin: 12px 0 0;
    padding: 0;
}

.single-refined .player-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.single-refined .video-player-stats {
    width: 100%;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    gap: 10px;
}

.single-refined .like-dislike-container,
.single-refined .view-counter-player {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.single-refined .like-btn:hover {
    color: #7ee787;
    background: rgba(76, 175, 80, 0.12);
}

.single-refined .dislike-btn:hover {
    color: #ff8a9b;
    background: rgba(255, 71, 87, 0.12);
}

/* ── Info panel ──────────────────────────────────────────────── */
.single-refined .single-info-panel.video-info-combined {
    margin: 1rem 0 1.5rem;
    padding: 1.25rem 1.15rem;
    background: var(--detube-surface-soft, linear-gradient(180deg, rgba(22, 24, 35, 0.65) 0%, rgba(15, 17, 24, 0.45) 100%));
    border: 1px solid var(--detube-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--detube-radius-lg, 16px);
    box-shadow: var(--detube-shadow, 0 6px 24px rgba(0, 0, 0, 0.25));
}

.single-refined .video-title-single {
    margin: 0 0 1rem;
    padding-left: 12px;
    border-left: 3px solid #ff4757;
    font-size: clamp(1.1rem, 3.5vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    letter-spacing: -0.02em;
}

.single-refined .entry-content-part .entry-content {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
}

.single-refined .entry-content-part .entry-content p {
    margin-bottom: 0.65rem;
}

.single-refined .video-meta-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.single-refined .video-actors-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.single-refined .actors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-refined .video-actors-section .actor-item a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.single-refined .video-actors-section .actor-item:hover a {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.35);
}

.single-refined .video-actors-section .actor-item img {
    width: 36px !important;
    height: 36px !important;
    border: 2px solid rgba(255, 71, 87, 0.35);
}

.single-refined .video-category-section {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.single-refined .video-category-section .category-item {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
}

.single-refined .video-category-section .category-item:hover {
    background: rgba(255, 71, 87, 0.12) !important;
    border-color: rgba(255, 71, 87, 0.35) !important;
}

/* ── Related videos (single-refined) ─────────────────────────── */
.single-refined .related-videos-section {
    margin-top: 1.5rem;
    padding: 0;
    border-top: none;
}

.single-refined .related-videos-panel {
    padding: 1.25rem 1.15rem 1.35rem;
    background: var(--detube-surface, linear-gradient(165deg, rgba(24, 26, 38, 0.95) 0%, rgba(12, 14, 22, 0.98) 100%));
    border: 1px solid var(--detube-border, rgba(255, 255, 255, 0.08));
    border-radius: var(--detube-radius-lg, 16px);
    box-shadow: var(--detube-shadow, 0 10px 32px rgba(0, 0, 0, 0.28));
}

.single-refined .related-videos-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1.15rem;
}

.single-refined .related-videos-header-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.single-refined .related-videos-header-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 65, 108, 0.22), rgba(255, 71, 87, 0.1));
    border: 1px solid rgba(255, 71, 87, 0.28);
    color: #ff6b7a;
    font-size: 1rem;
}

.single-refined .related-videos-heading {
    margin: 0;
    padding-left: 0;
    border: none;
    font-size: clamp(1rem, 2.4vw, 1.15rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.single-refined .related-videos-subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

.single-refined .related-videos-count-badge {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ff8a9b;
    background: rgba(255, 71, 87, 0.12);
    border: 1px solid rgba(255, 71, 87, 0.25);
    border-radius: 999px;
    white-space: nowrap;
}

.single-refined .related-videos-section .section-title {
    display: none;
}

.single-refined .related-videos-grid {
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: none !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    .single-refined .related-videos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

@media (min-width: 1200px) {
    .single-refined .related-videos-grid {
        gap: 18px !important;
    }
}

.single-refined .related-video-card.hidden-video {
    display: none !important;
}

/* Ghi đè style.css nth-child(n+7) — dùng class hidden-video */
body.single-refined .related-videos-section .related-video-card:not(.hidden-video) {
    display: block !important;
}

.single-refined .related-video-card.card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.single-refined .related-video-card.is-revealing {
    animation: relatedCardReveal 0.35s ease-out;
}

@keyframes relatedCardReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.single-refined .related-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.single-refined .related-card-link:focus-visible {
    outline: 2px solid #ff4757;
    outline-offset: 3px;
    border-radius: 12px;
}

@media (hover: hover) and (pointer: fine) {
    .single-refined .related-video-card:hover {
        transform: translateY(-3px);
        border-color: rgba(255, 71, 87, 0.35);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    }

    .single-refined .related-video-card:hover .related-video-title {
        color: #ff8a9b;
    }

    .single-refined .related-video-card:hover .thumb img {
        transform: scale(1.04);
    }

    .single-refined .related-video-card:hover .related-play-overlay {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.single-refined .related-video-card .thumb {
    position: relative;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0a0c12;
}

.single-refined .related-video-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-refined .related-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.92);
    color: #fff;
    font-size: 0.85rem;
    padding-left: 3px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}

.single-refined .related-video-card .thumb .category-chip {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: rgba(192, 0, 0, 0.9);
    border-radius: var(--radius-sm, 6px);
    line-height: 1.2;
    pointer-events: none;
}

.single-refined .related-video-card .meta {
    padding: 10px 10px 12px;
    flex: 1;
}

.single-refined .related-video-title {
    margin: 0;
    font-size: 0.875rem !important;
    font-weight: 500;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.92);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-refined .related-videos-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.single-refined .related-videos-progress {
    width: 100%;
    max-width: 420px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.single-refined .related-videos-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff416c, #ff4757);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.single-refined .related-videos-status {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.single-refined .related-videos-footer .load-more-btn,
.single-refined .related-load-more-btn {
    width: 100%;
    max-width: 360px;
    min-height: 48px;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.35) !important;
}

.single-refined .related-load-more-btn.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

.single-refined .related-load-more-btn.is-loading .btn-icon {
    animation: relatedLoadSpin 0.8s linear infinite;
}

@keyframes relatedLoadSpin {
    to {
        transform: rotate(360deg);
    }
}

.single-refined .related-videos-footer.is-complete .related-videos-progress,
.single-refined .related-videos-footer.is-complete .related-load-more-btn {
    display: none;
}

.single-refined .no-related-videos {
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.single-refined .no-related-videos .no-related-icon {
    font-size: 2rem;
    color: rgba(255, 71, 87, 0.45);
    margin-bottom: 0.75rem;
}

.single-refined .no-related-videos p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

/* ── Sidebar gợi ý phim ──────────────────────────────────────── */
.single-refined .single-page-layout.single-video-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    align-items: start;
}

.single-refined .simple-sidebar.sidebar-recommend {
    position: sticky;
    top: 88px;
    min-width: 0;
    width: 100%;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 !important;
    background: var(--detube-surface, linear-gradient(165deg, rgba(28, 30, 44, 0.98) 0%, rgba(14, 16, 24, 0.99) 100%)) !important;
    border: 1px solid var(--detube-border, rgba(255, 255, 255, 0.09)) !important;
    border-radius: var(--detube-radius-lg, 18px) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 12px 40px rgba(0, 0, 0, 0.45);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 71, 87, 0.35) transparent;
}

.single-refined .simple-sidebar.sidebar-recommend::before {
    content: '';
    display: block;
    height: 3px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, #ff416c, #ff4757 45%, rgba(255, 71, 87, 0.2));
}

.single-refined .simple-sidebar.sidebar-recommend::-webkit-scrollbar {
    width: 5px;
}

.single-refined .simple-sidebar.sidebar-recommend::-webkit-scrollbar-thumb {
    background: rgba(255, 71, 87, 0.35);
    border-radius: 4px;
}

.single-refined .sidebar-panel-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 1.1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.single-refined .sidebar-panel-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 65, 108, 0.25), rgba(255, 71, 87, 0.12));
    border: 1px solid rgba(255, 71, 87, 0.25);
    color: #ff6b7a;
}

.single-refined .sidebar-panel-titles {
    min-width: 0;
    flex: 1;
}

.single-refined .sidebar-panel-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff8a9b;
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.25);
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.single-refined .sidebar-panel-title {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #fff !important;
    letter-spacing: -0.01em;
}

.single-refined .sidebar-panel-desc {
    margin: 4px 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.45);
}

.single-refined .sidebar-movies-list {
    padding: 0.75rem 0.65rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-refined .sidebar-movies-list .top-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    text-decoration: none !important;
    color: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease !important;
}

.single-refined .sidebar-movies-list .top-item:hover {
    background: rgba(255, 71, 87, 0.08) !important;
    border-color: rgba(255, 71, 87, 0.35) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

.single-refined .sidebar-movies-list .top-thumb {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    background: #0a0c12;
}

.single-refined .sidebar-movies-list .top-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease !important;
}

.single-refined .sidebar-movies-list .top-item:hover .top-thumb img {
    transform: scale(1.04) !important;
}

.single-refined .sidebar-movies-list .top-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.single-refined .sidebar-card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.92);
    color: #fff;
    font-size: 11px;
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.single-refined .sidebar-movies-list .top-item:hover .sidebar-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.single-refined .sidebar-movies-list .top-rank {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 2;
    min-width: 26px !important;
    padding: 3px 7px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 6px !important;
    background: rgba(0, 0, 0, 0.72) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(6px);
}

.single-refined .sidebar-movies-list .top-item:nth-child(1) .top-rank {
    background: linear-gradient(135deg, #ff416c, #ff4757) !important;
    border-color: transparent !important;
}

.single-refined .sidebar-movies-list .top-item:nth-child(2) .top-rank,
.single-refined .sidebar-movies-list .top-item:nth-child(3) .top-rank {
    background: rgba(255, 71, 87, 0.85) !important;
    border-color: transparent !important;
}

.single-refined .sidebar-movies-list .top-content {
    padding: 8px 10px 10px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.single-refined .sidebar-movies-list .top-title {
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.single-refined .sidebar-movies-list .top-view {
    margin-top: 4px;
    font-size: 0.68rem !important;
    color: rgba(255, 255, 255, 0.42) !important;
    display: flex;
    align-items: center;
    gap: 4px;
}

.single-refined .sidebar-movies-list .top-view::before {
    content: '';
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff4757'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.7;
}

/* Loading & empty states */
.single-refined .sidebar-state {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-refined .sidebar-skeleton-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.single-refined .sidebar-skeleton-thumb {
    aspect-ratio: 16 / 9;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.09) 50%,
        rgba(255, 255, 255, 0.04) 100%
    );
    background-size: 200% 100%;
    animation: sidebar-shimmer 1.4s ease-in-out infinite;
}

.single-refined .sidebar-skeleton-lines {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.single-refined .sidebar-skeleton-lines span {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    animation: sidebar-shimmer 1.4s ease-in-out infinite;
}

.single-refined .sidebar-skeleton-lines span:first-child {
    width: 88%;
}

.single-refined .sidebar-skeleton-lines span:last-child {
    width: 55%;
    animation-delay: 0.15s;
}

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

.single-refined .sidebar-empty,
.single-refined .sidebar-error {
    text-align: center;
    padding: 1.25rem 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.single-refined .sidebar-empty {
    color: rgba(255, 255, 255, 0.5);
}

.single-refined .sidebar-error {
    color: #ff8a9b;
    background: rgba(255, 71, 87, 0.06);
}

/* ── Mobile: layout rộng, thumbnail related to hơn ───────────── */
@media (max-width: 768px) {
    .single-refined .single-page-layout.single-video-layout {
        padding: 0 4px;
        margin-top: 0.5rem;
        gap: 12px;
    }

    .single-refined .video-player-wrapper {
        border-radius: 10px;
    }

    .single-refined .single-info-panel.video-info-combined {
        padding: 1rem 0.65rem;
        border-radius: 12px;
        margin-left: 0;
        margin-right: 0;
    }

    .single-refined .related-videos-panel {
        padding: 1rem 0.65rem 1.1rem;
        border-radius: 12px;
    }

    .single-refined .related-videos-header {
        flex-wrap: wrap;
        margin-bottom: 0.9rem;
    }

    .single-refined .related-videos-header-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .single-refined .related-videos-subtitle {
        font-size: 0.72rem;
    }

    .single-refined .related-videos-grid {
        gap: 8px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .single-refined .related-video-card .meta {
        padding: 8px 6px 10px;
    }

    .single-refined .related-video-title {
        font-size: 0.78rem !important;
        -webkit-line-clamp: 2;
    }

    .single-refined .related-play-overlay {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }

    .single-refined .related-videos-footer .load-more-btn,
    .single-refined .related-load-more-btn {
        max-width: none;
    }

    .single-refined .single-page-layout.single-video-layout {
        grid-template-columns: 1fr !important;
    }

    .single-refined .simple-sidebar.sidebar-recommend {
        position: relative;
        top: auto;
        max-height: none;
        order: 2;
        margin-top: 0.25rem;
    }

    .single-refined .sidebar-panel-header {
        padding: 1rem 0.85rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .single-refined .single-page-layout.single-video-layout {
        padding: 0 2px;
    }

    .single-refined .related-videos-grid {
        gap: 4px !important;
    }

    .single-refined .player-footer {
        padding: 8px;
    }

    .single-refined .like-btn,
    .single-refined .dislike-btn {
        padding: 5px 6px;
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .single-refined .related-video-card,
    .single-refined .related-video-card .thumb img,
    .single-refined .related-video-card.is-revealing {
        transition: none;
        animation: none;
    }

    .single-refined .related-play-overlay {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .single-refined .related-video-card:hover {
        transform: none;
    }

    .single-refined .sidebar-skeleton-thumb,
    .single-refined .sidebar-skeleton-lines span {
        animation: none;
    }

    .single-refined .sidebar-movies-list .top-item:hover {
        transform: none;
    }
}
