/* profile-launches.css */

.profile-launches-loading,
.profile-launches-empty,
.profile-launches-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    text-align: center;
    color: #929292;
    font-size: 13px;
    animation: lbFadeIn .4s ease both;
}

.profile-launches-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #242424;
    border-top-color: #d7fe7b;
    border-radius: 50%;
}


.profile-launches-list {
    max-height: 250px;
    padding: 8px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    box-sizing: border-box;
}

#profile-launches-container {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* ГЛАВНЫЙ ЭЛЕМЕНТ - flex контейнер */
.profile-launch-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    /* padding: 5px; */
    background: linear-gradient(180deg, #101010 0%, #0c0c0c 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid #d7fe7b;
    border-radius: 0px;
    flex-direction: column;
    /* overflow: hidden; */
    /* height: 50px; */
    font-size: 10px;
    gap: 1px;
    width: 100%;
    box-sizing: border-box;
    /* overflow: hidden; */
    animation: lbCardIn .45s cubic-bezier(.2, .8, .2, 1) both;
    transition: border-color .25s ease,
                box-shadow .25s ease,
                background .25s ease;
}

.profile-launch-item:hover {
    border-color: rgba(215, 254, 123, 0.28);
    border-left-color: #d7fe7b;
    background: linear-gradient(180deg, #121212 0%, #0d0d0d 100%);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(215, 254, 123, .12),
        0 0 32px rgba(215, 254, 123, .06);
}

/* Левый блок - фиксированный */
.profile-launch-box {
    align-items: center !important;
    display: flex;
    flex-direction: column;
    background: #111111;
    padding: 0px 8px;
    height: 24px;
    min-width: 120px;
    width: 120px;
    border-radius: 3px;
    /* border: 1px solid rgba(255, 255, 255, 0.06); */
    overflow: hidden;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    flex-grow: 0;
    justify-content: space-between;
    flex-direction: row-reverse;
    width: 100%;
    gap: 2px;
}

/* ПРАВЫЙ БЛОК - ЖРЁТ ВСЁ СВОБОДНОЕ МЕСТО */
.profile-launch-steam-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #0a0a0a;
    flex-grow: 1;
    flex-shrink: 1;
    width: auto;
    padding: 2px 6px;
    gap: 5px;
    border-radius: 3px;
    /* border: 1px solid rgba(255, 255, 255, 0.06); */
    min-width: 0;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.profile-launch-steam-info:hover {
    border-color: rgba(215, 254, 123, 0.28);
    background: rgba(215, 254, 123, 0.03);
}

.profile-launch-details {
    flex-grow: 1;
    min-width: 0;
    width: 100%;
}

.profile-launch-time {
    line-height: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #f5f5f5;
    font-family: monospace;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.profile-launch-version {
    line-height: 0 !important;
    color: #d7fe7b;
    font-size: 14px !important;
    font-weight: 400;
    /* background: rgba(215, 254, 123, 0.08); */
    /* border: 1px solid rgba(215, 254, 123, 0.18); */
    /* padding: 0 6px; */
    /* border-radius: 3px; */
    line-height: 16px;
}

.profile-launches-header {
    display: flex;
    align-items: center;
    gap: 3px;
    justify-content: center;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 10px;
    font-weight: 500;
    color: #929292;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.profile-launch-box .profile-launch-version{
    transform: unset !important;
}

.profile-launch-avatar {
    height: 34px;
    width: 34px;
    aspect-ratio: 1/1;
    border-radius: 4px;
    flex-shrink: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    object-fit: cover;
    transition: border-color .2s ease;
}

.profile-launch-steam-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    flex-grow: 1;
    gap: 2px;
}

.profile-launch-username {
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #f5f5f5;
}

.profile-launch-steamid {
    font-size: 10px;
    color: #929292;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Анимации, если их нет в глобальном скоупе */
@keyframes lbCardIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}