﻿/* 基础容器 */
#skin-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: none;
    box-sizing: border-box;
    background: var(--btn_bg_s);
    z-index: 300;
    color: #fff;
    overflow: hidden;
}

/* 视频区 */
#skin-video-wrap {
    position: relative;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

    #skin-video-wrap video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* 底部叠加：皮肤背景列表 */
#skin-list-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%;
    padding: 0px;
    pointer-events: auto;
}

#skin-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px;
    align-items: center;
    border-radius: 6px;
}

/* 缩略图：宽 90px，高 140px */
.skin-thumb {
    width: 90px;
    min-width: 90px;
    height: 140px;
    box-sizing: border-box;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .skin-thumb.selected {
        border-color: #ffd36b;
        box-shadow: 0 4px 12px rgba(255,211,107,0.12);
    }

.skin-thumb-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.skin-thumb-back {
    width: 100%;
    object-fit: cover;
    display: block;
}

.skin-thumb-name {
    font-size: 12px;
    color: #fff;
    text-align: center;
    padding: 4px 2px;
}

/* 右下信息区（叠加在视频之上）*/
#skin-selected-info {
    position: absolute;
    width: 100%;
    left: 0%;
    right: 0%;
    bottom: 2%;
    box-sizing: border-box;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    padding: 10px;
    z-index: 50;
    height: 17.5%;
}

.skin-info-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffc51b;
}

.skin-info-stats {
    font-size: 13px;
    color: #ffdcbf;
    margin-bottom: 6px;
}

.skin-info-owned {
    font-size: 14px;
    color: #f1fe04;
    margin-bottom: 8px;
    justify-content: end;
    display: flex;
}

.skin-info-actions {
    display: flex;
    gap: 8px;
    justify-content: end;
}
.skin-equip-btn {
    background: linear-gradient(180deg, #9cff7a, #38bb1d);
    border: none;
    padding: 8px 12px;
    color: #111;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}
.skin-use-btn {
    background: linear-gradient(180deg,#ffcf7a,#ffb84a);
    border: none;
    padding: 8px 12px;
    color: #111;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

    .skin-equip-btn[disabled], .skin-use-btn[disabled] {
        opacity: 0.5;
        cursor: not-allowed;
    }
.skin-info-empty {
    color: #c6c6c6;
}