
/* V2.6.2 – layout polish pagal realų screenshotą */

.v262-topbar{
    width:100%;
    background:linear-gradient(180deg,#8f1115,#761014);
    border-bottom:1px solid #6c0e11;
    box-shadow:0 2px 8px rgba(0,0,0,.16);
    position:relative;
    top:auto;
}

.v262-topwrap{
    max-width:1380px;
    margin:0 auto;
    min-height:72px;
    display:flex;
    align-items:center;
    gap:18px;
    padding:0 18px;
    box-sizing:border-box;
}

.v262-brand{
    flex:0 0 auto;
    font-family:Georgia,serif;
    font-size:28px!important;
    font-weight:bold;
    color:#fff6ec!important;
    white-space:nowrap;
    text-shadow:none!important;
}

.v262-nav{
    display:flex;
    align-items:stretch;
    gap:4px;
    flex:1;
    flex-wrap:nowrap!important;
    overflow-x:auto;
    scrollbar-width:none;
}

.v262-nav::-webkit-scrollbar{display:none}

.v262-nav a{
    display:flex!important;
    align-items:center;
    min-height:44px;
    padding:0 12px!important;
    border-radius:6px!important;
    background:rgba(255,255,255,.06)!important;
    border:1px solid rgba(255,255,255,.08)!important;
    color:#fff!important;
    font-weight:bold;
    white-space:nowrap;
}

.v262-nav a:hover{
    background:rgba(255,255,255,.14)!important;
    text-decoration:none;
}

.v262-user{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
    min-width:120px;
    justify-content:flex-end;
}

.v262-user .avatar-with-gift{
    width:38px!important;
    height:38px!important;
}

.v262-user .avatar{
    width:38px!important;
    height:38px!important;
}

.v262-user a{
    color:#fff;
}

.v262-user .logout-mini{
    display:block;
    font-size:12px;
    font-weight:normal;
    margin-top:2px;
    text-decoration:underline;
}

.v262-main{
    max-width:1380px!important;
    padding-top:22px!important;
}

.home-v261.v262{
    grid-template-columns:250px minmax(650px,1fr) 300px;
    gap:18px;
    align-items:start;
}

.v262 .home-left,
.v262 .home-center,
.v262 .home-right{
    gap:18px;
}

.v262 .v261-box{
    border-radius:11px;
    padding:16px;
}

.v262 .profile-mini{
    padding:15px;
}

.v262 .profile-mini-top{
    gap:12px;
}

.v262 .profile-mini-top .avatar-with-gift{
    width:78px!important;
    height:78px!important;
}

.v262 .profile-mini-top .avatar{
    width:78px!important;
    height:78px!important;
}

.v262 .profile-mini-name{
    font-size:19px;
}

.v262 .side-links a{
    padding:9px 2px;
    font-size:15px;
}

.v262 .activity-main{
    padding:18px 22px;
}

.v262 .activity-main .v261-title-row{
    margin-bottom:6px;
}

.v262 .activity-main h2{
    font-size:28px;
}

.v262 .activity-v261-row{
    grid-template-columns:50px minmax(0,1fr) 70px;
    gap:12px;
    padding:13px 2px;
}

.v262 .activity-v261-text{
    font-size:16px;
}

.v262 .activity-v261-time{
    text-align:right;
}

.v262 .home-center .v261-box:nth-child(2){
    padding:16px 20px 18px;
}

.v262 .new-four{
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}

.v262 .new-member-photo{
    aspect-ratio:4/4.6;
}

.v262 .new-member-card>b{
    font-size:17px;
}

.v262 .home-right .v261-box{
    padding:16px;
}

.v262 .home-right h3{
    font-size:22px;
}

.v262 .match-photo-v261{
    aspect-ratio:1/1.02;
    max-height:300px;
}

.v262 .match-name-v261{
    font-size:22px;
    margin-top:10px;
}

.v262 .popular-two{
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.v262 .popular-v261-card .avatar-with-gift,
.v262 .popular-v261-card .avatar,
.v262 .popular-v261-card .fallback{
    height:112px!important;
}

.v262 .birthday-two{
    gap:8px;
}

.v262 .birthday-person{
    padding:8px;
}

.v262 .birthday-person .avatar-with-gift,
.v262 .birthday-person .avatar{
    width:54px!important;
    height:54px!important;
}

.v262 .online-strip{
    gap:8px;
}

.v262 .online-strip .avatar-with-gift,
.v262 .online-strip .avatar{
    width:48px!important;
    height:48px!important;
}

@media(max-width:1250px){
    .home-v261.v262{
        grid-template-columns:230px minmax(560px,1fr) 280px;
    }
}

@media(max-width:1080px){
    .home-v261.v262{
        grid-template-columns:220px 1fr;
    }

    .v262 .home-right{
        grid-column:1/-1;
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .v262-topwrap{
        flex-wrap:wrap;
        padding-top:8px;
        padding-bottom:8px;
    }

    .v262-nav{
        order:3;
        width:100%;
    }
}

@media(max-width:820px){
    .home-v261.v262{
        grid-template-columns:1fr;
    }

    .v262 .home-right{
        grid-column:auto;
        display:flex;
    }

    .v262 .new-four{
        grid-template-columns:repeat(2,1fr);
    }

    .v262-user{
        min-width:auto;
    }
}

@media(max-width:520px){
    .v262 .new-four,
    .v262 .popular-two,
    .v262 .match-buttons-v261{
        grid-template-columns:1fr;
    }

    .v262 .activity-v261-row{
        grid-template-columns:44px 1fr;
    }

    .v262 .activity-v261-time{
        grid-column:2;
        text-align:left;
    }

    .v262-brand{
        font-size:24px!important;
    }
}
