:root{
    --admob-height: 60px;
    --bottom-nav-height: 70px;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#f5f5f5;
    color:#222;

    padding-bottom:calc(
        var(--bottom-nav-height) +
        var(--admob-height) +
        20px
    );
}

/* Header */

.topbar{
    height:65px;
    background:#ffffff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 15px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:100;
}

.logo-box{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo-box img{
    width:42px;
    height:42px;
}

.logo-box h1{
    font-size:24px;
    color:#ff3b30;
}

.top-icons button{
    border:none;
    background:none;
    font-size:24px;
    margin-left:12px;
    cursor:pointer;
}

/* Search */

.search-area{
    padding:15px;
}

.search-area input{
    width:100%;
    height:45px;
    border:none;
    border-radius:25px;
    padding:0 18px;
    font-size:16px;
    outline:none;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

/* Categories */

.categories{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:0 15px 15px;
}

.categories button{
    border:none;
    background:#ffffff;
    padding:8px 18px;
    border-radius:20px;
    white-space:nowrap;
    box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.categories button:first-child{
    background:#ff3b30;
    color:#fff;
}

/* Banner */

.banner{
    padding:0 15px 20px;
}

.banner img{
    width:100%;
    border-radius:18px;
}

/* Video Grid */

.video-grid{
    padding:15px;
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
}

.video-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.thumbnail{
    position:relative;
}

.thumbnail img{
    width:100%;
    display:block;
}

.duration{
    position:absolute;
    right:8px;
    bottom:8px;
    background:#000;
    color:#fff;
    padding:4px 7px;
    border-radius:6px;
    font-size:12px;
}

.video-info{
    padding:12px;
}

.video-info h3{
    font-size:18px;
    margin-bottom:5px;
}

.video-info p{
    color:#666;
    margin-bottom:4px;
}


/* =========================
   INDIA TUBE BOTTOM NAV
   ========================= */

:root{
    --bottom-nav-height:70px;
    --admob-height:0px;
}

.bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:var(--admob-height);

    width:100%;
    height:var(--bottom-nav-height);

    display:flex;
    flex-direction:row;
    justify-content:space-around;
    align-items:center;

    background:#ffffff;
    border-top:1px solid #dddddd;
    box-shadow:0 -2px 10px rgba(0,0,0,.15);

    z-index:10000;

    overflow-x:auto;
    overflow-y:hidden;

    pointer-events:auto;
}

.bottom-nav button{
    flex:1 1 0;
    min-width:70px;
    height:55px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    border:none;
    background:#ffffff;

    color:#111111 !important;

    font-size:13px;
    font-weight:600;

    padding:4px;

    cursor:pointer;
    pointer-events:auto;

    white-space:nowrap;
}

.bottom-nav button span{
    display:block;
    color:#111111 !important;
    font-size:12px;
    margin-top:3px;
}

.bottom-nav button:active{
    background:#eeeeee;
}

#searchInput{
    width:95%;
    margin:10px auto;
    display:block;
    padding:12px;
    border-radius:25px;
    border:none;
    outline:none;
    font-size:16px;
}

.like-btn{

width:45px;
height:45px;

border:none;

border-radius:50%;

font-size:22px;

background:white;

cursor:pointer;

margin:10px;

}

.video-card{
    background:#fff;
    border-radius:10px;
    margin:15px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
}

.like-btn{
    width:45px;
    height:45px;
    border:none;
    background:white;
    font-size:24px;
    cursor:pointer;
    margin:10px;
}

.comment-box{
display:flex;
gap:10px;
padding:15px;
}

.comment-box input{
flex:1;
padding:10px;
font-size:16px;
border-radius:8px;
border:1px solid #ccc;
}

.comment-box button{
padding:10px 20px;
background:#ff0000;
color:white;
border:none;
border-radius:8px;
cursor:pointer;
}

.comment{
background:#f3f3f3;
margin:10px;
padding:12px;
border-radius:10px;
color:black;
}

.recommend-card{
display:flex;
margin:15px;
cursor:pointer;
background:white;
border-radius:10px;
overflow:hidden;
color:black;
}

.recommend-card img{
width:160px;
height:90px;
object-fit:cover;
}

.recommend-info{
padding:10px;
flex:1;
}

.recommend-info h4{
margin:0;
font-size:17px;
}

.recommend-info p{
margin-top:8px;
color:#666;
}

.mini-player{
position:fixed;
bottom:70px;
left:10px;
right:10px;
height:80px;
background:#222;
display:flex;
align-items:center;
border-radius:10px;
padding:8px;
z-index:9999;
}

.mini-player video{
width:120px;
height:70px;
object-fit:cover;
border-radius:8px;
}

.mini-info{
flex:1;
padding:10px;
color:white;
}

#closeMini{
background:red;
color:white;
border:none;
padding:8px;
border-radius:50%;
cursor:pointer;
}

.channel-row{
    display:flex;
    align-items:center;
    gap:10px;
}

.channel-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #ff0000;
}

.channel-box{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin:15px 0;
}

.channel-info{
    flex:1;
}

.channel-avatar{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
}

.subscribe-btn{
    background:#ff0000;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:20px;
    cursor:pointer;
    font-weight:bold;
}

.video-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:15px 0;
}

.video-actions button{
    padding:10px 16px;
    border:none;
    border-radius:20px;
    cursor:pointer;
    background:#f2f2f2;
}

.comment-card{
    display:flex;
    gap:12px;
    margin:15px 0;
}

.comment-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
}

.comment-body{
    flex:1;
}

.comment-header{
    display:flex;
    align-items:center;
    gap:10px;
}

.comment-header b{
    color:#fff;
    font-size:15px;
}

.comment-header span{
    color:#999;
    font-size:12px;
}

.comment-text{
    color:#eee;
    margin:6px 0;
}

.comment-actions{
    display:flex;
    gap:20px;
}

.comment-btn{
    background:none;
    border:none;
    color:#aaa;
    cursor:pointer;
    font-size:13px;
}

.reply-item{
    margin-left:55px;
    margin-top:10px;
    padding:10px;
    border-left:2px solid #444;
    color:#fff;
}

.short-option{
    margin:15px 0;
    color:#fff;
    font-size:16px;
}

.bottom-nav{
    position:fixed !important;
    left:0 !important;
    right:0 !important;

    /* Ad ke liye jagah */
    bottom:var(--admob-height, 0px) !important;

    width:100% !important;
    height:55px !important;

    background:#ffffff !important;

    display:flex !important;
    flex-direction:row !important;
    justify-content:space-around !important;
    align-items:center !important;

    z-index:99999 !important;

    overflow-x:auto;
    overflow-y:hidden;

    border-top:1px solid #ddd;
    box-shadow:0 -2px 10px rgba(0,0,0,.12);
}
/* ===== AdMob के ऊपर Bottom Navigation ===== */

:root{
    --admob-height: 0px;
    --bottom-nav-height: 70px;
}

/* ================================
   FINAL ADMOB + BOTTOM NAV FIX
================================ */

:root{
    --admob-height:0px;
    --bottom-nav-height:70px;
}

body{
    padding-bottom:150px !important;
}

/* AdMob banner नीचे रहे */
.admob-banner,
#admob-banner,
#banner-ad,
.ad-container{
    z-index:999999 !important;
}

/* ================================
   FINAL: ADMOB + BOTTOM NAV
================================ */

:root{
    --admob-height:0px;
    --bottom-nav-height:70px;
}

body{
    padding-bottom:150px !important;
}

/* AdMob banner */
.admob-banner,
#admob-banner,
#banner-ad,
.ad-container{
    z-index:999999 !important;
}

.download-app-btn {
    display: block;
    width: 90%;
    max-width: 500px;
    margin: 15px auto;
    padding: 14px 10px;

    background: #e60000;
    color: white !important;

    text-align: center;
    text-decoration: none;

    border-radius: 12px;

    font-size: 18px;
    font-weight: 700;

    box-sizing: border-box;
}

.download-app-btn:active {
    transform: scale(0.98);
}

.back-btn{
    width:auto;
    padding:10px 18px;
    margin-bottom:15px;
    background:#333;
    color:white;
    border:none;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
}

/* =========================================
   INDIA TUBE LOGIN / SIGNUP
========================================= */

.login-box {
    width: min(92%, 400px);
    margin: 80px auto 30px;
    padding: 30px 25px;
    box-sizing: border-box;

    background: #ffffff;
    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.12);

    text-align: center;
}

.login-box h2 {
    margin: 0 0 28px;

    color: #ff0000;

    font-size: 28px;
    font-weight: 700;
}

.login-box input {
    width: 100%;
    height: 52px;

    margin: 0 0 15px;
    padding: 0 16px;

    box-sizing: border-box;

    border: 1px solid #ddd;
    border-radius: 12px;

    background: #f8f8f8;
    color: #222;

    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}

.login-box input:focus {
    border-color: #ff0000;

    background: #fff;

    box-shadow:
        0 0 0 3px rgba(255, 0, 0, 0.10);
}

.login-box input::placeholder {
    color: #888;
}

.login-box button {
    width: 100%;
    height: 52px;

    margin-top: 10px;

    border: none;
    border-radius: 12px;

    font-size: 17px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.15s,
        opacity 0.15s,
        box-shadow 0.15s;
}

#loginBtn {
    background: #ff0000;
    color: #fff;

    box-shadow:
        0 5px 15px rgba(255, 0, 0, 0.25);
}

#signupBtn {
    background: #111;
    color: #fff;
}

.login-box button:hover {
    opacity: 0.92;
}

.login-box button:active {
    transform: scale(0.98);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .login-box {
        width: calc(100% - 30px);

        margin: 45px auto 20px;

        padding: 25px 20px;

        border-radius: 16px;
    }

    .login-box h2 {
        font-size: 25px;
        margin-bottom: 24px;
    }

    .login-box input {
        height: 50px;
        font-size: 16px;
    }

    .login-box button {
        height: 50px;
        font-size: 16px;
    }
}

/* =========================================
   VERY SMALL PHONE
========================================= */

@media (max-width: 380px) {

    .login-box {
        margin-top: 25px;
        padding: 22px 16px;
    }

    .login-box h2 {
        font-size: 23px;
    }

}

/* =========================================
   INDIA TUBE STUDIO
========================================= */

body {
    margin: 0;
    padding: 0 20px 40px;

    background: #f5f5f5;
    color: #111;

    font-family: Arial, sans-serif;
}

/* =========================================
   BACK BUTTON
========================================= */

.back-btn {
    position: fixed;

    top: 15px;
    left: 15px;

    z-index: 99999;

    padding: 10px 16px;

    border: none;
    border-radius: 22px;

    background: #111;
    color: #fff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 3px 12px rgba(0, 0, 0, .25);

    transition: .2s;
}

.back-btn:hover {
    background: #333;
}

.back-btn:active {
    transform: scale(.94);
}

/* =========================================
   STUDIO TITLE
========================================= */

body > h1 {
    max-width: 1100px;

    margin: 25px auto 30px;

    padding-left: 85px;

    box-sizing: border-box;

    color: #ff0000;

    font-size: 30px;
    font-weight: 700;
}

/* =========================================
   DASHBOARD
========================================= */

.dashboard {
    width: 100%;
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

/* =========================================
   STAT CARDS
========================================= */

.dashboard .card {
    background: #fff;

    padding: 25px 15px;

    border-radius: 16px;

    text-align: center;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .08);

    border: 1px solid #eee;

    transition: transform .2s,
                box-shadow .2s;
}

.dashboard .card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .12);
}

.dashboard .card h2 {
    margin: 0 0 8px;

    color: #ff0000;

    font-size: 30px;
}

.dashboard .card p {
    margin: 0;

    color: #666;

    font-size: 15px;
    font-weight: 600;
}

/* =========================================
   DIVIDER
========================================= */

body > hr {
    max-width: 1100px;

    margin: 35px auto 25px;

    border: 0;

    border-top: 1px solid #ddd;
}

/* =========================================
   MY VIDEOS TITLE
========================================= */

body > h2 {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto 20px;

    font-size: 23px;
}

/* =========================================
   STUDIO VIDEO LIST
========================================= */

#studioVideos {
    width: 100%;
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

/* Video cards generated by studio.js */

#studioVideos .video-card {
    background: #fff;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, .08);

    border: 1px solid #eee;
}

#studioVideos img {
    width: 100%;

    height: 180px;

    object-fit: cover;

    display: block;
}

#studioVideos h3 {
    margin: 12px 14px 5px;

    font-size: 17px;
}

#studioVideos p {
    margin: 0 14px 12px;

    color: #666;

    font-size: 14px;
}

/* =========================================
   BUTTONS INSIDE STUDIO
========================================= */

#studioVideos button {
    margin: 5px;

    padding: 9px 14px;

    border: none;

    border-radius: 8px;

    background: #ff0000;

    color: #fff;

    font-weight: 600;

    cursor: pointer;
}

#studioVideos button:active {
    transform: scale(.96);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {

    .dashboard {
        grid-template-columns:
            repeat(2, 1fr);
    }

    #studioVideos {
        grid-template-columns:
            repeat(2, 1fr);
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    body {
        padding:
            0 12px 30px;
    }

    body > h1 {
        margin-top: 75px;

        padding-left: 0;

        text-align: center;

        font-size: 25px;
    }

    .back-btn {
        top: 12px;
        left: 12px;

        padding: 9px 14px;

        font-size: 14px;
    }

    .dashboard {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 12px;
    }

    .dashboard .card {
        padding: 20px 10px;

        border-radius: 13px;
    }

    .dashboard .card h2 {
        font-size: 25px;
    }

    .dashboard .card p {
        font-size: 13px;
    }

    body > hr {
        margin-top: 28px;
    }

    body > h2 {
        font-size: 20px;
    }

    #studioVideos {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    #studioVideos img {
        height: 200px;
    }

}

/* =========================================
   VERY SMALL PHONE
========================================= */

@media (max-width: 380px) {

    .dashboard {
        gap: 8px;
    }

    .dashboard .card {
        padding: 17px 7px;
    }

    .dashboard .card h2 {
        font-size: 22px;
    }

    .dashboard .card p {
        font-size: 12px;
    }

}

/* ==========================================
   HOME SHORT VIDEO
========================================== */

.short-video-card .thumbnail {
    position: relative;
    overflow: hidden;
}

.home-short-video {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;

    background: #000;
}

.short-badge {
    position: absolute;

    top: 10px;
    left: 10px;

    background: #ff0000;
    color: #fff;

    padding: 4px 8px;

    border-radius: 6px;

    font-size: 11px;
    font-weight: bold;

    z-index: 5;
}

/* ==========================================
   INDIA TUBE - PROFESSIONAL HOME FEED
========================================== */

#videoGrid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;

    padding: 10px 15px 100px;

    box-sizing: border-box;
}


/* =========================
   VIDEO CARD
========================= */

#videoGrid .video-card {

    width: 100%;
    min-width: 0;

    margin: 0;

    background: #fff;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .10);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

    position: relative;
}


#videoGrid .video-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 7px 22px rgba(0, 0, 0, .16);
}


/* =========================
   THUMBNAIL
========================= */

#videoGrid .thumbnail {

    width: 100%;

    aspect-ratio: 16 / 9;

    position: relative;

    overflow: hidden;

    background: #111;

    cursor: pointer;
}


#videoGrid .thumbnail img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .3s ease;
}


#videoGrid .video-card:hover
.thumbnail img {

    transform: scale(1.03);
}


/* =========================
   SHORT VIDEO
========================= */

#videoGrid .short-video-card
.thumbnail {

    aspect-ratio: 9 / 16;

    max-height: 500px;
}


#videoGrid .home-short-video {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    background: #000;
}


/* =========================
   SHORT BADGE
========================= */

#videoGrid .short-badge {

    position: absolute;

    top: 10px;
    left: 10px;

    z-index: 10;

    padding: 5px 9px;

    border-radius: 6px;

    background: #ff0000;

    color: #fff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .4px;

    box-shadow:
        0 2px 7px rgba(0,0,0,.3);
}


/* =========================
   DURATION
========================= */

#videoGrid .duration {

    position: absolute;

    right: 8px;
    bottom: 8px;

    padding: 4px 7px;

    border-radius: 5px;

    background: rgba(0,0,0,.85);

    color: #fff;

    font-size: 12px;
    font-weight: 600;
}


/* =========================
   VIDEO INFO
========================= */

#videoGrid .video-info {

    padding: 12px 12px 6px;

    box-sizing: border-box;
}


#videoGrid .channel-row {

    display: flex;

    align-items: flex-start;

    gap: 10px;
}


#videoGrid .channel-avatar {

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 50%;

    object-fit: cover;

    border: 1px solid #eee;
}


#videoGrid .video-info h3 {

    margin: 0 0 5px;

    color: #111;

    font-size: 16px;
    line-height: 1.35;

    font-weight: 700;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


#videoGrid .video-info p {

    margin: 0 0 3px;

    color: #666;

    font-size: 13px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


#videoGrid .video-info small {

    color: #888;

    font-size: 12px;
}


/* =========================
   LIKE BUTTON
========================= */

#videoGrid .like-btn {

    width: 40px;
    height: 40px;

    margin: 4px 10px 10px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #f5f5f5;

    font-size: 18px;

    cursor: pointer;

    transition:
        transform .15s ease,
        background .15s ease;
}


#videoGrid .like-btn:hover {

    background: #eee;

    transform: scale(1.08);
}


#videoGrid .like-btn:active {

    transform: scale(.92);
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    #videoGrid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;

        padding-left: 10px;
        padding-right: 10px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    #videoGrid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

        padding:
            5px 6px 95px;
    }


    #videoGrid .video-card {

        border-radius: 10px;

        box-shadow:
            0 2px 8px rgba(0,0,0,.10);
    }


    #videoGrid .video-info {

        padding: 8px 8px 4px;
    }


    #videoGrid .channel-row {

        gap: 7px;
    }


    #videoGrid .channel-avatar {

        width: 32px;
        height: 32px;

        flex-basis: 32px;
    }


    #videoGrid .video-info h3 {

        font-size: 13px;

        -webkit-line-clamp: 2;
    }


    #videoGrid .video-info p {

        font-size: 11px;
    }


    #videoGrid .video-info small {

        font-size: 10px;
    }


    #videoGrid .like-btn {

        width: 34px;
        height: 34px;

        margin: 3px 7px 7px;

        font-size: 16px;
    }


    /*
       Shorts remain vertical,
       but occupy their own grid cell.
    */

    #videoGrid .short-video-card
    .thumbnail {

        aspect-ratio: 9 / 16;

        max-height: none;
    }

}


/* ==========================================
   VERY SMALL PHONE
========================================== */

@media (max-width: 380px) {

    #videoGrid {

        gap: 8px;

        padding-left: 4px;
        padding-right: 4px;
    }


    #videoGrid .video-info h3 {

        font-size: 12px;
    }


    #videoGrid .video-info p {

        font-size: 10px;
    }

}

/* ==========================================
   INDIA TUBE HOME LOADING SKELETON
========================================== */

.skeleton-card {

    width: 100%;

    background: #fff;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .08);
}


/* Thumbnail */

.skeleton-thumbnail {

    width: 100%;

    aspect-ratio: 16 / 9;

    background:
        linear-gradient(
            90deg,
            #eeeeee 25%,
            #f7f7f7 50%,
            #eeeeee 75%
        );

    background-size: 200% 100%;

    animation:
        skeleton-loading 1.4s infinite;
}


/* Info */

.skeleton-info {

    display: flex;

    gap: 10px;

    padding: 12px;
}


/* Avatar */

.skeleton-avatar {

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 50%;

    background:
        linear-gradient(
            90deg,
            #eeeeee 25%,
            #f7f7f7 50%,
            #eeeeee 75%
        );

    background-size: 200% 100%;

    animation:
        skeleton-loading 1.4s infinite;
}


/* Text */

.skeleton-text {

    flex: 1;

    min-width: 0;
}


/* Lines */

.skeleton-line {

    height: 11px;

    border-radius: 6px;

    margin-bottom: 8px;

    background:
        linear-gradient(
            90deg,
            #eeeeee 25%,
            #f7f7f7 50%,
            #eeeeee 75%
        );

    background-size: 200% 100%;

    animation:
        skeleton-loading 1.4s infinite;
}


.skeleton-title {

    width: 90%;

    height: 14px;
}


.skeleton-channel {

    width: 65%;
}


.skeleton-views {

    width: 40%;
}


/* Animation */

@keyframes skeleton-loading {

    0% {

        background-position:
            200% 0;

    }

    100% {

        background-position:
            -200% 0;

    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .skeleton-card {

        border-radius: 10px;
    }


    .skeleton-info {

        padding: 8px;
        gap: 7px;
    }


    .skeleton-avatar {

        width: 32px;
        height: 32px;

        flex-basis: 32px;
    }


    .skeleton-line {

        height: 9px;

        margin-bottom: 6px;
    }


    .skeleton-title {

        height: 11px;
    }

}

/* ==========================================
   INDIA TUBE - NO VIDEOS FOUND
========================================== */

.empty-video-state {

    grid-column: 1 / -1;

    width: min(92%, 520px);

    margin: 70px auto;

    padding: 45px 25px;

    box-sizing: border-box;

    text-align: center;

    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .08);

    border: 1px solid #eeeeee;
}


/* Icon */

.empty-video-icon {

    width: 85px;
    height: 85px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f5f5f5;

    font-size: 42px;
}


/* Title */

.empty-video-state h2 {

    margin: 0 0 10px;

    color: #111111;

    font-size: 25px;

    font-weight: 700;
}


/* Description */

.empty-video-state p {

    margin: 0 auto 25px;

    max-width: 400px;

    color: #777777;

    font-size: 15px;

    line-height: 1.6;
}


/* Search keyword */

.empty-video-state strong {

    color: #111111;

    font-weight: 700;
}


/* Clear Search */

.empty-video-btn {

    padding: 12px 24px;

    border: none;

    border-radius: 25px;

    background: #ff0000;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(255, 0, 0, .20);

    transition:
        transform .15s ease,
        opacity .15s ease;
}


.empty-video-btn:hover {

    opacity: .9;

    transform: translateY(-1px);
}


.empty-video-btn:active {

    transform: scale(.96);
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .empty-video-state {

        width: calc(100% - 20px);

        margin: 50px auto;

        padding: 35px 18px;

        border-radius: 16px;
    }


    .empty-video-icon {

        width: 72px;
        height: 72px;

        font-size: 35px;
    }


    .empty-video-state h2 {

        font-size: 21px;
    }


    .empty-video-state p {

        font-size: 14px;
    }


    .empty-video-btn {

        width: 100%;

        max-width: 220px;
    }

}

/* ==========================================
   INDIA TUBE - COMPACT HOME SHORTS
========================================== */

#videoGrid .short-video-card {
    width: 100%;
    overflow: hidden;
}


/* ==========================================
   SHORTS THUMBNAIL
========================================== */

#videoGrid .short-video-card .thumbnail {
    position: relative;

    width: 100%;
    height: 180px;

    max-height: 180px;

    aspect-ratio: auto;

    overflow: hidden;

    border-radius: 10px;

    background: #000;
}


/* ==========================================
   SHORT VIDEO
========================================== */

#videoGrid .short-video-card .home-short-video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    background: #000;
}


/* ==========================================
   SHORT BADGE
========================================== */

#videoGrid .short-video-card .short-badge {
    position: absolute;

    top: 7px;
    left: 7px;

    z-index: 10;

    padding: 3px 6px;

    border-radius: 5px;

    background: #ff0000;
    color: #fff;

    font-size: 10px;
    font-weight: 700;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    #videoGrid .short-video-card .thumbnail {
        height: 175px;
        max-height: 175px;

        border-radius: 9px;
    }

}


/* ==========================================
   SMALL PHONE
========================================== */

@media (max-width: 380px) {

    #videoGrid .short-video-card .thumbnail {
        height: 170px;
        max-height: 170px;

        border-radius: 8px;
    }

}

.upload-type {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.type-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 16px;
    cursor: pointer;
}

.type-btn.active {
    background: #ff3b30;
    color: white;
    border-color: #ff3b30;
}

/* ==========================================
   LIVE CONNECT HEADER BUTTON
========================================== */

.top-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}


.top-icons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    border: none;
    background: transparent;

    padding: 7px 9px;

    border-radius: 20px;

    cursor: pointer;

    font-size: 14px;

    white-space: nowrap;
}


#liveConnectBtn {
    background: #ff0000;
    color: white;

    font-weight: bold;
}


#liveConnectBtn:active {
    transform: scale(.95);
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .top-icons {
        gap: 4px;
    }

    .top-icons button {
        padding: 6px 7px;
        font-size: 12px;
    }

    #liveConnectBtn {
        padding: 6px 10px;
    }

}
