/* 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: #888;
    font-size: 13px;
}

.profile-launches-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #2a2a2a;
    border-top-color: #ff6b6b;
    border-radius: 50%;
    animation: profile-launch-spin 0.8s linear infinite;
}

@keyframes profile-launch-spin {
    to { transform: rotate(360deg); }
}

.profile-launches-list {
    max-height: 250px;
    padding: 5px 5px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    box-sizing: border-box;
}

#profile-launches-container {
    padding: 0px;
    width: 100%;
    box-sizing: border-box;
}

/* ГЛАВНЫЙ ЭЛЕМЕНТ - flex контейнер */
.profile-launch-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 2px 2px;
    padding-left: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0px;
    font-size: 10px;
    gap: 3px;
    border-left: 3px solid #ff6b6b;
    width: 100%;
    box-sizing: border-box;
}

/* Левый блок - фиксированный */
.profile-launch-box {
    display: flex;
    flex-direction: column;
    background: rgb(0, 0, 0);
    height: 36px;
    padding: 0px 6px;
    min-width: 110px;
    width: 110px;
    border-radius: 2px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    flex-grow: 0;
}

/* ПРАВЫЙ БЛОК - ЖРЁТ ВСЁ СВОБОДНОЕ МЕСТО */
.profile-launch-steam-info {
    display: flex;
    flex-direction: row;
    background: rgb(0, 0, 0);
    flex-grow: 1;
    flex-shrink: 1;
    width: auto;
    padding: 3px;
    gap: 5px;
    border-radius: 2px;
    padding-right: 5px;
    min-width: 0;
}

.profile-launch-details {
    flex-grow: 1;
    min-width: 0;
    width: 100%;
}

.profile-launch-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 900;
    color: #ddd;
    font-family: monospace;
}

.profile-launch-version {
    color: #fff785;
    font-size: 10px;
    font-weight: 600;
    background: rgb(0, 0, 0);
    border-radius: 2px;
}

.profile-launch-steamid {
    color: #adc6ff;
    font-size: 9px;
    background: rgb(0, 0, 0);
    /* padding: 2px 4px; */
    border-radius: 2px;
    text-decoration: none;
}

.profile-launches-header {
    display: flex;
    align-items: center;
    gap: 3px;
    justify-content: center;
    padding: 3px 0px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 8px;
    font-weight: 500;
    color: #aaa;
}

.profile-launch-avatar {
    height: 30px;
    aspect-ratio: 1/1;
    border-radius: 3px;
    flex-shrink: 0;
}

.profile-launch-steam-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    flex-grow: 1;
}

.profile-launch-username {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #59a6ff;
}
.profile-launch-steamid{
    font-size: 11px;
    color: #7e7e7e;
}