.dp-style {
    background: linear-gradient(to bottom,
                rgba(255,255,255,0),
                rgba(255,255,255,0.1));
    border: 0.5px solid rgba(255, 255, 255, 0.284);
}

.avatar {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn {
    color: white;
    text-decoration: none;
    padding-inline: 12px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.item-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-image img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    overflow: hidden;
}

.item-container {
    background: linear-gradient(to bottom,
                rgba(255,255,255,0),
                rgba(255,255,255,0.1),
                rgb(153, 75, 189));
    border-radius: 24px;
    border: 0.5px solid rgba(255, 255, 255, 0.284);

    /* square box */
    width: 100%;   /* responsive max size */
    aspect-ratio: 1 / 1;         /* lock height = width */

    overflow: hidden;            /* clip gradient + model-viewer */
    position: relative;
}

.item-meta {
    position: absolute;
    top: 30px;
    left: 30px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    padding: 0;
    max-width: 200px;
    z-index: 10;
}

.item-meta span {
    display: block;
}

.item-meta .item-name {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 1.6rem;
}

.item-meta .item-description {
    font-weight: 400;
    font-size: 80%;
    margin-bottom: 10px;
}

.item-meta .item-level {
    font-weight: 600;
    font-size: 80%;
}

.header-spacer {
    height: 50px;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
    
    .item-meta {
        top: 15px;
        left: 15px;
        font-size: 12px;
        max-width: 180px;
    }
}