/* === USER CHANNEL PAGE STYLES === */
/* Extends channels.css with user-specific elements */

/* Page Layout */
.pp-channel-page-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    padding: 0 8.33vw;
    min-height: calc(100vh - 150px);
}

.pp-channel-main-content {
    min-width: 0;
}

/* Channel Hero Section */
.pp-channel-hero {
    padding: 0;
}

.pp-channel-hero-container {
    padding: 40px 60px 0 60px;
}

/* User Channel Hero - with cover image as background */
.pp-userchannel-hero .pp-channel-hero-container {
    min-height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Cover image with 30% opacity using pseudo-element */
.pp-userchannel-hero .pp-channel-hero-container.has-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--cover-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

/* Gradient overlay - Light theme */
.pp-userchannel-hero .pp-channel-hero-container.has-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(227, 236, 255, 0.30) -48.79%, #E3ECFF 108.47%);
    z-index: 1;
}

/* Gradient overlay - Dark theme */
.theme-dark .pp-userchannel-hero .pp-channel-hero-container.has-cover::after {
    background: linear-gradient(180deg, rgba(1, 15, 41, 0.00) -48.79%, #00143A 108.47%);
}

/* Make sure content is above the overlays */
.pp-userchannel-hero .pp-channel-hero-content,
.pp-userchannel-hero .pp-channel-tabs {
    position: relative;
    z-index: 2;
}

.pp-userchannel-hero .pp-channel-hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 40px;
}

/* Desktop: subscribe button aligned right */
.pp-userchannel-hero .pp-channel-subscribe {
    align-self: center;
}

/* Tabs at bottom */
.pp-userchannel-hero .pp-channel-tabs {
    margin-top: auto;
}

/* Profile Image - left side */
.pp-userchannel-profile-image {
    width: 160px;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    align-self: center;
}

.pp-userchannel-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Theme-aware default avatar */
.pp-userchannel-profile-image .pp-avatar-dark {
    display: none;
}

.theme-dark .pp-userchannel-profile-image .pp-avatar-light {
    display: none;
}

.theme-dark .pp-userchannel-profile-image .pp-avatar-dark {
    display: block;
}

.pp-channel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pp-channel-subscribers {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
}

.pp-channel-subscribers svg {
    width: 24px;
    height: 24px;
}

.pp-channel-subscribers strong {
    color: var(--text);
    font-weight: 700;
}

.pp-channel-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pp-channel-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
}

.pp-channel-created {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text);
}

.pp-channel-created a {
    color: var(--accent);
    text-decoration: none;
}

.pp-channel-created a:hover {
    text-decoration: underline;
}

.pp-channel-created strong {
    font-weight: 700;
}

.pp-channel-meta-separator {
    margin: 0 15px;
    opacity: 0.5;
}

.pp-channel-subscribe {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.pp-channel-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Subscribe Button */
.pp-subscribe-btn {
    width: 220px;
    height: 40px;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 24px 48px 0 rgba(247, 60, 94, 0.15);
}

.pp-subscribe-btn:hover {
    background: var(--primary-2);
    transform: translateY(-2px);
}

/* Subscribe button text via ::after */
#subscribe.subscribe-button::after {
    content: 'Subscribe Channel';
}

#subscribe.unsubscribe-button {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

#subscribe.unsubscribe-button::after {
    content: 'Subscribed';
}

#subscribe.unsubscribe-button:hover {
    background: #c0392b;
    color: #FFFFFF;
    border-color: #c0392b;
}

#subscribe.unsubscribe-button:hover::after {
    content: 'Unsubscribe';
}

/* Channel Tabs */
.pp-channel-tabs {
    display: flex;
    gap: 0;
    margin: 0 -60px;
    height: 35px;
}

.pp-tab-link {
    width: 255px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #808794;
    text-decoration: none;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
    background: #FFF;
}

.theme-dark .pp-tab-link {
    background: linear-gradient(90deg, #011336 0%, #04183D 49.04%, #011336 100%);
}

.pp-tab-link:hover {
    color: var(--text);
    background: var(--surface);
}

.pp-tab-link.active {
    color: #FFFFFF;
    font-weight: 600;
    background: #1C3ECD;
    border-color: #1C3ECD;
}

.pp-tab-link.active::after {
    display: none;
}

/* === ABOUT CHANNEL TAB === */
.pp-channel-about-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

/* Channel Description Section */
.pp-channel-description-section {
    background: var(--bg);
    padding: 40px 0;
}

.pp-channel-description-container {
    padding: 0 60px;
}

/* Most Recent Videos Section */
.pp-channel-recent-section {
    background: var(--bg);
    padding: 40px 0;
}

.pp-channel-recent-container {
    padding: 0 60px;
}

.pp-section-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pp-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 12px;
}

/* Channel Description Block */
.pp-channel-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
    white-space: pre-wrap;
}

.pp-channel-description a {
    color: var(--accent);
    text-decoration: underline;
}

.pp-channel-description a:hover {
    opacity: 0.8;
}

/* Links Section - icon only */
.pp-channel-links {
    margin-top: 5px;
}

.pp-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Social icon - circle style */
.pp-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pp-social-icon:hover {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.pp-social-icon img,
.pp-social-icon svg {
    width: 24px;
    height: 24px;
}

/* Theme switching for social icons */
.pp-social-icon .icon-dark {
    display: none;
}

html.theme-dark .pp-social-icon .icon-light {
    display: none;
}

html.theme-dark .pp-social-icon .icon-dark {
    display: block;
}

/* Most Recent Videos Block */
.pp-recent-videos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Video card in recent videos grid */
.pp-recent-videos-grid .pp-featured-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.pp-recent-videos-grid .pp-featured-item:hover {
    border: none;
    box-shadow: none;
}

.pp-recent-videos-grid .pp-featured-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 236 / 160;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.pp-recent-videos-grid .pp-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pp-recent-videos-grid .pp-featured-card:hover .pp-featured-thumb img {
    transform: scale(1.05);
}

.pp-recent-videos-grid .pp-featured-card:hover .pp-featured-thumb {
    border: 2px solid var(--video-card-hover-border);
    border-radius: 0;
}

/* Hover Overlay */
.pp-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(29, 29, 29, 0.00) 0%, rgba(1, 15, 41, 0.72) 80.79%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-recent-videos-grid .pp-featured-card:hover .pp-featured-overlay {
    opacity: 1;
}

/* Play Button */
.pp-featured-play {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-featured-overlay .pp-featured-play img {
    width: 40px;
    height: 40px;
}

/* Duration Badge */
.pp-featured-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.pp-recent-videos-grid .pp-featured-info {
    padding: 10px 0;
}

.pp-recent-videos-grid .pp-featured-title {
    font-size: 14px;
    margin-bottom: 6px;
}

.pp-recent-videos-grid .pp-featured-meta {
    font-size: 14px;
}

.pp-featured-item {
    display: flex;
    flex-direction: column;
}

.pp-featured-card {
    display: block;
    text-decoration: none;
}

.pp-featured-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.pp-featured-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pp-featured-title:hover {
    color: var(--accent);
}

.pp-featured-meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: var(--muted);
}

.pp-featured-meta .meta-separator {
    margin: 0 6px;
}

/* === VIDEOS TAB === */
.pp-channel-videos-section {
    background: var(--bg);
    padding: 50px 0;
    min-height: 60vh;
}

.pp-channel-videos-container {
    padding: 0 60px;
}

.pp-videos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Video Item Card */
.pp-channel-video-item {
    display: flex;
    flex-direction: column;
}

.pp-channel-video-item .videoItem {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pp-channel-video-item .videoItem .image {
    width: 100%;
    aspect-ratio: 236 / 160;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: border 0.2s ease;
}

.pp-channel-video-item:hover .videoItem .image {
    border: 2px solid var(--video-card-hover-border);
    border-radius: 0;
}

.pp-channel-video-item .videoItem .image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(29, 29, 29, 0.00) 0%, rgba(1, 15, 41, 0.72) 80.79%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pp-channel-video-item .videoItem .image:hover .overlay {
    opacity: 1;
}

.pp-channel-video-item .videoItem .image .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: url('/assets/img/icons/play-arrow-video.svg') no-repeat center center;
    background-size: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pp-channel-video-item .videoItem .image:hover .play-button {
    opacity: 1;
}

.pp-channel-video-item .videoItem .image .duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.pp-channel-video-item .details {
    padding: 12px 0;
}

.pp-channel-video-item .details .videoname_linkdiv {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pp-channel-video-item .details a {
    text-decoration: none;
}

.pp-channel-video-item .details a:hover .videoname_linkdiv {
    color: var(--accent);
}

.pp-channel-video-item .video-meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
}

.pp-channel-video-item .video-meta .meta-separator {
    margin: 0 6px;
}

/* No Videos Message */
.pp-no-videos {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: var(--muted);
    text-align: center;
    padding: 60px 20px;
}


/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* 1440+ */
@media (min-width: 1440px) {
    .pp-channel-page-layout {
        padding: 0 8.33vw;
    }

    .pp-recent-videos-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .pp-videos-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 1200-1439 */
@media (min-width: 1200px) and (max-width: 1439px) {
    .pp-channel-page-layout {
        padding: 0 3.33vw;
    }

    .pp-channel-hero-container {
        padding: 40px 30px 0 30px;
    }

    .pp-channel-tabs {
        margin: 0 -30px;
    }

    .pp-channel-description-container,
    .pp-channel-recent-container,
    .pp-channel-videos-container {
        padding: 0 30px;
    }

    .pp-recent-videos-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pp-videos-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pp-channel-title {
        font-size: 40px;
    }
}

/* 1024-1199 */
@media (min-width: 1024px) and (max-width: 1199px) {
    .pp-channel-page-layout {
        grid-template-columns: 220px 1fr;
        padding: 0 3.33vw;
    }

    .pp-channel-hero-container {
        padding: 40px 30px 0 30px;
    }

    .pp-userchannel-hero .pp-channel-hero-container {
        min-height: 380px;
    }

    .pp-channel-tabs {
        margin: 0 -30px;
    }

    .pp-channel-description-container,
    .pp-channel-recent-container,
    .pp-channel-videos-container {
        padding: 0 30px;
    }

    .pp-recent-videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pp-videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pp-channel-title {
        font-size: 38px;
    }

    .pp-userchannel-profile-image {
        width: 140px;
        height: 140px;
    }
}

/* 768-1023 Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .pp-channel-page-layout {
        grid-template-columns: 200px 1fr;
        padding: 0 20px;
    }

    .pp-channel-hero-container {
        padding: 30px 25px 0 25px;
    }

    .pp-userchannel-hero .pp-channel-hero-container {
        min-height: 370px;
    }

    .pp-channel-tabs {
        margin: 0 -25px;
    }

    .pp-channel-description-container,
    .pp-channel-recent-container,
    .pp-channel-videos-container {
        padding: 0 25px;
    }

    .pp-recent-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .pp-userchannel-hero .pp-channel-hero-content {
        flex-wrap: wrap;
        gap: 25px;
        padding-top: 35px;
    }

    .pp-userchannel-profile-image {
        width: 130px;
        height: 130px;
        order: 1;
    }

    .pp-channel-info {
        flex: 1;
        order: 2;
        min-width: 0;
    }

    .pp-channel-title {
        font-size: 32px;
    }

    /* Subscribe full width below */
    .pp-channel-subscribe {
        order: 3;
        width: 100%;
        padding: 15px 0;
    }

    .pp-subscribe-btn {
        width: 100%;
    }

    .pp-tab-link {
        width: 50%;
        font-size: 13px;
    }

    .pp-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .pp-featured-item {
        flex-direction: column;
    }

    .pp-featured-thumb {
        width: 100%;
        height: 180px;
    }
}

/* 576-767 - Sidebar hidden */
@media (min-width: 576px) and (max-width: 767px) {
    .pp-channel-page-layout {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .pp-channel-hero-container {
        padding: 30px 20px 0 20px;
        border-radius: 0;
    }

    .pp-userchannel-hero .pp-channel-hero-container {
        min-height: 360px;
    }

    .pp-channel-tabs {
        margin: 0 -20px;
    }

    .pp-channel-description-container,
    .pp-channel-recent-container,
    .pp-channel-videos-container {
        padding: 0 20px;
    }

    .pp-recent-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Horizontal layout: avatar left, info right, subscribe below */
    .pp-userchannel-hero .pp-channel-hero-content {
        flex-wrap: wrap;
        align-items: flex-start;
        text-align: left;
        gap: 25px;
        padding-top: 30px;
    }

    .pp-userchannel-profile-image {
        width: 120px;
        height: 120px;
        order: 1;
    }

    .pp-channel-info {
        flex: 1;
        order: 2;
        min-width: 0;
    }

    .pp-channel-title {
        font-size: 30px;
        text-align: left;
    }

    .pp-channel-subscribers {
        justify-content: flex-start;
        font-size: 14px;
    }

    .pp-channel-description {
        margin-bottom: 16px;
    }

    /* Subscribe full width below */
    .pp-channel-subscribe {
        order: 3;
        width: 100%;
        padding: 15px 0;
    }

    .pp-subscribe-btn {
        width: 100%;
    }

    .pp-tab-link {
        width: 50%;
        font-size: 14px;
    }

    .pp-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .pp-featured-item {
        flex-direction: column;
    }

    .pp-featured-thumb {
        width: 100%;
        height: 180px;
    }
}

/* 426-575 Mobile */
@media (min-width: 426px) and (max-width: 575px) {
    .pp-channel-page-layout {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .pp-channel-hero {
        padding: 16px 0 0 0;
    }

    .pp-channel-hero-container {
        padding: 20px 16px 0 16px;
        border-radius: 0;
    }

    .pp-userchannel-hero .pp-channel-hero-container {
        min-height: 340px;
    }

    .pp-channel-tabs {
        margin: 0 -16px;
    }

    .pp-channel-about-wrapper {
        gap: 16px;
        padding: 16px 0;
    }

    .pp-channel-description-section,
    .pp-channel-recent-section {
        padding: 24px 0;
    }

    .pp-channel-description-container,
    .pp-channel-recent-container,
    .pp-channel-videos-container {
        padding: 0 16px;
    }

    .pp-recent-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Mobile: avatar left, info right, subscribe below full width */
    .pp-userchannel-hero .pp-channel-hero-content {
        flex-wrap: wrap;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        padding-top: 25px;
    }

    .pp-userchannel-profile-image {
        width: 110px;
        height: 110px;
        order: 1;
    }

    .pp-channel-info {
        flex: 1;
        order: 2;
        min-width: 0;
    }

    .pp-channel-title {
        font-size: 30px;
        text-align: left;
    }

    .pp-channel-subscribers {
        justify-content: flex-start;
        font-size: 13px;
    }

    .pp-channel-created {
        font-size: 13px;
    }

    .pp-channel-description {
        margin-bottom: 10px;
    }

    .pp-no-videos {
        padding: 20px 20px;
    }

    /* Subscribe full width below */
    .pp-channel-subscribe {
        order: 3;
        width: 100%;
        padding: 15px 0;
    }

    .pp-subscribe-btn {
        width: 100%;
    }

    .pp-tab-link {
        width: 50%;
        font-size: 14px;
    }

    .pp-videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pp-featured-item {
        flex-direction: column;
    }

    .pp-featured-thumb {
        width: 100%;
        height: 160px;
    }

    /* Mobile subscribe button */
    #subscribe.subscribe-button::after {
        content: 'Subscribe';
    }

    #subscribe.unsubscribe-button::after {
        content: 'Subscribed';
    }
}

/* 375-425 Mobile Small */
@media (max-width: 425px) {
    .pp-channel-page-layout {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }

    .pp-channel-hero {
        padding: 5px 0 5px 0;
    }

    .pp-channel-hero-container {
        padding: 10px 10px 0 10px;
        border-radius: 0;
    }

    .pp-userchannel-hero .pp-channel-hero-container {
        min-height: 260px;
    }

    .pp-channel-tabs {
        margin: 0 -10px;
    }

    .pp-channel-about-wrapper {
        gap: 12px;
        padding: 12px 0;
    }

    .pp-channel-description-section,
    .pp-channel-recent-section {
        padding: 20px 0;
    }

    .pp-channel-description-container,
    .pp-channel-recent-container,
    .pp-channel-videos-container {
        padding: 0 10px;
    }

    .pp-recent-videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Mobile: avatar left, info right, subscribe below full width */
    .pp-userchannel-hero .pp-channel-hero-content {
        flex-wrap: wrap;
        align-items: flex-start;
        text-align: left;
        gap: 15px;
        padding-top: 20px;
    }

    .pp-userchannel-profile-image {
        width: 95px;
        height: 95px;
        order: 1;
    }

    .pp-channel-info {
        flex: 1;
        order: 2;
        min-width: 0;
    }

    .pp-channel-title {
        font-size: 30px;
        text-align: left;
    }

    .pp-channel-subscribers {
        justify-content: flex-start;
        font-size: 12px;
    }

    .pp-channel-created {
        font-size: 12px;
    }

    .pp-channel-description {
        margin-bottom: 5px;
    }

    .pp-no-videos {
        padding: 20px 20px;
    }

    /* Subscribe full width below */
    .pp-channel-subscribe {
        order: 3;
        width: 100%;
        padding: 15px 0;
    }

    .pp-subscribe-btn {
        width: 100%;
    }

    .pp-tab-link {
        width: 50%;
        font-size: 14px;
    }

    .pp-videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pp-featured-item {
        flex-direction: column;
    }

    .pp-featured-thumb {
        width: 100%;
        height: 160px;
    }

    /* Mobile subscribe button */
    #subscribe.subscribe-button::after {
        content: 'Subscribe';
    }

    #subscribe.unsubscribe-button::after {
        content: 'Subscribed';
    }
}

/* === DISABLE HOVER ON TOUCH DEVICES === */
@media (hover: none), (pointer: coarse) {
    .pp-recent-videos-grid .pp-featured-card:hover .pp-featured-thumb img {
        transform: none;
    }

    .pp-recent-videos-grid .pp-featured-card:hover .pp-featured-overlay {
        opacity: 0;
    }

    .pp-recent-videos-grid .pp-featured-card:hover .pp-featured-thumb {
        border: none;
        border-radius: 5px;
    }

    .pp-channel-video-item:hover .videoItem .image {
        border: none;
        border-radius: 5px;
    }

    .pp-channel-video-item .videoItem .image:hover .overlay {
        opacity: 0;
    }

    .pp-channel-video-item .videoItem .image:hover .play-button {
        opacity: 0;
    }
}