/* Open Net Flow – rank badges with SVG icons */
.hh-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem 0.35rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.hh-rank-icon {
    flex-shrink: 0;
    display: block;
}

.hh-rank-badge--gold {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #fcd34d;
    color: #92400e;
}

.hh-rank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.hh-rank-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.75rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.hh-rank-card:hover {
    border-color: #fcd34d;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
}

.hh-rank-card .hh-rank-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.hh-rank-card strong {
    font-size: 0.8125rem;
    color: #1e293b;
}

.hh-rank-card span {
    font-size: 0.6875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.placement-hint-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: #92400e;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.placement-hint-box i {
    color: #ca8a04;
    margin-right: 0.35rem;
}
