.hero-portrait {
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.hero-portrait-sm { width: 48px; height: 48px; font-size: 12px; }
.hero-portrait-md { width: 80px; height: 80px; font-size: 14px; }
.hero-portrait-lg { width: 120px; height: 120px; font-size: 16px; margin: 0 auto; }

.hero-portrait-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hero-role {
    font-size: 10px;
    opacity: 0.9;
}

.hero-element {
    font-size: 12px;
    font-weight: 700;
}

.hero-stars {
    font-size: 10px;
    color: #fbbf24;
}

.hero-level {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 10px;
    background: rgba(0,0,0,0.5);
    padding: 1px 4px;
    border-radius: 4px;
}

.hero-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero-card-info {
    margin-top: 12px;
}

.hero-card-name {
    text-align: center;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-card-stats {
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    color: var(--text-secondary);
}

.hero-select-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-select-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.hero-select-item:hover,
.hero-select-item.active {
    background: rgba(245, 158, 11, 0.15);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.stat-row:last-child {
    border-bottom: none;
}
