/** grid for page **/
/* Основной контейнер Grid */
.profile-container {
    display: grid;
    grid-template-columns: 250px 1fr; /* Левая колонка фиксированная, правая адаптивная */
    grid-template-rows: auto auto;  /* Два ряда: верхний контент и нижние изображения */
    gap: 2px; /* Отступы между блоками */
    padding: 2px;
}

/* Левый блок - фиксированная ширина */
.mini-profile {
    padding: 2px;
    text-align: center;
}

/* Основной контент справа */
.profile-main {
    padding: 2px;
}

/* Блок изображений на всю ширину */
.profile-images {
    padding: 2px;
    grid-column: span 2;  /* Растягивается на две колонки */
    text-align: center;
}

.history {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #444;
    line-height: 1.5;
}

.history .start,
.history .end,
.history .duration {
    display: inline-block;
    margin-right: 15px;
    font-size: 12px;
    color: #333;
    font-weight: bold;
}

.history .description {
    color: #555;
    font-size: 12px;
    margin-top: 5px;
}

.profile-images {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 800px) {
    .profile-container {
        grid-template-columns: 1fr; /* Все блоки на полную ширину */
        grid-template-rows: auto;  /* Авто-высота */
    }

    .profile-main {
        order: -1;  /* Перемещаем profile-main наверх */
    }
    .profile-main.profile-history {
        order: 1;  /* Перемещаем profile-main наверх */
    }

    .mini-profile, .profile-images {
        order: 0;  /* Оставляем по умолчанию */
    }

    .mini-profile, .profile-main, .profile-images {
        grid-column: span 1; /* Занимают всю ширину */
    }
}
/** images **/
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.lightbox .nav-btn {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
}

.lightbox .prev-btn {
    left: 20px;
}

.lightbox .next-btn {
    right: 20px;
}

/** Offline **/

.offline{
    width: 100%;
    position: relative;
}

.offline-player {
    background-blend-mode: normal;
    background-position: 100% 20%;
    background-size: cover;
    filter: blur(2px) grayscale(1);
    transform: scale(1.1);
    min-height: 450px;
    background-color: #eee;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: block;
}

.offline-status {
    color: white;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 10%;
    left:0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-flow: column;
}

.offline-status-text-background {
    background-color: rgba(0, 0, 0, 0.5);
    margin: 10px;
    padding: 20px 30px;
}

.offline-status-text {
    text-shadow: 0 0 3px rgba(0, 0, 0, 1);
    margin-bottom: 10px;
    font-size: 14px;
}

.offline-status div.offline-status-text:first-of-type {
    font-weight: 600;
    font-size: 18px;
}

.offline-status-affiliate-url {
    color: #FF577DFF;
}

.offline-status-model-name {
    text-transform: capitalize;
}

.offline-status-platform {
    text-transform: capitalize;
    color: #FF577DFF;
}

.offline-now {
    text-transform: uppercase;
    font-size: 25px;
    padding-bottom: 10px;
}


a.random-cam {
    display: inline-block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 13px 30px;
    border: 0;
    border-radius: 6px;
    background-image: linear-gradient(to right, #f7186a, #FF577DFF, #8716d7, #FF577DFF);
    background-size: 300% 100%;
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.5);
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.random-cam:focus, .visit-me:focus, .random-cam:active, .visit-me:active {
    outline: none;
}

.random-cam:hover {
    background-position: 100% 0;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.offline-bio{
    padding: 20px 0 10px 0;
    margin: 0 auto;
    text-align: center;
}

.profile-images{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    min-height: 0;
    min-width: 0;
    padding-bottom: 10px;
    clear: both;
    object-fit:cover;
    overflow: hidden;
    column-gap: 10px;
    row-gap: 10px;
}
.avatar img{
    width: 100px;
    height: 100px;
    object-fit:cover; /*this property does the magic*/
    border-radius:50%;
}

.profile-images img{
    max-width: 100%;
    position: relative;
}

.profile-images img:hover{
    max-width: 100%;
    position: relative;
}
.profile-images .image{
    display: block;
    position: relative;
}
span.image-time{
    color: #262525;
    position: absolute;
    bottom: 4px;
    left:2px;
    margin: 2px;
    padding: 2px;
    background: #fff;
    opacity: 0.7;
    line-height: 20px;
}

.link a{
    display: block;
    text-decoration: none;
    background: #e20070;
    margin: 0px;
    color: white;
    padding: 5px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    line-height: 25px;
}

.tags .tag{
    display: inline-block;
}

.tags .tag a{
    margin-right: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 5px;
    padding: 3px 5px;
    transition: .3s;
    border: 1px solid #FF577DFF;
    background-color: #fff;
    color: #FF577DFF;
    white-space: nowrap;
}

.bio{
    padding: 0 0 10px 0;
    margin: 0 auto;
    text-align: center;
}

.profile h1{
    margin: 5px;
    font-size: 24px;
}

@media (max-width: 1300px) {
    .profile-images {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
}

/* desktop with no sidebar */
@media (max-width: 1100px) {
    .profile-images {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

/* desktop with no sidebar */
@media (max-width: 800px) {
    .profile-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .offline-player {
        min-height: 250px;
    }.
}
.quote-block {
    position: relative;
    max-width: 300px;
    margin: 12px auto;
    padding: 12px 17px 12px 17px;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    background: #fdfdfd;
    border-left: 1px solid #ff4081;
    border-radius: 3px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    color: #444;
    overflow-wrap: break-word;
}

.quote-block::before,
.quote-block::after {
    content: '“';
    font-family: serif;
    font-size: 3rem;
    color: #ff4081;
    position: absolute;
}

.quote-block::before {
    top: -20px;
    left: 10px;
}

.quote-block::after {
    content: '”';
    bottom: -40px;
    right: 10px;
}

@media (max-width: 600px) {
    .quote-block {
        padding: 15px 20px;
        font-size: 1rem;
    }
}


#player-container{
    width: 100%;
    background: #f0e1ff;
}

.categories a{
    position: relative;
    color: #e20070;
    text-decoration: none;
    text-transform: capitalize;
    border-radius: 2px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    border-left: 1px solid #ff007d;
    padding: 2px 4px 3px 16px;
    margin: 1px 3px 6px 1px;
    display: inline-block;;
}

.categories a:hover{
    text-decoration: underline;
}

.categories .category-star {
    position: absolute;
    background: url("/static/icons/icon-star-collection.png") top left no-repeat;
    background-size: 100% 100%;
    width: 16px;
    height: 16px;
    bottom: 5px;
    left: 0px;
    transition: all .3s;
}