.profile-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #2d3748;
    border-radius: 5px;
    background: var(--global-palette8);
    padding: 10px;
}
.profile-item iframe {
    width:100%; 
    /* height:175px;  */
    pointer-events: none;
}
.profile-item .profile-thumbnail {
    position: relative;
    overflow: hidden;
}

.profile-thumbnail {
    max-height: 175px;
    border-radius:5px;
}

.profile-thumbnail-image {
    width: 100%;
    height: 175px;
    object-fit: cover;
    cursor:pointer;
    filter: brightness(95%) contrast(110%) saturate(120%);
    /* top: -20px; */
    /* position: relative; */
}
.profile-thumbnail .iframe-overlay {
    position: absolute;
    /* top: -29px; */
    top:0;
    left: 0;
    width: 100%;
    z-index: 10;
    height: calc(100% + 30px);
    cursor:pointer;
}

.progress-bar {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 5px; 
    background-color: var(--global-palette2);
    transition: width 0.2s ease; /* Płynna zmiana szerokości paska postępu */
    z-index: 12;
}

.profile-info-thumbnail{
    position: absolute;
    z-index: 11;
    display: flex;
    gap:5px;
}

.profile-info-thumbnail-footer {
    bottom: 0;
    width: 100%;
    justify-content: space-between;
    height: 30px;
    align-items: center;
    padding: 0 5px;
}

.profile-info-thumbnail-header {
    top: 0;
    right: 0px;
    width: auto;
}

.profile-info-thumbnail-footer span {
    background: #1a202cc7;
    padding: 0 5px;
    border-radius: 5px;
    font-size: 12px;
}

.profile-info-thumbnail .profile-info-time {
    margin-left: auto; /* Przesuwa drugi i trzeci element na prawo */
}

.profile-info-thumbnail-footer span, .profile-info-thumbnail-footer a {
    background: #1a202cc7;
    padding: 0 5px;
    border-radius: 5px;
    font-size: 12px;
    color:#fff;
}

.profile-icons-header {
    display:flex;
    gap:5px;
    flex: 0 0 auto;
}

.profile-icons-header img {
    width: 20px;
    height: 20px;
}

.profile-text-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:5px;
}

#archive-container {
    gap:10px!important;
}

.profile-text-content p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size:13px;
    margin:0;
}

.profile-text-header a, .profile-text-content span, .profile-text-content p{
    color:#5d6981;
}
.profile-text-header a:hover, .profile-text-header a:focus {
    text-decoration:underline;
    color: var(--global-palette4)!important;
}
.profile-text {
    padding:10px 0 0 0;
}
.profile-text-header a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: auto;
    /* display:flex; */
    /* align-items: center; */
    gap:3px;
    text-decoration: none;

    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.5;
    font-family: Roboto, sans-serif;
    color: var(--global-palette4);
}
.profile-text-header a span {
    margin-left:3px;
}
.profile-info-live i {
    margin-top:0;
}
.profile-info-users-online i {
    font-size: 10px;
    top: -1px;
    position: relative;
    margin-right: 3px;
}
.profile-info-age {
    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.5;
    font-family: Roboto, sans-serif;
    color: var(--global-palette4);
}

.profile-thumbnail-link {
    display: block;
    text-decoration: none;
    height: 100%;
    background: transparent;
    position: absolute;
    width: 100%;
    z-index:11;
}
.profile-item-style-stories h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-item-style-stories .iframe-overlay {
    width: 200%;
    left: -50%;
}
.profile-item-style-stories .profile-text {
    padding:10px 0 0 0;
}
