*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root{
    --red600:#dc0000;
}

body,html{
    scroll-behavior: smooth;
}
.header3{
    display: flex;
   width: 100%;
  
}
.nice2{
    font-size: 23px;
}
.side-icon-style{
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 40px;
    align-items: center;
    text-align: center;
}
.style2-des{
    font-size: 10px;
}
.side-icon-style2{
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.side-icon-style2 i{
    font-size: 20px;
}
.youtue-logo img{
    background-repeat:no-repeat ;
    width: 100px;
}
.first-header{
    display: flex;
    width: 100%;
    height: 45px;
    justify-content: space-around;
    align-items: center;
}
.not{
    display: flex;
    justify-content:space-between;
    align-items: center;
    gap: 50px;
}
.header{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.header2{
    padding-left: 20px;
}
.header-btn{
    display: flex;
    gap: 20px;
}
.srch{
    display: flex;
    justify-content: center;
    align-items: center;
}
.hr{
    border: 1px solid rgb(244, 244, 244);
}

.header-btn{
    height: 30px;
    margin-left: 50px;
}
.btn{
    padding: 2px 10px;
    font-size: .75rem;
    border-radius:50px ;
    border: .05px solid rgb(199, 196, 196);
    margin-right: 10px;
    margin-top: 5px;
}
.youtue-logo img{
    background-repeat:no-repeat ;
    width: 100px;
}
.srch{
    display: flex;
}
.srch input{
    width: 500px;
    height: 30px;
   border-right:none;
   padding: 13px 0px;
   border:1px solid rgb(202, 200, 200);
   border-bottom-left-radius: 5px;
   border-top-left-radius: 5px;
   text-align: left;
   border-collapse: collapse;
   font-size: 14px;
    border-right: none;
}
.srch-vtn{
    padding: 6.5px 10px;
    border: transparent;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    transition: 0.3s ease-in;
    cursor: pointer;
}
.srch-vtn:hover{
    background-color:rgb(177, 174, 174);
    transition: 0.3s ease-in;
}

.nice{
    font-size: 18px;
}
.mic{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 30px;
    font-size:20px ;
    background-color:whitesmoke;
    padding: 5px 7px;
    border-radius:50%;
    transition: 0.3s ease-in;
}
.mic:hover{
    background-color:rgb(177, 174, 174);
    transition: 0.3s ease-in;
}
.circle-img img{
    width: 30px;
}
.btn1{
    padding: 2px 10px;
    font-size: .75rem;
    border-radius:50px ;
    border: .05px solid rgb(199, 196, 196);
    margin-right: 10px;
    margin-top: 5px;
    background-color: rgb(56, 54, 54);
    color: white;
}
.cam{
    font-size: 20px;
}
.var{
    font-size: 20px;
}
.notifi{
    font-size: 20px;
}
main{
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px 40px 70px;
}
.main{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px 18px;
}
.video-card{
    display: block;
    color: #0f0f0f;
    text-decoration: none;
}
.video-card[hidden]{
    display: none;
}
.thumb-wrap{
    position: relative;
}
.img1{
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    background-color: #e5e5e5;
    transition: border-radius 0.2s ease;
}
.video-card:hover .img1,
.video-card:focus-visible .img1{
    border-radius: 0;
}
.video-card:focus-visible{
    outline: 3px solid #065fd4;
    outline-offset: 4px;
    border-radius: 12px;
}
.badge{
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}
.img2{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.you-des{
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.des{
    font-family: Arial, Helvetica, sans-serif;
}
.des h3{
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 4px;
}
.des h4{
    font-size: 13px;
    font-weight: 400;
    color: #606060;
    line-height: 1.5;
}
.circle-img img{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.header-btn button{
    cursor: pointer;
    white-space: nowrap;
}
.empty{
    padding: 40px 0;
    text-align: center;
    color: #606060;
    font-family: Arial, Helvetica, sans-serif;
}
.sr-only{
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.yt-footer{
    padding: 20px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #606060;
    border-top: 1px solid #eee;
}
.yt-footer a{
    color: #065fd4;
}

@media (max-width: 900px){
    .srch input{
        width: 260px;
    }
    .not{
        gap: 20px;
    }
}
@media (max-width: 640px){
    .header2,
    .mic,
    .cam,
    .var,
    .notifi{
        display: none;
    }
    .first-header{
        justify-content: space-between;
        padding: 0 12px;
        gap: 10px;
    }
    .srch{
        flex: 1;
        min-width: 0;
    }
    .srch input{
        width: 100%;
        min-width: 0;
    }
    .header-btn{
        margin-left: 12px;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
    }
    main{
        padding: 16px 12px 32px;
    }
}

/* Keep the side menu out of the header flow so cards start right below the chips */
.header3{
    position: relative;
}
.header2{
    position: absolute;
    top: 70px;
    left: 0;
}
.img1{
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* mobile fixes (PR: polish pass) */
@media (max-width: 640px){
    .header-btn{
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
        max-width: 100%;
    }
    .header-btn button{
        flex: 0 0 auto;
    }
}
