/* ══════════════════════════════════════════
   PROFILE / SKIN CIRCLE
   ══════════════════════════════════════════ */
.profile-skin-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.profile-nav-arrow {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.profile-nav-arrow:hover {
    border-color: var(--accent-border);
    background: var(--accent-dim);
    color: var(--accent);
}

.profile-skin-circle {
    position: relative;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-light);
    flex-shrink: 0;
    background: var(--bg-row);
}

.profile-skin-half {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    cursor: pointer;
    will-change: filter;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.profile-skin-half--left  { left: 0; }
.profile-skin-half--right { right: 0; }

.profile-skin-half img {
    position: absolute;
    top: 0;
    height: 100%;
    width: 200%;
    object-fit: cover;
    transition: filter 0.15s ease;
}

.profile-skin-half--left img  { left: 0; object-position: left center; }
.profile-skin-half--right img { right: 0; object-position: right center; }

.profile-skin-half:hover img {
    filter: brightness(1.15);
}

.profile-skin-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--border-light);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 2;
}

.profile-skin-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.profile-skin-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.profile-skin-dot.active {
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent-glow);
}

/* ══════════════════════════════════════════
   SKINS PANEL — GRID / ITEMS
   ══════════════════════════════════════════ */
.skins-counter {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: right;
}

.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 10px;
}

.skins-item {
    position: relative;
    aspect-ratio: 1;
    border: 2px solid var(--border-light);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-row);
    transition: var(--transition);
}

.skins-item:hover { border-color: var(--accent-border); }
/* No es <button> (es un <div onClick>) — no lo cubre la regla global de
   base.css. Mismo scale(0.97) que el resto de los clickables. */
.skins-item:active { transform: scale(0.97); }

.skins-item.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.skins-item.not-selectable { cursor: default; }

.skins-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.skins-item__badge {
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 5px;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.skins-item__badge--pending  { background: rgba(255,193,7,0.85); color: #1a1a1a; }
.skins-item__badge--rejected { background: rgba(255,60,60,0.85); color: #fff; }
.skins-item__badge--approved { background: rgba(60,200,120,0.85); color: #063; }

.skins-item__fav {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.skins-item__fav.active { color: #ff4d6d; }

.skins-item__reject {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 9px;
    padding: 3px 4px;
    text-align: center;
}

.skins-item__name {
    font-size: 10px;
    color: rgba(255,255,255,0.75);
    text-align: center;
    padding: 2px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0,0,0,0.55);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.skins-empty, .skins-loading {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    padding: 30px 0;
}

/* ══════════════════════════════════════════
   SKINS PANEL — UPLOAD
   ══════════════════════════════════════════ */
.skins-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.skins-upload-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px dashed var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-row);
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    padding: 8px;
}

.skins-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skins-upload-hint {
    font-size: 11px;
    color: var(--text-muted);
}

/* Input file estilizado como botón, reemplaza el "Seleccionar archivo" nativo en blanco */
#skinsUploadInput {
    display: none;
}

.skins-upload-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.skins-upload-label:hover {
    border-color: var(--accent-border);
    background: var(--accent-dim);
    color: var(--accent);
}

